LCOV - code coverage report
Current view: top level - /mnt/build/buildbot/bld/build-lcov/gcc - generic-match-5.cc (source / functions) Coverage Total Hit
Test: gcc.info Lines: 38.8 % 7292 2828
Test Date: 2025-06-21 16:26:05 Functions: 72.7 % 77 56
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                 :     1598806 : tree_power_of_two_cand (tree t, tree *res_ops)
      11                 :             : {
      12                 :     1598806 :   const tree type = TREE_TYPE (t);
      13                 :     1598806 :   const bool debug_dump = dump_file && (dump_flags & TDF_FOLDING);
      14                 :     1598806 :   if (TREE_SIDE_EFFECTS (t)) return false;
      15                 :     1598100 :   switch (TREE_CODE (t))
      16                 :             :     {
      17                 :     1350959 :     case INTEGER_CST:
      18                 :     1350959 :       {
      19                 :     1350959 :         {
      20                 :     1350959 :           tree captures[1] ATTRIBUTE_UNUSED = { t };
      21                 :     1350959 :           {
      22                 :     1350959 :             res_ops[0] = captures[0];
      23                 :     1350959 :             if (UNLIKELY (debug_dump)) generic_dump_logs ("match.pd", 12, __FILE__, __LINE__, false);
      24                 :             :             return true;
      25                 :             :           }
      26                 :             :         }
      27                 :          16 :         break;
      28                 :             :       }
      29                 :          16 :     case LSHIFT_EXPR:
      30                 :          16 :       {
      31                 :          16 :         tree _p0 = TREE_OPERAND (t, 0);
      32                 :          16 :         tree _p1 = TREE_OPERAND (t, 1);
      33                 :          16 :         switch (TREE_CODE (_p0))
      34                 :             :           {
      35                 :          16 :           case INTEGER_CST:
      36                 :          16 :             {
      37                 :          16 :               {
      38                 :          16 :                 tree captures[2] ATTRIBUTE_UNUSED = { _p0, _p1 };
      39                 :          16 :                 {
      40                 :          16 :                   res_ops[0] = captures[0];
      41                 :          16 :                   if (UNLIKELY (debug_dump)) generic_dump_logs ("match.pd", 13, __FILE__, __LINE__, false);
      42                 :          16 :                   return true;
      43                 :             :                 }
      44                 :             :               }
      45                 :             :               break;
      46                 :             :             }
      47                 :             :           default:;
      48                 :             :           }
      49                 :             :         break;
      50                 :             :       }
      51                 :             :     default:;
      52                 :             :     }
      53                 :             :   return false;
      54                 :             : }
      55                 :             : 
      56                 :             : bool
      57                 :    75070715 : tree_with_possible_nonzero_bits (tree t)
      58                 :             : {
      59                 :    75070715 :   const tree type = TREE_TYPE (t);
      60                 :    75070715 :   const bool debug_dump = dump_file && (dump_flags & TDF_FOLDING);
      61                 :    75070715 :   if (TREE_SIDE_EFFECTS (t)) return false;
      62                 :    70435574 :   switch (TREE_CODE (t))
      63                 :             :     {
      64                 :     2060641 :     case BIT_AND_EXPR:
      65                 :     2060641 :       {
      66                 :     2060641 :         tree _p0 = TREE_OPERAND (t, 0);
      67                 :     2060641 :         tree _p1 = TREE_OPERAND (t, 1);
      68                 :     2060641 :         if (tree_with_possible_nonzero_bits_1 (_p0))
      69                 :             :           {
      70                 :      989437 :             {
      71                 :      989437 :               tree captures[2] ATTRIBUTE_UNUSED = { _p0, _p1 };
      72                 :      989437 :               {
      73                 :      989437 :                 if (UNLIKELY (debug_dump)) generic_dump_logs ("match.pd", 35, __FILE__, __LINE__, false);
      74                 :      989437 :                 return true;
      75                 :             :               }
      76                 :             :             }
      77                 :             :           }
      78                 :     1071204 :         if (tree_with_possible_nonzero_bits_1 (_p1))
      79                 :             :           {
      80                 :      925798 :             {
      81                 :      925798 :               tree captures[2] ATTRIBUTE_UNUSED = { _p1, _p0 };
      82                 :      925798 :               {
      83                 :      925798 :                 if (UNLIKELY (debug_dump)) generic_dump_logs ("match.pd", 35, __FILE__, __LINE__, false);
      84                 :      925798 :                 return true;
      85                 :             :               }
      86                 :             :             }
      87                 :             :           }
      88                 :             :         break;
      89                 :             :       }
      90                 :    68520339 :     default:;
      91                 :             :     }
      92                 :    68520339 : if (tree_with_possible_nonzero_bits_1 (t))
      93                 :             :   {
      94                 :    40739799 :     {
      95                 :    40739799 :       tree captures[1] ATTRIBUTE_UNUSED = { t };
      96                 :    40739799 :       {
      97                 :    40739799 :         if (UNLIKELY (debug_dump)) generic_dump_logs ("match.pd", 36, __FILE__, __LINE__, false);
      98                 :    40739799 :         return true;
      99                 :             :       }
     100                 :             :     }
     101                 :             :   }
     102                 :             :   return false;
     103                 :             : }
     104                 :             : 
     105                 :             : bool
     106                 :           0 : tree_unsigned_integer_sat_trunc (tree t, tree *res_ops)
     107                 :             : {
     108                 :           0 :   const tree type = TREE_TYPE (t);
     109                 :           0 :   const bool debug_dump = dump_file && (dump_flags & TDF_FOLDING);
     110                 :           0 :   if (TREE_SIDE_EFFECTS (t)) return false;
     111                 :           0 :   switch (TREE_CODE (t))
     112                 :             :     {
     113                 :           0 :     case BIT_IOR_EXPR:
     114                 :           0 :       {
     115                 :           0 :         tree _p0 = TREE_OPERAND (t, 0);
     116                 :           0 :         tree _p1 = TREE_OPERAND (t, 1);
     117                 :           0 :         switch (TREE_CODE (_p0))
     118                 :             :           {
     119                 :           0 :           case NEGATE_EXPR:
     120                 :           0 :             {
     121                 :           0 :               tree _q20 = TREE_OPERAND (_p0, 0);
     122                 :           0 :               switch (TREE_CODE (_q20))
     123                 :             :                 {
     124                 :           0 :                 CASE_CONVERT:
     125                 :           0 :                   {
     126                 :           0 :                     tree _q30 = TREE_OPERAND (_q20, 0);
     127                 :           0 :                     switch (TREE_CODE (_q30))
     128                 :             :                       {
     129                 :           0 :                       case GT_EXPR:
     130                 :           0 :                         {
     131                 :           0 :                           tree _q40 = TREE_OPERAND (_q30, 0);
     132                 :           0 :                           tree _q41 = TREE_OPERAND (_q30, 1);
     133                 :           0 :                           switch (TREE_CODE (_q41))
     134                 :             :                             {
     135                 :           0 :                             case INTEGER_CST:
     136                 :           0 :                               {
     137                 :           0 :                                 switch (TREE_CODE (_p1))
     138                 :             :                                   {
     139                 :           0 :                                   CASE_CONVERT:
     140                 :           0 :                                     {
     141                 :           0 :                                       tree _q70 = TREE_OPERAND (_p1, 0);
     142                 :           0 :                                       if ((_q70 == _q40 && ! TREE_SIDE_EFFECTS (_q70)) || (operand_equal_p (_q70, _q40, 0) && types_match (_q70, _q40)))
     143                 :             :                                         {
     144                 :           0 :                                           {
     145                 :           0 :                                             tree captures[2] ATTRIBUTE_UNUSED = { _q40, _q41 };
     146                 :           0 :                                             if (INTEGRAL_TYPE_P (type) && TYPE_UNSIGNED (type)
     147                 :             : )
     148                 :             :                                               {
     149                 :           0 :                                                 if (TYPE_UNSIGNED (TREE_TYPE (captures[0]))
     150                 :             : )
     151                 :             :                                                   {
     152                 :           0 :                                                     {
     153                 :           0 :  unsigned itype_precision = TYPE_PRECISION (TREE_TYPE (captures[0]));
     154                 :           0 :  unsigned otype_precision = TYPE_PRECISION (type);
     155                 :           0 :  wide_int trunc_max = wi::mask (otype_precision, false, itype_precision);
     156                 :           0 :  wide_int int_cst = wi::to_wide (captures[1], itype_precision);
     157                 :           0 :                                                         if (otype_precision < itype_precision && wi::eq_p (trunc_max, int_cst)
     158                 :             : )
     159                 :             :                                                           {
     160                 :           0 :                                                             {
     161                 :           0 :                                                               res_ops[0] = captures[0];
     162                 :           0 :                                                               if (UNLIKELY (debug_dump)) generic_dump_logs ("match.pd", 69, __FILE__, __LINE__, false);
     163                 :           0 :                                                               return true;
     164                 :             :                                                             }
     165                 :             :                                                           }
     166                 :           0 :                                                     }
     167                 :             :                                                   }
     168                 :             :                                               }
     169                 :             :                                           }
     170                 :             :                                         }
     171                 :             :                                       break;
     172                 :             :                                     }
     173                 :             :                                   default:;
     174                 :             :                                   }
     175                 :             :                                 break;
     176                 :             :                               }
     177                 :             :                             default:;
     178                 :             :                             }
     179                 :             :                           break;
     180                 :             :                         }
     181                 :             :                       default:;
     182                 :             :                       }
     183                 :             :                     break;
     184                 :             :                   }
     185                 :             :                 default:;
     186                 :             :                 }
     187                 :             :               break;
     188                 :             :             }
     189                 :           0 :           CASE_CONVERT:
     190                 :           0 :             {
     191                 :           0 :               tree _q20 = TREE_OPERAND (_p0, 0);
     192                 :           0 :               switch (TREE_CODE (_p1))
     193                 :             :                 {
     194                 :           0 :                 case NEGATE_EXPR:
     195                 :           0 :                   {
     196                 :           0 :                     tree _q40 = TREE_OPERAND (_p1, 0);
     197                 :           0 :                     switch (TREE_CODE (_q40))
     198                 :             :                       {
     199                 :           0 :                       CASE_CONVERT:
     200                 :           0 :                         {
     201                 :           0 :                           tree _q50 = TREE_OPERAND (_q40, 0);
     202                 :           0 :                           switch (TREE_CODE (_q50))
     203                 :             :                             {
     204                 :           0 :                             case GT_EXPR:
     205                 :           0 :                               {
     206                 :           0 :                                 tree _q60 = TREE_OPERAND (_q50, 0);
     207                 :           0 :                                 tree _q61 = TREE_OPERAND (_q50, 1);
     208                 :           0 :                                 if ((_q60 == _q20 && ! TREE_SIDE_EFFECTS (_q60)) || (operand_equal_p (_q60, _q20, 0) && types_match (_q60, _q20)))
     209                 :             :                                   {
     210                 :           0 :                                     switch (TREE_CODE (_q61))
     211                 :             :                                       {
     212                 :           0 :                                       case INTEGER_CST:
     213                 :           0 :                                         {
     214                 :           0 :                                           {
     215                 :           0 :                                             tree captures[2] ATTRIBUTE_UNUSED = { _q20, _q61 };
     216                 :           0 :                                             if (INTEGRAL_TYPE_P (type) && TYPE_UNSIGNED (type)
     217                 :             : )
     218                 :             :                                               {
     219                 :           0 :                                                 if (TYPE_UNSIGNED (TREE_TYPE (captures[0]))
     220                 :             : )
     221                 :             :                                                   {
     222                 :           0 :                                                     {
     223                 :           0 :  unsigned itype_precision = TYPE_PRECISION (TREE_TYPE (captures[0]));
     224                 :           0 :  unsigned otype_precision = TYPE_PRECISION (type);
     225                 :           0 :  wide_int trunc_max = wi::mask (otype_precision, false, itype_precision);
     226                 :           0 :  wide_int int_cst = wi::to_wide (captures[1], itype_precision);
     227                 :           0 :                                                         if (otype_precision < itype_precision && wi::eq_p (trunc_max, int_cst)
     228                 :             : )
     229                 :             :                                                           {
     230                 :           0 :                                                             {
     231                 :           0 :                                                               res_ops[0] = captures[0];
     232                 :           0 :                                                               if (UNLIKELY (debug_dump)) generic_dump_logs ("match.pd", 69, __FILE__, __LINE__, false);
     233                 :           0 :                                                               return true;
     234                 :             :                                                             }
     235                 :             :                                                           }
     236                 :           0 :                                                     }
     237                 :             :                                                   }
     238                 :             :                                               }
     239                 :             :                                           }
     240                 :           0 :                                           break;
     241                 :             :                                         }
     242                 :             :                                       default:;
     243                 :             :                                       }
     244                 :             :                                   }
     245                 :             :                                 break;
     246                 :             :                               }
     247                 :             :                             default:;
     248                 :             :                             }
     249                 :             :                           break;
     250                 :             :                         }
     251                 :             :                       default:;
     252                 :             :                       }
     253                 :             :                     break;
     254                 :             :                   }
     255                 :           0 :                 case PLUS_EXPR:
     256                 :           0 :                   {
     257                 :           0 :                     tree _q40 = TREE_OPERAND (_p1, 0);
     258                 :           0 :                     tree _q41 = TREE_OPERAND (_p1, 1);
     259                 :           0 :                     switch (TREE_CODE (_q40))
     260                 :             :                       {
     261                 :           0 :                       CASE_CONVERT:
     262                 :           0 :                         {
     263                 :           0 :                           tree _q50 = TREE_OPERAND (_q40, 0);
     264                 :           0 :                           switch (TREE_CODE (_q50))
     265                 :             :                             {
     266                 :           0 :                             case LE_EXPR:
     267                 :           0 :                               {
     268                 :           0 :                                 tree _q60 = TREE_OPERAND (_q50, 0);
     269                 :           0 :                                 tree _q61 = TREE_OPERAND (_q50, 1);
     270                 :           0 :                                 if ((_q60 == _q20 && ! TREE_SIDE_EFFECTS (_q60)) || (operand_equal_p (_q60, _q20, 0) && types_match (_q60, _q20)))
     271                 :             :                                   {
     272                 :           0 :                                     switch (TREE_CODE (_q61))
     273                 :             :                                       {
     274                 :           0 :                                       case INTEGER_CST:
     275                 :           0 :                                         {
     276                 :           0 :                                           switch (TREE_CODE (_q41))
     277                 :             :                                             {
     278                 :           0 :                                             case INTEGER_CST:
     279                 :           0 :                                               {
     280                 :           0 :                                                 {
     281                 :           0 :                                                   tree captures[3] ATTRIBUTE_UNUSED = { _q20, _q61, _q41 };
     282                 :           0 :                                                   if (INTEGRAL_TYPE_P (type) && TYPE_UNSIGNED (type)
     283                 :             : )
     284                 :             :                                                     {
     285                 :           0 :                                                       if (TYPE_UNSIGNED (TREE_TYPE (captures[0]))
     286                 :             : )
     287                 :             :                                                         {
     288                 :           0 :                                                           {
     289                 :           0 :  unsigned itype_precision = TYPE_PRECISION (TREE_TYPE (captures[0]));
     290                 :           0 :  unsigned otype_precision = TYPE_PRECISION (type);
     291                 :           0 :  wide_int trunc_max = wi::mask (otype_precision, false, itype_precision);
     292                 :           0 :  wide_int max = wi::mask (otype_precision, false, otype_precision);
     293                 :           0 :  wide_int int_cst_1 = wi::to_wide (captures[1]);
     294                 :           0 :  wide_int int_cst_2 = wi::to_wide (captures[2]);
     295                 :           0 :                                                               if (wi::eq_p (trunc_max, int_cst_1) && wi::eq_p (max, int_cst_2)
     296                 :             : )
     297                 :             :                                                                 {
     298                 :           0 :                                                                   {
     299                 :           0 :                                                                     res_ops[0] = captures[0];
     300                 :           0 :                                                                     if (UNLIKELY (debug_dump)) generic_dump_logs ("match.pd", 70, __FILE__, __LINE__, false);
     301                 :           0 :                                                                     return true;
     302                 :             :                                                                   }
     303                 :             :                                                                 }
     304                 :           0 :                                                           }
     305                 :             :                                                         }
     306                 :             :                                                     }
     307                 :             :                                                 }
     308                 :           0 :                                                 break;
     309                 :             :                                               }
     310                 :             :                                             default:;
     311                 :             :                                             }
     312                 :             :                                           break;
     313                 :             :                                         }
     314                 :             :                                       default:;
     315                 :             :                                       }
     316                 :             :                                   }
     317                 :             :                                 break;
     318                 :             :                               }
     319                 :             :                             default:;
     320                 :             :                             }
     321                 :             :                           break;
     322                 :             :                         }
     323                 :           0 :                       case INTEGER_CST:
     324                 :           0 :                         {
     325                 :           0 :                           switch (TREE_CODE (_q41))
     326                 :             :                             {
     327                 :           0 :                             CASE_CONVERT:
     328                 :           0 :                               {
     329                 :           0 :                                 tree _q60 = TREE_OPERAND (_q41, 0);
     330                 :           0 :                                 switch (TREE_CODE (_q60))
     331                 :             :                                   {
     332                 :           0 :                                   case LE_EXPR:
     333                 :           0 :                                     {
     334                 :           0 :                                       tree _q70 = TREE_OPERAND (_q60, 0);
     335                 :           0 :                                       tree _q71 = TREE_OPERAND (_q60, 1);
     336                 :           0 :                                       if ((_q70 == _q20 && ! TREE_SIDE_EFFECTS (_q70)) || (operand_equal_p (_q70, _q20, 0) && types_match (_q70, _q20)))
     337                 :             :                                         {
     338                 :           0 :                                           switch (TREE_CODE (_q71))
     339                 :             :                                             {
     340                 :           0 :                                             case INTEGER_CST:
     341                 :           0 :                                               {
     342                 :           0 :                                                 {
     343                 :           0 :                                                   tree captures[3] ATTRIBUTE_UNUSED = { _q20, _q71, _q40 };
     344                 :           0 :                                                   if (INTEGRAL_TYPE_P (type) && TYPE_UNSIGNED (type)
     345                 :             : )
     346                 :             :                                                     {
     347                 :           0 :                                                       if (TYPE_UNSIGNED (TREE_TYPE (captures[0]))
     348                 :             : )
     349                 :             :                                                         {
     350                 :           0 :                                                           {
     351                 :           0 :  unsigned itype_precision = TYPE_PRECISION (TREE_TYPE (captures[0]));
     352                 :           0 :  unsigned otype_precision = TYPE_PRECISION (type);
     353                 :           0 :  wide_int trunc_max = wi::mask (otype_precision, false, itype_precision);
     354                 :           0 :  wide_int max = wi::mask (otype_precision, false, otype_precision);
     355                 :           0 :  wide_int int_cst_1 = wi::to_wide (captures[1]);
     356                 :           0 :  wide_int int_cst_2 = wi::to_wide (captures[2]);
     357                 :           0 :                                                               if (wi::eq_p (trunc_max, int_cst_1) && wi::eq_p (max, int_cst_2)
     358                 :             : )
     359                 :             :                                                                 {
     360                 :           0 :                                                                   {
     361                 :           0 :                                                                     res_ops[0] = captures[0];
     362                 :           0 :                                                                     if (UNLIKELY (debug_dump)) generic_dump_logs ("match.pd", 70, __FILE__, __LINE__, false);
     363                 :           0 :                                                                     return true;
     364                 :             :                                                                   }
     365                 :             :                                                                 }
     366                 :           0 :                                                           }
     367                 :             :                                                         }
     368                 :             :                                                     }
     369                 :             :                                                 }
     370                 :           0 :                                                 break;
     371                 :             :                                               }
     372                 :             :                                             default:;
     373                 :             :                                             }
     374                 :             :                                         }
     375                 :             :                                       break;
     376                 :             :                                     }
     377                 :             :                                   default:;
     378                 :             :                                   }
     379                 :             :                                 break;
     380                 :             :                               }
     381                 :             :                             default:;
     382                 :             :                             }
     383                 :             :                           break;
     384                 :             :                         }
     385                 :             :                       default:;
     386                 :             :                       }
     387                 :             :                     break;
     388                 :             :                   }
     389                 :             :                 default:;
     390                 :             :                 }
     391                 :             :               break;
     392                 :             :             }
     393                 :           0 :           case PLUS_EXPR:
     394                 :           0 :             {
     395                 :           0 :               tree _q20 = TREE_OPERAND (_p0, 0);
     396                 :           0 :               tree _q21 = TREE_OPERAND (_p0, 1);
     397                 :           0 :               switch (TREE_CODE (_q20))
     398                 :             :                 {
     399                 :           0 :                 CASE_CONVERT:
     400                 :           0 :                   {
     401                 :           0 :                     tree _q30 = TREE_OPERAND (_q20, 0);
     402                 :           0 :                     switch (TREE_CODE (_q30))
     403                 :             :                       {
     404                 :           0 :                       case LE_EXPR:
     405                 :           0 :                         {
     406                 :           0 :                           tree _q40 = TREE_OPERAND (_q30, 0);
     407                 :           0 :                           tree _q41 = TREE_OPERAND (_q30, 1);
     408                 :           0 :                           switch (TREE_CODE (_q41))
     409                 :             :                             {
     410                 :           0 :                             case INTEGER_CST:
     411                 :           0 :                               {
     412                 :           0 :                                 switch (TREE_CODE (_q21))
     413                 :             :                                   {
     414                 :           0 :                                   case INTEGER_CST:
     415                 :           0 :                                     {
     416                 :           0 :                                       switch (TREE_CODE (_p1))
     417                 :             :                                         {
     418                 :           0 :                                         CASE_CONVERT:
     419                 :           0 :                                           {
     420                 :           0 :                                             tree _q80 = TREE_OPERAND (_p1, 0);
     421                 :           0 :                                             if ((_q80 == _q40 && ! TREE_SIDE_EFFECTS (_q80)) || (operand_equal_p (_q80, _q40, 0) && types_match (_q80, _q40)))
     422                 :             :                                               {
     423                 :           0 :                                                 {
     424                 :           0 :                                                   tree captures[3] ATTRIBUTE_UNUSED = { _q40, _q41, _q21 };
     425                 :           0 :                                                   if (INTEGRAL_TYPE_P (type) && TYPE_UNSIGNED (type)
     426                 :             : )
     427                 :             :                                                     {
     428                 :           0 :                                                       if (TYPE_UNSIGNED (TREE_TYPE (captures[0]))
     429                 :             : )
     430                 :             :                                                         {
     431                 :           0 :                                                           {
     432                 :           0 :  unsigned itype_precision = TYPE_PRECISION (TREE_TYPE (captures[0]));
     433                 :           0 :  unsigned otype_precision = TYPE_PRECISION (type);
     434                 :           0 :  wide_int trunc_max = wi::mask (otype_precision, false, itype_precision);
     435                 :           0 :  wide_int max = wi::mask (otype_precision, false, otype_precision);
     436                 :           0 :  wide_int int_cst_1 = wi::to_wide (captures[1]);
     437                 :           0 :  wide_int int_cst_2 = wi::to_wide (captures[2]);
     438                 :           0 :                                                               if (wi::eq_p (trunc_max, int_cst_1) && wi::eq_p (max, int_cst_2)
     439                 :             : )
     440                 :             :                                                                 {
     441                 :           0 :                                                                   {
     442                 :           0 :                                                                     res_ops[0] = captures[0];
     443                 :           0 :                                                                     if (UNLIKELY (debug_dump)) generic_dump_logs ("match.pd", 70, __FILE__, __LINE__, false);
     444                 :           0 :                                                                     return true;
     445                 :             :                                                                   }
     446                 :             :                                                                 }
     447                 :           0 :                                                           }
     448                 :             :                                                         }
     449                 :             :                                                     }
     450                 :             :                                                 }
     451                 :             :                                               }
     452                 :             :                                             break;
     453                 :             :                                           }
     454                 :             :                                         default:;
     455                 :             :                                         }
     456                 :             :                                       break;
     457                 :             :                                     }
     458                 :             :                                   default:;
     459                 :             :                                   }
     460                 :             :                                 break;
     461                 :             :                               }
     462                 :             :                             default:;
     463                 :             :                             }
     464                 :             :                           break;
     465                 :             :                         }
     466                 :             :                       default:;
     467                 :             :                       }
     468                 :             :                     break;
     469                 :             :                   }
     470                 :           0 :                 case INTEGER_CST:
     471                 :           0 :                   {
     472                 :           0 :                     switch (TREE_CODE (_q21))
     473                 :             :                       {
     474                 :           0 :                       CASE_CONVERT:
     475                 :           0 :                         {
     476                 :           0 :                           tree _q40 = TREE_OPERAND (_q21, 0);
     477                 :           0 :                           switch (TREE_CODE (_q40))
     478                 :             :                             {
     479                 :           0 :                             case LE_EXPR:
     480                 :           0 :                               {
     481                 :           0 :                                 tree _q50 = TREE_OPERAND (_q40, 0);
     482                 :           0 :                                 tree _q51 = TREE_OPERAND (_q40, 1);
     483                 :           0 :                                 switch (TREE_CODE (_q51))
     484                 :             :                                   {
     485                 :           0 :                                   case INTEGER_CST:
     486                 :           0 :                                     {
     487                 :           0 :                                       switch (TREE_CODE (_p1))
     488                 :             :                                         {
     489                 :           0 :                                         CASE_CONVERT:
     490                 :           0 :                                           {
     491                 :           0 :                                             tree _q80 = TREE_OPERAND (_p1, 0);
     492                 :           0 :                                             if ((_q80 == _q50 && ! TREE_SIDE_EFFECTS (_q80)) || (operand_equal_p (_q80, _q50, 0) && types_match (_q80, _q50)))
     493                 :             :                                               {
     494                 :           0 :                                                 {
     495                 :           0 :                                                   tree captures[3] ATTRIBUTE_UNUSED = { _q50, _q51, _q20 };
     496                 :           0 :                                                   if (INTEGRAL_TYPE_P (type) && TYPE_UNSIGNED (type)
     497                 :             : )
     498                 :             :                                                     {
     499                 :           0 :                                                       if (TYPE_UNSIGNED (TREE_TYPE (captures[0]))
     500                 :             : )
     501                 :             :                                                         {
     502                 :           0 :                                                           {
     503                 :           0 :  unsigned itype_precision = TYPE_PRECISION (TREE_TYPE (captures[0]));
     504                 :           0 :  unsigned otype_precision = TYPE_PRECISION (type);
     505                 :           0 :  wide_int trunc_max = wi::mask (otype_precision, false, itype_precision);
     506                 :           0 :  wide_int max = wi::mask (otype_precision, false, otype_precision);
     507                 :           0 :  wide_int int_cst_1 = wi::to_wide (captures[1]);
     508                 :           0 :  wide_int int_cst_2 = wi::to_wide (captures[2]);
     509                 :           0 :                                                               if (wi::eq_p (trunc_max, int_cst_1) && wi::eq_p (max, int_cst_2)
     510                 :             : )
     511                 :             :                                                                 {
     512                 :           0 :                                                                   {
     513                 :           0 :                                                                     res_ops[0] = captures[0];
     514                 :           0 :                                                                     if (UNLIKELY (debug_dump)) generic_dump_logs ("match.pd", 70, __FILE__, __LINE__, false);
     515                 :           0 :                                                                     return true;
     516                 :             :                                                                   }
     517                 :             :                                                                 }
     518                 :           0 :                                                           }
     519                 :             :                                                         }
     520                 :             :                                                     }
     521                 :             :                                                 }
     522                 :             :                                               }
     523                 :             :                                             break;
     524                 :             :                                           }
     525                 :             :                                         default:;
     526                 :             :                                         }
     527                 :             :                                       break;
     528                 :             :                                     }
     529                 :             :                                   default:;
     530                 :             :                                   }
     531                 :             :                                 break;
     532                 :             :                               }
     533                 :             :                             default:;
     534                 :             :                             }
     535                 :             :                           break;
     536                 :             :                         }
     537                 :             :                       default:;
     538                 :             :                       }
     539                 :             :                     break;
     540                 :             :                   }
     541                 :             :                 default:;
     542                 :             :                 }
     543                 :             :               break;
     544                 :             :             }
     545                 :             :           default:;
     546                 :             :           }
     547                 :             :         break;
     548                 :             :       }
     549                 :           0 :     CASE_CONVERT:
     550                 :           0 :       {
     551                 :           0 :         tree _p0 = TREE_OPERAND (t, 0);
     552                 :           0 :         switch (TREE_CODE (_p0))
     553                 :             :           {
     554                 :           0 :           case MIN_EXPR:
     555                 :           0 :             {
     556                 :           0 :               tree _q20 = TREE_OPERAND (_p0, 0);
     557                 :           0 :               tree _q21 = TREE_OPERAND (_p0, 1);
     558                 :           0 :               switch (TREE_CODE (_q21))
     559                 :             :                 {
     560                 :           0 :                 case INTEGER_CST:
     561                 :           0 :                   {
     562                 :           0 :                     {
     563                 :           0 :                       tree captures[3] ATTRIBUTE_UNUSED = { _q20, _p0, _q21 };
     564                 :           0 :                       if (INTEGRAL_TYPE_P (type) && TYPE_UNSIGNED (type)
     565                 :             : )
     566                 :             :                         {
     567                 :           0 :                           if (TYPE_UNSIGNED (TREE_TYPE (captures[0])) && single_use (captures[1])
     568                 :             : )
     569                 :             :                             {
     570                 :           0 :                               {
     571                 :           0 :  unsigned itype_precision = TYPE_PRECISION (TREE_TYPE (captures[0]));
     572                 :           0 :  unsigned otype_precision = TYPE_PRECISION (type);
     573                 :           0 :  wide_int trunc_max = wi::mask (otype_precision, false, itype_precision);
     574                 :           0 :  wide_int int_cst = wi::to_wide (captures[2], itype_precision);
     575                 :           0 :                                   if (otype_precision < itype_precision && wi::eq_p (trunc_max, int_cst)
     576                 :             : )
     577                 :             :                                     {
     578                 :           0 :                                       {
     579                 :           0 :                                         res_ops[0] = captures[0];
     580                 :           0 :                                         if (UNLIKELY (debug_dump)) generic_dump_logs ("match.pd", 71, __FILE__, __LINE__, false);
     581                 :           0 :                                         return true;
     582                 :             :                                       }
     583                 :             :                                     }
     584                 :           0 :                               }
     585                 :             :                             }
     586                 :             :                         }
     587                 :             :                     }
     588                 :           0 :                     break;
     589                 :             :                   }
     590                 :             :                 default:;
     591                 :             :                 }
     592                 :             :               break;
     593                 :             :             }
     594                 :             :           default:;
     595                 :             :           }
     596                 :             :         break;
     597                 :             :       }
     598                 :             :     default:;
     599                 :             :     }
     600                 :             :   return false;
     601                 :             : }
     602                 :             : 
     603                 :             : tree
     604                 :       45612 : generic_simplify_12 (location_t ARG_UNUSED (loc), const tree ARG_UNUSED (type),
     605                 :             :  tree ARG_UNUSED (_p0), tree ARG_UNUSED (_p1), tree *ARG_UNUSED (captures))
     606                 :             : {
     607                 :       45612 :   const bool debug_dump = dump_file && (dump_flags & TDF_FOLDING);
     608                 :       45612 :   if (!TYPE_SATURATING (type)
     609                 :             : )
     610                 :             :     {
     611                 :       45612 :       if ((!FLOAT_TYPE_P (type) || flag_associative_math)
     612                 :       91150 :  && !FIXED_POINT_TYPE_P (type)
     613                 :             : )
     614                 :             :         {
     615                 :       45538 :           if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail230;
     616                 :       45538 :           {
     617                 :       45538 :             tree res_op0;
     618                 :       45538 :             res_op0 = captures[0];
     619                 :       45538 :             tree _r;
     620                 :       45538 :             _r = fold_build1_loc (loc, VIEW_CONVERT_EXPR, type, res_op0);
     621                 :       45538 :             if (TREE_SIDE_EFFECTS (captures[1]))
     622                 :           0 :               _r = build2_loc (loc, COMPOUND_EXPR, type, fold_ignored_result (captures[1]), _r);
     623                 :       45538 :             if (UNLIKELY (debug_dump)) generic_dump_logs ("match.pd", 114, __FILE__, __LINE__, true);
     624                 :       45538 :             return _r;
     625                 :             :           }
     626                 :           0 : next_after_fail230:;
     627                 :             :         }
     628                 :             :     }
     629                 :             :   return NULL_TREE;
     630                 :             : }
     631                 :             : 
     632                 :             : tree
     633                 :      187085 : generic_simplify_13 (location_t ARG_UNUSED (loc), const tree ARG_UNUSED (type),
     634                 :             :  tree ARG_UNUSED (_p0), tree ARG_UNUSED (_p1), tree *ARG_UNUSED (captures))
     635                 :             : {
     636                 :      187085 :   const bool debug_dump = dump_file && (dump_flags & TDF_FOLDING);
     637                 :      187085 :   if (!TYPE_SATURATING (type)
     638                 :             : )
     639                 :             :     {
     640                 :      187085 :       if (tree_nop_conversion_p (type, TREE_TYPE (captures[1]))
     641                 :      187085 :  && !TYPE_OVERFLOW_SANITIZED (type)
     642                 :             : )
     643                 :             :         {
     644                 :      184799 :           {
     645                 :      184799 :  tree t1 = type;
     646                 :      184799 :  if (INTEGRAL_TYPE_P (type)
     647                 :      320379 :  && TYPE_OVERFLOW_WRAPS (type) != TYPE_OVERFLOW_WRAPS (TREE_TYPE (captures[1])))
     648                 :        2434 :  t1 = TYPE_OVERFLOW_WRAPS (type) ? type : TREE_TYPE (captures[1]);
     649                 :      184799 :               if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail231;
     650                 :      184799 :               {
     651                 :      184799 :                 tree res_op0;
     652                 :      184799 :                 {
     653                 :      184799 :                   tree _o1[2], _r1;
     654                 :      184799 :                   {
     655                 :      184799 :                     tree _o2[1], _r2;
     656                 :      184799 :                     _o2[0] = captures[0];
     657                 :      184799 :                     if (TREE_TYPE (_o2[0]) != t1)
     658                 :             :                       {
     659                 :        2126 :                         _r2 = fold_build1_loc (loc, NOP_EXPR, t1, _o2[0]);
     660                 :             :                       }
     661                 :             :                     else
     662                 :             :                       _r2 = _o2[0];
     663                 :      184799 :                     _o1[0] = _r2;
     664                 :             :                   }
     665                 :      184799 :                   {
     666                 :      184799 :                     tree _o2[1], _r2;
     667                 :      184799 :                     _o2[0] = captures[1];
     668                 :      184799 :                     if (TREE_TYPE (_o2[0]) != t1)
     669                 :             :                       {
     670                 :        1768 :                         _r2 = fold_build1_loc (loc, NOP_EXPR, t1, _o2[0]);
     671                 :             :                       }
     672                 :             :                     else
     673                 :             :                       _r2 = _o2[0];
     674                 :      184799 :                     _o1[1] = _r2;
     675                 :             :                   }
     676                 :      184799 :                   _r1 = fold_build2_loc (loc, MINUS_EXPR, TREE_TYPE (_o1[0]), _o1[0], _o1[1]);
     677                 :      184799 :                   res_op0 = _r1;
     678                 :             :                 }
     679                 :      184799 :                 tree _r;
     680                 :      184799 :                 _r = fold_build1_loc (loc, NOP_EXPR, type, res_op0);
     681                 :      184799 :                 if (UNLIKELY (debug_dump)) generic_dump_logs ("match.pd", 115, __FILE__, __LINE__, true);
     682                 :      184799 :                 return _r;
     683                 :             :               }
     684                 :           0 : next_after_fail231:;
     685                 :             :           }
     686                 :             :         }
     687                 :             :     }
     688                 :             :   return NULL_TREE;
     689                 :             : }
     690                 :             : 
     691                 :             : tree
     692                 :          10 : generic_simplify_19 (location_t ARG_UNUSED (loc), const tree ARG_UNUSED (type),
     693                 :             :  tree ARG_UNUSED (_p0), tree ARG_UNUSED (_p1), tree *ARG_UNUSED (captures))
     694                 :             : {
     695                 :          10 :   const bool debug_dump = dump_file && (dump_flags & TDF_FOLDING);
     696                 :          10 :   if (!TYPE_SATURATING (type)
     697                 :             : )
     698                 :             :     {
     699                 :          10 :       if ((!FLOAT_TYPE_P (type) || flag_associative_math)
     700                 :          20 :  && !FIXED_POINT_TYPE_P (type)
     701                 :             : )
     702                 :             :         {
     703                 :          10 :           if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail245;
     704                 :          10 :           {
     705                 :          10 :             tree res_op0;
     706                 :          10 :             res_op0 = captures[2];
     707                 :          10 :             tree res_op1;
     708                 :          10 :             res_op1 = captures[1];
     709                 :          10 :             tree _r;
     710                 :          10 :             _r = fold_build2_loc (loc, MINUS_EXPR, type, res_op0, res_op1);
     711                 :          10 :             if (TREE_SIDE_EFFECTS (captures[0]))
     712                 :           0 :               _r = build2_loc (loc, COMPOUND_EXPR, type, fold_ignored_result (captures[0]), _r);
     713                 :          10 :             if (UNLIKELY (debug_dump)) generic_dump_logs ("match.pd", 129, __FILE__, __LINE__, true);
     714                 :          10 :             return _r;
     715                 :             :           }
     716                 :           0 : next_after_fail245:;
     717                 :             :         }
     718                 :             :     }
     719                 :             :   return NULL_TREE;
     720                 :             : }
     721                 :             : 
     722                 :             : tree
     723                 :     6257010 : generic_simplify_21 (location_t ARG_UNUSED (loc), const tree ARG_UNUSED (type),
     724                 :             :  tree ARG_UNUSED (_p0), tree ARG_UNUSED (_p1), tree *ARG_UNUSED (captures),
     725                 :             :  const enum tree_code ARG_UNUSED (op))
     726                 :             : {
     727                 :     6257010 :   const bool debug_dump = dump_file && (dump_flags & TDF_FOLDING);
     728                 :     6257010 :   if (!TYPE_SATURATING (type)
     729                 :             : )
     730                 :             :     {
     731                 :     6257010 :       if ((!FLOAT_TYPE_P (type) || flag_associative_math)
     732                 :    12107900 :  && !FIXED_POINT_TYPE_P (type)
     733                 :             : )
     734                 :             :         {
     735                 :     5850890 :           if (INTEGRAL_TYPE_P (type)
     736                 :     5850598 :  && INTEGRAL_TYPE_P (TREE_TYPE (captures[0]))
     737                 :     4663039 :  && TYPE_PRECISION (type) <= TYPE_PRECISION (TREE_TYPE (captures[0]))
     738                 :     4038930 :  && types_match (TREE_TYPE (captures[0]), TREE_TYPE (captures[1]))
     739                 :     3503567 :  && !TYPE_OVERFLOW_TRAPS (type)
     740                 :     9354457 :  && !TYPE_OVERFLOW_SANITIZED (type)
     741                 :             : )
     742                 :             :             {
     743                 :     3503296 :               if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail247;
     744                 :     3503296 :               {
     745                 :     3503296 :                 tree res_op0;
     746                 :     3503296 :                 {
     747                 :     3503296 :                   tree _o1[2], _r1;
     748                 :     3503296 :                   _o1[0] = captures[0];
     749                 :     3503296 :                   _o1[1] = captures[1];
     750                 :     3503296 :                   _r1 = fold_build2_loc (loc, op, TREE_TYPE (_o1[0]), _o1[0], _o1[1]);
     751                 :     3503296 :                   if (EXPR_P (_r1))
     752                 :     3490229 :                     goto next_after_fail247;
     753                 :       13067 :                   res_op0 = _r1;
     754                 :             :                 }
     755                 :       13067 :                 tree _r;
     756                 :       13067 :                 _r = fold_build1_loc (loc, NOP_EXPR, type, res_op0);
     757                 :       13067 :                 if (UNLIKELY (debug_dump)) generic_dump_logs ("match.pd", 131, __FILE__, __LINE__, true);
     758                 :       13067 :                 return _r;
     759                 :             :               }
     760                 :             : next_after_fail247:;
     761                 :             :             }
     762                 :             :         }
     763                 :             :     }
     764                 :             :   return NULL_TREE;
     765                 :             : }
     766                 :             : 
     767                 :             : tree
     768                 :      121064 : generic_simplify_23 (location_t ARG_UNUSED (loc), const tree ARG_UNUSED (type),
     769                 :             :  tree ARG_UNUSED (_p0), tree ARG_UNUSED (_p1), tree *ARG_UNUSED (captures))
     770                 :             : {
     771                 :      121064 :   const bool debug_dump = dump_file && (dump_flags & TDF_FOLDING);
     772                 :      121064 :   if (!TYPE_SATURATING (type)
     773                 :             : )
     774                 :             :     {
     775                 :      121064 :       if ((!FLOAT_TYPE_P (type) || flag_associative_math)
     776                 :      242128 :  && !FIXED_POINT_TYPE_P (type)
     777                 :             : )
     778                 :             :         {
     779                 :      121064 :           if (tree_nop_conversion_p (type, TREE_TYPE (captures[0]))
     780                 :             : )
     781                 :             :             {
     782                 :      120249 :               if (TREE_SIDE_EFFECTS (_p1)) goto next_after_fail249;
     783                 :      120249 :               if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail249;
     784                 :      120249 :               {
     785                 :      120249 :                 tree res_op0;
     786                 :      120249 :                 {
     787                 :      120249 :                   tree _o1[1], _r1;
     788                 :      120249 :                   _o1[0] = captures[0];
     789                 :      120249 :                   if (TREE_TYPE (_o1[0]) != type)
     790                 :             :                     {
     791                 :      117523 :                       _r1 = fold_build1_loc (loc, NOP_EXPR, type, _o1[0]);
     792                 :             :                     }
     793                 :             :                   else
     794                 :             :                     _r1 = _o1[0];
     795                 :      120249 :                   res_op0 = _r1;
     796                 :             :                 }
     797                 :      120249 :                 tree _r;
     798                 :      120249 :                 _r = fold_build1_loc (loc, NEGATE_EXPR, type, res_op0);
     799                 :      120249 :                 if (UNLIKELY (debug_dump)) generic_dump_logs ("match.pd", 133, __FILE__, __LINE__, true);
     800                 :      120249 :                 return _r;
     801                 :             :               }
     802                 :             : next_after_fail249:;
     803                 :             :             }
     804                 :             :         }
     805                 :             :     }
     806                 :             :   return NULL_TREE;
     807                 :             : }
     808                 :             : 
     809                 :             : tree
     810                 :        8439 : generic_simplify_25 (location_t ARG_UNUSED (loc), const tree ARG_UNUSED (type),
     811                 :             :  tree ARG_UNUSED (_p0), tree ARG_UNUSED (_p1), tree *ARG_UNUSED (captures),
     812                 :             :  const enum tree_code ARG_UNUSED (plusminus))
     813                 :             : {
     814                 :        8439 :   const bool debug_dump = dump_file && (dump_flags & TDF_FOLDING);
     815                 :        8439 :   if (!TYPE_SATURATING (type)
     816                 :        8439 :  && (!FLOAT_TYPE_P (type) || flag_associative_math)
     817                 :             : )
     818                 :             :     {
     819                 :        8273 :       if (!ALL_FRACT_MODE_P (TYPE_MODE (type))
     820                 :             : )
     821                 :             :         {
     822                 :           4 :           if ((!ANY_INTEGRAL_TYPE_P (type)
     823                 :        8269 :  || TYPE_OVERFLOW_WRAPS (type)
     824                 :        3086 :  || (INTEGRAL_TYPE_P (type)
     825                 :        3086 :  && ((tree_expr_nonzero_p (captures[0])
     826                 :         132 :  && expr_not_equal_to (captures[0],
     827                 :        8405 :  wi::minus_one (TYPE_PRECISION (type))))
     828                 :             :  || (plusminus == PLUS_EXPR
     829                 :        2954 :  ? expr_not_equal_to (captures[2],
     830                 :        8291 :  wi::max_value (TYPE_PRECISION (type), SIGNED))
     831                 :        2936 :  : (expr_not_equal_to (captures[2],
     832                 :       11209 :  wi::min_value (TYPE_PRECISION (type), SIGNED))
     833                 :        2882 :  && expr_not_equal_to (captures[2],
     834                 :        5764 :  wi::min_value (TYPE_PRECISION (type), SIGNED)
     835                 :       16919 :  + 1))))))
     836                 :       11227 :  && single_use (captures[1])
     837                 :             : )
     838                 :             :             {
     839                 :        8219 :               if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail252;
     840                 :        8219 :               {
     841                 :        8219 :                 tree res_op0;
     842                 :        8219 :                 {
     843                 :        8219 :                   tree _o1[2], _r1;
     844                 :        8219 :                   _o1[0] =  build_one_cst (type);
     845                 :        8219 :                   _o1[1] = captures[2];
     846                 :        8219 :                   _r1 = fold_build2_loc (loc, plusminus, TREE_TYPE (_o1[0]), _o1[0], _o1[1]);
     847                 :        8219 :                   res_op0 = _r1;
     848                 :             :                 }
     849                 :        8219 :                 tree res_op1;
     850                 :        8219 :                 res_op1 = captures[0];
     851                 :        8219 :                 tree _r;
     852                 :        8219 :                 _r = fold_build2_loc (loc, MULT_EXPR, type, res_op0, res_op1);
     853                 :        8219 :                 if (UNLIKELY (debug_dump)) generic_dump_logs ("match.pd", 136, __FILE__, __LINE__, true);
     854                 :        8219 :                 return _r;
     855                 :             :               }
     856                 :           0 : next_after_fail252:;
     857                 :             :             }
     858                 :             :         }
     859                 :             :     }
     860                 :             :   return NULL_TREE;
     861                 :             : }
     862                 :             : 
     863                 :             : tree
     864                 :           2 : generic_simplify_29 (location_t ARG_UNUSED (loc), const tree ARG_UNUSED (type),
     865                 :             :  tree ARG_UNUSED (_p0), tree ARG_UNUSED (_p1), tree *ARG_UNUSED (captures),
     866                 :             :  const enum tree_code ARG_UNUSED (div),
     867                 :             :  const enum tree_code ARG_UNUSED (mod))
     868                 :             : {
     869                 :           2 :   const bool debug_dump = dump_file && (dump_flags & TDF_FOLDING);
     870                 :           2 :   if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail256;
     871                 :           2 :   {
     872                 :           2 :     tree _r;
     873                 :           2 :     _r = captures[0];
     874                 :           2 :     if (TREE_SIDE_EFFECTS (captures[1]))
     875                 :           0 :       _r = build2_loc (loc, COMPOUND_EXPR, type, fold_ignored_result (captures[1]), _r);
     876                 :           2 :     if (UNLIKELY (debug_dump)) generic_dump_logs ("match.pd", 140, __FILE__, __LINE__, true);
     877                 :             :     return _r;
     878                 :             :   }
     879                 :           0 : next_after_fail256:;
     880                 :           0 :   return NULL_TREE;
     881                 :             : }
     882                 :             : 
     883                 :             : tree
     884                 :       19872 : generic_simplify_31 (location_t ARG_UNUSED (loc), const tree ARG_UNUSED (type),
     885                 :             :  tree ARG_UNUSED (_p0), tree ARG_UNUSED (_p1), tree *ARG_UNUSED (captures),
     886                 :             :  const enum tree_code ARG_UNUSED (op))
     887                 :             : {
     888                 :       19872 :   const bool debug_dump = dump_file && (dump_flags & TDF_FOLDING);
     889                 :       19872 :   if (flag_unsafe_math_optimizations
     890                 :             : )
     891                 :             :     {
     892                 :          12 :       if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail258;
     893                 :          12 :       {
     894                 :          12 :         tree res_op0;
     895                 :          12 :         {
     896                 :          12 :           tree _o1[2], _r1;
     897                 :          12 :           _o1[0] = captures[0];
     898                 :          12 :           _o1[1] = captures[2];
     899                 :          12 :           _r1 = fold_build2_loc (loc, op, TREE_TYPE (_o1[0]), _o1[0], _o1[1]);
     900                 :          12 :           res_op0 = _r1;
     901                 :             :         }
     902                 :          12 :         tree res_op1;
     903                 :          12 :         res_op1 = captures[1];
     904                 :          12 :         tree _r;
     905                 :          12 :         _r = fold_build2_loc (loc, RDIV_EXPR, type, res_op0, res_op1);
     906                 :          12 :         if (UNLIKELY (debug_dump)) generic_dump_logs ("match.pd", 142, __FILE__, __LINE__, true);
     907                 :          12 :         return _r;
     908                 :             :       }
     909                 :           0 : next_after_fail258:;
     910                 :             :     }
     911                 :             :   return NULL_TREE;
     912                 :             : }
     913                 :             : 
     914                 :             : tree
     915                 :           4 : generic_simplify_35 (location_t ARG_UNUSED (loc), const tree ARG_UNUSED (type),
     916                 :             :  tree ARG_UNUSED (_p0), tree ARG_UNUSED (_p1), tree *ARG_UNUSED (captures),
     917                 :             :  const enum tree_code ARG_UNUSED (log1),
     918                 :             :  const enum tree_code ARG_UNUSED (log2),
     919                 :             :  const combined_fn ARG_UNUSED (popcount))
     920                 :             : {
     921                 :           4 :   const bool debug_dump = dump_file && (dump_flags & TDF_FOLDING);
     922                 :           4 :   if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail262;
     923                 :           4 :   {
     924                 :           4 :     tree res_op0;
     925                 :           4 :     {
     926                 :           4 :       tree _o1[2], _r1;
     927                 :           4 :       _o1[0] = captures[2];
     928                 :           4 :       _o1[1] = captures[5];
     929                 :           4 :       _r1 = fold_build2_loc (loc, log2, TREE_TYPE (_o1[0]), _o1[0], _o1[1]);
     930                 :           4 :       res_op0 = _r1;
     931                 :             :     }
     932                 :           4 :     tree _r;
     933                 :           4 :     _r = maybe_build_call_expr_loc (loc, popcount, type, 1, res_op0);
     934                 :           4 :     if (!_r)
     935                 :           0 :       goto next_after_fail262;
     936                 :           4 :     if (UNLIKELY (debug_dump)) generic_dump_logs ("match.pd", 146, __FILE__, __LINE__, true);
     937                 :             :     return _r;
     938                 :             :   }
     939                 :             : next_after_fail262:;
     940                 :             :   return NULL_TREE;
     941                 :             : }
     942                 :             : 
     943                 :             : tree
     944                 :          78 : generic_simplify_38 (location_t ARG_UNUSED (loc), const tree ARG_UNUSED (type),
     945                 :             :  tree ARG_UNUSED (_p0), tree ARG_UNUSED (_p1), tree *ARG_UNUSED (captures))
     946                 :             : {
     947                 :          78 :   const bool debug_dump = dump_file && (dump_flags & TDF_FOLDING);
     948                 :          78 :   if (INTEGRAL_TYPE_P (type)
     949                 :          78 :  || (VECTOR_INTEGER_TYPE_P (type)
     950                 :             :  && ((optimize_vectors_before_lowering_p ()
     951                 :           1 :  && TREE_CODE (TYPE_SIZE (type)) == INTEGER_CST)
     952                 :           0 :  || target_supports_op_p (type, TRUNC_MOD_EXPR,
     953                 :             :  optab_vector)))
     954                 :             : )
     955                 :             :     {
     956                 :          78 :       if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail265;
     957                 :          78 :       {
     958                 :          78 :         tree res_op0;
     959                 :          78 :         {
     960                 :          78 :           tree _o1[2], _r1;
     961                 :          78 :           _o1[0] = captures[0];
     962                 :          78 :           _o1[1] = captures[1];
     963                 :          78 :           _r1 = fold_build2_loc (loc, TRUNC_MOD_EXPR, TREE_TYPE (_o1[0]), _o1[0], _o1[1]);
     964                 :          78 :           res_op0 = _r1;
     965                 :             :         }
     966                 :          78 :         tree _r;
     967                 :          78 :         _r = fold_build1_loc (loc, NOP_EXPR, type, res_op0);
     968                 :          78 :         if (UNLIKELY (debug_dump)) generic_dump_logs ("match.pd", 149, __FILE__, __LINE__, true);
     969                 :          78 :         return _r;
     970                 :             :       }
     971                 :           0 : next_after_fail265:;
     972                 :             :     }
     973                 :             :   return NULL_TREE;
     974                 :             : }
     975                 :             : 
     976                 :             : tree
     977                 :           1 : generic_simplify_43 (location_t ARG_UNUSED (loc), const tree ARG_UNUSED (type),
     978                 :             :  tree ARG_UNUSED (_p0), tree ARG_UNUSED (_p1), tree *ARG_UNUSED (captures))
     979                 :             : {
     980                 :           1 :   const bool debug_dump = dump_file && (dump_flags & TDF_FOLDING);
     981                 :           1 :   if (!TYPE_OVERFLOW_SANITIZED (type) && !TYPE_OVERFLOW_TRAPS (type)
     982                 :           1 :  && !TYPE_SATURATING (type) && !TYPE_OVERFLOW_SANITIZED (TREE_TYPE (captures[0]))
     983                 :           1 :  && !TYPE_OVERFLOW_TRAPS (TREE_TYPE (captures[0]))
     984                 :           2 :  && !TYPE_SATURATING (TREE_TYPE (captures[0]))
     985                 :             : )
     986                 :             :     {
     987                 :           1 :       if (TREE_SIDE_EFFECTS (_p0)) goto next_after_fail270;
     988                 :           1 :       if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail270;
     989                 :           1 :       {
     990                 :           1 :         tree res_op0;
     991                 :           1 :         {
     992                 :           1 :           tree _o1[1], _r1;
     993                 :           1 :           {
     994                 :           1 :             tree _o2[2], _r2;
     995                 :           1 :             _o2[0] = captures[1];
     996                 :           1 :             _o2[1] = captures[2];
     997                 :           1 :             _r2 = fold_build2_loc (loc, BIT_XOR_EXPR, TREE_TYPE (_o2[0]), _o2[0], _o2[1]);
     998                 :           1 :             _o1[0] = _r2;
     999                 :             :           }
    1000                 :           1 :           if (TREE_TYPE (_o1[0]) != type)
    1001                 :             :             {
    1002                 :           0 :               _r1 = fold_build1_loc (loc, NOP_EXPR, type, _o1[0]);
    1003                 :             :             }
    1004                 :             :           else
    1005                 :             :             _r1 = _o1[0];
    1006                 :           1 :           res_op0 = _r1;
    1007                 :             :         }
    1008                 :           1 :         tree _r;
    1009                 :           1 :         _r = fold_build1_loc (loc, BIT_NOT_EXPR, type, res_op0);
    1010                 :           1 :         if (UNLIKELY (debug_dump)) generic_dump_logs ("match.pd", 154, __FILE__, __LINE__, true);
    1011                 :           1 :         return _r;
    1012                 :             :       }
    1013                 :             : next_after_fail270:;
    1014                 :             :     }
    1015                 :             :   return NULL_TREE;
    1016                 :             : }
    1017                 :             : 
    1018                 :             : tree
    1019                 :         165 : generic_simplify_49 (location_t ARG_UNUSED (loc), const tree ARG_UNUSED (type),
    1020                 :             :  tree ARG_UNUSED (_p0), tree ARG_UNUSED (_p1), tree *ARG_UNUSED (captures))
    1021                 :             : {
    1022                 :         165 :   const bool debug_dump = dump_file && (dump_flags & TDF_FOLDING);
    1023                 :         165 :   if (!TYPE_SATURATING (type)
    1024                 :             : )
    1025                 :             :     {
    1026                 :         165 :       if ((!FLOAT_TYPE_P (type) || flag_associative_math)
    1027                 :         330 :  && !FIXED_POINT_TYPE_P (type)
    1028                 :             : )
    1029                 :             :         {
    1030                 :           0 :           if (!ANY_INTEGRAL_TYPE_P (type)
    1031                 :         165 :  || TYPE_OVERFLOW_WRAPS (type)
    1032                 :             : )
    1033                 :             :             {
    1034                 :          89 :               if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail276;
    1035                 :          89 :               {
    1036                 :          89 :                 tree res_op0;
    1037                 :          89 :                 {
    1038                 :          89 :                   tree _o1[1], _r1;
    1039                 :          89 :                   _o1[0] = captures[1];
    1040                 :          89 :                   if (TREE_TYPE (_o1[0]) != type)
    1041                 :             :                     {
    1042                 :           0 :                       _r1 = fold_build1_loc (loc, VIEW_CONVERT_EXPR, type, _o1[0]);
    1043                 :             :                     }
    1044                 :             :                   else
    1045                 :             :                     _r1 = _o1[0];
    1046                 :          89 :                   res_op0 = _r1;
    1047                 :             :                 }
    1048                 :          89 :                 tree _r;
    1049                 :          89 :                 _r = fold_build1_loc (loc, NEGATE_EXPR, type, res_op0);
    1050                 :          89 :                 if (TREE_SIDE_EFFECTS (captures[0]))
    1051                 :           0 :                   _r = build2_loc (loc, COMPOUND_EXPR, type, fold_ignored_result (captures[0]), _r);
    1052                 :          89 :                 if (UNLIKELY (debug_dump)) generic_dump_logs ("match.pd", 159, __FILE__, __LINE__, true);
    1053                 :          89 :                 return _r;
    1054                 :             :               }
    1055                 :           0 : next_after_fail276:;
    1056                 :             :             }
    1057                 :             :           else
    1058                 :             :             {
    1059                 :          76 :               if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail277;
    1060                 :          76 :               {
    1061                 :          76 :                 tree res_op0;
    1062                 :          76 :                 {
    1063                 :          76 :                   tree _o1[1], _r1;
    1064                 :          76 :                   _o1[0] = captures[1];
    1065                 :          76 :                   _r1 = fold_build1_loc (loc, NEGATE_EXPR, TREE_TYPE (_o1[0]), _o1[0]);
    1066                 :          76 :                   res_op0 = _r1;
    1067                 :             :                 }
    1068                 :          76 :                 tree _r;
    1069                 :          76 :                 _r = fold_build1_loc (loc, VIEW_CONVERT_EXPR, type, res_op0);
    1070                 :          76 :                 if (TREE_SIDE_EFFECTS (captures[0]))
    1071                 :           0 :                   _r = build2_loc (loc, COMPOUND_EXPR, type, fold_ignored_result (captures[0]), _r);
    1072                 :          76 :                 if (UNLIKELY (debug_dump)) generic_dump_logs ("match.pd", 160, __FILE__, __LINE__, true);
    1073                 :          76 :                 return _r;
    1074                 :             :               }
    1075                 :           0 : next_after_fail277:;
    1076                 :             :             }
    1077                 :             :         }
    1078                 :             :     }
    1079                 :             :   return NULL_TREE;
    1080                 :             : }
    1081                 :             : 
    1082                 :             : tree
    1083                 :        9822 : generic_simplify_56 (location_t ARG_UNUSED (loc), const tree ARG_UNUSED (type),
    1084                 :             :  tree ARG_UNUSED (_p0), tree ARG_UNUSED (_p1), tree *ARG_UNUSED (captures))
    1085                 :             : {
    1086                 :        9822 :   const bool debug_dump = dump_file && (dump_flags & TDF_FOLDING);
    1087                 :        9822 :   if (!TYPE_SATURATING (type)
    1088                 :             : )
    1089                 :             :     {
    1090                 :        9822 :       if ((!FLOAT_TYPE_P (type) || flag_associative_math)
    1091                 :       19644 :  && !FIXED_POINT_TYPE_P (type)
    1092                 :             : )
    1093                 :             :         {
    1094                 :        9822 :           if (INTEGRAL_TYPE_P (type)
    1095                 :        9822 :  && TYPE_OVERFLOW_UNDEFINED (type)
    1096                 :        2853 :  && TREE_CODE (captures[1]) != INTEGER_CST
    1097                 :       10799 :  && element_precision (type) <= element_precision (TREE_TYPE (captures[1]))
    1098                 :             : )
    1099                 :             :             {
    1100                 :         977 :               {
    1101                 :         977 :  tree utype = unsigned_type_for (type);
    1102                 :         977 :                   if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail287;
    1103                 :         977 :                   {
    1104                 :         977 :                     tree res_op0;
    1105                 :         977 :                     {
    1106                 :         977 :                       tree _o1[1], _r1;
    1107                 :         977 :                       {
    1108                 :         977 :                         tree _o2[1], _r2;
    1109                 :         977 :                         _o2[0] = captures[1];
    1110                 :         977 :                         if (TREE_TYPE (_o2[0]) != utype)
    1111                 :             :                           {
    1112                 :         977 :                             _r2 = fold_build1_loc (loc, NOP_EXPR, utype, _o2[0]);
    1113                 :             :                           }
    1114                 :             :                         else
    1115                 :             :                           _r2 = _o2[0];
    1116                 :         977 :                         _o1[0] = _r2;
    1117                 :             :                       }
    1118                 :         977 :                       _r1 = fold_build1_loc (loc, NEGATE_EXPR, TREE_TYPE (_o1[0]), _o1[0]);
    1119                 :         977 :                       res_op0 = _r1;
    1120                 :             :                     }
    1121                 :         977 :                     tree _r;
    1122                 :         977 :                     _r = fold_build1_loc (loc, NOP_EXPR, type, res_op0);
    1123                 :         977 :                     if (TREE_SIDE_EFFECTS (captures[2]))
    1124                 :           0 :                       _r = build2_loc (loc, COMPOUND_EXPR, type, fold_ignored_result (captures[2]), _r);
    1125                 :         977 :                     if (UNLIKELY (debug_dump)) generic_dump_logs ("match.pd", 170, __FILE__, __LINE__, true);
    1126                 :         977 :                     return _r;
    1127                 :             :                   }
    1128                 :           0 : next_after_fail287:;
    1129                 :             :               }
    1130                 :             :             }
    1131                 :             :           else
    1132                 :             :             {
    1133                 :        8845 :               if (element_precision (type) <= element_precision (TREE_TYPE (captures[1]))
    1134                 :        8845 :  || (INTEGRAL_TYPE_P (TREE_TYPE (captures[1]))
    1135                 :        2117 :  && TYPE_OVERFLOW_UNDEFINED (TREE_TYPE (captures[1])))
    1136                 :             : )
    1137                 :             :                 {
    1138                 :        8602 :                   if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail288;
    1139                 :        8602 :                   {
    1140                 :        8602 :                     tree res_op0;
    1141                 :        8602 :                     {
    1142                 :        8602 :                       tree _o1[1], _r1;
    1143                 :        8602 :                       _o1[0] = captures[1];
    1144                 :        8602 :                       if (TREE_TYPE (_o1[0]) != type)
    1145                 :             :                         {
    1146                 :        8602 :                           _r1 = fold_build1_loc (loc, NOP_EXPR, type, _o1[0]);
    1147                 :             :                         }
    1148                 :             :                       else
    1149                 :             :                         _r1 = _o1[0];
    1150                 :        8602 :                       res_op0 = _r1;
    1151                 :             :                     }
    1152                 :        8602 :                     tree _r;
    1153                 :        8602 :                     _r = fold_build1_loc (loc, NEGATE_EXPR, type, res_op0);
    1154                 :        8602 :                     if (TREE_SIDE_EFFECTS (captures[2]))
    1155                 :           0 :                       _r = build2_loc (loc, COMPOUND_EXPR, type, fold_ignored_result (captures[2]), _r);
    1156                 :        8602 :                     if (UNLIKELY (debug_dump)) generic_dump_logs ("match.pd", 171, __FILE__, __LINE__, true);
    1157                 :        8602 :                     return _r;
    1158                 :             :                   }
    1159                 :           0 : next_after_fail288:;
    1160                 :             :                 }
    1161                 :             :             }
    1162                 :             :         }
    1163                 :             :     }
    1164                 :             :   return NULL_TREE;
    1165                 :             : }
    1166                 :             : 
    1167                 :             : tree
    1168                 :          16 : generic_simplify_67 (location_t ARG_UNUSED (loc), const tree ARG_UNUSED (type),
    1169                 :             :  tree ARG_UNUSED (_p0), tree ARG_UNUSED (_p1), tree *ARG_UNUSED (captures))
    1170                 :             : {
    1171                 :          16 :   const bool debug_dump = dump_file && (dump_flags & TDF_FOLDING);
    1172                 :          16 :   if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail300;
    1173                 :          16 :   {
    1174                 :          16 :     tree res_op0;
    1175                 :          16 :     res_op0 = captures[0];
    1176                 :          16 :     tree res_op1;
    1177                 :          16 :     res_op1 = captures[1];
    1178                 :          16 :     tree _r;
    1179                 :          16 :     _r = fold_build2_loc (loc, BIT_IOR_EXPR, type, res_op0, res_op1);
    1180                 :          16 :     if (UNLIKELY (debug_dump)) generic_dump_logs ("match.pd", 183, __FILE__, __LINE__, true);
    1181                 :             :     return _r;
    1182                 :             :   }
    1183                 :           0 : next_after_fail300:;
    1184                 :           0 :   return NULL_TREE;
    1185                 :             : }
    1186                 :             : 
    1187                 :             : tree
    1188                 :          16 : generic_simplify_72 (location_t ARG_UNUSED (loc), const tree ARG_UNUSED (type),
    1189                 :             :  tree ARG_UNUSED (_p0), tree ARG_UNUSED (_p1), tree *ARG_UNUSED (captures))
    1190                 :             : {
    1191                 :          16 :   const bool debug_dump = dump_file && (dump_flags & TDF_FOLDING);
    1192                 :          32 :   if (INTEGRAL_TYPE_P (TREE_TYPE (captures[0]))
    1193                 :          32 :  && TYPE_PRECISION (TREE_TYPE (captures[0])) == 1
    1194                 :             : )
    1195                 :             :     {
    1196                 :           0 :       if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail305;
    1197                 :           0 :       {
    1198                 :           0 :         tree res_op0;
    1199                 :           0 :         res_op0 = captures[0];
    1200                 :           0 :         tree res_op1;
    1201                 :           0 :         {
    1202                 :           0 :           tree _o1[2], _r1;
    1203                 :           0 :           _o1[0] = captures[1];
    1204                 :           0 :           _o1[1] =  build_one_cst (type);
    1205                 :           0 :           _r1 = fold_build2_loc (loc, BIT_XOR_EXPR, TREE_TYPE (_o1[0]), _o1[0], _o1[1]);
    1206                 :           0 :           res_op1 = _r1;
    1207                 :             :         }
    1208                 :           0 :         tree _r;
    1209                 :           0 :         _r = fold_build2_loc (loc, BIT_IOR_EXPR, type, res_op0, res_op1);
    1210                 :           0 :         if (UNLIKELY (debug_dump)) generic_dump_logs ("match.pd", 187, __FILE__, __LINE__, true);
    1211                 :           0 :         return _r;
    1212                 :             :       }
    1213                 :           0 : next_after_fail305:;
    1214                 :             :     }
    1215                 :             :   return NULL_TREE;
    1216                 :             : }
    1217                 :             : 
    1218                 :             : tree
    1219                 :           0 : generic_simplify_80 (location_t ARG_UNUSED (loc), const tree ARG_UNUSED (type),
    1220                 :             :  tree ARG_UNUSED (_p0), tree ARG_UNUSED (_p1), tree *ARG_UNUSED (captures))
    1221                 :             : {
    1222                 :           0 :   const bool debug_dump = dump_file && (dump_flags & TDF_FOLDING);
    1223                 :           0 :   if (TREE_SIDE_EFFECTS (_p1)) goto next_after_fail317;
    1224                 :           0 :   if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail317;
    1225                 :           0 :   {
    1226                 :           0 :     tree _r;
    1227                 :           0 :     _r = captures[2];
    1228                 :           0 :     if (UNLIKELY (debug_dump)) generic_dump_logs ("match.pd", 194, __FILE__, __LINE__, true);
    1229                 :             :     return _r;
    1230                 :             :   }
    1231                 :             : next_after_fail317:;
    1232                 :             :   return NULL_TREE;
    1233                 :             : }
    1234                 :             : 
    1235                 :             : tree
    1236                 :           1 : generic_simplify_89 (location_t ARG_UNUSED (loc), const tree ARG_UNUSED (type),
    1237                 :             :  tree ARG_UNUSED (_p0), tree ARG_UNUSED (_p1), tree *ARG_UNUSED (captures))
    1238                 :             : {
    1239                 :           1 :   const bool debug_dump = dump_file && (dump_flags & TDF_FOLDING);
    1240                 :           1 :   if (TREE_SIDE_EFFECTS (_p1)) goto next_after_fail326;
    1241                 :           1 :   if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail326;
    1242                 :           1 :   {
    1243                 :           1 :     tree _r;
    1244                 :           1 :     _r = captures[0];
    1245                 :           1 :     if (UNLIKELY (debug_dump)) generic_dump_logs ("match.pd", 200, __FILE__, __LINE__, true);
    1246                 :             :     return _r;
    1247                 :             :   }
    1248                 :             : next_after_fail326:;
    1249                 :             :   return NULL_TREE;
    1250                 :             : }
    1251                 :             : 
    1252                 :             : tree
    1253                 :       17627 : generic_simplify_96 (location_t ARG_UNUSED (loc), const tree ARG_UNUSED (type),
    1254                 :             :  tree ARG_UNUSED (_p0), tree ARG_UNUSED (_p1), tree *ARG_UNUSED (captures))
    1255                 :             : {
    1256                 :       17627 :   const bool debug_dump = dump_file && (dump_flags & TDF_FOLDING);
    1257                 :       17627 :   {
    1258                 :       17627 :  bool wascmp;
    1259                 :       17627 :       if ((bitwise_inverted_equal_p (captures[0], captures[2], wascmp)
    1260                 :       17627 :  || bitwise_inverted_equal_p (captures[1], captures[2], wascmp))
    1261                 :       17627 :  && (!wascmp || element_precision (type) == 1)
    1262                 :             : )
    1263                 :             :         {
    1264                 :           0 :           if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail333;
    1265                 :           0 :           {
    1266                 :           0 :             tree _r;
    1267                 :           0 :             _r =  build_all_ones_cst (TREE_TYPE (captures[0]));
    1268                 :           0 :             if (TREE_SIDE_EFFECTS (captures[0]))
    1269                 :           0 :               _r = build2_loc (loc, COMPOUND_EXPR, type, fold_ignored_result (captures[0]), _r);
    1270                 :           0 :             if (TREE_SIDE_EFFECTS (captures[1]))
    1271                 :           0 :               _r = build2_loc (loc, COMPOUND_EXPR, type, fold_ignored_result (captures[1]), _r);
    1272                 :           0 :             if (TREE_SIDE_EFFECTS (captures[2]))
    1273                 :           0 :               _r = build2_loc (loc, COMPOUND_EXPR, type, fold_ignored_result (captures[2]), _r);
    1274                 :           0 :             if (UNLIKELY (debug_dump)) generic_dump_logs ("match.pd", 205, __FILE__, __LINE__, true);
    1275                 :           0 :             return _r;
    1276                 :             :           }
    1277                 :           0 : next_after_fail333:;
    1278                 :             :         }
    1279                 :             :   }
    1280                 :       17627 :   return NULL_TREE;
    1281                 :             : }
    1282                 :             : 
    1283                 :             : tree
    1284                 :      362849 : generic_simplify_104 (location_t ARG_UNUSED (loc), const tree ARG_UNUSED (type),
    1285                 :             :  tree ARG_UNUSED (_p0), tree ARG_UNUSED (_p1), tree *ARG_UNUSED (captures),
    1286                 :             :  const enum tree_code ARG_UNUSED (bitop),
    1287                 :             :  const enum tree_code ARG_UNUSED (rbitop))
    1288                 :             : {
    1289                 :      362849 :   const bool debug_dump = dump_file && (dump_flags & TDF_FOLDING);
    1290                 :      362849 :   {
    1291                 :      362849 :  bool wascmp;
    1292                 :      362849 :       if (bitwise_inverted_equal_p (captures[2], captures[0], wascmp)
    1293                 :      362849 :  && (!wascmp || element_precision (type) == 1)
    1294                 :             : )
    1295                 :             :         {
    1296                 :          12 :           if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail345;
    1297                 :          12 :           {
    1298                 :          12 :             tree res_op0;
    1299                 :          12 :             res_op0 = captures[2];
    1300                 :          12 :             tree res_op1;
    1301                 :          12 :             res_op1 = captures[1];
    1302                 :          12 :             tree _r;
    1303                 :          12 :             _r = fold_build2_loc (loc, bitop, type, res_op0, res_op1);
    1304                 :          12 :             if (TREE_SIDE_EFFECTS (captures[0]))
    1305                 :           0 :               _r = build2_loc (loc, COMPOUND_EXPR, type, fold_ignored_result (captures[0]), _r);
    1306                 :          12 :             if (UNLIKELY (debug_dump)) generic_dump_logs ("match.pd", 210, __FILE__, __LINE__, true);
    1307                 :          12 :             return _r;
    1308                 :             :           }
    1309                 :           0 : next_after_fail345:;
    1310                 :             :         }
    1311                 :             :   }
    1312                 :      362837 :   return NULL_TREE;
    1313                 :             : }
    1314                 :             : 
    1315                 :             : tree
    1316                 :         700 : generic_simplify_108 (location_t ARG_UNUSED (loc), const tree ARG_UNUSED (type),
    1317                 :             :  tree ARG_UNUSED (_p0), tree ARG_UNUSED (_p1), tree *ARG_UNUSED (captures),
    1318                 :             :  const enum tree_code ARG_UNUSED (op))
    1319                 :             : {
    1320                 :         700 :   const bool debug_dump = dump_file && (dump_flags & TDF_FOLDING);
    1321                 :         700 :   if (bitwise_equal_p (captures[4], captures[7])
    1322                 :             : )
    1323                 :             :     {
    1324                 :          40 :       if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail349;
    1325                 :          40 :       {
    1326                 :          40 :         tree res_op0;
    1327                 :          40 :         {
    1328                 :          40 :           tree _o1[2], _r1;
    1329                 :          40 :           {
    1330                 :          40 :             tree _o2[2], _r2;
    1331                 :          40 :             _o2[0] = captures[5];
    1332                 :          40 :             {
    1333                 :          40 :               tree _o3[1], _r3;
    1334                 :          40 :               _o3[0] = captures[6];
    1335                 :          40 :               if (TREE_TYPE (_o3[0]) != TREE_TYPE (_o2[0]))
    1336                 :             :                 {
    1337                 :           0 :                   _r3 = fold_build1_loc (loc, NOP_EXPR, TREE_TYPE (_o2[0]), _o3[0]);
    1338                 :             :                 }
    1339                 :             :               else
    1340                 :             :                 _r3 = _o3[0];
    1341                 :          40 :               _o2[1] = _r3;
    1342                 :             :             }
    1343                 :          40 :             _r2 = fold_build2_loc (loc, BIT_AND_EXPR, TREE_TYPE (_o2[0]), _o2[0], _o2[1]);
    1344                 :          40 :             _o1[0] = _r2;
    1345                 :             :           }
    1346                 :          40 :           {
    1347                 :          40 :             tree _o2[1], _r2;
    1348                 :          40 :             _o2[0] = captures[4];
    1349                 :          40 :             if (TREE_TYPE (_o2[0]) != TREE_TYPE (_o1[0]))
    1350                 :             :               {
    1351                 :           0 :                 _r2 = fold_build1_loc (loc, NOP_EXPR, TREE_TYPE (_o1[0]), _o2[0]);
    1352                 :             :               }
    1353                 :             :             else
    1354                 :             :               _r2 = _o2[0];
    1355                 :          40 :             _o1[1] = _r2;
    1356                 :             :           }
    1357                 :          40 :           _r1 = fold_build2_loc (loc, BIT_IOR_EXPR, TREE_TYPE (_o1[0]), _o1[0], _o1[1]);
    1358                 :          40 :           res_op0 = _r1;
    1359                 :             :         }
    1360                 :          40 :         tree _r;
    1361                 :          40 :         _r = fold_build1_loc (loc, NOP_EXPR, type, res_op0);
    1362                 :          40 :         if (TREE_SIDE_EFFECTS (captures[7]))
    1363                 :           0 :           _r = build2_loc (loc, COMPOUND_EXPR, type, fold_ignored_result (captures[7]), _r);
    1364                 :          40 :         if (UNLIKELY (debug_dump)) generic_dump_logs ("match.pd", 213, __FILE__, __LINE__, true);
    1365                 :          40 :         return _r;
    1366                 :             :       }
    1367                 :           0 : next_after_fail349:;
    1368                 :             :     }
    1369                 :             :   return NULL_TREE;
    1370                 :             : }
    1371                 :             : 
    1372                 :             : tree
    1373                 :           0 : generic_simplify_120 (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 (integer_zerop (captures[5])
    1380                 :           0 :  && invert_tree_comparison (cmp, HONOR_NANS (captures[2])) == icmp
    1381                 :             : )
    1382                 :             :     {
    1383                 :           0 :       if (integer_onep (captures[4])
    1384                 :             : )
    1385                 :             :         {
    1386                 :           0 :           if (TREE_SIDE_EFFECTS (_p0)) goto next_after_fail364;
    1387                 :           0 :           if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail364;
    1388                 :           0 :           {
    1389                 :           0 :             tree res_op0;
    1390                 :           0 :             {
    1391                 :           0 :               tree _o1[3], _r1;
    1392                 :           0 :               _o1[0] = captures[1];
    1393                 :           0 :               _o1[1] = captures[6];
    1394                 :           0 :               _o1[2] = captures[9];
    1395                 :           0 :               _r1 = fold_build3_loc (loc, VEC_COND_EXPR, TREE_TYPE (_o1[1]), _o1[0], _o1[1], _o1[2]);
    1396                 :           0 :               res_op0 = _r1;
    1397                 :             :             }
    1398                 :           0 :             tree res_op1;
    1399                 :           0 :             res_op1 = captures[4];
    1400                 :           0 :             tree _r;
    1401                 :           0 :             _r = fold_build2_loc (loc, BIT_AND_EXPR, type, res_op0, res_op1);
    1402                 :           0 :             if (UNLIKELY (debug_dump)) generic_dump_logs ("match.pd", 224, __FILE__, __LINE__, true);
    1403                 :           0 :             return _r;
    1404                 :             :           }
    1405                 :             : next_after_fail364:;
    1406                 :             :         }
    1407                 :             :       else
    1408                 :             :         {
    1409                 :           0 :           if (integer_minus_onep (captures[4])
    1410                 :             : )
    1411                 :             :             {
    1412                 :           0 :               if (TREE_SIDE_EFFECTS (_p0)) goto next_after_fail365;
    1413                 :           0 :               if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail365;
    1414                 :           0 :               {
    1415                 :           0 :                 tree res_op0;
    1416                 :           0 :                 res_op0 = captures[1];
    1417                 :           0 :                 tree res_op1;
    1418                 :           0 :                 res_op1 = captures[6];
    1419                 :           0 :                 tree res_op2;
    1420                 :           0 :                 res_op2 = captures[9];
    1421                 :           0 :                 tree _r;
    1422                 :           0 :                 _r = fold_build3_loc (loc, VEC_COND_EXPR, type, res_op0, res_op1, res_op2);
    1423                 :           0 :                 if (UNLIKELY (debug_dump)) generic_dump_logs ("match.pd", 225, __FILE__, __LINE__, true);
    1424                 :           0 :                 return _r;
    1425                 :             :               }
    1426                 :             : next_after_fail365:;
    1427                 :             :             }
    1428                 :             :         }
    1429                 :             :     }
    1430                 :             :   else
    1431                 :             :     {
    1432                 :           0 :       if (integer_zerop (captures[4])
    1433                 :           0 :  && invert_tree_comparison (cmp, HONOR_NANS (captures[2])) == icmp
    1434                 :             : )
    1435                 :             :         {
    1436                 :           0 :           if (integer_onep (captures[5])
    1437                 :             : )
    1438                 :             :             {
    1439                 :           0 :               if (TREE_SIDE_EFFECTS (_p0)) goto next_after_fail366;
    1440                 :           0 :               if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail366;
    1441                 :           0 :               {
    1442                 :           0 :                 tree res_op0;
    1443                 :           0 :                 {
    1444                 :           0 :                   tree _o1[3], _r1;
    1445                 :           0 :                   _o1[0] = captures[1];
    1446                 :           0 :                   _o1[1] = captures[9];
    1447                 :           0 :                   _o1[2] = captures[6];
    1448                 :           0 :                   _r1 = fold_build3_loc (loc, VEC_COND_EXPR, TREE_TYPE (_o1[1]), _o1[0], _o1[1], _o1[2]);
    1449                 :           0 :                   res_op0 = _r1;
    1450                 :             :                 }
    1451                 :           0 :                 tree res_op1;
    1452                 :           0 :                 res_op1 = captures[5];
    1453                 :           0 :                 tree _r;
    1454                 :           0 :                 _r = fold_build2_loc (loc, BIT_AND_EXPR, type, res_op0, res_op1);
    1455                 :           0 :                 if (UNLIKELY (debug_dump)) generic_dump_logs ("match.pd", 226, __FILE__, __LINE__, true);
    1456                 :           0 :                 return _r;
    1457                 :             :               }
    1458                 :             : next_after_fail366:;
    1459                 :             :             }
    1460                 :             :           else
    1461                 :             :             {
    1462                 :           0 :               if (integer_minus_onep (captures[5])
    1463                 :             : )
    1464                 :             :                 {
    1465                 :           0 :                   if (TREE_SIDE_EFFECTS (_p0)) goto next_after_fail367;
    1466                 :           0 :                   if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail367;
    1467                 :           0 :                   {
    1468                 :           0 :                     tree res_op0;
    1469                 :           0 :                     res_op0 = captures[1];
    1470                 :           0 :                     tree res_op1;
    1471                 :           0 :                     res_op1 = captures[9];
    1472                 :           0 :                     tree res_op2;
    1473                 :           0 :                     res_op2 = captures[6];
    1474                 :           0 :                     tree _r;
    1475                 :           0 :                     _r = fold_build3_loc (loc, VEC_COND_EXPR, type, res_op0, res_op1, res_op2);
    1476                 :           0 :                     if (UNLIKELY (debug_dump)) generic_dump_logs ("match.pd", 227, __FILE__, __LINE__, true);
    1477                 :           0 :                     return _r;
    1478                 :             :                   }
    1479                 :             : next_after_fail367:;
    1480                 :             :                 }
    1481                 :             :             }
    1482                 :             :         }
    1483                 :             :     }
    1484                 :             :   return NULL_TREE;
    1485                 :             : }
    1486                 :             : 
    1487                 :             : tree
    1488                 :           2 : generic_simplify_140 (location_t ARG_UNUSED (loc), const tree ARG_UNUSED (type),
    1489                 :             :  tree ARG_UNUSED (_p0), tree ARG_UNUSED (_p1), tree *ARG_UNUSED (captures))
    1490                 :             : {
    1491                 :           2 :   const bool debug_dump = dump_file && (dump_flags & TDF_FOLDING);
    1492                 :           4 :   if (INTEGRAL_TYPE_P (TREE_TYPE (captures[1]))
    1493                 :           4 :  && TYPE_OVERFLOW_WRAPS (TREE_TYPE (captures[1]))
    1494                 :             : )
    1495                 :             :     {
    1496                 :           2 :       if (TREE_SIDE_EFFECTS (_p0)) goto next_after_fail420;
    1497                 :           2 :       if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail420;
    1498                 :           2 :       {
    1499                 :           2 :         tree res_op0;
    1500                 :           2 :         res_op0 = captures[3];
    1501                 :           2 :         tree res_op1;
    1502                 :           2 :         {
    1503                 :           2 :           tree _o1[2], _r1;
    1504                 :           2 :           _o1[0] = captures[1];
    1505                 :           2 :           _o1[1] =  build_int_cst (TREE_TYPE (captures[1]), 1);
    1506                 :           2 :           _r1 = fold_build2_loc (loc, MINUS_EXPR, TREE_TYPE (_o1[0]), _o1[0], _o1[1]);
    1507                 :           2 :           res_op1 = _r1;
    1508                 :             :         }
    1509                 :           2 :         tree _r;
    1510                 :           2 :         _r = fold_build2_loc (loc, LE_EXPR, type, res_op0, res_op1);
    1511                 :           2 :         if (UNLIKELY (debug_dump)) generic_dump_logs ("match.pd", 233, __FILE__, __LINE__, true);
    1512                 :           2 :         return _r;
    1513                 :             :       }
    1514                 :             : next_after_fail420:;
    1515                 :             :     }
    1516                 :             :   return NULL_TREE;
    1517                 :             : }
    1518                 :             : 
    1519                 :             : tree
    1520                 :           7 : generic_simplify_144 (location_t ARG_UNUSED (loc), const tree ARG_UNUSED (type),
    1521                 :             :  tree ARG_UNUSED (_p0), tree ARG_UNUSED (_p1), tree *ARG_UNUSED (captures),
    1522                 :             :  const enum tree_code ARG_UNUSED (op))
    1523                 :             : {
    1524                 :           7 :   const bool debug_dump = dump_file && (dump_flags & TDF_FOLDING);
    1525                 :          14 :   if (INTEGRAL_TYPE_P (type)
    1526                 :           7 :  && tree_int_cst_sgn (captures[2]) > 0
    1527                 :           7 :  && tree_int_cst_sgn (captures[4]) > 0
    1528                 :          28 :  && (tree_nonzero_bits (captures[0]) & tree_nonzero_bits (captures[3])) == 0
    1529                 :             : )
    1530                 :             :     {
    1531                 :           4 :       {
    1532                 :           4 :  tree t = type;
    1533                 :           4 :  if (!TYPE_OVERFLOW_WRAPS (t))
    1534                 :           4 :  t = unsigned_type_for (t);
    1535                 :           4 :  wide_int wone = wi::one (TYPE_PRECISION (t));
    1536                 :           8 :  wide_int c = wi::add (wi::lshift (wone, wi::to_wide (captures[2])),
    1537                 :           8 :  wi::lshift (wone, wi::to_wide (captures[4])));
    1538                 :           4 :           if (TREE_SIDE_EFFECTS (captures[2])) goto next_after_fail424;
    1539                 :           4 :           if (TREE_SIDE_EFFECTS (captures[4])) goto next_after_fail424;
    1540                 :           4 :           if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail424;
    1541                 :           4 :           {
    1542                 :           4 :             tree res_op0;
    1543                 :           4 :             {
    1544                 :           4 :               tree _o1[2], _r1;
    1545                 :           4 :               {
    1546                 :           4 :                 tree _o2[1], _r2;
    1547                 :           4 :                 _o2[0] = captures[1];
    1548                 :           4 :                 if (TREE_TYPE (_o2[0]) != t)
    1549                 :             :                   {
    1550                 :           4 :                     _r2 = fold_build1_loc (loc, NOP_EXPR, t, _o2[0]);
    1551                 :             :                   }
    1552                 :             :                 else
    1553                 :             :                   _r2 = _o2[0];
    1554                 :           4 :                 _o1[0] = _r2;
    1555                 :             :               }
    1556                 :           4 :               _o1[1] =  wide_int_to_tree (t,c);
    1557                 :           4 :               _r1 = fold_build2_loc (loc, MULT_EXPR, t, _o1[0], _o1[1]);
    1558                 :           4 :               res_op0 = _r1;
    1559                 :             :             }
    1560                 :           4 :             tree _r;
    1561                 :           4 :             _r = fold_build1_loc (loc, NOP_EXPR, type, res_op0);
    1562                 :           4 :             if (UNLIKELY (debug_dump)) generic_dump_logs ("match.pd", 254, __FILE__, __LINE__, true);
    1563                 :           4 :             return _r;
    1564                 :             :           }
    1565                 :           0 : next_after_fail424:;
    1566                 :           4 :       }
    1567                 :             :     }
    1568                 :             :   return NULL_TREE;
    1569                 :             : }
    1570                 :             : 
    1571                 :             : tree
    1572                 :          46 : generic_simplify_148 (location_t ARG_UNUSED (loc), const tree ARG_UNUSED (type),
    1573                 :             :  tree ARG_UNUSED (_p0), tree ARG_UNUSED (_p1), tree *ARG_UNUSED (captures),
    1574                 :             :  const enum tree_code ARG_UNUSED (logic),
    1575                 :             :  const enum tree_code ARG_UNUSED (op),
    1576                 :             :  const enum tree_code ARG_UNUSED (ext))
    1577                 :             : {
    1578                 :          46 :   const bool debug_dump = dump_file && (dump_flags & TDF_FOLDING);
    1579                 :          92 :   if (INTEGRAL_TYPE_P (TREE_TYPE (captures[1]))
    1580                 :          92 :  && TREE_CODE (captures[1]) != INTEGER_CST
    1581                 :             : )
    1582                 :             :     {
    1583                 :           0 :       if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail428;
    1584                 :           0 :       {
    1585                 :           0 :         tree res_op0;
    1586                 :           0 :         res_op0 = captures[1];
    1587                 :           0 :         tree res_op1;
    1588                 :           0 :         {
    1589                 :           0 :           tree _o1[2], _r1;
    1590                 :           0 :           _o1[0] = captures[2];
    1591                 :           0 :           _o1[1] = captures[4];
    1592                 :           0 :           _r1 = fold_build2_loc (loc, ext, TREE_TYPE (_o1[0]), _o1[0], _o1[1]);
    1593                 :           0 :           res_op1 = _r1;
    1594                 :             :         }
    1595                 :           0 :         tree _r;
    1596                 :           0 :         _r = fold_build2_loc (loc, op, type, res_op0, res_op1);
    1597                 :           0 :         if (UNLIKELY (debug_dump)) generic_dump_logs ("match.pd", 257, __FILE__, __LINE__, true);
    1598                 :           0 :         return _r;
    1599                 :             :       }
    1600                 :           0 : next_after_fail428:;
    1601                 :             :     }
    1602                 :             :   return NULL_TREE;
    1603                 :             : }
    1604                 :             : 
    1605                 :             : tree
    1606                 :         608 : generic_simplify_156 (location_t ARG_UNUSED (loc), const tree ARG_UNUSED (type),
    1607                 :             :  tree ARG_UNUSED (_p0), tree ARG_UNUSED (_p1), tree *ARG_UNUSED (captures))
    1608                 :             : {
    1609                 :         608 :   const bool debug_dump = dump_file && (dump_flags & TDF_FOLDING);
    1610                 :         608 :   if (bitwise_equal_p (captures[0], captures[2])
    1611                 :             : )
    1612                 :             :     {
    1613                 :          88 :       if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail436;
    1614                 :          88 :       {
    1615                 :          88 :         tree res_op0;
    1616                 :          88 :         {
    1617                 :          88 :           tree _o1[1], _r1;
    1618                 :          88 :           {
    1619                 :          88 :             tree _o2[2], _r2;
    1620                 :          88 :             _o2[0] = captures[0];
    1621                 :          88 :             {
    1622                 :          88 :               tree _o3[1], _r3;
    1623                 :          88 :               _o3[0] = captures[1];
    1624                 :          88 :               if (TREE_TYPE (_o3[0]) != TREE_TYPE (_o2[0]))
    1625                 :             :                 {
    1626                 :           8 :                   _r3 = fold_build1_loc (loc, NOP_EXPR, TREE_TYPE (_o2[0]), _o3[0]);
    1627                 :             :                 }
    1628                 :             :               else
    1629                 :             :                 _r3 = _o3[0];
    1630                 :          88 :               _o2[1] = _r3;
    1631                 :             :             }
    1632                 :          88 :             _r2 = fold_build2_loc (loc, BIT_AND_EXPR, TREE_TYPE (_o2[0]), _o2[0], _o2[1]);
    1633                 :          88 :             _o1[0] = _r2;
    1634                 :             :           }
    1635                 :          88 :           _r1 = fold_build1_loc (loc, BIT_NOT_EXPR, TREE_TYPE (_o1[0]), _o1[0]);
    1636                 :          88 :           res_op0 = _r1;
    1637                 :             :         }
    1638                 :          88 :         tree _r;
    1639                 :          88 :         _r = fold_build1_loc (loc, NOP_EXPR, type, res_op0);
    1640                 :          88 :         if (TREE_SIDE_EFFECTS (captures[2]))
    1641                 :           0 :           _r = build2_loc (loc, COMPOUND_EXPR, type, fold_ignored_result (captures[2]), _r);
    1642                 :          88 :         if (UNLIKELY (debug_dump)) generic_dump_logs ("match.pd", 265, __FILE__, __LINE__, true);
    1643                 :          88 :         return _r;
    1644                 :             :       }
    1645                 :           0 : next_after_fail436:;
    1646                 :             :     }
    1647                 :             :   return NULL_TREE;
    1648                 :             : }
    1649                 :             : 
    1650                 :             : tree
    1651                 :          24 : generic_simplify_166 (location_t ARG_UNUSED (loc), const tree ARG_UNUSED (type),
    1652                 :             :  tree ARG_UNUSED (_p0), tree ARG_UNUSED (_p1), tree *ARG_UNUSED (captures))
    1653                 :             : {
    1654                 :          24 :   const bool debug_dump = dump_file && (dump_flags & TDF_FOLDING);
    1655                 :          24 :   if (tree_nop_conversion_p (type, TREE_TYPE (captures[2]))
    1656                 :             : )
    1657                 :             :     {
    1658                 :          24 :       if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail446;
    1659                 :          24 :       {
    1660                 :          24 :         tree res_op0;
    1661                 :          24 :         {
    1662                 :          24 :           tree _o1[2], _r1;
    1663                 :          24 :           {
    1664                 :          24 :             tree _o2[1], _r2;
    1665                 :          24 :             _o2[0] = captures[2];
    1666                 :          24 :             if (TREE_TYPE (_o2[0]) != type)
    1667                 :             :               {
    1668                 :          24 :                 _r2 = fold_build1_loc (loc, VIEW_CONVERT_EXPR, type, _o2[0]);
    1669                 :             :               }
    1670                 :             :             else
    1671                 :             :               _r2 = _o2[0];
    1672                 :          24 :             _o1[0] = _r2;
    1673                 :             :           }
    1674                 :          24 :           _o1[1] = captures[3];
    1675                 :          24 :           _r1 = fold_build2_loc (loc, BIT_XOR_EXPR, TREE_TYPE (_o1[0]), _o1[0], _o1[1]);
    1676                 :          24 :           res_op0 = _r1;
    1677                 :             :         }
    1678                 :          24 :         tree _r;
    1679                 :          24 :         _r = fold_build1_loc (loc, BIT_NOT_EXPR, type, res_op0);
    1680                 :          24 :         if (UNLIKELY (debug_dump)) generic_dump_logs ("match.pd", 272, __FILE__, __LINE__, true);
    1681                 :          24 :         return _r;
    1682                 :             :       }
    1683                 :           0 : next_after_fail446:;
    1684                 :             :     }
    1685                 :             :   return NULL_TREE;
    1686                 :             : }
    1687                 :             : 
    1688                 :             : tree
    1689                 :           0 : generic_simplify_174 (location_t ARG_UNUSED (loc), const tree ARG_UNUSED (type),
    1690                 :             :  tree ARG_UNUSED (_p0), tree ARG_UNUSED (_p1), tree *ARG_UNUSED (captures),
    1691                 :             :  const combined_fn ARG_UNUSED (COPYSIGN_ALL))
    1692                 :             : {
    1693                 :           0 :   const bool debug_dump = dump_file && (dump_flags & TDF_FOLDING);
    1694                 :           0 :   if (!tree_expr_maybe_nan_p (captures[0]) && !HONOR_SIGNED_ZEROS (type)
    1695                 :             : )
    1696                 :             :     {
    1697                 :           0 :       if (TREE_SIDE_EFFECTS (_p0)) goto next_after_fail456;
    1698                 :           0 :       if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail456;
    1699                 :           0 :       {
    1700                 :           0 :         tree res_op0;
    1701                 :           0 :         {
    1702                 :           0 :           tree _o1[1], _r1;
    1703                 :           0 :           _o1[0] = captures[0];
    1704                 :           0 :           _r1 = fold_build1_loc (loc, ABS_EXPR, TREE_TYPE (_o1[0]), _o1[0]);
    1705                 :           0 :           res_op0 = _r1;
    1706                 :             :         }
    1707                 :           0 :         tree _r;
    1708                 :           0 :         _r = fold_build1_loc (loc, NEGATE_EXPR, type, res_op0);
    1709                 :           0 :         if (UNLIKELY (debug_dump)) generic_dump_logs ("match.pd", 283, __FILE__, __LINE__, true);
    1710                 :           0 :         return _r;
    1711                 :             :       }
    1712                 :             : next_after_fail456:;
    1713                 :             :     }
    1714                 :             :   return NULL_TREE;
    1715                 :             : }
    1716                 :             : 
    1717                 :             : tree
    1718                 :       95961 : generic_simplify_183 (location_t ARG_UNUSED (loc), const tree ARG_UNUSED (type),
    1719                 :             :  tree ARG_UNUSED (_p0), tree ARG_UNUSED (_p1), tree *ARG_UNUSED (captures))
    1720                 :             : {
    1721                 :       95961 :   const bool debug_dump = dump_file && (dump_flags & TDF_FOLDING);
    1722                 :       95961 :   if (tree_nop_conversion_p (type, TREE_TYPE (captures[0]))
    1723                 :       95961 :  && tree_nop_conversion_p (type, TREE_TYPE (captures[1]))
    1724                 :             : )
    1725                 :             :     {
    1726                 :       29831 :       if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail467;
    1727                 :       29831 :       {
    1728                 :       29831 :         tree res_op0;
    1729                 :       29831 :         {
    1730                 :       29831 :           tree _o1[1], _r1;
    1731                 :       29831 :           _o1[0] = captures[0];
    1732                 :       29831 :           if (TREE_TYPE (_o1[0]) != type)
    1733                 :             :             {
    1734                 :        8787 :               _r1 = fold_build1_loc (loc, NOP_EXPR, type, _o1[0]);
    1735                 :             :             }
    1736                 :             :           else
    1737                 :             :             _r1 = _o1[0];
    1738                 :       29831 :           res_op0 = _r1;
    1739                 :             :         }
    1740                 :       29831 :         tree res_op1;
    1741                 :       29831 :         {
    1742                 :       29831 :           tree _o1[1], _r1;
    1743                 :       29831 :           {
    1744                 :       29831 :             tree _o2[1], _r2;
    1745                 :       29831 :             _o2[0] = captures[1];
    1746                 :       29831 :             _r2 = fold_build1_loc (loc, NEGATE_EXPR, TREE_TYPE (_o2[0]), _o2[0]);
    1747                 :       29831 :             _o1[0] = _r2;
    1748                 :             :           }
    1749                 :       29831 :           if (TREE_TYPE (_o1[0]) != type)
    1750                 :             :             {
    1751                 :           7 :               _r1 = fold_build1_loc (loc, NOP_EXPR, type, _o1[0]);
    1752                 :             :             }
    1753                 :             :           else
    1754                 :             :             _r1 = _o1[0];
    1755                 :       29831 :           res_op1 = _r1;
    1756                 :             :         }
    1757                 :       29831 :         tree _r;
    1758                 :       29831 :         _r = fold_build2_loc (loc, MULT_EXPR, type, res_op0, res_op1);
    1759                 :       29831 :         if (UNLIKELY (debug_dump)) generic_dump_logs ("match.pd", 290, __FILE__, __LINE__, true);
    1760                 :       29831 :         return _r;
    1761                 :             :       }
    1762                 :           0 : next_after_fail467:;
    1763                 :             :     }
    1764                 :             :   return NULL_TREE;
    1765                 :             : }
    1766                 :             : 
    1767                 :             : tree
    1768                 :           9 : generic_simplify_194 (location_t ARG_UNUSED (loc), const tree ARG_UNUSED (type),
    1769                 :             :  tree ARG_UNUSED (_p0), tree ARG_UNUSED (_p1), tree *ARG_UNUSED (captures),
    1770                 :             :  const combined_fn ARG_UNUSED (LDEXP))
    1771                 :             : {
    1772                 :           9 :   const bool debug_dump = dump_file && (dump_flags & TDF_FOLDING);
    1773                 :           9 :   if (flag_unsafe_math_optimizations
    1774                 :             : )
    1775                 :             :     {
    1776                 :           9 :       if (real_equal (TREE_REAL_CST_PTR (captures[1]), &dconst1)
    1777                 :             : )
    1778                 :             :         {
    1779                 :           9 :           if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail479;
    1780                 :           9 :           {
    1781                 :           9 :             tree res_op0;
    1782                 :           9 :             res_op0 = captures[0];
    1783                 :           9 :             tree res_op1;
    1784                 :           9 :             res_op1 = captures[2];
    1785                 :           9 :             tree _r;
    1786                 :           9 :             _r = maybe_build_call_expr_loc (loc, LDEXP, type, 2, res_op0, res_op1);
    1787                 :           9 :             if (!_r)
    1788                 :           0 :               goto next_after_fail479;
    1789                 :           9 :             if (TREE_SIDE_EFFECTS (captures[1]))
    1790                 :           0 :               _r = build2_loc (loc, COMPOUND_EXPR, type, fold_ignored_result (captures[1]), _r);
    1791                 :           9 :             if (UNLIKELY (debug_dump)) generic_dump_logs ("match.pd", 301, __FILE__, __LINE__, true);
    1792                 :           9 :             return _r;
    1793                 :             :           }
    1794                 :             : next_after_fail479:;
    1795                 :             :         }
    1796                 :             :     }
    1797                 :             :   return NULL_TREE;
    1798                 :             : }
    1799                 :             : 
    1800                 :             : tree
    1801                 :        2574 : generic_simplify_202 (location_t ARG_UNUSED (loc), const tree ARG_UNUSED (type),
    1802                 :             :  tree ARG_UNUSED (_p0), tree ARG_UNUSED (_p1), tree *ARG_UNUSED (captures),
    1803                 :             :  const enum tree_code ARG_UNUSED (cmp))
    1804                 :             : {
    1805                 :        2574 :   const bool debug_dump = dump_file && (dump_flags & TDF_FOLDING);
    1806                 :        5148 :   if (INTEGRAL_TYPE_P (TREE_TYPE (captures[1]))
    1807                 :        3362 :  && TYPE_OVERFLOW_UNDEFINED (TREE_TYPE (captures[0]))
    1808                 :        4278 :  && tree_expr_nonzero_p (captures[1])
    1809                 :             : )
    1810                 :             :     {
    1811                 :          12 :       if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail487;
    1812                 :          12 :       {
    1813                 :          12 :         tree res_op0;
    1814                 :          12 :         res_op0 = captures[0];
    1815                 :          12 :         tree res_op1;
    1816                 :          12 :         res_op1 = captures[2];
    1817                 :          12 :         tree _r;
    1818                 :          12 :         _r = fold_build2_loc (loc, cmp, type, res_op0, res_op1);
    1819                 :          12 :         if (TREE_SIDE_EFFECTS (captures[1]))
    1820                 :           0 :           _r = build2_loc (loc, COMPOUND_EXPR, type, fold_ignored_result (captures[1]), _r);
    1821                 :          12 :         if (UNLIKELY (debug_dump)) generic_dump_logs ("match.pd", 309, __FILE__, __LINE__, true);
    1822                 :          12 :         return _r;
    1823                 :             :       }
    1824                 :           0 : next_after_fail487:;
    1825                 :             :     }
    1826                 :             :   return NULL_TREE;
    1827                 :             : }
    1828                 :             : 
    1829                 :             : tree
    1830                 :       11302 : generic_simplify_209 (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 (op))
    1833                 :             : {
    1834                 :       11302 :   const bool debug_dump = dump_file && (dump_flags & TDF_FOLDING);
    1835                 :       11302 :   if (tree_nop_conversion_p (TREE_TYPE (captures[1]), TREE_TYPE (captures[2]))
    1836                 :       11302 :  && tree_nop_conversion_p (TREE_TYPE (captures[0]), TREE_TYPE (captures[2]))
    1837                 :       11302 :  && (CONSTANT_CLASS_P (captures[3]) || (single_use (captures[1]) && single_use (captures[0])))
    1838                 :             : )
    1839                 :             :     {
    1840                 :       11302 :       if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail510;
    1841                 :       11302 :       {
    1842                 :       11302 :         tree res_op0;
    1843                 :       11302 :         res_op0 = captures[3];
    1844                 :       11302 :         tree res_op1;
    1845                 :       11302 :         res_op1 =  build_zero_cst (TREE_TYPE (captures[3]));
    1846                 :       11302 :         tree _r;
    1847                 :       11302 :         _r = fold_build2_loc (loc, op, type, res_op0, res_op1);
    1848                 :       11302 :         if (TREE_SIDE_EFFECTS (captures[2]))
    1849                 :           0 :           _r = build2_loc (loc, COMPOUND_EXPR, type, fold_ignored_result (captures[2]), _r);
    1850                 :       11302 :         if (UNLIKELY (debug_dump)) generic_dump_logs ("match.pd", 331, __FILE__, __LINE__, true);
    1851                 :       11302 :         return _r;
    1852                 :             :       }
    1853                 :           0 : next_after_fail510:;
    1854                 :             :     }
    1855                 :             :   return NULL_TREE;
    1856                 :             : }
    1857                 :             : 
    1858                 :             : tree
    1859                 :           0 : generic_simplify_215 (location_t ARG_UNUSED (loc), const tree ARG_UNUSED (type),
    1860                 :             :  tree ARG_UNUSED (_p0), tree ARG_UNUSED (_p1), tree *ARG_UNUSED (captures),
    1861                 :             :  const enum tree_code ARG_UNUSED (neeq))
    1862                 :             : {
    1863                 :           0 :   const bool debug_dump = dump_file && (dump_flags & TDF_FOLDING);
    1864                 :           0 :   {
    1865                 :           0 :  poly_int64 diff; tree inner_type = TREE_TYPE (captures[1]);
    1866                 :           0 :       if (ptr_difference_const (captures[0], captures[2], &diff)
    1867                 :             : )
    1868                 :             :         {
    1869                 :           0 :           if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail516;
    1870                 :           0 :           {
    1871                 :           0 :             tree res_op0;
    1872                 :           0 :             {
    1873                 :           0 :               tree _o1[2], _r1;
    1874                 :           0 :               _o1[0] =  build_int_cst_type (inner_type, diff);
    1875                 :           0 :               _o1[1] = captures[1];
    1876                 :           0 :               _r1 = fold_build2_loc (loc, PLUS_EXPR, TREE_TYPE (_o1[0]), _o1[0], _o1[1]);
    1877                 :           0 :               res_op0 = _r1;
    1878                 :             :             }
    1879                 :           0 :             tree res_op1;
    1880                 :           0 :             res_op1 = captures[3];
    1881                 :           0 :             tree _r;
    1882                 :           0 :             _r = fold_build2_loc (loc, neeq, type, res_op0, res_op1);
    1883                 :           0 :             if (TREE_SIDE_EFFECTS (captures[0]))
    1884                 :           0 :               _r = build2_loc (loc, COMPOUND_EXPR, type, fold_ignored_result (captures[0]), _r);
    1885                 :           0 :             if (TREE_SIDE_EFFECTS (captures[2]))
    1886                 :           0 :               _r = build2_loc (loc, COMPOUND_EXPR, type, fold_ignored_result (captures[2]), _r);
    1887                 :           0 :             if (UNLIKELY (debug_dump)) generic_dump_logs ("match.pd", 336, __FILE__, __LINE__, true);
    1888                 :           0 :             return _r;
    1889                 :             :           }
    1890                 :           0 : next_after_fail516:;
    1891                 :             :         }
    1892                 :             :   }
    1893                 :           0 :   return NULL_TREE;
    1894                 :             : }
    1895                 :             : 
    1896                 :             : tree
    1897                 :           6 : generic_simplify_224 (location_t ARG_UNUSED (loc), const tree ARG_UNUSED (type),
    1898                 :             :  tree ARG_UNUSED (_p0), tree ARG_UNUSED (_p1), tree *ARG_UNUSED (captures),
    1899                 :             :  const enum tree_code ARG_UNUSED (cmp),
    1900                 :             :  const enum tree_code ARG_UNUSED (icmp))
    1901                 :             : {
    1902                 :           6 :   const bool debug_dump = dump_file && (dump_flags & TDF_FOLDING);
    1903                 :           6 :   {
    1904                 :           6 :  int c1 = wi::clz (wi::to_wide (captures[0]));
    1905                 :           6 :  int c2 = wi::clz (wi::to_wide (captures[2]));
    1906                 :           6 :       if (c1 < c2
    1907                 :             : )
    1908                 :             :         {
    1909                 :           0 :           if (TREE_SIDE_EFFECTS (_p1)) goto next_after_fail527;
    1910                 :           0 :           if (TREE_SIDE_EFFECTS (captures[0])) goto next_after_fail527;
    1911                 :           0 :           if (TREE_SIDE_EFFECTS (captures[2])) goto next_after_fail527;
    1912                 :           0 :           if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail527;
    1913                 :           0 :           {
    1914                 :           0 :             tree _r;
    1915                 :           0 :             _r =  constant_boolean_node (cmp == NE_EXPR ? false : true, type);
    1916                 :           0 :             if (TREE_SIDE_EFFECTS (captures[1]))
    1917                 :           0 :               _r = build2_loc (loc, COMPOUND_EXPR, type, fold_ignored_result (captures[1]), _r);
    1918                 :           0 :             if (UNLIKELY (debug_dump)) generic_dump_logs ("match.pd", 347, __FILE__, __LINE__, true);
    1919                 :           0 :             return _r;
    1920                 :             :           }
    1921                 :             : next_after_fail527:;
    1922                 :             :         }
    1923                 :             :       else
    1924                 :             :         {
    1925                 :           6 :           if (TREE_SIDE_EFFECTS (_p1)) goto next_after_fail528;
    1926                 :           6 :           if (TREE_SIDE_EFFECTS (captures[0])) goto next_after_fail528;
    1927                 :           6 :           if (TREE_SIDE_EFFECTS (captures[2])) goto next_after_fail528;
    1928                 :           6 :           if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail528;
    1929                 :           6 :           {
    1930                 :           6 :             tree res_op0;
    1931                 :           6 :             res_op0 = captures[1];
    1932                 :           6 :             tree res_op1;
    1933                 :           6 :             res_op1 =  build_int_cst (TREE_TYPE (captures[1]), c1 - c2);
    1934                 :           6 :             tree _r;
    1935                 :           6 :             _r = fold_build2_loc (loc, icmp, type, res_op0, res_op1);
    1936                 :           6 :             if (UNLIKELY (debug_dump)) generic_dump_logs ("match.pd", 348, __FILE__, __LINE__, true);
    1937                 :           6 :             return _r;
    1938                 :             :           }
    1939                 :             : next_after_fail528:;
    1940                 :             :         }
    1941                 :             :   }
    1942                 :             :   return NULL_TREE;
    1943                 :             : }
    1944                 :             : 
    1945                 :             : tree
    1946                 :          47 : generic_simplify_233 (location_t ARG_UNUSED (loc), const tree ARG_UNUSED (type),
    1947                 :             :  tree ARG_UNUSED (_p0), tree ARG_UNUSED (_p1), tree *ARG_UNUSED (captures))
    1948                 :             : {
    1949                 :          47 :   const bool debug_dump = dump_file && (dump_flags & TDF_FOLDING);
    1950                 :          47 :   if (TREE_CODE (TREE_TYPE (captures[1])) != COMPLEX_TYPE
    1951                 :          47 :  && (!VECTOR_MODE_P (TYPE_MODE (TREE_TYPE (captures[1])))
    1952                 :           7 :  || !target_supports_op_p (TREE_TYPE (captures[1]), TRUNC_DIV_EXPR,
    1953                 :             :  optab_vector)
    1954                 :           0 :  || target_supports_op_p (TREE_TYPE (captures[1]), TRUNC_MOD_EXPR,
    1955                 :             :  optab_vector))
    1956                 :             : )
    1957                 :             :     {
    1958                 :          47 :       if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail546;
    1959                 :          47 :       {
    1960                 :          47 :         tree res_op0;
    1961                 :          47 :         {
    1962                 :          47 :           tree _o1[2], _r1;
    1963                 :          47 :           _o1[0] = captures[1];
    1964                 :          47 :           _o1[1] = captures[2];
    1965                 :          47 :           _r1 = fold_build2_loc (loc, TRUNC_MOD_EXPR, TREE_TYPE (_o1[0]), _o1[0], _o1[1]);
    1966                 :          47 :           res_op0 = _r1;
    1967                 :             :         }
    1968                 :          47 :         tree res_op1;
    1969                 :          47 :         res_op1 =  build_zero_cst (TREE_TYPE (captures[1]));
    1970                 :          47 :         tree _r;
    1971                 :          47 :         _r = fold_build2_loc (loc, EQ_EXPR, type, res_op0, res_op1);
    1972                 :          47 :         if (UNLIKELY (debug_dump)) generic_dump_logs ("match.pd", 366, __FILE__, __LINE__, true);
    1973                 :          47 :         return _r;
    1974                 :             :       }
    1975                 :           0 : next_after_fail546:;
    1976                 :             :     }
    1977                 :             :   return NULL_TREE;
    1978                 :             : }
    1979                 :             : 
    1980                 :             : tree
    1981                 :       13020 : generic_simplify_239 (location_t ARG_UNUSED (loc), const tree ARG_UNUSED (type),
    1982                 :             :  tree ARG_UNUSED (_p0), tree ARG_UNUSED (_p1), tree *ARG_UNUSED (captures),
    1983                 :             :  const enum tree_code ARG_UNUSED (cmp))
    1984                 :             : {
    1985                 :       13020 :   const bool debug_dump = dump_file && (dump_flags & TDF_FOLDING);
    1986                 :       13020 :   if (single_use (captures[0])
    1987                 :             : )
    1988                 :             :     {
    1989                 :       13020 :       if (TREE_SIDE_EFFECTS (_p1)) goto next_after_fail553;
    1990                 :       13020 :       if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail553;
    1991                 :       13020 :       {
    1992                 :       13020 :         tree res_op0;
    1993                 :       13020 :         res_op0 = captures[1];
    1994                 :       13020 :         tree res_op1;
    1995                 :       13020 :         res_op1 = captures[2];
    1996                 :       13020 :         tree _r;
    1997                 :       13020 :         _r = fold_build2_loc (loc, cmp, type, res_op0, res_op1);
    1998                 :       13020 :         if (UNLIKELY (debug_dump)) generic_dump_logs ("match.pd", 372, __FILE__, __LINE__, true);
    1999                 :       13020 :         return _r;
    2000                 :             :       }
    2001                 :             : next_after_fail553:;
    2002                 :             :     }
    2003                 :             :   return NULL_TREE;
    2004                 :             : }
    2005                 :             : 
    2006                 :             : tree
    2007                 :      894337 : generic_simplify_245 (location_t ARG_UNUSED (loc), const tree ARG_UNUSED (type),
    2008                 :             :  tree ARG_UNUSED (_p0), tree ARG_UNUSED (_p1), tree *ARG_UNUSED (captures),
    2009                 :             :  const enum tree_code ARG_UNUSED (cmp),
    2010                 :             :  const enum tree_code ARG_UNUSED (scmp))
    2011                 :             : {
    2012                 :      894337 :   const bool debug_dump = dump_file && (dump_flags & TDF_FOLDING);
    2013                 :      894337 :   if (single_use (captures[0])
    2014                 :      894337 :  && (TREE_CODE (captures[2]) == INTEGER_CST || TREE_CODE (captures[2]) == VECTOR_CST)
    2015                 :             : )
    2016                 :             :     {
    2017                 :      894337 :       {
    2018                 :      894337 :  tree otype = TREE_TYPE (captures[2]);
    2019                 :      894337 :           if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail564;
    2020                 :      894337 :           {
    2021                 :      894337 :             tree res_op0;
    2022                 :      894337 :             {
    2023                 :      894337 :               tree _o1[1], _r1;
    2024                 :      894337 :               _o1[0] = captures[1];
    2025                 :      894337 :               if (TREE_TYPE (_o1[0]) != otype)
    2026                 :             :                 {
    2027                 :         190 :                   _r1 = fold_build1_loc (loc, NOP_EXPR, otype, _o1[0]);
    2028                 :             :                 }
    2029                 :             :               else
    2030                 :             :                 _r1 = _o1[0];
    2031                 :      894337 :               res_op0 = _r1;
    2032                 :             :             }
    2033                 :      894337 :             tree res_op1;
    2034                 :      894337 :             {
    2035                 :      894337 :               tree _o1[1], _r1;
    2036                 :      894337 :               _o1[0] = captures[2];
    2037                 :      894337 :               _r1 = fold_build1_loc (loc, BIT_NOT_EXPR, TREE_TYPE (_o1[0]), _o1[0]);
    2038                 :      894337 :               res_op1 = _r1;
    2039                 :             :             }
    2040                 :      894337 :             tree _r;
    2041                 :      894337 :             _r = fold_build2_loc (loc, scmp, type, res_op0, res_op1);
    2042                 :      894337 :             if (UNLIKELY (debug_dump)) generic_dump_logs ("match.pd", 383, __FILE__, __LINE__, true);
    2043                 :      894337 :             return _r;
    2044                 :             :           }
    2045                 :           0 : next_after_fail564:;
    2046                 :             :       }
    2047                 :             :     }
    2048                 :             :   return NULL_TREE;
    2049                 :             : }
    2050                 :             : 
    2051                 :             : tree
    2052                 :          22 : generic_simplify_250 (location_t ARG_UNUSED (loc), const tree ARG_UNUSED (type),
    2053                 :             :  tree ARG_UNUSED (_p0), tree ARG_UNUSED (_p1), tree *ARG_UNUSED (captures),
    2054                 :             :  const combined_fn ARG_UNUSED (sq),
    2055                 :             :  const enum tree_code ARG_UNUSED (cmp))
    2056                 :             : {
    2057                 :          22 :   const bool debug_dump = dump_file && (dump_flags & TDF_FOLDING);
    2058                 :          22 :   if (flag_unsafe_math_optimizations && ! flag_errno_math
    2059                 :             : )
    2060                 :             :     {
    2061                 :          20 :       if (REAL_VALUE_NEGATIVE (TREE_REAL_CST (captures[1]))
    2062                 :             : )
    2063                 :             :         {
    2064                 :           2 :           if (cmp == EQ_EXPR || cmp == LT_EXPR || cmp == LE_EXPR
    2065                 :             : )
    2066                 :             :             {
    2067                 :           1 :               if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail583;
    2068                 :           1 :               {
    2069                 :           1 :                 tree _r;
    2070                 :           1 :                 _r =  constant_boolean_node (false, type);
    2071                 :           1 :                 if (TREE_SIDE_EFFECTS (captures[0]))
    2072                 :           0 :                   _r = build2_loc (loc, COMPOUND_EXPR, type, fold_ignored_result (captures[0]), _r);
    2073                 :           1 :                 if (TREE_SIDE_EFFECTS (captures[1]))
    2074                 :           0 :                   _r = build2_loc (loc, COMPOUND_EXPR, type, fold_ignored_result (captures[1]), _r);
    2075                 :           1 :                 if (UNLIKELY (debug_dump)) generic_dump_logs ("match.pd", 401, __FILE__, __LINE__, true);
    2076                 :           1 :                 return _r;
    2077                 :             :               }
    2078                 :           0 : next_after_fail583:;
    2079                 :           0 :             }
    2080                 :             :           else
    2081                 :             :             {
    2082                 :           1 :               if (cmp == NE_EXPR || !HONOR_NANS (captures[0])
    2083                 :             : )
    2084                 :             :                 {
    2085                 :           1 :                   if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail584;
    2086                 :           1 :                   {
    2087                 :           1 :                     tree _r;
    2088                 :           1 :                     _r =  constant_boolean_node (true, type);
    2089                 :           1 :                     if (TREE_SIDE_EFFECTS (captures[0]))
    2090                 :           0 :                       _r = build2_loc (loc, COMPOUND_EXPR, type, fold_ignored_result (captures[0]), _r);
    2091                 :           1 :                     if (TREE_SIDE_EFFECTS (captures[1]))
    2092                 :           0 :                       _r = build2_loc (loc, COMPOUND_EXPR, type, fold_ignored_result (captures[1]), _r);
    2093                 :           1 :                     if (UNLIKELY (debug_dump)) generic_dump_logs ("match.pd", 402, __FILE__, __LINE__, true);
    2094                 :           1 :                     return _r;
    2095                 :             :                   }
    2096                 :           0 : next_after_fail584:;
    2097                 :             :                 }
    2098                 :             :               else
    2099                 :             :                 {
    2100                 :           0 :                   if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail585;
    2101                 :           0 :                   {
    2102                 :           0 :                     tree res_op0;
    2103                 :           0 :                     res_op0 = captures[0];
    2104                 :           0 :                     tree res_op1;
    2105                 :           0 :                     res_op1 =  build_real (TREE_TYPE (captures[0]), dconst0);
    2106                 :           0 :                     tree _r;
    2107                 :           0 :                     _r = fold_build2_loc (loc, GE_EXPR, type, res_op0, res_op1);
    2108                 :           0 :                     if (TREE_SIDE_EFFECTS (captures[1]))
    2109                 :           0 :                       _r = build2_loc (loc, COMPOUND_EXPR, type, fold_ignored_result (captures[1]), _r);
    2110                 :           0 :                     if (UNLIKELY (debug_dump)) generic_dump_logs ("match.pd", 403, __FILE__, __LINE__, true);
    2111                 :           0 :                     return _r;
    2112                 :             :                   }
    2113                 :           0 : next_after_fail585:;
    2114                 :             :                 }
    2115                 :             :             }
    2116                 :             :         }
    2117                 :             :       else
    2118                 :             :         {
    2119                 :          18 :           if (real_equal (TREE_REAL_CST_PTR (captures[1]), &dconst0)
    2120                 :             : )
    2121                 :             :             {
    2122                 :           0 :               if (cmp == LT_EXPR
    2123                 :             : )
    2124                 :             :                 {
    2125                 :           0 :                   if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail586;
    2126                 :           0 :                   {
    2127                 :           0 :                     tree _r;
    2128                 :           0 :                     _r =  constant_boolean_node (false, type);
    2129                 :           0 :                     if (TREE_SIDE_EFFECTS (captures[0]))
    2130                 :           0 :                       _r = build2_loc (loc, COMPOUND_EXPR, type, fold_ignored_result (captures[0]), _r);
    2131                 :           0 :                     if (TREE_SIDE_EFFECTS (captures[1]))
    2132                 :           0 :                       _r = build2_loc (loc, COMPOUND_EXPR, type, fold_ignored_result (captures[1]), _r);
    2133                 :           0 :                     if (UNLIKELY (debug_dump)) generic_dump_logs ("match.pd", 404, __FILE__, __LINE__, true);
    2134                 :           0 :                     return _r;
    2135                 :             :                   }
    2136                 :           0 : next_after_fail586:;
    2137                 :             :                 }
    2138                 :             :               else
    2139                 :             :                 {
    2140                 :           0 :                   if (cmp == GE_EXPR && !HONOR_NANS (captures[0])
    2141                 :             : )
    2142                 :             :                     {
    2143                 :           0 :                       if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail587;
    2144                 :           0 :                       {
    2145                 :           0 :                         tree _r;
    2146                 :           0 :                         _r =  constant_boolean_node (true, type);
    2147                 :           0 :                         if (TREE_SIDE_EFFECTS (captures[0]))
    2148                 :           0 :                           _r = build2_loc (loc, COMPOUND_EXPR, type, fold_ignored_result (captures[0]), _r);
    2149                 :           0 :                         if (TREE_SIDE_EFFECTS (captures[1]))
    2150                 :           0 :                           _r = build2_loc (loc, COMPOUND_EXPR, type, fold_ignored_result (captures[1]), _r);
    2151                 :           0 :                         if (UNLIKELY (debug_dump)) generic_dump_logs ("match.pd", 405, __FILE__, __LINE__, true);
    2152                 :           0 :                         return _r;
    2153                 :             :                       }
    2154                 :           0 : next_after_fail587:;
    2155                 :             :                     }
    2156                 :             :                   else
    2157                 :             :                     {
    2158                 :           0 :                       if (cmp == LE_EXPR
    2159                 :             : )
    2160                 :             :                         {
    2161                 :           0 :                           if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail588;
    2162                 :           0 :                           {
    2163                 :           0 :                             tree res_op0;
    2164                 :           0 :                             res_op0 = captures[0];
    2165                 :           0 :                             tree res_op1;
    2166                 :           0 :                             res_op1 = captures[1];
    2167                 :           0 :                             tree _r;
    2168                 :           0 :                             _r = fold_build2_loc (loc, EQ_EXPR, type, res_op0, res_op1);
    2169                 :           0 :                             if (UNLIKELY (debug_dump)) generic_dump_logs ("match.pd", 406, __FILE__, __LINE__, true);
    2170                 :           0 :                             return _r;
    2171                 :             :                           }
    2172                 :           0 : next_after_fail588:;
    2173                 :             :                         }
    2174                 :             :                       else
    2175                 :             :                         {
    2176                 :           0 :                           if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail589;
    2177                 :           0 :                           {
    2178                 :           0 :                             tree res_op0;
    2179                 :           0 :                             res_op0 = captures[0];
    2180                 :           0 :                             tree res_op1;
    2181                 :           0 :                             res_op1 = captures[1];
    2182                 :           0 :                             tree _r;
    2183                 :           0 :                             _r = fold_build2_loc (loc, cmp, type, res_op0, res_op1);
    2184                 :           0 :                             if (UNLIKELY (debug_dump)) generic_dump_logs ("match.pd", 407, __FILE__, __LINE__, true);
    2185                 :           0 :                             return _r;
    2186                 :             :                           }
    2187                 :           0 : next_after_fail589:;
    2188                 :             :                         }
    2189                 :             :                     }
    2190                 :             :                 }
    2191                 :             :             }
    2192                 :             :           else
    2193                 :             :             {
    2194                 :          18 :               if ((cmp == LT_EXPR
    2195                 :             :  || cmp == LE_EXPR
    2196                 :             :  || cmp == GT_EXPR
    2197                 :          18 :  || cmp == GE_EXPR)
    2198                 :          16 :  && !REAL_VALUE_ISNAN (TREE_REAL_CST (captures[1]))
    2199                 :          34 :  && !HONOR_SIGN_DEPENDENT_ROUNDING (TREE_TYPE (captures[0]))
    2200                 :             : )
    2201                 :             :                 {
    2202                 :          16 :                   {
    2203                 :          16 :  REAL_VALUE_TYPE c2;
    2204                 :          16 :  enum tree_code ncmp = cmp;
    2205                 :          16 :  const real_format *fmt
    2206                 :          16 :  = REAL_MODE_FORMAT (TYPE_MODE (TREE_TYPE (captures[0])));
    2207                 :          32 :  real_arithmetic (&c2, MULT_EXPR,
    2208                 :          16 :  &TREE_REAL_CST (captures[1]), &TREE_REAL_CST (captures[1]));
    2209                 :          16 :  real_convert (&c2, fmt, &c2);
    2210                 :          16 :  if (!REAL_VALUE_ISINF (c2))
    2211                 :             :  {
    2212                 :          13 :  tree c3 = fold_const_call (CFN_SQRT, TREE_TYPE (captures[0]),
    2213                 :          13 :  build_real (TREE_TYPE (captures[0]), c2));
    2214                 :          13 :  if (c3 == NULL_TREE || TREE_CODE (c3) != REAL_CST)
    2215                 :             :  ncmp = ERROR_MARK;
    2216                 :          13 :  else if ((cmp == LT_EXPR || cmp == GE_EXPR)
    2217                 :          13 :  && real_less (&TREE_REAL_CST (c3), &TREE_REAL_CST (captures[1])))
    2218                 :           4 :  ncmp = cmp == LT_EXPR ? LE_EXPR : GT_EXPR;
    2219                 :           9 :  else if ((cmp == LE_EXPR || cmp == GT_EXPR)
    2220                 :          13 :  && real_less (&TREE_REAL_CST (captures[1]), &TREE_REAL_CST (c3)))
    2221                 :           1 :  ncmp = cmp == LE_EXPR ? LT_EXPR : GE_EXPR;
    2222                 :             :  else
    2223                 :             :  {
    2224                 :           8 :  REAL_VALUE_TYPE c2alt, tow;
    2225                 :           8 :  if (cmp == LT_EXPR || cmp == GE_EXPR)
    2226                 :           5 :  tow = dconst0;
    2227                 :             :  else
    2228                 :           3 :  tow = dconstinf;
    2229                 :           8 :  real_nextafter (&c2alt, fmt, &c2, &tow);
    2230                 :           8 :  real_convert (&c2alt, fmt, &c2alt);
    2231                 :           8 :  if (REAL_VALUE_ISINF (c2alt))
    2232                 :             :  ncmp = ERROR_MARK;
    2233                 :             :  else
    2234                 :             :  {
    2235                 :           8 :  c3 = fold_const_call (CFN_SQRT, TREE_TYPE (captures[0]),
    2236                 :           8 :  build_real (TREE_TYPE (captures[0]), c2alt));
    2237                 :           8 :  if (c3 == NULL_TREE || TREE_CODE (c3) != REAL_CST)
    2238                 :             :  ncmp = ERROR_MARK;
    2239                 :           8 :  else if (real_equal (&TREE_REAL_CST (c3),
    2240                 :           8 :  &TREE_REAL_CST (captures[1])))
    2241                 :           8 :  c2 = c2alt;
    2242                 :             :  }
    2243                 :             :  }
    2244                 :             :  }
    2245                 :          12 :                       if (cmp == GT_EXPR || cmp == GE_EXPR
    2246                 :             : )
    2247                 :             :                         {
    2248                 :           5 :                           if (REAL_VALUE_ISINF (c2)
    2249                 :             : )
    2250                 :             :                             {
    2251                 :           1 :                               if (HONOR_INFINITIES (captures[0])
    2252                 :             : )
    2253                 :             :                                 {
    2254                 :           0 :                                   if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail590;
    2255                 :           0 :                                   {
    2256                 :           0 :                                     tree res_op0;
    2257                 :           0 :                                     res_op0 = captures[0];
    2258                 :           0 :                                     tree res_op1;
    2259                 :           0 :                                     res_op1 =  build_real (TREE_TYPE (captures[0]), c2);
    2260                 :           0 :                                     tree _r;
    2261                 :           0 :                                     _r = fold_build2_loc (loc, EQ_EXPR, type, res_op0, res_op1);
    2262                 :           0 :                                     if (TREE_SIDE_EFFECTS (captures[1]))
    2263                 :           0 :                                       _r = build2_loc (loc, COMPOUND_EXPR, type, fold_ignored_result (captures[1]), _r);
    2264                 :           0 :                                     if (UNLIKELY (debug_dump)) generic_dump_logs ("match.pd", 408, __FILE__, __LINE__, true);
    2265                 :          14 :                                     return _r;
    2266                 :             :                                   }
    2267                 :           0 : next_after_fail590:;
    2268                 :             :                                 }
    2269                 :             :                               else
    2270                 :             :                                 {
    2271                 :           1 :                                   if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail591;
    2272                 :           1 :                                   {
    2273                 :           1 :                                     tree _r;
    2274                 :           1 :                                     _r =  constant_boolean_node (false, type);
    2275                 :           1 :                                     if (TREE_SIDE_EFFECTS (captures[0]))
    2276                 :           0 :                                       _r = build2_loc (loc, COMPOUND_EXPR, type, fold_ignored_result (captures[0]), _r);
    2277                 :           1 :                                     if (TREE_SIDE_EFFECTS (captures[1]))
    2278                 :           0 :                                       _r = build2_loc (loc, COMPOUND_EXPR, type, fold_ignored_result (captures[1]), _r);
    2279                 :           1 :                                     if (UNLIKELY (debug_dump)) generic_dump_logs ("match.pd", 409, __FILE__, __LINE__, true);
    2280                 :           1 :                                     return _r;
    2281                 :             :                                   }
    2282                 :           0 : next_after_fail591:;
    2283                 :             :                                 }
    2284                 :             :                             }
    2285                 :             :                           else
    2286                 :             :                             {
    2287                 :           4 :                               if (ncmp != ERROR_MARK
    2288                 :             : )
    2289                 :             :                                 {
    2290                 :           4 :                                   if (ncmp == GE_EXPR
    2291                 :             : )
    2292                 :             :                                     {
    2293                 :           1 :                                       if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail592;
    2294                 :           1 :                                       {
    2295                 :           1 :                                         tree res_op0;
    2296                 :           1 :                                         res_op0 = captures[0];
    2297                 :           1 :                                         tree res_op1;
    2298                 :           1 :                                         res_op1 =  build_real (TREE_TYPE (captures[0]), c2);
    2299                 :           1 :                                         tree _r;
    2300                 :           1 :                                         _r = fold_build2_loc (loc, GE_EXPR, type, res_op0, res_op1);
    2301                 :           1 :                                         if (TREE_SIDE_EFFECTS (captures[1]))
    2302                 :           0 :                                           _r = build2_loc (loc, COMPOUND_EXPR, type, fold_ignored_result (captures[1]), _r);
    2303                 :           1 :                                         if (UNLIKELY (debug_dump)) generic_dump_logs ("match.pd", 410, __FILE__, __LINE__, true);
    2304                 :           1 :                                         return _r;
    2305                 :             :                                       }
    2306                 :           0 : next_after_fail592:;
    2307                 :             :                                     }
    2308                 :             :                                   else
    2309                 :             :                                     {
    2310                 :           3 :                                       if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail593;
    2311                 :           3 :                                       {
    2312                 :           3 :                                         tree res_op0;
    2313                 :           3 :                                         res_op0 = captures[0];
    2314                 :           3 :                                         tree res_op1;
    2315                 :           3 :                                         res_op1 =  build_real (TREE_TYPE (captures[0]), c2);
    2316                 :           3 :                                         tree _r;
    2317                 :           3 :                                         _r = fold_build2_loc (loc, GT_EXPR, type, res_op0, res_op1);
    2318                 :           3 :                                         if (TREE_SIDE_EFFECTS (captures[1]))
    2319                 :           0 :                                           _r = build2_loc (loc, COMPOUND_EXPR, type, fold_ignored_result (captures[1]), _r);
    2320                 :           3 :                                         if (UNLIKELY (debug_dump)) generic_dump_logs ("match.pd", 411, __FILE__, __LINE__, true);
    2321                 :           3 :                                         return _r;
    2322                 :             :                                       }
    2323                 :           0 : next_after_fail593:;
    2324                 :             :                                     }
    2325                 :             :                                 }
    2326                 :             :                             }
    2327                 :             :                         }
    2328                 :             :                       else
    2329                 :             :                         {
    2330                 :          11 :                           if (REAL_VALUE_ISINF (c2)
    2331                 :             : )
    2332                 :             :                             {
    2333                 :           2 :                               if (! HONOR_NANS (captures[0]) && ! HONOR_INFINITIES (captures[0])
    2334                 :             : )
    2335                 :             :                                 {
    2336                 :           1 :                                   if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail594;
    2337                 :           1 :                                   {
    2338                 :           1 :                                     tree _r;
    2339                 :           1 :                                     _r =  constant_boolean_node (true, type);
    2340                 :           1 :                                     if (TREE_SIDE_EFFECTS (captures[0]))
    2341                 :           0 :                                       _r = build2_loc (loc, COMPOUND_EXPR, type, fold_ignored_result (captures[0]), _r);
    2342                 :           1 :                                     if (TREE_SIDE_EFFECTS (captures[1]))
    2343                 :           0 :                                       _r = build2_loc (loc, COMPOUND_EXPR, type, fold_ignored_result (captures[1]), _r);
    2344                 :           1 :                                     if (UNLIKELY (debug_dump)) generic_dump_logs ("match.pd", 412, __FILE__, __LINE__, true);
    2345                 :           1 :                                     return _r;
    2346                 :             :                                   }
    2347                 :           0 : next_after_fail594:;
    2348                 :             :                                 }
    2349                 :             :                               else
    2350                 :             :                                 {
    2351                 :           1 :                                   if (! HONOR_NANS (captures[0])
    2352                 :             : )
    2353                 :             :                                     {
    2354                 :           0 :                                       if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail595;
    2355                 :           0 :                                       {
    2356                 :           0 :                                         tree res_op0;
    2357                 :           0 :                                         res_op0 = captures[0];
    2358                 :           0 :                                         tree res_op1;
    2359                 :           0 :                                         res_op1 =  build_real (TREE_TYPE (captures[0]), c2);
    2360                 :           0 :                                         tree _r;
    2361                 :           0 :                                         _r = fold_build2_loc (loc, NE_EXPR, type, res_op0, res_op1);
    2362                 :           0 :                                         if (TREE_SIDE_EFFECTS (captures[1]))
    2363                 :           0 :                                           _r = build2_loc (loc, COMPOUND_EXPR, type, fold_ignored_result (captures[1]), _r);
    2364                 :           0 :                                         if (UNLIKELY (debug_dump)) generic_dump_logs ("match.pd", 413, __FILE__, __LINE__, true);
    2365                 :           0 :                                         return _r;
    2366                 :             :                                       }
    2367                 :           0 : next_after_fail595:;
    2368                 :             :                                     }
    2369                 :             :                                   else
    2370                 :             :                                     {
    2371                 :           1 :                                       if (! HONOR_INFINITIES (captures[0])
    2372                 :             : )
    2373                 :             :                                         {
    2374                 :           0 :                                           if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail596;
    2375                 :           0 :                                           {
    2376                 :           0 :                                             tree res_op0;
    2377                 :           0 :                                             res_op0 = captures[0];
    2378                 :           0 :                                             tree res_op1;
    2379                 :           0 :                                             res_op1 =  build_real (TREE_TYPE (captures[0]), dconst0);
    2380                 :           0 :                                             tree _r;
    2381                 :           0 :                                             _r = fold_build2_loc (loc, GE_EXPR, type, res_op0, res_op1);
    2382                 :           0 :                                             if (TREE_SIDE_EFFECTS (captures[1]))
    2383                 :           0 :                                               _r = build2_loc (loc, COMPOUND_EXPR, type, fold_ignored_result (captures[1]), _r);
    2384                 :           0 :                                             if (UNLIKELY (debug_dump)) generic_dump_logs ("match.pd", 414, __FILE__, __LINE__, true);
    2385                 :           0 :                                             return _r;
    2386                 :             :                                           }
    2387                 :           0 : next_after_fail596:;
    2388                 :             :                                         }
    2389                 :             :                                       else
    2390                 :             :                                         {
    2391                 :           1 :                                           if (1
    2392                 :             : )
    2393                 :             :                                             {
    2394                 :           1 :                                               if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail597;
    2395                 :           1 :                                               {
    2396                 :           1 :                                                 if (! tree_invariant_p (captures[0])) goto next_after_fail597;
    2397                 :           0 :                                                 tree res_op0;
    2398                 :           0 :                                                 {
    2399                 :           0 :                                                   tree _o1[2], _r1;
    2400                 :           0 :                                                   _o1[0] = unshare_expr (captures[0]);
    2401                 :           0 :                                                   _o1[1] =  build_real (TREE_TYPE (captures[0]), dconst0);
    2402                 :           0 :                                                   _r1 = fold_build2_loc (loc, GE_EXPR, type, _o1[0], _o1[1]);
    2403                 :           0 :                                                   res_op0 = _r1;
    2404                 :             :                                                 }
    2405                 :           0 :                                                 tree res_op1;
    2406                 :           0 :                                                 {
    2407                 :           0 :                                                   tree _o1[2], _r1;
    2408                 :           0 :                                                   _o1[0] = captures[0];
    2409                 :           0 :                                                   _o1[1] =  build_real (TREE_TYPE (captures[0]), c2);
    2410                 :           0 :                                                   _r1 = fold_build2_loc (loc, NE_EXPR, type, _o1[0], _o1[1]);
    2411                 :           0 :                                                   res_op1 = _r1;
    2412                 :             :                                                 }
    2413                 :           0 :                                                 tree _r;
    2414                 :           0 :                                                 _r = fold_build2_loc (loc, TRUTH_ANDIF_EXPR, type, res_op0, res_op1);
    2415                 :           0 :                                                 if (TREE_SIDE_EFFECTS (captures[1]))
    2416                 :           0 :                                                   _r = build2_loc (loc, COMPOUND_EXPR, type, fold_ignored_result (captures[1]), _r);
    2417                 :           0 :                                                 if (UNLIKELY (debug_dump)) generic_dump_logs ("match.pd", 415, __FILE__, __LINE__, true);
    2418                 :           0 :                                                 return _r;
    2419                 :             :                                               }
    2420                 :           2 : next_after_fail597:;
    2421                 :             :                                             }
    2422                 :             :                                         }
    2423                 :             :                                     }
    2424                 :             :                                 }
    2425                 :             :                             }
    2426                 :             :                           else
    2427                 :             :                             {
    2428                 :           9 :                               if (ncmp != ERROR_MARK && ! HONOR_NANS (captures[0])
    2429                 :             : )
    2430                 :             :                                 {
    2431                 :           8 :                                   if (ncmp == LT_EXPR
    2432                 :             : )
    2433                 :             :                                     {
    2434                 :           4 :                                       if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail598;
    2435                 :           4 :                                       {
    2436                 :           4 :                                         tree res_op0;
    2437                 :           4 :                                         res_op0 = captures[0];
    2438                 :           4 :                                         tree res_op1;
    2439                 :           4 :                                         res_op1 =  build_real (TREE_TYPE (captures[0]), c2);
    2440                 :           4 :                                         tree _r;
    2441                 :           4 :                                         _r = fold_build2_loc (loc, LT_EXPR, type, res_op0, res_op1);
    2442                 :           4 :                                         if (TREE_SIDE_EFFECTS (captures[1]))
    2443                 :           0 :                                           _r = build2_loc (loc, COMPOUND_EXPR, type, fold_ignored_result (captures[1]), _r);
    2444                 :           4 :                                         if (UNLIKELY (debug_dump)) generic_dump_logs ("match.pd", 416, __FILE__, __LINE__, true);
    2445                 :           4 :                                         return _r;
    2446                 :             :                                       }
    2447                 :           0 : next_after_fail598:;
    2448                 :             :                                     }
    2449                 :             :                                   else
    2450                 :             :                                     {
    2451                 :           4 :                                       if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail599;
    2452                 :           4 :                                       {
    2453                 :           4 :                                         tree res_op0;
    2454                 :           4 :                                         res_op0 = captures[0];
    2455                 :           4 :                                         tree res_op1;
    2456                 :           4 :                                         res_op1 =  build_real (TREE_TYPE (captures[0]), c2);
    2457                 :           4 :                                         tree _r;
    2458                 :           4 :                                         _r = fold_build2_loc (loc, LE_EXPR, type, res_op0, res_op1);
    2459                 :           4 :                                         if (TREE_SIDE_EFFECTS (captures[1]))
    2460                 :           0 :                                           _r = build2_loc (loc, COMPOUND_EXPR, type, fold_ignored_result (captures[1]), _r);
    2461                 :           4 :                                         if (UNLIKELY (debug_dump)) generic_dump_logs ("match.pd", 417, __FILE__, __LINE__, true);
    2462                 :           4 :                                         return _r;
    2463                 :             :                                       }
    2464                 :           0 : next_after_fail599:;
    2465                 :             :                                     }
    2466                 :             :                                 }
    2467                 :             :                               else
    2468                 :             :                                 {
    2469                 :           1 :                                   if (ncmp != ERROR_MARK &&
    2470                 :             : 1
    2471                 :             : )
    2472                 :             :                                     {
    2473                 :           1 :                                       if (ncmp == LT_EXPR
    2474                 :             : )
    2475                 :             :                                         {
    2476                 :           1 :                                           if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail600;
    2477                 :           1 :                                           {
    2478                 :           1 :                                             if (! tree_invariant_p (captures[0])) goto next_after_fail600;
    2479                 :           0 :                                             tree res_op0;
    2480                 :           0 :                                             {
    2481                 :           0 :                                               tree _o1[2], _r1;
    2482                 :           0 :                                               _o1[0] = unshare_expr (captures[0]);
    2483                 :           0 :                                               _o1[1] =  build_real (TREE_TYPE (captures[0]), dconst0);
    2484                 :           0 :                                               _r1 = fold_build2_loc (loc, GE_EXPR, type, _o1[0], _o1[1]);
    2485                 :           0 :                                               res_op0 = _r1;
    2486                 :             :                                             }
    2487                 :           0 :                                             tree res_op1;
    2488                 :           0 :                                             {
    2489                 :           0 :                                               tree _o1[2], _r1;
    2490                 :           0 :                                               _o1[0] = captures[0];
    2491                 :           0 :                                               _o1[1] =  build_real (TREE_TYPE (captures[0]), c2);
    2492                 :           0 :                                               _r1 = fold_build2_loc (loc, LT_EXPR, type, _o1[0], _o1[1]);
    2493                 :           0 :                                               res_op1 = _r1;
    2494                 :             :                                             }
    2495                 :           0 :                                             tree _r;
    2496                 :           0 :                                             _r = fold_build2_loc (loc, TRUTH_ANDIF_EXPR, type, res_op0, res_op1);
    2497                 :           0 :                                             if (TREE_SIDE_EFFECTS (captures[1]))
    2498                 :           0 :                                               _r = build2_loc (loc, COMPOUND_EXPR, type, fold_ignored_result (captures[1]), _r);
    2499                 :           0 :                                             if (UNLIKELY (debug_dump)) generic_dump_logs ("match.pd", 418, __FILE__, __LINE__, true);
    2500                 :           0 :                                             return _r;
    2501                 :             :                                           }
    2502                 :           2 : next_after_fail600:;
    2503                 :             :                                         }
    2504                 :             :                                       else
    2505                 :             :                                         {
    2506                 :           0 :                                           if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail601;
    2507                 :           0 :                                           {
    2508                 :           0 :                                             if (! tree_invariant_p (captures[0])) goto next_after_fail601;
    2509                 :           0 :                                             tree res_op0;
    2510                 :           0 :                                             {
    2511                 :           0 :                                               tree _o1[2], _r1;
    2512                 :           0 :                                               _o1[0] = unshare_expr (captures[0]);
    2513                 :           0 :                                               _o1[1] =  build_real (TREE_TYPE (captures[0]), dconst0);
    2514                 :           0 :                                               _r1 = fold_build2_loc (loc, GE_EXPR, type, _o1[0], _o1[1]);
    2515                 :           0 :                                               res_op0 = _r1;
    2516                 :             :                                             }
    2517                 :           0 :                                             tree res_op1;
    2518                 :           0 :                                             {
    2519                 :           0 :                                               tree _o1[2], _r1;
    2520                 :           0 :                                               _o1[0] = captures[0];
    2521                 :           0 :                                               _o1[1] =  build_real (TREE_TYPE (captures[0]), c2);
    2522                 :           0 :                                               _r1 = fold_build2_loc (loc, LE_EXPR, type, _o1[0], _o1[1]);
    2523                 :           0 :                                               res_op1 = _r1;
    2524                 :             :                                             }
    2525                 :           0 :                                             tree _r;
    2526                 :           0 :                                             _r = fold_build2_loc (loc, TRUTH_ANDIF_EXPR, type, res_op0, res_op1);
    2527                 :           0 :                                             if (TREE_SIDE_EFFECTS (captures[1]))
    2528                 :           0 :                                               _r = build2_loc (loc, COMPOUND_EXPR, type, fold_ignored_result (captures[1]), _r);
    2529                 :           0 :                                             if (UNLIKELY (debug_dump)) generic_dump_logs ("match.pd", 419, __FILE__, __LINE__, true);
    2530                 :           0 :                                             return _r;
    2531                 :             :                                           }
    2532                 :           2 : next_after_fail601:;
    2533                 :             :                                         }
    2534                 :             :                                     }
    2535                 :             :                                 }
    2536                 :             :                             }
    2537                 :             :                         }
    2538                 :             :                   }
    2539                 :             :                 }
    2540                 :             :             }
    2541                 :             :         }
    2542                 :             :     }
    2543                 :             :   return NULL_TREE;
    2544                 :             : }
    2545                 :             : 
    2546                 :             : tree
    2547                 :         170 : generic_simplify_310 (location_t ARG_UNUSED (loc), const tree ARG_UNUSED (type),
    2548                 :             :  tree ARG_UNUSED (_p0), tree ARG_UNUSED (_p1), tree *ARG_UNUSED (captures),
    2549                 :             :  const enum tree_code ARG_UNUSED (div))
    2550                 :             : {
    2551                 :         170 :   const bool debug_dump = dump_file && (dump_flags & TDF_FOLDING);
    2552                 :         170 :   if (ANY_INTEGRAL_TYPE_P (type)
    2553                 :             : )
    2554                 :             :     {
    2555                 :         170 :       if (TYPE_OVERFLOW_UNDEFINED (type) && !TYPE_OVERFLOW_SANITIZED (type)
    2556                 :             : )
    2557                 :             :         {
    2558                 :         142 :           if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail722;
    2559                 :         142 :           {
    2560                 :         142 :             tree _r;
    2561                 :         142 :             _r = captures[0];
    2562                 :         142 :             if (TREE_SIDE_EFFECTS (captures[1]))
    2563                 :           0 :               _r = build2_loc (loc, COMPOUND_EXPR, type, fold_ignored_result (captures[1]), _r);
    2564                 :         142 :             if (UNLIKELY (debug_dump)) generic_dump_logs ("match.pd", 521, __FILE__, __LINE__, true);
    2565                 :         142 :             return _r;
    2566                 :             :           }
    2567                 :           0 : next_after_fail722:;
    2568                 :             :         }
    2569                 :             :     }
    2570                 :             :   return NULL_TREE;
    2571                 :             : }
    2572                 :             : 
    2573                 :             : tree
    2574                 :         223 : generic_simplify_316 (location_t ARG_UNUSED (loc), const tree ARG_UNUSED (type),
    2575                 :             :  tree ARG_UNUSED (_p0), tree ARG_UNUSED (_p1), tree *ARG_UNUSED (captures),
    2576                 :             :  const enum tree_code ARG_UNUSED (mod))
    2577                 :             : {
    2578                 :         223 :   const bool debug_dump = dump_file && (dump_flags & TDF_FOLDING);
    2579                 :         223 :   if (!integer_zerop (captures[0])
    2580                 :             : )
    2581                 :             :     {
    2582                 :          93 :       if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail728;
    2583                 :          93 :       {
    2584                 :          93 :         tree _r;
    2585                 :          93 :         _r =  build_zero_cst (type);
    2586                 :          93 :         if (TREE_SIDE_EFFECTS (captures[0]))
    2587                 :           0 :           _r = build2_loc (loc, COMPOUND_EXPR, type, fold_ignored_result (captures[0]), _r);
    2588                 :          93 :         if (UNLIKELY (debug_dump)) generic_dump_logs ("match.pd", 527, __FILE__, __LINE__, true);
    2589                 :          93 :         return _r;
    2590                 :             :       }
    2591                 :           0 : next_after_fail728:;
    2592                 :             :     }
    2593                 :             :   return NULL_TREE;
    2594                 :             : }
    2595                 :             : 
    2596                 :             : tree
    2597                 :           5 : generic_simplify_325 (location_t ARG_UNUSED (loc), const tree ARG_UNUSED (type),
    2598                 :             :  tree ARG_UNUSED (_p0), tree ARG_UNUSED (_p1), tree *ARG_UNUSED (captures),
    2599                 :             :  const combined_fn ARG_UNUSED (SINH),
    2600                 :             :  const combined_fn ARG_UNUSED (COSH),
    2601                 :             :  const combined_fn ARG_UNUSED (TANH))
    2602                 :             : {
    2603                 :           5 :   const bool debug_dump = dump_file && (dump_flags & TDF_FOLDING);
    2604                 :           5 :   if (flag_unsafe_math_optimizations && canonicalize_math_p ()
    2605                 :             : )
    2606                 :             :     {
    2607                 :           3 :       if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail739;
    2608                 :           3 :       {
    2609                 :           3 :         tree res_op0;
    2610                 :           3 :         res_op0 = captures[1];
    2611                 :           3 :         tree _r;
    2612                 :           3 :         _r = maybe_build_call_expr_loc (loc, TANH, type, 1, res_op0);
    2613                 :           3 :         if (!_r)
    2614                 :           0 :           goto next_after_fail739;
    2615                 :           3 :         if (UNLIKELY (debug_dump)) generic_dump_logs ("match.pd", 538, __FILE__, __LINE__, true);
    2616                 :           3 :         return _r;
    2617                 :             :       }
    2618                 :             : next_after_fail739:;
    2619                 :             :     }
    2620                 :             :   return NULL_TREE;
    2621                 :             : }
    2622                 :             : 
    2623                 :             : tree
    2624                 :         396 : generic_simplify_331 (location_t ARG_UNUSED (loc), const tree ARG_UNUSED (type),
    2625                 :             :  tree ARG_UNUSED (_p0), tree ARG_UNUSED (_p1), tree *ARG_UNUSED (captures),
    2626                 :             :  const enum tree_code ARG_UNUSED (op),
    2627                 :             :  const enum tree_code ARG_UNUSED (neg_op))
    2628                 :             : {
    2629                 :         396 :   const bool debug_dump = dump_file && (dump_flags & TDF_FOLDING);
    2630                 :         396 :   if (flag_unsafe_math_optimizations
    2631                 :             : )
    2632                 :             :     {
    2633                 :           4 :       if (!HONOR_SIGNED_ZEROS (captures[1]) && !HONOR_INFINITIES (captures[1])
    2634                 :             : )
    2635                 :             :         {
    2636                 :           4 :           if (real_less (&dconst0, TREE_REAL_CST_PTR (captures[0]))
    2637                 :             : )
    2638                 :             :             {
    2639                 :           2 :               if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail745;
    2640                 :           2 :               {
    2641                 :           2 :                 tree res_op0;
    2642                 :           2 :                 res_op0 = captures[1];
    2643                 :           2 :                 tree res_op1;
    2644                 :           2 :                 res_op1 = captures[2];
    2645                 :           2 :                 tree _r;
    2646                 :           2 :                 _r = fold_build2_loc (loc, op, type, res_op0, res_op1);
    2647                 :           2 :                 if (TREE_SIDE_EFFECTS (captures[0]))
    2648                 :           0 :                   _r = build2_loc (loc, COMPOUND_EXPR, type, fold_ignored_result (captures[0]), _r);
    2649                 :           2 :                 if (UNLIKELY (debug_dump)) generic_dump_logs ("match.pd", 544, __FILE__, __LINE__, true);
    2650                 :           2 :                 return _r;
    2651                 :             :               }
    2652                 :           0 : next_after_fail745:;
    2653                 :             :             }
    2654                 :             :           else
    2655                 :             :             {
    2656                 :           2 :               if (real_less (TREE_REAL_CST_PTR (captures[0]), &dconst0)
    2657                 :             : )
    2658                 :             :                 {
    2659                 :           2 :                   if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail746;
    2660                 :           2 :                   {
    2661                 :           2 :                     tree res_op0;
    2662                 :           2 :                     res_op0 = captures[1];
    2663                 :           2 :                     tree res_op1;
    2664                 :           2 :                     res_op1 = captures[2];
    2665                 :           2 :                     tree _r;
    2666                 :           2 :                     _r = fold_build2_loc (loc, neg_op, type, res_op0, res_op1);
    2667                 :           2 :                     if (TREE_SIDE_EFFECTS (captures[0]))
    2668                 :           0 :                       _r = build2_loc (loc, COMPOUND_EXPR, type, fold_ignored_result (captures[0]), _r);
    2669                 :           2 :                     if (UNLIKELY (debug_dump)) generic_dump_logs ("match.pd", 545, __FILE__, __LINE__, true);
    2670                 :           2 :                     return _r;
    2671                 :             :                   }
    2672                 :           0 : next_after_fail746:;
    2673                 :             :                 }
    2674                 :             :             }
    2675                 :             :         }
    2676                 :             :     }
    2677                 :             :   return NULL_TREE;
    2678                 :             : }
    2679                 :             : 
    2680                 :             : tree
    2681                 :     8211558 : generic_simplify_342 (location_t ARG_UNUSED (loc), const tree ARG_UNUSED (type),
    2682                 :             :  tree ARG_UNUSED (_p0), tree ARG_UNUSED (_p1), tree *ARG_UNUSED (captures),
    2683                 :             :  const enum tree_code ARG_UNUSED (cmp),
    2684                 :             :  const enum tree_code ARG_UNUSED (acmp))
    2685                 :             : {
    2686                 :     8211558 :   const bool debug_dump = dump_file && (dump_flags & TDF_FOLDING);
    2687                 :     8211558 :   {
    2688                 :     8211558 :  tree cst = uniform_integer_cst_p (captures[1]);
    2689                 :     8211558 :       if (tree_int_cst_sgn (cst) == 1
    2690                 :             : )
    2691                 :             :         {
    2692                 :     3581142 :           if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail759;
    2693                 :     3581142 :           {
    2694                 :     3581142 :             tree res_op0;
    2695                 :     3581142 :             res_op0 = captures[0];
    2696                 :     3581142 :             tree res_op1;
    2697                 :     3581142 :             res_op1 =  build_uniform_cst (TREE_TYPE (captures[1]),
    2698                 :     3581142 :  wide_int_to_tree (TREE_TYPE (cst),
    2699                 :     3581142 :  wi::to_wide (cst) - 1));
    2700                 :     3581142 :             tree _r;
    2701                 :     3581142 :             _r = fold_build2_loc (loc, acmp, type, res_op0, res_op1);
    2702                 :     3581142 :             if (TREE_SIDE_EFFECTS (captures[1]))
    2703                 :           0 :               _r = build2_loc (loc, COMPOUND_EXPR, type, fold_ignored_result (captures[1]), _r);
    2704                 :     3581142 :             if (UNLIKELY (debug_dump)) generic_dump_logs ("match.pd", 558, __FILE__, __LINE__, true);
    2705                 :     3581142 :             return _r;
    2706                 :             :           }
    2707                 :           0 : next_after_fail759:;
    2708                 :             :         }
    2709                 :             :   }
    2710                 :             :   return NULL_TREE;
    2711                 :             : }
    2712                 :             : 
    2713                 :             : tree
    2714                 :           0 : generic_simplify_351 (location_t ARG_UNUSED (loc), const tree ARG_UNUSED (type),
    2715                 :             :  tree ARG_UNUSED (_p0), tree ARG_UNUSED (_p1), tree *ARG_UNUSED (captures),
    2716                 :             :  const enum tree_code ARG_UNUSED (cmp),
    2717                 :             :  const enum tree_code ARG_UNUSED (out))
    2718                 :             : {
    2719                 :           0 :   const bool debug_dump = dump_file && (dump_flags & TDF_FOLDING);
    2720                 :           0 :   if (TYPE_UNSIGNED (TREE_TYPE (captures[1]))
    2721                 :           0 :  && types_match (TREE_TYPE (captures[1]), TREE_TYPE (captures[2]))
    2722                 :             : )
    2723                 :             :     {
    2724                 :           0 :       if (TREE_SIDE_EFFECTS (_p1)) goto next_after_fail800;
    2725                 :           0 :       if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail800;
    2726                 :           0 :       {
    2727                 :           0 :         tree res_op0;
    2728                 :           0 :         {
    2729                 :           0 :           tree _o1[1], _r1;
    2730                 :           0 :           _o1[0] = captures[0];
    2731                 :           0 :           _r1 = fold_build1_loc (loc, IMAGPART_EXPR, TREE_TYPE (TREE_TYPE (_o1[0])), _o1[0]);
    2732                 :           0 :           res_op0 = _r1;
    2733                 :             :         }
    2734                 :           0 :         tree res_op1;
    2735                 :           0 :         res_op1 =  build_zero_cst (TREE_TYPE (captures[1]));
    2736                 :           0 :         tree _r;
    2737                 :           0 :         _r = fold_build2_loc (loc, out, type, res_op0, res_op1);
    2738                 :           0 :         if (UNLIKELY (debug_dump)) generic_dump_logs ("match.pd", 582, __FILE__, __LINE__, true);
    2739                 :           0 :         return _r;
    2740                 :             :       }
    2741                 :             : next_after_fail800:;
    2742                 :             :     }
    2743                 :             :   return NULL_TREE;
    2744                 :             : }
    2745                 :             : 
    2746                 :             : tree
    2747                 :           0 : generic_simplify_357 (location_t ARG_UNUSED (loc), const tree ARG_UNUSED (type),
    2748                 :             :  tree ARG_UNUSED (_p0), tree ARG_UNUSED (_p1), tree *ARG_UNUSED (captures),
    2749                 :             :  const enum tree_code ARG_UNUSED (op),
    2750                 :             :  const enum tree_code ARG_UNUSED (cmp))
    2751                 :             : {
    2752                 :           0 :   const bool debug_dump = dump_file && (dump_flags & TDF_FOLDING);
    2753                 :           0 :   {
    2754                 :           0 :  bool ok = true;
    2755                 :           0 :  HOST_WIDE_INT val = 0;
    2756                 :           0 :  if (!tree_fits_shwi_p (captures[3]))
    2757                 :             :  ok = false;
    2758                 :             :  else
    2759                 :             :  {
    2760                 :           0 :  val = tree_to_shwi (captures[3]);
    2761                 :           0 :  if (op == GT_EXPR || op == LE_EXPR)
    2762                 :             :  {
    2763                 :           0 :  if (val == HOST_WIDE_INT_MAX)
    2764                 :             :  ok = false;
    2765                 :             :  else
    2766                 :           0 :  val++;
    2767                 :             :  }
    2768                 :             :  }
    2769                 :           0 :  HOST_WIDE_INT zero_val = tree_to_shwi (captures[2]);
    2770                 :           0 :  tree type0 = TREE_TYPE (captures[1]);
    2771                 :           0 :  int prec = TYPE_PRECISION (type0);
    2772                 :           0 :  if (prec > MAX_FIXED_MODE_SIZE)
    2773                 :           0 :  ok = false;
    2774                 :           0 :       if (val <= 0
    2775                 :             : )
    2776                 :             :         {
    2777                 :           0 :           if (ok && zero_val >= val
    2778                 :             : )
    2779                 :             :             {
    2780                 :           0 :               if (TREE_SIDE_EFFECTS (captures[2])) goto next_after_fail811;
    2781                 :           0 :               if (TREE_SIDE_EFFECTS (captures[3])) goto next_after_fail811;
    2782                 :           0 :               if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail811;
    2783                 :           0 :               {
    2784                 :           0 :                 tree _r;
    2785                 :           0 :                 _r =  constant_boolean_node (cmp == EQ_EXPR ? true : false, type);
    2786                 :           0 :                 if (TREE_SIDE_EFFECTS (captures[1]))
    2787                 :           0 :                   _r = build2_loc (loc, COMPOUND_EXPR, type, fold_ignored_result (captures[1]), _r);
    2788                 :           0 :                 if (UNLIKELY (debug_dump)) generic_dump_logs ("match.pd", 593, __FILE__, __LINE__, true);
    2789                 :           0 :                 return _r;
    2790                 :             :               }
    2791                 :             : next_after_fail811:;
    2792                 :             :             }
    2793                 :             :         }
    2794                 :             :       else
    2795                 :             :         {
    2796                 :           0 :           if (val >= prec
    2797                 :             : )
    2798                 :             :             {
    2799                 :           0 :               if (ok && zero_val < val
    2800                 :             : )
    2801                 :             :                 {
    2802                 :           0 :                   if (TREE_SIDE_EFFECTS (captures[2])) goto next_after_fail812;
    2803                 :           0 :                   if (TREE_SIDE_EFFECTS (captures[3])) goto next_after_fail812;
    2804                 :           0 :                   if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail812;
    2805                 :           0 :                   {
    2806                 :           0 :                     tree _r;
    2807                 :           0 :                     _r =  constant_boolean_node (cmp == EQ_EXPR ? false : true, type);
    2808                 :           0 :                     if (TREE_SIDE_EFFECTS (captures[1]))
    2809                 :           0 :                       _r = build2_loc (loc, COMPOUND_EXPR, type, fold_ignored_result (captures[1]), _r);
    2810                 :           0 :                     if (UNLIKELY (debug_dump)) generic_dump_logs ("match.pd", 594, __FILE__, __LINE__, true);
    2811                 :           0 :                     return _r;
    2812                 :             :                   }
    2813                 :             : next_after_fail812:;
    2814                 :             :                 }
    2815                 :             :             }
    2816                 :             :           else
    2817                 :             :             {
    2818                 :           0 :               if (ok && (zero_val < 0 || zero_val >= prec)
    2819                 :             : )
    2820                 :             :                 {
    2821                 :           0 :                   if (TREE_SIDE_EFFECTS (captures[2])) goto next_after_fail813;
    2822                 :           0 :                   if (TREE_SIDE_EFFECTS (captures[3])) goto next_after_fail813;
    2823                 :           0 :                   if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail813;
    2824                 :           0 :                   {
    2825                 :           0 :                     tree res_op0;
    2826                 :           0 :                     {
    2827                 :           0 :                       tree _o1[2], _r1;
    2828                 :           0 :                       _o1[0] = captures[1];
    2829                 :           0 :                       _o1[1] =  wide_int_to_tree (type0,
    2830                 :           0 :  wi::mask (val, false, prec));
    2831                 :           0 :                       _r1 = fold_build2_loc (loc, BIT_AND_EXPR, TREE_TYPE (_o1[0]), _o1[0], _o1[1]);
    2832                 :           0 :                       res_op0 = _r1;
    2833                 :             :                     }
    2834                 :           0 :                     tree res_op1;
    2835                 :           0 :                     res_op1 =  build_zero_cst (type0);
    2836                 :           0 :                     tree _r;
    2837                 :           0 :                     _r = fold_build2_loc (loc, cmp, type, res_op0, res_op1);
    2838                 :           0 :                     if (UNLIKELY (debug_dump)) generic_dump_logs ("match.pd", 595, __FILE__, __LINE__, true);
    2839                 :           0 :                     return _r;
    2840                 :             :                   }
    2841                 :             : next_after_fail813:;
    2842                 :             :                 }
    2843                 :             :             }
    2844                 :             :         }
    2845                 :             :   }
    2846                 :             :   return NULL_TREE;
    2847                 :             : }
    2848                 :             : 
    2849                 :             : tree
    2850                 :          94 : generic_simplify_368 (location_t ARG_UNUSED (loc), const tree ARG_UNUSED (type),
    2851                 :             :  tree ARG_UNUSED (_p0), tree ARG_UNUSED (_p1), tree *ARG_UNUSED (captures))
    2852                 :             : {
    2853                 :          94 :   const bool debug_dump = dump_file && (dump_flags & TDF_FOLDING);
    2854                 :         188 :   if (INTEGRAL_TYPE_P (type)
    2855                 :          93 :  && !TYPE_UNSIGNED (type)
    2856                 :          93 :  && !TYPE_OVERFLOW_TRAPS (type)
    2857                 :          93 :  && tree_nop_conversion_p (type, TREE_TYPE (captures[1]))
    2858                 :         281 :  && (expr_not_equal_to (captures[0], wi::to_wide (TYPE_MIN_VALUE (type)))
    2859                 :         187 :  || expr_not_equal_to (captures[1], wi::minus_one (TYPE_PRECISION
    2860                 :             :  (TREE_TYPE (captures[1])))))
    2861                 :             : )
    2862                 :             :     {
    2863                 :           0 :       if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail828;
    2864                 :           0 :       {
    2865                 :           0 :         tree res_op0;
    2866                 :           0 :         res_op0 = captures[0];
    2867                 :           0 :         tree res_op1;
    2868                 :           0 :         {
    2869                 :           0 :           tree _o1[1], _r1;
    2870                 :           0 :           _o1[0] = captures[1];
    2871                 :           0 :           if (TREE_TYPE (_o1[0]) != type)
    2872                 :             :             {
    2873                 :           0 :               _r1 = fold_build1_loc (loc, NOP_EXPR, type, _o1[0]);
    2874                 :             :             }
    2875                 :             :           else
    2876                 :             :             _r1 = _o1[0];
    2877                 :           0 :           res_op1 = _r1;
    2878                 :             :         }
    2879                 :           0 :         tree _r;
    2880                 :           0 :         _r = fold_build2_loc (loc, TRUNC_MOD_EXPR, type, res_op0, res_op1);
    2881                 :           0 :         if (UNLIKELY (debug_dump)) generic_dump_logs ("match.pd", 606, __FILE__, __LINE__, true);
    2882                 :           0 :         return _r;
    2883                 :             :       }
    2884                 :           0 : next_after_fail828:;
    2885                 :             :     }
    2886                 :             :   return NULL_TREE;
    2887                 :             : }
    2888                 :             : 
    2889                 :             : tree
    2890                 :           0 : generic_simplify_374 (location_t ARG_UNUSED (loc), const tree ARG_UNUSED (type),
    2891                 :             :  tree ARG_UNUSED (_p0), tree ARG_UNUSED (_p1), tree *ARG_UNUSED (captures),
    2892                 :             :  const enum tree_code ARG_UNUSED (shiftrotate))
    2893                 :             : {
    2894                 :           0 :   const bool debug_dump = dump_file && (dump_flags & TDF_FOLDING);
    2895                 :           0 :   {
    2896                 :           0 :  tree tem = uniform_vector_p (captures[1]);
    2897                 :           0 :       if (tem
    2898                 :             : )
    2899                 :             :         {
    2900                 :           0 :           if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail834;
    2901                 :           0 :           {
    2902                 :           0 :             tree res_op0;
    2903                 :           0 :             res_op0 = captures[0];
    2904                 :           0 :             tree res_op1;
    2905                 :           0 :             res_op1 =  tem;
    2906                 :           0 :             tree _r;
    2907                 :           0 :             _r = fold_build2_loc (loc, shiftrotate, type, res_op0, res_op1);
    2908                 :           0 :             if (TREE_SIDE_EFFECTS (captures[1]))
    2909                 :           0 :               _r = build2_loc (loc, COMPOUND_EXPR, type, fold_ignored_result (captures[1]), _r);
    2910                 :           0 :             if (UNLIKELY (debug_dump)) generic_dump_logs ("match.pd", 612, __FILE__, __LINE__, true);
    2911                 :           0 :             return _r;
    2912                 :             :           }
    2913                 :           0 : next_after_fail834:;
    2914                 :             :         }
    2915                 :             :   }
    2916                 :             :   return NULL_TREE;
    2917                 :             : }
    2918                 :             : 
    2919                 :             : tree
    2920                 :         267 : generic_simplify_380 (location_t ARG_UNUSED (loc), const tree ARG_UNUSED (type),
    2921                 :             :  tree ARG_UNUSED (_p0), tree ARG_UNUSED (_p1), tree *ARG_UNUSED (captures),
    2922                 :             :  const combined_fn ARG_UNUSED (bswap))
    2923                 :             : {
    2924                 :         267 :   const bool debug_dump = dump_file && (dump_flags & TDF_FOLDING);
    2925                 :         267 :   if (BITS_PER_UNIT == 8
    2926                 :             :  && CHAR_TYPE_SIZE == 8
    2927                 :         267 :  && tree_fits_uhwi_p (captures[2])
    2928                 :             : )
    2929                 :             :     {
    2930                 :         267 :       {
    2931                 :         267 :  unsigned HOST_WIDE_INT prec = TYPE_PRECISION (TREE_TYPE (captures[0]));
    2932                 :         267 :  unsigned HOST_WIDE_INT bits = tree_to_uhwi (captures[2]);
    2933                 :         267 :  tree st = TYPE_PRECISION (type) > prec ? TREE_TYPE (captures[0]) : type;
    2934                 :         267 :           if (TYPE_PRECISION (type) > prec
    2935                 :           0 :  && !TYPE_UNSIGNED (TREE_TYPE (captures[0]))
    2936                 :           0 :  && TYPE_UNSIGNED (type)
    2937                 :         267 :  && bits < prec && bits + 8 >= prec
    2938                 :             : )
    2939                 :             :             {
    2940                 :           0 :               {
    2941                 :           0 :  tree nst = build_int_cst (integer_type_node, prec - 8);
    2942                 :           0 :                   if (TREE_SIDE_EFFECTS (captures[2])) goto next_after_fail844;
    2943                 :           0 :                   if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail844;
    2944                 :           0 :                   {
    2945                 :           0 :                     tree res_op0;
    2946                 :           0 :                     {
    2947                 :           0 :                       tree _o1[1], _r1;
    2948                 :           0 :                       {
    2949                 :           0 :                         tree _o2[2], _r2;
    2950                 :           0 :                         {
    2951                 :           0 :                           tree _o3[1], _r3;
    2952                 :           0 :                           _o3[0] = captures[1];
    2953                 :           0 :                           if (TREE_TYPE (_o3[0]) != st)
    2954                 :             :                             {
    2955                 :           0 :                               _r3 = fold_build1_loc (loc, NOP_EXPR, st, _o3[0]);
    2956                 :             :                             }
    2957                 :             :                           else
    2958                 :             :                             _r3 = _o3[0];
    2959                 :           0 :                           _o2[0] = _r3;
    2960                 :             :                         }
    2961                 :           0 :                         _o2[1] = nst;
    2962                 :           0 :                         _r2 = fold_build2_loc (loc, LSHIFT_EXPR, st, _o2[0], _o2[1]);
    2963                 :           0 :                         _o1[0] = _r2;
    2964                 :             :                       }
    2965                 :           0 :                       if (TREE_TYPE (_o1[0]) != type)
    2966                 :             :                         {
    2967                 :           0 :                           _r1 = fold_build1_loc (loc, NOP_EXPR, type, _o1[0]);
    2968                 :             :                         }
    2969                 :             :                       else
    2970                 :             :                         _r1 = _o1[0];
    2971                 :           0 :                       res_op0 = _r1;
    2972                 :             :                     }
    2973                 :           0 :                     tree res_op1;
    2974                 :           0 :                     res_op1 = captures[2];
    2975                 :           0 :                     tree _r;
    2976                 :           0 :                     _r = fold_build2_loc (loc, RSHIFT_EXPR, type, res_op0, res_op1);
    2977                 :           0 :                     if (UNLIKELY (debug_dump)) generic_dump_logs ("match.pd", 620, __FILE__, __LINE__, true);
    2978                 :           0 :                     return _r;
    2979                 :             :                   }
    2980                 :             : next_after_fail844:;
    2981                 :             :               }
    2982                 :             :             }
    2983                 :             :           else
    2984                 :             :             {
    2985                 :         267 :               if (bits + 8 == prec
    2986                 :             : )
    2987                 :             :                 {
    2988                 :          46 :                   if (TYPE_UNSIGNED (st)
    2989                 :             : )
    2990                 :             :                     {
    2991                 :          36 :                       if (TREE_SIDE_EFFECTS (captures[2])) goto next_after_fail845;
    2992                 :          36 :                       if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail845;
    2993                 :          36 :                       {
    2994                 :          36 :                         tree res_op0;
    2995                 :          36 :                         {
    2996                 :          36 :                           tree _o1[1], _r1;
    2997                 :          36 :                           _o1[0] = captures[1];
    2998                 :          36 :                           if (TREE_TYPE (_o1[0]) != unsigned_char_type_node)
    2999                 :             :                             {
    3000                 :          36 :                               _r1 = fold_build1_loc (loc, NOP_EXPR, unsigned_char_type_node, _o1[0]);
    3001                 :             :                             }
    3002                 :             :                           else
    3003                 :             :                             _r1 = _o1[0];
    3004                 :          36 :                           res_op0 = _r1;
    3005                 :             :                         }
    3006                 :          36 :                         tree _r;
    3007                 :          36 :                         _r = fold_build1_loc (loc, NOP_EXPR, type, res_op0);
    3008                 :          36 :                         if (UNLIKELY (debug_dump)) generic_dump_logs ("match.pd", 621, __FILE__, __LINE__, true);
    3009                 :          36 :                         return _r;
    3010                 :             :                       }
    3011                 :             : next_after_fail845:;
    3012                 :             :                     }
    3013                 :             :                   else
    3014                 :             :                     {
    3015                 :          10 :                       if (TREE_SIDE_EFFECTS (captures[2])) goto next_after_fail846;
    3016                 :          10 :                       if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail846;
    3017                 :          10 :                       {
    3018                 :          10 :                         tree res_op0;
    3019                 :          10 :                         {
    3020                 :          10 :                           tree _o1[1], _r1;
    3021                 :          10 :                           _o1[0] = captures[1];
    3022                 :          10 :                           if (TREE_TYPE (_o1[0]) != signed_char_type_node)
    3023                 :             :                             {
    3024                 :          10 :                               _r1 = fold_build1_loc (loc, NOP_EXPR, signed_char_type_node, _o1[0]);
    3025                 :             :                             }
    3026                 :             :                           else
    3027                 :             :                             _r1 = _o1[0];
    3028                 :          10 :                           res_op0 = _r1;
    3029                 :             :                         }
    3030                 :          10 :                         tree _r;
    3031                 :          10 :                         _r = fold_build1_loc (loc, NOP_EXPR, type, res_op0);
    3032                 :          10 :                         if (UNLIKELY (debug_dump)) generic_dump_logs ("match.pd", 622, __FILE__, __LINE__, true);
    3033                 :          10 :                         return _r;
    3034                 :             :                       }
    3035                 :             : next_after_fail846:;
    3036                 :             :                     }
    3037                 :             :                 }
    3038                 :             :               else
    3039                 :             :                 {
    3040                 :         221 :                   if (bits < prec && bits + 8 > prec
    3041                 :             : )
    3042                 :             :                     {
    3043                 :          57 :                       {
    3044                 :          57 :  tree nst = build_int_cst (integer_type_node, bits & 7);
    3045                 :          57 :  tree bt = TYPE_UNSIGNED (st) ? unsigned_char_type_node
    3046                 :          57 :  : signed_char_type_node;
    3047                 :          57 :                           if (TREE_SIDE_EFFECTS (captures[2])) goto next_after_fail847;
    3048                 :          57 :                           if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail847;
    3049                 :          57 :                           {
    3050                 :          57 :                             tree res_op0;
    3051                 :          57 :                             {
    3052                 :          57 :                               tree _o1[2], _r1;
    3053                 :          57 :                               {
    3054                 :          57 :                                 tree _o2[1], _r2;
    3055                 :          57 :                                 _o2[0] = captures[1];
    3056                 :          57 :                                 if (TREE_TYPE (_o2[0]) != bt)
    3057                 :             :                                   {
    3058                 :          57 :                                     _r2 = fold_build1_loc (loc, NOP_EXPR, bt, _o2[0]);
    3059                 :             :                                   }
    3060                 :             :                                 else
    3061                 :             :                                   _r2 = _o2[0];
    3062                 :          57 :                                 _o1[0] = _r2;
    3063                 :             :                               }
    3064                 :          57 :                               _o1[1] = nst;
    3065                 :          57 :                               _r1 = fold_build2_loc (loc, RSHIFT_EXPR, bt, _o1[0], _o1[1]);
    3066                 :          57 :                               res_op0 = _r1;
    3067                 :             :                             }
    3068                 :          57 :                             tree _r;
    3069                 :          57 :                             _r = fold_build1_loc (loc, NOP_EXPR, type, res_op0);
    3070                 :          57 :                             if (UNLIKELY (debug_dump)) generic_dump_logs ("match.pd", 623, __FILE__, __LINE__, true);
    3071                 :          57 :                             return _r;
    3072                 :             :                           }
    3073                 :             : next_after_fail847:;
    3074                 :             :                       }
    3075                 :             :                     }
    3076                 :             :                 }
    3077                 :             :             }
    3078                 :             :       }
    3079                 :             :     }
    3080                 :             :   return NULL_TREE;
    3081                 :             : }
    3082                 :             : 
    3083                 :             : tree
    3084                 :           0 : generic_simplify_392 (location_t ARG_UNUSED (loc), const tree ARG_UNUSED (type),
    3085                 :             :  tree ARG_UNUSED (_p0), tree ARG_UNUSED (_p1), tree *ARG_UNUSED (captures),
    3086                 :             :  const combined_fn ARG_UNUSED (copysigns),
    3087                 :             :  const combined_fn ARG_UNUSED (pows))
    3088                 :             : {
    3089                 :           0 :   const bool debug_dump = dump_file && (dump_flags & TDF_FOLDING);
    3090                 :           0 :   {
    3091                 :           0 :  HOST_WIDE_INT n;
    3092                 :           0 :       if (real_isinteger (&TREE_REAL_CST (captures[2]), &n) && (n & 1) == 0
    3093                 :             : )
    3094                 :             :         {
    3095                 :           0 :           if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail872;
    3096                 :           0 :           {
    3097                 :           0 :             tree res_op0;
    3098                 :           0 :             res_op0 = captures[0];
    3099                 :           0 :             tree res_op1;
    3100                 :           0 :             res_op1 = captures[2];
    3101                 :           0 :             tree _r;
    3102                 :           0 :             _r = maybe_build_call_expr_loc (loc, pows, type, 2, res_op0, res_op1);
    3103                 :           0 :             if (!_r)
    3104                 :           0 :               goto next_after_fail872;
    3105                 :           0 :             if (TREE_SIDE_EFFECTS (captures[1]))
    3106                 :           0 :               _r = build2_loc (loc, COMPOUND_EXPR, type, fold_ignored_result (captures[1]), _r);
    3107                 :           0 :             if (UNLIKELY (debug_dump)) generic_dump_logs ("match.pd", 636, __FILE__, __LINE__, true);
    3108                 :           0 :             return _r;
    3109                 :             :           }
    3110                 :           0 : next_after_fail872:;
    3111                 :             :         }
    3112                 :             :   }
    3113                 :           0 :   return NULL_TREE;
    3114                 :             : }
    3115                 :             : 
    3116                 :             : tree
    3117                 :           0 : generic_simplify_394 (location_t ARG_UNUSED (loc), const tree ARG_UNUSED (type),
    3118                 :             :  tree ARG_UNUSED (_p0), tree ARG_UNUSED (_p1), tree *ARG_UNUSED (captures),
    3119                 :             :  const combined_fn ARG_UNUSED (pow))
    3120                 :             : {
    3121                 :           0 :   const bool debug_dump = dump_file && (dump_flags & TDF_FOLDING);
    3122                 :           0 :   if (flag_unsafe_math_optimizations
    3123                 :             : )
    3124                 :             :     {
    3125                 :           0 :       if (! HONOR_INFINITIES (type)
    3126                 :           0 :  && ! flag_trapping_math
    3127                 :           0 :  && ! flag_errno_math
    3128                 :             : )
    3129                 :             :         {
    3130                 :           0 :           if (! HONOR_NANS (type) && ! HONOR_SIGNED_ZEROS (type)
    3131                 :             : )
    3132                 :             :             {
    3133                 :           0 :               if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail874;
    3134                 :           0 :               {
    3135                 :           0 :                 tree _r;
    3136                 :           0 :                 _r = captures[0];
    3137                 :           0 :                 if (TREE_SIDE_EFFECTS (captures[1]))
    3138                 :           0 :                   _r = build2_loc (loc, COMPOUND_EXPR, type, fold_ignored_result (captures[1]), _r);
    3139                 :           0 :                 if (UNLIKELY (debug_dump)) generic_dump_logs ("match.pd", 638, __FILE__, __LINE__, true);
    3140                 :           0 :                 return _r;
    3141                 :             :               }
    3142                 :           0 : next_after_fail874:;
    3143                 :             :             }
    3144                 :             :         }
    3145                 :             :     }
    3146                 :             :   return NULL_TREE;
    3147                 :             : }
    3148                 :             : 
    3149                 :             : tree
    3150                 :     4859983 : generic_simplify_401 (location_t ARG_UNUSED (loc), const tree ARG_UNUSED (type),
    3151                 :             :  tree ARG_UNUSED (_p0), tree ARG_UNUSED (_p1), tree *ARG_UNUSED (captures))
    3152                 :             : {
    3153                 :     4859983 :   const bool debug_dump = dump_file && (dump_flags & TDF_FOLDING);
    3154                 :     4859983 :   {
    3155                 :     4859983 :  bool wascmp;
    3156                 :     4859983 :       if (types_match (TREE_TYPE (captures[0]), TREE_TYPE (captures[1]))
    3157                 :     4859983 :  && bitwise_inverted_equal_p (captures[0], captures[1], wascmp)
    3158                 :             : )
    3159                 :             :         {
    3160                 :         113 :           if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail881;
    3161                 :         113 :           {
    3162                 :         113 :             tree _r;
    3163                 :         113 :             _r =  wascmp ? constant_boolean_node (false, type) : build_zero_cst (type);
    3164                 :         113 :             if (TREE_SIDE_EFFECTS (captures[0]))
    3165                 :           0 :               _r = build2_loc (loc, COMPOUND_EXPR, type, fold_ignored_result (captures[0]), _r);
    3166                 :         113 :             if (TREE_SIDE_EFFECTS (captures[1]))
    3167                 :           0 :               _r = build2_loc (loc, COMPOUND_EXPR, type, fold_ignored_result (captures[1]), _r);
    3168                 :         113 :             if (UNLIKELY (debug_dump)) generic_dump_logs ("match.pd", 645, __FILE__, __LINE__, true);
    3169                 :         113 :             return _r;
    3170                 :             :           }
    3171                 :           0 : next_after_fail881:;
    3172                 :             :         }
    3173                 :             :   }
    3174                 :     4859870 :   return NULL_TREE;
    3175                 :             : }
    3176                 :             : 
    3177                 :             : tree
    3178                 :       41235 : generic_simplify_406 (location_t ARG_UNUSED (loc), const tree ARG_UNUSED (type),
    3179                 :             :  tree ARG_UNUSED (_p0), tree ARG_UNUSED (_p1), tree *ARG_UNUSED (captures))
    3180                 :             : {
    3181                 :       41235 :   const bool debug_dump = dump_file && (dump_flags & TDF_FOLDING);
    3182                 :       41235 :   {
    3183                 :       41235 :  bool wascmp;
    3184                 :       41235 :       if (bitwise_inverted_equal_p (captures[0], captures[1], wascmp)
    3185                 :       41235 :  && (!wascmp || element_precision (type) == 1)
    3186                 :             : )
    3187                 :             :         {
    3188                 :           1 :           if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail886;
    3189                 :           1 :           {
    3190                 :           1 :             tree res_op0;
    3191                 :           1 :             res_op0 = captures[0];
    3192                 :           1 :             tree res_op1;
    3193                 :           1 :             res_op1 = captures[2];
    3194                 :           1 :             tree _r;
    3195                 :           1 :             _r = fold_build2_loc (loc, BIT_AND_EXPR, type, res_op0, res_op1);
    3196                 :           1 :             if (TREE_SIDE_EFFECTS (captures[1]))
    3197                 :           0 :               _r = build2_loc (loc, COMPOUND_EXPR, type, fold_ignored_result (captures[1]), _r);
    3198                 :           1 :             if (UNLIKELY (debug_dump)) generic_dump_logs ("match.pd", 650, __FILE__, __LINE__, true);
    3199                 :           1 :             return _r;
    3200                 :             :           }
    3201                 :           0 : next_after_fail886:;
    3202                 :             :         }
    3203                 :             :   }
    3204                 :       41234 :   return NULL_TREE;
    3205                 :             : }
    3206                 :             : 
    3207                 :             : tree
    3208                 :          63 : generic_simplify_413 (location_t ARG_UNUSED (loc), const tree ARG_UNUSED (type),
    3209                 :             :  tree ARG_UNUSED (_p0), tree ARG_UNUSED (_p1), tree *ARG_UNUSED (captures))
    3210                 :             : {
    3211                 :          63 :   const bool debug_dump = dump_file && (dump_flags & TDF_FOLDING);
    3212                 :          63 :   if (INTEGRAL_TYPE_P (type)
    3213                 :          63 :  && INTEGRAL_TYPE_P (TREE_TYPE (captures[0]))
    3214                 :          63 :  && TREE_CODE (TREE_TYPE (captures[0])) != BOOLEAN_TYPE
    3215                 :         126 :  && (!TYPE_UNSIGNED (TREE_TYPE (captures[0]))
    3216                 :          17 :  || TYPE_PRECISION (type) <= TYPE_PRECISION (TREE_TYPE (captures[0])))
    3217                 :             : )
    3218                 :             :     {
    3219                 :          63 :       if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail893;
    3220                 :          63 :       {
    3221                 :          63 :         tree res_op0;
    3222                 :          63 :         {
    3223                 :          63 :           tree _o1[1], _r1;
    3224                 :          63 :           _o1[0] = captures[0];
    3225                 :          63 :           if (TREE_TYPE (_o1[0]) != type)
    3226                 :             :             {
    3227                 :          20 :               _r1 = fold_build1_loc (loc, NOP_EXPR, type, _o1[0]);
    3228                 :             :             }
    3229                 :             :           else
    3230                 :             :             _r1 = _o1[0];
    3231                 :          63 :           res_op0 = _r1;
    3232                 :             :         }
    3233                 :          63 :         tree res_op1;
    3234                 :          63 :         res_op1 = captures[1];
    3235                 :          63 :         tree _r;
    3236                 :          63 :         _r = fold_build2_loc (loc, MULT_EXPR, type, res_op0, res_op1);
    3237                 :          63 :         if (UNLIKELY (debug_dump)) generic_dump_logs ("match.pd", 656, __FILE__, __LINE__, true);
    3238                 :          63 :         return _r;
    3239                 :             :       }
    3240                 :           0 : next_after_fail893:;
    3241                 :             :     }
    3242                 :             :   return NULL_TREE;
    3243                 :             : }
    3244                 :             : 
    3245                 :             : tree
    3246                 :           0 : generic_simplify_420 (location_t ARG_UNUSED (loc), const tree ARG_UNUSED (type),
    3247                 :             :  tree ARG_UNUSED (_p0), tree ARG_UNUSED (_p1), tree *ARG_UNUSED (captures),
    3248                 :             :  const enum tree_code ARG_UNUSED (cmp))
    3249                 :             : {
    3250                 :           0 :   const bool debug_dump = dump_file && (dump_flags & TDF_FOLDING);
    3251                 :           0 :   if (!canonicalize_math_p ()
    3252                 :             : )
    3253                 :             :     {
    3254                 :           0 :       if (INTEGRAL_TYPE_P (type)
    3255                 :           0 :  && INTEGRAL_TYPE_P (TREE_TYPE (captures[0]))
    3256                 :             : )
    3257                 :             :         {
    3258                 :           0 :           if (TREE_SIDE_EFFECTS (_p1)) goto next_after_fail900;
    3259                 :           0 :           if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail900;
    3260                 :           0 :           {
    3261                 :           0 :             tree res_op0;
    3262                 :           0 :             res_op0 = captures[0];
    3263                 :           0 :             tree res_op1;
    3264                 :           0 :             res_op1 = captures[3];
    3265                 :           0 :             tree res_op2;
    3266                 :           0 :             res_op2 =  build_zero_cst (type);
    3267                 :           0 :             tree _r;
    3268                 :           0 :             _r = fold_build3_loc (loc, COND_EXPR, type, res_op0, res_op1, res_op2);
    3269                 :           0 :             if (UNLIKELY (debug_dump)) generic_dump_logs ("match.pd", 662, __FILE__, __LINE__, true);
    3270                 :           0 :             return _r;
    3271                 :             :           }
    3272                 :             : next_after_fail900:;
    3273                 :             :         }
    3274                 :             :     }
    3275                 :             :   return NULL_TREE;
    3276                 :             : }
    3277                 :             : 
    3278                 :             : tree
    3279                 :          43 : generic_simplify_429 (location_t ARG_UNUSED (loc), const tree ARG_UNUSED (type),
    3280                 :             :  tree ARG_UNUSED (_p0), tree ARG_UNUSED (_p1), tree *ARG_UNUSED (captures),
    3281                 :             :  const enum tree_code ARG_UNUSED (code2),
    3282                 :             :  const enum tree_code ARG_UNUSED (code1))
    3283                 :             : {
    3284                 :          43 :   const bool debug_dump = dump_file && (dump_flags & TDF_FOLDING);
    3285                 :          43 :   if ((TREE_CODE (captures[2]) == INTEGER_CST
    3286                 :           2 :  && TREE_CODE (captures[5]) == INTEGER_CST)
    3287                 :          43 :  || ((INTEGRAL_TYPE_P (TREE_TYPE (captures[2]))
    3288                 :           0 :  || POINTER_TYPE_P (TREE_TYPE (captures[2])))
    3289                 :          41 :  && bitwise_equal_p (captures[2], captures[5]))
    3290                 :             : )
    3291                 :             :     {
    3292                 :           2 :       {
    3293                 :           2 :  bool one_before = false;
    3294                 :           2 :  bool one_after = false;
    3295                 :           2 :  int cmp = 0;
    3296                 :           2 :  bool allbits = true;
    3297                 :           2 :  if (TREE_CODE (captures[2]) == INTEGER_CST
    3298                 :           2 :  && TREE_CODE (captures[5]) == INTEGER_CST)
    3299                 :             :  {
    3300                 :           2 :  allbits = TYPE_PRECISION (TREE_TYPE (captures[2])) <= TYPE_PRECISION (TREE_TYPE (captures[5]));
    3301                 :           2 :  auto t1 = wi::to_wide (fold_convert (TREE_TYPE (captures[5]), captures[2]));
    3302                 :           2 :  auto t2 = wi::to_wide (captures[5]);
    3303                 :           2 :  cmp = wi::cmp (t1, t2, TYPE_SIGN (TREE_TYPE (captures[5])));
    3304                 :           2 :  if (cmp < 0
    3305                 :           2 :  && t1 == t2 - 1)
    3306                 :             :  one_before = true;
    3307                 :           2 :  if (cmp > 0
    3308                 :           2 :  && t1 == t2 + 1)
    3309                 :             :  one_after = true;
    3310                 :             :  }
    3311                 :           2 :  bool val;
    3312                 :           2 :  switch (code2)
    3313                 :             :  {
    3314                 :           0 :  case EQ_EXPR: val = (cmp == 0); break;
    3315                 :           2 :  case NE_EXPR: val = (cmp != 0); break;
    3316                 :           0 :  case LT_EXPR: val = (cmp < 0); break;
    3317                 :           0 :  case GT_EXPR: val = (cmp > 0); break;
    3318                 :           0 :  case LE_EXPR: val = (cmp <= 0); break;
    3319                 :           0 :  case GE_EXPR: val = (cmp >= 0); break;
    3320                 :           0 :  default: gcc_unreachable ();
    3321                 :             :  }
    3322                 :           2 :           if (code1 == EQ_EXPR && val
    3323                 :             : )
    3324                 :             :             {
    3325                 :           0 :               if (TREE_SIDE_EFFECTS (_p1)) goto next_after_fail922;
    3326                 :           0 :               if (TREE_SIDE_EFFECTS (captures[5])) goto next_after_fail922;
    3327                 :           0 :               if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail922;
    3328                 :           0 :               {
    3329                 :           0 :                 tree _r;
    3330                 :           0 :                 _r = captures[0];
    3331                 :           0 :                 if (TREE_SIDE_EFFECTS (captures[4]))
    3332                 :           0 :                   _r = build2_loc (loc, COMPOUND_EXPR, type, fold_ignored_result (captures[4]), _r);
    3333                 :           0 :                 if (UNLIKELY (debug_dump)) generic_dump_logs ("match.pd", 674, __FILE__, __LINE__, true);
    3334                 :           0 :                 return _r;
    3335                 :             :               }
    3336                 :             : next_after_fail922:;
    3337                 :             :             }
    3338                 :             :           else
    3339                 :             :             {
    3340                 :           2 :               if (code1 == EQ_EXPR && !val
    3341                 :             : )
    3342                 :             :                 {
    3343                 :           0 :                   if (TREE_SIDE_EFFECTS (captures[2])) goto next_after_fail923;
    3344                 :           0 :                   if (TREE_SIDE_EFFECTS (captures[5])) goto next_after_fail923;
    3345                 :           0 :                   if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail923;
    3346                 :           0 :                   {
    3347                 :           0 :                     tree _r;
    3348                 :           0 :                     _r =  constant_boolean_node (false, type);
    3349                 :           0 :                     if (TREE_SIDE_EFFECTS (captures[4]))
    3350                 :           0 :                       _r = build2_loc (loc, COMPOUND_EXPR, type, fold_ignored_result (captures[4]), _r);
    3351                 :           0 :                     if (UNLIKELY (debug_dump)) generic_dump_logs ("match.pd", 675, __FILE__, __LINE__, true);
    3352                 :           0 :                     return _r;
    3353                 :             :                   }
    3354                 :             : next_after_fail923:;
    3355                 :             :                 }
    3356                 :             :               else
    3357                 :             :                 {
    3358                 :           2 :                   if (code1 == NE_EXPR && !val && allbits
    3359                 :             : )
    3360                 :             :                     {
    3361                 :           0 :                       if (TREE_SIDE_EFFECTS (_p0)) goto next_after_fail924;
    3362                 :           0 :                       if (TREE_SIDE_EFFECTS (captures[2])) goto next_after_fail924;
    3363                 :           0 :                       if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail924;
    3364                 :           0 :                       {
    3365                 :           0 :                         tree _r;
    3366                 :           0 :                         _r = captures[3];
    3367                 :           0 :                         if (UNLIKELY (debug_dump)) generic_dump_logs ("match.pd", 676, __FILE__, __LINE__, true);
    3368                 :           0 :                         return _r;
    3369                 :             :                       }
    3370                 :             : next_after_fail924:;
    3371                 :             :                     }
    3372                 :             :                   else
    3373                 :             :                     {
    3374                 :           2 :                       if (code1 == NE_EXPR
    3375                 :           2 :  && code2 == GE_EXPR
    3376                 :           0 :  && cmp == 0
    3377                 :           0 :  && allbits
    3378                 :             : )
    3379                 :             :                         {
    3380                 :           0 :                           if (TREE_SIDE_EFFECTS (captures[2])) goto next_after_fail925;
    3381                 :           0 :                           if (TREE_SIDE_EFFECTS (captures[5])) goto next_after_fail925;
    3382                 :           0 :                           if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail925;
    3383                 :           0 :                           {
    3384                 :           0 :                             tree res_op0;
    3385                 :           0 :                             res_op0 = captures[4];
    3386                 :           0 :                             tree res_op1;
    3387                 :           0 :                             {
    3388                 :           0 :                               tree _o1[1], _r1;
    3389                 :           0 :                               _o1[0] = captures[2];
    3390                 :           0 :                               if (TREE_TYPE (_o1[0]) != TREE_TYPE (res_op0))
    3391                 :             :                                 {
    3392                 :           0 :                                   _r1 = fold_build1_loc (loc, NOP_EXPR, TREE_TYPE (res_op0), _o1[0]);
    3393                 :             :                                 }
    3394                 :             :                               else
    3395                 :             :                                 _r1 = _o1[0];
    3396                 :           0 :                               res_op1 = _r1;
    3397                 :             :                             }
    3398                 :           0 :                             tree _r;
    3399                 :           0 :                             _r = fold_build2_loc (loc, GT_EXPR, type, res_op0, res_op1);
    3400                 :           0 :                             if (UNLIKELY (debug_dump)) generic_dump_logs ("match.pd", 677, __FILE__, __LINE__, true);
    3401                 :           0 :                             return _r;
    3402                 :             :                           }
    3403                 :             : next_after_fail925:;
    3404                 :             :                         }
    3405                 :             :                       else
    3406                 :             :                         {
    3407                 :           2 :                           if (code1 == NE_EXPR
    3408                 :           2 :  && code2 == LE_EXPR
    3409                 :           0 :  && cmp == 0
    3410                 :           0 :  && allbits
    3411                 :             : )
    3412                 :             :                             {
    3413                 :           0 :                               if (TREE_SIDE_EFFECTS (captures[2])) goto next_after_fail926;
    3414                 :           0 :                               if (TREE_SIDE_EFFECTS (captures[5])) goto next_after_fail926;
    3415                 :           0 :                               if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail926;
    3416                 :           0 :                               {
    3417                 :           0 :                                 tree res_op0;
    3418                 :           0 :                                 res_op0 = captures[4];
    3419                 :           0 :                                 tree res_op1;
    3420                 :           0 :                                 {
    3421                 :           0 :                                   tree _o1[1], _r1;
    3422                 :           0 :                                   _o1[0] = captures[2];
    3423                 :           0 :                                   if (TREE_TYPE (_o1[0]) != TREE_TYPE (res_op0))
    3424                 :             :                                     {
    3425                 :           0 :                                       _r1 = fold_build1_loc (loc, NOP_EXPR, TREE_TYPE (res_op0), _o1[0]);
    3426                 :             :                                     }
    3427                 :             :                                   else
    3428                 :             :                                     _r1 = _o1[0];
    3429                 :           0 :                                   res_op1 = _r1;
    3430                 :             :                                 }
    3431                 :           0 :                                 tree _r;
    3432                 :           0 :                                 _r = fold_build2_loc (loc, LT_EXPR, type, res_op0, res_op1);
    3433                 :           0 :                                 if (UNLIKELY (debug_dump)) generic_dump_logs ("match.pd", 678, __FILE__, __LINE__, true);
    3434                 :           0 :                                 return _r;
    3435                 :             :                               }
    3436                 :             : next_after_fail926:;
    3437                 :             :                             }
    3438                 :             :                           else
    3439                 :             :                             {
    3440                 :           2 :                               if (code1 == NE_EXPR
    3441                 :           2 :  && code2 == GT_EXPR
    3442                 :             :  && one_after
    3443                 :           0 :  && allbits
    3444                 :             : )
    3445                 :             :                                 {
    3446                 :           0 :                                   if (TREE_SIDE_EFFECTS (captures[2])) goto next_after_fail927;
    3447                 :           0 :                                   if (TREE_SIDE_EFFECTS (captures[5])) goto next_after_fail927;
    3448                 :           0 :                                   if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail927;
    3449                 :           0 :                                   {
    3450                 :           0 :                                     tree res_op0;
    3451                 :           0 :                                     res_op0 = captures[4];
    3452                 :           0 :                                     tree res_op1;
    3453                 :           0 :                                     {
    3454                 :           0 :                                       tree _o1[1], _r1;
    3455                 :           0 :                                       _o1[0] = captures[2];
    3456                 :           0 :                                       if (TREE_TYPE (_o1[0]) != TREE_TYPE (res_op0))
    3457                 :             :                                         {
    3458                 :           0 :                                           _r1 = fold_build1_loc (loc, NOP_EXPR, TREE_TYPE (res_op0), _o1[0]);
    3459                 :             :                                         }
    3460                 :             :                                       else
    3461                 :             :                                         _r1 = _o1[0];
    3462                 :           0 :                                       res_op1 = _r1;
    3463                 :             :                                     }
    3464                 :           0 :                                     tree _r;
    3465                 :           0 :                                     _r = fold_build2_loc (loc, GT_EXPR, type, res_op0, res_op1);
    3466                 :           0 :                                     if (UNLIKELY (debug_dump)) generic_dump_logs ("match.pd", 679, __FILE__, __LINE__, true);
    3467                 :           0 :                                     return _r;
    3468                 :             :                                   }
    3469                 :             : next_after_fail927:;
    3470                 :             :                                 }
    3471                 :             :                               else
    3472                 :             :                                 {
    3473                 :           2 :                                   if (code1 == NE_EXPR
    3474                 :           2 :  && code2 == LT_EXPR
    3475                 :             :  && one_before
    3476                 :           0 :  && allbits
    3477                 :             : )
    3478                 :             :                                     {
    3479                 :           0 :                                       if (TREE_SIDE_EFFECTS (captures[2])) goto next_after_fail928;
    3480                 :           0 :                                       if (TREE_SIDE_EFFECTS (captures[5])) goto next_after_fail928;
    3481                 :           0 :                                       if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail928;
    3482                 :           0 :                                       {
    3483                 :           0 :                                         tree res_op0;
    3484                 :           0 :                                         res_op0 = captures[4];
    3485                 :           0 :                                         tree res_op1;
    3486                 :           0 :                                         {
    3487                 :           0 :                                           tree _o1[1], _r1;
    3488                 :           0 :                                           _o1[0] = captures[2];
    3489                 :           0 :                                           if (TREE_TYPE (_o1[0]) != TREE_TYPE (res_op0))
    3490                 :             :                                             {
    3491                 :           0 :                                               _r1 = fold_build1_loc (loc, NOP_EXPR, TREE_TYPE (res_op0), _o1[0]);
    3492                 :             :                                             }
    3493                 :             :                                           else
    3494                 :             :                                             _r1 = _o1[0];
    3495                 :           0 :                                           res_op1 = _r1;
    3496                 :             :                                         }
    3497                 :           0 :                                         tree _r;
    3498                 :           0 :                                         _r = fold_build2_loc (loc, LT_EXPR, type, res_op0, res_op1);
    3499                 :           0 :                                         if (UNLIKELY (debug_dump)) generic_dump_logs ("match.pd", 680, __FILE__, __LINE__, true);
    3500                 :           0 :                                         return _r;
    3501                 :             :                                       }
    3502                 :             : next_after_fail928:;
    3503                 :             :                                     }
    3504                 :             :                                 }
    3505                 :             :                             }
    3506                 :             :                         }
    3507                 :             :                     }
    3508                 :             :                 }
    3509                 :             :             }
    3510                 :             :       }
    3511                 :             :     }
    3512                 :             :   return NULL_TREE;
    3513                 :             : }
    3514                 :             : 
    3515                 :             : tree
    3516                 :           4 : generic_simplify_457 (location_t ARG_UNUSED (loc), const tree ARG_UNUSED (type),
    3517                 :             :  tree ARG_UNUSED (_p0), tree *ARG_UNUSED (captures))
    3518                 :             : {
    3519                 :           4 :   const bool debug_dump = dump_file && (dump_flags & TDF_FOLDING);
    3520                 :           4 :   if (!TYPE_UNSIGNED (TREE_TYPE (captures[2]))
    3521                 :           7 :  && (element_precision (TREE_TYPE (captures[2]))
    3522                 :           3 :  <= element_precision (TREE_TYPE (captures[3]))
    3523                 :           0 :  || !TYPE_UNSIGNED (TREE_TYPE (captures[3])))
    3524                 :             : )
    3525                 :             :     {
    3526                 :           3 :       {
    3527                 :           3 :  tree shift_type = TREE_TYPE (captures[2]);
    3528                 :           3 :           if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail981;
    3529                 :           3 :           {
    3530                 :           3 :             tree res_op0;
    3531                 :           3 :             {
    3532                 :           3 :               tree _o1[2], _r1;
    3533                 :           3 :               {
    3534                 :           3 :                 tree _o2[1], _r2;
    3535                 :           3 :                 _o2[0] = captures[3];
    3536                 :           3 :                 if (TREE_TYPE (_o2[0]) != shift_type)
    3537                 :             :                   {
    3538                 :           1 :                     _r2 = fold_build1_loc (loc, NOP_EXPR, shift_type, _o2[0]);
    3539                 :             :                   }
    3540                 :             :                 else
    3541                 :             :                   _r2 = _o2[0];
    3542                 :           3 :                 _o1[0] = _r2;
    3543                 :             :               }
    3544                 :           3 :               _o1[1] = captures[4];
    3545                 :           3 :               _r1 = fold_build2_loc (loc, RSHIFT_EXPR, TREE_TYPE (_o1[0]), _o1[0], _o1[1]);
    3546                 :           3 :               res_op0 = _r1;
    3547                 :             :             }
    3548                 :           3 :             tree _r;
    3549                 :           3 :             _r = fold_build1_loc (loc, NOP_EXPR, type, res_op0);
    3550                 :           3 :             if (UNLIKELY (debug_dump)) generic_dump_logs ("match.pd", 701, __FILE__, __LINE__, true);
    3551                 :           3 :             return _r;
    3552                 :             :           }
    3553                 :           0 : next_after_fail981:;
    3554                 :             :       }
    3555                 :             :     }
    3556                 :             :   return NULL_TREE;
    3557                 :             : }
    3558                 :             : 
    3559                 :             : tree
    3560                 :         344 : generic_simplify_464 (location_t ARG_UNUSED (loc), const tree ARG_UNUSED (type),
    3561                 :             :  tree ARG_UNUSED (_p0), tree *ARG_UNUSED (captures))
    3562                 :             : {
    3563                 :         344 :   const bool debug_dump = dump_file && (dump_flags & TDF_FOLDING);
    3564                 :         344 :   if (tree_nop_conversion_p (type, TREE_TYPE (captures[0]))
    3565                 :         344 :  && wi::to_wide (captures[1]) == element_precision (type) - 1
    3566                 :             : )
    3567                 :             :     {
    3568                 :          44 :       {
    3569                 :          44 :  tree stype = TREE_TYPE (captures[0]);
    3570                 :          44 :  tree ntype = TYPE_UNSIGNED (stype) ? signed_type_for (stype)
    3571                 :           9 :  : unsigned_type_for (stype);
    3572                 :          44 :           if (VECTOR_TYPE_P (type)
    3573                 :             : )
    3574                 :             :             {
    3575                 :           0 :               if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail989;
    3576                 :           0 :               {
    3577                 :           0 :                 tree res_op0;
    3578                 :           0 :                 {
    3579                 :           0 :                   tree _o1[2], _r1;
    3580                 :           0 :                   {
    3581                 :           0 :                     tree _o2[1], _r2;
    3582                 :           0 :                     _o2[0] = captures[0];
    3583                 :           0 :                     if (TREE_TYPE (_o2[0]) != ntype)
    3584                 :             :                       {
    3585                 :           0 :                         _r2 = fold_build1_loc (loc, VIEW_CONVERT_EXPR, ntype, _o2[0]);
    3586                 :             :                       }
    3587                 :             :                     else
    3588                 :             :                       _r2 = _o2[0];
    3589                 :           0 :                     _o1[0] = _r2;
    3590                 :             :                   }
    3591                 :           0 :                   _o1[1] = captures[1];
    3592                 :           0 :                   _r1 = fold_build2_loc (loc, RSHIFT_EXPR, TREE_TYPE (_o1[0]), _o1[0], _o1[1]);
    3593                 :           0 :                   res_op0 = _r1;
    3594                 :             :                 }
    3595                 :           0 :                 tree _r;
    3596                 :           0 :                 _r = fold_build1_loc (loc, VIEW_CONVERT_EXPR, type, res_op0);
    3597                 :           0 :                 if (UNLIKELY (debug_dump)) generic_dump_logs ("match.pd", 711, __FILE__, __LINE__, true);
    3598                 :           0 :                 return _r;
    3599                 :             :               }
    3600                 :           0 : next_after_fail989:;
    3601                 :             :             }
    3602                 :             :           else
    3603                 :             :             {
    3604                 :          44 :               if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail990;
    3605                 :          44 :               {
    3606                 :          44 :                 tree res_op0;
    3607                 :          44 :                 {
    3608                 :          44 :                   tree _o1[2], _r1;
    3609                 :          44 :                   {
    3610                 :          44 :                     tree _o2[1], _r2;
    3611                 :          44 :                     _o2[0] = captures[0];
    3612                 :          44 :                     if (TREE_TYPE (_o2[0]) != ntype)
    3613                 :             :                       {
    3614                 :          44 :                         _r2 = fold_build1_loc (loc, NOP_EXPR, ntype, _o2[0]);
    3615                 :             :                       }
    3616                 :             :                     else
    3617                 :             :                       _r2 = _o2[0];
    3618                 :          44 :                     _o1[0] = _r2;
    3619                 :             :                   }
    3620                 :          44 :                   _o1[1] = captures[1];
    3621                 :          44 :                   _r1 = fold_build2_loc (loc, RSHIFT_EXPR, TREE_TYPE (_o1[0]), _o1[0], _o1[1]);
    3622                 :          44 :                   res_op0 = _r1;
    3623                 :             :                 }
    3624                 :          44 :                 tree _r;
    3625                 :          44 :                 _r = fold_build1_loc (loc, NOP_EXPR, type, res_op0);
    3626                 :          44 :                 if (UNLIKELY (debug_dump)) generic_dump_logs ("match.pd", 712, __FILE__, __LINE__, true);
    3627                 :          44 :                 return _r;
    3628                 :             :               }
    3629                 :           0 : next_after_fail990:;
    3630                 :             :             }
    3631                 :             :       }
    3632                 :             :     }
    3633                 :             :   return NULL_TREE;
    3634                 :             : }
    3635                 :             : 
    3636                 :             : tree
    3637                 :          21 : generic_simplify_483 (location_t ARG_UNUSED (loc), const tree ARG_UNUSED (type),
    3638                 :             :  tree ARG_UNUSED (_p0), tree ARG_UNUSED (_p1), tree ARG_UNUSED (_p2), tree *ARG_UNUSED (captures))
    3639                 :             : {
    3640                 :          21 :   const bool debug_dump = dump_file && (dump_flags & TDF_FOLDING);
    3641                 :          21 :   if (TREE_SIDE_EFFECTS (_p0)) goto next_after_fail1014;
    3642                 :          21 :   if (TREE_SIDE_EFFECTS (_p2)) goto next_after_fail1014;
    3643                 :          21 :   if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail1014;
    3644                 :          21 :   {
    3645                 :          21 :     tree _r;
    3646                 :          21 :     _r = captures[2];
    3647                 :          21 :     if (UNLIKELY (debug_dump)) generic_dump_logs ("match.pd", 735, __FILE__, __LINE__, true);
    3648                 :             :     return _r;
    3649                 :             :   }
    3650                 :             : next_after_fail1014:;
    3651                 :             :   return NULL_TREE;
    3652                 :             : }
    3653                 :             : 
    3654                 :             : tree
    3655                 :           0 : generic_simplify_488 (location_t ARG_UNUSED (loc), const tree ARG_UNUSED (type),
    3656                 :             :  tree ARG_UNUSED (_p0), tree ARG_UNUSED (_p1), tree ARG_UNUSED (_p2), tree *ARG_UNUSED (captures),
    3657                 :             :  const enum tree_code ARG_UNUSED (cmp))
    3658                 :             : {
    3659                 :           0 :   const bool debug_dump = dump_file && (dump_flags & TDF_FOLDING);
    3660                 :           0 :   if (TREE_SIDE_EFFECTS (_p0)) goto next_after_fail1019;
    3661                 :           0 :   if (TREE_SIDE_EFFECTS (_p1)) goto next_after_fail1019;
    3662                 :           0 :   if (TREE_SIDE_EFFECTS (_p2)) goto next_after_fail1019;
    3663                 :           0 :   if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail1019;
    3664                 :           0 :   {
    3665                 :           0 :     tree _r;
    3666                 :           0 :     _r = captures[3];
    3667                 :           0 :     if (UNLIKELY (debug_dump)) generic_dump_logs ("match.pd", 740, __FILE__, __LINE__, true);
    3668                 :             :     return _r;
    3669                 :             :   }
    3670                 :             : next_after_fail1019:;
    3671                 :             :   return NULL_TREE;
    3672                 :             : }
    3673                 :             : 
    3674                 :             : tree
    3675                 :          22 : generic_simplify_494 (location_t ARG_UNUSED (loc), const tree ARG_UNUSED (type),
    3676                 :             :  tree ARG_UNUSED (_p0), tree ARG_UNUSED (_p1), tree ARG_UNUSED (_p2), tree *ARG_UNUSED (captures),
    3677                 :             :  const enum tree_code ARG_UNUSED (cmp))
    3678                 :             : {
    3679                 :          22 :   const bool debug_dump = dump_file && (dump_flags & TDF_FOLDING);
    3680                 :          22 :   if (INTEGRAL_TYPE_P (type)
    3681                 :          22 :  && INTEGRAL_TYPE_P (TREE_TYPE (captures[0]))
    3682                 :          22 :  && !TYPE_UNSIGNED (TREE_TYPE (captures[0]))
    3683                 :          44 :  && TYPE_PRECISION (TREE_TYPE (captures[0])) == TYPE_PRECISION (type)
    3684                 :             : )
    3685                 :             :     {
    3686                 :          22 :       {
    3687                 :          22 :  tree shifter = build_int_cst (integer_type_node, TYPE_PRECISION (type) - 1);
    3688                 :          22 :           if (cmp == LT_EXPR
    3689                 :             : )
    3690                 :             :             {
    3691                 :          13 :               if (TREE_SIDE_EFFECTS (_p0)) goto next_after_fail1026;
    3692                 :          13 :               if (TREE_SIDE_EFFECTS (captures[1])) goto next_after_fail1026;
    3693                 :          13 :               if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail1026;
    3694                 :          13 :               {
    3695                 :          13 :                 tree res_op0;
    3696                 :          13 :                 {
    3697                 :          13 :                   tree _o1[1], _r1;
    3698                 :          13 :                   {
    3699                 :          13 :                     tree _o2[2], _r2;
    3700                 :          13 :                     _o2[0] = captures[0];
    3701                 :          13 :                     _o2[1] = shifter;
    3702                 :          13 :                     _r2 = fold_build2_loc (loc, RSHIFT_EXPR, TREE_TYPE (_o2[0]), _o2[0], _o2[1]);
    3703                 :          13 :                     _o1[0] = _r2;
    3704                 :             :                   }
    3705                 :          13 :                   if (TREE_TYPE (_o1[0]) != type)
    3706                 :             :                     {
    3707                 :           1 :                       _r1 = fold_build1_loc (loc, NOP_EXPR, type, _o1[0]);
    3708                 :             :                     }
    3709                 :             :                   else
    3710                 :             :                     _r1 = _o1[0];
    3711                 :          13 :                   res_op0 = _r1;
    3712                 :             :                 }
    3713                 :          13 :                 tree res_op1;
    3714                 :          13 :                 res_op1 = captures[1];
    3715                 :          13 :                 tree _r;
    3716                 :          13 :                 _r = fold_build2_loc (loc, BIT_XOR_EXPR, type, res_op0, res_op1);
    3717                 :          13 :                 if (UNLIKELY (debug_dump)) generic_dump_logs ("match.pd", 746, __FILE__, __LINE__, true);
    3718                 :          13 :                 return _r;
    3719                 :             :               }
    3720                 :             : next_after_fail1026:;
    3721                 :             :             }
    3722                 :             :           else
    3723                 :             :             {
    3724                 :           9 :               if (TREE_SIDE_EFFECTS (_p0)) goto next_after_fail1027;
    3725                 :           9 :               if (TREE_SIDE_EFFECTS (captures[1])) goto next_after_fail1027;
    3726                 :           9 :               if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail1027;
    3727                 :           9 :               {
    3728                 :           9 :                 tree res_op0;
    3729                 :           9 :                 {
    3730                 :           9 :                   tree _o1[2], _r1;
    3731                 :           9 :                   {
    3732                 :           9 :                     tree _o2[1], _r2;
    3733                 :           9 :                     {
    3734                 :           9 :                       tree _o3[2], _r3;
    3735                 :           9 :                       _o3[0] = captures[0];
    3736                 :           9 :                       _o3[1] = shifter;
    3737                 :           9 :                       _r3 = fold_build2_loc (loc, RSHIFT_EXPR, TREE_TYPE (_o3[0]), _o3[0], _o3[1]);
    3738                 :           9 :                       _o2[0] = _r3;
    3739                 :             :                     }
    3740                 :           9 :                     if (TREE_TYPE (_o2[0]) != type)
    3741                 :             :                       {
    3742                 :           1 :                         _r2 = fold_build1_loc (loc, NOP_EXPR, type, _o2[0]);
    3743                 :             :                       }
    3744                 :             :                     else
    3745                 :             :                       _r2 = _o2[0];
    3746                 :           9 :                     _o1[0] = _r2;
    3747                 :             :                   }
    3748                 :           9 :                   _o1[1] = captures[1];
    3749                 :           9 :                   _r1 = fold_build2_loc (loc, BIT_XOR_EXPR, TREE_TYPE (_o1[0]), _o1[0], _o1[1]);
    3750                 :           9 :                   res_op0 = _r1;
    3751                 :             :                 }
    3752                 :           9 :                 tree _r;
    3753                 :           9 :                 _r = fold_build1_loc (loc, BIT_NOT_EXPR, type, res_op0);
    3754                 :           9 :                 if (UNLIKELY (debug_dump)) generic_dump_logs ("match.pd", 747, __FILE__, __LINE__, true);
    3755                 :           9 :                 return _r;
    3756                 :             :               }
    3757                 :             : next_after_fail1027:;
    3758                 :             :             }
    3759                 :             :       }
    3760                 :             :     }
    3761                 :             :   return NULL_TREE;
    3762                 :             : }
    3763                 :             : 
    3764                 :             : tree
    3765                 :           0 : generic_simplify_511 (location_t ARG_UNUSED (loc), const tree ARG_UNUSED (type),
    3766                 :             :  tree ARG_UNUSED (_p0), tree ARG_UNUSED (_p1), tree *ARG_UNUSED (captures),
    3767                 :             :  const combined_fn ARG_UNUSED (FMIN_ALL))
    3768                 :             : {
    3769                 :           0 :   const bool debug_dump = dump_file && (dump_flags & TDF_FOLDING);
    3770                 :           0 :   if (flag_finite_math_only
    3771                 :             : )
    3772                 :             :     {
    3773                 :           0 :       if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail1057;
    3774                 :           0 :       {
    3775                 :           0 :         tree res_op0;
    3776                 :           0 :         res_op0 = captures[0];
    3777                 :           0 :         tree res_op1;
    3778                 :           0 :         res_op1 = captures[1];
    3779                 :           0 :         tree _r;
    3780                 :           0 :         _r = fold_build2_loc (loc, MIN_EXPR, type, res_op0, res_op1);
    3781                 :           0 :         if (UNLIKELY (debug_dump)) generic_dump_logs ("match.pd", 764, __FILE__, __LINE__, true);
    3782                 :           0 :         return _r;
    3783                 :             :       }
    3784                 :           0 : next_after_fail1057:;
    3785                 :             :     }
    3786                 :             :   return NULL_TREE;
    3787                 :             : }
    3788                 :             : 
    3789                 :             : tree
    3790                 :           0 : generic_simplify_519 (location_t ARG_UNUSED (loc), const tree ARG_UNUSED (type),
    3791                 :             :  tree ARG_UNUSED (_p0), tree *ARG_UNUSED (captures),
    3792                 :             :  const enum tree_code ARG_UNUSED (bitop),
    3793                 :             :  const combined_fn ARG_UNUSED (bswap))
    3794                 :             : {
    3795                 :           0 :   const bool debug_dump = dump_file && (dump_flags & TDF_FOLDING);
    3796                 :           0 :   if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail1068;
    3797                 :           0 :   {
    3798                 :           0 :     tree res_op0;
    3799                 :           0 :     res_op0 = captures[0];
    3800                 :           0 :     tree res_op1;
    3801                 :           0 :     {
    3802                 :           0 :       tree _o1[1], _r1;
    3803                 :           0 :       _o1[0] = captures[1];
    3804                 :           0 :       _r1 = maybe_build_call_expr_loc (loc, bswap, TREE_TYPE (_o1[0]), 1, _o1[0]);
    3805                 :           0 :       if (!_r1)
    3806                 :           0 :         goto next_after_fail1068;
    3807                 :           0 :       res_op1 = _r1;
    3808                 :             :     }
    3809                 :           0 :     tree _r;
    3810                 :           0 :     _r = fold_build2_loc (loc, bitop, type, res_op0, res_op1);
    3811                 :           0 :     if (UNLIKELY (debug_dump)) generic_dump_logs ("match.pd", 775, __FILE__, __LINE__, true);
    3812                 :             :     return _r;
    3813                 :             :   }
    3814                 :             : next_after_fail1068:;
    3815                 :             :   return NULL_TREE;
    3816                 :             : }
    3817                 :             : 
    3818                 :             : tree
    3819                 :           0 : generic_simplify_530 (location_t ARG_UNUSED (loc), const tree ARG_UNUSED (type),
    3820                 :             :  tree ARG_UNUSED (_p0), tree ARG_UNUSED (_p1), tree ARG_UNUSED (_p2), tree *ARG_UNUSED (captures),
    3821                 :             :  const combined_fn ARG_UNUSED (cond_len_op))
    3822                 :             : {
    3823                 :           0 :   const bool debug_dump = dump_file && (dump_flags & TDF_FOLDING);
    3824                 :           0 :   {
    3825                 :           0 :  tree op_type = TREE_TYPE (captures[5]);
    3826                 :           0 :       if (inverse_conditions_p (captures[0], captures[2])
    3827                 :           0 :  && element_precision (type) == element_precision (op_type)
    3828                 :             : )
    3829                 :             :         {
    3830                 :           0 :           if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail1079;
    3831                 :           0 :           {
    3832                 :           0 :             tree res_op0;
    3833                 :           0 :             {
    3834                 :           0 :               tree _o1[6], _r1;
    3835                 :           0 :               _o1[0] = captures[2];
    3836                 :           0 :               _o1[1] = captures[3];
    3837                 :           0 :               _o1[2] = captures[4];
    3838                 :           0 :               {
    3839                 :           0 :                 tree _o2[1], _r2;
    3840                 :           0 :                 _o2[0] = captures[1];
    3841                 :           0 :                 if (TREE_TYPE (_o2[0]) != op_type)
    3842                 :             :                   {
    3843                 :           0 :                     _r2 = fold_build1_loc (loc, VIEW_CONVERT_EXPR, op_type, _o2[0]);
    3844                 :             :                   }
    3845                 :             :                 else
    3846                 :             :                   _r2 = _o2[0];
    3847                 :           0 :                 _o1[3] = _r2;
    3848                 :             :               }
    3849                 :           0 :               _o1[4] = captures[6];
    3850                 :           0 :               _o1[5] = captures[7];
    3851                 :           0 :               _r1 = maybe_build_call_expr_loc (loc, cond_len_op, TREE_TYPE (_o1[1]), 6, _o1[0], _o1[1], _o1[2], _o1[3], _o1[4], _o1[5]);
    3852                 :           0 :               if (!_r1)
    3853                 :           0 :                 goto next_after_fail1079;
    3854                 :           0 :               res_op0 = _r1;
    3855                 :             :             }
    3856                 :           0 :             tree _r;
    3857                 :           0 :             _r = fold_build1_loc (loc, VIEW_CONVERT_EXPR, type, res_op0);
    3858                 :           0 :             if (TREE_SIDE_EFFECTS (captures[0]))
    3859                 :           0 :               _r = build2_loc (loc, COMPOUND_EXPR, type, fold_ignored_result (captures[0]), _r);
    3860                 :           0 :             if (TREE_SIDE_EFFECTS (captures[5]))
    3861                 :           0 :               _r = build2_loc (loc, COMPOUND_EXPR, type, fold_ignored_result (captures[5]), _r);
    3862                 :           0 :             if (UNLIKELY (debug_dump)) generic_dump_logs ("match.pd", 781, __FILE__, __LINE__, true);
    3863                 :           0 :             return _r;
    3864                 :             :           }
    3865                 :             : next_after_fail1079:;
    3866                 :             :         }
    3867                 :             :   }
    3868                 :             :   return NULL_TREE;
    3869                 :             : }
    3870                 :             : 
    3871                 :             : tree
    3872                 :           0 : generic_simplify_539 (location_t ARG_UNUSED (loc), const tree ARG_UNUSED (type),
    3873                 :             :  tree ARG_UNUSED (_p0), tree ARG_UNUSED (_p1), tree *ARG_UNUSED (captures),
    3874                 :             :  const combined_fn ARG_UNUSED (ovf))
    3875                 :             : {
    3876                 :           0 :   const bool debug_dump = dump_file && (dump_flags & TDF_FOLDING);
    3877                 :           0 :   if (INTEGRAL_TYPE_P (TREE_TYPE (captures[2]))
    3878                 :           0 :  && INTEGRAL_TYPE_P (TREE_TYPE (captures[1]))
    3879                 :           0 :  && TYPE_PRECISION (TREE_TYPE (captures[1])) > TYPE_PRECISION (TREE_TYPE (captures[2]))
    3880                 :           0 :  && (!TYPE_UNSIGNED (TREE_TYPE (captures[1])) || TYPE_UNSIGNED (TREE_TYPE (captures[2])))
    3881                 :             : )
    3882                 :             :     {
    3883                 :           0 :       if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail1088;
    3884                 :           0 :       {
    3885                 :           0 :         tree res_op0;
    3886                 :           0 :         res_op0 = captures[0];
    3887                 :           0 :         tree res_op1;
    3888                 :           0 :         res_op1 = captures[2];
    3889                 :           0 :         tree _r;
    3890                 :           0 :         _r = maybe_build_call_expr_loc (loc, ovf, type, 2, res_op0, res_op1);
    3891                 :           0 :         if (!_r)
    3892                 :           0 :           goto next_after_fail1088;
    3893                 :           0 :         if (UNLIKELY (debug_dump)) generic_dump_logs ("match.pd", 790, __FILE__, __LINE__, true);
    3894                 :           0 :         return _r;
    3895                 :             :       }
    3896                 :             : next_after_fail1088:;
    3897                 :             :     }
    3898                 :             :   return NULL_TREE;
    3899                 :             : }
    3900                 :             : 
    3901                 :             : tree
    3902                 :           0 : generic_simplify_550 (location_t ARG_UNUSED (loc), const tree ARG_UNUSED (type),
    3903                 :             :  tree ARG_UNUSED (_p0), tree *ARG_UNUSED (captures),
    3904                 :             :  const combined_fn ARG_UNUSED (floors),
    3905                 :             :  const combined_fn ARG_UNUSED (truncs))
    3906                 :             : {
    3907                 :           0 :   const bool debug_dump = dump_file && (dump_flags & TDF_FOLDING);
    3908                 :           0 :   if (canonicalize_math_p ()
    3909                 :             : )
    3910                 :             :     {
    3911                 :           0 :       if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail1099;
    3912                 :           0 :       {
    3913                 :           0 :         tree res_op0;
    3914                 :           0 :         res_op0 = captures[0];
    3915                 :           0 :         tree _r;
    3916                 :           0 :         _r = maybe_build_call_expr_loc (loc, truncs, type, 1, res_op0);
    3917                 :           0 :         if (!_r)
    3918                 :           0 :           goto next_after_fail1099;
    3919                 :           0 :         if (UNLIKELY (debug_dump)) generic_dump_logs ("match.pd", 801, __FILE__, __LINE__, true);
    3920                 :           0 :         return _r;
    3921                 :             :       }
    3922                 :             : next_after_fail1099:;
    3923                 :             :     }
    3924                 :             :   return NULL_TREE;
    3925                 :             : }
    3926                 :             : 
    3927                 :             : tree
    3928                 :           0 : generic_simplify_556 (location_t ARG_UNUSED (loc), const tree ARG_UNUSED (type),
    3929                 :             :  tree ARG_UNUSED (_p0), tree *ARG_UNUSED (captures),
    3930                 :             :  const combined_fn ARG_UNUSED (fns))
    3931                 :             : {
    3932                 :           0 :   const bool debug_dump = dump_file && (dump_flags & TDF_FOLDING);
    3933                 :           0 :   if (canonicalize_math_p ()
    3934                 :             : )
    3935                 :             :     {
    3936                 :           0 :       if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail1105;
    3937                 :           0 :       {
    3938                 :           0 :         tree res_op0;
    3939                 :           0 :         res_op0 = captures[0];
    3940                 :           0 :         tree _r;
    3941                 :           0 :         _r = fold_build1_loc (loc, FIX_TRUNC_EXPR, type, res_op0);
    3942                 :           0 :         if (UNLIKELY (debug_dump)) generic_dump_logs ("match.pd", 807, __FILE__, __LINE__, true);
    3943                 :           0 :         return _r;
    3944                 :             :       }
    3945                 :           0 : next_after_fail1105:;
    3946                 :             :     }
    3947                 :             :   return NULL_TREE;
    3948                 :             : }
    3949                 :             : 
    3950                 :             : tree
    3951                 :           0 : generic_simplify_565 (location_t ARG_UNUSED (loc), const tree ARG_UNUSED (type),
    3952                 :             :  tree ARG_UNUSED (_p0), tree ARG_UNUSED (_p1), tree ARG_UNUSED (_p2), tree *ARG_UNUSED (captures))
    3953                 :             : {
    3954                 :           0 :   const bool debug_dump = dump_file && (dump_flags & TDF_FOLDING);
    3955                 :           0 :   if (canonicalize_math_after_vectorization_p ()
    3956                 :             : )
    3957                 :             :     {
    3958                 :             :       if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail1114;
    3959                 :             :       {
    3960                 :             :         tree res_op0;
    3961                 :             :         res_op0 = captures[0];
    3962                 :             :         tree res_op1;
    3963                 :             :         res_op1 = captures[1];
    3964                 :             :         tree res_op2;
    3965                 :             :         res_op2 = captures[2];
    3966                 :             :         tree _r;
    3967                 :             :         _r = maybe_build_call_expr_loc (loc, CFN_FNMS, type, 3, res_op0, res_op1, res_op2);
    3968                 :             :         if (!_r)
    3969                 :             :           goto next_after_fail1114;
    3970                 :             :         if (UNLIKELY (debug_dump)) generic_dump_logs ("match.pd", 816, __FILE__, __LINE__, true);
    3971                 :             :         return _r;
    3972                 :             :       }
    3973                 :           0 : next_after_fail1114:;
    3974                 :             :     }
    3975                 :           0 :   return NULL_TREE;
    3976                 :             : }
    3977                 :             : 
    3978                 :             : tree
    3979                 :           0 : generic_simplify_575 (location_t ARG_UNUSED (loc), const tree ARG_UNUSED (type),
    3980                 :             :  tree ARG_UNUSED (_p0), tree *ARG_UNUSED (captures),
    3981                 :             :  const combined_fn ARG_UNUSED (bswap),
    3982                 :             :  const combined_fn ARG_UNUSED (popcount))
    3983                 :             : {
    3984                 :           0 :   const bool debug_dump = dump_file && (dump_flags & TDF_FOLDING);
    3985                 :           0 :   if (INTEGRAL_TYPE_P (TREE_TYPE (captures[0]))
    3986                 :           0 :  && INTEGRAL_TYPE_P (TREE_TYPE (captures[1]))
    3987                 :             : )
    3988                 :             :     {
    3989                 :           0 :       {
    3990                 :           0 :  tree type0 = TREE_TYPE (captures[0]);
    3991                 :           0 :  tree type1 = TREE_TYPE (captures[1]);
    3992                 :           0 :  unsigned int prec0 = TYPE_PRECISION (type0);
    3993                 :           0 :  unsigned int prec1 = TYPE_PRECISION (type1);
    3994                 :           0 :           if (prec0 == prec1 || (prec0 > prec1 && TYPE_UNSIGNED (type1))
    3995                 :             : )
    3996                 :             :             {
    3997                 :           0 :               if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail1124;
    3998                 :           0 :               {
    3999                 :           0 :                 tree res_op0;
    4000                 :           0 :                 {
    4001                 :           0 :                   tree _o1[1], _r1;
    4002                 :           0 :                   {
    4003                 :           0 :                     tree _o2[1], _r2;
    4004                 :           0 :                     _o2[0] = captures[2];
    4005                 :           0 :                     if (TREE_TYPE (_o2[0]) != type1)
    4006                 :             :                       {
    4007                 :           0 :                         _r2 = fold_build1_loc (loc, NOP_EXPR, type1, _o2[0]);
    4008                 :             :                       }
    4009                 :             :                     else
    4010                 :             :                       _r2 = _o2[0];
    4011                 :           0 :                     _o1[0] = _r2;
    4012                 :             :                   }
    4013                 :           0 :                   if (TREE_TYPE (_o1[0]) != type0)
    4014                 :             :                     {
    4015                 :           0 :                       _r1 = fold_build1_loc (loc, NOP_EXPR, type0, _o1[0]);
    4016                 :             :                     }
    4017                 :             :                   else
    4018                 :             :                     _r1 = _o1[0];
    4019                 :           0 :                   res_op0 = _r1;
    4020                 :             :                 }
    4021                 :           0 :                 tree _r;
    4022                 :           0 :                 _r = maybe_build_call_expr_loc (loc, popcount, type, 1, res_op0);
    4023                 :           0 :                 if (!_r)
    4024                 :           0 :                   goto next_after_fail1124;
    4025                 :           0 :                 if (UNLIKELY (debug_dump)) generic_dump_logs ("match.pd", 823, __FILE__, __LINE__, true);
    4026                 :           0 :                 return _r;
    4027                 :             :               }
    4028                 :             : next_after_fail1124:;
    4029                 :             :             }
    4030                 :             :       }
    4031                 :             :     }
    4032                 :             :   return NULL_TREE;
    4033                 :             : }
    4034                 :             : 
    4035                 :             : tree
    4036                 :           0 : generic_simplify_586 (location_t ARG_UNUSED (loc), const tree ARG_UNUSED (type),
    4037                 :             :  tree ARG_UNUSED (_p0), tree *ARG_UNUSED (captures),
    4038                 :             :  const combined_fn ARG_UNUSED (reduc))
    4039                 :             : {
    4040                 :           0 :   const bool debug_dump = dump_file && (dump_flags & TDF_FOLDING);
    4041                 :           0 :   {
    4042                 :           0 :  tree ctor = (TREE_CODE (captures[0]) == SSA_NAME
    4043                 :           0 :  ? gimple_assign_rhs1 (SSA_NAME_DEF_STMT (captures[0])) : captures[0]);
    4044                 :           0 :  tree elt = ctor_single_nonzero_element (ctor);
    4045                 :           0 :       if (elt
    4046                 :           0 :  && !HONOR_SNANS (type)
    4047                 :           0 :  && !HONOR_SIGNED_ZEROS (type)
    4048                 :             : )
    4049                 :             :         {
    4050                 :           0 :           if (TREE_SIDE_EFFECTS (captures[0])) goto next_after_fail1136;
    4051                 :           0 :           if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail1136;
    4052                 :           0 :           {
    4053                 :           0 :             tree _r;
    4054                 :           0 :             _r =  elt;
    4055                 :           0 :             if (UNLIKELY (debug_dump)) generic_dump_logs ("match.pd", 831, __FILE__, __LINE__, true);
    4056                 :           0 :             return _r;
    4057                 :             :           }
    4058                 :             : next_after_fail1136:;
    4059                 :             :         }
    4060                 :             :   }
    4061                 :             :   return NULL_TREE;
    4062                 :             : }
    4063                 :             : 
    4064                 :             : tree
    4065                 :      510356 : generic_simplify_FIX_TRUNC_EXPR (location_t ARG_UNUSED (loc), enum tree_code ARG_UNUSED (code), const tree ARG_UNUSED (type), tree _p0)
    4066                 :             : {
    4067                 :      510356 :   const bool debug_dump = dump_file && (dump_flags & TDF_FOLDING);
    4068                 :      510356 :   {
    4069                 :      510356 :     tree captures[1] ATTRIBUTE_UNUSED = { _p0 };
    4070                 :     1020712 :     if ((
    4071                 :             : 
    4072                 :             :  && useless_type_conversion_p (type, TREE_TYPE (captures[0])))
    4073                 :             :  || (
    4074                 :             : 1
    4075                 :      510356 :  && type == TREE_TYPE (captures[0]))
    4076                 :             : )
    4077                 :             :       {
    4078                 :           0 :         if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail1213;
    4079                 :           0 :         {
    4080                 :           0 :           tree _r;
    4081                 :           0 :           _r = captures[0];
    4082                 :           0 :           if (UNLIKELY (debug_dump)) generic_dump_logs ("match.pd", 844, __FILE__, __LINE__, true);
    4083                 :           0 :           return _r;
    4084                 :             :         }
    4085                 :           0 : next_after_fail1213:;
    4086                 :             :       }
    4087                 :             :   }
    4088                 :      510356 :   switch (TREE_CODE (_p0))
    4089                 :             :     {
    4090                 :       14986 :     CASE_CONVERT:
    4091                 :       14986 :       {
    4092                 :       14986 :         tree _q20 = TREE_OPERAND (_p0, 0);
    4093                 :       14986 :         {
    4094                 :       14986 :           tree captures[2] ATTRIBUTE_UNUSED = { _p0, _q20 };
    4095                 :       14986 :           {
    4096                 :       14986 :  tree inside_type = TREE_TYPE (captures[1]);
    4097                 :       14986 :  tree inter_type = TREE_TYPE (captures[0]);
    4098                 :       14986 :  int inside_int = INTEGRAL_TYPE_P (inside_type);
    4099                 :       14986 :  int inside_ptr = POINTER_TYPE_P (inside_type);
    4100                 :       14986 :  int inside_float = FLOAT_TYPE_P (inside_type);
    4101                 :       14986 :  int inside_vec = VECTOR_TYPE_P (inside_type);
    4102                 :       14986 :  unsigned int inside_prec = element_precision (inside_type);
    4103                 :       14986 :  int inside_unsignedp = TYPE_UNSIGNED (inside_type);
    4104                 :       14986 :  int inter_int = INTEGRAL_TYPE_P (inter_type);
    4105                 :       14986 :  int inter_ptr = POINTER_TYPE_P (inter_type);
    4106                 :       14986 :  int inter_float = FLOAT_TYPE_P (inter_type);
    4107                 :       14986 :  int inter_vec = VECTOR_TYPE_P (inter_type);
    4108                 :       14986 :  unsigned int inter_prec = element_precision (inter_type);
    4109                 :       14986 :  int inter_unsignedp = TYPE_UNSIGNED (inter_type);
    4110                 :       14986 :  int final_int = INTEGRAL_TYPE_P (type);
    4111                 :       14986 :  int final_ptr = POINTER_TYPE_P (type);
    4112                 :       14986 :  int final_float = FLOAT_TYPE_P (type);
    4113                 :       14986 :  int final_vec = VECTOR_TYPE_P (type);
    4114                 :       14986 :  unsigned int final_prec = element_precision (type);
    4115                 :       14986 :  int final_unsignedp = TYPE_UNSIGNED (type);
    4116                 :       14986 :               if (((
    4117                 :             : 
    4118                 :             :  && useless_type_conversion_p (type, inside_type))
    4119                 :             :  || (
    4120                 :             : 1
    4121                 :       14986 :  && TYPE_MAIN_VARIANT (type) == TYPE_MAIN_VARIANT (inside_type)))
    4122                 :           0 :  && (((inter_int || inter_ptr) && final_int)
    4123                 :           0 :  || (inter_float && final_float))
    4124                 :       14986 :  && inter_prec >= final_prec
    4125                 :             : )
    4126                 :             :                 {
    4127                 :           0 :                   if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail1214;
    4128                 :           0 :                   {
    4129                 :           0 :                     tree res_op0;
    4130                 :           0 :                     res_op0 = captures[1];
    4131                 :           0 :                     tree _r;
    4132                 :           0 :                     _r = fold_build1_loc (loc, FIX_TRUNC_EXPR, type, res_op0);
    4133                 :           0 :                     if (UNLIKELY (debug_dump)) generic_dump_logs ("match.pd", 845, __FILE__, __LINE__, true);
    4134                 :           0 :                     return _r;
    4135                 :             :                   }
    4136                 :           0 : next_after_fail1214:;
    4137                 :             :                 }
    4138                 :             :               else
    4139                 :             :                 {
    4140                 :       14986 :                   if (((inter_int && inside_int) || (inter_float && inside_float))
    4141                 :       14986 :  && (final_int || final_float)
    4142                 :       14986 :  && inter_prec >= inside_prec
    4143                 :       14768 :  && (inter_float || inter_unsignedp == inside_unsignedp)
    4144                 :             : )
    4145                 :             :                     {
    4146                 :       14768 :                       if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail1215;
    4147                 :       14768 :                       {
    4148                 :       14768 :                         tree res_op0;
    4149                 :       14768 :                         res_op0 = captures[1];
    4150                 :       14768 :                         tree _r;
    4151                 :       14768 :                         _r = fold_build1_loc (loc, FIX_TRUNC_EXPR, type, res_op0);
    4152                 :       14768 :                         if (UNLIKELY (debug_dump)) generic_dump_logs ("match.pd", 846, __FILE__, __LINE__, true);
    4153                 :       14768 :                         return _r;
    4154                 :             :                       }
    4155                 :           0 : next_after_fail1215:;
    4156                 :           0 :                     }
    4157                 :             :                   else
    4158                 :             :                     {
    4159                 :         218 :                       if (inside_int && inter_int && final_int
    4160                 :           0 :  && ((inside_prec < inter_prec && inter_prec < final_prec
    4161                 :           0 :  && inside_unsignedp && !inter_unsignedp)
    4162                 :           0 :  || final_prec == inter_prec
    4163                 :           0 :  || (inside_prec < inter_prec && inter_prec > final_prec
    4164                 :           0 :  && !inside_unsignedp && inter_unsignedp))
    4165                 :             : )
    4166                 :             :                         {
    4167                 :           0 :                           if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail1216;
    4168                 :           0 :                           {
    4169                 :           0 :                             tree res_op0;
    4170                 :           0 :                             res_op0 = captures[1];
    4171                 :           0 :                             tree _r;
    4172                 :           0 :                             _r = fold_build1_loc (loc, FIX_TRUNC_EXPR, type, res_op0);
    4173                 :           0 :                             if (UNLIKELY (debug_dump)) generic_dump_logs ("match.pd", 847, __FILE__, __LINE__, true);
    4174                 :           0 :                             return _r;
    4175                 :             :                           }
    4176                 :           0 : next_after_fail1216:;
    4177                 :           0 :                         }
    4178                 :             :                       else
    4179                 :             :                         {
    4180                 :         218 :                           if (! inside_float && ! inter_float && ! final_float
    4181                 :             :  && ! inside_vec && ! inter_vec && ! final_vec
    4182                 :           0 :  && (inter_prec >= inside_prec || inter_prec >= final_prec)
    4183                 :           0 :  && ! (inside_int && inter_int
    4184                 :           0 :  && inter_unsignedp != inside_unsignedp
    4185                 :           0 :  && inter_prec < final_prec)
    4186                 :           0 :  && ((inter_unsignedp && inter_prec > inside_prec)
    4187                 :           0 :  == (final_unsignedp && final_prec > inter_prec))
    4188                 :           0 :  && ! (inside_ptr && inter_prec != final_prec)
    4189                 :           0 :  && ! (final_ptr && inside_prec != inter_prec)
    4190                 :             : )
    4191                 :             :                             {
    4192                 :           0 :                               if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail1217;
    4193                 :           0 :                               {
    4194                 :           0 :                                 tree res_op0;
    4195                 :           0 :                                 res_op0 = captures[1];
    4196                 :           0 :                                 tree _r;
    4197                 :           0 :                                 _r = fold_build1_loc (loc, FIX_TRUNC_EXPR, type, res_op0);
    4198                 :           0 :                                 if (UNLIKELY (debug_dump)) generic_dump_logs ("match.pd", 848, __FILE__, __LINE__, true);
    4199                 :           0 :                                 return _r;
    4200                 :             :                               }
    4201                 :           0 : next_after_fail1217:;
    4202                 :           0 :                             }
    4203                 :             :                           else
    4204                 :             :                             {
    4205                 :         218 :                               if (inside_int && inter_int && final_int
    4206                 :           0 :  && final_prec <= inside_prec
    4207                 :           0 :  && inter_prec >= inside_prec
    4208                 :             : )
    4209                 :             :                                 {
    4210                 :           0 :                                   if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail1218;
    4211                 :           0 :                                   {
    4212                 :           0 :                                     tree res_op0;
    4213                 :           0 :                                     res_op0 = captures[1];
    4214                 :           0 :                                     tree _r;
    4215                 :           0 :                                     _r = fold_build1_loc (loc, NOP_EXPR, type, res_op0);
    4216                 :           0 :                                     if (UNLIKELY (debug_dump)) generic_dump_logs ("match.pd", 849, __FILE__, __LINE__, true);
    4217                 :           0 :                                     return _r;
    4218                 :             :                                   }
    4219                 :           0 : next_after_fail1218:;
    4220                 :           0 :                                 }
    4221                 :             :                               else
    4222                 :             :                                 {
    4223                 :             :                                   if (0
    4224                 :             :  && final_int && inter_int && inside_int
    4225                 :             :  && final_prec >= inside_prec
    4226                 :             :  && inside_prec > inter_prec
    4227                 :             :  && inter_unsignedp
    4228                 :             : )
    4229                 :             :                                     {
    4230                 :             :                                       if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail1219;
    4231                 :             :                                       {
    4232                 :             :                                         tree res_op0;
    4233                 :             :                                         {
    4234                 :             :                                           tree _o1[2], _r1;
    4235                 :             :                                           _o1[0] = captures[1];
    4236                 :             :                                           _o1[1] =  wide_int_to_tree
    4237                 :             :  (inside_type,
    4238                 :             :  wi::mask (inter_prec, false,
    4239                 :             :  TYPE_PRECISION (inside_type)));
    4240                 :             :                                           _r1 = fold_build2_loc (loc, BIT_AND_EXPR, TREE_TYPE (_o1[0]), _o1[0], _o1[1]);
    4241                 :             :                                           res_op0 = _r1;
    4242                 :             :                                         }
    4243                 :             :                                         tree _r;
    4244                 :             :                                         _r = fold_build1_loc (loc, NOP_EXPR, type, res_op0);
    4245                 :             :                                         if (UNLIKELY (debug_dump)) generic_dump_logs ("match.pd", 850, __FILE__, __LINE__, true);
    4246                 :             :                                         return _r;
    4247                 :             :                                       }
    4248                 :             : next_after_fail1219:;
    4249                 :             :                                     }
    4250                 :             :                                   else
    4251                 :             :                                     {
    4252                 :             :                                       if (0
    4253                 :             :  && inside_int && inter_float && final_int &&
    4254                 :             :  (unsigned) significand_size (TYPE_MODE (inter_type))
    4255                 :             :  >= inside_prec - !inside_unsignedp
    4256                 :             : )
    4257                 :             :                                         {
    4258                 :             :                                           if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail1220;
    4259                 :             :                                           {
    4260                 :             :                                             tree res_op0;
    4261                 :             :                                             res_op0 = captures[1];
    4262                 :             :                                             tree _r;
    4263                 :             :                                             _r = fold_build1_loc (loc, NOP_EXPR, type, res_op0);
    4264                 :             :                                             if (UNLIKELY (debug_dump)) generic_dump_logs ("match.pd", 851, __FILE__, __LINE__, true);
    4265                 :             :                                             return _r;
    4266                 :             :                                           }
    4267                 :             : next_after_fail1220:;
    4268                 :             :                                         }
    4269                 :             :                                     }
    4270                 :             :                                 }
    4271                 :             :                             }
    4272                 :             :                         }
    4273                 :             :                     }
    4274                 :             :                 }
    4275                 :             :           }
    4276                 :             :         }
    4277                 :         218 :         break;
    4278                 :             :       }
    4279                 :         588 :     case FLOAT_EXPR:
    4280                 :         588 :       {
    4281                 :         588 :         tree _q20 = TREE_OPERAND (_p0, 0);
    4282                 :         588 :         {
    4283                 :         588 :           tree captures[2] ATTRIBUTE_UNUSED = { _p0, _q20 };
    4284                 :         588 :           {
    4285                 :         588 :  tree inside_type = TREE_TYPE (captures[1]);
    4286                 :         588 :  tree inter_type = TREE_TYPE (captures[0]);
    4287                 :         588 :  int inside_int = INTEGRAL_TYPE_P (inside_type);
    4288                 :         588 :  int inside_ptr = POINTER_TYPE_P (inside_type);
    4289                 :         588 :  int inside_float = FLOAT_TYPE_P (inside_type);
    4290                 :         588 :  int inside_vec = VECTOR_TYPE_P (inside_type);
    4291                 :         588 :  unsigned int inside_prec = element_precision (inside_type);
    4292                 :         588 :  int inside_unsignedp = TYPE_UNSIGNED (inside_type);
    4293                 :         588 :  int inter_int = INTEGRAL_TYPE_P (inter_type);
    4294                 :         588 :  int inter_ptr = POINTER_TYPE_P (inter_type);
    4295                 :         588 :  int inter_float = FLOAT_TYPE_P (inter_type);
    4296                 :         588 :  int inter_vec = VECTOR_TYPE_P (inter_type);
    4297                 :         588 :  unsigned int inter_prec = element_precision (inter_type);
    4298                 :         588 :  int inter_unsignedp = TYPE_UNSIGNED (inter_type);
    4299                 :         588 :  int final_int = INTEGRAL_TYPE_P (type);
    4300                 :         588 :  int final_ptr = POINTER_TYPE_P (type);
    4301                 :         588 :  int final_float = FLOAT_TYPE_P (type);
    4302                 :         588 :  int final_vec = VECTOR_TYPE_P (type);
    4303                 :         588 :  unsigned int final_prec = element_precision (type);
    4304                 :         588 :  int final_unsignedp = TYPE_UNSIGNED (type);
    4305                 :         588 :               if (((
    4306                 :             : 
    4307                 :             :  && useless_type_conversion_p (type, inside_type))
    4308                 :             :  || (
    4309                 :             : 1
    4310                 :         588 :  && TYPE_MAIN_VARIANT (type) == TYPE_MAIN_VARIANT (inside_type)))
    4311                 :          44 :  && (((inter_int || inter_ptr) && final_int)
    4312                 :          44 :  || (inter_float && final_float))
    4313                 :         588 :  && inter_prec >= final_prec
    4314                 :             : )
    4315                 :             :                 {
    4316                 :           0 :                   if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail1221;
    4317                 :           0 :                   {
    4318                 :           0 :                     tree res_op0;
    4319                 :           0 :                     res_op0 = captures[1];
    4320                 :           0 :                     tree _r;
    4321                 :           0 :                     _r = fold_build1_loc (loc, FIX_TRUNC_EXPR, type, res_op0);
    4322                 :           0 :                     if (UNLIKELY (debug_dump)) generic_dump_logs ("match.pd", 845, __FILE__, __LINE__, true);
    4323                 :           0 :                     return _r;
    4324                 :             :                   }
    4325                 :           0 : next_after_fail1221:;
    4326                 :             :                 }
    4327                 :             :               else
    4328                 :             :                 {
    4329                 :         588 :                   if (((inter_int && inside_int) || (inter_float && inside_float))
    4330                 :           0 :  && (final_int || final_float)
    4331                 :           0 :  && inter_prec >= inside_prec
    4332                 :           0 :  && (inter_float || inter_unsignedp == inside_unsignedp)
    4333                 :             : )
    4334                 :             :                     {
    4335                 :           0 :                       if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail1222;
    4336                 :           0 :                       {
    4337                 :           0 :                         tree res_op0;
    4338                 :           0 :                         res_op0 = captures[1];
    4339                 :           0 :                         tree _r;
    4340                 :           0 :                         _r = fold_build1_loc (loc, FIX_TRUNC_EXPR, type, res_op0);
    4341                 :           0 :                         if (UNLIKELY (debug_dump)) generic_dump_logs ("match.pd", 846, __FILE__, __LINE__, true);
    4342                 :           0 :                         return _r;
    4343                 :             :                       }
    4344                 :           0 : next_after_fail1222:;
    4345                 :           0 :                     }
    4346                 :             :                   else
    4347                 :             :                     {
    4348                 :         588 :                       if (inside_int && inter_int && final_int
    4349                 :           0 :  && ((inside_prec < inter_prec && inter_prec < final_prec
    4350                 :           0 :  && inside_unsignedp && !inter_unsignedp)
    4351                 :           0 :  || final_prec == inter_prec
    4352                 :           0 :  || (inside_prec < inter_prec && inter_prec > final_prec
    4353                 :           0 :  && !inside_unsignedp && inter_unsignedp))
    4354                 :             : )
    4355                 :             :                         {
    4356                 :           0 :                           if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail1223;
    4357                 :           0 :                           {
    4358                 :           0 :                             tree res_op0;
    4359                 :           0 :                             res_op0 = captures[1];
    4360                 :           0 :                             tree _r;
    4361                 :           0 :                             _r = fold_build1_loc (loc, FIX_TRUNC_EXPR, type, res_op0);
    4362                 :           0 :                             if (UNLIKELY (debug_dump)) generic_dump_logs ("match.pd", 847, __FILE__, __LINE__, true);
    4363                 :           0 :                             return _r;
    4364                 :             :                           }
    4365                 :           0 : next_after_fail1223:;
    4366                 :           0 :                         }
    4367                 :             :                       else
    4368                 :             :                         {
    4369                 :         588 :                           if (! inside_float && ! inter_float && ! final_float
    4370                 :             :  && ! inside_vec && ! inter_vec && ! final_vec
    4371                 :           0 :  && (inter_prec >= inside_prec || inter_prec >= final_prec)
    4372                 :           0 :  && ! (inside_int && inter_int
    4373                 :           0 :  && inter_unsignedp != inside_unsignedp
    4374                 :           0 :  && inter_prec < final_prec)
    4375                 :           0 :  && ((inter_unsignedp && inter_prec > inside_prec)
    4376                 :           0 :  == (final_unsignedp && final_prec > inter_prec))
    4377                 :           0 :  && ! (inside_ptr && inter_prec != final_prec)
    4378                 :           0 :  && ! (final_ptr && inside_prec != inter_prec)
    4379                 :             : )
    4380                 :             :                             {
    4381                 :           0 :                               if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail1224;
    4382                 :           0 :                               {
    4383                 :           0 :                                 tree res_op0;
    4384                 :           0 :                                 res_op0 = captures[1];
    4385                 :           0 :                                 tree _r;
    4386                 :           0 :                                 _r = fold_build1_loc (loc, FIX_TRUNC_EXPR, type, res_op0);
    4387                 :           0 :                                 if (UNLIKELY (debug_dump)) generic_dump_logs ("match.pd", 848, __FILE__, __LINE__, true);
    4388                 :           0 :                                 return _r;
    4389                 :             :                               }
    4390                 :           0 : next_after_fail1224:;
    4391                 :           0 :                             }
    4392                 :             :                           else
    4393                 :             :                             {
    4394                 :         588 :                               if (inside_int && inter_int && final_int
    4395                 :           0 :  && final_prec <= inside_prec
    4396                 :           0 :  && inter_prec >= inside_prec
    4397                 :             : )
    4398                 :             :                                 {
    4399                 :           0 :                                   if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail1225;
    4400                 :           0 :                                   {
    4401                 :           0 :                                     tree res_op0;
    4402                 :           0 :                                     res_op0 = captures[1];
    4403                 :           0 :                                     tree _r;
    4404                 :           0 :                                     _r = fold_build1_loc (loc, NOP_EXPR, type, res_op0);
    4405                 :           0 :                                     if (UNLIKELY (debug_dump)) generic_dump_logs ("match.pd", 849, __FILE__, __LINE__, true);
    4406                 :           0 :                                     return _r;
    4407                 :             :                                   }
    4408                 :           0 : next_after_fail1225:;
    4409                 :           0 :                                 }
    4410                 :             :                               else
    4411                 :             :                                 {
    4412                 :             :                                   if (0
    4413                 :             :  && final_int && inter_int && inside_int
    4414                 :             :  && final_prec >= inside_prec
    4415                 :             :  && inside_prec > inter_prec
    4416                 :             :  && inter_unsignedp
    4417                 :             : )
    4418                 :             :                                     {
    4419                 :             :                                       if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail1226;
    4420                 :             :                                       {
    4421                 :             :                                         tree res_op0;
    4422                 :             :                                         {
    4423                 :             :                                           tree _o1[2], _r1;
    4424                 :             :                                           _o1[0] = captures[1];
    4425                 :             :                                           _o1[1] =  wide_int_to_tree
    4426                 :             :  (inside_type,
    4427                 :             :  wi::mask (inter_prec, false,
    4428                 :             :  TYPE_PRECISION (inside_type)));
    4429                 :             :                                           _r1 = fold_build2_loc (loc, BIT_AND_EXPR, TREE_TYPE (_o1[0]), _o1[0], _o1[1]);
    4430                 :             :                                           res_op0 = _r1;
    4431                 :             :                                         }
    4432                 :             :                                         tree _r;
    4433                 :             :                                         _r = fold_build1_loc (loc, NOP_EXPR, type, res_op0);
    4434                 :             :                                         if (UNLIKELY (debug_dump)) generic_dump_logs ("match.pd", 850, __FILE__, __LINE__, true);
    4435                 :             :                                         return _r;
    4436                 :             :                                       }
    4437                 :             : next_after_fail1226:;
    4438                 :             :                                     }
    4439                 :             :                                   else
    4440                 :             :                                     {
    4441                 :             :                                       if (0
    4442                 :             :  && inside_int && inter_float && final_int &&
    4443                 :             :  (unsigned) significand_size (TYPE_MODE (inter_type))
    4444                 :             :  >= inside_prec - !inside_unsignedp
    4445                 :             : )
    4446                 :             :                                         {
    4447                 :             :                                           if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail1227;
    4448                 :             :                                           {
    4449                 :             :                                             tree res_op0;
    4450                 :             :                                             res_op0 = captures[1];
    4451                 :             :                                             tree _r;
    4452                 :             :                                             _r = fold_build1_loc (loc, NOP_EXPR, type, res_op0);
    4453                 :             :                                             if (UNLIKELY (debug_dump)) generic_dump_logs ("match.pd", 851, __FILE__, __LINE__, true);
    4454                 :             :                                             return _r;
    4455                 :             :                                           }
    4456                 :             : next_after_fail1227:;
    4457                 :             :                                         }
    4458                 :             :                                     }
    4459                 :             :                                 }
    4460                 :             :                             }
    4461                 :             :                         }
    4462                 :             :                     }
    4463                 :             :                 }
    4464                 :             :           }
    4465                 :             :         }
    4466                 :         588 :         break;
    4467                 :             :       }
    4468                 :             :     default:;
    4469                 :             :     }
    4470                 :             :   return NULL_TREE;
    4471                 :             : }
    4472                 :             : 
    4473                 :             : tree
    4474                 :      687472 : generic_simplify_BIT_XOR_EXPR (location_t ARG_UNUSED (loc), enum tree_code ARG_UNUSED (code), const tree ARG_UNUSED (type), tree _p0, tree _p1)
    4475                 :             : {
    4476                 :      687472 :   const bool debug_dump = dump_file && (dump_flags & TDF_FOLDING);
    4477                 :      687472 :   if (integer_zerop (_p1))
    4478                 :             :     {
    4479                 :         536 :       {
    4480                 :         536 :         tree captures[1] ATTRIBUTE_UNUSED = { _p0 };
    4481                 :         536 :         if (TREE_SIDE_EFFECTS (_p1)) goto next_after_fail1356;
    4482                 :         536 :         if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail1356;
    4483                 :         536 :         {
    4484                 :         536 :           tree res_op0;
    4485                 :         536 :           res_op0 = captures[0];
    4486                 :         536 :           tree _r;
    4487                 :         536 :           _r = non_lvalue_loc (loc, res_op0);
    4488                 :         536 :           if (UNLIKELY (debug_dump)) generic_dump_logs ("match.pd", 891, __FILE__, __LINE__, true);
    4489                 :         536 :           return _r;
    4490                 :             :         }
    4491                 :             : next_after_fail1356:;
    4492                 :             :       }
    4493                 :             :     }
    4494                 :      686936 :   switch (TREE_CODE (_p0))
    4495                 :             :     {
    4496                 :        2720 :     case LSHIFT_EXPR:
    4497                 :        2720 :       {
    4498                 :        2720 :         tree _q20 = TREE_OPERAND (_p0, 0);
    4499                 :        2720 :         tree _q21 = TREE_OPERAND (_p0, 1);
    4500                 :        2720 :         switch (TREE_CODE (_p1))
    4501                 :             :           {
    4502                 :          10 :           case LSHIFT_EXPR:
    4503                 :          10 :             {
    4504                 :          10 :               tree _q50 = TREE_OPERAND (_p1, 0);
    4505                 :          10 :               tree _q51 = TREE_OPERAND (_p1, 1);
    4506                 :          10 :               if ((_q51 == _q21 && ! TREE_SIDE_EFFECTS (_q51)) || (operand_equal_p (_q51, _q21, 0) && types_match (_q51, _q21)))
    4507                 :             :                 {
    4508                 :           1 :                   {
    4509                 :           1 :                     tree captures[5] ATTRIBUTE_UNUSED = { _p0, _q20, _q21, _p1, _q50 };
    4510                 :           1 :                     tree res = generic_simplify_63 (loc, type, _p0, _p1, captures, BIT_XOR_EXPR);
    4511                 :           1 :                     if (res) return res;
    4512                 :             :                   }
    4513                 :             :                 }
    4514                 :             :               break;
    4515                 :             :             }
    4516                 :             :           default:;
    4517                 :             :           }
    4518                 :             :         break;
    4519                 :             :       }
    4520                 :        8781 :     case RSHIFT_EXPR:
    4521                 :        8781 :       {
    4522                 :        8781 :         tree _q20 = TREE_OPERAND (_p0, 0);
    4523                 :        8781 :         tree _q21 = TREE_OPERAND (_p0, 1);
    4524                 :        8781 :         switch (TREE_CODE (_p1))
    4525                 :             :           {
    4526                 :          20 :           case RSHIFT_EXPR:
    4527                 :          20 :             {
    4528                 :          20 :               tree _q50 = TREE_OPERAND (_p1, 0);
    4529                 :          20 :               tree _q51 = TREE_OPERAND (_p1, 1);
    4530                 :          20 :               if ((_q51 == _q21 && ! TREE_SIDE_EFFECTS (_q51)) || (operand_equal_p (_q51, _q21, 0) && types_match (_q51, _q21)))
    4531                 :             :                 {
    4532                 :          10 :                   {
    4533                 :          10 :                     tree captures[5] ATTRIBUTE_UNUSED = { _p0, _q20, _q21, _p1, _q50 };
    4534                 :          10 :                     tree res = generic_simplify_64 (loc, type, _p0, _p1, captures, BIT_XOR_EXPR);
    4535                 :          10 :                     if (res) return res;
    4536                 :             :                   }
    4537                 :             :                 }
    4538                 :             :               break;
    4539                 :             :             }
    4540                 :             :           default:;
    4541                 :             :           }
    4542                 :             :         break;
    4543                 :             :       }
    4544                 :        2836 :     case BIT_AND_EXPR:
    4545                 :        2836 :       {
    4546                 :        2836 :         tree _q20 = TREE_OPERAND (_p0, 0);
    4547                 :        2836 :         tree _q21 = TREE_OPERAND (_p0, 1);
    4548                 :        2836 :         switch (TREE_CODE (_p1))
    4549                 :             :           {
    4550                 :         354 :           case BIT_AND_EXPR:
    4551                 :         354 :             {
    4552                 :         354 :               tree _q50 = TREE_OPERAND (_p1, 0);
    4553                 :         354 :               tree _q51 = TREE_OPERAND (_p1, 1);
    4554                 :         354 :               {
    4555                 :         354 :                 tree captures[4] ATTRIBUTE_UNUSED = { _q20, _q21, _q50, _q51 };
    4556                 :         354 :                 tree res = generic_simplify_6 (loc, type, _p0, _p1, captures, BIT_XOR_EXPR);
    4557                 :         354 :                 if (res) return res;
    4558                 :             :               }
    4559                 :         354 :               {
    4560                 :         354 :                 tree captures[4] ATTRIBUTE_UNUSED = { _q20, _q21, _q51, _q50 };
    4561                 :         354 :                 tree res = generic_simplify_6 (loc, type, _p0, _p1, captures, BIT_XOR_EXPR);
    4562                 :         354 :                 if (res) return res;
    4563                 :             :               }
    4564                 :         354 :               {
    4565                 :         354 :                 tree captures[4] ATTRIBUTE_UNUSED = { _q21, _q20, _q50, _q51 };
    4566                 :         354 :                 tree res = generic_simplify_6 (loc, type, _p0, _p1, captures, BIT_XOR_EXPR);
    4567                 :         354 :                 if (res) return res;
    4568                 :             :               }
    4569                 :         354 :               {
    4570                 :         354 :                 tree captures[4] ATTRIBUTE_UNUSED = { _q21, _q20, _q51, _q50 };
    4571                 :         354 :                 tree res = generic_simplify_6 (loc, type, _p0, _p1, captures, BIT_XOR_EXPR);
    4572                 :         354 :                 if (res) return res;
    4573                 :             :               }
    4574                 :         354 :               break;
    4575                 :             :             }
    4576                 :        2836 :           default:;
    4577                 :             :           }
    4578                 :        2836 :         switch (TREE_CODE (_q21))
    4579                 :             :           {
    4580                 :          41 :           case BIT_NOT_EXPR:
    4581                 :          41 :             {
    4582                 :          41 :               tree _q40 = TREE_OPERAND (_q21, 0);
    4583                 :          41 :               switch (TREE_CODE (_p1))
    4584                 :             :                 {
    4585                 :           0 :                 case BIT_NOT_EXPR:
    4586                 :           0 :                   {
    4587                 :           0 :                     tree _q60 = TREE_OPERAND (_p1, 0);
    4588                 :           0 :                     if ((_q60 == _q20 && ! TREE_SIDE_EFFECTS (_q60)) || (operand_equal_p (_q60, _q20, 0) && types_match (_q60, _q20)))
    4589                 :             :                       {
    4590                 :           0 :                         {
    4591                 :           0 :                           tree captures[3] ATTRIBUTE_UNUSED = { _p0, _q20, _q40 };
    4592                 :           0 :                           tree res = generic_simplify_149 (loc, type, _p0, _p1, captures);
    4593                 :           0 :                           if (res) return res;
    4594                 :             :                         }
    4595                 :             :                       }
    4596                 :             :                     break;
    4597                 :             :                   }
    4598                 :             :                 default:;
    4599                 :             :                 }
    4600                 :             :               break;
    4601                 :             :             }
    4602                 :        2836 :           default:;
    4603                 :             :           }
    4604                 :        2836 :         switch (TREE_CODE (_q20))
    4605                 :             :           {
    4606                 :          90 :           case BIT_NOT_EXPR:
    4607                 :          90 :             {
    4608                 :          90 :               tree _q30 = TREE_OPERAND (_q20, 0);
    4609                 :          90 :               switch (TREE_CODE (_p1))
    4610                 :             :                 {
    4611                 :           0 :                 case BIT_NOT_EXPR:
    4612                 :           0 :                   {
    4613                 :           0 :                     tree _q60 = TREE_OPERAND (_p1, 0);
    4614                 :           0 :                     if ((_q60 == _q21 && ! TREE_SIDE_EFFECTS (_q60)) || (operand_equal_p (_q60, _q21, 0) && types_match (_q60, _q21)))
    4615                 :             :                       {
    4616                 :           0 :                         {
    4617                 :           0 :                           tree captures[3] ATTRIBUTE_UNUSED = { _p0, _q21, _q30 };
    4618                 :           0 :                           tree res = generic_simplify_149 (loc, type, _p0, _p1, captures);
    4619                 :           0 :                           if (res) return res;
    4620                 :             :                         }
    4621                 :             :                       }
    4622                 :             :                     break;
    4623                 :             :                   }
    4624                 :          90 :                 default:;
    4625                 :             :                 }
    4626                 :          90 :               if ((_p1 == _q30 && ! TREE_SIDE_EFFECTS (_p1)) || (operand_equal_p (_p1, _q30, 0) && types_match (_p1, _q30)))
    4627                 :             :                 {
    4628                 :           0 :                   {
    4629                 :           0 :                     tree captures[3] ATTRIBUTE_UNUSED = { _p0, _q30, _q21 };
    4630                 :           0 :                     tree res = generic_simplify_150 (loc, type, _p0, _p1, captures);
    4631                 :           0 :                     if (res) return res;
    4632                 :             :                   }
    4633                 :             :                 }
    4634                 :             :               break;
    4635                 :             :             }
    4636                 :        2836 :           default:;
    4637                 :             :           }
    4638                 :        2836 :         switch (TREE_CODE (_q21))
    4639                 :             :           {
    4640                 :          41 :           case BIT_NOT_EXPR:
    4641                 :          41 :             {
    4642                 :          41 :               tree _q40 = TREE_OPERAND (_q21, 0);
    4643                 :          41 :               if ((_p1 == _q40 && ! TREE_SIDE_EFFECTS (_p1)) || (operand_equal_p (_p1, _q40, 0) && types_match (_p1, _q40)))
    4644                 :             :                 {
    4645                 :           0 :                   {
    4646                 :           0 :                     tree captures[3] ATTRIBUTE_UNUSED = { _p0, _q40, _q20 };
    4647                 :           0 :                     tree res = generic_simplify_150 (loc, type, _p0, _p1, captures);
    4648                 :           0 :                     if (res) return res;
    4649                 :             :                   }
    4650                 :             :                 }
    4651                 :             :               break;
    4652                 :             :             }
    4653                 :             :           default:;
    4654                 :             :           }
    4655                 :             :         break;
    4656                 :             :       }
    4657                 :         498 :     case BIT_NOT_EXPR:
    4658                 :         498 :       {
    4659                 :         498 :         tree _q20 = TREE_OPERAND (_p0, 0);
    4660                 :         498 :         switch (TREE_CODE (_p1))
    4661                 :             :           {
    4662                 :          51 :           case BIT_AND_EXPR:
    4663                 :          51 :             {
    4664                 :          51 :               tree _q40 = TREE_OPERAND (_p1, 0);
    4665                 :          51 :               tree _q41 = TREE_OPERAND (_p1, 1);
    4666                 :          51 :               if ((_q40 == _q20 && ! TREE_SIDE_EFFECTS (_q40)) || (operand_equal_p (_q40, _q20, 0) && types_match (_q40, _q20)))
    4667                 :             :                 {
    4668                 :           0 :                   switch (TREE_CODE (_q41))
    4669                 :             :                     {
    4670                 :           0 :                     case BIT_NOT_EXPR:
    4671                 :           0 :                       {
    4672                 :           0 :                         tree _q60 = TREE_OPERAND (_q41, 0);
    4673                 :           0 :                         {
    4674                 :           0 :                           tree captures[3] ATTRIBUTE_UNUSED = { _p1, _q20, _q60 };
    4675                 :           0 :                           tree res = generic_simplify_149 (loc, type, _p0, _p1, captures);
    4676                 :           0 :                           if (res) return res;
    4677                 :             :                         }
    4678                 :           0 :                         break;
    4679                 :             :                       }
    4680                 :             :                     default:;
    4681                 :             :                     }
    4682                 :             :                 }
    4683                 :          51 :               switch (TREE_CODE (_q40))
    4684                 :             :                 {
    4685                 :           7 :                 case BIT_NOT_EXPR:
    4686                 :           7 :                   {
    4687                 :           7 :                     tree _q50 = TREE_OPERAND (_q40, 0);
    4688                 :           7 :                     if ((_q41 == _q20 && ! TREE_SIDE_EFFECTS (_q41)) || (operand_equal_p (_q41, _q20, 0) && types_match (_q41, _q20)))
    4689                 :             :                       {
    4690                 :           0 :                         {
    4691                 :           0 :                           tree captures[3] ATTRIBUTE_UNUSED = { _p1, _q20, _q50 };
    4692                 :           0 :                           tree res = generic_simplify_149 (loc, type, _p0, _p1, captures);
    4693                 :           0 :                           if (res) return res;
    4694                 :             :                         }
    4695                 :             :                       }
    4696                 :             :                     break;
    4697                 :             :                   }
    4698                 :             :                 default:;
    4699                 :             :                 }
    4700                 :             :               break;
    4701                 :             :             }
    4702                 :             :           default:;
    4703                 :             :           }
    4704                 :             :         break;
    4705                 :             :       }
    4706                 :      686925 :     default:;
    4707                 :             :     }
    4708                 :      686925 :   switch (TREE_CODE (_p1))
    4709                 :             :     {
    4710                 :         697 :     case BIT_AND_EXPR:
    4711                 :         697 :       {
    4712                 :         697 :         tree _q30 = TREE_OPERAND (_p1, 0);
    4713                 :         697 :         tree _q31 = TREE_OPERAND (_p1, 1);
    4714                 :         697 :         switch (TREE_CODE (_q30))
    4715                 :             :           {
    4716                 :          57 :           case BIT_NOT_EXPR:
    4717                 :          57 :             {
    4718                 :          57 :               tree _q40 = TREE_OPERAND (_q30, 0);
    4719                 :          57 :               if ((_q40 == _p0 && ! TREE_SIDE_EFFECTS (_q40)) || (operand_equal_p (_q40, _p0, 0) && types_match (_q40, _p0)))
    4720                 :             :                 {
    4721                 :           0 :                   {
    4722                 :           0 :                     tree captures[3] ATTRIBUTE_UNUSED = { _p1, _p0, _q31 };
    4723                 :           0 :                     tree res = generic_simplify_150 (loc, type, _p0, _p1, captures);
    4724                 :           0 :                     if (res) return res;
    4725                 :             :                   }
    4726                 :             :                 }
    4727                 :             :               break;
    4728                 :             :             }
    4729                 :         697 :           default:;
    4730                 :             :           }
    4731                 :         697 :         switch (TREE_CODE (_q31))
    4732                 :             :           {
    4733                 :           8 :           case BIT_NOT_EXPR:
    4734                 :           8 :             {
    4735                 :           8 :               tree _q50 = TREE_OPERAND (_q31, 0);
    4736                 :           8 :               if ((_q50 == _p0 && ! TREE_SIDE_EFFECTS (_q50)) || (operand_equal_p (_q50, _p0, 0) && types_match (_q50, _p0)))
    4737                 :             :                 {
    4738                 :           0 :                   {
    4739                 :           0 :                     tree captures[3] ATTRIBUTE_UNUSED = { _p1, _p0, _q30 };
    4740                 :           0 :                     tree res = generic_simplify_150 (loc, type, _p0, _p1, captures);
    4741                 :           0 :                     if (res) return res;
    4742                 :             :                   }
    4743                 :             :                 }
    4744                 :             :               break;
    4745                 :             :             }
    4746                 :             :           default:;
    4747                 :             :           }
    4748                 :             :         break;
    4749                 :             :       }
    4750                 :      686925 :     default:;
    4751                 :             :     }
    4752                 :      686925 :   switch (TREE_CODE (_p0))
    4753                 :             :     {
    4754                 :       20668 :     case PLUS_EXPR:
    4755                 :       20668 :       {
    4756                 :       20668 :         tree _q20 = TREE_OPERAND (_p0, 0);
    4757                 :       20668 :         tree _q21 = TREE_OPERAND (_p0, 1);
    4758                 :       20668 :         if (integer_minus_onep (_q21))
    4759                 :             :           {
    4760                 :       10072 :             switch (TREE_CODE (_p1))
    4761                 :             :               {
    4762                 :          11 :               case NEGATE_EXPR:
    4763                 :          11 :                 {
    4764                 :          11 :                   tree _q50 = TREE_OPERAND (_p1, 0);
    4765                 :          11 :                   if ((_q50 == _q20 && ! TREE_SIDE_EFFECTS (_q50)) || (operand_equal_p (_q50, _q20, 0) && types_match (_q50, _q20)))
    4766                 :             :                     {
    4767                 :          11 :                       {
    4768                 :          11 :                         tree captures[1] ATTRIBUTE_UNUSED = { _q20 };
    4769                 :          11 :                         tree res = generic_simplify_73 (loc, type, _p0, _p1, captures, BIT_XOR_EXPR);
    4770                 :          11 :                         if (res) return res;
    4771                 :             :                       }
    4772                 :             :                     }
    4773                 :             :                   break;
    4774                 :             :                 }
    4775                 :             :               default:;
    4776                 :             :               }
    4777                 :             :           }
    4778                 :             :         break;
    4779                 :             :       }
    4780                 :         142 :     case NEGATE_EXPR:
    4781                 :         142 :       {
    4782                 :         142 :         tree _q20 = TREE_OPERAND (_p0, 0);
    4783                 :         142 :         switch (TREE_CODE (_p1))
    4784                 :             :           {
    4785                 :           0 :           case PLUS_EXPR:
    4786                 :           0 :             {
    4787                 :           0 :               tree _q40 = TREE_OPERAND (_p1, 0);
    4788                 :           0 :               tree _q41 = TREE_OPERAND (_p1, 1);
    4789                 :           0 :               if ((_q40 == _q20 && ! TREE_SIDE_EFFECTS (_q40)) || (operand_equal_p (_q40, _q20, 0) && types_match (_q40, _q20)))
    4790                 :             :                 {
    4791                 :           0 :                   if (integer_minus_onep (_q41))
    4792                 :             :                     {
    4793                 :           0 :                       {
    4794                 :           0 :                         tree captures[1] ATTRIBUTE_UNUSED = { _q20 };
    4795                 :           0 :                         tree res = generic_simplify_74 (loc, type, _p0, _p1, captures, BIT_XOR_EXPR);
    4796                 :           0 :                         if (res) return res;
    4797                 :             :                       }
    4798                 :             :                     }
    4799                 :             :                 }
    4800                 :             :               break;
    4801                 :             :             }
    4802                 :           0 :           case MINUS_EXPR:
    4803                 :           0 :             {
    4804                 :           0 :               tree _q40 = TREE_OPERAND (_p1, 0);
    4805                 :           0 :               tree _q41 = TREE_OPERAND (_p1, 1);
    4806                 :           0 :               if ((_q40 == _q20 && ! TREE_SIDE_EFFECTS (_q40)) || (operand_equal_p (_q40, _q20, 0) && types_match (_q40, _q20)))
    4807                 :             :                 {
    4808                 :           0 :                   if (integer_onep (_q41))
    4809                 :             :                     {
    4810                 :           0 :                       {
    4811                 :           0 :                         tree captures[1] ATTRIBUTE_UNUSED = { _q20 };
    4812                 :           0 :                         tree res = generic_simplify_75 (loc, type, _p0, _p1, captures, BIT_XOR_EXPR);
    4813                 :           0 :                         if (res) return res;
    4814                 :             :                       }
    4815                 :             :                     }
    4816                 :             :                 }
    4817                 :             :               break;
    4818                 :             :             }
    4819                 :             :           default:;
    4820                 :             :           }
    4821                 :             :         break;
    4822                 :             :       }
    4823                 :         102 :     case MINUS_EXPR:
    4824                 :         102 :       {
    4825                 :         102 :         tree _q20 = TREE_OPERAND (_p0, 0);
    4826                 :         102 :         tree _q21 = TREE_OPERAND (_p0, 1);
    4827                 :         102 :         if (integer_onep (_q21))
    4828                 :             :           {
    4829                 :           0 :             switch (TREE_CODE (_p1))
    4830                 :             :               {
    4831                 :           0 :               case NEGATE_EXPR:
    4832                 :           0 :                 {
    4833                 :           0 :                   tree _q50 = TREE_OPERAND (_p1, 0);
    4834                 :           0 :                   if ((_q50 == _q20 && ! TREE_SIDE_EFFECTS (_q50)) || (operand_equal_p (_q50, _q20, 0) && types_match (_q50, _q20)))
    4835                 :             :                     {
    4836                 :           0 :                       {
    4837                 :           0 :                         tree captures[1] ATTRIBUTE_UNUSED = { _q20 };
    4838                 :           0 :                         tree res = generic_simplify_76 (loc, type, _p0, _p1, captures, BIT_XOR_EXPR);
    4839                 :           0 :                         if (res) return res;
    4840                 :             :                       }
    4841                 :             :                     }
    4842                 :             :                   break;
    4843                 :             :                 }
    4844                 :             :               default:;
    4845                 :             :               }
    4846                 :             :           }
    4847                 :             :         break;
    4848                 :             :       }
    4849                 :        1310 :     case BIT_IOR_EXPR:
    4850                 :        1310 :       {
    4851                 :        1310 :         tree _q20 = TREE_OPERAND (_p0, 0);
    4852                 :        1310 :         tree _q21 = TREE_OPERAND (_p0, 1);
    4853                 :        1310 :         switch (TREE_CODE (_q20))
    4854                 :             :           {
    4855                 :         481 :           case BIT_NOT_EXPR:
    4856                 :         481 :             {
    4857                 :         481 :               tree _q30 = TREE_OPERAND (_q20, 0);
    4858                 :         481 :               {
    4859                 :         481 :                 tree captures[5] ATTRIBUTE_UNUSED = { _p0, _q20, _q30, _q21, _p1 };
    4860                 :         481 :                 tree res = generic_simplify_151 (loc, type, _p0, _p1, captures);
    4861                 :         481 :                 if (res) return res;
    4862                 :             :               }
    4863                 :         480 :               break;
    4864                 :             :             }
    4865                 :        1309 :           default:;
    4866                 :             :           }
    4867                 :        1309 :         switch (TREE_CODE (_q21))
    4868                 :             :           {
    4869                 :          62 :           case BIT_NOT_EXPR:
    4870                 :          62 :             {
    4871                 :          62 :               tree _q40 = TREE_OPERAND (_q21, 0);
    4872                 :          62 :               {
    4873                 :          62 :                 tree captures[5] ATTRIBUTE_UNUSED = { _p0, _q21, _q40, _q20, _p1 };
    4874                 :          62 :                 tree res = generic_simplify_151 (loc, type, _p0, _p1, captures);
    4875                 :          62 :                 if (res) return res;
    4876                 :             :               }
    4877                 :          62 :               break;
    4878                 :             :             }
    4879                 :             :           default:;
    4880                 :             :           }
    4881                 :             :         break;
    4882                 :             :       }
    4883                 :      686913 :     default:;
    4884                 :             :     }
    4885                 :      686913 :   switch (TREE_CODE (_p1))
    4886                 :             :     {
    4887                 :         521 :     case BIT_IOR_EXPR:
    4888                 :         521 :       {
    4889                 :         521 :         tree _q30 = TREE_OPERAND (_p1, 0);
    4890                 :         521 :         tree _q31 = TREE_OPERAND (_p1, 1);
    4891                 :         521 :         switch (TREE_CODE (_q30))
    4892                 :             :           {
    4893                 :          21 :           case BIT_NOT_EXPR:
    4894                 :          21 :             {
    4895                 :          21 :               tree _q40 = TREE_OPERAND (_q30, 0);
    4896                 :          21 :               {
    4897                 :          21 :                 tree captures[5] ATTRIBUTE_UNUSED = { _p1, _q30, _q40, _q31, _p0 };
    4898                 :          21 :                 tree res = generic_simplify_151 (loc, type, _p0, _p1, captures);
    4899                 :          21 :                 if (res) return res;
    4900                 :             :               }
    4901                 :          21 :               break;
    4902                 :             :             }
    4903                 :         521 :           default:;
    4904                 :             :           }
    4905                 :         521 :         switch (TREE_CODE (_q31))
    4906                 :             :           {
    4907                 :          25 :           case BIT_NOT_EXPR:
    4908                 :          25 :             {
    4909                 :          25 :               tree _q50 = TREE_OPERAND (_q31, 0);
    4910                 :          25 :               {
    4911                 :          25 :                 tree captures[5] ATTRIBUTE_UNUSED = { _p1, _q31, _q50, _q30, _p0 };
    4912                 :          25 :                 tree res = generic_simplify_151 (loc, type, _p0, _p1, captures);
    4913                 :          25 :                 if (res) return res;
    4914                 :             :               }
    4915                 :          25 :               break;
    4916                 :             :             }
    4917                 :             :           default:;
    4918                 :             :           }
    4919                 :             :         break;
    4920                 :             :       }
    4921                 :      686913 :     default:;
    4922                 :             :     }
    4923                 :      686913 :   switch (TREE_CODE (_p0))
    4924                 :             :     {
    4925                 :        2836 :     case BIT_AND_EXPR:
    4926                 :        2836 :       {
    4927                 :        2836 :         tree _q20 = TREE_OPERAND (_p0, 0);
    4928                 :        2836 :         tree _q21 = TREE_OPERAND (_p0, 1);
    4929                 :        2836 :         switch (TREE_CODE (_q20))
    4930                 :             :           {
    4931                 :          90 :           case BIT_NOT_EXPR:
    4932                 :          90 :             {
    4933                 :          90 :               tree _q30 = TREE_OPERAND (_q20, 0);
    4934                 :          90 :               {
    4935                 :          90 :                 tree captures[5] ATTRIBUTE_UNUSED = { _p0, _q20, _q30, _q21, _p1 };
    4936                 :          90 :                 tree res = generic_simplify_152 (loc, type, _p0, _p1, captures);
    4937                 :          90 :                 if (res) return res;
    4938                 :             :               }
    4939                 :          89 :               break;
    4940                 :             :             }
    4941                 :        2835 :           default:;
    4942                 :             :           }
    4943                 :        2835 :         switch (TREE_CODE (_q21))
    4944                 :             :           {
    4945                 :          41 :           case BIT_NOT_EXPR:
    4946                 :          41 :             {
    4947                 :          41 :               tree _q40 = TREE_OPERAND (_q21, 0);
    4948                 :          41 :               {
    4949                 :          41 :                 tree captures[5] ATTRIBUTE_UNUSED = { _p0, _q21, _q40, _q20, _p1 };
    4950                 :          41 :                 tree res = generic_simplify_152 (loc, type, _p0, _p1, captures);
    4951                 :          41 :                 if (res) return res;
    4952                 :             :               }
    4953                 :          41 :               break;
    4954                 :             :             }
    4955                 :             :           default:;
    4956                 :             :           }
    4957                 :             :         break;
    4958                 :             :       }
    4959                 :      686912 :     default:;
    4960                 :             :     }
    4961                 :      686912 :   switch (TREE_CODE (_p1))
    4962                 :             :     {
    4963                 :         697 :     case BIT_AND_EXPR:
    4964                 :         697 :       {
    4965                 :         697 :         tree _q30 = TREE_OPERAND (_p1, 0);
    4966                 :         697 :         tree _q31 = TREE_OPERAND (_p1, 1);
    4967                 :         697 :         switch (TREE_CODE (_q30))
    4968                 :             :           {
    4969                 :          57 :           case BIT_NOT_EXPR:
    4970                 :          57 :             {
    4971                 :          57 :               tree _q40 = TREE_OPERAND (_q30, 0);
    4972                 :          57 :               {
    4973                 :          57 :                 tree captures[5] ATTRIBUTE_UNUSED = { _p1, _q30, _q40, _q31, _p0 };
    4974                 :          57 :                 tree res = generic_simplify_152 (loc, type, _p0, _p1, captures);
    4975                 :          57 :                 if (res) return res;
    4976                 :             :               }
    4977                 :          57 :               break;
    4978                 :             :             }
    4979                 :         697 :           default:;
    4980                 :             :           }
    4981                 :         697 :         switch (TREE_CODE (_q31))
    4982                 :             :           {
    4983                 :           8 :           case BIT_NOT_EXPR:
    4984                 :           8 :             {
    4985                 :           8 :               tree _q50 = TREE_OPERAND (_q31, 0);
    4986                 :           8 :               {
    4987                 :           8 :                 tree captures[5] ATTRIBUTE_UNUSED = { _p1, _q31, _q50, _q30, _p0 };
    4988                 :           8 :                 tree res = generic_simplify_152 (loc, type, _p0, _p1, captures);
    4989                 :           8 :                 if (res) return res;
    4990                 :             :               }
    4991                 :           8 :               break;
    4992                 :             :             }
    4993                 :             :           default:;
    4994                 :             :           }
    4995                 :             :         break;
    4996                 :             :       }
    4997                 :      686912 :     default:;
    4998                 :             :     }
    4999                 :      686912 :   switch (TREE_CODE (_p0))
    5000                 :             :     {
    5001                 :      499154 :     CASE_CONVERT:
    5002                 :      499154 :       {
    5003                 :      499154 :         tree _q20 = TREE_OPERAND (_p0, 0);
    5004                 :      499154 :         switch (TREE_CODE (_p1))
    5005                 :             :           {
    5006                 :      495318 :           CASE_CONVERT:
    5007                 :      495318 :             {
    5008                 :      495318 :               tree _q40 = TREE_OPERAND (_p1, 0);
    5009                 :      495318 :               {
    5010                 :      495318 :                 tree _q40_pops[1];
    5011                 :      495318 :                 if (tree_maybe_bit_not (_q40, _q40_pops))
    5012                 :             :                   {
    5013                 :           0 :                     tree _q50 = _q40_pops[0];
    5014                 :           0 :                     {
    5015                 :           0 :                       tree captures[2] ATTRIBUTE_UNUSED = { _q20, _q50 };
    5016                 :           0 :                       tree res = generic_simplify_86 (loc, type, _p0, _p1, captures, BIT_XOR_EXPR);
    5017                 :           0 :                       if (res) return res;
    5018                 :             :                     }
    5019                 :             :                   }
    5020                 :             :               }
    5021                 :      495318 :               break;
    5022                 :             :             }
    5023                 :      499154 :           default:;
    5024                 :             :           }
    5025                 :      499154 :         {
    5026                 :      499154 :           tree _q20_pops[1];
    5027                 :      499154 :           if (tree_maybe_bit_not (_q20, _q20_pops))
    5028                 :             :             {
    5029                 :       14775 :               tree _q30 = _q20_pops[0];
    5030                 :       14775 :               switch (TREE_CODE (_p1))
    5031                 :             :                 {
    5032                 :       14725 :                 CASE_CONVERT:
    5033                 :       14725 :                   {
    5034                 :       14725 :                     tree _q50 = TREE_OPERAND (_p1, 0);
    5035                 :       14725 :                     {
    5036                 :       14725 :                       tree captures[2] ATTRIBUTE_UNUSED = { _q50, _q30 };
    5037                 :       14725 :                       tree res = generic_simplify_86 (loc, type, _p0, _p1, captures, BIT_XOR_EXPR);
    5038                 :       14725 :                       if (res) return res;
    5039                 :             :                     }
    5040                 :       14725 :                     break;
    5041                 :             :                   }
    5042                 :             :                 default:;
    5043                 :             :                 }
    5044                 :             :             }
    5045                 :             :         }
    5046                 :      499154 :         break;
    5047                 :             :       }
    5048                 :      686912 :     default:;
    5049                 :             :     }
    5050                 :      686912 :   {
    5051                 :      686912 :     tree _p1_pops[1];
    5052                 :      686912 :     if (tree_maybe_bit_not (_p1, _p1_pops))
    5053                 :             :       {
    5054                 :        8111 :         tree _q30 = _p1_pops[0];
    5055                 :        8111 :         {
    5056                 :        8111 :           tree captures[2] ATTRIBUTE_UNUSED = { _p0, _q30 };
    5057                 :        8111 :           tree res = generic_simplify_86 (loc, type, _p0, _p1, captures, BIT_XOR_EXPR);
    5058                 :        8111 :           if (res) return res;
    5059                 :             :         }
    5060                 :             :       }
    5061                 :             :   }
    5062                 :      686912 :   {
    5063                 :      686912 :     tree _p0_pops[1];
    5064                 :      686912 :     if (tree_maybe_bit_not (_p0, _p0_pops))
    5065                 :             :       {
    5066                 :        1039 :         tree _q20 = _p0_pops[0];
    5067                 :        1039 :         {
    5068                 :        1039 :           tree captures[2] ATTRIBUTE_UNUSED = { _p1, _q20 };
    5069                 :        1039 :           tree res = generic_simplify_86 (loc, type, _p0, _p1, captures, BIT_XOR_EXPR);
    5070                 :        1039 :           if (res) return res;
    5071                 :             :         }
    5072                 :             :       }
    5073                 :             :   }
    5074                 :      686891 :   if ((_p1 == _p0 && ! TREE_SIDE_EFFECTS (_p1)) || (operand_equal_p (_p1, _p0, 0) && types_match (_p1, _p0)))
    5075                 :             :     {
    5076                 :         151 :       {
    5077                 :         151 :         tree captures[1] ATTRIBUTE_UNUSED = { _p0 };
    5078                 :         151 :         if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail1357;
    5079                 :         151 :         {
    5080                 :         151 :           tree _r;
    5081                 :         151 :           _r =  build_zero_cst (type);
    5082                 :         151 :           if (TREE_SIDE_EFFECTS (captures[0]))
    5083                 :           0 :             _r = build2_loc (loc, COMPOUND_EXPR, type, fold_ignored_result (captures[0]), _r);
    5084                 :         151 :           if (UNLIKELY (debug_dump)) generic_dump_logs ("match.pd", 945, __FILE__, __LINE__, true);
    5085                 :         151 :           return _r;
    5086                 :             :         }
    5087                 :           0 : next_after_fail1357:;
    5088                 :             :       }
    5089                 :             :     }
    5090                 :      686740 :   if (integer_all_onesp (_p1))
    5091                 :             :     {
    5092                 :         748 :       {
    5093                 :         748 :         tree captures[2] ATTRIBUTE_UNUSED = { _p0, _p1 };
    5094                 :         748 :         if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail1358;
    5095                 :         748 :         {
    5096                 :         748 :           tree res_op0;
    5097                 :         748 :           res_op0 = captures[0];
    5098                 :         748 :           tree _r;
    5099                 :         748 :           _r = fold_build1_loc (loc, BIT_NOT_EXPR, type, res_op0);
    5100                 :         748 :           if (TREE_SIDE_EFFECTS (captures[1]))
    5101                 :           0 :             _r = build2_loc (loc, COMPOUND_EXPR, type, fold_ignored_result (captures[1]), _r);
    5102                 :         748 :           if (UNLIKELY (debug_dump)) generic_dump_logs ("match.pd", 946, __FILE__, __LINE__, true);
    5103                 :         748 :           return _r;
    5104                 :             :         }
    5105                 :           0 : next_after_fail1358:;
    5106                 :             :       }
    5107                 :             :     }
    5108                 :      685992 :   switch (TREE_CODE (_p0))
    5109                 :             :     {
    5110                 :        1302 :     case BIT_IOR_EXPR:
    5111                 :        1302 :       {
    5112                 :        1302 :         tree _q20 = TREE_OPERAND (_p0, 0);
    5113                 :        1302 :         tree _q21 = TREE_OPERAND (_p0, 1);
    5114                 :        1302 :         switch (TREE_CODE (_p1))
    5115                 :             :           {
    5116                 :         179 :           case BIT_IOR_EXPR:
    5117                 :         179 :             {
    5118                 :         179 :               tree _q50 = TREE_OPERAND (_p1, 0);
    5119                 :         179 :               tree _q51 = TREE_OPERAND (_p1, 1);
    5120                 :         179 :               if ((_q50 == _q20 && ! TREE_SIDE_EFFECTS (_q50)) || (operand_equal_p (_q50, _q20, 0) && types_match (_q50, _q20)))
    5121                 :             :                 {
    5122                 :           0 :                   switch (TREE_CODE (_q51))
    5123                 :             :                     {
    5124                 :           0 :                     case BIT_NOT_EXPR:
    5125                 :           0 :                       {
    5126                 :           0 :                         tree _q70 = TREE_OPERAND (_q51, 0);
    5127                 :           0 :                         if ((_q70 == _q21 && ! TREE_SIDE_EFFECTS (_q70)) || (operand_equal_p (_q70, _q21, 0) && types_match (_q70, _q21)))
    5128                 :             :                           {
    5129                 :           0 :                             {
    5130                 :           0 :                               tree captures[2] ATTRIBUTE_UNUSED = { _q20, _q21 };
    5131                 :           0 :                               tree res = generic_simplify_153 (loc, type, _p0, _p1, captures);
    5132                 :           0 :                               if (res) return res;
    5133                 :             :                             }
    5134                 :             :                           }
    5135                 :             :                         break;
    5136                 :             :                       }
    5137                 :             :                     default:;
    5138                 :             :                     }
    5139                 :             :                 }
    5140                 :         179 :               switch (TREE_CODE (_q50))
    5141                 :             :                 {
    5142                 :          20 :                 case BIT_NOT_EXPR:
    5143                 :          20 :                   {
    5144                 :          20 :                     tree _q60 = TREE_OPERAND (_q50, 0);
    5145                 :          20 :                     if ((_q60 == _q21 && ! TREE_SIDE_EFFECTS (_q60)) || (operand_equal_p (_q60, _q21, 0) && types_match (_q60, _q21)))
    5146                 :             :                       {
    5147                 :           2 :                         if ((_q51 == _q20 && ! TREE_SIDE_EFFECTS (_q51)) || (operand_equal_p (_q51, _q20, 0) && types_match (_q51, _q20)))
    5148                 :             :                           {
    5149                 :           1 :                             {
    5150                 :           1 :                               tree captures[2] ATTRIBUTE_UNUSED = { _q20, _q21 };
    5151                 :           1 :                               tree res = generic_simplify_153 (loc, type, _p0, _p1, captures);
    5152                 :           1 :                               if (res) return res;
    5153                 :             :                             }
    5154                 :             :                           }
    5155                 :             :                       }
    5156                 :          19 :                     if ((_q60 == _q20 && ! TREE_SIDE_EFFECTS (_q60)) || (operand_equal_p (_q60, _q20, 0) && types_match (_q60, _q20)))
    5157                 :             :                       {
    5158                 :           0 :                         if ((_q51 == _q21 && ! TREE_SIDE_EFFECTS (_q51)) || (operand_equal_p (_q51, _q21, 0) && types_match (_q51, _q21)))
    5159                 :             :                           {
    5160                 :           0 :                             {
    5161                 :           0 :                               tree captures[2] ATTRIBUTE_UNUSED = { _q21, _q20 };
    5162                 :           0 :                               tree res = generic_simplify_153 (loc, type, _p0, _p1, captures);
    5163                 :           0 :                               if (res) return res;
    5164                 :             :                             }
    5165                 :             :                           }
    5166                 :             :                       }
    5167                 :             :                     break;
    5168                 :             :                   }
    5169                 :         178 :                 default:;
    5170                 :             :                 }
    5171                 :         178 :               if ((_q50 == _q21 && ! TREE_SIDE_EFFECTS (_q50)) || (operand_equal_p (_q50, _q21, 0) && types_match (_q50, _q21)))
    5172                 :             :                 {
    5173                 :           0 :                   switch (TREE_CODE (_q51))
    5174                 :             :                     {
    5175                 :           0 :                     case BIT_NOT_EXPR:
    5176                 :           0 :                       {
    5177                 :           0 :                         tree _q70 = TREE_OPERAND (_q51, 0);
    5178                 :           0 :                         if ((_q70 == _q20 && ! TREE_SIDE_EFFECTS (_q70)) || (operand_equal_p (_q70, _q20, 0) && types_match (_q70, _q20)))
    5179                 :             :                           {
    5180                 :           0 :                             {
    5181                 :           0 :                               tree captures[2] ATTRIBUTE_UNUSED = { _q21, _q20 };
    5182                 :           0 :                               tree res = generic_simplify_153 (loc, type, _p0, _p1, captures);
    5183                 :           0 :                               if (res) return res;
    5184                 :             :                             }
    5185                 :             :                           }
    5186                 :             :                         break;
    5187                 :             :                       }
    5188                 :             :                     default:;
    5189                 :             :                     }
    5190                 :             :                 }
    5191                 :             :               break;
    5192                 :             :             }
    5193                 :        1301 :           default:;
    5194                 :             :           }
    5195                 :        1301 :         switch (TREE_CODE (_q21))
    5196                 :             :           {
    5197                 :          62 :           case BIT_NOT_EXPR:
    5198                 :          62 :             {
    5199                 :          62 :               tree _q40 = TREE_OPERAND (_q21, 0);
    5200                 :          62 :               switch (TREE_CODE (_p1))
    5201                 :             :                 {
    5202                 :           9 :                 case BIT_IOR_EXPR:
    5203                 :           9 :                   {
    5204                 :           9 :                     tree _q60 = TREE_OPERAND (_p1, 0);
    5205                 :           9 :                     tree _q61 = TREE_OPERAND (_p1, 1);
    5206                 :           9 :                     if ((_q60 == _q20 && ! TREE_SIDE_EFFECTS (_q60)) || (operand_equal_p (_q60, _q20, 0) && types_match (_q60, _q20)))
    5207                 :             :                       {
    5208                 :           0 :                         if ((_q61 == _q40 && ! TREE_SIDE_EFFECTS (_q61)) || (operand_equal_p (_q61, _q40, 0) && types_match (_q61, _q40)))
    5209                 :             :                           {
    5210                 :           0 :                             {
    5211                 :           0 :                               tree captures[2] ATTRIBUTE_UNUSED = { _q20, _q40 };
    5212                 :           0 :                               tree res = generic_simplify_153 (loc, type, _p0, _p1, captures);
    5213                 :           0 :                               if (res) return res;
    5214                 :             :                             }
    5215                 :             :                           }
    5216                 :             :                       }
    5217                 :             :                     break;
    5218                 :             :                   }
    5219                 :             :                 default:;
    5220                 :             :                 }
    5221                 :             :               break;
    5222                 :             :             }
    5223                 :        1301 :           default:;
    5224                 :             :           }
    5225                 :        1301 :         switch (TREE_CODE (_q20))
    5226                 :             :           {
    5227                 :         480 :           case BIT_NOT_EXPR:
    5228                 :         480 :             {
    5229                 :         480 :               tree _q30 = TREE_OPERAND (_q20, 0);
    5230                 :         480 :               switch (TREE_CODE (_p1))
    5231                 :             :                 {
    5232                 :          28 :                 case BIT_IOR_EXPR:
    5233                 :          28 :                   {
    5234                 :          28 :                     tree _q60 = TREE_OPERAND (_p1, 0);
    5235                 :          28 :                     tree _q61 = TREE_OPERAND (_p1, 1);
    5236                 :          28 :                     if ((_q60 == _q21 && ! TREE_SIDE_EFFECTS (_q60)) || (operand_equal_p (_q60, _q21, 0) && types_match (_q60, _q21)))
    5237                 :             :                       {
    5238                 :           0 :                         if ((_q61 == _q30 && ! TREE_SIDE_EFFECTS (_q61)) || (operand_equal_p (_q61, _q30, 0) && types_match (_q61, _q30)))
    5239                 :             :                           {
    5240                 :           0 :                             {
    5241                 :           0 :                               tree captures[2] ATTRIBUTE_UNUSED = { _q21, _q30 };
    5242                 :           0 :                               tree res = generic_simplify_153 (loc, type, _p0, _p1, captures);
    5243                 :           0 :                               if (res) return res;
    5244                 :             :                             }
    5245                 :             :                           }
    5246                 :             :                       }
    5247                 :          28 :                     if ((_q60 == _q30 && ! TREE_SIDE_EFFECTS (_q60)) || (operand_equal_p (_q60, _q30, 0) && types_match (_q60, _q30)))
    5248                 :             :                       {
    5249                 :           9 :                         if ((_q61 == _q21 && ! TREE_SIDE_EFFECTS (_q61)) || (operand_equal_p (_q61, _q21, 0) && types_match (_q61, _q21)))
    5250                 :             :                           {
    5251                 :           0 :                             {
    5252                 :           0 :                               tree captures[2] ATTRIBUTE_UNUSED = { _q21, _q30 };
    5253                 :           0 :                               tree res = generic_simplify_153 (loc, type, _p0, _p1, captures);
    5254                 :           0 :                               if (res) return res;
    5255                 :             :                             }
    5256                 :             :                           }
    5257                 :           9 :                         switch (TREE_CODE (_q61))
    5258                 :             :                           {
    5259                 :           0 :                           case BIT_NOT_EXPR:
    5260                 :           0 :                             {
    5261                 :           0 :                               tree _q80 = TREE_OPERAND (_q61, 0);
    5262                 :           0 :                               if ((_q80 == _q21 && ! TREE_SIDE_EFFECTS (_q80)) || (operand_equal_p (_q80, _q21, 0) && types_match (_q80, _q21)))
    5263                 :             :                                 {
    5264                 :           0 :                                   {
    5265                 :           0 :                                     tree captures[2] ATTRIBUTE_UNUSED = { _q30, _q21 };
    5266                 :           0 :                                     tree res = generic_simplify_154 (loc, type, _p0, _p1, captures);
    5267                 :           0 :                                     if (res) return res;
    5268                 :             :                                   }
    5269                 :             :                                 }
    5270                 :             :                               break;
    5271                 :             :                             }
    5272                 :             :                           default:;
    5273                 :             :                           }
    5274                 :             :                       }
    5275                 :          28 :                     switch (TREE_CODE (_q60))
    5276                 :             :                       {
    5277                 :           1 :                       case BIT_NOT_EXPR:
    5278                 :           1 :                         {
    5279                 :           1 :                           tree _q70 = TREE_OPERAND (_q60, 0);
    5280                 :           1 :                           if ((_q70 == _q21 && ! TREE_SIDE_EFFECTS (_q70)) || (operand_equal_p (_q70, _q21, 0) && types_match (_q70, _q21)))
    5281                 :             :                             {
    5282                 :           1 :                               if ((_q61 == _q30 && ! TREE_SIDE_EFFECTS (_q61)) || (operand_equal_p (_q61, _q30, 0) && types_match (_q61, _q30)))
    5283                 :             :                                 {
    5284                 :           1 :                                   {
    5285                 :           1 :                                     tree captures[2] ATTRIBUTE_UNUSED = { _q30, _q21 };
    5286                 :           1 :                                     tree res = generic_simplify_154 (loc, type, _p0, _p1, captures);
    5287                 :           1 :                                     if (res) return res;
    5288                 :             :                                   }
    5289                 :             :                                 }
    5290                 :             :                             }
    5291                 :             :                           break;
    5292                 :             :                         }
    5293                 :             :                       default:;
    5294                 :             :                       }
    5295                 :             :                     break;
    5296                 :             :                   }
    5297                 :           9 :                 case BIT_XOR_EXPR:
    5298                 :           9 :                   {
    5299                 :           9 :                     tree _q60 = TREE_OPERAND (_p1, 0);
    5300                 :           9 :                     tree _q61 = TREE_OPERAND (_p1, 1);
    5301                 :           9 :                     if ((_q60 == _q30 && ! TREE_SIDE_EFFECTS (_q60)) || (operand_equal_p (_q60, _q30, 0) && types_match (_q60, _q30)))
    5302                 :             :                       {
    5303                 :           0 :                         if ((_q61 == _q21 && ! TREE_SIDE_EFFECTS (_q61)) || (operand_equal_p (_q61, _q21, 0) && types_match (_q61, _q21)))
    5304                 :             :                           {
    5305                 :           0 :                             {
    5306                 :           0 :                               tree captures[4] ATTRIBUTE_UNUSED = { _p0, _q30, _q21, _p1 };
    5307                 :           0 :                               tree res = generic_simplify_155 (loc, type, _p0, _p1, captures);
    5308                 :           0 :                               if (res) return res;
    5309                 :             :                             }
    5310                 :             :                           }
    5311                 :             :                       }
    5312                 :             :                     break;
    5313                 :             :                   }
    5314                 :         479 :                 default:;
    5315                 :             :                 }
    5316                 :         479 :               {
    5317                 :         479 :                 tree captures[3] ATTRIBUTE_UNUSED = { _q30, _q21, _p1 };
    5318                 :         479 :                 tree res = generic_simplify_156 (loc, type, _p0, _p1, captures);
    5319                 :         479 :                 if (res) return res;
    5320                 :             :               }
    5321                 :         431 :               break;
    5322                 :             :             }
    5323                 :        1252 :           default:;
    5324                 :             :           }
    5325                 :        1252 :         switch (TREE_CODE (_q21))
    5326                 :             :           {
    5327                 :          62 :           case BIT_NOT_EXPR:
    5328                 :          62 :             {
    5329                 :          62 :               tree _q40 = TREE_OPERAND (_q21, 0);
    5330                 :          62 :               switch (TREE_CODE (_p1))
    5331                 :             :                 {
    5332                 :           9 :                 case BIT_IOR_EXPR:
    5333                 :           9 :                   {
    5334                 :           9 :                     tree _q60 = TREE_OPERAND (_p1, 0);
    5335                 :           9 :                     tree _q61 = TREE_OPERAND (_p1, 1);
    5336                 :           9 :                     if ((_q60 == _q40 && ! TREE_SIDE_EFFECTS (_q60)) || (operand_equal_p (_q60, _q40, 0) && types_match (_q60, _q40)))
    5337                 :             :                       {
    5338                 :           0 :                         if ((_q61 == _q20 && ! TREE_SIDE_EFFECTS (_q61)) || (operand_equal_p (_q61, _q20, 0) && types_match (_q61, _q20)))
    5339                 :             :                           {
    5340                 :           0 :                             {
    5341                 :           0 :                               tree captures[2] ATTRIBUTE_UNUSED = { _q20, _q40 };
    5342                 :           0 :                               tree res = generic_simplify_153 (loc, type, _p0, _p1, captures);
    5343                 :           0 :                               if (res) return res;
    5344                 :             :                             }
    5345                 :             :                           }
    5346                 :             :                       }
    5347                 :             :                     break;
    5348                 :             :                   }
    5349                 :           9 :                 case BIT_XOR_EXPR:
    5350                 :           9 :                   {
    5351                 :           9 :                     tree _q60 = TREE_OPERAND (_p1, 0);
    5352                 :           9 :                     tree _q61 = TREE_OPERAND (_p1, 1);
    5353                 :           9 :                     if ((_q60 == _q40 && ! TREE_SIDE_EFFECTS (_q60)) || (operand_equal_p (_q60, _q40, 0) && types_match (_q60, _q40)))
    5354                 :             :                       {
    5355                 :           0 :                         if ((_q61 == _q20 && ! TREE_SIDE_EFFECTS (_q61)) || (operand_equal_p (_q61, _q20, 0) && types_match (_q61, _q20)))
    5356                 :             :                           {
    5357                 :           0 :                             {
    5358                 :           0 :                               tree captures[4] ATTRIBUTE_UNUSED = { _p0, _q40, _q20, _p1 };
    5359                 :           0 :                               tree res = generic_simplify_155 (loc, type, _p0, _p1, captures);
    5360                 :           0 :                               if (res) return res;
    5361                 :             :                             }
    5362                 :             :                           }
    5363                 :             :                       }
    5364                 :             :                     break;
    5365                 :             :                   }
    5366                 :             :                 default:;
    5367                 :             :                 }
    5368                 :             :               break;
    5369                 :             :             }
    5370                 :        1252 :           default:;
    5371                 :             :           }
    5372                 :        1252 :         switch (TREE_CODE (_p1))
    5373                 :             :           {
    5374                 :          65 :           case BIT_AND_EXPR:
    5375                 :          65 :             {
    5376                 :          65 :               tree _q50 = TREE_OPERAND (_p1, 0);
    5377                 :          65 :               tree _q51 = TREE_OPERAND (_p1, 1);
    5378                 :          65 :               if ((_q50 == _q20 && ! TREE_SIDE_EFFECTS (_q50)) || (operand_equal_p (_q50, _q20, 0) && types_match (_q50, _q20)))
    5379                 :             :                 {
    5380                 :           6 :                   if ((_q51 == _q21 && ! TREE_SIDE_EFFECTS (_q51)) || (operand_equal_p (_q51, _q21, 0) && types_match (_q51, _q21)))
    5381                 :             :                     {
    5382                 :           0 :                       {
    5383                 :           0 :                         tree captures[2] ATTRIBUTE_UNUSED = { _q20, _q21 };
    5384                 :           0 :                         tree res = generic_simplify_157 (loc, type, _p0, _p1, captures);
    5385                 :           0 :                         if (res) return res;
    5386                 :             :                       }
    5387                 :             :                     }
    5388                 :             :                 }
    5389                 :             :               break;
    5390                 :             :             }
    5391                 :          36 :           case BIT_XOR_EXPR:
    5392                 :          36 :             {
    5393                 :          36 :               tree _q50 = TREE_OPERAND (_p1, 0);
    5394                 :          36 :               tree _q51 = TREE_OPERAND (_p1, 1);
    5395                 :          36 :               if ((_q50 == _q20 && ! TREE_SIDE_EFFECTS (_q50)) || (operand_equal_p (_q50, _q20, 0) && types_match (_q50, _q20)))
    5396                 :             :                 {
    5397                 :           0 :                   if ((_q51 == _q21 && ! TREE_SIDE_EFFECTS (_q51)) || (operand_equal_p (_q51, _q21, 0) && types_match (_q51, _q21)))
    5398                 :             :                     {
    5399                 :           0 :                       {
    5400                 :           0 :                         tree captures[2] ATTRIBUTE_UNUSED = { _q20, _q21 };
    5401                 :           0 :                         tree res = generic_simplify_158 (loc, type, _p0, _p1, captures);
    5402                 :           0 :                         if (res) return res;
    5403                 :             :                       }
    5404                 :             :                     }
    5405                 :             :                 }
    5406                 :             :               break;
    5407                 :             :             }
    5408                 :        1252 :           default:;
    5409                 :             :           }
    5410                 :        1252 :         switch (TREE_CODE (_q21))
    5411                 :             :           {
    5412                 :          62 :           case BIT_NOT_EXPR:
    5413                 :          62 :             {
    5414                 :          62 :               tree _q40 = TREE_OPERAND (_q21, 0);
    5415                 :          62 :               switch (TREE_CODE (_p1))
    5416                 :             :                 {
    5417                 :           9 :                 case BIT_IOR_EXPR:
    5418                 :           9 :                   {
    5419                 :           9 :                     tree _q60 = TREE_OPERAND (_p1, 0);
    5420                 :           9 :                     tree _q61 = TREE_OPERAND (_p1, 1);
    5421                 :           9 :                     if ((_q60 == _q40 && ! TREE_SIDE_EFFECTS (_q60)) || (operand_equal_p (_q60, _q40, 0) && types_match (_q60, _q40)))
    5422                 :             :                       {
    5423                 :           0 :                         switch (TREE_CODE (_q61))
    5424                 :             :                           {
    5425                 :           0 :                           case BIT_NOT_EXPR:
    5426                 :           0 :                             {
    5427                 :           0 :                               tree _q80 = TREE_OPERAND (_q61, 0);
    5428                 :           0 :                               if ((_q80 == _q20 && ! TREE_SIDE_EFFECTS (_q80)) || (operand_equal_p (_q80, _q20, 0) && types_match (_q80, _q20)))
    5429                 :             :                                 {
    5430                 :           0 :                                   {
    5431                 :           0 :                                     tree captures[2] ATTRIBUTE_UNUSED = { _q40, _q20 };
    5432                 :           0 :                                     tree res = generic_simplify_154 (loc, type, _p0, _p1, captures);
    5433                 :           0 :                                     if (res) return res;
    5434                 :             :                                   }
    5435                 :             :                                 }
    5436                 :             :                               break;
    5437                 :             :                             }
    5438                 :             :                           default:;
    5439                 :             :                           }
    5440                 :             :                       }
    5441                 :           9 :                     switch (TREE_CODE (_q60))
    5442                 :             :                       {
    5443                 :           0 :                       case BIT_NOT_EXPR:
    5444                 :           0 :                         {
    5445                 :           0 :                           tree _q70 = TREE_OPERAND (_q60, 0);
    5446                 :           0 :                           if ((_q70 == _q20 && ! TREE_SIDE_EFFECTS (_q70)) || (operand_equal_p (_q70, _q20, 0) && types_match (_q70, _q20)))
    5447                 :             :                             {
    5448                 :           0 :                               if ((_q61 == _q40 && ! TREE_SIDE_EFFECTS (_q61)) || (operand_equal_p (_q61, _q40, 0) && types_match (_q61, _q40)))
    5449                 :             :                                 {
    5450                 :           0 :                                   {
    5451                 :           0 :                                     tree captures[2] ATTRIBUTE_UNUSED = { _q40, _q20 };
    5452                 :           0 :                                     tree res = generic_simplify_154 (loc, type, _p0, _p1, captures);
    5453                 :           0 :                                     if (res) return res;
    5454                 :             :                                   }
    5455                 :             :                                 }
    5456                 :             :                             }
    5457                 :             :                           break;
    5458                 :             :                         }
    5459                 :             :                       default:;
    5460                 :             :                       }
    5461                 :             :                     break;
    5462                 :             :                   }
    5463                 :             :                 default:;
    5464                 :             :                 }
    5465                 :             :               break;
    5466                 :             :             }
    5467                 :        1252 :           default:;
    5468                 :             :           }
    5469                 :        1252 :         switch (TREE_CODE (_p1))
    5470                 :             :           {
    5471                 :          24 :           CASE_CONVERT:
    5472                 :          24 :             {
    5473                 :          24 :               tree _q50 = TREE_OPERAND (_p1, 0);
    5474                 :          24 :               if ((_q50 == _q20 && ! TREE_SIDE_EFFECTS (_q50)) || operand_equal_p (_q50, _q20, 0))
    5475                 :             :                 {
    5476                 :           0 :                   {
    5477                 :           0 :                     tree captures[3] ATTRIBUTE_UNUSED = { _q20, _q21, _q20 };
    5478                 :           0 :                     tree res = generic_simplify_159 (loc, type, _p0, _p1, captures);
    5479                 :           0 :                     if (res) return res;
    5480                 :             :                   }
    5481                 :             :                 }
    5482                 :          24 :               if ((_q50 == _q21 && ! TREE_SIDE_EFFECTS (_q50)) || operand_equal_p (_q50, _q21, 0))
    5483                 :             :                 {
    5484                 :           0 :                   {
    5485                 :           0 :                     tree captures[3] ATTRIBUTE_UNUSED = { _q21, _q20, _q21 };
    5486                 :           0 :                     tree res = generic_simplify_159 (loc, type, _p0, _p1, captures);
    5487                 :           0 :                     if (res) return res;
    5488                 :             :                   }
    5489                 :             :                 }
    5490                 :             :               break;
    5491                 :             :             }
    5492                 :        1252 :           default:;
    5493                 :             :           }
    5494                 :        1252 :         if ((_p1 == _q20 && ! TREE_SIDE_EFFECTS (_p1)) || operand_equal_p (_p1, _q20, 0))
    5495                 :             :           {
    5496                 :           3 :             {
    5497                 :           3 :               tree captures[3] ATTRIBUTE_UNUSED = { _q20, _q21, _q20 };
    5498                 :           3 :               tree res = generic_simplify_159 (loc, type, _p0, _p1, captures);
    5499                 :           3 :               if (res) return res;
    5500                 :             :             }
    5501                 :             :           }
    5502                 :        1249 :         if ((_p1 == _q21 && ! TREE_SIDE_EFFECTS (_p1)) || operand_equal_p (_p1, _q21, 0))
    5503                 :             :           {
    5504                 :           3 :             {
    5505                 :           3 :               tree captures[3] ATTRIBUTE_UNUSED = { _q21, _q20, _q21 };
    5506                 :           3 :               tree res = generic_simplify_159 (loc, type, _p0, _p1, captures);
    5507                 :           3 :               if (res) return res;
    5508                 :             :             }
    5509                 :             :           }
    5510                 :        1246 :         {
    5511                 :        1246 :           tree _q20_pops[1];
    5512                 :        1246 :           if (tree_nop_convert (_q20, _q20_pops))
    5513                 :             :             {
    5514                 :           8 :               tree _q30 = _q20_pops[0];
    5515                 :           8 :               switch (TREE_CODE (_q30))
    5516                 :             :                 {
    5517                 :           8 :                 case BIT_NOT_EXPR:
    5518                 :           8 :                   {
    5519                 :           8 :                     tree _q40 = TREE_OPERAND (_q30, 0);
    5520                 :           8 :                     {
    5521                 :           8 :                       tree captures[3] ATTRIBUTE_UNUSED = { _q40, _q21, _p1 };
    5522                 :           8 :                       tree res = generic_simplify_156 (loc, type, _p0, _p1, captures);
    5523                 :           8 :                       if (res) return res;
    5524                 :             :                     }
    5525                 :           0 :                     break;
    5526                 :             :                   }
    5527                 :             :                 default:;
    5528                 :             :                 }
    5529                 :             :             }
    5530                 :             :         }
    5531                 :        1238 :         switch (TREE_CODE (_q21))
    5532                 :             :           {
    5533                 :          62 :           case BIT_NOT_EXPR:
    5534                 :          62 :             {
    5535                 :          62 :               tree _q40 = TREE_OPERAND (_q21, 0);
    5536                 :          62 :               {
    5537                 :          62 :                 tree captures[3] ATTRIBUTE_UNUSED = { _q40, _q20, _p1 };
    5538                 :          62 :                 tree res = generic_simplify_156 (loc, type, _p0, _p1, captures);
    5539                 :          62 :                 if (res) return res;
    5540                 :             :               }
    5541                 :          54 :               break;
    5542                 :             :             }
    5543                 :        1230 :           default:;
    5544                 :             :           }
    5545                 :        1230 :       {
    5546                 :        1230 :         tree _q21_pops[1];
    5547                 :        1230 :         if (tree_nop_convert (_q21, _q21_pops))
    5548                 :             :           {
    5549                 :           0 :             tree _q40 = _q21_pops[0];
    5550                 :           0 :             switch (TREE_CODE (_q40))
    5551                 :             :               {
    5552                 :           0 :               case BIT_NOT_EXPR:
    5553                 :           0 :                 {
    5554                 :           0 :                   tree _q50 = TREE_OPERAND (_q40, 0);
    5555                 :           0 :                   {
    5556                 :           0 :                     tree captures[3] ATTRIBUTE_UNUSED = { _q50, _q20, _p1 };
    5557                 :           0 :                     tree res = generic_simplify_156 (loc, type, _p0, _p1, captures);
    5558                 :           0 :                     if (res) return res;
    5559                 :             :                   }
    5560                 :           0 :                   break;
    5561                 :             :                 }
    5562                 :             :               default:;
    5563                 :             :               }
    5564                 :             :           }
    5565                 :             :       }
    5566                 :        1230 :         break;
    5567                 :             :       }
    5568                 :        3881 :     case BIT_XOR_EXPR:
    5569                 :        3881 :       {
    5570                 :        3881 :         tree _q20 = TREE_OPERAND (_p0, 0);
    5571                 :        3881 :         tree _q21 = TREE_OPERAND (_p0, 1);
    5572                 :        3881 :         switch (TREE_CODE (_p1))
    5573                 :             :           {
    5574                 :         203 :           case BIT_IOR_EXPR:
    5575                 :         203 :             {
    5576                 :         203 :               tree _q50 = TREE_OPERAND (_p1, 0);
    5577                 :         203 :               tree _q51 = TREE_OPERAND (_p1, 1);
    5578                 :         203 :               switch (TREE_CODE (_q50))
    5579                 :             :                 {
    5580                 :           1 :                 case BIT_NOT_EXPR:
    5581                 :           1 :                   {
    5582                 :           1 :                     tree _q60 = TREE_OPERAND (_q50, 0);
    5583                 :           1 :                     if ((_q60 == _q20 && ! TREE_SIDE_EFFECTS (_q60)) || (operand_equal_p (_q60, _q20, 0) && types_match (_q60, _q20)))
    5584                 :             :                       {
    5585                 :           1 :                         if ((_q51 == _q21 && ! TREE_SIDE_EFFECTS (_q51)) || (operand_equal_p (_q51, _q21, 0) && types_match (_q51, _q21)))
    5586                 :             :                           {
    5587                 :           1 :                             {
    5588                 :           1 :                               tree captures[4] ATTRIBUTE_UNUSED = { _p1, _q20, _q21, _p0 };
    5589                 :           1 :                               tree res = generic_simplify_155 (loc, type, _p0, _p1, captures);
    5590                 :           1 :                               if (res) return res;
    5591                 :             :                             }
    5592                 :             :                           }
    5593                 :             :                       }
    5594                 :             :                     break;
    5595                 :             :                   }
    5596                 :         202 :                 default:;
    5597                 :             :                 }
    5598                 :         202 :               if ((_q50 == _q21 && ! TREE_SIDE_EFFECTS (_q50)) || (operand_equal_p (_q50, _q21, 0) && types_match (_q50, _q21)))
    5599                 :             :                 {
    5600                 :           0 :                   switch (TREE_CODE (_q51))
    5601                 :             :                     {
    5602                 :           0 :                     case BIT_NOT_EXPR:
    5603                 :           0 :                       {
    5604                 :           0 :                         tree _q70 = TREE_OPERAND (_q51, 0);
    5605                 :           0 :                         if ((_q70 == _q20 && ! TREE_SIDE_EFFECTS (_q70)) || (operand_equal_p (_q70, _q20, 0) && types_match (_q70, _q20)))
    5606                 :             :                           {
    5607                 :           0 :                             {
    5608                 :           0 :                               tree captures[4] ATTRIBUTE_UNUSED = { _p1, _q20, _q21, _p0 };
    5609                 :           0 :                               tree res = generic_simplify_155 (loc, type, _p0, _p1, captures);
    5610                 :           0 :                               if (res) return res;
    5611                 :             :                             }
    5612                 :             :                           }
    5613                 :             :                         break;
    5614                 :             :                       }
    5615                 :             :                     default:;
    5616                 :             :                     }
    5617                 :             :                 }
    5618                 :         202 :               if ((_q50 == _q20 && ! TREE_SIDE_EFFECTS (_q50)) || (operand_equal_p (_q50, _q20, 0) && types_match (_q50, _q20)))
    5619                 :             :                 {
    5620                 :           1 :                   if ((_q51 == _q21 && ! TREE_SIDE_EFFECTS (_q51)) || (operand_equal_p (_q51, _q21, 0) && types_match (_q51, _q21)))
    5621                 :             :                     {
    5622                 :           0 :                       {
    5623                 :           0 :                         tree captures[2] ATTRIBUTE_UNUSED = { _q20, _q21 };
    5624                 :           0 :                         tree res = generic_simplify_158 (loc, type, _p0, _p1, captures);
    5625                 :           0 :                         if (res) return res;
    5626                 :             :                       }
    5627                 :             :                     }
    5628                 :             :                 }
    5629                 :             :               break;
    5630                 :             :             }
    5631                 :          41 :           case BIT_AND_EXPR:
    5632                 :          41 :             {
    5633                 :          41 :               tree _q50 = TREE_OPERAND (_p1, 0);
    5634                 :          41 :               tree _q51 = TREE_OPERAND (_p1, 1);
    5635                 :          41 :               if ((_q50 == _q20 && ! TREE_SIDE_EFFECTS (_q50)) || (operand_equal_p (_q50, _q20, 0) && types_match (_q50, _q20)))
    5636                 :             :                 {
    5637                 :           0 :                   if ((_q51 == _q21 && ! TREE_SIDE_EFFECTS (_q51)) || (operand_equal_p (_q51, _q21, 0) && types_match (_q51, _q21)))
    5638                 :             :                     {
    5639                 :           0 :                       {
    5640                 :           0 :                         tree captures[2] ATTRIBUTE_UNUSED = { _q20, _q21 };
    5641                 :           0 :                         tree res = generic_simplify_8 (loc, type, _p0, _p1, captures, BIT_XOR_EXPR);
    5642                 :           0 :                         if (res) return res;
    5643                 :             :                       }
    5644                 :             :                     }
    5645                 :             :                 }
    5646                 :             :               break;
    5647                 :             :             }
    5648                 :         198 :           CASE_CONVERT:
    5649                 :         198 :             {
    5650                 :         198 :               tree _q50 = TREE_OPERAND (_p1, 0);
    5651                 :         198 :               if ((_q50 == _q21 && ! TREE_SIDE_EFFECTS (_q50)) || operand_equal_p (_q50, _q21, 0))
    5652                 :             :                 {
    5653                 :           0 :                   {
    5654                 :           0 :                     tree captures[3] ATTRIBUTE_UNUSED = { _q20, _q21, _q21 };
    5655                 :           0 :                     tree res = generic_simplify_160 (loc, type, _p0, _p1, captures);
    5656                 :           0 :                     if (res) return res;
    5657                 :             :                   }
    5658                 :             :                 }
    5659                 :         198 :               if ((_q50 == _q20 && ! TREE_SIDE_EFFECTS (_q50)) || operand_equal_p (_q50, _q20, 0))
    5660                 :             :                 {
    5661                 :           0 :                   {
    5662                 :           0 :                     tree captures[3] ATTRIBUTE_UNUSED = { _q21, _q20, _q20 };
    5663                 :           0 :                     tree res = generic_simplify_160 (loc, type, _p0, _p1, captures);
    5664                 :           0 :                     if (res) return res;
    5665                 :             :                   }
    5666                 :             :                 }
    5667                 :             :               break;
    5668                 :             :             }
    5669                 :        3880 :           default:;
    5670                 :             :           }
    5671                 :        3880 :         if ((_p1 == _q21 && ! TREE_SIDE_EFFECTS (_p1)) || operand_equal_p (_p1, _q21, 0))
    5672                 :             :           {
    5673                 :           0 :             {
    5674                 :           0 :               tree captures[3] ATTRIBUTE_UNUSED = { _q20, _q21, _q21 };
    5675                 :           0 :               tree res = generic_simplify_160 (loc, type, _p0, _p1, captures);
    5676                 :           0 :               if (res) return res;
    5677                 :             :             }
    5678                 :             :           }
    5679                 :        3880 :         if ((_p1 == _q20 && ! TREE_SIDE_EFFECTS (_p1)) || operand_equal_p (_p1, _q20, 0))
    5680                 :             :           {
    5681                 :          11 :             {
    5682                 :          11 :               tree captures[3] ATTRIBUTE_UNUSED = { _q21, _q20, _q20 };
    5683                 :          11 :               tree res = generic_simplify_160 (loc, type, _p0, _p1, captures);
    5684                 :          11 :               if (res) return res;
    5685                 :             :             }
    5686                 :             :           }
    5687                 :             :         break;
    5688                 :             :       }
    5689                 :        2835 :     case BIT_AND_EXPR:
    5690                 :        2835 :       {
    5691                 :        2835 :         tree _q20 = TREE_OPERAND (_p0, 0);
    5692                 :        2835 :         tree _q21 = TREE_OPERAND (_p0, 1);
    5693                 :        2835 :         switch (TREE_CODE (_p1))
    5694                 :             :           {
    5695                 :          74 :           case BIT_IOR_EXPR:
    5696                 :          74 :             {
    5697                 :          74 :               tree _q50 = TREE_OPERAND (_p1, 0);
    5698                 :          74 :               tree _q51 = TREE_OPERAND (_p1, 1);
    5699                 :          74 :               if ((_q50 == _q20 && ! TREE_SIDE_EFFECTS (_q50)) || (operand_equal_p (_q50, _q20, 0) && types_match (_q50, _q20)))
    5700                 :             :                 {
    5701                 :          18 :                   if ((_q51 == _q21 && ! TREE_SIDE_EFFECTS (_q51)) || (operand_equal_p (_q51, _q21, 0) && types_match (_q51, _q21)))
    5702                 :             :                     {
    5703                 :           0 :                       {
    5704                 :           0 :                         tree captures[2] ATTRIBUTE_UNUSED = { _q20, _q21 };
    5705                 :           0 :                         tree res = generic_simplify_157 (loc, type, _p0, _p1, captures);
    5706                 :           0 :                         if (res) return res;
    5707                 :             :                       }
    5708                 :             :                     }
    5709                 :             :                 }
    5710                 :             :               break;
    5711                 :             :             }
    5712                 :          30 :           case BIT_XOR_EXPR:
    5713                 :          30 :             {
    5714                 :          30 :               tree _q50 = TREE_OPERAND (_p1, 0);
    5715                 :          30 :               tree _q51 = TREE_OPERAND (_p1, 1);
    5716                 :          30 :               if ((_q50 == _q20 && ! TREE_SIDE_EFFECTS (_q50)) || (operand_equal_p (_q50, _q20, 0) && types_match (_q50, _q20)))
    5717                 :             :                 {
    5718                 :           0 :                   if ((_q51 == _q21 && ! TREE_SIDE_EFFECTS (_q51)) || (operand_equal_p (_q51, _q21, 0) && types_match (_q51, _q21)))
    5719                 :             :                     {
    5720                 :           0 :                       {
    5721                 :           0 :                         tree captures[2] ATTRIBUTE_UNUSED = { _q20, _q21 };
    5722                 :           0 :                         tree res = generic_simplify_8 (loc, type, _p0, _p1, captures, BIT_XOR_EXPR);
    5723                 :           0 :                         if (res) return res;
    5724                 :             :                       }
    5725                 :             :                     }
    5726                 :             :                 }
    5727                 :             :               break;
    5728                 :             :             }
    5729                 :        2835 :           default:;
    5730                 :             :           }
    5731                 :        2835 :         switch (TREE_CODE (_q21))
    5732                 :             :           {
    5733                 :        1010 :           case INTEGER_CST:
    5734                 :        1010 :             {
    5735                 :        1010 :               switch (TREE_CODE (_p1))
    5736                 :             :                 {
    5737                 :          15 :                 CASE_CONVERT:
    5738                 :          15 :                   {
    5739                 :          15 :                     tree _q50 = TREE_OPERAND (_p1, 0);
    5740                 :          15 :                     switch (TREE_CODE (_q50))
    5741                 :             :                       {
    5742                 :           0 :                       case BIT_AND_EXPR:
    5743                 :           0 :                         {
    5744                 :           0 :                           tree _q60 = TREE_OPERAND (_q50, 0);
    5745                 :           0 :                           tree _q61 = TREE_OPERAND (_q50, 1);
    5746                 :           0 :                           switch (TREE_CODE (_q61))
    5747                 :             :                             {
    5748                 :           0 :                             case INTEGER_CST:
    5749                 :           0 :                               {
    5750                 :           0 :                                 {
    5751                 :           0 :                                   tree captures[6] ATTRIBUTE_UNUSED = { _p0, _q20, _q21, _q50, _q60, _q61 };
    5752                 :           0 :                                   tree res = generic_simplify_10 (loc, type, _p0, _p1, captures, BIT_XOR_EXPR);
    5753                 :           0 :                                   if (res) return res;
    5754                 :             :                                 }
    5755                 :           0 :                                 break;
    5756                 :             :                               }
    5757                 :             :                             default:;
    5758                 :             :                             }
    5759                 :             :                           break;
    5760                 :             :                         }
    5761                 :             :                       default:;
    5762                 :             :                       }
    5763                 :             :                     break;
    5764                 :             :                   }
    5765                 :         210 :                 case BIT_AND_EXPR:
    5766                 :         210 :                   {
    5767                 :         210 :                     tree _q50 = TREE_OPERAND (_p1, 0);
    5768                 :         210 :                     tree _q51 = TREE_OPERAND (_p1, 1);
    5769                 :         210 :                     switch (TREE_CODE (_q51))
    5770                 :             :                       {
    5771                 :         210 :                       case INTEGER_CST:
    5772                 :         210 :                         {
    5773                 :         210 :                           {
    5774                 :         210 :                             tree captures[6] ATTRIBUTE_UNUSED = { _p0, _q20, _q21, _p1, _q50, _q51 };
    5775                 :         210 :                             tree res = generic_simplify_10 (loc, type, _p0, _p1, captures, BIT_XOR_EXPR);
    5776                 :         210 :                             if (res) return res;
    5777                 :             :                           }
    5778                 :         209 :                           break;
    5779                 :             :                         }
    5780                 :             :                       default:;
    5781                 :             :                       }
    5782                 :             :                     break;
    5783                 :             :                   }
    5784                 :             :                 default:;
    5785                 :             :                 }
    5786                 :             :               break;
    5787                 :             :             }
    5788                 :             :           default:;
    5789                 :             :           }
    5790                 :             :         break;
    5791                 :             :       }
    5792                 :      499117 :     CASE_CONVERT:
    5793                 :      499117 :       {
    5794                 :      499117 :         tree _q20 = TREE_OPERAND (_p0, 0);
    5795                 :      499117 :         switch (TREE_CODE (_q20))
    5796                 :             :           {
    5797                 :          24 :           case BIT_AND_EXPR:
    5798                 :          24 :             {
    5799                 :          24 :               tree _q30 = TREE_OPERAND (_q20, 0);
    5800                 :          24 :               tree _q31 = TREE_OPERAND (_q20, 1);
    5801                 :          24 :               switch (TREE_CODE (_q31))
    5802                 :             :                 {
    5803                 :           0 :                 case INTEGER_CST:
    5804                 :           0 :                   {
    5805                 :           0 :                     switch (TREE_CODE (_p1))
    5806                 :             :                       {
    5807                 :           0 :                       CASE_CONVERT:
    5808                 :           0 :                         {
    5809                 :           0 :                           tree _q60 = TREE_OPERAND (_p1, 0);
    5810                 :           0 :                           switch (TREE_CODE (_q60))
    5811                 :             :                             {
    5812                 :           0 :                             case BIT_AND_EXPR:
    5813                 :           0 :                               {
    5814                 :           0 :                                 tree _q70 = TREE_OPERAND (_q60, 0);
    5815                 :           0 :                                 tree _q71 = TREE_OPERAND (_q60, 1);
    5816                 :           0 :                                 switch (TREE_CODE (_q71))
    5817                 :             :                                   {
    5818                 :           0 :                                   case INTEGER_CST:
    5819                 :           0 :                                     {
    5820                 :           0 :                                       {
    5821                 :           0 :                                         tree captures[6] ATTRIBUTE_UNUSED = { _q20, _q30, _q31, _q60, _q70, _q71 };
    5822                 :           0 :                                         tree res = generic_simplify_10 (loc, type, _p0, _p1, captures, BIT_XOR_EXPR);
    5823                 :           0 :                                         if (res) return res;
    5824                 :             :                                       }
    5825                 :           0 :                                       break;
    5826                 :             :                                     }
    5827                 :             :                                   default:;
    5828                 :             :                                   }
    5829                 :             :                                 break;
    5830                 :             :                               }
    5831                 :             :                             default:;
    5832                 :             :                             }
    5833                 :             :                           break;
    5834                 :             :                         }
    5835                 :           0 :                       case BIT_AND_EXPR:
    5836                 :           0 :                         {
    5837                 :           0 :                           tree _q60 = TREE_OPERAND (_p1, 0);
    5838                 :           0 :                           tree _q61 = TREE_OPERAND (_p1, 1);
    5839                 :           0 :                           switch (TREE_CODE (_q61))
    5840                 :             :                             {
    5841                 :           0 :                             case INTEGER_CST:
    5842                 :           0 :                               {
    5843                 :           0 :                                 {
    5844                 :           0 :                                   tree captures[6] ATTRIBUTE_UNUSED = { _q20, _q30, _q31, _p1, _q60, _q61 };
    5845                 :           0 :                                   tree res = generic_simplify_10 (loc, type, _p0, _p1, captures, BIT_XOR_EXPR);
    5846                 :           0 :                                   if (res) return res;
    5847                 :             :                                 }
    5848                 :           0 :                                 break;
    5849                 :             :                               }
    5850                 :             :                             default:;
    5851                 :             :                             }
    5852                 :             :                           break;
    5853                 :             :                         }
    5854                 :             :                       default:;
    5855                 :             :                       }
    5856                 :             :                     break;
    5857                 :             :                   }
    5858                 :             :                 default:;
    5859                 :             :                 }
    5860                 :             :               break;
    5861                 :             :             }
    5862                 :          17 :           case BIT_IOR_EXPR:
    5863                 :          17 :             {
    5864                 :          17 :               tree _q30 = TREE_OPERAND (_q20, 0);
    5865                 :          17 :               tree _q31 = TREE_OPERAND (_q20, 1);
    5866                 :          17 :               switch (TREE_CODE (_p1))
    5867                 :             :                 {
    5868                 :          16 :                 CASE_CONVERT:
    5869                 :          16 :                   {
    5870                 :          16 :                     tree _q60 = TREE_OPERAND (_p1, 0);
    5871                 :          16 :                     if ((_q60 == _q30 && ! TREE_SIDE_EFFECTS (_q60)) || operand_equal_p (_q60, _q30, 0))
    5872                 :             :                       {
    5873                 :           0 :                         {
    5874                 :           0 :                           tree captures[3] ATTRIBUTE_UNUSED = { _q30, _q31, _q30 };
    5875                 :           0 :                           tree res = generic_simplify_159 (loc, type, _p0, _p1, captures);
    5876                 :           0 :                           if (res) return res;
    5877                 :             :                         }
    5878                 :             :                       }
    5879                 :          16 :                     if ((_q60 == _q31 && ! TREE_SIDE_EFFECTS (_q60)) || operand_equal_p (_q60, _q31, 0))
    5880                 :             :                       {
    5881                 :           0 :                         {
    5882                 :           0 :                           tree captures[3] ATTRIBUTE_UNUSED = { _q31, _q30, _q31 };
    5883                 :           0 :                           tree res = generic_simplify_159 (loc, type, _p0, _p1, captures);
    5884                 :           0 :                           if (res) return res;
    5885                 :             :                         }
    5886                 :             :                       }
    5887                 :             :                     break;
    5888                 :             :                   }
    5889                 :          17 :                 default:;
    5890                 :             :                 }
    5891                 :          17 :               if ((_p1 == _q30 && ! TREE_SIDE_EFFECTS (_p1)) || operand_equal_p (_p1, _q30, 0))
    5892                 :             :                 {
    5893                 :           0 :                   {
    5894                 :           0 :                     tree captures[3] ATTRIBUTE_UNUSED = { _q30, _q31, _q30 };
    5895                 :           0 :                     tree res = generic_simplify_159 (loc, type, _p0, _p1, captures);
    5896                 :           0 :                     if (res) return res;
    5897                 :             :                   }
    5898                 :             :                 }
    5899                 :          17 :               if ((_p1 == _q31 && ! TREE_SIDE_EFFECTS (_p1)) || operand_equal_p (_p1, _q31, 0))
    5900                 :             :                 {
    5901                 :           0 :                   {
    5902                 :           0 :                     tree captures[3] ATTRIBUTE_UNUSED = { _q31, _q30, _q31 };
    5903                 :           0 :                     tree res = generic_simplify_159 (loc, type, _p0, _p1, captures);
    5904                 :           0 :                     if (res) return res;
    5905                 :             :                   }
    5906                 :             :                 }
    5907                 :             :               break;
    5908                 :             :             }
    5909                 :      499117 :           default:;
    5910                 :             :           }
    5911                 :      499117 :         switch (TREE_CODE (_p1))
    5912                 :             :           {
    5913                 :      495311 :           CASE_CONVERT:
    5914                 :      495311 :             {
    5915                 :      495311 :               tree _q40 = TREE_OPERAND (_p1, 0);
    5916                 :      495311 :               switch (TREE_CODE (_q40))
    5917                 :             :                 {
    5918                 :           0 :                 case BIT_IOR_EXPR:
    5919                 :           0 :                   {
    5920                 :           0 :                     tree _q50 = TREE_OPERAND (_q40, 0);
    5921                 :           0 :                     tree _q51 = TREE_OPERAND (_q40, 1);
    5922                 :           0 :                     if ((_q50 == _q20 && ! TREE_SIDE_EFFECTS (_q50)) || operand_equal_p (_q50, _q20, 0))
    5923                 :             :                       {
    5924                 :           0 :                         {
    5925                 :           0 :                           tree captures[3] ATTRIBUTE_UNUSED = { _q50, _q51, _q20 };
    5926                 :           0 :                           tree res = generic_simplify_159 (loc, type, _p0, _p1, captures);
    5927                 :           0 :                           if (res) return res;
    5928                 :             :                         }
    5929                 :             :                       }
    5930                 :           0 :                     if ((_q51 == _q20 && ! TREE_SIDE_EFFECTS (_q51)) || operand_equal_p (_q51, _q20, 0))
    5931                 :             :                       {
    5932                 :           0 :                         {
    5933                 :           0 :                           tree captures[3] ATTRIBUTE_UNUSED = { _q51, _q50, _q20 };
    5934                 :           0 :                           tree res = generic_simplify_159 (loc, type, _p0, _p1, captures);
    5935                 :           0 :                           if (res) return res;
    5936                 :             :                         }
    5937                 :             :                       }
    5938                 :             :                     break;
    5939                 :             :                   }
    5940                 :             :                 default:;
    5941                 :             :                 }
    5942                 :             :               break;
    5943                 :             :             }
    5944                 :          26 :           case BIT_IOR_EXPR:
    5945                 :          26 :             {
    5946                 :          26 :               tree _q40 = TREE_OPERAND (_p1, 0);
    5947                 :          26 :               tree _q41 = TREE_OPERAND (_p1, 1);
    5948                 :          26 :               if ((_q40 == _q20 && ! TREE_SIDE_EFFECTS (_q40)) || operand_equal_p (_q40, _q20, 0))
    5949                 :             :                 {
    5950                 :           0 :                   {
    5951                 :           0 :                     tree captures[3] ATTRIBUTE_UNUSED = { _q40, _q41, _q20 };
    5952                 :           0 :                     tree res = generic_simplify_159 (loc, type, _p0, _p1, captures);
    5953                 :           0 :                     if (res) return res;
    5954                 :             :                   }
    5955                 :             :                 }
    5956                 :          26 :               if ((_q41 == _q20 && ! TREE_SIDE_EFFECTS (_q41)) || operand_equal_p (_q41, _q20, 0))
    5957                 :             :                 {
    5958                 :           0 :                   {
    5959                 :           0 :                     tree captures[3] ATTRIBUTE_UNUSED = { _q41, _q40, _q20 };
    5960                 :           0 :                     tree res = generic_simplify_159 (loc, type, _p0, _p1, captures);
    5961                 :           0 :                     if (res) return res;
    5962                 :             :                   }
    5963                 :             :                 }
    5964                 :             :               break;
    5965                 :             :             }
    5966                 :             :           default:;
    5967                 :             :           }
    5968                 :             :         break;
    5969                 :             :       }
    5970                 :      685907 :     default:;
    5971                 :             :     }
    5972                 :      685907 :   switch (TREE_CODE (_p1))
    5973                 :             :     {
    5974                 :      538153 :     CASE_CONVERT:
    5975                 :      538153 :       {
    5976                 :      538153 :         tree _q30 = TREE_OPERAND (_p1, 0);
    5977                 :      538153 :         switch (TREE_CODE (_q30))
    5978                 :             :           {
    5979                 :           6 :           case BIT_IOR_EXPR:
    5980                 :           6 :             {
    5981                 :           6 :               tree _q40 = TREE_OPERAND (_q30, 0);
    5982                 :           6 :               tree _q41 = TREE_OPERAND (_q30, 1);
    5983                 :           6 :               if ((_q40 == _p0 && ! TREE_SIDE_EFFECTS (_q40)) || operand_equal_p (_q40, _p0, 0))
    5984                 :             :                 {
    5985                 :           0 :                   {
    5986                 :           0 :                     tree captures[3] ATTRIBUTE_UNUSED = { _q40, _q41, _p0 };
    5987                 :           0 :                     tree res = generic_simplify_159 (loc, type, _p0, _p1, captures);
    5988                 :           0 :                     if (res) return res;
    5989                 :             :                   }
    5990                 :             :                 }
    5991                 :           6 :               if ((_q41 == _p0 && ! TREE_SIDE_EFFECTS (_q41)) || operand_equal_p (_q41, _p0, 0))
    5992                 :             :                 {
    5993                 :           0 :                   {
    5994                 :           0 :                     tree captures[3] ATTRIBUTE_UNUSED = { _q41, _q40, _p0 };
    5995                 :           0 :                     tree res = generic_simplify_159 (loc, type, _p0, _p1, captures);
    5996                 :           0 :                     if (res) return res;
    5997                 :             :                   }
    5998                 :             :                 }
    5999                 :             :               break;
    6000                 :             :             }
    6001                 :             :           default:;
    6002                 :             :           }
    6003                 :             :         break;
    6004                 :             :       }
    6005                 :         518 :     case BIT_IOR_EXPR:
    6006                 :         518 :       {
    6007                 :         518 :         tree _q30 = TREE_OPERAND (_p1, 0);
    6008                 :         518 :         tree _q31 = TREE_OPERAND (_p1, 1);
    6009                 :         518 :         if ((_q30 == _p0 && ! TREE_SIDE_EFFECTS (_q30)) || operand_equal_p (_q30, _p0, 0))
    6010                 :             :           {
    6011                 :           1 :             {
    6012                 :           1 :               tree captures[3] ATTRIBUTE_UNUSED = { _q30, _q31, _p0 };
    6013                 :           1 :               tree res = generic_simplify_159 (loc, type, _p0, _p1, captures);
    6014                 :           1 :               if (res) return res;
    6015                 :             :             }
    6016                 :             :           }
    6017                 :         517 :         if ((_q31 == _p0 && ! TREE_SIDE_EFFECTS (_q31)) || operand_equal_p (_q31, _p0, 0))
    6018                 :             :           {
    6019                 :           1 :             {
    6020                 :           1 :               tree captures[3] ATTRIBUTE_UNUSED = { _q31, _q30, _p0 };
    6021                 :           1 :               tree res = generic_simplify_159 (loc, type, _p0, _p1, captures);
    6022                 :           1 :               if (res) return res;
    6023                 :             :             }
    6024                 :             :           }
    6025                 :             :         break;
    6026                 :             :       }
    6027                 :      685905 :     default:;
    6028                 :             :     }
    6029                 :      685905 :   {
    6030                 :      685905 :     tree _p0_pops[1];
    6031                 :      685905 :     if (tree_nop_convert (_p0, _p0_pops))
    6032                 :             :       {
    6033                 :      480940 :         tree _q20 = _p0_pops[0];
    6034                 :      480940 :         switch (TREE_CODE (_q20))
    6035                 :             :           {
    6036                 :          16 :           case BIT_IOR_EXPR:
    6037                 :          16 :             {
    6038                 :          16 :               tree _q30 = TREE_OPERAND (_q20, 0);
    6039                 :          16 :               tree _q31 = TREE_OPERAND (_q20, 1);
    6040                 :          16 :               {
    6041                 :          16 :                 tree _q30_pops[1];
    6042                 :          16 :                 if (tree_nop_convert (_q30, _q30_pops))
    6043                 :             :                   {
    6044                 :           0 :                     tree _q40 = _q30_pops[0];
    6045                 :           0 :                     switch (TREE_CODE (_q40))
    6046                 :             :                       {
    6047                 :           0 :                       case BIT_NOT_EXPR:
    6048                 :           0 :                         {
    6049                 :           0 :                           tree _q50 = TREE_OPERAND (_q40, 0);
    6050                 :           0 :                           {
    6051                 :           0 :                             tree captures[3] ATTRIBUTE_UNUSED = { _q50, _q31, _p1 };
    6052                 :           0 :                             tree res = generic_simplify_156 (loc, type, _p0, _p1, captures);
    6053                 :           0 :                             if (res) return res;
    6054                 :             :                           }
    6055                 :           0 :                           break;
    6056                 :             :                         }
    6057                 :             :                       default:;
    6058                 :             :                       }
    6059                 :             :                   }
    6060                 :             :               }
    6061                 :          16 :               {
    6062                 :          16 :                 tree _q31_pops[1];
    6063                 :          16 :                 if (tree_nop_convert (_q31, _q31_pops))
    6064                 :             :                   {
    6065                 :           0 :                     tree _q50 = _q31_pops[0];
    6066                 :           0 :                     switch (TREE_CODE (_q50))
    6067                 :             :                       {
    6068                 :           0 :                       case BIT_NOT_EXPR:
    6069                 :           0 :                         {
    6070                 :           0 :                           tree _q60 = TREE_OPERAND (_q50, 0);
    6071                 :           0 :                           {
    6072                 :           0 :                             tree captures[3] ATTRIBUTE_UNUSED = { _q60, _q30, _p1 };
    6073                 :           0 :                             tree res = generic_simplify_156 (loc, type, _p0, _p1, captures);
    6074                 :           0 :                             if (res) return res;
    6075                 :             :                           }
    6076                 :           0 :                           break;
    6077                 :             :                         }
    6078                 :             :                       default:;
    6079                 :             :                       }
    6080                 :             :                   }
    6081                 :             :               }
    6082                 :          16 :               switch (TREE_CODE (_q30))
    6083                 :             :                 {
    6084                 :          16 :                 case BIT_NOT_EXPR:
    6085                 :          16 :                   {
    6086                 :          16 :                     tree _q40 = TREE_OPERAND (_q30, 0);
    6087                 :          16 :                     {
    6088                 :          16 :                       tree captures[3] ATTRIBUTE_UNUSED = { _q40, _q31, _p1 };
    6089                 :          16 :                       tree res = generic_simplify_156 (loc, type, _p0, _p1, captures);
    6090                 :          16 :                       if (res) return res;
    6091                 :             :                     }
    6092                 :           0 :                     break;
    6093                 :             :                   }
    6094                 :           0 :                 default:;
    6095                 :             :                 }
    6096                 :           0 :               switch (TREE_CODE (_q31))
    6097                 :             :                 {
    6098                 :           0 :                 case BIT_NOT_EXPR:
    6099                 :           0 :                   {
    6100                 :           0 :                     tree _q50 = TREE_OPERAND (_q31, 0);
    6101                 :           0 :                     {
    6102                 :           0 :                       tree captures[3] ATTRIBUTE_UNUSED = { _q50, _q30, _p1 };
    6103                 :           0 :                       tree res = generic_simplify_156 (loc, type, _p0, _p1, captures);
    6104                 :           0 :                       if (res) return res;
    6105                 :             :                     }
    6106                 :           0 :                     break;
    6107                 :             :                   }
    6108                 :             :                 default:;
    6109                 :             :                 }
    6110                 :             :               break;
    6111                 :             :             }
    6112                 :             :           default:;
    6113                 :             :           }
    6114                 :             :       }
    6115                 :             :   }
    6116                 :      685889 :   switch (TREE_CODE (_p1))
    6117                 :             :     {
    6118                 :         516 :     case BIT_IOR_EXPR:
    6119                 :         516 :       {
    6120                 :         516 :         tree _q30 = TREE_OPERAND (_p1, 0);
    6121                 :         516 :         tree _q31 = TREE_OPERAND (_p1, 1);
    6122                 :         516 :         {
    6123                 :         516 :           tree _q30_pops[1];
    6124                 :         516 :           if (tree_nop_convert (_q30, _q30_pops))
    6125                 :             :             {
    6126                 :           2 :               tree _q40 = _q30_pops[0];
    6127                 :           2 :               switch (TREE_CODE (_q40))
    6128                 :             :                 {
    6129                 :           0 :                 case BIT_NOT_EXPR:
    6130                 :           0 :                   {
    6131                 :           0 :                     tree _q50 = TREE_OPERAND (_q40, 0);
    6132                 :           0 :                     {
    6133                 :           0 :                       tree captures[3] ATTRIBUTE_UNUSED = { _q50, _q31, _p0 };
    6134                 :           0 :                       tree res = generic_simplify_156 (loc, type, _p0, _p1, captures);
    6135                 :           0 :                       if (res) return res;
    6136                 :             :                     }
    6137                 :           0 :                     break;
    6138                 :             :                   }
    6139                 :             :                 default:;
    6140                 :             :                 }
    6141                 :             :             }
    6142                 :             :         }
    6143                 :         516 :         {
    6144                 :         516 :           tree _q31_pops[1];
    6145                 :         516 :           if (tree_nop_convert (_q31, _q31_pops))
    6146                 :             :             {
    6147                 :           2 :               tree _q50 = _q31_pops[0];
    6148                 :           2 :               switch (TREE_CODE (_q50))
    6149                 :             :                 {
    6150                 :           0 :                 case BIT_NOT_EXPR:
    6151                 :           0 :                   {
    6152                 :           0 :                     tree _q60 = TREE_OPERAND (_q50, 0);
    6153                 :           0 :                     {
    6154                 :           0 :                       tree captures[3] ATTRIBUTE_UNUSED = { _q60, _q30, _p0 };
    6155                 :           0 :                       tree res = generic_simplify_156 (loc, type, _p0, _p1, captures);
    6156                 :           0 :                       if (res) return res;
    6157                 :             :                     }
    6158                 :           0 :                     break;
    6159                 :             :                   }
    6160                 :             :                 default:;
    6161                 :             :                 }
    6162                 :             :             }
    6163                 :             :         }
    6164                 :         516 :         switch (TREE_CODE (_q30))
    6165                 :             :           {
    6166                 :          18 :           case BIT_NOT_EXPR:
    6167                 :          18 :             {
    6168                 :          18 :               tree _q40 = TREE_OPERAND (_q30, 0);
    6169                 :          18 :               {
    6170                 :          18 :                 tree captures[3] ATTRIBUTE_UNUSED = { _q40, _q31, _p0 };
    6171                 :          18 :                 tree res = generic_simplify_156 (loc, type, _p0, _p1, captures);
    6172                 :          18 :                 if (res) return res;
    6173                 :             :               }
    6174                 :          18 :               break;
    6175                 :             :             }
    6176                 :         516 :           default:;
    6177                 :             :           }
    6178                 :         516 :         switch (TREE_CODE (_q31))
    6179                 :             :           {
    6180                 :          25 :           case BIT_NOT_EXPR:
    6181                 :          25 :             {
    6182                 :          25 :               tree _q50 = TREE_OPERAND (_q31, 0);
    6183                 :          25 :               {
    6184                 :          25 :                 tree captures[3] ATTRIBUTE_UNUSED = { _q50, _q30, _p0 };
    6185                 :          25 :                 tree res = generic_simplify_156 (loc, type, _p0, _p1, captures);
    6186                 :          25 :                 if (res) return res;
    6187                 :             :               }
    6188                 :          17 :               break;
    6189                 :             :             }
    6190                 :             :           default:;
    6191                 :             :           }
    6192                 :             :         break;
    6193                 :             :       }
    6194                 :      685881 :     default:;
    6195                 :             :     }
    6196                 :      685881 : {
    6197                 :      685881 :   tree _p1_pops[1];
    6198                 :      685881 :   if (tree_nop_convert (_p1, _p1_pops))
    6199                 :             :     {
    6200                 :      522215 :       tree _q30 = _p1_pops[0];
    6201                 :      522215 :       switch (TREE_CODE (_q30))
    6202                 :             :         {
    6203                 :           0 :         case BIT_IOR_EXPR:
    6204                 :           0 :           {
    6205                 :           0 :             tree _q40 = TREE_OPERAND (_q30, 0);
    6206                 :           0 :             tree _q41 = TREE_OPERAND (_q30, 1);
    6207                 :           0 :             {
    6208                 :           0 :               tree _q40_pops[1];
    6209                 :           0 :               if (tree_nop_convert (_q40, _q40_pops))
    6210                 :             :                 {
    6211                 :           0 :                   tree _q50 = _q40_pops[0];
    6212                 :           0 :                   switch (TREE_CODE (_q50))
    6213                 :             :                     {
    6214                 :           0 :                     case BIT_NOT_EXPR:
    6215                 :           0 :                       {
    6216                 :           0 :                         tree _q60 = TREE_OPERAND (_q50, 0);
    6217                 :           0 :                         {
    6218                 :           0 :                           tree captures[3] ATTRIBUTE_UNUSED = { _q60, _q41, _p0 };
    6219                 :           0 :                           tree res = generic_simplify_156 (loc, type, _p0, _p1, captures);
    6220                 :           0 :                           if (res) return res;
    6221                 :             :                         }
    6222                 :           0 :                         break;
    6223                 :             :                       }
    6224                 :             :                     default:;
    6225                 :             :                     }
    6226                 :             :                 }
    6227                 :             :             }
    6228                 :           0 :             {
    6229                 :           0 :               tree _q41_pops[1];
    6230                 :           0 :               if (tree_nop_convert (_q41, _q41_pops))
    6231                 :             :                 {
    6232                 :           0 :                   tree _q60 = _q41_pops[0];
    6233                 :           0 :                   switch (TREE_CODE (_q60))
    6234                 :             :                     {
    6235                 :           0 :                     case BIT_NOT_EXPR:
    6236                 :           0 :                       {
    6237                 :           0 :                         tree _q70 = TREE_OPERAND (_q60, 0);
    6238                 :           0 :                         {
    6239                 :           0 :                           tree captures[3] ATTRIBUTE_UNUSED = { _q70, _q40, _p0 };
    6240                 :           0 :                           tree res = generic_simplify_156 (loc, type, _p0, _p1, captures);
    6241                 :           0 :                           if (res) return res;
    6242                 :             :                         }
    6243                 :           0 :                         break;
    6244                 :             :                       }
    6245                 :             :                     default:;
    6246                 :             :                     }
    6247                 :             :                 }
    6248                 :             :             }
    6249                 :           0 :             switch (TREE_CODE (_q40))
    6250                 :             :               {
    6251                 :           0 :               case BIT_NOT_EXPR:
    6252                 :           0 :                 {
    6253                 :           0 :                   tree _q50 = TREE_OPERAND (_q40, 0);
    6254                 :           0 :                   {
    6255                 :           0 :                     tree captures[3] ATTRIBUTE_UNUSED = { _q50, _q41, _p0 };
    6256                 :           0 :                     tree res = generic_simplify_156 (loc, type, _p0, _p1, captures);
    6257                 :           0 :                     if (res) return res;
    6258                 :             :                   }
    6259                 :           0 :                   break;
    6260                 :             :                 }
    6261                 :           0 :               default:;
    6262                 :             :               }
    6263                 :           0 :             switch (TREE_CODE (_q41))
    6264                 :             :               {
    6265                 :           0 :               case BIT_NOT_EXPR:
    6266                 :           0 :                 {
    6267                 :           0 :                   tree _q60 = TREE_OPERAND (_q41, 0);
    6268                 :           0 :                   {
    6269                 :           0 :                     tree captures[3] ATTRIBUTE_UNUSED = { _q60, _q40, _p0 };
    6270                 :           0 :                     tree res = generic_simplify_156 (loc, type, _p0, _p1, captures);
    6271                 :           0 :                     if (res) return res;
    6272                 :             :                   }
    6273                 :           0 :                   break;
    6274                 :             :                 }
    6275                 :             :               default:;
    6276                 :             :               }
    6277                 :             :             break;
    6278                 :             :           }
    6279                 :             :         default:;
    6280                 :             :         }
    6281                 :             :     }
    6282                 :             : }
    6283                 :      685881 :   switch (TREE_CODE (_p0))
    6284                 :             :     {
    6285                 :      499093 :     CASE_CONVERT:
    6286                 :      499093 :       {
    6287                 :      499093 :         tree _q20 = TREE_OPERAND (_p0, 0);
    6288                 :      499093 :         switch (TREE_CODE (_q20))
    6289                 :             :           {
    6290                 :          50 :           case BIT_NOT_EXPR:
    6291                 :          50 :             {
    6292                 :          50 :               tree _q30 = TREE_OPERAND (_q20, 0);
    6293                 :          50 :               switch (TREE_CODE (_p1))
    6294                 :             :                 {
    6295                 :           0 :                 CASE_CONVERT:
    6296                 :           0 :                   {
    6297                 :           0 :                     tree _q50 = TREE_OPERAND (_p1, 0);
    6298                 :           0 :                     switch (TREE_CODE (_q50))
    6299                 :             :                       {
    6300                 :           0 :                       case BIT_NOT_EXPR:
    6301                 :           0 :                         {
    6302                 :           0 :                           tree _q60 = TREE_OPERAND (_q50, 0);
    6303                 :           0 :                           {
    6304                 :           0 :                             tree captures[2] ATTRIBUTE_UNUSED = { _q30, _q60 };
    6305                 :           0 :                             tree res = generic_simplify_161 (loc, type, _p0, _p1, captures);
    6306                 :           0 :                             if (res) return res;
    6307                 :             :                           }
    6308                 :           0 :                           break;
    6309                 :             :                         }
    6310                 :             :                       default:;
    6311                 :             :                       }
    6312                 :             :                     break;
    6313                 :             :                   }
    6314                 :           0 :                 case BIT_NOT_EXPR:
    6315                 :           0 :                   {
    6316                 :           0 :                     tree _q50 = TREE_OPERAND (_p1, 0);
    6317                 :           0 :                     {
    6318                 :           0 :                       tree captures[2] ATTRIBUTE_UNUSED = { _q30, _q50 };
    6319                 :           0 :                       tree res = generic_simplify_161 (loc, type, _p0, _p1, captures);
    6320                 :           0 :                       if (res) return res;
    6321                 :             :                     }
    6322                 :           0 :                     break;
    6323                 :             :                   }
    6324                 :          26 :                 case INTEGER_CST:
    6325                 :          26 :                   {
    6326                 :          26 :                     {
    6327                 :          26 :                       tree captures[2] ATTRIBUTE_UNUSED = { _q30, _p1 };
    6328                 :          26 :                       tree res = generic_simplify_162 (loc, type, _p0, _p1, captures);
    6329                 :          26 :                       if (res) return res;
    6330                 :             :                     }
    6331                 :          24 :                     break;
    6332                 :             :                   }
    6333                 :             :                 default:;
    6334                 :             :                 }
    6335                 :             :               break;
    6336                 :             :             }
    6337                 :             :           default:;
    6338                 :             :           }
    6339                 :             :         break;
    6340                 :             :       }
    6341                 :         477 :     case BIT_NOT_EXPR:
    6342                 :         477 :       {
    6343                 :         477 :         tree _q20 = TREE_OPERAND (_p0, 0);
    6344                 :         477 :         switch (TREE_CODE (_p1))
    6345                 :             :           {
    6346                 :          18 :           CASE_CONVERT:
    6347                 :          18 :             {
    6348                 :          18 :               tree _q40 = TREE_OPERAND (_p1, 0);
    6349                 :          18 :               switch (TREE_CODE (_q40))
    6350                 :             :                 {
    6351                 :           0 :                 case BIT_NOT_EXPR:
    6352                 :           0 :                   {
    6353                 :           0 :                     tree _q50 = TREE_OPERAND (_q40, 0);
    6354                 :           0 :                     {
    6355                 :           0 :                       tree captures[2] ATTRIBUTE_UNUSED = { _q20, _q50 };
    6356                 :           0 :                       tree res = generic_simplify_161 (loc, type, _p0, _p1, captures);
    6357                 :           0 :                       if (res) return res;
    6358                 :             :                     }
    6359                 :           0 :                     break;
    6360                 :             :                   }
    6361                 :             :                 default:;
    6362                 :             :                 }
    6363                 :             :               break;
    6364                 :             :             }
    6365                 :          10 :           case BIT_NOT_EXPR:
    6366                 :          10 :             {
    6367                 :          10 :               tree _q40 = TREE_OPERAND (_p1, 0);
    6368                 :          10 :               {
    6369                 :          10 :                 tree captures[2] ATTRIBUTE_UNUSED = { _q20, _q40 };
    6370                 :          10 :                 tree res = generic_simplify_161 (loc, type, _p0, _p1, captures);
    6371                 :          10 :                 if (res) return res;
    6372                 :             :               }
    6373                 :           0 :               break;
    6374                 :             :             }
    6375                 :          24 :           case INTEGER_CST:
    6376                 :          24 :             {
    6377                 :          24 :               {
    6378                 :          24 :                 tree captures[2] ATTRIBUTE_UNUSED = { _q20, _p1 };
    6379                 :          24 :                 tree res = generic_simplify_162 (loc, type, _p0, _p1, captures);
    6380                 :          24 :                 if (res) return res;
    6381                 :             :               }
    6382                 :           0 :               break;
    6383                 :             :             }
    6384                 :         443 :           default:;
    6385                 :             :           }
    6386                 :         443 :         {
    6387                 :         443 :           tree captures[4] ATTRIBUTE_UNUSED = { _p0, _p0, _q20, _p1 };
    6388                 :         443 :           tree res = generic_simplify_163 (loc, type, _p0, _p1, captures);
    6389                 :         443 :           if (res) return res;
    6390                 :             :         }
    6391                 :           0 :         break;
    6392                 :             :       }
    6393                 :        2832 :     case BIT_AND_EXPR:
    6394                 :        2832 :       {
    6395                 :        2832 :         tree _q20 = TREE_OPERAND (_p0, 0);
    6396                 :        2832 :         tree _q21 = TREE_OPERAND (_p0, 1);
    6397                 :        2832 :         if ((_p1 == _q21 && ! TREE_SIDE_EFFECTS (_p1)) || (operand_equal_p (_p1, _q21, 0) && types_match (_p1, _q21)))
    6398                 :             :           {
    6399                 :          67 :             {
    6400                 :          67 :               tree captures[3] ATTRIBUTE_UNUSED = { _p0, _q20, _q21 };
    6401                 :          67 :               tree res = generic_simplify_164 (loc, type, _p0, _p1, captures, BIT_XOR_EXPR, BIT_AND_EXPR);
    6402                 :          67 :               if (res) return res;
    6403                 :             :             }
    6404                 :             :           }
    6405                 :        2765 :         if ((_p1 == _q20 && ! TREE_SIDE_EFFECTS (_p1)) || (operand_equal_p (_p1, _q20, 0) && types_match (_p1, _q20)))
    6406                 :             :           {
    6407                 :           3 :             {
    6408                 :           3 :               tree captures[3] ATTRIBUTE_UNUSED = { _p0, _q21, _q20 };
    6409                 :           3 :               tree res = generic_simplify_164 (loc, type, _p0, _p1, captures, BIT_XOR_EXPR, BIT_AND_EXPR);
    6410                 :           3 :               if (res) return res;
    6411                 :             :             }
    6412                 :             :           }
    6413                 :        2762 :         switch (TREE_CODE (_p1))
    6414                 :             :           {
    6415                 :         353 :           case BIT_AND_EXPR:
    6416                 :         353 :             {
    6417                 :         353 :               tree _q50 = TREE_OPERAND (_p1, 0);
    6418                 :         353 :               tree _q51 = TREE_OPERAND (_p1, 1);
    6419                 :         353 :               if ((_q50 == _q20 && ! TREE_SIDE_EFFECTS (_q50)) || operand_equal_p (_q50, _q20, 0))
    6420                 :             :                 {
    6421                 :          21 :                   {
    6422                 :          21 :                     tree captures[4] ATTRIBUTE_UNUSED = { _q20, _q21, _q51, _q20 };
    6423                 :          21 :                     tree res = generic_simplify_94 (loc, type, _p0, _p1, captures, BIT_XOR_EXPR, BIT_AND_EXPR);
    6424                 :          21 :                     if (res) return res;
    6425                 :             :                   }
    6426                 :             :                 }
    6427                 :         332 :               if ((_q51 == _q20 && ! TREE_SIDE_EFFECTS (_q51)) || operand_equal_p (_q51, _q20, 0))
    6428                 :             :                 {
    6429                 :           0 :                   {
    6430                 :           0 :                     tree captures[4] ATTRIBUTE_UNUSED = { _q20, _q21, _q50, _q20 };
    6431                 :           0 :                     tree res = generic_simplify_94 (loc, type, _p0, _p1, captures, BIT_XOR_EXPR, BIT_AND_EXPR);
    6432                 :           0 :                     if (res) return res;
    6433                 :             :                   }
    6434                 :             :                 }
    6435                 :         332 :               if ((_q50 == _q21 && ! TREE_SIDE_EFFECTS (_q50)) || operand_equal_p (_q50, _q21, 0))
    6436                 :             :                 {
    6437                 :           0 :                   {
    6438                 :           0 :                     tree captures[4] ATTRIBUTE_UNUSED = { _q21, _q20, _q51, _q21 };
    6439                 :           0 :                     tree res = generic_simplify_94 (loc, type, _p0, _p1, captures, BIT_XOR_EXPR, BIT_AND_EXPR);
    6440                 :           0 :                     if (res) return res;
    6441                 :             :                   }
    6442                 :             :                 }
    6443                 :         332 :               if ((_q51 == _q21 && ! TREE_SIDE_EFFECTS (_q51)) || operand_equal_p (_q51, _q21, 0))
    6444                 :             :                 {
    6445                 :         201 :                   {
    6446                 :         201 :                     tree captures[4] ATTRIBUTE_UNUSED = { _q21, _q20, _q50, _q21 };
    6447                 :         201 :                     tree res = generic_simplify_94 (loc, type, _p0, _p1, captures, BIT_XOR_EXPR, BIT_AND_EXPR);
    6448                 :         201 :                     if (res) return res;
    6449                 :             :                   }
    6450                 :             :                 }
    6451                 :             :               break;
    6452                 :             :             }
    6453                 :             :           default:;
    6454                 :             :           }
    6455                 :             :         break;
    6456                 :             :       }
    6457                 :      685110 :     default:;
    6458                 :             :     }
    6459                 :      685110 :   switch (TREE_CODE (_p1))
    6460                 :             :     {
    6461                 :         421 :     case BIT_AND_EXPR:
    6462                 :         421 :       {
    6463                 :         421 :         tree _q30 = TREE_OPERAND (_p1, 0);
    6464                 :         421 :         tree _q31 = TREE_OPERAND (_p1, 1);
    6465                 :         421 :         if ((_q31 == _p0 && ! TREE_SIDE_EFFECTS (_q31)) || (operand_equal_p (_q31, _p0, 0) && types_match (_q31, _p0)))
    6466                 :             :           {
    6467                 :           0 :             {
    6468                 :           0 :               tree captures[3] ATTRIBUTE_UNUSED = { _p1, _q30, _p0 };
    6469                 :           0 :               tree res = generic_simplify_164 (loc, type, _p0, _p1, captures, BIT_XOR_EXPR, BIT_AND_EXPR);
    6470                 :           0 :               if (res) return res;
    6471                 :             :             }
    6472                 :             :           }
    6473                 :         421 :         if ((_q30 == _p0 && ! TREE_SIDE_EFFECTS (_q30)) || (operand_equal_p (_q30, _p0, 0) && types_match (_q30, _p0)))
    6474                 :             :           {
    6475                 :           0 :             {
    6476                 :           0 :               tree captures[3] ATTRIBUTE_UNUSED = { _p1, _q31, _p0 };
    6477                 :           0 :               tree res = generic_simplify_164 (loc, type, _p0, _p1, captures, BIT_XOR_EXPR, BIT_AND_EXPR);
    6478                 :           0 :               if (res) return res;
    6479                 :             :             }
    6480                 :             :           }
    6481                 :             :         break;
    6482                 :             :       }
    6483                 :      685110 :     default:;
    6484                 :             :     }
    6485                 :      685110 :   switch (TREE_CODE (_p0))
    6486                 :             :     {
    6487                 :      499091 :     CASE_CONVERT:
    6488                 :      499091 :       {
    6489                 :      499091 :         tree _q20 = TREE_OPERAND (_p0, 0);
    6490                 :      499091 :         switch (TREE_CODE (_q20))
    6491                 :             :           {
    6492                 :          24 :           case BIT_AND_EXPR:
    6493                 :          24 :             {
    6494                 :          24 :               tree _q30 = TREE_OPERAND (_q20, 0);
    6495                 :          24 :               tree _q31 = TREE_OPERAND (_q20, 1);
    6496                 :          24 :               switch (TREE_CODE (_p1))
    6497                 :             :                 {
    6498                 :           8 :                 CASE_CONVERT:
    6499                 :           8 :                   {
    6500                 :           8 :                     tree _q60 = TREE_OPERAND (_p1, 0);
    6501                 :           8 :                     switch (TREE_CODE (_q60))
    6502                 :             :                       {
    6503                 :           0 :                       case BIT_AND_EXPR:
    6504                 :           0 :                         {
    6505                 :           0 :                           tree _q70 = TREE_OPERAND (_q60, 0);
    6506                 :           0 :                           tree _q71 = TREE_OPERAND (_q60, 1);
    6507                 :           0 :                           if ((_q70 == _q30 && ! TREE_SIDE_EFFECTS (_q70)) || operand_equal_p (_q70, _q30, 0))
    6508                 :             :                             {
    6509                 :           0 :                               {
    6510                 :           0 :                                 tree captures[4] ATTRIBUTE_UNUSED = { _q30, _q31, _q71, _q30 };
    6511                 :           0 :                                 tree res = generic_simplify_94 (loc, type, _p0, _p1, captures, BIT_XOR_EXPR, BIT_AND_EXPR);
    6512                 :           0 :                                 if (res) return res;
    6513                 :             :                               }
    6514                 :             :                             }
    6515                 :           0 :                           if ((_q71 == _q30 && ! TREE_SIDE_EFFECTS (_q71)) || operand_equal_p (_q71, _q30, 0))
    6516                 :             :                             {
    6517                 :           0 :                               {
    6518                 :           0 :                                 tree captures[4] ATTRIBUTE_UNUSED = { _q30, _q31, _q70, _q30 };
    6519                 :           0 :                                 tree res = generic_simplify_94 (loc, type, _p0, _p1, captures, BIT_XOR_EXPR, BIT_AND_EXPR);
    6520                 :           0 :                                 if (res) return res;
    6521                 :             :                               }
    6522                 :             :                             }
    6523                 :           0 :                           if ((_q70 == _q31 && ! TREE_SIDE_EFFECTS (_q70)) || operand_equal_p (_q70, _q31, 0))
    6524                 :             :                             {
    6525                 :           0 :                               {
    6526                 :           0 :                                 tree captures[4] ATTRIBUTE_UNUSED = { _q31, _q30, _q71, _q31 };
    6527                 :           0 :                                 tree res = generic_simplify_94 (loc, type, _p0, _p1, captures, BIT_XOR_EXPR, BIT_AND_EXPR);
    6528                 :           0 :                                 if (res) return res;
    6529                 :             :                               }
    6530                 :             :                             }
    6531                 :           0 :                           if ((_q71 == _q31 && ! TREE_SIDE_EFFECTS (_q71)) || operand_equal_p (_q71, _q31, 0))
    6532                 :             :                             {
    6533                 :           0 :                               {
    6534                 :           0 :                                 tree captures[4] ATTRIBUTE_UNUSED = { _q31, _q30, _q70, _q31 };
    6535                 :           0 :                                 tree res = generic_simplify_94 (loc, type, _p0, _p1, captures, BIT_XOR_EXPR, BIT_AND_EXPR);
    6536                 :           0 :                                 if (res) return res;
    6537                 :             :                               }
    6538                 :             :                             }
    6539                 :             :                           break;
    6540                 :             :                         }
    6541                 :             :                       default:;
    6542                 :             :                       }
    6543                 :             :                     break;
    6544                 :             :                   }
    6545                 :             :                 default:;
    6546                 :             :                 }
    6547                 :             :               break;
    6548                 :             :             }
    6549                 :       14838 :           case BIT_XOR_EXPR:
    6550                 :       14838 :             {
    6551                 :       14838 :               tree _q30 = TREE_OPERAND (_q20, 0);
    6552                 :       14838 :               tree _q31 = TREE_OPERAND (_q20, 1);
    6553                 :       14838 :               switch (TREE_CODE (_p1))
    6554                 :             :                 {
    6555                 :       14773 :                 CASE_CONVERT:
    6556                 :       14773 :                   {
    6557                 :       14773 :                     tree _q60 = TREE_OPERAND (_p1, 0);
    6558                 :       14773 :                     if ((_q60 == _q31 && ! TREE_SIDE_EFFECTS (_q60)) || operand_equal_p (_q60, _q31, 0))
    6559                 :             :                       {
    6560                 :           0 :                         {
    6561                 :           0 :                           tree captures[3] ATTRIBUTE_UNUSED = { _q30, _q31, _q31 };
    6562                 :           0 :                           tree res = generic_simplify_160 (loc, type, _p0, _p1, captures);
    6563                 :           0 :                           if (res) return res;
    6564                 :             :                         }
    6565                 :             :                       }
    6566                 :       14773 :                     if ((_q60 == _q30 && ! TREE_SIDE_EFFECTS (_q60)) || operand_equal_p (_q60, _q30, 0))
    6567                 :             :                       {
    6568                 :           0 :                         {
    6569                 :           0 :                           tree captures[3] ATTRIBUTE_UNUSED = { _q31, _q30, _q30 };
    6570                 :           0 :                           tree res = generic_simplify_160 (loc, type, _p0, _p1, captures);
    6571                 :           0 :                           if (res) return res;
    6572                 :             :                         }
    6573                 :             :                       }
    6574                 :             :                     break;
    6575                 :             :                   }
    6576                 :       14838 :                 default:;
    6577                 :             :                 }
    6578                 :       14838 :               if ((_p1 == _q31 && ! TREE_SIDE_EFFECTS (_p1)) || operand_equal_p (_p1, _q31, 0))
    6579                 :             :                 {
    6580                 :           0 :                   {
    6581                 :           0 :                     tree captures[3] ATTRIBUTE_UNUSED = { _q30, _q31, _q31 };
    6582                 :           0 :                     tree res = generic_simplify_160 (loc, type, _p0, _p1, captures);
    6583                 :           0 :                     if (res) return res;
    6584                 :             :                   }
    6585                 :             :                 }
    6586                 :       14838 :               if ((_p1 == _q30 && ! TREE_SIDE_EFFECTS (_p1)) || operand_equal_p (_p1, _q30, 0))
    6587                 :             :                 {
    6588                 :           0 :                   {
    6589                 :           0 :                     tree captures[3] ATTRIBUTE_UNUSED = { _q31, _q30, _q30 };
    6590                 :           0 :                     tree res = generic_simplify_160 (loc, type, _p0, _p1, captures);
    6591                 :           0 :                     if (res) return res;
    6592                 :             :                   }
    6593                 :             :                 }
    6594                 :             :               break;
    6595                 :             :             }
    6596                 :      499091 :           default:;
    6597                 :             :           }
    6598                 :      499091 :         switch (TREE_CODE (_p1))
    6599                 :             :           {
    6600                 :      495295 :           CASE_CONVERT:
    6601                 :      495295 :             {
    6602                 :      495295 :               tree _q40 = TREE_OPERAND (_p1, 0);
    6603                 :      495295 :               switch (TREE_CODE (_q40))
    6604                 :             :                 {
    6605                 :           0 :                 case BIT_XOR_EXPR:
    6606                 :           0 :                   {
    6607                 :           0 :                     tree _q50 = TREE_OPERAND (_q40, 0);
    6608                 :           0 :                     tree _q51 = TREE_OPERAND (_q40, 1);
    6609                 :           0 :                     if ((_q51 == _q20 && ! TREE_SIDE_EFFECTS (_q51)) || operand_equal_p (_q51, _q20, 0))
    6610                 :             :                       {
    6611                 :           0 :                         {
    6612                 :           0 :                           tree captures[3] ATTRIBUTE_UNUSED = { _q50, _q51, _q20 };
    6613                 :           0 :                           tree res = generic_simplify_160 (loc, type, _p0, _p1, captures);
    6614                 :           0 :                           if (res) return res;
    6615                 :             :                         }
    6616                 :             :                       }
    6617                 :           0 :                     if ((_q50 == _q20 && ! TREE_SIDE_EFFECTS (_q50)) || operand_equal_p (_q50, _q20, 0))
    6618                 :             :                       {
    6619                 :           0 :                         {
    6620                 :           0 :                           tree captures[3] ATTRIBUTE_UNUSED = { _q51, _q50, _q20 };
    6621                 :           0 :                           tree res = generic_simplify_160 (loc, type, _p0, _p1, captures);
    6622                 :           0 :                           if (res) return res;
    6623                 :             :                         }
    6624                 :             :                       }
    6625                 :             :                     break;
    6626                 :             :                   }
    6627                 :             :                 default:;
    6628                 :             :                 }
    6629                 :             :               break;
    6630                 :             :             }
    6631                 :           2 :           case BIT_XOR_EXPR:
    6632                 :           2 :             {
    6633                 :           2 :               tree _q40 = TREE_OPERAND (_p1, 0);
    6634                 :           2 :               tree _q41 = TREE_OPERAND (_p1, 1);
    6635                 :           2 :               if ((_q41 == _q20 && ! TREE_SIDE_EFFECTS (_q41)) || operand_equal_p (_q41, _q20, 0))
    6636                 :             :                 {
    6637                 :           0 :                   {
    6638                 :           0 :                     tree captures[3] ATTRIBUTE_UNUSED = { _q40, _q41, _q20 };
    6639                 :           0 :                     tree res = generic_simplify_160 (loc, type, _p0, _p1, captures);
    6640                 :           0 :                     if (res) return res;
    6641                 :             :                   }
    6642                 :             :                 }
    6643                 :           2 :               if ((_q40 == _q20 && ! TREE_SIDE_EFFECTS (_q40)) || operand_equal_p (_q40, _q20, 0))
    6644                 :             :                 {
    6645                 :           0 :                   {
    6646                 :           0 :                     tree captures[3] ATTRIBUTE_UNUSED = { _q41, _q40, _q20 };
    6647                 :           0 :                     tree res = generic_simplify_160 (loc, type, _p0, _p1, captures);
    6648                 :           0 :                     if (res) return res;
    6649                 :             :                   }
    6650                 :             :                 }
    6651                 :             :               break;
    6652                 :             :             }
    6653                 :             :           default:;
    6654                 :             :           }
    6655                 :             :         break;
    6656                 :             :       }
    6657                 :      685110 :     default:;
    6658                 :             :     }
    6659                 :      685110 :   switch (TREE_CODE (_p1))
    6660                 :             :     {
    6661                 :      538119 :     CASE_CONVERT:
    6662                 :      538119 :       {
    6663                 :      538119 :         tree _q30 = TREE_OPERAND (_p1, 0);
    6664                 :      538119 :         switch (TREE_CODE (_q30))
    6665                 :             :           {
    6666                 :           8 :           case BIT_XOR_EXPR:
    6667                 :           8 :             {
    6668                 :           8 :               tree _q40 = TREE_OPERAND (_q30, 0);
    6669                 :           8 :               tree _q41 = TREE_OPERAND (_q30, 1);
    6670                 :           8 :               if ((_q41 == _p0 && ! TREE_SIDE_EFFECTS (_q41)) || operand_equal_p (_q41, _p0, 0))
    6671                 :             :                 {
    6672                 :           0 :                   {
    6673                 :           0 :                     tree captures[3] ATTRIBUTE_UNUSED = { _q40, _q41, _p0 };
    6674                 :           0 :                     tree res = generic_simplify_160 (loc, type, _p0, _p1, captures);
    6675                 :           0 :                     if (res) return res;
    6676                 :             :                   }
    6677                 :             :                 }
    6678                 :           8 :               if ((_q40 == _p0 && ! TREE_SIDE_EFFECTS (_q40)) || operand_equal_p (_q40, _p0, 0))
    6679                 :             :                 {
    6680                 :           0 :                   {
    6681                 :           0 :                     tree captures[3] ATTRIBUTE_UNUSED = { _q41, _q40, _p0 };
    6682                 :           0 :                     tree res = generic_simplify_160 (loc, type, _p0, _p1, captures);
    6683                 :           0 :                     if (res) return res;
    6684                 :             :                   }
    6685                 :             :                 }
    6686                 :             :               break;
    6687                 :             :             }
    6688                 :             :           default:;
    6689                 :             :           }
    6690                 :             :         break;
    6691                 :             :       }
    6692                 :          78 :     case BIT_XOR_EXPR:
    6693                 :          78 :       {
    6694                 :          78 :         tree _q30 = TREE_OPERAND (_p1, 0);
    6695                 :          78 :         tree _q31 = TREE_OPERAND (_p1, 1);
    6696                 :          78 :         if ((_q31 == _p0 && ! TREE_SIDE_EFFECTS (_q31)) || operand_equal_p (_q31, _p0, 0))
    6697                 :             :           {
    6698                 :           0 :             {
    6699                 :           0 :               tree captures[3] ATTRIBUTE_UNUSED = { _q30, _q31, _p0 };
    6700                 :           0 :               tree res = generic_simplify_160 (loc, type, _p0, _p1, captures);
    6701                 :           0 :               if (res) return res;
    6702                 :             :             }
    6703                 :             :           }
    6704                 :          78 :         if ((_q30 == _p0 && ! TREE_SIDE_EFFECTS (_q30)) || operand_equal_p (_q30, _p0, 0))
    6705                 :             :           {
    6706                 :           0 :             {
    6707                 :           0 :               tree captures[3] ATTRIBUTE_UNUSED = { _q31, _q30, _p0 };
    6708                 :           0 :               tree res = generic_simplify_160 (loc, type, _p0, _p1, captures);
    6709                 :           0 :               if (res) return res;
    6710                 :             :             }
    6711                 :             :           }
    6712                 :             :         break;
    6713                 :             :       }
    6714                 :      685110 :     default:;
    6715                 :             :     }
    6716                 :      685110 :   switch (TREE_CODE (_p0))
    6717                 :             :     {
    6718                 :      499091 :     CASE_CONVERT:
    6719                 :      499091 :       {
    6720                 :      499091 :         tree _q20 = TREE_OPERAND (_p0, 0);
    6721                 :      499091 :         switch (TREE_CODE (_q20))
    6722                 :             :           {
    6723                 :       14838 :           case BIT_XOR_EXPR:
    6724                 :       14838 :             {
    6725                 :       14838 :               tree _q30 = TREE_OPERAND (_q20, 0);
    6726                 :       14838 :               tree _q31 = TREE_OPERAND (_q20, 1);
    6727                 :       14838 :               switch (TREE_CODE (_p1))
    6728                 :             :                 {
    6729                 :       14773 :                 CASE_CONVERT:
    6730                 :       14773 :                   {
    6731                 :       14773 :                     tree _q60 = TREE_OPERAND (_p1, 0);
    6732                 :       14773 :                     switch (TREE_CODE (_q60))
    6733                 :             :                       {
    6734                 :           0 :                       case BIT_XOR_EXPR:
    6735                 :           0 :                         {
    6736                 :           0 :                           tree _q70 = TREE_OPERAND (_q60, 0);
    6737                 :           0 :                           tree _q71 = TREE_OPERAND (_q60, 1);
    6738                 :           0 :                           if ((_q70 == _q30 && ! TREE_SIDE_EFFECTS (_q70)) || (operand_equal_p (_q70, _q30, 0) && types_match (_q70, _q30)))
    6739                 :             :                             {
    6740                 :           0 :                               {
    6741                 :           0 :                                 tree captures[3] ATTRIBUTE_UNUSED = { _q30, _q31, _q71 };
    6742                 :           0 :                                 tree res = generic_simplify_165 (loc, type, _p0, _p1, captures);
    6743                 :           0 :                                 if (res) return res;
    6744                 :             :                               }
    6745                 :             :                             }
    6746                 :           0 :                           if ((_q71 == _q30 && ! TREE_SIDE_EFFECTS (_q71)) || (operand_equal_p (_q71, _q30, 0) && types_match (_q71, _q30)))
    6747                 :             :                             {
    6748                 :           0 :                               {
    6749                 :           0 :                                 tree captures[3] ATTRIBUTE_UNUSED = { _q30, _q31, _q70 };
    6750                 :           0 :                                 tree res = generic_simplify_165 (loc, type, _p0, _p1, captures);
    6751                 :           0 :                                 if (res) return res;
    6752                 :             :                               }
    6753                 :             :                             }
    6754                 :           0 :                           if ((_q70 == _q31 && ! TREE_SIDE_EFFECTS (_q70)) || (operand_equal_p (_q70, _q31, 0) && types_match (_q70, _q31)))
    6755                 :             :                             {
    6756                 :           0 :                               {
    6757                 :           0 :                                 tree captures[3] ATTRIBUTE_UNUSED = { _q31, _q30, _q71 };
    6758                 :           0 :                                 tree res = generic_simplify_165 (loc, type, _p0, _p1, captures);
    6759                 :           0 :                                 if (res) return res;
    6760                 :             :                               }
    6761                 :             :                             }
    6762                 :           0 :                           if ((_q71 == _q31 && ! TREE_SIDE_EFFECTS (_q71)) || (operand_equal_p (_q71, _q31, 0) && types_match (_q71, _q31)))
    6763                 :             :                             {
    6764                 :           0 :                               {
    6765                 :           0 :                                 tree captures[3] ATTRIBUTE_UNUSED = { _q31, _q30, _q70 };
    6766                 :           0 :                                 tree res = generic_simplify_165 (loc, type, _p0, _p1, captures);
    6767                 :           0 :                                 if (res) return res;
    6768                 :             :                               }
    6769                 :             :                             }
    6770                 :             :                           break;
    6771                 :             :                         }
    6772                 :             :                       default:;
    6773                 :             :                       }
    6774                 :             :                     break;
    6775                 :             :                   }
    6776                 :           0 :                 case BIT_XOR_EXPR:
    6777                 :           0 :                   {
    6778                 :           0 :                     tree _q60 = TREE_OPERAND (_p1, 0);
    6779                 :           0 :                     tree _q61 = TREE_OPERAND (_p1, 1);
    6780                 :           0 :                     if ((_q60 == _q30 && ! TREE_SIDE_EFFECTS (_q60)) || (operand_equal_p (_q60, _q30, 0) && types_match (_q60, _q30)))
    6781                 :             :                       {
    6782                 :           0 :                         {
    6783                 :           0 :                           tree captures[3] ATTRIBUTE_UNUSED = { _q30, _q31, _q61 };
    6784                 :           0 :                           tree res = generic_simplify_165 (loc, type, _p0, _p1, captures);
    6785                 :           0 :                           if (res) return res;
    6786                 :             :                         }
    6787                 :             :                       }
    6788                 :           0 :                     if ((_q61 == _q30 && ! TREE_SIDE_EFFECTS (_q61)) || (operand_equal_p (_q61, _q30, 0) && types_match (_q61, _q30)))
    6789                 :             :                       {
    6790                 :           0 :                         {
    6791                 :           0 :                           tree captures[3] ATTRIBUTE_UNUSED = { _q30, _q31, _q60 };
    6792                 :           0 :                           tree res = generic_simplify_165 (loc, type, _p0, _p1, captures);
    6793                 :           0 :                           if (res) return res;
    6794                 :             :                         }
    6795                 :             :                       }
    6796                 :           0 :                     if ((_q60 == _q31 && ! TREE_SIDE_EFFECTS (_q60)) || (operand_equal_p (_q60, _q31, 0) && types_match (_q60, _q31)))
    6797                 :             :                       {
    6798                 :           0 :                         {
    6799                 :           0 :                           tree captures[3] ATTRIBUTE_UNUSED = { _q31, _q30, _q61 };
    6800                 :           0 :                           tree res = generic_simplify_165 (loc, type, _p0, _p1, captures);
    6801                 :           0 :                           if (res) return res;
    6802                 :             :                         }
    6803                 :             :                       }
    6804                 :           0 :                     if ((_q61 == _q31 && ! TREE_SIDE_EFFECTS (_q61)) || (operand_equal_p (_q61, _q31, 0) && types_match (_q61, _q31)))
    6805                 :             :                       {
    6806                 :           0 :                         {
    6807                 :           0 :                           tree captures[3] ATTRIBUTE_UNUSED = { _q31, _q30, _q60 };
    6808                 :           0 :                           tree res = generic_simplify_165 (loc, type, _p0, _p1, captures);
    6809                 :           0 :                           if (res) return res;
    6810                 :             :                         }
    6811                 :             :                       }
    6812                 :             :                     break;
    6813                 :             :                   }
    6814                 :             :                 default:;
    6815                 :             :                 }
    6816                 :             :               break;
    6817                 :             :             }
    6818                 :      499091 :           default:;
    6819                 :             :           }
    6820                 :      499091 :         switch (TREE_CODE (_p1))
    6821                 :             :           {
    6822                 :      495295 :           CASE_CONVERT:
    6823                 :      495295 :             {
    6824                 :      495295 :               tree _q40 = TREE_OPERAND (_p1, 0);
    6825                 :      495295 :               {
    6826                 :      495295 :                 tree captures[4] ATTRIBUTE_UNUSED = { _p0, _q20, _p1, _q40 };
    6827                 :      495295 :                 tree res = generic_simplify_101 (loc, type, _p0, _p1, captures, BIT_XOR_EXPR);
    6828                 :      495295 :                 if (res) return res;
    6829                 :             :               }
    6830                 :      471834 :               break;
    6831                 :             :             }
    6832                 :      475630 :           default:;
    6833                 :             :           }
    6834                 :      475630 :         {
    6835                 :      475630 :           tree captures[4] ATTRIBUTE_UNUSED = { _p0, _q20, _p1, _p1 };
    6836                 :      475630 :           tree res = generic_simplify_102 (loc, type, _p0, _p1, captures, BIT_XOR_EXPR);
    6837                 :      475630 :           if (res) return res;
    6838                 :             :         }
    6839                 :      475522 :         break;
    6840                 :             :       }
    6841                 :        3869 :     case BIT_XOR_EXPR:
    6842                 :        3869 :       {
    6843                 :        3869 :         tree _q20 = TREE_OPERAND (_p0, 0);
    6844                 :        3869 :         tree _q21 = TREE_OPERAND (_p0, 1);
    6845                 :        3869 :         switch (TREE_CODE (_p1))
    6846                 :             :           {
    6847                 :         198 :           CASE_CONVERT:
    6848                 :         198 :             {
    6849                 :         198 :               tree _q50 = TREE_OPERAND (_p1, 0);
    6850                 :         198 :               switch (TREE_CODE (_q50))
    6851                 :             :                 {
    6852                 :           0 :                 case BIT_XOR_EXPR:
    6853                 :           0 :                   {
    6854                 :           0 :                     tree _q60 = TREE_OPERAND (_q50, 0);
    6855                 :           0 :                     tree _q61 = TREE_OPERAND (_q50, 1);
    6856                 :           0 :                     if ((_q60 == _q20 && ! TREE_SIDE_EFFECTS (_q60)) || (operand_equal_p (_q60, _q20, 0) && types_match (_q60, _q20)))
    6857                 :             :                       {
    6858                 :           0 :                         {
    6859                 :           0 :                           tree captures[3] ATTRIBUTE_UNUSED = { _q20, _q21, _q61 };
    6860                 :           0 :                           tree res = generic_simplify_165 (loc, type, _p0, _p1, captures);
    6861                 :           0 :                           if (res) return res;
    6862                 :             :                         }
    6863                 :             :                       }
    6864                 :           0 :                     if ((_q61 == _q20 && ! TREE_SIDE_EFFECTS (_q61)) || (operand_equal_p (_q61, _q20, 0) && types_match (_q61, _q20)))
    6865                 :             :                       {
    6866                 :           0 :                         {
    6867                 :           0 :                           tree captures[3] ATTRIBUTE_UNUSED = { _q20, _q21, _q60 };
    6868                 :           0 :                           tree res = generic_simplify_165 (loc, type, _p0, _p1, captures);
    6869                 :           0 :                           if (res) return res;
    6870                 :             :                         }
    6871                 :             :                       }
    6872                 :           0 :                     if ((_q60 == _q21 && ! TREE_SIDE_EFFECTS (_q60)) || (operand_equal_p (_q60, _q21, 0) && types_match (_q60, _q21)))
    6873                 :             :                       {
    6874                 :           0 :                         {
    6875                 :           0 :                           tree captures[3] ATTRIBUTE_UNUSED = { _q21, _q20, _q61 };
    6876                 :           0 :                           tree res = generic_simplify_165 (loc, type, _p0, _p1, captures);
    6877                 :           0 :                           if (res) return res;
    6878                 :             :                         }
    6879                 :             :                       }
    6880                 :           0 :                     if ((_q61 == _q21 && ! TREE_SIDE_EFFECTS (_q61)) || (operand_equal_p (_q61, _q21, 0) && types_match (_q61, _q21)))
    6881                 :             :                       {
    6882                 :           0 :                         {
    6883                 :           0 :                           tree captures[3] ATTRIBUTE_UNUSED = { _q21, _q20, _q60 };
    6884                 :           0 :                           tree res = generic_simplify_165 (loc, type, _p0, _p1, captures);
    6885                 :           0 :                           if (res) return res;
    6886                 :             :                         }
    6887                 :             :                       }
    6888                 :             :                     break;
    6889                 :             :                   }
    6890                 :             :                 default:;
    6891                 :             :                 }
    6892                 :             :               break;
    6893                 :             :             }
    6894                 :          10 :           case BIT_XOR_EXPR:
    6895                 :          10 :             {
    6896                 :          10 :               tree _q50 = TREE_OPERAND (_p1, 0);
    6897                 :          10 :               tree _q51 = TREE_OPERAND (_p1, 1);
    6898                 :          10 :               if ((_q50 == _q20 && ! TREE_SIDE_EFFECTS (_q50)) || (operand_equal_p (_q50, _q20, 0) && types_match (_q50, _q20)))
    6899                 :             :                 {
    6900                 :           0 :                   {
    6901                 :           0 :                     tree captures[3] ATTRIBUTE_UNUSED = { _q20, _q21, _q51 };
    6902                 :           0 :                     tree res = generic_simplify_165 (loc, type, _p0, _p1, captures);
    6903                 :           0 :                     if (res) return res;
    6904                 :             :                   }
    6905                 :             :                 }
    6906                 :          10 :               if ((_q51 == _q20 && ! TREE_SIDE_EFFECTS (_q51)) || (operand_equal_p (_q51, _q20, 0) && types_match (_q51, _q20)))
    6907                 :             :                 {
    6908                 :           0 :                   {
    6909                 :           0 :                     tree captures[3] ATTRIBUTE_UNUSED = { _q20, _q21, _q50 };
    6910                 :           0 :                     tree res = generic_simplify_165 (loc, type, _p0, _p1, captures);
    6911                 :           0 :                     if (res) return res;
    6912                 :             :                   }
    6913                 :             :                 }
    6914                 :          10 :               if ((_q50 == _q21 && ! TREE_SIDE_EFFECTS (_q50)) || (operand_equal_p (_q50, _q21, 0) && types_match (_q50, _q21)))
    6915                 :             :                 {
    6916                 :           0 :                   {
    6917                 :           0 :                     tree captures[3] ATTRIBUTE_UNUSED = { _q21, _q20, _q51 };
    6918                 :           0 :                     tree res = generic_simplify_165 (loc, type, _p0, _p1, captures);
    6919                 :           0 :                     if (res) return res;
    6920                 :             :                   }
    6921                 :             :                 }
    6922                 :          10 :               if ((_q51 == _q21 && ! TREE_SIDE_EFFECTS (_q51)) || (operand_equal_p (_q51, _q21, 0) && types_match (_q51, _q21)))
    6923                 :             :                 {
    6924                 :           0 :                   {
    6925                 :           0 :                     tree captures[3] ATTRIBUTE_UNUSED = { _q21, _q20, _q50 };
    6926                 :           0 :                     tree res = generic_simplify_165 (loc, type, _p0, _p1, captures);
    6927                 :           0 :                     if (res) return res;
    6928                 :             :                   }
    6929                 :             :                 }
    6930                 :             :               break;
    6931                 :             :             }
    6932                 :        3869 :           default:;
    6933                 :             :           }
    6934                 :        3869 :         if (CONSTANT_CLASS_P (_q21))
    6935                 :             :           {
    6936                 :          49 :             if (CONSTANT_CLASS_P (_p1))
    6937                 :             :               {
    6938                 :          30 :                 {
    6939                 :          30 :                   tree captures[3] ATTRIBUTE_UNUSED = { _q20, _q21, _p1 };
    6940                 :          30 :                   tree res = generic_simplify_117 (loc, type, _p0, _p1, captures, BIT_XOR_EXPR);
    6941                 :          30 :                   if (res) return res;
    6942                 :             :                 }
    6943                 :             :               }
    6944                 :             :           }
    6945                 :             :         break;
    6946                 :             :       }
    6947                 :          63 :     case COND_EXPR:
    6948                 :          63 :       {
    6949                 :          63 :         tree _q20 = TREE_OPERAND (_p0, 0);
    6950                 :          63 :         tree _q21 = TREE_OPERAND (_p0, 1);
    6951                 :          63 :         tree _q22 = TREE_OPERAND (_p0, 2);
    6952                 :          63 :         if (integer_zerop (_q22))
    6953                 :             :           {
    6954                 :          63 :             switch (TREE_CODE (_p1))
    6955                 :             :               {
    6956                 :           4 :               case COND_EXPR:
    6957                 :           4 :                 {
    6958                 :           4 :                   tree _q60 = TREE_OPERAND (_p1, 0);
    6959                 :           4 :                   tree _q61 = TREE_OPERAND (_p1, 1);
    6960                 :           4 :                   tree _q62 = TREE_OPERAND (_p1, 2);
    6961                 :           4 :                   if ((_q60 == _q20 && ! TREE_SIDE_EFFECTS (_q60)) || (operand_equal_p (_q60, _q20, 0) && types_match (_q60, _q20)))
    6962                 :             :                     {
    6963                 :           0 :                       if (integer_zerop (_q61))
    6964                 :             :                         {
    6965                 :           0 :                           {
    6966                 :           0 :                             tree captures[5] ATTRIBUTE_UNUSED = { _p0, _q20, _q21, _p1, _q62 };
    6967                 :           0 :                             const enum tree_code op = BIT_XOR_EXPR;
    6968                 :           0 :                             if (TREE_SIDE_EFFECTS (_p0)) goto next_after_fail1359;
    6969                 :           0 :                             if (TREE_SIDE_EFFECTS (_p1)) goto next_after_fail1359;
    6970                 :           0 :                             if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail1359;
    6971                 :           0 :                             {
    6972                 :           0 :                               tree res_op0;
    6973                 :           0 :                               res_op0 = captures[1];
    6974                 :           0 :                               tree res_op1;
    6975                 :           0 :                               res_op1 = captures[2];
    6976                 :           0 :                               tree res_op2;
    6977                 :           0 :                               res_op2 = captures[4];
    6978                 :           0 :                               tree _r;
    6979                 :           0 :                               _r = fold_build3_loc (loc, COND_EXPR, type, res_op0, res_op1, res_op2);
    6980                 :           0 :                               if (UNLIKELY (debug_dump)) generic_dump_logs ("match.pd", 893, __FILE__, __LINE__, true);
    6981                 :           0 :                               return _r;
    6982                 :             :                             }
    6983                 :           0 : next_after_fail1359:;
    6984                 :             :                           }
    6985                 :             :                         }
    6986                 :             :                     }
    6987                 :             :                   break;
    6988                 :             :                 }
    6989                 :             :               default:;
    6990                 :             :               }
    6991                 :             :           }
    6992                 :          63 :         if (integer_zerop (_q21))
    6993                 :             :           {
    6994                 :           0 :             switch (TREE_CODE (_p1))
    6995                 :             :               {
    6996                 :           0 :               case COND_EXPR:
    6997                 :           0 :                 {
    6998                 :           0 :                   tree _q60 = TREE_OPERAND (_p1, 0);
    6999                 :           0 :                   tree _q61 = TREE_OPERAND (_p1, 1);
    7000                 :           0 :                   tree _q62 = TREE_OPERAND (_p1, 2);
    7001                 :           0 :                   if ((_q60 == _q20 && ! TREE_SIDE_EFFECTS (_q60)) || (operand_equal_p (_q60, _q20, 0) && types_match (_q60, _q20)))
    7002                 :             :                     {
    7003                 :           0 :                       if (integer_zerop (_q62))
    7004                 :             :                         {
    7005                 :           0 :                           {
    7006                 :           0 :                             tree captures[5] ATTRIBUTE_UNUSED = { _p1, _q20, _q61, _p0, _q22 };
    7007                 :           0 :                             const enum tree_code op = BIT_XOR_EXPR;
    7008                 :           0 :                             if (TREE_SIDE_EFFECTS (_p0)) goto next_after_fail1360;
    7009                 :           0 :                             if (TREE_SIDE_EFFECTS (_p1)) goto next_after_fail1360;
    7010                 :           0 :                             if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail1360;
    7011                 :           0 :                             {
    7012                 :           0 :                               tree res_op0;
    7013                 :           0 :                               res_op0 = captures[1];
    7014                 :           0 :                               tree res_op1;
    7015                 :           0 :                               res_op1 = captures[2];
    7016                 :           0 :                               tree res_op2;
    7017                 :           0 :                               res_op2 = captures[4];
    7018                 :           0 :                               tree _r;
    7019                 :           0 :                               _r = fold_build3_loc (loc, COND_EXPR, type, res_op0, res_op1, res_op2);
    7020                 :           0 :                               if (UNLIKELY (debug_dump)) generic_dump_logs ("match.pd", 893, __FILE__, __LINE__, true);
    7021                 :           0 :                               return _r;
    7022                 :             :                             }
    7023                 :           0 : next_after_fail1360:;
    7024                 :             :                           }
    7025                 :             :                         }
    7026                 :             :                     }
    7027                 :             :                   break;
    7028                 :             :                 }
    7029                 :             :               default:;
    7030                 :             :               }
    7031                 :             :           }
    7032                 :          63 :         switch (TREE_CODE (_q20))
    7033                 :             :           {
    7034                 :           0 :           case LT_EXPR:
    7035                 :           0 :             {
    7036                 :           0 :               tree _q30 = TREE_OPERAND (_q20, 0);
    7037                 :           0 :               tree _q31 = TREE_OPERAND (_q20, 1);
    7038                 :           0 :               if (zerop (_q22))
    7039                 :             :                 {
    7040                 :           0 :                   switch (TREE_CODE (_p1))
    7041                 :             :                     {
    7042                 :           0 :                     case COND_EXPR:
    7043                 :           0 :                       {
    7044                 :           0 :                         tree _q80 = TREE_OPERAND (_p1, 0);
    7045                 :           0 :                         tree _q81 = TREE_OPERAND (_p1, 1);
    7046                 :           0 :                         tree _q82 = TREE_OPERAND (_p1, 2);
    7047                 :           0 :                         switch (TREE_CODE (_q80))
    7048                 :             :                           {
    7049                 :           0 :                           case GE_EXPR:
    7050                 :           0 :                             {
    7051                 :           0 :                               tree _q90 = TREE_OPERAND (_q80, 0);
    7052                 :           0 :                               tree _q91 = TREE_OPERAND (_q80, 1);
    7053                 :           0 :                               if ((_q90 == _q30 && ! TREE_SIDE_EFFECTS (_q90)) || (operand_equal_p (_q90, _q30, 0) && types_match (_q90, _q30)))
    7054                 :             :                                 {
    7055                 :           0 :                                   if ((_q91 == _q31 && ! TREE_SIDE_EFFECTS (_q91)) || (operand_equal_p (_q91, _q31, 0) && types_match (_q91, _q31)))
    7056                 :             :                                     {
    7057                 :           0 :                                       if (zerop (_q82))
    7058                 :             :                                         {
    7059                 :           0 :                                           {
    7060                 :           0 :                                             tree captures[6] ATTRIBUTE_UNUSED = { _q20, _q30, _q31, _q21, _q80, _q81 };
    7061                 :           0 :                                             tree res = generic_simplify_14 (loc, type, _p0, _p1, captures, BIT_XOR_EXPR, LT_EXPR, GE_EXPR);
    7062                 :           0 :                                             if (res) return res;
    7063                 :             :                                           }
    7064                 :             :                                         }
    7065                 :             :                                     }
    7066                 :             :                                 }
    7067                 :             :                               break;
    7068                 :             :                             }
    7069                 :             :                           default:;
    7070                 :             :                           }
    7071                 :             :                         break;
    7072                 :             :                       }
    7073                 :             :                     default:;
    7074                 :             :                     }
    7075                 :             :                 }
    7076                 :             :               break;
    7077                 :             :             }
    7078                 :          32 :           case LE_EXPR:
    7079                 :          32 :             {
    7080                 :          32 :               tree _q30 = TREE_OPERAND (_q20, 0);
    7081                 :          32 :               tree _q31 = TREE_OPERAND (_q20, 1);
    7082                 :          32 :               if (zerop (_q22))
    7083                 :             :                 {
    7084                 :          32 :                   switch (TREE_CODE (_p1))
    7085                 :             :                     {
    7086                 :           0 :                     case COND_EXPR:
    7087                 :           0 :                       {
    7088                 :           0 :                         tree _q80 = TREE_OPERAND (_p1, 0);
    7089                 :           0 :                         tree _q81 = TREE_OPERAND (_p1, 1);
    7090                 :           0 :                         tree _q82 = TREE_OPERAND (_p1, 2);
    7091                 :           0 :                         switch (TREE_CODE (_q80))
    7092                 :             :                           {
    7093                 :           0 :                           case GT_EXPR:
    7094                 :           0 :                             {
    7095                 :           0 :                               tree _q90 = TREE_OPERAND (_q80, 0);
    7096                 :           0 :                               tree _q91 = TREE_OPERAND (_q80, 1);
    7097                 :           0 :                               if ((_q90 == _q30 && ! TREE_SIDE_EFFECTS (_q90)) || (operand_equal_p (_q90, _q30, 0) && types_match (_q90, _q30)))
    7098                 :             :                                 {
    7099                 :           0 :                                   if ((_q91 == _q31 && ! TREE_SIDE_EFFECTS (_q91)) || (operand_equal_p (_q91, _q31, 0) && types_match (_q91, _q31)))
    7100                 :             :                                     {
    7101                 :           0 :                                       if (zerop (_q82))
    7102                 :             :                                         {
    7103                 :           0 :                                           {
    7104                 :           0 :                                             tree captures[6] ATTRIBUTE_UNUSED = { _q20, _q30, _q31, _q21, _q80, _q81 };
    7105                 :           0 :                                             tree res = generic_simplify_14 (loc, type, _p0, _p1, captures, BIT_XOR_EXPR, LE_EXPR, GT_EXPR);
    7106                 :           0 :                                             if (res) return res;
    7107                 :             :                                           }
    7108                 :             :                                         }
    7109                 :             :                                     }
    7110                 :             :                                 }
    7111                 :             :                               break;
    7112                 :             :                             }
    7113                 :             :                           default:;
    7114                 :             :                           }
    7115                 :             :                         break;
    7116                 :             :                       }
    7117                 :             :                     default:;
    7118                 :             :                     }
    7119                 :             :                 }
    7120                 :             :               break;
    7121                 :             :             }
    7122                 :           0 :           case EQ_EXPR:
    7123                 :           0 :             {
    7124                 :           0 :               tree _q30 = TREE_OPERAND (_q20, 0);
    7125                 :           0 :               tree _q31 = TREE_OPERAND (_q20, 1);
    7126                 :           0 :               if (zerop (_q22))
    7127                 :             :                 {
    7128                 :           0 :                   switch (TREE_CODE (_p1))
    7129                 :             :                     {
    7130                 :           0 :                     case COND_EXPR:
    7131                 :           0 :                       {
    7132                 :           0 :                         tree _q80 = TREE_OPERAND (_p1, 0);
    7133                 :           0 :                         tree _q81 = TREE_OPERAND (_p1, 1);
    7134                 :           0 :                         tree _q82 = TREE_OPERAND (_p1, 2);
    7135                 :           0 :                         switch (TREE_CODE (_q80))
    7136                 :             :                           {
    7137                 :           0 :                           case NE_EXPR:
    7138                 :           0 :                             {
    7139                 :           0 :                               tree _q90 = TREE_OPERAND (_q80, 0);
    7140                 :           0 :                               tree _q91 = TREE_OPERAND (_q80, 1);
    7141                 :           0 :                               if ((_q90 == _q30 && ! TREE_SIDE_EFFECTS (_q90)) || (operand_equal_p (_q90, _q30, 0) && types_match (_q90, _q30)))
    7142                 :             :                                 {
    7143                 :           0 :                                   if ((_q91 == _q31 && ! TREE_SIDE_EFFECTS (_q91)) || (operand_equal_p (_q91, _q31, 0) && types_match (_q91, _q31)))
    7144                 :             :                                     {
    7145                 :           0 :                                       if (zerop (_q82))
    7146                 :             :                                         {
    7147                 :           0 :                                           {
    7148                 :           0 :                                             tree captures[6] ATTRIBUTE_UNUSED = { _q20, _q30, _q31, _q21, _q80, _q81 };
    7149                 :           0 :                                             tree res = generic_simplify_14 (loc, type, _p0, _p1, captures, BIT_XOR_EXPR, EQ_EXPR, NE_EXPR);
    7150                 :           0 :                                             if (res) return res;
    7151                 :             :                                           }
    7152                 :             :                                         }
    7153                 :             :                                     }
    7154                 :             :                                 }
    7155                 :             :                               break;
    7156                 :             :                             }
    7157                 :             :                           default:;
    7158                 :             :                           }
    7159                 :             :                         break;
    7160                 :             :                       }
    7161                 :             :                     default:;
    7162                 :             :                     }
    7163                 :             :                 }
    7164                 :             :               break;
    7165                 :             :             }
    7166                 :          31 :           case NE_EXPR:
    7167                 :          31 :             {
    7168                 :          31 :               tree _q30 = TREE_OPERAND (_q20, 0);
    7169                 :          31 :               tree _q31 = TREE_OPERAND (_q20, 1);
    7170                 :          31 :               if (zerop (_q22))
    7171                 :             :                 {
    7172                 :          31 :                   switch (TREE_CODE (_p1))
    7173                 :             :                     {
    7174                 :           4 :                     case COND_EXPR:
    7175                 :           4 :                       {
    7176                 :           4 :                         tree _q80 = TREE_OPERAND (_p1, 0);
    7177                 :           4 :                         tree _q81 = TREE_OPERAND (_p1, 1);
    7178                 :           4 :                         tree _q82 = TREE_OPERAND (_p1, 2);
    7179                 :           4 :                         switch (TREE_CODE (_q80))
    7180                 :             :                           {
    7181                 :           0 :                           case EQ_EXPR:
    7182                 :           0 :                             {
    7183                 :           0 :                               tree _q90 = TREE_OPERAND (_q80, 0);
    7184                 :           0 :                               tree _q91 = TREE_OPERAND (_q80, 1);
    7185                 :           0 :                               if ((_q90 == _q30 && ! TREE_SIDE_EFFECTS (_q90)) || (operand_equal_p (_q90, _q30, 0) && types_match (_q90, _q30)))
    7186                 :             :                                 {
    7187                 :           0 :                                   if ((_q91 == _q31 && ! TREE_SIDE_EFFECTS (_q91)) || (operand_equal_p (_q91, _q31, 0) && types_match (_q91, _q31)))
    7188                 :             :                                     {
    7189                 :           0 :                                       if (zerop (_q82))
    7190                 :             :                                         {
    7191                 :           0 :                                           {
    7192                 :           0 :                                             tree captures[6] ATTRIBUTE_UNUSED = { _q20, _q30, _q31, _q21, _q80, _q81 };
    7193                 :           0 :                                             tree res = generic_simplify_14 (loc, type, _p0, _p1, captures, BIT_XOR_EXPR, NE_EXPR, EQ_EXPR);
    7194                 :           0 :                                             if (res) return res;
    7195                 :             :                                           }
    7196                 :             :                                         }
    7197                 :             :                                     }
    7198                 :             :                                 }
    7199                 :             :                               break;
    7200                 :             :                             }
    7201                 :             :                           default:;
    7202                 :             :                           }
    7203                 :             :                         break;
    7204                 :             :                       }
    7205                 :             :                     default:;
    7206                 :             :                     }
    7207                 :             :                 }
    7208                 :             :               break;
    7209                 :             :             }
    7210                 :           0 :           case GE_EXPR:
    7211                 :           0 :             {
    7212                 :           0 :               tree _q30 = TREE_OPERAND (_q20, 0);
    7213                 :           0 :               tree _q31 = TREE_OPERAND (_q20, 1);
    7214                 :           0 :               if (zerop (_q22))
    7215                 :             :                 {
    7216                 :           0 :                   switch (TREE_CODE (_p1))
    7217                 :             :                     {
    7218                 :           0 :                     case COND_EXPR:
    7219                 :           0 :                       {
    7220                 :           0 :                         tree _q80 = TREE_OPERAND (_p1, 0);
    7221                 :           0 :                         tree _q81 = TREE_OPERAND (_p1, 1);
    7222                 :           0 :                         tree _q82 = TREE_OPERAND (_p1, 2);
    7223                 :           0 :                         switch (TREE_CODE (_q80))
    7224                 :             :                           {
    7225                 :           0 :                           case LT_EXPR:
    7226                 :           0 :                             {
    7227                 :           0 :                               tree _q90 = TREE_OPERAND (_q80, 0);
    7228                 :           0 :                               tree _q91 = TREE_OPERAND (_q80, 1);
    7229                 :           0 :                               if ((_q90 == _q30 && ! TREE_SIDE_EFFECTS (_q90)) || (operand_equal_p (_q90, _q30, 0) && types_match (_q90, _q30)))
    7230                 :             :                                 {
    7231                 :           0 :                                   if ((_q91 == _q31 && ! TREE_SIDE_EFFECTS (_q91)) || (operand_equal_p (_q91, _q31, 0) && types_match (_q91, _q31)))
    7232                 :             :                                     {
    7233                 :           0 :                                       if (zerop (_q82))
    7234                 :             :                                         {
    7235                 :           0 :                                           {
    7236                 :           0 :                                             tree captures[6] ATTRIBUTE_UNUSED = { _q20, _q30, _q31, _q21, _q80, _q81 };
    7237                 :           0 :                                             tree res = generic_simplify_14 (loc, type, _p0, _p1, captures, BIT_XOR_EXPR, GE_EXPR, LT_EXPR);
    7238                 :           0 :                                             if (res) return res;
    7239                 :             :                                           }
    7240                 :             :                                         }
    7241                 :             :                                     }
    7242                 :             :                                 }
    7243                 :             :                               break;
    7244                 :             :                             }
    7245                 :             :                           default:;
    7246                 :             :                           }
    7247                 :             :                         break;
    7248                 :             :                       }
    7249                 :             :                     default:;
    7250                 :             :                     }
    7251                 :             :                 }
    7252                 :             :               break;
    7253                 :             :             }
    7254                 :           0 :           case GT_EXPR:
    7255                 :           0 :             {
    7256                 :           0 :               tree _q30 = TREE_OPERAND (_q20, 0);
    7257                 :           0 :               tree _q31 = TREE_OPERAND (_q20, 1);
    7258                 :           0 :               if (zerop (_q22))
    7259                 :             :                 {
    7260                 :           0 :                   switch (TREE_CODE (_p1))
    7261                 :             :                     {
    7262                 :           0 :                     case COND_EXPR:
    7263                 :           0 :                       {
    7264                 :           0 :                         tree _q80 = TREE_OPERAND (_p1, 0);
    7265                 :           0 :                         tree _q81 = TREE_OPERAND (_p1, 1);
    7266                 :           0 :                         tree _q82 = TREE_OPERAND (_p1, 2);
    7267                 :           0 :                         switch (TREE_CODE (_q80))
    7268                 :             :                           {
    7269                 :           0 :                           case LE_EXPR:
    7270                 :           0 :                             {
    7271                 :           0 :                               tree _q90 = TREE_OPERAND (_q80, 0);
    7272                 :           0 :                               tree _q91 = TREE_OPERAND (_q80, 1);
    7273                 :           0 :                               if ((_q90 == _q30 && ! TREE_SIDE_EFFECTS (_q90)) || (operand_equal_p (_q90, _q30, 0) && types_match (_q90, _q30)))
    7274                 :             :                                 {
    7275                 :           0 :                                   if ((_q91 == _q31 && ! TREE_SIDE_EFFECTS (_q91)) || (operand_equal_p (_q91, _q31, 0) && types_match (_q91, _q31)))
    7276                 :             :                                     {
    7277                 :           0 :                                       if (zerop (_q82))
    7278                 :             :                                         {
    7279                 :           0 :                                           {
    7280                 :           0 :                                             tree captures[6] ATTRIBUTE_UNUSED = { _q20, _q30, _q31, _q21, _q80, _q81 };
    7281                 :           0 :                                             tree res = generic_simplify_14 (loc, type, _p0, _p1, captures, BIT_XOR_EXPR, GT_EXPR, LE_EXPR);
    7282                 :           0 :                                             if (res) return res;
    7283                 :             :                                           }
    7284                 :             :                                         }
    7285                 :             :                                     }
    7286                 :             :                                 }
    7287                 :             :                               break;
    7288                 :             :                             }
    7289                 :             :                           default:;
    7290                 :             :                           }
    7291                 :             :                         break;
    7292                 :             :                       }
    7293                 :             :                     default:;
    7294                 :             :                     }
    7295                 :             :                 }
    7296                 :             :               break;
    7297                 :             :             }
    7298                 :           0 :           case UNORDERED_EXPR:
    7299                 :           0 :             {
    7300                 :           0 :               tree _q30 = TREE_OPERAND (_q20, 0);
    7301                 :           0 :               tree _q31 = TREE_OPERAND (_q20, 1);
    7302                 :           0 :               if (zerop (_q22))
    7303                 :             :                 {
    7304                 :           0 :                   switch (TREE_CODE (_p1))
    7305                 :             :                     {
    7306                 :           0 :                     case COND_EXPR:
    7307                 :           0 :                       {
    7308                 :           0 :                         tree _q80 = TREE_OPERAND (_p1, 0);
    7309                 :           0 :                         tree _q81 = TREE_OPERAND (_p1, 1);
    7310                 :           0 :                         tree _q82 = TREE_OPERAND (_p1, 2);
    7311                 :           0 :                         switch (TREE_CODE (_q80))
    7312                 :             :                           {
    7313                 :           0 :                           case ORDERED_EXPR:
    7314                 :           0 :                             {
    7315                 :           0 :                               tree _q90 = TREE_OPERAND (_q80, 0);
    7316                 :           0 :                               tree _q91 = TREE_OPERAND (_q80, 1);
    7317                 :           0 :                               if ((_q90 == _q30 && ! TREE_SIDE_EFFECTS (_q90)) || (operand_equal_p (_q90, _q30, 0) && types_match (_q90, _q30)))
    7318                 :             :                                 {
    7319                 :           0 :                                   if ((_q91 == _q31 && ! TREE_SIDE_EFFECTS (_q91)) || (operand_equal_p (_q91, _q31, 0) && types_match (_q91, _q31)))
    7320                 :             :                                     {
    7321                 :           0 :                                       if (zerop (_q82))
    7322                 :             :                                         {
    7323                 :           0 :                                           {
    7324                 :           0 :                                             tree captures[6] ATTRIBUTE_UNUSED = { _q20, _q30, _q31, _q21, _q80, _q81 };
    7325                 :           0 :                                             tree res = generic_simplify_14 (loc, type, _p0, _p1, captures, BIT_XOR_EXPR, UNORDERED_EXPR, ORDERED_EXPR);
    7326                 :           0 :                                             if (res) return res;
    7327                 :             :                                           }
    7328                 :             :                                         }
    7329                 :             :                                     }
    7330                 :             :                                 }
    7331                 :             :                               break;
    7332                 :             :                             }
    7333                 :             :                           default:;
    7334                 :             :                           }
    7335                 :             :                         break;
    7336                 :             :                       }
    7337                 :             :                     default:;
    7338                 :             :                     }
    7339                 :             :                 }
    7340                 :             :               break;
    7341                 :             :             }
    7342                 :           0 :           case ORDERED_EXPR:
    7343                 :           0 :             {
    7344                 :           0 :               tree _q30 = TREE_OPERAND (_q20, 0);
    7345                 :           0 :               tree _q31 = TREE_OPERAND (_q20, 1);
    7346                 :           0 :               if (zerop (_q22))
    7347                 :             :                 {
    7348                 :           0 :                   switch (TREE_CODE (_p1))
    7349                 :             :                     {
    7350                 :           0 :                     case COND_EXPR:
    7351                 :           0 :                       {
    7352                 :           0 :                         tree _q80 = TREE_OPERAND (_p1, 0);
    7353                 :           0 :                         tree _q81 = TREE_OPERAND (_p1, 1);
    7354                 :           0 :                         tree _q82 = TREE_OPERAND (_p1, 2);
    7355                 :           0 :                         switch (TREE_CODE (_q80))
    7356                 :             :                           {
    7357                 :           0 :                           case UNORDERED_EXPR:
    7358                 :           0 :                             {
    7359                 :           0 :                               tree _q90 = TREE_OPERAND (_q80, 0);
    7360                 :           0 :                               tree _q91 = TREE_OPERAND (_q80, 1);
    7361                 :           0 :                               if ((_q90 == _q30 && ! TREE_SIDE_EFFECTS (_q90)) || (operand_equal_p (_q90, _q30, 0) && types_match (_q90, _q30)))
    7362                 :             :                                 {
    7363                 :           0 :                                   if ((_q91 == _q31 && ! TREE_SIDE_EFFECTS (_q91)) || (operand_equal_p (_q91, _q31, 0) && types_match (_q91, _q31)))
    7364                 :             :                                     {
    7365                 :           0 :                                       if (zerop (_q82))
    7366                 :             :                                         {
    7367                 :           0 :                                           {
    7368                 :           0 :                                             tree captures[6] ATTRIBUTE_UNUSED = { _q20, _q30, _q31, _q21, _q80, _q81 };
    7369                 :           0 :                                             tree res = generic_simplify_14 (loc, type, _p0, _p1, captures, BIT_XOR_EXPR, ORDERED_EXPR, UNORDERED_EXPR);
    7370                 :           0 :                                             if (res) return res;
    7371                 :             :                                           }
    7372                 :             :                                         }
    7373                 :             :                                     }
    7374                 :             :                                 }
    7375                 :             :                               break;
    7376                 :             :                             }
    7377                 :             :                           default:;
    7378                 :             :                           }
    7379                 :             :                         break;
    7380                 :             :                       }
    7381                 :             :                     default:;
    7382                 :             :                     }
    7383                 :             :                 }
    7384                 :             :               break;
    7385                 :             :             }
    7386                 :           0 :           case UNLT_EXPR:
    7387                 :           0 :             {
    7388                 :           0 :               tree _q30 = TREE_OPERAND (_q20, 0);
    7389                 :           0 :               tree _q31 = TREE_OPERAND (_q20, 1);
    7390                 :           0 :               if (zerop (_q22))
    7391                 :             :                 {
    7392                 :           0 :                   switch (TREE_CODE (_p1))
    7393                 :             :                     {
    7394                 :           0 :                     case COND_EXPR:
    7395                 :           0 :                       {
    7396                 :           0 :                         tree _q80 = TREE_OPERAND (_p1, 0);
    7397                 :           0 :                         tree _q81 = TREE_OPERAND (_p1, 1);
    7398                 :           0 :                         tree _q82 = TREE_OPERAND (_p1, 2);
    7399                 :           0 :                         switch (TREE_CODE (_q80))
    7400                 :             :                           {
    7401                 :           0 :                           case GE_EXPR:
    7402                 :           0 :                             {
    7403                 :           0 :                               tree _q90 = TREE_OPERAND (_q80, 0);
    7404                 :           0 :                               tree _q91 = TREE_OPERAND (_q80, 1);
    7405                 :           0 :                               if ((_q90 == _q30 && ! TREE_SIDE_EFFECTS (_q90)) || (operand_equal_p (_q90, _q30, 0) && types_match (_q90, _q30)))
    7406                 :             :                                 {
    7407                 :           0 :                                   if ((_q91 == _q31 && ! TREE_SIDE_EFFECTS (_q91)) || (operand_equal_p (_q91, _q31, 0) && types_match (_q91, _q31)))
    7408                 :             :                                     {
    7409                 :           0 :                                       if (zerop (_q82))
    7410                 :             :                                         {
    7411                 :           0 :                                           {
    7412                 :           0 :                                             tree captures[6] ATTRIBUTE_UNUSED = { _q20, _q30, _q31, _q21, _q80, _q81 };
    7413                 :           0 :                                             tree res = generic_simplify_14 (loc, type, _p0, _p1, captures, BIT_XOR_EXPR, UNLT_EXPR, GE_EXPR);
    7414                 :           0 :                                             if (res) return res;
    7415                 :             :                                           }
    7416                 :             :                                         }
    7417                 :             :                                     }
    7418                 :             :                                 }
    7419                 :             :                               break;
    7420                 :             :                             }
    7421                 :             :                           default:;
    7422                 :             :                           }
    7423                 :             :                         break;
    7424                 :             :                       }
    7425                 :             :                     default:;
    7426                 :             :                     }
    7427                 :             :                 }
    7428                 :             :               break;
    7429                 :             :             }
    7430                 :           0 :           case UNLE_EXPR:
    7431                 :           0 :             {
    7432                 :           0 :               tree _q30 = TREE_OPERAND (_q20, 0);
    7433                 :           0 :               tree _q31 = TREE_OPERAND (_q20, 1);
    7434                 :           0 :               if (zerop (_q22))
    7435                 :             :                 {
    7436                 :           0 :                   switch (TREE_CODE (_p1))
    7437                 :             :                     {
    7438                 :           0 :                     case COND_EXPR:
    7439                 :           0 :                       {
    7440                 :           0 :                         tree _q80 = TREE_OPERAND (_p1, 0);
    7441                 :           0 :                         tree _q81 = TREE_OPERAND (_p1, 1);
    7442                 :           0 :                         tree _q82 = TREE_OPERAND (_p1, 2);
    7443                 :           0 :                         switch (TREE_CODE (_q80))
    7444                 :             :                           {
    7445                 :           0 :                           case GT_EXPR:
    7446                 :           0 :                             {
    7447                 :           0 :                               tree _q90 = TREE_OPERAND (_q80, 0);
    7448                 :           0 :                               tree _q91 = TREE_OPERAND (_q80, 1);
    7449                 :           0 :                               if ((_q90 == _q30 && ! TREE_SIDE_EFFECTS (_q90)) || (operand_equal_p (_q90, _q30, 0) && types_match (_q90, _q30)))
    7450                 :             :                                 {
    7451                 :           0 :                                   if ((_q91 == _q31 && ! TREE_SIDE_EFFECTS (_q91)) || (operand_equal_p (_q91, _q31, 0) && types_match (_q91, _q31)))
    7452                 :             :                                     {
    7453                 :           0 :                                       if (zerop (_q82))
    7454                 :             :                                         {
    7455                 :           0 :                                           {
    7456                 :           0 :                                             tree captures[6] ATTRIBUTE_UNUSED = { _q20, _q30, _q31, _q21, _q80, _q81 };
    7457                 :           0 :                                             tree res = generic_simplify_14 (loc, type, _p0, _p1, captures, BIT_XOR_EXPR, UNLE_EXPR, GT_EXPR);
    7458                 :           0 :                                             if (res) return res;
    7459                 :             :                                           }
    7460                 :             :                                         }
    7461                 :             :                                     }
    7462                 :             :                                 }
    7463                 :             :                               break;
    7464                 :             :                             }
    7465                 :             :                           default:;
    7466                 :             :                           }
    7467                 :             :                         break;
    7468                 :             :                       }
    7469                 :             :                     default:;
    7470                 :             :                     }
    7471                 :             :                 }
    7472                 :             :               break;
    7473                 :             :             }
    7474                 :           0 :           case UNGT_EXPR:
    7475                 :           0 :             {
    7476                 :           0 :               tree _q30 = TREE_OPERAND (_q20, 0);
    7477                 :           0 :               tree _q31 = TREE_OPERAND (_q20, 1);
    7478                 :           0 :               if (zerop (_q22))
    7479                 :             :                 {
    7480                 :           0 :                   switch (TREE_CODE (_p1))
    7481                 :             :                     {
    7482                 :           0 :                     case COND_EXPR:
    7483                 :           0 :                       {
    7484                 :           0 :                         tree _q80 = TREE_OPERAND (_p1, 0);
    7485                 :           0 :                         tree _q81 = TREE_OPERAND (_p1, 1);
    7486                 :           0 :                         tree _q82 = TREE_OPERAND (_p1, 2);
    7487                 :           0 :                         switch (TREE_CODE (_q80))
    7488                 :             :                           {
    7489                 :           0 :                           case LE_EXPR:
    7490                 :           0 :                             {
    7491                 :           0 :                               tree _q90 = TREE_OPERAND (_q80, 0);
    7492                 :           0 :                               tree _q91 = TREE_OPERAND (_q80, 1);
    7493                 :           0 :                               if ((_q90 == _q30 && ! TREE_SIDE_EFFECTS (_q90)) || (operand_equal_p (_q90, _q30, 0) && types_match (_q90, _q30)))
    7494                 :             :                                 {
    7495                 :           0 :                                   if ((_q91 == _q31 && ! TREE_SIDE_EFFECTS (_q91)) || (operand_equal_p (_q91, _q31, 0) && types_match (_q91, _q31)))
    7496                 :             :                                     {
    7497                 :           0 :                                       if (zerop (_q82))
    7498                 :             :                                         {
    7499                 :           0 :                                           {
    7500                 :           0 :                                             tree captures[6] ATTRIBUTE_UNUSED = { _q20, _q30, _q31, _q21, _q80, _q81 };
    7501                 :           0 :                                             tree res = generic_simplify_14 (loc, type, _p0, _p1, captures, BIT_XOR_EXPR, UNGT_EXPR, LE_EXPR);
    7502                 :           0 :                                             if (res) return res;
    7503                 :             :                                           }
    7504                 :             :                                         }
    7505                 :             :                                     }
    7506                 :             :                                 }
    7507                 :             :                               break;
    7508                 :             :                             }
    7509                 :             :                           default:;
    7510                 :             :                           }
    7511                 :             :                         break;
    7512                 :             :                       }
    7513                 :             :                     default:;
    7514                 :             :                     }
    7515                 :             :                 }
    7516                 :             :               break;
    7517                 :             :             }
    7518                 :           0 :           case UNGE_EXPR:
    7519                 :           0 :             {
    7520                 :           0 :               tree _q30 = TREE_OPERAND (_q20, 0);
    7521                 :           0 :               tree _q31 = TREE_OPERAND (_q20, 1);
    7522                 :           0 :               if (zerop (_q22))
    7523                 :             :                 {
    7524                 :           0 :                   switch (TREE_CODE (_p1))
    7525                 :             :                     {
    7526                 :           0 :                     case COND_EXPR:
    7527                 :           0 :                       {
    7528                 :           0 :                         tree _q80 = TREE_OPERAND (_p1, 0);
    7529                 :           0 :                         tree _q81 = TREE_OPERAND (_p1, 1);
    7530                 :           0 :                         tree _q82 = TREE_OPERAND (_p1, 2);
    7531                 :           0 :                         switch (TREE_CODE (_q80))
    7532                 :             :                           {
    7533                 :           0 :                           case LT_EXPR:
    7534                 :           0 :                             {
    7535                 :           0 :                               tree _q90 = TREE_OPERAND (_q80, 0);
    7536                 :           0 :                               tree _q91 = TREE_OPERAND (_q80, 1);
    7537                 :           0 :                               if ((_q90 == _q30 && ! TREE_SIDE_EFFECTS (_q90)) || (operand_equal_p (_q90, _q30, 0) && types_match (_q90, _q30)))
    7538                 :             :                                 {
    7539                 :           0 :                                   if ((_q91 == _q31 && ! TREE_SIDE_EFFECTS (_q91)) || (operand_equal_p (_q91, _q31, 0) && types_match (_q91, _q31)))
    7540                 :             :                                     {
    7541                 :           0 :                                       if (zerop (_q82))
    7542                 :             :                                         {
    7543                 :           0 :                                           {
    7544                 :           0 :                                             tree captures[6] ATTRIBUTE_UNUSED = { _q20, _q30, _q31, _q21, _q80, _q81 };
    7545                 :           0 :                                             tree res = generic_simplify_14 (loc, type, _p0, _p1, captures, BIT_XOR_EXPR, UNGE_EXPR, LT_EXPR);
    7546                 :           0 :                                             if (res) return res;
    7547                 :             :                                           }
    7548                 :             :                                         }
    7549                 :             :                                     }
    7550                 :             :                                 }
    7551                 :             :                               break;
    7552                 :             :                             }
    7553                 :             :                           default:;
    7554                 :             :                           }
    7555                 :             :                         break;
    7556                 :             :                       }
    7557                 :             :                     default:;
    7558                 :             :                     }
    7559                 :             :                 }
    7560                 :             :               break;
    7561                 :             :             }
    7562                 :           0 :           case UNEQ_EXPR:
    7563                 :           0 :             {
    7564                 :           0 :               tree _q30 = TREE_OPERAND (_q20, 0);
    7565                 :           0 :               tree _q31 = TREE_OPERAND (_q20, 1);
    7566                 :           0 :               if (zerop (_q22))
    7567                 :             :                 {
    7568                 :           0 :                   switch (TREE_CODE (_p1))
    7569                 :             :                     {
    7570                 :           0 :                     case COND_EXPR:
    7571                 :           0 :                       {
    7572                 :           0 :                         tree _q80 = TREE_OPERAND (_p1, 0);
    7573                 :           0 :                         tree _q81 = TREE_OPERAND (_p1, 1);
    7574                 :           0 :                         tree _q82 = TREE_OPERAND (_p1, 2);
    7575                 :           0 :                         switch (TREE_CODE (_q80))
    7576                 :             :                           {
    7577                 :           0 :                           case LTGT_EXPR:
    7578                 :           0 :                             {
    7579                 :           0 :                               tree _q90 = TREE_OPERAND (_q80, 0);
    7580                 :           0 :                               tree _q91 = TREE_OPERAND (_q80, 1);
    7581                 :           0 :                               if ((_q90 == _q30 && ! TREE_SIDE_EFFECTS (_q90)) || (operand_equal_p (_q90, _q30, 0) && types_match (_q90, _q30)))
    7582                 :             :                                 {
    7583                 :           0 :                                   if ((_q91 == _q31 && ! TREE_SIDE_EFFECTS (_q91)) || (operand_equal_p (_q91, _q31, 0) && types_match (_q91, _q31)))
    7584                 :             :                                     {
    7585                 :           0 :                                       if (zerop (_q82))
    7586                 :             :                                         {
    7587                 :           0 :                                           {
    7588                 :           0 :                                             tree captures[6] ATTRIBUTE_UNUSED = { _q20, _q30, _q31, _q21, _q80, _q81 };
    7589                 :           0 :                                             tree res = generic_simplify_14 (loc, type, _p0, _p1, captures, BIT_XOR_EXPR, UNEQ_EXPR, LTGT_EXPR);
    7590                 :           0 :                                             if (res) return res;
    7591                 :             :                                           }
    7592                 :             :                                         }
    7593                 :             :                                     }
    7594                 :             :                                 }
    7595                 :             :                               break;
    7596                 :             :                             }
    7597                 :             :                           default:;
    7598                 :             :                           }
    7599                 :             :                         break;
    7600                 :             :                       }
    7601                 :             :                     default:;
    7602                 :             :                     }
    7603                 :             :                 }
    7604                 :             :               break;
    7605                 :             :             }
    7606                 :           0 :           case LTGT_EXPR:
    7607                 :           0 :             {
    7608                 :           0 :               tree _q30 = TREE_OPERAND (_q20, 0);
    7609                 :           0 :               tree _q31 = TREE_OPERAND (_q20, 1);
    7610                 :           0 :               if (zerop (_q22))
    7611                 :             :                 {
    7612                 :           0 :                   switch (TREE_CODE (_p1))
    7613                 :             :                     {
    7614                 :           0 :                     case COND_EXPR:
    7615                 :           0 :                       {
    7616                 :           0 :                         tree _q80 = TREE_OPERAND (_p1, 0);
    7617                 :           0 :                         tree _q81 = TREE_OPERAND (_p1, 1);
    7618                 :           0 :                         tree _q82 = TREE_OPERAND (_p1, 2);
    7619                 :           0 :                         switch (TREE_CODE (_q80))
    7620                 :             :                           {
    7621                 :           0 :                           case UNEQ_EXPR:
    7622                 :           0 :                             {
    7623                 :           0 :                               tree _q90 = TREE_OPERAND (_q80, 0);
    7624                 :           0 :                               tree _q91 = TREE_OPERAND (_q80, 1);
    7625                 :           0 :                               if ((_q90 == _q30 && ! TREE_SIDE_EFFECTS (_q90)) || (operand_equal_p (_q90, _q30, 0) && types_match (_q90, _q30)))
    7626                 :             :                                 {
    7627                 :           0 :                                   if ((_q91 == _q31 && ! TREE_SIDE_EFFECTS (_q91)) || (operand_equal_p (_q91, _q31, 0) && types_match (_q91, _q31)))
    7628                 :             :                                     {
    7629                 :           0 :                                       if (zerop (_q82))
    7630                 :             :                                         {
    7631                 :           0 :                                           {
    7632                 :           0 :                                             tree captures[6] ATTRIBUTE_UNUSED = { _q20, _q30, _q31, _q21, _q80, _q81 };
    7633                 :           0 :                                             tree res = generic_simplify_14 (loc, type, _p0, _p1, captures, BIT_XOR_EXPR, LTGT_EXPR, UNEQ_EXPR);
    7634                 :           0 :                                             if (res) return res;
    7635                 :             :                                           }
    7636                 :             :                                         }
    7637                 :             :                                     }
    7638                 :             :                                 }
    7639                 :             :                               break;
    7640                 :             :                             }
    7641                 :             :                           default:;
    7642                 :             :                           }
    7643                 :             :                         break;
    7644                 :             :                       }
    7645                 :             :                     default:;
    7646                 :             :                     }
    7647                 :             :                 }
    7648                 :             :               break;
    7649                 :             :             }
    7650                 :             :           default:;
    7651                 :             :           }
    7652                 :             :         break;
    7653                 :             :       }
    7654                 :           1 :     case VEC_COND_EXPR:
    7655                 :           1 :       {
    7656                 :           1 :         tree _q20 = TREE_OPERAND (_p0, 0);
    7657                 :           1 :         tree _q21 = TREE_OPERAND (_p0, 1);
    7658                 :           1 :         tree _q22 = TREE_OPERAND (_p0, 2);
    7659                 :           1 :         if (integer_zerop (_q22))
    7660                 :             :           {
    7661                 :           1 :             switch (TREE_CODE (_p1))
    7662                 :             :               {
    7663                 :           0 :               case VEC_COND_EXPR:
    7664                 :           0 :                 {
    7665                 :           0 :                   tree _q60 = TREE_OPERAND (_p1, 0);
    7666                 :           0 :                   tree _q61 = TREE_OPERAND (_p1, 1);
    7667                 :           0 :                   tree _q62 = TREE_OPERAND (_p1, 2);
    7668                 :           0 :                   if ((_q60 == _q20 && ! TREE_SIDE_EFFECTS (_q60)) || (operand_equal_p (_q60, _q20, 0) && types_match (_q60, _q20)))
    7669                 :             :                     {
    7670                 :           0 :                       if (integer_zerop (_q61))
    7671                 :             :                         {
    7672                 :           0 :                           {
    7673                 :           0 :                             tree captures[5] ATTRIBUTE_UNUSED = { _p0, _q20, _q21, _p1, _q62 };
    7674                 :           0 :                             const enum tree_code op = BIT_XOR_EXPR;
    7675                 :           0 :                             if (TREE_SIDE_EFFECTS (_p0)) goto next_after_fail1361;
    7676                 :           0 :                             if (TREE_SIDE_EFFECTS (_p1)) goto next_after_fail1361;
    7677                 :           0 :                             if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail1361;
    7678                 :           0 :                             {
    7679                 :           0 :                               tree res_op0;
    7680                 :           0 :                               res_op0 = captures[1];
    7681                 :           0 :                               tree res_op1;
    7682                 :           0 :                               res_op1 = captures[2];
    7683                 :           0 :                               tree res_op2;
    7684                 :           0 :                               res_op2 = captures[4];
    7685                 :           0 :                               tree _r;
    7686                 :           0 :                               _r = fold_build3_loc (loc, VEC_COND_EXPR, type, res_op0, res_op1, res_op2);
    7687                 :           0 :                               if (UNLIKELY (debug_dump)) generic_dump_logs ("match.pd", 893, __FILE__, __LINE__, true);
    7688                 :           0 :                               return _r;
    7689                 :             :                             }
    7690                 :           0 : next_after_fail1361:;
    7691                 :             :                           }
    7692                 :             :                         }
    7693                 :             :                     }
    7694                 :             :                   break;
    7695                 :             :                 }
    7696                 :             :               default:;
    7697                 :             :               }
    7698                 :             :           }
    7699                 :           1 :         if (integer_zerop (_q21))
    7700                 :             :           {
    7701                 :           0 :             switch (TREE_CODE (_p1))
    7702                 :             :               {
    7703                 :           0 :               case VEC_COND_EXPR:
    7704                 :           0 :                 {
    7705                 :           0 :                   tree _q60 = TREE_OPERAND (_p1, 0);
    7706                 :           0 :                   tree _q61 = TREE_OPERAND (_p1, 1);
    7707                 :           0 :                   tree _q62 = TREE_OPERAND (_p1, 2);
    7708                 :           0 :                   if ((_q60 == _q20 && ! TREE_SIDE_EFFECTS (_q60)) || (operand_equal_p (_q60, _q20, 0) && types_match (_q60, _q20)))
    7709                 :             :                     {
    7710                 :           0 :                       if (integer_zerop (_q62))
    7711                 :             :                         {
    7712                 :           0 :                           {
    7713                 :           0 :                             tree captures[5] ATTRIBUTE_UNUSED = { _p1, _q20, _q61, _p0, _q22 };
    7714                 :           0 :                             const enum tree_code op = BIT_XOR_EXPR;
    7715                 :           0 :                             if (TREE_SIDE_EFFECTS (_p0)) goto next_after_fail1362;
    7716                 :           0 :                             if (TREE_SIDE_EFFECTS (_p1)) goto next_after_fail1362;
    7717                 :           0 :                             if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail1362;
    7718                 :           0 :                             {
    7719                 :           0 :                               tree res_op0;
    7720                 :           0 :                               res_op0 = captures[1];
    7721                 :           0 :                               tree res_op1;
    7722                 :           0 :                               res_op1 = captures[2];
    7723                 :           0 :                               tree res_op2;
    7724                 :           0 :                               res_op2 = captures[4];
    7725                 :           0 :                               tree _r;
    7726                 :           0 :                               _r = fold_build3_loc (loc, VEC_COND_EXPR, type, res_op0, res_op1, res_op2);
    7727                 :           0 :                               if (UNLIKELY (debug_dump)) generic_dump_logs ("match.pd", 893, __FILE__, __LINE__, true);
    7728                 :           0 :                               return _r;
    7729                 :             :                             }
    7730                 :           0 : next_after_fail1362:;
    7731                 :             :                           }
    7732                 :             :                         }
    7733                 :             :                     }
    7734                 :             :                   break;
    7735                 :             :                 }
    7736                 :             :               default:;
    7737                 :             :               }
    7738                 :             :           }
    7739                 :           1 :         switch (TREE_CODE (_q20))
    7740                 :             :           {
    7741                 :           0 :           case LT_EXPR:
    7742                 :           0 :             {
    7743                 :           0 :               tree _q30 = TREE_OPERAND (_q20, 0);
    7744                 :           0 :               tree _q31 = TREE_OPERAND (_q20, 1);
    7745                 :           0 :               if (integer_zerop (_q22))
    7746                 :             :                 {
    7747                 :           0 :                   switch (TREE_CODE (_p1))
    7748                 :             :                     {
    7749                 :           0 :                     case VEC_COND_EXPR:
    7750                 :           0 :                       {
    7751                 :           0 :                         tree _q80 = TREE_OPERAND (_p1, 0);
    7752                 :           0 :                         tree _q81 = TREE_OPERAND (_p1, 1);
    7753                 :           0 :                         tree _q82 = TREE_OPERAND (_p1, 2);
    7754                 :           0 :                         switch (TREE_CODE (_q80))
    7755                 :             :                           {
    7756                 :           0 :                           case GE_EXPR:
    7757                 :           0 :                             {
    7758                 :           0 :                               tree _q90 = TREE_OPERAND (_q80, 0);
    7759                 :           0 :                               tree _q91 = TREE_OPERAND (_q80, 1);
    7760                 :           0 :                               if ((_q90 == _q30 && ! TREE_SIDE_EFFECTS (_q90)) || (operand_equal_p (_q90, _q30, 0) && types_match (_q90, _q30)))
    7761                 :             :                                 {
    7762                 :           0 :                                   if ((_q91 == _q31 && ! TREE_SIDE_EFFECTS (_q91)) || (operand_equal_p (_q91, _q31, 0) && types_match (_q91, _q31)))
    7763                 :             :                                     {
    7764                 :           0 :                                       if (integer_zerop (_q82))
    7765                 :             :                                         {
    7766                 :           0 :                                           {
    7767                 :           0 :                                             tree captures[8] ATTRIBUTE_UNUSED = { _p0, _q20, _q30, _q31, _q21, _p1, _q80, _q81 };
    7768                 :           0 :                                             tree res = generic_simplify_15 (loc, type, _p0, _p1, captures, BIT_XOR_EXPR, LT_EXPR, GE_EXPR);
    7769                 :           0 :                                             if (res) return res;
    7770                 :             :                                           }
    7771                 :             :                                         }
    7772                 :             :                                     }
    7773                 :             :                                 }
    7774                 :             :                               break;
    7775                 :             :                             }
    7776                 :             :                           default:;
    7777                 :             :                           }
    7778                 :             :                         break;
    7779                 :             :                       }
    7780                 :             :                     default:;
    7781                 :             :                     }
    7782                 :             :                 }
    7783                 :             :               break;
    7784                 :             :             }
    7785                 :           0 :           case LE_EXPR:
    7786                 :           0 :             {
    7787                 :           0 :               tree _q30 = TREE_OPERAND (_q20, 0);
    7788                 :           0 :               tree _q31 = TREE_OPERAND (_q20, 1);
    7789                 :           0 :               if (integer_zerop (_q22))
    7790                 :             :                 {
    7791                 :           0 :                   switch (TREE_CODE (_p1))
    7792                 :             :                     {
    7793                 :           0 :                     case VEC_COND_EXPR:
    7794                 :           0 :                       {
    7795                 :           0 :                         tree _q80 = TREE_OPERAND (_p1, 0);
    7796                 :           0 :                         tree _q81 = TREE_OPERAND (_p1, 1);
    7797                 :           0 :                         tree _q82 = TREE_OPERAND (_p1, 2);
    7798                 :           0 :                         switch (TREE_CODE (_q80))
    7799                 :             :                           {
    7800                 :           0 :                           case GT_EXPR:
    7801                 :           0 :                             {
    7802                 :           0 :                               tree _q90 = TREE_OPERAND (_q80, 0);
    7803                 :           0 :                               tree _q91 = TREE_OPERAND (_q80, 1);
    7804                 :           0 :                               if ((_q90 == _q30 && ! TREE_SIDE_EFFECTS (_q90)) || (operand_equal_p (_q90, _q30, 0) && types_match (_q90, _q30)))
    7805                 :             :                                 {
    7806                 :           0 :                                   if ((_q91 == _q31 && ! TREE_SIDE_EFFECTS (_q91)) || (operand_equal_p (_q91, _q31, 0) && types_match (_q91, _q31)))
    7807                 :             :                                     {
    7808                 :           0 :                                       if (integer_zerop (_q82))
    7809                 :             :                                         {
    7810                 :           0 :                                           {
    7811                 :           0 :                                             tree captures[8] ATTRIBUTE_UNUSED = { _p0, _q20, _q30, _q31, _q21, _p1, _q80, _q81 };
    7812                 :           0 :                                             tree res = generic_simplify_15 (loc, type, _p0, _p1, captures, BIT_XOR_EXPR, LE_EXPR, GT_EXPR);
    7813                 :           0 :                                             if (res) return res;
    7814                 :             :                                           }
    7815                 :             :                                         }
    7816                 :             :                                     }
    7817                 :             :                                 }
    7818                 :             :                               break;
    7819                 :             :                             }
    7820                 :             :                           default:;
    7821                 :             :                           }
    7822                 :             :                         break;
    7823                 :             :                       }
    7824                 :             :                     default:;
    7825                 :             :                     }
    7826                 :             :                 }
    7827                 :             :               break;
    7828                 :             :             }
    7829                 :           0 :           case EQ_EXPR:
    7830                 :           0 :             {
    7831                 :           0 :               tree _q30 = TREE_OPERAND (_q20, 0);
    7832                 :           0 :               tree _q31 = TREE_OPERAND (_q20, 1);
    7833                 :           0 :               if (integer_zerop (_q22))
    7834                 :             :                 {
    7835                 :           0 :                   switch (TREE_CODE (_p1))
    7836                 :             :                     {
    7837                 :           0 :                     case VEC_COND_EXPR:
    7838                 :           0 :                       {
    7839                 :           0 :                         tree _q80 = TREE_OPERAND (_p1, 0);
    7840                 :           0 :                         tree _q81 = TREE_OPERAND (_p1, 1);
    7841                 :           0 :                         tree _q82 = TREE_OPERAND (_p1, 2);
    7842                 :           0 :                         switch (TREE_CODE (_q80))
    7843                 :             :                           {
    7844                 :           0 :                           case NE_EXPR:
    7845                 :           0 :                             {
    7846                 :           0 :                               tree _q90 = TREE_OPERAND (_q80, 0);
    7847                 :           0 :                               tree _q91 = TREE_OPERAND (_q80, 1);
    7848                 :           0 :                               if ((_q90 == _q30 && ! TREE_SIDE_EFFECTS (_q90)) || (operand_equal_p (_q90, _q30, 0) && types_match (_q90, _q30)))
    7849                 :             :                                 {
    7850                 :           0 :                                   if ((_q91 == _q31 && ! TREE_SIDE_EFFECTS (_q91)) || (operand_equal_p (_q91, _q31, 0) && types_match (_q91, _q31)))
    7851                 :             :                                     {
    7852                 :           0 :                                       if (integer_zerop (_q82))
    7853                 :             :                                         {
    7854                 :           0 :                                           {
    7855                 :           0 :                                             tree captures[8] ATTRIBUTE_UNUSED = { _p0, _q20, _q30, _q31, _q21, _p1, _q80, _q81 };
    7856                 :           0 :                                             tree res = generic_simplify_15 (loc, type, _p0, _p1, captures, BIT_XOR_EXPR, EQ_EXPR, NE_EXPR);
    7857                 :           0 :                                             if (res) return res;
    7858                 :             :                                           }
    7859                 :             :                                         }
    7860                 :             :                                     }
    7861                 :             :                                 }
    7862                 :             :                               break;
    7863                 :             :                             }
    7864                 :             :                           default:;
    7865                 :             :                           }
    7866                 :             :                         break;
    7867                 :             :                       }
    7868                 :             :                     default:;
    7869                 :             :                     }
    7870                 :             :                 }
    7871                 :             :               break;
    7872                 :             :             }
    7873                 :           1 :           case NE_EXPR:
    7874                 :           1 :             {
    7875                 :           1 :               tree _q30 = TREE_OPERAND (_q20, 0);
    7876                 :           1 :               tree _q31 = TREE_OPERAND (_q20, 1);
    7877                 :           1 :               if (integer_zerop (_q22))
    7878                 :             :                 {
    7879                 :           1 :                   switch (TREE_CODE (_p1))
    7880                 :             :                     {
    7881                 :           0 :                     case VEC_COND_EXPR:
    7882                 :           0 :                       {
    7883                 :           0 :                         tree _q80 = TREE_OPERAND (_p1, 0);
    7884                 :           0 :                         tree _q81 = TREE_OPERAND (_p1, 1);
    7885                 :           0 :                         tree _q82 = TREE_OPERAND (_p1, 2);
    7886                 :           0 :                         switch (TREE_CODE (_q80))
    7887                 :             :                           {
    7888                 :           0 :                           case EQ_EXPR:
    7889                 :           0 :                             {
    7890                 :           0 :                               tree _q90 = TREE_OPERAND (_q80, 0);
    7891                 :           0 :                               tree _q91 = TREE_OPERAND (_q80, 1);
    7892                 :           0 :                               if ((_q90 == _q30 && ! TREE_SIDE_EFFECTS (_q90)) || (operand_equal_p (_q90, _q30, 0) && types_match (_q90, _q30)))
    7893                 :             :                                 {
    7894                 :           0 :                                   if ((_q91 == _q31 && ! TREE_SIDE_EFFECTS (_q91)) || (operand_equal_p (_q91, _q31, 0) && types_match (_q91, _q31)))
    7895                 :             :                                     {
    7896                 :           0 :                                       if (integer_zerop (_q82))
    7897                 :             :                                         {
    7898                 :           0 :                                           {
    7899                 :           0 :                                             tree captures[8] ATTRIBUTE_UNUSED = { _p0, _q20, _q30, _q31, _q21, _p1, _q80, _q81 };
    7900                 :           0 :                                             tree res = generic_simplify_15 (loc, type, _p0, _p1, captures, BIT_XOR_EXPR, NE_EXPR, EQ_EXPR);
    7901                 :           0 :                                             if (res) return res;
    7902                 :             :                                           }
    7903                 :             :                                         }
    7904                 :             :                                     }
    7905                 :             :                                 }
    7906                 :             :                               break;
    7907                 :             :                             }
    7908                 :             :                           default:;
    7909                 :             :                           }
    7910                 :             :                         break;
    7911                 :             :                       }
    7912                 :             :                     default:;
    7913                 :             :                     }
    7914                 :             :                 }
    7915                 :             :               break;
    7916                 :             :             }
    7917                 :           0 :           case GE_EXPR:
    7918                 :           0 :             {
    7919                 :           0 :               tree _q30 = TREE_OPERAND (_q20, 0);
    7920                 :           0 :               tree _q31 = TREE_OPERAND (_q20, 1);
    7921                 :           0 :               if (integer_zerop (_q22))
    7922                 :             :                 {
    7923                 :           0 :                   switch (TREE_CODE (_p1))
    7924                 :             :                     {
    7925                 :           0 :                     case VEC_COND_EXPR:
    7926                 :           0 :                       {
    7927                 :           0 :                         tree _q80 = TREE_OPERAND (_p1, 0);
    7928                 :           0 :                         tree _q81 = TREE_OPERAND (_p1, 1);
    7929                 :           0 :                         tree _q82 = TREE_OPERAND (_p1, 2);
    7930                 :           0 :                         switch (TREE_CODE (_q80))
    7931                 :             :                           {
    7932                 :           0 :                           case LT_EXPR:
    7933                 :           0 :                             {
    7934                 :           0 :                               tree _q90 = TREE_OPERAND (_q80, 0);
    7935                 :           0 :                               tree _q91 = TREE_OPERAND (_q80, 1);
    7936                 :           0 :                               if ((_q90 == _q30 && ! TREE_SIDE_EFFECTS (_q90)) || (operand_equal_p (_q90, _q30, 0) && types_match (_q90, _q30)))
    7937                 :             :                                 {
    7938                 :           0 :                                   if ((_q91 == _q31 && ! TREE_SIDE_EFFECTS (_q91)) || (operand_equal_p (_q91, _q31, 0) && types_match (_q91, _q31)))
    7939                 :             :                                     {
    7940                 :           0 :                                       if (integer_zerop (_q82))
    7941                 :             :                                         {
    7942                 :           0 :                                           {
    7943                 :           0 :                                             tree captures[8] ATTRIBUTE_UNUSED = { _p0, _q20, _q30, _q31, _q21, _p1, _q80, _q81 };
    7944                 :           0 :                                             tree res = generic_simplify_15 (loc, type, _p0, _p1, captures, BIT_XOR_EXPR, GE_EXPR, LT_EXPR);
    7945                 :           0 :                                             if (res) return res;
    7946                 :             :                                           }
    7947                 :             :                                         }
    7948                 :             :                                     }
    7949                 :             :                                 }
    7950                 :             :                               break;
    7951                 :             :                             }
    7952                 :             :                           default:;
    7953                 :             :                           }
    7954                 :             :                         break;
    7955                 :             :                       }
    7956                 :             :                     default:;
    7957                 :             :                     }
    7958                 :             :                 }
    7959                 :             :               break;
    7960                 :             :             }
    7961                 :           0 :           case GT_EXPR:
    7962                 :           0 :             {
    7963                 :           0 :               tree _q30 = TREE_OPERAND (_q20, 0);
    7964                 :           0 :               tree _q31 = TREE_OPERAND (_q20, 1);
    7965                 :           0 :               if (integer_zerop (_q22))
    7966                 :             :                 {
    7967                 :           0 :                   switch (TREE_CODE (_p1))
    7968                 :             :                     {
    7969                 :           0 :                     case VEC_COND_EXPR:
    7970                 :           0 :                       {
    7971                 :           0 :                         tree _q80 = TREE_OPERAND (_p1, 0);
    7972                 :           0 :                         tree _q81 = TREE_OPERAND (_p1, 1);
    7973                 :           0 :                         tree _q82 = TREE_OPERAND (_p1, 2);
    7974                 :           0 :                         switch (TREE_CODE (_q80))
    7975                 :             :                           {
    7976                 :           0 :                           case LE_EXPR:
    7977                 :           0 :                             {
    7978                 :           0 :                               tree _q90 = TREE_OPERAND (_q80, 0);
    7979                 :           0 :                               tree _q91 = TREE_OPERAND (_q80, 1);
    7980                 :           0 :                               if ((_q90 == _q30 && ! TREE_SIDE_EFFECTS (_q90)) || (operand_equal_p (_q90, _q30, 0) && types_match (_q90, _q30)))
    7981                 :             :                                 {
    7982                 :           0 :                                   if ((_q91 == _q31 && ! TREE_SIDE_EFFECTS (_q91)) || (operand_equal_p (_q91, _q31, 0) && types_match (_q91, _q31)))
    7983                 :             :                                     {
    7984                 :           0 :                                       if (integer_zerop (_q82))
    7985                 :             :                                         {
    7986                 :           0 :                                           {
    7987                 :           0 :                                             tree captures[8] ATTRIBUTE_UNUSED = { _p0, _q20, _q30, _q31, _q21, _p1, _q80, _q81 };
    7988                 :           0 :                                             tree res = generic_simplify_15 (loc, type, _p0, _p1, captures, BIT_XOR_EXPR, GT_EXPR, LE_EXPR);
    7989                 :           0 :                                             if (res) return res;
    7990                 :             :                                           }
    7991                 :             :                                         }
    7992                 :             :                                     }
    7993                 :             :                                 }
    7994                 :             :                               break;
    7995                 :             :                             }
    7996                 :             :                           default:;
    7997                 :             :                           }
    7998                 :             :                         break;
    7999                 :             :                       }
    8000                 :             :                     default:;
    8001                 :             :                     }
    8002                 :             :                 }
    8003                 :             :               break;
    8004                 :             :             }
    8005                 :           0 :           case UNORDERED_EXPR:
    8006                 :           0 :             {
    8007                 :           0 :               tree _q30 = TREE_OPERAND (_q20, 0);
    8008                 :           0 :               tree _q31 = TREE_OPERAND (_q20, 1);
    8009                 :           0 :               if (integer_zerop (_q22))
    8010                 :             :                 {
    8011                 :           0 :                   switch (TREE_CODE (_p1))
    8012                 :             :                     {
    8013                 :           0 :                     case VEC_COND_EXPR:
    8014                 :           0 :                       {
    8015                 :           0 :                         tree _q80 = TREE_OPERAND (_p1, 0);
    8016                 :           0 :                         tree _q81 = TREE_OPERAND (_p1, 1);
    8017                 :           0 :                         tree _q82 = TREE_OPERAND (_p1, 2);
    8018                 :           0 :                         switch (TREE_CODE (_q80))
    8019                 :             :                           {
    8020                 :           0 :                           case ORDERED_EXPR:
    8021                 :           0 :                             {
    8022                 :           0 :                               tree _q90 = TREE_OPERAND (_q80, 0);
    8023                 :           0 :                               tree _q91 = TREE_OPERAND (_q80, 1);
    8024                 :           0 :                               if ((_q90 == _q30 && ! TREE_SIDE_EFFECTS (_q90)) || (operand_equal_p (_q90, _q30, 0) && types_match (_q90, _q30)))
    8025                 :             :                                 {
    8026                 :           0 :                                   if ((_q91 == _q31 && ! TREE_SIDE_EFFECTS (_q91)) || (operand_equal_p (_q91, _q31, 0) && types_match (_q91, _q31)))
    8027                 :             :                                     {
    8028                 :           0 :                                       if (integer_zerop (_q82))
    8029                 :             :                                         {
    8030                 :           0 :                                           {
    8031                 :           0 :                                             tree captures[8] ATTRIBUTE_UNUSED = { _p0, _q20, _q30, _q31, _q21, _p1, _q80, _q81 };
    8032                 :           0 :                                             tree res = generic_simplify_15 (loc, type, _p0, _p1, captures, BIT_XOR_EXPR, UNORDERED_EXPR, ORDERED_EXPR);
    8033                 :           0 :                                             if (res) return res;
    8034                 :             :                                           }
    8035                 :             :                                         }
    8036                 :             :                                     }
    8037                 :             :                                 }
    8038                 :             :                               break;
    8039                 :             :                             }
    8040                 :             :                           default:;
    8041                 :             :                           }
    8042                 :             :                         break;
    8043                 :             :                       }
    8044                 :             :                     default:;
    8045                 :             :                     }
    8046                 :             :                 }
    8047                 :             :               break;
    8048                 :             :             }
    8049                 :           0 :           case ORDERED_EXPR:
    8050                 :           0 :             {
    8051                 :           0 :               tree _q30 = TREE_OPERAND (_q20, 0);
    8052                 :           0 :               tree _q31 = TREE_OPERAND (_q20, 1);
    8053                 :           0 :               if (integer_zerop (_q22))
    8054                 :             :                 {
    8055                 :           0 :                   switch (TREE_CODE (_p1))
    8056                 :             :                     {
    8057                 :           0 :                     case VEC_COND_EXPR:
    8058                 :           0 :                       {
    8059                 :           0 :                         tree _q80 = TREE_OPERAND (_p1, 0);
    8060                 :           0 :                         tree _q81 = TREE_OPERAND (_p1, 1);
    8061                 :           0 :                         tree _q82 = TREE_OPERAND (_p1, 2);
    8062                 :           0 :                         switch (TREE_CODE (_q80))
    8063                 :             :                           {
    8064                 :           0 :                           case UNORDERED_EXPR:
    8065                 :           0 :                             {
    8066                 :           0 :                               tree _q90 = TREE_OPERAND (_q80, 0);
    8067                 :           0 :                               tree _q91 = TREE_OPERAND (_q80, 1);
    8068                 :           0 :                               if ((_q90 == _q30 && ! TREE_SIDE_EFFECTS (_q90)) || (operand_equal_p (_q90, _q30, 0) && types_match (_q90, _q30)))
    8069                 :             :                                 {
    8070                 :           0 :                                   if ((_q91 == _q31 && ! TREE_SIDE_EFFECTS (_q91)) || (operand_equal_p (_q91, _q31, 0) && types_match (_q91, _q31)))
    8071                 :             :                                     {
    8072                 :           0 :                                       if (integer_zerop (_q82))
    8073                 :             :                                         {
    8074                 :           0 :                                           {
    8075                 :           0 :                                             tree captures[8] ATTRIBUTE_UNUSED = { _p0, _q20, _q30, _q31, _q21, _p1, _q80, _q81 };
    8076                 :           0 :                                             tree res = generic_simplify_15 (loc, type, _p0, _p1, captures, BIT_XOR_EXPR, ORDERED_EXPR, UNORDERED_EXPR);
    8077                 :           0 :                                             if (res) return res;
    8078                 :             :                                           }
    8079                 :             :                                         }
    8080                 :             :                                     }
    8081                 :             :                                 }
    8082                 :             :                               break;
    8083                 :             :                             }
    8084                 :             :                           default:;
    8085                 :             :                           }
    8086                 :             :                         break;
    8087                 :             :                       }
    8088                 :             :                     default:;
    8089                 :             :                     }
    8090                 :             :                 }
    8091                 :             :               break;
    8092                 :             :             }
    8093                 :           0 :           case UNLT_EXPR:
    8094                 :           0 :             {
    8095                 :           0 :               tree _q30 = TREE_OPERAND (_q20, 0);
    8096                 :           0 :               tree _q31 = TREE_OPERAND (_q20, 1);
    8097                 :           0 :               if (integer_zerop (_q22))
    8098                 :             :                 {
    8099                 :           0 :                   switch (TREE_CODE (_p1))
    8100                 :             :                     {
    8101                 :           0 :                     case VEC_COND_EXPR:
    8102                 :           0 :                       {
    8103                 :           0 :                         tree _q80 = TREE_OPERAND (_p1, 0);
    8104                 :           0 :                         tree _q81 = TREE_OPERAND (_p1, 1);
    8105                 :           0 :                         tree _q82 = TREE_OPERAND (_p1, 2);
    8106                 :           0 :                         switch (TREE_CODE (_q80))
    8107                 :             :                           {
    8108                 :           0 :                           case GE_EXPR:
    8109                 :           0 :                             {
    8110                 :           0 :                               tree _q90 = TREE_OPERAND (_q80, 0);
    8111                 :           0 :                               tree _q91 = TREE_OPERAND (_q80, 1);
    8112                 :           0 :                               if ((_q90 == _q30 && ! TREE_SIDE_EFFECTS (_q90)) || (operand_equal_p (_q90, _q30, 0) && types_match (_q90, _q30)))
    8113                 :             :                                 {
    8114                 :           0 :                                   if ((_q91 == _q31 && ! TREE_SIDE_EFFECTS (_q91)) || (operand_equal_p (_q91, _q31, 0) && types_match (_q91, _q31)))
    8115                 :             :                                     {
    8116                 :           0 :                                       if (integer_zerop (_q82))
    8117                 :             :                                         {
    8118                 :           0 :                                           {
    8119                 :           0 :                                             tree captures[8] ATTRIBUTE_UNUSED = { _p0, _q20, _q30, _q31, _q21, _p1, _q80, _q81 };
    8120                 :           0 :                                             tree res = generic_simplify_15 (loc, type, _p0, _p1, captures, BIT_XOR_EXPR, UNLT_EXPR, GE_EXPR);
    8121                 :           0 :                                             if (res) return res;
    8122                 :             :                                           }
    8123                 :             :                                         }
    8124                 :             :                                     }
    8125                 :             :                                 }
    8126                 :             :                               break;
    8127                 :             :                             }
    8128                 :             :                           default:;
    8129                 :             :                           }
    8130                 :             :                         break;
    8131                 :             :                       }
    8132                 :             :                     default:;
    8133                 :             :                     }
    8134                 :             :                 }
    8135                 :             :               break;
    8136                 :             :             }
    8137                 :           0 :           case UNLE_EXPR:
    8138                 :           0 :             {
    8139                 :           0 :               tree _q30 = TREE_OPERAND (_q20, 0);
    8140                 :           0 :               tree _q31 = TREE_OPERAND (_q20, 1);
    8141                 :           0 :               if (integer_zerop (_q22))
    8142                 :             :                 {
    8143                 :           0 :                   switch (TREE_CODE (_p1))
    8144                 :             :                     {
    8145                 :           0 :                     case VEC_COND_EXPR:
    8146                 :           0 :                       {
    8147                 :           0 :                         tree _q80 = TREE_OPERAND (_p1, 0);
    8148                 :           0 :                         tree _q81 = TREE_OPERAND (_p1, 1);
    8149                 :           0 :                         tree _q82 = TREE_OPERAND (_p1, 2);
    8150                 :           0 :                         switch (TREE_CODE (_q80))
    8151                 :             :                           {
    8152                 :           0 :                           case GT_EXPR:
    8153                 :           0 :                             {
    8154                 :           0 :                               tree _q90 = TREE_OPERAND (_q80, 0);
    8155                 :           0 :                               tree _q91 = TREE_OPERAND (_q80, 1);
    8156                 :           0 :                               if ((_q90 == _q30 && ! TREE_SIDE_EFFECTS (_q90)) || (operand_equal_p (_q90, _q30, 0) && types_match (_q90, _q30)))
    8157                 :             :                                 {
    8158                 :           0 :                                   if ((_q91 == _q31 && ! TREE_SIDE_EFFECTS (_q91)) || (operand_equal_p (_q91, _q31, 0) && types_match (_q91, _q31)))
    8159                 :             :                                     {
    8160                 :           0 :                                       if (integer_zerop (_q82))
    8161                 :             :                                         {
    8162                 :           0 :                                           {
    8163                 :           0 :                                             tree captures[8] ATTRIBUTE_UNUSED = { _p0, _q20, _q30, _q31, _q21, _p1, _q80, _q81 };
    8164                 :           0 :                                             tree res = generic_simplify_15 (loc, type, _p0, _p1, captures, BIT_XOR_EXPR, UNLE_EXPR, GT_EXPR);
    8165                 :           0 :                                             if (res) return res;
    8166                 :             :                                           }
    8167                 :             :                                         }
    8168                 :             :                                     }
    8169                 :             :                                 }
    8170                 :             :                               break;
    8171                 :             :                             }
    8172                 :             :                           default:;
    8173                 :             :                           }
    8174                 :             :                         break;
    8175                 :             :                       }
    8176                 :             :                     default:;
    8177                 :             :                     }
    8178                 :             :                 }
    8179                 :             :               break;
    8180                 :             :             }
    8181                 :           0 :           case UNGT_EXPR:
    8182                 :           0 :             {
    8183                 :           0 :               tree _q30 = TREE_OPERAND (_q20, 0);
    8184                 :           0 :               tree _q31 = TREE_OPERAND (_q20, 1);
    8185                 :           0 :               if (integer_zerop (_q22))
    8186                 :             :                 {
    8187                 :           0 :                   switch (TREE_CODE (_p1))
    8188                 :             :                     {
    8189                 :           0 :                     case VEC_COND_EXPR:
    8190                 :           0 :                       {
    8191                 :           0 :                         tree _q80 = TREE_OPERAND (_p1, 0);
    8192                 :           0 :                         tree _q81 = TREE_OPERAND (_p1, 1);
    8193                 :           0 :                         tree _q82 = TREE_OPERAND (_p1, 2);
    8194                 :           0 :                         switch (TREE_CODE (_q80))
    8195                 :             :                           {
    8196                 :           0 :                           case LE_EXPR:
    8197                 :           0 :                             {
    8198                 :           0 :                               tree _q90 = TREE_OPERAND (_q80, 0);
    8199                 :           0 :                               tree _q91 = TREE_OPERAND (_q80, 1);
    8200                 :           0 :                               if ((_q90 == _q30 && ! TREE_SIDE_EFFECTS (_q90)) || (operand_equal_p (_q90, _q30, 0) && types_match (_q90, _q30)))
    8201                 :             :                                 {
    8202                 :           0 :                                   if ((_q91 == _q31 && ! TREE_SIDE_EFFECTS (_q91)) || (operand_equal_p (_q91, _q31, 0) && types_match (_q91, _q31)))
    8203                 :             :                                     {
    8204                 :           0 :                                       if (integer_zerop (_q82))
    8205                 :             :                                         {
    8206                 :           0 :                                           {
    8207                 :           0 :                                             tree captures[8] ATTRIBUTE_UNUSED = { _p0, _q20, _q30, _q31, _q21, _p1, _q80, _q81 };
    8208                 :           0 :                                             tree res = generic_simplify_15 (loc, type, _p0, _p1, captures, BIT_XOR_EXPR, UNGT_EXPR, LE_EXPR);
    8209                 :           0 :                                             if (res) return res;
    8210                 :             :                                           }
    8211                 :             :                                         }
    8212                 :             :                                     }
    8213                 :             :                                 }
    8214                 :             :                               break;
    8215                 :             :                             }
    8216                 :             :                           default:;
    8217                 :             :                           }
    8218                 :             :                         break;
    8219                 :             :                       }
    8220                 :             :                     default:;
    8221                 :             :                     }
    8222                 :             :                 }
    8223                 :             :               break;
    8224                 :             :             }
    8225                 :           0 :           case UNGE_EXPR:
    8226                 :           0 :             {
    8227                 :           0 :               tree _q30 = TREE_OPERAND (_q20, 0);
    8228                 :           0 :               tree _q31 = TREE_OPERAND (_q20, 1);
    8229                 :           0 :               if (integer_zerop (_q22))
    8230                 :             :                 {
    8231                 :           0 :                   switch (TREE_CODE (_p1))
    8232                 :             :                     {
    8233                 :           0 :                     case VEC_COND_EXPR:
    8234                 :           0 :                       {
    8235                 :           0 :                         tree _q80 = TREE_OPERAND (_p1, 0);
    8236                 :           0 :                         tree _q81 = TREE_OPERAND (_p1, 1);
    8237                 :           0 :                         tree _q82 = TREE_OPERAND (_p1, 2);
    8238                 :           0 :                         switch (TREE_CODE (_q80))
    8239                 :             :                           {
    8240                 :           0 :                           case LT_EXPR:
    8241                 :           0 :                             {
    8242                 :           0 :                               tree _q90 = TREE_OPERAND (_q80, 0);
    8243                 :           0 :                               tree _q91 = TREE_OPERAND (_q80, 1);
    8244                 :           0 :                               if ((_q90 == _q30 && ! TREE_SIDE_EFFECTS (_q90)) || (operand_equal_p (_q90, _q30, 0) && types_match (_q90, _q30)))
    8245                 :             :                                 {
    8246                 :           0 :                                   if ((_q91 == _q31 && ! TREE_SIDE_EFFECTS (_q91)) || (operand_equal_p (_q91, _q31, 0) && types_match (_q91, _q31)))
    8247                 :             :                                     {
    8248                 :           0 :                                       if (integer_zerop (_q82))
    8249                 :             :                                         {
    8250                 :           0 :                                           {
    8251                 :           0 :                                             tree captures[8] ATTRIBUTE_UNUSED = { _p0, _q20, _q30, _q31, _q21, _p1, _q80, _q81 };
    8252                 :           0 :                                             tree res = generic_simplify_15 (loc, type, _p0, _p1, captures, BIT_XOR_EXPR, UNGE_EXPR, LT_EXPR);
    8253                 :           0 :                                             if (res) return res;
    8254                 :             :                                           }
    8255                 :             :                                         }
    8256                 :             :                                     }
    8257                 :             :                                 }
    8258                 :             :                               break;
    8259                 :             :                             }
    8260                 :             :                           default:;
    8261                 :             :                           }
    8262                 :             :                         break;
    8263                 :             :                       }
    8264                 :             :                     default:;
    8265                 :             :                     }
    8266                 :             :                 }
    8267                 :             :               break;
    8268                 :             :             }
    8269                 :           0 :           case UNEQ_EXPR:
    8270                 :           0 :             {
    8271                 :           0 :               tree _q30 = TREE_OPERAND (_q20, 0);
    8272                 :           0 :               tree _q31 = TREE_OPERAND (_q20, 1);
    8273                 :           0 :               if (integer_zerop (_q22))
    8274                 :             :                 {
    8275                 :           0 :                   switch (TREE_CODE (_p1))
    8276                 :             :                     {
    8277                 :           0 :                     case VEC_COND_EXPR:
    8278                 :           0 :                       {
    8279                 :           0 :                         tree _q80 = TREE_OPERAND (_p1, 0);
    8280                 :           0 :                         tree _q81 = TREE_OPERAND (_p1, 1);
    8281                 :           0 :                         tree _q82 = TREE_OPERAND (_p1, 2);
    8282                 :           0 :                         switch (TREE_CODE (_q80))
    8283                 :             :                           {
    8284                 :           0 :                           case LTGT_EXPR:
    8285                 :           0 :                             {
    8286                 :           0 :                               tree _q90 = TREE_OPERAND (_q80, 0);
    8287                 :           0 :                               tree _q91 = TREE_OPERAND (_q80, 1);
    8288                 :           0 :                               if ((_q90 == _q30 && ! TREE_SIDE_EFFECTS (_q90)) || (operand_equal_p (_q90, _q30, 0) && types_match (_q90, _q30)))
    8289                 :             :                                 {
    8290                 :           0 :                                   if ((_q91 == _q31 && ! TREE_SIDE_EFFECTS (_q91)) || (operand_equal_p (_q91, _q31, 0) && types_match (_q91, _q31)))
    8291                 :             :                                     {
    8292                 :           0 :                                       if (integer_zerop (_q82))
    8293                 :             :                                         {
    8294                 :           0 :                                           {
    8295                 :           0 :                                             tree captures[8] ATTRIBUTE_UNUSED = { _p0, _q20, _q30, _q31, _q21, _p1, _q80, _q81 };
    8296                 :           0 :                                             tree res = generic_simplify_15 (loc, type, _p0, _p1, captures, BIT_XOR_EXPR, UNEQ_EXPR, LTGT_EXPR);
    8297                 :           0 :                                             if (res) return res;
    8298                 :             :                                           }
    8299                 :             :                                         }
    8300                 :             :                                     }
    8301                 :             :                                 }
    8302                 :             :                               break;
    8303                 :             :                             }
    8304                 :             :                           default:;
    8305                 :             :                           }
    8306                 :             :                         break;
    8307                 :             :                       }
    8308                 :             :                     default:;
    8309                 :             :                     }
    8310                 :             :                 }
    8311                 :             :               break;
    8312                 :             :             }
    8313                 :           0 :           case LTGT_EXPR:
    8314                 :           0 :             {
    8315                 :           0 :               tree _q30 = TREE_OPERAND (_q20, 0);
    8316                 :           0 :               tree _q31 = TREE_OPERAND (_q20, 1);
    8317                 :           0 :               if (integer_zerop (_q22))
    8318                 :             :                 {
    8319                 :           0 :                   switch (TREE_CODE (_p1))
    8320                 :             :                     {
    8321                 :           0 :                     case VEC_COND_EXPR:
    8322                 :           0 :                       {
    8323                 :           0 :                         tree _q80 = TREE_OPERAND (_p1, 0);
    8324                 :           0 :                         tree _q81 = TREE_OPERAND (_p1, 1);
    8325                 :           0 :                         tree _q82 = TREE_OPERAND (_p1, 2);
    8326                 :           0 :                         switch (TREE_CODE (_q80))
    8327                 :             :                           {
    8328                 :           0 :                           case UNEQ_EXPR:
    8329                 :           0 :                             {
    8330                 :           0 :                               tree _q90 = TREE_OPERAND (_q80, 0);
    8331                 :           0 :                               tree _q91 = TREE_OPERAND (_q80, 1);
    8332                 :           0 :                               if ((_q90 == _q30 && ! TREE_SIDE_EFFECTS (_q90)) || (operand_equal_p (_q90, _q30, 0) && types_match (_q90, _q30)))
    8333                 :             :                                 {
    8334                 :           0 :                                   if ((_q91 == _q31 && ! TREE_SIDE_EFFECTS (_q91)) || (operand_equal_p (_q91, _q31, 0) && types_match (_q91, _q31)))
    8335                 :             :                                     {
    8336                 :           0 :                                       if (integer_zerop (_q82))
    8337                 :             :                                         {
    8338                 :           0 :                                           {
    8339                 :           0 :                                             tree captures[8] ATTRIBUTE_UNUSED = { _p0, _q20, _q30, _q31, _q21, _p1, _q80, _q81 };
    8340                 :           0 :                                             tree res = generic_simplify_15 (loc, type, _p0, _p1, captures, BIT_XOR_EXPR, LTGT_EXPR, UNEQ_EXPR);
    8341                 :           0 :                                             if (res) return res;
    8342                 :             :                                           }
    8343                 :             :                                         }
    8344                 :             :                                     }
    8345                 :             :                                 }
    8346                 :             :                               break;
    8347                 :             :                             }
    8348                 :             :                           default:;
    8349                 :             :                           }
    8350                 :             :                         break;
    8351                 :             :                       }
    8352                 :             :                     default:;
    8353                 :             :                     }
    8354                 :             :                 }
    8355                 :             :               break;
    8356                 :             :             }
    8357                 :             :           default:;
    8358                 :             :           }
    8359                 :             :         break;
    8360                 :             :       }
    8361                 :        2540 :     case BIT_AND_EXPR:
    8362                 :        2540 :       {
    8363                 :        2540 :         tree _q20 = TREE_OPERAND (_p0, 0);
    8364                 :        2540 :         tree _q21 = TREE_OPERAND (_p0, 1);
    8365                 :        2540 :         if (tree_truth_valued_p (_q20))
    8366                 :             :           {
    8367                 :           0 :             if (tree_truth_valued_p (_q21))
    8368                 :             :               {
    8369                 :           0 :                 switch (TREE_CODE (_p1))
    8370                 :             :                   {
    8371                 :           0 :                   case EQ_EXPR:
    8372                 :           0 :                     {
    8373                 :           0 :                       tree _q50 = TREE_OPERAND (_p1, 0);
    8374                 :           0 :                       tree _q51 = TREE_OPERAND (_p1, 1);
    8375                 :           0 :                       if ((_q50 == _q20 && ! TREE_SIDE_EFFECTS (_q50)) || (operand_equal_p (_q50, _q20, 0) && types_match (_q50, _q20)))
    8376                 :             :                         {
    8377                 :           0 :                           if ((_q51 == _q21 && ! TREE_SIDE_EFFECTS (_q51)) || (operand_equal_p (_q51, _q21, 0) && types_match (_q51, _q21)))
    8378                 :             :                             {
    8379                 :           0 :                               {
    8380                 :           0 :                                 tree captures[2] ATTRIBUTE_UNUSED = { _q20, _q21 };
    8381                 :           0 :                                 if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail1363;
    8382                 :           0 :                                 {
    8383                 :           0 :                                   tree res_op0;
    8384                 :           0 :                                   {
    8385                 :           0 :                                     tree _o1[2], _r1;
    8386                 :           0 :                                     _o1[0] = captures[0];
    8387                 :           0 :                                     _o1[1] = captures[1];
    8388                 :           0 :                                     _r1 = fold_build2_loc (loc, BIT_IOR_EXPR, TREE_TYPE (_o1[0]), _o1[0], _o1[1]);
    8389                 :           0 :                                     res_op0 = _r1;
    8390                 :             :                                   }
    8391                 :           0 :                                   tree _r;
    8392                 :           0 :                                   _r = fold_build1_loc (loc, BIT_NOT_EXPR, type, res_op0);
    8393                 :           0 :                                   if (UNLIKELY (debug_dump)) generic_dump_logs ("match.pd", 947, __FILE__, __LINE__, true);
    8394                 :           0 :                                   return _r;
    8395                 :             :                                 }
    8396                 :           0 : next_after_fail1363:;
    8397                 :             :                               }
    8398                 :             :                             }
    8399                 :             :                         }
    8400                 :           0 :                       if ((_q50 == _q21 && ! TREE_SIDE_EFFECTS (_q50)) || (operand_equal_p (_q50, _q21, 0) && types_match (_q50, _q21)))
    8401                 :             :                         {
    8402                 :           0 :                           if ((_q51 == _q20 && ! TREE_SIDE_EFFECTS (_q51)) || (operand_equal_p (_q51, _q20, 0) && types_match (_q51, _q20)))
    8403                 :             :                             {
    8404                 :           0 :                               {
    8405                 :           0 :                                 tree captures[2] ATTRIBUTE_UNUSED = { _q21, _q20 };
    8406                 :           0 :                                 if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail1364;
    8407                 :           0 :                                 {
    8408                 :           0 :                                   tree res_op0;
    8409                 :           0 :                                   {
    8410                 :           0 :                                     tree _o1[2], _r1;
    8411                 :           0 :                                     _o1[0] = captures[0];
    8412                 :           0 :                                     _o1[1] = captures[1];
    8413                 :           0 :                                     _r1 = fold_build2_loc (loc, BIT_IOR_EXPR, TREE_TYPE (_o1[0]), _o1[0], _o1[1]);
    8414                 :           0 :                                     res_op0 = _r1;
    8415                 :             :                                   }
    8416                 :           0 :                                   tree _r;
    8417                 :           0 :                                   _r = fold_build1_loc (loc, BIT_NOT_EXPR, type, res_op0);
    8418                 :           0 :                                   if (UNLIKELY (debug_dump)) generic_dump_logs ("match.pd", 947, __FILE__, __LINE__, true);
    8419                 :           0 :                                   return _r;
    8420                 :             :                                 }
    8421                 :           0 : next_after_fail1364:;
    8422                 :             :                               }
    8423                 :             :                             }
    8424                 :             :                         }
    8425                 :             :                       break;
    8426                 :             :                     }
    8427                 :             :                   default:;
    8428                 :             :                   }
    8429                 :             :               }
    8430                 :             :           }
    8431                 :             :         break;
    8432                 :             :       }
    8433                 :         118 :     case EQ_EXPR:
    8434                 :         118 :       {
    8435                 :         118 :         tree _q20 = TREE_OPERAND (_p0, 0);
    8436                 :         118 :         tree _q21 = TREE_OPERAND (_p0, 1);
    8437                 :         118 :         switch (TREE_CODE (_p1))
    8438                 :             :           {
    8439                 :           0 :           case BIT_AND_EXPR:
    8440                 :           0 :             {
    8441                 :           0 :               tree _q50 = TREE_OPERAND (_p1, 0);
    8442                 :           0 :               tree _q51 = TREE_OPERAND (_p1, 1);
    8443                 :           0 :               if ((_q50 == _q20 && ! TREE_SIDE_EFFECTS (_q50)) || (operand_equal_p (_q50, _q20, 0) && types_match (_q50, _q20)))
    8444                 :             :                 {
    8445                 :           0 :                   if (tree_truth_valued_p (_q50))
    8446                 :             :                     {
    8447                 :           0 :                       if ((_q51 == _q21 && ! TREE_SIDE_EFFECTS (_q51)) || (operand_equal_p (_q51, _q21, 0) && types_match (_q51, _q21)))
    8448                 :             :                         {
    8449                 :           0 :                           if (tree_truth_valued_p (_q51))
    8450                 :             :                             {
    8451                 :           0 :                               {
    8452                 :           0 :                                 tree captures[2] ATTRIBUTE_UNUSED = { _q20, _q21 };
    8453                 :           0 :                                 if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail1365;
    8454                 :           0 :                                 {
    8455                 :           0 :                                   tree res_op0;
    8456                 :           0 :                                   {
    8457                 :           0 :                                     tree _o1[2], _r1;
    8458                 :           0 :                                     _o1[0] = captures[0];
    8459                 :           0 :                                     _o1[1] = captures[1];
    8460                 :           0 :                                     _r1 = fold_build2_loc (loc, BIT_IOR_EXPR, TREE_TYPE (_o1[0]), _o1[0], _o1[1]);
    8461                 :           0 :                                     res_op0 = _r1;
    8462                 :             :                                   }
    8463                 :           0 :                                   tree _r;
    8464                 :           0 :                                   _r = fold_build1_loc (loc, BIT_NOT_EXPR, type, res_op0);
    8465                 :           0 :                                   if (UNLIKELY (debug_dump)) generic_dump_logs ("match.pd", 947, __FILE__, __LINE__, true);
    8466                 :           0 :                                   return _r;
    8467                 :             :                                 }
    8468                 :           0 : next_after_fail1365:;
    8469                 :             :                               }
    8470                 :             :                             }
    8471                 :             :                         }
    8472                 :             :                     }
    8473                 :             :                 }
    8474                 :           0 :               if ((_q50 == _q21 && ! TREE_SIDE_EFFECTS (_q50)) || (operand_equal_p (_q50, _q21, 0) && types_match (_q50, _q21)))
    8475                 :             :                 {
    8476                 :           0 :                   if (tree_truth_valued_p (_q50))
    8477                 :             :                     {
    8478                 :           0 :                       if ((_q51 == _q20 && ! TREE_SIDE_EFFECTS (_q51)) || (operand_equal_p (_q51, _q20, 0) && types_match (_q51, _q20)))
    8479                 :             :                         {
    8480                 :           0 :                           if (tree_truth_valued_p (_q51))
    8481                 :             :                             {
    8482                 :           0 :                               {
    8483                 :           0 :                                 tree captures[2] ATTRIBUTE_UNUSED = { _q20, _q21 };
    8484                 :           0 :                                 if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail1366;
    8485                 :           0 :                                 {
    8486                 :           0 :                                   tree res_op0;
    8487                 :           0 :                                   {
    8488                 :           0 :                                     tree _o1[2], _r1;
    8489                 :           0 :                                     _o1[0] = captures[0];
    8490                 :           0 :                                     _o1[1] = captures[1];
    8491                 :           0 :                                     _r1 = fold_build2_loc (loc, BIT_IOR_EXPR, TREE_TYPE (_o1[0]), _o1[0], _o1[1]);
    8492                 :           0 :                                     res_op0 = _r1;
    8493                 :             :                                   }
    8494                 :           0 :                                   tree _r;
    8495                 :           0 :                                   _r = fold_build1_loc (loc, BIT_NOT_EXPR, type, res_op0);
    8496                 :           0 :                                   if (UNLIKELY (debug_dump)) generic_dump_logs ("match.pd", 947, __FILE__, __LINE__, true);
    8497                 :           0 :                                   return _r;
    8498                 :             :                                 }
    8499                 :           0 : next_after_fail1366:;
    8500                 :             :                               }
    8501                 :             :                             }
    8502                 :             :                         }
    8503                 :             :                     }
    8504                 :             :                 }
    8505                 :             :               break;
    8506                 :             :             }
    8507                 :             :           default:;
    8508                 :             :           }
    8509                 :             :         break;
    8510                 :             :       }
    8511                 :      661511 :     default:;
    8512                 :             :     }
    8513                 :      661511 : {
    8514                 :      661511 :   tree _p0_pops[1];
    8515                 :      661511 :   if (tree_logical_inverted_value (_p0, _p0_pops))
    8516                 :             :     {
    8517                 :          43 :       tree _q20 = _p0_pops[0];
    8518                 :          43 :       if ((_p1 == _q20 && ! TREE_SIDE_EFFECTS (_p1)) || (operand_equal_p (_p1, _q20, 0) && types_match (_p1, _q20)))
    8519                 :             :         {
    8520                 :           4 :           if (tree_truth_valued_p (_p1))
    8521                 :             :             {
    8522                 :           4 :               {
    8523                 :           4 :                 tree captures[1] ATTRIBUTE_UNUSED = { _q20 };
    8524                 :           4 :                 tree res = generic_simplify_118 (loc, type, _p0, _p1, captures, BIT_XOR_EXPR);
    8525                 :           4 :                 if (res) return res;
    8526                 :             :               }
    8527                 :             :             }
    8528                 :             :         }
    8529                 :             :     }
    8530                 :             : }
    8531                 :      661507 : {
    8532                 :      661507 :   tree _p0_pops[1];
    8533                 :      661507 :   if (tree_nop_convert (_p0, _p0_pops))
    8534                 :             :     {
    8535                 :      480922 :       tree _q20 = _p0_pops[0];
    8536                 :      480922 :       switch (TREE_CODE (_q20))
    8537                 :             :         {
    8538                 :          24 :         case BIT_NOT_EXPR:
    8539                 :          24 :           {
    8540                 :          24 :             tree _q30 = TREE_OPERAND (_q20, 0);
    8541                 :          24 :             {
    8542                 :          24 :               tree captures[4] ATTRIBUTE_UNUSED = { _p0, _q20, _q30, _p1 };
    8543                 :          24 :               tree res = generic_simplify_166 (loc, type, _p0, _p1, captures);
    8544                 :          24 :               if (res) return res;
    8545                 :             :             }
    8546                 :           0 :             break;
    8547                 :             :           }
    8548                 :          20 :         case MULT_EXPR:
    8549                 :          20 :           {
    8550                 :          20 :             tree _q30 = TREE_OPERAND (_q20, 0);
    8551                 :          20 :             tree _q31 = TREE_OPERAND (_q20, 1);
    8552                 :          20 :             {
    8553                 :          20 :               tree _q30_pops[1];
    8554                 :          20 :               if (tree_nop_convert (_q30, _q30_pops))
    8555                 :             :                 {
    8556                 :           0 :                   tree _q40 = _q30_pops[0];
    8557                 :           0 :                   switch (TREE_CODE (_q31))
    8558                 :             :                     {
    8559                 :           0 :                     case INTEGER_CST:
    8560                 :           0 :                       {
    8561                 :           0 :                         switch (TREE_CODE (_p1))
    8562                 :             :                           {
    8563                 :           0 :                           case LSHIFT_EXPR:
    8564                 :           0 :                             {
    8565                 :           0 :                               tree _q70 = TREE_OPERAND (_p1, 0);
    8566                 :           0 :                               tree _q71 = TREE_OPERAND (_p1, 1);
    8567                 :           0 :                               if ((_q70 == _q40 && ! TREE_SIDE_EFFECTS (_q70)) || (operand_equal_p (_q70, _q40, 0) && types_match (_q70, _q40)))
    8568                 :             :                                 {
    8569                 :           0 :                                   switch (TREE_CODE (_q71))
    8570                 :             :                                     {
    8571                 :           0 :                                     case INTEGER_CST:
    8572                 :           0 :                                       {
    8573                 :           0 :                                         {
    8574                 :           0 :                                           tree captures[6] ATTRIBUTE_UNUSED = { _p0, _q20, _q40, _q31, _p1, _q71 };
    8575                 :           0 :                                           tree res = generic_simplify_115 (loc, type, _p0, _p1, captures, BIT_XOR_EXPR);
    8576                 :           0 :                                           if (res) return res;
    8577                 :             :                                         }
    8578                 :           0 :                                         break;
    8579                 :             :                                       }
    8580                 :             :                                     default:;
    8581                 :             :                                     }
    8582                 :             :                                 }
    8583                 :             :                               break;
    8584                 :             :                             }
    8585                 :           0 :                           default:;
    8586                 :             :                           }
    8587                 :           0 :                       {
    8588                 :           0 :                         tree _p1_pops[1];
    8589                 :           0 :                         if (tree_nop_convert (_p1, _p1_pops))
    8590                 :             :                           {
    8591                 :           0 :                             tree _q70 = _p1_pops[0];
    8592                 :           0 :                             switch (TREE_CODE (_q70))
    8593                 :             :                               {
    8594                 :           0 :                               case MULT_EXPR:
    8595                 :           0 :                                 {
    8596                 :           0 :                                   tree _q80 = TREE_OPERAND (_q70, 0);
    8597                 :           0 :                                   tree _q81 = TREE_OPERAND (_q70, 1);
    8598                 :           0 :                                   {
    8599                 :           0 :                                     tree _q80_pops[1];
    8600                 :           0 :                                     if (tree_nop_convert (_q80, _q80_pops))
    8601                 :             :                                       {
    8602                 :           0 :                                         tree _q90 = _q80_pops[0];
    8603                 :           0 :                                         switch (TREE_CODE (_q81))
    8604                 :             :                                           {
    8605                 :           0 :                                           case INTEGER_CST:
    8606                 :           0 :                                             {
    8607                 :           0 :                                               {
    8608                 :           0 :                                                 tree captures[8] ATTRIBUTE_UNUSED = { _p0, _q20, _q40, _q31, _p1, _q70, _q90, _q81 };
    8609                 :           0 :                                                 tree res = generic_simplify_114 (loc, type, _p0, _p1, captures, BIT_XOR_EXPR);
    8610                 :           0 :                                                 if (res) return res;
    8611                 :             :                                               }
    8612                 :           0 :                                               break;
    8613                 :             :                                             }
    8614                 :             :                                           default:;
    8615                 :             :                                           }
    8616                 :             :                                       }
    8617                 :             :                                   }
    8618                 :           0 :                                   break;
    8619                 :             :                                 }
    8620                 :             :                               default:;
    8621                 :             :                               }
    8622                 :             :                           }
    8623                 :             :                       }
    8624                 :           0 :                         if ((_p1 == _q40 && ! TREE_SIDE_EFFECTS (_p1)) || (operand_equal_p (_p1, _q40, 0) && types_match (_p1, _q40)))
    8625                 :             :                           {
    8626                 :           0 :                             {
    8627                 :           0 :                               tree captures[4] ATTRIBUTE_UNUSED = { _p0, _q20, _q40, _q31 };
    8628                 :           0 :                               tree res = generic_simplify_116 (loc, type, _p0, _p1, captures, BIT_XOR_EXPR);
    8629                 :           0 :                               if (res) return res;
    8630                 :             :                             }
    8631                 :             :                           }
    8632                 :             :                         break;
    8633                 :             :                       }
    8634                 :             :                     default:;
    8635                 :             :                     }
    8636                 :             :                 }
    8637                 :             :             }
    8638                 :          20 :             break;
    8639                 :             :           }
    8640                 :             :         default:;
    8641                 :             :         }
    8642                 :             :     }
    8643                 :             : }
    8644                 :      661483 : if (tree_truth_valued_p (_p0))
    8645                 :             :   {
    8646                 :       34879 :     {
    8647                 :       34879 :       tree _p1_pops[1];
    8648                 :       34879 :       if (tree_logical_inverted_value (_p1, _p1_pops))
    8649                 :             :         {
    8650                 :           7 :           tree _q30 = _p1_pops[0];
    8651                 :           7 :           if ((_q30 == _p0 && ! TREE_SIDE_EFFECTS (_q30)) || (operand_equal_p (_q30, _p0, 0) && types_match (_q30, _p0)))
    8652                 :             :             {
    8653                 :           0 :               {
    8654                 :           0 :                 tree captures[1] ATTRIBUTE_UNUSED = { _p0 };
    8655                 :           0 :                 tree res = generic_simplify_118 (loc, type, _p0, _p1, captures, BIT_XOR_EXPR);
    8656                 :           0 :                 if (res) return res;
    8657                 :             :               }
    8658                 :             :             }
    8659                 :             :         }
    8660                 :             :     }
    8661                 :             :   }
    8662                 :      661483 :   switch (TREE_CODE (_p1))
    8663                 :             :     {
    8664                 :         288 :     case BIT_NOT_EXPR:
    8665                 :         288 :       {
    8666                 :         288 :         tree _q30 = TREE_OPERAND (_p1, 0);
    8667                 :         288 :         {
    8668                 :         288 :           tree captures[4] ATTRIBUTE_UNUSED = { _p1, _p1, _q30, _p0 };
    8669                 :         288 :           tree res = generic_simplify_163 (loc, type, _p0, _p1, captures);
    8670                 :         288 :           if (res) return res;
    8671                 :             :         }
    8672                 :           0 :         break;
    8673                 :             :       }
    8674                 :      661195 :     default:;
    8675                 :             :     }
    8676                 :      661195 : {
    8677                 :      661195 :   tree _p1_pops[1];
    8678                 :      661195 :   if (tree_nop_convert (_p1, _p1_pops))
    8679                 :             :     {
    8680                 :      522206 :       tree _q30 = _p1_pops[0];
    8681                 :      522206 :       switch (TREE_CODE (_q30))
    8682                 :             :         {
    8683                 :           0 :         case BIT_NOT_EXPR:
    8684                 :           0 :           {
    8685                 :           0 :             tree _q40 = TREE_OPERAND (_q30, 0);
    8686                 :           0 :             {
    8687                 :           0 :               tree captures[4] ATTRIBUTE_UNUSED = { _p1, _q30, _q40, _p0 };
    8688                 :           0 :               tree res = generic_simplify_166 (loc, type, _p0, _p1, captures);
    8689                 :           0 :               if (res) return res;
    8690                 :             :             }
    8691                 :           0 :             break;
    8692                 :             :           }
    8693                 :             :         default:;
    8694                 :             :         }
    8695                 :             :     }
    8696                 :             : }
    8697                 :      661195 :   switch (TREE_CODE (_p0))
    8698                 :             :     {
    8699                 :        1131 :     case BIT_IOR_EXPR:
    8700                 :        1131 :       {
    8701                 :        1131 :         tree _q20 = TREE_OPERAND (_p0, 0);
    8702                 :        1131 :         tree _q21 = TREE_OPERAND (_p0, 1);
    8703                 :        1131 :         switch (TREE_CODE (_q21))
    8704                 :             :           {
    8705                 :          23 :           case INTEGER_CST:
    8706                 :          23 :             {
    8707                 :          23 :               switch (TREE_CODE (_p1))
    8708                 :             :                 {
    8709                 :          23 :                 case INTEGER_CST:
    8710                 :          23 :                   {
    8711                 :          23 :                     {
    8712                 :          23 :                       tree captures[4] ATTRIBUTE_UNUSED = { _p0, _q20, _q21, _p1 };
    8713                 :          23 :                       tree res = generic_simplify_122 (loc, type, _p0, _p1, captures, BIT_IOR_EXPR, BIT_XOR_EXPR);
    8714                 :          23 :                       if (res) return res;
    8715                 :             :                     }
    8716                 :          23 :                     break;
    8717                 :             :                   }
    8718                 :             :                 default:;
    8719                 :             :                 }
    8720                 :             :               break;
    8721                 :             :             }
    8722                 :             :           default:;
    8723                 :             :           }
    8724                 :             :         break;
    8725                 :             :       }
    8726                 :          90 :     case LT_EXPR:
    8727                 :          90 :       {
    8728                 :          90 :         tree _q20 = TREE_OPERAND (_p0, 0);
    8729                 :          90 :         tree _q21 = TREE_OPERAND (_p0, 1);
    8730                 :          90 :         switch (TREE_CODE (_p1))
    8731                 :             :           {
    8732                 :           0 :           case GT_EXPR:
    8733                 :           0 :             {
    8734                 :           0 :               tree _q50 = TREE_OPERAND (_p1, 0);
    8735                 :           0 :               tree _q51 = TREE_OPERAND (_p1, 1);
    8736                 :           0 :               if ((_q50 == _q20 && ! TREE_SIDE_EFFECTS (_q50)) || (operand_equal_p (_q50, _q20, 0) && types_match (_q50, _q20)))
    8737                 :             :                 {
    8738                 :           0 :                   if ((_q51 == _q21 && ! TREE_SIDE_EFFECTS (_q51)) || (operand_equal_p (_q51, _q21, 0) && types_match (_q51, _q21)))
    8739                 :             :                     {
    8740                 :           0 :                       {
    8741                 :           0 :                         tree captures[2] ATTRIBUTE_UNUSED = { _q20, _q21 };
    8742                 :           0 :                         const enum tree_code cmp1 = LT_EXPR;
    8743                 :           0 :                         const enum tree_code cmp2 = GT_EXPR;
    8744                 :           0 :                         const enum tree_code rcmp = NE_EXPR;
    8745                 :           0 :                         if (INTEGRAL_TYPE_P (TREE_TYPE (captures[0])) || POINTER_TYPE_P (TREE_TYPE (captures[0]))
    8746                 :             : )
    8747                 :             :                           {
    8748                 :           0 :                             if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail1367;
    8749                 :           0 :                             {
    8750                 :           0 :                               tree res_op0;
    8751                 :           0 :                               res_op0 = captures[0];
    8752                 :           0 :                               tree res_op1;
    8753                 :           0 :                               res_op1 = captures[1];
    8754                 :           0 :                               tree _r;
    8755                 :           0 :                               _r = fold_build2_loc (loc, rcmp, type, res_op0, res_op1);
    8756                 :           0 :                               if (UNLIKELY (debug_dump)) generic_dump_logs ("match.pd", 948, __FILE__, __LINE__, true);
    8757                 :           0 :                               return _r;
    8758                 :             :                             }
    8759                 :           0 : next_after_fail1367:;
    8760                 :             :                           }
    8761                 :             :                       }
    8762                 :             :                     }
    8763                 :             :                 }
    8764                 :             :               break;
    8765                 :             :             }
    8766                 :           0 :           case EQ_EXPR:
    8767                 :           0 :             {
    8768                 :           0 :               tree _q50 = TREE_OPERAND (_p1, 0);
    8769                 :           0 :               tree _q51 = TREE_OPERAND (_p1, 1);
    8770                 :           0 :               if ((_q50 == _q20 && ! TREE_SIDE_EFFECTS (_q50)) || (operand_equal_p (_q50, _q20, 0) && types_match (_q50, _q20)))
    8771                 :             :                 {
    8772                 :           0 :                   if ((_q51 == _q21 && ! TREE_SIDE_EFFECTS (_q51)) || (operand_equal_p (_q51, _q21, 0) && types_match (_q51, _q21)))
    8773                 :             :                     {
    8774                 :           0 :                       {
    8775                 :           0 :                         tree captures[2] ATTRIBUTE_UNUSED = { _q20, _q21 };
    8776                 :           0 :                         const enum tree_code cmp1 = LT_EXPR;
    8777                 :           0 :                         const enum tree_code cmp2 = EQ_EXPR;
    8778                 :           0 :                         const enum tree_code rcmp = LE_EXPR;
    8779                 :           0 :                         if (INTEGRAL_TYPE_P (TREE_TYPE (captures[0])) || POINTER_TYPE_P (TREE_TYPE (captures[0]))
    8780                 :             : )
    8781                 :             :                           {
    8782                 :           0 :                             if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail1368;
    8783                 :           0 :                             {
    8784                 :           0 :                               tree res_op0;
    8785                 :           0 :                               res_op0 = captures[0];
    8786                 :           0 :                               tree res_op1;
    8787                 :           0 :                               res_op1 = captures[1];
    8788                 :           0 :                               tree _r;
    8789                 :           0 :                               _r = fold_build2_loc (loc, rcmp, type, res_op0, res_op1);
    8790                 :           0 :                               if (UNLIKELY (debug_dump)) generic_dump_logs ("match.pd", 948, __FILE__, __LINE__, true);
    8791                 :           0 :                               return _r;
    8792                 :             :                             }
    8793                 :           0 : next_after_fail1368:;
    8794                 :             :                           }
    8795                 :             :                       }
    8796                 :             :                     }
    8797                 :             :                 }
    8798                 :             :               break;
    8799                 :             :             }
    8800                 :           0 :           case NE_EXPR:
    8801                 :           0 :             {
    8802                 :           0 :               tree _q50 = TREE_OPERAND (_p1, 0);
    8803                 :           0 :               tree _q51 = TREE_OPERAND (_p1, 1);
    8804                 :           0 :               if ((_q50 == _q20 && ! TREE_SIDE_EFFECTS (_q50)) || (operand_equal_p (_q50, _q20, 0) && types_match (_q50, _q20)))
    8805                 :             :                 {
    8806                 :           0 :                   if ((_q51 == _q21 && ! TREE_SIDE_EFFECTS (_q51)) || (operand_equal_p (_q51, _q21, 0) && types_match (_q51, _q21)))
    8807                 :             :                     {
    8808                 :           0 :                       {
    8809                 :           0 :                         tree captures[2] ATTRIBUTE_UNUSED = { _q20, _q21 };
    8810                 :           0 :                         const enum tree_code cmp1 = LT_EXPR;
    8811                 :           0 :                         const enum tree_code cmp2 = NE_EXPR;
    8812                 :           0 :                         const enum tree_code rcmp = GT_EXPR;
    8813                 :           0 :                         if (INTEGRAL_TYPE_P (TREE_TYPE (captures[0])) || POINTER_TYPE_P (TREE_TYPE (captures[0]))
    8814                 :             : )
    8815                 :             :                           {
    8816                 :           0 :                             if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail1369;
    8817                 :           0 :                             {
    8818                 :           0 :                               tree res_op0;
    8819                 :           0 :                               res_op0 = captures[0];
    8820                 :           0 :                               tree res_op1;
    8821                 :           0 :                               res_op1 = captures[1];
    8822                 :           0 :                               tree _r;
    8823                 :           0 :                               _r = fold_build2_loc (loc, rcmp, type, res_op0, res_op1);
    8824                 :           0 :                               if (UNLIKELY (debug_dump)) generic_dump_logs ("match.pd", 948, __FILE__, __LINE__, true);
    8825                 :           0 :                               return _r;
    8826                 :             :                             }
    8827                 :           0 : next_after_fail1369:;
    8828                 :             :                           }
    8829                 :             :                       }
    8830                 :             :                     }
    8831                 :             :                 }
    8832                 :             :               break;
    8833                 :             :             }
    8834                 :             :           default:;
    8835                 :             :           }
    8836                 :             :         break;
    8837                 :             :       }
    8838                 :          78 :     case LE_EXPR:
    8839                 :          78 :       {
    8840                 :          78 :         tree _q20 = TREE_OPERAND (_p0, 0);
    8841                 :          78 :         tree _q21 = TREE_OPERAND (_p0, 1);
    8842                 :          78 :         switch (TREE_CODE (_p1))
    8843                 :             :           {
    8844                 :           0 :           case GE_EXPR:
    8845                 :           0 :             {
    8846                 :           0 :               tree _q50 = TREE_OPERAND (_p1, 0);
    8847                 :           0 :               tree _q51 = TREE_OPERAND (_p1, 1);
    8848                 :           0 :               if ((_q50 == _q20 && ! TREE_SIDE_EFFECTS (_q50)) || (operand_equal_p (_q50, _q20, 0) && types_match (_q50, _q20)))
    8849                 :             :                 {
    8850                 :           0 :                   if ((_q51 == _q21 && ! TREE_SIDE_EFFECTS (_q51)) || (operand_equal_p (_q51, _q21, 0) && types_match (_q51, _q21)))
    8851                 :             :                     {
    8852                 :           0 :                       {
    8853                 :           0 :                         tree captures[2] ATTRIBUTE_UNUSED = { _q20, _q21 };
    8854                 :           0 :                         const enum tree_code cmp1 = LE_EXPR;
    8855                 :           0 :                         const enum tree_code cmp2 = GE_EXPR;
    8856                 :           0 :                         const enum tree_code rcmp = NE_EXPR;
    8857                 :           0 :                         if (INTEGRAL_TYPE_P (TREE_TYPE (captures[0])) || POINTER_TYPE_P (TREE_TYPE (captures[0]))
    8858                 :             : )
    8859                 :             :                           {
    8860                 :           0 :                             if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail1370;
    8861                 :           0 :                             {
    8862                 :           0 :                               tree res_op0;
    8863                 :           0 :                               res_op0 = captures[0];
    8864                 :           0 :                               tree res_op1;
    8865                 :           0 :                               res_op1 = captures[1];
    8866                 :           0 :                               tree _r;
    8867                 :           0 :                               _r = fold_build2_loc (loc, rcmp, type, res_op0, res_op1);
    8868                 :           0 :                               if (UNLIKELY (debug_dump)) generic_dump_logs ("match.pd", 948, __FILE__, __LINE__, true);
    8869                 :           0 :                               return _r;
    8870                 :             :                             }
    8871                 :           0 : next_after_fail1370:;
    8872                 :             :                           }
    8873                 :             :                       }
    8874                 :             :                     }
    8875                 :             :                 }
    8876                 :             :               break;
    8877                 :             :             }
    8878                 :           0 :           case EQ_EXPR:
    8879                 :           0 :             {
    8880                 :           0 :               tree _q50 = TREE_OPERAND (_p1, 0);
    8881                 :           0 :               tree _q51 = TREE_OPERAND (_p1, 1);
    8882                 :           0 :               if ((_q50 == _q20 && ! TREE_SIDE_EFFECTS (_q50)) || (operand_equal_p (_q50, _q20, 0) && types_match (_q50, _q20)))
    8883                 :             :                 {
    8884                 :           0 :                   if ((_q51 == _q21 && ! TREE_SIDE_EFFECTS (_q51)) || (operand_equal_p (_q51, _q21, 0) && types_match (_q51, _q21)))
    8885                 :             :                     {
    8886                 :           0 :                       {
    8887                 :           0 :                         tree captures[2] ATTRIBUTE_UNUSED = { _q20, _q21 };
    8888                 :           0 :                         const enum tree_code cmp1 = LE_EXPR;
    8889                 :           0 :                         const enum tree_code cmp2 = EQ_EXPR;
    8890                 :           0 :                         const enum tree_code rcmp = LT_EXPR;
    8891                 :           0 :                         if (INTEGRAL_TYPE_P (TREE_TYPE (captures[0])) || POINTER_TYPE_P (TREE_TYPE (captures[0]))
    8892                 :             : )
    8893                 :             :                           {
    8894                 :           0 :                             if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail1371;
    8895                 :           0 :                             {
    8896                 :           0 :                               tree res_op0;
    8897                 :           0 :                               res_op0 = captures[0];
    8898                 :           0 :                               tree res_op1;
    8899                 :           0 :                               res_op1 = captures[1];
    8900                 :           0 :                               tree _r;
    8901                 :           0 :                               _r = fold_build2_loc (loc, rcmp, type, res_op0, res_op1);
    8902                 :           0 :                               if (UNLIKELY (debug_dump)) generic_dump_logs ("match.pd", 948, __FILE__, __LINE__, true);
    8903                 :           0 :                               return _r;
    8904                 :             :                             }
    8905                 :           0 : next_after_fail1371:;
    8906                 :             :                           }
    8907                 :             :                       }
    8908                 :             :                     }
    8909                 :             :                 }
    8910                 :             :               break;
    8911                 :             :             }
    8912                 :           0 :           case NE_EXPR:
    8913                 :           0 :             {
    8914                 :           0 :               tree _q50 = TREE_OPERAND (_p1, 0);
    8915                 :           0 :               tree _q51 = TREE_OPERAND (_p1, 1);
    8916                 :           0 :               if ((_q50 == _q20 && ! TREE_SIDE_EFFECTS (_q50)) || (operand_equal_p (_q50, _q20, 0) && types_match (_q50, _q20)))
    8917                 :             :                 {
    8918                 :           0 :                   if ((_q51 == _q21 && ! TREE_SIDE_EFFECTS (_q51)) || (operand_equal_p (_q51, _q21, 0) && types_match (_q51, _q21)))
    8919                 :             :                     {
    8920                 :           0 :                       {
    8921                 :           0 :                         tree captures[2] ATTRIBUTE_UNUSED = { _q20, _q21 };
    8922                 :           0 :                         const enum tree_code cmp1 = LE_EXPR;
    8923                 :           0 :                         const enum tree_code cmp2 = NE_EXPR;
    8924                 :           0 :                         const enum tree_code rcmp = GE_EXPR;
    8925                 :           0 :                         if (INTEGRAL_TYPE_P (TREE_TYPE (captures[0])) || POINTER_TYPE_P (TREE_TYPE (captures[0]))
    8926                 :             : )
    8927                 :             :                           {
    8928                 :           0 :                             if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail1372;
    8929                 :           0 :                             {
    8930                 :           0 :                               tree res_op0;
    8931                 :           0 :                               res_op0 = captures[0];
    8932                 :           0 :                               tree res_op1;
    8933                 :           0 :                               res_op1 = captures[1];
    8934                 :           0 :                               tree _r;
    8935                 :           0 :                               _r = fold_build2_loc (loc, rcmp, type, res_op0, res_op1);
    8936                 :           0 :                               if (UNLIKELY (debug_dump)) generic_dump_logs ("match.pd", 948, __FILE__, __LINE__, true);
    8937                 :           0 :                               return _r;
    8938                 :             :                             }
    8939                 :           0 : next_after_fail1372:;
    8940                 :             :                           }
    8941                 :             :                       }
    8942                 :             :                     }
    8943                 :             :                 }
    8944                 :             :               break;
    8945                 :             :             }
    8946                 :             :           default:;
    8947                 :             :           }
    8948                 :             :         break;
    8949                 :             :       }
    8950                 :         100 :     case GT_EXPR:
    8951                 :         100 :       {
    8952                 :         100 :         tree _q20 = TREE_OPERAND (_p0, 0);
    8953                 :         100 :         tree _q21 = TREE_OPERAND (_p0, 1);
    8954                 :         100 :         switch (TREE_CODE (_p1))
    8955                 :             :           {
    8956                 :           0 :           case GT_EXPR:
    8957                 :           0 :             {
    8958                 :           0 :               tree _q50 = TREE_OPERAND (_p1, 0);
    8959                 :           0 :               tree _q51 = TREE_OPERAND (_p1, 1);
    8960                 :           0 :               if ((_q50 == _q21 && ! TREE_SIDE_EFFECTS (_q50)) || (operand_equal_p (_q50, _q21, 0) && types_match (_q50, _q21)))
    8961                 :             :                 {
    8962                 :           0 :                   if ((_q51 == _q20 && ! TREE_SIDE_EFFECTS (_q51)) || (operand_equal_p (_q51, _q20, 0) && types_match (_q51, _q20)))
    8963                 :             :                     {
    8964                 :           0 :                       {
    8965                 :           0 :                         tree captures[2] ATTRIBUTE_UNUSED = { _q21, _q20 };
    8966                 :           0 :                         const enum tree_code cmp1 = LT_EXPR;
    8967                 :           0 :                         const enum tree_code cmp2 = GT_EXPR;
    8968                 :           0 :                         const enum tree_code rcmp = NE_EXPR;
    8969                 :           0 :                         if (INTEGRAL_TYPE_P (TREE_TYPE (captures[0])) || POINTER_TYPE_P (TREE_TYPE (captures[0]))
    8970                 :             : )
    8971                 :             :                           {
    8972                 :           0 :                             if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail1373;
    8973                 :           0 :                             {
    8974                 :           0 :                               tree res_op0;
    8975                 :           0 :                               res_op0 = captures[0];
    8976                 :           0 :                               tree res_op1;
    8977                 :           0 :                               res_op1 = captures[1];
    8978                 :           0 :                               tree _r;
    8979                 :           0 :                               _r = fold_build2_loc (loc, rcmp, type, res_op0, res_op1);
    8980                 :           0 :                               if (UNLIKELY (debug_dump)) generic_dump_logs ("match.pd", 948, __FILE__, __LINE__, true);
    8981                 :           0 :                               return _r;
    8982                 :             :                             }
    8983                 :           0 : next_after_fail1373:;
    8984                 :             :                           }
    8985                 :             :                       }
    8986                 :           0 :                       {
    8987                 :           0 :                         tree captures[2] ATTRIBUTE_UNUSED = { _q20, _q21 };
    8988                 :           0 :                         const enum tree_code cmp1 = LT_EXPR;
    8989                 :           0 :                         const enum tree_code cmp2 = GT_EXPR;
    8990                 :           0 :                         const enum tree_code rcmp = NE_EXPR;
    8991                 :           0 :                         if (INTEGRAL_TYPE_P (TREE_TYPE (captures[0])) || POINTER_TYPE_P (TREE_TYPE (captures[0]))
    8992                 :             : )
    8993                 :             :                           {
    8994                 :           0 :                             if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail1374;
    8995                 :           0 :                             {
    8996                 :           0 :                               tree res_op0;
    8997                 :           0 :                               res_op0 = captures[0];
    8998                 :           0 :                               tree res_op1;
    8999                 :           0 :                               res_op1 = captures[1];
    9000                 :           0 :                               tree _r;
    9001                 :           0 :                               _r = fold_build2_loc (loc, rcmp, type, res_op0, res_op1);
    9002                 :           0 :                               if (UNLIKELY (debug_dump)) generic_dump_logs ("match.pd", 948, __FILE__, __LINE__, true);
    9003                 :           0 :                               return _r;
    9004                 :             :                             }
    9005                 :           0 : next_after_fail1374:;
    9006                 :             :                           }
    9007                 :             :                       }
    9008                 :             :                     }
    9009                 :             :                 }
    9010                 :             :               break;
    9011                 :             :             }
    9012                 :           0 :           case EQ_EXPR:
    9013                 :           0 :             {
    9014                 :           0 :               tree _q50 = TREE_OPERAND (_p1, 0);
    9015                 :           0 :               tree _q51 = TREE_OPERAND (_p1, 1);
    9016                 :           0 :               if ((_q50 == _q21 && ! TREE_SIDE_EFFECTS (_q50)) || (operand_equal_p (_q50, _q21, 0) && types_match (_q50, _q21)))
    9017                 :             :                 {
    9018                 :           0 :                   if ((_q51 == _q20 && ! TREE_SIDE_EFFECTS (_q51)) || (operand_equal_p (_q51, _q20, 0) && types_match (_q51, _q20)))
    9019                 :             :                     {
    9020                 :           0 :                       {
    9021                 :           0 :                         tree captures[2] ATTRIBUTE_UNUSED = { _q21, _q20 };
    9022                 :           0 :                         const enum tree_code cmp1 = LT_EXPR;
    9023                 :           0 :                         const enum tree_code cmp2 = EQ_EXPR;
    9024                 :           0 :                         const enum tree_code rcmp = LE_EXPR;
    9025                 :           0 :                         if (INTEGRAL_TYPE_P (TREE_TYPE (captures[0])) || POINTER_TYPE_P (TREE_TYPE (captures[0]))
    9026                 :             : )
    9027                 :             :                           {
    9028                 :           0 :                             if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail1375;
    9029                 :           0 :                             {
    9030                 :           0 :                               tree res_op0;
    9031                 :           0 :                               res_op0 = captures[0];
    9032                 :           0 :                               tree res_op1;
    9033                 :           0 :                               res_op1 = captures[1];
    9034                 :           0 :                               tree _r;
    9035                 :           0 :                               _r = fold_build2_loc (loc, rcmp, type, res_op0, res_op1);
    9036                 :           0 :                               if (UNLIKELY (debug_dump)) generic_dump_logs ("match.pd", 948, __FILE__, __LINE__, true);
    9037                 :           0 :                               return _r;
    9038                 :             :                             }
    9039                 :           0 : next_after_fail1375:;
    9040                 :             :                           }
    9041                 :             :                       }
    9042                 :             :                     }
    9043                 :             :                 }
    9044                 :             :               break;
    9045                 :             :             }
    9046                 :          12 :           case NE_EXPR:
    9047                 :          12 :             {
    9048                 :          12 :               tree _q50 = TREE_OPERAND (_p1, 0);
    9049                 :          12 :               tree _q51 = TREE_OPERAND (_p1, 1);
    9050                 :          12 :               if ((_q50 == _q21 && ! TREE_SIDE_EFFECTS (_q50)) || (operand_equal_p (_q50, _q21, 0) && types_match (_q50, _q21)))
    9051                 :             :                 {
    9052                 :           0 :                   if ((_q51 == _q20 && ! TREE_SIDE_EFFECTS (_q51)) || (operand_equal_p (_q51, _q20, 0) && types_match (_q51, _q20)))
    9053                 :             :                     {
    9054                 :           0 :                       {
    9055                 :           0 :                         tree captures[2] ATTRIBUTE_UNUSED = { _q21, _q20 };
    9056                 :           0 :                         const enum tree_code cmp1 = LT_EXPR;
    9057                 :           0 :                         const enum tree_code cmp2 = NE_EXPR;
    9058                 :           0 :                         const enum tree_code rcmp = GT_EXPR;
    9059                 :           0 :                         if (INTEGRAL_TYPE_P (TREE_TYPE (captures[0])) || POINTER_TYPE_P (TREE_TYPE (captures[0]))
    9060                 :             : )
    9061                 :             :                           {
    9062                 :           0 :                             if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail1376;
    9063                 :           0 :                             {
    9064                 :           0 :                               tree res_op0;
    9065                 :           0 :                               res_op0 = captures[0];
    9066                 :           0 :                               tree res_op1;
    9067                 :           0 :                               res_op1 = captures[1];
    9068                 :           0 :                               tree _r;
    9069                 :           0 :                               _r = fold_build2_loc (loc, rcmp, type, res_op0, res_op1);
    9070                 :           0 :                               if (UNLIKELY (debug_dump)) generic_dump_logs ("match.pd", 948, __FILE__, __LINE__, true);
    9071                 :           0 :                               return _r;
    9072                 :             :                             }
    9073                 :           0 : next_after_fail1376:;
    9074                 :             :                           }
    9075                 :             :                       }
    9076                 :             :                     }
    9077                 :             :                 }
    9078                 :             :               break;
    9079                 :             :             }
    9080                 :           0 :           case LT_EXPR:
    9081                 :           0 :             {
    9082                 :           0 :               tree _q50 = TREE_OPERAND (_p1, 0);
    9083                 :           0 :               tree _q51 = TREE_OPERAND (_p1, 1);
    9084                 :           0 :               if ((_q50 == _q20 && ! TREE_SIDE_EFFECTS (_q50)) || (operand_equal_p (_q50, _q20, 0) && types_match (_q50, _q20)))
    9085                 :             :                 {
    9086                 :           0 :                   if ((_q51 == _q21 && ! TREE_SIDE_EFFECTS (_q51)) || (operand_equal_p (_q51, _q21, 0) && types_match (_q51, _q21)))
    9087                 :             :                     {
    9088                 :           0 :                       {
    9089                 :           0 :                         tree captures[2] ATTRIBUTE_UNUSED = { _q20, _q21 };
    9090                 :           0 :                         const enum tree_code cmp1 = LT_EXPR;
    9091                 :           0 :                         const enum tree_code cmp2 = GT_EXPR;
    9092                 :           0 :                         const enum tree_code rcmp = NE_EXPR;
    9093                 :           0 :                         if (INTEGRAL_TYPE_P (TREE_TYPE (captures[0])) || POINTER_TYPE_P (TREE_TYPE (captures[0]))
    9094                 :             : )
    9095                 :             :                           {
    9096                 :           0 :                             if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail1377;
    9097                 :           0 :                             {
    9098                 :           0 :                               tree res_op0;
    9099                 :           0 :                               res_op0 = captures[0];
    9100                 :           0 :                               tree res_op1;
    9101                 :           0 :                               res_op1 = captures[1];
    9102                 :           0 :                               tree _r;
    9103                 :           0 :                               _r = fold_build2_loc (loc, rcmp, type, res_op0, res_op1);
    9104                 :           0 :                               if (UNLIKELY (debug_dump)) generic_dump_logs ("match.pd", 948, __FILE__, __LINE__, true);
    9105                 :           0 :                               return _r;
    9106                 :             :                             }
    9107                 :           0 : next_after_fail1377:;
    9108                 :             :                           }
    9109                 :             :                       }
    9110                 :             :                     }
    9111                 :             :                 }
    9112                 :             :               break;
    9113                 :             :             }
    9114                 :             :           default:;
    9115                 :             :           }
    9116                 :             :         break;
    9117                 :             :       }
    9118                 :          62 :     case GE_EXPR:
    9119                 :          62 :       {
    9120                 :          62 :         tree _q20 = TREE_OPERAND (_p0, 0);
    9121                 :          62 :         tree _q21 = TREE_OPERAND (_p0, 1);
    9122                 :          62 :         switch (TREE_CODE (_p1))
    9123                 :             :           {
    9124                 :           1 :           case GE_EXPR:
    9125                 :           1 :             {
    9126                 :           1 :               tree _q50 = TREE_OPERAND (_p1, 0);
    9127                 :           1 :               tree _q51 = TREE_OPERAND (_p1, 1);
    9128                 :           1 :               if ((_q50 == _q21 && ! TREE_SIDE_EFFECTS (_q50)) || (operand_equal_p (_q50, _q21, 0) && types_match (_q50, _q21)))
    9129                 :             :                 {
    9130                 :           0 :                   if ((_q51 == _q20 && ! TREE_SIDE_EFFECTS (_q51)) || (operand_equal_p (_q51, _q20, 0) && types_match (_q51, _q20)))
    9131                 :             :                     {
    9132                 :           0 :                       {
    9133                 :           0 :                         tree captures[2] ATTRIBUTE_UNUSED = { _q21, _q20 };
    9134                 :           0 :                         const enum tree_code cmp1 = LE_EXPR;
    9135                 :           0 :                         const enum tree_code cmp2 = GE_EXPR;
    9136                 :           0 :                         const enum tree_code rcmp = NE_EXPR;
    9137                 :           0 :                         if (INTEGRAL_TYPE_P (TREE_TYPE (captures[0])) || POINTER_TYPE_P (TREE_TYPE (captures[0]))
    9138                 :             : )
    9139                 :             :                           {
    9140                 :           0 :                             if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail1378;
    9141                 :           0 :                             {
    9142                 :           0 :                               tree res_op0;
    9143                 :           0 :                               res_op0 = captures[0];
    9144                 :           0 :                               tree res_op1;
    9145                 :           0 :                               res_op1 = captures[1];
    9146                 :           0 :                               tree _r;
    9147                 :           0 :                               _r = fold_build2_loc (loc, rcmp, type, res_op0, res_op1);
    9148                 :           0 :                               if (UNLIKELY (debug_dump)) generic_dump_logs ("match.pd", 948, __FILE__, __LINE__, true);
    9149                 :           0 :                               return _r;
    9150                 :             :                             }
    9151                 :           0 : next_after_fail1378:;
    9152                 :             :                           }
    9153                 :             :                       }
    9154                 :           0 :                       {
    9155                 :           0 :                         tree captures[2] ATTRIBUTE_UNUSED = { _q20, _q21 };
    9156                 :           0 :                         const enum tree_code cmp1 = LE_EXPR;
    9157                 :           0 :                         const enum tree_code cmp2 = GE_EXPR;
    9158                 :           0 :                         const enum tree_code rcmp = NE_EXPR;
    9159                 :           0 :                         if (INTEGRAL_TYPE_P (TREE_TYPE (captures[0])) || POINTER_TYPE_P (TREE_TYPE (captures[0]))
    9160                 :             : )
    9161                 :             :                           {
    9162                 :           0 :                             if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail1379;
    9163                 :           0 :                             {
    9164                 :           0 :                               tree res_op0;
    9165                 :           0 :                               res_op0 = captures[0];
    9166                 :           0 :                               tree res_op1;
    9167                 :           0 :                               res_op1 = captures[1];
    9168                 :           0 :                               tree _r;
    9169                 :           0 :                               _r = fold_build2_loc (loc, rcmp, type, res_op0, res_op1);
    9170                 :           0 :                               if (UNLIKELY (debug_dump)) generic_dump_logs ("match.pd", 948, __FILE__, __LINE__, true);
    9171                 :           0 :                               return _r;
    9172                 :             :                             }
    9173                 :           0 : next_after_fail1379:;
    9174                 :             :                           }
    9175                 :             :                       }
    9176                 :             :                     }
    9177                 :             :                 }
    9178                 :             :               break;
    9179                 :             :             }
    9180                 :           0 :           case EQ_EXPR:
    9181                 :           0 :             {
    9182                 :           0 :               tree _q50 = TREE_OPERAND (_p1, 0);
    9183                 :           0 :               tree _q51 = TREE_OPERAND (_p1, 1);
    9184                 :           0 :               if ((_q50 == _q21 && ! TREE_SIDE_EFFECTS (_q50)) || (operand_equal_p (_q50, _q21, 0) && types_match (_q50, _q21)))
    9185                 :             :                 {
    9186                 :           0 :                   if ((_q51 == _q20 && ! TREE_SIDE_EFFECTS (_q51)) || (operand_equal_p (_q51, _q20, 0) && types_match (_q51, _q20)))
    9187                 :             :                     {
    9188                 :           0 :                       {
    9189                 :           0 :                         tree captures[2] ATTRIBUTE_UNUSED = { _q21, _q20 };
    9190                 :           0 :                         const enum tree_code cmp1 = LE_EXPR;
    9191                 :           0 :                         const enum tree_code cmp2 = EQ_EXPR;
    9192                 :           0 :                         const enum tree_code rcmp = LT_EXPR;
    9193                 :           0 :                         if (INTEGRAL_TYPE_P (TREE_TYPE (captures[0])) || POINTER_TYPE_P (TREE_TYPE (captures[0]))
    9194                 :             : )
    9195                 :             :                           {
    9196                 :           0 :                             if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail1380;
    9197                 :           0 :                             {
    9198                 :           0 :                               tree res_op0;
    9199                 :           0 :                               res_op0 = captures[0];
    9200                 :           0 :                               tree res_op1;
    9201                 :           0 :                               res_op1 = captures[1];
    9202                 :           0 :                               tree _r;
    9203                 :           0 :                               _r = fold_build2_loc (loc, rcmp, type, res_op0, res_op1);
    9204                 :           0 :                               if (UNLIKELY (debug_dump)) generic_dump_logs ("match.pd", 948, __FILE__, __LINE__, true);
    9205                 :           0 :                               return _r;
    9206                 :             :                             }
    9207                 :           0 : next_after_fail1380:;
    9208                 :             :                           }
    9209                 :             :                       }
    9210                 :             :                     }
    9211                 :             :                 }
    9212                 :             :               break;
    9213                 :             :             }
    9214                 :           8 :           case NE_EXPR:
    9215                 :           8 :             {
    9216                 :           8 :               tree _q50 = TREE_OPERAND (_p1, 0);
    9217                 :           8 :               tree _q51 = TREE_OPERAND (_p1, 1);
    9218                 :           8 :               if ((_q50 == _q21 && ! TREE_SIDE_EFFECTS (_q50)) || (operand_equal_p (_q50, _q21, 0) && types_match (_q50, _q21)))
    9219                 :             :                 {
    9220                 :           0 :                   if ((_q51 == _q20 && ! TREE_SIDE_EFFECTS (_q51)) || (operand_equal_p (_q51, _q20, 0) && types_match (_q51, _q20)))
    9221                 :             :                     {
    9222                 :           0 :                       {
    9223                 :           0 :                         tree captures[2] ATTRIBUTE_UNUSED = { _q21, _q20 };
    9224                 :           0 :                         const enum tree_code cmp1 = LE_EXPR;
    9225                 :           0 :                         const enum tree_code cmp2 = NE_EXPR;
    9226                 :           0 :                         const enum tree_code rcmp = GE_EXPR;
    9227                 :           0 :                         if (INTEGRAL_TYPE_P (TREE_TYPE (captures[0])) || POINTER_TYPE_P (TREE_TYPE (captures[0]))
    9228                 :             : )
    9229                 :             :                           {
    9230                 :           0 :                             if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail1381;
    9231                 :           0 :                             {
    9232                 :           0 :                               tree res_op0;
    9233                 :           0 :                               res_op0 = captures[0];
    9234                 :           0 :                               tree res_op1;
    9235                 :           0 :                               res_op1 = captures[1];
    9236                 :           0 :                               tree _r;
    9237                 :           0 :                               _r = fold_build2_loc (loc, rcmp, type, res_op0, res_op1);
    9238                 :           0 :                               if (UNLIKELY (debug_dump)) generic_dump_logs ("match.pd", 948, __FILE__, __LINE__, true);
    9239                 :           0 :                               return _r;
    9240                 :             :                             }
    9241                 :           0 : next_after_fail1381:;
    9242                 :             :                           }
    9243                 :             :                       }
    9244                 :             :                     }
    9245                 :             :                 }
    9246                 :             :               break;
    9247                 :             :             }
    9248                 :           0 :           case LE_EXPR:
    9249                 :           0 :             {
    9250                 :           0 :               tree _q50 = TREE_OPERAND (_p1, 0);
    9251                 :           0 :               tree _q51 = TREE_OPERAND (_p1, 1);
    9252                 :           0 :               if ((_q50 == _q20 && ! TREE_SIDE_EFFECTS (_q50)) || (operand_equal_p (_q50, _q20, 0) && types_match (_q50, _q20)))
    9253                 :             :                 {
    9254                 :           0 :                   if ((_q51 == _q21 && ! TREE_SIDE_EFFECTS (_q51)) || (operand_equal_p (_q51, _q21, 0) && types_match (_q51, _q21)))
    9255                 :             :                     {
    9256                 :           0 :                       {
    9257                 :           0 :                         tree captures[2] ATTRIBUTE_UNUSED = { _q20, _q21 };
    9258                 :           0 :                         const enum tree_code cmp1 = LE_EXPR;
    9259                 :           0 :                         const enum tree_code cmp2 = GE_EXPR;
    9260                 :           0 :                         const enum tree_code rcmp = NE_EXPR;
    9261                 :           0 :                         if (INTEGRAL_TYPE_P (TREE_TYPE (captures[0])) || POINTER_TYPE_P (TREE_TYPE (captures[0]))
    9262                 :             : )
    9263                 :             :                           {
    9264                 :           0 :                             if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail1382;
    9265                 :           0 :                             {
    9266                 :           0 :                               tree res_op0;
    9267                 :           0 :                               res_op0 = captures[0];
    9268                 :           0 :                               tree res_op1;
    9269                 :           0 :                               res_op1 = captures[1];
    9270                 :           0 :                               tree _r;
    9271                 :           0 :                               _r = fold_build2_loc (loc, rcmp, type, res_op0, res_op1);
    9272                 :           0 :                               if (UNLIKELY (debug_dump)) generic_dump_logs ("match.pd", 948, __FILE__, __LINE__, true);
    9273                 :           0 :                               return _r;
    9274                 :             :                             }
    9275                 :           0 : next_after_fail1382:;
    9276                 :             :                           }
    9277                 :             :                       }
    9278                 :             :                     }
    9279                 :             :                 }
    9280                 :             :               break;
    9281                 :             :             }
    9282                 :             :           default:;
    9283                 :             :           }
    9284                 :             :         break;
    9285                 :             :       }
    9286                 :         118 :     case EQ_EXPR:
    9287                 :         118 :       {
    9288                 :         118 :         tree _q20 = TREE_OPERAND (_p0, 0);
    9289                 :         118 :         tree _q21 = TREE_OPERAND (_p0, 1);
    9290                 :         118 :         switch (TREE_CODE (_p1))
    9291                 :             :           {
    9292                 :           0 :           case LT_EXPR:
    9293                 :           0 :             {
    9294                 :           0 :               tree _q50 = TREE_OPERAND (_p1, 0);
    9295                 :           0 :               tree _q51 = TREE_OPERAND (_p1, 1);
    9296                 :           0 :               if ((_q50 == _q20 && ! TREE_SIDE_EFFECTS (_q50)) || (operand_equal_p (_q50, _q20, 0) && types_match (_q50, _q20)))
    9297                 :             :                 {
    9298                 :           0 :                   if ((_q51 == _q21 && ! TREE_SIDE_EFFECTS (_q51)) || (operand_equal_p (_q51, _q21, 0) && types_match (_q51, _q21)))
    9299                 :             :                     {
    9300                 :           0 :                       {
    9301                 :           0 :                         tree captures[2] ATTRIBUTE_UNUSED = { _q20, _q21 };
    9302                 :           0 :                         const enum tree_code cmp1 = LT_EXPR;
    9303                 :           0 :                         const enum tree_code cmp2 = EQ_EXPR;
    9304                 :           0 :                         const enum tree_code rcmp = LE_EXPR;
    9305                 :           0 :                         if (INTEGRAL_TYPE_P (TREE_TYPE (captures[0])) || POINTER_TYPE_P (TREE_TYPE (captures[0]))
    9306                 :             : )
    9307                 :             :                           {
    9308                 :           0 :                             if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail1383;
    9309                 :           0 :                             {
    9310                 :           0 :                               tree res_op0;
    9311                 :           0 :                               res_op0 = captures[0];
    9312                 :           0 :                               tree res_op1;
    9313                 :           0 :                               res_op1 = captures[1];
    9314                 :           0 :                               tree _r;
    9315                 :           0 :                               _r = fold_build2_loc (loc, rcmp, type, res_op0, res_op1);
    9316                 :           0 :                               if (UNLIKELY (debug_dump)) generic_dump_logs ("match.pd", 948, __FILE__, __LINE__, true);
    9317                 :           0 :                               return _r;
    9318                 :             :                             }
    9319                 :           0 : next_after_fail1383:;
    9320                 :             :                           }
    9321                 :             :                       }
    9322                 :             :                     }
    9323                 :             :                 }
    9324                 :             :               break;
    9325                 :             :             }
    9326                 :           0 :           case LE_EXPR:
    9327                 :           0 :             {
    9328                 :           0 :               tree _q50 = TREE_OPERAND (_p1, 0);
    9329                 :           0 :               tree _q51 = TREE_OPERAND (_p1, 1);
    9330                 :           0 :               if ((_q50 == _q20 && ! TREE_SIDE_EFFECTS (_q50)) || (operand_equal_p (_q50, _q20, 0) && types_match (_q50, _q20)))
    9331                 :             :                 {
    9332                 :           0 :                   if ((_q51 == _q21 && ! TREE_SIDE_EFFECTS (_q51)) || (operand_equal_p (_q51, _q21, 0) && types_match (_q51, _q21)))
    9333                 :             :                     {
    9334                 :           0 :                       {
    9335                 :           0 :                         tree captures[2] ATTRIBUTE_UNUSED = { _q20, _q21 };
    9336                 :           0 :                         const enum tree_code cmp1 = LE_EXPR;
    9337                 :           0 :                         const enum tree_code cmp2 = EQ_EXPR;
    9338                 :           0 :                         const enum tree_code rcmp = LT_EXPR;
    9339                 :           0 :                         if (INTEGRAL_TYPE_P (TREE_TYPE (captures[0])) || POINTER_TYPE_P (TREE_TYPE (captures[0]))
    9340                 :             : )
    9341                 :             :                           {
    9342                 :           0 :                             if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail1384;
    9343                 :           0 :                             {
    9344                 :           0 :                               tree res_op0;
    9345                 :           0 :                               res_op0 = captures[0];
    9346                 :           0 :                               tree res_op1;
    9347                 :           0 :                               res_op1 = captures[1];
    9348                 :           0 :                               tree _r;
    9349                 :           0 :                               _r = fold_build2_loc (loc, rcmp, type, res_op0, res_op1);
    9350                 :           0 :                               if (UNLIKELY (debug_dump)) generic_dump_logs ("match.pd", 948, __FILE__, __LINE__, true);
    9351                 :           0 :                               return _r;
    9352                 :             :                             }
    9353                 :           0 : next_after_fail1384:;
    9354                 :             :                           }
    9355                 :             :                       }
    9356                 :             :                     }
    9357                 :             :                 }
    9358                 :             :               break;
    9359                 :             :             }
    9360                 :           0 :           case GT_EXPR:
    9361                 :           0 :             {
    9362                 :           0 :               tree _q50 = TREE_OPERAND (_p1, 0);
    9363                 :           0 :               tree _q51 = TREE_OPERAND (_p1, 1);
    9364                 :           0 :               if ((_q50 == _q21 && ! TREE_SIDE_EFFECTS (_q50)) || (operand_equal_p (_q50, _q21, 0) && types_match (_q50, _q21)))
    9365                 :             :                 {
    9366                 :           0 :                   if ((_q51 == _q20 && ! TREE_SIDE_EFFECTS (_q51)) || (operand_equal_p (_q51, _q20, 0) && types_match (_q51, _q20)))
    9367                 :             :                     {
    9368                 :           0 :                       {
    9369                 :           0 :                         tree captures[2] ATTRIBUTE_UNUSED = { _q20, _q21 };
    9370                 :           0 :                         const enum tree_code cmp1 = LT_EXPR;
    9371                 :           0 :                         const enum tree_code cmp2 = EQ_EXPR;
    9372                 :           0 :                         const enum tree_code rcmp = LE_EXPR;
    9373                 :           0 :                         if (INTEGRAL_TYPE_P (TREE_TYPE (captures[0])) || POINTER_TYPE_P (TREE_TYPE (captures[0]))
    9374                 :             : )
    9375                 :             :                           {
    9376                 :           0 :                             if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail1385;
    9377                 :           0 :                             {
    9378                 :           0 :                               tree res_op0;
    9379                 :           0 :                               res_op0 = captures[0];
    9380                 :           0 :                               tree res_op1;
    9381                 :           0 :                               res_op1 = captures[1];
    9382                 :           0 :                               tree _r;
    9383                 :           0 :                               _r = fold_build2_loc (loc, rcmp, type, res_op0, res_op1);
    9384                 :           0 :                               if (UNLIKELY (debug_dump)) generic_dump_logs ("match.pd", 948, __FILE__, __LINE__, true);
    9385                 :           0 :                               return _r;
    9386                 :             :                             }
    9387                 :           0 : next_after_fail1385:;
    9388                 :             :                           }
    9389                 :             :                       }
    9390                 :             :                     }
    9391                 :             :                 }
    9392                 :             :               break;
    9393                 :             :             }
    9394                 :           8 :           case GE_EXPR:
    9395                 :           8 :             {
    9396                 :           8 :               tree _q50 = TREE_OPERAND (_p1, 0);
    9397                 :           8 :               tree _q51 = TREE_OPERAND (_p1, 1);
    9398                 :           8 :               if ((_q50 == _q21 && ! TREE_SIDE_EFFECTS (_q50)) || (operand_equal_p (_q50, _q21, 0) && types_match (_q50, _q21)))
    9399                 :             :                 {
    9400                 :           0 :                   if ((_q51 == _q20 && ! TREE_SIDE_EFFECTS (_q51)) || (operand_equal_p (_q51, _q20, 0) && types_match (_q51, _q20)))
    9401                 :             :                     {
    9402                 :           0 :                       {
    9403                 :           0 :                         tree captures[2] ATTRIBUTE_UNUSED = { _q20, _q21 };
    9404                 :           0 :                         const enum tree_code cmp1 = LE_EXPR;
    9405                 :           0 :                         const enum tree_code cmp2 = EQ_EXPR;
    9406                 :           0 :                         const enum tree_code rcmp = LT_EXPR;
    9407                 :           0 :                         if (INTEGRAL_TYPE_P (TREE_TYPE (captures[0])) || POINTER_TYPE_P (TREE_TYPE (captures[0]))
    9408                 :             : )
    9409                 :             :                           {
    9410                 :           0 :                             if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail1386;
    9411                 :           0 :                             {
    9412                 :           0 :                               tree res_op0;
    9413                 :           0 :                               res_op0 = captures[0];
    9414                 :           0 :                               tree res_op1;
    9415                 :           0 :                               res_op1 = captures[1];
    9416                 :           0 :                               tree _r;
    9417                 :           0 :                               _r = fold_build2_loc (loc, rcmp, type, res_op0, res_op1);
    9418                 :           0 :                               if (UNLIKELY (debug_dump)) generic_dump_logs ("match.pd", 948, __FILE__, __LINE__, true);
    9419                 :           0 :                               return _r;
    9420                 :             :                             }
    9421                 :           0 : next_after_fail1386:;
    9422                 :             :                           }
    9423                 :             :                       }
    9424                 :             :                     }
    9425                 :             :                 }
    9426                 :             :               break;
    9427                 :             :             }
    9428                 :             :           default:;
    9429                 :             :           }
    9430                 :             :         break;
    9431                 :             :       }
    9432                 :         113 :     case NE_EXPR:
    9433                 :         113 :       {
    9434                 :         113 :         tree _q20 = TREE_OPERAND (_p0, 0);
    9435                 :         113 :         tree _q21 = TREE_OPERAND (_p0, 1);
    9436                 :         113 :         switch (TREE_CODE (_p1))
    9437                 :             :           {
    9438                 :           0 :           case LT_EXPR:
    9439                 :           0 :             {
    9440                 :           0 :               tree _q50 = TREE_OPERAND (_p1, 0);
    9441                 :           0 :               tree _q51 = TREE_OPERAND (_p1, 1);
    9442                 :           0 :               if ((_q50 == _q20 && ! TREE_SIDE_EFFECTS (_q50)) || (operand_equal_p (_q50, _q20, 0) && types_match (_q50, _q20)))
    9443                 :             :                 {
    9444                 :           0 :                   if ((_q51 == _q21 && ! TREE_SIDE_EFFECTS (_q51)) || (operand_equal_p (_q51, _q21, 0) && types_match (_q51, _q21)))
    9445                 :             :                     {
    9446                 :           0 :                       {
    9447                 :           0 :                         tree captures[2] ATTRIBUTE_UNUSED = { _q20, _q21 };
    9448                 :           0 :                         const enum tree_code cmp1 = LT_EXPR;
    9449                 :           0 :                         const enum tree_code cmp2 = NE_EXPR;
    9450                 :           0 :                         const enum tree_code rcmp = GT_EXPR;
    9451                 :           0 :                         if (INTEGRAL_TYPE_P (TREE_TYPE (captures[0])) || POINTER_TYPE_P (TREE_TYPE (captures[0]))
    9452                 :             : )
    9453                 :             :                           {
    9454                 :           0 :                             if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail1387;
    9455                 :           0 :                             {
    9456                 :           0 :                               tree res_op0;
    9457                 :           0 :                               res_op0 = captures[0];
    9458                 :           0 :                               tree res_op1;
    9459                 :           0 :                               res_op1 = captures[1];
    9460                 :           0 :                               tree _r;
    9461                 :           0 :                               _r = fold_build2_loc (loc, rcmp, type, res_op0, res_op1);
    9462                 :           0 :                               if (UNLIKELY (debug_dump)) generic_dump_logs ("match.pd", 948, __FILE__, __LINE__, true);
    9463                 :           0 :                               return _r;
    9464                 :             :                             }
    9465                 :           0 : next_after_fail1387:;
    9466                 :             :                           }
    9467                 :             :                       }
    9468                 :             :                     }
    9469                 :             :                 }
    9470                 :             :               break;
    9471                 :             :             }
    9472                 :           0 :           case LE_EXPR:
    9473                 :           0 :             {
    9474                 :           0 :               tree _q50 = TREE_OPERAND (_p1, 0);
    9475                 :           0 :               tree _q51 = TREE_OPERAND (_p1, 1);
    9476                 :           0 :               if ((_q50 == _q20 && ! TREE_SIDE_EFFECTS (_q50)) || (operand_equal_p (_q50, _q20, 0) && types_match (_q50, _q20)))
    9477                 :             :                 {
    9478                 :           0 :                   if ((_q51 == _q21 && ! TREE_SIDE_EFFECTS (_q51)) || (operand_equal_p (_q51, _q21, 0) && types_match (_q51, _q21)))
    9479                 :             :                     {
    9480                 :           0 :                       {
    9481                 :           0 :                         tree captures[2] ATTRIBUTE_UNUSED = { _q20, _q21 };
    9482                 :           0 :                         const enum tree_code cmp1 = LE_EXPR;
    9483                 :           0 :                         const enum tree_code cmp2 = NE_EXPR;
    9484                 :           0 :                         const enum tree_code rcmp = GE_EXPR;
    9485                 :           0 :                         if (INTEGRAL_TYPE_P (TREE_TYPE (captures[0])) || POINTER_TYPE_P (TREE_TYPE (captures[0]))
    9486                 :             : )
    9487                 :             :                           {
    9488                 :           0 :                             if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail1388;
    9489                 :           0 :                             {
    9490                 :           0 :                               tree res_op0;
    9491                 :           0 :                               res_op0 = captures[0];
    9492                 :           0 :                               tree res_op1;
    9493                 :           0 :                               res_op1 = captures[1];
    9494                 :           0 :                               tree _r;
    9495                 :           0 :                               _r = fold_build2_loc (loc, rcmp, type, res_op0, res_op1);
    9496                 :           0 :                               if (UNLIKELY (debug_dump)) generic_dump_logs ("match.pd", 948, __FILE__, __LINE__, true);
    9497                 :           0 :                               return _r;
    9498                 :             :                             }
    9499                 :           0 : next_after_fail1388:;
    9500                 :             :                           }
    9501                 :             :                       }
    9502                 :             :                     }
    9503                 :             :                 }
    9504                 :             :               break;
    9505                 :             :             }
    9506                 :           0 :           case GT_EXPR:
    9507                 :           0 :             {
    9508                 :           0 :               tree _q50 = TREE_OPERAND (_p1, 0);
    9509                 :           0 :               tree _q51 = TREE_OPERAND (_p1, 1);
    9510                 :           0 :               if ((_q50 == _q21 && ! TREE_SIDE_EFFECTS (_q50)) || (operand_equal_p (_q50, _q21, 0) && types_match (_q50, _q21)))
    9511                 :             :                 {
    9512                 :           0 :                   if ((_q51 == _q20 && ! TREE_SIDE_EFFECTS (_q51)) || (operand_equal_p (_q51, _q20, 0) && types_match (_q51, _q20)))
    9513                 :             :                     {
    9514                 :           0 :                       {
    9515                 :           0 :                         tree captures[2] ATTRIBUTE_UNUSED = { _q20, _q21 };
    9516                 :           0 :                         const enum tree_code cmp1 = LT_EXPR;
    9517                 :           0 :                         const enum tree_code cmp2 = NE_EXPR;
    9518                 :           0 :                         const enum tree_code rcmp = GT_EXPR;
    9519                 :           0 :                         if (INTEGRAL_TYPE_P (TREE_TYPE (captures[0])) || POINTER_TYPE_P (TREE_TYPE (captures[0]))
    9520                 :             : )
    9521                 :             :                           {
    9522                 :           0 :                             if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail1389;
    9523                 :           0 :                             {
    9524                 :           0 :                               tree res_op0;
    9525                 :           0 :                               res_op0 = captures[0];
    9526                 :           0 :                               tree res_op1;
    9527                 :           0 :                               res_op1 = captures[1];
    9528                 :           0 :                               tree _r;
    9529                 :           0 :                               _r = fold_build2_loc (loc, rcmp, type, res_op0, res_op1);
    9530                 :           0 :                               if (UNLIKELY (debug_dump)) generic_dump_logs ("match.pd", 948, __FILE__, __LINE__, true);
    9531                 :           0 :                               return _r;
    9532                 :             :                             }
    9533                 :           0 : next_after_fail1389:;
    9534                 :             :                           }
    9535                 :             :                       }
    9536                 :             :                     }
    9537                 :             :                 }
    9538                 :             :               break;
    9539                 :             :             }
    9540                 :           6 :           case GE_EXPR:
    9541                 :           6 :             {
    9542                 :           6 :               tree _q50 = TREE_OPERAND (_p1, 0);
    9543                 :           6 :               tree _q51 = TREE_OPERAND (_p1, 1);
    9544                 :           6 :               if ((_q50 == _q21 && ! TREE_SIDE_EFFECTS (_q50)) || (operand_equal_p (_q50, _q21, 0) && types_match (_q50, _q21)))
    9545                 :             :                 {
    9546                 :           0 :                   if ((_q51 == _q20 && ! TREE_SIDE_EFFECTS (_q51)) || (operand_equal_p (_q51, _q20, 0) && types_match (_q51, _q20)))
    9547                 :             :                     {
    9548                 :           0 :                       {
    9549                 :           0 :                         tree captures[2] ATTRIBUTE_UNUSED = { _q20, _q21 };
    9550                 :           0 :                         const enum tree_code cmp1 = LE_EXPR;
    9551                 :           0 :                         const enum tree_code cmp2 = NE_EXPR;
    9552                 :           0 :                         const enum tree_code rcmp = GE_EXPR;
    9553                 :           0 :                         if (INTEGRAL_TYPE_P (TREE_TYPE (captures[0])) || POINTER_TYPE_P (TREE_TYPE (captures[0]))
    9554                 :             : )
    9555                 :             :                           {
    9556                 :           0 :                             if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail1390;
    9557                 :           0 :                             {
    9558                 :           0 :                               tree res_op0;
    9559                 :           0 :                               res_op0 = captures[0];
    9560                 :           0 :                               tree res_op1;
    9561                 :           0 :                               res_op1 = captures[1];
    9562                 :           0 :                               tree _r;
    9563                 :           0 :                               _r = fold_build2_loc (loc, rcmp, type, res_op0, res_op1);
    9564                 :           0 :                               if (UNLIKELY (debug_dump)) generic_dump_logs ("match.pd", 948, __FILE__, __LINE__, true);
    9565                 :           0 :                               return _r;
    9566                 :             :                             }
    9567                 :           0 : next_after_fail1390:;
    9568                 :             :                           }
    9569                 :             :                       }
    9570                 :             :                     }
    9571                 :             :                 }
    9572                 :             :               break;
    9573                 :             :             }
    9574                 :             :           default:;
    9575                 :             :           }
    9576                 :             :         break;
    9577                 :             :       }
    9578                 :         523 :     case MULT_EXPR:
    9579                 :         523 :       {
    9580                 :         523 :         tree _q20 = TREE_OPERAND (_p0, 0);
    9581                 :         523 :         tree _q21 = TREE_OPERAND (_p0, 1);
    9582                 :         523 :         switch (TREE_CODE (_q21))
    9583                 :             :           {
    9584                 :         498 :           case INTEGER_CST:
    9585                 :         498 :             {
    9586                 :         498 :               switch (TREE_CODE (_p1))
    9587                 :             :                 {
    9588                 :          12 :                 case MULT_EXPR:
    9589                 :          12 :                   {
    9590                 :          12 :                     tree _q50 = TREE_OPERAND (_p1, 0);
    9591                 :          12 :                     tree _q51 = TREE_OPERAND (_p1, 1);
    9592                 :          12 :                     switch (TREE_CODE (_q51))
    9593                 :             :                       {
    9594                 :          12 :                       case INTEGER_CST:
    9595                 :          12 :                         {
    9596                 :          12 :                           {
    9597                 :          12 :                             tree captures[8] ATTRIBUTE_UNUSED = { _p0, _p0, _q20, _q21, _p1, _p1, _q50, _q51 };
    9598                 :          12 :                             tree res = generic_simplify_141 (loc, type, _p0, _p1, captures, BIT_XOR_EXPR);
    9599                 :          12 :                             if (res) return res;
    9600                 :             :                           }
    9601                 :          12 :                           break;
    9602                 :             :                         }
    9603                 :             :                       default:;
    9604                 :             :                       }
    9605                 :             :                     break;
    9606                 :             :                   }
    9607                 :           0 :                 case LSHIFT_EXPR:
    9608                 :           0 :                   {
    9609                 :           0 :                     tree _q50 = TREE_OPERAND (_p1, 0);
    9610                 :           0 :                     tree _q51 = TREE_OPERAND (_p1, 1);
    9611                 :           0 :                     if ((_q50 == _q20 && ! TREE_SIDE_EFFECTS (_q50)) || (operand_equal_p (_q50, _q20, 0) && types_match (_q50, _q20)))
    9612                 :             :                       {
    9613                 :           0 :                         switch (TREE_CODE (_q51))
    9614                 :             :                           {
    9615                 :           0 :                           case INTEGER_CST:
    9616                 :           0 :                             {
    9617                 :           0 :                               {
    9618                 :           0 :                                 tree captures[6] ATTRIBUTE_UNUSED = { _p0, _p0, _q20, _q21, _p1, _q51 };
    9619                 :           0 :                                 tree res = generic_simplify_142 (loc, type, _p0, _p1, captures, BIT_XOR_EXPR);
    9620                 :           0 :                                 if (res) return res;
    9621                 :             :                               }
    9622                 :           0 :                               break;
    9623                 :             :                             }
    9624                 :             :                           default:;
    9625                 :             :                           }
    9626                 :             :                       }
    9627                 :             :                     break;
    9628                 :             :                   }
    9629                 :         498 :                 default:;
    9630                 :             :                 }
    9631                 :         498 :               if ((_p1 == _q20 && ! TREE_SIDE_EFFECTS (_p1)) || (operand_equal_p (_p1, _q20, 0) && types_match (_p1, _q20)))
    9632                 :             :                 {
    9633                 :          18 :                   {
    9634                 :          18 :                     tree captures[4] ATTRIBUTE_UNUSED = { _p0, _p0, _q20, _q21 };
    9635                 :          18 :                     tree res = generic_simplify_143 (loc, type, _p0, _p1, captures, BIT_XOR_EXPR);
    9636                 :          18 :                     if (res) return res;
    9637                 :             :                   }
    9638                 :             :                 }
    9639                 :             :               break;
    9640                 :             :             }
    9641                 :         523 :           default:;
    9642                 :             :           }
    9643                 :         523 :         switch (TREE_CODE (_q20))
    9644                 :             :           {
    9645                 :           0 :           case BIT_XOR_EXPR:
    9646                 :           0 :             {
    9647                 :           0 :               tree _q30 = TREE_OPERAND (_q20, 0);
    9648                 :           0 :               tree _q31 = TREE_OPERAND (_q20, 1);
    9649                 :           0 :               if (tree_zero_one_valued_p (_q21))
    9650                 :             :                 {
    9651                 :           0 :                   if ((_p1 == _q30 && ! TREE_SIDE_EFFECTS (_p1)) || (operand_equal_p (_p1, _q30, 0) && types_match (_p1, _q30)))
    9652                 :             :                     {
    9653                 :           0 :                       {
    9654                 :           0 :                         tree captures[3] ATTRIBUTE_UNUSED = { _q30, _q31, _q21 };
    9655                 :           0 :                         tree res = generic_simplify_167 (loc, type, _p0, _p1, captures);
    9656                 :           0 :                         if (res) return res;
    9657                 :             :                       }
    9658                 :             :                     }
    9659                 :           0 :                   if ((_p1 == _q31 && ! TREE_SIDE_EFFECTS (_p1)) || (operand_equal_p (_p1, _q31, 0) && types_match (_p1, _q31)))
    9660                 :             :                     {
    9661                 :           0 :                       {
    9662                 :           0 :                         tree captures[3] ATTRIBUTE_UNUSED = { _q31, _q30, _q21 };
    9663                 :           0 :                         tree res = generic_simplify_167 (loc, type, _p0, _p1, captures);
    9664                 :           0 :                         if (res) return res;
    9665                 :             :                       }
    9666                 :             :                     }
    9667                 :             :                 }
    9668                 :             :               break;
    9669                 :             :             }
    9670                 :         523 :           default:;
    9671                 :             :           }
    9672                 :         523 :       if (tree_zero_one_valued_p (_q20))
    9673                 :             :         {
    9674                 :           8 :           switch (TREE_CODE (_q21))
    9675                 :             :             {
    9676                 :           2 :             case BIT_XOR_EXPR:
    9677                 :           2 :               {
    9678                 :           2 :                 tree _q40 = TREE_OPERAND (_q21, 0);
    9679                 :           2 :                 tree _q41 = TREE_OPERAND (_q21, 1);
    9680                 :           2 :                 if ((_p1 == _q40 && ! TREE_SIDE_EFFECTS (_p1)) || (operand_equal_p (_p1, _q40, 0) && types_match (_p1, _q40)))
    9681                 :             :                   {
    9682                 :           2 :                     {
    9683                 :           2 :                       tree captures[3] ATTRIBUTE_UNUSED = { _q40, _q41, _q20 };
    9684                 :           2 :                       tree res = generic_simplify_167 (loc, type, _p0, _p1, captures);
    9685                 :           2 :                       if (res) return res;
    9686                 :             :                     }
    9687                 :             :                   }
    9688                 :           0 :                 if ((_p1 == _q41 && ! TREE_SIDE_EFFECTS (_p1)) || (operand_equal_p (_p1, _q41, 0) && types_match (_p1, _q41)))
    9689                 :             :                   {
    9690                 :           0 :                     {
    9691                 :           0 :                       tree captures[3] ATTRIBUTE_UNUSED = { _q41, _q40, _q20 };
    9692                 :           0 :                       tree res = generic_simplify_167 (loc, type, _p0, _p1, captures);
    9693                 :           0 :                       if (res) return res;
    9694                 :             :                     }
    9695                 :             :                   }
    9696                 :             :                 break;
    9697                 :             :               }
    9698                 :             :             default:;
    9699                 :             :             }
    9700                 :             :         }
    9701                 :             :         break;
    9702                 :             :       }
    9703                 :        2489 :     case LSHIFT_EXPR:
    9704                 :        2489 :       {
    9705                 :        2489 :         tree _q20 = TREE_OPERAND (_p0, 0);
    9706                 :        2489 :         tree _q21 = TREE_OPERAND (_p0, 1);
    9707                 :        2489 :         switch (TREE_CODE (_q21))
    9708                 :             :           {
    9709                 :        1108 :           case INTEGER_CST:
    9710                 :        1108 :             {
    9711                 :        1108 :               switch (TREE_CODE (_p1))
    9712                 :             :                 {
    9713                 :           0 :                 case MULT_EXPR:
    9714                 :           0 :                   {
    9715                 :           0 :                     tree _q50 = TREE_OPERAND (_p1, 0);
    9716                 :           0 :                     tree _q51 = TREE_OPERAND (_p1, 1);
    9717                 :           0 :                     if ((_q50 == _q20 && ! TREE_SIDE_EFFECTS (_q50)) || (operand_equal_p (_q50, _q20, 0) && types_match (_q50, _q20)))
    9718                 :             :                       {
    9719                 :           0 :                         switch (TREE_CODE (_q51))
    9720                 :             :                           {
    9721                 :           0 :                           case INTEGER_CST:
    9722                 :           0 :                             {
    9723                 :           0 :                               {
    9724                 :           0 :                                 tree captures[6] ATTRIBUTE_UNUSED = { _p1, _p1, _q20, _q51, _p0, _q21 };
    9725                 :           0 :                                 tree res = generic_simplify_142 (loc, type, _p0, _p1, captures, BIT_XOR_EXPR);
    9726                 :           0 :                                 if (res) return res;
    9727                 :             :                               }
    9728                 :           0 :                               break;
    9729                 :             :                             }
    9730                 :             :                           default:;
    9731                 :             :                           }
    9732                 :             :                       }
    9733                 :             :                     break;
    9734                 :             :                   }
    9735                 :        1108 :                 default:;
    9736                 :             :                 }
    9737                 :        1108 :             {
    9738                 :        1108 :               tree _p1_pops[1];
    9739                 :        1108 :               if (tree_nop_convert (_p1, _p1_pops))
    9740                 :             :                 {
    9741                 :          23 :                   tree _q50 = _p1_pops[0];
    9742                 :          23 :                   switch (TREE_CODE (_q50))
    9743                 :             :                     {
    9744                 :           0 :                     case MULT_EXPR:
    9745                 :           0 :                       {
    9746                 :           0 :                         tree _q60 = TREE_OPERAND (_q50, 0);
    9747                 :           0 :                         tree _q61 = TREE_OPERAND (_q50, 1);
    9748                 :           0 :                         {
    9749                 :           0 :                           tree _q60_pops[1];
    9750                 :           0 :                           if (tree_nop_convert (_q60, _q60_pops))
    9751                 :             :                             {
    9752                 :           0 :                               tree _q70 = _q60_pops[0];
    9753                 :           0 :                               if ((_q70 == _q20 && ! TREE_SIDE_EFFECTS (_q70)) || (operand_equal_p (_q70, _q20, 0) && types_match (_q70, _q20)))
    9754                 :             :                                 {
    9755                 :           0 :                                   switch (TREE_CODE (_q61))
    9756                 :             :                                     {
    9757                 :           0 :                                     case INTEGER_CST:
    9758                 :           0 :                                       {
    9759                 :           0 :                                         {
    9760                 :           0 :                                           tree captures[6] ATTRIBUTE_UNUSED = { _p1, _q50, _q20, _q61, _p0, _q21 };
    9761                 :           0 :                                           tree res = generic_simplify_115 (loc, type, _p0, _p1, captures, BIT_XOR_EXPR);
    9762                 :           0 :                                           if (res) return res;
    9763                 :             :                                         }
    9764                 :           0 :                                         break;
    9765                 :             :                                       }
    9766                 :             :                                     default:;
    9767                 :             :                                     }
    9768                 :             :                                 }
    9769                 :             :                             }
    9770                 :             :                         }
    9771                 :           0 :                         break;
    9772                 :             :                       }
    9773                 :             :                     default:;
    9774                 :             :                     }
    9775                 :             :                 }
    9776                 :             :             }
    9777                 :        1108 :               break;
    9778                 :             :             }
    9779                 :             :           default:;
    9780                 :             :           }
    9781                 :             :         break;
    9782                 :             :       }
    9783                 :      661193 :     default:;
    9784                 :             :     }
    9785                 :      661193 :   switch (TREE_CODE (_p1))
    9786                 :             :     {
    9787                 :         243 :     case MULT_EXPR:
    9788                 :         243 :       {
    9789                 :         243 :         tree _q30 = TREE_OPERAND (_p1, 0);
    9790                 :         243 :         tree _q31 = TREE_OPERAND (_p1, 1);
    9791                 :         243 :         if ((_q30 == _p0 && ! TREE_SIDE_EFFECTS (_q30)) || (operand_equal_p (_q30, _p0, 0) && types_match (_q30, _p0)))
    9792                 :             :           {
    9793                 :           0 :             switch (TREE_CODE (_q31))
    9794                 :             :               {
    9795                 :           0 :               case INTEGER_CST:
    9796                 :           0 :                 {
    9797                 :           0 :                   {
    9798                 :           0 :                     tree captures[4] ATTRIBUTE_UNUSED = { _p1, _p1, _p0, _q31 };
    9799                 :           0 :                     tree res = generic_simplify_143 (loc, type, _p0, _p1, captures, BIT_XOR_EXPR);
    9800                 :           0 :                     if (res) return res;
    9801                 :             :                   }
    9802                 :           0 :                   break;
    9803                 :             :                 }
    9804                 :             :               default:;
    9805                 :             :               }
    9806                 :             :           }
    9807                 :             :         break;
    9808                 :             :       }
    9809                 :      661193 :     default:;
    9810                 :             :     }
    9811                 :      661193 : {
    9812                 :      661193 :   tree _p1_pops[1];
    9813                 :      661193 :   if (tree_nop_convert (_p1, _p1_pops))
    9814                 :             :     {
    9815                 :      522206 :       tree _q30 = _p1_pops[0];
    9816                 :      522206 :       switch (TREE_CODE (_q30))
    9817                 :             :         {
    9818                 :          17 :         case MULT_EXPR:
    9819                 :          17 :           {
    9820                 :          17 :             tree _q40 = TREE_OPERAND (_q30, 0);
    9821                 :          17 :             tree _q41 = TREE_OPERAND (_q30, 1);
    9822                 :          17 :             {
    9823                 :          17 :               tree _q40_pops[1];
    9824                 :          17 :               if (tree_nop_convert (_q40, _q40_pops))
    9825                 :             :                 {
    9826                 :           0 :                   tree _q50 = _q40_pops[0];
    9827                 :           0 :                   if ((_q50 == _p0 && ! TREE_SIDE_EFFECTS (_q50)) || (operand_equal_p (_q50, _p0, 0) && types_match (_q50, _p0)))
    9828                 :             :                     {
    9829                 :           0 :                       switch (TREE_CODE (_q41))
    9830                 :             :                         {
    9831                 :           0 :                         case INTEGER_CST:
    9832                 :           0 :                           {
    9833                 :           0 :                             {
    9834                 :           0 :                               tree captures[4] ATTRIBUTE_UNUSED = { _p1, _q30, _p0, _q41 };
    9835                 :           0 :                               tree res = generic_simplify_116 (loc, type, _p0, _p1, captures, BIT_XOR_EXPR);
    9836                 :           0 :                               if (res) return res;
    9837                 :             :                             }
    9838                 :           0 :                             break;
    9839                 :             :                           }
    9840                 :             :                         default:;
    9841                 :             :                         }
    9842                 :             :                     }
    9843                 :             :                 }
    9844                 :             :             }
    9845                 :          17 :             break;
    9846                 :             :           }
    9847                 :             :         default:;
    9848                 :             :         }
    9849                 :             :     }
    9850                 :             : }
    9851                 :      661193 :   switch (TREE_CODE (_p0))
    9852                 :             :     {
    9853                 :        2489 :     case LSHIFT_EXPR:
    9854                 :        2489 :       {
    9855                 :        2489 :         tree _q20 = TREE_OPERAND (_p0, 0);
    9856                 :        2489 :         tree _q21 = TREE_OPERAND (_p0, 1);
    9857                 :        2489 :         switch (TREE_CODE (_q21))
    9858                 :             :           {
    9859                 :        1108 :           case INTEGER_CST:
    9860                 :        1108 :             {
    9861                 :        1108 :               switch (TREE_CODE (_p1))
    9862                 :             :                 {
    9863                 :           9 :                 case LSHIFT_EXPR:
    9864                 :           9 :                   {
    9865                 :           9 :                     tree _q50 = TREE_OPERAND (_p1, 0);
    9866                 :           9 :                     tree _q51 = TREE_OPERAND (_p1, 1);
    9867                 :           9 :                     if ((_q50 == _q20 && ! TREE_SIDE_EFFECTS (_q50)) || (operand_equal_p (_q50, _q20, 0) && types_match (_q50, _q20)))
    9868                 :             :                       {
    9869                 :           3 :                         switch (TREE_CODE (_q51))
    9870                 :             :                           {
    9871                 :           3 :                           case INTEGER_CST:
    9872                 :           3 :                             {
    9873                 :           3 :                               {
    9874                 :           3 :                                 tree captures[5] ATTRIBUTE_UNUSED = { _p0, _q20, _q21, _p1, _q51 };
    9875                 :           3 :                                 tree res = generic_simplify_144 (loc, type, _p0, _p1, captures, BIT_XOR_EXPR);
    9876                 :           3 :                                 if (res) return res;
    9877                 :             :                               }
    9878                 :           1 :                               break;
    9879                 :             :                             }
    9880                 :             :                           default:;
    9881                 :             :                           }
    9882                 :             :                       }
    9883                 :             :                     break;
    9884                 :             :                   }
    9885                 :        1106 :                 default:;
    9886                 :             :                 }
    9887                 :        1106 :               if ((_p1 == _q20 && ! TREE_SIDE_EFFECTS (_p1)) || (operand_equal_p (_p1, _q20, 0) && types_match (_p1, _q20)))
    9888                 :             :                 {
    9889                 :          57 :                   {
    9890                 :          57 :                     tree captures[3] ATTRIBUTE_UNUSED = { _p0, _q20, _q21 };
    9891                 :          57 :                     tree res = generic_simplify_145 (loc, type, _p0, _p1, captures, BIT_XOR_EXPR);
    9892                 :          57 :                     if (res) return res;
    9893                 :             :                   }
    9894                 :             :                 }
    9895                 :             :               break;
    9896                 :             :             }
    9897                 :             :           default:;
    9898                 :             :           }
    9899                 :             :         break;
    9900                 :             :       }
    9901                 :      661191 :     default:;
    9902                 :             :     }
    9903                 :      661191 :   switch (TREE_CODE (_p1))
    9904                 :             :     {
    9905                 :        1982 :     case LSHIFT_EXPR:
    9906                 :        1982 :       {
    9907                 :        1982 :         tree _q30 = TREE_OPERAND (_p1, 0);
    9908                 :        1982 :         tree _q31 = TREE_OPERAND (_p1, 1);
    9909                 :        1982 :         if ((_q30 == _p0 && ! TREE_SIDE_EFFECTS (_q30)) || (operand_equal_p (_q30, _p0, 0) && types_match (_q30, _p0)))
    9910                 :             :           {
    9911                 :           3 :             switch (TREE_CODE (_q31))
    9912                 :             :               {
    9913                 :           3 :               case INTEGER_CST:
    9914                 :           3 :                 {
    9915                 :           3 :                   {
    9916                 :           3 :                     tree captures[3] ATTRIBUTE_UNUSED = { _p1, _p0, _q31 };
    9917                 :           3 :                     tree res = generic_simplify_145 (loc, type, _p0, _p1, captures, BIT_XOR_EXPR);
    9918                 :           3 :                     if (res) return res;
    9919                 :             :                   }
    9920                 :           0 :                   break;
    9921                 :             :                 }
    9922                 :             :               default:;
    9923                 :             :               }
    9924                 :             :           }
    9925                 :             :         break;
    9926                 :             :       }
    9927                 :      661188 :     default:;
    9928                 :             :     }
    9929                 :      661188 :   switch (TREE_CODE (_p0))
    9930                 :             :     {
    9931                 :           0 :     case MIN_EXPR:
    9932                 :           0 :       {
    9933                 :           0 :         tree _q20 = TREE_OPERAND (_p0, 0);
    9934                 :           0 :         tree _q21 = TREE_OPERAND (_p0, 1);
    9935                 :           0 :         switch (TREE_CODE (_p1))
    9936                 :             :           {
    9937                 :           0 :           case MAX_EXPR:
    9938                 :           0 :             {
    9939                 :           0 :               tree _q50 = TREE_OPERAND (_p1, 0);
    9940                 :           0 :               tree _q51 = TREE_OPERAND (_p1, 1);
    9941                 :           0 :               if ((_q50 == _q20 && ! TREE_SIDE_EFFECTS (_q50)) || (operand_equal_p (_q50, _q20, 0) && types_match (_q50, _q20)))
    9942                 :             :                 {
    9943                 :           0 :                   if ((_q51 == _q21 && ! TREE_SIDE_EFFECTS (_q51)) || (operand_equal_p (_q51, _q21, 0) && types_match (_q51, _q21)))
    9944                 :             :                     {
    9945                 :           0 :                       {
    9946                 :           0 :                         tree captures[2] ATTRIBUTE_UNUSED = { _q20, _q21 };
    9947                 :           0 :                         if (!HONOR_NANS (captures[0])
    9948                 :             : )
    9949                 :             :                           {
    9950                 :           0 :                             if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail1391;
    9951                 :           0 :                             {
    9952                 :           0 :                               tree res_op0;
    9953                 :           0 :                               res_op0 = captures[0];
    9954                 :           0 :                               tree res_op1;
    9955                 :           0 :                               res_op1 = captures[1];
    9956                 :           0 :                               tree _r;
    9957                 :           0 :                               _r = fold_build2_loc (loc, BIT_XOR_EXPR, type, res_op0, res_op1);
    9958                 :           0 :                               if (UNLIKELY (debug_dump)) generic_dump_logs ("match.pd", 894, __FILE__, __LINE__, true);
    9959                 :           0 :                               return _r;
    9960                 :             :                             }
    9961                 :           0 : next_after_fail1391:;
    9962                 :             :                           }
    9963                 :             :                       }
    9964                 :             :                     }
    9965                 :             :                 }
    9966                 :           0 :               if ((_q50 == _q21 && ! TREE_SIDE_EFFECTS (_q50)) || (operand_equal_p (_q50, _q21, 0) && types_match (_q50, _q21)))
    9967                 :             :                 {
    9968                 :           0 :                   if ((_q51 == _q20 && ! TREE_SIDE_EFFECTS (_q51)) || (operand_equal_p (_q51, _q20, 0) && types_match (_q51, _q20)))
    9969                 :             :                     {
    9970                 :           0 :                       {
    9971                 :           0 :                         tree captures[2] ATTRIBUTE_UNUSED = { _q21, _q20 };
    9972                 :           0 :                         if (!HONOR_NANS (captures[0])
    9973                 :             : )
    9974                 :             :                           {
    9975                 :           0 :                             if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail1392;
    9976                 :           0 :                             {
    9977                 :           0 :                               tree res_op0;
    9978                 :           0 :                               res_op0 = captures[0];
    9979                 :           0 :                               tree res_op1;
    9980                 :           0 :                               res_op1 = captures[1];
    9981                 :           0 :                               tree _r;
    9982                 :           0 :                               _r = fold_build2_loc (loc, BIT_XOR_EXPR, type, res_op0, res_op1);
    9983                 :           0 :                               if (UNLIKELY (debug_dump)) generic_dump_logs ("match.pd", 894, __FILE__, __LINE__, true);
    9984                 :           0 :                               return _r;
    9985                 :             :                             }
    9986                 :           0 : next_after_fail1392:;
    9987                 :             :                           }
    9988                 :             :                       }
    9989                 :             :                     }
    9990                 :             :                 }
    9991                 :             :               break;
    9992                 :             :             }
    9993                 :             :           default:;
    9994                 :             :           }
    9995                 :             :         break;
    9996                 :             :       }
    9997                 :           0 :     case MAX_EXPR:
    9998                 :           0 :       {
    9999                 :           0 :         tree _q20 = TREE_OPERAND (_p0, 0);
   10000                 :           0 :         tree _q21 = TREE_OPERAND (_p0, 1);
   10001                 :           0 :         switch (TREE_CODE (_p1))
   10002                 :             :           {
   10003                 :           0 :           case MIN_EXPR:
   10004                 :           0 :             {
   10005                 :           0 :               tree _q50 = TREE_OPERAND (_p1, 0);
   10006                 :           0 :               tree _q51 = TREE_OPERAND (_p1, 1);
   10007                 :           0 :               if ((_q50 == _q20 && ! TREE_SIDE_EFFECTS (_q50)) || (operand_equal_p (_q50, _q20, 0) && types_match (_q50, _q20)))
   10008                 :             :                 {
   10009                 :           0 :                   if ((_q51 == _q21 && ! TREE_SIDE_EFFECTS (_q51)) || (operand_equal_p (_q51, _q21, 0) && types_match (_q51, _q21)))
   10010                 :             :                     {
   10011                 :           0 :                       {
   10012                 :           0 :                         tree captures[2] ATTRIBUTE_UNUSED = { _q20, _q21 };
   10013                 :           0 :                         if (!HONOR_NANS (captures[0])
   10014                 :             : )
   10015                 :             :                           {
   10016                 :           0 :                             if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail1393;
   10017                 :           0 :                             {
   10018                 :           0 :                               tree res_op0;
   10019                 :           0 :                               res_op0 = captures[0];
   10020                 :           0 :                               tree res_op1;
   10021                 :           0 :                               res_op1 = captures[1];
   10022                 :           0 :                               tree _r;
   10023                 :           0 :                               _r = fold_build2_loc (loc, BIT_XOR_EXPR, type, res_op0, res_op1);
   10024                 :           0 :                               if (UNLIKELY (debug_dump)) generic_dump_logs ("match.pd", 894, __FILE__, __LINE__, true);
   10025                 :           0 :                               return _r;
   10026                 :             :                             }
   10027                 :           0 : next_after_fail1393:;
   10028                 :             :                           }
   10029                 :             :                       }
   10030                 :             :                     }
   10031                 :             :                 }
   10032                 :           0 :               if ((_q50 == _q21 && ! TREE_SIDE_EFFECTS (_q50)) || (operand_equal_p (_q50, _q21, 0) && types_match (_q50, _q21)))
   10033                 :             :                 {
   10034                 :           0 :                   if ((_q51 == _q20 && ! TREE_SIDE_EFFECTS (_q51)) || (operand_equal_p (_q51, _q20, 0) && types_match (_q51, _q20)))
   10035                 :             :                     {
   10036                 :           0 :                       {
   10037                 :           0 :                         tree captures[2] ATTRIBUTE_UNUSED = { _q20, _q21 };
   10038                 :           0 :                         if (!HONOR_NANS (captures[0])
   10039                 :             : )
   10040                 :             :                           {
   10041                 :           0 :                             if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail1394;
   10042                 :           0 :                             {
   10043                 :           0 :                               tree res_op0;
   10044                 :           0 :                               res_op0 = captures[0];
   10045                 :           0 :                               tree res_op1;
   10046                 :           0 :                               res_op1 = captures[1];
   10047                 :           0 :                               tree _r;
   10048                 :           0 :                               _r = fold_build2_loc (loc, BIT_XOR_EXPR, type, res_op0, res_op1);
   10049                 :           0 :                               if (UNLIKELY (debug_dump)) generic_dump_logs ("match.pd", 894, __FILE__, __LINE__, true);
   10050                 :           0 :                               return _r;
   10051                 :             :                             }
   10052                 :           0 : next_after_fail1394:;
   10053                 :             :                           }
   10054                 :             :                       }
   10055                 :             :                     }
   10056                 :             :                 }
   10057                 :             :               break;
   10058                 :             :             }
   10059                 :             :           default:;
   10060                 :             :           }
   10061                 :             :         break;
   10062                 :             :       }
   10063                 :      661188 :     default:;
   10064                 :             :     }
   10065                 :      661188 :   switch (TREE_CODE (_p1))
   10066                 :             :     {
   10067                 :         243 :     case MULT_EXPR:
   10068                 :         243 :       {
   10069                 :         243 :         tree _q30 = TREE_OPERAND (_p1, 0);
   10070                 :         243 :         tree _q31 = TREE_OPERAND (_p1, 1);
   10071                 :         243 :         switch (TREE_CODE (_q30))
   10072                 :             :           {
   10073                 :           0 :           case BIT_XOR_EXPR:
   10074                 :           0 :             {
   10075                 :           0 :               tree _q40 = TREE_OPERAND (_q30, 0);
   10076                 :           0 :               tree _q41 = TREE_OPERAND (_q30, 1);
   10077                 :           0 :               if ((_q40 == _p0 && ! TREE_SIDE_EFFECTS (_q40)) || (operand_equal_p (_q40, _p0, 0) && types_match (_q40, _p0)))
   10078                 :             :                 {
   10079                 :           0 :                   if (tree_zero_one_valued_p (_q31))
   10080                 :             :                     {
   10081                 :           0 :                       {
   10082                 :           0 :                         tree captures[3] ATTRIBUTE_UNUSED = { _p0, _q41, _q31 };
   10083                 :           0 :                         tree res = generic_simplify_167 (loc, type, _p0, _p1, captures);
   10084                 :           0 :                         if (res) return res;
   10085                 :             :                       }
   10086                 :             :                     }
   10087                 :             :                 }
   10088                 :           0 :               if ((_q41 == _p0 && ! TREE_SIDE_EFFECTS (_q41)) || (operand_equal_p (_q41, _p0, 0) && types_match (_q41, _p0)))
   10089                 :             :                 {
   10090                 :           0 :                   if (tree_zero_one_valued_p (_q31))
   10091                 :             :                     {
   10092                 :           0 :                       {
   10093                 :           0 :                         tree captures[3] ATTRIBUTE_UNUSED = { _p0, _q40, _q31 };
   10094                 :           0 :                         tree res = generic_simplify_167 (loc, type, _p0, _p1, captures);
   10095                 :           0 :                         if (res) return res;
   10096                 :             :                       }
   10097                 :             :                     }
   10098                 :             :                 }
   10099                 :             :               break;
   10100                 :             :             }
   10101                 :         243 :           default:;
   10102                 :             :           }
   10103                 :         243 :       if (tree_zero_one_valued_p (_q30))
   10104                 :             :         {
   10105                 :          17 :           switch (TREE_CODE (_q31))
   10106                 :             :             {
   10107                 :           0 :             case BIT_XOR_EXPR:
   10108                 :           0 :               {
   10109                 :           0 :                 tree _q50 = TREE_OPERAND (_q31, 0);
   10110                 :           0 :                 tree _q51 = TREE_OPERAND (_q31, 1);
   10111                 :           0 :                 if ((_q50 == _p0 && ! TREE_SIDE_EFFECTS (_q50)) || (operand_equal_p (_q50, _p0, 0) && types_match (_q50, _p0)))
   10112                 :             :                   {
   10113                 :           0 :                     {
   10114                 :           0 :                       tree captures[3] ATTRIBUTE_UNUSED = { _p0, _q51, _q30 };
   10115                 :           0 :                       tree res = generic_simplify_167 (loc, type, _p0, _p1, captures);
   10116                 :           0 :                       if (res) return res;
   10117                 :             :                     }
   10118                 :             :                   }
   10119                 :           0 :                 if ((_q51 == _p0 && ! TREE_SIDE_EFFECTS (_q51)) || (operand_equal_p (_q51, _p0, 0) && types_match (_q51, _p0)))
   10120                 :             :                   {
   10121                 :           0 :                     {
   10122                 :           0 :                       tree captures[3] ATTRIBUTE_UNUSED = { _p0, _q50, _q30 };
   10123                 :           0 :                       tree res = generic_simplify_167 (loc, type, _p0, _p1, captures);
   10124                 :           0 :                       if (res) return res;
   10125                 :             :                     }
   10126                 :             :                   }
   10127                 :             :                 break;
   10128                 :             :               }
   10129                 :             :             default:;
   10130                 :             :             }
   10131                 :             :         }
   10132                 :             :         break;
   10133                 :             :       }
   10134                 :      661188 :     default:;
   10135                 :             :     }
   10136                 :      661188 :   switch (TREE_CODE (_p0))
   10137                 :             :     {
   10138                 :           1 :     case VEC_COND_EXPR:
   10139                 :           1 :       {
   10140                 :           1 :         tree _q20 = TREE_OPERAND (_p0, 0);
   10141                 :           1 :         tree _q21 = TREE_OPERAND (_p0, 1);
   10142                 :           1 :         tree _q22 = TREE_OPERAND (_p0, 2);
   10143                 :           1 :         switch (TREE_CODE (_p1))
   10144                 :             :           {
   10145                 :           0 :           case VEC_COND_EXPR:
   10146                 :           0 :             {
   10147                 :           0 :               tree _q60 = TREE_OPERAND (_p1, 0);
   10148                 :           0 :               tree _q61 = TREE_OPERAND (_p1, 1);
   10149                 :           0 :               tree _q62 = TREE_OPERAND (_p1, 2);
   10150                 :           0 :               if ((_q60 == _q20 && ! TREE_SIDE_EFFECTS (_q60)) || (operand_equal_p (_q60, _q20, 0) && types_match (_q60, _q20)))
   10151                 :             :                 {
   10152                 :           0 :                   {
   10153                 :           0 :                     tree captures[7] ATTRIBUTE_UNUSED = { _p0, _q20, _q21, _q22, _p1, _q61, _q62 };
   10154                 :           0 :                     if (VECTOR_TYPE_P (type)
   10155                 :           0 :  && (TREE_CODE_CLASS (BIT_XOR_EXPR) != tcc_comparison
   10156                 :             :  || types_match (type, TREE_TYPE (captures[2]))
   10157                 :             :  || expand_vec_cond_expr_p (type, TREE_TYPE (captures[1]))
   10158                 :             :  || (optimize_vectors_before_lowering_p ()
   10159                 :             :  && !expand_vec_cond_expr_p (TREE_TYPE (captures[2]), TREE_TYPE (captures[1]))))
   10160                 :             : )
   10161                 :             :                       {
   10162                 :           0 :                         if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail1395;
   10163                 :           0 :                         {
   10164                 :           0 :                           tree res_op0;
   10165                 :           0 :                           res_op0 = captures[1];
   10166                 :           0 :                           tree res_op1;
   10167                 :           0 :                           {
   10168                 :           0 :                             tree _o1[2], _r1;
   10169                 :           0 :                             _o1[0] = captures[2];
   10170                 :           0 :                             _o1[1] = captures[5];
   10171                 :           0 :                             _r1 = fold_build2_loc (loc, BIT_XOR_EXPR, TREE_TYPE (_o1[0]), _o1[0], _o1[1]);
   10172                 :           0 :                             if (EXPR_P (_r1))
   10173                 :           0 :                               goto next_after_fail1395;
   10174                 :           0 :                             res_op1 = _r1;
   10175                 :             :                           }
   10176                 :           0 :                           tree res_op2;
   10177                 :           0 :                           {
   10178                 :           0 :                             tree _o1[2], _r1;
   10179                 :           0 :                             _o1[0] = captures[3];
   10180                 :           0 :                             _o1[1] = captures[6];
   10181                 :           0 :                             _r1 = fold_build2_loc (loc, BIT_XOR_EXPR, TREE_TYPE (_o1[0]), _o1[0], _o1[1]);
   10182                 :           0 :                             if (EXPR_P (_r1))
   10183                 :           0 :                               goto next_after_fail1395;
   10184                 :           0 :                             res_op2 = _r1;
   10185                 :             :                           }
   10186                 :           0 :                           tree _r;
   10187                 :           0 :                           _r = fold_build3_loc (loc, VEC_COND_EXPR, type, res_op0, res_op1, res_op2);
   10188                 :           0 :                           if (UNLIKELY (debug_dump)) generic_dump_logs ("match.pd", 898, __FILE__, __LINE__, true);
   10189                 :           0 :                           return _r;
   10190                 :             :                         }
   10191                 :           0 : next_after_fail1395:;
   10192                 :             :                       }
   10193                 :             :                   }
   10194                 :             :                 }
   10195                 :             :               break;
   10196                 :             :             }
   10197                 :           1 :           default:;
   10198                 :             :           }
   10199                 :           1 :         {
   10200                 :           1 :           tree captures[5] ATTRIBUTE_UNUSED = { _p0, _q20, _q21, _q22, _p1 };
   10201                 :           1 :           if (VECTOR_TYPE_P (type)
   10202                 :           1 :  && (TREE_CODE_CLASS (BIT_XOR_EXPR) != tcc_comparison
   10203                 :             :  || types_match (type, TREE_TYPE (captures[2]))
   10204                 :             :  || expand_vec_cond_expr_p (type, TREE_TYPE (captures[1]))
   10205                 :             :  || (optimize_vectors_before_lowering_p ()
   10206                 :             :  && !expand_vec_cond_expr_p (TREE_TYPE (captures[2]), TREE_TYPE (captures[1]))))
   10207                 :             : )
   10208                 :             :             {
   10209                 :           1 :               if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail1396;
   10210                 :           1 :               {
   10211                 :           1 :                 if (! tree_invariant_p (captures[4])) goto next_after_fail1396;
   10212                 :           0 :                 tree res_op0;
   10213                 :           0 :                 res_op0 = captures[1];
   10214                 :           0 :                 tree res_op1;
   10215                 :           0 :                 {
   10216                 :           0 :                   tree _o1[2], _r1;
   10217                 :           0 :                   _o1[0] = captures[2];
   10218                 :           0 :                   _o1[1] = unshare_expr (captures[4]);
   10219                 :           0 :                   _r1 = fold_build2_loc (loc, BIT_XOR_EXPR, TREE_TYPE (_o1[0]), _o1[0], _o1[1]);
   10220                 :           0 :                   if (EXPR_P (_r1))
   10221                 :           0 :                     goto next_after_fail1396;
   10222                 :           0 :                   res_op1 = _r1;
   10223                 :             :                 }
   10224                 :           0 :                 tree res_op2;
   10225                 :           0 :                 {
   10226                 :           0 :                   tree _o1[2], _r1;
   10227                 :           0 :                   _o1[0] = captures[3];
   10228                 :           0 :                   _o1[1] = captures[4];
   10229                 :           0 :                   _r1 = fold_build2_loc (loc, BIT_XOR_EXPR, TREE_TYPE (_o1[0]), _o1[0], _o1[1]);
   10230                 :           0 :                   if (EXPR_P (_r1))
   10231                 :           0 :                     goto next_after_fail1396;
   10232                 :           0 :                   res_op2 = _r1;
   10233                 :             :                 }
   10234                 :           0 :                 tree _r;
   10235                 :           0 :                 _r = fold_build3_loc (loc, VEC_COND_EXPR, type, res_op0, res_op1, res_op2);
   10236                 :           0 :                 if (UNLIKELY (debug_dump)) generic_dump_logs ("match.pd", 899, __FILE__, __LINE__, true);
   10237                 :           0 :                 return _r;
   10238                 :             :               }
   10239                 :           1 : next_after_fail1396:;
   10240                 :             :             }
   10241                 :             :         }
   10242                 :           1 :         break;
   10243                 :             :       }
   10244                 :      661188 :     default:;
   10245                 :             :     }
   10246                 :      661188 :   switch (TREE_CODE (_p1))
   10247                 :             :     {
   10248                 :           0 :     case VEC_COND_EXPR:
   10249                 :           0 :       {
   10250                 :           0 :         tree _q30 = TREE_OPERAND (_p1, 0);
   10251                 :           0 :         tree _q31 = TREE_OPERAND (_p1, 1);
   10252                 :           0 :         tree _q32 = TREE_OPERAND (_p1, 2);
   10253                 :           0 :         {
   10254                 :           0 :           tree captures[5] ATTRIBUTE_UNUSED = { _p0, _p1, _q30, _q31, _q32 };
   10255                 :           0 :           if (VECTOR_TYPE_P (type)
   10256                 :           0 :  && (TREE_CODE_CLASS (BIT_XOR_EXPR) != tcc_comparison
   10257                 :             :  || types_match (type, TREE_TYPE (captures[3]))
   10258                 :             :  || expand_vec_cond_expr_p (type, TREE_TYPE (captures[2]))
   10259                 :             :  || (optimize_vectors_before_lowering_p ()
   10260                 :             :  && !expand_vec_cond_expr_p (TREE_TYPE (captures[3]), TREE_TYPE (captures[2]))))
   10261                 :             : )
   10262                 :             :             {
   10263                 :           0 :               if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail1397;
   10264                 :           0 :               {
   10265                 :           0 :                 if (! tree_invariant_p (captures[0])) goto next_after_fail1397;
   10266                 :           0 :                 tree res_op0;
   10267                 :           0 :                 res_op0 = captures[2];
   10268                 :           0 :                 tree res_op1;
   10269                 :           0 :                 {
   10270                 :           0 :                   tree _o1[2], _r1;
   10271                 :           0 :                   _o1[0] = unshare_expr (captures[0]);
   10272                 :           0 :                   _o1[1] = captures[3];
   10273                 :           0 :                   _r1 = fold_build2_loc (loc, BIT_XOR_EXPR, TREE_TYPE (_o1[0]), _o1[0], _o1[1]);
   10274                 :           0 :                   if (EXPR_P (_r1))
   10275                 :           0 :                     goto next_after_fail1397;
   10276                 :           0 :                   res_op1 = _r1;
   10277                 :             :                 }
   10278                 :           0 :                 tree res_op2;
   10279                 :           0 :                 {
   10280                 :           0 :                   tree _o1[2], _r1;
   10281                 :           0 :                   _o1[0] = captures[0];
   10282                 :           0 :                   _o1[1] = captures[4];
   10283                 :           0 :                   _r1 = fold_build2_loc (loc, BIT_XOR_EXPR, TREE_TYPE (_o1[0]), _o1[0], _o1[1]);
   10284                 :           0 :                   if (EXPR_P (_r1))
   10285                 :           0 :                     goto next_after_fail1397;
   10286                 :           0 :                   res_op2 = _r1;
   10287                 :             :                 }
   10288                 :           0 :                 tree _r;
   10289                 :           0 :                 _r = fold_build3_loc (loc, VEC_COND_EXPR, type, res_op0, res_op1, res_op2);
   10290                 :           0 :                 if (UNLIKELY (debug_dump)) generic_dump_logs ("match.pd", 900, __FILE__, __LINE__, true);
   10291                 :           0 :                 return _r;
   10292                 :             :               }
   10293                 :           0 : next_after_fail1397:;
   10294                 :             :             }
   10295                 :             :         }
   10296                 :           0 :         break;
   10297                 :             :       }
   10298                 :      661188 :     default:;
   10299                 :             :     }
   10300                 :      661188 :   switch (TREE_CODE (_p0))
   10301                 :             :     {
   10302                 :          90 :     case LT_EXPR:
   10303                 :          90 :       {
   10304                 :          90 :         tree _q20 = TREE_OPERAND (_p0, 0);
   10305                 :          90 :         tree _q21 = TREE_OPERAND (_p0, 1);
   10306                 :          90 :         if (integer_truep (_p1))
   10307                 :             :           {
   10308                 :          14 :             {
   10309                 :          14 :               tree captures[2] ATTRIBUTE_UNUSED = { _q20, _q21 };
   10310                 :          14 :               tree res = generic_simplify_168 (loc, type, _p0, _p1, captures, LT_EXPR, GE_EXPR, UNGE_EXPR);
   10311                 :          14 :               if (res) return res;
   10312                 :             :             }
   10313                 :             :           }
   10314                 :          76 :         if (integer_zerop (_q21))
   10315                 :             :           {
   10316                 :          24 :             switch (TREE_CODE (_p1))
   10317                 :             :               {
   10318                 :          17 :               case LT_EXPR:
   10319                 :          17 :                 {
   10320                 :          17 :                   tree _q50 = TREE_OPERAND (_p1, 0);
   10321                 :          17 :                   tree _q51 = TREE_OPERAND (_p1, 1);
   10322                 :          17 :                   if (integer_zerop (_q51))
   10323                 :             :                     {
   10324                 :          17 :                       {
   10325                 :          17 :                         tree captures[4] ATTRIBUTE_UNUSED = { _p0, _q20, _p1, _q50 };
   10326                 :          17 :                         tree res = generic_simplify_169 (loc, type, _p0, _p1, captures, LT_EXPR);
   10327                 :          17 :                         if (res) return res;
   10328                 :             :                       }
   10329                 :             :                     }
   10330                 :             :                   break;
   10331                 :             :                 }
   10332                 :           0 :               case GE_EXPR:
   10333                 :           0 :                 {
   10334                 :           0 :                   tree _q50 = TREE_OPERAND (_p1, 0);
   10335                 :           0 :                   tree _q51 = TREE_OPERAND (_p1, 1);
   10336                 :           0 :                   if (integer_zerop (_q51))
   10337                 :             :                     {
   10338                 :           0 :                       {
   10339                 :           0 :                         tree captures[4] ATTRIBUTE_UNUSED = { _p0, _q20, _p1, _q50 };
   10340                 :           0 :                         tree res = generic_simplify_170 (loc, type, _p0, _p1, captures);
   10341                 :           0 :                         if (res) return res;
   10342                 :             :                       }
   10343                 :             :                     }
   10344                 :             :                   break;
   10345                 :             :                 }
   10346                 :             :               default:;
   10347                 :             :               }
   10348                 :             :           }
   10349                 :             :         break;
   10350                 :             :       }
   10351                 :          78 :     case LE_EXPR:
   10352                 :          78 :       {
   10353                 :          78 :         tree _q20 = TREE_OPERAND (_p0, 0);
   10354                 :          78 :         tree _q21 = TREE_OPERAND (_p0, 1);
   10355                 :          78 :         if (integer_truep (_p1))
   10356                 :             :           {
   10357                 :          15 :             {
   10358                 :          15 :               tree captures[2] ATTRIBUTE_UNUSED = { _q20, _q21 };
   10359                 :          15 :               tree res = generic_simplify_168 (loc, type, _p0, _p1, captures, LE_EXPR, GT_EXPR, UNGT_EXPR);
   10360                 :          15 :               if (res) return res;
   10361                 :             :             }
   10362                 :             :           }
   10363                 :             :         break;
   10364                 :             :       }
   10365                 :         118 :     case EQ_EXPR:
   10366                 :         118 :       {
   10367                 :         118 :         tree _q20 = TREE_OPERAND (_p0, 0);
   10368                 :         118 :         tree _q21 = TREE_OPERAND (_p0, 1);
   10369                 :         118 :         if (integer_truep (_p1))
   10370                 :             :           {
   10371                 :          14 :             {
   10372                 :          14 :               tree captures[2] ATTRIBUTE_UNUSED = { _q20, _q21 };
   10373                 :          14 :               tree res = generic_simplify_168 (loc, type, _p0, _p1, captures, EQ_EXPR, NE_EXPR, NE_EXPR);
   10374                 :          14 :               if (res) return res;
   10375                 :             :             }
   10376                 :             :           }
   10377                 :             :         break;
   10378                 :             :       }
   10379                 :         113 :     case NE_EXPR:
   10380                 :         113 :       {
   10381                 :         113 :         tree _q20 = TREE_OPERAND (_p0, 0);
   10382                 :         113 :         tree _q21 = TREE_OPERAND (_p0, 1);
   10383                 :         113 :         if (integer_truep (_p1))
   10384                 :             :           {
   10385                 :           7 :             {
   10386                 :           7 :               tree captures[2] ATTRIBUTE_UNUSED = { _q20, _q21 };
   10387                 :           7 :               tree res = generic_simplify_168 (loc, type, _p0, _p1, captures, NE_EXPR, EQ_EXPR, EQ_EXPR);
   10388                 :           7 :               if (res) return res;
   10389                 :             :             }
   10390                 :             :           }
   10391                 :             :         break;
   10392                 :             :       }
   10393                 :          62 :     case GE_EXPR:
   10394                 :          62 :       {
   10395                 :          62 :         tree _q20 = TREE_OPERAND (_p0, 0);
   10396                 :          62 :         tree _q21 = TREE_OPERAND (_p0, 1);
   10397                 :          62 :         if (integer_truep (_p1))
   10398                 :             :           {
   10399                 :           0 :             {
   10400                 :           0 :               tree captures[2] ATTRIBUTE_UNUSED = { _q20, _q21 };
   10401                 :           0 :               tree res = generic_simplify_168 (loc, type, _p0, _p1, captures, GE_EXPR, LT_EXPR, UNLT_EXPR);
   10402                 :           0 :               if (res) return res;
   10403                 :             :             }
   10404                 :             :           }
   10405                 :          62 :         if (integer_zerop (_q21))
   10406                 :             :           {
   10407                 :          26 :             switch (TREE_CODE (_p1))
   10408                 :             :               {
   10409                 :           1 :               case GE_EXPR:
   10410                 :           1 :                 {
   10411                 :           1 :                   tree _q50 = TREE_OPERAND (_p1, 0);
   10412                 :           1 :                   tree _q51 = TREE_OPERAND (_p1, 1);
   10413                 :           1 :                   if (integer_zerop (_q51))
   10414                 :             :                     {
   10415                 :           1 :                       {
   10416                 :           1 :                         tree captures[4] ATTRIBUTE_UNUSED = { _p0, _q20, _p1, _q50 };
   10417                 :           1 :                         tree res = generic_simplify_169 (loc, type, _p0, _p1, captures, GE_EXPR);
   10418                 :           1 :                         if (res) return res;
   10419                 :             :                       }
   10420                 :             :                     }
   10421                 :             :                   break;
   10422                 :             :                 }
   10423                 :           5 :               case LT_EXPR:
   10424                 :           5 :                 {
   10425                 :           5 :                   tree _q50 = TREE_OPERAND (_p1, 0);
   10426                 :           5 :                   tree _q51 = TREE_OPERAND (_p1, 1);
   10427                 :           5 :                   if (integer_zerop (_q51))
   10428                 :             :                     {
   10429                 :           5 :                       {
   10430                 :           5 :                         tree captures[4] ATTRIBUTE_UNUSED = { _p1, _q50, _p0, _q20 };
   10431                 :           5 :                         tree res = generic_simplify_170 (loc, type, _p0, _p1, captures);
   10432                 :           5 :                         if (res) return res;
   10433                 :             :                       }
   10434                 :             :                     }
   10435                 :             :                   break;
   10436                 :             :                 }
   10437                 :             :               default:;
   10438                 :             :               }
   10439                 :             :           }
   10440                 :             :         break;
   10441                 :             :       }
   10442                 :         100 :     case GT_EXPR:
   10443                 :         100 :       {
   10444                 :         100 :         tree _q20 = TREE_OPERAND (_p0, 0);
   10445                 :         100 :         tree _q21 = TREE_OPERAND (_p0, 1);
   10446                 :         100 :         if (integer_truep (_p1))
   10447                 :             :           {
   10448                 :          14 :             {
   10449                 :          14 :               tree captures[2] ATTRIBUTE_UNUSED = { _q20, _q21 };
   10450                 :          14 :               tree res = generic_simplify_168 (loc, type, _p0, _p1, captures, GT_EXPR, LE_EXPR, UNLE_EXPR);
   10451                 :          14 :               if (res) return res;
   10452                 :             :             }
   10453                 :             :           }
   10454                 :             :         break;
   10455                 :             :       }
   10456                 :           0 :     case UNORDERED_EXPR:
   10457                 :           0 :       {
   10458                 :           0 :         tree _q20 = TREE_OPERAND (_p0, 0);
   10459                 :           0 :         tree _q21 = TREE_OPERAND (_p0, 1);
   10460                 :           0 :         if (integer_truep (_p1))
   10461                 :             :           {
   10462                 :           0 :             {
   10463                 :           0 :               tree captures[2] ATTRIBUTE_UNUSED = { _q20, _q21 };
   10464                 :           0 :               tree res = generic_simplify_168 (loc, type, _p0, _p1, captures, UNORDERED_EXPR, ORDERED_EXPR, ORDERED_EXPR);
   10465                 :           0 :               if (res) return res;
   10466                 :             :             }
   10467                 :             :           }
   10468                 :             :         break;
   10469                 :             :       }
   10470                 :           0 :     case ORDERED_EXPR:
   10471                 :           0 :       {
   10472                 :           0 :         tree _q20 = TREE_OPERAND (_p0, 0);
   10473                 :           0 :         tree _q21 = TREE_OPERAND (_p0, 1);
   10474                 :           0 :         if (integer_truep (_p1))
   10475                 :             :           {
   10476                 :           0 :             {
   10477                 :           0 :               tree captures[2] ATTRIBUTE_UNUSED = { _q20, _q21 };
   10478                 :           0 :               tree res = generic_simplify_168 (loc, type, _p0, _p1, captures, ORDERED_EXPR, UNORDERED_EXPR, UNORDERED_EXPR);
   10479                 :           0 :               if (res) return res;
   10480                 :             :             }
   10481                 :             :           }
   10482                 :             :         break;
   10483                 :             :       }
   10484                 :           0 :     case UNLT_EXPR:
   10485                 :           0 :       {
   10486                 :           0 :         tree _q20 = TREE_OPERAND (_p0, 0);
   10487                 :           0 :         tree _q21 = TREE_OPERAND (_p0, 1);
   10488                 :           0 :         if (integer_truep (_p1))
   10489                 :             :           {
   10490                 :           0 :             {
   10491                 :           0 :               tree captures[2] ATTRIBUTE_UNUSED = { _q20, _q21 };
   10492                 :           0 :               tree res = generic_simplify_168 (loc, type, _p0, _p1, captures, UNLT_EXPR, GE_EXPR, GE_EXPR);
   10493                 :           0 :               if (res) return res;
   10494                 :             :             }
   10495                 :             :           }
   10496                 :             :         break;
   10497                 :             :       }
   10498                 :           0 :     case UNLE_EXPR:
   10499                 :           0 :       {
   10500                 :           0 :         tree _q20 = TREE_OPERAND (_p0, 0);
   10501                 :           0 :         tree _q21 = TREE_OPERAND (_p0, 1);
   10502                 :           0 :         if (integer_truep (_p1))
   10503                 :             :           {
   10504                 :           0 :             {
   10505                 :           0 :               tree captures[2] ATTRIBUTE_UNUSED = { _q20, _q21 };
   10506                 :           0 :               tree res = generic_simplify_168 (loc, type, _p0, _p1, captures, UNLE_EXPR, GT_EXPR, GT_EXPR);
   10507                 :           0 :               if (res) return res;
   10508                 :             :             }
   10509                 :             :           }
   10510                 :             :         break;
   10511                 :             :       }
   10512                 :           0 :     case UNGT_EXPR:
   10513                 :           0 :       {
   10514                 :           0 :         tree _q20 = TREE_OPERAND (_p0, 0);
   10515                 :           0 :         tree _q21 = TREE_OPERAND (_p0, 1);
   10516                 :           0 :         if (integer_truep (_p1))
   10517                 :             :           {
   10518                 :           0 :             {
   10519                 :           0 :               tree captures[2] ATTRIBUTE_UNUSED = { _q20, _q21 };
   10520                 :           0 :               tree res = generic_simplify_168 (loc, type, _p0, _p1, captures, UNGT_EXPR, LE_EXPR, LE_EXPR);
   10521                 :           0 :               if (res) return res;
   10522                 :             :             }
   10523                 :             :           }
   10524                 :             :         break;
   10525                 :             :       }
   10526                 :           0 :     case UNGE_EXPR:
   10527                 :           0 :       {
   10528                 :           0 :         tree _q20 = TREE_OPERAND (_p0, 0);
   10529                 :           0 :         tree _q21 = TREE_OPERAND (_p0, 1);
   10530                 :           0 :         if (integer_truep (_p1))
   10531                 :             :           {
   10532                 :           0 :             {
   10533                 :           0 :               tree captures[2] ATTRIBUTE_UNUSED = { _q20, _q21 };
   10534                 :           0 :               tree res = generic_simplify_168 (loc, type, _p0, _p1, captures, UNGE_EXPR, LT_EXPR, LT_EXPR);
   10535                 :           0 :               if (res) return res;
   10536                 :             :             }
   10537                 :             :           }
   10538                 :             :         break;
   10539                 :             :       }
   10540                 :           0 :     case UNEQ_EXPR:
   10541                 :           0 :       {
   10542                 :           0 :         tree _q20 = TREE_OPERAND (_p0, 0);
   10543                 :           0 :         tree _q21 = TREE_OPERAND (_p0, 1);
   10544                 :           0 :         if (integer_truep (_p1))
   10545                 :             :           {
   10546                 :           0 :             {
   10547                 :           0 :               tree captures[2] ATTRIBUTE_UNUSED = { _q20, _q21 };
   10548                 :           0 :               tree res = generic_simplify_168 (loc, type, _p0, _p1, captures, UNEQ_EXPR, LTGT_EXPR, LTGT_EXPR);
   10549                 :           0 :               if (res) return res;
   10550                 :             :             }
   10551                 :             :           }
   10552                 :             :         break;
   10553                 :             :       }
   10554                 :           0 :     case LTGT_EXPR:
   10555                 :           0 :       {
   10556                 :           0 :         tree _q20 = TREE_OPERAND (_p0, 0);
   10557                 :           0 :         tree _q21 = TREE_OPERAND (_p0, 1);
   10558                 :           0 :         if (integer_truep (_p1))
   10559                 :             :           {
   10560                 :           0 :             {
   10561                 :           0 :               tree captures[2] ATTRIBUTE_UNUSED = { _q20, _q21 };
   10562                 :           0 :               tree res = generic_simplify_168 (loc, type, _p0, _p1, captures, LTGT_EXPR, UNEQ_EXPR, UNEQ_EXPR);
   10563                 :           0 :               if (res) return res;
   10564                 :             :             }
   10565                 :             :           }
   10566                 :             :         break;
   10567                 :             :       }
   10568                 :           7 :     case VEC_PERM_EXPR:
   10569                 :           7 :       {
   10570                 :           7 :         tree _q20 = TREE_OPERAND (_p0, 0);
   10571                 :           7 :         tree _q21 = TREE_OPERAND (_p0, 1);
   10572                 :           7 :         tree _q22 = TREE_OPERAND (_p0, 2);
   10573                 :           7 :         if ((_q21 == _q20 && ! TREE_SIDE_EFFECTS (_q21)) || (operand_equal_p (_q21, _q20, 0) && types_match (_q21, _q20)))
   10574                 :             :           {
   10575                 :           0 :             switch (TREE_CODE (_p1))
   10576                 :             :               {
   10577                 :           0 :               case VEC_PERM_EXPR:
   10578                 :           0 :                 {
   10579                 :           0 :                   tree _q60 = TREE_OPERAND (_p1, 0);
   10580                 :           0 :                   tree _q61 = TREE_OPERAND (_p1, 1);
   10581                 :           0 :                   tree _q62 = TREE_OPERAND (_p1, 2);
   10582                 :           0 :                   if ((_q61 == _q60 && ! TREE_SIDE_EFFECTS (_q61)) || (operand_equal_p (_q61, _q60, 0) && types_match (_q61, _q60)))
   10583                 :             :                     {
   10584                 :           0 :                       if ((_q62 == _q22 && ! TREE_SIDE_EFFECTS (_q62)) || (operand_equal_p (_q62, _q22, 0) && types_match (_q62, _q22)))
   10585                 :             :                         {
   10586                 :           0 :                           {
   10587                 :           0 :                             tree captures[4] ATTRIBUTE_UNUSED = { _q20, _q22, _q60 };
   10588                 :           0 :                             if (VECTOR_INTEGER_TYPE_P (type)
   10589                 :             : )
   10590                 :             :                               {
   10591                 :           0 :                                 if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail1398;
   10592                 :           0 :                                 {
   10593                 :           0 :                                   tree res_op0;
   10594                 :           0 :                                   {
   10595                 :           0 :                                     tree _o1[2], _r1;
   10596                 :           0 :                                     _o1[0] = captures[0];
   10597                 :           0 :                                     _o1[1] = captures[2];
   10598                 :           0 :                                     _r1 = fold_build2_loc (loc, BIT_XOR_EXPR, TREE_TYPE (_o1[0]), _o1[0], _o1[1]);
   10599                 :           0 :                                     captures[3] = _r1;
   10600                 :             :                                   }
   10601                 :           0 :                                   res_op0 = unshare_expr (captures[3]);
   10602                 :           0 :                                   tree res_op1;
   10603                 :           0 :                                   res_op1 = captures[3];
   10604                 :           0 :                                   tree res_op2;
   10605                 :           0 :                                   res_op2 = captures[1];
   10606                 :           0 :                                   tree _r;
   10607                 :           0 :                                   _r = fold_build3_loc (loc, VEC_PERM_EXPR, type, res_op0, res_op1, res_op2);
   10608                 :           0 :                                   if (UNLIKELY (debug_dump)) generic_dump_logs ("match.pd", 901, __FILE__, __LINE__, true);
   10609                 :           0 :                                   return _r;
   10610                 :             :                                 }
   10611                 :           0 : next_after_fail1398:;
   10612                 :             :                               }
   10613                 :             :                           }
   10614                 :             :                         }
   10615                 :             :                     }
   10616                 :             :                   break;
   10617                 :             :                 }
   10618                 :             :               default:;
   10619                 :             :               }
   10620                 :             :           }
   10621                 :             :         break;
   10622                 :             :       }
   10623                 :        2939 :     case CALL_EXPR:
   10624                 :        2939 :       switch (get_call_combined_fn (_p0))
   10625                 :             :         {
   10626                 :           1 :         case CFN_PARITY:
   10627                 :           1 :           if (call_expr_nargs (_p0) == 1)
   10628                 :             :     {
   10629                 :           1 :               tree _q20 = CALL_EXPR_ARG (_p0, 0);
   10630                 :           1 :               switch (TREE_CODE (_p1))
   10631                 :             :                 {
   10632                 :           1 :                 case CALL_EXPR:
   10633                 :           1 :                   switch (get_call_combined_fn (_p1))
   10634                 :             :                     {
   10635                 :           1 :                     case CFN_PARITY:
   10636                 :           1 :                       if (call_expr_nargs (_p1) == 1)
   10637                 :             :     {
   10638                 :           1 :                           tree _q40 = CALL_EXPR_ARG (_p1, 0);
   10639                 :           1 :                           {
   10640                 :           1 :                             tree captures[4] ATTRIBUTE_UNUSED = { _p0, _q20, _p1, _q40 };
   10641                 :           1 :                             tree res = generic_simplify_171 (loc, type, _p0, _p1, captures, CFN_PARITY);
   10642                 :           1 :                             if (res) return res;
   10643                 :             :                           }
   10644                 :             :                         }
   10645                 :             :                       break;
   10646                 :             :                     default:;
   10647                 :             :                     }
   10648                 :             :                   break;
   10649                 :             :                 default:;
   10650                 :             :                 }
   10651                 :             :             }
   10652                 :             :           break;
   10653                 :           1 :         case CFN_BUILT_IN_PARITYL:
   10654                 :           1 :           if (call_expr_nargs (_p0) == 1)
   10655                 :             :     {
   10656                 :           1 :               tree _q20 = CALL_EXPR_ARG (_p0, 0);
   10657                 :           1 :               switch (TREE_CODE (_p1))
   10658                 :             :                 {
   10659                 :           1 :                 case CALL_EXPR:
   10660                 :           1 :                   switch (get_call_combined_fn (_p1))
   10661                 :             :                     {
   10662                 :           1 :                     case CFN_BUILT_IN_PARITYL:
   10663                 :           1 :                       if (call_expr_nargs (_p1) == 1)
   10664                 :             :     {
   10665                 :           1 :                           tree _q40 = CALL_EXPR_ARG (_p1, 0);
   10666                 :           1 :                           {
   10667                 :           1 :                             tree captures[4] ATTRIBUTE_UNUSED = { _p0, _q20, _p1, _q40 };
   10668                 :           1 :                             tree res = generic_simplify_171 (loc, type, _p0, _p1, captures, CFN_BUILT_IN_PARITYL);
   10669                 :           1 :                             if (res) return res;
   10670                 :             :                           }
   10671                 :             :                         }
   10672                 :             :                       break;
   10673                 :             :                     default:;
   10674                 :             :                     }
   10675                 :             :                   break;
   10676                 :             :                 default:;
   10677                 :             :                 }
   10678                 :             :             }
   10679                 :             :           break;
   10680                 :           0 :         case CFN_BUILT_IN_PARITYIMAX:
   10681                 :           0 :           if (call_expr_nargs (_p0) == 1)
   10682                 :             :     {
   10683                 :           0 :               tree _q20 = CALL_EXPR_ARG (_p0, 0);
   10684                 :           0 :               switch (TREE_CODE (_p1))
   10685                 :             :                 {
   10686                 :           0 :                 case CALL_EXPR:
   10687                 :           0 :                   switch (get_call_combined_fn (_p1))
   10688                 :             :                     {
   10689                 :           0 :                     case CFN_BUILT_IN_PARITYIMAX:
   10690                 :           0 :                       if (call_expr_nargs (_p1) == 1)
   10691                 :             :     {
   10692                 :           0 :                           tree _q40 = CALL_EXPR_ARG (_p1, 0);
   10693                 :           0 :                           {
   10694                 :           0 :                             tree captures[4] ATTRIBUTE_UNUSED = { _p0, _q20, _p1, _q40 };
   10695                 :           0 :                             tree res = generic_simplify_171 (loc, type, _p0, _p1, captures, CFN_BUILT_IN_PARITYIMAX);
   10696                 :           0 :                             if (res) return res;
   10697                 :             :                           }
   10698                 :             :                         }
   10699                 :             :                       break;
   10700                 :             :                     default:;
   10701                 :             :                     }
   10702                 :             :                   break;
   10703                 :             :                 default:;
   10704                 :             :                 }
   10705                 :             :             }
   10706                 :             :           break;
   10707                 :           1 :         case CFN_BUILT_IN_PARITY:
   10708                 :           1 :           if (call_expr_nargs (_p0) == 1)
   10709                 :             :     {
   10710                 :           1 :               tree _q20 = CALL_EXPR_ARG (_p0, 0);
   10711                 :           1 :               switch (TREE_CODE (_p1))
   10712                 :             :                 {
   10713                 :           1 :                 case CALL_EXPR:
   10714                 :           1 :                   switch (get_call_combined_fn (_p1))
   10715                 :             :                     {
   10716                 :           1 :                     case CFN_BUILT_IN_PARITY:
   10717                 :           1 :                       if (call_expr_nargs (_p1) == 1)
   10718                 :             :     {
   10719                 :           1 :                           tree _q40 = CALL_EXPR_ARG (_p1, 0);
   10720                 :           1 :                           {
   10721                 :           1 :                             tree captures[4] ATTRIBUTE_UNUSED = { _p0, _q20, _p1, _q40 };
   10722                 :           1 :                             tree res = generic_simplify_171 (loc, type, _p0, _p1, captures, CFN_BUILT_IN_PARITY);
   10723                 :           1 :                             if (res) return res;
   10724                 :             :                           }
   10725                 :             :                         }
   10726                 :             :                       break;
   10727                 :             :                     default:;
   10728                 :             :                     }
   10729                 :             :                   break;
   10730                 :             :                 default:;
   10731                 :             :                 }
   10732                 :             :             }
   10733                 :             :           break;
   10734                 :           8 :         case CFN_BUILT_IN_PARITYLL:
   10735                 :           8 :           if (call_expr_nargs (_p0) == 1)
   10736                 :             :     {
   10737                 :           8 :               tree _q20 = CALL_EXPR_ARG (_p0, 0);
   10738                 :           8 :               switch (TREE_CODE (_p1))
   10739                 :             :                 {
   10740                 :           8 :                 case CALL_EXPR:
   10741                 :           8 :                   switch (get_call_combined_fn (_p1))
   10742                 :             :                     {
   10743                 :           8 :                     case CFN_BUILT_IN_PARITYLL:
   10744                 :           8 :                       if (call_expr_nargs (_p1) == 1)
   10745                 :             :     {
   10746                 :           8 :                           tree _q40 = CALL_EXPR_ARG (_p1, 0);
   10747                 :           8 :                           {
   10748                 :           8 :                             tree captures[4] ATTRIBUTE_UNUSED = { _p0, _q20, _p1, _q40 };
   10749                 :           8 :                             tree res = generic_simplify_171 (loc, type, _p0, _p1, captures, CFN_BUILT_IN_PARITYLL);
   10750                 :           8 :                             if (res) return res;
   10751                 :             :                           }
   10752                 :             :                         }
   10753                 :             :                       break;
   10754                 :             :                     default:;
   10755                 :             :                     }
   10756                 :             :                   break;
   10757                 :             :                 default:;
   10758                 :             :                 }
   10759                 :             :             }
   10760                 :             :           break;
   10761                 :             :         default:;
   10762                 :             :         }
   10763                 :             :       break;
   10764                 :             :     default:;
   10765                 :             :     }
   10766                 :             :   return NULL_TREE;
   10767                 :             : }
   10768                 :             : 
   10769                 :             : tree
   10770                 :        2494 : generic_simplify_RROTATE_EXPR (location_t ARG_UNUSED (loc), enum tree_code ARG_UNUSED (code), const tree ARG_UNUSED (type), tree _p0, tree _p1)
   10771                 :             : {
   10772                 :        2494 :   const bool debug_dump = dump_file && (dump_flags & TDF_FOLDING);
   10773                 :        2494 :   if (integer_all_onesp (_p0))
   10774                 :             :     {
   10775                 :           0 :       {
   10776                 :           0 :         tree captures[2] ATTRIBUTE_UNUSED = { _p0, _p1 };
   10777                 :           0 :         tree res = generic_simplify_513 (loc, type, _p0, _p1, captures, RROTATE_EXPR);
   10778                 :           0 :         if (res) return res;
   10779                 :             :       }
   10780                 :             :     }
   10781                 :        2494 :   if (integer_zerop (_p1))
   10782                 :             :     {
   10783                 :           1 :       {
   10784                 :           1 :         tree captures[1] ATTRIBUTE_UNUSED = { _p0 };
   10785                 :           1 :         tree res = generic_simplify_372 (loc, type, _p0, _p1, captures, RROTATE_EXPR);
   10786                 :           1 :         if (res) return res;
   10787                 :             :       }
   10788                 :             :     }
   10789                 :        2493 :   if (integer_zerop (_p0))
   10790                 :             :     {
   10791                 :           0 :       {
   10792                 :           0 :         tree captures[2] ATTRIBUTE_UNUSED = { _p0, _p1 };
   10793                 :           0 :         tree res = generic_simplify_373 (loc, type, _p0, _p1, captures, RROTATE_EXPR);
   10794                 :           0 :         if (res) return res;
   10795                 :             :       }
   10796                 :             :     }
   10797                 :        2493 :   switch (TREE_CODE (_p1))
   10798                 :             :     {
   10799                 :           0 :     case VECTOR_CST:
   10800                 :           0 :       {
   10801                 :           0 :         {
   10802                 :           0 :           tree captures[2] ATTRIBUTE_UNUSED = { _p0, _p1 };
   10803                 :           0 :           tree res = generic_simplify_374 (loc, type, _p0, _p1, captures, RROTATE_EXPR);
   10804                 :           0 :           if (res) return res;
   10805                 :             :         }
   10806                 :           0 :         break;
   10807                 :             :       }
   10808                 :           0 :     case CONSTRUCTOR:
   10809                 :           0 :       {
   10810                 :           0 :         {
   10811                 :           0 :           tree captures[2] ATTRIBUTE_UNUSED = { _p0, _p1 };
   10812                 :           0 :           tree res = generic_simplify_375 (loc, type, _p0, _p1, captures, RROTATE_EXPR);
   10813                 :           0 :           if (res) return res;
   10814                 :             :         }
   10815                 :           0 :         break;
   10816                 :             :       }
   10817                 :           0 :     case MINUS_EXPR:
   10818                 :           0 :       {
   10819                 :           0 :         tree _q30 = TREE_OPERAND (_p1, 0);
   10820                 :           0 :         tree _q31 = TREE_OPERAND (_p1, 1);
   10821                 :           0 :         switch (TREE_CODE (_q30))
   10822                 :             :           {
   10823                 :           0 :           case INTEGER_CST:
   10824                 :           0 :             {
   10825                 :           0 :               {
   10826                 :           0 :                 tree captures[4] ATTRIBUTE_UNUSED = { _p0, _p1, _q30, _q31 };
   10827                 :           0 :                 tree res = generic_simplify_514 (loc, type, _p0, _p1, captures, RROTATE_EXPR, LROTATE_EXPR);
   10828                 :           0 :                 if (res) return res;
   10829                 :             :               }
   10830                 :           0 :               break;
   10831                 :             :             }
   10832                 :             :           default:;
   10833                 :             :           }
   10834                 :             :         break;
   10835                 :             :       }
   10836                 :        2493 :     default:;
   10837                 :             :     }
   10838                 :        2493 :   switch (TREE_CODE (_p0))
   10839                 :             :     {
   10840                 :           0 :     case RROTATE_EXPR:
   10841                 :           0 :       {
   10842                 :           0 :         tree _q20 = TREE_OPERAND (_p0, 0);
   10843                 :           0 :         tree _q21 = TREE_OPERAND (_p0, 1);
   10844                 :           0 :         switch (TREE_CODE (_q21))
   10845                 :             :           {
   10846                 :           0 :           case INTEGER_CST:
   10847                 :           0 :             {
   10848                 :           0 :               switch (TREE_CODE (_p1))
   10849                 :             :                 {
   10850                 :           0 :                 case INTEGER_CST:
   10851                 :           0 :                   {
   10852                 :           0 :                     {
   10853                 :           0 :                       tree captures[3] ATTRIBUTE_UNUSED = { _q20, _q21, _p1 };
   10854                 :           0 :                       tree res = generic_simplify_376 (loc, type, _p0, _p1, captures, RROTATE_EXPR);
   10855                 :           0 :                       if (res) return res;
   10856                 :             :                     }
   10857                 :           0 :                     break;
   10858                 :             :                   }
   10859                 :             :                 default:;
   10860                 :             :                 }
   10861                 :             :               break;
   10862                 :             :             }
   10863                 :             :           default:;
   10864                 :             :           }
   10865                 :             :         break;
   10866                 :             :       }
   10867                 :             :     default:;
   10868                 :             :     }
   10869                 :             :   return NULL_TREE;
   10870                 :             : }
   10871                 :             : 
   10872                 :             : tree
   10873                 :      966874 : generic_simplify_UNLE_EXPR (location_t ARG_UNUSED (loc), enum tree_code ARG_UNUSED (code), const tree ARG_UNUSED (type), tree _p0, tree _p1)
   10874                 :             : {
   10875                 :      966874 :   const bool debug_dump = dump_file && (dump_flags & TDF_FOLDING);
   10876                 :      966874 :   switch (TREE_CODE (_p0))
   10877                 :             :     {
   10878                 :           0 :     case VEC_COND_EXPR:
   10879                 :           0 :       {
   10880                 :           0 :         tree _q20 = TREE_OPERAND (_p0, 0);
   10881                 :           0 :         tree _q21 = TREE_OPERAND (_p0, 1);
   10882                 :           0 :         tree _q22 = TREE_OPERAND (_p0, 2);
   10883                 :           0 :         switch (TREE_CODE (_p1))
   10884                 :             :           {
   10885                 :           0 :           case VEC_COND_EXPR:
   10886                 :           0 :             {
   10887                 :           0 :               tree _q60 = TREE_OPERAND (_p1, 0);
   10888                 :           0 :               tree _q61 = TREE_OPERAND (_p1, 1);
   10889                 :           0 :               tree _q62 = TREE_OPERAND (_p1, 2);
   10890                 :           0 :               if ((_q60 == _q20 && ! TREE_SIDE_EFFECTS (_q60)) || (operand_equal_p (_q60, _q20, 0) && types_match (_q60, _q20)))
   10891                 :             :                 {
   10892                 :           0 :                   {
   10893                 :           0 :                     tree captures[7] ATTRIBUTE_UNUSED = { _p0, _q20, _q21, _q22, _p1, _q61, _q62 };
   10894                 :           0 :                     if (VECTOR_TYPE_P (type)
   10895                 :           0 :  && (TREE_CODE_CLASS (UNLE_EXPR) != tcc_comparison
   10896                 :           0 :  || types_match (type, TREE_TYPE (captures[2]))
   10897                 :           0 :  || expand_vec_cond_expr_p (type, TREE_TYPE (captures[1]))
   10898                 :             :  || (optimize_vectors_before_lowering_p ()
   10899                 :           0 :  && !expand_vec_cond_expr_p (TREE_TYPE (captures[2]), TREE_TYPE (captures[1]))))
   10900                 :             : )
   10901                 :             :                       {
   10902                 :           0 :                         if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail1763;
   10903                 :           0 :                         {
   10904                 :           0 :                           tree res_op0;
   10905                 :           0 :                           res_op0 = captures[1];
   10906                 :           0 :                           tree res_op1;
   10907                 :           0 :                           {
   10908                 :           0 :                             tree _o1[2], _r1;
   10909                 :           0 :                             _o1[0] = captures[2];
   10910                 :           0 :                             _o1[1] = captures[5];
   10911                 :           0 :                             _r1 = fold_build2_loc (loc, UNLE_EXPR, type, _o1[0], _o1[1]);
   10912                 :           0 :                             if (EXPR_P (_r1))
   10913                 :           0 :                               goto next_after_fail1763;
   10914                 :           0 :                             res_op1 = _r1;
   10915                 :             :                           }
   10916                 :           0 :                           tree res_op2;
   10917                 :           0 :                           {
   10918                 :           0 :                             tree _o1[2], _r1;
   10919                 :           0 :                             _o1[0] = captures[3];
   10920                 :           0 :                             _o1[1] = captures[6];
   10921                 :           0 :                             _r1 = fold_build2_loc (loc, UNLE_EXPR, type, _o1[0], _o1[1]);
   10922                 :           0 :                             if (EXPR_P (_r1))
   10923                 :           0 :                               goto next_after_fail1763;
   10924                 :           0 :                             res_op2 = _r1;
   10925                 :             :                           }
   10926                 :           0 :                           tree _r;
   10927                 :           0 :                           _r = fold_build3_loc (loc, VEC_COND_EXPR, type, res_op0, res_op1, res_op2);
   10928                 :           0 :                           if (UNLIKELY (debug_dump)) generic_dump_logs ("match.pd", 898, __FILE__, __LINE__, true);
   10929                 :           0 :                           return _r;
   10930                 :             :                         }
   10931                 :           0 : next_after_fail1763:;
   10932                 :             :                       }
   10933                 :             :                   }
   10934                 :             :                 }
   10935                 :             :               break;
   10936                 :             :             }
   10937                 :           0 :           default:;
   10938                 :             :           }
   10939                 :           0 :         {
   10940                 :           0 :           tree captures[5] ATTRIBUTE_UNUSED = { _p0, _q20, _q21, _q22, _p1 };
   10941                 :           0 :           if (VECTOR_TYPE_P (type)
   10942                 :           0 :  && (TREE_CODE_CLASS (UNLE_EXPR) != tcc_comparison
   10943                 :           0 :  || types_match (type, TREE_TYPE (captures[2]))
   10944                 :           0 :  || expand_vec_cond_expr_p (type, TREE_TYPE (captures[1]))
   10945                 :             :  || (optimize_vectors_before_lowering_p ()
   10946                 :           0 :  && !expand_vec_cond_expr_p (TREE_TYPE (captures[2]), TREE_TYPE (captures[1]))))
   10947                 :             : )
   10948                 :             :             {
   10949                 :           0 :               if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail1764;
   10950                 :           0 :               {
   10951                 :           0 :                 if (! tree_invariant_p (captures[4])) goto next_after_fail1764;
   10952                 :           0 :                 tree res_op0;
   10953                 :           0 :                 res_op0 = captures[1];
   10954                 :           0 :                 tree res_op1;
   10955                 :           0 :                 {
   10956                 :           0 :                   tree _o1[2], _r1;
   10957                 :           0 :                   _o1[0] = captures[2];
   10958                 :           0 :                   _o1[1] = unshare_expr (captures[4]);
   10959                 :           0 :                   _r1 = fold_build2_loc (loc, UNLE_EXPR, type, _o1[0], _o1[1]);
   10960                 :           0 :                   if (EXPR_P (_r1))
   10961                 :           0 :                     goto next_after_fail1764;
   10962                 :           0 :                   res_op1 = _r1;
   10963                 :             :                 }
   10964                 :           0 :                 tree res_op2;
   10965                 :           0 :                 {
   10966                 :           0 :                   tree _o1[2], _r1;
   10967                 :           0 :                   _o1[0] = captures[3];
   10968                 :           0 :                   _o1[1] = captures[4];
   10969                 :           0 :                   _r1 = fold_build2_loc (loc, UNLE_EXPR, type, _o1[0], _o1[1]);
   10970                 :           0 :                   if (EXPR_P (_r1))
   10971                 :           0 :                     goto next_after_fail1764;
   10972                 :           0 :                   res_op2 = _r1;
   10973                 :             :                 }
   10974                 :           0 :                 tree _r;
   10975                 :           0 :                 _r = fold_build3_loc (loc, VEC_COND_EXPR, type, res_op0, res_op1, res_op2);
   10976                 :           0 :                 if (UNLIKELY (debug_dump)) generic_dump_logs ("match.pd", 899, __FILE__, __LINE__, true);
   10977                 :           0 :                 return _r;
   10978                 :             :               }
   10979                 :           0 : next_after_fail1764:;
   10980                 :             :             }
   10981                 :             :         }
   10982                 :           0 :         break;
   10983                 :             :       }
   10984                 :      966874 :     default:;
   10985                 :             :     }
   10986                 :      966874 :   switch (TREE_CODE (_p1))
   10987                 :             :     {
   10988                 :           0 :     case VEC_COND_EXPR:
   10989                 :           0 :       {
   10990                 :           0 :         tree _q30 = TREE_OPERAND (_p1, 0);
   10991                 :           0 :         tree _q31 = TREE_OPERAND (_p1, 1);
   10992                 :           0 :         tree _q32 = TREE_OPERAND (_p1, 2);
   10993                 :           0 :         {
   10994                 :           0 :           tree captures[5] ATTRIBUTE_UNUSED = { _p0, _p1, _q30, _q31, _q32 };
   10995                 :           0 :           if (VECTOR_TYPE_P (type)
   10996                 :           0 :  && (TREE_CODE_CLASS (UNLE_EXPR) != tcc_comparison
   10997                 :           0 :  || types_match (type, TREE_TYPE (captures[3]))
   10998                 :           0 :  || expand_vec_cond_expr_p (type, TREE_TYPE (captures[2]))
   10999                 :             :  || (optimize_vectors_before_lowering_p ()
   11000                 :           0 :  && !expand_vec_cond_expr_p (TREE_TYPE (captures[3]), TREE_TYPE (captures[2]))))
   11001                 :             : )
   11002                 :             :             {
   11003                 :           0 :               if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail1765;
   11004                 :           0 :               {
   11005                 :           0 :                 if (! tree_invariant_p (captures[0])) goto next_after_fail1765;
   11006                 :           0 :                 tree res_op0;
   11007                 :           0 :                 res_op0 = captures[2];
   11008                 :           0 :                 tree res_op1;
   11009                 :           0 :                 {
   11010                 :           0 :                   tree _o1[2], _r1;
   11011                 :           0 :                   _o1[0] = unshare_expr (captures[0]);
   11012                 :           0 :                   _o1[1] = captures[3];
   11013                 :           0 :                   _r1 = fold_build2_loc (loc, UNLE_EXPR, type, _o1[0], _o1[1]);
   11014                 :           0 :                   if (EXPR_P (_r1))
   11015                 :           0 :                     goto next_after_fail1765;
   11016                 :           0 :                   res_op1 = _r1;
   11017                 :             :                 }
   11018                 :           0 :                 tree res_op2;
   11019                 :           0 :                 {
   11020                 :           0 :                   tree _o1[2], _r1;
   11021                 :           0 :                   _o1[0] = captures[0];
   11022                 :           0 :                   _o1[1] = captures[4];
   11023                 :           0 :                   _r1 = fold_build2_loc (loc, UNLE_EXPR, type, _o1[0], _o1[1]);
   11024                 :           0 :                   if (EXPR_P (_r1))
   11025                 :           0 :                     goto next_after_fail1765;
   11026                 :           0 :                   res_op2 = _r1;
   11027                 :             :                 }
   11028                 :           0 :                 tree _r;
   11029                 :           0 :                 _r = fold_build3_loc (loc, VEC_COND_EXPR, type, res_op0, res_op1, res_op2);
   11030                 :           0 :                 if (UNLIKELY (debug_dump)) generic_dump_logs ("match.pd", 900, __FILE__, __LINE__, true);
   11031                 :           0 :                 return _r;
   11032                 :             :               }
   11033                 :           0 : next_after_fail1765:;
   11034                 :             :             }
   11035                 :             :         }
   11036                 :           0 :         break;
   11037                 :             :       }
   11038                 :      966874 :     default:;
   11039                 :             :     }
   11040                 :      966874 :   if ((_p1 == _p0 && ! TREE_SIDE_EFFECTS (_p1)) || (operand_equal_p (_p1, _p0, 0) && types_match (_p1, _p0)))
   11041                 :             :     {
   11042                 :          30 :       {
   11043                 :          30 :         tree captures[1] ATTRIBUTE_UNUSED = { _p0 };
   11044                 :          30 :         tree res = generic_simplify_537 (loc, type, _p0, _p1, captures, UNLE_EXPR);
   11045                 :          30 :         if (res) return res;
   11046                 :             :       }
   11047                 :             :     }
   11048                 :      966844 :   switch (TREE_CODE (_p0))
   11049                 :             :     {
   11050                 :          96 :     case FLOAT_EXPR:
   11051                 :          96 :       {
   11052                 :          96 :         tree _q20 = TREE_OPERAND (_p0, 0);
   11053                 :          96 :         switch (TREE_CODE (_p1))
   11054                 :             :           {
   11055                 :           0 :           case FLOAT_EXPR:
   11056                 :           0 :             {
   11057                 :           0 :               tree _q40 = TREE_OPERAND (_p1, 0);
   11058                 :           0 :               {
   11059                 :           0 :                 tree captures[3] ATTRIBUTE_UNUSED = { _p0, _q20, _q40 };
   11060                 :           0 :                 tree res = generic_simplify_252 (loc, type, _p0, _p1, captures, UNLE_EXPR, LE_EXPR);
   11061                 :           0 :                 if (res) return res;
   11062                 :             :               }
   11063                 :           0 :               break;
   11064                 :             :             }
   11065                 :             :           default:;
   11066                 :             :           }
   11067                 :             :         break;
   11068                 :             :       }
   11069                 :         112 :     case NEGATE_EXPR:
   11070                 :         112 :       {
   11071                 :         112 :         tree _q20 = TREE_OPERAND (_p0, 0);
   11072                 :         112 :         switch (TREE_CODE (_p1))
   11073                 :             :           {
   11074                 :           0 :           case NEGATE_EXPR:
   11075                 :           0 :             {
   11076                 :           0 :               tree _q40 = TREE_OPERAND (_p1, 0);
   11077                 :           0 :               {
   11078                 :           0 :                 tree captures[2] ATTRIBUTE_UNUSED = { _q20, _q40 };
   11079                 :           0 :                 tree res = generic_simplify_255 (loc, type, _p0, _p1, captures, UNLE_EXPR, UNGE_EXPR);
   11080                 :           0 :                 if (res) return res;
   11081                 :             :               }
   11082                 :           0 :               break;
   11083                 :             :             }
   11084                 :         112 :           default:;
   11085                 :             :           }
   11086                 :         112 :       if (CONSTANT_CLASS_P (_p1))
   11087                 :             :         {
   11088                 :         112 :           {
   11089                 :         112 :             tree captures[2] ATTRIBUTE_UNUSED = { _q20, _p1 };
   11090                 :         112 :             tree res = generic_simplify_256 (loc, type, _p0, _p1, captures, UNLE_EXPR, UNGE_EXPR);
   11091                 :         112 :             if (res) return res;
   11092                 :             :           }
   11093                 :             :         }
   11094                 :             :         break;
   11095                 :             :       }
   11096                 :      966732 :     default:;
   11097                 :             :     }
   11098                 :      966732 :   switch (TREE_CODE (_p1))
   11099                 :             :     {
   11100                 :      558359 :     case REAL_CST:
   11101                 :      558359 :       {
   11102                 :      558359 :         {
   11103                 :      558359 :           tree captures[2] ATTRIBUTE_UNUSED = { _p0, _p1 };
   11104                 :      558359 :           tree res = generic_simplify_535 (loc, type, _p0, _p1, captures, UNLE_EXPR);
   11105                 :      558359 :           if (res) return res;
   11106                 :             :         }
   11107                 :      558357 :         break;
   11108                 :             :       }
   11109                 :             :     default:;
   11110                 :             :     }
   11111                 :             :   return NULL_TREE;
   11112                 :             : }
   11113                 :             : 
   11114                 :             : tree
   11115                 :          85 : generic_simplify_LTGT_EXPR (location_t ARG_UNUSED (loc), enum tree_code ARG_UNUSED (code), const tree ARG_UNUSED (type), tree _p0, tree _p1)
   11116                 :             : {
   11117                 :          85 :   const bool debug_dump = dump_file && (dump_flags & TDF_FOLDING);
   11118                 :          85 :   switch (TREE_CODE (_p0))
   11119                 :             :     {
   11120                 :           0 :     case VEC_COND_EXPR:
   11121                 :           0 :       {
   11122                 :           0 :         tree _q20 = TREE_OPERAND (_p0, 0);
   11123                 :           0 :         tree _q21 = TREE_OPERAND (_p0, 1);
   11124                 :           0 :         tree _q22 = TREE_OPERAND (_p0, 2);
   11125                 :           0 :         switch (TREE_CODE (_p1))
   11126                 :             :           {
   11127                 :           0 :           case VEC_COND_EXPR:
   11128                 :           0 :             {
   11129                 :           0 :               tree _q60 = TREE_OPERAND (_p1, 0);
   11130                 :           0 :               tree _q61 = TREE_OPERAND (_p1, 1);
   11131                 :           0 :               tree _q62 = TREE_OPERAND (_p1, 2);
   11132                 :           0 :               if ((_q60 == _q20 && ! TREE_SIDE_EFFECTS (_q60)) || (operand_equal_p (_q60, _q20, 0) && types_match (_q60, _q20)))
   11133                 :             :                 {
   11134                 :           0 :                   {
   11135                 :           0 :                     tree captures[7] ATTRIBUTE_UNUSED = { _p0, _q20, _q21, _q22, _p1, _q61, _q62 };
   11136                 :           0 :                     if (VECTOR_TYPE_P (type)
   11137                 :           0 :  && (TREE_CODE_CLASS (LTGT_EXPR) != tcc_comparison
   11138                 :           0 :  || types_match (type, TREE_TYPE (captures[2]))
   11139                 :           0 :  || expand_vec_cond_expr_p (type, TREE_TYPE (captures[1]))
   11140                 :             :  || (optimize_vectors_before_lowering_p ()
   11141                 :           0 :  && !expand_vec_cond_expr_p (TREE_TYPE (captures[2]), TREE_TYPE (captures[1]))))
   11142                 :             : )
   11143                 :             :                       {
   11144                 :           0 :                         if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail1775;
   11145                 :           0 :                         {
   11146                 :           0 :                           tree res_op0;
   11147                 :           0 :                           res_op0 = captures[1];
   11148                 :           0 :                           tree res_op1;
   11149                 :           0 :                           {
   11150                 :           0 :                             tree _o1[2], _r1;
   11151                 :           0 :                             _o1[0] = captures[2];
   11152                 :           0 :                             _o1[1] = captures[5];
   11153                 :           0 :                             _r1 = fold_build2_loc (loc, LTGT_EXPR, type, _o1[0], _o1[1]);
   11154                 :           0 :                             if (EXPR_P (_r1))
   11155                 :           0 :                               goto next_after_fail1775;
   11156                 :           0 :                             res_op1 = _r1;
   11157                 :             :                           }
   11158                 :           0 :                           tree res_op2;
   11159                 :           0 :                           {
   11160                 :           0 :                             tree _o1[2], _r1;
   11161                 :           0 :                             _o1[0] = captures[3];
   11162                 :           0 :                             _o1[1] = captures[6];
   11163                 :           0 :                             _r1 = fold_build2_loc (loc, LTGT_EXPR, type, _o1[0], _o1[1]);
   11164                 :           0 :                             if (EXPR_P (_r1))
   11165                 :           0 :                               goto next_after_fail1775;
   11166                 :           0 :                             res_op2 = _r1;
   11167                 :             :                           }
   11168                 :           0 :                           tree _r;
   11169                 :           0 :                           _r = fold_build3_loc (loc, VEC_COND_EXPR, type, res_op0, res_op1, res_op2);
   11170                 :           0 :                           if (UNLIKELY (debug_dump)) generic_dump_logs ("match.pd", 898, __FILE__, __LINE__, true);
   11171                 :           0 :                           return _r;
   11172                 :             :                         }
   11173                 :           0 : next_after_fail1775:;
   11174                 :             :                       }
   11175                 :             :                   }
   11176                 :             :                 }
   11177                 :             :               break;
   11178                 :             :             }
   11179                 :           0 :           default:;
   11180                 :             :           }
   11181                 :           0 :         {
   11182                 :           0 :           tree captures[5] ATTRIBUTE_UNUSED = { _p0, _q20, _q21, _q22, _p1 };
   11183                 :           0 :           if (VECTOR_TYPE_P (type)
   11184                 :           0 :  && (TREE_CODE_CLASS (LTGT_EXPR) != tcc_comparison
   11185                 :           0 :  || types_match (type, TREE_TYPE (captures[2]))
   11186                 :           0 :  || expand_vec_cond_expr_p (type, TREE_TYPE (captures[1]))
   11187                 :             :  || (optimize_vectors_before_lowering_p ()
   11188                 :           0 :  && !expand_vec_cond_expr_p (TREE_TYPE (captures[2]), TREE_TYPE (captures[1]))))
   11189                 :             : )
   11190                 :             :             {
   11191                 :           0 :               if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail1776;
   11192                 :           0 :               {
   11193                 :           0 :                 if (! tree_invariant_p (captures[4])) goto next_after_fail1776;
   11194                 :           0 :                 tree res_op0;
   11195                 :           0 :                 res_op0 = captures[1];
   11196                 :           0 :                 tree res_op1;
   11197                 :           0 :                 {
   11198                 :           0 :                   tree _o1[2], _r1;
   11199                 :           0 :                   _o1[0] = captures[2];
   11200                 :           0 :                   _o1[1] = unshare_expr (captures[4]);
   11201                 :           0 :                   _r1 = fold_build2_loc (loc, LTGT_EXPR, type, _o1[0], _o1[1]);
   11202                 :           0 :                   if (EXPR_P (_r1))
   11203                 :           0 :                     goto next_after_fail1776;
   11204                 :           0 :                   res_op1 = _r1;
   11205                 :             :                 }
   11206                 :           0 :                 tree res_op2;
   11207                 :           0 :                 {
   11208                 :           0 :                   tree _o1[2], _r1;
   11209                 :           0 :                   _o1[0] = captures[3];
   11210                 :           0 :                   _o1[1] = captures[4];
   11211                 :           0 :                   _r1 = fold_build2_loc (loc, LTGT_EXPR, type, _o1[0], _o1[1]);
   11212                 :           0 :                   if (EXPR_P (_r1))
   11213                 :           0 :                     goto next_after_fail1776;
   11214                 :           0 :                   res_op2 = _r1;
   11215                 :             :                 }
   11216                 :           0 :                 tree _r;
   11217                 :           0 :                 _r = fold_build3_loc (loc, VEC_COND_EXPR, type, res_op0, res_op1, res_op2);
   11218                 :           0 :                 if (UNLIKELY (debug_dump)) generic_dump_logs ("match.pd", 899, __FILE__, __LINE__, true);
   11219                 :           0 :                 return _r;
   11220                 :             :               }
   11221                 :           0 : next_after_fail1776:;
   11222                 :             :             }
   11223                 :             :         }
   11224                 :           0 :         break;
   11225                 :             :       }
   11226                 :          85 :     default:;
   11227                 :             :     }
   11228                 :          85 :   switch (TREE_CODE (_p1))
   11229                 :             :     {
   11230                 :           0 :     case VEC_COND_EXPR:
   11231                 :           0 :       {
   11232                 :           0 :         tree _q30 = TREE_OPERAND (_p1, 0);
   11233                 :           0 :         tree _q31 = TREE_OPERAND (_p1, 1);
   11234                 :           0 :         tree _q32 = TREE_OPERAND (_p1, 2);
   11235                 :           0 :         {
   11236                 :           0 :           tree captures[5] ATTRIBUTE_UNUSED = { _p0, _p1, _q30, _q31, _q32 };
   11237                 :           0 :           if (VECTOR_TYPE_P (type)
   11238                 :           0 :  && (TREE_CODE_CLASS (LTGT_EXPR) != tcc_comparison
   11239                 :           0 :  || types_match (type, TREE_TYPE (captures[3]))
   11240                 :           0 :  || expand_vec_cond_expr_p (type, TREE_TYPE (captures[2]))
   11241                 :             :  || (optimize_vectors_before_lowering_p ()
   11242                 :           0 :  && !expand_vec_cond_expr_p (TREE_TYPE (captures[3]), TREE_TYPE (captures[2]))))
   11243                 :             : )
   11244                 :             :             {
   11245                 :           0 :               if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail1777;
   11246                 :           0 :               {
   11247                 :           0 :                 if (! tree_invariant_p (captures[0])) goto next_after_fail1777;
   11248                 :           0 :                 tree res_op0;
   11249                 :           0 :                 res_op0 = captures[2];
   11250                 :           0 :                 tree res_op1;
   11251                 :           0 :                 {
   11252                 :           0 :                   tree _o1[2], _r1;
   11253                 :           0 :                   _o1[0] = unshare_expr (captures[0]);
   11254                 :           0 :                   _o1[1] = captures[3];
   11255                 :           0 :                   _r1 = fold_build2_loc (loc, LTGT_EXPR, type, _o1[0], _o1[1]);
   11256                 :           0 :                   if (EXPR_P (_r1))
   11257                 :           0 :                     goto next_after_fail1777;
   11258                 :           0 :                   res_op1 = _r1;
   11259                 :             :                 }
   11260                 :           0 :                 tree res_op2;
   11261                 :           0 :                 {
   11262                 :           0 :                   tree _o1[2], _r1;
   11263                 :           0 :                   _o1[0] = captures[0];
   11264                 :           0 :                   _o1[1] = captures[4];
   11265                 :           0 :                   _r1 = fold_build2_loc (loc, LTGT_EXPR, type, _o1[0], _o1[1]);
   11266                 :           0 :                   if (EXPR_P (_r1))
   11267                 :           0 :                     goto next_after_fail1777;
   11268                 :           0 :                   res_op2 = _r1;
   11269                 :             :                 }
   11270                 :           0 :                 tree _r;
   11271                 :           0 :                 _r = fold_build3_loc (loc, VEC_COND_EXPR, type, res_op0, res_op1, res_op2);
   11272                 :           0 :                 if (UNLIKELY (debug_dump)) generic_dump_logs ("match.pd", 900, __FILE__, __LINE__, true);
   11273                 :           0 :                 return _r;
   11274                 :             :               }
   11275                 :           0 : next_after_fail1777:;
   11276                 :             :             }
   11277                 :             :         }
   11278                 :           0 :         break;
   11279                 :             :       }
   11280                 :          85 :     default:;
   11281                 :             :     }
   11282                 :          85 :   if ((_p1 == _p0 && ! TREE_SIDE_EFFECTS (_p1)) || (operand_equal_p (_p1, _p0, 0) && types_match (_p1, _p0)))
   11283                 :             :     {
   11284                 :           0 :       {
   11285                 :           0 :         tree captures[1] ATTRIBUTE_UNUSED = { _p0 };
   11286                 :           0 :         if (!flag_trapping_math || !tree_expr_maybe_nan_p (captures[0])
   11287                 :             : )
   11288                 :             :           {
   11289                 :           0 :             if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail1778;
   11290                 :           0 :             {
   11291                 :           0 :               tree _r;
   11292                 :           0 :               _r =  constant_boolean_node (false, type);
   11293                 :           0 :               if (TREE_SIDE_EFFECTS (captures[0]))
   11294                 :           0 :                 _r = build2_loc (loc, COMPOUND_EXPR, type, fold_ignored_result (captures[0]), _r);
   11295                 :           0 :               if (UNLIKELY (debug_dump)) generic_dump_logs ("match.pd", 1041, __FILE__, __LINE__, true);
   11296                 :           0 :               return _r;
   11297                 :             :             }
   11298                 :           0 : next_after_fail1778:;
   11299                 :             :           }
   11300                 :             :       }
   11301                 :             :     }
   11302                 :          85 :   switch (TREE_CODE (_p0))
   11303                 :             :     {
   11304                 :           0 :     case FLOAT_EXPR:
   11305                 :           0 :       {
   11306                 :           0 :         tree _q20 = TREE_OPERAND (_p0, 0);
   11307                 :           0 :         switch (TREE_CODE (_p1))
   11308                 :             :           {
   11309                 :           0 :           case FLOAT_EXPR:
   11310                 :           0 :             {
   11311                 :           0 :               tree _q40 = TREE_OPERAND (_p1, 0);
   11312                 :           0 :               {
   11313                 :           0 :                 tree captures[3] ATTRIBUTE_UNUSED = { _p0, _q20, _q40 };
   11314                 :           0 :                 tree res = generic_simplify_252 (loc, type, _p0, _p1, captures, LTGT_EXPR, NE_EXPR);
   11315                 :           0 :                 if (res) return res;
   11316                 :             :               }
   11317                 :           0 :               break;
   11318                 :             :             }
   11319                 :             :           default:;
   11320                 :             :           }
   11321                 :             :         break;
   11322                 :             :       }
   11323                 :           0 :     case NEGATE_EXPR:
   11324                 :           0 :       {
   11325                 :           0 :         tree _q20 = TREE_OPERAND (_p0, 0);
   11326                 :           0 :         switch (TREE_CODE (_p1))
   11327                 :             :           {
   11328                 :           0 :           case NEGATE_EXPR:
   11329                 :           0 :             {
   11330                 :           0 :               tree _q40 = TREE_OPERAND (_p1, 0);
   11331                 :           0 :               {
   11332                 :           0 :                 tree captures[2] ATTRIBUTE_UNUSED = { _q20, _q40 };
   11333                 :           0 :                 tree res = generic_simplify_255 (loc, type, _p0, _p1, captures, LTGT_EXPR, LTGT_EXPR);
   11334                 :           0 :                 if (res) return res;
   11335                 :             :               }
   11336                 :           0 :               break;
   11337                 :             :             }
   11338                 :           0 :           default:;
   11339                 :             :           }
   11340                 :           0 :       if (CONSTANT_CLASS_P (_p1))
   11341                 :             :         {
   11342                 :           0 :           {
   11343                 :           0 :             tree captures[2] ATTRIBUTE_UNUSED = { _q20, _p1 };
   11344                 :           0 :             tree res = generic_simplify_256 (loc, type, _p0, _p1, captures, LTGT_EXPR, LTGT_EXPR);
   11345                 :           0 :             if (res) return res;
   11346                 :             :           }
   11347                 :             :         }
   11348                 :             :         break;
   11349                 :             :       }
   11350                 :          85 :     default:;
   11351                 :             :     }
   11352                 :          85 :   switch (TREE_CODE (_p1))
   11353                 :             :     {
   11354                 :           0 :     case REAL_CST:
   11355                 :           0 :       {
   11356                 :           0 :         {
   11357                 :           0 :           tree captures[2] ATTRIBUTE_UNUSED = { _p0, _p1 };
   11358                 :           0 :           tree res = generic_simplify_535 (loc, type, _p0, _p1, captures, LTGT_EXPR);
   11359                 :           0 :           if (res) return res;
   11360                 :             :         }
   11361                 :           0 :         break;
   11362                 :             :       }
   11363                 :             :     default:;
   11364                 :             :     }
   11365                 :             :   return NULL_TREE;
   11366                 :             : }
   11367                 :             : 
   11368                 :             : tree
   11369                 :      701038 : generic_simplify_VEC_PERM_EXPR (location_t ARG_UNUSED (loc), enum tree_code ARG_UNUSED (code), const tree ARG_UNUSED (type), tree _p0, tree _p1, tree _p2)
   11370                 :             : {
   11371                 :      701038 :   const bool debug_dump = dump_file && (dump_flags & TDF_FOLDING);
   11372                 :      701038 :   switch (TREE_CODE (_p0))
   11373                 :             :     {
   11374                 :           0 :     case PLUS_EXPR:
   11375                 :           0 :       {
   11376                 :           0 :         tree _q20 = TREE_OPERAND (_p0, 0);
   11377                 :           0 :         tree _q21 = TREE_OPERAND (_p0, 1);
   11378                 :           0 :         switch (TREE_CODE (_p1))
   11379                 :             :           {
   11380                 :           0 :           case MINUS_EXPR:
   11381                 :           0 :             {
   11382                 :           0 :               tree _q50 = TREE_OPERAND (_p1, 0);
   11383                 :           0 :               tree _q51 = TREE_OPERAND (_p1, 1);
   11384                 :           0 :               switch (TREE_CODE (_p2))
   11385                 :             :                 {
   11386                 :           0 :                 case VECTOR_CST:
   11387                 :           0 :                   {
   11388                 :           0 :                     {
   11389                 :           0 :                       tree captures[5] ATTRIBUTE_UNUSED = { _q20, _q21, _q50, _q51, _p2 };
   11390                 :           0 :                       tree res = generic_simplify_587 (loc, type, _p0, _p1, _p2, captures, PLUS_EXPR, MINUS_EXPR);
   11391                 :           0 :                       if (res) return res;
   11392                 :             :                     }
   11393                 :           0 :                     break;
   11394                 :             :                   }
   11395                 :             :                 default:;
   11396                 :             :                 }
   11397                 :             :               break;
   11398                 :             :             }
   11399                 :             :           default:;
   11400                 :             :           }
   11401                 :             :         break;
   11402                 :             :       }
   11403                 :           0 :     case MINUS_EXPR:
   11404                 :           0 :       {
   11405                 :           0 :         tree _q20 = TREE_OPERAND (_p0, 0);
   11406                 :           0 :         tree _q21 = TREE_OPERAND (_p0, 1);
   11407                 :           0 :         switch (TREE_CODE (_p1))
   11408                 :             :           {
   11409                 :           0 :           case PLUS_EXPR:
   11410                 :           0 :             {
   11411                 :           0 :               tree _q50 = TREE_OPERAND (_p1, 0);
   11412                 :           0 :               tree _q51 = TREE_OPERAND (_p1, 1);
   11413                 :           0 :               switch (TREE_CODE (_p2))
   11414                 :             :                 {
   11415                 :           0 :                 case VECTOR_CST:
   11416                 :           0 :                   {
   11417                 :           0 :                     {
   11418                 :           0 :                       tree captures[5] ATTRIBUTE_UNUSED = { _q20, _q21, _q50, _q51, _p2 };
   11419                 :           0 :                       tree res = generic_simplify_587 (loc, type, _p0, _p1, _p2, captures, MINUS_EXPR, PLUS_EXPR);
   11420                 :           0 :                       if (res) return res;
   11421                 :             :                     }
   11422                 :           0 :                     break;
   11423                 :             :                   }
   11424                 :             :                 default:;
   11425                 :             :                 }
   11426                 :             :               break;
   11427                 :             :             }
   11428                 :             :           default:;
   11429                 :             :           }
   11430                 :             :         break;
   11431                 :             :       }
   11432                 :      701038 :     default:;
   11433                 :             :     }
   11434                 :      701038 :   switch (TREE_CODE (_p2))
   11435                 :             :     {
   11436                 :      689809 :     case VECTOR_CST:
   11437                 :      689809 :       {
   11438                 :      689809 :         {
   11439                 :      689809 :           tree captures[3] ATTRIBUTE_UNUSED = { _p0, _p1, _p2 };
   11440                 :      689809 :           {
   11441                 :      689809 :  tree op0 = captures[0], op1 = captures[1], op2 = captures[2];
   11442                 :      689809 :  machine_mode result_mode = TYPE_MODE (type);
   11443                 :      689809 :  machine_mode op_mode = TYPE_MODE (TREE_TYPE (op0));
   11444                 :      689809 :  vec_perm_builder builder;
   11445                 :      689809 :               if (tree_to_vec_perm_builder (&builder, op2)
   11446                 :             : )
   11447                 :             :                 {
   11448                 :      689797 :                   {
   11449                 :      689797 :  poly_uint64 nelts = TYPE_VECTOR_SUBPARTS (type);
   11450                 :      689797 :  bool single_arg = (op0 == op1);
   11451                 :     1204035 :  vec_perm_indices sel (builder, single_arg ? 1 : 2, nelts);
   11452                 :      689797 :                       if (sel.series_p (0, 1, 0, 1)
   11453                 :             : )
   11454                 :             :                         {
   11455                 :        1344 :                           if (TREE_SIDE_EFFECTS (captures[0])) goto next_after_fail1960;
   11456                 :        1344 :                           if (TREE_SIDE_EFFECTS (captures[1])) goto next_after_fail1960;
   11457                 :        1344 :                           if (TREE_SIDE_EFFECTS (captures[2])) goto next_after_fail1960;
   11458                 :        1344 :                           if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail1960;
   11459                 :        1344 :                           {
   11460                 :        1344 :                             tree _r;
   11461                 :        1344 :                             _r =  op0;
   11462                 :        1344 :                             if (UNLIKELY (debug_dump)) generic_dump_logs ("match.pd", 1100, __FILE__, __LINE__, true);
   11463                 :        1344 :                             return _r;
   11464                 :             :                           }
   11465                 :      678960 : next_after_fail1960:;
   11466                 :             :                         }
   11467                 :             :                       else
   11468                 :             :                         {
   11469                 :      688453 :                           if (sel.series_p (0, 1, nelts, 1)
   11470                 :             : )
   11471                 :             :                             {
   11472                 :          13 :                               if (TREE_SIDE_EFFECTS (captures[0])) goto next_after_fail1961;
   11473                 :          13 :                               if (TREE_SIDE_EFFECTS (captures[1])) goto next_after_fail1961;
   11474                 :          13 :                               if (TREE_SIDE_EFFECTS (captures[2])) goto next_after_fail1961;
   11475                 :          13 :                               if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail1961;
   11476                 :          13 :                               {
   11477                 :          13 :                                 tree _r;
   11478                 :          13 :                                 _r =  op1;
   11479                 :          13 :                                 if (UNLIKELY (debug_dump)) generic_dump_logs ("match.pd", 1101, __FILE__, __LINE__, true);
   11480                 :          13 :                                 return _r;
   11481                 :             :                               }
   11482                 :      678960 : next_after_fail1961:;
   11483                 :             :                             }
   11484                 :             :                           else
   11485                 :             :                             {
   11486                 :      688440 :                               {
   11487                 :      688440 :  if (!single_arg)
   11488                 :             :  {
   11489                 :      513557 :  if (sel.all_from_input_p (0))
   11490                 :             :  op1 = op0;
   11491                 :      513543 :  else if (sel.all_from_input_p (1))
   11492                 :             :  {
   11493                 :          31 :  op0 = op1;
   11494                 :          31 :  sel.rotate_inputs (1);
   11495                 :             :  }
   11496                 :      513512 :  else if (known_ge (poly_uint64 (sel[0]), nelts))
   11497                 :             :  {
   11498                 :         140 :  std::swap (op0, op1);
   11499                 :         140 :  sel.rotate_inputs (1);
   11500                 :             :  }
   11501                 :             :  }
   11502                 :      688440 :  gassign *def;
   11503                 :      688440 :  tree cop0 = op0, cop1 = op1;
   11504                 :      688440 :  if (TREE_CODE (op0) == SSA_NAME
   11505                 :      664335 :  && (def = dyn_cast <gassign *> (SSA_NAME_DEF_STMT (op0)))
   11506                 :     1319522 :  && gimple_assign_rhs_code (def) == CONSTRUCTOR)
   11507                 :        4387 :  cop0 = gimple_assign_rhs1 (def);
   11508                 :      688440 :  if (TREE_CODE (op1) == SSA_NAME
   11509                 :      660569 :  && (def = dyn_cast <gassign *> (SSA_NAME_DEF_STMT (op1)))
   11510                 :     1316636 :  && gimple_assign_rhs_code (def) == CONSTRUCTOR)
   11511                 :        8991 :  cop1 = gimple_assign_rhs1 (def);
   11512                 :      688440 :  tree t;
   11513                 :      688440 :                                   if ((TREE_CODE (cop0) == VECTOR_CST
   11514                 :      667083 :  || TREE_CODE (cop0) == CONSTRUCTOR)
   11515                 :       25932 :  && (TREE_CODE (cop1) == VECTOR_CST
   11516                 :       15387 :  || TREE_CODE (cop1) == CONSTRUCTOR)
   11517                 :      702175 :  && (t = fold_vec_perm (type, cop0, cop1, sel))
   11518                 :             : )
   11519                 :             :                                     {
   11520                 :        7137 :                                       if (TREE_SIDE_EFFECTS (captures[0])) goto next_after_fail1962;
   11521                 :        7137 :                                       if (TREE_SIDE_EFFECTS (captures[1])) goto next_after_fail1962;
   11522                 :        7137 :                                       if (TREE_SIDE_EFFECTS (captures[2])) goto next_after_fail1962;
   11523                 :        7137 :                                       if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail1962;
   11524                 :        7137 :                                       {
   11525                 :        7137 :                                         tree _r;
   11526                 :        7137 :                                         _r =  t;
   11527                 :        7137 :                                         if (UNLIKELY (debug_dump)) generic_dump_logs ("match.pd", 1102, __FILE__, __LINE__, true);
   11528                 :        7137 :                                         return _r;
   11529                 :             :                                       }
   11530                 :      678960 : next_after_fail1962:;
   11531                 :             :                                     }
   11532                 :             :                                   else
   11533                 :             :                                     {
   11534                 :      681303 :                                       {
   11535                 :      681303 :  bool changed = (op0 == op1 && !single_arg);
   11536                 :      681303 :  tree ins = NULL_TREE;
   11537                 :      681303 :  unsigned at = 0;
   11538                 :      681303 :  if (op_mode != BLKmode
   11539                 :      674158 :  && (TREE_CODE (cop0) == VECTOR_CST
   11540                 :      658884 :  || TREE_CODE (cop0) == CONSTRUCTOR
   11541                 :      656089 :  || TREE_CODE (cop1) == VECTOR_CST
   11542                 :      641461 :  || TREE_CODE (cop1) == CONSTRUCTOR))
   11543                 :             :  {
   11544                 :       38209 :  bool insert_first_p = sel.series_p (1, 1, nelts + 1, 1);
   11545                 :       38209 :  if (insert_first_p)
   11546                 :             :  {
   11547                 :         646 :  at = 0;
   11548                 :         646 :  if ((ins = fold_read_from_vector (cop0, sel[0])))
   11549                 :         104 :  op0 = op1;
   11550                 :             :  }
   11551                 :         646 :  if (!insert_first_p || (!ins && maybe_eq (nelts, 2u)))
   11552                 :             :  {
   11553                 :       37988 :  unsigned int encoded_nelts = sel.encoding ().encoded_nelts ();
   11554                 :       74060 :  for (at = 0; at < encoded_nelts; ++at)
   11555                 :       74000 :  if (maybe_ne (sel[at], at))
   11556                 :             :  break;
   11557                 :       37988 :  if (at < encoded_nelts
   11558                 :       37988 :  && (known_eq (at + 1, nelts)
   11559                 :       37060 :  || sel.series_p (at + 1, 1, at + 1, 1)))
   11560                 :             :  {
   11561                 :        1517 :  if (known_lt (poly_uint64 (sel[at]), nelts))
   11562                 :           0 :  ins = fold_read_from_vector (cop0, sel[at]);
   11563                 :             :  else
   11564                 :        1517 :  ins = fold_read_from_vector (cop1, sel[at] - nelts);
   11565                 :             :  }
   11566                 :             :  }
   11567                 :             :  }
   11568                 :      681303 :  if (!ins && sel.encoding () != builder)
   11569                 :             :  {
   11570                 :        1113 :  tree oldop2 = op2;
   11571                 :        1113 :  if (sel.ninputs () == 2
   11572                 :        1113 :  || can_vec_perm_const_p (result_mode, op_mode, sel, false))
   11573                 :         676 :  op2 = vec_perm_indices_to_tree (TREE_TYPE (op2), sel);
   11574                 :             :  else
   11575                 :             :  {
   11576                 :         437 :  vec_perm_indices sel2 (builder, 2, nelts);
   11577                 :         437 :  if (can_vec_perm_const_p (result_mode, op_mode, sel2, false))
   11578                 :         164 :  op2 = vec_perm_indices_to_tree (TREE_TYPE (op2), sel2);
   11579                 :             :  else
   11580                 :         273 :  op2 = vec_perm_indices_to_tree (TREE_TYPE (op2), sel);
   11581                 :         437 :  }
   11582                 :        1113 :  if (!operand_equal_p (op2, oldop2, 0))
   11583                 :         949 :  changed = true;
   11584                 :             :  }
   11585                 :      681303 :                                           if (ins
   11586                 :             : )
   11587                 :             :                                             {
   11588                 :        1393 :                                               if (TREE_SIDE_EFFECTS (captures[0])) goto next_after_fail1963;
   11589                 :        1393 :                                               if (TREE_SIDE_EFFECTS (captures[1])) goto next_after_fail1963;
   11590                 :        1393 :                                               if (TREE_SIDE_EFFECTS (captures[2])) goto next_after_fail1963;
   11591                 :        1393 :                                               if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail1963;
   11592                 :        1393 :                                               {
   11593                 :        1393 :                                                 tree res_op0;
   11594                 :        1393 :                                                 res_op0 =  op0;
   11595                 :        1393 :                                                 tree res_op1;
   11596                 :        1393 :                                                 res_op1 =  ins;
   11597                 :        1393 :                                                 tree res_op2;
   11598                 :        1393 :                                                 res_op2 =  bitsize_int (at * vector_element_bits (type));
   11599                 :        1393 :                                                 tree _r;
   11600                 :        1393 :                                                 _r = fold_build3_loc (loc, BIT_INSERT_EXPR, type, res_op0, res_op1, res_op2);
   11601                 :        1393 :                                                 if (UNLIKELY (debug_dump)) generic_dump_logs ("match.pd", 1103, __FILE__, __LINE__, true);
   11602                 :       10837 :                                                 return _r;
   11603                 :             :                                               }
   11604                 :             : next_after_fail1963:;
   11605                 :             :                                             }
   11606                 :             :                                           else
   11607                 :             :                                             {
   11608                 :      679910 :                                               if (changed
   11609                 :             : )
   11610                 :             :                                                 {
   11611                 :         950 :                                                   if (TREE_SIDE_EFFECTS (captures[0])) goto next_after_fail1964;
   11612                 :         950 :                                                   if (TREE_SIDE_EFFECTS (captures[1])) goto next_after_fail1964;
   11613                 :         950 :                                                   if (TREE_SIDE_EFFECTS (captures[2])) goto next_after_fail1964;
   11614                 :         950 :                                                   if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail1964;
   11615                 :         950 :                                                   {
   11616                 :         950 :                                                     tree res_op0;
   11617                 :         950 :                                                     res_op0 =  op0;
   11618                 :         950 :                                                     tree res_op1;
   11619                 :         950 :                                                     res_op1 =  op1;
   11620                 :         950 :                                                     tree res_op2;
   11621                 :         950 :                                                     res_op2 =  op2;
   11622                 :         950 :                                                     tree _r;
   11623                 :         950 :                                                     _r = fold_build3_loc (loc, VEC_PERM_EXPR, type, res_op0, res_op1, res_op2);
   11624                 :         950 :                                                     if (UNLIKELY (debug_dump)) generic_dump_logs ("match.pd", 1104, __FILE__, __LINE__, true);
   11625                 :         950 :                                                     return _r;
   11626                 :             :                                                   }
   11627                 :             : next_after_fail1964:;
   11628                 :             :                                                 }
   11629                 :             :                                             }
   11630                 :             :                                       }
   11631                 :             :                                     }
   11632                 :             :                               }
   11633                 :             :                             }
   11634                 :             :                         }
   11635                 :      689797 :                   }
   11636                 :             :                 }
   11637                 :       10837 :           }
   11638                 :             :         }
   11639                 :      678972 :         break;
   11640                 :             :       }
   11641                 :      690201 :     default:;
   11642                 :             :     }
   11643                 :      690201 :   switch (TREE_CODE (_p0))
   11644                 :             :     {
   11645                 :           0 :     case VIEW_CONVERT_EXPR:
   11646                 :           0 :       {
   11647                 :           0 :         tree _q20 = TREE_OPERAND (_p0, 0);
   11648                 :           0 :         switch (TREE_CODE (_q20))
   11649                 :             :           {
   11650                 :           0 :           case VEC_PERM_EXPR:
   11651                 :           0 :             {
   11652                 :           0 :               tree _q30 = TREE_OPERAND (_q20, 0);
   11653                 :           0 :               tree _q31 = TREE_OPERAND (_q20, 1);
   11654                 :           0 :               tree _q32 = TREE_OPERAND (_q20, 2);
   11655                 :           0 :               switch (TREE_CODE (_q32))
   11656                 :             :                 {
   11657                 :           0 :                 case VECTOR_CST:
   11658                 :           0 :                   {
   11659                 :           0 :                     if ((_p1 == _p0 && ! TREE_SIDE_EFFECTS (_p1)) || (operand_equal_p (_p1, _p0, 0) && types_match (_p1, _p0)))
   11660                 :             :                       {
   11661                 :           0 :                         switch (TREE_CODE (_p2))
   11662                 :             :                           {
   11663                 :           0 :                           case VECTOR_CST:
   11664                 :           0 :                             {
   11665                 :           0 :                               {
   11666                 :           0 :                                 tree captures[6] ATTRIBUTE_UNUSED = { _p0, _q20, _q30, _q31, _q32, _p2 };
   11667                 :           0 :                                 if (TYPE_VECTOR_SUBPARTS (type).is_constant ()
   11668                 :             : )
   11669                 :             :                                   {
   11670                 :           0 :                                     {
   11671                 :           0 :  machine_mode result_mode = TYPE_MODE (type);
   11672                 :           0 :  machine_mode op_mode = TYPE_MODE (TREE_TYPE (captures[2]));
   11673                 :           0 :  int nelts = TYPE_VECTOR_SUBPARTS (type).to_constant ();
   11674                 :           0 :  vec_perm_builder builder0;
   11675                 :           0 :  vec_perm_builder builder1;
   11676                 :           0 :  vec_perm_builder builder2 (nelts, nelts, 1);
   11677                 :           0 :                                         if (tree_to_vec_perm_builder (&builder0, captures[4])
   11678                 :           0 :  && tree_to_vec_perm_builder (&builder1, captures[5])
   11679                 :           0 :  && TYPE_SIZE (TREE_TYPE (TREE_TYPE (captures[0])))
   11680                 :           0 :  == TYPE_SIZE (TREE_TYPE (TREE_TYPE (captures[1])))
   11681                 :             : )
   11682                 :             :                                           {
   11683                 :           0 :                                             {
   11684                 :           0 :  vec_perm_indices sel0 (builder0, 2, nelts);
   11685                 :           0 :  vec_perm_indices sel1 (builder1, 2, nelts);
   11686                 :           0 :  for (int i = 0; i < nelts; i++)
   11687                 :           0 :  builder2.quick_push (sel0[sel1[i].to_constant ()]);
   11688                 :           0 :  vec_perm_indices sel2 (builder2, 2, nelts);
   11689                 :           0 :  tree op0 = NULL_TREE;
   11690                 :           0 :  if (can_vec_perm_const_p (result_mode, op_mode, sel2, false)
   11691                 :           0 :  || (single_use (captures[0])
   11692                 :           0 :  ? (!can_vec_perm_const_p (result_mode, op_mode, sel0, false)
   11693                 :           0 :  || !can_vec_perm_const_p (result_mode, op_mode, sel1, false))
   11694                 :             :  : !can_vec_perm_const_p (result_mode, op_mode, sel1, false)))
   11695                 :           0 :  op0 = vec_perm_indices_to_tree (TREE_TYPE (captures[5]), sel2);
   11696                 :           0 :                                                 if (op0
   11697                 :             : )
   11698                 :             :                                                   {
   11699                 :           0 :                                                     if (TREE_SIDE_EFFECTS (captures[0])) goto next_after_fail1965;
   11700                 :           0 :                                                     if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail1965;
   11701                 :           0 :                                                     {
   11702                 :           0 :                                                       tree res_op0;
   11703                 :           0 :                                                       {
   11704                 :           0 :                                                         tree _o1[3], _r1;
   11705                 :           0 :                                                         _o1[0] = captures[2];
   11706                 :           0 :                                                         _o1[1] = captures[3];
   11707                 :           0 :                                                         _o1[2] =  op0;
   11708                 :           0 :                                                         _r1 = fold_build3_loc (loc, VEC_PERM_EXPR, TREE_TYPE (_o1[0]), _o1[0], _o1[1], _o1[2]);
   11709                 :           0 :                                                         res_op0 = _r1;
   11710                 :             :                                                       }
   11711                 :           0 :                                                       tree _r;
   11712                 :           0 :                                                       _r = fold_build1_loc (loc, VIEW_CONVERT_EXPR, type, res_op0);
   11713                 :           0 :                                                       if (TREE_SIDE_EFFECTS (captures[4]))
   11714                 :           0 :                                                         _r = build2_loc (loc, COMPOUND_EXPR, type, fold_ignored_result (captures[4]), _r);
   11715                 :           0 :                                                       if (TREE_SIDE_EFFECTS (captures[5]))
   11716                 :           0 :                                                         _r = build2_loc (loc, COMPOUND_EXPR, type, fold_ignored_result (captures[5]), _r);
   11717                 :           0 :                                                       if (UNLIKELY (debug_dump)) generic_dump_logs ("match.pd", 1105, __FILE__, __LINE__, true);
   11718                 :           0 :                                                       return _r;
   11719                 :             :                                                     }
   11720                 :           0 : next_after_fail1965:;
   11721                 :             :                                                   }
   11722                 :           0 :                                             }
   11723                 :             :                                           }
   11724                 :           0 :                                     }
   11725                 :             :                                   }
   11726                 :             :                               }
   11727                 :           0 :                               break;
   11728                 :             :                             }
   11729                 :             :                           default:;
   11730                 :             :                           }
   11731                 :             :                       }
   11732                 :             :                     break;
   11733                 :             :                   }
   11734                 :             :                 default:;
   11735                 :             :                 }
   11736                 :             :               break;
   11737                 :             :             }
   11738                 :             :           default:;
   11739                 :             :           }
   11740                 :             :         break;
   11741                 :             :       }
   11742                 :           0 :     case VEC_PERM_EXPR:
   11743                 :           0 :       {
   11744                 :           0 :         tree _q20 = TREE_OPERAND (_p0, 0);
   11745                 :           0 :         tree _q21 = TREE_OPERAND (_p0, 1);
   11746                 :           0 :         tree _q22 = TREE_OPERAND (_p0, 2);
   11747                 :           0 :         switch (TREE_CODE (_q22))
   11748                 :             :           {
   11749                 :           0 :           case VECTOR_CST:
   11750                 :           0 :             {
   11751                 :           0 :               if ((_p1 == _p0 && ! TREE_SIDE_EFFECTS (_p1)) || (operand_equal_p (_p1, _p0, 0) && types_match (_p1, _p0)))
   11752                 :             :                 {
   11753                 :           0 :                   switch (TREE_CODE (_p2))
   11754                 :             :                     {
   11755                 :           0 :                     case VECTOR_CST:
   11756                 :           0 :                       {
   11757                 :           0 :                         {
   11758                 :           0 :                           tree captures[6] ATTRIBUTE_UNUSED = { _p0, _p0, _q20, _q21, _q22, _p2 };
   11759                 :           0 :                           if (TYPE_VECTOR_SUBPARTS (type).is_constant ()
   11760                 :             : )
   11761                 :             :                             {
   11762                 :           0 :                               {
   11763                 :           0 :  machine_mode result_mode = TYPE_MODE (type);
   11764                 :           0 :  machine_mode op_mode = TYPE_MODE (TREE_TYPE (captures[2]));
   11765                 :           0 :  int nelts = TYPE_VECTOR_SUBPARTS (type).to_constant ();
   11766                 :           0 :  vec_perm_builder builder0;
   11767                 :           0 :  vec_perm_builder builder1;
   11768                 :           0 :  vec_perm_builder builder2 (nelts, nelts, 1);
   11769                 :           0 :                                   if (tree_to_vec_perm_builder (&builder0, captures[4])
   11770                 :           0 :  && tree_to_vec_perm_builder (&builder1, captures[5])
   11771                 :           0 :  && TYPE_SIZE (TREE_TYPE (TREE_TYPE (captures[0])))
   11772                 :           0 :  == TYPE_SIZE (TREE_TYPE (TREE_TYPE (captures[1])))
   11773                 :             : )
   11774                 :             :                                     {
   11775                 :           0 :                                       {
   11776                 :           0 :  vec_perm_indices sel0 (builder0, 2, nelts);
   11777                 :           0 :  vec_perm_indices sel1 (builder1, 2, nelts);
   11778                 :           0 :  for (int i = 0; i < nelts; i++)
   11779                 :           0 :  builder2.quick_push (sel0[sel1[i].to_constant ()]);
   11780                 :           0 :  vec_perm_indices sel2 (builder2, 2, nelts);
   11781                 :           0 :  tree op0 = NULL_TREE;
   11782                 :           0 :  if (can_vec_perm_const_p (result_mode, op_mode, sel2, false)
   11783                 :           0 :  || (single_use (captures[0])
   11784                 :           0 :  ? (!can_vec_perm_const_p (result_mode, op_mode, sel0, false)
   11785                 :           0 :  || !can_vec_perm_const_p (result_mode, op_mode, sel1, false))
   11786                 :             :  : !can_vec_perm_const_p (result_mode, op_mode, sel1, false)))
   11787                 :           0 :  op0 = vec_perm_indices_to_tree (TREE_TYPE (captures[5]), sel2);
   11788                 :           0 :                                           if (op0
   11789                 :             : )
   11790                 :             :                                             {
   11791                 :           0 :                                               if (TREE_SIDE_EFFECTS (captures[0])) goto next_after_fail1966;
   11792                 :           0 :                                               if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail1966;
   11793                 :           0 :                                               {
   11794                 :           0 :                                                 tree res_op0;
   11795                 :           0 :                                                 {
   11796                 :           0 :                                                   tree _o1[3], _r1;
   11797                 :           0 :                                                   _o1[0] = captures[2];
   11798                 :           0 :                                                   _o1[1] = captures[3];
   11799                 :           0 :                                                   _o1[2] =  op0;
   11800                 :           0 :                                                   _r1 = fold_build3_loc (loc, VEC_PERM_EXPR, TREE_TYPE (_o1[0]), _o1[0], _o1[1], _o1[2]);
   11801                 :           0 :                                                   res_op0 = _r1;
   11802                 :             :                                                 }
   11803                 :           0 :                                                 tree _r;
   11804                 :           0 :                                                 _r = fold_build1_loc (loc, VIEW_CONVERT_EXPR, type, res_op0);
   11805                 :           0 :                                                 if (TREE_SIDE_EFFECTS (captures[4]))
   11806                 :           0 :                                                   _r = build2_loc (loc, COMPOUND_EXPR, type, fold_ignored_result (captures[4]), _r);
   11807                 :           0 :                                                 if (TREE_SIDE_EFFECTS (captures[5]))
   11808                 :           0 :                                                   _r = build2_loc (loc, COMPOUND_EXPR, type, fold_ignored_result (captures[5]), _r);
   11809                 :           0 :                                                 if (UNLIKELY (debug_dump)) generic_dump_logs ("match.pd", 1105, __FILE__, __LINE__, true);
   11810                 :           0 :                                                 return _r;
   11811                 :             :                                               }
   11812                 :           0 : next_after_fail1966:;
   11813                 :             :                                             }
   11814                 :           0 :                                       }
   11815                 :             :                                     }
   11816                 :           0 :                               }
   11817                 :             :                             }
   11818                 :             :                         }
   11819                 :           0 :                         break;
   11820                 :             :                       }
   11821                 :             :                     default:;
   11822                 :             :                     }
   11823                 :             :                 }
   11824                 :             :               break;
   11825                 :             :             }
   11826                 :             :           default:;
   11827                 :             :           }
   11828                 :             :         break;
   11829                 :             :       }
   11830                 :      690201 :     default:;
   11831                 :             :     }
   11832                 :      690201 : if (tree_vec_same_elem_p (_p0))
   11833                 :             :   {
   11834                 :       13823 :     if ((_p1 == _p0 && ! TREE_SIDE_EFFECTS (_p1)) || (operand_equal_p (_p1, _p0, 0) && types_match (_p1, _p0)))
   11835                 :             :       {
   11836                 :           0 :         {
   11837                 :           0 :           tree captures[2] ATTRIBUTE_UNUSED = { _p0, _p2 };
   11838                 :           0 :           if (types_match (type, TREE_TYPE (captures[0]))
   11839                 :             : )
   11840                 :             :             {
   11841                 :           0 :               if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail1967;
   11842                 :           0 :               {
   11843                 :           0 :                 tree _r;
   11844                 :           0 :                 _r = captures[0];
   11845                 :           0 :                 if (TREE_SIDE_EFFECTS (captures[1]))
   11846                 :           0 :                   _r = build2_loc (loc, COMPOUND_EXPR, type, fold_ignored_result (captures[1]), _r);
   11847                 :           0 :                 if (UNLIKELY (debug_dump)) generic_dump_logs ("match.pd", 1106, __FILE__, __LINE__, true);
   11848                 :           0 :                 return _r;
   11849                 :             :               }
   11850                 :           0 : next_after_fail1967:;
   11851                 :             :             }
   11852                 :             :           else
   11853                 :             :             {
   11854                 :           0 :               {
   11855                 :           0 :  tree elem = uniform_vector_p (captures[0]);
   11856                 :           0 :                   if (elem
   11857                 :             : )
   11858                 :             :                     {
   11859                 :           0 :                       if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail1968;
   11860                 :           0 :                       {
   11861                 :           0 :                         tree _r;
   11862                 :           0 :                         _r =  build_vector_from_val (type, elem);
   11863                 :           0 :                         if (TREE_SIDE_EFFECTS (captures[0]))
   11864                 :           0 :                           _r = build2_loc (loc, COMPOUND_EXPR, type, fold_ignored_result (captures[0]), _r);
   11865                 :           0 :                         if (TREE_SIDE_EFFECTS (captures[1]))
   11866                 :           0 :                           _r = build2_loc (loc, COMPOUND_EXPR, type, fold_ignored_result (captures[1]), _r);
   11867                 :           0 :                         if (UNLIKELY (debug_dump)) generic_dump_logs ("match.pd", 1107, __FILE__, __LINE__, true);
   11868                 :           0 :                         return _r;
   11869                 :             :                       }
   11870                 :           0 : next_after_fail1968:;
   11871                 :             :                     }
   11872                 :             :               }
   11873                 :             :             }
   11874                 :             :         }
   11875                 :             :       }
   11876                 :             :   }
   11877                 :      690201 :   switch (TREE_CODE (_p1))
   11878                 :             :     {
   11879                 :           0 :     case VEC_PERM_EXPR:
   11880                 :           0 :       {
   11881                 :           0 :         tree _q30 = TREE_OPERAND (_p1, 0);
   11882                 :           0 :         tree _q31 = TREE_OPERAND (_p1, 1);
   11883                 :           0 :         tree _q32 = TREE_OPERAND (_p1, 2);
   11884                 :           0 :         switch (TREE_CODE (_q32))
   11885                 :             :           {
   11886                 :           0 :           case VECTOR_CST:
   11887                 :           0 :             {
   11888                 :           0 :               switch (TREE_CODE (_p2))
   11889                 :             :                 {
   11890                 :           0 :                 case VECTOR_CST:
   11891                 :           0 :                   {
   11892                 :           0 :                     {
   11893                 :           0 :                       tree captures[6] ATTRIBUTE_UNUSED = { _p0, _p1, _q30, _q31, _q32, _p2 };
   11894                 :           0 :                       if (TYPE_VECTOR_SUBPARTS (type).is_constant ()
   11895                 :             : )
   11896                 :             :                         {
   11897                 :           0 :                           {
   11898                 :           0 :  machine_mode result_mode = TYPE_MODE (type);
   11899                 :           0 :  machine_mode op_mode = TYPE_MODE (TREE_TYPE (captures[2]));
   11900                 :           0 :  int nelts = TYPE_VECTOR_SUBPARTS (type).to_constant ();
   11901                 :           0 :  vec_perm_builder builder0;
   11902                 :           0 :  vec_perm_builder builder1;
   11903                 :           0 :  vec_perm_builder builder2 (nelts, nelts, 2);
   11904                 :           0 :                               if (tree_to_vec_perm_builder (&builder0, captures[4])
   11905                 :           0 :  && tree_to_vec_perm_builder (&builder1, captures[5])
   11906                 :             : )
   11907                 :             :                                 {
   11908                 :           0 :                                   {
   11909                 :           0 :  vec_perm_indices sel0 (builder0, 2, nelts);
   11910                 :           0 :  vec_perm_indices sel1 (builder1, 2, nelts);
   11911                 :           0 :  bool use_1 = false, use_2 = false;
   11912                 :           0 :  for (int i = 0; i < nelts; i++)
   11913                 :             :  {
   11914                 :           0 :  if (known_lt ((poly_uint64)sel1[i], sel1.nelts_per_input ()))
   11915                 :           0 :  builder2.quick_push (sel1[i]);
   11916                 :             :  else
   11917                 :             :  {
   11918                 :           0 :  poly_uint64 j = sel0[(sel1[i] - sel1.nelts_per_input ())
   11919                 :           0 :  .to_constant ()];
   11920                 :           0 :  if (known_lt (j, sel0.nelts_per_input ()))
   11921                 :             :  use_1 = true;
   11922                 :             :  else
   11923                 :             :  {
   11924                 :           0 :  use_2 = true;
   11925                 :           0 :  j -= sel0.nelts_per_input ();
   11926                 :             :  }
   11927                 :           0 :  builder2.quick_push (j + sel1.nelts_per_input ());
   11928                 :             :  }
   11929                 :             :  }
   11930                 :           0 :                                       if (use_1 ^ use_2
   11931                 :             : )
   11932                 :             :                                         {
   11933                 :           0 :                                           {
   11934                 :           0 :  vec_perm_indices sel2 (builder2, 2, nelts);
   11935                 :           0 :  tree op0 = NULL_TREE;
   11936                 :           0 :  if (can_vec_perm_const_p (result_mode, op_mode, sel2, false)
   11937                 :           0 :  || (single_use (captures[1])
   11938                 :           0 :  ? (!can_vec_perm_const_p (result_mode, op_mode, sel0, false)
   11939                 :           0 :  || !can_vec_perm_const_p (result_mode, op_mode, sel1, false))
   11940                 :             :  : !can_vec_perm_const_p (result_mode, op_mode, sel1, false)))
   11941                 :           0 :  op0 = vec_perm_indices_to_tree (TREE_TYPE (captures[5]), sel2);
   11942                 :           0 :                                               if (op0
   11943                 :             : )
   11944                 :             :                                                 {
   11945                 :           0 :                                                   if (use_1
   11946                 :             : )
   11947                 :             :                                                     {
   11948                 :           0 :                                                       if (TREE_SIDE_EFFECTS (captures[1])) goto next_after_fail1969;
   11949                 :           0 :                                                       if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail1969;
   11950                 :           0 :                                                       {
   11951                 :           0 :                                                         tree res_op0;
   11952                 :           0 :                                                         res_op0 = captures[0];
   11953                 :           0 :                                                         tree res_op1;
   11954                 :           0 :                                                         res_op1 = captures[2];
   11955                 :           0 :                                                         tree res_op2;
   11956                 :           0 :                                                         res_op2 =  op0;
   11957                 :           0 :                                                         tree _r;
   11958                 :           0 :                                                         _r = fold_build3_loc (loc, VEC_PERM_EXPR, type, res_op0, res_op1, res_op2);
   11959                 :           0 :                                                         if (TREE_SIDE_EFFECTS (captures[3]))
   11960                 :           0 :                                                           _r = build2_loc (loc, COMPOUND_EXPR, type, fold_ignored_result (captures[3]), _r);
   11961                 :           0 :                                                         if (TREE_SIDE_EFFECTS (captures[4]))
   11962                 :           0 :                                                           _r = build2_loc (loc, COMPOUND_EXPR, type, fold_ignored_result (captures[4]), _r);
   11963                 :           0 :                                                         if (TREE_SIDE_EFFECTS (captures[5]))
   11964                 :           0 :                                                           _r = build2_loc (loc, COMPOUND_EXPR, type, fold_ignored_result (captures[5]), _r);
   11965                 :           0 :                                                         if (UNLIKELY (debug_dump)) generic_dump_logs ("match.pd", 1108, __FILE__, __LINE__, true);
   11966                 :           0 :                                                         return _r;
   11967                 :             :                                                       }
   11968                 :           0 : next_after_fail1969:;
   11969                 :             :                                                     }
   11970                 :             :                                                   else
   11971                 :             :                                                     {
   11972                 :           0 :                                                       if (use_2
   11973                 :             : )
   11974                 :             :                                                         {
   11975                 :           0 :                                                           if (TREE_SIDE_EFFECTS (captures[1])) goto next_after_fail1970;
   11976                 :           0 :                                                           if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail1970;
   11977                 :           0 :                                                           {
   11978                 :           0 :                                                             tree res_op0;
   11979                 :           0 :                                                             res_op0 = captures[0];
   11980                 :           0 :                                                             tree res_op1;
   11981                 :           0 :                                                             res_op1 = captures[3];
   11982                 :           0 :                                                             tree res_op2;
   11983                 :           0 :                                                             res_op2 =  op0;
   11984                 :           0 :                                                             tree _r;
   11985                 :           0 :                                                             _r = fold_build3_loc (loc, VEC_PERM_EXPR, type, res_op0, res_op1, res_op2);
   11986                 :           0 :                                                             if (TREE_SIDE_EFFECTS (captures[2]))
   11987                 :           0 :                                                               _r = build2_loc (loc, COMPOUND_EXPR, type, fold_ignored_result (captures[2]), _r);
   11988                 :           0 :                                                             if (TREE_SIDE_EFFECTS (captures[4]))
   11989                 :           0 :                                                               _r = build2_loc (loc, COMPOUND_EXPR, type, fold_ignored_result (captures[4]), _r);
   11990                 :           0 :                                                             if (TREE_SIDE_EFFECTS (captures[5]))
   11991                 :           0 :                                                               _r = build2_loc (loc, COMPOUND_EXPR, type, fold_ignored_result (captures[5]), _r);
   11992                 :           0 :                                                             if (UNLIKELY (debug_dump)) generic_dump_logs ("match.pd", 1109, __FILE__, __LINE__, true);
   11993                 :           0 :                                                             return _r;
   11994                 :             :                                                           }
   11995                 :           0 : next_after_fail1970:;
   11996                 :             :                                                         }
   11997                 :             :                                                     }
   11998                 :             :                                                 }
   11999                 :           0 :                                           }
   12000                 :             :                                         }
   12001                 :           0 :                                   }
   12002                 :             :                                 }
   12003                 :           0 :                           }
   12004                 :             :                         }
   12005                 :             :                     }
   12006                 :           0 :                     break;
   12007                 :             :                   }
   12008                 :             :                 default:;
   12009                 :             :                 }
   12010                 :             :               break;
   12011                 :             :             }
   12012                 :             :           default:;
   12013                 :             :           }
   12014                 :             :         break;
   12015                 :             :       }
   12016                 :      690201 :     default:;
   12017                 :             :     }
   12018                 :      690201 :   switch (TREE_CODE (_p0))
   12019                 :             :     {
   12020                 :           0 :     case VEC_PERM_EXPR:
   12021                 :           0 :       {
   12022                 :           0 :         tree _q20 = TREE_OPERAND (_p0, 0);
   12023                 :           0 :         tree _q21 = TREE_OPERAND (_p0, 1);
   12024                 :           0 :         tree _q22 = TREE_OPERAND (_p0, 2);
   12025                 :           0 :         switch (TREE_CODE (_q22))
   12026                 :             :           {
   12027                 :           0 :           case VECTOR_CST:
   12028                 :           0 :             {
   12029                 :           0 :               switch (TREE_CODE (_p2))
   12030                 :             :                 {
   12031                 :           0 :                 case VECTOR_CST:
   12032                 :           0 :                   {
   12033                 :           0 :                     {
   12034                 :           0 :                       tree captures[6] ATTRIBUTE_UNUSED = { _p0, _q20, _q21, _q22, _p1, _p2 };
   12035                 :           0 :                       if (TYPE_VECTOR_SUBPARTS (type).is_constant ()
   12036                 :             : )
   12037                 :             :                         {
   12038                 :           0 :                           {
   12039                 :           0 :  machine_mode result_mode = TYPE_MODE (type);
   12040                 :           0 :  machine_mode op_mode = TYPE_MODE (TREE_TYPE (captures[1]));
   12041                 :           0 :  int nelts = TYPE_VECTOR_SUBPARTS (type).to_constant ();
   12042                 :           0 :  vec_perm_builder builder0;
   12043                 :           0 :  vec_perm_builder builder1;
   12044                 :           0 :  vec_perm_builder builder2 (nelts, nelts, 2);
   12045                 :           0 :                               if (tree_to_vec_perm_builder (&builder0, captures[3])
   12046                 :           0 :  && tree_to_vec_perm_builder (&builder1, captures[5])
   12047                 :             : )
   12048                 :             :                                 {
   12049                 :           0 :                                   {
   12050                 :           0 :  vec_perm_indices sel0 (builder0, 2, nelts);
   12051                 :           0 :  vec_perm_indices sel1 (builder1, 2, nelts);
   12052                 :           0 :  bool use_1 = false, use_2 = false;
   12053                 :           0 :  for (int i = 0; i < nelts; i++)
   12054                 :             :  {
   12055                 :           0 :  if (known_ge ((poly_uint64)sel1[i], sel1.nelts_per_input ()))
   12056                 :           0 :  builder2.quick_push (sel1[i]);
   12057                 :             :  else
   12058                 :             :  {
   12059                 :           0 :  poly_uint64 j = sel0[sel1[i].to_constant ()];
   12060                 :           0 :  if (known_lt (j, sel0.nelts_per_input ()))
   12061                 :             :  use_1 = true;
   12062                 :             :  else
   12063                 :             :  {
   12064                 :           0 :  use_2 = true;
   12065                 :           0 :  j -= sel0.nelts_per_input ();
   12066                 :             :  }
   12067                 :           0 :  builder2.quick_push (j);
   12068                 :             :  }
   12069                 :             :  }
   12070                 :           0 :                                       if (use_1 ^ use_2
   12071                 :             : )
   12072                 :             :                                         {
   12073                 :           0 :                                           {
   12074                 :           0 :  vec_perm_indices sel2 (builder2, 2, nelts);
   12075                 :           0 :  tree op0 = NULL_TREE;
   12076                 :           0 :  if (can_vec_perm_const_p (result_mode, op_mode, sel2, false)
   12077                 :           0 :  || (single_use (captures[0])
   12078                 :           0 :  ? (!can_vec_perm_const_p (result_mode, op_mode, sel0, false)
   12079                 :           0 :  || !can_vec_perm_const_p (result_mode, op_mode, sel1, false))
   12080                 :             :  : !can_vec_perm_const_p (result_mode, op_mode, sel1, false)))
   12081                 :           0 :  op0 = vec_perm_indices_to_tree (TREE_TYPE (captures[5]), sel2);
   12082                 :           0 :                                               if (op0
   12083                 :             : )
   12084                 :             :                                                 {
   12085                 :           0 :                                                   if (use_1
   12086                 :             : )
   12087                 :             :                                                     {
   12088                 :           0 :                                                       if (TREE_SIDE_EFFECTS (captures[0])) goto next_after_fail1971;
   12089                 :           0 :                                                       if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail1971;
   12090                 :           0 :                                                       {
   12091                 :           0 :                                                         tree res_op0;
   12092                 :           0 :                                                         res_op0 = captures[1];
   12093                 :           0 :                                                         tree res_op1;
   12094                 :           0 :                                                         res_op1 = captures[4];
   12095                 :           0 :                                                         tree res_op2;
   12096                 :           0 :                                                         res_op2 =  op0;
   12097                 :           0 :                                                         tree _r;
   12098                 :           0 :                                                         _r = fold_build3_loc (loc, VEC_PERM_EXPR, type, res_op0, res_op1, res_op2);
   12099                 :           0 :                                                         if (TREE_SIDE_EFFECTS (captures[2]))
   12100                 :           0 :                                                           _r = build2_loc (loc, COMPOUND_EXPR, type, fold_ignored_result (captures[2]), _r);
   12101                 :           0 :                                                         if (TREE_SIDE_EFFECTS (captures[3]))
   12102                 :           0 :                                                           _r = build2_loc (loc, COMPOUND_EXPR, type, fold_ignored_result (captures[3]), _r);
   12103                 :           0 :                                                         if (TREE_SIDE_EFFECTS (captures[5]))
   12104                 :           0 :                                                           _r = build2_loc (loc, COMPOUND_EXPR, type, fold_ignored_result (captures[5]), _r);
   12105                 :           0 :                                                         if (UNLIKELY (debug_dump)) generic_dump_logs ("match.pd", 1110, __FILE__, __LINE__, true);
   12106                 :           0 :                                                         return _r;
   12107                 :             :                                                       }
   12108                 :           0 : next_after_fail1971:;
   12109                 :             :                                                     }
   12110                 :             :                                                   else
   12111                 :             :                                                     {
   12112                 :           0 :                                                       if (use_2
   12113                 :             : )
   12114                 :             :                                                         {
   12115                 :           0 :                                                           if (TREE_SIDE_EFFECTS (captures[0])) goto next_after_fail1972;
   12116                 :           0 :                                                           if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail1972;
   12117                 :           0 :                                                           {
   12118                 :           0 :                                                             tree res_op0;
   12119                 :           0 :                                                             res_op0 = captures[2];
   12120                 :           0 :                                                             tree res_op1;
   12121                 :           0 :                                                             res_op1 = captures[4];
   12122                 :           0 :                                                             tree res_op2;
   12123                 :           0 :                                                             res_op2 =  op0;
   12124                 :           0 :                                                             tree _r;
   12125                 :           0 :                                                             _r = fold_build3_loc (loc, VEC_PERM_EXPR, type, res_op0, res_op1, res_op2);
   12126                 :           0 :                                                             if (TREE_SIDE_EFFECTS (captures[1]))
   12127                 :           0 :                                                               _r = build2_loc (loc, COMPOUND_EXPR, type, fold_ignored_result (captures[1]), _r);
   12128                 :           0 :                                                             if (TREE_SIDE_EFFECTS (captures[3]))
   12129                 :           0 :                                                               _r = build2_loc (loc, COMPOUND_EXPR, type, fold_ignored_result (captures[3]), _r);
   12130                 :           0 :                                                             if (TREE_SIDE_EFFECTS (captures[5]))
   12131                 :           0 :                                                               _r = build2_loc (loc, COMPOUND_EXPR, type, fold_ignored_result (captures[5]), _r);
   12132                 :           0 :                                                             if (UNLIKELY (debug_dump)) generic_dump_logs ("match.pd", 1111, __FILE__, __LINE__, true);
   12133                 :           0 :                                                             return _r;
   12134                 :             :                                                           }
   12135                 :           0 : next_after_fail1972:;
   12136                 :             :                                                         }
   12137                 :             :                                                     }
   12138                 :             :                                                 }
   12139                 :           0 :                                           }
   12140                 :             :                                         }
   12141                 :           0 :                                   }
   12142                 :             :                                 }
   12143                 :           0 :                           }
   12144                 :             :                         }
   12145                 :             :                     }
   12146                 :           0 :                     break;
   12147                 :             :                   }
   12148                 :             :                 default:;
   12149                 :             :                 }
   12150                 :             :               break;
   12151                 :             :             }
   12152                 :             :           default:;
   12153                 :             :           }
   12154                 :             :         break;
   12155                 :             :       }
   12156                 :             :     default:;
   12157                 :             :     }
   12158                 :             :   return NULL_TREE;
   12159                 :             : }
   12160                 :             : #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.