LCOV - code coverage report
Current view: top level - /mnt/build/buildbot/bld/build-lcov/gcc - generic-match-10.cc (source / functions) Coverage Total Hit
Test: gcc.info Lines: 40.2 % 6992 2808
Test Date: 2025-09-20 13:40:47 Functions: 68.2 % 66 45
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                 :   933633958 : tree_nop_convert (tree t, tree *res_ops)
      11                 :             : {
      12                 :   933633958 :   const tree type = TREE_TYPE (t);
      13                 :   933633958 :   const bool debug_dump = dump_file && (dump_flags & TDF_FOLDING);
      14                 :   933633958 :   if (TREE_SIDE_EFFECTS (t)) return false;
      15                 :   898075062 :   switch (TREE_CODE (t))
      16                 :             :     {
      17                 :   174006950 :     CASE_CONVERT:
      18                 :   174006950 :       {
      19                 :   174006950 :         tree _p0 = TREE_OPERAND (t, 0);
      20                 :   174006950 :         {
      21                 :   174006950 :           tree captures[1] ATTRIBUTE_UNUSED = { _p0 };
      22                 :   174006950 :           if (tree_nop_conversion_p (type, TREE_TYPE (captures[0]))
      23                 :             : )
      24                 :             :             {
      25                 :   140192640 :               {
      26                 :   140192640 :                 res_ops[0] = captures[0];
      27                 :   140192640 :                 if (UNLIKELY (debug_dump)) generic_dump_logs ("match.pd", 0, __FILE__, __LINE__, false);
      28                 :   140192640 :                 return true;
      29                 :             :               }
      30                 :             :             }
      31                 :             :         }
      32                 :             :         break;
      33                 :             :       }
      34                 :     4085162 :     case VIEW_CONVERT_EXPR:
      35                 :     4085162 :       {
      36                 :     4085162 :         tree _p0 = TREE_OPERAND (t, 0);
      37                 :     4085162 :         {
      38                 :     4085162 :           tree captures[1] ATTRIBUTE_UNUSED = { _p0 };
      39                 :     3029456 :           if (VECTOR_TYPE_P (type) && VECTOR_TYPE_P (TREE_TYPE (captures[0]))
      40                 :     3029438 :  && known_eq (TYPE_VECTOR_SUBPARTS (type),
      41                 :             :  TYPE_VECTOR_SUBPARTS (TREE_TYPE (captures[0])))
      42                 :     6222558 :  && tree_nop_conversion_p (TREE_TYPE (type), TREE_TYPE (TREE_TYPE (captures[0])))
      43                 :             : )
      44                 :             :             {
      45                 :     2137390 :               {
      46                 :     2137390 :                 res_ops[0] = captures[0];
      47                 :     2137390 :                 if (UNLIKELY (debug_dump)) generic_dump_logs ("match.pd", 1, __FILE__, __LINE__, false);
      48                 :     2137390 :                 return true;
      49                 :             :               }
      50                 :             :             }
      51                 :             :         }
      52                 :     1947772 :         break;
      53                 :             :       }
      54                 :             :     default:;
      55                 :             :     }
      56                 :             :   return false;
      57                 :             : }
      58                 :             : 
      59                 :             : bool
      60                 :    84965261 : tree_with_known_nonzero_bits (tree t)
      61                 :             : {
      62                 :    84965261 :   const tree type = TREE_TYPE (t);
      63                 :    84965261 :   const bool debug_dump = dump_file && (dump_flags & TDF_FOLDING);
      64                 :    84965261 :   if (TREE_SIDE_EFFECTS (t)) return false;
      65                 :    80153520 :   switch (TREE_CODE (t))
      66                 :             :     {
      67                 :      281332 :     case BIT_IOR_EXPR:
      68                 :      281332 :       {
      69                 :      281332 :         tree _p0 = TREE_OPERAND (t, 0);
      70                 :      281332 :         tree _p1 = TREE_OPERAND (t, 1);
      71                 :      281332 :         if (tree_with_known_nonzero_bits_1 (_p0))
      72                 :             :           {
      73                 :      273651 :             {
      74                 :      273651 :               tree captures[2] ATTRIBUTE_UNUSED = { _p0, _p1 };
      75                 :      273651 :               {
      76                 :      273651 :                 if (UNLIKELY (debug_dump)) generic_dump_logs ("match.pd", 39, __FILE__, __LINE__, false);
      77                 :      273651 :                 return true;
      78                 :             :               }
      79                 :             :             }
      80                 :             :           }
      81                 :        7681 :         if (tree_with_known_nonzero_bits_1 (_p1))
      82                 :             :           {
      83                 :         210 :             {
      84                 :         210 :               tree captures[2] ATTRIBUTE_UNUSED = { _p1, _p0 };
      85                 :         210 :               {
      86                 :         210 :                 if (UNLIKELY (debug_dump)) generic_dump_logs ("match.pd", 39, __FILE__, __LINE__, false);
      87                 :         210 :                 return true;
      88                 :             :               }
      89                 :             :             }
      90                 :             :           }
      91                 :             :         break;
      92                 :             :       }
      93                 :    79879659 :     default:;
      94                 :             :     }
      95                 :    79879659 : if (tree_with_known_nonzero_bits_1 (t))
      96                 :             :   {
      97                 :    40542166 :     {
      98                 :    40542166 :       tree captures[1] ATTRIBUTE_UNUSED = { t };
      99                 :    40542166 :       {
     100                 :    40542166 :         if (UNLIKELY (debug_dump)) generic_dump_logs ("match.pd", 40, __FILE__, __LINE__, false);
     101                 :    40542166 :         return true;
     102                 :             :       }
     103                 :             :     }
     104                 :             :   }
     105                 :             :   return false;
     106                 :             : }
     107                 :             : 
     108                 :             : bool
     109                 :           0 : tree_signed_integer_sat_sub (tree t, tree *res_ops)
     110                 :             : {
     111                 :           0 :   const tree type = TREE_TYPE (t);
     112                 :           0 :   const bool debug_dump = dump_file && (dump_flags & TDF_FOLDING);
     113                 :           0 :   if (TREE_SIDE_EFFECTS (t)) return false;
     114                 :           0 :   switch (TREE_CODE (t))
     115                 :             :     {
     116                 :           0 :     case COND_EXPR:
     117                 :           0 :       {
     118                 :           0 :         tree _p0 = TREE_OPERAND (t, 0);
     119                 :           0 :         tree _p1 = TREE_OPERAND (t, 1);
     120                 :           0 :         tree _p2 = TREE_OPERAND (t, 2);
     121                 :           0 :         switch (TREE_CODE (_p0))
     122                 :             :           {
     123                 :           0 :           case LT_EXPR:
     124                 :           0 :             {
     125                 :           0 :               tree _q20 = TREE_OPERAND (_p0, 0);
     126                 :           0 :               tree _q21 = TREE_OPERAND (_p0, 1);
     127                 :           0 :               switch (TREE_CODE (_q20))
     128                 :             :                 {
     129                 :           0 :                 case BIT_AND_EXPR:
     130                 :           0 :                   {
     131                 :           0 :                     tree _q30 = TREE_OPERAND (_q20, 0);
     132                 :           0 :                     tree _q31 = TREE_OPERAND (_q20, 1);
     133                 :           0 :                     switch (TREE_CODE (_q30))
     134                 :             :                       {
     135                 :           0 :                       case BIT_XOR_EXPR:
     136                 :           0 :                         {
     137                 :           0 :                           tree _q40 = TREE_OPERAND (_q30, 0);
     138                 :           0 :                           tree _q41 = TREE_OPERAND (_q30, 1);
     139                 :           0 :                           switch (TREE_CODE (_q31))
     140                 :             :                             {
     141                 :           0 :                             case BIT_XOR_EXPR:
     142                 :           0 :                               {
     143                 :           0 :                                 tree _q70 = TREE_OPERAND (_q31, 0);
     144                 :           0 :                                 tree _q71 = TREE_OPERAND (_q31, 1);
     145                 :           0 :                                 if ((_q70 == _q40 && ! TREE_SIDE_EFFECTS (_q70)) || (operand_equal_p (_q70, _q40, 0) && types_match (_q70, _q40)))
     146                 :             :                                   {
     147                 :           0 :                                     {
     148                 :           0 :                                       tree _q71_pops[1];
     149                 :           0 :                                       if (tree_nop_convert (_q71, _q71_pops))
     150                 :             :                                         {
     151                 :           0 :                                           tree _q90 = _q71_pops[0];
     152                 :           0 :                                           switch (TREE_CODE (_q90))
     153                 :             :                                             {
     154                 :           0 :                                             case MINUS_EXPR:
     155                 :           0 :                                               {
     156                 :           0 :                                                 tree _q100 = TREE_OPERAND (_q90, 0);
     157                 :           0 :                                                 tree _q101 = TREE_OPERAND (_q90, 1);
     158                 :           0 :                                                 {
     159                 :           0 :                                                   tree _q100_pops[1];
     160                 :           0 :                                                   if (tree_nop_convert (_q100, _q100_pops))
     161                 :             :                                                     {
     162                 :           0 :                                                       tree _q110 = _q100_pops[0];
     163                 :           0 :                                                       if ((_q110 == _q40 && ! TREE_SIDE_EFFECTS (_q110)) || (operand_equal_p (_q110, _q40, 0) && types_match (_q110, _q40)))
     164                 :             :                                                         {
     165                 :           0 :                                                           {
     166                 :           0 :                                                             tree _q101_pops[1];
     167                 :           0 :                                                             if (tree_nop_convert (_q101, _q101_pops))
     168                 :             :                                                               {
     169                 :           0 :                                                                 tree _q130 = _q101_pops[0];
     170                 :           0 :                                                                 if ((_q130 == _q41 && ! TREE_SIDE_EFFECTS (_q130)) || (operand_equal_p (_q130, _q41, 0) && types_match (_q130, _q41)))
     171                 :             :                                                                   {
     172                 :           0 :                                                                     if (integer_zerop (_q21))
     173                 :             :                                                                       {
     174                 :           0 :                                                                         {
     175                 :           0 :                                                                           tree _p1_pops[1];
     176                 :           0 :                                                                           if (tree_signed_integer_sat_val (_p1, _p1_pops))
     177                 :             :                                                                             {
     178                 :           0 :                                                                               tree _q160 = _p1_pops[0];
     179                 :           0 :                                                                               if ((_q160 == _q40 && ! TREE_SIDE_EFFECTS (_q160)) || (operand_equal_p (_q160, _q40, 0) && types_match (_q160, _q40)))
     180                 :             :                                                                                 {
     181                 :           0 :                                                                                   if ((_p2 == _q71 && ! TREE_SIDE_EFFECTS (_p2)) || (operand_equal_p (_p2, _q71, 0) && types_match (_p2, _q71)))
     182                 :             :                                                                                     {
     183                 :           0 :                                                                                       {
     184                 :           0 :                                                                                         tree captures[3] ATTRIBUTE_UNUSED = { _q40, _q41, _q71 };
     185                 :           0 :                                                                                         if (INTEGRAL_TYPE_P (type) && !TYPE_UNSIGNED (type)
     186                 :             : )
     187                 :             :                                                                                           {
     188                 :           0 :                                                                                             {
     189                 :           0 :                                                                                               res_ops[0] = captures[0];
     190                 :           0 :                                                                                               res_ops[1] = captures[1];
     191                 :           0 :                                                                                               if (UNLIKELY (debug_dump)) generic_dump_logs ("match.pd", 83, __FILE__, __LINE__, false);
     192                 :           0 :                                                                                               return true;
     193                 :             :                                                                                             }
     194                 :             :                                                                                           }
     195                 :             :                                                                                       }
     196                 :             :                                                                                     }
     197                 :             :                                                                                 }
     198                 :             :                                                                             }
     199                 :             :                                                                         }
     200                 :             :                                                                       }
     201                 :             :                                                                   }
     202                 :             :                                                               }
     203                 :             :                                                           }
     204                 :             :                                                         }
     205                 :             :                                                     }
     206                 :             :                                                 }
     207                 :           0 :                                                 break;
     208                 :             :                                               }
     209                 :             :                                             default:;
     210                 :             :                                             }
     211                 :             :                                         }
     212                 :             :                                     }
     213                 :             :                                   }
     214                 :           0 :                                 if ((_q70 == _q41 && ! TREE_SIDE_EFFECTS (_q70)) || (operand_equal_p (_q70, _q41, 0) && types_match (_q70, _q41)))
     215                 :             :                                   {
     216                 :           0 :                                     {
     217                 :           0 :                                       tree _q71_pops[1];
     218                 :           0 :                                       if (tree_nop_convert (_q71, _q71_pops))
     219                 :             :                                         {
     220                 :           0 :                                           tree _q90 = _q71_pops[0];
     221                 :           0 :                                           switch (TREE_CODE (_q90))
     222                 :             :                                             {
     223                 :           0 :                                             case MINUS_EXPR:
     224                 :           0 :                                               {
     225                 :           0 :                                                 tree _q100 = TREE_OPERAND (_q90, 0);
     226                 :           0 :                                                 tree _q101 = TREE_OPERAND (_q90, 1);
     227                 :           0 :                                                 {
     228                 :           0 :                                                   tree _q100_pops[1];
     229                 :           0 :                                                   if (tree_nop_convert (_q100, _q100_pops))
     230                 :             :                                                     {
     231                 :           0 :                                                       tree _q110 = _q100_pops[0];
     232                 :           0 :                                                       if ((_q110 == _q41 && ! TREE_SIDE_EFFECTS (_q110)) || (operand_equal_p (_q110, _q41, 0) && types_match (_q110, _q41)))
     233                 :             :                                                         {
     234                 :           0 :                                                           {
     235                 :           0 :                                                             tree _q101_pops[1];
     236                 :           0 :                                                             if (tree_nop_convert (_q101, _q101_pops))
     237                 :             :                                                               {
     238                 :           0 :                                                                 tree _q130 = _q101_pops[0];
     239                 :           0 :                                                                 if ((_q130 == _q40 && ! TREE_SIDE_EFFECTS (_q130)) || (operand_equal_p (_q130, _q40, 0) && types_match (_q130, _q40)))
     240                 :             :                                                                   {
     241                 :           0 :                                                                     if (integer_zerop (_q21))
     242                 :             :                                                                       {
     243                 :           0 :                                                                         {
     244                 :           0 :                                                                           tree _p1_pops[1];
     245                 :           0 :                                                                           if (tree_signed_integer_sat_val (_p1, _p1_pops))
     246                 :             :                                                                             {
     247                 :           0 :                                                                               tree _q160 = _p1_pops[0];
     248                 :           0 :                                                                               if ((_q160 == _q41 && ! TREE_SIDE_EFFECTS (_q160)) || (operand_equal_p (_q160, _q41, 0) && types_match (_q160, _q41)))
     249                 :             :                                                                                 {
     250                 :           0 :                                                                                   if ((_p2 == _q71 && ! TREE_SIDE_EFFECTS (_p2)) || (operand_equal_p (_p2, _q71, 0) && types_match (_p2, _q71)))
     251                 :             :                                                                                     {
     252                 :           0 :                                                                                       {
     253                 :           0 :                                                                                         tree captures[3] ATTRIBUTE_UNUSED = { _q41, _q40, _q71 };
     254                 :           0 :                                                                                         if (INTEGRAL_TYPE_P (type) && !TYPE_UNSIGNED (type)
     255                 :             : )
     256                 :             :                                                                                           {
     257                 :           0 :                                                                                             {
     258                 :           0 :                                                                                               res_ops[0] = captures[0];
     259                 :           0 :                                                                                               res_ops[1] = captures[1];
     260                 :           0 :                                                                                               if (UNLIKELY (debug_dump)) generic_dump_logs ("match.pd", 83, __FILE__, __LINE__, false);
     261                 :           0 :                                                                                               return true;
     262                 :             :                                                                                             }
     263                 :             :                                                                                           }
     264                 :             :                                                                                       }
     265                 :             :                                                                                     }
     266                 :             :                                                                                 }
     267                 :             :                                                                             }
     268                 :             :                                                                         }
     269                 :             :                                                                       }
     270                 :             :                                                                   }
     271                 :             :                                                               }
     272                 :             :                                                           }
     273                 :             :                                                         }
     274                 :             :                                                     }
     275                 :             :                                                 }
     276                 :           0 :                                                 break;
     277                 :             :                                               }
     278                 :             :                                             default:;
     279                 :             :                                             }
     280                 :             :                                         }
     281                 :             :                                     }
     282                 :             :                                   }
     283                 :             :                                 break;
     284                 :             :                               }
     285                 :           0 :                             default:;
     286                 :             :                             }
     287                 :           0 :                           {
     288                 :           0 :                             tree _q41_pops[1];
     289                 :           0 :                             if (tree_nop_convert (_q41, _q41_pops))
     290                 :             :                               {
     291                 :           0 :                                 tree _q60 = _q41_pops[0];
     292                 :           0 :                                 switch (TREE_CODE (_q60))
     293                 :             :                                   {
     294                 :           0 :                                   case MINUS_EXPR:
     295                 :           0 :                                     {
     296                 :           0 :                                       tree _q70 = TREE_OPERAND (_q60, 0);
     297                 :           0 :                                       tree _q71 = TREE_OPERAND (_q60, 1);
     298                 :           0 :                                       {
     299                 :           0 :                                         tree _q70_pops[1];
     300                 :           0 :                                         if (tree_nop_convert (_q70, _q70_pops))
     301                 :             :                                           {
     302                 :           0 :                                             tree _q80 = _q70_pops[0];
     303                 :           0 :                                             if ((_q80 == _q40 && ! TREE_SIDE_EFFECTS (_q80)) || (operand_equal_p (_q80, _q40, 0) && types_match (_q80, _q40)))
     304                 :             :                                               {
     305                 :           0 :                                                 {
     306                 :           0 :                                                   tree _q71_pops[1];
     307                 :           0 :                                                   if (tree_nop_convert (_q71, _q71_pops))
     308                 :             :                                                     {
     309                 :           0 :                                                       tree _q100 = _q71_pops[0];
     310                 :           0 :                                                       switch (TREE_CODE (_q31))
     311                 :             :                                                         {
     312                 :           0 :                                                         case BIT_XOR_EXPR:
     313                 :           0 :                                                           {
     314                 :           0 :                                                             tree _q120 = TREE_OPERAND (_q31, 0);
     315                 :           0 :                                                             tree _q121 = TREE_OPERAND (_q31, 1);
     316                 :           0 :                                                             if ((_q120 == _q40 && ! TREE_SIDE_EFFECTS (_q120)) || (operand_equal_p (_q120, _q40, 0) && types_match (_q120, _q40)))
     317                 :             :                                                               {
     318                 :           0 :                                                                 if ((_q121 == _q100 && ! TREE_SIDE_EFFECTS (_q121)) || (operand_equal_p (_q121, _q100, 0) && types_match (_q121, _q100)))
     319                 :             :                                                                   {
     320                 :           0 :                                                                     if (integer_zerop (_q21))
     321                 :             :                                                                       {
     322                 :           0 :                                                                         {
     323                 :           0 :                                                                           tree _p1_pops[1];
     324                 :           0 :                                                                           if (tree_signed_integer_sat_val (_p1, _p1_pops))
     325                 :             :                                                                             {
     326                 :           0 :                                                                               tree _q160 = _p1_pops[0];
     327                 :           0 :                                                                               if ((_q160 == _q40 && ! TREE_SIDE_EFFECTS (_q160)) || (operand_equal_p (_q160, _q40, 0) && types_match (_q160, _q40)))
     328                 :             :                                                                                 {
     329                 :           0 :                                                                                   if ((_p2 == _q41 && ! TREE_SIDE_EFFECTS (_p2)) || (operand_equal_p (_p2, _q41, 0) && types_match (_p2, _q41)))
     330                 :             :                                                                                     {
     331                 :           0 :                                                                                       {
     332                 :           0 :                                                                                         tree captures[3] ATTRIBUTE_UNUSED = { _q40, _q100, _q41 };
     333                 :           0 :                                                                                         if (INTEGRAL_TYPE_P (type) && !TYPE_UNSIGNED (type)
     334                 :             : )
     335                 :             :                                                                                           {
     336                 :           0 :                                                                                             {
     337                 :           0 :                                                                                               res_ops[0] = captures[0];
     338                 :           0 :                                                                                               res_ops[1] = captures[1];
     339                 :           0 :                                                                                               if (UNLIKELY (debug_dump)) generic_dump_logs ("match.pd", 83, __FILE__, __LINE__, false);
     340                 :           0 :                                                                                               return true;
     341                 :             :                                                                                             }
     342                 :             :                                                                                           }
     343                 :             :                                                                                       }
     344                 :             :                                                                                     }
     345                 :             :                                                                                 }
     346                 :             :                                                                             }
     347                 :             :                                                                         }
     348                 :             :                                                                       }
     349                 :             :                                                                   }
     350                 :             :                                                               }
     351                 :           0 :                                                             if ((_q120 == _q100 && ! TREE_SIDE_EFFECTS (_q120)) || (operand_equal_p (_q120, _q100, 0) && types_match (_q120, _q100)))
     352                 :             :                                                               {
     353                 :           0 :                                                                 if ((_q121 == _q40 && ! TREE_SIDE_EFFECTS (_q121)) || (operand_equal_p (_q121, _q40, 0) && types_match (_q121, _q40)))
     354                 :             :                                                                   {
     355                 :           0 :                                                                     if (integer_zerop (_q21))
     356                 :             :                                                                       {
     357                 :           0 :                                                                         {
     358                 :           0 :                                                                           tree _p1_pops[1];
     359                 :           0 :                                                                           if (tree_signed_integer_sat_val (_p1, _p1_pops))
     360                 :             :                                                                             {
     361                 :           0 :                                                                               tree _q160 = _p1_pops[0];
     362                 :           0 :                                                                               if ((_q160 == _q40 && ! TREE_SIDE_EFFECTS (_q160)) || (operand_equal_p (_q160, _q40, 0) && types_match (_q160, _q40)))
     363                 :             :                                                                                 {
     364                 :           0 :                                                                                   if ((_p2 == _q41 && ! TREE_SIDE_EFFECTS (_p2)) || (operand_equal_p (_p2, _q41, 0) && types_match (_p2, _q41)))
     365                 :             :                                                                                     {
     366                 :           0 :                                                                                       {
     367                 :           0 :                                                                                         tree captures[3] ATTRIBUTE_UNUSED = { _q40, _q100, _q41 };
     368                 :           0 :                                                                                         if (INTEGRAL_TYPE_P (type) && !TYPE_UNSIGNED (type)
     369                 :             : )
     370                 :             :                                                                                           {
     371                 :           0 :                                                                                             {
     372                 :           0 :                                                                                               res_ops[0] = captures[0];
     373                 :           0 :                                                                                               res_ops[1] = captures[1];
     374                 :           0 :                                                                                               if (UNLIKELY (debug_dump)) generic_dump_logs ("match.pd", 83, __FILE__, __LINE__, false);
     375                 :           0 :                                                                                               return true;
     376                 :             :                                                                                             }
     377                 :             :                                                                                           }
     378                 :             :                                                                                       }
     379                 :             :                                                                                     }
     380                 :             :                                                                                 }
     381                 :             :                                                                             }
     382                 :             :                                                                         }
     383                 :             :                                                                       }
     384                 :             :                                                                   }
     385                 :             :                                                               }
     386                 :             :                                                             break;
     387                 :             :                                                           }
     388                 :             :                                                         default:;
     389                 :             :                                                         }
     390                 :             :                                                     }
     391                 :             :                                                 }
     392                 :             :                                               }
     393                 :             :                                           }
     394                 :             :                                       }
     395                 :           0 :                                       break;
     396                 :             :                                     }
     397                 :             :                                   default:;
     398                 :             :                                   }
     399                 :             :                               }
     400                 :             :                           }
     401                 :           0 :                           break;
     402                 :             :                         }
     403                 :             :                       default:;
     404                 :             :                       }
     405                 :             :                     break;
     406                 :             :                   }
     407                 :             :                 default:;
     408                 :             :                 }
     409                 :             :               break;
     410                 :             :             }
     411                 :           0 :           case GE_EXPR:
     412                 :           0 :             {
     413                 :           0 :               tree _q20 = TREE_OPERAND (_p0, 0);
     414                 :           0 :               tree _q21 = TREE_OPERAND (_p0, 1);
     415                 :           0 :               switch (TREE_CODE (_q20))
     416                 :             :                 {
     417                 :           0 :                 case BIT_AND_EXPR:
     418                 :           0 :                   {
     419                 :           0 :                     tree _q30 = TREE_OPERAND (_q20, 0);
     420                 :           0 :                     tree _q31 = TREE_OPERAND (_q20, 1);
     421                 :           0 :                     switch (TREE_CODE (_q30))
     422                 :             :                       {
     423                 :           0 :                       case BIT_XOR_EXPR:
     424                 :           0 :                         {
     425                 :           0 :                           tree _q40 = TREE_OPERAND (_q30, 0);
     426                 :           0 :                           tree _q41 = TREE_OPERAND (_q30, 1);
     427                 :           0 :                           switch (TREE_CODE (_q31))
     428                 :             :                             {
     429                 :           0 :                             case BIT_XOR_EXPR:
     430                 :           0 :                               {
     431                 :           0 :                                 tree _q70 = TREE_OPERAND (_q31, 0);
     432                 :           0 :                                 tree _q71 = TREE_OPERAND (_q31, 1);
     433                 :           0 :                                 if ((_q70 == _q40 && ! TREE_SIDE_EFFECTS (_q70)) || (operand_equal_p (_q70, _q40, 0) && types_match (_q70, _q40)))
     434                 :             :                                   {
     435                 :           0 :                                     {
     436                 :           0 :                                       tree _q71_pops[1];
     437                 :           0 :                                       if (tree_nop_convert (_q71, _q71_pops))
     438                 :             :                                         {
     439                 :           0 :                                           tree _q90 = _q71_pops[0];
     440                 :           0 :                                           switch (TREE_CODE (_q90))
     441                 :             :                                             {
     442                 :           0 :                                             case MINUS_EXPR:
     443                 :           0 :                                               {
     444                 :           0 :                                                 tree _q100 = TREE_OPERAND (_q90, 0);
     445                 :           0 :                                                 tree _q101 = TREE_OPERAND (_q90, 1);
     446                 :           0 :                                                 {
     447                 :           0 :                                                   tree _q100_pops[1];
     448                 :           0 :                                                   if (tree_nop_convert (_q100, _q100_pops))
     449                 :             :                                                     {
     450                 :           0 :                                                       tree _q110 = _q100_pops[0];
     451                 :           0 :                                                       if ((_q110 == _q40 && ! TREE_SIDE_EFFECTS (_q110)) || (operand_equal_p (_q110, _q40, 0) && types_match (_q110, _q40)))
     452                 :             :                                                         {
     453                 :           0 :                                                           {
     454                 :           0 :                                                             tree _q101_pops[1];
     455                 :           0 :                                                             if (tree_nop_convert (_q101, _q101_pops))
     456                 :             :                                                               {
     457                 :           0 :                                                                 tree _q130 = _q101_pops[0];
     458                 :           0 :                                                                 if ((_q130 == _q41 && ! TREE_SIDE_EFFECTS (_q130)) || (operand_equal_p (_q130, _q41, 0) && types_match (_q130, _q41)))
     459                 :             :                                                                   {
     460                 :           0 :                                                                     if (integer_zerop (_q21))
     461                 :             :                                                                       {
     462                 :           0 :                                                                         if ((_p1 == _q71 && ! TREE_SIDE_EFFECTS (_p1)) || (operand_equal_p (_p1, _q71, 0) && types_match (_p1, _q71)))
     463                 :             :                                                                           {
     464                 :           0 :                                                                             {
     465                 :           0 :                                                                               tree _p2_pops[1];
     466                 :           0 :                                                                               if (tree_signed_integer_sat_val (_p2, _p2_pops))
     467                 :             :                                                                                 {
     468                 :           0 :                                                                                   tree _q170 = _p2_pops[0];
     469                 :           0 :                                                                                   if ((_q170 == _q40 && ! TREE_SIDE_EFFECTS (_q170)) || (operand_equal_p (_q170, _q40, 0) && types_match (_q170, _q40)))
     470                 :             :                                                                                     {
     471                 :           0 :                                                                                       {
     472                 :           0 :                                                                                         tree captures[3] ATTRIBUTE_UNUSED = { _q40, _q41, _q71 };
     473                 :           0 :                                                                                         if (INTEGRAL_TYPE_P (type) && !TYPE_UNSIGNED (type)
     474                 :             : )
     475                 :             :                                                                                           {
     476                 :           0 :                                                                                             {
     477                 :           0 :                                                                                               res_ops[0] = captures[0];
     478                 :           0 :                                                                                               res_ops[1] = captures[1];
     479                 :           0 :                                                                                               if (UNLIKELY (debug_dump)) generic_dump_logs ("match.pd", 84, __FILE__, __LINE__, false);
     480                 :           0 :                                                                                               return true;
     481                 :             :                                                                                             }
     482                 :             :                                                                                           }
     483                 :             :                                                                                       }
     484                 :             :                                                                                     }
     485                 :             :                                                                                 }
     486                 :             :                                                                             }
     487                 :             :                                                                           }
     488                 :             :                                                                       }
     489                 :             :                                                                   }
     490                 :             :                                                               }
     491                 :             :                                                           }
     492                 :             :                                                         }
     493                 :             :                                                     }
     494                 :             :                                                 }
     495                 :           0 :                                                 break;
     496                 :             :                                               }
     497                 :             :                                             default:;
     498                 :             :                                             }
     499                 :             :                                         }
     500                 :             :                                     }
     501                 :             :                                   }
     502                 :           0 :                                 if ((_q70 == _q41 && ! TREE_SIDE_EFFECTS (_q70)) || (operand_equal_p (_q70, _q41, 0) && types_match (_q70, _q41)))
     503                 :             :                                   {
     504                 :           0 :                                     {
     505                 :           0 :                                       tree _q71_pops[1];
     506                 :           0 :                                       if (tree_nop_convert (_q71, _q71_pops))
     507                 :             :                                         {
     508                 :           0 :                                           tree _q90 = _q71_pops[0];
     509                 :           0 :                                           switch (TREE_CODE (_q90))
     510                 :             :                                             {
     511                 :           0 :                                             case MINUS_EXPR:
     512                 :           0 :                                               {
     513                 :           0 :                                                 tree _q100 = TREE_OPERAND (_q90, 0);
     514                 :           0 :                                                 tree _q101 = TREE_OPERAND (_q90, 1);
     515                 :           0 :                                                 {
     516                 :           0 :                                                   tree _q100_pops[1];
     517                 :           0 :                                                   if (tree_nop_convert (_q100, _q100_pops))
     518                 :             :                                                     {
     519                 :           0 :                                                       tree _q110 = _q100_pops[0];
     520                 :           0 :                                                       if ((_q110 == _q41 && ! TREE_SIDE_EFFECTS (_q110)) || (operand_equal_p (_q110, _q41, 0) && types_match (_q110, _q41)))
     521                 :             :                                                         {
     522                 :           0 :                                                           {
     523                 :           0 :                                                             tree _q101_pops[1];
     524                 :           0 :                                                             if (tree_nop_convert (_q101, _q101_pops))
     525                 :             :                                                               {
     526                 :           0 :                                                                 tree _q130 = _q101_pops[0];
     527                 :           0 :                                                                 if ((_q130 == _q40 && ! TREE_SIDE_EFFECTS (_q130)) || (operand_equal_p (_q130, _q40, 0) && types_match (_q130, _q40)))
     528                 :             :                                                                   {
     529                 :           0 :                                                                     if (integer_zerop (_q21))
     530                 :             :                                                                       {
     531                 :           0 :                                                                         if ((_p1 == _q71 && ! TREE_SIDE_EFFECTS (_p1)) || (operand_equal_p (_p1, _q71, 0) && types_match (_p1, _q71)))
     532                 :             :                                                                           {
     533                 :           0 :                                                                             {
     534                 :           0 :                                                                               tree _p2_pops[1];
     535                 :           0 :                                                                               if (tree_signed_integer_sat_val (_p2, _p2_pops))
     536                 :             :                                                                                 {
     537                 :           0 :                                                                                   tree _q170 = _p2_pops[0];
     538                 :           0 :                                                                                   if ((_q170 == _q41 && ! TREE_SIDE_EFFECTS (_q170)) || (operand_equal_p (_q170, _q41, 0) && types_match (_q170, _q41)))
     539                 :             :                                                                                     {
     540                 :           0 :                                                                                       {
     541                 :           0 :                                                                                         tree captures[3] ATTRIBUTE_UNUSED = { _q41, _q40, _q71 };
     542                 :           0 :                                                                                         if (INTEGRAL_TYPE_P (type) && !TYPE_UNSIGNED (type)
     543                 :             : )
     544                 :             :                                                                                           {
     545                 :           0 :                                                                                             {
     546                 :           0 :                                                                                               res_ops[0] = captures[0];
     547                 :           0 :                                                                                               res_ops[1] = captures[1];
     548                 :           0 :                                                                                               if (UNLIKELY (debug_dump)) generic_dump_logs ("match.pd", 84, __FILE__, __LINE__, false);
     549                 :           0 :                                                                                               return true;
     550                 :             :                                                                                             }
     551                 :             :                                                                                           }
     552                 :             :                                                                                       }
     553                 :             :                                                                                     }
     554                 :             :                                                                                 }
     555                 :             :                                                                             }
     556                 :             :                                                                           }
     557                 :             :                                                                       }
     558                 :             :                                                                   }
     559                 :             :                                                               }
     560                 :             :                                                           }
     561                 :             :                                                         }
     562                 :             :                                                     }
     563                 :             :                                                 }
     564                 :           0 :                                                 break;
     565                 :             :                                               }
     566                 :             :                                             default:;
     567                 :             :                                             }
     568                 :             :                                         }
     569                 :             :                                     }
     570                 :             :                                   }
     571                 :             :                                 break;
     572                 :             :                               }
     573                 :           0 :                             default:;
     574                 :             :                             }
     575                 :           0 :                           {
     576                 :           0 :                             tree _q41_pops[1];
     577                 :           0 :                             if (tree_nop_convert (_q41, _q41_pops))
     578                 :             :                               {
     579                 :           0 :                                 tree _q60 = _q41_pops[0];
     580                 :           0 :                                 switch (TREE_CODE (_q60))
     581                 :             :                                   {
     582                 :           0 :                                   case MINUS_EXPR:
     583                 :           0 :                                     {
     584                 :           0 :                                       tree _q70 = TREE_OPERAND (_q60, 0);
     585                 :           0 :                                       tree _q71 = TREE_OPERAND (_q60, 1);
     586                 :           0 :                                       {
     587                 :           0 :                                         tree _q70_pops[1];
     588                 :           0 :                                         if (tree_nop_convert (_q70, _q70_pops))
     589                 :             :                                           {
     590                 :           0 :                                             tree _q80 = _q70_pops[0];
     591                 :           0 :                                             if ((_q80 == _q40 && ! TREE_SIDE_EFFECTS (_q80)) || (operand_equal_p (_q80, _q40, 0) && types_match (_q80, _q40)))
     592                 :             :                                               {
     593                 :           0 :                                                 {
     594                 :           0 :                                                   tree _q71_pops[1];
     595                 :           0 :                                                   if (tree_nop_convert (_q71, _q71_pops))
     596                 :             :                                                     {
     597                 :           0 :                                                       tree _q100 = _q71_pops[0];
     598                 :           0 :                                                       switch (TREE_CODE (_q31))
     599                 :             :                                                         {
     600                 :           0 :                                                         case BIT_XOR_EXPR:
     601                 :           0 :                                                           {
     602                 :           0 :                                                             tree _q120 = TREE_OPERAND (_q31, 0);
     603                 :           0 :                                                             tree _q121 = TREE_OPERAND (_q31, 1);
     604                 :           0 :                                                             if ((_q120 == _q40 && ! TREE_SIDE_EFFECTS (_q120)) || (operand_equal_p (_q120, _q40, 0) && types_match (_q120, _q40)))
     605                 :             :                                                               {
     606                 :           0 :                                                                 if ((_q121 == _q100 && ! TREE_SIDE_EFFECTS (_q121)) || (operand_equal_p (_q121, _q100, 0) && types_match (_q121, _q100)))
     607                 :             :                                                                   {
     608                 :           0 :                                                                     if (integer_zerop (_q21))
     609                 :             :                                                                       {
     610                 :           0 :                                                                         if ((_p1 == _q41 && ! TREE_SIDE_EFFECTS (_p1)) || (operand_equal_p (_p1, _q41, 0) && types_match (_p1, _q41)))
     611                 :             :                                                                           {
     612                 :           0 :                                                                             {
     613                 :           0 :                                                                               tree _p2_pops[1];
     614                 :           0 :                                                                               if (tree_signed_integer_sat_val (_p2, _p2_pops))
     615                 :             :                                                                                 {
     616                 :           0 :                                                                                   tree _q170 = _p2_pops[0];
     617                 :           0 :                                                                                   if ((_q170 == _q40 && ! TREE_SIDE_EFFECTS (_q170)) || (operand_equal_p (_q170, _q40, 0) && types_match (_q170, _q40)))
     618                 :             :                                                                                     {
     619                 :           0 :                                                                                       {
     620                 :           0 :                                                                                         tree captures[3] ATTRIBUTE_UNUSED = { _q40, _q100, _q41 };
     621                 :           0 :                                                                                         if (INTEGRAL_TYPE_P (type) && !TYPE_UNSIGNED (type)
     622                 :             : )
     623                 :             :                                                                                           {
     624                 :           0 :                                                                                             {
     625                 :           0 :                                                                                               res_ops[0] = captures[0];
     626                 :           0 :                                                                                               res_ops[1] = captures[1];
     627                 :           0 :                                                                                               if (UNLIKELY (debug_dump)) generic_dump_logs ("match.pd", 84, __FILE__, __LINE__, false);
     628                 :           0 :                                                                                               return true;
     629                 :             :                                                                                             }
     630                 :             :                                                                                           }
     631                 :             :                                                                                       }
     632                 :             :                                                                                     }
     633                 :             :                                                                                 }
     634                 :             :                                                                             }
     635                 :             :                                                                           }
     636                 :             :                                                                       }
     637                 :             :                                                                   }
     638                 :             :                                                               }
     639                 :           0 :                                                             if ((_q120 == _q100 && ! TREE_SIDE_EFFECTS (_q120)) || (operand_equal_p (_q120, _q100, 0) && types_match (_q120, _q100)))
     640                 :             :                                                               {
     641                 :           0 :                                                                 if ((_q121 == _q40 && ! TREE_SIDE_EFFECTS (_q121)) || (operand_equal_p (_q121, _q40, 0) && types_match (_q121, _q40)))
     642                 :             :                                                                   {
     643                 :           0 :                                                                     if (integer_zerop (_q21))
     644                 :             :                                                                       {
     645                 :           0 :                                                                         if ((_p1 == _q41 && ! TREE_SIDE_EFFECTS (_p1)) || (operand_equal_p (_p1, _q41, 0) && types_match (_p1, _q41)))
     646                 :             :                                                                           {
     647                 :           0 :                                                                             {
     648                 :           0 :                                                                               tree _p2_pops[1];
     649                 :           0 :                                                                               if (tree_signed_integer_sat_val (_p2, _p2_pops))
     650                 :             :                                                                                 {
     651                 :           0 :                                                                                   tree _q170 = _p2_pops[0];
     652                 :           0 :                                                                                   if ((_q170 == _q40 && ! TREE_SIDE_EFFECTS (_q170)) || (operand_equal_p (_q170, _q40, 0) && types_match (_q170, _q40)))
     653                 :             :                                                                                     {
     654                 :           0 :                                                                                       {
     655                 :           0 :                                                                                         tree captures[3] ATTRIBUTE_UNUSED = { _q40, _q100, _q41 };
     656                 :           0 :                                                                                         if (INTEGRAL_TYPE_P (type) && !TYPE_UNSIGNED (type)
     657                 :             : )
     658                 :             :                                                                                           {
     659                 :           0 :                                                                                             {
     660                 :           0 :                                                                                               res_ops[0] = captures[0];
     661                 :           0 :                                                                                               res_ops[1] = captures[1];
     662                 :           0 :                                                                                               if (UNLIKELY (debug_dump)) generic_dump_logs ("match.pd", 84, __FILE__, __LINE__, false);
     663                 :           0 :                                                                                               return true;
     664                 :             :                                                                                             }
     665                 :             :                                                                                           }
     666                 :             :                                                                                       }
     667                 :             :                                                                                     }
     668                 :             :                                                                                 }
     669                 :             :                                                                             }
     670                 :             :                                                                           }
     671                 :             :                                                                       }
     672                 :             :                                                                   }
     673                 :             :                                                               }
     674                 :             :                                                             break;
     675                 :             :                                                           }
     676                 :             :                                                         default:;
     677                 :             :                                                         }
     678                 :             :                                                     }
     679                 :             :                                                 }
     680                 :             :                                               }
     681                 :             :                                           }
     682                 :             :                                       }
     683                 :           0 :                                       break;
     684                 :             :                                     }
     685                 :             :                                   default:;
     686                 :             :                                   }
     687                 :             :                               }
     688                 :             :                           }
     689                 :           0 :                           break;
     690                 :             :                         }
     691                 :             :                       default:;
     692                 :             :                       }
     693                 :             :                     break;
     694                 :             :                   }
     695                 :             :                 default:;
     696                 :             :                 }
     697                 :             :               break;
     698                 :             :             }
     699                 :           0 :           case BIT_AND_EXPR:
     700                 :           0 :             {
     701                 :           0 :               tree _q20 = TREE_OPERAND (_p0, 0);
     702                 :           0 :               tree _q21 = TREE_OPERAND (_p0, 1);
     703                 :           0 :               switch (TREE_CODE (_q20))
     704                 :             :                 {
     705                 :           0 :                 case LT_EXPR:
     706                 :           0 :                   {
     707                 :           0 :                     tree _q30 = TREE_OPERAND (_q20, 0);
     708                 :           0 :                     tree _q31 = TREE_OPERAND (_q20, 1);
     709                 :           0 :                     switch (TREE_CODE (_q30))
     710                 :             :                       {
     711                 :           0 :                       case BIT_XOR_EXPR:
     712                 :           0 :                         {
     713                 :           0 :                           tree _q40 = TREE_OPERAND (_q30, 0);
     714                 :           0 :                           tree _q41 = TREE_OPERAND (_q30, 1);
     715                 :           0 :                           {
     716                 :           0 :                             tree _q41_pops[1];
     717                 :           0 :                             if (tree_nop_convert (_q41, _q41_pops))
     718                 :             :                               {
     719                 :           0 :                                 tree _q60 = _q41_pops[0];
     720                 :           0 :                                 switch (TREE_CODE (_q60))
     721                 :             :                                   {
     722                 :           0 :                                   case MINUS_EXPR:
     723                 :           0 :                                     {
     724                 :           0 :                                       tree _q70 = TREE_OPERAND (_q60, 0);
     725                 :           0 :                                       tree _q71 = TREE_OPERAND (_q60, 1);
     726                 :           0 :                                       {
     727                 :           0 :                                         tree _q70_pops[1];
     728                 :           0 :                                         if (tree_nop_convert (_q70, _q70_pops))
     729                 :             :                                           {
     730                 :           0 :                                             tree _q80 = _q70_pops[0];
     731                 :           0 :                                             if ((_q80 == _q40 && ! TREE_SIDE_EFFECTS (_q80)) || (operand_equal_p (_q80, _q40, 0) && types_match (_q80, _q40)))
     732                 :             :                                               {
     733                 :           0 :                                                 {
     734                 :           0 :                                                   tree _q71_pops[1];
     735                 :           0 :                                                   if (tree_nop_convert (_q71, _q71_pops))
     736                 :             :                                                     {
     737                 :           0 :                                                       tree _q100 = _q71_pops[0];
     738                 :           0 :                                                       if (integer_zerop (_q31))
     739                 :             :                                                         {
     740                 :           0 :                                                           switch (TREE_CODE (_q21))
     741                 :             :                                                             {
     742                 :           0 :                                                             case LT_EXPR:
     743                 :           0 :                                                               {
     744                 :           0 :                                                                 tree _q130 = TREE_OPERAND (_q21, 0);
     745                 :           0 :                                                                 tree _q131 = TREE_OPERAND (_q21, 1);
     746                 :           0 :                                                                 switch (TREE_CODE (_q130))
     747                 :             :                                                                   {
     748                 :           0 :                                                                   case BIT_XOR_EXPR:
     749                 :           0 :                                                                     {
     750                 :           0 :                                                                       tree _q140 = TREE_OPERAND (_q130, 0);
     751                 :           0 :                                                                       tree _q141 = TREE_OPERAND (_q130, 1);
     752                 :           0 :                                                                       if ((_q140 == _q40 && ! TREE_SIDE_EFFECTS (_q140)) || (operand_equal_p (_q140, _q40, 0) && types_match (_q140, _q40)))
     753                 :             :                                                                         {
     754                 :           0 :                                                                           if ((_q141 == _q100 && ! TREE_SIDE_EFFECTS (_q141)) || (operand_equal_p (_q141, _q100, 0) && types_match (_q141, _q100)))
     755                 :             :                                                                             {
     756                 :           0 :                                                                               if (integer_zerop (_q131))
     757                 :             :                                                                                 {
     758                 :           0 :                                                                                   {
     759                 :           0 :                                                                                     tree _p1_pops[1];
     760                 :           0 :                                                                                     if (tree_signed_integer_sat_val (_p1, _p1_pops))
     761                 :             :                                                                                       {
     762                 :           0 :                                                                                         tree _q180 = _p1_pops[0];
     763                 :           0 :                                                                                         if ((_q180 == _q40 && ! TREE_SIDE_EFFECTS (_q180)) || (operand_equal_p (_q180, _q40, 0) && types_match (_q180, _q40)))
     764                 :             :                                                                                           {
     765                 :           0 :                                                                                             if ((_p2 == _q41 && ! TREE_SIDE_EFFECTS (_p2)) || (operand_equal_p (_p2, _q41, 0) && types_match (_p2, _q41)))
     766                 :             :                                                                                               {
     767                 :           0 :                                                                                                 {
     768                 :           0 :                                                                                                   tree captures[3] ATTRIBUTE_UNUSED = { _q40, _q100, _q41 };
     769                 :           0 :                                                                                                   if (INTEGRAL_TYPE_P (type) && !TYPE_UNSIGNED (type)
     770                 :             : )
     771                 :             :                                                                                                     {
     772                 :           0 :                                                                                                       {
     773                 :           0 :                                                                                                         res_ops[0] = captures[0];
     774                 :           0 :                                                                                                         res_ops[1] = captures[1];
     775                 :           0 :                                                                                                         if (UNLIKELY (debug_dump)) generic_dump_logs ("match.pd", 85, __FILE__, __LINE__, false);
     776                 :           0 :                                                                                                         return true;
     777                 :             :                                                                                                       }
     778                 :             :                                                                                                     }
     779                 :             :                                                                                                 }
     780                 :             :                                                                                               }
     781                 :             :                                                                                           }
     782                 :             :                                                                                       }
     783                 :             :                                                                                   }
     784                 :             :                                                                                 }
     785                 :             :                                                                             }
     786                 :             :                                                                         }
     787                 :           0 :                                                                       if ((_q140 == _q100 && ! TREE_SIDE_EFFECTS (_q140)) || (operand_equal_p (_q140, _q100, 0) && types_match (_q140, _q100)))
     788                 :             :                                                                         {
     789                 :           0 :                                                                           if ((_q141 == _q40 && ! TREE_SIDE_EFFECTS (_q141)) || (operand_equal_p (_q141, _q40, 0) && types_match (_q141, _q40)))
     790                 :             :                                                                             {
     791                 :           0 :                                                                               if (integer_zerop (_q131))
     792                 :             :                                                                                 {
     793                 :           0 :                                                                                   {
     794                 :           0 :                                                                                     tree _p1_pops[1];
     795                 :           0 :                                                                                     if (tree_signed_integer_sat_val (_p1, _p1_pops))
     796                 :             :                                                                                       {
     797                 :           0 :                                                                                         tree _q180 = _p1_pops[0];
     798                 :           0 :                                                                                         if ((_q180 == _q40 && ! TREE_SIDE_EFFECTS (_q180)) || (operand_equal_p (_q180, _q40, 0) && types_match (_q180, _q40)))
     799                 :             :                                                                                           {
     800                 :           0 :                                                                                             if ((_p2 == _q41 && ! TREE_SIDE_EFFECTS (_p2)) || (operand_equal_p (_p2, _q41, 0) && types_match (_p2, _q41)))
     801                 :             :                                                                                               {
     802                 :           0 :                                                                                                 {
     803                 :           0 :                                                                                                   tree captures[3] ATTRIBUTE_UNUSED = { _q40, _q100, _q41 };
     804                 :           0 :                                                                                                   if (INTEGRAL_TYPE_P (type) && !TYPE_UNSIGNED (type)
     805                 :             : )
     806                 :             :                                                                                                     {
     807                 :           0 :                                                                                                       {
     808                 :           0 :                                                                                                         res_ops[0] = captures[0];
     809                 :           0 :                                                                                                         res_ops[1] = captures[1];
     810                 :           0 :                                                                                                         if (UNLIKELY (debug_dump)) generic_dump_logs ("match.pd", 85, __FILE__, __LINE__, false);
     811                 :           0 :                                                                                                         return true;
     812                 :             :                                                                                                       }
     813                 :             :                                                                                                     }
     814                 :             :                                                                                                 }
     815                 :             :                                                                                               }
     816                 :             :                                                                                           }
     817                 :             :                                                                                       }
     818                 :             :                                                                                   }
     819                 :             :                                                                                 }
     820                 :             :                                                                             }
     821                 :             :                                                                         }
     822                 :             :                                                                       break;
     823                 :             :                                                                     }
     824                 :             :                                                                   default:;
     825                 :             :                                                                   }
     826                 :             :                                                                 break;
     827                 :             :                                                               }
     828                 :             :                                                             default:;
     829                 :             :                                                             }
     830                 :             :                                                         }
     831                 :             :                                                     }
     832                 :             :                                                 }
     833                 :             :                                               }
     834                 :             :                                           }
     835                 :             :                                       }
     836                 :           0 :                                       break;
     837                 :             :                                     }
     838                 :             :                                   default:;
     839                 :             :                                   }
     840                 :             :                               }
     841                 :             :                           }
     842                 :           0 :                           if (integer_zerop (_q31))
     843                 :             :                             {
     844                 :           0 :                               switch (TREE_CODE (_q21))
     845                 :             :                                 {
     846                 :           0 :                                 case LT_EXPR:
     847                 :           0 :                                   {
     848                 :           0 :                                     tree _q80 = TREE_OPERAND (_q21, 0);
     849                 :           0 :                                     tree _q81 = TREE_OPERAND (_q21, 1);
     850                 :           0 :                                     switch (TREE_CODE (_q80))
     851                 :             :                                       {
     852                 :           0 :                                       case BIT_XOR_EXPR:
     853                 :           0 :                                         {
     854                 :           0 :                                           tree _q90 = TREE_OPERAND (_q80, 0);
     855                 :           0 :                                           tree _q91 = TREE_OPERAND (_q80, 1);
     856                 :           0 :                                           if ((_q90 == _q40 && ! TREE_SIDE_EFFECTS (_q90)) || (operand_equal_p (_q90, _q40, 0) && types_match (_q90, _q40)))
     857                 :             :                                             {
     858                 :           0 :                                               {
     859                 :           0 :                                                 tree _q91_pops[1];
     860                 :           0 :                                                 if (tree_nop_convert (_q91, _q91_pops))
     861                 :             :                                                   {
     862                 :           0 :                                                     tree _q110 = _q91_pops[0];
     863                 :           0 :                                                     switch (TREE_CODE (_q110))
     864                 :             :                                                       {
     865                 :           0 :                                                       case MINUS_EXPR:
     866                 :           0 :                                                         {
     867                 :           0 :                                                           tree _q120 = TREE_OPERAND (_q110, 0);
     868                 :           0 :                                                           tree _q121 = TREE_OPERAND (_q110, 1);
     869                 :           0 :                                                           {
     870                 :           0 :                                                             tree _q120_pops[1];
     871                 :           0 :                                                             if (tree_nop_convert (_q120, _q120_pops))
     872                 :             :                                                               {
     873                 :           0 :                                                                 tree _q130 = _q120_pops[0];
     874                 :           0 :                                                                 if ((_q130 == _q40 && ! TREE_SIDE_EFFECTS (_q130)) || (operand_equal_p (_q130, _q40, 0) && types_match (_q130, _q40)))
     875                 :             :                                                                   {
     876                 :           0 :                                                                     {
     877                 :           0 :                                                                       tree _q121_pops[1];
     878                 :           0 :                                                                       if (tree_nop_convert (_q121, _q121_pops))
     879                 :             :                                                                         {
     880                 :           0 :                                                                           tree _q150 = _q121_pops[0];
     881                 :           0 :                                                                           if ((_q150 == _q41 && ! TREE_SIDE_EFFECTS (_q150)) || (operand_equal_p (_q150, _q41, 0) && types_match (_q150, _q41)))
     882                 :             :                                                                             {
     883                 :           0 :                                                                               if (integer_zerop (_q81))
     884                 :             :                                                                                 {
     885                 :           0 :                                                                                   {
     886                 :           0 :                                                                                     tree _p1_pops[1];
     887                 :           0 :                                                                                     if (tree_signed_integer_sat_val (_p1, _p1_pops))
     888                 :             :                                                                                       {
     889                 :           0 :                                                                                         tree _q180 = _p1_pops[0];
     890                 :           0 :                                                                                         if ((_q180 == _q40 && ! TREE_SIDE_EFFECTS (_q180)) || (operand_equal_p (_q180, _q40, 0) && types_match (_q180, _q40)))
     891                 :             :                                                                                           {
     892                 :           0 :                                                                                             if ((_p2 == _q91 && ! TREE_SIDE_EFFECTS (_p2)) || (operand_equal_p (_p2, _q91, 0) && types_match (_p2, _q91)))
     893                 :             :                                                                                               {
     894                 :           0 :                                                                                                 {
     895                 :           0 :                                                                                                   tree captures[3] ATTRIBUTE_UNUSED = { _q40, _q41, _q91 };
     896                 :           0 :                                                                                                   if (INTEGRAL_TYPE_P (type) && !TYPE_UNSIGNED (type)
     897                 :             : )
     898                 :             :                                                                                                     {
     899                 :           0 :                                                                                                       {
     900                 :           0 :                                                                                                         res_ops[0] = captures[0];
     901                 :           0 :                                                                                                         res_ops[1] = captures[1];
     902                 :           0 :                                                                                                         if (UNLIKELY (debug_dump)) generic_dump_logs ("match.pd", 85, __FILE__, __LINE__, false);
     903                 :           0 :                                                                                                         return true;
     904                 :             :                                                                                                       }
     905                 :             :                                                                                                     }
     906                 :             :                                                                                                 }
     907                 :             :                                                                                               }
     908                 :             :                                                                                           }
     909                 :             :                                                                                       }
     910                 :             :                                                                                   }
     911                 :             :                                                                                 }
     912                 :             :                                                                             }
     913                 :             :                                                                         }
     914                 :             :                                                                     }
     915                 :             :                                                                   }
     916                 :             :                                                               }
     917                 :             :                                                           }
     918                 :           0 :                                                           break;
     919                 :             :                                                         }
     920                 :             :                                                       default:;
     921                 :             :                                                       }
     922                 :             :                                                   }
     923                 :             :                                               }
     924                 :             :                                             }
     925                 :           0 :                                           if ((_q90 == _q41 && ! TREE_SIDE_EFFECTS (_q90)) || (operand_equal_p (_q90, _q41, 0) && types_match (_q90, _q41)))
     926                 :             :                                             {
     927                 :           0 :                                               {
     928                 :           0 :                                                 tree _q91_pops[1];
     929                 :           0 :                                                 if (tree_nop_convert (_q91, _q91_pops))
     930                 :             :                                                   {
     931                 :           0 :                                                     tree _q110 = _q91_pops[0];
     932                 :           0 :                                                     switch (TREE_CODE (_q110))
     933                 :             :                                                       {
     934                 :           0 :                                                       case MINUS_EXPR:
     935                 :           0 :                                                         {
     936                 :           0 :                                                           tree _q120 = TREE_OPERAND (_q110, 0);
     937                 :           0 :                                                           tree _q121 = TREE_OPERAND (_q110, 1);
     938                 :           0 :                                                           {
     939                 :           0 :                                                             tree _q120_pops[1];
     940                 :           0 :                                                             if (tree_nop_convert (_q120, _q120_pops))
     941                 :             :                                                               {
     942                 :           0 :                                                                 tree _q130 = _q120_pops[0];
     943                 :           0 :                                                                 if ((_q130 == _q41 && ! TREE_SIDE_EFFECTS (_q130)) || (operand_equal_p (_q130, _q41, 0) && types_match (_q130, _q41)))
     944                 :             :                                                                   {
     945                 :           0 :                                                                     {
     946                 :           0 :                                                                       tree _q121_pops[1];
     947                 :           0 :                                                                       if (tree_nop_convert (_q121, _q121_pops))
     948                 :             :                                                                         {
     949                 :           0 :                                                                           tree _q150 = _q121_pops[0];
     950                 :           0 :                                                                           if ((_q150 == _q40 && ! TREE_SIDE_EFFECTS (_q150)) || (operand_equal_p (_q150, _q40, 0) && types_match (_q150, _q40)))
     951                 :             :                                                                             {
     952                 :           0 :                                                                               if (integer_zerop (_q81))
     953                 :             :                                                                                 {
     954                 :           0 :                                                                                   {
     955                 :           0 :                                                                                     tree _p1_pops[1];
     956                 :           0 :                                                                                     if (tree_signed_integer_sat_val (_p1, _p1_pops))
     957                 :             :                                                                                       {
     958                 :           0 :                                                                                         tree _q180 = _p1_pops[0];
     959                 :           0 :                                                                                         if ((_q180 == _q41 && ! TREE_SIDE_EFFECTS (_q180)) || (operand_equal_p (_q180, _q41, 0) && types_match (_q180, _q41)))
     960                 :             :                                                                                           {
     961                 :           0 :                                                                                             if ((_p2 == _q91 && ! TREE_SIDE_EFFECTS (_p2)) || (operand_equal_p (_p2, _q91, 0) && types_match (_p2, _q91)))
     962                 :             :                                                                                               {
     963                 :           0 :                                                                                                 {
     964                 :           0 :                                                                                                   tree captures[3] ATTRIBUTE_UNUSED = { _q41, _q40, _q91 };
     965                 :           0 :                                                                                                   if (INTEGRAL_TYPE_P (type) && !TYPE_UNSIGNED (type)
     966                 :             : )
     967                 :             :                                                                                                     {
     968                 :           0 :                                                                                                       {
     969                 :           0 :                                                                                                         res_ops[0] = captures[0];
     970                 :           0 :                                                                                                         res_ops[1] = captures[1];
     971                 :           0 :                                                                                                         if (UNLIKELY (debug_dump)) generic_dump_logs ("match.pd", 85, __FILE__, __LINE__, false);
     972                 :           0 :                                                                                                         return true;
     973                 :             :                                                                                                       }
     974                 :             :                                                                                                     }
     975                 :             :                                                                                                 }
     976                 :             :                                                                                               }
     977                 :             :                                                                                           }
     978                 :             :                                                                                       }
     979                 :             :                                                                                   }
     980                 :             :                                                                                 }
     981                 :             :                                                                             }
     982                 :             :                                                                         }
     983                 :             :                                                                     }
     984                 :             :                                                                   }
     985                 :             :                                                               }
     986                 :             :                                                           }
     987                 :           0 :                                                           break;
     988                 :             :                                                         }
     989                 :             :                                                       default:;
     990                 :             :                                                       }
     991                 :             :                                                   }
     992                 :             :                                               }
     993                 :             :                                             }
     994                 :             :                                           break;
     995                 :             :                                         }
     996                 :             :                                       default:;
     997                 :             :                                       }
     998                 :             :                                     break;
     999                 :             :                                   }
    1000                 :             :                                 default:;
    1001                 :             :                                 }
    1002                 :             :                             }
    1003                 :             :                           break;
    1004                 :             :                         }
    1005                 :             :                       default:;
    1006                 :             :                       }
    1007                 :             :                     break;
    1008                 :             :                   }
    1009                 :             :                 default:;
    1010                 :             :                 }
    1011                 :             :               break;
    1012                 :             :             }
    1013                 :           0 :           case NE_EXPR:
    1014                 :           0 :             {
    1015                 :           0 :               tree _q20 = TREE_OPERAND (_p0, 0);
    1016                 :           0 :               tree _q21 = TREE_OPERAND (_p0, 1);
    1017                 :           0 :               switch (TREE_CODE (_q20))
    1018                 :             :                 {
    1019                 :           0 :                 case IMAGPART_EXPR:
    1020                 :           0 :                   {
    1021                 :           0 :                     tree _q30 = TREE_OPERAND (_q20, 0);
    1022                 :           0 :                     switch (TREE_CODE (_q30))
    1023                 :             :                       {
    1024                 :           0 :                       case CALL_EXPR:
    1025                 :           0 :                         switch (get_call_combined_fn (_q30))
    1026                 :             :                           {
    1027                 :           0 :                           case CFN_SUB_OVERFLOW:
    1028                 :           0 :                             if (call_expr_nargs (_q30) == 2)
    1029                 :             :     {
    1030                 :           0 :                                 tree _q40 = CALL_EXPR_ARG (_q30, 0);
    1031                 :           0 :                                 tree _q41 = CALL_EXPR_ARG (_q30, 1);
    1032                 :           0 :                                 if (integer_zerop (_q21))
    1033                 :             :                                   {
    1034                 :           0 :                                     {
    1035                 :           0 :                                       tree _p1_pops[1];
    1036                 :           0 :                                       if (tree_signed_integer_sat_val (_p1, _p1_pops))
    1037                 :             :                                         {
    1038                 :           0 :                                           tree _q80 = _p1_pops[0];
    1039                 :           0 :                                           if ((_q80 == _q40 && ! TREE_SIDE_EFFECTS (_q80)) || (operand_equal_p (_q80, _q40, 0) && types_match (_q80, _q40)))
    1040                 :             :                                             {
    1041                 :           0 :                                               switch (TREE_CODE (_p2))
    1042                 :             :                                                 {
    1043                 :           0 :                                                 case REALPART_EXPR:
    1044                 :           0 :                                                   {
    1045                 :           0 :                                                     tree _q100 = TREE_OPERAND (_p2, 0);
    1046                 :           0 :                                                     if ((_q100 == _q30 && ! TREE_SIDE_EFFECTS (_q100)) || (operand_equal_p (_q100, _q30, 0) && types_match (_q100, _q30)))
    1047                 :             :                                                       {
    1048                 :           0 :                                                         {
    1049                 :           0 :                                                           tree captures[3] ATTRIBUTE_UNUSED = { _q40, _q41, _q30 };
    1050                 :           0 :                                                           if (INTEGRAL_TYPE_P (type) && !TYPE_UNSIGNED (type)
    1051                 :             : )
    1052                 :             :                                                             {
    1053                 :           0 :                                                               if (types_match (type, captures[0], captures[1])
    1054                 :             : )
    1055                 :             :                                                                 {
    1056                 :           0 :                                                                   {
    1057                 :           0 :                                                                     res_ops[0] = captures[0];
    1058                 :           0 :                                                                     res_ops[1] = captures[1];
    1059                 :           0 :                                                                     if (UNLIKELY (debug_dump)) generic_dump_logs ("match.pd", 86, __FILE__, __LINE__, false);
    1060                 :           0 :                                                                     return true;
    1061                 :             :                                                                   }
    1062                 :             :                                                                 }
    1063                 :             :                                                             }
    1064                 :             :                                                         }
    1065                 :             :                                                       }
    1066                 :             :                                                     break;
    1067                 :             :                                                   }
    1068                 :             :                                                 default:;
    1069                 :             :                                                 }
    1070                 :             :                                             }
    1071                 :             :                                         }
    1072                 :             :                                     }
    1073                 :             :                                   }
    1074                 :             :                               }
    1075                 :             :                             break;
    1076                 :             :                           default:;
    1077                 :             :                           }
    1078                 :             :                         break;
    1079                 :             :                       default:;
    1080                 :             :                       }
    1081                 :             :                     break;
    1082                 :             :                   }
    1083                 :             :                 default:;
    1084                 :             :                 }
    1085                 :             :               break;
    1086                 :             :             }
    1087                 :             :           default:;
    1088                 :             :           }
    1089                 :             :         break;
    1090                 :             :       }
    1091                 :             :     default:;
    1092                 :             :     }
    1093                 :             :   return false;
    1094                 :             : }
    1095                 :             : 
    1096                 :             : tree
    1097                 :       10322 : generic_simplify_57 (location_t ARG_UNUSED (loc), const tree ARG_UNUSED (type),
    1098                 :             :  tree ARG_UNUSED (_p0), tree ARG_UNUSED (_p1), tree *ARG_UNUSED (captures))
    1099                 :             : {
    1100                 :       10322 :   const bool debug_dump = dump_file && (dump_flags & TDF_FOLDING);
    1101                 :       10322 :   if (!TYPE_SATURATING (type)
    1102                 :             : )
    1103                 :             :     {
    1104                 :       10322 :       if ((!FLOAT_TYPE_P (type) || flag_associative_math)
    1105                 :       20644 :  && !FIXED_POINT_TYPE_P (type)
    1106                 :             : )
    1107                 :             :         {
    1108                 :       10322 :           if (element_precision (type) <= element_precision (TREE_TYPE (captures[1]))
    1109                 :       10322 :  || (INTEGRAL_TYPE_P (TREE_TYPE (captures[1]))
    1110                 :        2376 :  && TYPE_OVERFLOW_UNDEFINED (TREE_TYPE (captures[1])))
    1111                 :             : )
    1112                 :             :             {
    1113                 :       10208 :               if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail315;
    1114                 :       10208 :               {
    1115                 :       10208 :                 tree res_op0;
    1116                 :       10208 :                 res_op0 = captures[1];
    1117                 :       10208 :                 tree _r;
    1118                 :       10208 :                 _r = fold_build1_loc (loc, NOP_EXPR, type, res_op0);
    1119                 :       10208 :                 if (TREE_SIDE_EFFECTS (captures[2]))
    1120                 :          15 :                   _r = build2_loc (loc, COMPOUND_EXPR, type, fold_ignored_result (captures[2]), _r);
    1121                 :       10208 :                 if (UNLIKELY (debug_dump)) generic_dump_logs ("match.pd", 179, __FILE__, __LINE__, true);
    1122                 :       10208 :                 return _r;
    1123                 :             :               }
    1124                 :           0 : next_after_fail315:;
    1125                 :             :             }
    1126                 :             :         }
    1127                 :             :     }
    1128                 :             :   return NULL_TREE;
    1129                 :             : }
    1130                 :             : 
    1131                 :             : tree
    1132                 :           2 : generic_simplify_62 (location_t ARG_UNUSED (loc), const tree ARG_UNUSED (type),
    1133                 :             :  tree ARG_UNUSED (_p0), tree ARG_UNUSED (_p1), tree *ARG_UNUSED (captures),
    1134                 :             :  const combined_fn ARG_UNUSED (logs))
    1135                 :             : {
    1136                 :           2 :   const bool debug_dump = dump_file && (dump_flags & TDF_FOLDING);
    1137                 :           2 :   if (flag_unsafe_math_optimizations
    1138                 :             : )
    1139                 :             :     {
    1140                 :           2 :       if (! HONOR_SIGN_DEPENDENT_ROUNDING (type)
    1141                 :           2 :  && ! HONOR_NANS (type) && ! HONOR_INFINITIES (type)
    1142                 :           2 :  && ! flag_trapping_math
    1143                 :           4 :  && ! flag_errno_math
    1144                 :             : )
    1145                 :             :         {
    1146                 :           2 :           if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail322;
    1147                 :           2 :           {
    1148                 :           2 :             tree res_op0;
    1149                 :           2 :             {
    1150                 :           2 :               tree _o1[2], _r1;
    1151                 :           2 :               _o1[0] = captures[1];
    1152                 :           2 :               _o1[1] = captures[3];
    1153                 :           2 :               _r1 = fold_build2_loc (loc, RDIV_EXPR, TREE_TYPE (_o1[0]), _o1[0], _o1[1]);
    1154                 :           2 :               res_op0 = _r1;
    1155                 :             :             }
    1156                 :           2 :             tree _r;
    1157                 :           2 :             _r = maybe_build_call_expr_loc (loc, logs, type, 1, res_op0);
    1158                 :           2 :             if (!_r)
    1159                 :           0 :               goto next_after_fail322;
    1160                 :           2 :             if (UNLIKELY (debug_dump)) generic_dump_logs ("match.pd", 186, __FILE__, __LINE__, true);
    1161                 :           2 :             return _r;
    1162                 :             :           }
    1163                 :             : next_after_fail322:;
    1164                 :             :         }
    1165                 :             :     }
    1166                 :             :   return NULL_TREE;
    1167                 :             : }
    1168                 :             : 
    1169                 :             : tree
    1170                 :          29 : generic_simplify_67 (location_t ARG_UNUSED (loc), const tree ARG_UNUSED (type),
    1171                 :             :  tree ARG_UNUSED (_p0), tree ARG_UNUSED (_p1), tree *ARG_UNUSED (captures),
    1172                 :             :  const enum tree_code ARG_UNUSED (bitop),
    1173                 :             :  const enum tree_code ARG_UNUSED (cmp))
    1174                 :             : {
    1175                 :          29 :   const bool debug_dump = dump_file && (dump_flags & TDF_FOLDING);
    1176                 :          58 :   if (INTEGRAL_TYPE_P (TREE_TYPE (captures[0]))
    1177                 :          29 :  && INTEGRAL_TYPE_P (TREE_TYPE (captures[2]))
    1178                 :          58 :  && TYPE_PRECISION (TREE_TYPE (captures[0])) == TYPE_PRECISION (TREE_TYPE (captures[2]))
    1179                 :             : )
    1180                 :             :     {
    1181                 :          29 :       if (TREE_SIDE_EFFECTS (_p1)) goto next_after_fail327;
    1182                 :          29 :       if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail327;
    1183                 :          29 :       {
    1184                 :          29 :         tree res_op0;
    1185                 :          29 :         {
    1186                 :          29 :           tree _o1[2], _r1;
    1187                 :          29 :           _o1[0] = captures[0];
    1188                 :          29 :           {
    1189                 :          29 :             tree _o2[1], _r2;
    1190                 :          29 :             _o2[0] = captures[2];
    1191                 :          29 :             if (TREE_TYPE (_o2[0]) != TREE_TYPE (_o1[0]))
    1192                 :             :               {
    1193                 :           0 :                 _r2 = fold_build1_loc (loc, NOP_EXPR, TREE_TYPE (_o1[0]), _o2[0]);
    1194                 :             :               }
    1195                 :             :             else
    1196                 :             :               _r2 = _o2[0];
    1197                 :          29 :             _o1[1] = _r2;
    1198                 :             :           }
    1199                 :          29 :           _r1 = fold_build2_loc (loc, BIT_IOR_EXPR, TREE_TYPE (_o1[0]), _o1[0], _o1[1]);
    1200                 :          29 :           res_op0 = _r1;
    1201                 :             :         }
    1202                 :          29 :         tree res_op1;
    1203                 :          29 :         res_op1 = captures[1];
    1204                 :          29 :         tree _r;
    1205                 :          29 :         _r = fold_build2_loc (loc, cmp, type, res_op0, res_op1);
    1206                 :          29 :         if (UNLIKELY (debug_dump)) generic_dump_logs ("match.pd", 191, __FILE__, __LINE__, true);
    1207                 :          29 :         return _r;
    1208                 :             :       }
    1209                 :             : next_after_fail327:;
    1210                 :             :     }
    1211                 :             :   return NULL_TREE;
    1212                 :             : }
    1213                 :             : 
    1214                 :             : tree
    1215                 :           0 : generic_simplify_78 (location_t ARG_UNUSED (loc), const tree ARG_UNUSED (type),
    1216                 :             :  tree ARG_UNUSED (_p0), tree ARG_UNUSED (_p1), tree *ARG_UNUSED (captures),
    1217                 :             :  const enum tree_code ARG_UNUSED (bit_op))
    1218                 :             : {
    1219                 :           0 :   const bool debug_dump = dump_file && (dump_flags & TDF_FOLDING);
    1220                 :           0 :   if (bit_op == BIT_AND_EXPR
    1221                 :             : )
    1222                 :             :     {
    1223                 :           0 :       if (TREE_SIDE_EFFECTS (_p0)) goto next_after_fail341;
    1224                 :           0 :       if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail341;
    1225                 :           0 :       {
    1226                 :           0 :         tree _r;
    1227                 :           0 :         _r =  build_zero_cst (type);
    1228                 :           0 :         if (UNLIKELY (debug_dump)) generic_dump_logs ("match.pd", 200, __FILE__, __LINE__, true);
    1229                 :           0 :         return _r;
    1230                 :             :       }
    1231                 :             : next_after_fail341:;
    1232                 :             :     }
    1233                 :             :   else
    1234                 :             :     {
    1235                 :           0 :       if (TREE_SIDE_EFFECTS (_p0)) goto next_after_fail342;
    1236                 :           0 :       if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail342;
    1237                 :           0 :       {
    1238                 :           0 :         tree _r;
    1239                 :           0 :         _r =  build_minus_one_cst (type);
    1240                 :           0 :         if (UNLIKELY (debug_dump)) generic_dump_logs ("match.pd", 201, __FILE__, __LINE__, true);
    1241                 :           0 :         return _r;
    1242                 :             :       }
    1243                 :             : next_after_fail342:;
    1244                 :             :     }
    1245                 :             :   return NULL_TREE;
    1246                 :             : }
    1247                 :             : 
    1248                 :             : tree
    1249                 :           1 : generic_simplify_91 (location_t ARG_UNUSED (loc), const tree ARG_UNUSED (type),
    1250                 :             :  tree ARG_UNUSED (_p0), tree ARG_UNUSED (_p1), tree *ARG_UNUSED (captures))
    1251                 :             : {
    1252                 :           1 :   const bool debug_dump = dump_file && (dump_flags & TDF_FOLDING);
    1253                 :           1 :   if (TREE_SIDE_EFFECTS (_p1)) goto next_after_fail355;
    1254                 :           1 :   if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail355;
    1255                 :           1 :   {
    1256                 :           1 :     tree _r;
    1257                 :           1 :     _r = captures[0];
    1258                 :           1 :     if (UNLIKELY (debug_dump)) generic_dump_logs ("match.pd", 210, __FILE__, __LINE__, true);
    1259                 :             :     return _r;
    1260                 :             :   }
    1261                 :             : next_after_fail355:;
    1262                 :             :   return NULL_TREE;
    1263                 :             : }
    1264                 :             : 
    1265                 :             : tree
    1266                 :       17689 : generic_simplify_98 (location_t ARG_UNUSED (loc), const tree ARG_UNUSED (type),
    1267                 :             :  tree ARG_UNUSED (_p0), tree ARG_UNUSED (_p1), tree *ARG_UNUSED (captures))
    1268                 :             : {
    1269                 :       17689 :   const bool debug_dump = dump_file && (dump_flags & TDF_FOLDING);
    1270                 :       17689 :   {
    1271                 :       17689 :  bool wascmp;
    1272                 :       17689 :       if ((bitwise_inverted_equal_p (captures[0], captures[2], wascmp)
    1273                 :       17689 :  || bitwise_inverted_equal_p (captures[1], captures[2], wascmp))
    1274                 :       17689 :  && (!wascmp || element_precision (type) == 1)
    1275                 :             : )
    1276                 :             :         {
    1277                 :           0 :           if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail362;
    1278                 :           0 :           {
    1279                 :           0 :             tree _r;
    1280                 :           0 :             _r =  build_all_ones_cst (TREE_TYPE (captures[0]));
    1281                 :           0 :             if (TREE_SIDE_EFFECTS (captures[0]))
    1282                 :           0 :               _r = build2_loc (loc, COMPOUND_EXPR, type, fold_ignored_result (captures[0]), _r);
    1283                 :           0 :             if (TREE_SIDE_EFFECTS (captures[1]))
    1284                 :           0 :               _r = build2_loc (loc, COMPOUND_EXPR, type, fold_ignored_result (captures[1]), _r);
    1285                 :           0 :             if (TREE_SIDE_EFFECTS (captures[2]))
    1286                 :           0 :               _r = build2_loc (loc, COMPOUND_EXPR, type, fold_ignored_result (captures[2]), _r);
    1287                 :           0 :             if (UNLIKELY (debug_dump)) generic_dump_logs ("match.pd", 215, __FILE__, __LINE__, true);
    1288                 :           0 :             return _r;
    1289                 :             :           }
    1290                 :           0 : next_after_fail362:;
    1291                 :             :         }
    1292                 :             :   }
    1293                 :       17689 :   return NULL_TREE;
    1294                 :             : }
    1295                 :             : 
    1296                 :             : tree
    1297                 :      371715 : generic_simplify_106 (location_t ARG_UNUSED (loc), const tree ARG_UNUSED (type),
    1298                 :             :  tree ARG_UNUSED (_p0), tree ARG_UNUSED (_p1), tree *ARG_UNUSED (captures),
    1299                 :             :  const enum tree_code ARG_UNUSED (bitop),
    1300                 :             :  const enum tree_code ARG_UNUSED (rbitop))
    1301                 :             : {
    1302                 :      371715 :   const bool debug_dump = dump_file && (dump_flags & TDF_FOLDING);
    1303                 :      371715 :   {
    1304                 :      371715 :  bool wascmp;
    1305                 :      371715 :       if (bitwise_inverted_equal_p (captures[2], captures[0], wascmp)
    1306                 :      371715 :  && (!wascmp || element_precision (type) == 1)
    1307                 :             : )
    1308                 :             :         {
    1309                 :          12 :           if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail374;
    1310                 :          12 :           {
    1311                 :          12 :             tree res_op0;
    1312                 :          12 :             res_op0 = captures[2];
    1313                 :          12 :             tree res_op1;
    1314                 :          12 :             res_op1 = captures[1];
    1315                 :          12 :             tree _r;
    1316                 :          12 :             _r = fold_build2_loc (loc, bitop, type, res_op0, res_op1);
    1317                 :          12 :             if (TREE_SIDE_EFFECTS (captures[0]))
    1318                 :           0 :               _r = build2_loc (loc, COMPOUND_EXPR, type, fold_ignored_result (captures[0]), _r);
    1319                 :          12 :             if (UNLIKELY (debug_dump)) generic_dump_logs ("match.pd", 220, __FILE__, __LINE__, true);
    1320                 :          12 :             return _r;
    1321                 :             :           }
    1322                 :           0 : next_after_fail374:;
    1323                 :             :         }
    1324                 :             :   }
    1325                 :      371703 :   return NULL_TREE;
    1326                 :             : }
    1327                 :             : 
    1328                 :             : tree
    1329                 :           0 : generic_simplify_111 (location_t ARG_UNUSED (loc), const tree ARG_UNUSED (type),
    1330                 :             :  tree ARG_UNUSED (_p0), tree ARG_UNUSED (_p1), tree *ARG_UNUSED (captures),
    1331                 :             :  const enum tree_code ARG_UNUSED (bitop),
    1332                 :             :  const enum tree_code ARG_UNUSED (rbitop))
    1333                 :             : {
    1334                 :           0 :   const bool debug_dump = dump_file && (dump_flags & TDF_FOLDING);
    1335                 :           0 :   if (TREE_SIDE_EFFECTS (_p0)) goto next_after_fail379;
    1336                 :           0 :   if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail379;
    1337                 :           0 :   {
    1338                 :           0 :     tree _r;
    1339                 :           0 :     _r = captures[2];
    1340                 :           0 :     if (TREE_SIDE_EFFECTS (captures[1]))
    1341                 :           0 :       _r = build2_loc (loc, COMPOUND_EXPR, type, fold_ignored_result (captures[1]), _r);
    1342                 :           0 :     if (UNLIKELY (debug_dump)) generic_dump_logs ("match.pd", 221, __FILE__, __LINE__, true);
    1343                 :             :     return _r;
    1344                 :             :   }
    1345                 :             : next_after_fail379:;
    1346                 :             :   return NULL_TREE;
    1347                 :             : }
    1348                 :             : 
    1349                 :             : tree
    1350                 :           0 : generic_simplify_118 (location_t ARG_UNUSED (loc), const tree ARG_UNUSED (type),
    1351                 :             :  tree ARG_UNUSED (_p0), tree ARG_UNUSED (_p1), tree *ARG_UNUSED (captures),
    1352                 :             :  const enum tree_code ARG_UNUSED (op))
    1353                 :             : {
    1354                 :           0 :   const bool debug_dump = dump_file && (dump_flags & TDF_FOLDING);
    1355                 :           0 :   if (INTEGRAL_TYPE_P (type)
    1356                 :           0 :  && (tree_nonzero_bits (captures[0]) & tree_nonzero_bits (captures[2])) == 0
    1357                 :             : )
    1358                 :             :     {
    1359                 :           0 :       {
    1360                 :           0 :  tree t = type;
    1361                 :           0 :  if (!TYPE_OVERFLOW_WRAPS (t))
    1362                 :           0 :  t = unsigned_type_for (t);
    1363                 :           0 :  wide_int c = wi::add (wi::to_wide (captures[3]), 1);
    1364                 :           0 :           if (TREE_SIDE_EFFECTS (captures[3])) goto next_after_fail387;
    1365                 :           0 :           if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail387;
    1366                 :           0 :           {
    1367                 :           0 :             tree res_op0;
    1368                 :           0 :             {
    1369                 :           0 :               tree _o1[2], _r1;
    1370                 :           0 :               {
    1371                 :           0 :                 tree _o2[1], _r2;
    1372                 :           0 :                 _o2[0] = captures[2];
    1373                 :           0 :                 if (TREE_TYPE (_o2[0]) != t)
    1374                 :             :                   {
    1375                 :           0 :                     _r2 = fold_build1_loc (loc, NOP_EXPR, t, _o2[0]);
    1376                 :             :                   }
    1377                 :             :                 else
    1378                 :             :                   _r2 = _o2[0];
    1379                 :           0 :                 _o1[0] = _r2;
    1380                 :             :               }
    1381                 :           0 :               _o1[1] =  wide_int_to_tree (t, c);
    1382                 :           0 :               _r1 = fold_build2_loc (loc, MULT_EXPR, t, _o1[0], _o1[1]);
    1383                 :           0 :               res_op0 = _r1;
    1384                 :             :             }
    1385                 :           0 :             tree _r;
    1386                 :           0 :             _r = fold_build1_loc (loc, NOP_EXPR, type, res_op0);
    1387                 :           0 :             if (UNLIKELY (debug_dump)) generic_dump_logs ("match.pd", 228, __FILE__, __LINE__, true);
    1388                 :           0 :             return _r;
    1389                 :             :           }
    1390                 :           0 : next_after_fail387:;
    1391                 :           0 :       }
    1392                 :             :     }
    1393                 :             :   return NULL_TREE;
    1394                 :             : }
    1395                 :             : 
    1396                 :             : tree
    1397                 :           0 : generic_simplify_127 (location_t ARG_UNUSED (loc), const tree ARG_UNUSED (type),
    1398                 :             :  tree ARG_UNUSED (_p0), tree ARG_UNUSED (_p1), tree *ARG_UNUSED (captures))
    1399                 :             : {
    1400                 :           0 :   const bool debug_dump = dump_file && (dump_flags & TDF_FOLDING);
    1401                 :           0 :   if (INTEGRAL_TYPE_P (TREE_TYPE (captures[1]))
    1402                 :           0 :  && TYPE_OVERFLOW_WRAPS (TREE_TYPE (captures[1]))
    1403                 :             : )
    1404                 :             :     {
    1405                 :           0 :       if (TREE_SIDE_EFFECTS (_p1)) goto next_after_fail402;
    1406                 :           0 :       if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail402;
    1407                 :           0 :       {
    1408                 :           0 :         tree res_op0;
    1409                 :           0 :         res_op0 = captures[3];
    1410                 :           0 :         tree res_op1;
    1411                 :           0 :         {
    1412                 :           0 :           tree _o1[2], _r1;
    1413                 :           0 :           _o1[0] = captures[1];
    1414                 :           0 :           _o1[1] =  build_int_cst (TREE_TYPE (captures[1]), 1);
    1415                 :           0 :           _r1 = fold_build2_loc (loc, MINUS_EXPR, TREE_TYPE (_o1[0]), _o1[0], _o1[1]);
    1416                 :           0 :           res_op1 = _r1;
    1417                 :             :         }
    1418                 :           0 :         tree _r;
    1419                 :           0 :         _r = fold_build2_loc (loc, LE_EXPR, type, res_op0, res_op1);
    1420                 :           0 :         if (UNLIKELY (debug_dump)) generic_dump_logs ("match.pd", 243, __FILE__, __LINE__, true);
    1421                 :           0 :         return _r;
    1422                 :             :       }
    1423                 :             : next_after_fail402:;
    1424                 :             :     }
    1425                 :             :   return NULL_TREE;
    1426                 :             : }
    1427                 :             : 
    1428                 :             : tree
    1429                 :           0 : generic_simplify_133 (location_t ARG_UNUSED (loc), const tree ARG_UNUSED (type),
    1430                 :             :  tree ARG_UNUSED (_p0), tree ARG_UNUSED (_p1), tree *ARG_UNUSED (captures))
    1431                 :             : {
    1432                 :           0 :   const bool debug_dump = dump_file && (dump_flags & TDF_FOLDING);
    1433                 :           0 :   if (TREE_SIDE_EFFECTS (_p0)) goto next_after_fail426;
    1434                 :           0 :   if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail426;
    1435                 :           0 :   {
    1436                 :           0 :     tree _r;
    1437                 :           0 :     _r = captures[2];
    1438                 :           0 :     if (TREE_SIDE_EFFECTS (captures[1]))
    1439                 :           0 :       _r = build2_loc (loc, COMPOUND_EXPR, type, fold_ignored_result (captures[1]), _r);
    1440                 :           0 :     if (UNLIKELY (debug_dump)) generic_dump_logs ("match.pd", 241, __FILE__, __LINE__, true);
    1441                 :             :     return _r;
    1442                 :             :   }
    1443                 :             : next_after_fail426:;
    1444                 :             :   return NULL_TREE;
    1445                 :             : }
    1446                 :             : 
    1447                 :             : tree
    1448                 :           0 : generic_simplify_137 (location_t ARG_UNUSED (loc), const tree ARG_UNUSED (type),
    1449                 :             :  tree ARG_UNUSED (_p0), tree ARG_UNUSED (_p1), tree *ARG_UNUSED (captures),
    1450                 :             :  const enum tree_code ARG_UNUSED (code2),
    1451                 :             :  const enum tree_code ARG_UNUSED (code1))
    1452                 :             : {
    1453                 :           0 :   const bool debug_dump = dump_file && (dump_flags & TDF_FOLDING);
    1454                 :           0 :   if ((TREE_CODE (captures[2]) == INTEGER_CST
    1455                 :           0 :  && TREE_CODE (captures[5]) == INTEGER_CST)
    1456                 :           0 :  || ((INTEGRAL_TYPE_P (TREE_TYPE (captures[2]))
    1457                 :           0 :  || (VECTOR_TYPE_P (TREE_TYPE (captures[2])))
    1458                 :           0 :  || POINTER_TYPE_P (TREE_TYPE (captures[2])))
    1459                 :           0 :  && bitwise_equal_p (captures[2], captures[5]))
    1460                 :             : )
    1461                 :             :     {
    1462                 :           0 :       {
    1463                 :           0 :  bool one_before = false;
    1464                 :           0 :  bool one_after = false;
    1465                 :           0 :  int cmp = 0;
    1466                 :           0 :  bool allbits = true;
    1467                 :           0 :  if (TREE_CODE (captures[2]) == INTEGER_CST
    1468                 :           0 :  && TREE_CODE (captures[5]) == INTEGER_CST)
    1469                 :             :  {
    1470                 :           0 :  allbits = TYPE_PRECISION (TREE_TYPE (captures[2])) <= TYPE_PRECISION (TREE_TYPE (captures[5]));
    1471                 :           0 :  auto t1 = wi::to_wide (fold_convert (TREE_TYPE (captures[5]), captures[2]));
    1472                 :           0 :  auto t2 = wi::to_wide (captures[5]);
    1473                 :           0 :  cmp = wi::cmp (t1, t2, TYPE_SIGN (TREE_TYPE (captures[5])));
    1474                 :           0 :  if (cmp < 0
    1475                 :           0 :  && t1 == t2 - 1)
    1476                 :             :  one_before = true;
    1477                 :           0 :  if (cmp > 0
    1478                 :           0 :  && t1 == t2 + 1)
    1479                 :             :  one_after = true;
    1480                 :             :  }
    1481                 :           0 :  bool val;
    1482                 :           0 :  switch (code2)
    1483                 :             :  {
    1484                 :           0 :  case EQ_EXPR: val = (cmp == 0); break;
    1485                 :           0 :  case NE_EXPR: val = (cmp != 0); break;
    1486                 :           0 :  case LT_EXPR: val = (cmp < 0); break;
    1487                 :           0 :  case GT_EXPR: val = (cmp > 0); break;
    1488                 :           0 :  case LE_EXPR: val = (cmp <= 0); break;
    1489                 :           0 :  case GE_EXPR: val = (cmp >= 0); break;
    1490                 :           0 :  default: gcc_unreachable ();
    1491                 :             :  }
    1492                 :           0 :           if (code1 == EQ_EXPR && val
    1493                 :             : )
    1494                 :             :             {
    1495                 :           0 :               if (TREE_SIDE_EFFECTS (_p1)) goto next_after_fail431;
    1496                 :           0 :               if (TREE_SIDE_EFFECTS (captures[2])) goto next_after_fail431;
    1497                 :           0 :               if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail431;
    1498                 :           0 :               {
    1499                 :           0 :                 tree _r;
    1500                 :           0 :                 _r = captures[3];
    1501                 :           0 :                 if (UNLIKELY (debug_dump)) generic_dump_logs ("match.pd", 244, __FILE__, __LINE__, true);
    1502                 :           0 :                 return _r;
    1503                 :             :               }
    1504                 :             : next_after_fail431:;
    1505                 :             :             }
    1506                 :             :           else
    1507                 :             :             {
    1508                 :           0 :               if (code1 == NE_EXPR && val && allbits
    1509                 :             : )
    1510                 :             :                 {
    1511                 :           0 :                   if (TREE_SIDE_EFFECTS (captures[2])) goto next_after_fail432;
    1512                 :           0 :                   if (TREE_SIDE_EFFECTS (captures[5])) goto next_after_fail432;
    1513                 :           0 :                   if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail432;
    1514                 :           0 :                   {
    1515                 :           0 :                     tree _r;
    1516                 :           0 :                     _r =  constant_boolean_node (true, type);
    1517                 :           0 :                     if (TREE_SIDE_EFFECTS (captures[1]))
    1518                 :           0 :                       _r = build2_loc (loc, COMPOUND_EXPR, type, fold_ignored_result (captures[1]), _r);
    1519                 :           0 :                     if (UNLIKELY (debug_dump)) generic_dump_logs ("match.pd", 245, __FILE__, __LINE__, true);
    1520                 :           0 :                     return _r;
    1521                 :             :                   }
    1522                 :             : next_after_fail432:;
    1523                 :             :                 }
    1524                 :             :               else
    1525                 :             :                 {
    1526                 :           0 :                   if (code1 == NE_EXPR && !val && allbits
    1527                 :             : )
    1528                 :             :                     {
    1529                 :           0 :                       if (TREE_SIDE_EFFECTS (_p0)) goto next_after_fail433;
    1530                 :           0 :                       if (TREE_SIDE_EFFECTS (captures[5])) goto next_after_fail433;
    1531                 :           0 :                       if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail433;
    1532                 :           0 :                       {
    1533                 :           0 :                         tree _r;
    1534                 :           0 :                         _r = captures[0];
    1535                 :           0 :                         if (UNLIKELY (debug_dump)) generic_dump_logs ("match.pd", 246, __FILE__, __LINE__, true);
    1536                 :           0 :                         return _r;
    1537                 :             :                       }
    1538                 :             : next_after_fail433:;
    1539                 :             :                     }
    1540                 :             :                   else
    1541                 :             :                     {
    1542                 :           0 :                       if (code1 == EQ_EXPR
    1543                 :           0 :  && code2 == GT_EXPR
    1544                 :           0 :  && cmp == 0
    1545                 :           0 :  && allbits
    1546                 :           0 :  && ((VECTOR_BOOLEAN_TYPE_P (type)
    1547                 :           0 :  && expand_vec_cmp_expr_p (TREE_TYPE (captures[2]), type, GE_EXPR))
    1548                 :           0 :  || !VECTOR_TYPE_P (TREE_TYPE (captures[2])))
    1549                 :             : )
    1550                 :             :                         {
    1551                 :           0 :                           if (TREE_SIDE_EFFECTS (_p1)) goto next_after_fail434;
    1552                 :           0 :                           if (TREE_SIDE_EFFECTS (captures[2])) goto next_after_fail434;
    1553                 :           0 :                           if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail434;
    1554                 :           0 :                           {
    1555                 :           0 :                             tree res_op0;
    1556                 :           0 :                             res_op0 = captures[4];
    1557                 :           0 :                             tree res_op1;
    1558                 :           0 :                             res_op1 = captures[5];
    1559                 :           0 :                             tree _r;
    1560                 :           0 :                             _r = fold_build2_loc (loc, GE_EXPR, type, res_op0, res_op1);
    1561                 :           0 :                             if (UNLIKELY (debug_dump)) generic_dump_logs ("match.pd", 247, __FILE__, __LINE__, true);
    1562                 :           0 :                             return _r;
    1563                 :             :                           }
    1564                 :             : next_after_fail434:;
    1565                 :             :                         }
    1566                 :             :                       else
    1567                 :             :                         {
    1568                 :           0 :                           if (code1 == EQ_EXPR
    1569                 :           0 :  && code2 == LT_EXPR
    1570                 :           0 :  && cmp == 0
    1571                 :           0 :  && allbits
    1572                 :           0 :  && ((VECTOR_BOOLEAN_TYPE_P (type)
    1573                 :           0 :  && expand_vec_cmp_expr_p (TREE_TYPE (captures[2]), type, LE_EXPR))
    1574                 :           0 :  || !VECTOR_TYPE_P (TREE_TYPE (captures[2])))
    1575                 :             : )
    1576                 :             :                             {
    1577                 :           0 :                               if (TREE_SIDE_EFFECTS (_p1)) goto next_after_fail435;
    1578                 :           0 :                               if (TREE_SIDE_EFFECTS (captures[2])) goto next_after_fail435;
    1579                 :           0 :                               if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail435;
    1580                 :           0 :                               {
    1581                 :           0 :                                 tree res_op0;
    1582                 :           0 :                                 res_op0 = captures[4];
    1583                 :           0 :                                 tree res_op1;
    1584                 :           0 :                                 res_op1 = captures[5];
    1585                 :           0 :                                 tree _r;
    1586                 :           0 :                                 _r = fold_build2_loc (loc, LE_EXPR, type, res_op0, res_op1);
    1587                 :           0 :                                 if (UNLIKELY (debug_dump)) generic_dump_logs ("match.pd", 248, __FILE__, __LINE__, true);
    1588                 :           0 :                                 return _r;
    1589                 :             :                               }
    1590                 :             : next_after_fail435:;
    1591                 :             :                             }
    1592                 :             :                           else
    1593                 :             :                             {
    1594                 :           0 :                               if (code1 == EQ_EXPR
    1595                 :           0 :  && code2 == GE_EXPR
    1596                 :             :  && one_before
    1597                 :           0 :  && allbits
    1598                 :           0 :  && ((VECTOR_BOOLEAN_TYPE_P (type)
    1599                 :           0 :  && expand_vec_cmp_expr_p (TREE_TYPE (captures[2]), type, GE_EXPR))
    1600                 :           0 :  || !VECTOR_TYPE_P (TREE_TYPE (captures[2])))
    1601                 :             : )
    1602                 :             :                                 {
    1603                 :           0 :                                   if (TREE_SIDE_EFFECTS (_p1)) goto next_after_fail436;
    1604                 :           0 :                                   if (TREE_SIDE_EFFECTS (captures[2])) goto next_after_fail436;
    1605                 :           0 :                                   if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail436;
    1606                 :           0 :                                   {
    1607                 :           0 :                                     tree res_op0;
    1608                 :           0 :                                     res_op0 = captures[4];
    1609                 :           0 :                                     tree res_op1;
    1610                 :           0 :                                     {
    1611                 :           0 :                                       tree _o1[1], _r1;
    1612                 :           0 :                                       _o1[0] = captures[2];
    1613                 :           0 :                                       if (TREE_TYPE (_o1[0]) != TREE_TYPE (res_op0))
    1614                 :             :                                         {
    1615                 :           0 :                                           _r1 = fold_build1_loc (loc, NOP_EXPR, TREE_TYPE (res_op0), _o1[0]);
    1616                 :             :                                         }
    1617                 :             :                                       else
    1618                 :             :                                         _r1 = _o1[0];
    1619                 :           0 :                                       res_op1 = _r1;
    1620                 :             :                                     }
    1621                 :           0 :                                     tree _r;
    1622                 :           0 :                                     _r = fold_build2_loc (loc, GE_EXPR, type, res_op0, res_op1);
    1623                 :           0 :                                     if (UNLIKELY (debug_dump)) generic_dump_logs ("match.pd", 249, __FILE__, __LINE__, true);
    1624                 :           0 :                                     return _r;
    1625                 :             :                                   }
    1626                 :             : next_after_fail436:;
    1627                 :             :                                 }
    1628                 :             :                               else
    1629                 :             :                                 {
    1630                 :           0 :                                   if (code1 == EQ_EXPR
    1631                 :           0 :  && code2 == LE_EXPR
    1632                 :             :  && one_after
    1633                 :           0 :  && allbits
    1634                 :           0 :  && ((VECTOR_BOOLEAN_TYPE_P (type)
    1635                 :           0 :  && expand_vec_cmp_expr_p (TREE_TYPE (captures[2]), type, LE_EXPR))
    1636                 :           0 :  || !VECTOR_TYPE_P (TREE_TYPE (captures[2])))
    1637                 :             : )
    1638                 :             :                                     {
    1639                 :           0 :                                       if (TREE_SIDE_EFFECTS (_p1)) goto next_after_fail437;
    1640                 :           0 :                                       if (TREE_SIDE_EFFECTS (captures[2])) goto next_after_fail437;
    1641                 :           0 :                                       if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail437;
    1642                 :           0 :                                       {
    1643                 :           0 :                                         tree res_op0;
    1644                 :           0 :                                         res_op0 = captures[4];
    1645                 :           0 :                                         tree res_op1;
    1646                 :           0 :                                         {
    1647                 :           0 :                                           tree _o1[1], _r1;
    1648                 :           0 :                                           _o1[0] = captures[2];
    1649                 :           0 :                                           if (TREE_TYPE (_o1[0]) != TREE_TYPE (res_op0))
    1650                 :             :                                             {
    1651                 :           0 :                                               _r1 = fold_build1_loc (loc, NOP_EXPR, TREE_TYPE (res_op0), _o1[0]);
    1652                 :             :                                             }
    1653                 :             :                                           else
    1654                 :             :                                             _r1 = _o1[0];
    1655                 :           0 :                                           res_op1 = _r1;
    1656                 :             :                                         }
    1657                 :           0 :                                         tree _r;
    1658                 :           0 :                                         _r = fold_build2_loc (loc, LE_EXPR, type, res_op0, res_op1);
    1659                 :           0 :                                         if (UNLIKELY (debug_dump)) generic_dump_logs ("match.pd", 250, __FILE__, __LINE__, true);
    1660                 :           0 :                                         return _r;
    1661                 :             :                                       }
    1662                 :             : next_after_fail437:;
    1663                 :             :                                     }
    1664                 :             :                                 }
    1665                 :             :                             }
    1666                 :             :                         }
    1667                 :             :                     }
    1668                 :             :                 }
    1669                 :             :             }
    1670                 :             :       }
    1671                 :             :     }
    1672                 :             :   return NULL_TREE;
    1673                 :             : }
    1674                 :             : 
    1675                 :             : tree
    1676                 :           0 : generic_simplify_174 (location_t ARG_UNUSED (loc), const tree ARG_UNUSED (type),
    1677                 :             :  tree ARG_UNUSED (_p0), tree ARG_UNUSED (_p1), tree *ARG_UNUSED (captures),
    1678                 :             :  const combined_fn ARG_UNUSED (COPYSIGN_ALL))
    1679                 :             : {
    1680                 :           0 :   const bool debug_dump = dump_file && (dump_flags & TDF_FOLDING);
    1681                 :           0 :   if (!tree_expr_maybe_nan_p (captures[0]) && !HONOR_SIGNED_ZEROS (type)
    1682                 :             : )
    1683                 :             :     {
    1684                 :           0 :       if (TREE_SIDE_EFFECTS (_p1)) goto next_after_fail483;
    1685                 :           0 :       if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail483;
    1686                 :           0 :       {
    1687                 :           0 :         tree res_op0;
    1688                 :           0 :         res_op0 = captures[0];
    1689                 :           0 :         tree _r;
    1690                 :           0 :         _r = fold_build1_loc (loc, ABS_EXPR, type, res_op0);
    1691                 :           0 :         if (UNLIKELY (debug_dump)) generic_dump_logs ("match.pd", 292, __FILE__, __LINE__, true);
    1692                 :           0 :         return _r;
    1693                 :             :       }
    1694                 :             : next_after_fail483:;
    1695                 :             :     }
    1696                 :             :   return NULL_TREE;
    1697                 :             : }
    1698                 :             : 
    1699                 :             : tree
    1700                 :           0 : generic_simplify_179 (location_t ARG_UNUSED (loc), const tree ARG_UNUSED (type),
    1701                 :             :  tree ARG_UNUSED (_p0), tree ARG_UNUSED (_p1), tree *ARG_UNUSED (captures),
    1702                 :             :  const combined_fn ARG_UNUSED (copysigns))
    1703                 :             : {
    1704                 :           0 :   const bool debug_dump = dump_file && (dump_flags & TDF_FOLDING);
    1705                 :           0 :   if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail488;
    1706                 :           0 :   {
    1707                 :           0 :     if (! tree_invariant_p (captures[1])) goto next_after_fail488;
    1708                 :           0 :     tree res_op0;
    1709                 :           0 :     res_op0 = unshare_expr (captures[1]);
    1710                 :           0 :     tree res_op1;
    1711                 :           0 :     res_op1 = captures[1];
    1712                 :           0 :     tree _r;
    1713                 :           0 :     _r = fold_build2_loc (loc, MULT_EXPR, type, res_op0, res_op1);
    1714                 :           0 :     if (TREE_SIDE_EFFECTS (captures[2]))
    1715                 :           0 :       _r = build2_loc (loc, COMPOUND_EXPR, type, fold_ignored_result (captures[2]), _r);
    1716                 :           0 :     if (UNLIKELY (debug_dump)) generic_dump_logs ("match.pd", 295, __FILE__, __LINE__, true);
    1717                 :             :     return _r;
    1718                 :             :   }
    1719                 :             : next_after_fail488:;
    1720                 :             :   return NULL_TREE;
    1721                 :             : }
    1722                 :             : 
    1723                 :             : tree
    1724                 :       36127 : generic_simplify_189 (location_t ARG_UNUSED (loc), const tree ARG_UNUSED (type),
    1725                 :             :  tree ARG_UNUSED (_p0), tree ARG_UNUSED (_p1), tree *ARG_UNUSED (captures))
    1726                 :             : {
    1727                 :       36127 :   const bool debug_dump = dump_file && (dump_flags & TDF_FOLDING);
    1728                 :       36127 :   if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail500;
    1729                 :       36127 :   {
    1730                 :       36127 :     tree res_op0;
    1731                 :       36127 :     res_op0 = captures[0];
    1732                 :       36127 :     tree _r;
    1733                 :       36127 :     _r = fold_build1_loc (loc, NOP_EXPR, type, res_op0);
    1734                 :       36127 :     if (TREE_SIDE_EFFECTS (captures[2]))
    1735                 :           0 :       _r = build2_loc (loc, COMPOUND_EXPR, type, fold_ignored_result (captures[2]), _r);
    1736                 :       36127 :     if (UNLIKELY (debug_dump)) generic_dump_logs ("match.pd", 303, __FILE__, __LINE__, true);
    1737                 :             :     return _r;
    1738                 :             :   }
    1739                 :           0 : next_after_fail500:;
    1740                 :           0 :   return NULL_TREE;
    1741                 :             : }
    1742                 :             : 
    1743                 :             : tree
    1744                 :           6 : generic_simplify_195 (location_t ARG_UNUSED (loc), const tree ARG_UNUSED (type),
    1745                 :             :  tree ARG_UNUSED (_p0), tree ARG_UNUSED (_p1), tree *ARG_UNUSED (captures),
    1746                 :             :  const combined_fn ARG_UNUSED (LDEXP))
    1747                 :             : {
    1748                 :           6 :   const bool debug_dump = dump_file && (dump_flags & TDF_FOLDING);
    1749                 :           6 :   if (flag_unsafe_math_optimizations
    1750                 :             : )
    1751                 :             :     {
    1752                 :           6 :       {
    1753                 :           6 :  HOST_WIDE_INT tmp = 0;
    1754                 :           6 :           if (real_isinteger (&TREE_REAL_CST (captures[0]), &tmp)
    1755                 :           6 :  && tmp > 0 && pow2p_hwi (tmp)
    1756                 :             : )
    1757                 :             :             {
    1758                 :           3 :               if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail507;
    1759                 :           3 :               {
    1760                 :           3 :                 tree res_op0;
    1761                 :           3 :                 res_op0 = captures[1];
    1762                 :           3 :                 tree res_op1;
    1763                 :           3 :                 {
    1764                 :           3 :                   tree _o1[2], _r1;
    1765                 :           3 :                   _o1[0] = build_int_cst (integer_type_node,
    1766                 :           6 :  exact_log2 (tmp));
    1767                 :           3 :                   _o1[1] = captures[2];
    1768                 :           3 :                   _r1 = fold_build2_loc (loc, PLUS_EXPR, TREE_TYPE (_o1[0]), _o1[0], _o1[1]);
    1769                 :           3 :                   res_op1 = _r1;
    1770                 :             :                 }
    1771                 :           3 :                 tree _r;
    1772                 :           3 :                 _r = maybe_build_call_expr_loc (loc, LDEXP, type, 2, res_op0, res_op1);
    1773                 :           3 :                 if (!_r)
    1774                 :           0 :                   goto next_after_fail507;
    1775                 :           3 :                 if (TREE_SIDE_EFFECTS (captures[0]))
    1776                 :           0 :                   _r = build2_loc (loc, COMPOUND_EXPR, type, fold_ignored_result (captures[0]), _r);
    1777                 :           3 :                 if (UNLIKELY (debug_dump)) generic_dump_logs ("match.pd", 310, __FILE__, __LINE__, true);
    1778                 :           3 :                 return _r;
    1779                 :             :               }
    1780                 :           3 : next_after_fail507:;
    1781                 :             :             }
    1782                 :             :       }
    1783                 :             :     }
    1784                 :             :   return NULL_TREE;
    1785                 :             : }
    1786                 :             : 
    1787                 :             : tree
    1788                 :        1742 : generic_simplify_205 (location_t ARG_UNUSED (loc), const tree ARG_UNUSED (type),
    1789                 :             :  tree ARG_UNUSED (_p0), tree ARG_UNUSED (_p1), tree *ARG_UNUSED (captures),
    1790                 :             :  const enum tree_code ARG_UNUSED (cmp))
    1791                 :             : {
    1792                 :        1742 :   const bool debug_dump = dump_file && (dump_flags & TDF_FOLDING);
    1793                 :        3484 :   if (INTEGRAL_TYPE_P (TREE_TYPE (captures[1]))
    1794                 :        1742 :  && TYPE_OVERFLOW_WRAPS (TREE_TYPE (captures[0]))
    1795                 :        3484 :  && (TREE_INT_CST_LOW (captures[1]) & 1) != 0
    1796                 :             : )
    1797                 :             :     {
    1798                 :          10 :       if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail517;
    1799                 :          10 :       {
    1800                 :          10 :         tree res_op0;
    1801                 :          10 :         res_op0 = captures[0];
    1802                 :          10 :         tree res_op1;
    1803                 :          10 :         res_op1 = captures[2];
    1804                 :          10 :         tree _r;
    1805                 :          10 :         _r = fold_build2_loc (loc, cmp, type, res_op0, res_op1);
    1806                 :          10 :         if (TREE_SIDE_EFFECTS (captures[1]))
    1807                 :           0 :           _r = build2_loc (loc, COMPOUND_EXPR, type, fold_ignored_result (captures[1]), _r);
    1808                 :          10 :         if (UNLIKELY (debug_dump)) generic_dump_logs ("match.pd", 320, __FILE__, __LINE__, true);
    1809                 :          10 :         return _r;
    1810                 :             :       }
    1811                 :           0 : next_after_fail517:;
    1812                 :             :     }
    1813                 :             :   return NULL_TREE;
    1814                 :             : }
    1815                 :             : 
    1816                 :             : tree
    1817                 :       29427 : generic_simplify_212 (location_t ARG_UNUSED (loc), const tree ARG_UNUSED (type),
    1818                 :             :  tree ARG_UNUSED (_p0), tree ARG_UNUSED (_p1), tree *ARG_UNUSED (captures),
    1819                 :             :  const enum tree_code ARG_UNUSED (op))
    1820                 :             : {
    1821                 :       29427 :   const bool debug_dump = dump_file && (dump_flags & TDF_FOLDING);
    1822                 :       58854 :   if (ANY_INTEGRAL_TYPE_P (TREE_TYPE (captures[0]))
    1823                 :       58740 :  && (TYPE_OVERFLOW_UNDEFINED (TREE_TYPE (captures[0]))
    1824                 :       26882 :  || ((op == EQ_EXPR || op == NE_EXPR)
    1825                 :        1754 :  && TYPE_OVERFLOW_WRAPS (TREE_TYPE (captures[0]))))
    1826                 :       58797 :  && (CONSTANT_CLASS_P (captures[2]) || single_use (captures[1]))
    1827                 :             : )
    1828                 :             :     {
    1829                 :        4242 :       if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail540;
    1830                 :        4242 :       {
    1831                 :        4242 :         tree res_op0;
    1832                 :        4242 :         res_op0 = captures[2];
    1833                 :        4242 :         tree res_op1;
    1834                 :        4242 :         res_op1 =  build_zero_cst (TREE_TYPE (captures[2]));
    1835                 :        4242 :         tree _r;
    1836                 :        4242 :         _r = fold_build2_loc (loc, op, type, res_op0, res_op1);
    1837                 :        4242 :         if (TREE_SIDE_EFFECTS (captures[0]))
    1838                 :           0 :           _r = build2_loc (loc, COMPOUND_EXPR, type, fold_ignored_result (captures[0]), _r);
    1839                 :        4242 :         if (UNLIKELY (debug_dump)) generic_dump_logs ("match.pd", 342, __FILE__, __LINE__, true);
    1840                 :        4242 :         return _r;
    1841                 :             :       }
    1842                 :           0 : next_after_fail540:;
    1843                 :             :     }
    1844                 :             :   return NULL_TREE;
    1845                 :             : }
    1846                 :             : 
    1847                 :             : tree
    1848                 :        1305 : generic_simplify_218 (location_t ARG_UNUSED (loc), const tree ARG_UNUSED (type),
    1849                 :             :  tree ARG_UNUSED (_p0), tree ARG_UNUSED (_p1), tree *ARG_UNUSED (captures),
    1850                 :             :  const enum tree_code ARG_UNUSED (cmp),
    1851                 :             :  const enum tree_code ARG_UNUSED (ocmp))
    1852                 :             : {
    1853                 :        1305 :   const bool debug_dump = dump_file && (dump_flags & TDF_FOLDING);
    1854                 :        1305 :   if (TYPE_UNSIGNED (TREE_TYPE (captures[0]))
    1855                 :         372 :  && TREE_CODE (TREE_TYPE (captures[0])) != COMPLEX_TYPE
    1856                 :        1655 :  && (VECTOR_TYPE_P (type) || !VECTOR_TYPE_P (TREE_TYPE (captures[0])))
    1857                 :             : )
    1858                 :             :     {
    1859                 :         350 :       if (TREE_SIDE_EFFECTS (_p1)) goto next_after_fail546;
    1860                 :         350 :       if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail546;
    1861                 :         350 :       {
    1862                 :         350 :         tree res_op0;
    1863                 :         350 :         res_op0 = captures[0];
    1864                 :         350 :         tree res_op1;
    1865                 :         350 :         res_op1 = captures[1];
    1866                 :         350 :         tree _r;
    1867                 :         350 :         _r = fold_build2_loc (loc, ocmp, type, res_op0, res_op1);
    1868                 :         350 :         if (UNLIKELY (debug_dump)) generic_dump_logs ("match.pd", 347, __FILE__, __LINE__, true);
    1869                 :         350 :         return _r;
    1870                 :             :       }
    1871                 :             : next_after_fail546:;
    1872                 :             :     }
    1873                 :             :   return NULL_TREE;
    1874                 :             : }
    1875                 :             : 
    1876                 :             : tree
    1877                 :          45 : generic_simplify_225 (location_t ARG_UNUSED (loc), const tree ARG_UNUSED (type),
    1878                 :             :  tree ARG_UNUSED (_p0), tree ARG_UNUSED (_p1), tree *ARG_UNUSED (captures),
    1879                 :             :  const enum tree_code ARG_UNUSED (cmp))
    1880                 :             : {
    1881                 :          45 :   const bool debug_dump = dump_file && (dump_flags & TDF_FOLDING);
    1882                 :          45 :   if (TYPE_UNSIGNED (TREE_TYPE (captures[0]))
    1883                 :             : )
    1884                 :             :     {
    1885                 :           0 :       {
    1886                 :           0 :  tree utype = unsigned_type_for (TREE_TYPE (captures[0]));
    1887                 :           0 :           if (TREE_SIDE_EFFECTS (_p1)) goto next_after_fail555;
    1888                 :           0 :           if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail555;
    1889                 :           0 :           {
    1890                 :           0 :             tree res_op0;
    1891                 :           0 :             {
    1892                 :           0 :               tree _o1[2], _r1;
    1893                 :           0 :               {
    1894                 :           0 :                 tree _o2[1], _r2;
    1895                 :           0 :                 _o2[0] = captures[0];
    1896                 :           0 :                 if (TREE_TYPE (_o2[0]) != utype)
    1897                 :             :                   {
    1898                 :           0 :                     _r2 = fold_build1_loc (loc, NOP_EXPR, utype, _o2[0]);
    1899                 :             :                   }
    1900                 :             :                 else
    1901                 :             :                   _r2 = _o2[0];
    1902                 :           0 :                 _o1[0] = _r2;
    1903                 :             :               }
    1904                 :           0 :               {
    1905                 :           0 :                 tree _o2[1], _r2;
    1906                 :           0 :                 _o2[0] = captures[1];
    1907                 :           0 :                 if (TREE_TYPE (_o2[0]) != utype)
    1908                 :             :                   {
    1909                 :           0 :                     _r2 = fold_build1_loc (loc, NOP_EXPR, utype, _o2[0]);
    1910                 :             :                   }
    1911                 :             :                 else
    1912                 :             :                   _r2 = _o2[0];
    1913                 :           0 :                 _o1[1] = _r2;
    1914                 :             :               }
    1915                 :           0 :               _r1 = fold_build2_loc (loc, BIT_IOR_EXPR, TREE_TYPE (_o1[0]), _o1[0], _o1[1]);
    1916                 :           0 :               res_op0 = _r1;
    1917                 :             :             }
    1918                 :           0 :             tree res_op1;
    1919                 :           0 :             res_op1 =  build_zero_cst (utype);
    1920                 :           0 :             tree _r;
    1921                 :           0 :             _r = fold_build2_loc (loc, cmp, type, res_op0, res_op1);
    1922                 :           0 :             if (UNLIKELY (debug_dump)) generic_dump_logs ("match.pd", 356, __FILE__, __LINE__, true);
    1923                 :           0 :             return _r;
    1924                 :             :           }
    1925                 :             : next_after_fail555:;
    1926                 :             :       }
    1927                 :             :     }
    1928                 :             :   return NULL_TREE;
    1929                 :             : }
    1930                 :             : 
    1931                 :             : tree
    1932                 :         124 : generic_simplify_233 (location_t ARG_UNUSED (loc), const tree ARG_UNUSED (type),
    1933                 :             :  tree ARG_UNUSED (_p0), tree ARG_UNUSED (_p1), tree *ARG_UNUSED (captures),
    1934                 :             :  const enum tree_code ARG_UNUSED (rotate),
    1935                 :             :  const enum tree_code ARG_UNUSED (invrot),
    1936                 :             :  const enum tree_code ARG_UNUSED (cmp))
    1937                 :             : {
    1938                 :         124 :   const bool debug_dump = dump_file && (dump_flags & TDF_FOLDING);
    1939                 :         124 :   if (TREE_SIDE_EFFECTS (captures[1])) goto next_after_fail573;
    1940                 :         124 :   if (TREE_SIDE_EFFECTS (captures[2])) goto next_after_fail573;
    1941                 :         124 :   if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail573;
    1942                 :         124 :   {
    1943                 :         124 :     tree res_op0;
    1944                 :         124 :     res_op0 = captures[0];
    1945                 :         124 :     tree res_op1;
    1946                 :         124 :     res_op1 =  const_binop (invrot, TREE_TYPE (captures[0]), captures[2], captures[1]);
    1947                 :         124 :     tree _r;
    1948                 :         124 :     _r = fold_build2_loc (loc, cmp, type, res_op0, res_op1);
    1949                 :         124 :     if (UNLIKELY (debug_dump)) generic_dump_logs ("match.pd", 374, __FILE__, __LINE__, true);
    1950                 :             :     return _r;
    1951                 :             :   }
    1952                 :             : next_after_fail573:;
    1953                 :             :   return NULL_TREE;
    1954                 :             : }
    1955                 :             : 
    1956                 :             : tree
    1957                 :          22 : generic_simplify_237 (location_t ARG_UNUSED (loc), const tree ARG_UNUSED (type),
    1958                 :             :  tree ARG_UNUSED (_p0), tree ARG_UNUSED (_p1), tree *ARG_UNUSED (captures),
    1959                 :             :  const enum tree_code ARG_UNUSED (cmp),
    1960                 :             :  const combined_fn ARG_UNUSED (bswap))
    1961                 :             : {
    1962                 :          22 :   const bool debug_dump = dump_file && (dump_flags & TDF_FOLDING);
    1963                 :          22 :   {
    1964                 :          22 :  tree ctype = TREE_TYPE (captures[1]);
    1965                 :          22 :       if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail577;
    1966                 :          22 :       {
    1967                 :          22 :         tree res_op0;
    1968                 :          22 :         {
    1969                 :          22 :           tree _o1[1], _r1;
    1970                 :          22 :           _o1[0] = captures[0];
    1971                 :          22 :           if (TREE_TYPE (_o1[0]) != ctype)
    1972                 :             :             {
    1973                 :           0 :               _r1 = fold_build1_loc (loc, NOP_EXPR, ctype, _o1[0]);
    1974                 :             :             }
    1975                 :             :           else
    1976                 :             :             _r1 = _o1[0];
    1977                 :          22 :           res_op0 = _r1;
    1978                 :             :         }
    1979                 :          22 :         tree res_op1;
    1980                 :          22 :         {
    1981                 :          22 :           tree _o1[1], _r1;
    1982                 :          22 :           _o1[0] = captures[1];
    1983                 :          22 :           _r1 = maybe_build_call_expr_loc (loc, bswap, TREE_TYPE (_o1[0]), 1, _o1[0]);
    1984                 :          22 :           if (!_r1)
    1985                 :           0 :             goto next_after_fail577;
    1986                 :          22 :           if (EXPR_P (_r1))
    1987                 :          22 :             goto next_after_fail577;
    1988                 :           0 :           res_op1 = _r1;
    1989                 :             :         }
    1990                 :           0 :         tree _r;
    1991                 :           0 :         _r = fold_build2_loc (loc, cmp, type, res_op0, res_op1);
    1992                 :           0 :         if (UNLIKELY (debug_dump)) generic_dump_logs ("match.pd", 378, __FILE__, __LINE__, true);
    1993                 :             :         return _r;
    1994                 :             :       }
    1995                 :             : next_after_fail577:;
    1996                 :             :   }
    1997                 :             :   return NULL_TREE;
    1998                 :             : }
    1999                 :             : 
    2000                 :             : tree
    2001                 :           0 : generic_simplify_246 (location_t ARG_UNUSED (loc), const tree ARG_UNUSED (type),
    2002                 :             :  tree ARG_UNUSED (_p0), tree ARG_UNUSED (_p1), tree *ARG_UNUSED (captures),
    2003                 :             :  const enum tree_code ARG_UNUSED (cmp))
    2004                 :             : {
    2005                 :           0 :   const bool debug_dump = dump_file && (dump_flags & TDF_FOLDING);
    2006                 :           0 :   if (single_use (captures[1]) && single_use (captures[3])
    2007                 :             : )
    2008                 :             :     {
    2009                 :           0 :       {
    2010                 :           0 :  tree otype = TREE_TYPE (captures[0]);
    2011                 :           0 :           if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail592;
    2012                 :           0 :           {
    2013                 :           0 :             tree res_op0;
    2014                 :           0 :             {
    2015                 :           0 :               tree _o1[1], _r1;
    2016                 :           0 :               _o1[0] = captures[4];
    2017                 :           0 :               if (TREE_TYPE (_o1[0]) != otype)
    2018                 :             :                 {
    2019                 :           0 :                   _r1 = fold_build1_loc (loc, NOP_EXPR, otype, _o1[0]);
    2020                 :             :                 }
    2021                 :             :               else
    2022                 :             :                 _r1 = _o1[0];
    2023                 :           0 :               res_op0 = _r1;
    2024                 :             :             }
    2025                 :           0 :             tree res_op1;
    2026                 :           0 :             {
    2027                 :           0 :               tree _o1[1], _r1;
    2028                 :           0 :               _o1[0] = captures[2];
    2029                 :           0 :               if (TREE_TYPE (_o1[0]) != otype)
    2030                 :             :                 {
    2031                 :           0 :                   _r1 = fold_build1_loc (loc, NOP_EXPR, otype, _o1[0]);
    2032                 :             :                 }
    2033                 :             :               else
    2034                 :             :                 _r1 = _o1[0];
    2035                 :           0 :               res_op1 = _r1;
    2036                 :             :             }
    2037                 :           0 :             tree _r;
    2038                 :           0 :             _r = fold_build2_loc (loc, cmp, type, res_op0, res_op1);
    2039                 :           0 :             if (UNLIKELY (debug_dump)) generic_dump_logs ("match.pd", 392, __FILE__, __LINE__, true);
    2040                 :           0 :             return _r;
    2041                 :             :           }
    2042                 :           0 : next_after_fail592:;
    2043                 :             :       }
    2044                 :             :     }
    2045                 :           0 :   return NULL_TREE;
    2046                 :             : }
    2047                 :             : 
    2048                 :             : tree
    2049                 :       20550 : generic_simplify_251 (location_t ARG_UNUSED (loc), const tree ARG_UNUSED (type),
    2050                 :             :  tree ARG_UNUSED (_p0), tree ARG_UNUSED (_p1), tree *ARG_UNUSED (captures),
    2051                 :             :  const enum tree_code ARG_UNUSED (cmp))
    2052                 :             : {
    2053                 :       20550 :   const bool debug_dump = dump_file && (dump_flags & TDF_FOLDING);
    2054                 :       20550 :   if (flag_associative_math
    2055                 :             : )
    2056                 :             :     {
    2057                 :          13 :       {
    2058                 :          13 :  tree tem = const_binop (MINUS_EXPR, TREE_TYPE (captures[1]), captures[0], captures[2]);
    2059                 :          13 :           if (tem && !TREE_OVERFLOW (tem)
    2060                 :             : )
    2061                 :             :             {
    2062                 :          13 :               if (TREE_SIDE_EFFECTS (captures[0])) goto next_after_fail611;
    2063                 :          13 :               if (TREE_SIDE_EFFECTS (captures[2])) goto next_after_fail611;
    2064                 :          13 :               if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail611;
    2065                 :          13 :               {
    2066                 :          13 :                 tree res_op0;
    2067                 :          13 :                 res_op0 =  tem;
    2068                 :          13 :                 tree res_op1;
    2069                 :          13 :                 res_op1 = captures[1];
    2070                 :          13 :                 tree _r;
    2071                 :          13 :                 _r = fold_build2_loc (loc, cmp, type, res_op0, res_op1);
    2072                 :          13 :                 if (UNLIKELY (debug_dump)) generic_dump_logs ("match.pd", 410, __FILE__, __LINE__, true);
    2073                 :          13 :                 return _r;
    2074                 :             :               }
    2075                 :             : next_after_fail611:;
    2076                 :             :             }
    2077                 :             :       }
    2078                 :             :     }
    2079                 :             :   return NULL_TREE;
    2080                 :             : }
    2081                 :             : 
    2082                 :             : tree
    2083                 :       84688 : generic_simplify_255 (location_t ARG_UNUSED (loc), const tree ARG_UNUSED (type),
    2084                 :             :  tree ARG_UNUSED (_p0), tree ARG_UNUSED (_p1), tree *ARG_UNUSED (captures),
    2085                 :             :  const enum tree_code ARG_UNUSED (cmp),
    2086                 :             :  const enum tree_code ARG_UNUSED (icmp))
    2087                 :             : {
    2088                 :       84688 :   const bool debug_dump = dump_file && (dump_flags & TDF_FOLDING);
    2089                 :       84688 :   if (SCALAR_FLOAT_TYPE_P (TREE_TYPE (captures[1]))
    2090                 :       84688 :  && ! DECIMAL_FLOAT_TYPE_P (TREE_TYPE (captures[1]))
    2091                 :             : )
    2092                 :             :     {
    2093                 :       84197 :       {
    2094                 :       84197 :  tree itype = TREE_TYPE (captures[0]);
    2095                 :       84197 :  format_helper fmt (REAL_MODE_FORMAT (TYPE_MODE (TREE_TYPE (captures[1]))));
    2096                 :       84197 :  const REAL_VALUE_TYPE *cst = TREE_REAL_CST_PTR (captures[1]);
    2097                 :       84197 :  bool exception_p = real_isnan (cst)
    2098                 :         150 :  && flag_trapping_math
    2099                 :       84347 :  && ((cmp != EQ_EXPR && cmp != NE_EXPR)
    2100                 :          30 :  || (cst->signalling
    2101                 :          30 :  && HONOR_SNANS (TREE_TYPE (captures[1]))));
    2102                 :       84197 :           if (fmt.can_represent_integral_type_p (itype) && ! exception_p
    2103                 :             : )
    2104                 :             :             {
    2105                 :       41025 :               {
    2106                 :       41025 :  signop isign = TYPE_SIGN (itype);
    2107                 :       41025 :  REAL_VALUE_TYPE imin, imax;
    2108                 :       41025 :  real_from_integer (&imin, fmt, wi::min_value (itype), isign);
    2109                 :       41025 :  real_from_integer (&imax, fmt, wi::max_value (itype), isign);
    2110                 :       41025 :  REAL_VALUE_TYPE icst;
    2111                 :       41025 :  if (cmp == GT_EXPR || cmp == GE_EXPR)
    2112                 :       40690 :  real_ceil (&icst, fmt, cst);
    2113                 :         335 :  else if (cmp == LT_EXPR || cmp == LE_EXPR)
    2114                 :         183 :  real_floor (&icst, fmt, cst);
    2115                 :             :  else
    2116                 :         152 :  real_trunc (&icst, fmt, cst);
    2117                 :       41025 :  bool cst_int_p = !real_isnan (cst) && real_identical (&icst, cst);
    2118                 :       41025 :  bool overflow_p = false;
    2119                 :       41025 :  wide_int icst_val
    2120                 :       41025 :  = real_to_integer (&icst, &overflow_p, TYPE_PRECISION (itype));
    2121                 :       41025 :                   if (real_compare (LT_EXPR, cst, &imin)
    2122                 :             : )
    2123                 :             :                     {
    2124                 :       20342 :                       if (TREE_SIDE_EFFECTS (captures[1])) goto next_after_fail636;
    2125                 :       20342 :                       if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail636;
    2126                 :       20342 :                       {
    2127                 :       20342 :                         tree _r;
    2128                 :       20342 :                         _r =  constant_boolean_node (cmp == GT_EXPR || cmp == GE_EXPR || cmp == NE_EXPR,
    2129                 :             :  type);
    2130                 :       20342 :                         if (TREE_SIDE_EFFECTS (captures[0]))
    2131                 :           0 :                           _r = build2_loc (loc, COMPOUND_EXPR, type, fold_ignored_result (captures[0]), _r);
    2132                 :       20342 :                         if (UNLIKELY (debug_dump)) generic_dump_logs ("match.pd", 435, __FILE__, __LINE__, true);
    2133                 :       20342 :                         return _r;
    2134                 :             :                       }
    2135                 :           0 : next_after_fail636:;
    2136                 :             :                     }
    2137                 :             :                   else
    2138                 :             :                     {
    2139                 :       20683 :                       if (real_compare (GT_EXPR, cst, &imax)
    2140                 :             : )
    2141                 :             :                         {
    2142                 :          99 :                           if (TREE_SIDE_EFFECTS (captures[1])) goto next_after_fail637;
    2143                 :          99 :                           if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail637;
    2144                 :          99 :                           {
    2145                 :          99 :                             tree _r;
    2146                 :          99 :                             _r =  constant_boolean_node (cmp == LT_EXPR || cmp == LE_EXPR || cmp == NE_EXPR,
    2147                 :             :  type);
    2148                 :          99 :                             if (TREE_SIDE_EFFECTS (captures[0]))
    2149                 :           1 :                               _r = build2_loc (loc, COMPOUND_EXPR, type, fold_ignored_result (captures[0]), _r);
    2150                 :          99 :                             if (UNLIKELY (debug_dump)) generic_dump_logs ("match.pd", 436, __FILE__, __LINE__, true);
    2151                 :          99 :                             return _r;
    2152                 :             :                           }
    2153                 :           0 : next_after_fail637:;
    2154                 :             :                         }
    2155                 :             :                       else
    2156                 :             :                         {
    2157                 :       20584 :                           if (cst_int_p
    2158                 :             : )
    2159                 :             :                             {
    2160                 :       20476 :                               if (TREE_SIDE_EFFECTS (captures[1])) goto next_after_fail638;
    2161                 :       20476 :                               if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail638;
    2162                 :       20476 :                               {
    2163                 :       20476 :                                 tree res_op0;
    2164                 :       20476 :                                 res_op0 = captures[0];
    2165                 :       20476 :                                 tree res_op1;
    2166                 :       20476 :  gcc_assert (!overflow_p);                              res_op1 = 
    2167                 :       20476 :  wide_int_to_tree (itype, icst_val);
    2168                 :       20476 :                                 tree _r;
    2169                 :       20476 :                                 _r = fold_build2_loc (loc, cmp, type, res_op0, res_op1);
    2170                 :       20476 :                                 if (UNLIKELY (debug_dump)) generic_dump_logs ("match.pd", 437, __FILE__, __LINE__, true);
    2171                 :       20476 :                                 return _r;
    2172                 :             :                               }
    2173                 :           0 : next_after_fail638:;
    2174                 :             :                             }
    2175                 :             :                           else
    2176                 :             :                             {
    2177                 :         108 :                               if (cmp == EQ_EXPR || cmp == NE_EXPR
    2178                 :             : )
    2179                 :             :                                 {
    2180                 :          14 :                                   if (TREE_SIDE_EFFECTS (captures[1])) goto next_after_fail639;
    2181                 :          14 :                                   if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail639;
    2182                 :          14 :                                   {
    2183                 :          14 :                                     tree _r;
    2184                 :          14 :                                     _r =  constant_boolean_node (cmp == NE_EXPR, type);
    2185                 :          14 :                                     if (TREE_SIDE_EFFECTS (captures[0]))
    2186                 :           0 :                                       _r = build2_loc (loc, COMPOUND_EXPR, type, fold_ignored_result (captures[0]), _r);
    2187                 :          14 :                                     if (UNLIKELY (debug_dump)) generic_dump_logs ("match.pd", 438, __FILE__, __LINE__, true);
    2188                 :          14 :                                     return _r;
    2189                 :             :                                   }
    2190                 :           0 : next_after_fail639:;
    2191                 :             :                                 }
    2192                 :             :                               else
    2193                 :             :                                 {
    2194                 :          94 :                                   {
    2195                 :          94 :  gcc_checking_assert (!overflow_p);
    2196                 :          94 :                                       if (TREE_SIDE_EFFECTS (captures[1])) goto next_after_fail640;
    2197                 :          94 :                                       if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail640;
    2198                 :          94 :                                       {
    2199                 :          94 :                                         tree res_op0;
    2200                 :          94 :                                         res_op0 = captures[0];
    2201                 :          94 :                                         tree res_op1;
    2202                 :          94 :                                         res_op1 =  wide_int_to_tree (itype, icst_val);
    2203                 :          94 :                                         tree _r;
    2204                 :          94 :                                         _r = fold_build2_loc (loc, icmp, type, res_op0, res_op1);
    2205                 :          94 :                                         if (UNLIKELY (debug_dump)) generic_dump_logs ("match.pd", 439, __FILE__, __LINE__, true);
    2206                 :          94 :                                         return _r;
    2207                 :             :                                       }
    2208                 :           0 : next_after_fail640:;
    2209                 :             :                                   }
    2210                 :             :                                 }
    2211                 :             :                             }
    2212                 :             :                         }
    2213                 :             :                     }
    2214                 :       41025 :               }
    2215                 :             :             }
    2216                 :             :       }
    2217                 :             :     }
    2218                 :             :   return NULL_TREE;
    2219                 :             : }
    2220                 :             : 
    2221                 :             : tree
    2222                 :    28584691 : generic_simplify_269 (location_t ARG_UNUSED (loc), const tree ARG_UNUSED (type),
    2223                 :             :  tree ARG_UNUSED (_p0), tree ARG_UNUSED (_p1), tree *ARG_UNUSED (captures),
    2224                 :             :  const enum tree_code ARG_UNUSED (cmp))
    2225                 :             : {
    2226                 :    28584691 :   const bool debug_dump = dump_file && (dump_flags & TDF_FOLDING);
    2227                 :    28584691 :   if (tree_expr_nonzero_p (captures[0])
    2228                 :             : )
    2229                 :             :     {
    2230                 :     1318590 :       if (TREE_SIDE_EFFECTS (_p1)) goto next_after_fail671;
    2231                 :     1318590 :       if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail671;
    2232                 :     1318590 :       {
    2233                 :     1318590 :         tree _r;
    2234                 :     1318590 :         _r =  constant_boolean_node (cmp == NE_EXPR, type);
    2235                 :     1318590 :         if (TREE_SIDE_EFFECTS (captures[0]))
    2236                 :        7875 :           _r = build2_loc (loc, COMPOUND_EXPR, type, fold_ignored_result (captures[0]), _r);
    2237                 :     1318590 :         if (UNLIKELY (debug_dump)) generic_dump_logs ("match.pd", 463, __FILE__, __LINE__, true);
    2238                 :     1318590 :         return _r;
    2239                 :             :       }
    2240                 :             : next_after_fail671:;
    2241                 :             :     }
    2242                 :             :   return NULL_TREE;
    2243                 :             : }
    2244                 :             : 
    2245                 :             : tree
    2246                 :      787122 : generic_simplify_273 (location_t ARG_UNUSED (loc), const tree ARG_UNUSED (type),
    2247                 :             :  tree ARG_UNUSED (_p0), tree ARG_UNUSED (_p1), tree *ARG_UNUSED (captures),
    2248                 :             :  const enum tree_code ARG_UNUSED (cmp),
    2249                 :             :  const enum tree_code ARG_UNUSED (ncmp))
    2250                 :             : {
    2251                 :      787122 :   const bool debug_dump = dump_file && (dump_flags & TDF_FOLDING);
    2252                 :     1492487 :   if (INTEGRAL_TYPE_P (TREE_TYPE (captures[1]))
    2253                 :      787122 :  && type_has_mode_precision_p (TREE_TYPE (captures[1]))
    2254                 :      785877 :  && element_precision (captures[0]) >= element_precision (captures[1])
    2255                 :     1574244 :  && wi::only_sign_bit_p (wi::to_wide (captures[2]), element_precision (captures[1]))
    2256                 :             : )
    2257                 :             :     {
    2258                 :       18304 :       {
    2259                 :       18304 :  tree stype = signed_type_for (TREE_TYPE (captures[1]));
    2260                 :       18304 :           if (TREE_SIDE_EFFECTS (_p1)) goto next_after_fail675;
    2261                 :       18304 :           if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail675;
    2262                 :       18304 :           {
    2263                 :       18304 :             tree res_op0;
    2264                 :       18304 :             {
    2265                 :       18304 :               tree _o1[1], _r1;
    2266                 :       18304 :               _o1[0] = captures[1];
    2267                 :       18304 :               if (TREE_TYPE (_o1[0]) != stype)
    2268                 :             :                 {
    2269                 :       18095 :                   _r1 = fold_build1_loc (loc, NOP_EXPR, stype, _o1[0]);
    2270                 :             :                 }
    2271                 :             :               else
    2272                 :             :                 _r1 = _o1[0];
    2273                 :       18304 :               res_op0 = _r1;
    2274                 :             :             }
    2275                 :       18304 :             tree res_op1;
    2276                 :       18304 :             res_op1 =  build_zero_cst (stype);
    2277                 :       18304 :             tree _r;
    2278                 :       18304 :             _r = fold_build2_loc (loc, ncmp, type, res_op0, res_op1);
    2279                 :       18304 :             if (TREE_SIDE_EFFECTS (captures[2]))
    2280                 :           0 :               _r = build2_loc (loc, COMPOUND_EXPR, type, fold_ignored_result (captures[2]), _r);
    2281                 :       18304 :             if (UNLIKELY (debug_dump)) generic_dump_logs ("match.pd", 466, __FILE__, __LINE__, true);
    2282                 :       18304 :             return _r;
    2283                 :             :           }
    2284                 :             : next_after_fail675:;
    2285                 :             :       }
    2286                 :             :     }
    2287                 :             :   return NULL_TREE;
    2288                 :             : }
    2289                 :             : 
    2290                 :             : tree
    2291                 :    51601564 : generic_simplify_279 (location_t ARG_UNUSED (loc), const tree ARG_UNUSED (type),
    2292                 :             :  tree ARG_UNUSED (_p0), tree ARG_UNUSED (_p1), tree *ARG_UNUSED (captures),
    2293                 :             :  const enum tree_code ARG_UNUSED (neeq))
    2294                 :             : {
    2295                 :    51601564 :   const bool debug_dump = dump_file && (dump_flags & TDF_FOLDING);
    2296                 :    92260746 :   if (POINTER_TYPE_P (TREE_TYPE (captures[0]))
    2297                 :    51620239 :  && ptrs_compare_unequal (captures[0], captures[1])
    2298                 :             : )
    2299                 :             :     {
    2300                 :       11742 :       if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail695;
    2301                 :       11742 :       {
    2302                 :       11742 :         tree _r;
    2303                 :       11742 :         _r =  constant_boolean_node (neeq != EQ_EXPR, type);
    2304                 :       11742 :         if (TREE_SIDE_EFFECTS (captures[0]))
    2305                 :           0 :           _r = build2_loc (loc, COMPOUND_EXPR, type, fold_ignored_result (captures[0]), _r);
    2306                 :       11742 :         if (TREE_SIDE_EFFECTS (captures[1]))
    2307                 :           0 :           _r = build2_loc (loc, COMPOUND_EXPR, type, fold_ignored_result (captures[1]), _r);
    2308                 :       11742 :         if (UNLIKELY (debug_dump)) generic_dump_logs ("match.pd", 477, __FILE__, __LINE__, true);
    2309                 :       11742 :         return _r;
    2310                 :             :       }
    2311                 :           0 : next_after_fail695:;
    2312                 :             :     }
    2313                 :             :   return NULL_TREE;
    2314                 :             : }
    2315                 :             : 
    2316                 :             : tree
    2317                 :           2 : generic_simplify_282 (location_t ARG_UNUSED (loc), const tree ARG_UNUSED (type),
    2318                 :             :  tree ARG_UNUSED (_p0), tree ARG_UNUSED (_p1), tree *ARG_UNUSED (captures),
    2319                 :             :  const enum tree_code ARG_UNUSED (cmp))
    2320                 :             : {
    2321                 :           2 :   const bool debug_dump = dump_file && (dump_flags & TDF_FOLDING);
    2322                 :           4 :   if (INTEGRAL_TYPE_P (TREE_TYPE (captures[2]))
    2323                 :           2 :  && INTEGRAL_TYPE_P (TREE_TYPE (captures[1]))
    2324                 :           2 :  && TYPE_UNSIGNED (TREE_TYPE (captures[2]))
    2325                 :           2 :  && (TYPE_PRECISION (TREE_TYPE (captures[1]))
    2326                 :           2 :  >= 2 * TYPE_PRECISION (TREE_TYPE (captures[2])))
    2327                 :           2 :  && tree_fits_uhwi_p (captures[4])
    2328                 :           2 :  && tree_to_uhwi (captures[4]) == TYPE_PRECISION (TREE_TYPE (captures[2]))
    2329                 :           2 :  && types_match (captures[2], captures[3])
    2330                 :           2 :  && type_has_mode_precision_p (TREE_TYPE (captures[2]))
    2331                 :           6 :  && (optab_handler (umulv4_optab, TYPE_MODE (TREE_TYPE (captures[2])))
    2332                 :             :  != CODE_FOR_nothing)
    2333                 :             : )
    2334                 :             :     {
    2335                 :           2 :       {
    2336                 :           2 :  tree t = TREE_TYPE (captures[2]), cpx = build_complex_type (t);
    2337                 :           2 :           if (TREE_SIDE_EFFECTS (_p1)) goto next_after_fail702;
    2338                 :           2 :           if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail702;
    2339                 :           2 :           {
    2340                 :           2 :             tree res_op0;
    2341                 :           2 :             {
    2342                 :           2 :               tree _o1[1], _r1;
    2343                 :           2 :               {
    2344                 :           2 :                 tree _o2[2], _r2;
    2345                 :           2 :                 _o2[0] = captures[2];
    2346                 :           2 :                 _o2[1] = captures[3];
    2347                 :           2 :                 _r2 = maybe_build_call_expr_loc (loc, CFN_MUL_OVERFLOW, cpx, 2, _o2[0], _o2[1]);
    2348                 :           2 :                 if (!_r2)
    2349                 :           0 :                   goto next_after_fail702;
    2350                 :           2 :                 _o1[0] = _r2;
    2351                 :             :               }
    2352                 :           2 :               _r1 = fold_build1_loc (loc, IMAGPART_EXPR, TREE_TYPE (TREE_TYPE (_o1[0])), _o1[0]);
    2353                 :           2 :               res_op0 = _r1;
    2354                 :             :             }
    2355                 :           2 :             tree res_op1;
    2356                 :           2 :             res_op1 =  build_zero_cst (t);
    2357                 :           2 :             tree _r;
    2358                 :           2 :             _r = fold_build2_loc (loc, cmp, type, res_op0, res_op1);
    2359                 :           2 :             if (TREE_SIDE_EFFECTS (captures[4]))
    2360                 :           0 :               _r = build2_loc (loc, COMPOUND_EXPR, type, fold_ignored_result (captures[4]), _r);
    2361                 :           2 :             if (UNLIKELY (debug_dump)) generic_dump_logs ("match.pd", 484, __FILE__, __LINE__, true);
    2362                 :           2 :             return _r;
    2363                 :             :           }
    2364                 :             : next_after_fail702:;
    2365                 :             :       }
    2366                 :             :     }
    2367                 :             :   return NULL_TREE;
    2368                 :             : }
    2369                 :             : 
    2370                 :             : tree
    2371                 :      582792 : generic_simplify_284 (location_t ARG_UNUSED (loc), const tree ARG_UNUSED (type),
    2372                 :             :  tree ARG_UNUSED (_p0), tree ARG_UNUSED (_p1), tree *ARG_UNUSED (captures),
    2373                 :             :  const enum tree_code ARG_UNUSED (cmp),
    2374                 :             :  const enum tree_code ARG_UNUSED (rcmp))
    2375                 :             : {
    2376                 :      582792 :   const bool debug_dump = dump_file && (dump_flags & TDF_FOLDING);
    2377                 :     1165584 :   if (!TREE_OVERFLOW (captures[0]) && !TREE_OVERFLOW (captures[2])
    2378                 :     1165584 :  && TYPE_OVERFLOW_UNDEFINED (TREE_TYPE (captures[1]))
    2379                 :             : )
    2380                 :             :     {
    2381                 :        4235 :       {
    2382                 :        4235 :  tree res = int_const_binop (MINUS_EXPR, captures[0], captures[2]);
    2383                 :        4235 :           if (TREE_OVERFLOW (res)
    2384                 :             : )
    2385                 :             :             {
    2386                 :          48 :               if (cmp == NE_EXPR
    2387                 :             : )
    2388                 :             :                 {
    2389                 :           0 :                   if (TREE_SIDE_EFFECTS (captures[0])) goto next_after_fail705;
    2390                 :           0 :                   if (TREE_SIDE_EFFECTS (captures[2])) goto next_after_fail705;
    2391                 :           0 :                   if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail705;
    2392                 :           0 :                   {
    2393                 :           0 :                     tree _r;
    2394                 :           0 :                     _r =  constant_boolean_node (true, type);
    2395                 :           0 :                     if (TREE_SIDE_EFFECTS (captures[1]))
    2396                 :           0 :                       _r = build2_loc (loc, COMPOUND_EXPR, type, fold_ignored_result (captures[1]), _r);
    2397                 :           0 :                     if (UNLIKELY (debug_dump)) generic_dump_logs ("match.pd", 487, __FILE__, __LINE__, true);
    2398                 :           0 :                     return _r;
    2399                 :             :                   }
    2400                 :             : next_after_fail705:;
    2401                 :             :                 }
    2402                 :             :               else
    2403                 :             :                 {
    2404                 :          48 :                   if (cmp == EQ_EXPR
    2405                 :             : )
    2406                 :             :                     {
    2407                 :           0 :                       if (TREE_SIDE_EFFECTS (captures[0])) goto next_after_fail706;
    2408                 :           0 :                       if (TREE_SIDE_EFFECTS (captures[2])) goto next_after_fail706;
    2409                 :           0 :                       if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail706;
    2410                 :           0 :                       {
    2411                 :           0 :                         tree _r;
    2412                 :           0 :                         _r =  constant_boolean_node (false, type);
    2413                 :           0 :                         if (TREE_SIDE_EFFECTS (captures[1]))
    2414                 :           0 :                           _r = build2_loc (loc, COMPOUND_EXPR, type, fold_ignored_result (captures[1]), _r);
    2415                 :           0 :                         if (UNLIKELY (debug_dump)) generic_dump_logs ("match.pd", 488, __FILE__, __LINE__, true);
    2416                 :           0 :                         return _r;
    2417                 :             :                       }
    2418                 :             : next_after_fail706:;
    2419                 :             :                     }
    2420                 :             :                   else
    2421                 :             :                     {
    2422                 :          48 :                       if (TREE_SIDE_EFFECTS (captures[0])) goto next_after_fail707;
    2423                 :          48 :                       if (TREE_SIDE_EFFECTS (captures[2])) goto next_after_fail707;
    2424                 :          48 :                       if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail707;
    2425                 :          48 :                       {
    2426                 :          48 :                         tree _r;
    2427                 :          48 :  bool less = cmp == LE_EXPR || cmp == LT_EXPR;
    2428                 :          48 :  bool ovf_high = wi::lt_p (wi::to_wide (captures[0]), 0,
    2429                 :          48 :  TYPE_SIGN (TREE_TYPE (captures[0])));                  _r = 
    2430                 :          48 :  constant_boolean_node (less == ovf_high, type);
    2431                 :          48 :                         if (TREE_SIDE_EFFECTS (captures[1]))
    2432                 :           0 :                           _r = build2_loc (loc, COMPOUND_EXPR, type, fold_ignored_result (captures[1]), _r);
    2433                 :          48 :                         if (UNLIKELY (debug_dump)) generic_dump_logs ("match.pd", 489, __FILE__, __LINE__, true);
    2434                 :          48 :                         return _r;
    2435                 :             :                       }
    2436                 :             : next_after_fail707:;
    2437                 :             :                     }
    2438                 :             :                 }
    2439                 :             :             }
    2440                 :             :           else
    2441                 :             :             {
    2442                 :        4187 :               if (TREE_SIDE_EFFECTS (captures[0])) goto next_after_fail708;
    2443                 :        4187 :               if (TREE_SIDE_EFFECTS (captures[2])) goto next_after_fail708;
    2444                 :        4187 :               if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail708;
    2445                 :        4187 :               {
    2446                 :        4187 :                 tree res_op0;
    2447                 :        4187 :                 res_op0 = captures[1];
    2448                 :        4187 :                 tree res_op1;
    2449                 :        4187 :                 res_op1 =  res;
    2450                 :        4187 :                 tree _r;
    2451                 :        4187 :                 _r = fold_build2_loc (loc, rcmp, type, res_op0, res_op1);
    2452                 :        4187 :                 if (UNLIKELY (debug_dump)) generic_dump_logs ("match.pd", 490, __FILE__, __LINE__, true);
    2453                 :        4187 :                 return _r;
    2454                 :             :               }
    2455                 :             : next_after_fail708:;
    2456                 :             :             }
    2457                 :             :       }
    2458                 :             :     }
    2459                 :             :   else
    2460                 :             :     {
    2461                 :      578557 :       if (TYPE_UNSIGNED (TREE_TYPE (captures[1]))
    2462                 :             : )
    2463                 :             :         {
    2464                 :      578451 :           if (cmp == EQ_EXPR || cmp == NE_EXPR
    2465                 :             : )
    2466                 :             :             {
    2467                 :       38669 :               if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail709;
    2468                 :       38669 :               {
    2469                 :       38669 :                 tree res_op0;
    2470                 :       38669 :                 res_op0 = captures[1];
    2471                 :       38669 :                 tree res_op1;
    2472                 :       38669 :                 {
    2473                 :       38669 :                   tree _o1[2], _r1;
    2474                 :       38669 :                   _o1[0] = captures[0];
    2475                 :       38669 :                   _o1[1] = captures[2];
    2476                 :       38669 :                   _r1 = fold_build2_loc (loc, MINUS_EXPR, TREE_TYPE (_o1[0]), _o1[0], _o1[1]);
    2477                 :       38669 :                   res_op1 = _r1;
    2478                 :             :                 }
    2479                 :       38669 :                 tree _r;
    2480                 :       38669 :                 _r = fold_build2_loc (loc, cmp, type, res_op0, res_op1);
    2481                 :       38669 :                 if (UNLIKELY (debug_dump)) generic_dump_logs ("match.pd", 491, __FILE__, __LINE__, true);
    2482                 :       38669 :                 return _r;
    2483                 :             :               }
    2484                 :           0 : next_after_fail709:;
    2485                 :             :             }
    2486                 :             :           else
    2487                 :             :             {
    2488                 :      539782 :               if (cmp == LE_EXPR || cmp == GT_EXPR
    2489                 :             : )
    2490                 :             :                 {
    2491                 :      539782 :                   if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail710;
    2492                 :      539782 :                   {
    2493                 :      539782 :                     if (! tree_invariant_p (captures[2])) goto next_after_fail710;
    2494                 :      539782 :                     tree res_op0;
    2495                 :      539782 :                     {
    2496                 :      539782 :                       tree _o1[2], _r1;
    2497                 :      539782 :                       _o1[0] = captures[1];
    2498                 :      539782 :                       {
    2499                 :      539782 :                         tree _o2[2], _r2;
    2500                 :      539782 :                         _o2[0] = unshare_expr (captures[2]);
    2501                 :      539782 :                         _o2[1] = captures[0];
    2502                 :      539782 :                         _r2 = fold_build2_loc (loc, MINUS_EXPR, TREE_TYPE (_o2[0]), _o2[0], _o2[1]);
    2503                 :      539782 :                         _o1[1] = _r2;
    2504                 :             :                       }
    2505                 :      539782 :                       _r1 = fold_build2_loc (loc, PLUS_EXPR, TREE_TYPE (_o1[0]), _o1[0], _o1[1]);
    2506                 :      539782 :                       res_op0 = _r1;
    2507                 :             :                     }
    2508                 :      539782 :                     tree res_op1;
    2509                 :      539782 :                     res_op1 = captures[2];
    2510                 :      539782 :                     tree _r;
    2511                 :      539782 :                     _r = fold_build2_loc (loc, cmp, type, res_op0, res_op1);
    2512                 :      539782 :                     if (UNLIKELY (debug_dump)) generic_dump_logs ("match.pd", 492, __FILE__, __LINE__, true);
    2513                 :      539782 :                     return _r;
    2514                 :             :                   }
    2515                 :             : next_after_fail710:;
    2516                 :             :                 }
    2517                 :             :               else
    2518                 :             :                 {
    2519                 :           0 :                   if (cmp == LT_EXPR || cmp == GE_EXPR
    2520                 :             : )
    2521                 :             :                     {
    2522                 :           0 :                       if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail711;
    2523                 :           0 :                       {
    2524                 :           0 :                         if (! tree_invariant_p (captures[2])) goto next_after_fail711;
    2525                 :           0 :                         tree res_op0;
    2526                 :           0 :                         {
    2527                 :           0 :                           tree _o1[2], _r1;
    2528                 :           0 :                           _o1[0] = captures[1];
    2529                 :           0 :                           {
    2530                 :           0 :                             tree _o2[2], _r2;
    2531                 :           0 :                             _o2[0] = unshare_expr (captures[2]);
    2532                 :           0 :                             {
    2533                 :           0 :                               tree _o3[2], _r3;
    2534                 :           0 :                               _o3[0] = captures[0];
    2535                 :           0 :                               _o3[1] =  build_one_cst (TREE_TYPE (captures[1]));
    2536                 :           0 :                               _r3 = fold_build2_loc (loc, PLUS_EXPR, TREE_TYPE (_o3[0]), _o3[0], _o3[1]);
    2537                 :           0 :                               _o2[1] = _r3;
    2538                 :             :                             }
    2539                 :           0 :                             _r2 = fold_build2_loc (loc, MINUS_EXPR, TREE_TYPE (_o2[0]), _o2[0], _o2[1]);
    2540                 :           0 :                             _o1[1] = _r2;
    2541                 :             :                           }
    2542                 :           0 :                           _r1 = fold_build2_loc (loc, PLUS_EXPR, TREE_TYPE (_o1[0]), _o1[0], _o1[1]);
    2543                 :           0 :                           res_op0 = _r1;
    2544                 :             :                         }
    2545                 :           0 :                         tree res_op1;
    2546                 :           0 :                         res_op1 = captures[2];
    2547                 :           0 :                         tree _r;
    2548                 :           0 :                         _r = fold_build2_loc (loc, cmp, type, res_op0, res_op1);
    2549                 :           0 :                         if (UNLIKELY (debug_dump)) generic_dump_logs ("match.pd", 493, __FILE__, __LINE__, true);
    2550                 :           0 :                         return _r;
    2551                 :             :                       }
    2552                 :             : next_after_fail711:;
    2553                 :             :                     }
    2554                 :             :                 }
    2555                 :             :             }
    2556                 :             :         }
    2557                 :             :       else
    2558                 :             :         {
    2559                 :         106 :           if (!TYPE_UNSIGNED (TREE_TYPE (captures[1]))
    2560                 :         106 :  && TYPE_OVERFLOW_WRAPS (TREE_TYPE (captures[1]))
    2561                 :             : )
    2562                 :             :             {
    2563                 :         106 :               if (cmp == EQ_EXPR || cmp == NE_EXPR
    2564                 :             : )
    2565                 :             :                 {
    2566                 :           0 :                   if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail712;
    2567                 :           0 :                   {
    2568                 :           0 :                     tree res_op0;
    2569                 :           0 :                     res_op0 = captures[1];
    2570                 :           0 :                     tree res_op1;
    2571                 :           0 :                     {
    2572                 :           0 :                       tree _o1[2], _r1;
    2573                 :           0 :                       _o1[0] = captures[0];
    2574                 :           0 :                       _o1[1] = captures[2];
    2575                 :           0 :                       _r1 = fold_build2_loc (loc, MINUS_EXPR, TREE_TYPE (_o1[0]), _o1[0], _o1[1]);
    2576                 :           0 :                       res_op1 = _r1;
    2577                 :             :                     }
    2578                 :           0 :                     tree _r;
    2579                 :           0 :                     _r = fold_build2_loc (loc, cmp, type, res_op0, res_op1);
    2580                 :           0 :                     if (UNLIKELY (debug_dump)) generic_dump_logs ("match.pd", 494, __FILE__, __LINE__, true);
    2581                 :           0 :                     return _r;
    2582                 :             :                   }
    2583                 :           0 : next_after_fail712:;
    2584                 :             :                 }
    2585                 :             :               else
    2586                 :             :                 {
    2587                 :         106 :                   if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail713;
    2588                 :         106 :                   {
    2589                 :         106 :                     tree res_op0;
    2590                 :         106 :                     {
    2591                 :         106 :                       tree _o1[2], _r1;
    2592                 :         106 :                       _o1[0] = captures[1];
    2593                 :         106 :                       {
    2594                 :         106 :                         tree _o2[2], _r2;
    2595                 :         106 :                         _o2[0] = captures[0];
    2596                 :         106 :                         _o2[1] =  build_one_cst (TREE_TYPE (captures[1]));
    2597                 :         106 :                         _r2 = fold_build2_loc (loc, PLUS_EXPR, TREE_TYPE (_o2[0]), _o2[0], _o2[1]);
    2598                 :         106 :                         _o1[1] = _r2;
    2599                 :             :                       }
    2600                 :         106 :                       _r1 = fold_build2_loc (loc, MINUS_EXPR, TREE_TYPE (_o1[0]), _o1[0], _o1[1]);
    2601                 :         106 :                       res_op0 = _r1;
    2602                 :             :                     }
    2603                 :         106 :                     tree res_op1;
    2604                 :         106 :                     {
    2605                 :         106 :                       tree _o1[1], _r1;
    2606                 :         106 :                       _o1[0] = captures[2];
    2607                 :         106 :                       _r1 = fold_build1_loc (loc, BIT_NOT_EXPR, TREE_TYPE (_o1[0]), _o1[0]);
    2608                 :         106 :                       res_op1 = _r1;
    2609                 :             :                     }
    2610                 :         106 :                     tree _r;
    2611                 :         106 :                     _r = fold_build2_loc (loc, rcmp, type, res_op0, res_op1);
    2612                 :         106 :                     if (UNLIKELY (debug_dump)) generic_dump_logs ("match.pd", 495, __FILE__, __LINE__, true);
    2613                 :         106 :                     return _r;
    2614                 :             :                   }
    2615                 :           0 : next_after_fail713:;
    2616                 :             :                 }
    2617                 :             :             }
    2618                 :             :         }
    2619                 :             :     }
    2620                 :             :   return NULL_TREE;
    2621                 :             : }
    2622                 :             : 
    2623                 :             : tree
    2624                 :           6 : generic_simplify_330 (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 combined_fn ARG_UNUSED (TAN),
    2627                 :             :  const combined_fn ARG_UNUSED (SIN),
    2628                 :             :  const combined_fn ARG_UNUSED (COS))
    2629                 :             : {
    2630                 :           6 :   const bool debug_dump = dump_file && (dump_flags & TDF_FOLDING);
    2631                 :           6 :   if (flag_unsafe_math_optimizations && canonicalize_math_p ()
    2632                 :             : )
    2633                 :             :     {
    2634                 :           6 :       if (! HONOR_NANS (captures[1])
    2635                 :           6 :  && ! HONOR_INFINITIES (captures[1])
    2636                 :             : )
    2637                 :             :         {
    2638                 :           6 :           if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail771;
    2639                 :           6 :           {
    2640                 :           6 :             tree res_op0;
    2641                 :           6 :             res_op0 =  build_one_cst (type);
    2642                 :           6 :             tree res_op1;
    2643                 :           6 :             {
    2644                 :           6 :               tree _o1[1], _r1;
    2645                 :           6 :               _o1[0] = captures[1];
    2646                 :           6 :               _r1 = maybe_build_call_expr_loc (loc, COS, TREE_TYPE (_o1[0]), 1, _o1[0]);
    2647                 :           6 :               if (!_r1)
    2648                 :           0 :                 goto next_after_fail771;
    2649                 :           6 :               res_op1 = _r1;
    2650                 :             :             }
    2651                 :           6 :             tree _r;
    2652                 :           6 :             _r = fold_build2_loc (loc, RDIV_EXPR, type, res_op0, res_op1);
    2653                 :           6 :             if (UNLIKELY (debug_dump)) generic_dump_logs ("match.pd", 551, __FILE__, __LINE__, true);
    2654                 :           6 :             return _r;
    2655                 :             :           }
    2656                 :             : next_after_fail771:;
    2657                 :             :         }
    2658                 :             :     }
    2659                 :             :   return NULL_TREE;
    2660                 :             : }
    2661                 :             : 
    2662                 :             : tree
    2663                 :         973 : generic_simplify_339 (location_t ARG_UNUSED (loc), const tree ARG_UNUSED (type),
    2664                 :             :  tree ARG_UNUSED (_p0), tree ARG_UNUSED (_p1), tree *ARG_UNUSED (captures),
    2665                 :             :  const enum tree_code ARG_UNUSED (op))
    2666                 :             : {
    2667                 :         973 :   const bool debug_dump = dump_file && (dump_flags & TDF_FOLDING);
    2668                 :        1946 :   if (ANY_INTEGRAL_TYPE_P (TREE_TYPE (captures[0]))
    2669                 :        1946 :  && TYPE_OVERFLOW_UNDEFINED (TREE_TYPE (captures[0]))
    2670                 :             : )
    2671                 :             :     {
    2672                 :           0 :       if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail782;
    2673                 :           0 :       {
    2674                 :           0 :         tree res_op0;
    2675                 :           0 :         res_op0 = captures[0];
    2676                 :           0 :         tree res_op1;
    2677                 :           0 :         res_op1 = captures[2];
    2678                 :           0 :         tree _r;
    2679                 :           0 :         _r = fold_build2_loc (loc, op, type, res_op0, res_op1);
    2680                 :           0 :         if (TREE_SIDE_EFFECTS (captures[1]))
    2681                 :           0 :           _r = build2_loc (loc, COMPOUND_EXPR, type, fold_ignored_result (captures[1]), _r);
    2682                 :           0 :         if (UNLIKELY (debug_dump)) generic_dump_logs ("match.pd", 562, __FILE__, __LINE__, true);
    2683                 :           0 :         return _r;
    2684                 :             :       }
    2685                 :           0 : next_after_fail782:;
    2686                 :             :     }
    2687                 :             :   return NULL_TREE;
    2688                 :             : }
    2689                 :             : 
    2690                 :             : tree
    2691                 :       37795 : generic_simplify_345 (location_t ARG_UNUSED (loc), const tree ARG_UNUSED (type),
    2692                 :             :  tree ARG_UNUSED (_p0), tree ARG_UNUSED (_p1), tree *ARG_UNUSED (captures),
    2693                 :             :  const enum tree_code ARG_UNUSED (cmp),
    2694                 :             :  const enum tree_code ARG_UNUSED (out))
    2695                 :             : {
    2696                 :       37795 :   const bool debug_dump = dump_file && (dump_flags & TDF_FOLDING);
    2697                 :       37795 :   if (TYPE_OVERFLOW_WRAPS (TREE_TYPE (captures[1]))
    2698                 :       37779 :  && types_match (TREE_TYPE (captures[3]), TREE_TYPE (captures[0]))
    2699                 :       37779 :  && tree_nop_conversion_p (TREE_TYPE (captures[2]), TREE_TYPE (captures[3]))
    2700                 :       37795 :  && wi::to_wide (captures[4]) != 0
    2701                 :           0 :  && single_use (captures[1])
    2702                 :             : )
    2703                 :             :     {
    2704                 :       37779 :       {
    2705                 :       37779 :  unsigned int prec = TYPE_PRECISION (TREE_TYPE (captures[3]));
    2706                 :       37779 :  signop sign = TYPE_SIGN (TREE_TYPE (captures[3]));
    2707                 :       37779 :           if (TREE_SIDE_EFFECTS (captures[4])) goto next_after_fail789;
    2708                 :       37779 :           if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail789;
    2709                 :       37779 :           {
    2710                 :       37779 :             tree res_op0;
    2711                 :       37779 :             res_op0 = captures[3];
    2712                 :       37779 :             tree res_op1;
    2713                 :       37779 :             res_op1 =  wide_int_to_tree (TREE_TYPE (captures[3]),
    2714                 :       37779 :  wi::max_value (prec, sign)
    2715                 :      113337 :  - wi::to_wide (captures[4]));
    2716                 :       37779 :             tree _r;
    2717                 :       37779 :             _r = fold_build2_loc (loc, out, type, res_op0, res_op1);
    2718                 :       37779 :             if (UNLIKELY (debug_dump)) generic_dump_logs ("match.pd", 569, __FILE__, __LINE__, true);
    2719                 :       37779 :             return _r;
    2720                 :             :           }
    2721                 :             : next_after_fail789:;
    2722                 :             :       }
    2723                 :             :     }
    2724                 :             :   return NULL_TREE;
    2725                 :             : }
    2726                 :             : 
    2727                 :             : tree
    2728                 :           0 : generic_simplify_354 (location_t ARG_UNUSED (loc), const tree ARG_UNUSED (type),
    2729                 :             :  tree ARG_UNUSED (_p0), tree ARG_UNUSED (_p1), tree *ARG_UNUSED (captures),
    2730                 :             :  const enum tree_code ARG_UNUSED (cmp),
    2731                 :             :  const enum tree_code ARG_UNUSED (out))
    2732                 :             : {
    2733                 :           0 :   const bool debug_dump = dump_file && (dump_flags & TDF_FOLDING);
    2734                 :           0 :   if (TYPE_UNSIGNED (TREE_TYPE (captures[1]))
    2735                 :           0 :  && types_match (TREE_TYPE (captures[1]), TREE_TYPE (captures[2]))
    2736                 :             : )
    2737                 :             :     {
    2738                 :           0 :       if (TREE_SIDE_EFFECTS (_p0)) goto next_after_fail830;
    2739                 :           0 :       if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail830;
    2740                 :           0 :       {
    2741                 :           0 :         tree res_op0;
    2742                 :           0 :         {
    2743                 :           0 :           tree _o1[1], _r1;
    2744                 :           0 :           _o1[0] = captures[0];
    2745                 :           0 :           _r1 = fold_build1_loc (loc, IMAGPART_EXPR, TREE_TYPE (TREE_TYPE (_o1[0])), _o1[0]);
    2746                 :           0 :           res_op0 = _r1;
    2747                 :             :         }
    2748                 :           0 :         tree res_op1;
    2749                 :           0 :         res_op1 =  build_zero_cst (TREE_TYPE (captures[1]));
    2750                 :           0 :         tree _r;
    2751                 :           0 :         _r = fold_build2_loc (loc, out, type, res_op0, res_op1);
    2752                 :           0 :         if (UNLIKELY (debug_dump)) generic_dump_logs ("match.pd", 593, __FILE__, __LINE__, true);
    2753                 :           0 :         return _r;
    2754                 :             :       }
    2755                 :             : next_after_fail830:;
    2756                 :             :     }
    2757                 :             :   return NULL_TREE;
    2758                 :             : }
    2759                 :             : 
    2760                 :             : tree
    2761                 :      748024 : generic_simplify_360 (location_t ARG_UNUSED (loc), const tree ARG_UNUSED (type),
    2762                 :             :  tree ARG_UNUSED (_p0), tree ARG_UNUSED (_p1), tree *ARG_UNUSED (captures),
    2763                 :             :  const enum tree_code ARG_UNUSED (cmp),
    2764                 :             :  const enum tree_code ARG_UNUSED (icmp))
    2765                 :             : {
    2766                 :      748024 :   const bool debug_dump = dump_file && (dump_flags & TDF_FOLDING);
    2767                 :     1493554 :   if (INTEGRAL_TYPE_P (TREE_TYPE (captures[0]))
    2768                 :      748024 :  && TYPE_UNSIGNED (TREE_TYPE (captures[0]))
    2769                 :      342590 :  && TYPE_PRECISION (TREE_TYPE (captures[0])) > 1
    2770                 :     1838638 :  && (wi::to_wide (captures[2])
    2771                 :     1775794 :  == wi::max_value (TYPE_PRECISION (TREE_TYPE (captures[0])), SIGNED) - 1)
    2772                 :             : )
    2773                 :             :     {
    2774                 :        4892 :       {
    2775                 :        4892 :  tree stype = signed_type_for (TREE_TYPE (captures[0]));
    2776                 :        4892 :           if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail843;
    2777                 :        4892 :           {
    2778                 :        4892 :             tree res_op0;
    2779                 :        4892 :             {
    2780                 :        4892 :               tree _o1[1], _r1;
    2781                 :        4892 :               _o1[0] = captures[0];
    2782                 :        4892 :               if (TREE_TYPE (_o1[0]) != stype)
    2783                 :             :                 {
    2784                 :        4892 :                   _r1 = fold_build1_loc (loc, NOP_EXPR, stype, _o1[0]);
    2785                 :             :                 }
    2786                 :             :               else
    2787                 :             :                 _r1 = _o1[0];
    2788                 :        4892 :               res_op0 = _r1;
    2789                 :             :             }
    2790                 :        4892 :             tree res_op1;
    2791                 :        4892 :             res_op1 =  build_int_cst (stype, 0);
    2792                 :        4892 :             tree _r;
    2793                 :        4892 :             _r = fold_build2_loc (loc, icmp, type, res_op0, res_op1);
    2794                 :        4892 :             if (TREE_SIDE_EFFECTS (captures[1]))
    2795                 :           0 :               _r = build2_loc (loc, COMPOUND_EXPR, type, fold_ignored_result (captures[1]), _r);
    2796                 :        4892 :             if (TREE_SIDE_EFFECTS (captures[2]))
    2797                 :           0 :               _r = build2_loc (loc, COMPOUND_EXPR, type, fold_ignored_result (captures[2]), _r);
    2798                 :        4892 :             if (UNLIKELY (debug_dump)) generic_dump_logs ("match.pd", 606, __FILE__, __LINE__, true);
    2799                 :        4892 :             return _r;
    2800                 :             :           }
    2801                 :           0 : next_after_fail843:;
    2802                 :             :       }
    2803                 :             :     }
    2804                 :             :   return NULL_TREE;
    2805                 :             : }
    2806                 :             : 
    2807                 :             : tree
    2808                 :           0 : generic_simplify_365 (location_t ARG_UNUSED (loc), const tree ARG_UNUSED (type),
    2809                 :             :  tree ARG_UNUSED (_p0), tree ARG_UNUSED (_p1), tree *ARG_UNUSED (captures),
    2810                 :             :  const enum tree_code ARG_UNUSED (cmp),
    2811                 :             :  const enum tree_code ARG_UNUSED (out))
    2812                 :             : {
    2813                 :           0 :   const bool debug_dump = dump_file && (dump_flags & TDF_FOLDING);
    2814                 :           0 :   if (TYPE_UNSIGNED (TREE_TYPE (captures[1]))
    2815                 :           0 :  && types_match (TREE_TYPE (captures[1]), TREE_TYPE (captures[2]))
    2816                 :             : )
    2817                 :             :     {
    2818                 :           0 :       if (TREE_SIDE_EFFECTS (_p1)) goto next_after_fail848;
    2819                 :           0 :       if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail848;
    2820                 :           0 :       {
    2821                 :           0 :         tree res_op0;
    2822                 :           0 :         {
    2823                 :           0 :           tree _o1[1], _r1;
    2824                 :           0 :           _o1[0] = captures[0];
    2825                 :           0 :           _r1 = fold_build1_loc (loc, IMAGPART_EXPR, TREE_TYPE (TREE_TYPE (_o1[0])), _o1[0]);
    2826                 :           0 :           res_op0 = _r1;
    2827                 :             :         }
    2828                 :           0 :         tree res_op1;
    2829                 :           0 :         res_op1 =  build_zero_cst (TREE_TYPE (captures[1]));
    2830                 :           0 :         tree _r;
    2831                 :           0 :         _r = fold_build2_loc (loc, out, type, res_op0, res_op1);
    2832                 :           0 :         if (UNLIKELY (debug_dump)) generic_dump_logs ("match.pd", 593, __FILE__, __LINE__, true);
    2833                 :           0 :         return _r;
    2834                 :             :       }
    2835                 :             : next_after_fail848:;
    2836                 :             :     }
    2837                 :             :   return NULL_TREE;
    2838                 :             : }
    2839                 :             : 
    2840                 :             : tree
    2841                 :         415 : generic_simplify_371 (location_t ARG_UNUSED (loc), const tree ARG_UNUSED (type),
    2842                 :             :  tree ARG_UNUSED (_p0), tree ARG_UNUSED (_p1), tree *ARG_UNUSED (captures),
    2843                 :             :  const enum tree_code ARG_UNUSED (shift),
    2844                 :             :  const enum tree_code ARG_UNUSED (mod))
    2845                 :             : {
    2846                 :         415 :   const bool debug_dump = dump_file && (dump_flags & TDF_FOLDING);
    2847                 :         415 :   if (integer_pow2p (captures[3]) && tree_int_cst_sgn (captures[3]) > 0
    2848                 :             : )
    2849                 :             :     {
    2850                 :         391 :       if (TREE_SIDE_EFFECTS (_p1)) goto next_after_fail858;
    2851                 :         391 :       if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail858;
    2852                 :         391 :       {
    2853                 :         391 :         tree res_op0;
    2854                 :         391 :         res_op0 = captures[0];
    2855                 :         391 :         tree res_op1;
    2856                 :         391 :         {
    2857                 :         391 :           tree _o1[2], _r1;
    2858                 :         391 :           _o1[0] = captures[1];
    2859                 :         391 :           {
    2860                 :         391 :             tree _o2[2], _r2;
    2861                 :         391 :             _o2[0] = captures[2];
    2862                 :         391 :             _o2[1] =  build_int_cst (TREE_TYPE (captures[2]),
    2863                 :             :  1);
    2864                 :         391 :             _r2 = fold_build2_loc (loc, MINUS_EXPR, TREE_TYPE (_o2[0]), _o2[0], _o2[1]);
    2865                 :         391 :             _o1[1] = _r2;
    2866                 :             :           }
    2867                 :         391 :           _r1 = fold_build2_loc (loc, BIT_AND_EXPR, TREE_TYPE (_o1[0]), _o1[0], _o1[1]);
    2868                 :         391 :           res_op1 = _r1;
    2869                 :             :         }
    2870                 :         391 :         tree _r;
    2871                 :         391 :         _r = fold_build2_loc (loc, shift, type, res_op0, res_op1);
    2872                 :         391 :         if (UNLIKELY (debug_dump)) generic_dump_logs ("match.pd", 617, __FILE__, __LINE__, true);
    2873                 :         391 :         return _r;
    2874                 :             :       }
    2875                 :             : next_after_fail858:;
    2876                 :             :     }
    2877                 :             :   return NULL_TREE;
    2878                 :             : }
    2879                 :             : 
    2880                 :             : tree
    2881                 :           0 : generic_simplify_377 (location_t ARG_UNUSED (loc), const tree ARG_UNUSED (type),
    2882                 :             :  tree ARG_UNUSED (_p0), tree ARG_UNUSED (_p1), tree *ARG_UNUSED (captures),
    2883                 :             :  const enum tree_code ARG_UNUSED (shiftrotate))
    2884                 :             : {
    2885                 :           0 :   const bool debug_dump = dump_file && (dump_flags & TDF_FOLDING);
    2886                 :           0 :   {
    2887                 :           0 :  tree tem = uniform_vector_p (captures[1]);
    2888                 :           0 :       if (tem
    2889                 :             : )
    2890                 :             :         {
    2891                 :           0 :           if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail864;
    2892                 :           0 :           {
    2893                 :           0 :             tree res_op0;
    2894                 :           0 :             res_op0 = captures[0];
    2895                 :           0 :             tree res_op1;
    2896                 :           0 :             res_op1 =  tem;
    2897                 :           0 :             tree _r;
    2898                 :           0 :             _r = fold_build2_loc (loc, shiftrotate, type, res_op0, res_op1);
    2899                 :           0 :             if (TREE_SIDE_EFFECTS (captures[1]))
    2900                 :           0 :               _r = build2_loc (loc, COMPOUND_EXPR, type, fold_ignored_result (captures[1]), _r);
    2901                 :           0 :             if (UNLIKELY (debug_dump)) generic_dump_logs ("match.pd", 622, __FILE__, __LINE__, true);
    2902                 :           0 :             return _r;
    2903                 :             :           }
    2904                 :           0 : next_after_fail864:;
    2905                 :             :         }
    2906                 :             :   }
    2907                 :             :   return NULL_TREE;
    2908                 :             : }
    2909                 :             : 
    2910                 :             : tree
    2911                 :     3111305 : generic_simplify_383 (location_t ARG_UNUSED (loc), const tree ARG_UNUSED (type),
    2912                 :             :  tree ARG_UNUSED (_p0), tree *ARG_UNUSED (captures),
    2913                 :             :  const enum tree_code ARG_UNUSED (bitop))
    2914                 :             : {
    2915                 :     3111305 :   const bool debug_dump = dump_file && (dump_flags & TDF_FOLDING);
    2916                 :     3111305 :   if (0
    2917                 :             :  && TREE_CODE (captures[3]) != INTEGER_CST
    2918                 :             :  && tree_nop_conversion_p (type, TREE_TYPE (captures[0]))
    2919                 :             :  && types_match (type, captures[2])
    2920                 :             :  && !POINTER_TYPE_P (TREE_TYPE (captures[2]))
    2921                 :             :  && TREE_CODE (TREE_TYPE (captures[2])) != OFFSET_TYPE
    2922                 :             : )
    2923                 :             :     {
    2924                 :             :       if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail877;
    2925                 :             :       {
    2926                 :             :         tree res_op0;
    2927                 :             :         res_op0 = captures[2];
    2928                 :             :         tree res_op1;
    2929                 :             :         {
    2930                 :             :           tree _o1[1], _r1;
    2931                 :             :           _o1[0] = captures[3];
    2932                 :             :           if (TREE_TYPE (_o1[0]) != type)
    2933                 :             :             {
    2934                 :             :               _r1 = fold_build1_loc (loc, NOP_EXPR, type, _o1[0]);
    2935                 :             :             }
    2936                 :             :           else
    2937                 :             :             _r1 = _o1[0];
    2938                 :             :           res_op1 = _r1;
    2939                 :             :         }
    2940                 :             :         tree _r;
    2941                 :             :         _r = fold_build2_loc (loc, bitop, type, res_op0, res_op1);
    2942                 :             :         if (UNLIKELY (debug_dump)) generic_dump_logs ("match.pd", 634, __FILE__, __LINE__, true);
    2943                 :             :         return _r;
    2944                 :             :       }
    2945                 :             : next_after_fail877:;
    2946                 :             :     }
    2947                 :     3111305 :   return NULL_TREE;
    2948                 :             : }
    2949                 :             : 
    2950                 :             : tree
    2951                 :      827563 : generic_simplify_386 (location_t ARG_UNUSED (loc), const tree ARG_UNUSED (type),
    2952                 :             :  tree ARG_UNUSED (_p0), tree *ARG_UNUSED (captures),
    2953                 :             :  const enum tree_code ARG_UNUSED (op))
    2954                 :             : {
    2955                 :      827563 :   const bool debug_dump = dump_file && (dump_flags & TDF_FOLDING);
    2956                 :      827563 :   if (INTEGRAL_TYPE_P (type)
    2957                 :      722448 :  && op != MULT_EXPR
    2958                 :      722448 :  && op != RDIV_EXPR
    2959                 :      415163 :  && INTEGRAL_TYPE_P (TREE_TYPE (captures[2]))
    2960                 :      392551 :  && INTEGRAL_TYPE_P (TREE_TYPE (captures[1]))
    2961                 :      392551 :  && type_has_mode_precision_p (TREE_TYPE (captures[2]))
    2962                 :      336922 :  && type_has_mode_precision_p (TREE_TYPE (captures[4]))
    2963                 :      336644 :  && type_has_mode_precision_p (type)
    2964                 :      336622 :  && TYPE_PRECISION (TREE_TYPE (captures[1])) > TYPE_PRECISION (TREE_TYPE (captures[2]))
    2965                 :       25286 :  && types_match (captures[2], type)
    2966                 :      832644 :  && (types_match (captures[2], captures[4])
    2967                 :        5032 :  || poly_int_tree_p (captures[3]))
    2968                 :             : )
    2969                 :             :     {
    2970                 :          49 :       if (TYPE_OVERFLOW_WRAPS (TREE_TYPE (captures[2]))
    2971                 :             : )
    2972                 :             :         {
    2973                 :           9 :           if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail881;
    2974                 :           9 :           {
    2975                 :           9 :             tree res_op0;
    2976                 :           9 :             res_op0 = captures[2];
    2977                 :           9 :             tree res_op1;
    2978                 :           9 :             {
    2979                 :           9 :               tree _o1[1], _r1;
    2980                 :           9 :               _o1[0] = captures[4];
    2981                 :           9 :               if (TREE_TYPE (_o1[0]) != type)
    2982                 :             :                 {
    2983                 :           0 :                   _r1 = fold_build1_loc (loc, NOP_EXPR, type, _o1[0]);
    2984                 :             :                 }
    2985                 :             :               else
    2986                 :             :                 _r1 = _o1[0];
    2987                 :           9 :               res_op1 = _r1;
    2988                 :             :             }
    2989                 :           9 :             tree _r;
    2990                 :           9 :             _r = fold_build2_loc (loc, op, type, res_op0, res_op1);
    2991                 :           9 :             if (UNLIKELY (debug_dump)) generic_dump_logs ("match.pd", 638, __FILE__, __LINE__, true);
    2992                 :           9 :             return _r;
    2993                 :             :           }
    2994                 :           0 : next_after_fail881:;
    2995                 :             :         }
    2996                 :             :       else
    2997                 :             :         {
    2998                 :          40 :           {
    2999                 :          40 :  tree utype = unsigned_type_for (TREE_TYPE (captures[2]));
    3000                 :          40 :               if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail882;
    3001                 :          40 :               {
    3002                 :          40 :                 tree res_op0;
    3003                 :          40 :                 {
    3004                 :          40 :                   tree _o1[2], _r1;
    3005                 :          40 :                   {
    3006                 :          40 :                     tree _o2[1], _r2;
    3007                 :          40 :                     _o2[0] = captures[2];
    3008                 :          40 :                     if (TREE_TYPE (_o2[0]) != utype)
    3009                 :             :                       {
    3010                 :          40 :                         _r2 = fold_build1_loc (loc, NOP_EXPR, utype, _o2[0]);
    3011                 :             :                       }
    3012                 :             :                     else
    3013                 :             :                       _r2 = _o2[0];
    3014                 :          40 :                     _o1[0] = _r2;
    3015                 :             :                   }
    3016                 :          40 :                   {
    3017                 :          40 :                     tree _o2[1], _r2;
    3018                 :          40 :                     _o2[0] = captures[4];
    3019                 :          40 :                     if (TREE_TYPE (_o2[0]) != utype)
    3020                 :             :                       {
    3021                 :          40 :                         _r2 = fold_build1_loc (loc, NOP_EXPR, utype, _o2[0]);
    3022                 :             :                       }
    3023                 :             :                     else
    3024                 :             :                       _r2 = _o2[0];
    3025                 :          40 :                     _o1[1] = _r2;
    3026                 :             :                   }
    3027                 :          40 :                   _r1 = fold_build2_loc (loc, op, TREE_TYPE (_o1[0]), _o1[0], _o1[1]);
    3028                 :          40 :                   res_op0 = _r1;
    3029                 :             :                 }
    3030                 :          40 :                 tree _r;
    3031                 :          40 :                 _r = fold_build1_loc (loc, NOP_EXPR, type, res_op0);
    3032                 :          40 :                 if (UNLIKELY (debug_dump)) generic_dump_logs ("match.pd", 639, __FILE__, __LINE__, true);
    3033                 :          40 :                 return _r;
    3034                 :             :               }
    3035                 :           0 : next_after_fail882:;
    3036                 :             :           }
    3037                 :             :         }
    3038                 :             :     }
    3039                 :             :   else
    3040                 :             :     {
    3041                 :      811037 :       if (FLOAT_TYPE_P (type)
    3042                 :      843991 :  && DECIMAL_FLOAT_TYPE_P (TREE_TYPE (captures[0]))
    3043                 :       16477 :  == DECIMAL_FLOAT_TYPE_P (type)
    3044                 :             : )
    3045                 :             :         {
    3046                 :       16454 :           {
    3047                 :       16454 :  tree arg0 = strip_float_extensions (captures[2]);
    3048                 :       16454 :  tree arg1 = strip_float_extensions (captures[4]);
    3049                 :       16454 :  tree itype = TREE_TYPE (captures[0]);
    3050                 :       16454 :  tree ty1 = TREE_TYPE (arg0);
    3051                 :       16454 :  tree ty2 = TREE_TYPE (arg1);
    3052                 :       16454 :  enum tree_code code = TREE_CODE (itype);
    3053                 :           0 :               if (FLOAT_TYPE_P (ty1)
    3054                 :       16454 :  && FLOAT_TYPE_P (ty2)
    3055                 :             : )
    3056                 :             :                 {
    3057                 :       16454 :                   {
    3058                 :       16454 :  tree newtype = type;
    3059                 :       16454 :  if (TYPE_MODE (ty1) == SDmode
    3060                 :       16445 :  || TYPE_MODE (ty2) == SDmode
    3061                 :       32899 :  || TYPE_MODE (type) == SDmode)
    3062                 :           9 :  newtype = dfloat32_type_node;
    3063                 :       16454 :  if (TYPE_MODE (ty1) == DDmode
    3064                 :       16448 :  || TYPE_MODE (ty2) == DDmode
    3065                 :       32902 :  || TYPE_MODE (type) == DDmode)
    3066                 :           6 :  newtype = dfloat64_type_node;
    3067                 :       16454 :  if (TYPE_MODE (ty1) == TDmode
    3068                 :       16454 :  || TYPE_MODE (ty2) == TDmode
    3069                 :       32908 :  || TYPE_MODE (type) == TDmode)
    3070                 :          15 :  newtype = dfloat128_type_node;
    3071                 :       16454 :                       if ((newtype == dfloat32_type_node
    3072                 :       16454 :  || newtype == dfloat64_type_node
    3073                 :       16454 :  || newtype == dfloat128_type_node)
    3074                 :          15 :  && newtype == type
    3075                 :       16460 :  && types_match (newtype, type)
    3076                 :             : )
    3077                 :             :                         {
    3078                 :           6 :                           if (TREE_SIDE_EFFECTS (captures[2])) goto next_after_fail883;
    3079                 :           0 :                           if (TREE_SIDE_EFFECTS (captures[4])) goto next_after_fail883;
    3080                 :           0 :                           if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail883;
    3081                 :           0 :                           {
    3082                 :           0 :                             tree res_op0;
    3083                 :           0 :                             {
    3084                 :           0 :                               tree _o1[1], _r1;
    3085                 :           0 :                               _o1[0] = captures[2];
    3086                 :           0 :                               if (TREE_TYPE (_o1[0]) != newtype)
    3087                 :             :                                 {
    3088                 :           0 :                                   _r1 = fold_build1_loc (loc, NOP_EXPR, newtype, _o1[0]);
    3089                 :             :                                 }
    3090                 :             :                               else
    3091                 :             :                                 _r1 = _o1[0];
    3092                 :           0 :                               res_op0 = _r1;
    3093                 :             :                             }
    3094                 :           0 :                             tree res_op1;
    3095                 :           0 :                             {
    3096                 :           0 :                               tree _o1[1], _r1;
    3097                 :           0 :                               _o1[0] = captures[4];
    3098                 :           0 :                               if (TREE_TYPE (_o1[0]) != newtype)
    3099                 :             :                                 {
    3100                 :           0 :                                   _r1 = fold_build1_loc (loc, NOP_EXPR, newtype, _o1[0]);
    3101                 :             :                                 }
    3102                 :             :                               else
    3103                 :             :                                 _r1 = _o1[0];
    3104                 :           0 :                               res_op1 = _r1;
    3105                 :             :                             }
    3106                 :           0 :                             tree _r;
    3107                 :           0 :                             _r = fold_build2_loc (loc, op, type, res_op0, res_op1);
    3108                 :           0 :                             if (UNLIKELY (debug_dump)) generic_dump_logs ("match.pd", 640, __FILE__, __LINE__, true);
    3109                 :           0 :                             return _r;
    3110                 :             :                           }
    3111                 :             : next_after_fail883:;
    3112                 :             :                         }
    3113                 :             :                       else
    3114                 :             :                         {
    3115                 :       16448 :                           {
    3116                 :       16448 :  if (element_precision (ty1) > element_precision (newtype))
    3117                 :           4 :  newtype = ty1;
    3118                 :       16448 :  if (element_precision (ty2) > element_precision (newtype))
    3119                 :           1 :  newtype = ty2;
    3120                 :       16448 :                               if (element_precision (newtype) < element_precision (itype)
    3121                 :       16202 :  && (!VECTOR_MODE_P (TYPE_MODE (newtype))
    3122                 :           0 :  || target_supports_op_p (newtype, op, optab_default))
    3123                 :       16202 :  && (flag_unsafe_math_optimizations
    3124                 :       16185 :  || (element_precision (newtype) == element_precision (type)
    3125                 :       16181 :  && real_can_shorten_arithmetic (element_mode (itype),
    3126                 :             :  element_mode (type))
    3127                 :        6408 :  && !excess_precision_type (newtype)))
    3128                 :       16473 :  && !types_match (itype, newtype)
    3129                 :             : )
    3130                 :             :                                 {
    3131                 :          25 :                                   if (TREE_SIDE_EFFECTS (captures[2])) goto next_after_fail884;
    3132                 :          25 :                                   if (TREE_SIDE_EFFECTS (captures[4])) goto next_after_fail884;
    3133                 :          17 :                                   if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail884;
    3134                 :          17 :                                   {
    3135                 :          17 :                                     tree res_op0;
    3136                 :          17 :                                     {
    3137                 :          17 :                                       tree _o1[2], _r1;
    3138                 :          17 :                                       {
    3139                 :          17 :                                         tree _o2[1], _r2;
    3140                 :          17 :                                         _o2[0] = captures[2];
    3141                 :          17 :                                         if (TREE_TYPE (_o2[0]) != newtype)
    3142                 :             :                                           {
    3143                 :           0 :                                             _r2 = fold_build1_loc (loc, NOP_EXPR, newtype, _o2[0]);
    3144                 :             :                                           }
    3145                 :             :                                         else
    3146                 :             :                                           _r2 = _o2[0];
    3147                 :          17 :                                         _o1[0] = _r2;
    3148                 :             :                                       }
    3149                 :          17 :                                       {
    3150                 :          17 :                                         tree _o2[1], _r2;
    3151                 :          17 :                                         _o2[0] = captures[4];
    3152                 :          17 :                                         if (TREE_TYPE (_o2[0]) != newtype)
    3153                 :             :                                           {
    3154                 :           0 :                                             _r2 = fold_build1_loc (loc, NOP_EXPR, newtype, _o2[0]);
    3155                 :             :                                           }
    3156                 :             :                                         else
    3157                 :             :                                           _r2 = _o2[0];
    3158                 :          17 :                                         _o1[1] = _r2;
    3159                 :             :                                       }
    3160                 :          17 :                                       _r1 = fold_build2_loc (loc, op, TREE_TYPE (_o1[0]), _o1[0], _o1[1]);
    3161                 :          17 :                                       res_op0 = _r1;
    3162                 :             :                                     }
    3163                 :          17 :                                     tree _r;
    3164                 :          17 :                                     _r = fold_build1_loc (loc, NOP_EXPR, type, res_op0);
    3165                 :          17 :                                     if (UNLIKELY (debug_dump)) generic_dump_logs ("match.pd", 641, __FILE__, __LINE__, true);
    3166                 :          17 :                                     return _r;
    3167                 :             :                                   }
    3168                 :             : next_after_fail884:;
    3169                 :             :                                 }
    3170                 :             :                           }
    3171                 :             :                         }
    3172                 :             :                   }
    3173                 :             :                 }
    3174                 :             :           }
    3175                 :             :         }
    3176                 :             :     }
    3177                 :             :   return NULL_TREE;
    3178                 :             : }
    3179                 :             : 
    3180                 :             : tree
    3181                 :           2 : generic_simplify_409 (location_t ARG_UNUSED (loc), const tree ARG_UNUSED (type),
    3182                 :             :  tree ARG_UNUSED (_p0), tree ARG_UNUSED (_p1), tree *ARG_UNUSED (captures))
    3183                 :             : {
    3184                 :           2 :   const bool debug_dump = dump_file && (dump_flags & TDF_FOLDING);
    3185                 :           2 :   if (TREE_SIDE_EFFECTS (_p0)) goto next_after_fail916;
    3186                 :           2 :   if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail916;
    3187                 :           2 :   {
    3188                 :           2 :     tree res_op0;
    3189                 :           2 :     res_op0 = captures[0];
    3190                 :           2 :     tree res_op1;
    3191                 :           2 :     {
    3192                 :           2 :       tree _o1[1], _r1;
    3193                 :           2 :       _o1[0] = captures[5];
    3194                 :           2 :       _r1 = fold_build1_loc (loc, BIT_NOT_EXPR, TREE_TYPE (_o1[0]), _o1[0]);
    3195                 :           2 :       res_op1 = _r1;
    3196                 :             :     }
    3197                 :           2 :     tree _r;
    3198                 :           2 :     _r = fold_build2_loc (loc, BIT_AND_EXPR, type, res_op0, res_op1);
    3199                 :           2 :     if (UNLIKELY (debug_dump)) generic_dump_logs ("match.pd", 661, __FILE__, __LINE__, true);
    3200                 :             :     return _r;
    3201                 :             :   }
    3202                 :             : next_after_fail916:;
    3203                 :             :   return NULL_TREE;
    3204                 :             : }
    3205                 :             : 
    3206                 :             : tree
    3207                 :           0 : generic_simplify_416 (location_t ARG_UNUSED (loc), const tree ARG_UNUSED (type),
    3208                 :             :  tree ARG_UNUSED (_p0), tree ARG_UNUSED (_p1), tree *ARG_UNUSED (captures))
    3209                 :             : {
    3210                 :           0 :   const bool debug_dump = dump_file && (dump_flags & TDF_FOLDING);
    3211                 :           0 :   if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail923;
    3212                 :           0 :   {
    3213                 :           0 :     tree res_op0;
    3214                 :           0 :     res_op0 = captures[0];
    3215                 :           0 :     tree res_op1;
    3216                 :           0 :     res_op1 = captures[1];
    3217                 :           0 :     tree _r;
    3218                 :           0 :     _r = fold_build2_loc (loc, BIT_XOR_EXPR, type, res_op0, res_op1);
    3219                 :           0 :     if (UNLIKELY (debug_dump)) generic_dump_logs ("match.pd", 667, __FILE__, __LINE__, true);
    3220                 :             :     return _r;
    3221                 :             :   }
    3222                 :           0 : next_after_fail923:;
    3223                 :           0 :   return NULL_TREE;
    3224                 :             : }
    3225                 :             : 
    3226                 :             : tree
    3227                 :          13 : generic_simplify_420 (location_t ARG_UNUSED (loc), const tree ARG_UNUSED (type),
    3228                 :             :  tree ARG_UNUSED (_p0), tree ARG_UNUSED (_p1), tree *ARG_UNUSED (captures))
    3229                 :             : {
    3230                 :          13 :   const bool debug_dump = dump_file && (dump_flags & TDF_FOLDING);
    3231                 :          13 :   if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail927;
    3232                 :          13 :   {
    3233                 :          13 :     tree _r;
    3234                 :          13 :     _r =  build_zero_cst (type);
    3235                 :          13 :     if (TREE_SIDE_EFFECTS (captures[0]))
    3236                 :           0 :       _r = build2_loc (loc, COMPOUND_EXPR, type, fold_ignored_result (captures[0]), _r);
    3237                 :          13 :     if (UNLIKELY (debug_dump)) generic_dump_logs ("match.pd", 671, __FILE__, __LINE__, true);
    3238                 :             :     return _r;
    3239                 :             :   }
    3240                 :           0 : next_after_fail927:;
    3241                 :           0 :   return NULL_TREE;
    3242                 :             : }
    3243                 :             : 
    3244                 :             : tree
    3245                 :       44402 : generic_simplify_424 (location_t ARG_UNUSED (loc), const tree ARG_UNUSED (type),
    3246                 :             :  tree ARG_UNUSED (_p0), tree ARG_UNUSED (_p1), tree *ARG_UNUSED (captures),
    3247                 :             :  const enum tree_code ARG_UNUSED (shift))
    3248                 :             : {
    3249                 :       44402 :   const bool debug_dump = dump_file && (dump_flags & TDF_FOLDING);
    3250                 :       44402 :   if (tree_nop_conversion_p (TREE_TYPE (captures[0]), TREE_TYPE (captures[1]))
    3251                 :       21884 :  && TYPE_PRECISION (type) <= HOST_BITS_PER_WIDE_INT
    3252                 :       21884 :  && tree_fits_uhwi_p (captures[4])
    3253                 :       21884 :  && tree_to_uhwi (captures[4]) > 0
    3254                 :       66286 :  && tree_to_uhwi (captures[4]) < TYPE_PRECISION (type)
    3255                 :             : )
    3256                 :             :     {
    3257                 :       21884 :       {
    3258                 :       21884 :  unsigned int shiftc = tree_to_uhwi (captures[4]);
    3259                 :       21884 :  unsigned HOST_WIDE_INT mask = TREE_INT_CST_LOW (captures[5]);
    3260                 :       21884 :  unsigned HOST_WIDE_INT newmask, zerobits = 0;
    3261                 :       21884 :  tree shift_type = TREE_TYPE (captures[2]);
    3262                 :       21884 :  unsigned int prec;
    3263                 :       21884 :  if (shift == LSHIFT_EXPR)
    3264                 :           0 :  zerobits = ((HOST_WIDE_INT_1U << shiftc) - 1);
    3265                 :       21884 :  else if (shift == RSHIFT_EXPR
    3266                 :       21884 :  && type_has_mode_precision_p (shift_type))
    3267                 :             :  {
    3268                 :       21884 :  prec = TYPE_PRECISION (TREE_TYPE (captures[2]));
    3269                 :       21884 :  tree arg00 = captures[3];
    3270                 :       21884 :  if (captures[2] != captures[3]
    3271                 :       21884 :  && TYPE_UNSIGNED (TREE_TYPE (captures[3])))
    3272                 :             :  {
    3273                 :       21477 :  tree inner_type = TREE_TYPE (captures[3]);
    3274                 :       21477 :  if (type_has_mode_precision_p (inner_type)
    3275                 :       21477 :  && TYPE_PRECISION (inner_type) < prec)
    3276                 :             :  {
    3277                 :           0 :  prec = TYPE_PRECISION (inner_type);
    3278                 :           0 :  if (shiftc < prec)
    3279                 :           0 :  shift_type = inner_type;
    3280                 :             :  }
    3281                 :             :  }
    3282                 :       21884 :  zerobits = HOST_WIDE_INT_M1U;
    3283                 :       21884 :  if (shiftc < prec)
    3284                 :             :  {
    3285                 :       21884 :  zerobits >>= HOST_BITS_PER_WIDE_INT - shiftc;
    3286                 :       21884 :  zerobits <<= prec - shiftc;
    3287                 :             :  }
    3288                 :       21884 :  if (!TYPE_UNSIGNED (TREE_TYPE (captures[2]))
    3289                 :       21884 :  && prec == TYPE_PRECISION (TREE_TYPE (captures[2])))
    3290                 :             :  {
    3291                 :          73 :  if ((mask & zerobits) == 0)
    3292                 :          59 :  shift_type = unsigned_type_for (TREE_TYPE (captures[2]));
    3293                 :             :  else
    3294                 :             :  zerobits = 0;
    3295                 :             :  }
    3296                 :             :  }
    3297                 :       21870 :           if ((mask & zerobits) == mask
    3298                 :             : )
    3299                 :             :             {
    3300                 :           0 :               if (TREE_SIDE_EFFECTS (captures[2])) goto next_after_fail931;
    3301                 :           0 :               if (TREE_SIDE_EFFECTS (captures[3])) goto next_after_fail931;
    3302                 :           0 :               if (TREE_SIDE_EFFECTS (captures[4])) goto next_after_fail931;
    3303                 :           0 :               if (TREE_SIDE_EFFECTS (captures[5])) goto next_after_fail931;
    3304                 :           0 :               if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail931;
    3305                 :           0 :               {
    3306                 :           0 :                 tree _r;
    3307                 :           0 :                 _r =  build_int_cst (type, 0);
    3308                 :           0 :                 if (UNLIKELY (debug_dump)) generic_dump_logs ("match.pd", 674, __FILE__, __LINE__, true);
    3309                 :           0 :                 return _r;
    3310                 :             :               }
    3311                 :             : next_after_fail931:;
    3312                 :             :             }
    3313                 :             :           else
    3314                 :             :             {
    3315                 :       21884 :               {
    3316                 :       21884 :  newmask = mask | zerobits;
    3317                 :       21884 :                   if (newmask != mask && (newmask & (newmask + 1)) == 0
    3318                 :             : )
    3319                 :             :                     {
    3320                 :             :                       {
    3321                 :          65 :  for (prec = BITS_PER_UNIT;
    3322                 :         122 :  prec < HOST_BITS_PER_WIDE_INT; prec <<= 1)
    3323                 :         118 :  if (newmask == (HOST_WIDE_INT_1U << prec) - 1)
    3324                 :             :  break;
    3325                 :          57 :                           if (prec < HOST_BITS_PER_WIDE_INT
    3326                 :           4 :  || newmask == HOST_WIDE_INT_M1U
    3327                 :             : )
    3328                 :             :                             {
    3329                 :          57 :                               {
    3330                 :          57 :  tree newmaskt = build_int_cst_type (TREE_TYPE (captures[5]), newmask);
    3331                 :          57 :                                   if (!tree_int_cst_equal (newmaskt, captures[5])
    3332                 :             : )
    3333                 :             :                                     {
    3334                 :          57 :                                       if (shift_type != TREE_TYPE (captures[2])
    3335                 :             : )
    3336                 :             :                                         {
    3337                 :          47 :                                           if (TREE_SIDE_EFFECTS (_p0)) goto next_after_fail932;
    3338                 :          47 :                                           if (TREE_SIDE_EFFECTS (captures[5])) goto next_after_fail932;
    3339                 :          47 :                                           if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail932;
    3340                 :          47 :                                           {
    3341                 :          47 :                                             tree res_op0;
    3342                 :          47 :                                             {
    3343                 :          47 :                                               tree _o1[1], _r1;
    3344                 :          47 :                                               {
    3345                 :          47 :                                                 tree _o2[2], _r2;
    3346                 :          47 :                                                 {
    3347                 :          47 :                                                   tree _o3[1], _r3;
    3348                 :          47 :                                                   _o3[0] = captures[2];
    3349                 :          47 :                                                   if (TREE_TYPE (_o3[0]) != shift_type)
    3350                 :             :                                                     {
    3351                 :          47 :                                                       _r3 = fold_build1_loc (loc, NOP_EXPR, shift_type, _o3[0]);
    3352                 :             :                                                     }
    3353                 :             :                                                   else
    3354                 :             :                                                     _r3 = _o3[0];
    3355                 :          47 :                                                   _o2[0] = _r3;
    3356                 :             :                                                 }
    3357                 :          47 :                                                 _o2[1] = captures[4];
    3358                 :          47 :                                                 _r2 = fold_build2_loc (loc, shift, shift_type, _o2[0], _o2[1]);
    3359                 :          47 :                                                 _o1[0] = _r2;
    3360                 :             :                                               }
    3361                 :          47 :                                               if (TREE_TYPE (_o1[0]) != type)
    3362                 :             :                                                 {
    3363                 :          47 :                                                   _r1 = fold_build1_loc (loc, NOP_EXPR, type, _o1[0]);
    3364                 :             :                                                 }
    3365                 :             :                                               else
    3366                 :             :                                                 _r1 = _o1[0];
    3367                 :          47 :                                               res_op0 = _r1;
    3368                 :             :                                             }
    3369                 :          47 :                                             tree res_op1;
    3370                 :          47 :                                             res_op1 =  newmaskt;
    3371                 :          47 :                                             tree _r;
    3372                 :          47 :                                             _r = fold_build2_loc (loc, BIT_AND_EXPR, type, res_op0, res_op1);
    3373                 :          47 :                                             if (UNLIKELY (debug_dump)) generic_dump_logs ("match.pd", 675, __FILE__, __LINE__, true);
    3374                 :          47 :                                             return _r;
    3375                 :             :                                           }
    3376                 :             : next_after_fail932:;
    3377                 :             :                                         }
    3378                 :             :                                       else
    3379                 :             :                                         {
    3380                 :          10 :                                           if (TREE_SIDE_EFFECTS (_p0)) goto next_after_fail933;
    3381                 :          10 :                                           if (TREE_SIDE_EFFECTS (captures[5])) goto next_after_fail933;
    3382                 :          10 :                                           if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail933;
    3383                 :          10 :                                           {
    3384                 :          10 :                                             tree res_op0;
    3385                 :          10 :                                             res_op0 = captures[0];
    3386                 :          10 :                                             tree res_op1;
    3387                 :          10 :                                             res_op1 =  newmaskt;
    3388                 :          10 :                                             tree _r;
    3389                 :          10 :                                             _r = fold_build2_loc (loc, BIT_AND_EXPR, type, res_op0, res_op1);
    3390                 :          10 :                                             if (UNLIKELY (debug_dump)) generic_dump_logs ("match.pd", 676, __FILE__, __LINE__, true);
    3391                 :          10 :                                             return _r;
    3392                 :             :                                           }
    3393                 :             : next_after_fail933:;
    3394                 :             :                                         }
    3395                 :             :                                     }
    3396                 :             :                               }
    3397                 :             :                             }
    3398                 :             :                       }
    3399                 :             :                     }
    3400                 :             :               }
    3401                 :             :             }
    3402                 :             :       }
    3403                 :             :     }
    3404                 :             :   return NULL_TREE;
    3405                 :             : }
    3406                 :             : 
    3407                 :             : tree
    3408                 :       81651 : generic_simplify_444 (location_t ARG_UNUSED (loc), const tree ARG_UNUSED (type),
    3409                 :             :  tree ARG_UNUSED (_p0), tree ARG_UNUSED (_p1), tree *ARG_UNUSED (captures),
    3410                 :             :  const enum tree_code ARG_UNUSED (shift))
    3411                 :             : {
    3412                 :       81651 :   const bool debug_dump = dump_file && (dump_flags & TDF_FOLDING);
    3413                 :       81651 :   if (tree_nop_conversion_p (TREE_TYPE (captures[0]), TREE_TYPE (captures[1]))
    3414                 :       81651 :  && TYPE_PRECISION (type) <= HOST_BITS_PER_WIDE_INT
    3415                 :       81647 :  && tree_fits_uhwi_p (captures[4])
    3416                 :       81598 :  && tree_to_uhwi (captures[4]) > 0
    3417                 :      163248 :  && tree_to_uhwi (captures[4]) < TYPE_PRECISION (type)
    3418                 :             : )
    3419                 :             :     {
    3420                 :       81597 :       {
    3421                 :       81597 :  unsigned int shiftc = tree_to_uhwi (captures[4]);
    3422                 :       81597 :  unsigned HOST_WIDE_INT mask = TREE_INT_CST_LOW (captures[5]);
    3423                 :       81597 :  unsigned HOST_WIDE_INT newmask, zerobits = 0;
    3424                 :       81597 :  tree shift_type = TREE_TYPE (captures[2]);
    3425                 :       81597 :  unsigned int prec;
    3426                 :       81597 :  if (shift == LSHIFT_EXPR)
    3427                 :       28569 :  zerobits = ((HOST_WIDE_INT_1U << shiftc) - 1);
    3428                 :       53028 :  else if (shift == RSHIFT_EXPR
    3429                 :       53028 :  && type_has_mode_precision_p (shift_type))
    3430                 :             :  {
    3431                 :       53028 :  prec = TYPE_PRECISION (TREE_TYPE (captures[2]));
    3432                 :       53028 :  tree arg00 = captures[3];
    3433                 :       53028 :  if (captures[2] != captures[3]
    3434                 :       53028 :  && TYPE_UNSIGNED (TREE_TYPE (captures[3])))
    3435                 :             :  {
    3436                 :           0 :  tree inner_type = TREE_TYPE (captures[3]);
    3437                 :           0 :  if (type_has_mode_precision_p (inner_type)
    3438                 :           0 :  && TYPE_PRECISION (inner_type) < prec)
    3439                 :             :  {
    3440                 :           0 :  prec = TYPE_PRECISION (inner_type);
    3441                 :           0 :  if (shiftc < prec)
    3442                 :           0 :  shift_type = inner_type;
    3443                 :             :  }
    3444                 :             :  }
    3445                 :       53028 :  zerobits = HOST_WIDE_INT_M1U;
    3446                 :       53028 :  if (shiftc < prec)
    3447                 :             :  {
    3448                 :       53028 :  zerobits >>= HOST_BITS_PER_WIDE_INT - shiftc;
    3449                 :       53028 :  zerobits <<= prec - shiftc;
    3450                 :             :  }
    3451                 :       53028 :  if (!TYPE_UNSIGNED (TREE_TYPE (captures[2]))
    3452                 :       53028 :  && prec == TYPE_PRECISION (TREE_TYPE (captures[2])))
    3453                 :             :  {
    3454                 :        2666 :  if ((mask & zerobits) == 0)
    3455                 :        2655 :  shift_type = unsigned_type_for (TREE_TYPE (captures[2]));
    3456                 :             :  else
    3457                 :             :  zerobits = 0;
    3458                 :             :  }
    3459                 :             :  }
    3460                 :       81586 :           if ((mask & zerobits) == mask
    3461                 :             : )
    3462                 :             :             {
    3463                 :           3 :               if (TREE_SIDE_EFFECTS (captures[2])) goto next_after_fail992;
    3464                 :           3 :               if (TREE_SIDE_EFFECTS (captures[4])) goto next_after_fail992;
    3465                 :           3 :               if (TREE_SIDE_EFFECTS (captures[5])) goto next_after_fail992;
    3466                 :           3 :               if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail992;
    3467                 :           3 :               {
    3468                 :           3 :                 tree _r;
    3469                 :           3 :                 _r =  build_int_cst (type, 0);
    3470                 :           3 :                 if (UNLIKELY (debug_dump)) generic_dump_logs ("match.pd", 674, __FILE__, __LINE__, true);
    3471                 :           3 :                 return _r;
    3472                 :             :               }
    3473                 :             : next_after_fail992:;
    3474                 :             :             }
    3475                 :             :           else
    3476                 :             :             {
    3477                 :       81594 :               {
    3478                 :       81594 :  newmask = mask | zerobits;
    3479                 :       81594 :                   if (newmask != mask && (newmask & (newmask + 1)) == 0
    3480                 :             : )
    3481                 :             :                     {
    3482                 :             :                       {
    3483                 :       17738 :  for (prec = BITS_PER_UNIT;
    3484                 :       32954 :  prec < HOST_BITS_PER_WIDE_INT; prec <<= 1)
    3485                 :       30821 :  if (newmask == (HOST_WIDE_INT_1U << prec) - 1)
    3486                 :             :  break;
    3487                 :       15216 :                           if (prec < HOST_BITS_PER_WIDE_INT
    3488                 :        2133 :  || newmask == HOST_WIDE_INT_M1U
    3489                 :             : )
    3490                 :             :                             {
    3491                 :       13237 :                               {
    3492                 :       13237 :  tree newmaskt = build_int_cst_type (TREE_TYPE (captures[5]), newmask);
    3493                 :       13237 :                                   if (!tree_int_cst_equal (newmaskt, captures[5])
    3494                 :             : )
    3495                 :             :                                     {
    3496                 :       13237 :                                       if (shift_type != TREE_TYPE (captures[2])
    3497                 :             : )
    3498                 :             :                                         {
    3499                 :          84 :                                           if (TREE_SIDE_EFFECTS (captures[2])) goto next_after_fail993;
    3500                 :          84 :                                           if (TREE_SIDE_EFFECTS (captures[4])) goto next_after_fail993;
    3501                 :          84 :                                           if (TREE_SIDE_EFFECTS (captures[5])) goto next_after_fail993;
    3502                 :          84 :                                           if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail993;
    3503                 :          84 :                                           {
    3504                 :          84 :                                             tree res_op0;
    3505                 :          84 :                                             {
    3506                 :          84 :                                               tree _o1[1], _r1;
    3507                 :          84 :                                               {
    3508                 :          84 :                                                 tree _o2[2], _r2;
    3509                 :          84 :                                                 {
    3510                 :          84 :                                                   tree _o3[1], _r3;
    3511                 :          84 :                                                   _o3[0] = captures[2];
    3512                 :          84 :                                                   if (TREE_TYPE (_o3[0]) != shift_type)
    3513                 :             :                                                     {
    3514                 :          84 :                                                       _r3 = fold_build1_loc (loc, NOP_EXPR, shift_type, _o3[0]);
    3515                 :             :                                                     }
    3516                 :             :                                                   else
    3517                 :             :                                                     _r3 = _o3[0];
    3518                 :          84 :                                                   _o2[0] = _r3;
    3519                 :             :                                                 }
    3520                 :          84 :                                                 _o2[1] = captures[4];
    3521                 :          84 :                                                 _r2 = fold_build2_loc (loc, shift, shift_type, _o2[0], _o2[1]);
    3522                 :          84 :                                                 _o1[0] = _r2;
    3523                 :             :                                               }
    3524                 :          84 :                                               if (TREE_TYPE (_o1[0]) != type)
    3525                 :             :                                                 {
    3526                 :          84 :                                                   _r1 = fold_build1_loc (loc, NOP_EXPR, type, _o1[0]);
    3527                 :             :                                                 }
    3528                 :             :                                               else
    3529                 :             :                                                 _r1 = _o1[0];
    3530                 :          84 :                                               res_op0 = _r1;
    3531                 :             :                                             }
    3532                 :          84 :                                             tree res_op1;
    3533                 :          84 :                                             res_op1 =  newmaskt;
    3534                 :          84 :                                             tree _r;
    3535                 :          84 :                                             _r = fold_build2_loc (loc, BIT_AND_EXPR, type, res_op0, res_op1);
    3536                 :          84 :                                             if (UNLIKELY (debug_dump)) generic_dump_logs ("match.pd", 675, __FILE__, __LINE__, true);
    3537                 :          84 :                                             return _r;
    3538                 :             :                                           }
    3539                 :             : next_after_fail993:;
    3540                 :             :                                         }
    3541                 :             :                                       else
    3542                 :             :                                         {
    3543                 :       13153 :                                           if (TREE_SIDE_EFFECTS (_p0)) goto next_after_fail994;
    3544                 :       12033 :                                           if (TREE_SIDE_EFFECTS (captures[5])) goto next_after_fail994;
    3545                 :       12033 :                                           if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail994;
    3546                 :       12033 :                                           {
    3547                 :       12033 :                                             tree res_op0;
    3548                 :       12033 :                                             res_op0 = captures[0];
    3549                 :       12033 :                                             tree res_op1;
    3550                 :       12033 :                                             res_op1 =  newmaskt;
    3551                 :       12033 :                                             tree _r;
    3552                 :       12033 :                                             _r = fold_build2_loc (loc, BIT_AND_EXPR, type, res_op0, res_op1);
    3553                 :       12033 :                                             if (UNLIKELY (debug_dump)) generic_dump_logs ("match.pd", 676, __FILE__, __LINE__, true);
    3554                 :       12033 :                                             return _r;
    3555                 :             :                                           }
    3556                 :             : next_after_fail994:;
    3557                 :             :                                         }
    3558                 :             :                                     }
    3559                 :             :                               }
    3560                 :             :                             }
    3561                 :             :                       }
    3562                 :             :                     }
    3563                 :             :               }
    3564                 :             :             }
    3565                 :             :       }
    3566                 :             :     }
    3567                 :             :   return NULL_TREE;
    3568                 :             : }
    3569                 :             : 
    3570                 :             : tree
    3571                 :        1780 : generic_simplify_465 (location_t ARG_UNUSED (loc), const tree ARG_UNUSED (type),
    3572                 :             :  tree ARG_UNUSED (_p0), tree *ARG_UNUSED (captures))
    3573                 :             : {
    3574                 :        1780 :   const bool debug_dump = dump_file && (dump_flags & TDF_FOLDING);
    3575                 :        1780 :   if (! TYPE_UNSIGNED (type)
    3576                 :        1345 :  && ! HONOR_SIGN_DEPENDENT_ROUNDING (type)
    3577                 :        1780 :  && single_use (captures[0])
    3578                 :             : )
    3579                 :             :     {
    3580                 :        1345 :       if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail1017;
    3581                 :        1345 :       {
    3582                 :        1345 :         tree res_op0;
    3583                 :        1345 :         res_op0 = captures[1];
    3584                 :        1345 :         tree res_op1;
    3585                 :        1345 :         {
    3586                 :        1345 :           tree _o1[1], _r1;
    3587                 :        1345 :           _o1[0] = captures[2];
    3588                 :        1345 :           _r1 = fold_build1_loc (loc, NEGATE_EXPR, TREE_TYPE (_o1[0]), _o1[0]);
    3589                 :        1345 :           res_op1 = _r1;
    3590                 :             :         }
    3591                 :        1345 :         tree _r;
    3592                 :        1345 :         _r = fold_build2_loc (loc, MULT_EXPR, type, res_op0, res_op1);
    3593                 :        1345 :         if (UNLIKELY (debug_dump)) generic_dump_logs ("match.pd", 720, __FILE__, __LINE__, true);
    3594                 :        1345 :         return _r;
    3595                 :             :       }
    3596                 :           0 : next_after_fail1017:;
    3597                 :             :     }
    3598                 :             :   return NULL_TREE;
    3599                 :             : }
    3600                 :             : 
    3601                 :             : tree
    3602                 :       18797 : generic_simplify_471 (location_t ARG_UNUSED (loc), const tree ARG_UNUSED (type),
    3603                 :             :  tree ARG_UNUSED (_p0), tree ARG_UNUSED (_p1), tree ARG_UNUSED (_p2), tree *ARG_UNUSED (captures))
    3604                 :             : {
    3605                 :       18797 :   const bool debug_dump = dump_file && (dump_flags & TDF_FOLDING);
    3606                 :       18797 :   if (INTEGRAL_TYPE_P (type)
    3607                 :             : )
    3608                 :             :     {
    3609                 :       18797 :       {
    3610                 :       18797 :  tree itype = TREE_TYPE (captures[2]);
    3611                 :       18797 :           if (TREE_SIDE_EFFECTS (_p0)) goto next_after_fail1024;
    3612                 :       18797 :           if (TREE_SIDE_EFFECTS (_p1)) goto next_after_fail1024;
    3613                 :       18797 :           if (TREE_SIDE_EFFECTS (_p2)) goto next_after_fail1024;
    3614                 :       18797 :           if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail1024;
    3615                 :       18797 :           {
    3616                 :       18797 :             tree res_op0;
    3617                 :       18797 :             {
    3618                 :       18797 :               tree _o1[2], _r1;
    3619                 :       18797 :               _o1[0] = captures[2];
    3620                 :       18797 :               {
    3621                 :       18797 :                 tree _o2[1], _r2;
    3622                 :       18797 :                 _o2[0] = captures[0];
    3623                 :       18797 :                 if (TREE_TYPE (_o2[0]) != itype)
    3624                 :             :                   {
    3625                 :       18797 :                     _r2 = fold_build1_loc (loc, NOP_EXPR, itype, _o2[0]);
    3626                 :             :                   }
    3627                 :             :                 else
    3628                 :             :                   _r2 = _o2[0];
    3629                 :       18797 :                 _o1[1] = _r2;
    3630                 :             :               }
    3631                 :       18797 :               _r1 = fold_build2_loc (loc, MINUS_EXPR, TREE_TYPE (_o1[0]), _o1[0], _o1[1]);
    3632                 :       18797 :               res_op0 = _r1;
    3633                 :             :             }
    3634                 :       18797 :             tree _r;
    3635                 :       18797 :             _r = fold_build1_loc (loc, NOP_EXPR, type, res_op0);
    3636                 :       18797 :             if (UNLIKELY (debug_dump)) generic_dump_logs ("match.pd", 726, __FILE__, __LINE__, true);
    3637                 :       18797 :             return _r;
    3638                 :             :           }
    3639                 :             : next_after_fail1024:;
    3640                 :             :       }
    3641                 :             :     }
    3642                 :             :   return NULL_TREE;
    3643                 :             : }
    3644                 :             : 
    3645                 :             : tree
    3646                 :          43 : generic_simplify_481 (location_t ARG_UNUSED (loc), const tree ARG_UNUSED (type),
    3647                 :             :  tree ARG_UNUSED (_p0), tree ARG_UNUSED (_p1), tree ARG_UNUSED (_p2), tree *ARG_UNUSED (captures),
    3648                 :             :  const enum tree_code ARG_UNUSED (cmp),
    3649                 :             :  const enum tree_code ARG_UNUSED (minmax))
    3650                 :             : {
    3651                 :          43 :   const bool debug_dump = dump_file && (dump_flags & TDF_FOLDING);
    3652                 :          43 :   {
    3653                 :          43 :  tree_code code = minmax_from_comparison (cmp, captures[0], captures[1], captures[0], captures[4]);
    3654                 :          43 :       if ((cmp == LT_EXPR || cmp == LE_EXPR)
    3655                 :          15 :  && code == MIN_EXPR
    3656                 :          47 :  && integer_nonzerop (fold_build2 (LE_EXPR, boolean_type_node, captures[3], captures[4]))
    3657                 :             : )
    3658                 :             :         {
    3659                 :           4 :           if (TREE_SIDE_EFFECTS (_p1)) goto next_after_fail1038;
    3660                 :           4 :           if (TREE_SIDE_EFFECTS (captures[1])) goto next_after_fail1038;
    3661                 :           4 :           if (TREE_SIDE_EFFECTS (captures[4])) goto next_after_fail1038;
    3662                 :           4 :           if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail1038;
    3663                 :           4 :           {
    3664                 :           4 :             tree res_op0;
    3665                 :           4 :             res_op0 = captures[2];
    3666                 :           4 :             tree res_op1;
    3667                 :           4 :             res_op1 = captures[4];
    3668                 :           4 :             tree _r;
    3669                 :           4 :             _r = fold_build2_loc (loc, MIN_EXPR, type, res_op0, res_op1);
    3670                 :           4 :             if (UNLIKELY (debug_dump)) generic_dump_logs ("match.pd", 740, __FILE__, __LINE__, true);
    3671                 :           4 :             return _r;
    3672                 :             :           }
    3673                 :             : next_after_fail1038:;
    3674                 :             :         }
    3675                 :             :       else
    3676                 :             :         {
    3677                 :          39 :           if ((cmp == GT_EXPR || cmp == GE_EXPR)
    3678                 :          28 :  && code == MAX_EXPR
    3679                 :          59 :  && integer_nonzerop (fold_build2 (GE_EXPR, boolean_type_node, captures[3], captures[4]))
    3680                 :             : )
    3681                 :             :             {
    3682                 :           6 :               if (TREE_SIDE_EFFECTS (_p1)) goto next_after_fail1039;
    3683                 :           6 :               if (TREE_SIDE_EFFECTS (captures[1])) goto next_after_fail1039;
    3684                 :           6 :               if (TREE_SIDE_EFFECTS (captures[4])) goto next_after_fail1039;
    3685                 :           6 :               if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail1039;
    3686                 :           6 :               {
    3687                 :           6 :                 tree res_op0;
    3688                 :           6 :                 res_op0 = captures[2];
    3689                 :           6 :                 tree res_op1;
    3690                 :           6 :                 res_op1 = captures[4];
    3691                 :           6 :                 tree _r;
    3692                 :           6 :                 _r = fold_build2_loc (loc, MAX_EXPR, type, res_op0, res_op1);
    3693                 :           6 :                 if (UNLIKELY (debug_dump)) generic_dump_logs ("match.pd", 741, __FILE__, __LINE__, true);
    3694                 :           6 :                 return _r;
    3695                 :             :               }
    3696                 :             : next_after_fail1039:;
    3697                 :             :             }
    3698                 :             :         }
    3699                 :             :   }
    3700                 :             :   return NULL_TREE;
    3701                 :             : }
    3702                 :             : 
    3703                 :             : tree
    3704                 :          22 : generic_simplify_496 (location_t ARG_UNUSED (loc), const tree ARG_UNUSED (type),
    3705                 :             :  tree ARG_UNUSED (_p0), tree ARG_UNUSED (_p1), tree ARG_UNUSED (_p2), tree *ARG_UNUSED (captures),
    3706                 :             :  const enum tree_code ARG_UNUSED (cmp))
    3707                 :             : {
    3708                 :          22 :   const bool debug_dump = dump_file && (dump_flags & TDF_FOLDING);
    3709                 :          22 :   if (INTEGRAL_TYPE_P (type)
    3710                 :          22 :  && INTEGRAL_TYPE_P (TREE_TYPE (captures[0]))
    3711                 :          22 :  && !TYPE_UNSIGNED (TREE_TYPE (captures[0]))
    3712                 :          44 :  && TYPE_PRECISION (TREE_TYPE (captures[0])) == TYPE_PRECISION (type)
    3713                 :             : )
    3714                 :             :     {
    3715                 :          22 :       {
    3716                 :          22 :  tree shifter = build_int_cst (integer_type_node, TYPE_PRECISION (type) - 1);
    3717                 :          22 :           if (cmp == LT_EXPR
    3718                 :             : )
    3719                 :             :             {
    3720                 :          13 :               if (TREE_SIDE_EFFECTS (_p0)) goto next_after_fail1055;
    3721                 :          13 :               if (TREE_SIDE_EFFECTS (captures[1])) goto next_after_fail1055;
    3722                 :          13 :               if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail1055;
    3723                 :          13 :               {
    3724                 :          13 :                 tree res_op0;
    3725                 :          13 :                 {
    3726                 :          13 :                   tree _o1[1], _r1;
    3727                 :          13 :                   {
    3728                 :          13 :                     tree _o2[2], _r2;
    3729                 :          13 :                     _o2[0] = captures[0];
    3730                 :          13 :                     _o2[1] = shifter;
    3731                 :          13 :                     _r2 = fold_build2_loc (loc, RSHIFT_EXPR, TREE_TYPE (_o2[0]), _o2[0], _o2[1]);
    3732                 :          13 :                     _o1[0] = _r2;
    3733                 :             :                   }
    3734                 :          13 :                   if (TREE_TYPE (_o1[0]) != type)
    3735                 :             :                     {
    3736                 :           1 :                       _r1 = fold_build1_loc (loc, NOP_EXPR, type, _o1[0]);
    3737                 :             :                     }
    3738                 :             :                   else
    3739                 :             :                     _r1 = _o1[0];
    3740                 :          13 :                   res_op0 = _r1;
    3741                 :             :                 }
    3742                 :          13 :                 tree res_op1;
    3743                 :          13 :                 res_op1 = captures[1];
    3744                 :          13 :                 tree _r;
    3745                 :          13 :                 _r = fold_build2_loc (loc, BIT_XOR_EXPR, type, res_op0, res_op1);
    3746                 :          13 :                 if (UNLIKELY (debug_dump)) generic_dump_logs ("match.pd", 756, __FILE__, __LINE__, true);
    3747                 :          13 :                 return _r;
    3748                 :             :               }
    3749                 :             : next_after_fail1055:;
    3750                 :             :             }
    3751                 :             :           else
    3752                 :             :             {
    3753                 :           9 :               if (TREE_SIDE_EFFECTS (_p0)) goto next_after_fail1056;
    3754                 :           9 :               if (TREE_SIDE_EFFECTS (captures[1])) goto next_after_fail1056;
    3755                 :           9 :               if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail1056;
    3756                 :           9 :               {
    3757                 :           9 :                 tree res_op0;
    3758                 :           9 :                 {
    3759                 :           9 :                   tree _o1[2], _r1;
    3760                 :           9 :                   {
    3761                 :           9 :                     tree _o2[1], _r2;
    3762                 :           9 :                     {
    3763                 :           9 :                       tree _o3[2], _r3;
    3764                 :           9 :                       _o3[0] = captures[0];
    3765                 :           9 :                       _o3[1] = shifter;
    3766                 :           9 :                       _r3 = fold_build2_loc (loc, RSHIFT_EXPR, TREE_TYPE (_o3[0]), _o3[0], _o3[1]);
    3767                 :           9 :                       _o2[0] = _r3;
    3768                 :             :                     }
    3769                 :           9 :                     if (TREE_TYPE (_o2[0]) != type)
    3770                 :             :                       {
    3771                 :           1 :                         _r2 = fold_build1_loc (loc, NOP_EXPR, type, _o2[0]);
    3772                 :             :                       }
    3773                 :             :                     else
    3774                 :             :                       _r2 = _o2[0];
    3775                 :           9 :                     _o1[0] = _r2;
    3776                 :             :                   }
    3777                 :           9 :                   _o1[1] = captures[1];
    3778                 :           9 :                   _r1 = fold_build2_loc (loc, BIT_XOR_EXPR, TREE_TYPE (_o1[0]), _o1[0], _o1[1]);
    3779                 :           9 :                   res_op0 = _r1;
    3780                 :             :                 }
    3781                 :           9 :                 tree _r;
    3782                 :           9 :                 _r = fold_build1_loc (loc, BIT_NOT_EXPR, type, res_op0);
    3783                 :           9 :                 if (UNLIKELY (debug_dump)) generic_dump_logs ("match.pd", 757, __FILE__, __LINE__, true);
    3784                 :           9 :                 return _r;
    3785                 :             :               }
    3786                 :             : next_after_fail1056:;
    3787                 :             :             }
    3788                 :             :       }
    3789                 :             :     }
    3790                 :             :   return NULL_TREE;
    3791                 :             : }
    3792                 :             : 
    3793                 :             : tree
    3794                 :           0 : generic_simplify_512 (location_t ARG_UNUSED (loc), const tree ARG_UNUSED (type),
    3795                 :             :  tree ARG_UNUSED (_p0), tree ARG_UNUSED (_p1), tree *ARG_UNUSED (captures),
    3796                 :             :  const combined_fn ARG_UNUSED (minmax))
    3797                 :             : {
    3798                 :           0 :   const bool debug_dump = dump_file && (dump_flags & TDF_FOLDING);
    3799                 :           0 :   if (real_isnan (TREE_REAL_CST_PTR (captures[1]))
    3800                 :           0 :  && (!HONOR_SNANS (captures[1]) || !TREE_REAL_CST (captures[1]).signalling)
    3801                 :           0 :  && !tree_expr_maybe_signaling_nan_p (captures[0])
    3802                 :             : )
    3803                 :             :     {
    3804                 :           0 :       if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail1085;
    3805                 :           0 :       {
    3806                 :           0 :         tree _r;
    3807                 :           0 :         _r = captures[0];
    3808                 :           0 :         if (TREE_SIDE_EFFECTS (captures[1]))
    3809                 :           0 :           _r = build2_loc (loc, COMPOUND_EXPR, type, fold_ignored_result (captures[1]), _r);
    3810                 :           0 :         if (UNLIKELY (debug_dump)) generic_dump_logs ("match.pd", 773, __FILE__, __LINE__, true);
    3811                 :           0 :         return _r;
    3812                 :             :       }
    3813                 :           0 : next_after_fail1085:;
    3814                 :             :     }
    3815                 :             :   return NULL_TREE;
    3816                 :             : }
    3817                 :             : 
    3818                 :             : tree
    3819                 :           0 : generic_simplify_521 (location_t ARG_UNUSED (loc), const tree ARG_UNUSED (type),
    3820                 :             :  tree ARG_UNUSED (_p0), tree *ARG_UNUSED (captures),
    3821                 :             :  const enum tree_code ARG_UNUSED (bitop),
    3822                 :             :  const combined_fn ARG_UNUSED (bswap))
    3823                 :             : {
    3824                 :           0 :   const bool debug_dump = dump_file && (dump_flags & TDF_FOLDING);
    3825                 :           0 :   if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail1097;
    3826                 :           0 :   {
    3827                 :           0 :     tree res_op0;
    3828                 :           0 :     res_op0 = captures[0];
    3829                 :           0 :     tree res_op1;
    3830                 :           0 :     {
    3831                 :           0 :       tree _o1[1], _r1;
    3832                 :           0 :       _o1[0] = captures[1];
    3833                 :           0 :       _r1 = maybe_build_call_expr_loc (loc, bswap, TREE_TYPE (_o1[0]), 1, _o1[0]);
    3834                 :           0 :       if (!_r1)
    3835                 :           0 :         goto next_after_fail1097;
    3836                 :           0 :       res_op1 = _r1;
    3837                 :             :     }
    3838                 :           0 :     tree _r;
    3839                 :           0 :     _r = fold_build2_loc (loc, bitop, type, res_op0, res_op1);
    3840                 :           0 :     if (UNLIKELY (debug_dump)) generic_dump_logs ("match.pd", 785, __FILE__, __LINE__, true);
    3841                 :             :     return _r;
    3842                 :             :   }
    3843                 :             : next_after_fail1097:;
    3844                 :             :   return NULL_TREE;
    3845                 :             : }
    3846                 :             : 
    3847                 :             : tree
    3848                 :           0 : generic_simplify_529 (location_t ARG_UNUSED (loc), const tree ARG_UNUSED (type),
    3849                 :             :  tree ARG_UNUSED (_p0), tree ARG_UNUSED (_p1), tree ARG_UNUSED (_p2), tree *ARG_UNUSED (captures),
    3850                 :             :  const combined_fn ARG_UNUSED (cond_op))
    3851                 :             : {
    3852                 :           0 :   const bool debug_dump = dump_file && (dump_flags & TDF_FOLDING);
    3853                 :           0 :   {
    3854                 :           0 :  tree op_type = TREE_TYPE (captures[4]);
    3855                 :           0 :       if (element_precision (type) == element_precision (op_type)
    3856                 :             : )
    3857                 :             :         {
    3858                 :           0 :           if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail1105;
    3859                 :           0 :           {
    3860                 :           0 :             tree res_op0;
    3861                 :           0 :             {
    3862                 :           0 :               tree _o1[5], _r1;
    3863                 :           0 :               _o1[0] = captures[0];
    3864                 :           0 :               _o1[1] = captures[1];
    3865                 :           0 :               _o1[2] = captures[2];
    3866                 :           0 :               _o1[3] = captures[3];
    3867                 :           0 :               {
    3868                 :           0 :                 tree _o2[1], _r2;
    3869                 :           0 :                 _o2[0] = captures[5];
    3870                 :           0 :                 if (TREE_TYPE (_o2[0]) != op_type)
    3871                 :             :                   {
    3872                 :           0 :                     _r2 = fold_build1_loc (loc, VIEW_CONVERT_EXPR, op_type, _o2[0]);
    3873                 :             :                   }
    3874                 :             :                 else
    3875                 :             :                   _r2 = _o2[0];
    3876                 :           0 :                 _o1[4] = _r2;
    3877                 :             :               }
    3878                 :           0 :               _r1 = maybe_build_call_expr_loc (loc, cond_op, TREE_TYPE (_o1[1]), 5, _o1[0], _o1[1], _o1[2], _o1[3], _o1[4]);
    3879                 :           0 :               if (!_r1)
    3880                 :           0 :                 goto next_after_fail1105;
    3881                 :           0 :               res_op0 = _r1;
    3882                 :             :             }
    3883                 :           0 :             tree _r;
    3884                 :           0 :             _r = fold_build1_loc (loc, VIEW_CONVERT_EXPR, type, res_op0);
    3885                 :           0 :             if (TREE_SIDE_EFFECTS (captures[4]))
    3886                 :           0 :               _r = build2_loc (loc, COMPOUND_EXPR, type, fold_ignored_result (captures[4]), _r);
    3887                 :           0 :             if (UNLIKELY (debug_dump)) generic_dump_logs ("match.pd", 788, __FILE__, __LINE__, true);
    3888                 :           0 :             return _r;
    3889                 :             :           }
    3890                 :             : next_after_fail1105:;
    3891                 :             :         }
    3892                 :             :   }
    3893                 :             :   return NULL_TREE;
    3894                 :             : }
    3895                 :             : 
    3896                 :             : tree
    3897                 :     2427163 : generic_simplify_537 (location_t ARG_UNUSED (loc), const tree ARG_UNUSED (type),
    3898                 :             :  tree ARG_UNUSED (_p0), tree ARG_UNUSED (_p1), tree *ARG_UNUSED (captures),
    3899                 :             :  const enum tree_code ARG_UNUSED (cmp))
    3900                 :             : {
    3901                 :     2427163 :   const bool debug_dump = dump_file && (dump_flags & TDF_FOLDING);
    3902                 :     2427163 :   if (REAL_VALUE_ISNAN (TREE_REAL_CST (captures[1]))
    3903                 :     2427163 :  && (cmp != LTGT_EXPR || ! flag_trapping_math)
    3904                 :             : )
    3905                 :             :     {
    3906                 :          10 :       if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail1113;
    3907                 :          10 :       {
    3908                 :          10 :         tree _r;
    3909                 :          20 :         _r =  constant_boolean_node (cmp == ORDERED_EXPR || cmp == LTGT_EXPR
    3910                 :          10 :  ? false : true, type);
    3911                 :          10 :         if (TREE_SIDE_EFFECTS (captures[0]))
    3912                 :           0 :           _r = build2_loc (loc, COMPOUND_EXPR, type, fold_ignored_result (captures[0]), _r);
    3913                 :          10 :         if (TREE_SIDE_EFFECTS (captures[1]))
    3914                 :           0 :           _r = build2_loc (loc, COMPOUND_EXPR, type, fold_ignored_result (captures[1]), _r);
    3915                 :          10 :         if (UNLIKELY (debug_dump)) generic_dump_logs ("match.pd", 796, __FILE__, __LINE__, true);
    3916                 :          10 :         return _r;
    3917                 :             :       }
    3918                 :           0 : next_after_fail1113:;
    3919                 :             :     }
    3920                 :             :   return NULL_TREE;
    3921                 :             : }
    3922                 :             : 
    3923                 :             : tree
    3924                 :           0 : generic_simplify_547 (location_t ARG_UNUSED (loc), const tree ARG_UNUSED (type),
    3925                 :             :  tree ARG_UNUSED (_p0), tree *ARG_UNUSED (captures),
    3926                 :             :  const combined_fn ARG_UNUSED (sinhs),
    3927                 :             :  const combined_fn ARG_UNUSED (atanhs),
    3928                 :             :  const combined_fn ARG_UNUSED (sqrts))
    3929                 :             : {
    3930                 :           0 :   const bool debug_dump = dump_file && (dump_flags & TDF_FOLDING);
    3931                 :           0 :   if (!flag_errno_math
    3932                 :             : )
    3933                 :             :     {
    3934                 :           0 :       {
    3935                 :           0 :  tree t_one = build_one_cst (type);
    3936                 :           0 :           if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail1123;
    3937                 :           0 :           {
    3938                 :           0 :             if (! tree_invariant_p (captures[1])) goto next_after_fail1123;
    3939                 :           0 :             tree res_op0;
    3940                 :           0 :             res_op0 = unshare_expr (captures[1]);
    3941                 :           0 :             tree res_op1;
    3942                 :           0 :             {
    3943                 :           0 :               tree _o1[1], _r1;
    3944                 :           0 :               {
    3945                 :           0 :                 tree _o2[2], _r2;
    3946                 :           0 :                 {
    3947                 :           0 :                   tree _o3[2], _r3;
    3948                 :           0 :                   _o3[0] =  t_one;
    3949                 :           0 :                   _o3[1] = unshare_expr (captures[1]);
    3950                 :           0 :                   _r3 = fold_build2_loc (loc, MINUS_EXPR, TREE_TYPE (_o3[0]), _o3[0], _o3[1]);
    3951                 :           0 :                   _o2[0] = _r3;
    3952                 :             :                 }
    3953                 :           0 :                 {
    3954                 :           0 :                   tree _o3[2], _r3;
    3955                 :           0 :                   _o3[0] =  t_one;
    3956                 :           0 :                   _o3[1] = captures[1];
    3957                 :           0 :                   _r3 = fold_build2_loc (loc, PLUS_EXPR, TREE_TYPE (_o3[0]), _o3[0], _o3[1]);
    3958                 :           0 :                   _o2[1] = _r3;
    3959                 :             :                 }
    3960                 :           0 :                 _r2 = fold_build2_loc (loc, MULT_EXPR, TREE_TYPE (_o2[0]), _o2[0], _o2[1]);
    3961                 :           0 :                 _o1[0] = _r2;
    3962                 :             :               }
    3963                 :           0 :               _r1 = maybe_build_call_expr_loc (loc, sqrts, TREE_TYPE (_o1[0]), 1, _o1[0]);
    3964                 :           0 :               if (!_r1)
    3965                 :           0 :                 goto next_after_fail1123;
    3966                 :           0 :               res_op1 = _r1;
    3967                 :             :             }
    3968                 :           0 :             tree _r;
    3969                 :           0 :             _r = fold_build2_loc (loc, RDIV_EXPR, type, res_op0, res_op1);
    3970                 :           0 :             if (UNLIKELY (debug_dump)) generic_dump_logs ("match.pd", 806, __FILE__, __LINE__, true);
    3971                 :           0 :             return _r;
    3972                 :             :           }
    3973                 :             : next_after_fail1123:;
    3974                 :             :       }
    3975                 :             :     }
    3976                 :             :   return NULL_TREE;
    3977                 :             : }
    3978                 :             : 
    3979                 :             : tree
    3980                 :           0 : generic_simplify_566 (location_t ARG_UNUSED (loc), const tree ARG_UNUSED (type),
    3981                 :             :  tree ARG_UNUSED (_p0), tree ARG_UNUSED (_p1), tree ARG_UNUSED (_p2), tree *ARG_UNUSED (captures),
    3982                 :             :  const combined_fn ARG_UNUSED (fmas))
    3983                 :             : {
    3984                 :           0 :   const bool debug_dump = dump_file && (dump_flags & TDF_FOLDING);
    3985                 :           0 :   if (canonicalize_math_after_vectorization_p ()
    3986                 :             : )
    3987                 :             :     {
    3988                 :             :       if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail1142;
    3989                 :             :       {
    3990                 :             :         tree res_op0;
    3991                 :             :         res_op0 = captures[0];
    3992                 :             :         tree res_op1;
    3993                 :             :         res_op1 = captures[1];
    3994                 :             :         tree res_op2;
    3995                 :             :         res_op2 = captures[2];
    3996                 :             :         tree _r;
    3997                 :             :         _r = maybe_build_call_expr_loc (loc, CFN_FMS, type, 3, res_op0, res_op1, res_op2);
    3998                 :             :         if (!_r)
    3999                 :             :           goto next_after_fail1142;
    4000                 :             :         if (UNLIKELY (debug_dump)) generic_dump_logs ("match.pd", 825, __FILE__, __LINE__, true);
    4001                 :             :         return _r;
    4002                 :             :       }
    4003                 :           0 : next_after_fail1142:;
    4004                 :             :     }
    4005                 :           0 :   return NULL_TREE;
    4006                 :             : }
    4007                 :             : 
    4008                 :             : tree
    4009                 :           0 : generic_simplify_576 (location_t ARG_UNUSED (loc), const tree ARG_UNUSED (type),
    4010                 :             :  tree ARG_UNUSED (_p0), tree *ARG_UNUSED (captures),
    4011                 :             :  const combined_fn ARG_UNUSED (ctz))
    4012                 :             : {
    4013                 :           0 :   const bool debug_dump = dump_file && (dump_flags & TDF_FOLDING);
    4014                 :           0 :   {
    4015                 :           0 :  tree t = TREE_TYPE (captures[0]);
    4016                 :           0 :       if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail1152;
    4017                 :           0 :       {
    4018                 :           0 :         tree res_op0;
    4019                 :           0 :         {
    4020                 :           0 :           tree _o1[1], _r1;
    4021                 :           0 :           _o1[0] = captures[1];
    4022                 :           0 :           if (TREE_TYPE (_o1[0]) != t)
    4023                 :             :             {
    4024                 :           0 :               _r1 = fold_build1_loc (loc, NOP_EXPR, t, _o1[0]);
    4025                 :             :             }
    4026                 :             :           else
    4027                 :             :             _r1 = _o1[0];
    4028                 :           0 :           res_op0 = _r1;
    4029                 :             :         }
    4030                 :           0 :         tree _r;
    4031                 :           0 :         _r = maybe_build_call_expr_loc (loc, ctz, type, 1, res_op0);
    4032                 :           0 :         if (!_r)
    4033                 :           0 :           goto next_after_fail1152;
    4034                 :           0 :         if (UNLIKELY (debug_dump)) generic_dump_logs ("match.pd", 832, __FILE__, __LINE__, true);
    4035                 :             :         return _r;
    4036                 :             :       }
    4037                 :             : next_after_fail1152:;
    4038                 :             :   }
    4039                 :             :   return NULL_TREE;
    4040                 :             : }
    4041                 :             : 
    4042                 :             : tree
    4043                 :           0 : generic_simplify_586 (location_t ARG_UNUSED (loc), const tree ARG_UNUSED (type),
    4044                 :             :  tree ARG_UNUSED (_p0), tree *ARG_UNUSED (captures),
    4045                 :             :  const enum tree_code ARG_UNUSED (rot),
    4046                 :             :  const combined_fn ARG_UNUSED (parity))
    4047                 :             : {
    4048                 :           0 :   const bool debug_dump = dump_file && (dump_flags & TDF_FOLDING);
    4049                 :           0 :   if (INTEGRAL_TYPE_P (TREE_TYPE (captures[0]))
    4050                 :           0 :  && INTEGRAL_TYPE_P (TREE_TYPE (captures[1]))
    4051                 :           0 :  && (
    4052                 :             : 
    4053                 :           0 :  || !TREE_SIDE_EFFECTS (captures[3]))
    4054                 :           0 :  && TYPE_PRECISION (TREE_TYPE (captures[0]))
    4055                 :           0 :  >= TYPE_PRECISION (TREE_TYPE (captures[1]))
    4056                 :             : )
    4057                 :             :     {
    4058                 :           0 :       {
    4059                 :           0 :  tree type0 = TREE_TYPE (captures[0]);
    4060                 :           0 :           if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail1163;
    4061                 :           0 :           {
    4062                 :           0 :             tree res_op0;
    4063                 :           0 :             {
    4064                 :           0 :               tree _o1[1], _r1;
    4065                 :           0 :               _o1[0] = captures[2];
    4066                 :           0 :               if (TREE_TYPE (_o1[0]) != type0)
    4067                 :             :                 {
    4068                 :           0 :                   _r1 = fold_build1_loc (loc, NOP_EXPR, type0, _o1[0]);
    4069                 :             :                 }
    4070                 :             :               else
    4071                 :             :                 _r1 = _o1[0];
    4072                 :           0 :               res_op0 = _r1;
    4073                 :             :             }
    4074                 :           0 :             tree _r;
    4075                 :           0 :             _r = maybe_build_call_expr_loc (loc, parity, type, 1, res_op0);
    4076                 :           0 :             if (!_r)
    4077                 :           0 :               goto next_after_fail1163;
    4078                 :           0 :             if (TREE_SIDE_EFFECTS (captures[3]))
    4079                 :           0 :               _r = build2_loc (loc, COMPOUND_EXPR, type, fold_ignored_result (captures[3]), _r);
    4080                 :           0 :             if (UNLIKELY (debug_dump)) generic_dump_logs ("match.pd", 839, __FILE__, __LINE__, true);
    4081                 :           0 :             return _r;
    4082                 :             :           }
    4083                 :             : next_after_fail1163:;
    4084                 :             :       }
    4085                 :             :     }
    4086                 :             :   return NULL_TREE;
    4087                 :             : }
    4088                 :             : 
    4089                 :             : tree
    4090                 :   460180664 : generic_simplify_VIEW_CONVERT_EXPR (location_t ARG_UNUSED (loc), enum tree_code ARG_UNUSED (code), const tree ARG_UNUSED (type), tree _p0)
    4091                 :             : {
    4092                 :   460180664 :   const bool debug_dump = dump_file && (dump_flags & TDF_FOLDING);
    4093                 :   460180664 :   {
    4094                 :   460180664 :     tree captures[1] ATTRIBUTE_UNUSED = { _p0 };
    4095                 :   920361328 :     if ((
    4096                 :             : 
    4097                 :             :  && useless_type_conversion_p (type, TREE_TYPE (captures[0])))
    4098                 :             :  || (
    4099                 :             : 1
    4100                 :   460180664 :  && type == TREE_TYPE (captures[0]))
    4101                 :             : )
    4102                 :             :       {
    4103                 :   205243563 :         if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail1220;
    4104                 :   205243563 :         {
    4105                 :   205243563 :           tree _r;
    4106                 :   205243563 :           _r = captures[0];
    4107                 :   205243563 :           if (UNLIKELY (debug_dump)) generic_dump_logs ("match.pd", 854, __FILE__, __LINE__, true);
    4108                 :   205243563 :           return _r;
    4109                 :             :         }
    4110                 :           0 : next_after_fail1220:;
    4111                 :             :       }
    4112                 :             :   }
    4113                 :   254937101 :   switch (TREE_CODE (_p0))
    4114                 :             :     {
    4115                 :    28092519 :     case VIEW_CONVERT_EXPR:
    4116                 :    28092519 :       {
    4117                 :    28092519 :         tree _q20 = TREE_OPERAND (_p0, 0);
    4118                 :    28092519 :         {
    4119                 :    28092519 :           tree captures[1] ATTRIBUTE_UNUSED = { _q20 };
    4120                 :    28092519 :           if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail1221;
    4121                 :    28092519 :           {
    4122                 :    28092519 :             tree res_op0;
    4123                 :    28092519 :             res_op0 = captures[0];
    4124                 :    28092519 :             tree _r;
    4125                 :    28092519 :             _r = fold_build1_loc (loc, VIEW_CONVERT_EXPR, type, res_op0);
    4126                 :    28092519 :             if (UNLIKELY (debug_dump)) generic_dump_logs ("match.pd", 885, __FILE__, __LINE__, true);
    4127                 :   460180664 :             return _r;
    4128                 :             :           }
    4129                 :           0 : next_after_fail1221:;
    4130                 :             :         }
    4131                 :           0 :         break;
    4132                 :             :       }
    4133                 :   226844582 :     default:;
    4134                 :             :     }
    4135                 :   226844582 :   {
    4136                 :   226844582 :     tree captures[1] ATTRIBUTE_UNUSED = { _p0 };
    4137                 :   225091781 :     if ((INTEGRAL_TYPE_P (type) || POINTER_TYPE_P (type))
    4138                 :     3000601 :  && (INTEGRAL_TYPE_P (TREE_TYPE (captures[0])) || POINTER_TYPE_P (TREE_TYPE (captures[0])))
    4139                 :   229580509 :  && TYPE_PRECISION (type) == TYPE_PRECISION (TREE_TYPE (captures[0]))
    4140                 :             : )
    4141                 :             :       {
    4142                 :     2401273 :         if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail1222;
    4143                 :     2401273 :         {
    4144                 :     2401273 :           tree res_op0;
    4145                 :     2401273 :           res_op0 = captures[0];
    4146                 :     2401273 :           tree _r;
    4147                 :     2401273 :           _r = fold_build1_loc (loc, NOP_EXPR, type, res_op0);
    4148                 :     2401273 :           if (UNLIKELY (debug_dump)) generic_dump_logs ("match.pd", 886, __FILE__, __LINE__, true);
    4149                 :     2401273 :           return _r;
    4150                 :             :         }
    4151                 :           0 : next_after_fail1222:;
    4152                 :             :       }
    4153                 :             :   }
    4154                 :   224443309 :   switch (TREE_CODE (_p0))
    4155                 :             :     {
    4156                 :        3354 :     CASE_CONVERT:
    4157                 :        3354 :       {
    4158                 :        3354 :         tree _q20 = TREE_OPERAND (_p0, 0);
    4159                 :        3354 :         {
    4160                 :        3354 :           tree captures[2] ATTRIBUTE_UNUSED = { _p0, _q20 };
    4161                 :        3354 :           {
    4162                 :        3354 :  bool extended_bitint = false;
    4163                 :        3354 :  if (BITINT_TYPE_P (TREE_TYPE (captures[0])))
    4164                 :             :  {
    4165                 :           0 :  struct bitint_info info;
    4166                 :           0 :  extended_bitint
    4167                 :           0 :  = targetm.c.bitint_type_info (TYPE_PRECISION (TREE_TYPE (captures[0])),
    4168                 :             :  &info);
    4169                 :           0 :  extended_bitint = extended_bitint && info.extended;
    4170                 :             :  }
    4171                 :        6708 :               if ((INTEGRAL_TYPE_P (TREE_TYPE (captures[0])) || POINTER_TYPE_P (TREE_TYPE (captures[0])))
    4172                 :          71 :  && (INTEGRAL_TYPE_P (TREE_TYPE (captures[1])) || POINTER_TYPE_P (TREE_TYPE (captures[1])))
    4173                 :          71 :  && !extended_bitint
    4174                 :          71 :  && TYPE_SIZE (TREE_TYPE (captures[0])) == TYPE_SIZE (TREE_TYPE (captures[1]))
    4175                 :        3354 :  && (TYPE_PRECISION (TREE_TYPE (captures[0])) == TYPE_PRECISION (TREE_TYPE (captures[1]))
    4176                 :           0 :  || (TYPE_PRECISION (TREE_TYPE (captures[0])) > TYPE_PRECISION (TREE_TYPE (captures[1]))
    4177                 :           0 :  && TYPE_UNSIGNED (TREE_TYPE (captures[1]))))
    4178                 :             : )
    4179                 :             :                 {
    4180                 :           0 :                   if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail1223;
    4181                 :           0 :                   {
    4182                 :           0 :                     tree res_op0;
    4183                 :           0 :                     res_op0 = captures[1];
    4184                 :           0 :                     tree _r;
    4185                 :           0 :                     _r = fold_build1_loc (loc, VIEW_CONVERT_EXPR, type, res_op0);
    4186                 :           0 :                     if (UNLIKELY (debug_dump)) generic_dump_logs ("match.pd", 887, __FILE__, __LINE__, true);
    4187                 :           0 :                     return _r;
    4188                 :             :                   }
    4189                 :           0 : next_after_fail1223:;
    4190                 :             :                 }
    4191                 :             :           }
    4192                 :             :         }
    4193                 :        3354 :         break;
    4194                 :             :       }
    4195                 :       82196 :     case CONSTRUCTOR:
    4196                 :       82196 :       {
    4197                 :       82196 :         {
    4198                 :       82196 :           tree captures[1] ATTRIBUTE_UNUSED = { _p0 };
    4199                 :       82196 :           {
    4200                 :       82196 :  tree ctor = (TREE_CODE (captures[0]) == SSA_NAME
    4201                 :             :  ? gimple_assign_rhs1 (SSA_NAME_DEF_STMT (captures[0])) : captures[0]);
    4202                 :       82196 :               if (CONSTRUCTOR_NELTS (ctor) == 0
    4203                 :             : )
    4204                 :             :                 {
    4205                 :           6 :                   if (TREE_SIDE_EFFECTS (captures[0])) goto next_after_fail1224;
    4206                 :           6 :                   if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail1224;
    4207                 :           6 :                   {
    4208                 :           6 :                     tree _r;
    4209                 :           6 :                     _r =  build_zero_cst (type);
    4210                 :           6 :                     if (UNLIKELY (debug_dump)) generic_dump_logs ("match.pd", 888, __FILE__, __LINE__, true);
    4211                 :           6 :                     return _r;
    4212                 :             :                   }
    4213                 :             : next_after_fail1224:;
    4214                 :             :                 }
    4215                 :             :               else
    4216                 :             :                 {
    4217                 :       82190 :                   if (CONSTRUCTOR_NELTS (ctor) == 1
    4218                 :          41 :  && VECTOR_TYPE_P (TREE_TYPE (ctor))
    4219                 :       82225 :  && operand_equal_p (TYPE_SIZE (type),
    4220                 :          35 :  TYPE_SIZE (TREE_TYPE
    4221                 :             :  (CONSTRUCTOR_ELT (ctor, 0)->value)))
    4222                 :             : )
    4223                 :             :                     {
    4224                 :           0 :                       if (TREE_SIDE_EFFECTS (captures[0])) goto next_after_fail1225;
    4225                 :           0 :                       if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail1225;
    4226                 :           0 :                       {
    4227                 :           0 :                         tree res_op0;
    4228                 :           0 :                         res_op0 =  CONSTRUCTOR_ELT (ctor, 0)->value;
    4229                 :           0 :                         tree _r;
    4230                 :           0 :                         _r = fold_build1_loc (loc, VIEW_CONVERT_EXPR, type, res_op0);
    4231                 :           0 :                         if (UNLIKELY (debug_dump)) generic_dump_logs ("match.pd", 889, __FILE__, __LINE__, true);
    4232                 :           0 :                         return _r;
    4233                 :             :                       }
    4234                 :             : next_after_fail1225:;
    4235                 :             :                     }
    4236                 :             :                 }
    4237                 :             :           }
    4238                 :             :         }
    4239                 :             :         break;
    4240                 :             :       }
    4241                 :      281826 :     case VEC_COND_EXPR:
    4242                 :      281826 :       {
    4243                 :      281826 :         tree _q20 = TREE_OPERAND (_p0, 0);
    4244                 :      281826 :         tree _q21 = TREE_OPERAND (_p0, 1);
    4245                 :      281826 :         tree _q22 = TREE_OPERAND (_p0, 2);
    4246                 :      281826 :         {
    4247                 :      281826 :           tree captures[4] ATTRIBUTE_UNUSED = { _p0, _q20, _q21, _q22 };
    4248                 :      281780 :           if (VECTOR_TYPE_P (type) && VECTOR_TYPE_P (TREE_TYPE (captures[2]))
    4249                 :      282169 :  && known_eq (TYPE_VECTOR_SUBPARTS (type),
    4250                 :             :  TYPE_VECTOR_SUBPARTS (TREE_TYPE (captures[2])))
    4251                 :      322516 :  && tree_nop_conversion_p (TREE_TYPE (type), TREE_TYPE (TREE_TYPE (captures[2])))
    4252                 :             : )
    4253                 :             :             {
    4254                 :       40347 :               if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail1226;
    4255                 :       40347 :               {
    4256                 :       40347 :                 tree res_op0;
    4257                 :       40347 :                 res_op0 = captures[1];
    4258                 :       40347 :                 tree res_op1;
    4259                 :       40347 :                 {
    4260                 :       40347 :                   tree _o1[1], _r1;
    4261                 :       40347 :                   _o1[0] = captures[2];
    4262                 :       40347 :                   if (TREE_TYPE (_o1[0]) != type)
    4263                 :             :                     {
    4264                 :       40347 :                       _r1 = fold_build1_loc (loc, VIEW_CONVERT_EXPR, type, _o1[0]);
    4265                 :       40347 :                       if (EXPR_P (_r1))
    4266                 :           6 :                         goto next_after_fail1226;
    4267                 :             :                     }
    4268                 :             :                   else
    4269                 :             :                     _r1 = _o1[0];
    4270                 :       40341 :                   res_op1 = _r1;
    4271                 :             :                 }
    4272                 :       40341 :                 tree res_op2;
    4273                 :       40341 :                 {
    4274                 :       40341 :                   tree _o1[1], _r1;
    4275                 :       40341 :                   _o1[0] = captures[3];
    4276                 :       40341 :                   if (TREE_TYPE (_o1[0]) != type)
    4277                 :             :                     {
    4278                 :       40341 :                       _r1 = fold_build1_loc (loc, VIEW_CONVERT_EXPR, type, _o1[0]);
    4279                 :       40341 :                       if (EXPR_P (_r1))
    4280                 :           0 :                         goto next_after_fail1226;
    4281                 :             :                     }
    4282                 :             :                   else
    4283                 :             :                     _r1 = _o1[0];
    4284                 :       40341 :                   res_op2 = _r1;
    4285                 :             :                 }
    4286                 :       40341 :                 tree _r;
    4287                 :       40341 :                 _r = fold_build3_loc (loc, VEC_COND_EXPR, type, res_op0, res_op1, res_op2);
    4288                 :       40341 :                 if (UNLIKELY (debug_dump)) generic_dump_logs ("match.pd", 890, __FILE__, __LINE__, true);
    4289                 :       40341 :                 return _r;
    4290                 :             :               }
    4291                 :      241485 : next_after_fail1226:;
    4292                 :             :             }
    4293                 :             :         }
    4294                 :      241485 :         break;
    4295                 :             :       }
    4296                 :             :     default:;
    4297                 :             :     }
    4298                 :             :   return NULL_TREE;
    4299                 :             : }
    4300                 :             : 
    4301                 :             : tree
    4302                 :  1430903119 : generic_simplify (location_t loc, enum tree_code code, const tree type ATTRIBUTE_UNUSED, tree _p0)
    4303                 :             : {
    4304                 :  1430903119 :   switch (code)
    4305                 :             :     {
    4306                 :     2727073 :     case ABS_EXPR:
    4307                 :     2727073 :       return generic_simplify_ABS_EXPR (loc, code, type, _p0);
    4308                 :   605775214 :     CASE_CONVERT:
    4309                 :   605775214 :       return generic_simplify_CONVERT_EXPR (loc, code, type, _p0);
    4310                 :     2794446 :     case BIT_NOT_EXPR:
    4311                 :     2794446 :       return generic_simplify_BIT_NOT_EXPR (loc, code, type, _p0);
    4312                 :         939 :     case ABSU_EXPR:
    4313                 :         939 :       return generic_simplify_ABSU_EXPR (loc, code, type, _p0);
    4314                 :     3828980 :     case NEGATE_EXPR:
    4315                 :     3828980 :       return generic_simplify_NEGATE_EXPR (loc, code, type, _p0);
    4316                 :   460180664 :     case VIEW_CONVERT_EXPR:
    4317                 :   460180664 :       return generic_simplify_VIEW_CONVERT_EXPR (loc, code, type, _p0);
    4318                 :     6868549 :     case FLOAT_EXPR:
    4319                 :     6868549 :       return generic_simplify_FLOAT_EXPR (loc, code, type, _p0);
    4320                 :      526147 :     case FIX_TRUNC_EXPR:
    4321                 :      526147 :       return generic_simplify_FIX_TRUNC_EXPR (loc, code, type, _p0);
    4322                 :        3335 :     case PAREN_EXPR:
    4323                 :        3335 :       return generic_simplify_PAREN_EXPR (loc, code, type, _p0);
    4324                 :     1827669 :     case REALPART_EXPR:
    4325                 :     1827669 :       return generic_simplify_REALPART_EXPR (loc, code, type, _p0);
    4326                 :     2093671 :     case IMAGPART_EXPR:
    4327                 :     2093671 :       return generic_simplify_IMAGPART_EXPR (loc, code, type, _p0);
    4328                 :        1330 :     case CONJ_EXPR:
    4329                 :        1330 :       return generic_simplify_CONJ_EXPR (loc, code, type, _p0);
    4330                 :             :     default:;
    4331                 :             :     }
    4332                 :             :   return NULL_TREE;
    4333                 :             : }
    4334                 :             : 
    4335                 :             : tree
    4336                 :    94420724 : generic_simplify_PLUS_EXPR (location_t ARG_UNUSED (loc), enum tree_code ARG_UNUSED (code), const tree ARG_UNUSED (type), tree _p0, tree _p1)
    4337                 :             : {
    4338                 :    94420724 :   const bool debug_dump = dump_file && (dump_flags & TDF_FOLDING);
    4339                 :    94420724 :   if (integer_zerop (_p1))
    4340                 :             :     {
    4341                 :    27043148 :       {
    4342                 :    27043148 :         tree captures[1] ATTRIBUTE_UNUSED = { _p0 };
    4343                 :    27043148 :         if (TREE_SIDE_EFFECTS (_p1)) goto next_after_fail1287;
    4344                 :    27043148 :         if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail1287;
    4345                 :    27043148 :         {
    4346                 :    27043148 :           tree res_op0;
    4347                 :    27043148 :           res_op0 = captures[0];
    4348                 :    27043148 :           tree _r;
    4349                 :    27043148 :           _r = non_lvalue_loc (loc, res_op0);
    4350                 :    27043148 :           if (UNLIKELY (debug_dump)) generic_dump_logs ("match.pd", 901, __FILE__, __LINE__, true);
    4351                 :    27043148 :           return _r;
    4352                 :             :         }
    4353                 :             : next_after_fail1287:;
    4354                 :             :       }
    4355                 :             :     }
    4356                 :    67377576 :   if (real_zerop (_p1))
    4357                 :             :     {
    4358                 :        5277 :       {
    4359                 :        5277 :         tree captures[2] ATTRIBUTE_UNUSED = { _p0, _p1 };
    4360                 :        5277 :         tree res = generic_simplify_3 (loc, type, _p0, _p1, captures);
    4361                 :        5277 :         if (res) return res;
    4362                 :             :       }
    4363                 :             :     }
    4364                 :    67377481 :   switch (TREE_CODE (_p0))
    4365                 :             :     {
    4366                 :     6370760 :     case PLUS_EXPR:
    4367                 :     6370760 :       {
    4368                 :     6370760 :         tree _q20 = TREE_OPERAND (_p0, 0);
    4369                 :     6370760 :         tree _q21 = TREE_OPERAND (_p0, 1);
    4370                 :     6370760 :         switch (TREE_CODE (_q21))
    4371                 :             :           {
    4372                 :      124730 :           case REAL_CST:
    4373                 :      124730 :             {
    4374                 :      124730 :               switch (TREE_CODE (_p1))
    4375                 :             :                 {
    4376                 :          70 :                 case REAL_CST:
    4377                 :          70 :                   {
    4378                 :          70 :                     {
    4379                 :          70 :                       tree captures[4] ATTRIBUTE_UNUSED = { _p0, _q20, _q21, _p1 };
    4380                 :          70 :                       tree res = generic_simplify_4 (loc, type, _p0, _p1, captures, PLUS_EXPR, PLUS_EXPR);
    4381                 :          70 :                       if (res) return res;
    4382                 :             :                     }
    4383                 :          67 :                     break;
    4384                 :             :                   }
    4385                 :             :                 default:;
    4386                 :             :                 }
    4387                 :             :               break;
    4388                 :             :             }
    4389                 :             :           default:;
    4390                 :             :           }
    4391                 :             :         break;
    4392                 :             :       }
    4393                 :     1943389 :     case MINUS_EXPR:
    4394                 :     1943389 :       {
    4395                 :     1943389 :         tree _q20 = TREE_OPERAND (_p0, 0);
    4396                 :     1943389 :         tree _q21 = TREE_OPERAND (_p0, 1);
    4397                 :     1943389 :         switch (TREE_CODE (_q21))
    4398                 :             :           {
    4399                 :       23405 :           case REAL_CST:
    4400                 :       23405 :             {
    4401                 :       23405 :               switch (TREE_CODE (_p1))
    4402                 :             :                 {
    4403                 :         195 :                 case REAL_CST:
    4404                 :         195 :                   {
    4405                 :         195 :                     {
    4406                 :         195 :                       tree captures[4] ATTRIBUTE_UNUSED = { _p0, _q20, _q21, _p1 };
    4407                 :         195 :                       tree res = generic_simplify_4 (loc, type, _p0, _p1, captures, PLUS_EXPR, MINUS_EXPR);
    4408                 :         195 :                       if (res) return res;
    4409                 :             :                     }
    4410                 :         193 :                     break;
    4411                 :             :                   }
    4412                 :             :                 default:;
    4413                 :             :                 }
    4414                 :             :               break;
    4415                 :             :             }
    4416                 :             :           default:;
    4417                 :             :           }
    4418                 :             :         break;
    4419                 :             :       }
    4420                 :       11723 :     case MAX_EXPR:
    4421                 :       11723 :       {
    4422                 :       11723 :         tree _q20 = TREE_OPERAND (_p0, 0);
    4423                 :       11723 :         tree _q21 = TREE_OPERAND (_p0, 1);
    4424                 :       11723 :         if (integer_zerop (_q21))
    4425                 :             :           {
    4426                 :        4489 :             switch (TREE_CODE (_p1))
    4427                 :             :               {
    4428                 :         113 :               case MAX_EXPR:
    4429                 :         113 :                 {
    4430                 :         113 :                   tree _q50 = TREE_OPERAND (_p1, 0);
    4431                 :         113 :                   tree _q51 = TREE_OPERAND (_p1, 1);
    4432                 :         113 :                   switch (TREE_CODE (_q50))
    4433                 :             :                     {
    4434                 :          48 :                     case NEGATE_EXPR:
    4435                 :          48 :                       {
    4436                 :          48 :                         tree _q60 = TREE_OPERAND (_q50, 0);
    4437                 :          48 :                         if ((_q60 == _q20 && ! TREE_SIDE_EFFECTS (_q60)) || (operand_equal_p (_q60, _q20, 0) && types_match (_q60, _q20)))
    4438                 :             :                           {
    4439                 :          48 :                             if (integer_zerop (_q51))
    4440                 :             :                               {
    4441                 :          48 :                                 {
    4442                 :          48 :                                   tree captures[1] ATTRIBUTE_UNUSED = { _q20 };
    4443                 :          48 :                                   tree res = generic_simplify_5 (loc, type, _p0, _p1, captures);
    4444                 :          48 :                                   if (res) return res;
    4445                 :             :                                 }
    4446                 :             :                               }
    4447                 :             :                           }
    4448                 :             :                         break;
    4449                 :             :                       }
    4450                 :             :                     default:;
    4451                 :             :                     }
    4452                 :             :                   break;
    4453                 :             :                 }
    4454                 :             :               default:;
    4455                 :             :               }
    4456                 :             :           }
    4457                 :       11675 :         switch (TREE_CODE (_q20))
    4458                 :             :           {
    4459                 :          18 :           case NEGATE_EXPR:
    4460                 :          18 :             {
    4461                 :          18 :               tree _q30 = TREE_OPERAND (_q20, 0);
    4462                 :          18 :               if (integer_zerop (_q21))
    4463                 :             :                 {
    4464                 :          18 :                   switch (TREE_CODE (_p1))
    4465                 :             :                     {
    4466                 :          18 :                     case MAX_EXPR:
    4467                 :          18 :                       {
    4468                 :          18 :                         tree _q60 = TREE_OPERAND (_p1, 0);
    4469                 :          18 :                         tree _q61 = TREE_OPERAND (_p1, 1);
    4470                 :          18 :                         if ((_q60 == _q30 && ! TREE_SIDE_EFFECTS (_q60)) || (operand_equal_p (_q60, _q30, 0) && types_match (_q60, _q30)))
    4471                 :             :                           {
    4472                 :          18 :                             if (integer_zerop (_q61))
    4473                 :             :                               {
    4474                 :          18 :                                 {
    4475                 :          18 :                                   tree captures[1] ATTRIBUTE_UNUSED = { _q30 };
    4476                 :          18 :                                   tree res = generic_simplify_5 (loc, type, _p0, _p1, captures);
    4477                 :          18 :                                   if (res) return res;
    4478                 :             :                                 }
    4479                 :             :                               }
    4480                 :             :                           }
    4481                 :             :                         break;
    4482                 :             :                       }
    4483                 :             :                     default:;
    4484                 :             :                     }
    4485                 :             :                 }
    4486                 :             :               break;
    4487                 :             :             }
    4488                 :             :           default:;
    4489                 :             :           }
    4490                 :             :         break;
    4491                 :             :       }
    4492                 :    12724013 :     case MULT_EXPR:
    4493                 :    12724013 :       {
    4494                 :    12724013 :         tree _q20 = TREE_OPERAND (_p0, 0);
    4495                 :    12724013 :         tree _q21 = TREE_OPERAND (_p0, 1);
    4496                 :    12724013 :         switch (TREE_CODE (_q20))
    4497                 :             :           {
    4498                 :     1804319 :           case PLUS_EXPR:
    4499                 :     1804319 :             {
    4500                 :     1804319 :               tree _q30 = TREE_OPERAND (_q20, 0);
    4501                 :     1804319 :               tree _q31 = TREE_OPERAND (_q20, 1);
    4502                 :     1804319 :               switch (TREE_CODE (_q31))
    4503                 :             :                 {
    4504                 :      473916 :                 case INTEGER_CST:
    4505                 :      473916 :                   {
    4506                 :      473916 :                     switch (TREE_CODE (_q21))
    4507                 :             :                       {
    4508                 :      162727 :                       case INTEGER_CST:
    4509                 :      162727 :                         {
    4510                 :      162727 :                           switch (TREE_CODE (_p1))
    4511                 :             :                             {
    4512                 :      111912 :                             case INTEGER_CST:
    4513                 :      111912 :                               {
    4514                 :      111912 :                                 {
    4515                 :      111912 :                                   tree captures[6] ATTRIBUTE_UNUSED = { _p0, _q20, _q30, _q31, _q21, _p1 };
    4516                 :      111912 :                                   {
    4517                 :      111912 :  bool overflowed = true;
    4518                 :      111912 :  wi::overflow_type ovf1;
    4519                 :      111912 :  wi::overflow_type ovf2;
    4520                 :      111912 :  wide_int mul = wi::mul (wi::to_wide (captures[3]), wi::to_wide (captures[4]),
    4521                 :      223824 :  TYPE_SIGN (type), &ovf1);
    4522                 :      335736 :  wide_int add = wi::add (mul, wi::to_wide (captures[5]),
    4523                 :      111912 :  TYPE_SIGN (type), &ovf2);
    4524                 :      111912 :  if (TYPE_OVERFLOW_UNDEFINED (type))
    4525                 :             :  {
    4526                 :             :  }
    4527                 :             :  else
    4528                 :       51798 :  overflowed = false;
    4529                 :       51798 :                                       if (!overflowed
    4530                 :             : )
    4531                 :             :                                         {
    4532                 :       51798 :                                           if (TREE_SIDE_EFFECTS (captures[3])) goto next_after_fail1288;
    4533                 :       51798 :                                           if (TREE_SIDE_EFFECTS (captures[4])) goto next_after_fail1288;
    4534                 :       51798 :                                           if (TREE_SIDE_EFFECTS (captures[5])) goto next_after_fail1288;
    4535                 :       51798 :                                           if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail1288;
    4536                 :       51798 :                                           {
    4537                 :       51798 :                                             tree res_op0;
    4538                 :       51798 :                                             {
    4539                 :       51798 :                                               tree _o1[2], _r1;
    4540                 :       51798 :                                               _o1[0] = captures[2];
    4541                 :       51798 :                                               _o1[1] = captures[4];
    4542                 :       51798 :                                               _r1 = fold_build2_loc (loc, MULT_EXPR, TREE_TYPE (_o1[0]), _o1[0], _o1[1]);
    4543                 :       51798 :                                               res_op0 = _r1;
    4544                 :             :                                             }
    4545                 :       51798 :                                             tree res_op1;
    4546                 :       51798 :                                             res_op1 =  wide_int_to_tree (type, add);
    4547                 :       51798 :                                             tree _r;
    4548                 :       51798 :                                             _r = fold_build2_loc (loc, PLUS_EXPR, type, res_op0, res_op1);
    4549                 :       51798 :                                             if (UNLIKELY (debug_dump)) generic_dump_logs ("match.pd", 902, __FILE__, __LINE__, true);
    4550                 :       51798 :                                             return _r;
    4551                 :             :                                           }
    4552                 :       60114 : next_after_fail1288:;
    4553                 :             :                                         }
    4554                 :      111912 :                                   }
    4555                 :             :                                 }
    4556                 :       60114 :                                 break;
    4557                 :             :                               }
    4558                 :             :                             default:;
    4559                 :             :                             }
    4560                 :             :                           break;
    4561                 :             :                         }
    4562                 :             :                       default:;
    4563                 :             :                       }
    4564                 :             :                     break;
    4565                 :             :                   }
    4566                 :             :                 default:;
    4567                 :             :                 }
    4568                 :             :               break;
    4569                 :             :             }
    4570                 :             :           default:;
    4571                 :             :           }
    4572                 :             :         break;
    4573                 :             :       }
    4574                 :       19064 :     case LSHIFT_EXPR:
    4575                 :       19064 :       {
    4576                 :       19064 :         tree _q20 = TREE_OPERAND (_p0, 0);
    4577                 :       19064 :         tree _q21 = TREE_OPERAND (_p0, 1);
    4578                 :       19064 :         switch (TREE_CODE (_p1))
    4579                 :             :           {
    4580                 :         688 :           case LSHIFT_EXPR:
    4581                 :         688 :             {
    4582                 :         688 :               tree _q50 = TREE_OPERAND (_p1, 0);
    4583                 :         688 :               tree _q51 = TREE_OPERAND (_p1, 1);
    4584                 :         688 :               if ((_q51 == _q21 && ! TREE_SIDE_EFFECTS (_q51)) || (operand_equal_p (_q51, _q21, 0) && types_match (_q51, _q21)))
    4585                 :             :                 {
    4586                 :           7 :                   {
    4587                 :           7 :                     tree captures[5] ATTRIBUTE_UNUSED = { _p0, _q20, _q21, _p1, _q50 };
    4588                 :           7 :                     tree res = generic_simplify_6 (loc, type, _p0, _p1, captures, PLUS_EXPR);
    4589                 :           7 :                     if (res) return res;
    4590                 :             :                   }
    4591                 :             :                 }
    4592                 :             :               break;
    4593                 :             :             }
    4594                 :             :           default:;
    4595                 :             :           }
    4596                 :             :         break;
    4597                 :             :       }
    4598                 :      191347 :     case BIT_AND_EXPR:
    4599                 :      191347 :       {
    4600                 :      191347 :         tree _q20 = TREE_OPERAND (_p0, 0);
    4601                 :      191347 :         tree _q21 = TREE_OPERAND (_p0, 1);
    4602                 :      191347 :         switch (TREE_CODE (_p1))
    4603                 :             :           {
    4604                 :         286 :           case BIT_AND_EXPR:
    4605                 :         286 :             {
    4606                 :         286 :               tree _q50 = TREE_OPERAND (_p1, 0);
    4607                 :         286 :               tree _q51 = TREE_OPERAND (_p1, 1);
    4608                 :         286 :               {
    4609                 :         286 :                 tree captures[4] ATTRIBUTE_UNUSED = { _q20, _q21, _q50, _q51 };
    4610                 :         286 :                 tree res = generic_simplify_7 (loc, type, _p0, _p1, captures, PLUS_EXPR);
    4611                 :         286 :                 if (res) return res;
    4612                 :             :               }
    4613                 :         286 :               {
    4614                 :         286 :                 tree captures[4] ATTRIBUTE_UNUSED = { _q20, _q21, _q51, _q50 };
    4615                 :         286 :                 tree res = generic_simplify_7 (loc, type, _p0, _p1, captures, PLUS_EXPR);
    4616                 :         286 :                 if (res) return res;
    4617                 :             :               }
    4618                 :         286 :               {
    4619                 :         286 :                 tree captures[4] ATTRIBUTE_UNUSED = { _q21, _q20, _q50, _q51 };
    4620                 :         286 :                 tree res = generic_simplify_7 (loc, type, _p0, _p1, captures, PLUS_EXPR);
    4621                 :         286 :                 if (res) return res;
    4622                 :             :               }
    4623                 :         286 :               {
    4624                 :         286 :                 tree captures[4] ATTRIBUTE_UNUSED = { _q21, _q20, _q51, _q50 };
    4625                 :         286 :                 tree res = generic_simplify_7 (loc, type, _p0, _p1, captures, PLUS_EXPR);
    4626                 :         286 :                 if (res) return res;
    4627                 :             :               }
    4628                 :         286 :               break;
    4629                 :             :             }
    4630                 :      191347 :           default:;
    4631                 :             :           }
    4632                 :      191347 :         if (integer_onep (_q21))
    4633                 :             :           {
    4634                 :      126193 :             if ((_p1 == _q20 && ! TREE_SIDE_EFFECTS (_p1)) || (operand_equal_p (_p1, _q20, 0) && types_match (_p1, _q20)))
    4635                 :             :               {
    4636                 :          29 :                 {
    4637                 :          29 :                   tree captures[3] ATTRIBUTE_UNUSED = { _q20, _p0, _q21 };
    4638                 :          29 :                   tree res = generic_simplify_8 (loc, type, _p0, _p1, captures);
    4639                 :          29 :                   if (res) return res;
    4640                 :             :                 }
    4641                 :             :               }
    4642                 :             :           }
    4643                 :             :         break;
    4644                 :             :       }
    4645                 :    67325576 :     default:;
    4646                 :             :     }
    4647                 :    67325576 : if (real_zerop (_p0))
    4648                 :             :   {
    4649                 :           0 :     {
    4650                 :           0 :       tree captures[2] ATTRIBUTE_UNUSED = { _p1, _p0 };
    4651                 :           0 :       tree res = generic_simplify_3 (loc, type, _p0, _p1, captures);
    4652                 :           0 :       if (res) return res;
    4653                 :             :     }
    4654                 :             :   }
    4655                 :    67325576 :   switch (TREE_CODE (_p1))
    4656                 :             :     {
    4657                 :        5159 :     case BIT_AND_EXPR:
    4658                 :        5159 :       {
    4659                 :        5159 :         tree _q30 = TREE_OPERAND (_p1, 0);
    4660                 :        5159 :         tree _q31 = TREE_OPERAND (_p1, 1);
    4661                 :        5159 :         if ((_q30 == _p0 && ! TREE_SIDE_EFFECTS (_q30)) || (operand_equal_p (_q30, _p0, 0) && types_match (_q30, _p0)))
    4662                 :             :           {
    4663                 :          16 :             if (integer_onep (_q31))
    4664                 :             :               {
    4665                 :          16 :                 {
    4666                 :          16 :                   tree captures[3] ATTRIBUTE_UNUSED = { _p0, _p1, _q31 };
    4667                 :          16 :                   tree res = generic_simplify_8 (loc, type, _p0, _p1, captures);
    4668                 :          16 :                   if (res) return res;
    4669                 :             :                 }
    4670                 :             :               }
    4671                 :             :           }
    4672                 :             :         break;
    4673                 :             :       }
    4674                 :    67325560 :     default:;
    4675                 :             :     }
    4676                 :    67325560 :   switch (TREE_CODE (_p0))
    4677                 :             :     {
    4678                 :      191318 :     case BIT_AND_EXPR:
    4679                 :      191318 :       {
    4680                 :      191318 :         tree _q20 = TREE_OPERAND (_p0, 0);
    4681                 :      191318 :         tree _q21 = TREE_OPERAND (_p0, 1);
    4682                 :      191318 :         switch (TREE_CODE (_p1))
    4683                 :             :           {
    4684                 :           9 :           case BIT_XOR_EXPR:
    4685                 :           9 :             {
    4686                 :           9 :               tree _q50 = TREE_OPERAND (_p1, 0);
    4687                 :           9 :               tree _q51 = TREE_OPERAND (_p1, 1);
    4688                 :           9 :               if ((_q50 == _q20 && ! TREE_SIDE_EFFECTS (_q50)) || (operand_equal_p (_q50, _q20, 0) && types_match (_q50, _q20)))
    4689                 :             :                 {
    4690                 :           0 :                   if ((_q51 == _q21 && ! TREE_SIDE_EFFECTS (_q51)) || (operand_equal_p (_q51, _q21, 0) && types_match (_q51, _q21)))
    4691                 :             :                     {
    4692                 :           0 :                       {
    4693                 :           0 :                         tree captures[2] ATTRIBUTE_UNUSED = { _q20, _q21 };
    4694                 :           0 :                         tree res = generic_simplify_9 (loc, type, _p0, _p1, captures, PLUS_EXPR);
    4695                 :           0 :                         if (res) return res;
    4696                 :             :                       }
    4697                 :             :                     }
    4698                 :             :                 }
    4699                 :             :               break;
    4700                 :             :             }
    4701                 :           1 :           case BIT_IOR_EXPR:
    4702                 :           1 :             {
    4703                 :           1 :               tree _q50 = TREE_OPERAND (_p1, 0);
    4704                 :           1 :               tree _q51 = TREE_OPERAND (_p1, 1);
    4705                 :           1 :               if ((_q50 == _q20 && ! TREE_SIDE_EFFECTS (_q50)) || (operand_equal_p (_q50, _q20, 0) && types_match (_q50, _q20)))
    4706                 :             :                 {
    4707                 :           0 :                   if ((_q51 == _q21 && ! TREE_SIDE_EFFECTS (_q51)) || (operand_equal_p (_q51, _q21, 0) && types_match (_q51, _q21)))
    4708                 :             :                     {
    4709                 :           0 :                       {
    4710                 :           0 :                         tree captures[2] ATTRIBUTE_UNUSED = { _q20, _q21 };
    4711                 :           0 :                         tree res = generic_simplify_10 (loc, type, _p0, _p1, captures);
    4712                 :           0 :                         if (res) return res;
    4713                 :             :                       }
    4714                 :             :                     }
    4715                 :             :                 }
    4716                 :             :               break;
    4717                 :             :             }
    4718                 :      191318 :           default:;
    4719                 :             :           }
    4720                 :      191318 :         switch (TREE_CODE (_q21))
    4721                 :             :           {
    4722                 :      191013 :           case INTEGER_CST:
    4723                 :      191013 :             {
    4724                 :      191013 :               switch (TREE_CODE (_p1))
    4725                 :             :                 {
    4726                 :       14799 :                 CASE_CONVERT:
    4727                 :       14799 :                   {
    4728                 :       14799 :                     tree _q50 = TREE_OPERAND (_p1, 0);
    4729                 :       14799 :                     switch (TREE_CODE (_q50))
    4730                 :             :                       {
    4731                 :           0 :                       case BIT_AND_EXPR:
    4732                 :           0 :                         {
    4733                 :           0 :                           tree _q60 = TREE_OPERAND (_q50, 0);
    4734                 :           0 :                           tree _q61 = TREE_OPERAND (_q50, 1);
    4735                 :           0 :                           switch (TREE_CODE (_q61))
    4736                 :             :                             {
    4737                 :           0 :                             case INTEGER_CST:
    4738                 :           0 :                               {
    4739                 :           0 :                                 {
    4740                 :           0 :                                   tree captures[6] ATTRIBUTE_UNUSED = { _p0, _q20, _q21, _q50, _q60, _q61 };
    4741                 :           0 :                                   tree res = generic_simplify_11 (loc, type, _p0, _p1, captures, PLUS_EXPR);
    4742                 :           0 :                                   if (res) return res;
    4743                 :             :                                 }
    4744                 :           0 :                                 break;
    4745                 :             :                               }
    4746                 :             :                             default:;
    4747                 :             :                             }
    4748                 :             :                           break;
    4749                 :             :                         }
    4750                 :             :                       default:;
    4751                 :             :                       }
    4752                 :             :                     break;
    4753                 :             :                   }
    4754                 :         286 :                 case BIT_AND_EXPR:
    4755                 :         286 :                   {
    4756                 :         286 :                     tree _q50 = TREE_OPERAND (_p1, 0);
    4757                 :         286 :                     tree _q51 = TREE_OPERAND (_p1, 1);
    4758                 :         286 :                     switch (TREE_CODE (_q51))
    4759                 :             :                       {
    4760                 :         286 :                       case INTEGER_CST:
    4761                 :         286 :                         {
    4762                 :         286 :                           {
    4763                 :         286 :                             tree captures[6] ATTRIBUTE_UNUSED = { _p0, _q20, _q21, _p1, _q50, _q51 };
    4764                 :         286 :                             tree res = generic_simplify_11 (loc, type, _p0, _p1, captures, PLUS_EXPR);
    4765                 :         286 :                             if (res) return res;
    4766                 :             :                           }
    4767                 :         186 :                           break;
    4768                 :             :                         }
    4769                 :             :                       default:;
    4770                 :             :                       }
    4771                 :             :                     break;
    4772                 :             :                   }
    4773                 :             :                 default:;
    4774                 :             :                 }
    4775                 :             :               break;
    4776                 :             :             }
    4777                 :             :           default:;
    4778                 :             :           }
    4779                 :             :         break;
    4780                 :             :       }
    4781                 :        1507 :     case BIT_XOR_EXPR:
    4782                 :        1507 :       {
    4783                 :        1507 :         tree _q20 = TREE_OPERAND (_p0, 0);
    4784                 :        1507 :         tree _q21 = TREE_OPERAND (_p0, 1);
    4785                 :        1507 :         switch (TREE_CODE (_p1))
    4786                 :             :           {
    4787                 :           0 :           case BIT_AND_EXPR:
    4788                 :           0 :             {
    4789                 :           0 :               tree _q50 = TREE_OPERAND (_p1, 0);
    4790                 :           0 :               tree _q51 = TREE_OPERAND (_p1, 1);
    4791                 :           0 :               if ((_q50 == _q20 && ! TREE_SIDE_EFFECTS (_q50)) || (operand_equal_p (_q50, _q20, 0) && types_match (_q50, _q20)))
    4792                 :             :                 {
    4793                 :           0 :                   if ((_q51 == _q21 && ! TREE_SIDE_EFFECTS (_q51)) || (operand_equal_p (_q51, _q21, 0) && types_match (_q51, _q21)))
    4794                 :             :                     {
    4795                 :           0 :                       {
    4796                 :           0 :                         tree captures[2] ATTRIBUTE_UNUSED = { _q20, _q21 };
    4797                 :           0 :                         tree res = generic_simplify_9 (loc, type, _p0, _p1, captures, PLUS_EXPR);
    4798                 :           0 :                         if (res) return res;
    4799                 :             :                       }
    4800                 :             :                     }
    4801                 :             :                 }
    4802                 :             :               break;
    4803                 :             :             }
    4804                 :             :           default:;
    4805                 :             :           }
    4806                 :             :         break;
    4807                 :             :       }
    4808                 :         552 :     case BIT_IOR_EXPR:
    4809                 :         552 :       {
    4810                 :         552 :         tree _q20 = TREE_OPERAND (_p0, 0);
    4811                 :         552 :         tree _q21 = TREE_OPERAND (_p0, 1);
    4812                 :         552 :         switch (TREE_CODE (_p1))
    4813                 :             :           {
    4814                 :           0 :           case BIT_AND_EXPR:
    4815                 :           0 :             {
    4816                 :           0 :               tree _q50 = TREE_OPERAND (_p1, 0);
    4817                 :           0 :               tree _q51 = TREE_OPERAND (_p1, 1);
    4818                 :           0 :               if ((_q50 == _q20 && ! TREE_SIDE_EFFECTS (_q50)) || (operand_equal_p (_q50, _q20, 0) && types_match (_q50, _q20)))
    4819                 :             :                 {
    4820                 :           0 :                   if ((_q51 == _q21 && ! TREE_SIDE_EFFECTS (_q51)) || (operand_equal_p (_q51, _q21, 0) && types_match (_q51, _q21)))
    4821                 :             :                     {
    4822                 :           0 :                       {
    4823                 :           0 :                         tree captures[2] ATTRIBUTE_UNUSED = { _q20, _q21 };
    4824                 :           0 :                         tree res = generic_simplify_10 (loc, type, _p0, _p1, captures);
    4825                 :           0 :                         if (res) return res;
    4826                 :             :                       }
    4827                 :             :                     }
    4828                 :             :                 }
    4829                 :             :               break;
    4830                 :             :             }
    4831                 :             :           default:;
    4832                 :             :           }
    4833                 :             :         break;
    4834                 :             :       }
    4835                 :     1943387 :     case MINUS_EXPR:
    4836                 :     1943387 :       {
    4837                 :     1943387 :         tree _q20 = TREE_OPERAND (_p0, 0);
    4838                 :     1943387 :         tree _q21 = TREE_OPERAND (_p0, 1);
    4839                 :     1943387 :         switch (TREE_CODE (_q20))
    4840                 :             :           {
    4841                 :           2 :           case BIT_AND_EXPR:
    4842                 :           2 :             {
    4843                 :           2 :               tree _q30 = TREE_OPERAND (_q20, 0);
    4844                 :           2 :               tree _q31 = TREE_OPERAND (_q20, 1);
    4845                 :           2 :               switch (TREE_CODE (_q21))
    4846                 :             :                 {
    4847                 :           1 :                 case BIT_IOR_EXPR:
    4848                 :           1 :                   {
    4849                 :           1 :                     tree _q60 = TREE_OPERAND (_q21, 0);
    4850                 :           1 :                     tree _q61 = TREE_OPERAND (_q21, 1);
    4851                 :           1 :                     if ((_q60 == _q30 && ! TREE_SIDE_EFFECTS (_q60)) || (operand_equal_p (_q60, _q30, 0) && types_match (_q60, _q30)))
    4852                 :             :                       {
    4853                 :           1 :                         if ((_q61 == _q31 && ! TREE_SIDE_EFFECTS (_q61)) || (operand_equal_p (_q61, _q31, 0) && types_match (_q61, _q31)))
    4854                 :             :                           {
    4855                 :           1 :                             if (integer_all_onesp (_p1))
    4856                 :             :                               {
    4857                 :           1 :                                 {
    4858                 :           1 :                                   tree captures[3] ATTRIBUTE_UNUSED = { _p0, _q30, _q31 };
    4859                 :           1 :                                   tree res = generic_simplify_12 (loc, type, _p0, _p1, captures);
    4860                 :           1 :                                   if (res) return res;
    4861                 :             :                                 }
    4862                 :             :                               }
    4863                 :             :                           }
    4864                 :             :                       }
    4865                 :           0 :                     if ((_q60 == _q31 && ! TREE_SIDE_EFFECTS (_q60)) || (operand_equal_p (_q60, _q31, 0) && types_match (_q60, _q31)))
    4866                 :             :                       {
    4867                 :           0 :                         if ((_q61 == _q30 && ! TREE_SIDE_EFFECTS (_q61)) || (operand_equal_p (_q61, _q30, 0) && types_match (_q61, _q30)))
    4868                 :             :                           {
    4869                 :           0 :                             if (integer_all_onesp (_p1))
    4870                 :             :                               {
    4871                 :           0 :                                 {
    4872                 :           0 :                                   tree captures[3] ATTRIBUTE_UNUSED = { _p0, _q31, _q30 };
    4873                 :           0 :                                   tree res = generic_simplify_12 (loc, type, _p0, _p1, captures);
    4874                 :           0 :                                   if (res) return res;
    4875                 :             :                                 }
    4876                 :             :                               }
    4877                 :             :                           }
    4878                 :             :                       }
    4879                 :             :                     break;
    4880                 :             :                   }
    4881                 :             :                 default:;
    4882                 :             :                 }
    4883                 :             :               break;
    4884                 :             :             }
    4885                 :     1943386 :           default:;
    4886                 :             :           }
    4887                 :     1943386 :       {
    4888                 :     1943386 :         tree _q20_pops[1];
    4889                 :     1943386 :         if (tree_nop_convert (_q20, _q20_pops))
    4890                 :             :           {
    4891                 :      827876 :             tree _q30 = _q20_pops[0];
    4892                 :      827876 :             switch (TREE_CODE (_q30))
    4893                 :             :               {
    4894                 :           0 :               case BIT_AND_EXPR:
    4895                 :           0 :                 {
    4896                 :           0 :                   tree _q40 = TREE_OPERAND (_q30, 0);
    4897                 :           0 :                   tree _q41 = TREE_OPERAND (_q30, 1);
    4898                 :           0 :                   {
    4899                 :           0 :                     tree _q21_pops[1];
    4900                 :           0 :                     if (tree_nop_convert (_q21, _q21_pops))
    4901                 :             :                       {
    4902                 :           0 :                         tree _q70 = _q21_pops[0];
    4903                 :           0 :                         switch (TREE_CODE (_q70))
    4904                 :             :                           {
    4905                 :           0 :                           case BIT_IOR_EXPR:
    4906                 :           0 :                             {
    4907                 :           0 :                               tree _q80 = TREE_OPERAND (_q70, 0);
    4908                 :           0 :                               tree _q81 = TREE_OPERAND (_q70, 1);
    4909                 :           0 :                               if ((_q80 == _q40 && ! TREE_SIDE_EFFECTS (_q80)) || (operand_equal_p (_q80, _q40, 0) && types_match (_q80, _q40)))
    4910                 :             :                                 {
    4911                 :           0 :                                   if ((_q81 == _q41 && ! TREE_SIDE_EFFECTS (_q81)) || (operand_equal_p (_q81, _q41, 0) && types_match (_q81, _q41)))
    4912                 :             :                                     {
    4913                 :           0 :                                       if (integer_all_onesp (_p1))
    4914                 :             :                                         {
    4915                 :           0 :                                           {
    4916                 :           0 :                                             tree captures[3] ATTRIBUTE_UNUSED = { _p0, _q40, _q41 };
    4917                 :           0 :                                             tree res = generic_simplify_12 (loc, type, _p0, _p1, captures);
    4918                 :           0 :                                             if (res) return res;
    4919                 :             :                                           }
    4920                 :             :                                         }
    4921                 :             :                                     }
    4922                 :             :                                 }
    4923                 :           0 :                               if ((_q80 == _q41 && ! TREE_SIDE_EFFECTS (_q80)) || (operand_equal_p (_q80, _q41, 0) && types_match (_q80, _q41)))
    4924                 :             :                                 {
    4925                 :           0 :                                   if ((_q81 == _q40 && ! TREE_SIDE_EFFECTS (_q81)) || (operand_equal_p (_q81, _q40, 0) && types_match (_q81, _q40)))
    4926                 :             :                                     {
    4927                 :           0 :                                       if (integer_all_onesp (_p1))
    4928                 :             :                                         {
    4929                 :           0 :                                           {
    4930                 :           0 :                                             tree captures[3] ATTRIBUTE_UNUSED = { _p0, _q41, _q40 };
    4931                 :           0 :                                             tree res = generic_simplify_12 (loc, type, _p0, _p1, captures);
    4932                 :           0 :                                             if (res) return res;
    4933                 :             :                                           }
    4934                 :             :                                         }
    4935                 :             :                                     }
    4936                 :             :                                 }
    4937                 :             :                               break;
    4938                 :             :                             }
    4939                 :             :                           default:;
    4940                 :             :                           }
    4941                 :             :                       }
    4942                 :             :                   }
    4943                 :           0 :                   break;
    4944                 :             :                 }
    4945                 :             :               default:;
    4946                 :             :               }
    4947                 :             :           }
    4948                 :             :       }
    4949                 :     1943386 :         {
    4950                 :     1943386 :           tree _q21_pops[1];
    4951                 :     1943386 :           if (tree_nop_convert (_q21, _q21_pops))
    4952                 :             :             {
    4953                 :     1049886 :               tree _q40 = _q21_pops[0];
    4954                 :     1049886 :               if ((_p1 == _q40 && ! TREE_SIDE_EFFECTS (_p1)) || (operand_equal_p (_p1, _q40, 0) && types_match (_p1, _q40)))
    4955                 :             :                 {
    4956                 :          50 :                   {
    4957                 :          50 :                     tree captures[2] ATTRIBUTE_UNUSED = { _q20, _q40 };
    4958                 :          50 :                     tree res = generic_simplify_13 (loc, type, _p0, _p1, captures);
    4959                 :          50 :                     if (res) return res;
    4960                 :             :                   }
    4961                 :             :                 }
    4962                 :             :             }
    4963                 :             :         }
    4964                 :     1943340 :         if ((_p1 == _q21 && ! TREE_SIDE_EFFECTS (_p1)) || (operand_equal_p (_p1, _q21, 0) && types_match (_p1, _q21)))
    4965                 :             :           {
    4966                 :       46296 :             {
    4967                 :       46296 :               tree captures[2] ATTRIBUTE_UNUSED = { _q20, _q21 };
    4968                 :       46296 :               tree res = generic_simplify_13 (loc, type, _p0, _p1, captures);
    4969                 :       46296 :               if (res) return res;
    4970                 :             :             }
    4971                 :             :           }
    4972                 :             :         break;
    4973                 :             :       }
    4974                 :    17919342 :     CASE_CONVERT:
    4975                 :    17919342 :       {
    4976                 :    17919342 :         tree _q20 = TREE_OPERAND (_p0, 0);
    4977                 :    17919342 :         switch (TREE_CODE (_q20))
    4978                 :             :           {
    4979                 :          72 :           case BIT_AND_EXPR:
    4980                 :          72 :             {
    4981                 :          72 :               tree _q30 = TREE_OPERAND (_q20, 0);
    4982                 :          72 :               tree _q31 = TREE_OPERAND (_q20, 1);
    4983                 :          72 :               switch (TREE_CODE (_q31))
    4984                 :             :                 {
    4985                 :           8 :                 case INTEGER_CST:
    4986                 :           8 :                   {
    4987                 :           8 :                     switch (TREE_CODE (_p1))
    4988                 :             :                       {
    4989                 :           0 :                       CASE_CONVERT:
    4990                 :           0 :                         {
    4991                 :           0 :                           tree _q60 = TREE_OPERAND (_p1, 0);
    4992                 :           0 :                           switch (TREE_CODE (_q60))
    4993                 :             :                             {
    4994                 :           0 :                             case BIT_AND_EXPR:
    4995                 :           0 :                               {
    4996                 :           0 :                                 tree _q70 = TREE_OPERAND (_q60, 0);
    4997                 :           0 :                                 tree _q71 = TREE_OPERAND (_q60, 1);
    4998                 :           0 :                                 switch (TREE_CODE (_q71))
    4999                 :             :                                   {
    5000                 :           0 :                                   case INTEGER_CST:
    5001                 :           0 :                                     {
    5002                 :           0 :                                       {
    5003                 :           0 :                                         tree captures[6] ATTRIBUTE_UNUSED = { _q20, _q30, _q31, _q60, _q70, _q71 };
    5004                 :           0 :                                         tree res = generic_simplify_11 (loc, type, _p0, _p1, captures, PLUS_EXPR);
    5005                 :           0 :                                         if (res) return res;
    5006                 :             :                                       }
    5007                 :           0 :                                       break;
    5008                 :             :                                     }
    5009                 :             :                                   default:;
    5010                 :             :                                   }
    5011                 :             :                                 break;
    5012                 :             :                               }
    5013                 :             :                             default:;
    5014                 :             :                             }
    5015                 :             :                           break;
    5016                 :             :                         }
    5017                 :           0 :                       case BIT_AND_EXPR:
    5018                 :           0 :                         {
    5019                 :           0 :                           tree _q60 = TREE_OPERAND (_p1, 0);
    5020                 :           0 :                           tree _q61 = TREE_OPERAND (_p1, 1);
    5021                 :           0 :                           switch (TREE_CODE (_q61))
    5022                 :             :                             {
    5023                 :           0 :                             case INTEGER_CST:
    5024                 :           0 :                               {
    5025                 :           0 :                                 {
    5026                 :           0 :                                   tree captures[6] ATTRIBUTE_UNUSED = { _q20, _q30, _q31, _p1, _q60, _q61 };
    5027                 :           0 :                                   tree res = generic_simplify_11 (loc, type, _p0, _p1, captures, PLUS_EXPR);
    5028                 :           0 :                                   if (res) return res;
    5029                 :             :                                 }
    5030                 :           0 :                                 break;
    5031                 :             :                               }
    5032                 :             :                             default:;
    5033                 :             :                             }
    5034                 :             :                           break;
    5035                 :             :                         }
    5036                 :             :                       default:;
    5037                 :             :                       }
    5038                 :             :                     break;
    5039                 :             :                   }
    5040                 :             :                 default:;
    5041                 :             :                 }
    5042                 :             :               break;
    5043                 :             :             }
    5044                 :        4539 :           case NEGATE_EXPR:
    5045                 :        4539 :             {
    5046                 :        4539 :               tree _q30 = TREE_OPERAND (_q20, 0);
    5047                 :        4539 :               {
    5048                 :        4539 :                 tree captures[2] ATTRIBUTE_UNUSED = { _p1, _q30 };
    5049                 :        4539 :                 tree res = generic_simplify_14 (loc, type, _p0, _p1, captures);
    5050                 :        4539 :                 if (res) return res;
    5051                 :             :               }
    5052                 :        1692 :               break;
    5053                 :             :             }
    5054                 :             :           default:;
    5055                 :             :           }
    5056                 :             :         break;
    5057                 :             :       }
    5058                 :      129877 :     case COND_EXPR:
    5059                 :      129877 :       {
    5060                 :      129877 :         tree _q20 = TREE_OPERAND (_p0, 0);
    5061                 :      129877 :         tree _q21 = TREE_OPERAND (_p0, 1);
    5062                 :      129877 :         tree _q22 = TREE_OPERAND (_p0, 2);
    5063                 :      129877 :         if (integer_zerop (_q22))
    5064                 :             :           {
    5065                 :      121090 :             switch (TREE_CODE (_p1))
    5066                 :             :               {
    5067                 :          44 :               case COND_EXPR:
    5068                 :          44 :                 {
    5069                 :          44 :                   tree _q60 = TREE_OPERAND (_p1, 0);
    5070                 :          44 :                   tree _q61 = TREE_OPERAND (_p1, 1);
    5071                 :          44 :                   tree _q62 = TREE_OPERAND (_p1, 2);
    5072                 :          44 :                   if ((_q60 == _q20 && ! TREE_SIDE_EFFECTS (_q60)) || (operand_equal_p (_q60, _q20, 0) && types_match (_q60, _q20)))
    5073                 :             :                     {
    5074                 :           6 :                       if (integer_zerop (_q61))
    5075                 :             :                         {
    5076                 :           0 :                           {
    5077                 :           0 :                             tree captures[5] ATTRIBUTE_UNUSED = { _p0, _q20, _q21, _p1, _q62 };
    5078                 :           0 :                             const enum tree_code op = PLUS_EXPR;
    5079                 :           0 :                             if (TREE_SIDE_EFFECTS (_p0)) goto next_after_fail1289;
    5080                 :           0 :                             if (TREE_SIDE_EFFECTS (_p1)) goto next_after_fail1289;
    5081                 :           0 :                             if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail1289;
    5082                 :           0 :                             {
    5083                 :           0 :                               tree res_op0;
    5084                 :           0 :                               res_op0 = captures[1];
    5085                 :           0 :                               tree res_op1;
    5086                 :           0 :                               res_op1 = captures[2];
    5087                 :           0 :                               tree res_op2;
    5088                 :           0 :                               res_op2 = captures[4];
    5089                 :           0 :                               tree _r;
    5090                 :           0 :                               _r = fold_build3_loc (loc, COND_EXPR, type, res_op0, res_op1, res_op2);
    5091                 :           0 :                               if (UNLIKELY (debug_dump)) generic_dump_logs ("match.pd", 903, __FILE__, __LINE__, true);
    5092                 :           0 :                               return _r;
    5093                 :             :                             }
    5094                 :           0 : next_after_fail1289:;
    5095                 :             :                           }
    5096                 :             :                         }
    5097                 :             :                     }
    5098                 :             :                   break;
    5099                 :             :                 }
    5100                 :             :               default:;
    5101                 :             :               }
    5102                 :             :           }
    5103                 :      129877 :         if (integer_zerop (_q21))
    5104                 :             :           {
    5105                 :         954 :             switch (TREE_CODE (_p1))
    5106                 :             :               {
    5107                 :           0 :               case COND_EXPR:
    5108                 :           0 :                 {
    5109                 :           0 :                   tree _q60 = TREE_OPERAND (_p1, 0);
    5110                 :           0 :                   tree _q61 = TREE_OPERAND (_p1, 1);
    5111                 :           0 :                   tree _q62 = TREE_OPERAND (_p1, 2);
    5112                 :           0 :                   if ((_q60 == _q20 && ! TREE_SIDE_EFFECTS (_q60)) || (operand_equal_p (_q60, _q20, 0) && types_match (_q60, _q20)))
    5113                 :             :                     {
    5114                 :           0 :                       if (integer_zerop (_q62))
    5115                 :             :                         {
    5116                 :           0 :                           {
    5117                 :           0 :                             tree captures[5] ATTRIBUTE_UNUSED = { _p1, _q20, _q61, _p0, _q22 };
    5118                 :           0 :                             const enum tree_code op = PLUS_EXPR;
    5119                 :           0 :                             if (TREE_SIDE_EFFECTS (_p0)) goto next_after_fail1290;
    5120                 :           0 :                             if (TREE_SIDE_EFFECTS (_p1)) goto next_after_fail1290;
    5121                 :           0 :                             if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail1290;
    5122                 :           0 :                             {
    5123                 :           0 :                               tree res_op0;
    5124                 :           0 :                               res_op0 = captures[1];
    5125                 :           0 :                               tree res_op1;
    5126                 :           0 :                               res_op1 = captures[2];
    5127                 :           0 :                               tree res_op2;
    5128                 :           0 :                               res_op2 = captures[4];
    5129                 :           0 :                               tree _r;
    5130                 :           0 :                               _r = fold_build3_loc (loc, COND_EXPR, type, res_op0, res_op1, res_op2);
    5131                 :           0 :                               if (UNLIKELY (debug_dump)) generic_dump_logs ("match.pd", 903, __FILE__, __LINE__, true);
    5132                 :           0 :                               return _r;
    5133                 :             :                             }
    5134                 :           0 : next_after_fail1290:;
    5135                 :             :                           }
    5136                 :             :                         }
    5137                 :             :                     }
    5138                 :             :                   break;
    5139                 :             :                 }
    5140                 :             :               default:;
    5141                 :             :               }
    5142                 :             :           }
    5143                 :      129877 :         switch (TREE_CODE (_q20))
    5144                 :             :           {
    5145                 :       28895 :           case LT_EXPR:
    5146                 :       28895 :             {
    5147                 :       28895 :               tree _q30 = TREE_OPERAND (_q20, 0);
    5148                 :       28895 :               tree _q31 = TREE_OPERAND (_q20, 1);
    5149                 :       28895 :               if (zerop (_q22))
    5150                 :             :                 {
    5151                 :       28833 :                   switch (TREE_CODE (_p1))
    5152                 :             :                     {
    5153                 :           0 :                     case COND_EXPR:
    5154                 :           0 :                       {
    5155                 :           0 :                         tree _q80 = TREE_OPERAND (_p1, 0);
    5156                 :           0 :                         tree _q81 = TREE_OPERAND (_p1, 1);
    5157                 :           0 :                         tree _q82 = TREE_OPERAND (_p1, 2);
    5158                 :           0 :                         switch (TREE_CODE (_q80))
    5159                 :             :                           {
    5160                 :           0 :                           case GE_EXPR:
    5161                 :           0 :                             {
    5162                 :           0 :                               tree _q90 = TREE_OPERAND (_q80, 0);
    5163                 :           0 :                               tree _q91 = TREE_OPERAND (_q80, 1);
    5164                 :           0 :                               if ((_q90 == _q30 && ! TREE_SIDE_EFFECTS (_q90)) || (operand_equal_p (_q90, _q30, 0) && types_match (_q90, _q30)))
    5165                 :             :                                 {
    5166                 :           0 :                                   if ((_q91 == _q31 && ! TREE_SIDE_EFFECTS (_q91)) || (operand_equal_p (_q91, _q31, 0) && types_match (_q91, _q31)))
    5167                 :             :                                     {
    5168                 :           0 :                                       if (zerop (_q82))
    5169                 :             :                                         {
    5170                 :           0 :                                           {
    5171                 :           0 :                                             tree captures[6] ATTRIBUTE_UNUSED = { _q20, _q30, _q31, _q21, _q80, _q81 };
    5172                 :           0 :                                             tree res = generic_simplify_15 (loc, type, _p0, _p1, captures, PLUS_EXPR, LT_EXPR, GE_EXPR);
    5173                 :           0 :                                             if (res) return res;
    5174                 :             :                                           }
    5175                 :             :                                         }
    5176                 :             :                                     }
    5177                 :             :                                 }
    5178                 :             :                               break;
    5179                 :             :                             }
    5180                 :             :                           default:;
    5181                 :             :                           }
    5182                 :             :                         break;
    5183                 :             :                       }
    5184                 :             :                     default:;
    5185                 :             :                     }
    5186                 :             :                 }
    5187                 :             :               break;
    5188                 :             :             }
    5189                 :       32544 :           case LE_EXPR:
    5190                 :       32544 :             {
    5191                 :       32544 :               tree _q30 = TREE_OPERAND (_q20, 0);
    5192                 :       32544 :               tree _q31 = TREE_OPERAND (_q20, 1);
    5193                 :       32544 :               if (zerop (_q22))
    5194                 :             :                 {
    5195                 :       32286 :                   switch (TREE_CODE (_p1))
    5196                 :             :                     {
    5197                 :           5 :                     case COND_EXPR:
    5198                 :           5 :                       {
    5199                 :           5 :                         tree _q80 = TREE_OPERAND (_p1, 0);
    5200                 :           5 :                         tree _q81 = TREE_OPERAND (_p1, 1);
    5201                 :           5 :                         tree _q82 = TREE_OPERAND (_p1, 2);
    5202                 :           5 :                         switch (TREE_CODE (_q80))
    5203                 :             :                           {
    5204                 :           0 :                           case GT_EXPR:
    5205                 :           0 :                             {
    5206                 :           0 :                               tree _q90 = TREE_OPERAND (_q80, 0);
    5207                 :           0 :                               tree _q91 = TREE_OPERAND (_q80, 1);
    5208                 :           0 :                               if ((_q90 == _q30 && ! TREE_SIDE_EFFECTS (_q90)) || (operand_equal_p (_q90, _q30, 0) && types_match (_q90, _q30)))
    5209                 :             :                                 {
    5210                 :           0 :                                   if ((_q91 == _q31 && ! TREE_SIDE_EFFECTS (_q91)) || (operand_equal_p (_q91, _q31, 0) && types_match (_q91, _q31)))
    5211                 :             :                                     {
    5212                 :           0 :                                       if (zerop (_q82))
    5213                 :             :                                         {
    5214                 :           0 :                                           {
    5215                 :           0 :                                             tree captures[6] ATTRIBUTE_UNUSED = { _q20, _q30, _q31, _q21, _q80, _q81 };
    5216                 :           0 :                                             tree res = generic_simplify_15 (loc, type, _p0, _p1, captures, PLUS_EXPR, LE_EXPR, GT_EXPR);
    5217                 :           0 :                                             if (res) return res;
    5218                 :             :                                           }
    5219                 :             :                                         }
    5220                 :             :                                     }
    5221                 :             :                                 }
    5222                 :             :                               break;
    5223                 :             :                             }
    5224                 :             :                           default:;
    5225                 :             :                           }
    5226                 :             :                         break;
    5227                 :             :                       }
    5228                 :             :                     default:;
    5229                 :             :                     }
    5230                 :             :                 }
    5231                 :             :               break;
    5232                 :             :             }
    5233                 :        1048 :           case EQ_EXPR:
    5234                 :        1048 :             {
    5235                 :        1048 :               tree _q30 = TREE_OPERAND (_q20, 0);
    5236                 :        1048 :               tree _q31 = TREE_OPERAND (_q20, 1);
    5237                 :        1048 :               if (zerop (_q22))
    5238                 :             :                 {
    5239                 :         567 :                   switch (TREE_CODE (_p1))
    5240                 :             :                     {
    5241                 :          32 :                     case COND_EXPR:
    5242                 :          32 :                       {
    5243                 :          32 :                         tree _q80 = TREE_OPERAND (_p1, 0);
    5244                 :          32 :                         tree _q81 = TREE_OPERAND (_p1, 1);
    5245                 :          32 :                         tree _q82 = TREE_OPERAND (_p1, 2);
    5246                 :          32 :                         switch (TREE_CODE (_q80))
    5247                 :             :                           {
    5248                 :           0 :                           case NE_EXPR:
    5249                 :           0 :                             {
    5250                 :           0 :                               tree _q90 = TREE_OPERAND (_q80, 0);
    5251                 :           0 :                               tree _q91 = TREE_OPERAND (_q80, 1);
    5252                 :           0 :                               if ((_q90 == _q30 && ! TREE_SIDE_EFFECTS (_q90)) || (operand_equal_p (_q90, _q30, 0) && types_match (_q90, _q30)))
    5253                 :             :                                 {
    5254                 :           0 :                                   if ((_q91 == _q31 && ! TREE_SIDE_EFFECTS (_q91)) || (operand_equal_p (_q91, _q31, 0) && types_match (_q91, _q31)))
    5255                 :             :                                     {
    5256                 :           0 :                                       if (zerop (_q82))
    5257                 :             :                                         {
    5258                 :           0 :                                           {
    5259                 :           0 :                                             tree captures[6] ATTRIBUTE_UNUSED = { _q20, _q30, _q31, _q21, _q80, _q81 };
    5260                 :           0 :                                             tree res = generic_simplify_15 (loc, type, _p0, _p1, captures, PLUS_EXPR, EQ_EXPR, NE_EXPR);
    5261                 :           0 :                                             if (res) return res;
    5262                 :             :                                           }
    5263                 :             :                                         }
    5264                 :             :                                     }
    5265                 :             :                                 }
    5266                 :             :                               break;
    5267                 :             :                             }
    5268                 :             :                           default:;
    5269                 :             :                           }
    5270                 :             :                         break;
    5271                 :             :                       }
    5272                 :             :                     default:;
    5273                 :             :                     }
    5274                 :             :                 }
    5275                 :             :               break;
    5276                 :             :             }
    5277                 :        8409 :           case NE_EXPR:
    5278                 :        8409 :             {
    5279                 :        8409 :               tree _q30 = TREE_OPERAND (_q20, 0);
    5280                 :        8409 :               tree _q31 = TREE_OPERAND (_q20, 1);
    5281                 :        8409 :               if (zerop (_q22))
    5282                 :             :                 {
    5283                 :        5844 :                   switch (TREE_CODE (_p1))
    5284                 :             :                     {
    5285                 :           7 :                     case COND_EXPR:
    5286                 :           7 :                       {
    5287                 :           7 :                         tree _q80 = TREE_OPERAND (_p1, 0);
    5288                 :           7 :                         tree _q81 = TREE_OPERAND (_p1, 1);
    5289                 :           7 :                         tree _q82 = TREE_OPERAND (_p1, 2);
    5290                 :           7 :                         switch (TREE_CODE (_q80))
    5291                 :             :                           {
    5292                 :           0 :                           case EQ_EXPR:
    5293                 :           0 :                             {
    5294                 :           0 :                               tree _q90 = TREE_OPERAND (_q80, 0);
    5295                 :           0 :                               tree _q91 = TREE_OPERAND (_q80, 1);
    5296                 :           0 :                               if ((_q90 == _q30 && ! TREE_SIDE_EFFECTS (_q90)) || (operand_equal_p (_q90, _q30, 0) && types_match (_q90, _q30)))
    5297                 :             :                                 {
    5298                 :           0 :                                   if ((_q91 == _q31 && ! TREE_SIDE_EFFECTS (_q91)) || (operand_equal_p (_q91, _q31, 0) && types_match (_q91, _q31)))
    5299                 :             :                                     {
    5300                 :           0 :                                       if (zerop (_q82))
    5301                 :             :                                         {
    5302                 :           0 :                                           {
    5303                 :           0 :                                             tree captures[6] ATTRIBUTE_UNUSED = { _q20, _q30, _q31, _q21, _q80, _q81 };
    5304                 :           0 :                                             tree res = generic_simplify_15 (loc, type, _p0, _p1, captures, PLUS_EXPR, NE_EXPR, EQ_EXPR);
    5305                 :           0 :                                             if (res) return res;
    5306                 :             :                                           }
    5307                 :             :                                         }
    5308                 :             :                                     }
    5309                 :             :                                 }
    5310                 :             :                               break;
    5311                 :             :                             }
    5312                 :             :                           default:;
    5313                 :             :                           }
    5314                 :             :                         break;
    5315                 :             :                       }
    5316                 :             :                     default:;
    5317                 :             :                     }
    5318                 :             :                 }
    5319                 :             :               break;
    5320                 :             :             }
    5321                 :       19845 :           case GE_EXPR:
    5322                 :       19845 :             {
    5323                 :       19845 :               tree _q30 = TREE_OPERAND (_q20, 0);
    5324                 :       19845 :               tree _q31 = TREE_OPERAND (_q20, 1);
    5325                 :       19845 :               if (zerop (_q22))
    5326                 :             :                 {
    5327                 :       18579 :                   switch (TREE_CODE (_p1))
    5328                 :             :                     {
    5329                 :           0 :                     case COND_EXPR:
    5330                 :           0 :                       {
    5331                 :           0 :                         tree _q80 = TREE_OPERAND (_p1, 0);
    5332                 :           0 :                         tree _q81 = TREE_OPERAND (_p1, 1);
    5333                 :           0 :                         tree _q82 = TREE_OPERAND (_p1, 2);
    5334                 :           0 :                         switch (TREE_CODE (_q80))
    5335                 :             :                           {
    5336                 :           0 :                           case LT_EXPR:
    5337                 :           0 :                             {
    5338                 :           0 :                               tree _q90 = TREE_OPERAND (_q80, 0);
    5339                 :           0 :                               tree _q91 = TREE_OPERAND (_q80, 1);
    5340                 :           0 :                               if ((_q90 == _q30 && ! TREE_SIDE_EFFECTS (_q90)) || (operand_equal_p (_q90, _q30, 0) && types_match (_q90, _q30)))
    5341                 :             :                                 {
    5342                 :           0 :                                   if ((_q91 == _q31 && ! TREE_SIDE_EFFECTS (_q91)) || (operand_equal_p (_q91, _q31, 0) && types_match (_q91, _q31)))
    5343                 :             :                                     {
    5344                 :           0 :                                       if (zerop (_q82))
    5345                 :             :                                         {
    5346                 :           0 :                                           {
    5347                 :           0 :                                             tree captures[6] ATTRIBUTE_UNUSED = { _q20, _q30, _q31, _q21, _q80, _q81 };
    5348                 :           0 :                                             tree res = generic_simplify_15 (loc, type, _p0, _p1, captures, PLUS_EXPR, GE_EXPR, LT_EXPR);
    5349                 :           0 :                                             if (res) return res;
    5350                 :             :                                           }
    5351                 :             :                                         }
    5352                 :             :                                     }
    5353                 :             :                                 }
    5354                 :             :                               break;
    5355                 :             :                             }
    5356                 :             :                           default:;
    5357                 :             :                           }
    5358                 :             :                         break;
    5359                 :             :                       }
    5360                 :             :                     default:;
    5361                 :             :                     }
    5362                 :             :                 }
    5363                 :             :               break;
    5364                 :             :             }
    5365                 :       32494 :           case GT_EXPR:
    5366                 :       32494 :             {
    5367                 :       32494 :               tree _q30 = TREE_OPERAND (_q20, 0);
    5368                 :       32494 :               tree _q31 = TREE_OPERAND (_q20, 1);
    5369                 :       32494 :               if (zerop (_q22))
    5370                 :             :                 {
    5371                 :       32332 :                   switch (TREE_CODE (_p1))
    5372                 :             :                     {
    5373                 :           0 :                     case COND_EXPR:
    5374                 :           0 :                       {
    5375                 :           0 :                         tree _q80 = TREE_OPERAND (_p1, 0);
    5376                 :           0 :                         tree _q81 = TREE_OPERAND (_p1, 1);
    5377                 :           0 :                         tree _q82 = TREE_OPERAND (_p1, 2);
    5378                 :           0 :                         switch (TREE_CODE (_q80))
    5379                 :             :                           {
    5380                 :           0 :                           case LE_EXPR:
    5381                 :           0 :                             {
    5382                 :           0 :                               tree _q90 = TREE_OPERAND (_q80, 0);
    5383                 :           0 :                               tree _q91 = TREE_OPERAND (_q80, 1);
    5384                 :           0 :                               if ((_q90 == _q30 && ! TREE_SIDE_EFFECTS (_q90)) || (operand_equal_p (_q90, _q30, 0) && types_match (_q90, _q30)))
    5385                 :             :                                 {
    5386                 :           0 :                                   if ((_q91 == _q31 && ! TREE_SIDE_EFFECTS (_q91)) || (operand_equal_p (_q91, _q31, 0) && types_match (_q91, _q31)))
    5387                 :             :                                     {
    5388                 :           0 :                                       if (zerop (_q82))
    5389                 :             :                                         {
    5390                 :           0 :                                           {
    5391                 :           0 :                                             tree captures[6] ATTRIBUTE_UNUSED = { _q20, _q30, _q31, _q21, _q80, _q81 };
    5392                 :           0 :                                             tree res = generic_simplify_15 (loc, type, _p0, _p1, captures, PLUS_EXPR, GT_EXPR, LE_EXPR);
    5393                 :           0 :                                             if (res) return res;
    5394                 :             :                                           }
    5395                 :             :                                         }
    5396                 :             :                                     }
    5397                 :             :                                 }
    5398                 :             :                               break;
    5399                 :             :                             }
    5400                 :             :                           default:;
    5401                 :             :                           }
    5402                 :             :                         break;
    5403                 :             :                       }
    5404                 :             :                     default:;
    5405                 :             :                     }
    5406                 :             :                 }
    5407                 :             :               break;
    5408                 :             :             }
    5409                 :           0 :           case UNORDERED_EXPR:
    5410                 :           0 :             {
    5411                 :           0 :               tree _q30 = TREE_OPERAND (_q20, 0);
    5412                 :           0 :               tree _q31 = TREE_OPERAND (_q20, 1);
    5413                 :           0 :               if (zerop (_q22))
    5414                 :             :                 {
    5415                 :           0 :                   switch (TREE_CODE (_p1))
    5416                 :             :                     {
    5417                 :           0 :                     case COND_EXPR:
    5418                 :           0 :                       {
    5419                 :           0 :                         tree _q80 = TREE_OPERAND (_p1, 0);
    5420                 :           0 :                         tree _q81 = TREE_OPERAND (_p1, 1);
    5421                 :           0 :                         tree _q82 = TREE_OPERAND (_p1, 2);
    5422                 :           0 :                         switch (TREE_CODE (_q80))
    5423                 :             :                           {
    5424                 :           0 :                           case ORDERED_EXPR:
    5425                 :           0 :                             {
    5426                 :           0 :                               tree _q90 = TREE_OPERAND (_q80, 0);
    5427                 :           0 :                               tree _q91 = TREE_OPERAND (_q80, 1);
    5428                 :           0 :                               if ((_q90 == _q30 && ! TREE_SIDE_EFFECTS (_q90)) || (operand_equal_p (_q90, _q30, 0) && types_match (_q90, _q30)))
    5429                 :             :                                 {
    5430                 :           0 :                                   if ((_q91 == _q31 && ! TREE_SIDE_EFFECTS (_q91)) || (operand_equal_p (_q91, _q31, 0) && types_match (_q91, _q31)))
    5431                 :             :                                     {
    5432                 :           0 :                                       if (zerop (_q82))
    5433                 :             :                                         {
    5434                 :           0 :                                           {
    5435                 :           0 :                                             tree captures[6] ATTRIBUTE_UNUSED = { _q20, _q30, _q31, _q21, _q80, _q81 };
    5436                 :           0 :                                             tree res = generic_simplify_15 (loc, type, _p0, _p1, captures, PLUS_EXPR, UNORDERED_EXPR, ORDERED_EXPR);
    5437                 :           0 :                                             if (res) return res;
    5438                 :             :                                           }
    5439                 :             :                                         }
    5440                 :             :                                     }
    5441                 :             :                                 }
    5442                 :             :                               break;
    5443                 :             :                             }
    5444                 :             :                           default:;
    5445                 :             :                           }
    5446                 :             :                         break;
    5447                 :             :                       }
    5448                 :             :                     default:;
    5449                 :             :                     }
    5450                 :             :                 }
    5451                 :             :               break;
    5452                 :             :             }
    5453                 :           0 :           case ORDERED_EXPR:
    5454                 :           0 :             {
    5455                 :           0 :               tree _q30 = TREE_OPERAND (_q20, 0);
    5456                 :           0 :               tree _q31 = TREE_OPERAND (_q20, 1);
    5457                 :           0 :               if (zerop (_q22))
    5458                 :             :                 {
    5459                 :           0 :                   switch (TREE_CODE (_p1))
    5460                 :             :                     {
    5461                 :           0 :                     case COND_EXPR:
    5462                 :           0 :                       {
    5463                 :           0 :                         tree _q80 = TREE_OPERAND (_p1, 0);
    5464                 :           0 :                         tree _q81 = TREE_OPERAND (_p1, 1);
    5465                 :           0 :                         tree _q82 = TREE_OPERAND (_p1, 2);
    5466                 :           0 :                         switch (TREE_CODE (_q80))
    5467                 :             :                           {
    5468                 :           0 :                           case UNORDERED_EXPR:
    5469                 :           0 :                             {
    5470                 :           0 :                               tree _q90 = TREE_OPERAND (_q80, 0);
    5471                 :           0 :                               tree _q91 = TREE_OPERAND (_q80, 1);
    5472                 :           0 :                               if ((_q90 == _q30 && ! TREE_SIDE_EFFECTS (_q90)) || (operand_equal_p (_q90, _q30, 0) && types_match (_q90, _q30)))
    5473                 :             :                                 {
    5474                 :           0 :                                   if ((_q91 == _q31 && ! TREE_SIDE_EFFECTS (_q91)) || (operand_equal_p (_q91, _q31, 0) && types_match (_q91, _q31)))
    5475                 :             :                                     {
    5476                 :           0 :                                       if (zerop (_q82))
    5477                 :             :                                         {
    5478                 :           0 :                                           {
    5479                 :           0 :                                             tree captures[6] ATTRIBUTE_UNUSED = { _q20, _q30, _q31, _q21, _q80, _q81 };
    5480                 :           0 :                                             tree res = generic_simplify_15 (loc, type, _p0, _p1, captures, PLUS_EXPR, ORDERED_EXPR, UNORDERED_EXPR);
    5481                 :           0 :                                             if (res) return res;
    5482                 :             :                                           }
    5483                 :             :                                         }
    5484                 :             :                                     }
    5485                 :             :                                 }
    5486                 :             :                               break;
    5487                 :             :                             }
    5488                 :             :                           default:;
    5489                 :             :                           }
    5490                 :             :                         break;
    5491                 :             :                       }
    5492                 :             :                     default:;
    5493                 :             :                     }
    5494                 :             :                 }
    5495                 :             :               break;
    5496                 :             :             }
    5497                 :           0 :           case UNLT_EXPR:
    5498                 :           0 :             {
    5499                 :           0 :               tree _q30 = TREE_OPERAND (_q20, 0);
    5500                 :           0 :               tree _q31 = TREE_OPERAND (_q20, 1);
    5501                 :           0 :               if (zerop (_q22))
    5502                 :             :                 {
    5503                 :           0 :                   switch (TREE_CODE (_p1))
    5504                 :             :                     {
    5505                 :           0 :                     case COND_EXPR:
    5506                 :           0 :                       {
    5507                 :           0 :                         tree _q80 = TREE_OPERAND (_p1, 0);
    5508                 :           0 :                         tree _q81 = TREE_OPERAND (_p1, 1);
    5509                 :           0 :                         tree _q82 = TREE_OPERAND (_p1, 2);
    5510                 :           0 :                         switch (TREE_CODE (_q80))
    5511                 :             :                           {
    5512                 :           0 :                           case GE_EXPR:
    5513                 :           0 :                             {
    5514                 :           0 :                               tree _q90 = TREE_OPERAND (_q80, 0);
    5515                 :           0 :                               tree _q91 = TREE_OPERAND (_q80, 1);
    5516                 :           0 :                               if ((_q90 == _q30 && ! TREE_SIDE_EFFECTS (_q90)) || (operand_equal_p (_q90, _q30, 0) && types_match (_q90, _q30)))
    5517                 :             :                                 {
    5518                 :           0 :                                   if ((_q91 == _q31 && ! TREE_SIDE_EFFECTS (_q91)) || (operand_equal_p (_q91, _q31, 0) && types_match (_q91, _q31)))
    5519                 :             :                                     {
    5520                 :           0 :                                       if (zerop (_q82))
    5521                 :             :                                         {
    5522                 :           0 :                                           {
    5523                 :           0 :                                             tree captures[6] ATTRIBUTE_UNUSED = { _q20, _q30, _q31, _q21, _q80, _q81 };
    5524                 :           0 :                                             tree res = generic_simplify_15 (loc, type, _p0, _p1, captures, PLUS_EXPR, UNLT_EXPR, GE_EXPR);
    5525                 :           0 :                                             if (res) return res;
    5526                 :             :                                           }
    5527                 :             :                                         }
    5528                 :             :                                     }
    5529                 :             :                                 }
    5530                 :             :                               break;
    5531                 :             :                             }
    5532                 :             :                           default:;
    5533                 :             :                           }
    5534                 :             :                         break;
    5535                 :             :                       }
    5536                 :             :                     default:;
    5537                 :             :                     }
    5538                 :             :                 }
    5539                 :             :               break;
    5540                 :             :             }
    5541                 :           0 :           case UNLE_EXPR:
    5542                 :           0 :             {
    5543                 :           0 :               tree _q30 = TREE_OPERAND (_q20, 0);
    5544                 :           0 :               tree _q31 = TREE_OPERAND (_q20, 1);
    5545                 :           0 :               if (zerop (_q22))
    5546                 :             :                 {
    5547                 :           0 :                   switch (TREE_CODE (_p1))
    5548                 :             :                     {
    5549                 :           0 :                     case COND_EXPR:
    5550                 :           0 :                       {
    5551                 :           0 :                         tree _q80 = TREE_OPERAND (_p1, 0);
    5552                 :           0 :                         tree _q81 = TREE_OPERAND (_p1, 1);
    5553                 :           0 :                         tree _q82 = TREE_OPERAND (_p1, 2);
    5554                 :           0 :                         switch (TREE_CODE (_q80))
    5555                 :             :                           {
    5556                 :           0 :                           case GT_EXPR:
    5557                 :           0 :                             {
    5558                 :           0 :                               tree _q90 = TREE_OPERAND (_q80, 0);
    5559                 :           0 :                               tree _q91 = TREE_OPERAND (_q80, 1);
    5560                 :           0 :                               if ((_q90 == _q30 && ! TREE_SIDE_EFFECTS (_q90)) || (operand_equal_p (_q90, _q30, 0) && types_match (_q90, _q30)))
    5561                 :             :                                 {
    5562                 :           0 :                                   if ((_q91 == _q31 && ! TREE_SIDE_EFFECTS (_q91)) || (operand_equal_p (_q91, _q31, 0) && types_match (_q91, _q31)))
    5563                 :             :                                     {
    5564                 :           0 :                                       if (zerop (_q82))
    5565                 :             :                                         {
    5566                 :           0 :                                           {
    5567                 :           0 :                                             tree captures[6] ATTRIBUTE_UNUSED = { _q20, _q30, _q31, _q21, _q80, _q81 };
    5568                 :           0 :                                             tree res = generic_simplify_15 (loc, type, _p0, _p1, captures, PLUS_EXPR, UNLE_EXPR, GT_EXPR);
    5569                 :           0 :                                             if (res) return res;
    5570                 :             :                                           }
    5571                 :             :                                         }
    5572                 :             :                                     }
    5573                 :             :                                 }
    5574                 :             :                               break;
    5575                 :             :                             }
    5576                 :             :                           default:;
    5577                 :             :                           }
    5578                 :             :                         break;
    5579                 :             :                       }
    5580                 :             :                     default:;
    5581                 :             :                     }
    5582                 :             :                 }
    5583                 :             :               break;
    5584                 :             :             }
    5585                 :           0 :           case UNGT_EXPR:
    5586                 :           0 :             {
    5587                 :           0 :               tree _q30 = TREE_OPERAND (_q20, 0);
    5588                 :           0 :               tree _q31 = TREE_OPERAND (_q20, 1);
    5589                 :           0 :               if (zerop (_q22))
    5590                 :             :                 {
    5591                 :           0 :                   switch (TREE_CODE (_p1))
    5592                 :             :                     {
    5593                 :           0 :                     case COND_EXPR:
    5594                 :           0 :                       {
    5595                 :           0 :                         tree _q80 = TREE_OPERAND (_p1, 0);
    5596                 :           0 :                         tree _q81 = TREE_OPERAND (_p1, 1);
    5597                 :           0 :                         tree _q82 = TREE_OPERAND (_p1, 2);
    5598                 :           0 :                         switch (TREE_CODE (_q80))
    5599                 :             :                           {
    5600                 :           0 :                           case LE_EXPR:
    5601                 :           0 :                             {
    5602                 :           0 :                               tree _q90 = TREE_OPERAND (_q80, 0);
    5603                 :           0 :                               tree _q91 = TREE_OPERAND (_q80, 1);
    5604                 :           0 :                               if ((_q90 == _q30 && ! TREE_SIDE_EFFECTS (_q90)) || (operand_equal_p (_q90, _q30, 0) && types_match (_q90, _q30)))
    5605                 :             :                                 {
    5606                 :           0 :                                   if ((_q91 == _q31 && ! TREE_SIDE_EFFECTS (_q91)) || (operand_equal_p (_q91, _q31, 0) && types_match (_q91, _q31)))
    5607                 :             :                                     {
    5608                 :           0 :                                       if (zerop (_q82))
    5609                 :             :                                         {
    5610                 :           0 :                                           {
    5611                 :           0 :                                             tree captures[6] ATTRIBUTE_UNUSED = { _q20, _q30, _q31, _q21, _q80, _q81 };
    5612                 :           0 :                                             tree res = generic_simplify_15 (loc, type, _p0, _p1, captures, PLUS_EXPR, UNGT_EXPR, LE_EXPR);
    5613                 :           0 :                                             if (res) return res;
    5614                 :             :                                           }
    5615                 :             :                                         }
    5616                 :             :                                     }
    5617                 :             :                                 }
    5618                 :             :                               break;
    5619                 :             :                             }
    5620                 :             :                           default:;
    5621                 :             :                           }
    5622                 :             :                         break;
    5623                 :             :                       }
    5624                 :             :                     default:;
    5625                 :             :                     }
    5626                 :             :                 }
    5627                 :             :               break;
    5628                 :             :             }
    5629                 :           0 :           case UNGE_EXPR:
    5630                 :           0 :             {
    5631                 :           0 :               tree _q30 = TREE_OPERAND (_q20, 0);
    5632                 :           0 :               tree _q31 = TREE_OPERAND (_q20, 1);
    5633                 :           0 :               if (zerop (_q22))
    5634                 :             :                 {
    5635                 :           0 :                   switch (TREE_CODE (_p1))
    5636                 :             :                     {
    5637                 :           0 :                     case COND_EXPR:
    5638                 :           0 :                       {
    5639                 :           0 :                         tree _q80 = TREE_OPERAND (_p1, 0);
    5640                 :           0 :                         tree _q81 = TREE_OPERAND (_p1, 1);
    5641                 :           0 :                         tree _q82 = TREE_OPERAND (_p1, 2);
    5642                 :           0 :                         switch (TREE_CODE (_q80))
    5643                 :             :                           {
    5644                 :           0 :                           case LT_EXPR:
    5645                 :           0 :                             {
    5646                 :           0 :                               tree _q90 = TREE_OPERAND (_q80, 0);
    5647                 :           0 :                               tree _q91 = TREE_OPERAND (_q80, 1);
    5648                 :           0 :                               if ((_q90 == _q30 && ! TREE_SIDE_EFFECTS (_q90)) || (operand_equal_p (_q90, _q30, 0) && types_match (_q90, _q30)))
    5649                 :             :                                 {
    5650                 :           0 :                                   if ((_q91 == _q31 && ! TREE_SIDE_EFFECTS (_q91)) || (operand_equal_p (_q91, _q31, 0) && types_match (_q91, _q31)))
    5651                 :             :                                     {
    5652                 :           0 :                                       if (zerop (_q82))
    5653                 :             :                                         {
    5654                 :           0 :                                           {
    5655                 :           0 :                                             tree captures[6] ATTRIBUTE_UNUSED = { _q20, _q30, _q31, _q21, _q80, _q81 };
    5656                 :           0 :                                             tree res = generic_simplify_15 (loc, type, _p0, _p1, captures, PLUS_EXPR, UNGE_EXPR, LT_EXPR);
    5657                 :           0 :                                             if (res) return res;
    5658                 :             :                                           }
    5659                 :             :                                         }
    5660                 :             :                                     }
    5661                 :             :                                 }
    5662                 :             :                               break;
    5663                 :             :                             }
    5664                 :             :                           default:;
    5665                 :             :                           }
    5666                 :             :                         break;
    5667                 :             :                       }
    5668                 :             :                     default:;
    5669                 :             :                     }
    5670                 :             :                 }
    5671                 :             :               break;
    5672                 :             :             }
    5673                 :           0 :           case UNEQ_EXPR:
    5674                 :           0 :             {
    5675                 :           0 :               tree _q30 = TREE_OPERAND (_q20, 0);
    5676                 :           0 :               tree _q31 = TREE_OPERAND (_q20, 1);
    5677                 :           0 :               if (zerop (_q22))
    5678                 :             :                 {
    5679                 :           0 :                   switch (TREE_CODE (_p1))
    5680                 :             :                     {
    5681                 :           0 :                     case COND_EXPR:
    5682                 :           0 :                       {
    5683                 :           0 :                         tree _q80 = TREE_OPERAND (_p1, 0);
    5684                 :           0 :                         tree _q81 = TREE_OPERAND (_p1, 1);
    5685                 :           0 :                         tree _q82 = TREE_OPERAND (_p1, 2);
    5686                 :           0 :                         switch (TREE_CODE (_q80))
    5687                 :             :                           {
    5688                 :           0 :                           case LTGT_EXPR:
    5689                 :           0 :                             {
    5690                 :           0 :                               tree _q90 = TREE_OPERAND (_q80, 0);
    5691                 :           0 :                               tree _q91 = TREE_OPERAND (_q80, 1);
    5692                 :           0 :                               if ((_q90 == _q30 && ! TREE_SIDE_EFFECTS (_q90)) || (operand_equal_p (_q90, _q30, 0) && types_match (_q90, _q30)))
    5693                 :             :                                 {
    5694                 :           0 :                                   if ((_q91 == _q31 && ! TREE_SIDE_EFFECTS (_q91)) || (operand_equal_p (_q91, _q31, 0) && types_match (_q91, _q31)))
    5695                 :             :                                     {
    5696                 :           0 :                                       if (zerop (_q82))
    5697                 :             :                                         {
    5698                 :           0 :                                           {
    5699                 :           0 :                                             tree captures[6] ATTRIBUTE_UNUSED = { _q20, _q30, _q31, _q21, _q80, _q81 };
    5700                 :           0 :                                             tree res = generic_simplify_15 (loc, type, _p0, _p1, captures, PLUS_EXPR, UNEQ_EXPR, LTGT_EXPR);
    5701                 :           0 :                                             if (res) return res;
    5702                 :             :                                           }
    5703                 :             :                                         }
    5704                 :             :                                     }
    5705                 :             :                                 }
    5706                 :             :                               break;
    5707                 :             :                             }
    5708                 :             :                           default:;
    5709                 :             :                           }
    5710                 :             :                         break;
    5711                 :             :                       }
    5712                 :             :                     default:;
    5713                 :             :                     }
    5714                 :             :                 }
    5715                 :             :               break;
    5716                 :             :             }
    5717                 :           0 :           case LTGT_EXPR:
    5718                 :           0 :             {
    5719                 :           0 :               tree _q30 = TREE_OPERAND (_q20, 0);
    5720                 :           0 :               tree _q31 = TREE_OPERAND (_q20, 1);
    5721                 :           0 :               if (zerop (_q22))
    5722                 :             :                 {
    5723                 :           0 :                   switch (TREE_CODE (_p1))
    5724                 :             :                     {
    5725                 :           0 :                     case COND_EXPR:
    5726                 :           0 :                       {
    5727                 :           0 :                         tree _q80 = TREE_OPERAND (_p1, 0);
    5728                 :           0 :                         tree _q81 = TREE_OPERAND (_p1, 1);
    5729                 :           0 :                         tree _q82 = TREE_OPERAND (_p1, 2);
    5730                 :           0 :                         switch (TREE_CODE (_q80))
    5731                 :             :                           {
    5732                 :           0 :                           case UNEQ_EXPR:
    5733                 :           0 :                             {
    5734                 :           0 :                               tree _q90 = TREE_OPERAND (_q80, 0);
    5735                 :           0 :                               tree _q91 = TREE_OPERAND (_q80, 1);
    5736                 :           0 :                               if ((_q90 == _q30 && ! TREE_SIDE_EFFECTS (_q90)) || (operand_equal_p (_q90, _q30, 0) && types_match (_q90, _q30)))
    5737                 :             :                                 {
    5738                 :           0 :                                   if ((_q91 == _q31 && ! TREE_SIDE_EFFECTS (_q91)) || (operand_equal_p (_q91, _q31, 0) && types_match (_q91, _q31)))
    5739                 :             :                                     {
    5740                 :           0 :                                       if (zerop (_q82))
    5741                 :             :                                         {
    5742                 :           0 :                                           {
    5743                 :           0 :                                             tree captures[6] ATTRIBUTE_UNUSED = { _q20, _q30, _q31, _q21, _q80, _q81 };
    5744                 :           0 :                                             tree res = generic_simplify_15 (loc, type, _p0, _p1, captures, PLUS_EXPR, LTGT_EXPR, UNEQ_EXPR);
    5745                 :           0 :                                             if (res) return res;
    5746                 :             :                                           }
    5747                 :             :                                         }
    5748                 :             :                                     }
    5749                 :             :                                 }
    5750                 :             :                               break;
    5751                 :             :                             }
    5752                 :             :                           default:;
    5753                 :             :                           }
    5754                 :             :                         break;
    5755                 :             :                       }
    5756                 :             :                     default:;
    5757                 :             :                     }
    5758                 :             :                 }
    5759                 :             :               break;
    5760                 :             :             }
    5761                 :             :           default:;
    5762                 :             :           }
    5763                 :             :         break;
    5764                 :             :       }
    5765                 :         168 :     case VEC_COND_EXPR:
    5766                 :         168 :       {
    5767                 :         168 :         tree _q20 = TREE_OPERAND (_p0, 0);
    5768                 :         168 :         tree _q21 = TREE_OPERAND (_p0, 1);
    5769                 :         168 :         tree _q22 = TREE_OPERAND (_p0, 2);
    5770                 :         168 :         if (integer_zerop (_q22))
    5771                 :             :           {
    5772                 :         106 :             switch (TREE_CODE (_p1))
    5773                 :             :               {
    5774                 :          24 :               case VEC_COND_EXPR:
    5775                 :          24 :                 {
    5776                 :          24 :                   tree _q60 = TREE_OPERAND (_p1, 0);
    5777                 :          24 :                   tree _q61 = TREE_OPERAND (_p1, 1);
    5778                 :          24 :                   tree _q62 = TREE_OPERAND (_p1, 2);
    5779                 :          24 :                   if ((_q60 == _q20 && ! TREE_SIDE_EFFECTS (_q60)) || (operand_equal_p (_q60, _q20, 0) && types_match (_q60, _q20)))
    5780                 :             :                     {
    5781                 :           0 :                       if (integer_zerop (_q61))
    5782                 :             :                         {
    5783                 :           0 :                           {
    5784                 :           0 :                             tree captures[5] ATTRIBUTE_UNUSED = { _p0, _q20, _q21, _p1, _q62 };
    5785                 :           0 :                             const enum tree_code op = PLUS_EXPR;
    5786                 :           0 :                             if (TREE_SIDE_EFFECTS (_p0)) goto next_after_fail1291;
    5787                 :           0 :                             if (TREE_SIDE_EFFECTS (_p1)) goto next_after_fail1291;
    5788                 :           0 :                             if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail1291;
    5789                 :           0 :                             {
    5790                 :           0 :                               tree res_op0;
    5791                 :           0 :                               res_op0 = captures[1];
    5792                 :           0 :                               tree res_op1;
    5793                 :           0 :                               res_op1 = captures[2];
    5794                 :           0 :                               tree res_op2;
    5795                 :           0 :                               res_op2 = captures[4];
    5796                 :           0 :                               tree _r;
    5797                 :           0 :                               _r = fold_build3_loc (loc, VEC_COND_EXPR, type, res_op0, res_op1, res_op2);
    5798                 :           0 :                               if (UNLIKELY (debug_dump)) generic_dump_logs ("match.pd", 903, __FILE__, __LINE__, true);
    5799                 :           0 :                               return _r;
    5800                 :             :                             }
    5801                 :           0 : next_after_fail1291:;
    5802                 :             :                           }
    5803                 :             :                         }
    5804                 :             :                     }
    5805                 :             :                   break;
    5806                 :             :                 }
    5807                 :             :               default:;
    5808                 :             :               }
    5809                 :             :           }
    5810                 :         168 :         if (integer_zerop (_q21))
    5811                 :             :           {
    5812                 :           0 :             switch (TREE_CODE (_p1))
    5813                 :             :               {
    5814                 :           0 :               case VEC_COND_EXPR:
    5815                 :           0 :                 {
    5816                 :           0 :                   tree _q60 = TREE_OPERAND (_p1, 0);
    5817                 :           0 :                   tree _q61 = TREE_OPERAND (_p1, 1);
    5818                 :           0 :                   tree _q62 = TREE_OPERAND (_p1, 2);
    5819                 :           0 :                   if ((_q60 == _q20 && ! TREE_SIDE_EFFECTS (_q60)) || (operand_equal_p (_q60, _q20, 0) && types_match (_q60, _q20)))
    5820                 :             :                     {
    5821                 :           0 :                       if (integer_zerop (_q62))
    5822                 :             :                         {
    5823                 :           0 :                           {
    5824                 :           0 :                             tree captures[5] ATTRIBUTE_UNUSED = { _p1, _q20, _q61, _p0, _q22 };
    5825                 :           0 :                             const enum tree_code op = PLUS_EXPR;
    5826                 :           0 :                             if (TREE_SIDE_EFFECTS (_p0)) goto next_after_fail1292;
    5827                 :           0 :                             if (TREE_SIDE_EFFECTS (_p1)) goto next_after_fail1292;
    5828                 :           0 :                             if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail1292;
    5829                 :           0 :                             {
    5830                 :           0 :                               tree res_op0;
    5831                 :           0 :                               res_op0 = captures[1];
    5832                 :           0 :                               tree res_op1;
    5833                 :           0 :                               res_op1 = captures[2];
    5834                 :           0 :                               tree res_op2;
    5835                 :           0 :                               res_op2 = captures[4];
    5836                 :           0 :                               tree _r;
    5837                 :           0 :                               _r = fold_build3_loc (loc, VEC_COND_EXPR, type, res_op0, res_op1, res_op2);
    5838                 :           0 :                               if (UNLIKELY (debug_dump)) generic_dump_logs ("match.pd", 903, __FILE__, __LINE__, true);
    5839                 :           0 :                               return _r;
    5840                 :             :                             }
    5841                 :           0 : next_after_fail1292:;
    5842                 :             :                           }
    5843                 :             :                         }
    5844                 :             :                     }
    5845                 :             :                   break;
    5846                 :             :                 }
    5847                 :             :               default:;
    5848                 :             :               }
    5849                 :             :           }
    5850                 :         168 :         switch (TREE_CODE (_q20))
    5851                 :             :           {
    5852                 :           8 :           case LT_EXPR:
    5853                 :           8 :             {
    5854                 :           8 :               tree _q30 = TREE_OPERAND (_q20, 0);
    5855                 :           8 :               tree _q31 = TREE_OPERAND (_q20, 1);
    5856                 :           8 :               if (integer_zerop (_q22))
    5857                 :             :                 {
    5858                 :           8 :                   switch (TREE_CODE (_p1))
    5859                 :             :                     {
    5860                 :           0 :                     case VEC_COND_EXPR:
    5861                 :           0 :                       {
    5862                 :           0 :                         tree _q80 = TREE_OPERAND (_p1, 0);
    5863                 :           0 :                         tree _q81 = TREE_OPERAND (_p1, 1);
    5864                 :           0 :                         tree _q82 = TREE_OPERAND (_p1, 2);
    5865                 :           0 :                         switch (TREE_CODE (_q80))
    5866                 :             :                           {
    5867                 :           0 :                           case GE_EXPR:
    5868                 :           0 :                             {
    5869                 :           0 :                               tree _q90 = TREE_OPERAND (_q80, 0);
    5870                 :           0 :                               tree _q91 = TREE_OPERAND (_q80, 1);
    5871                 :           0 :                               if ((_q90 == _q30 && ! TREE_SIDE_EFFECTS (_q90)) || (operand_equal_p (_q90, _q30, 0) && types_match (_q90, _q30)))
    5872                 :             :                                 {
    5873                 :           0 :                                   if ((_q91 == _q31 && ! TREE_SIDE_EFFECTS (_q91)) || (operand_equal_p (_q91, _q31, 0) && types_match (_q91, _q31)))
    5874                 :             :                                     {
    5875                 :           0 :                                       if (integer_zerop (_q82))
    5876                 :             :                                         {
    5877                 :           0 :                                           {
    5878                 :           0 :                                             tree captures[8] ATTRIBUTE_UNUSED = { _p0, _q20, _q30, _q31, _q21, _p1, _q80, _q81 };
    5879                 :           0 :                                             tree res = generic_simplify_16 (loc, type, _p0, _p1, captures, PLUS_EXPR, LT_EXPR, GE_EXPR);
    5880                 :           0 :                                             if (res) return res;
    5881                 :             :                                           }
    5882                 :             :                                         }
    5883                 :             :                                     }
    5884                 :             :                                 }
    5885                 :             :                               break;
    5886                 :             :                             }
    5887                 :             :                           default:;
    5888                 :             :                           }
    5889                 :             :                         break;
    5890                 :             :                       }
    5891                 :             :                     default:;
    5892                 :             :                     }
    5893                 :             :                 }
    5894                 :             :               break;
    5895                 :             :             }
    5896                 :           8 :           case LE_EXPR:
    5897                 :           8 :             {
    5898                 :           8 :               tree _q30 = TREE_OPERAND (_q20, 0);
    5899                 :           8 :               tree _q31 = TREE_OPERAND (_q20, 1);
    5900                 :           8 :               if (integer_zerop (_q22))
    5901                 :             :                 {
    5902                 :           8 :                   switch (TREE_CODE (_p1))
    5903                 :             :                     {
    5904                 :           0 :                     case VEC_COND_EXPR:
    5905                 :           0 :                       {
    5906                 :           0 :                         tree _q80 = TREE_OPERAND (_p1, 0);
    5907                 :           0 :                         tree _q81 = TREE_OPERAND (_p1, 1);
    5908                 :           0 :                         tree _q82 = TREE_OPERAND (_p1, 2);
    5909                 :           0 :                         switch (TREE_CODE (_q80))
    5910                 :             :                           {
    5911                 :           0 :                           case GT_EXPR:
    5912                 :           0 :                             {
    5913                 :           0 :                               tree _q90 = TREE_OPERAND (_q80, 0);
    5914                 :           0 :                               tree _q91 = TREE_OPERAND (_q80, 1);
    5915                 :           0 :                               if ((_q90 == _q30 && ! TREE_SIDE_EFFECTS (_q90)) || (operand_equal_p (_q90, _q30, 0) && types_match (_q90, _q30)))
    5916                 :             :                                 {
    5917                 :           0 :                                   if ((_q91 == _q31 && ! TREE_SIDE_EFFECTS (_q91)) || (operand_equal_p (_q91, _q31, 0) && types_match (_q91, _q31)))
    5918                 :             :                                     {
    5919                 :           0 :                                       if (integer_zerop (_q82))
    5920                 :             :                                         {
    5921                 :           0 :                                           {
    5922                 :           0 :                                             tree captures[8] ATTRIBUTE_UNUSED = { _p0, _q20, _q30, _q31, _q21, _p1, _q80, _q81 };
    5923                 :           0 :                                             tree res = generic_simplify_16 (loc, type, _p0, _p1, captures, PLUS_EXPR, LE_EXPR, GT_EXPR);
    5924                 :           0 :                                             if (res) return res;
    5925                 :             :                                           }
    5926                 :             :                                         }
    5927                 :             :                                     }
    5928                 :             :                                 }
    5929                 :             :                               break;
    5930                 :             :                             }
    5931                 :             :                           default:;
    5932                 :             :                           }
    5933                 :             :                         break;
    5934                 :             :                       }
    5935                 :             :                     default:;
    5936                 :             :                     }
    5937                 :             :                 }
    5938                 :             :               break;
    5939                 :             :             }
    5940                 :          34 :           case EQ_EXPR:
    5941                 :          34 :             {
    5942                 :          34 :               tree _q30 = TREE_OPERAND (_q20, 0);
    5943                 :          34 :               tree _q31 = TREE_OPERAND (_q20, 1);
    5944                 :          34 :               if (integer_zerop (_q22))
    5945                 :             :                 {
    5946                 :          34 :                   switch (TREE_CODE (_p1))
    5947                 :             :                     {
    5948                 :          24 :                     case VEC_COND_EXPR:
    5949                 :          24 :                       {
    5950                 :          24 :                         tree _q80 = TREE_OPERAND (_p1, 0);
    5951                 :          24 :                         tree _q81 = TREE_OPERAND (_p1, 1);
    5952                 :          24 :                         tree _q82 = TREE_OPERAND (_p1, 2);
    5953                 :          24 :                         switch (TREE_CODE (_q80))
    5954                 :             :                           {
    5955                 :          24 :                           case NE_EXPR:
    5956                 :          24 :                             {
    5957                 :          24 :                               tree _q90 = TREE_OPERAND (_q80, 0);
    5958                 :          24 :                               tree _q91 = TREE_OPERAND (_q80, 1);
    5959                 :          24 :                               if ((_q90 == _q30 && ! TREE_SIDE_EFFECTS (_q90)) || (operand_equal_p (_q90, _q30, 0) && types_match (_q90, _q30)))
    5960                 :             :                                 {
    5961                 :          24 :                                   if ((_q91 == _q31 && ! TREE_SIDE_EFFECTS (_q91)) || (operand_equal_p (_q91, _q31, 0) && types_match (_q91, _q31)))
    5962                 :             :                                     {
    5963                 :          24 :                                       if (integer_zerop (_q82))
    5964                 :             :                                         {
    5965                 :          24 :                                           {
    5966                 :          24 :                                             tree captures[8] ATTRIBUTE_UNUSED = { _p0, _q20, _q30, _q31, _q21, _p1, _q80, _q81 };
    5967                 :          24 :                                             tree res = generic_simplify_16 (loc, type, _p0, _p1, captures, PLUS_EXPR, EQ_EXPR, NE_EXPR);
    5968                 :          24 :                                             if (res) return res;
    5969                 :             :                                           }
    5970                 :             :                                         }
    5971                 :             :                                     }
    5972                 :             :                                 }
    5973                 :             :                               break;
    5974                 :             :                             }
    5975                 :             :                           default:;
    5976                 :             :                           }
    5977                 :             :                         break;
    5978                 :             :                       }
    5979                 :             :                     default:;
    5980                 :             :                     }
    5981                 :             :                 }
    5982                 :             :               break;
    5983                 :             :             }
    5984                 :          22 :           case NE_EXPR:
    5985                 :          22 :             {
    5986                 :          22 :               tree _q30 = TREE_OPERAND (_q20, 0);
    5987                 :          22 :               tree _q31 = TREE_OPERAND (_q20, 1);
    5988                 :          22 :               if (integer_zerop (_q22))
    5989                 :             :                 {
    5990                 :           8 :                   switch (TREE_CODE (_p1))
    5991                 :             :                     {
    5992                 :           0 :                     case VEC_COND_EXPR:
    5993                 :           0 :                       {
    5994                 :           0 :                         tree _q80 = TREE_OPERAND (_p1, 0);
    5995                 :           0 :                         tree _q81 = TREE_OPERAND (_p1, 1);
    5996                 :           0 :                         tree _q82 = TREE_OPERAND (_p1, 2);
    5997                 :           0 :                         switch (TREE_CODE (_q80))
    5998                 :             :                           {
    5999                 :           0 :                           case EQ_EXPR:
    6000                 :           0 :                             {
    6001                 :           0 :                               tree _q90 = TREE_OPERAND (_q80, 0);
    6002                 :           0 :                               tree _q91 = TREE_OPERAND (_q80, 1);
    6003                 :           0 :                               if ((_q90 == _q30 && ! TREE_SIDE_EFFECTS (_q90)) || (operand_equal_p (_q90, _q30, 0) && types_match (_q90, _q30)))
    6004                 :             :                                 {
    6005                 :           0 :                                   if ((_q91 == _q31 && ! TREE_SIDE_EFFECTS (_q91)) || (operand_equal_p (_q91, _q31, 0) && types_match (_q91, _q31)))
    6006                 :             :                                     {
    6007                 :           0 :                                       if (integer_zerop (_q82))
    6008                 :             :                                         {
    6009                 :           0 :                                           {
    6010                 :           0 :                                             tree captures[8] ATTRIBUTE_UNUSED = { _p0, _q20, _q30, _q31, _q21, _p1, _q80, _q81 };
    6011                 :           0 :                                             tree res = generic_simplify_16 (loc, type, _p0, _p1, captures, PLUS_EXPR, NE_EXPR, EQ_EXPR);
    6012                 :           0 :                                             if (res) return res;
    6013                 :             :                                           }
    6014                 :             :                                         }
    6015                 :             :                                     }
    6016                 :             :                                 }
    6017                 :             :                               break;
    6018                 :             :                             }
    6019                 :             :                           default:;
    6020                 :             :                           }
    6021                 :             :                         break;
    6022                 :             :                       }
    6023                 :             :                     default:;
    6024                 :             :                     }
    6025                 :             :                 }
    6026                 :             :               break;
    6027                 :             :             }
    6028                 :          15 :           case GE_EXPR:
    6029                 :          15 :             {
    6030                 :          15 :               tree _q30 = TREE_OPERAND (_q20, 0);
    6031                 :          15 :               tree _q31 = TREE_OPERAND (_q20, 1);
    6032                 :          15 :               if (integer_zerop (_q22))
    6033                 :             :                 {
    6034                 :          15 :                   switch (TREE_CODE (_p1))
    6035                 :             :                     {
    6036                 :           0 :                     case VEC_COND_EXPR:
    6037                 :           0 :                       {
    6038                 :           0 :                         tree _q80 = TREE_OPERAND (_p1, 0);
    6039                 :           0 :                         tree _q81 = TREE_OPERAND (_p1, 1);
    6040                 :           0 :                         tree _q82 = TREE_OPERAND (_p1, 2);
    6041                 :           0 :                         switch (TREE_CODE (_q80))
    6042                 :             :                           {
    6043                 :           0 :                           case LT_EXPR:
    6044                 :           0 :                             {
    6045                 :           0 :                               tree _q90 = TREE_OPERAND (_q80, 0);
    6046                 :           0 :                               tree _q91 = TREE_OPERAND (_q80, 1);
    6047                 :           0 :                               if ((_q90 == _q30 && ! TREE_SIDE_EFFECTS (_q90)) || (operand_equal_p (_q90, _q30, 0) && types_match (_q90, _q30)))
    6048                 :             :                                 {
    6049                 :           0 :                                   if ((_q91 == _q31 && ! TREE_SIDE_EFFECTS (_q91)) || (operand_equal_p (_q91, _q31, 0) && types_match (_q91, _q31)))
    6050                 :             :                                     {
    6051                 :           0 :                                       if (integer_zerop (_q82))
    6052                 :             :                                         {
    6053                 :           0 :                                           {
    6054                 :           0 :                                             tree captures[8] ATTRIBUTE_UNUSED = { _p0, _q20, _q30, _q31, _q21, _p1, _q80, _q81 };
    6055                 :           0 :                                             tree res = generic_simplify_16 (loc, type, _p0, _p1, captures, PLUS_EXPR, GE_EXPR, LT_EXPR);
    6056                 :           0 :                                             if (res) return res;
    6057                 :             :                                           }
    6058                 :             :                                         }
    6059                 :             :                                     }
    6060                 :             :                                 }
    6061                 :             :                               break;
    6062                 :             :                             }
    6063                 :             :                           default:;
    6064                 :             :                           }
    6065                 :             :                         break;
    6066                 :             :                       }
    6067                 :             :                     default:;
    6068                 :             :                     }
    6069                 :             :                 }
    6070                 :             :               break;
    6071                 :             :             }
    6072                 :          81 :           case GT_EXPR:
    6073                 :          81 :             {
    6074                 :          81 :               tree _q30 = TREE_OPERAND (_q20, 0);
    6075                 :          81 :               tree _q31 = TREE_OPERAND (_q20, 1);
    6076                 :          81 :               if (integer_zerop (_q22))
    6077                 :             :                 {
    6078                 :          33 :                   switch (TREE_CODE (_p1))
    6079                 :             :                     {
    6080                 :           0 :                     case VEC_COND_EXPR:
    6081                 :           0 :                       {
    6082                 :           0 :                         tree _q80 = TREE_OPERAND (_p1, 0);
    6083                 :           0 :                         tree _q81 = TREE_OPERAND (_p1, 1);
    6084                 :           0 :                         tree _q82 = TREE_OPERAND (_p1, 2);
    6085                 :           0 :                         switch (TREE_CODE (_q80))
    6086                 :             :                           {
    6087                 :           0 :                           case LE_EXPR:
    6088                 :           0 :                             {
    6089                 :           0 :                               tree _q90 = TREE_OPERAND (_q80, 0);
    6090                 :           0 :                               tree _q91 = TREE_OPERAND (_q80, 1);
    6091                 :           0 :                               if ((_q90 == _q30 && ! TREE_SIDE_EFFECTS (_q90)) || (operand_equal_p (_q90, _q30, 0) && types_match (_q90, _q30)))
    6092                 :             :                                 {
    6093                 :           0 :                                   if ((_q91 == _q31 && ! TREE_SIDE_EFFECTS (_q91)) || (operand_equal_p (_q91, _q31, 0) && types_match (_q91, _q31)))
    6094                 :             :                                     {
    6095                 :           0 :                                       if (integer_zerop (_q82))
    6096                 :             :                                         {
    6097                 :           0 :                                           {
    6098                 :           0 :                                             tree captures[8] ATTRIBUTE_UNUSED = { _p0, _q20, _q30, _q31, _q21, _p1, _q80, _q81 };
    6099                 :           0 :                                             tree res = generic_simplify_16 (loc, type, _p0, _p1, captures, PLUS_EXPR, GT_EXPR, LE_EXPR);
    6100                 :           0 :                                             if (res) return res;
    6101                 :             :                                           }
    6102                 :             :                                         }
    6103                 :             :                                     }
    6104                 :             :                                 }
    6105                 :             :                               break;
    6106                 :             :                             }
    6107                 :             :                           default:;
    6108                 :             :                           }
    6109                 :             :                         break;
    6110                 :             :                       }
    6111                 :             :                     default:;
    6112                 :             :                     }
    6113                 :             :                 }
    6114                 :             :               break;
    6115                 :             :             }
    6116                 :           0 :           case UNORDERED_EXPR:
    6117                 :           0 :             {
    6118                 :           0 :               tree _q30 = TREE_OPERAND (_q20, 0);
    6119                 :           0 :               tree _q31 = TREE_OPERAND (_q20, 1);
    6120                 :           0 :               if (integer_zerop (_q22))
    6121                 :             :                 {
    6122                 :           0 :                   switch (TREE_CODE (_p1))
    6123                 :             :                     {
    6124                 :           0 :                     case VEC_COND_EXPR:
    6125                 :           0 :                       {
    6126                 :           0 :                         tree _q80 = TREE_OPERAND (_p1, 0);
    6127                 :           0 :                         tree _q81 = TREE_OPERAND (_p1, 1);
    6128                 :           0 :                         tree _q82 = TREE_OPERAND (_p1, 2);
    6129                 :           0 :                         switch (TREE_CODE (_q80))
    6130                 :             :                           {
    6131                 :           0 :                           case ORDERED_EXPR:
    6132                 :           0 :                             {
    6133                 :           0 :                               tree _q90 = TREE_OPERAND (_q80, 0);
    6134                 :           0 :                               tree _q91 = TREE_OPERAND (_q80, 1);
    6135                 :           0 :                               if ((_q90 == _q30 && ! TREE_SIDE_EFFECTS (_q90)) || (operand_equal_p (_q90, _q30, 0) && types_match (_q90, _q30)))
    6136                 :             :                                 {
    6137                 :           0 :                                   if ((_q91 == _q31 && ! TREE_SIDE_EFFECTS (_q91)) || (operand_equal_p (_q91, _q31, 0) && types_match (_q91, _q31)))
    6138                 :             :                                     {
    6139                 :           0 :                                       if (integer_zerop (_q82))
    6140                 :             :                                         {
    6141                 :           0 :                                           {
    6142                 :           0 :                                             tree captures[8] ATTRIBUTE_UNUSED = { _p0, _q20, _q30, _q31, _q21, _p1, _q80, _q81 };
    6143                 :           0 :                                             tree res = generic_simplify_16 (loc, type, _p0, _p1, captures, PLUS_EXPR, UNORDERED_EXPR, ORDERED_EXPR);
    6144                 :           0 :                                             if (res) return res;
    6145                 :             :                                           }
    6146                 :             :                                         }
    6147                 :             :                                     }
    6148                 :             :                                 }
    6149                 :             :                               break;
    6150                 :             :                             }
    6151                 :             :                           default:;
    6152                 :             :                           }
    6153                 :             :                         break;
    6154                 :             :                       }
    6155                 :             :                     default:;
    6156                 :             :                     }
    6157                 :             :                 }
    6158                 :             :               break;
    6159                 :             :             }
    6160                 :           0 :           case ORDERED_EXPR:
    6161                 :           0 :             {
    6162                 :           0 :               tree _q30 = TREE_OPERAND (_q20, 0);
    6163                 :           0 :               tree _q31 = TREE_OPERAND (_q20, 1);
    6164                 :           0 :               if (integer_zerop (_q22))
    6165                 :             :                 {
    6166                 :           0 :                   switch (TREE_CODE (_p1))
    6167                 :             :                     {
    6168                 :           0 :                     case VEC_COND_EXPR:
    6169                 :           0 :                       {
    6170                 :           0 :                         tree _q80 = TREE_OPERAND (_p1, 0);
    6171                 :           0 :                         tree _q81 = TREE_OPERAND (_p1, 1);
    6172                 :           0 :                         tree _q82 = TREE_OPERAND (_p1, 2);
    6173                 :           0 :                         switch (TREE_CODE (_q80))
    6174                 :             :                           {
    6175                 :           0 :                           case UNORDERED_EXPR:
    6176                 :           0 :                             {
    6177                 :           0 :                               tree _q90 = TREE_OPERAND (_q80, 0);
    6178                 :           0 :                               tree _q91 = TREE_OPERAND (_q80, 1);
    6179                 :           0 :                               if ((_q90 == _q30 && ! TREE_SIDE_EFFECTS (_q90)) || (operand_equal_p (_q90, _q30, 0) && types_match (_q90, _q30)))
    6180                 :             :                                 {
    6181                 :           0 :                                   if ((_q91 == _q31 && ! TREE_SIDE_EFFECTS (_q91)) || (operand_equal_p (_q91, _q31, 0) && types_match (_q91, _q31)))
    6182                 :             :                                     {
    6183                 :           0 :                                       if (integer_zerop (_q82))
    6184                 :             :                                         {
    6185                 :           0 :                                           {
    6186                 :           0 :                                             tree captures[8] ATTRIBUTE_UNUSED = { _p0, _q20, _q30, _q31, _q21, _p1, _q80, _q81 };
    6187                 :           0 :                                             tree res = generic_simplify_16 (loc, type, _p0, _p1, captures, PLUS_EXPR, ORDERED_EXPR, UNORDERED_EXPR);
    6188                 :           0 :                                             if (res) return res;
    6189                 :             :                                           }
    6190                 :             :                                         }
    6191                 :             :                                     }
    6192                 :             :                                 }
    6193                 :             :                               break;
    6194                 :             :                             }
    6195                 :             :                           default:;
    6196                 :             :                           }
    6197                 :             :                         break;
    6198                 :             :                       }
    6199                 :             :                     default:;
    6200                 :             :                     }
    6201                 :             :                 }
    6202                 :             :               break;
    6203                 :             :             }
    6204                 :           0 :           case UNLT_EXPR:
    6205                 :           0 :             {
    6206                 :           0 :               tree _q30 = TREE_OPERAND (_q20, 0);
    6207                 :           0 :               tree _q31 = TREE_OPERAND (_q20, 1);
    6208                 :           0 :               if (integer_zerop (_q22))
    6209                 :             :                 {
    6210                 :           0 :                   switch (TREE_CODE (_p1))
    6211                 :             :                     {
    6212                 :           0 :                     case VEC_COND_EXPR:
    6213                 :           0 :                       {
    6214                 :           0 :                         tree _q80 = TREE_OPERAND (_p1, 0);
    6215                 :           0 :                         tree _q81 = TREE_OPERAND (_p1, 1);
    6216                 :           0 :                         tree _q82 = TREE_OPERAND (_p1, 2);
    6217                 :           0 :                         switch (TREE_CODE (_q80))
    6218                 :             :                           {
    6219                 :           0 :                           case GE_EXPR:
    6220                 :           0 :                             {
    6221                 :           0 :                               tree _q90 = TREE_OPERAND (_q80, 0);
    6222                 :           0 :                               tree _q91 = TREE_OPERAND (_q80, 1);
    6223                 :           0 :                               if ((_q90 == _q30 && ! TREE_SIDE_EFFECTS (_q90)) || (operand_equal_p (_q90, _q30, 0) && types_match (_q90, _q30)))
    6224                 :             :                                 {
    6225                 :           0 :                                   if ((_q91 == _q31 && ! TREE_SIDE_EFFECTS (_q91)) || (operand_equal_p (_q91, _q31, 0) && types_match (_q91, _q31)))
    6226                 :             :                                     {
    6227                 :           0 :                                       if (integer_zerop (_q82))
    6228                 :             :                                         {
    6229                 :           0 :                                           {
    6230                 :           0 :                                             tree captures[8] ATTRIBUTE_UNUSED = { _p0, _q20, _q30, _q31, _q21, _p1, _q80, _q81 };
    6231                 :           0 :                                             tree res = generic_simplify_16 (loc, type, _p0, _p1, captures, PLUS_EXPR, UNLT_EXPR, GE_EXPR);
    6232                 :           0 :                                             if (res) return res;
    6233                 :             :                                           }
    6234                 :             :                                         }
    6235                 :             :                                     }
    6236                 :             :                                 }
    6237                 :             :                               break;
    6238                 :             :                             }
    6239                 :             :                           default:;
    6240                 :             :                           }
    6241                 :             :                         break;
    6242                 :             :                       }
    6243                 :             :                     default:;
    6244                 :             :                     }
    6245                 :             :                 }
    6246                 :             :               break;
    6247                 :             :             }
    6248                 :           0 :           case UNLE_EXPR:
    6249                 :           0 :             {
    6250                 :           0 :               tree _q30 = TREE_OPERAND (_q20, 0);
    6251                 :           0 :               tree _q31 = TREE_OPERAND (_q20, 1);
    6252                 :           0 :               if (integer_zerop (_q22))
    6253                 :             :                 {
    6254                 :           0 :                   switch (TREE_CODE (_p1))
    6255                 :             :                     {
    6256                 :           0 :                     case VEC_COND_EXPR:
    6257                 :           0 :                       {
    6258                 :           0 :                         tree _q80 = TREE_OPERAND (_p1, 0);
    6259                 :           0 :                         tree _q81 = TREE_OPERAND (_p1, 1);
    6260                 :           0 :                         tree _q82 = TREE_OPERAND (_p1, 2);
    6261                 :           0 :                         switch (TREE_CODE (_q80))
    6262                 :             :                           {
    6263                 :           0 :                           case GT_EXPR:
    6264                 :           0 :                             {
    6265                 :           0 :                               tree _q90 = TREE_OPERAND (_q80, 0);
    6266                 :           0 :                               tree _q91 = TREE_OPERAND (_q80, 1);
    6267                 :           0 :                               if ((_q90 == _q30 && ! TREE_SIDE_EFFECTS (_q90)) || (operand_equal_p (_q90, _q30, 0) && types_match (_q90, _q30)))
    6268                 :             :                                 {
    6269                 :           0 :                                   if ((_q91 == _q31 && ! TREE_SIDE_EFFECTS (_q91)) || (operand_equal_p (_q91, _q31, 0) && types_match (_q91, _q31)))
    6270                 :             :                                     {
    6271                 :           0 :                                       if (integer_zerop (_q82))
    6272                 :             :                                         {
    6273                 :           0 :                                           {
    6274                 :           0 :                                             tree captures[8] ATTRIBUTE_UNUSED = { _p0, _q20, _q30, _q31, _q21, _p1, _q80, _q81 };
    6275                 :           0 :                                             tree res = generic_simplify_16 (loc, type, _p0, _p1, captures, PLUS_EXPR, UNLE_EXPR, GT_EXPR);
    6276                 :           0 :                                             if (res) return res;
    6277                 :             :                                           }
    6278                 :             :                                         }
    6279                 :             :                                     }
    6280                 :             :                                 }
    6281                 :             :                               break;
    6282                 :             :                             }
    6283                 :             :                           default:;
    6284                 :             :                           }
    6285                 :             :                         break;
    6286                 :             :                       }
    6287                 :             :                     default:;
    6288                 :             :                     }
    6289                 :             :                 }
    6290                 :             :               break;
    6291                 :             :             }
    6292                 :           0 :           case UNGT_EXPR:
    6293                 :           0 :             {
    6294                 :           0 :               tree _q30 = TREE_OPERAND (_q20, 0);
    6295                 :           0 :               tree _q31 = TREE_OPERAND (_q20, 1);
    6296                 :           0 :               if (integer_zerop (_q22))
    6297                 :             :                 {
    6298                 :           0 :                   switch (TREE_CODE (_p1))
    6299                 :             :                     {
    6300                 :           0 :                     case VEC_COND_EXPR:
    6301                 :           0 :                       {
    6302                 :           0 :                         tree _q80 = TREE_OPERAND (_p1, 0);
    6303                 :           0 :                         tree _q81 = TREE_OPERAND (_p1, 1);
    6304                 :           0 :                         tree _q82 = TREE_OPERAND (_p1, 2);
    6305                 :           0 :                         switch (TREE_CODE (_q80))
    6306                 :             :                           {
    6307                 :           0 :                           case LE_EXPR:
    6308                 :           0 :                             {
    6309                 :           0 :                               tree _q90 = TREE_OPERAND (_q80, 0);
    6310                 :           0 :                               tree _q91 = TREE_OPERAND (_q80, 1);
    6311                 :           0 :                               if ((_q90 == _q30 && ! TREE_SIDE_EFFECTS (_q90)) || (operand_equal_p (_q90, _q30, 0) && types_match (_q90, _q30)))
    6312                 :             :                                 {
    6313                 :           0 :                                   if ((_q91 == _q31 && ! TREE_SIDE_EFFECTS (_q91)) || (operand_equal_p (_q91, _q31, 0) && types_match (_q91, _q31)))
    6314                 :             :                                     {
    6315                 :           0 :                                       if (integer_zerop (_q82))
    6316                 :             :                                         {
    6317                 :           0 :                                           {
    6318                 :           0 :                                             tree captures[8] ATTRIBUTE_UNUSED = { _p0, _q20, _q30, _q31, _q21, _p1, _q80, _q81 };
    6319                 :           0 :                                             tree res = generic_simplify_16 (loc, type, _p0, _p1, captures, PLUS_EXPR, UNGT_EXPR, LE_EXPR);
    6320                 :           0 :                                             if (res) return res;
    6321                 :             :                                           }
    6322                 :             :                                         }
    6323                 :             :                                     }
    6324                 :             :                                 }
    6325                 :             :                               break;
    6326                 :             :                             }
    6327                 :             :                           default:;
    6328                 :             :                           }
    6329                 :             :                         break;
    6330                 :             :                       }
    6331                 :             :                     default:;
    6332                 :             :                     }
    6333                 :             :                 }
    6334                 :             :               break;
    6335                 :             :             }
    6336                 :           0 :           case UNGE_EXPR:
    6337                 :           0 :             {
    6338                 :           0 :               tree _q30 = TREE_OPERAND (_q20, 0);
    6339                 :           0 :               tree _q31 = TREE_OPERAND (_q20, 1);
    6340                 :           0 :               if (integer_zerop (_q22))
    6341                 :             :                 {
    6342                 :           0 :                   switch (TREE_CODE (_p1))
    6343                 :             :                     {
    6344                 :           0 :                     case VEC_COND_EXPR:
    6345                 :           0 :                       {
    6346                 :           0 :                         tree _q80 = TREE_OPERAND (_p1, 0);
    6347                 :           0 :                         tree _q81 = TREE_OPERAND (_p1, 1);
    6348                 :           0 :                         tree _q82 = TREE_OPERAND (_p1, 2);
    6349                 :           0 :                         switch (TREE_CODE (_q80))
    6350                 :             :                           {
    6351                 :           0 :                           case LT_EXPR:
    6352                 :           0 :                             {
    6353                 :           0 :                               tree _q90 = TREE_OPERAND (_q80, 0);
    6354                 :           0 :                               tree _q91 = TREE_OPERAND (_q80, 1);
    6355                 :           0 :                               if ((_q90 == _q30 && ! TREE_SIDE_EFFECTS (_q90)) || (operand_equal_p (_q90, _q30, 0) && types_match (_q90, _q30)))
    6356                 :             :                                 {
    6357                 :           0 :                                   if ((_q91 == _q31 && ! TREE_SIDE_EFFECTS (_q91)) || (operand_equal_p (_q91, _q31, 0) && types_match (_q91, _q31)))
    6358                 :             :                                     {
    6359                 :           0 :                                       if (integer_zerop (_q82))
    6360                 :             :                                         {
    6361                 :           0 :                                           {
    6362                 :           0 :                                             tree captures[8] ATTRIBUTE_UNUSED = { _p0, _q20, _q30, _q31, _q21, _p1, _q80, _q81 };
    6363                 :           0 :                                             tree res = generic_simplify_16 (loc, type, _p0, _p1, captures, PLUS_EXPR, UNGE_EXPR, LT_EXPR);
    6364                 :           0 :                                             if (res) return res;
    6365                 :             :                                           }
    6366                 :             :                                         }
    6367                 :             :                                     }
    6368                 :             :                                 }
    6369                 :             :                               break;
    6370                 :             :                             }
    6371                 :             :                           default:;
    6372                 :             :                           }
    6373                 :             :                         break;
    6374                 :             :                       }
    6375                 :             :                     default:;
    6376                 :             :                     }
    6377                 :             :                 }
    6378                 :             :               break;
    6379                 :             :             }
    6380                 :           0 :           case UNEQ_EXPR:
    6381                 :           0 :             {
    6382                 :           0 :               tree _q30 = TREE_OPERAND (_q20, 0);
    6383                 :           0 :               tree _q31 = TREE_OPERAND (_q20, 1);
    6384                 :           0 :               if (integer_zerop (_q22))
    6385                 :             :                 {
    6386                 :           0 :                   switch (TREE_CODE (_p1))
    6387                 :             :                     {
    6388                 :           0 :                     case VEC_COND_EXPR:
    6389                 :           0 :                       {
    6390                 :           0 :                         tree _q80 = TREE_OPERAND (_p1, 0);
    6391                 :           0 :                         tree _q81 = TREE_OPERAND (_p1, 1);
    6392                 :           0 :                         tree _q82 = TREE_OPERAND (_p1, 2);
    6393                 :           0 :                         switch (TREE_CODE (_q80))
    6394                 :             :                           {
    6395                 :           0 :                           case LTGT_EXPR:
    6396                 :           0 :                             {
    6397                 :           0 :                               tree _q90 = TREE_OPERAND (_q80, 0);
    6398                 :           0 :                               tree _q91 = TREE_OPERAND (_q80, 1);
    6399                 :           0 :                               if ((_q90 == _q30 && ! TREE_SIDE_EFFECTS (_q90)) || (operand_equal_p (_q90, _q30, 0) && types_match (_q90, _q30)))
    6400                 :             :                                 {
    6401                 :           0 :                                   if ((_q91 == _q31 && ! TREE_SIDE_EFFECTS (_q91)) || (operand_equal_p (_q91, _q31, 0) && types_match (_q91, _q31)))
    6402                 :             :                                     {
    6403                 :           0 :                                       if (integer_zerop (_q82))
    6404                 :             :                                         {
    6405                 :           0 :                                           {
    6406                 :           0 :                                             tree captures[8] ATTRIBUTE_UNUSED = { _p0, _q20, _q30, _q31, _q21, _p1, _q80, _q81 };
    6407                 :           0 :                                             tree res = generic_simplify_16 (loc, type, _p0, _p1, captures, PLUS_EXPR, UNEQ_EXPR, LTGT_EXPR);
    6408                 :           0 :                                             if (res) return res;
    6409                 :             :                                           }
    6410                 :             :                                         }
    6411                 :             :                                     }
    6412                 :             :                                 }
    6413                 :             :                               break;
    6414                 :             :                             }
    6415                 :             :                           default:;
    6416                 :             :                           }
    6417                 :             :                         break;
    6418                 :             :                       }
    6419                 :             :                     default:;
    6420                 :             :                     }
    6421                 :             :                 }
    6422                 :             :               break;
    6423                 :             :             }
    6424                 :           0 :           case LTGT_EXPR:
    6425                 :           0 :             {
    6426                 :           0 :               tree _q30 = TREE_OPERAND (_q20, 0);
    6427                 :           0 :               tree _q31 = TREE_OPERAND (_q20, 1);
    6428                 :           0 :               if (integer_zerop (_q22))
    6429                 :             :                 {
    6430                 :           0 :                   switch (TREE_CODE (_p1))
    6431                 :             :                     {
    6432                 :           0 :                     case VEC_COND_EXPR:
    6433                 :           0 :                       {
    6434                 :           0 :                         tree _q80 = TREE_OPERAND (_p1, 0);
    6435                 :           0 :                         tree _q81 = TREE_OPERAND (_p1, 1);
    6436                 :           0 :                         tree _q82 = TREE_OPERAND (_p1, 2);
    6437                 :           0 :                         switch (TREE_CODE (_q80))
    6438                 :             :                           {
    6439                 :           0 :                           case UNEQ_EXPR:
    6440                 :           0 :                             {
    6441                 :           0 :                               tree _q90 = TREE_OPERAND (_q80, 0);
    6442                 :           0 :                               tree _q91 = TREE_OPERAND (_q80, 1);
    6443                 :           0 :                               if ((_q90 == _q30 && ! TREE_SIDE_EFFECTS (_q90)) || (operand_equal_p (_q90, _q30, 0) && types_match (_q90, _q30)))
    6444                 :             :                                 {
    6445                 :           0 :                                   if ((_q91 == _q31 && ! TREE_SIDE_EFFECTS (_q91)) || (operand_equal_p (_q91, _q31, 0) && types_match (_q91, _q31)))
    6446                 :             :                                     {
    6447                 :           0 :                                       if (integer_zerop (_q82))
    6448                 :             :                                         {
    6449                 :           0 :                                           {
    6450                 :           0 :                                             tree captures[8] ATTRIBUTE_UNUSED = { _p0, _q20, _q30, _q31, _q21, _p1, _q80, _q81 };
    6451                 :           0 :                                             tree res = generic_simplify_16 (loc, type, _p0, _p1, captures, PLUS_EXPR, LTGT_EXPR, UNEQ_EXPR);
    6452                 :           0 :                                             if (res) return res;
    6453                 :             :                                           }
    6454                 :             :                                         }
    6455                 :             :                                     }
    6456                 :             :                                 }
    6457                 :             :                               break;
    6458                 :             :                             }
    6459                 :             :                           default:;
    6460                 :             :                           }
    6461                 :             :                         break;
    6462                 :             :                       }
    6463                 :             :                     default:;
    6464                 :             :                     }
    6465                 :             :                 }
    6466                 :             :               break;
    6467                 :             :             }
    6468                 :             :           default:;
    6469                 :             :           }
    6470                 :             :         break;
    6471                 :             :       }
    6472                 :    67276316 :     default:;
    6473                 :             :     }
    6474                 :    67276316 : {
    6475                 :    67276316 :   tree _p0_pops[1];
    6476                 :    67276316 :   if (tree_nop_convert (_p0, _p0_pops))
    6477                 :             :     {
    6478                 :    13428733 :       tree _q20 = _p0_pops[0];
    6479                 :    13428733 :       switch (TREE_CODE (_q20))
    6480                 :             :         {
    6481                 :      138205 :         case MINUS_EXPR:
    6482                 :      138205 :           {
    6483                 :      138205 :             tree _q30 = TREE_OPERAND (_q20, 0);
    6484                 :      138205 :             tree _q31 = TREE_OPERAND (_q20, 1);
    6485                 :      138205 :             switch (TREE_CODE (_q30))
    6486                 :             :               {
    6487                 :           2 :               case BIT_AND_EXPR:
    6488                 :           2 :                 {
    6489                 :           2 :                   tree _q40 = TREE_OPERAND (_q30, 0);
    6490                 :           2 :                   tree _q41 = TREE_OPERAND (_q30, 1);
    6491                 :           2 :                   switch (TREE_CODE (_q31))
    6492                 :             :                     {
    6493                 :           1 :                     case BIT_IOR_EXPR:
    6494                 :           1 :                       {
    6495                 :           1 :                         tree _q70 = TREE_OPERAND (_q31, 0);
    6496                 :           1 :                         tree _q71 = TREE_OPERAND (_q31, 1);
    6497                 :           1 :                         if ((_q70 == _q40 && ! TREE_SIDE_EFFECTS (_q70)) || (operand_equal_p (_q70, _q40, 0) && types_match (_q70, _q40)))
    6498                 :             :                           {
    6499                 :           1 :                             if ((_q71 == _q41 && ! TREE_SIDE_EFFECTS (_q71)) || (operand_equal_p (_q71, _q41, 0) && types_match (_q71, _q41)))
    6500                 :             :                               {
    6501                 :           1 :                                 if (integer_all_onesp (_p1))
    6502                 :             :                                   {
    6503                 :           1 :                                     {
    6504                 :           1 :                                       tree captures[3] ATTRIBUTE_UNUSED = { _q20, _q40, _q41 };
    6505                 :           1 :                                       tree res = generic_simplify_12 (loc, type, _p0, _p1, captures);
    6506                 :           1 :                                       if (res) return res;
    6507                 :             :                                     }
    6508                 :             :                                   }
    6509                 :             :                               }
    6510                 :             :                           }
    6511                 :           0 :                         if ((_q70 == _q41 && ! TREE_SIDE_EFFECTS (_q70)) || (operand_equal_p (_q70, _q41, 0) && types_match (_q70, _q41)))
    6512                 :             :                           {
    6513                 :           0 :                             if ((_q71 == _q40 && ! TREE_SIDE_EFFECTS (_q71)) || (operand_equal_p (_q71, _q40, 0) && types_match (_q71, _q40)))
    6514                 :             :                               {
    6515                 :           0 :                                 if (integer_all_onesp (_p1))
    6516                 :             :                                   {
    6517                 :           0 :                                     {
    6518                 :           0 :                                       tree captures[3] ATTRIBUTE_UNUSED = { _q20, _q41, _q40 };
    6519                 :           0 :                                       tree res = generic_simplify_12 (loc, type, _p0, _p1, captures);
    6520                 :           0 :                                       if (res) return res;
    6521                 :             :                                     }
    6522                 :             :                                   }
    6523                 :             :                               }
    6524                 :             :                           }
    6525                 :             :                         break;
    6526                 :             :                       }
    6527                 :             :                     default:;
    6528                 :             :                     }
    6529                 :             :                   break;
    6530                 :             :                 }
    6531                 :      138204 :               default:;
    6532                 :             :               }
    6533                 :      138204 :           {
    6534                 :      138204 :             tree _q30_pops[1];
    6535                 :      138204 :             if (tree_nop_convert (_q30, _q30_pops))
    6536                 :             :               {
    6537                 :       87384 :                 tree _q40 = _q30_pops[0];
    6538                 :       87384 :                 switch (TREE_CODE (_q40))
    6539                 :             :                   {
    6540                 :           0 :                   case BIT_AND_EXPR:
    6541                 :           0 :                     {
    6542                 :           0 :                       tree _q50 = TREE_OPERAND (_q40, 0);
    6543                 :           0 :                       tree _q51 = TREE_OPERAND (_q40, 1);
    6544                 :           0 :                       {
    6545                 :           0 :                         tree _q31_pops[1];
    6546                 :           0 :                         if (tree_nop_convert (_q31, _q31_pops))
    6547                 :             :                           {
    6548                 :           0 :                             tree _q80 = _q31_pops[0];
    6549                 :           0 :                             switch (TREE_CODE (_q80))
    6550                 :             :                               {
    6551                 :           0 :                               case BIT_IOR_EXPR:
    6552                 :           0 :                                 {
    6553                 :           0 :                                   tree _q90 = TREE_OPERAND (_q80, 0);
    6554                 :           0 :                                   tree _q91 = TREE_OPERAND (_q80, 1);
    6555                 :           0 :                                   if ((_q90 == _q50 && ! TREE_SIDE_EFFECTS (_q90)) || (operand_equal_p (_q90, _q50, 0) && types_match (_q90, _q50)))
    6556                 :             :                                     {
    6557                 :           0 :                                       if ((_q91 == _q51 && ! TREE_SIDE_EFFECTS (_q91)) || (operand_equal_p (_q91, _q51, 0) && types_match (_q91, _q51)))
    6558                 :             :                                         {
    6559                 :           0 :                                           if (integer_all_onesp (_p1))
    6560                 :             :                                             {
    6561                 :           0 :                                               {
    6562                 :           0 :                                                 tree captures[3] ATTRIBUTE_UNUSED = { _q20, _q50, _q51 };
    6563                 :           0 :                                                 tree res = generic_simplify_12 (loc, type, _p0, _p1, captures);
    6564                 :           0 :                                                 if (res) return res;
    6565                 :             :                                               }
    6566                 :             :                                             }
    6567                 :             :                                         }
    6568                 :             :                                     }
    6569                 :           0 :                                   if ((_q90 == _q51 && ! TREE_SIDE_EFFECTS (_q90)) || (operand_equal_p (_q90, _q51, 0) && types_match (_q90, _q51)))
    6570                 :             :                                     {
    6571                 :           0 :                                       if ((_q91 == _q50 && ! TREE_SIDE_EFFECTS (_q91)) || (operand_equal_p (_q91, _q50, 0) && types_match (_q91, _q50)))
    6572                 :             :                                         {
    6573                 :           0 :                                           if (integer_all_onesp (_p1))
    6574                 :             :                                             {
    6575                 :           0 :                                               {
    6576                 :           0 :                                                 tree captures[3] ATTRIBUTE_UNUSED = { _q20, _q51, _q50 };
    6577                 :           0 :                                                 tree res = generic_simplify_12 (loc, type, _p0, _p1, captures);
    6578                 :           0 :                                                 if (res) return res;
    6579                 :             :                                               }
    6580                 :             :                                             }
    6581                 :             :                                         }
    6582                 :             :                                     }
    6583                 :             :                                   break;
    6584                 :             :                                 }
    6585                 :             :                               default:;
    6586                 :             :                               }
    6587                 :             :                           }
    6588                 :             :                       }
    6589                 :           0 :                       break;
    6590                 :             :                     }
    6591                 :             :                   default:;
    6592                 :             :                   }
    6593                 :             :               }
    6594                 :             :           }
    6595                 :      138204 :             break;
    6596                 :             :           }
    6597                 :             :         default:;
    6598                 :             :         }
    6599                 :             :     }
    6600                 :             : }
    6601                 :    67276315 :   switch (TREE_CODE (_p1))
    6602                 :             :     {
    6603                 :     7764653 :     CASE_CONVERT:
    6604                 :     7764653 :       {
    6605                 :     7764653 :         tree _q30 = TREE_OPERAND (_p1, 0);
    6606                 :     7764653 :         switch (TREE_CODE (_q30))
    6607                 :             :           {
    6608                 :         360 :           case NEGATE_EXPR:
    6609                 :         360 :             {
    6610                 :         360 :               tree _q40 = TREE_OPERAND (_q30, 0);
    6611                 :         360 :               {
    6612                 :         360 :                 tree captures[2] ATTRIBUTE_UNUSED = { _p0, _q40 };
    6613                 :         360 :                 tree res = generic_simplify_14 (loc, type, _p0, _p1, captures);
    6614                 :         360 :                 if (res) return res;
    6615                 :             :               }
    6616                 :         304 :               break;
    6617                 :             :             }
    6618                 :             :           default:;
    6619                 :             :           }
    6620                 :             :         break;
    6621                 :             :       }
    6622                 :        8389 :     case NEGATE_EXPR:
    6623                 :        8389 :       {
    6624                 :        8389 :         tree _q30 = TREE_OPERAND (_p1, 0);
    6625                 :        8389 :         {
    6626                 :        8389 :           tree captures[2] ATTRIBUTE_UNUSED = { _p0, _q30 };
    6627                 :        8389 :           tree res = generic_simplify_14 (loc, type, _p0, _p1, captures);
    6628                 :        8389 :           if (res) return res;
    6629                 :             :         }
    6630                 :           0 :         break;
    6631                 :             :       }
    6632                 :    67267870 :     default:;
    6633                 :             :     }
    6634                 :    67267870 :   switch (TREE_CODE (_p0))
    6635                 :             :     {
    6636                 :      180912 :     case NEGATE_EXPR:
    6637                 :      180912 :       {
    6638                 :      180912 :         tree _q20 = TREE_OPERAND (_p0, 0);
    6639                 :      180912 :         {
    6640                 :      180912 :           tree captures[2] ATTRIBUTE_UNUSED = { _p1, _q20 };
    6641                 :      180912 :           tree res = generic_simplify_14 (loc, type, _p0, _p1, captures);
    6642                 :      180912 :           if (res) return res;
    6643                 :             :         }
    6644                 :         134 :         break;
    6645                 :             :       }
    6646                 :    67087092 :     default:;
    6647                 :             :     }
    6648                 :    67087092 : {
    6649                 :    67087092 :   tree _p0_pops[1];
    6650                 :    67087092 :   if (tree_nop_convert (_p0, _p0_pops))
    6651                 :             :     {
    6652                 :    13423368 :       tree _q20 = _p0_pops[0];
    6653                 :    13423368 :       switch (TREE_CODE (_q20))
    6654                 :             :         {
    6655                 :      137790 :         case MINUS_EXPR:
    6656                 :      137790 :           {
    6657                 :      137790 :             tree _q30 = TREE_OPERAND (_q20, 0);
    6658                 :      137790 :             tree _q31 = TREE_OPERAND (_q20, 1);
    6659                 :      137790 :             {
    6660                 :      137790 :               tree _q31_pops[1];
    6661                 :      137790 :               if (tree_nop_convert (_q31, _q31_pops))
    6662                 :             :                 {
    6663                 :      104214 :                   tree _q50 = _q31_pops[0];
    6664                 :      104214 :                   if ((_p1 == _q50 && ! TREE_SIDE_EFFECTS (_p1)) || (operand_equal_p (_p1, _q50, 0) && types_match (_p1, _q50)))
    6665                 :             :                     {
    6666                 :          48 :                       {
    6667                 :          48 :                         tree captures[2] ATTRIBUTE_UNUSED = { _q30, _q50 };
    6668                 :          48 :                         tree res = generic_simplify_13 (loc, type, _p0, _p1, captures);
    6669                 :          48 :                         if (res) return res;
    6670                 :             :                       }
    6671                 :             :                     }
    6672                 :             :                 }
    6673                 :             :             }
    6674                 :      137742 :             if ((_p1 == _q31 && ! TREE_SIDE_EFFECTS (_p1)) || (operand_equal_p (_p1, _q31, 0) && types_match (_p1, _q31)))
    6675                 :             :               {
    6676                 :           0 :                 {
    6677                 :           0 :                   tree captures[2] ATTRIBUTE_UNUSED = { _q30, _q31 };
    6678                 :           0 :                   tree res = generic_simplify_13 (loc, type, _p0, _p1, captures);
    6679                 :           0 :                   if (res) return res;
    6680                 :             :                 }
    6681                 :             :               }
    6682                 :      137742 :             if (CONSTANT_CLASS_P (_q31))
    6683                 :             :               {
    6684                 :       13890 :                 if (CONSTANT_CLASS_P (_p1))
    6685                 :             :                   {
    6686                 :       13784 :                     {
    6687                 :       13784 :                       tree captures[3] ATTRIBUTE_UNUSED = { _q30, _q31, _p1 };
    6688                 :       13784 :                       tree res = generic_simplify_17 (loc, type, _p0, _p1, captures, MINUS_EXPR, PLUS_EXPR, PLUS_EXPR);
    6689                 :       13784 :                       if (res) return res;
    6690                 :             :                     }
    6691                 :             :                   }
    6692                 :             :               }
    6693                 :      123958 :             if (CONSTANT_CLASS_P (_q30))
    6694                 :             :               {
    6695                 :       20925 :                 if (CONSTANT_CLASS_P (_p1))
    6696                 :             :                   {
    6697                 :        6024 :                     {
    6698                 :        6024 :                       tree captures[3] ATTRIBUTE_UNUSED = { _q30, _q31, _p1 };
    6699                 :        6024 :                       tree res = generic_simplify_18 (loc, type, _p0, _p1, captures, PLUS_EXPR);
    6700                 :        6024 :                       if (res) return res;
    6701                 :             :                     }
    6702                 :             :                   }
    6703                 :             :               }
    6704                 :             :             break;
    6705                 :             :           }
    6706                 :     1320845 :         case PLUS_EXPR:
    6707                 :     1320845 :           {
    6708                 :     1320845 :             tree _q30 = TREE_OPERAND (_q20, 0);
    6709                 :     1320845 :             tree _q31 = TREE_OPERAND (_q20, 1);
    6710                 :     1320845 :             if (CONSTANT_CLASS_P (_q31))
    6711                 :             :               {
    6712                 :     1133983 :                 if (CONSTANT_CLASS_P (_p1))
    6713                 :             :                   {
    6714                 :     1050866 :                     {
    6715                 :     1050866 :                       tree captures[3] ATTRIBUTE_UNUSED = { _q30, _q31, _p1 };
    6716                 :     1050866 :                       tree res = generic_simplify_17 (loc, type, _p0, _p1, captures, PLUS_EXPR, MINUS_EXPR, PLUS_EXPR);
    6717                 :     1050866 :                       if (res) return res;
    6718                 :             :                     }
    6719                 :             :                   }
    6720                 :             :               }
    6721                 :             :             break;
    6722                 :             :           }
    6723                 :             :         default:;
    6724                 :             :         }
    6725                 :             :     }
    6726                 :             : }
    6727                 :    66017270 :   switch (TREE_CODE (_p1))
    6728                 :             :     {
    6729                 :      156394 :     case MINUS_EXPR:
    6730                 :      156394 :       {
    6731                 :      156394 :         tree _q30 = TREE_OPERAND (_p1, 0);
    6732                 :      156394 :         tree _q31 = TREE_OPERAND (_p1, 1);
    6733                 :      156394 :         {
    6734                 :      156394 :           tree _q31_pops[1];
    6735                 :      156394 :           if (tree_nop_convert (_q31, _q31_pops))
    6736                 :             :             {
    6737                 :       58773 :               tree _q50 = _q31_pops[0];
    6738                 :       58773 :               if ((_q50 == _p0 && ! TREE_SIDE_EFFECTS (_q50)) || (operand_equal_p (_q50, _p0, 0) && types_match (_q50, _p0)))
    6739                 :             :                 {
    6740                 :           0 :                   {
    6741                 :           0 :                     tree captures[2] ATTRIBUTE_UNUSED = { _q30, _p0 };
    6742                 :           0 :                     tree res = generic_simplify_13 (loc, type, _p0, _p1, captures);
    6743                 :           0 :                     if (res) return res;
    6744                 :             :                   }
    6745                 :             :                 }
    6746                 :             :             }
    6747                 :             :         }
    6748                 :      156394 :         if ((_q31 == _p0 && ! TREE_SIDE_EFFECTS (_q31)) || (operand_equal_p (_q31, _p0, 0) && types_match (_q31, _p0)))
    6749                 :             :           {
    6750                 :         303 :             {
    6751                 :         303 :               tree captures[2] ATTRIBUTE_UNUSED = { _q30, _p0 };
    6752                 :         303 :               tree res = generic_simplify_13 (loc, type, _p0, _p1, captures);
    6753                 :         303 :               if (res) return res;
    6754                 :             :             }
    6755                 :             :           }
    6756                 :             :         break;
    6757                 :             :       }
    6758                 :    66016967 :     default:;
    6759                 :             :     }
    6760                 :    66016967 : {
    6761                 :    66016967 :   tree _p1_pops[1];
    6762                 :    66016967 :   if (tree_nop_convert (_p1, _p1_pops))
    6763                 :             :     {
    6764                 :     7529688 :       tree _q30 = _p1_pops[0];
    6765                 :     7529688 :       switch (TREE_CODE (_q30))
    6766                 :             :         {
    6767                 :        2630 :         case MINUS_EXPR:
    6768                 :        2630 :           {
    6769                 :        2630 :             tree _q40 = TREE_OPERAND (_q30, 0);
    6770                 :        2630 :             tree _q41 = TREE_OPERAND (_q30, 1);
    6771                 :        2630 :             {
    6772                 :        2630 :               tree _q41_pops[1];
    6773                 :        2630 :               if (tree_nop_convert (_q41, _q41_pops))
    6774                 :             :                 {
    6775                 :         473 :                   tree _q60 = _q41_pops[0];
    6776                 :         473 :                   if ((_q60 == _p0 && ! TREE_SIDE_EFFECTS (_q60)) || (operand_equal_p (_q60, _p0, 0) && types_match (_q60, _p0)))
    6777                 :             :                     {
    6778                 :           0 :                       {
    6779                 :           0 :                         tree captures[2] ATTRIBUTE_UNUSED = { _q40, _p0 };
    6780                 :           0 :                         tree res = generic_simplify_13 (loc, type, _p0, _p1, captures);
    6781                 :           0 :                         if (res) return res;
    6782                 :             :                       }
    6783                 :             :                     }
    6784                 :             :                 }
    6785                 :             :             }
    6786                 :        2630 :             if ((_q41 == _p0 && ! TREE_SIDE_EFFECTS (_q41)) || (operand_equal_p (_q41, _p0, 0) && types_match (_q41, _p0)))
    6787                 :             :               {
    6788                 :           0 :                 {
    6789                 :           0 :                   tree captures[2] ATTRIBUTE_UNUSED = { _q40, _p0 };
    6790                 :           0 :                   tree res = generic_simplify_13 (loc, type, _p0, _p1, captures);
    6791                 :           0 :                   if (res) return res;
    6792                 :             :                 }
    6793                 :             :               }
    6794                 :             :             break;
    6795                 :             :           }
    6796                 :             :         default:;
    6797                 :             :         }
    6798                 :             :     }
    6799                 :             : }
    6800                 :    66016967 :   switch (TREE_CODE (_p0))
    6801                 :             :     {
    6802                 :     6370317 :     case PLUS_EXPR:
    6803                 :     6370317 :       {
    6804                 :     6370317 :         tree _q20 = TREE_OPERAND (_p0, 0);
    6805                 :     6370317 :         tree _q21 = TREE_OPERAND (_p0, 1);
    6806                 :     6370317 :         switch (TREE_CODE (_p1))
    6807                 :             :           {
    6808                 :       44197 :           case MINUS_EXPR:
    6809                 :       44197 :             {
    6810                 :       44197 :               tree _q50 = TREE_OPERAND (_p1, 0);
    6811                 :       44197 :               tree _q51 = TREE_OPERAND (_p1, 1);
    6812                 :       44197 :               if ((_q51 == _q20 && ! TREE_SIDE_EFFECTS (_q51)) || (operand_equal_p (_q51, _q20, 0) && types_match (_q51, _q20)))
    6813                 :             :                 {
    6814                 :         117 :                   {
    6815                 :         117 :                     tree captures[3] ATTRIBUTE_UNUSED = { _q20, _q21, _q50 };
    6816                 :         117 :                     tree res = generic_simplify_19 (loc, type, _p0, _p1, captures);
    6817                 :         117 :                     if (res) return res;
    6818                 :             :                   }
    6819                 :             :                 }
    6820                 :       44080 :               if ((_q51 == _q21 && ! TREE_SIDE_EFFECTS (_q51)) || (operand_equal_p (_q51, _q21, 0) && types_match (_q51, _q21)))
    6821                 :             :                 {
    6822                 :          92 :                   {
    6823                 :          92 :                     tree captures[3] ATTRIBUTE_UNUSED = { _q21, _q20, _q50 };
    6824                 :          92 :                     tree res = generic_simplify_19 (loc, type, _p0, _p1, captures);
    6825                 :          92 :                     if (res) return res;
    6826                 :             :                   }
    6827                 :             :                 }
    6828                 :             :               break;
    6829                 :             :             }
    6830                 :     6370108 :           default:;
    6831                 :             :           }
    6832                 :     6370108 :         if (CONSTANT_CLASS_P (_q21))
    6833                 :             :           {
    6834                 :     2472417 :             if (CONSTANT_CLASS_P (_p1))
    6835                 :             :               {
    6836                 :     1802111 :                 {
    6837                 :     1802111 :                   tree captures[3] ATTRIBUTE_UNUSED = { _q20, _q21, _p1 };
    6838                 :     1802111 :                   tree res = generic_simplify_17 (loc, type, _p0, _p1, captures, PLUS_EXPR, MINUS_EXPR, PLUS_EXPR);
    6839                 :     1802111 :                   if (res) return res;
    6840                 :             :                 }
    6841                 :             :               }
    6842                 :             :           }
    6843                 :             :         break;
    6844                 :             :       }
    6845                 :     1896029 :     case MINUS_EXPR:
    6846                 :     1896029 :       {
    6847                 :     1896029 :         tree _q20 = TREE_OPERAND (_p0, 0);
    6848                 :     1896029 :         tree _q21 = TREE_OPERAND (_p0, 1);
    6849                 :     1896029 :         switch (TREE_CODE (_p1))
    6850                 :             :           {
    6851                 :        1830 :           case PLUS_EXPR:
    6852                 :        1830 :             {
    6853                 :        1830 :               tree _q50 = TREE_OPERAND (_p1, 0);
    6854                 :        1830 :               tree _q51 = TREE_OPERAND (_p1, 1);
    6855                 :        1830 :               if ((_q50 == _q21 && ! TREE_SIDE_EFFECTS (_q50)) || (operand_equal_p (_q50, _q21, 0) && types_match (_q50, _q21)))
    6856                 :             :                 {
    6857                 :         319 :                   {
    6858                 :         319 :                     tree captures[3] ATTRIBUTE_UNUSED = { _q21, _q51, _q20 };
    6859                 :         319 :                     tree res = generic_simplify_19 (loc, type, _p0, _p1, captures);
    6860                 :         319 :                     if (res) return res;
    6861                 :             :                   }
    6862                 :             :                 }
    6863                 :        1511 :               if ((_q51 == _q21 && ! TREE_SIDE_EFFECTS (_q51)) || (operand_equal_p (_q51, _q21, 0) && types_match (_q51, _q21)))
    6864                 :             :                 {
    6865                 :          33 :                   {
    6866                 :          33 :                     tree captures[3] ATTRIBUTE_UNUSED = { _q21, _q50, _q20 };
    6867                 :          33 :                     tree res = generic_simplify_19 (loc, type, _p0, _p1, captures);
    6868                 :          33 :                     if (res) return res;
    6869                 :             :                   }
    6870                 :             :                 }
    6871                 :             :               break;
    6872                 :             :             }
    6873                 :         334 :           case MINUS_EXPR:
    6874                 :         334 :             {
    6875                 :         334 :               tree _q50 = TREE_OPERAND (_p1, 0);
    6876                 :         334 :               tree _q51 = TREE_OPERAND (_p1, 1);
    6877                 :         334 :               if ((_q51 == _q20 && ! TREE_SIDE_EFFECTS (_q51)) || (operand_equal_p (_q51, _q20, 0) && types_match (_q51, _q20)))
    6878                 :             :                 {
    6879                 :           1 :                   {
    6880                 :           1 :                     tree captures[3] ATTRIBUTE_UNUSED = { _q20, _q21, _q50 };
    6881                 :           1 :                     tree res = generic_simplify_20 (loc, type, _p0, _p1, captures);
    6882                 :           1 :                     if (res) return res;
    6883                 :             :                   }
    6884                 :             :                 }
    6885                 :         333 :               if ((_q50 == _q21 && ! TREE_SIDE_EFFECTS (_q50)) || (operand_equal_p (_q50, _q21, 0) && types_match (_q50, _q21)))
    6886                 :             :                 {
    6887                 :           9 :                   {
    6888                 :           9 :                     tree captures[3] ATTRIBUTE_UNUSED = { _q21, _q51, _q20 };
    6889                 :           9 :                     tree res = generic_simplify_20 (loc, type, _p0, _p1, captures);
    6890                 :           9 :                     if (res) return res;
    6891                 :             :                   }
    6892                 :             :                 }
    6893                 :             :               break;
    6894                 :             :             }
    6895                 :     1895667 :           default:;
    6896                 :             :           }
    6897                 :     1895667 :         if (CONSTANT_CLASS_P (_q21))
    6898                 :             :           {
    6899                 :      113322 :             if (CONSTANT_CLASS_P (_p1))
    6900                 :             :               {
    6901                 :       76312 :                 {
    6902                 :       76312 :                   tree captures[3] ATTRIBUTE_UNUSED = { _q20, _q21, _p1 };
    6903                 :       76312 :                   tree res = generic_simplify_17 (loc, type, _p0, _p1, captures, MINUS_EXPR, PLUS_EXPR, PLUS_EXPR);
    6904                 :       76312 :                   if (res) return res;
    6905                 :             :                 }
    6906                 :             :               }
    6907                 :             :           }
    6908                 :     1819552 :         if (CONSTANT_CLASS_P (_q20))
    6909                 :             :           {
    6910                 :      402878 :             if (CONSTANT_CLASS_P (_p1))
    6911                 :             :               {
    6912                 :      231166 :                 {
    6913                 :      231166 :                   tree captures[3] ATTRIBUTE_UNUSED = { _q20, _q21, _p1 };
    6914                 :      231166 :                   tree res = generic_simplify_18 (loc, type, _p0, _p1, captures, PLUS_EXPR);
    6915                 :      231166 :                   if (res) return res;
    6916                 :             :                 }
    6917                 :             :               }
    6918                 :             :           }
    6919                 :             :         break;
    6920                 :             :       }
    6921                 :         474 :     case POINTER_DIFF_EXPR:
    6922                 :         474 :       {
    6923                 :         474 :         tree _q20 = TREE_OPERAND (_p0, 0);
    6924                 :         474 :         tree _q21 = TREE_OPERAND (_p0, 1);
    6925                 :         474 :         switch (TREE_CODE (_p1))
    6926                 :             :           {
    6927                 :           7 :           case POINTER_DIFF_EXPR:
    6928                 :           7 :             {
    6929                 :           7 :               tree _q50 = TREE_OPERAND (_p1, 0);
    6930                 :           7 :               tree _q51 = TREE_OPERAND (_p1, 1);
    6931                 :           7 :               if ((_q51 == _q20 && ! TREE_SIDE_EFFECTS (_q51)) || (operand_equal_p (_q51, _q20, 0) && types_match (_q51, _q20)))
    6932                 :             :                 {
    6933                 :           7 :                   {
    6934                 :           7 :                     tree captures[3] ATTRIBUTE_UNUSED = { _q20, _q21, _q50 };
    6935                 :           7 :                     tree res = generic_simplify_21 (loc, type, _p0, _p1, captures);
    6936                 :           7 :                     if (res) return res;
    6937                 :             :                   }
    6938                 :             :                 }
    6939                 :           0 :               if ((_q50 == _q21 && ! TREE_SIDE_EFFECTS (_q50)) || (operand_equal_p (_q50, _q21, 0) && types_match (_q50, _q21)))
    6940                 :             :                 {
    6941                 :           0 :                   {
    6942                 :           0 :                     tree captures[3] ATTRIBUTE_UNUSED = { _q21, _q51, _q20 };
    6943                 :           0 :                     tree res = generic_simplify_21 (loc, type, _p0, _p1, captures);
    6944                 :           0 :                     if (res) return res;
    6945                 :             :                   }
    6946                 :             :                 }
    6947                 :             :               break;
    6948                 :             :             }
    6949                 :             :           default:;
    6950                 :             :           }
    6951                 :             :         break;
    6952                 :             :       }
    6953                 :    16840805 :     CASE_CONVERT:
    6954                 :    16840805 :       {
    6955                 :    16840805 :         tree _q20 = TREE_OPERAND (_p0, 0);
    6956                 :    16840805 :         switch (TREE_CODE (_p1))
    6957                 :             :           {
    6958                 :     2611758 :           CASE_CONVERT:
    6959                 :     2611758 :             {
    6960                 :     2611758 :               tree _q40 = TREE_OPERAND (_p1, 0);
    6961                 :     2611758 :               {
    6962                 :     2611758 :                 tree captures[2] ATTRIBUTE_UNUSED = { _q20, _q40 };
    6963                 :     2611758 :                 tree res = generic_simplify_22 (loc, type, _p0, _p1, captures, PLUS_EXPR);
    6964                 :     2611758 :                 if (res) return res;
    6965                 :             :               }
    6966                 :     2611611 :               break;
    6967                 :             :             }
    6968                 :    16840658 :           default:;
    6969                 :             :           }
    6970                 :    16840658 :         switch (TREE_CODE (_q20))
    6971                 :             :           {
    6972                 :      125837 :           case BIT_NOT_EXPR:
    6973                 :      125837 :             {
    6974                 :      125837 :               tree _q30 = TREE_OPERAND (_q20, 0);
    6975                 :      125837 :               switch (TREE_CODE (_p1))
    6976                 :             :                 {
    6977                 :         182 :                 CASE_CONVERT:
    6978                 :         182 :                   {
    6979                 :         182 :                     tree _q50 = TREE_OPERAND (_p1, 0);
    6980                 :         182 :                     if ((_q50 == _q30 && ! TREE_SIDE_EFFECTS (_q50)) || (operand_equal_p (_q50, _q30, 0) && types_match (_q50, _q30)))
    6981                 :             :                       {
    6982                 :           0 :                         {
    6983                 :           0 :                           tree captures[1] ATTRIBUTE_UNUSED = { _q30 };
    6984                 :           0 :                           tree res = generic_simplify_23 (loc, type, _p0, _p1, captures);
    6985                 :           0 :                           if (res) return res;
    6986                 :             :                         }
    6987                 :             :                       }
    6988                 :             :                     break;
    6989                 :             :                   }
    6990                 :             :                 default:;
    6991                 :             :                 }
    6992                 :             :               break;
    6993                 :             :             }
    6994                 :    16840658 :           default:;
    6995                 :             :           }
    6996                 :    16840658 :         switch (TREE_CODE (_p1))
    6997                 :             :           {
    6998                 :     2611611 :           CASE_CONVERT:
    6999                 :     2611611 :             {
    7000                 :     2611611 :               tree _q40 = TREE_OPERAND (_p1, 0);
    7001                 :     2611611 :               switch (TREE_CODE (_q40))
    7002                 :             :                 {
    7003                 :         347 :                 case BIT_NOT_EXPR:
    7004                 :         347 :                   {
    7005                 :         347 :                     tree _q50 = TREE_OPERAND (_q40, 0);
    7006                 :         347 :                     if ((_q50 == _q20 && ! TREE_SIDE_EFFECTS (_q50)) || (operand_equal_p (_q50, _q20, 0) && types_match (_q50, _q20)))
    7007                 :             :                       {
    7008                 :           0 :                         {
    7009                 :           0 :                           tree captures[1] ATTRIBUTE_UNUSED = { _q20 };
    7010                 :           0 :                           tree res = generic_simplify_23 (loc, type, _p0, _p1, captures);
    7011                 :           0 :                           if (res) return res;
    7012                 :             :                         }
    7013                 :             :                       }
    7014                 :             :                     break;
    7015                 :             :                   }
    7016                 :             :                 default:;
    7017                 :             :                 }
    7018                 :             :               break;
    7019                 :             :             }
    7020                 :             :           default:;
    7021                 :             :           }
    7022                 :             :         break;
    7023                 :             :       }
    7024                 :      323884 :     case BIT_NOT_EXPR:
    7025                 :      323884 :       {
    7026                 :      323884 :         tree _q20 = TREE_OPERAND (_p0, 0);
    7027                 :      323884 :         if ((_p1 == _q20 && ! TREE_SIDE_EFFECTS (_p1)) || (operand_equal_p (_p1, _q20, 0) && types_match (_p1, _q20)))
    7028                 :             :           {
    7029                 :         557 :             {
    7030                 :         557 :               tree captures[1] ATTRIBUTE_UNUSED = { _q20 };
    7031                 :         557 :               tree res = generic_simplify_23 (loc, type, _p0, _p1, captures);
    7032                 :         557 :               if (res) return res;
    7033                 :             :             }
    7034                 :             :           }
    7035                 :      323327 :         if (integer_each_onep (_p1))
    7036                 :             :           {
    7037                 :        2695 :             {
    7038                 :        2695 :               tree captures[1] ATTRIBUTE_UNUSED = { _q20 };
    7039                 :        2695 :               tree res = generic_simplify_24 (loc, type, _p0, _p1, captures);
    7040                 :        2695 :               if (res) return res;
    7041                 :             :             }
    7042                 :             :           }
    7043                 :             :         break;
    7044                 :             :       }
    7045                 :    63903986 :     default:;
    7046                 :             :     }
    7047                 :    63903986 :   switch (TREE_CODE (_p1))
    7048                 :             :     {
    7049                 :       37906 :     case BIT_NOT_EXPR:
    7050                 :       37906 :       {
    7051                 :       37906 :         tree _q30 = TREE_OPERAND (_p1, 0);
    7052                 :       37906 :         if ((_q30 == _p0 && ! TREE_SIDE_EFFECTS (_q30)) || (operand_equal_p (_q30, _p0, 0) && types_match (_q30, _p0)))
    7053                 :             :           {
    7054                 :           0 :             {
    7055                 :           0 :               tree captures[1] ATTRIBUTE_UNUSED = { _p0 };
    7056                 :           0 :               tree res = generic_simplify_23 (loc, type, _p0, _p1, captures);
    7057                 :           0 :               if (res) return res;
    7058                 :             :             }
    7059                 :             :           }
    7060                 :             :         break;
    7061                 :             :       }
    7062                 :    63903986 :     default:;
    7063                 :             :     }
    7064                 :    63903986 :   switch (TREE_CODE (_p0))
    7065                 :             :     {
    7066                 :    16840658 :     CASE_CONVERT:
    7067                 :    16840658 :       {
    7068                 :    16840658 :         tree _q20 = TREE_OPERAND (_p0, 0);
    7069                 :    16840658 :         switch (TREE_CODE (_q20))
    7070                 :             :           {
    7071                 :      125837 :           case BIT_NOT_EXPR:
    7072                 :      125837 :             {
    7073                 :      125837 :               tree _q30 = TREE_OPERAND (_q20, 0);
    7074                 :      125837 :               if (integer_each_onep (_p1))
    7075                 :             :                 {
    7076                 :      122630 :                   {
    7077                 :      122630 :                     tree captures[1] ATTRIBUTE_UNUSED = { _q30 };
    7078                 :      122630 :                     tree res = generic_simplify_24 (loc, type, _p0, _p1, captures);
    7079                 :      122630 :                     if (res) return res;
    7080                 :             :                   }
    7081                 :             :                 }
    7082                 :             :               break;
    7083                 :             :             }
    7084                 :             :           default:;
    7085                 :             :           }
    7086                 :             :         break;
    7087                 :             :       }
    7088                 :    12671830 :     case MULT_EXPR:
    7089                 :    12671830 :       {
    7090                 :    12671830 :         tree _q20 = TREE_OPERAND (_p0, 0);
    7091                 :    12671830 :         tree _q21 = TREE_OPERAND (_p0, 1);
    7092                 :    12671830 :         switch (TREE_CODE (_p1))
    7093                 :             :           {
    7094                 :     3298503 :           case MULT_EXPR:
    7095                 :     3298503 :             {
    7096                 :     3298503 :               tree _q50 = TREE_OPERAND (_p1, 0);
    7097                 :     3298503 :               tree _q51 = TREE_OPERAND (_p1, 1);
    7098                 :     3298503 :               if ((_q50 == _q20 && ! TREE_SIDE_EFFECTS (_q50)) || (operand_equal_p (_q50, _q20, 0) && types_match (_q50, _q20)))
    7099                 :             :                 {
    7100                 :      792058 :                   {
    7101                 :      792058 :                     tree captures[5] ATTRIBUTE_UNUSED = { _p0, _q20, _q21, _p1, _q51 };
    7102                 :      792058 :                     tree res = generic_simplify_25 (loc, type, _p0, _p1, captures, PLUS_EXPR);
    7103                 :      792058 :                     if (res) return res;
    7104                 :             :                   }
    7105                 :             :                 }
    7106                 :     3293782 :               if ((_q51 == _q20 && ! TREE_SIDE_EFFECTS (_q51)) || (operand_equal_p (_q51, _q20, 0) && types_match (_q51, _q20)))
    7107                 :             :                 {
    7108                 :          59 :                   {
    7109                 :          59 :                     tree captures[5] ATTRIBUTE_UNUSED = { _p0, _q20, _q21, _p1, _q50 };
    7110                 :          59 :                     tree res = generic_simplify_25 (loc, type, _p0, _p1, captures, PLUS_EXPR);
    7111                 :          59 :                     if (res) return res;
    7112                 :             :                   }
    7113                 :             :                 }
    7114                 :     3293777 :               if ((_q50 == _q21 && ! TREE_SIDE_EFFECTS (_q50)) || (operand_equal_p (_q50, _q21, 0) && types_match (_q50, _q21)))
    7115                 :             :                 {
    7116                 :         237 :                   {
    7117                 :         237 :                     tree captures[5] ATTRIBUTE_UNUSED = { _p0, _q21, _q20, _p1, _q51 };
    7118                 :         237 :                     tree res = generic_simplify_25 (loc, type, _p0, _p1, captures, PLUS_EXPR);
    7119                 :         237 :                     if (res) return res;
    7120                 :             :                   }
    7121                 :             :                 }
    7122                 :     3293610 :               if ((_q51 == _q21 && ! TREE_SIDE_EFFECTS (_q51)) || (operand_equal_p (_q51, _q21, 0) && types_match (_q51, _q21)))
    7123                 :             :                 {
    7124                 :     1233186 :                   {
    7125                 :     1233186 :                     tree captures[5] ATTRIBUTE_UNUSED = { _p0, _q21, _q20, _p1, _q50 };
    7126                 :     1233186 :                     tree res = generic_simplify_25 (loc, type, _p0, _p1, captures, PLUS_EXPR);
    7127                 :     1233186 :                     if (res) return res;
    7128                 :             :                   }
    7129                 :             :                 }
    7130                 :             :               break;
    7131                 :             :             }
    7132                 :             :           default:;
    7133                 :             :           }
    7134                 :             :         break;
    7135                 :             :       }
    7136                 :    62544254 :     default:;
    7137                 :             :     }
    7138                 :    62544254 :   switch (TREE_CODE (_p1))
    7139                 :             :     {
    7140                 :     3477171 :     case MULT_EXPR:
    7141                 :     3477171 :       {
    7142                 :     3477171 :         tree _q30 = TREE_OPERAND (_p1, 0);
    7143                 :     3477171 :         tree _q31 = TREE_OPERAND (_p1, 1);
    7144                 :     3477171 :         if ((_q30 == _p0 && ! TREE_SIDE_EFFECTS (_q30)) || (operand_equal_p (_q30, _p0, 0) && types_match (_q30, _p0)))
    7145                 :             :           {
    7146                 :        3902 :             {
    7147                 :        3902 :               tree captures[3] ATTRIBUTE_UNUSED = { _p0, _p1, _q31 };
    7148                 :        3902 :               tree res = generic_simplify_26 (loc, type, _p0, _p1, captures, PLUS_EXPR);
    7149                 :        3902 :               if (res) return res;
    7150                 :             :             }
    7151                 :             :           }
    7152                 :     3473316 :         if ((_q31 == _p0 && ! TREE_SIDE_EFFECTS (_q31)) || (operand_equal_p (_q31, _p0, 0) && types_match (_q31, _p0)))
    7153                 :             :           {
    7154                 :           2 :             {
    7155                 :           2 :               tree captures[3] ATTRIBUTE_UNUSED = { _p0, _p1, _q30 };
    7156                 :           2 :               tree res = generic_simplify_26 (loc, type, _p0, _p1, captures, PLUS_EXPR);
    7157                 :           2 :               if (res) return res;
    7158                 :             :             }
    7159                 :             :           }
    7160                 :             :         break;
    7161                 :             :       }
    7162                 :    62540397 :     default:;
    7163                 :             :     }
    7164                 :    62540397 :   switch (TREE_CODE (_p0))
    7165                 :             :     {
    7166                 :    11433897 :     case MULT_EXPR:
    7167                 :    11433897 :       {
    7168                 :    11433897 :         tree _q20 = TREE_OPERAND (_p0, 0);
    7169                 :    11433897 :         tree _q21 = TREE_OPERAND (_p0, 1);
    7170                 :    11433897 :         if ((_p1 == _q20 && ! TREE_SIDE_EFFECTS (_p1)) || (operand_equal_p (_p1, _q20, 0) && types_match (_p1, _q20)))
    7171                 :             :           {
    7172                 :       33034 :             {
    7173                 :       33034 :               tree captures[3] ATTRIBUTE_UNUSED = { _p0, _q20, _q21 };
    7174                 :       33034 :               tree res = generic_simplify_27 (loc, type, _p0, _p1, captures, PLUS_EXPR);
    7175                 :       33034 :               if (res) return res;
    7176                 :             :             }
    7177                 :             :           }
    7178                 :    11401502 :         if ((_p1 == _q21 && ! TREE_SIDE_EFFECTS (_p1)) || (operand_equal_p (_p1, _q21, 0) && types_match (_p1, _q21)))
    7179                 :             :           {
    7180                 :      300907 :             {
    7181                 :      300907 :               tree captures[3] ATTRIBUTE_UNUSED = { _p0, _q21, _q20 };
    7182                 :      300907 :               tree res = generic_simplify_27 (loc, type, _p0, _p1, captures, PLUS_EXPR);
    7183                 :      300907 :               if (res) return res;
    7184                 :             :             }
    7185                 :             :           }
    7186                 :    11101200 :         if (integer_nonzerop (_q20))
    7187                 :             :           {
    7188                 :          99 :             switch (TREE_CODE (_p1))
    7189                 :             :               {
    7190                 :          47 :               case INTEGER_CST:
    7191                 :          47 :                 {
    7192                 :          47 :                   {
    7193                 :          47 :                     tree captures[4] ATTRIBUTE_UNUSED = { _p0, _q20, _q21, _p1 };
    7194                 :          47 :                     tree res = generic_simplify_28 (loc, type, _p0, _p1, captures);
    7195                 :          47 :                     if (res) return res;
    7196                 :             :                   }
    7197                 :          47 :                   break;
    7198                 :             :                 }
    7199                 :             :               default:;
    7200                 :             :               }
    7201                 :             :           }
    7202                 :    11101200 :         if (integer_nonzerop (_q21))
    7203                 :             :           {
    7204                 :     7175751 :             switch (TREE_CODE (_p1))
    7205                 :             :               {
    7206                 :     3503210 :               case INTEGER_CST:
    7207                 :     3503210 :                 {
    7208                 :     3503210 :                   {
    7209                 :     3503210 :                     tree captures[4] ATTRIBUTE_UNUSED = { _p0, _q21, _q20, _p1 };
    7210                 :     3503210 :                     tree res = generic_simplify_28 (loc, type, _p0, _p1, captures);
    7211                 :     3503210 :                     if (res) return res;
    7212                 :             :                   }
    7213                 :     3112507 :                   break;
    7214                 :             :                 }
    7215                 :             :               default:;
    7216                 :             :               }
    7217                 :             :           }
    7218                 :    10710497 :         switch (TREE_CODE (_q20))
    7219                 :             :           {
    7220                 :      187083 :           case MINUS_EXPR:
    7221                 :      187083 :             {
    7222                 :      187083 :               tree _q30 = TREE_OPERAND (_q20, 0);
    7223                 :      187083 :               tree _q31 = TREE_OPERAND (_q20, 1);
    7224                 :      187083 :               if (tree_zero_one_valued_p (_q21))
    7225                 :             :                 {
    7226                 :           0 :                   if ((_p1 == _q31 && ! TREE_SIDE_EFFECTS (_p1)) || (operand_equal_p (_p1, _q31, 0) && types_match (_p1, _q31)))
    7227                 :             :                     {
    7228                 :           0 :                       {
    7229                 :           0 :                         tree captures[3] ATTRIBUTE_UNUSED = { _q31, _q30, _q21 };
    7230                 :           0 :                         tree res = generic_simplify_29 (loc, type, _p0, _p1, captures);
    7231                 :           0 :                         if (res) return res;
    7232                 :             :                       }
    7233                 :             :                     }
    7234                 :             :                 }
    7235                 :             :               break;
    7236                 :             :             }
    7237                 :    10710497 :           default:;
    7238                 :             :           }
    7239                 :    10710497 :       if (tree_zero_one_valued_p (_q20))
    7240                 :             :         {
    7241                 :       37189 :           switch (TREE_CODE (_q21))
    7242                 :             :             {
    7243                 :           9 :             case MINUS_EXPR:
    7244                 :           9 :               {
    7245                 :           9 :                 tree _q40 = TREE_OPERAND (_q21, 0);
    7246                 :           9 :                 tree _q41 = TREE_OPERAND (_q21, 1);
    7247                 :           9 :                 if ((_p1 == _q41 && ! TREE_SIDE_EFFECTS (_p1)) || (operand_equal_p (_p1, _q41, 0) && types_match (_p1, _q41)))
    7248                 :             :                   {
    7249                 :           9 :                     {
    7250                 :           9 :                       tree captures[3] ATTRIBUTE_UNUSED = { _q41, _q40, _q20 };
    7251                 :           9 :                       tree res = generic_simplify_29 (loc, type, _p0, _p1, captures);
    7252                 :           9 :                       if (res) return res;
    7253                 :             :                     }
    7254                 :             :                   }
    7255                 :             :                 break;
    7256                 :             :               }
    7257                 :             :             default:;
    7258                 :             :             }
    7259                 :             :         }
    7260                 :             :         break;
    7261                 :             :       }
    7262                 :        3088 :     case MIN_EXPR:
    7263                 :        3088 :       {
    7264                 :        3088 :         tree _q20 = TREE_OPERAND (_p0, 0);
    7265                 :        3088 :         tree _q21 = TREE_OPERAND (_p0, 1);
    7266                 :        3088 :         switch (TREE_CODE (_p1))
    7267                 :             :           {
    7268                 :           0 :           case MAX_EXPR:
    7269                 :           0 :             {
    7270                 :           0 :               tree _q50 = TREE_OPERAND (_p1, 0);
    7271                 :           0 :               tree _q51 = TREE_OPERAND (_p1, 1);
    7272                 :           0 :               if ((_q50 == _q20 && ! TREE_SIDE_EFFECTS (_q50)) || (operand_equal_p (_q50, _q20, 0) && types_match (_q50, _q20)))
    7273                 :             :                 {
    7274                 :           0 :                   if ((_q51 == _q21 && ! TREE_SIDE_EFFECTS (_q51)) || (operand_equal_p (_q51, _q21, 0) && types_match (_q51, _q21)))
    7275                 :             :                     {
    7276                 :           0 :                       {
    7277                 :           0 :                         tree captures[2] ATTRIBUTE_UNUSED = { _q20, _q21 };
    7278                 :           0 :                         if (!HONOR_NANS (captures[0])
    7279                 :             : )
    7280                 :             :                           {
    7281                 :           0 :                             if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail1293;
    7282                 :           0 :                             {
    7283                 :           0 :                               tree res_op0;
    7284                 :           0 :                               res_op0 = captures[0];
    7285                 :           0 :                               tree res_op1;
    7286                 :           0 :                               res_op1 = captures[1];
    7287                 :           0 :                               tree _r;
    7288                 :           0 :                               _r = fold_build2_loc (loc, PLUS_EXPR, type, res_op0, res_op1);
    7289                 :           0 :                               if (UNLIKELY (debug_dump)) generic_dump_logs ("match.pd", 904, __FILE__, __LINE__, true);
    7290                 :           0 :                               return _r;
    7291                 :             :                             }
    7292                 :           0 : next_after_fail1293:;
    7293                 :             :                           }
    7294                 :             :                       }
    7295                 :             :                     }
    7296                 :             :                 }
    7297                 :           0 :               if ((_q50 == _q21 && ! TREE_SIDE_EFFECTS (_q50)) || (operand_equal_p (_q50, _q21, 0) && types_match (_q50, _q21)))
    7298                 :             :                 {
    7299                 :           0 :                   if ((_q51 == _q20 && ! TREE_SIDE_EFFECTS (_q51)) || (operand_equal_p (_q51, _q20, 0) && types_match (_q51, _q20)))
    7300                 :             :                     {
    7301                 :           0 :                       {
    7302                 :           0 :                         tree captures[2] ATTRIBUTE_UNUSED = { _q21, _q20 };
    7303                 :           0 :                         if (!HONOR_NANS (captures[0])
    7304                 :             : )
    7305                 :             :                           {
    7306                 :           0 :                             if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail1294;
    7307                 :           0 :                             {
    7308                 :           0 :                               tree res_op0;
    7309                 :           0 :                               res_op0 = captures[0];
    7310                 :           0 :                               tree res_op1;
    7311                 :           0 :                               res_op1 = captures[1];
    7312                 :           0 :                               tree _r;
    7313                 :           0 :                               _r = fold_build2_loc (loc, PLUS_EXPR, type, res_op0, res_op1);
    7314                 :           0 :                               if (UNLIKELY (debug_dump)) generic_dump_logs ("match.pd", 904, __FILE__, __LINE__, true);
    7315                 :           0 :                               return _r;
    7316                 :             :                             }
    7317                 :           0 : next_after_fail1294:;
    7318                 :             :                           }
    7319                 :             :                       }
    7320                 :             :                     }
    7321                 :             :                 }
    7322                 :             :               break;
    7323                 :             :             }
    7324                 :             :           default:;
    7325                 :             :           }
    7326                 :             :         break;
    7327                 :             :       }
    7328                 :       11657 :     case MAX_EXPR:
    7329                 :       11657 :       {
    7330                 :       11657 :         tree _q20 = TREE_OPERAND (_p0, 0);
    7331                 :       11657 :         tree _q21 = TREE_OPERAND (_p0, 1);
    7332                 :       11657 :         switch (TREE_CODE (_p1))
    7333                 :             :           {
    7334                 :           0 :           case MIN_EXPR:
    7335                 :           0 :             {
    7336                 :           0 :               tree _q50 = TREE_OPERAND (_p1, 0);
    7337                 :           0 :               tree _q51 = TREE_OPERAND (_p1, 1);
    7338                 :           0 :               if ((_q50 == _q20 && ! TREE_SIDE_EFFECTS (_q50)) || (operand_equal_p (_q50, _q20, 0) && types_match (_q50, _q20)))
    7339                 :             :                 {
    7340                 :           0 :                   if ((_q51 == _q21 && ! TREE_SIDE_EFFECTS (_q51)) || (operand_equal_p (_q51, _q21, 0) && types_match (_q51, _q21)))
    7341                 :             :                     {
    7342                 :           0 :                       {
    7343                 :           0 :                         tree captures[2] ATTRIBUTE_UNUSED = { _q20, _q21 };
    7344                 :           0 :                         if (!HONOR_NANS (captures[0])
    7345                 :             : )
    7346                 :             :                           {
    7347                 :           0 :                             if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail1295;
    7348                 :           0 :                             {
    7349                 :           0 :                               tree res_op0;
    7350                 :           0 :                               res_op0 = captures[0];
    7351                 :           0 :                               tree res_op1;
    7352                 :           0 :                               res_op1 = captures[1];
    7353                 :           0 :                               tree _r;
    7354                 :           0 :                               _r = fold_build2_loc (loc, PLUS_EXPR, type, res_op0, res_op1);
    7355                 :           0 :                               if (UNLIKELY (debug_dump)) generic_dump_logs ("match.pd", 904, __FILE__, __LINE__, true);
    7356                 :           0 :                               return _r;
    7357                 :             :                             }
    7358                 :           0 : next_after_fail1295:;
    7359                 :             :                           }
    7360                 :             :                       }
    7361                 :             :                     }
    7362                 :             :                 }
    7363                 :           0 :               if ((_q50 == _q21 && ! TREE_SIDE_EFFECTS (_q50)) || (operand_equal_p (_q50, _q21, 0) && types_match (_q50, _q21)))
    7364                 :             :                 {
    7365                 :           0 :                   if ((_q51 == _q20 && ! TREE_SIDE_EFFECTS (_q51)) || (operand_equal_p (_q51, _q20, 0) && types_match (_q51, _q20)))
    7366                 :             :                     {
    7367                 :           0 :                       {
    7368                 :           0 :                         tree captures[2] ATTRIBUTE_UNUSED = { _q20, _q21 };
    7369                 :           0 :                         if (!HONOR_NANS (captures[0])
    7370                 :             : )
    7371                 :             :                           {
    7372                 :           0 :                             if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail1296;
    7373                 :           0 :                             {
    7374                 :           0 :                               tree res_op0;
    7375                 :           0 :                               res_op0 = captures[0];
    7376                 :           0 :                               tree res_op1;
    7377                 :           0 :                               res_op1 = captures[1];
    7378                 :           0 :                               tree _r;
    7379                 :           0 :                               _r = fold_build2_loc (loc, PLUS_EXPR, type, res_op0, res_op1);
    7380                 :           0 :                               if (UNLIKELY (debug_dump)) generic_dump_logs ("match.pd", 904, __FILE__, __LINE__, true);
    7381                 :           0 :                               return _r;
    7382                 :             :                             }
    7383                 :           0 : next_after_fail1296:;
    7384                 :             :                           }
    7385                 :             :                       }
    7386                 :             :                     }
    7387                 :             :                 }
    7388                 :             :               break;
    7389                 :             :             }
    7390                 :             :           default:;
    7391                 :             :           }
    7392                 :             :         break;
    7393                 :             :       }
    7394                 :    61816995 :     default:;
    7395                 :             :     }
    7396                 :    61816995 :   switch (TREE_CODE (_p1))
    7397                 :             :     {
    7398                 :     3473250 :     case MULT_EXPR:
    7399                 :     3473250 :       {
    7400                 :     3473250 :         tree _q30 = TREE_OPERAND (_p1, 0);
    7401                 :     3473250 :         tree _q31 = TREE_OPERAND (_p1, 1);
    7402                 :     3473250 :         switch (TREE_CODE (_q30))
    7403                 :             :           {
    7404                 :      112248 :           case MINUS_EXPR:
    7405                 :      112248 :             {
    7406                 :      112248 :               tree _q40 = TREE_OPERAND (_q30, 0);
    7407                 :      112248 :               tree _q41 = TREE_OPERAND (_q30, 1);
    7408                 :      112248 :               if ((_q41 == _p0 && ! TREE_SIDE_EFFECTS (_q41)) || (operand_equal_p (_q41, _p0, 0) && types_match (_q41, _p0)))
    7409                 :             :                 {
    7410                 :          16 :                   if (tree_zero_one_valued_p (_q31))
    7411                 :             :                     {
    7412                 :           0 :                       {
    7413                 :           0 :                         tree captures[3] ATTRIBUTE_UNUSED = { _p0, _q40, _q31 };
    7414                 :           0 :                         tree res = generic_simplify_29 (loc, type, _p0, _p1, captures);
    7415                 :           0 :                         if (res) return res;
    7416                 :             :                       }
    7417                 :             :                     }
    7418                 :             :                 }
    7419                 :             :               break;
    7420                 :             :             }
    7421                 :     3473250 :           default:;
    7422                 :             :           }
    7423                 :     3473250 :       if (tree_zero_one_valued_p (_q30))
    7424                 :             :         {
    7425                 :       13905 :           switch (TREE_CODE (_q31))
    7426                 :             :             {
    7427                 :           0 :             case MINUS_EXPR:
    7428                 :           0 :               {
    7429                 :           0 :                 tree _q50 = TREE_OPERAND (_q31, 0);
    7430                 :           0 :                 tree _q51 = TREE_OPERAND (_q31, 1);
    7431                 :           0 :                 if ((_q51 == _p0 && ! TREE_SIDE_EFFECTS (_q51)) || (operand_equal_p (_q51, _p0, 0) && types_match (_q51, _p0)))
    7432                 :             :                   {
    7433                 :           0 :                     {
    7434                 :           0 :                       tree captures[3] ATTRIBUTE_UNUSED = { _p0, _q50, _q30 };
    7435                 :           0 :                       tree res = generic_simplify_29 (loc, type, _p0, _p1, captures);
    7436                 :           0 :                       if (res) return res;
    7437                 :             :                     }
    7438                 :             :                   }
    7439                 :             :                 break;
    7440                 :             :               }
    7441                 :             :             default:;
    7442                 :             :             }
    7443                 :             :         }
    7444                 :             :         break;
    7445                 :             :       }
    7446                 :    61816995 :     default:;
    7447                 :             :     }
    7448                 :    61816995 :   switch (TREE_CODE (_p0))
    7449                 :             :     {
    7450                 :    10710495 :     case MULT_EXPR:
    7451                 :    10710495 :       {
    7452                 :    10710495 :         tree _q20 = TREE_OPERAND (_p0, 0);
    7453                 :    10710495 :         tree _q21 = TREE_OPERAND (_p0, 1);
    7454                 :    10710495 :         switch (TREE_CODE (_q20))
    7455                 :             :           {
    7456                 :       18724 :           case TRUNC_DIV_EXPR:
    7457                 :       18724 :             {
    7458                 :       18724 :               tree _q30 = TREE_OPERAND (_q20, 0);
    7459                 :       18724 :               tree _q31 = TREE_OPERAND (_q20, 1);
    7460                 :       18724 :               if ((_q21 == _q31 && ! TREE_SIDE_EFFECTS (_q21)) || (operand_equal_p (_q21, _q31, 0) && types_match (_q21, _q31)))
    7461                 :             :                 {
    7462                 :        2326 :                   switch (TREE_CODE (_p1))
    7463                 :             :                     {
    7464                 :           2 :                     case TRUNC_MOD_EXPR:
    7465                 :           2 :                       {
    7466                 :           2 :                         tree _q70 = TREE_OPERAND (_p1, 0);
    7467                 :           2 :                         tree _q71 = TREE_OPERAND (_p1, 1);
    7468                 :           2 :                         if ((_q70 == _q30 && ! TREE_SIDE_EFFECTS (_q70)) || (operand_equal_p (_q70, _q30, 0) && types_match (_q70, _q30)))
    7469                 :             :                           {
    7470                 :           2 :                             if ((_q71 == _q31 && ! TREE_SIDE_EFFECTS (_q71)) || (operand_equal_p (_q71, _q31, 0) && types_match (_q71, _q31)))
    7471                 :             :                               {
    7472                 :           2 :                                 {
    7473                 :           2 :                                   tree captures[2] ATTRIBUTE_UNUSED = { _q30, _q31 };
    7474                 :           2 :                                   tree res = generic_simplify_30 (loc, type, _p0, _p1, captures, TRUNC_DIV_EXPR, TRUNC_MOD_EXPR);
    7475                 :           2 :                                   if (res) return res;
    7476                 :             :                                 }
    7477                 :             :                               }
    7478                 :             :                           }
    7479                 :             :                         break;
    7480                 :             :                       }
    7481                 :             :                     default:;
    7482                 :             :                     }
    7483                 :             :                 }
    7484                 :             :               break;
    7485                 :             :             }
    7486                 :           0 :           case CEIL_DIV_EXPR:
    7487                 :           0 :             {
    7488                 :           0 :               tree _q30 = TREE_OPERAND (_q20, 0);
    7489                 :           0 :               tree _q31 = TREE_OPERAND (_q20, 1);
    7490                 :           0 :               if ((_q21 == _q31 && ! TREE_SIDE_EFFECTS (_q21)) || (operand_equal_p (_q21, _q31, 0) && types_match (_q21, _q31)))
    7491                 :             :                 {
    7492                 :           0 :                   switch (TREE_CODE (_p1))
    7493                 :             :                     {
    7494                 :           0 :                     case CEIL_MOD_EXPR:
    7495                 :           0 :                       {
    7496                 :           0 :                         tree _q70 = TREE_OPERAND (_p1, 0);
    7497                 :           0 :                         tree _q71 = TREE_OPERAND (_p1, 1);
    7498                 :           0 :                         if ((_q70 == _q30 && ! TREE_SIDE_EFFECTS (_q70)) || (operand_equal_p (_q70, _q30, 0) && types_match (_q70, _q30)))
    7499                 :             :                           {
    7500                 :           0 :                             if ((_q71 == _q31 && ! TREE_SIDE_EFFECTS (_q71)) || (operand_equal_p (_q71, _q31, 0) && types_match (_q71, _q31)))
    7501                 :             :                               {
    7502                 :           0 :                                 {
    7503                 :           0 :                                   tree captures[2] ATTRIBUTE_UNUSED = { _q30, _q31 };
    7504                 :           0 :                                   tree res = generic_simplify_30 (loc, type, _p0, _p1, captures, CEIL_DIV_EXPR, CEIL_MOD_EXPR);
    7505                 :           0 :                                   if (res) return res;
    7506                 :             :                                 }
    7507                 :             :                               }
    7508                 :             :                           }
    7509                 :             :                         break;
    7510                 :             :                       }
    7511                 :             :                     default:;
    7512                 :             :                     }
    7513                 :             :                 }
    7514                 :             :               break;
    7515                 :             :             }
    7516                 :           0 :           case FLOOR_DIV_EXPR:
    7517                 :           0 :             {
    7518                 :           0 :               tree _q30 = TREE_OPERAND (_q20, 0);
    7519                 :           0 :               tree _q31 = TREE_OPERAND (_q20, 1);
    7520                 :           0 :               if ((_q21 == _q31 && ! TREE_SIDE_EFFECTS (_q21)) || (operand_equal_p (_q21, _q31, 0) && types_match (_q21, _q31)))
    7521                 :             :                 {
    7522                 :           0 :                   switch (TREE_CODE (_p1))
    7523                 :             :                     {
    7524                 :           0 :                     case FLOOR_MOD_EXPR:
    7525                 :           0 :                       {
    7526                 :           0 :                         tree _q70 = TREE_OPERAND (_p1, 0);
    7527                 :           0 :                         tree _q71 = TREE_OPERAND (_p1, 1);
    7528                 :           0 :                         if ((_q70 == _q30 && ! TREE_SIDE_EFFECTS (_q70)) || (operand_equal_p (_q70, _q30, 0) && types_match (_q70, _q30)))
    7529                 :             :                           {
    7530                 :           0 :                             if ((_q71 == _q31 && ! TREE_SIDE_EFFECTS (_q71)) || (operand_equal_p (_q71, _q31, 0) && types_match (_q71, _q31)))
    7531                 :             :                               {
    7532                 :           0 :                                 {
    7533                 :           0 :                                   tree captures[2] ATTRIBUTE_UNUSED = { _q30, _q31 };
    7534                 :           0 :                                   tree res = generic_simplify_30 (loc, type, _p0, _p1, captures, FLOOR_DIV_EXPR, FLOOR_MOD_EXPR);
    7535                 :           0 :                                   if (res) return res;
    7536                 :             :                                 }
    7537                 :             :                               }
    7538                 :             :                           }
    7539                 :             :                         break;
    7540                 :             :                       }
    7541                 :             :                     default:;
    7542                 :             :                     }
    7543                 :             :                 }
    7544                 :             :               break;
    7545                 :             :             }
    7546                 :           0 :           case ROUND_DIV_EXPR:
    7547                 :           0 :             {
    7548                 :           0 :               tree _q30 = TREE_OPERAND (_q20, 0);
    7549                 :           0 :               tree _q31 = TREE_OPERAND (_q20, 1);
    7550                 :           0 :               if ((_q21 == _q31 && ! TREE_SIDE_EFFECTS (_q21)) || (operand_equal_p (_q21, _q31, 0) && types_match (_q21, _q31)))
    7551                 :             :                 {
    7552                 :           0 :                   switch (TREE_CODE (_p1))
    7553                 :             :                     {
    7554                 :           0 :                     case ROUND_MOD_EXPR:
    7555                 :           0 :                       {
    7556                 :           0 :                         tree _q70 = TREE_OPERAND (_p1, 0);
    7557                 :           0 :                         tree _q71 = TREE_OPERAND (_p1, 1);
    7558                 :           0 :                         if ((_q70 == _q30 && ! TREE_SIDE_EFFECTS (_q70)) || (operand_equal_p (_q70, _q30, 0) && types_match (_q70, _q30)))
    7559                 :             :                           {
    7560                 :           0 :                             if ((_q71 == _q31 && ! TREE_SIDE_EFFECTS (_q71)) || (operand_equal_p (_q71, _q31, 0) && types_match (_q71, _q31)))
    7561                 :             :                               {
    7562                 :           0 :                                 {
    7563                 :           0 :                                   tree captures[2] ATTRIBUTE_UNUSED = { _q30, _q31 };
    7564                 :           0 :                                   tree res = generic_simplify_30 (loc, type, _p0, _p1, captures, ROUND_DIV_EXPR, ROUND_MOD_EXPR);
    7565                 :           0 :                                   if (res) return res;
    7566                 :             :                                 }
    7567                 :             :                               }
    7568                 :             :                           }
    7569                 :             :                         break;
    7570                 :             :                       }
    7571                 :             :                     default:;
    7572                 :             :                     }
    7573                 :             :                 }
    7574                 :             :               break;
    7575                 :             :             }
    7576                 :    10710493 :           default:;
    7577                 :             :           }
    7578                 :    10710493 :         switch (TREE_CODE (_q21))
    7579                 :             :           {
    7580                 :           5 :           case TRUNC_DIV_EXPR:
    7581                 :           5 :             {
    7582                 :           5 :               tree _q40 = TREE_OPERAND (_q21, 0);
    7583                 :           5 :               tree _q41 = TREE_OPERAND (_q21, 1);
    7584                 :           5 :               if ((_q41 == _q20 && ! TREE_SIDE_EFFECTS (_q41)) || (operand_equal_p (_q41, _q20, 0) && types_match (_q41, _q20)))
    7585                 :             :                 {
    7586                 :           0 :                   switch (TREE_CODE (_p1))
    7587                 :             :                     {
    7588                 :           0 :                     case TRUNC_MOD_EXPR:
    7589                 :           0 :                       {
    7590                 :           0 :                         tree _q70 = TREE_OPERAND (_p1, 0);
    7591                 :           0 :                         tree _q71 = TREE_OPERAND (_p1, 1);
    7592                 :           0 :                         if ((_q70 == _q40 && ! TREE_SIDE_EFFECTS (_q70)) || (operand_equal_p (_q70, _q40, 0) && types_match (_q70, _q40)))
    7593                 :             :                           {
    7594                 :           0 :                             if ((_q71 == _q20 && ! TREE_SIDE_EFFECTS (_q71)) || (operand_equal_p (_q71, _q20, 0) && types_match (_q71, _q20)))
    7595                 :             :                               {
    7596                 :           0 :                                 {
    7597                 :           0 :                                   tree captures[2] ATTRIBUTE_UNUSED = { _q40, _q20 };
    7598                 :           0 :                                   tree res = generic_simplify_30 (loc, type, _p0, _p1, captures, TRUNC_DIV_EXPR, TRUNC_MOD_EXPR);
    7599                 :           0 :                                   if (res) return res;
    7600                 :             :                                 }
    7601                 :             :                               }
    7602                 :             :                           }
    7603                 :             :                         break;
    7604                 :             :                       }
    7605                 :             :                     default:;
    7606                 :             :                     }
    7607                 :             :                 }
    7608                 :             :               break;
    7609                 :             :             }
    7610                 :           4 :           case CEIL_DIV_EXPR:
    7611                 :           4 :             {
    7612                 :           4 :               tree _q40 = TREE_OPERAND (_q21, 0);
    7613                 :           4 :               tree _q41 = TREE_OPERAND (_q21, 1);
    7614                 :           4 :               if ((_q41 == _q20 && ! TREE_SIDE_EFFECTS (_q41)) || (operand_equal_p (_q41, _q20, 0) && types_match (_q41, _q20)))
    7615                 :             :                 {
    7616                 :           0 :                   switch (TREE_CODE (_p1))
    7617                 :             :                     {
    7618                 :           0 :                     case CEIL_MOD_EXPR:
    7619                 :           0 :                       {
    7620                 :           0 :                         tree _q70 = TREE_OPERAND (_p1, 0);
    7621                 :           0 :                         tree _q71 = TREE_OPERAND (_p1, 1);
    7622                 :           0 :                         if ((_q70 == _q40 && ! TREE_SIDE_EFFECTS (_q70)) || (operand_equal_p (_q70, _q40, 0) && types_match (_q70, _q40)))
    7623                 :             :                           {
    7624                 :           0 :                             if ((_q71 == _q20 && ! TREE_SIDE_EFFECTS (_q71)) || (operand_equal_p (_q71, _q20, 0) && types_match (_q71, _q20)))
    7625                 :             :                               {
    7626                 :           0 :                                 {
    7627                 :           0 :                                   tree captures[2] ATTRIBUTE_UNUSED = { _q40, _q20 };
    7628                 :           0 :                                   tree res = generic_simplify_30 (loc, type, _p0, _p1, captures, CEIL_DIV_EXPR, CEIL_MOD_EXPR);
    7629                 :           0 :                                   if (res) return res;
    7630                 :             :                                 }
    7631                 :             :                               }
    7632                 :             :                           }
    7633                 :             :                         break;
    7634                 :             :                       }
    7635                 :             :                     default:;
    7636                 :             :                     }
    7637                 :             :                 }
    7638                 :             :               break;
    7639                 :             :             }
    7640                 :           0 :           case FLOOR_DIV_EXPR:
    7641                 :           0 :             {
    7642                 :           0 :               tree _q40 = TREE_OPERAND (_q21, 0);
    7643                 :           0 :               tree _q41 = TREE_OPERAND (_q21, 1);
    7644                 :           0 :               if ((_q41 == _q20 && ! TREE_SIDE_EFFECTS (_q41)) || (operand_equal_p (_q41, _q20, 0) && types_match (_q41, _q20)))
    7645                 :             :                 {
    7646                 :           0 :                   switch (TREE_CODE (_p1))
    7647                 :             :                     {
    7648                 :           0 :                     case FLOOR_MOD_EXPR:
    7649                 :           0 :                       {
    7650                 :           0 :                         tree _q70 = TREE_OPERAND (_p1, 0);
    7651                 :           0 :                         tree _q71 = TREE_OPERAND (_p1, 1);
    7652                 :           0 :                         if ((_q70 == _q40 && ! TREE_SIDE_EFFECTS (_q70)) || (operand_equal_p (_q70, _q40, 0) && types_match (_q70, _q40)))
    7653                 :             :                           {
    7654                 :           0 :                             if ((_q71 == _q20 && ! TREE_SIDE_EFFECTS (_q71)) || (operand_equal_p (_q71, _q20, 0) && types_match (_q71, _q20)))
    7655                 :             :                               {
    7656                 :           0 :                                 {
    7657                 :           0 :                                   tree captures[2] ATTRIBUTE_UNUSED = { _q40, _q20 };
    7658                 :           0 :                                   tree res = generic_simplify_30 (loc, type, _p0, _p1, captures, FLOOR_DIV_EXPR, FLOOR_MOD_EXPR);
    7659                 :           0 :                                   if (res) return res;
    7660                 :             :                                 }
    7661                 :             :                               }
    7662                 :             :                           }
    7663                 :             :                         break;
    7664                 :             :                       }
    7665                 :             :                     default:;
    7666                 :             :                     }
    7667                 :             :                 }
    7668                 :             :               break;
    7669                 :             :             }
    7670                 :           0 :           case ROUND_DIV_EXPR:
    7671                 :           0 :             {
    7672                 :           0 :               tree _q40 = TREE_OPERAND (_q21, 0);
    7673                 :           0 :               tree _q41 = TREE_OPERAND (_q21, 1);
    7674                 :           0 :               if ((_q41 == _q20 && ! TREE_SIDE_EFFECTS (_q41)) || (operand_equal_p (_q41, _q20, 0) && types_match (_q41, _q20)))
    7675                 :             :                 {
    7676                 :           0 :                   switch (TREE_CODE (_p1))
    7677                 :             :                     {
    7678                 :           0 :                     case ROUND_MOD_EXPR:
    7679                 :           0 :                       {
    7680                 :           0 :                         tree _q70 = TREE_OPERAND (_p1, 0);
    7681                 :           0 :                         tree _q71 = TREE_OPERAND (_p1, 1);
    7682                 :           0 :                         if ((_q70 == _q40 && ! TREE_SIDE_EFFECTS (_q70)) || (operand_equal_p (_q70, _q40, 0) && types_match (_q70, _q40)))
    7683                 :             :                           {
    7684                 :           0 :                             if ((_q71 == _q20 && ! TREE_SIDE_EFFECTS (_q71)) || (operand_equal_p (_q71, _q20, 0) && types_match (_q71, _q20)))
    7685                 :             :                               {
    7686                 :           0 :                                 {
    7687                 :           0 :                                   tree captures[2] ATTRIBUTE_UNUSED = { _q40, _q20 };
    7688                 :           0 :                                   tree res = generic_simplify_30 (loc, type, _p0, _p1, captures, ROUND_DIV_EXPR, ROUND_MOD_EXPR);
    7689                 :           0 :                                   if (res) return res;
    7690                 :             :                                 }
    7691                 :             :                               }
    7692                 :             :                           }
    7693                 :             :                         break;
    7694                 :             :                       }
    7695                 :             :                     default:;
    7696                 :             :                     }
    7697                 :             :                 }
    7698                 :             :               break;
    7699                 :             :             }
    7700                 :             :           default:;
    7701                 :             :           }
    7702                 :             :         break;
    7703                 :             :       }
    7704                 :        9803 :     case TRUNC_MOD_EXPR:
    7705                 :        9803 :       {
    7706                 :        9803 :         tree _q20 = TREE_OPERAND (_p0, 0);
    7707                 :        9803 :         tree _q21 = TREE_OPERAND (_p0, 1);
    7708                 :        9803 :         switch (TREE_CODE (_p1))
    7709                 :             :           {
    7710                 :         119 :           case MULT_EXPR:
    7711                 :         119 :             {
    7712                 :         119 :               tree _q50 = TREE_OPERAND (_p1, 0);
    7713                 :         119 :               tree _q51 = TREE_OPERAND (_p1, 1);
    7714                 :         119 :               switch (TREE_CODE (_q50))
    7715                 :             :                 {
    7716                 :         106 :                 case TRUNC_DIV_EXPR:
    7717                 :         106 :                   {
    7718                 :         106 :                     tree _q60 = TREE_OPERAND (_q50, 0);
    7719                 :         106 :                     tree _q61 = TREE_OPERAND (_q50, 1);
    7720                 :         106 :                     if ((_q60 == _q20 && ! TREE_SIDE_EFFECTS (_q60)) || (operand_equal_p (_q60, _q20, 0) && types_match (_q60, _q20)))
    7721                 :             :                       {
    7722                 :         106 :                         if ((_q61 == _q21 && ! TREE_SIDE_EFFECTS (_q61)) || (operand_equal_p (_q61, _q21, 0) && types_match (_q61, _q21)))
    7723                 :             :                           {
    7724                 :          94 :                             if ((_q51 == _q21 && ! TREE_SIDE_EFFECTS (_q51)) || (operand_equal_p (_q51, _q21, 0) && types_match (_q51, _q21)))
    7725                 :             :                               {
    7726                 :           0 :                                 {
    7727                 :           0 :                                   tree captures[2] ATTRIBUTE_UNUSED = { _q20, _q21 };
    7728                 :           0 :                                   tree res = generic_simplify_30 (loc, type, _p0, _p1, captures, TRUNC_DIV_EXPR, TRUNC_MOD_EXPR);
    7729                 :           0 :                                   if (res) return res;
    7730                 :             :                                 }
    7731                 :             :                               }
    7732                 :             :                           }
    7733                 :             :                       }
    7734                 :             :                     break;
    7735                 :             :                   }
    7736                 :         119 :                 default:;
    7737                 :             :                 }
    7738                 :         119 :               if ((_q50 == _q21 && ! TREE_SIDE_EFFECTS (_q50)) || (operand_equal_p (_q50, _q21, 0) && types_match (_q50, _q21)))
    7739                 :             :                 {
    7740                 :           0 :                   switch (TREE_CODE (_q51))
    7741                 :             :                     {
    7742                 :           0 :                     case TRUNC_DIV_EXPR:
    7743                 :           0 :                       {
    7744                 :           0 :                         tree _q70 = TREE_OPERAND (_q51, 0);
    7745                 :           0 :                         tree _q71 = TREE_OPERAND (_q51, 1);
    7746                 :           0 :                         if ((_q70 == _q20 && ! TREE_SIDE_EFFECTS (_q70)) || (operand_equal_p (_q70, _q20, 0) && types_match (_q70, _q20)))
    7747                 :             :                           {
    7748                 :           0 :                             if ((_q71 == _q21 && ! TREE_SIDE_EFFECTS (_q71)) || (operand_equal_p (_q71, _q21, 0) && types_match (_q71, _q21)))
    7749                 :             :                               {
    7750                 :           0 :                                 {
    7751                 :           0 :                                   tree captures[2] ATTRIBUTE_UNUSED = { _q20, _q21 };
    7752                 :           0 :                                   tree res = generic_simplify_30 (loc, type, _p0, _p1, captures, TRUNC_DIV_EXPR, TRUNC_MOD_EXPR);
    7753                 :           0 :                                   if (res) return res;
    7754                 :             :                                 }
    7755                 :             :                               }
    7756                 :             :                           }
    7757                 :             :                         break;
    7758                 :             :                       }
    7759                 :             :                     default:;
    7760                 :             :                     }
    7761                 :             :                 }
    7762                 :             :               break;
    7763                 :             :             }
    7764                 :             :           default:;
    7765                 :             :           }
    7766                 :             :         break;
    7767                 :             :       }
    7768                 :           0 :     case CEIL_MOD_EXPR:
    7769                 :           0 :       {
    7770                 :           0 :         tree _q20 = TREE_OPERAND (_p0, 0);
    7771                 :           0 :         tree _q21 = TREE_OPERAND (_p0, 1);
    7772                 :           0 :         switch (TREE_CODE (_p1))
    7773                 :             :           {
    7774                 :           0 :           case MULT_EXPR:
    7775                 :           0 :             {
    7776                 :           0 :               tree _q50 = TREE_OPERAND (_p1, 0);
    7777                 :           0 :               tree _q51 = TREE_OPERAND (_p1, 1);
    7778                 :           0 :               switch (TREE_CODE (_q50))
    7779                 :             :                 {
    7780                 :           0 :                 case CEIL_DIV_EXPR:
    7781                 :           0 :                   {
    7782                 :           0 :                     tree _q60 = TREE_OPERAND (_q50, 0);
    7783                 :           0 :                     tree _q61 = TREE_OPERAND (_q50, 1);
    7784                 :           0 :                     if ((_q60 == _q20 && ! TREE_SIDE_EFFECTS (_q60)) || (operand_equal_p (_q60, _q20, 0) && types_match (_q60, _q20)))
    7785                 :             :                       {
    7786                 :           0 :                         if ((_q61 == _q21 && ! TREE_SIDE_EFFECTS (_q61)) || (operand_equal_p (_q61, _q21, 0) && types_match (_q61, _q21)))
    7787                 :             :                           {
    7788                 :           0 :                             if ((_q51 == _q21 && ! TREE_SIDE_EFFECTS (_q51)) || (operand_equal_p (_q51, _q21, 0) && types_match (_q51, _q21)))
    7789                 :             :                               {
    7790                 :           0 :                                 {
    7791                 :           0 :                                   tree captures[2] ATTRIBUTE_UNUSED = { _q20, _q21 };
    7792                 :           0 :                                   tree res = generic_simplify_30 (loc, type, _p0, _p1, captures, CEIL_DIV_EXPR, CEIL_MOD_EXPR);
    7793                 :           0 :                                   if (res) return res;
    7794                 :             :                                 }
    7795                 :             :                               }
    7796                 :             :                           }
    7797                 :             :                       }
    7798                 :             :                     break;
    7799                 :             :                   }
    7800                 :           0 :                 default:;
    7801                 :             :                 }
    7802                 :           0 :               if ((_q50 == _q21 && ! TREE_SIDE_EFFECTS (_q50)) || (operand_equal_p (_q50, _q21, 0) && types_match (_q50, _q21)))
    7803                 :             :                 {
    7804                 :           0 :                   switch (TREE_CODE (_q51))
    7805                 :             :                     {
    7806                 :           0 :                     case CEIL_DIV_EXPR:
    7807                 :           0 :                       {
    7808                 :           0 :                         tree _q70 = TREE_OPERAND (_q51, 0);
    7809                 :           0 :                         tree _q71 = TREE_OPERAND (_q51, 1);
    7810                 :           0 :                         if ((_q70 == _q20 && ! TREE_SIDE_EFFECTS (_q70)) || (operand_equal_p (_q70, _q20, 0) && types_match (_q70, _q20)))
    7811                 :             :                           {
    7812                 :           0 :                             if ((_q71 == _q21 && ! TREE_SIDE_EFFECTS (_q71)) || (operand_equal_p (_q71, _q21, 0) && types_match (_q71, _q21)))
    7813                 :             :                               {
    7814                 :           0 :                                 {
    7815                 :           0 :                                   tree captures[2] ATTRIBUTE_UNUSED = { _q20, _q21 };
    7816                 :           0 :                                   tree res = generic_simplify_30 (loc, type, _p0, _p1, captures, CEIL_DIV_EXPR, CEIL_MOD_EXPR);
    7817                 :           0 :                                   if (res) return res;
    7818                 :             :                                 }
    7819                 :             :                               }
    7820                 :             :                           }
    7821                 :             :                         break;
    7822                 :             :                       }
    7823                 :             :                     default:;
    7824                 :             :                     }
    7825                 :             :                 }
    7826                 :             :               break;
    7827                 :             :             }
    7828                 :             :           default:;
    7829                 :             :           }
    7830                 :             :         break;
    7831                 :             :       }
    7832                 :         118 :     case FLOOR_MOD_EXPR:
    7833                 :         118 :       {
    7834                 :         118 :         tree _q20 = TREE_OPERAND (_p0, 0);
    7835                 :         118 :         tree _q21 = TREE_OPERAND (_p0, 1);
    7836                 :         118 :         switch (TREE_CODE (_p1))
    7837                 :             :           {
    7838                 :           0 :           case MULT_EXPR:
    7839                 :           0 :             {
    7840                 :           0 :               tree _q50 = TREE_OPERAND (_p1, 0);
    7841                 :           0 :               tree _q51 = TREE_OPERAND (_p1, 1);
    7842                 :           0 :               switch (TREE_CODE (_q50))
    7843                 :             :                 {
    7844                 :           0 :                 case FLOOR_DIV_EXPR:
    7845                 :           0 :                   {
    7846                 :           0 :                     tree _q60 = TREE_OPERAND (_q50, 0);
    7847                 :           0 :                     tree _q61 = TREE_OPERAND (_q50, 1);
    7848                 :           0 :                     if ((_q60 == _q20 && ! TREE_SIDE_EFFECTS (_q60)) || (operand_equal_p (_q60, _q20, 0) && types_match (_q60, _q20)))
    7849                 :             :                       {
    7850                 :           0 :                         if ((_q61 == _q21 && ! TREE_SIDE_EFFECTS (_q61)) || (operand_equal_p (_q61, _q21, 0) && types_match (_q61, _q21)))
    7851                 :             :                           {
    7852                 :           0 :                             if ((_q51 == _q21 && ! TREE_SIDE_EFFECTS (_q51)) || (operand_equal_p (_q51, _q21, 0) && types_match (_q51, _q21)))
    7853                 :             :                               {
    7854                 :           0 :                                 {
    7855                 :           0 :                                   tree captures[2] ATTRIBUTE_UNUSED = { _q20, _q21 };
    7856                 :           0 :                                   tree res = generic_simplify_30 (loc, type, _p0, _p1, captures, FLOOR_DIV_EXPR, FLOOR_MOD_EXPR);
    7857                 :           0 :                                   if (res) return res;
    7858                 :             :                                 }
    7859                 :             :                               }
    7860                 :             :                           }
    7861                 :             :                       }
    7862                 :             :                     break;
    7863                 :             :                   }
    7864                 :           0 :                 default:;
    7865                 :             :                 }
    7866                 :           0 :               if ((_q50 == _q21 && ! TREE_SIDE_EFFECTS (_q50)) || (operand_equal_p (_q50, _q21, 0) && types_match (_q50, _q21)))
    7867                 :             :                 {
    7868                 :           0 :                   switch (TREE_CODE (_q51))
    7869                 :             :                     {
    7870                 :           0 :                     case FLOOR_DIV_EXPR:
    7871                 :           0 :                       {
    7872                 :           0 :                         tree _q70 = TREE_OPERAND (_q51, 0);
    7873                 :           0 :                         tree _q71 = TREE_OPERAND (_q51, 1);
    7874                 :           0 :                         if ((_q70 == _q20 && ! TREE_SIDE_EFFECTS (_q70)) || (operand_equal_p (_q70, _q20, 0) && types_match (_q70, _q20)))
    7875                 :             :                           {
    7876                 :           0 :                             if ((_q71 == _q21 && ! TREE_SIDE_EFFECTS (_q71)) || (operand_equal_p (_q71, _q21, 0) && types_match (_q71, _q21)))
    7877                 :             :                               {
    7878                 :           0 :                                 {
    7879                 :           0 :                                   tree captures[2] ATTRIBUTE_UNUSED = { _q20, _q21 };
    7880                 :           0 :                                   tree res = generic_simplify_30 (loc, type, _p0, _p1, captures, FLOOR_DIV_EXPR, FLOOR_MOD_EXPR);
    7881                 :           0 :                                   if (res) return res;
    7882                 :             :                                 }
    7883                 :             :                               }
    7884                 :             :                           }
    7885                 :             :                         break;
    7886                 :             :                       }
    7887                 :             :                     default:;
    7888                 :             :                     }
    7889                 :             :                 }
    7890                 :             :               break;
    7891                 :             :             }
    7892                 :             :           default:;
    7893                 :             :           }
    7894                 :             :         break;
    7895                 :             :       }
    7896                 :           0 :     case ROUND_MOD_EXPR:
    7897                 :           0 :       {
    7898                 :           0 :         tree _q20 = TREE_OPERAND (_p0, 0);
    7899                 :           0 :         tree _q21 = TREE_OPERAND (_p0, 1);
    7900                 :           0 :         switch (TREE_CODE (_p1))
    7901                 :             :           {
    7902                 :           0 :           case MULT_EXPR:
    7903                 :           0 :             {
    7904                 :           0 :               tree _q50 = TREE_OPERAND (_p1, 0);
    7905                 :           0 :               tree _q51 = TREE_OPERAND (_p1, 1);
    7906                 :           0 :               switch (TREE_CODE (_q50))
    7907                 :             :                 {
    7908                 :           0 :                 case ROUND_DIV_EXPR:
    7909                 :           0 :                   {
    7910                 :           0 :                     tree _q60 = TREE_OPERAND (_q50, 0);
    7911                 :           0 :                     tree _q61 = TREE_OPERAND (_q50, 1);
    7912                 :           0 :                     if ((_q60 == _q20 && ! TREE_SIDE_EFFECTS (_q60)) || (operand_equal_p (_q60, _q20, 0) && types_match (_q60, _q20)))
    7913                 :             :                       {
    7914                 :           0 :                         if ((_q61 == _q21 && ! TREE_SIDE_EFFECTS (_q61)) || (operand_equal_p (_q61, _q21, 0) && types_match (_q61, _q21)))
    7915                 :             :                           {
    7916                 :           0 :                             if ((_q51 == _q21 && ! TREE_SIDE_EFFECTS (_q51)) || (operand_equal_p (_q51, _q21, 0) && types_match (_q51, _q21)))
    7917                 :             :                               {
    7918                 :           0 :                                 {
    7919                 :           0 :                                   tree captures[2] ATTRIBUTE_UNUSED = { _q20, _q21 };
    7920                 :           0 :                                   tree res = generic_simplify_30 (loc, type, _p0, _p1, captures, ROUND_DIV_EXPR, ROUND_MOD_EXPR);
    7921                 :           0 :                                   if (res) return res;
    7922                 :             :                                 }
    7923                 :             :                               }
    7924                 :             :                           }
    7925                 :             :                       }
    7926                 :             :                     break;
    7927                 :             :                   }
    7928                 :           0 :                 default:;
    7929                 :             :                 }
    7930                 :           0 :               if ((_q50 == _q21 && ! TREE_SIDE_EFFECTS (_q50)) || (operand_equal_p (_q50, _q21, 0) && types_match (_q50, _q21)))
    7931                 :             :                 {
    7932                 :           0 :                   switch (TREE_CODE (_q51))
    7933                 :             :                     {
    7934                 :           0 :                     case ROUND_DIV_EXPR:
    7935                 :           0 :                       {
    7936                 :           0 :                         tree _q70 = TREE_OPERAND (_q51, 0);
    7937                 :           0 :                         tree _q71 = TREE_OPERAND (_q51, 1);
    7938                 :           0 :                         if ((_q70 == _q20 && ! TREE_SIDE_EFFECTS (_q70)) || (operand_equal_p (_q70, _q20, 0) && types_match (_q70, _q20)))
    7939                 :             :                           {
    7940                 :           0 :                             if ((_q71 == _q21 && ! TREE_SIDE_EFFECTS (_q71)) || (operand_equal_p (_q71, _q21, 0) && types_match (_q71, _q21)))
    7941                 :             :                               {
    7942                 :           0 :                                 {
    7943                 :           0 :                                   tree captures[2] ATTRIBUTE_UNUSED = { _q20, _q21 };
    7944                 :           0 :                                   tree res = generic_simplify_30 (loc, type, _p0, _p1, captures, ROUND_DIV_EXPR, ROUND_MOD_EXPR);
    7945                 :           0 :                                   if (res) return res;
    7946                 :             :                                 }
    7947                 :             :                               }
    7948                 :             :                           }
    7949                 :             :                         break;
    7950                 :             :                       }
    7951                 :             :                     default:;
    7952                 :             :                     }
    7953                 :             :                 }
    7954                 :             :               break;
    7955                 :             :             }
    7956                 :             :           default:;
    7957                 :             :           }
    7958                 :             :         break;
    7959                 :             :       }
    7960                 :    61816993 :     default:;
    7961                 :             :     }
    7962                 :    61816993 :   switch (TREE_CODE (_p1))
    7963                 :             :     {
    7964                 :     3315008 :     case REAL_CST:
    7965                 :     3315008 :       {
    7966                 :     3315008 :         {
    7967                 :     3315008 :           tree captures[2] ATTRIBUTE_UNUSED = { _p0, _p1 };
    7968                 :     3315008 :           if (REAL_VALUE_NEGATIVE (TREE_REAL_CST (captures[1]))
    7969                 :             : )
    7970                 :             :             {
    7971                 :      122972 :               {
    7972                 :      122972 :  tree tem = const_unop (NEGATE_EXPR, type, captures[1]);
    7973                 :      122972 :                   if (!TREE_OVERFLOW (tem) || !flag_trapping_math
    7974                 :             : )
    7975                 :             :                     {
    7976                 :      122972 :                       if (TREE_SIDE_EFFECTS (captures[1])) goto next_after_fail1297;
    7977                 :      122972 :                       if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail1297;
    7978                 :      122972 :                       {
    7979                 :      122972 :                         tree res_op0;
    7980                 :      122972 :                         res_op0 = captures[0];
    7981                 :      122972 :                         tree res_op1;
    7982                 :      122972 :                         res_op1 =  tem;
    7983                 :      122972 :                         tree _r;
    7984                 :      122972 :                         _r = fold_build2_loc (loc, MINUS_EXPR, type, res_op0, res_op1);
    7985                 :      122972 :                         if (UNLIKELY (debug_dump)) generic_dump_logs ("match.pd", 905, __FILE__, __LINE__, true);
    7986                 :      122972 :                         return _r;
    7987                 :             :                       }
    7988                 :     3192036 : next_after_fail1297:;
    7989                 :             :                     }
    7990                 :             :               }
    7991                 :             :             }
    7992                 :             :         }
    7993                 :     3192036 :         break;
    7994                 :             :       }
    7995                 :    61694021 :     default:;
    7996                 :             :     }
    7997                 :    61694021 :   if ((_p1 == _p0 && ! TREE_SIDE_EFFECTS (_p1)) || (operand_equal_p (_p1, _p0, 0) && types_match (_p1, _p0)))
    7998                 :             :     {
    7999                 :     1598737 :       {
    8000                 :     1598737 :         tree captures[1] ATTRIBUTE_UNUSED = { _p0 };
    8001                 :     1598737 :         if (SCALAR_FLOAT_TYPE_P (type)
    8002                 :             : )
    8003                 :             :           {
    8004                 :         691 :             if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail1298;
    8005                 :         691 :             {
    8006                 :         691 :               tree res_op0;
    8007                 :         691 :               res_op0 = captures[0];
    8008                 :         691 :               tree res_op1;
    8009                 :         691 :               res_op1 =  build_real (type, dconst2);
    8010                 :         691 :               tree _r;
    8011                 :         691 :               _r = fold_build2_loc (loc, MULT_EXPR, type, res_op0, res_op1);
    8012                 :         691 :               if (UNLIKELY (debug_dump)) generic_dump_logs ("match.pd", 906, __FILE__, __LINE__, true);
    8013                 :         691 :               return _r;
    8014                 :             :             }
    8015                 :           0 : next_after_fail1298:;
    8016                 :             :           }
    8017                 :             :         else
    8018                 :             :           {
    8019                 :     1598046 :             if (INTEGRAL_TYPE_P (type)
    8020                 :             : )
    8021                 :             :               {
    8022                 :     1597996 :                 if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail1299;
    8023                 :     1597996 :                 {
    8024                 :     1597996 :                   tree res_op0;
    8025                 :     1597996 :                   res_op0 = captures[0];
    8026                 :     1597996 :                   tree res_op1;
    8027                 :     1597996 :                   res_op1 =  build_int_cst (type, 2);
    8028                 :     1597996 :                   tree _r;
    8029                 :     1597996 :                   _r = fold_build2_loc (loc, MULT_EXPR, type, res_op0, res_op1);
    8030                 :     1597996 :                   if (UNLIKELY (debug_dump)) generic_dump_logs ("match.pd", 907, __FILE__, __LINE__, true);
    8031                 :     1597996 :                   return _r;
    8032                 :             :                 }
    8033                 :           0 : next_after_fail1299:;
    8034                 :             :               }
    8035                 :             :           }
    8036                 :             :       }
    8037                 :             :     }
    8038                 :    60095334 :   switch (TREE_CODE (_p0))
    8039                 :             :     {
    8040                 :         144 :     case VEC_COND_EXPR:
    8041                 :         144 :       {
    8042                 :         144 :         tree _q20 = TREE_OPERAND (_p0, 0);
    8043                 :         144 :         tree _q21 = TREE_OPERAND (_p0, 1);
    8044                 :         144 :         tree _q22 = TREE_OPERAND (_p0, 2);
    8045                 :         144 :         switch (TREE_CODE (_p1))
    8046                 :             :           {
    8047                 :          48 :           case VEC_COND_EXPR:
    8048                 :          48 :             {
    8049                 :          48 :               tree _q60 = TREE_OPERAND (_p1, 0);
    8050                 :          48 :               tree _q61 = TREE_OPERAND (_p1, 1);
    8051                 :          48 :               tree _q62 = TREE_OPERAND (_p1, 2);
    8052                 :          48 :               if ((_q60 == _q20 && ! TREE_SIDE_EFFECTS (_q60)) || (operand_equal_p (_q60, _q20, 0) && types_match (_q60, _q20)))
    8053                 :             :                 {
    8054                 :          24 :                   {
    8055                 :          24 :                     tree captures[7] ATTRIBUTE_UNUSED = { _p0, _q20, _q21, _q22, _p1, _q61, _q62 };
    8056                 :          24 :                     if (VECTOR_TYPE_P (type)
    8057                 :          24 :  && (TREE_CODE_CLASS (PLUS_EXPR) != tcc_comparison
    8058                 :             :  || types_match (type, TREE_TYPE (captures[2]))
    8059                 :             :  || expand_vec_cond_expr_p (type, TREE_TYPE (captures[1]))
    8060                 :             :  || (optimize_vectors_before_lowering_p ()
    8061                 :             :  && !expand_vec_cond_expr_p (TREE_TYPE (captures[2]), TREE_TYPE (captures[1]))))
    8062                 :             : )
    8063                 :             :                       {
    8064                 :          24 :                         if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail1300;
    8065                 :          24 :                         {
    8066                 :          24 :                           tree res_op0;
    8067                 :          24 :                           res_op0 = captures[1];
    8068                 :          24 :                           tree res_op1;
    8069                 :          24 :                           {
    8070                 :          24 :                             tree _o1[2], _r1;
    8071                 :          24 :                             _o1[0] = captures[2];
    8072                 :          24 :                             _o1[1] = captures[5];
    8073                 :          24 :                             _r1 = fold_build2_loc (loc, PLUS_EXPR, TREE_TYPE (_o1[0]), _o1[0], _o1[1]);
    8074                 :          24 :                             if (EXPR_P (_r1))
    8075                 :           0 :                               goto next_after_fail1300;
    8076                 :          24 :                             res_op1 = _r1;
    8077                 :             :                           }
    8078                 :          24 :                           tree res_op2;
    8079                 :          24 :                           {
    8080                 :          24 :                             tree _o1[2], _r1;
    8081                 :          24 :                             _o1[0] = captures[3];
    8082                 :          24 :                             _o1[1] = captures[6];
    8083                 :          24 :                             _r1 = fold_build2_loc (loc, PLUS_EXPR, TREE_TYPE (_o1[0]), _o1[0], _o1[1]);
    8084                 :          24 :                             if (EXPR_P (_r1))
    8085                 :           0 :                               goto next_after_fail1300;
    8086                 :          24 :                             res_op2 = _r1;
    8087                 :             :                           }
    8088                 :          24 :                           tree _r;
    8089                 :          24 :                           _r = fold_build3_loc (loc, VEC_COND_EXPR, type, res_op0, res_op1, res_op2);
    8090                 :          24 :                           if (UNLIKELY (debug_dump)) generic_dump_logs ("match.pd", 908, __FILE__, __LINE__, true);
    8091                 :          24 :                           return _r;
    8092                 :             :                         }
    8093                 :           0 : next_after_fail1300:;
    8094                 :             :                       }
    8095                 :             :                   }
    8096                 :             :                 }
    8097                 :             :               break;
    8098                 :             :             }
    8099                 :         120 :           default:;
    8100                 :             :           }
    8101                 :         120 :         {
    8102                 :         120 :           tree captures[5] ATTRIBUTE_UNUSED = { _p0, _q20, _q21, _q22, _p1 };
    8103                 :         120 :           if (VECTOR_TYPE_P (type)
    8104                 :         120 :  && (TREE_CODE_CLASS (PLUS_EXPR) != tcc_comparison
    8105                 :             :  || types_match (type, TREE_TYPE (captures[2]))
    8106                 :             :  || expand_vec_cond_expr_p (type, TREE_TYPE (captures[1]))
    8107                 :             :  || (optimize_vectors_before_lowering_p ()
    8108                 :             :  && !expand_vec_cond_expr_p (TREE_TYPE (captures[2]), TREE_TYPE (captures[1]))))
    8109                 :             : )
    8110                 :             :             {
    8111                 :         120 :               if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail1301;
    8112                 :         120 :               {
    8113                 :         120 :                 if (! tree_invariant_p (captures[4])) goto next_after_fail1301;
    8114                 :          26 :                 tree res_op0;
    8115                 :          26 :                 res_op0 = captures[1];
    8116                 :          26 :                 tree res_op1;
    8117                 :          26 :                 {
    8118                 :          26 :                   tree _o1[2], _r1;
    8119                 :          26 :                   _o1[0] = captures[2];
    8120                 :          26 :                   _o1[1] = unshare_expr (captures[4]);
    8121                 :          26 :                   _r1 = fold_build2_loc (loc, PLUS_EXPR, TREE_TYPE (_o1[0]), _o1[0], _o1[1]);
    8122                 :          26 :                   if (EXPR_P (_r1))
    8123                 :           0 :                     goto next_after_fail1301;
    8124                 :          26 :                   res_op1 = _r1;
    8125                 :             :                 }
    8126                 :          26 :                 tree res_op2;
    8127                 :          26 :                 {
    8128                 :          26 :                   tree _o1[2], _r1;
    8129                 :          26 :                   _o1[0] = captures[3];
    8130                 :          26 :                   _o1[1] = captures[4];
    8131                 :          26 :                   _r1 = fold_build2_loc (loc, PLUS_EXPR, TREE_TYPE (_o1[0]), _o1[0], _o1[1]);
    8132                 :          26 :                   if (EXPR_P (_r1))
    8133                 :           0 :                     goto next_after_fail1301;
    8134                 :          26 :                   res_op2 = _r1;
    8135                 :             :                 }
    8136                 :          26 :                 tree _r;
    8137                 :          26 :                 _r = fold_build3_loc (loc, VEC_COND_EXPR, type, res_op0, res_op1, res_op2);
    8138                 :          26 :                 if (UNLIKELY (debug_dump)) generic_dump_logs ("match.pd", 909, __FILE__, __LINE__, true);
    8139                 :          26 :                 return _r;
    8140                 :             :               }
    8141                 :          94 : next_after_fail1301:;
    8142                 :             :             }
    8143                 :             :         }
    8144                 :          94 :         if (integer_each_onep (_q21))
    8145                 :             :           {
    8146                 :           0 :             if (integer_zerop (_q22))
    8147                 :             :               {
    8148                 :           0 :                 {
    8149                 :           0 :                   tree captures[5] ATTRIBUTE_UNUSED = { _p1, _p0, _q20, _q21, _q22 };
    8150                 :           0 :                   tree res = generic_simplify_31 (loc, type, _p0, _p1, captures);
    8151                 :           0 :                   if (res) return res;
    8152                 :             :                 }
    8153                 :             :               }
    8154                 :             :           }
    8155                 :             :         break;
    8156                 :             :       }
    8157                 :    60095284 :     default:;
    8158                 :             :     }
    8159                 :    60095284 :   switch (TREE_CODE (_p1))
    8160                 :             :     {
    8161                 :          40 :     case VEC_COND_EXPR:
    8162                 :          40 :       {
    8163                 :          40 :         tree _q30 = TREE_OPERAND (_p1, 0);
    8164                 :          40 :         tree _q31 = TREE_OPERAND (_p1, 1);
    8165                 :          40 :         tree _q32 = TREE_OPERAND (_p1, 2);
    8166                 :          40 :         {
    8167                 :          40 :           tree captures[5] ATTRIBUTE_UNUSED = { _p0, _p1, _q30, _q31, _q32 };
    8168                 :          40 :           if (VECTOR_TYPE_P (type)
    8169                 :          40 :  && (TREE_CODE_CLASS (PLUS_EXPR) != tcc_comparison
    8170                 :             :  || types_match (type, TREE_TYPE (captures[3]))
    8171                 :             :  || expand_vec_cond_expr_p (type, TREE_TYPE (captures[2]))
    8172                 :             :  || (optimize_vectors_before_lowering_p ()
    8173                 :             :  && !expand_vec_cond_expr_p (TREE_TYPE (captures[3]), TREE_TYPE (captures[2]))))
    8174                 :             : )
    8175                 :             :             {
    8176                 :          40 :               if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail1302;
    8177                 :          40 :               {
    8178                 :          40 :                 if (! tree_invariant_p (captures[0])) goto next_after_fail1302;
    8179                 :           0 :                 tree res_op0;
    8180                 :           0 :                 res_op0 = captures[2];
    8181                 :           0 :                 tree res_op1;
    8182                 :           0 :                 {
    8183                 :           0 :                   tree _o1[2], _r1;
    8184                 :           0 :                   _o1[0] = unshare_expr (captures[0]);
    8185                 :           0 :                   _o1[1] = captures[3];
    8186                 :           0 :                   _r1 = fold_build2_loc (loc, PLUS_EXPR, TREE_TYPE (_o1[0]), _o1[0], _o1[1]);
    8187                 :           0 :                   if (EXPR_P (_r1))
    8188                 :           0 :                     goto next_after_fail1302;
    8189                 :           0 :                   res_op1 = _r1;
    8190                 :             :                 }
    8191                 :           0 :                 tree res_op2;
    8192                 :           0 :                 {
    8193                 :           0 :                   tree _o1[2], _r1;
    8194                 :           0 :                   _o1[0] = captures[0];
    8195                 :           0 :                   _o1[1] = captures[4];
    8196                 :           0 :                   _r1 = fold_build2_loc (loc, PLUS_EXPR, TREE_TYPE (_o1[0]), _o1[0], _o1[1]);
    8197                 :           0 :                   if (EXPR_P (_r1))
    8198                 :           0 :                     goto next_after_fail1302;
    8199                 :           0 :                   res_op2 = _r1;
    8200                 :             :                 }
    8201                 :           0 :                 tree _r;
    8202                 :           0 :                 _r = fold_build3_loc (loc, VEC_COND_EXPR, type, res_op0, res_op1, res_op2);
    8203                 :           0 :                 if (UNLIKELY (debug_dump)) generic_dump_logs ("match.pd", 910, __FILE__, __LINE__, true);
    8204                 :           0 :                 return _r;
    8205                 :             :               }
    8206                 :          40 : next_after_fail1302:;
    8207                 :             :             }
    8208                 :             :         }
    8209                 :          40 :         break;
    8210                 :             :       }
    8211                 :      295896 :     case VIEW_CONVERT_EXPR:
    8212                 :      295896 :       {
    8213                 :      295896 :         tree _q30 = TREE_OPERAND (_p1, 0);
    8214                 :      295896 :         switch (TREE_CODE (_q30))
    8215                 :             :           {
    8216                 :           0 :           case VEC_COND_EXPR:
    8217                 :           0 :             {
    8218                 :           0 :               tree _q40 = TREE_OPERAND (_q30, 0);
    8219                 :           0 :               tree _q41 = TREE_OPERAND (_q30, 1);
    8220                 :           0 :               tree _q42 = TREE_OPERAND (_q30, 2);
    8221                 :           0 :               if (integer_each_onep (_q41))
    8222                 :             :                 {
    8223                 :           0 :                   if (integer_zerop (_q42))
    8224                 :             :                     {
    8225                 :           0 :                       {
    8226                 :           0 :                         tree captures[5] ATTRIBUTE_UNUSED = { _p0, _q30, _q40, _q41, _q42 };
    8227                 :           0 :                         tree res = generic_simplify_31 (loc, type, _p0, _p1, captures);
    8228                 :           0 :                         if (res) return res;
    8229                 :             :                       }
    8230                 :             :                     }
    8231                 :             :                 }
    8232                 :             :               break;
    8233                 :             :             }
    8234                 :             :           default:;
    8235                 :             :           }
    8236                 :             :         break;
    8237                 :             :       }
    8238                 :    60095284 :     default:;
    8239                 :             :     }
    8240                 :    60095284 :   switch (TREE_CODE (_p0))
    8241                 :             :     {
    8242                 :      292764 :     case VIEW_CONVERT_EXPR:
    8243                 :      292764 :       {
    8244                 :      292764 :         tree _q20 = TREE_OPERAND (_p0, 0);
    8245                 :      292764 :         switch (TREE_CODE (_q20))
    8246                 :             :           {
    8247                 :           0 :           case VEC_COND_EXPR:
    8248                 :           0 :             {
    8249                 :           0 :               tree _q30 = TREE_OPERAND (_q20, 0);
    8250                 :           0 :               tree _q31 = TREE_OPERAND (_q20, 1);
    8251                 :           0 :               tree _q32 = TREE_OPERAND (_q20, 2);
    8252                 :           0 :               if (integer_each_onep (_q31))
    8253                 :             :                 {
    8254                 :           0 :                   if (integer_zerop (_q32))
    8255                 :             :                     {
    8256                 :           0 :                       {
    8257                 :           0 :                         tree captures[5] ATTRIBUTE_UNUSED = { _p1, _q20, _q30, _q31, _q32 };
    8258                 :           0 :                         tree res = generic_simplify_31 (loc, type, _p0, _p1, captures);
    8259                 :           0 :                         if (res) return res;
    8260                 :             :                       }
    8261                 :             :                     }
    8262                 :             :                 }
    8263                 :             :               break;
    8264                 :             :             }
    8265                 :             :           default:;
    8266                 :             :           }
    8267                 :             :         break;
    8268                 :             :       }
    8269                 :    60095284 :     default:;
    8270                 :             :     }
    8271                 :    60095284 :   switch (TREE_CODE (_p1))
    8272                 :             :     {
    8273                 :          40 :     case VEC_COND_EXPR:
    8274                 :          40 :       {
    8275                 :          40 :         tree _q30 = TREE_OPERAND (_p1, 0);
    8276                 :          40 :         tree _q31 = TREE_OPERAND (_p1, 1);
    8277                 :          40 :         tree _q32 = TREE_OPERAND (_p1, 2);
    8278                 :          40 :         if (integer_each_onep (_q31))
    8279                 :             :           {
    8280                 :           0 :             if (integer_zerop (_q32))
    8281                 :             :               {
    8282                 :           0 :                 {
    8283                 :           0 :                   tree captures[5] ATTRIBUTE_UNUSED = { _p0, _p1, _q30, _q31, _q32 };
    8284                 :           0 :                   tree res = generic_simplify_31 (loc, type, _p0, _p1, captures);
    8285                 :           0 :                   if (res) return res;
    8286                 :             :                 }
    8287                 :             :               }
    8288                 :             :           }
    8289                 :             :         break;
    8290                 :             :       }
    8291                 :    60095284 :     default:;
    8292                 :             :     }
    8293                 :    60095284 :   switch (TREE_CODE (_p0))
    8294                 :             :     {
    8295                 :    16712289 :     CASE_CONVERT:
    8296                 :    16712289 :       {
    8297                 :    16712289 :         tree _q20 = TREE_OPERAND (_p0, 0);
    8298                 :    16712289 :         switch (TREE_CODE (_q20))
    8299                 :             :           {
    8300                 :           0 :           case LT_EXPR:
    8301                 :           0 :             {
    8302                 :           0 :               tree _q30 = TREE_OPERAND (_q20, 0);
    8303                 :           0 :               tree _q31 = TREE_OPERAND (_q20, 1);
    8304                 :           0 :               if (integer_minus_onep (_p1))
    8305                 :             :                 {
    8306                 :           0 :                   {
    8307                 :           0 :                     tree captures[3] ATTRIBUTE_UNUSED = { _q20, _q30, _q31 };
    8308                 :           0 :                     tree res = generic_simplify_32 (loc, type, _p0, _p1, captures, LT_EXPR, GE_EXPR, UNGE_EXPR);
    8309                 :           0 :                     if (res) return res;
    8310                 :             :                   }
    8311                 :             :                 }
    8312                 :             :               break;
    8313                 :             :             }
    8314                 :           0 :           case LE_EXPR:
    8315                 :           0 :             {
    8316                 :           0 :               tree _q30 = TREE_OPERAND (_q20, 0);
    8317                 :           0 :               tree _q31 = TREE_OPERAND (_q20, 1);
    8318                 :           0 :               if (integer_minus_onep (_p1))
    8319                 :             :                 {
    8320                 :           0 :                   {
    8321                 :           0 :                     tree captures[3] ATTRIBUTE_UNUSED = { _q20, _q30, _q31 };
    8322                 :           0 :                     tree res = generic_simplify_32 (loc, type, _p0, _p1, captures, LE_EXPR, GT_EXPR, UNGT_EXPR);
    8323                 :           0 :                     if (res) return res;
    8324                 :             :                   }
    8325                 :             :                 }
    8326                 :             :               break;
    8327                 :             :             }
    8328                 :          78 :           case EQ_EXPR:
    8329                 :          78 :             {
    8330                 :          78 :               tree _q30 = TREE_OPERAND (_q20, 0);
    8331                 :          78 :               tree _q31 = TREE_OPERAND (_q20, 1);
    8332                 :          78 :               if (integer_minus_onep (_p1))
    8333                 :             :                 {
    8334                 :           0 :                   {
    8335                 :           0 :                     tree captures[3] ATTRIBUTE_UNUSED = { _q20, _q30, _q31 };
    8336                 :           0 :                     tree res = generic_simplify_32 (loc, type, _p0, _p1, captures, EQ_EXPR, NE_EXPR, NE_EXPR);
    8337                 :           0 :                     if (res) return res;
    8338                 :             :                   }
    8339                 :             :                 }
    8340                 :             :               break;
    8341                 :             :             }
    8342                 :         214 :           case NE_EXPR:
    8343                 :         214 :             {
    8344                 :         214 :               tree _q30 = TREE_OPERAND (_q20, 0);
    8345                 :         214 :               tree _q31 = TREE_OPERAND (_q20, 1);
    8346                 :         214 :               if (integer_minus_onep (_p1))
    8347                 :             :                 {
    8348                 :           0 :                   {
    8349                 :           0 :                     tree captures[3] ATTRIBUTE_UNUSED = { _q20, _q30, _q31 };
    8350                 :           0 :                     tree res = generic_simplify_32 (loc, type, _p0, _p1, captures, NE_EXPR, EQ_EXPR, EQ_EXPR);
    8351                 :           0 :                     if (res) return res;
    8352                 :             :                   }
    8353                 :             :                 }
    8354                 :             :               break;
    8355                 :             :             }
    8356                 :          12 :           case GE_EXPR:
    8357                 :          12 :             {
    8358                 :          12 :               tree _q30 = TREE_OPERAND (_q20, 0);
    8359                 :          12 :               tree _q31 = TREE_OPERAND (_q20, 1);
    8360                 :          12 :               if (integer_minus_onep (_p1))
    8361                 :             :                 {
    8362                 :           0 :                   {
    8363                 :           0 :                     tree captures[3] ATTRIBUTE_UNUSED = { _q20, _q30, _q31 };
    8364                 :           0 :                     tree res = generic_simplify_32 (loc, type, _p0, _p1, captures, GE_EXPR, LT_EXPR, UNLT_EXPR);
    8365                 :           0 :                     if (res) return res;
    8366                 :             :                   }
    8367                 :             :                 }
    8368                 :             :               break;
    8369                 :             :             }
    8370                 :           1 :           case GT_EXPR:
    8371                 :           1 :             {
    8372                 :           1 :               tree _q30 = TREE_OPERAND (_q20, 0);
    8373                 :           1 :               tree _q31 = TREE_OPERAND (_q20, 1);
    8374                 :           1 :               if (integer_minus_onep (_p1))
    8375                 :             :                 {
    8376                 :           0 :                   {
    8377                 :           0 :                     tree captures[3] ATTRIBUTE_UNUSED = { _q20, _q30, _q31 };
    8378                 :           0 :                     tree res = generic_simplify_32 (loc, type, _p0, _p1, captures, GT_EXPR, LE_EXPR, UNLE_EXPR);
    8379                 :           0 :                     if (res) return res;
    8380                 :             :                   }
    8381                 :             :                 }
    8382                 :             :               break;
    8383                 :             :             }
    8384                 :           0 :           case UNORDERED_EXPR:
    8385                 :           0 :             {
    8386                 :           0 :               tree _q30 = TREE_OPERAND (_q20, 0);
    8387                 :           0 :               tree _q31 = TREE_OPERAND (_q20, 1);
    8388                 :           0 :               if (integer_minus_onep (_p1))
    8389                 :             :                 {
    8390                 :           0 :                   {
    8391                 :           0 :                     tree captures[3] ATTRIBUTE_UNUSED = { _q20, _q30, _q31 };
    8392                 :           0 :                     tree res = generic_simplify_32 (loc, type, _p0, _p1, captures, UNORDERED_EXPR, ORDERED_EXPR, ORDERED_EXPR);
    8393                 :           0 :                     if (res) return res;
    8394                 :             :                   }
    8395                 :             :                 }
    8396                 :             :               break;
    8397                 :             :             }
    8398                 :           0 :           case ORDERED_EXPR:
    8399                 :           0 :             {
    8400                 :           0 :               tree _q30 = TREE_OPERAND (_q20, 0);
    8401                 :           0 :               tree _q31 = TREE_OPERAND (_q20, 1);
    8402                 :           0 :               if (integer_minus_onep (_p1))
    8403                 :             :                 {
    8404                 :           0 :                   {
    8405                 :           0 :                     tree captures[3] ATTRIBUTE_UNUSED = { _q20, _q30, _q31 };
    8406                 :           0 :                     tree res = generic_simplify_32 (loc, type, _p0, _p1, captures, ORDERED_EXPR, UNORDERED_EXPR, UNORDERED_EXPR);
    8407                 :           0 :                     if (res) return res;
    8408                 :             :                   }
    8409                 :             :                 }
    8410                 :             :               break;
    8411                 :             :             }
    8412                 :           0 :           case UNLT_EXPR:
    8413                 :           0 :             {
    8414                 :           0 :               tree _q30 = TREE_OPERAND (_q20, 0);
    8415                 :           0 :               tree _q31 = TREE_OPERAND (_q20, 1);
    8416                 :           0 :               if (integer_minus_onep (_p1))
    8417                 :             :                 {
    8418                 :           0 :                   {
    8419                 :           0 :                     tree captures[3] ATTRIBUTE_UNUSED = { _q20, _q30, _q31 };
    8420                 :           0 :                     tree res = generic_simplify_32 (loc, type, _p0, _p1, captures, UNLT_EXPR, GE_EXPR, GE_EXPR);
    8421                 :           0 :                     if (res) return res;
    8422                 :             :                   }
    8423                 :             :                 }
    8424                 :             :               break;
    8425                 :             :             }
    8426                 :           0 :           case UNLE_EXPR:
    8427                 :           0 :             {
    8428                 :           0 :               tree _q30 = TREE_OPERAND (_q20, 0);
    8429                 :           0 :               tree _q31 = TREE_OPERAND (_q20, 1);
    8430                 :           0 :               if (integer_minus_onep (_p1))
    8431                 :             :                 {
    8432                 :           0 :                   {
    8433                 :           0 :                     tree captures[3] ATTRIBUTE_UNUSED = { _q20, _q30, _q31 };
    8434                 :           0 :                     tree res = generic_simplify_32 (loc, type, _p0, _p1, captures, UNLE_EXPR, GT_EXPR, GT_EXPR);
    8435                 :           0 :                     if (res) return res;
    8436                 :             :                   }
    8437                 :             :                 }
    8438                 :             :               break;
    8439                 :             :             }
    8440                 :           0 :           case UNGT_EXPR:
    8441                 :           0 :             {
    8442                 :           0 :               tree _q30 = TREE_OPERAND (_q20, 0);
    8443                 :           0 :               tree _q31 = TREE_OPERAND (_q20, 1);
    8444                 :           0 :               if (integer_minus_onep (_p1))
    8445                 :             :                 {
    8446                 :           0 :                   {
    8447                 :           0 :                     tree captures[3] ATTRIBUTE_UNUSED = { _q20, _q30, _q31 };
    8448                 :           0 :                     tree res = generic_simplify_32 (loc, type, _p0, _p1, captures, UNGT_EXPR, LE_EXPR, LE_EXPR);
    8449                 :           0 :                     if (res) return res;
    8450                 :             :                   }
    8451                 :             :                 }
    8452                 :             :               break;
    8453                 :             :             }
    8454                 :           0 :           case UNGE_EXPR:
    8455                 :           0 :             {
    8456                 :           0 :               tree _q30 = TREE_OPERAND (_q20, 0);
    8457                 :           0 :               tree _q31 = TREE_OPERAND (_q20, 1);
    8458                 :           0 :               if (integer_minus_onep (_p1))
    8459                 :             :                 {
    8460                 :           0 :                   {
    8461                 :           0 :                     tree captures[3] ATTRIBUTE_UNUSED = { _q20, _q30, _q31 };
    8462                 :           0 :                     tree res = generic_simplify_32 (loc, type, _p0, _p1, captures, UNGE_EXPR, LT_EXPR, LT_EXPR);
    8463                 :           0 :                     if (res) return res;
    8464                 :             :                   }
    8465                 :             :                 }
    8466                 :             :               break;
    8467                 :             :             }
    8468                 :           0 :           case UNEQ_EXPR:
    8469                 :           0 :             {
    8470                 :           0 :               tree _q30 = TREE_OPERAND (_q20, 0);
    8471                 :           0 :               tree _q31 = TREE_OPERAND (_q20, 1);
    8472                 :           0 :               if (integer_minus_onep (_p1))
    8473                 :             :                 {
    8474                 :           0 :                   {
    8475                 :           0 :                     tree captures[3] ATTRIBUTE_UNUSED = { _q20, _q30, _q31 };
    8476                 :           0 :                     tree res = generic_simplify_32 (loc, type, _p0, _p1, captures, UNEQ_EXPR, LTGT_EXPR, LTGT_EXPR);
    8477                 :           0 :                     if (res) return res;
    8478                 :             :                   }
    8479                 :             :                 }
    8480                 :             :               break;
    8481                 :             :             }
    8482                 :           0 :           case LTGT_EXPR:
    8483                 :           0 :             {
    8484                 :           0 :               tree _q30 = TREE_OPERAND (_q20, 0);
    8485                 :           0 :               tree _q31 = TREE_OPERAND (_q20, 1);
    8486                 :           0 :               if (integer_minus_onep (_p1))
    8487                 :             :                 {
    8488                 :           0 :                   {
    8489                 :           0 :                     tree captures[3] ATTRIBUTE_UNUSED = { _q20, _q30, _q31 };
    8490                 :           0 :                     tree res = generic_simplify_32 (loc, type, _p0, _p1, captures, LTGT_EXPR, UNEQ_EXPR, UNEQ_EXPR);
    8491                 :           0 :                     if (res) return res;
    8492                 :             :                   }
    8493                 :             :                 }
    8494                 :             :               break;
    8495                 :             :             }
    8496                 :             :           default:;
    8497                 :             :           }
    8498                 :             :         break;
    8499                 :             :       }
    8500                 :         155 :     case LT_EXPR:
    8501                 :         155 :       {
    8502                 :         155 :         tree _q20 = TREE_OPERAND (_p0, 0);
    8503                 :         155 :         tree _q21 = TREE_OPERAND (_p0, 1);
    8504                 :         155 :         if (integer_minus_onep (_p1))
    8505                 :             :           {
    8506                 :           0 :             {
    8507                 :           0 :               tree captures[3] ATTRIBUTE_UNUSED = { _p0, _q20, _q21 };
    8508                 :           0 :               tree res = generic_simplify_32 (loc, type, _p0, _p1, captures, LT_EXPR, GE_EXPR, UNGE_EXPR);
    8509                 :           0 :               if (res) return res;
    8510                 :             :             }
    8511                 :             :           }
    8512                 :             :         break;
    8513                 :             :       }
    8514                 :          49 :     case LE_EXPR:
    8515                 :          49 :       {
    8516                 :          49 :         tree _q20 = TREE_OPERAND (_p0, 0);
    8517                 :          49 :         tree _q21 = TREE_OPERAND (_p0, 1);
    8518                 :          49 :         if (integer_minus_onep (_p1))
    8519                 :             :           {
    8520                 :           0 :             {
    8521                 :           0 :               tree captures[3] ATTRIBUTE_UNUSED = { _p0, _q20, _q21 };
    8522                 :           0 :               tree res = generic_simplify_32 (loc, type, _p0, _p1, captures, LE_EXPR, GT_EXPR, UNGT_EXPR);
    8523                 :           0 :               if (res) return res;
    8524                 :             :             }
    8525                 :             :           }
    8526                 :             :         break;
    8527                 :             :       }
    8528                 :       41413 :     case EQ_EXPR:
    8529                 :       41413 :       {
    8530                 :       41413 :         tree _q20 = TREE_OPERAND (_p0, 0);
    8531                 :       41413 :         tree _q21 = TREE_OPERAND (_p0, 1);
    8532                 :       41413 :         if (integer_minus_onep (_p1))
    8533                 :             :           {
    8534                 :          23 :             {
    8535                 :          23 :               tree captures[3] ATTRIBUTE_UNUSED = { _p0, _q20, _q21 };
    8536                 :          23 :               tree res = generic_simplify_32 (loc, type, _p0, _p1, captures, EQ_EXPR, NE_EXPR, NE_EXPR);
    8537                 :          23 :               if (res) return res;
    8538                 :             :             }
    8539                 :             :           }
    8540                 :             :         break;
    8541                 :             :       }
    8542                 :        1670 :     case NE_EXPR:
    8543                 :        1670 :       {
    8544                 :        1670 :         tree _q20 = TREE_OPERAND (_p0, 0);
    8545                 :        1670 :         tree _q21 = TREE_OPERAND (_p0, 1);
    8546                 :        1670 :         if (integer_minus_onep (_p1))
    8547                 :             :           {
    8548                 :          33 :             {
    8549                 :          33 :               tree captures[3] ATTRIBUTE_UNUSED = { _p0, _q20, _q21 };
    8550                 :          33 :               tree res = generic_simplify_32 (loc, type, _p0, _p1, captures, NE_EXPR, EQ_EXPR, EQ_EXPR);
    8551                 :          33 :               if (res) return res;
    8552                 :             :             }
    8553                 :             :           }
    8554                 :             :         break;
    8555                 :             :       }
    8556                 :          35 :     case GE_EXPR:
    8557                 :          35 :       {
    8558                 :          35 :         tree _q20 = TREE_OPERAND (_p0, 0);
    8559                 :          35 :         tree _q21 = TREE_OPERAND (_p0, 1);
    8560                 :          35 :         if (integer_minus_onep (_p1))
    8561                 :             :           {
    8562                 :           0 :             {
    8563                 :           0 :               tree captures[3] ATTRIBUTE_UNUSED = { _p0, _q20, _q21 };
    8564                 :           0 :               tree res = generic_simplify_32 (loc, type, _p0, _p1, captures, GE_EXPR, LT_EXPR, UNLT_EXPR);
    8565                 :           0 :               if (res) return res;
    8566                 :             :             }
    8567                 :             :           }
    8568                 :             :         break;
    8569                 :             :       }
    8570                 :         103 :     case GT_EXPR:
    8571                 :         103 :       {
    8572                 :         103 :         tree _q20 = TREE_OPERAND (_p0, 0);
    8573                 :         103 :         tree _q21 = TREE_OPERAND (_p0, 1);
    8574                 :         103 :         if (integer_minus_onep (_p1))
    8575                 :             :           {
    8576                 :           0 :             {
    8577                 :           0 :               tree captures[3] ATTRIBUTE_UNUSED = { _p0, _q20, _q21 };
    8578                 :           0 :               tree res = generic_simplify_32 (loc, type, _p0, _p1, captures, GT_EXPR, LE_EXPR, UNLE_EXPR);
    8579                 :           0 :               if (res) return res;
    8580                 :             :             }
    8581                 :             :           }
    8582                 :             :         break;
    8583                 :             :       }
    8584                 :           0 :     case UNORDERED_EXPR:
    8585                 :           0 :       {
    8586                 :           0 :         tree _q20 = TREE_OPERAND (_p0, 0);
    8587                 :           0 :         tree _q21 = TREE_OPERAND (_p0, 1);
    8588                 :           0 :         if (integer_minus_onep (_p1))
    8589                 :             :           {
    8590                 :           0 :             {
    8591                 :           0 :               tree captures[3] ATTRIBUTE_UNUSED = { _p0, _q20, _q21 };
    8592                 :           0 :               tree res = generic_simplify_32 (loc, type, _p0, _p1, captures, UNORDERED_EXPR, ORDERED_EXPR, ORDERED_EXPR);
    8593                 :           0 :               if (res) return res;
    8594                 :             :             }
    8595                 :             :           }
    8596                 :             :         break;
    8597                 :             :       }
    8598                 :           0 :     case ORDERED_EXPR:
    8599                 :           0 :       {
    8600                 :           0 :         tree _q20 = TREE_OPERAND (_p0, 0);
    8601                 :           0 :         tree _q21 = TREE_OPERAND (_p0, 1);
    8602                 :           0 :         if (integer_minus_onep (_p1))
    8603                 :             :           {
    8604                 :           0 :             {
    8605                 :           0 :               tree captures[3] ATTRIBUTE_UNUSED = { _p0, _q20, _q21 };
    8606                 :           0 :               tree res = generic_simplify_32 (loc, type, _p0, _p1, captures, ORDERED_EXPR, UNORDERED_EXPR, UNORDERED_EXPR);
    8607                 :           0 :               if (res) return res;
    8608                 :             :             }
    8609                 :             :           }
    8610                 :             :         break;
    8611                 :             :       }
    8612                 :           0 :     case UNLT_EXPR:
    8613                 :           0 :       {
    8614                 :           0 :         tree _q20 = TREE_OPERAND (_p0, 0);
    8615                 :           0 :         tree _q21 = TREE_OPERAND (_p0, 1);
    8616                 :           0 :         if (integer_minus_onep (_p1))
    8617                 :             :           {
    8618                 :           0 :             {
    8619                 :           0 :               tree captures[3] ATTRIBUTE_UNUSED = { _p0, _q20, _q21 };
    8620                 :           0 :               tree res = generic_simplify_32 (loc, type, _p0, _p1, captures, UNLT_EXPR, GE_EXPR, GE_EXPR);
    8621                 :           0 :               if (res) return res;
    8622                 :             :             }
    8623                 :             :           }
    8624                 :             :         break;
    8625                 :             :       }
    8626                 :           0 :     case UNLE_EXPR:
    8627                 :           0 :       {
    8628                 :           0 :         tree _q20 = TREE_OPERAND (_p0, 0);
    8629                 :           0 :         tree _q21 = TREE_OPERAND (_p0, 1);
    8630                 :           0 :         if (integer_minus_onep (_p1))
    8631                 :             :           {
    8632                 :           0 :             {
    8633                 :           0 :               tree captures[3] ATTRIBUTE_UNUSED = { _p0, _q20, _q21 };
    8634                 :           0 :               tree res = generic_simplify_32 (loc, type, _p0, _p1, captures, UNLE_EXPR, GT_EXPR, GT_EXPR);
    8635                 :           0 :               if (res) return res;
    8636                 :             :             }
    8637                 :             :           }
    8638                 :             :         break;
    8639                 :             :       }
    8640                 :           0 :     case UNGT_EXPR:
    8641                 :           0 :       {
    8642                 :           0 :         tree _q20 = TREE_OPERAND (_p0, 0);
    8643                 :           0 :         tree _q21 = TREE_OPERAND (_p0, 1);
    8644                 :           0 :         if (integer_minus_onep (_p1))
    8645                 :             :           {
    8646                 :           0 :             {
    8647                 :           0 :               tree captures[3] ATTRIBUTE_UNUSED = { _p0, _q20, _q21 };
    8648                 :           0 :               tree res = generic_simplify_32 (loc, type, _p0, _p1, captures, UNGT_EXPR, LE_EXPR, LE_EXPR);
    8649                 :           0 :               if (res) return res;
    8650                 :             :             }
    8651                 :             :           }
    8652                 :             :         break;
    8653                 :             :       }
    8654                 :           0 :     case UNGE_EXPR:
    8655                 :           0 :       {
    8656                 :           0 :         tree _q20 = TREE_OPERAND (_p0, 0);
    8657                 :           0 :         tree _q21 = TREE_OPERAND (_p0, 1);
    8658                 :           0 :         if (integer_minus_onep (_p1))
    8659                 :             :           {
    8660                 :           0 :             {
    8661                 :           0 :               tree captures[3] ATTRIBUTE_UNUSED = { _p0, _q20, _q21 };
    8662                 :           0 :               tree res = generic_simplify_32 (loc, type, _p0, _p1, captures, UNGE_EXPR, LT_EXPR, LT_EXPR);
    8663                 :           0 :               if (res) return res;
    8664                 :             :             }
    8665                 :             :           }
    8666                 :             :         break;
    8667                 :             :       }
    8668                 :           0 :     case UNEQ_EXPR:
    8669                 :           0 :       {
    8670                 :           0 :         tree _q20 = TREE_OPERAND (_p0, 0);
    8671                 :           0 :         tree _q21 = TREE_OPERAND (_p0, 1);
    8672                 :           0 :         if (integer_minus_onep (_p1))
    8673                 :             :           {
    8674                 :           0 :             {
    8675                 :           0 :               tree captures[3] ATTRIBUTE_UNUSED = { _p0, _q20, _q21 };
    8676                 :           0 :               tree res = generic_simplify_32 (loc, type, _p0, _p1, captures, UNEQ_EXPR, LTGT_EXPR, LTGT_EXPR);
    8677                 :           0 :               if (res) return res;
    8678                 :             :             }
    8679                 :             :           }
    8680                 :             :         break;
    8681                 :             :       }
    8682                 :           0 :     case LTGT_EXPR:
    8683                 :           0 :       {
    8684                 :           0 :         tree _q20 = TREE_OPERAND (_p0, 0);
    8685                 :           0 :         tree _q21 = TREE_OPERAND (_p0, 1);
    8686                 :           0 :         if (integer_minus_onep (_p1))
    8687                 :             :           {
    8688                 :           0 :             {
    8689                 :           0 :               tree captures[3] ATTRIBUTE_UNUSED = { _p0, _q20, _q21 };
    8690                 :           0 :               tree res = generic_simplify_32 (loc, type, _p0, _p1, captures, LTGT_EXPR, UNEQ_EXPR, UNEQ_EXPR);
    8691                 :           0 :               if (res) return res;
    8692                 :             :             }
    8693                 :             :           }
    8694                 :             :         break;
    8695                 :             :       }
    8696                 :      564701 :     case RDIV_EXPR:
    8697                 :      564701 :       {
    8698                 :      564701 :         tree _q20 = TREE_OPERAND (_p0, 0);
    8699                 :      564701 :         tree _q21 = TREE_OPERAND (_p0, 1);
    8700                 :      564701 :         switch (TREE_CODE (_p1))
    8701                 :             :           {
    8702                 :      120306 :           case RDIV_EXPR:
    8703                 :      120306 :             {
    8704                 :      120306 :               tree _q50 = TREE_OPERAND (_p1, 0);
    8705                 :      120306 :               tree _q51 = TREE_OPERAND (_p1, 1);
    8706                 :      120306 :               if ((_q51 == _q21 && ! TREE_SIDE_EFFECTS (_q51)) || (operand_equal_p (_q51, _q21, 0) && types_match (_q51, _q21)))
    8707                 :             :                 {
    8708                 :           1 :                   {
    8709                 :           1 :                     tree captures[3] ATTRIBUTE_UNUSED = { _q20, _q21, _q50 };
    8710                 :           1 :                     tree res = generic_simplify_33 (loc, type, _p0, _p1, captures, PLUS_EXPR);
    8711                 :           1 :                     if (res) return res;
    8712                 :             :                   }
    8713                 :             :                 }
    8714                 :             :               break;
    8715                 :             :             }
    8716                 :             :           default:;
    8717                 :             :           }
    8718                 :             :         break;
    8719                 :             :       }
    8720                 :     1588394 :     case MINUS_EXPR:
    8721                 :     1588394 :       {
    8722                 :     1588394 :         tree _q20 = TREE_OPERAND (_p0, 0);
    8723                 :     1588394 :         tree _q21 = TREE_OPERAND (_p0, 1);
    8724                 :     1588394 :         switch (TREE_CODE (_q20))
    8725                 :             :           {
    8726                 :          37 :           case CALL_EXPR:
    8727                 :          37 :             switch (get_call_combined_fn (_q20))
    8728                 :             :               {
    8729                 :           4 :               case CFN_BUILT_IN_POPCOUNT:
    8730                 :           4 :                 if (call_expr_nargs (_q20) == 1)
    8731                 :             :     {
    8732                 :           4 :                     tree _q30 = CALL_EXPR_ARG (_q20, 0);
    8733                 :           4 :                     switch (TREE_CODE (_q21))
    8734                 :             :                       {
    8735                 :           4 :                       case CALL_EXPR:
    8736                 :           4 :                         switch (get_call_combined_fn (_q21))
    8737                 :             :                           {
    8738                 :           4 :                           case CFN_BUILT_IN_POPCOUNT:
    8739                 :           4 :                             if (call_expr_nargs (_q21) == 1)
    8740                 :             :     {
    8741                 :           4 :                                 tree _q50 = CALL_EXPR_ARG (_q21, 0);
    8742                 :           4 :                                 switch (TREE_CODE (_q50))
    8743                 :             :                                   {
    8744                 :           2 :                                   case BIT_AND_EXPR:
    8745                 :           2 :                                     {
    8746                 :           2 :                                       tree _q60 = TREE_OPERAND (_q50, 0);
    8747                 :           2 :                                       tree _q61 = TREE_OPERAND (_q50, 1);
    8748                 :           2 :                                       if ((_q60 == _q30 && ! TREE_SIDE_EFFECTS (_q60)) || (operand_equal_p (_q60, _q30, 0) && types_match (_q60, _q30)))
    8749                 :             :                                         {
    8750                 :           1 :                                           switch (TREE_CODE (_p1))
    8751                 :             :                                             {
    8752                 :           1 :                                             case CALL_EXPR:
    8753                 :           1 :                                               switch (get_call_combined_fn (_p1))
    8754                 :             :                                                 {
    8755                 :           1 :                                                 case CFN_BUILT_IN_POPCOUNT:
    8756                 :           1 :                                                   if (call_expr_nargs (_p1) == 1)
    8757                 :             :     {
    8758                 :           1 :                                                       tree _q90 = CALL_EXPR_ARG (_p1, 0);
    8759                 :           1 :                                                       if ((_q90 == _q61 && ! TREE_SIDE_EFFECTS (_q90)) || (operand_equal_p (_q90, _q61, 0) && types_match (_q90, _q61)))
    8760                 :             :                                                         {
    8761                 :           1 :                                                           {
    8762                 :           1 :                                                             tree captures[7] ATTRIBUTE_UNUSED = { _p0, _q20, _q30, _q21, _q50, _q61, _p1 };
    8763                 :           1 :                                                             tree res = generic_simplify_37 (loc, type, _p0, _p1, captures, BIT_AND_EXPR, BIT_IOR_EXPR, CFN_BUILT_IN_POPCOUNT);
    8764                 :           1 :                                                             if (res) return res;
    8765                 :             :                                                           }
    8766                 :             :                                                         }
    8767                 :             :                                                     }
    8768                 :             :                                                   break;
    8769                 :             :                                                 default:;
    8770                 :             :                                                 }
    8771                 :             :                                               break;
    8772                 :             :                                             default:;
    8773                 :             :                                             }
    8774                 :             :                                         }
    8775                 :           1 :                                       if ((_q61 == _q30 && ! TREE_SIDE_EFFECTS (_q61)) || (operand_equal_p (_q61, _q30, 0) && types_match (_q61, _q30)))
    8776                 :             :                                         {
    8777                 :           1 :                                           switch (TREE_CODE (_p1))
    8778                 :             :                                             {
    8779                 :           1 :                                             case CALL_EXPR:
    8780                 :           1 :                                               switch (get_call_combined_fn (_p1))
    8781                 :             :                                                 {
    8782                 :           1 :                                                 case CFN_BUILT_IN_POPCOUNT:
    8783                 :           1 :                                                   if (call_expr_nargs (_p1) == 1)
    8784                 :             :     {
    8785                 :           1 :                                                       tree _q90 = CALL_EXPR_ARG (_p1, 0);
    8786                 :           1 :                                                       if ((_q90 == _q60 && ! TREE_SIDE_EFFECTS (_q90)) || (operand_equal_p (_q90, _q60, 0) && types_match (_q90, _q60)))
    8787                 :             :                                                         {
    8788                 :           1 :                                                           {
    8789                 :           1 :                                                             tree captures[7] ATTRIBUTE_UNUSED = { _p0, _q20, _q30, _q21, _q50, _q60, _p1 };
    8790                 :           1 :                                                             tree res = generic_simplify_37 (loc, type, _p0, _p1, captures, BIT_AND_EXPR, BIT_IOR_EXPR, CFN_BUILT_IN_POPCOUNT);
    8791                 :           1 :                                                             if (res) return res;
    8792                 :             :                                                           }
    8793                 :             :                                                         }
    8794                 :             :                                                     }
    8795                 :             :                                                   break;
    8796                 :             :                                                 default:;
    8797                 :             :                                                 }
    8798                 :             :                                               break;
    8799                 :             :                                             default:;
    8800                 :             :                                             }
    8801                 :             :                                         }
    8802                 :             :                                       break;
    8803                 :             :                                     }
    8804                 :           2 :                                   case BIT_IOR_EXPR:
    8805                 :           2 :                                     {
    8806                 :           2 :                                       tree _q60 = TREE_OPERAND (_q50, 0);
    8807                 :           2 :                                       tree _q61 = TREE_OPERAND (_q50, 1);
    8808                 :           2 :                                       if ((_q60 == _q30 && ! TREE_SIDE_EFFECTS (_q60)) || (operand_equal_p (_q60, _q30, 0) && types_match (_q60, _q30)))
    8809                 :             :                                         {
    8810                 :           1 :                                           switch (TREE_CODE (_p1))
    8811                 :             :                                             {
    8812                 :           1 :                                             case CALL_EXPR:
    8813                 :           1 :                                               switch (get_call_combined_fn (_p1))
    8814                 :             :                                                 {
    8815                 :           1 :                                                 case CFN_BUILT_IN_POPCOUNT:
    8816                 :           1 :                                                   if (call_expr_nargs (_p1) == 1)
    8817                 :             :     {
    8818                 :           1 :                                                       tree _q90 = CALL_EXPR_ARG (_p1, 0);
    8819                 :           1 :                                                       if ((_q90 == _q61 && ! TREE_SIDE_EFFECTS (_q90)) || (operand_equal_p (_q90, _q61, 0) && types_match (_q90, _q61)))
    8820                 :             :                                                         {
    8821                 :           1 :                                                           {
    8822                 :           1 :                                                             tree captures[7] ATTRIBUTE_UNUSED = { _p0, _q20, _q30, _q21, _q50, _q61, _p1 };
    8823                 :           1 :                                                             tree res = generic_simplify_37 (loc, type, _p0, _p1, captures, BIT_IOR_EXPR, BIT_AND_EXPR, CFN_BUILT_IN_POPCOUNT);
    8824                 :           1 :                                                             if (res) return res;
    8825                 :             :                                                           }
    8826                 :             :                                                         }
    8827                 :             :                                                     }
    8828                 :             :                                                   break;
    8829                 :             :                                                 default:;
    8830                 :             :                                                 }
    8831                 :             :                                               break;
    8832                 :             :                                             default:;
    8833                 :             :                                             }
    8834                 :             :                                         }
    8835                 :           1 :                                       if ((_q61 == _q30 && ! TREE_SIDE_EFFECTS (_q61)) || (operand_equal_p (_q61, _q30, 0) && types_match (_q61, _q30)))
    8836                 :             :                                         {
    8837                 :           1 :                                           switch (TREE_CODE (_p1))
    8838                 :             :                                             {
    8839                 :           1 :                                             case CALL_EXPR:
    8840                 :           1 :                                               switch (get_call_combined_fn (_p1))
    8841                 :             :                                                 {
    8842                 :           1 :                                                 case CFN_BUILT_IN_POPCOUNT:
    8843                 :           1 :                                                   if (call_expr_nargs (_p1) == 1)
    8844                 :             :     {
    8845                 :           1 :                                                       tree _q90 = CALL_EXPR_ARG (_p1, 0);
    8846                 :           1 :                                                       if ((_q90 == _q60 && ! TREE_SIDE_EFFECTS (_q90)) || (operand_equal_p (_q90, _q60, 0) && types_match (_q90, _q60)))
    8847                 :             :                                                         {
    8848                 :           1 :                                                           {
    8849                 :           1 :                                                             tree captures[7] ATTRIBUTE_UNUSED = { _p0, _q20, _q30, _q21, _q50, _q60, _p1 };
    8850                 :           1 :                                                             tree res = generic_simplify_37 (loc, type, _p0, _p1, captures, BIT_IOR_EXPR, BIT_AND_EXPR, CFN_BUILT_IN_POPCOUNT);
    8851                 :           1 :                                                             if (res) return res;
    8852                 :             :                                                           }
    8853                 :             :                                                         }
    8854                 :             :                                                     }
    8855                 :             :                                                   break;
    8856                 :             :                                                 default:;
    8857                 :             :                                                 }
    8858                 :             :                                               break;
    8859                 :             :                                             default:;
    8860                 :             :                                             }
    8861                 :             :                                         }
    8862                 :             :                                       break;
    8863                 :             :                                     }
    8864                 :             :                                   default:;
    8865                 :             :                                   }
    8866                 :             :                               }
    8867                 :             :                             break;
    8868                 :             :                           default:;
    8869                 :             :                           }
    8870                 :             :                         break;
    8871                 :             :                       default:;
    8872                 :             :                       }
    8873                 :             :                   }
    8874                 :             :                 break;
    8875                 :           0 :               case CFN_BUILT_IN_POPCOUNTLL:
    8876                 :           0 :                 if (call_expr_nargs (_q20) == 1)
    8877                 :             :     {
    8878                 :           0 :                     tree _q30 = CALL_EXPR_ARG (_q20, 0);
    8879                 :           0 :                     switch (TREE_CODE (_q21))
    8880                 :             :                       {
    8881                 :           0 :                       case CALL_EXPR:
    8882                 :           0 :                         switch (get_call_combined_fn (_q21))
    8883                 :             :                           {
    8884                 :           0 :                           case CFN_BUILT_IN_POPCOUNTLL:
    8885                 :           0 :                             if (call_expr_nargs (_q21) == 1)
    8886                 :             :     {
    8887                 :           0 :                                 tree _q50 = CALL_EXPR_ARG (_q21, 0);
    8888                 :           0 :                                 switch (TREE_CODE (_q50))
    8889                 :             :                                   {
    8890                 :           0 :                                   case BIT_AND_EXPR:
    8891                 :           0 :                                     {
    8892                 :           0 :                                       tree _q60 = TREE_OPERAND (_q50, 0);
    8893                 :           0 :                                       tree _q61 = TREE_OPERAND (_q50, 1);
    8894                 :           0 :                                       if ((_q60 == _q30 && ! TREE_SIDE_EFFECTS (_q60)) || (operand_equal_p (_q60, _q30, 0) && types_match (_q60, _q30)))
    8895                 :             :                                         {
    8896                 :           0 :                                           switch (TREE_CODE (_p1))
    8897                 :             :                                             {
    8898                 :           0 :                                             case CALL_EXPR:
    8899                 :           0 :                                               switch (get_call_combined_fn (_p1))
    8900                 :             :                                                 {
    8901                 :           0 :                                                 case CFN_BUILT_IN_POPCOUNTLL:
    8902                 :           0 :                                                   if (call_expr_nargs (_p1) == 1)
    8903                 :             :     {
    8904                 :           0 :                                                       tree _q90 = CALL_EXPR_ARG (_p1, 0);
    8905                 :           0 :                                                       if ((_q90 == _q61 && ! TREE_SIDE_EFFECTS (_q90)) || (operand_equal_p (_q90, _q61, 0) && types_match (_q90, _q61)))
    8906                 :             :                                                         {
    8907                 :           0 :                                                           {
    8908                 :           0 :                                                             tree captures[7] ATTRIBUTE_UNUSED = { _p0, _q20, _q30, _q21, _q50, _q61, _p1 };
    8909                 :           0 :                                                             tree res = generic_simplify_37 (loc, type, _p0, _p1, captures, BIT_AND_EXPR, BIT_IOR_EXPR, CFN_BUILT_IN_POPCOUNTLL);
    8910                 :           0 :                                                             if (res) return res;
    8911                 :             :                                                           }
    8912                 :             :                                                         }
    8913                 :             :                                                     }
    8914                 :             :                                                   break;
    8915                 :             :                                                 default:;
    8916                 :             :                                                 }
    8917                 :             :                                               break;
    8918                 :             :                                             default:;
    8919                 :             :                                             }
    8920                 :             :                                         }
    8921                 :           0 :                                       if ((_q61 == _q30 && ! TREE_SIDE_EFFECTS (_q61)) || (operand_equal_p (_q61, _q30, 0) && types_match (_q61, _q30)))
    8922                 :             :                                         {
    8923                 :           0 :                                           switch (TREE_CODE (_p1))
    8924                 :             :                                             {
    8925                 :           0 :                                             case CALL_EXPR:
    8926                 :           0 :                                               switch (get_call_combined_fn (_p1))
    8927                 :             :                                                 {
    8928                 :           0 :                                                 case CFN_BUILT_IN_POPCOUNTLL:
    8929                 :           0 :                                                   if (call_expr_nargs (_p1) == 1)
    8930                 :             :     {
    8931                 :           0 :                                                       tree _q90 = CALL_EXPR_ARG (_p1, 0);
    8932                 :           0 :                                                       if ((_q90 == _q60 && ! TREE_SIDE_EFFECTS (_q90)) || (operand_equal_p (_q90, _q60, 0) && types_match (_q90, _q60)))
    8933                 :             :                                                         {
    8934                 :           0 :                                                           {
    8935                 :           0 :                                                             tree captures[7] ATTRIBUTE_UNUSED = { _p0, _q20, _q30, _q21, _q50, _q60, _p1 };
    8936                 :           0 :                                                             tree res = generic_simplify_37 (loc, type, _p0, _p1, captures, BIT_AND_EXPR, BIT_IOR_EXPR, CFN_BUILT_IN_POPCOUNTLL);
    8937                 :           0 :                                                             if (res) return res;
    8938                 :             :                                                           }
    8939                 :             :                                                         }
    8940                 :             :                                                     }
    8941                 :             :                                                   break;
    8942                 :             :                                                 default:;
    8943                 :             :                                                 }
    8944                 :             :                                               break;
    8945                 :             :                                             default:;
    8946                 :             :                                             }
    8947                 :             :                                         }
    8948                 :             :                                       break;
    8949                 :             :                                     }
    8950                 :           0 :                                   case BIT_IOR_EXPR:
    8951                 :           0 :                                     {
    8952                 :           0 :                                       tree _q60 = TREE_OPERAND (_q50, 0);
    8953                 :           0 :                                       tree _q61 = TREE_OPERAND (_q50, 1);
    8954                 :           0 :                                       if ((_q60 == _q30 && ! TREE_SIDE_EFFECTS (_q60)) || (operand_equal_p (_q60, _q30, 0) && types_match (_q60, _q30)))
    8955                 :             :                                         {
    8956                 :           0 :                                           switch (TREE_CODE (_p1))
    8957                 :             :                                             {
    8958                 :           0 :                                             case CALL_EXPR:
    8959                 :           0 :                                               switch (get_call_combined_fn (_p1))
    8960                 :             :                                                 {
    8961                 :           0 :                                                 case CFN_BUILT_IN_POPCOUNTLL:
    8962                 :           0 :                                                   if (call_expr_nargs (_p1) == 1)
    8963                 :             :     {
    8964                 :           0 :                                                       tree _q90 = CALL_EXPR_ARG (_p1, 0);
    8965                 :           0 :                                                       if ((_q90 == _q61 && ! TREE_SIDE_EFFECTS (_q90)) || (operand_equal_p (_q90, _q61, 0) && types_match (_q90, _q61)))
    8966                 :             :                                                         {
    8967                 :           0 :                                                           {
    8968                 :           0 :                                                             tree captures[7] ATTRIBUTE_UNUSED = { _p0, _q20, _q30, _q21, _q50, _q61, _p1 };
    8969                 :           0 :                                                             tree res = generic_simplify_37 (loc, type, _p0, _p1, captures, BIT_IOR_EXPR, BIT_AND_EXPR, CFN_BUILT_IN_POPCOUNTLL);
    8970                 :           0 :                                                             if (res) return res;
    8971                 :             :                                                           }
    8972                 :             :                                                         }
    8973                 :             :                                                     }
    8974                 :             :                                                   break;
    8975                 :             :                                                 default:;
    8976                 :             :                                                 }
    8977                 :             :                                               break;
    8978                 :             :                                             default:;
    8979                 :             :                                             }
    8980                 :             :                                         }
    8981                 :           0 :                                       if ((_q61 == _q30 && ! TREE_SIDE_EFFECTS (_q61)) || (operand_equal_p (_q61, _q30, 0) && types_match (_q61, _q30)))
    8982                 :             :                                         {
    8983                 :           0 :                                           switch (TREE_CODE (_p1))
    8984                 :             :                                             {
    8985                 :           0 :                                             case CALL_EXPR:
    8986                 :           0 :                                               switch (get_call_combined_fn (_p1))
    8987                 :             :                                                 {
    8988                 :           0 :                                                 case CFN_BUILT_IN_POPCOUNTLL:
    8989                 :           0 :                                                   if (call_expr_nargs (_p1) == 1)
    8990                 :             :     {
    8991                 :           0 :                                                       tree _q90 = CALL_EXPR_ARG (_p1, 0);
    8992                 :           0 :                                                       if ((_q90 == _q60 && ! TREE_SIDE_EFFECTS (_q90)) || (operand_equal_p (_q90, _q60, 0) && types_match (_q90, _q60)))
    8993                 :             :                                                         {
    8994                 :           0 :                                                           {
    8995                 :           0 :                                                             tree captures[7] ATTRIBUTE_UNUSED = { _p0, _q20, _q30, _q21, _q50, _q60, _p1 };
    8996                 :           0 :                                                             tree res = generic_simplify_37 (loc, type, _p0, _p1, captures, BIT_IOR_EXPR, BIT_AND_EXPR, CFN_BUILT_IN_POPCOUNTLL);
    8997                 :           0 :                                                             if (res) return res;
    8998                 :             :                                                           }
    8999                 :             :                                                         }
    9000                 :             :                                                     }
    9001                 :             :                                                   break;
    9002                 :             :                                                 default:;
    9003                 :             :                                                 }
    9004                 :             :                                               break;
    9005                 :             :                                             default:;
    9006                 :             :                                             }
    9007                 :             :                                         }
    9008                 :             :                                       break;
    9009                 :             :                                     }
    9010                 :             :                                   default:;
    9011                 :             :                                   }
    9012                 :             :                               }
    9013                 :             :                             break;
    9014                 :             :                           default:;
    9015                 :             :                           }
    9016                 :             :                         break;
    9017                 :             :                       default:;
    9018                 :             :                       }
    9019                 :             :                   }
    9020                 :             :                 break;
    9021                 :           0 :               case CFN_POPCOUNT:
    9022                 :           0 :                 if (call_expr_nargs (_q20) == 1)
    9023                 :             :     {
    9024                 :           0 :                     tree _q30 = CALL_EXPR_ARG (_q20, 0);
    9025                 :           0 :                     switch (TREE_CODE (_q21))
    9026                 :             :                       {
    9027                 :           0 :                       case CALL_EXPR:
    9028                 :           0 :                         switch (get_call_combined_fn (_q21))
    9029                 :             :                           {
    9030                 :           0 :                           case CFN_POPCOUNT:
    9031                 :           0 :                             if (call_expr_nargs (_q21) == 1)
    9032                 :             :     {
    9033                 :           0 :                                 tree _q50 = CALL_EXPR_ARG (_q21, 0);
    9034                 :           0 :                                 switch (TREE_CODE (_q50))
    9035                 :             :                                   {
    9036                 :           0 :                                   case BIT_AND_EXPR:
    9037                 :           0 :                                     {
    9038                 :           0 :                                       tree _q60 = TREE_OPERAND (_q50, 0);
    9039                 :           0 :                                       tree _q61 = TREE_OPERAND (_q50, 1);
    9040                 :           0 :                                       if ((_q60 == _q30 && ! TREE_SIDE_EFFECTS (_q60)) || (operand_equal_p (_q60, _q30, 0) && types_match (_q60, _q30)))
    9041                 :             :                                         {
    9042                 :           0 :                                           switch (TREE_CODE (_p1))
    9043                 :             :                                             {
    9044                 :           0 :                                             case CALL_EXPR:
    9045                 :           0 :                                               switch (get_call_combined_fn (_p1))
    9046                 :             :                                                 {
    9047                 :           0 :                                                 case CFN_POPCOUNT:
    9048                 :           0 :                                                   if (call_expr_nargs (_p1) == 1)
    9049                 :             :     {
    9050                 :           0 :                                                       tree _q90 = CALL_EXPR_ARG (_p1, 0);
    9051                 :           0 :                                                       if ((_q90 == _q61 && ! TREE_SIDE_EFFECTS (_q90)) || (operand_equal_p (_q90, _q61, 0) && types_match (_q90, _q61)))
    9052                 :             :                                                         {
    9053                 :           0 :                                                           {
    9054                 :           0 :                                                             tree captures[7] ATTRIBUTE_UNUSED = { _p0, _q20, _q30, _q21, _q50, _q61, _p1 };
    9055                 :           0 :                                                             tree res = generic_simplify_37 (loc, type, _p0, _p1, captures, BIT_AND_EXPR, BIT_IOR_EXPR, CFN_POPCOUNT);
    9056                 :           0 :                                                             if (res) return res;
    9057                 :             :                                                           }
    9058                 :             :                                                         }
    9059                 :             :                                                     }
    9060                 :             :                                                   break;
    9061                 :             :                                                 default:;
    9062                 :             :                                                 }
    9063                 :             :                                               break;
    9064                 :             :                                             default:;
    9065                 :             :                                             }
    9066                 :             :                                         }
    9067                 :           0 :                                       if ((_q61 == _q30 && ! TREE_SIDE_EFFECTS (_q61)) || (operand_equal_p (_q61, _q30, 0) && types_match (_q61, _q30)))
    9068                 :             :                                         {
    9069                 :           0 :                                           switch (TREE_CODE (_p1))
    9070                 :             :                                             {
    9071                 :           0 :                                             case CALL_EXPR:
    9072                 :           0 :                                               switch (get_call_combined_fn (_p1))
    9073                 :             :                                                 {
    9074                 :           0 :                                                 case CFN_POPCOUNT:
    9075                 :           0 :                                                   if (call_expr_nargs (_p1) == 1)
    9076                 :             :     {
    9077                 :           0 :                                                       tree _q90 = CALL_EXPR_ARG (_p1, 0);
    9078                 :           0 :                                                       if ((_q90 == _q60 && ! TREE_SIDE_EFFECTS (_q90)) || (operand_equal_p (_q90, _q60, 0) && types_match (_q90, _q60)))
    9079                 :             :                                                         {
    9080                 :           0 :                                                           {
    9081                 :           0 :                                                             tree captures[7] ATTRIBUTE_UNUSED = { _p0, _q20, _q30, _q21, _q50, _q60, _p1 };
    9082                 :           0 :                                                             tree res = generic_simplify_37 (loc, type, _p0, _p1, captures, BIT_AND_EXPR, BIT_IOR_EXPR, CFN_POPCOUNT);
    9083                 :           0 :                                                             if (res) return res;
    9084                 :             :                                                           }
    9085                 :             :                                                         }
    9086                 :             :                                                     }
    9087                 :             :                                                   break;
    9088                 :             :                                                 default:;
    9089                 :             :                                                 }
    9090                 :             :                                               break;
    9091                 :             :                                             default:;
    9092                 :             :                                             }
    9093                 :             :                                         }
    9094                 :             :                                       break;
    9095                 :             :                                     }
    9096                 :           0 :                                   case BIT_IOR_EXPR:
    9097                 :           0 :                                     {
    9098                 :           0 :                                       tree _q60 = TREE_OPERAND (_q50, 0);
    9099                 :           0 :                                       tree _q61 = TREE_OPERAND (_q50, 1);
    9100                 :           0 :                                       if ((_q60 == _q30 && ! TREE_SIDE_EFFECTS (_q60)) || (operand_equal_p (_q60, _q30, 0) && types_match (_q60, _q30)))
    9101                 :             :                                         {
    9102                 :           0 :                                           switch (TREE_CODE (_p1))
    9103                 :             :                                             {
    9104                 :           0 :                                             case CALL_EXPR:
    9105                 :           0 :                                               switch (get_call_combined_fn (_p1))
    9106                 :             :                                                 {
    9107                 :           0 :                                                 case CFN_POPCOUNT:
    9108                 :           0 :                                                   if (call_expr_nargs (_p1) == 1)
    9109                 :             :     {
    9110                 :           0 :                                                       tree _q90 = CALL_EXPR_ARG (_p1, 0);
    9111                 :           0 :                                                       if ((_q90 == _q61 && ! TREE_SIDE_EFFECTS (_q90)) || (operand_equal_p (_q90, _q61, 0) && types_match (_q90, _q61)))
    9112                 :             :                                                         {
    9113                 :           0 :                                                           {
    9114                 :           0 :                                                             tree captures[7] ATTRIBUTE_UNUSED = { _p0, _q20, _q30, _q21, _q50, _q61, _p1 };
    9115                 :           0 :                                                             tree res = generic_simplify_37 (loc, type, _p0, _p1, captures, BIT_IOR_EXPR, BIT_AND_EXPR, CFN_POPCOUNT);
    9116                 :           0 :                                                             if (res) return res;
    9117                 :             :                                                           }
    9118                 :             :                                                         }
    9119                 :             :                                                     }
    9120                 :             :                                                   break;
    9121                 :             :                                                 default:;
    9122                 :             :                                                 }
    9123                 :             :                                               break;
    9124                 :             :                                             default:;
    9125                 :             :                                             }
    9126                 :             :                                         }
    9127                 :           0 :                                       if ((_q61 == _q30 && ! TREE_SIDE_EFFECTS (_q61)) || (operand_equal_p (_q61, _q30, 0) && types_match (_q61, _q30)))
    9128                 :             :                                         {
    9129                 :           0 :                                           switch (TREE_CODE (_p1))
    9130                 :             :                                             {
    9131                 :           0 :                                             case CALL_EXPR:
    9132                 :           0 :                                               switch (get_call_combined_fn (_p1))
    9133                 :             :                                                 {
    9134                 :           0 :                                                 case CFN_POPCOUNT:
    9135                 :           0 :                                                   if (call_expr_nargs (_p1) == 1)
    9136                 :             :     {
    9137                 :           0 :                                                       tree _q90 = CALL_EXPR_ARG (_p1, 0);
    9138                 :           0 :                                                       if ((_q90 == _q60 && ! TREE_SIDE_EFFECTS (_q90)) || (operand_equal_p (_q90, _q60, 0) && types_match (_q90, _q60)))
    9139                 :             :                                                         {
    9140                 :           0 :                                                           {
    9141                 :           0 :                                                             tree captures[7] ATTRIBUTE_UNUSED = { _p0, _q20, _q30, _q21, _q50, _q60, _p1 };
    9142                 :           0 :                                                             tree res = generic_simplify_37 (loc, type, _p0, _p1, captures, BIT_IOR_EXPR, BIT_AND_EXPR, CFN_POPCOUNT);
    9143                 :           0 :                                                             if (res) return res;
    9144                 :             :                                                           }
    9145                 :             :                                                         }
    9146                 :             :                                                     }
    9147                 :             :                                                   break;
    9148                 :             :                                                 default:;
    9149                 :             :                                                 }
    9150                 :             :                                               break;
    9151                 :             :                                             default:;
    9152                 :             :                                             }
    9153                 :             :                                         }
    9154                 :             :                                       break;
    9155                 :             :                                     }
    9156                 :             :                                   default:;
    9157                 :             :                                   }
    9158                 :             :                               }
    9159                 :             :                             break;
    9160                 :             :                           default:;
    9161                 :             :                           }
    9162                 :             :                         break;
    9163                 :             :                       default:;
    9164                 :             :                       }
    9165                 :             :                   }
    9166                 :             :                 break;
    9167                 :           0 :               case CFN_BUILT_IN_POPCOUNTIMAX:
    9168                 :           0 :                 if (call_expr_nargs (_q20) == 1)
    9169                 :             :     {
    9170                 :           0 :                     tree _q30 = CALL_EXPR_ARG (_q20, 0);
    9171                 :           0 :                     switch (TREE_CODE (_q21))
    9172                 :             :                       {
    9173                 :           0 :                       case CALL_EXPR:
    9174                 :           0 :                         switch (get_call_combined_fn (_q21))
    9175                 :             :                           {
    9176                 :           0 :                           case CFN_BUILT_IN_POPCOUNTIMAX:
    9177                 :           0 :                             if (call_expr_nargs (_q21) == 1)
    9178                 :             :     {
    9179                 :           0 :                                 tree _q50 = CALL_EXPR_ARG (_q21, 0);
    9180                 :           0 :                                 switch (TREE_CODE (_q50))
    9181                 :             :                                   {
    9182                 :           0 :                                   case BIT_AND_EXPR:
    9183                 :           0 :                                     {
    9184                 :           0 :                                       tree _q60 = TREE_OPERAND (_q50, 0);
    9185                 :           0 :                                       tree _q61 = TREE_OPERAND (_q50, 1);
    9186                 :           0 :                                       if ((_q60 == _q30 && ! TREE_SIDE_EFFECTS (_q60)) || (operand_equal_p (_q60, _q30, 0) && types_match (_q60, _q30)))
    9187                 :             :                                         {
    9188                 :           0 :                                           switch (TREE_CODE (_p1))
    9189                 :             :                                             {
    9190                 :           0 :                                             case CALL_EXPR:
    9191                 :           0 :                                               switch (get_call_combined_fn (_p1))
    9192                 :             :                                                 {
    9193                 :           0 :                                                 case CFN_BUILT_IN_POPCOUNTIMAX:
    9194                 :           0 :                                                   if (call_expr_nargs (_p1) == 1)
    9195                 :             :     {
    9196                 :           0 :                                                       tree _q90 = CALL_EXPR_ARG (_p1, 0);
    9197                 :           0 :                                                       if ((_q90 == _q61 && ! TREE_SIDE_EFFECTS (_q90)) || (operand_equal_p (_q90, _q61, 0) && types_match (_q90, _q61)))
    9198                 :             :                                                         {
    9199                 :           0 :                                                           {
    9200                 :           0 :                                                             tree captures[7] ATTRIBUTE_UNUSED = { _p0, _q20, _q30, _q21, _q50, _q61, _p1 };
    9201                 :           0 :                                                             tree res = generic_simplify_37 (loc, type, _p0, _p1, captures, BIT_AND_EXPR, BIT_IOR_EXPR, CFN_BUILT_IN_POPCOUNTIMAX);
    9202                 :           0 :                                                             if (res) return res;
    9203                 :             :                                                           }
    9204                 :             :                                                         }
    9205                 :             :                                                     }
    9206                 :             :                                                   break;
    9207                 :             :                                                 default:;
    9208                 :             :                                                 }
    9209                 :             :                                               break;
    9210                 :             :                                             default:;
    9211                 :             :                                             }
    9212                 :             :                                         }
    9213                 :           0 :                                       if ((_q61 == _q30 && ! TREE_SIDE_EFFECTS (_q61)) || (operand_equal_p (_q61, _q30, 0) && types_match (_q61, _q30)))
    9214                 :             :                                         {
    9215                 :           0 :                                           switch (TREE_CODE (_p1))
    9216                 :             :                                             {
    9217                 :           0 :                                             case CALL_EXPR:
    9218                 :           0 :                                               switch (get_call_combined_fn (_p1))
    9219                 :             :                                                 {
    9220                 :           0 :                                                 case CFN_BUILT_IN_POPCOUNTIMAX:
    9221                 :           0 :                                                   if (call_expr_nargs (_p1) == 1)
    9222                 :             :     {
    9223                 :           0 :                                                       tree _q90 = CALL_EXPR_ARG (_p1, 0);
    9224                 :           0 :                                                       if ((_q90 == _q60 && ! TREE_SIDE_EFFECTS (_q90)) || (operand_equal_p (_q90, _q60, 0) && types_match (_q90, _q60)))
    9225                 :             :                                                         {
    9226                 :           0 :                                                           {
    9227                 :           0 :                                                             tree captures[7] ATTRIBUTE_UNUSED = { _p0, _q20, _q30, _q21, _q50, _q60, _p1 };
    9228                 :           0 :                                                             tree res = generic_simplify_37 (loc, type, _p0, _p1, captures, BIT_AND_EXPR, BIT_IOR_EXPR, CFN_BUILT_IN_POPCOUNTIMAX);
    9229                 :           0 :                                                             if (res) return res;
    9230                 :             :                                                           }
    9231                 :             :                                                         }
    9232                 :             :                                                     }
    9233                 :             :                                                   break;
    9234                 :             :                                                 default:;
    9235                 :             :                                                 }
    9236                 :             :                                               break;
    9237                 :             :                                             default:;
    9238                 :             :                                             }
    9239                 :             :                                         }
    9240                 :             :                                       break;
    9241                 :             :                                     }
    9242                 :           0 :                                   case BIT_IOR_EXPR:
    9243                 :           0 :                                     {
    9244                 :           0 :                                       tree _q60 = TREE_OPERAND (_q50, 0);
    9245                 :           0 :                                       tree _q61 = TREE_OPERAND (_q50, 1);
    9246                 :           0 :                                       if ((_q60 == _q30 && ! TREE_SIDE_EFFECTS (_q60)) || (operand_equal_p (_q60, _q30, 0) && types_match (_q60, _q30)))
    9247                 :             :                                         {
    9248                 :           0 :                                           switch (TREE_CODE (_p1))
    9249                 :             :                                             {
    9250                 :           0 :                                             case CALL_EXPR:
    9251                 :           0 :                                               switch (get_call_combined_fn (_p1))
    9252                 :             :                                                 {
    9253                 :           0 :                                                 case CFN_BUILT_IN_POPCOUNTIMAX:
    9254                 :           0 :                                                   if (call_expr_nargs (_p1) == 1)
    9255                 :             :     {
    9256                 :           0 :                                                       tree _q90 = CALL_EXPR_ARG (_p1, 0);
    9257                 :           0 :                                                       if ((_q90 == _q61 && ! TREE_SIDE_EFFECTS (_q90)) || (operand_equal_p (_q90, _q61, 0) && types_match (_q90, _q61)))
    9258                 :             :                                                         {
    9259                 :           0 :                                                           {
    9260                 :           0 :                                                             tree captures[7] ATTRIBUTE_UNUSED = { _p0, _q20, _q30, _q21, _q50, _q61, _p1 };
    9261                 :           0 :                                                             tree res = generic_simplify_37 (loc, type, _p0, _p1, captures, BIT_IOR_EXPR, BIT_AND_EXPR, CFN_BUILT_IN_POPCOUNTIMAX);
    9262                 :           0 :                                                             if (res) return res;
    9263                 :             :                                                           }
    9264                 :             :                                                         }
    9265                 :             :                                                     }
    9266                 :             :                                                   break;
    9267                 :             :                                                 default:;
    9268                 :             :                                                 }
    9269                 :             :                                               break;
    9270                 :             :                                             default:;
    9271                 :             :                                             }
    9272                 :             :                                         }
    9273                 :           0 :                                       if ((_q61 == _q30 && ! TREE_SIDE_EFFECTS (_q61)) || (operand_equal_p (_q61, _q30, 0) && types_match (_q61, _q30)))
    9274                 :             :                                         {
    9275                 :           0 :                                           switch (TREE_CODE (_p1))
    9276                 :             :                                             {
    9277                 :           0 :                                             case CALL_EXPR:
    9278                 :           0 :                                               switch (get_call_combined_fn (_p1))
    9279                 :             :                                                 {
    9280                 :           0 :                                                 case CFN_BUILT_IN_POPCOUNTIMAX:
    9281                 :           0 :                                                   if (call_expr_nargs (_p1) == 1)
    9282                 :             :     {
    9283                 :           0 :                                                       tree _q90 = CALL_EXPR_ARG (_p1, 0);
    9284                 :           0 :                                                       if ((_q90 == _q60 && ! TREE_SIDE_EFFECTS (_q90)) || (operand_equal_p (_q90, _q60, 0) && types_match (_q90, _q60)))
    9285                 :             :                                                         {
    9286                 :           0 :                                                           {
    9287                 :           0 :                                                             tree captures[7] ATTRIBUTE_UNUSED = { _p0, _q20, _q30, _q21, _q50, _q60, _p1 };
    9288                 :           0 :                                                             tree res = generic_simplify_37 (loc, type, _p0, _p1, captures, BIT_IOR_EXPR, BIT_AND_EXPR, CFN_BUILT_IN_POPCOUNTIMAX);
    9289                 :           0 :                                                             if (res) return res;
    9290                 :             :                                                           }
    9291                 :             :                                                         }
    9292                 :             :                                                     }
    9293                 :             :                                                   break;
    9294                 :             :                                                 default:;
    9295                 :             :                                                 }
    9296                 :             :                                               break;
    9297                 :             :                                             default:;
    9298                 :             :                                             }
    9299                 :             :                                         }
    9300                 :             :                                       break;
    9301                 :             :                                     }
    9302                 :             :                                   default:;
    9303                 :             :                                   }
    9304                 :             :                               }
    9305                 :             :                             break;
    9306                 :             :                           default:;
    9307                 :             :                           }
    9308                 :             :                         break;
    9309                 :             :                       default:;
    9310                 :             :                       }
    9311                 :             :                   }
    9312                 :             :                 break;
    9313                 :           0 :               case CFN_BUILT_IN_POPCOUNTL:
    9314                 :           0 :                 if (call_expr_nargs (_q20) == 1)
    9315                 :             :     {
    9316                 :           0 :                     tree _q30 = CALL_EXPR_ARG (_q20, 0);
    9317                 :           0 :                     switch (TREE_CODE (_q21))
    9318                 :             :                       {
    9319                 :           0 :                       case CALL_EXPR:
    9320                 :           0 :                         switch (get_call_combined_fn (_q21))
    9321                 :             :                           {
    9322                 :           0 :                           case CFN_BUILT_IN_POPCOUNTL:
    9323                 :           0 :                             if (call_expr_nargs (_q21) == 1)
    9324                 :             :     {
    9325                 :           0 :                                 tree _q50 = CALL_EXPR_ARG (_q21, 0);
    9326                 :           0 :                                 switch (TREE_CODE (_q50))
    9327                 :             :                                   {
    9328                 :           0 :                                   case BIT_AND_EXPR:
    9329                 :           0 :                                     {
    9330                 :           0 :                                       tree _q60 = TREE_OPERAND (_q50, 0);
    9331                 :           0 :                                       tree _q61 = TREE_OPERAND (_q50, 1);
    9332                 :           0 :                                       if ((_q60 == _q30 && ! TREE_SIDE_EFFECTS (_q60)) || (operand_equal_p (_q60, _q30, 0) && types_match (_q60, _q30)))
    9333                 :             :                                         {
    9334                 :           0 :                                           switch (TREE_CODE (_p1))
    9335                 :             :                                             {
    9336                 :           0 :                                             case CALL_EXPR:
    9337                 :           0 :                                               switch (get_call_combined_fn (_p1))
    9338                 :             :                                                 {
    9339                 :           0 :                                                 case CFN_BUILT_IN_POPCOUNTL:
    9340                 :           0 :                                                   if (call_expr_nargs (_p1) == 1)
    9341                 :             :     {
    9342                 :           0 :                                                       tree _q90 = CALL_EXPR_ARG (_p1, 0);
    9343                 :           0 :                                                       if ((_q90 == _q61 && ! TREE_SIDE_EFFECTS (_q90)) || (operand_equal_p (_q90, _q61, 0) && types_match (_q90, _q61)))
    9344                 :             :                                                         {
    9345                 :           0 :                                                           {
    9346                 :           0 :                                                             tree captures[7] ATTRIBUTE_UNUSED = { _p0, _q20, _q30, _q21, _q50, _q61, _p1 };
    9347                 :           0 :                                                             tree res = generic_simplify_37 (loc, type, _p0, _p1, captures, BIT_AND_EXPR, BIT_IOR_EXPR, CFN_BUILT_IN_POPCOUNTL);
    9348                 :           0 :                                                             if (res) return res;
    9349                 :             :                                                           }
    9350                 :             :                                                         }
    9351                 :             :                                                     }
    9352                 :             :                                                   break;
    9353                 :             :                                                 default:;
    9354                 :             :                                                 }
    9355                 :             :                                               break;
    9356                 :             :                                             default:;
    9357                 :             :                                             }
    9358                 :             :                                         }
    9359                 :           0 :                                       if ((_q61 == _q30 && ! TREE_SIDE_EFFECTS (_q61)) || (operand_equal_p (_q61, _q30, 0) && types_match (_q61, _q30)))
    9360                 :             :                                         {
    9361                 :           0 :                                           switch (TREE_CODE (_p1))
    9362                 :             :                                             {
    9363                 :           0 :                                             case CALL_EXPR:
    9364                 :           0 :                                               switch (get_call_combined_fn (_p1))
    9365                 :             :                                                 {
    9366                 :           0 :                                                 case CFN_BUILT_IN_POPCOUNTL:
    9367                 :           0 :                                                   if (call_expr_nargs (_p1) == 1)
    9368                 :             :     {
    9369                 :           0 :                                                       tree _q90 = CALL_EXPR_ARG (_p1, 0);
    9370                 :           0 :                                                       if ((_q90 == _q60 && ! TREE_SIDE_EFFECTS (_q90)) || (operand_equal_p (_q90, _q60, 0) && types_match (_q90, _q60)))
    9371                 :             :                                                         {
    9372                 :           0 :                                                           {
    9373                 :           0 :                                                             tree captures[7] ATTRIBUTE_UNUSED = { _p0, _q20, _q30, _q21, _q50, _q60, _p1 };
    9374                 :           0 :                                                             tree res = generic_simplify_37 (loc, type, _p0, _p1, captures, BIT_AND_EXPR, BIT_IOR_EXPR, CFN_BUILT_IN_POPCOUNTL);
    9375                 :           0 :                                                             if (res) return res;
    9376                 :             :                                                           }
    9377                 :             :                                                         }
    9378                 :             :                                                     }
    9379                 :             :                                                   break;
    9380                 :             :                                                 default:;
    9381                 :             :                                                 }
    9382                 :             :                                               break;
    9383                 :             :                                             default:;
    9384                 :             :                                             }
    9385                 :             :                                         }
    9386                 :             :                                       break;
    9387                 :             :                                     }
    9388                 :           0 :                                   case BIT_IOR_EXPR:
    9389                 :           0 :                                     {
    9390                 :           0 :                                       tree _q60 = TREE_OPERAND (_q50, 0);
    9391                 :           0 :                                       tree _q61 = TREE_OPERAND (_q50, 1);
    9392                 :           0 :                                       if ((_q60 == _q30 && ! TREE_SIDE_EFFECTS (_q60)) || (operand_equal_p (_q60, _q30, 0) && types_match (_q60, _q30)))
    9393                 :             :                                         {
    9394                 :           0 :                                           switch (TREE_CODE (_p1))
    9395                 :             :                                             {
    9396                 :           0 :                                             case CALL_EXPR:
    9397                 :           0 :                                               switch (get_call_combined_fn (_p1))
    9398                 :             :                                                 {
    9399                 :           0 :                                                 case CFN_BUILT_IN_POPCOUNTL:
    9400                 :           0 :                                                   if (call_expr_nargs (_p1) == 1)
    9401                 :             :     {
    9402                 :           0 :                                                       tree _q90 = CALL_EXPR_ARG (_p1, 0);
    9403                 :           0 :                                                       if ((_q90 == _q61 && ! TREE_SIDE_EFFECTS (_q90)) || (operand_equal_p (_q90, _q61, 0) && types_match (_q90, _q61)))
    9404                 :             :                                                         {
    9405                 :           0 :                                                           {
    9406                 :           0 :                                                             tree captures[7] ATTRIBUTE_UNUSED = { _p0, _q20, _q30, _q21, _q50, _q61, _p1 };
    9407                 :           0 :                                                             tree res = generic_simplify_37 (loc, type, _p0, _p1, captures, BIT_IOR_EXPR, BIT_AND_EXPR, CFN_BUILT_IN_POPCOUNTL);
    9408                 :           0 :                                                             if (res) return res;
    9409                 :             :                                                           }
    9410                 :             :                                                         }
    9411                 :             :                                                     }
    9412                 :             :                                                   break;
    9413                 :             :                                                 default:;
    9414                 :             :                                                 }
    9415                 :             :                                               break;
    9416                 :             :                                             default:;
    9417                 :             :                                             }
    9418                 :             :                                         }
    9419                 :           0 :                                       if ((_q61 == _q30 && ! TREE_SIDE_EFFECTS (_q61)) || (operand_equal_p (_q61, _q30, 0) && types_match (_q61, _q30)))
    9420                 :             :                                         {
    9421                 :           0 :                                           switch (TREE_CODE (_p1))
    9422                 :             :                                             {
    9423                 :           0 :                                             case CALL_EXPR:
    9424                 :           0 :                                               switch (get_call_combined_fn (_p1))
    9425                 :             :                                                 {
    9426                 :           0 :                                                 case CFN_BUILT_IN_POPCOUNTL:
    9427                 :           0 :                                                   if (call_expr_nargs (_p1) == 1)
    9428                 :             :     {
    9429                 :           0 :                                                       tree _q90 = CALL_EXPR_ARG (_p1, 0);
    9430                 :           0 :                                                       if ((_q90 == _q60 && ! TREE_SIDE_EFFECTS (_q90)) || (operand_equal_p (_q90, _q60, 0) && types_match (_q90, _q60)))
    9431                 :             :                                                         {
    9432                 :           0 :                                                           {
    9433                 :           0 :                                                             tree captures[7] ATTRIBUTE_UNUSED = { _p0, _q20, _q30, _q21, _q50, _q60, _p1 };
    9434                 :           0 :                                                             tree res = generic_simplify_37 (loc, type, _p0, _p1, captures, BIT_IOR_EXPR, BIT_AND_EXPR, CFN_BUILT_IN_POPCOUNTL);
    9435                 :           0 :                                                             if (res) return res;
    9436                 :             :                                                           }
    9437                 :             :                                                         }
    9438                 :             :                                                     }
    9439                 :             :                                                   break;
    9440                 :             :                                                 default:;
    9441                 :             :                                                 }
    9442                 :             :                                               break;
    9443                 :             :                                             default:;
    9444                 :             :                                             }
    9445                 :             :                                         }
    9446                 :             :                                       break;
    9447                 :             :                                     }
    9448                 :             :                                   default:;
    9449                 :             :                                   }
    9450                 :             :                               }
    9451                 :             :                             break;
    9452                 :             :                           default:;
    9453                 :             :                           }
    9454                 :             :                         break;
    9455                 :             :                       default:;
    9456                 :             :                       }
    9457                 :             :                   }
    9458                 :             :                 break;
    9459                 :             :               default:;
    9460                 :             :               }
    9461                 :             :             break;
    9462                 :             :           default:;
    9463                 :             :           }
    9464                 :             :         break;
    9465                 :             :       }
    9466                 :           1 :     case VEC_PERM_EXPR:
    9467                 :           1 :       {
    9468                 :           1 :         tree _q20 = TREE_OPERAND (_p0, 0);
    9469                 :           1 :         tree _q21 = TREE_OPERAND (_p0, 1);
    9470                 :           1 :         tree _q22 = TREE_OPERAND (_p0, 2);
    9471                 :           1 :         switch (TREE_CODE (_q20))
    9472                 :             :           {
    9473                 :           0 :           case MULT_EXPR:
    9474                 :           0 :             {
    9475                 :           0 :               tree _q30 = TREE_OPERAND (_q20, 0);
    9476                 :           0 :               tree _q31 = TREE_OPERAND (_q20, 1);
    9477                 :           0 :               if (tree_vec_same_elem_p (_q31))
    9478                 :             :                 {
    9479                 :           0 :                   if ((_q21 == _q20 && ! TREE_SIDE_EFFECTS (_q21)) || (operand_equal_p (_q21, _q20, 0) && types_match (_q21, _q20)))
    9480                 :             :                     {
    9481                 :           0 :                       {
    9482                 :           0 :                         tree captures[6] ATTRIBUTE_UNUSED = { _p0, _q20, _q30, _q31, _q22, _p1 };
    9483                 :           0 :                         tree res = generic_simplify_38 (loc, type, _p0, _p1, captures);
    9484                 :           0 :                         if (res) return res;
    9485                 :             :                       }
    9486                 :             :                     }
    9487                 :             :                 }
    9488                 :           0 :               if (tree_vec_same_elem_p (_q30))
    9489                 :             :                 {
    9490                 :           0 :                   if ((_q21 == _q20 && ! TREE_SIDE_EFFECTS (_q21)) || (operand_equal_p (_q21, _q20, 0) && types_match (_q21, _q20)))
    9491                 :             :                     {
    9492                 :           0 :                       {
    9493                 :           0 :                         tree captures[6] ATTRIBUTE_UNUSED = { _p0, _q20, _q31, _q30, _q22, _p1 };
    9494                 :           0 :                         tree res = generic_simplify_38 (loc, type, _p0, _p1, captures);
    9495                 :           0 :                         if (res) return res;
    9496                 :             :                       }
    9497                 :             :                     }
    9498                 :             :                 }
    9499                 :             :               break;
    9500                 :             :             }
    9501                 :           1 :           default:;
    9502                 :             :           }
    9503                 :           1 :         if ((_q21 == _q20 && ! TREE_SIDE_EFFECTS (_q21)) || (operand_equal_p (_q21, _q20, 0) && types_match (_q21, _q20)))
    9504                 :             :           {
    9505                 :           0 :             switch (TREE_CODE (_p1))
    9506                 :             :               {
    9507                 :           0 :               case VEC_PERM_EXPR:
    9508                 :           0 :                 {
    9509                 :           0 :                   tree _q60 = TREE_OPERAND (_p1, 0);
    9510                 :           0 :                   tree _q61 = TREE_OPERAND (_p1, 1);
    9511                 :           0 :                   tree _q62 = TREE_OPERAND (_p1, 2);
    9512                 :           0 :                   if ((_q61 == _q60 && ! TREE_SIDE_EFFECTS (_q61)) || (operand_equal_p (_q61, _q60, 0) && types_match (_q61, _q60)))
    9513                 :             :                     {
    9514                 :           0 :                       if ((_q62 == _q22 && ! TREE_SIDE_EFFECTS (_q62)) || (operand_equal_p (_q62, _q22, 0) && types_match (_q62, _q22)))
    9515                 :             :                         {
    9516                 :           0 :                           {
    9517                 :           0 :                             tree captures[4] ATTRIBUTE_UNUSED = { _q20, _q22, _q60 };
    9518                 :           0 :                             if (VECTOR_INTEGER_TYPE_P (type)
    9519                 :             : )
    9520                 :             :                               {
    9521                 :           0 :                                 if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail1303;
    9522                 :           0 :                                 {
    9523                 :           0 :                                   tree res_op0;
    9524                 :           0 :                                   {
    9525                 :           0 :                                     tree _o1[2], _r1;
    9526                 :           0 :                                     _o1[0] = captures[0];
    9527                 :           0 :                                     _o1[1] = captures[2];
    9528                 :           0 :                                     _r1 = fold_build2_loc (loc, PLUS_EXPR, TREE_TYPE (_o1[0]), _o1[0], _o1[1]);
    9529                 :           0 :                                     captures[3] = _r1;
    9530                 :             :                                   }
    9531                 :           0 :                                   res_op0 = unshare_expr (captures[3]);
    9532                 :           0 :                                   tree res_op1;
    9533                 :           0 :                                   res_op1 = captures[3];
    9534                 :           0 :                                   tree res_op2;
    9535                 :           0 :                                   res_op2 = captures[1];
    9536                 :           0 :                                   tree _r;
    9537                 :           0 :                                   _r = fold_build3_loc (loc, VEC_PERM_EXPR, type, res_op0, res_op1, res_op2);
    9538                 :           0 :                                   if (UNLIKELY (debug_dump)) generic_dump_logs ("match.pd", 911, __FILE__, __LINE__, true);
    9539                 :           0 :                                   return _r;
    9540                 :             :                                 }
    9541                 :           0 : next_after_fail1303:;
    9542                 :             :                               }
    9543                 :             :                           }
    9544                 :             :                         }
    9545                 :             :                     }
    9546                 :             :                   break;
    9547                 :             :                 }
    9548                 :           0 :               default:;
    9549                 :             :               }
    9550                 :           0 :             switch (TREE_CODE (_q22))
    9551                 :             :               {
    9552                 :           0 :               case VECTOR_CST:
    9553                 :           0 :                 {
    9554                 :           0 :                   switch (TREE_CODE (_p1))
    9555                 :             :                     {
    9556                 :           0 :                     case VEC_PERM_EXPR:
    9557                 :           0 :                       {
    9558                 :           0 :                         tree _q60 = TREE_OPERAND (_p1, 0);
    9559                 :           0 :                         tree _q61 = TREE_OPERAND (_p1, 1);
    9560                 :           0 :                         tree _q62 = TREE_OPERAND (_p1, 2);
    9561                 :           0 :                         if ((_q61 == _q60 && ! TREE_SIDE_EFFECTS (_q61)) || (operand_equal_p (_q61, _q60, 0) && types_match (_q61, _q60)))
    9562                 :             :                           {
    9563                 :           0 :                             if ((_q62 == _q22 && ! TREE_SIDE_EFFECTS (_q62)) || (operand_equal_p (_q62, _q22, 0) && types_match (_q62, _q22)))
    9564                 :             :                               {
    9565                 :           0 :                                 switch (TREE_CODE (_q62))
    9566                 :             :                                   {
    9567                 :           0 :                                   case VECTOR_CST:
    9568                 :           0 :                                     {
    9569                 :           0 :                                       {
    9570                 :           0 :                                         tree captures[4] ATTRIBUTE_UNUSED = { _q20, _q22, _q60 };
    9571                 :           0 :                                         tree res = generic_simplify_39 (loc, type, _p0, _p1, captures, PLUS_EXPR);
    9572                 :           0 :                                         if (res) return res;
    9573                 :             :                                       }
    9574                 :           0 :                                       break;
    9575                 :             :                                     }
    9576                 :             :                                   default:;
    9577                 :             :                                   }
    9578                 :             :                               }
    9579                 :             :                           }
    9580                 :             :                         break;
    9581                 :             :                       }
    9582                 :             :                     default:;
    9583                 :             :                     }
    9584                 :             :                   break;
    9585                 :             :                 }
    9586                 :             :               default:;
    9587                 :             :               }
    9588                 :             :           }
    9589                 :             :         break;
    9590                 :             :       }
    9591                 :     1160311 :     case CALL_EXPR:
    9592                 :     1160311 :       switch (get_call_combined_fn (_p0))
    9593                 :             :         {
    9594                 :           9 :         case CFN_BUILT_IN_LOG:
    9595                 :           9 :           if (call_expr_nargs (_p0) == 1)
    9596                 :             :     {
    9597                 :           9 :               tree _q20 = CALL_EXPR_ARG (_p0, 0);
    9598                 :           9 :               switch (TREE_CODE (_p1))
    9599                 :             :                 {
    9600                 :           0 :                 case CALL_EXPR:
    9601                 :           0 :                   switch (get_call_combined_fn (_p1))
    9602                 :             :                     {
    9603                 :           0 :                     case CFN_BUILT_IN_LOG:
    9604                 :           0 :                       if (call_expr_nargs (_p1) == 1)
    9605                 :             :     {
    9606                 :           0 :                           tree _q40 = CALL_EXPR_ARG (_p1, 0);
    9607                 :           0 :                           {
    9608                 :           0 :                             tree captures[4] ATTRIBUTE_UNUSED = { _p0, _q20, _p1, _q40 };
    9609                 :           0 :                             tree res = generic_simplify_34 (loc, type, _p0, _p1, captures, CFN_BUILT_IN_LOG);
    9610                 :           0 :                             if (res) return res;
    9611                 :             :                           }
    9612                 :             :                         }
    9613                 :             :                       break;
    9614                 :             :                     default:;
    9615                 :             :                     }
    9616                 :             :                   break;
    9617                 :             :                 default:;
    9618                 :             :                 }
    9619                 :             :             }
    9620                 :             :           break;
    9621                 :         430 :         case CFN_BUILT_IN_POPCOUNT:
    9622                 :         430 :           if (call_expr_nargs (_p0) == 1)
    9623                 :             :     {
    9624                 :         430 :               tree _q20 = CALL_EXPR_ARG (_p0, 0);
    9625                 :         430 :               switch (TREE_CODE (_p1))
    9626                 :             :                 {
    9627                 :          22 :                 case CALL_EXPR:
    9628                 :          22 :                   switch (get_call_combined_fn (_p1))
    9629                 :             :                     {
    9630                 :          22 :                     case CFN_BUILT_IN_POPCOUNT:
    9631                 :          22 :                       if (call_expr_nargs (_p1) == 1)
    9632                 :             :     {
    9633                 :          22 :                           tree _q40 = CALL_EXPR_ARG (_p1, 0);
    9634                 :          22 :                           {
    9635                 :          22 :                             tree captures[4] ATTRIBUTE_UNUSED = { _p0, _q20, _p1, _q40 };
    9636                 :          22 :                             tree res = generic_simplify_35 (loc, type, _p0, _p1, captures, CFN_BUILT_IN_POPCOUNT);
    9637                 :          22 :                             if (res) return res;
    9638                 :             :                           }
    9639                 :             :                         }
    9640                 :             :                       break;
    9641                 :             :                     default:;
    9642                 :             :                     }
    9643                 :             :                   break;
    9644                 :         429 :                 default:;
    9645                 :             :                 }
    9646                 :         429 :               switch (TREE_CODE (_q20))
    9647                 :             :                 {
    9648                 :           9 :                 case BIT_AND_EXPR:
    9649                 :           9 :                   {
    9650                 :           9 :                     tree _q30 = TREE_OPERAND (_q20, 0);
    9651                 :           9 :                     tree _q31 = TREE_OPERAND (_q20, 1);
    9652                 :           9 :                     switch (TREE_CODE (_p1))
    9653                 :             :                       {
    9654                 :           9 :                       case CALL_EXPR:
    9655                 :           9 :                         switch (get_call_combined_fn (_p1))
    9656                 :             :                           {
    9657                 :           9 :                           case CFN_BUILT_IN_POPCOUNT:
    9658                 :           9 :                             if (call_expr_nargs (_p1) == 1)
    9659                 :             :     {
    9660                 :           9 :                                 tree _q60 = CALL_EXPR_ARG (_p1, 0);
    9661                 :           9 :                                 switch (TREE_CODE (_q60))
    9662                 :             :                                   {
    9663                 :           9 :                                   case BIT_IOR_EXPR:
    9664                 :           9 :                                     {
    9665                 :           9 :                                       tree _q70 = TREE_OPERAND (_q60, 0);
    9666                 :           9 :                                       tree _q71 = TREE_OPERAND (_q60, 1);
    9667                 :           9 :                                       if ((_q70 == _q30 && ! TREE_SIDE_EFFECTS (_q70)) || (operand_equal_p (_q70, _q30, 0) && types_match (_q70, _q30)))
    9668                 :             :                                         {
    9669                 :           1 :                                           if ((_q71 == _q31 && ! TREE_SIDE_EFFECTS (_q71)) || (operand_equal_p (_q71, _q31, 0) && types_match (_q71, _q31)))
    9670                 :             :                                             {
    9671                 :           1 :                                               {
    9672                 :           1 :                                                 tree captures[6] ATTRIBUTE_UNUSED = { _p0, _q20, _q30, _q31, _p1, _q60 };
    9673                 :           1 :                                                 tree res = generic_simplify_36 (loc, type, _p0, _p1, captures, CFN_BUILT_IN_POPCOUNT);
    9674                 :           1 :                                                 if (res) return res;
    9675                 :             :                                               }
    9676                 :             :                                             }
    9677                 :             :                                         }
    9678                 :           8 :                                       if ((_q70 == _q31 && ! TREE_SIDE_EFFECTS (_q70)) || (operand_equal_p (_q70, _q31, 0) && types_match (_q70, _q31)))
    9679                 :             :                                         {
    9680                 :           1 :                                           if ((_q71 == _q30 && ! TREE_SIDE_EFFECTS (_q71)) || (operand_equal_p (_q71, _q30, 0) && types_match (_q71, _q30)))
    9681                 :             :                                             {
    9682                 :           1 :                                               {
    9683                 :           1 :                                                 tree captures[6] ATTRIBUTE_UNUSED = { _p0, _q20, _q30, _q31, _p1, _q60 };
    9684                 :           1 :                                                 tree res = generic_simplify_36 (loc, type, _p0, _p1, captures, CFN_BUILT_IN_POPCOUNT);
    9685                 :           1 :                                                 if (res) return res;
    9686                 :             :                                               }
    9687                 :             :                                             }
    9688                 :             :                                         }
    9689                 :             :                                       break;
    9690                 :             :                                     }
    9691                 :             :                                   default:;
    9692                 :             :                                   }
    9693                 :             :                               }
    9694                 :             :                             break;
    9695                 :             :                           default:;
    9696                 :             :                           }
    9697                 :             :                         break;
    9698                 :             :                       default:;
    9699                 :             :                       }
    9700                 :             :                     break;
    9701                 :             :                   }
    9702                 :           2 :                 case BIT_IOR_EXPR:
    9703                 :           2 :                   {
    9704                 :           2 :                     tree _q30 = TREE_OPERAND (_q20, 0);
    9705                 :           2 :                     tree _q31 = TREE_OPERAND (_q20, 1);
    9706                 :           2 :                     switch (TREE_CODE (_p1))
    9707                 :             :                       {
    9708                 :           2 :                       case CALL_EXPR:
    9709                 :           2 :                         switch (get_call_combined_fn (_p1))
    9710                 :             :                           {
    9711                 :           2 :                           case CFN_BUILT_IN_POPCOUNT:
    9712                 :           2 :                             if (call_expr_nargs (_p1) == 1)
    9713                 :             :     {
    9714                 :           2 :                                 tree _q60 = CALL_EXPR_ARG (_p1, 0);
    9715                 :           2 :                                 switch (TREE_CODE (_q60))
    9716                 :             :                                   {
    9717                 :           2 :                                   case BIT_AND_EXPR:
    9718                 :           2 :                                     {
    9719                 :           2 :                                       tree _q70 = TREE_OPERAND (_q60, 0);
    9720                 :           2 :                                       tree _q71 = TREE_OPERAND (_q60, 1);
    9721                 :           2 :                                       if ((_q70 == _q30 && ! TREE_SIDE_EFFECTS (_q70)) || (operand_equal_p (_q70, _q30, 0) && types_match (_q70, _q30)))
    9722                 :             :                                         {
    9723                 :           1 :                                           if ((_q71 == _q31 && ! TREE_SIDE_EFFECTS (_q71)) || (operand_equal_p (_q71, _q31, 0) && types_match (_q71, _q31)))
    9724                 :             :                                             {
    9725                 :           1 :                                               {
    9726                 :           1 :                                                 tree captures[6] ATTRIBUTE_UNUSED = { _p1, _q60, _q30, _q31, _p0, _q20 };
    9727                 :           1 :                                                 tree res = generic_simplify_36 (loc, type, _p0, _p1, captures, CFN_BUILT_IN_POPCOUNT);
    9728                 :           1 :                                                 if (res) return res;
    9729                 :             :                                               }
    9730                 :             :                                             }
    9731                 :             :                                         }
    9732                 :           1 :                                       if ((_q70 == _q31 && ! TREE_SIDE_EFFECTS (_q70)) || (operand_equal_p (_q70, _q31, 0) && types_match (_q70, _q31)))
    9733                 :             :                                         {
    9734                 :           1 :                                           if ((_q71 == _q30 && ! TREE_SIDE_EFFECTS (_q71)) || (operand_equal_p (_q71, _q30, 0) && types_match (_q71, _q30)))
    9735                 :             :                                             {
    9736                 :           1 :                                               {
    9737                 :           1 :                                                 tree captures[6] ATTRIBUTE_UNUSED = { _p1, _q60, _q31, _q30, _p0, _q20 };
    9738                 :           1 :                                                 tree res = generic_simplify_36 (loc, type, _p0, _p1, captures, CFN_BUILT_IN_POPCOUNT);
    9739                 :           1 :                                                 if (res) return res;
    9740                 :             :                                               }
    9741                 :             :                                             }
    9742                 :             :                                         }
    9743                 :             :                                       break;
    9744                 :             :                                     }
    9745                 :             :                                   default:;
    9746                 :             :                                   }
    9747                 :             :                               }
    9748                 :             :                             break;
    9749                 :             :                           default:;
    9750                 :             :                           }
    9751                 :             :                         break;
    9752                 :             :                       default:;
    9753                 :             :                       }
    9754                 :             :                     break;
    9755                 :             :                   }
    9756                 :         425 :                 default:;
    9757                 :             :                 }
    9758                 :         425 :               switch (TREE_CODE (_p1))
    9759                 :             :                 {
    9760                 :           0 :                 case MINUS_EXPR:
    9761                 :           0 :                   {
    9762                 :           0 :                     tree _q40 = TREE_OPERAND (_p1, 0);
    9763                 :           0 :                     tree _q41 = TREE_OPERAND (_p1, 1);
    9764                 :           0 :                     switch (TREE_CODE (_q40))
    9765                 :             :                       {
    9766                 :           0 :                       case CALL_EXPR:
    9767                 :           0 :                         switch (get_call_combined_fn (_q40))
    9768                 :             :                           {
    9769                 :           0 :                           case CFN_BUILT_IN_POPCOUNT:
    9770                 :           0 :                             if (call_expr_nargs (_q40) == 1)
    9771                 :             :     {
    9772                 :           0 :                                 tree _q50 = CALL_EXPR_ARG (_q40, 0);
    9773                 :           0 :                                 switch (TREE_CODE (_q41))
    9774                 :             :                                   {
    9775                 :           0 :                                   case CALL_EXPR:
    9776                 :           0 :                                     switch (get_call_combined_fn (_q41))
    9777                 :             :                                       {
    9778                 :           0 :                                       case CFN_BUILT_IN_POPCOUNT:
    9779                 :           0 :                                         if (call_expr_nargs (_q41) == 1)
    9780                 :             :     {
    9781                 :           0 :                                             tree _q70 = CALL_EXPR_ARG (_q41, 0);
    9782                 :           0 :                                             switch (TREE_CODE (_q70))
    9783                 :             :                                               {
    9784                 :           0 :                                               case BIT_AND_EXPR:
    9785                 :           0 :                                                 {
    9786                 :           0 :                                                   tree _q80 = TREE_OPERAND (_q70, 0);
    9787                 :           0 :                                                   tree _q81 = TREE_OPERAND (_q70, 1);
    9788                 :           0 :                                                   if ((_q80 == _q50 && ! TREE_SIDE_EFFECTS (_q80)) || (operand_equal_p (_q80, _q50, 0) && types_match (_q80, _q50)))
    9789                 :             :                                                     {
    9790                 :           0 :                                                       if ((_q81 == _q20 && ! TREE_SIDE_EFFECTS (_q81)) || (operand_equal_p (_q81, _q20, 0) && types_match (_q81, _q20)))
    9791                 :             :                                                         {
    9792                 :           0 :                                                           {
    9793                 :           0 :                                                             tree captures[7] ATTRIBUTE_UNUSED = { _p1, _q40, _q50, _q41, _q70, _q20, _p0 };
    9794                 :           0 :                                                             tree res = generic_simplify_37 (loc, type, _p0, _p1, captures, BIT_AND_EXPR, BIT_IOR_EXPR, CFN_BUILT_IN_POPCOUNT);
    9795                 :           0 :                                                             if (res) return res;
    9796                 :             :                                                           }
    9797                 :             :                                                         }
    9798                 :             :                                                     }
    9799                 :           0 :                                                   if ((_q80 == _q20 && ! TREE_SIDE_EFFECTS (_q80)) || (operand_equal_p (_q80, _q20, 0) && types_match (_q80, _q20)))
    9800                 :             :                                                     {
    9801                 :           0 :                                                       if ((_q81 == _q50 && ! TREE_SIDE_EFFECTS (_q81)) || (operand_equal_p (_q81, _q50, 0) && types_match (_q81, _q50)))
    9802                 :             :                                                         {
    9803                 :           0 :                                                           {
    9804                 :           0 :                                                             tree captures[7] ATTRIBUTE_UNUSED = { _p1, _q40, _q50, _q41, _q70, _q20, _p0 };
    9805                 :           0 :                                                             tree res = generic_simplify_37 (loc, type, _p0, _p1, captures, BIT_AND_EXPR, BIT_IOR_EXPR, CFN_BUILT_IN_POPCOUNT);
    9806                 :           0 :                                                             if (res) return res;
    9807                 :             :                                                           }
    9808                 :             :                                                         }
    9809                 :             :                                                     }
    9810                 :             :                                                   break;
    9811                 :             :                                                 }
    9812                 :           0 :                                               case BIT_IOR_EXPR:
    9813                 :           0 :                                                 {
    9814                 :           0 :                                                   tree _q80 = TREE_OPERAND (_q70, 0);
    9815                 :           0 :                                                   tree _q81 = TREE_OPERAND (_q70, 1);
    9816                 :           0 :                                                   if ((_q80 == _q50 && ! TREE_SIDE_EFFECTS (_q80)) || (operand_equal_p (_q80, _q50, 0) && types_match (_q80, _q50)))
    9817                 :             :                                                     {
    9818                 :           0 :                                                       if ((_q81 == _q20 && ! TREE_SIDE_EFFECTS (_q81)) || (operand_equal_p (_q81, _q20, 0) && types_match (_q81, _q20)))
    9819                 :             :                                                         {
    9820                 :           0 :                                                           {
    9821                 :           0 :                                                             tree captures[7] ATTRIBUTE_UNUSED = { _p1, _q40, _q50, _q41, _q70, _q20, _p0 };
    9822                 :           0 :                                                             tree res = generic_simplify_37 (loc, type, _p0, _p1, captures, BIT_IOR_EXPR, BIT_AND_EXPR, CFN_BUILT_IN_POPCOUNT);
    9823                 :           0 :                                                             if (res) return res;
    9824                 :             :                                                           }
    9825                 :             :                                                         }
    9826                 :             :                                                     }
    9827                 :           0 :                                                   if ((_q80 == _q20 && ! TREE_SIDE_EFFECTS (_q80)) || (operand_equal_p (_q80, _q20, 0) && types_match (_q80, _q20)))
    9828                 :             :                                                     {
    9829                 :           0 :                                                       if ((_q81 == _q50 && ! TREE_SIDE_EFFECTS (_q81)) || (operand_equal_p (_q81, _q50, 0) && types_match (_q81, _q50)))
    9830                 :             :                                                         {
    9831                 :           0 :                                                           {
    9832                 :           0 :                                                             tree captures[7] ATTRIBUTE_UNUSED = { _p1, _q40, _q50, _q41, _q70, _q20, _p0 };
    9833                 :           0 :                                                             tree res = generic_simplify_37 (loc, type, _p0, _p1, captures, BIT_IOR_EXPR, BIT_AND_EXPR, CFN_BUILT_IN_POPCOUNT);
    9834                 :           0 :                                                             if (res) return res;
    9835                 :             :                                                           }
    9836                 :             :                                                         }
    9837                 :             :                                                     }
    9838                 :             :                                                   break;
    9839                 :             :                                                 }
    9840                 :             :                                               default:;
    9841                 :             :                                               }
    9842                 :             :                                           }
    9843                 :             :                                         break;
    9844                 :             :                                       default:;
    9845                 :             :                                       }
    9846                 :             :                                     break;
    9847                 :             :                                   default:;
    9848                 :             :                                   }
    9849                 :             :                               }
    9850                 :             :                             break;
    9851                 :             :                           default:;
    9852                 :             :                           }
    9853                 :             :                         break;
    9854                 :             :                       default:;
    9855                 :             :                       }
    9856                 :             :                     break;
    9857                 :             :                   }
    9858                 :             :                 default:;
    9859                 :             :                 }
    9860                 :             :             }
    9861                 :             :           break;
    9862                 :           1 :         case CFN_BUILT_IN_LOG2:
    9863                 :           1 :           if (call_expr_nargs (_p0) == 1)
    9864                 :             :     {
    9865                 :           1 :               tree _q20 = CALL_EXPR_ARG (_p0, 0);
    9866                 :           1 :               switch (TREE_CODE (_p1))
    9867                 :             :                 {
    9868                 :           1 :                 case CALL_EXPR:
    9869                 :           1 :                   switch (get_call_combined_fn (_p1))
    9870                 :             :                     {
    9871                 :           1 :                     case CFN_BUILT_IN_LOG2:
    9872                 :           1 :                       if (call_expr_nargs (_p1) == 1)
    9873                 :             :     {
    9874                 :           1 :                           tree _q40 = CALL_EXPR_ARG (_p1, 0);
    9875                 :           1 :                           {
    9876                 :           1 :                             tree captures[4] ATTRIBUTE_UNUSED = { _p0, _q20, _p1, _q40 };
    9877                 :           1 :                             tree res = generic_simplify_34 (loc, type, _p0, _p1, captures, CFN_BUILT_IN_LOG2);
    9878                 :           1 :                             if (res) return res;
    9879                 :             :                           }
    9880                 :             :                         }
    9881                 :             :                       break;
    9882                 :             :                     default:;
    9883                 :             :                     }
    9884                 :             :                   break;
    9885                 :             :                 default:;
    9886                 :             :                 }
    9887                 :             :             }
    9888                 :             :           break;
    9889                 :           0 :         case CFN_BUILT_IN_LOGF:
    9890                 :           0 :           if (call_expr_nargs (_p0) == 1)
    9891                 :             :     {
    9892                 :           0 :               tree _q20 = CALL_EXPR_ARG (_p0, 0);
    9893                 :           0 :               switch (TREE_CODE (_p1))
    9894                 :             :                 {
    9895                 :           0 :                 case CALL_EXPR:
    9896                 :           0 :                   switch (get_call_combined_fn (_p1))
    9897                 :             :                     {
    9898                 :           0 :                     case CFN_BUILT_IN_LOGF:
    9899                 :           0 :                       if (call_expr_nargs (_p1) == 1)
    9900                 :             :     {
    9901                 :           0 :                           tree _q40 = CALL_EXPR_ARG (_p1, 0);
    9902                 :           0 :                           {
    9903                 :           0 :                             tree captures[4] ATTRIBUTE_UNUSED = { _p0, _q20, _p1, _q40 };
    9904                 :           0 :                             tree res = generic_simplify_34 (loc, type, _p0, _p1, captures, CFN_BUILT_IN_LOGF);
    9905                 :           0 :                             if (res) return res;
    9906                 :             :                           }
    9907                 :             :                         }
    9908                 :             :                       break;
    9909                 :             :                     default:;
    9910                 :             :                     }
    9911                 :             :                   break;
    9912                 :             :                 default:;
    9913                 :             :                 }
    9914                 :             :             }
    9915                 :             :           break;
    9916                 :           0 :         case CFN_BUILT_IN_LOGL:
    9917                 :           0 :           if (call_expr_nargs (_p0) == 1)
    9918                 :             :     {
    9919                 :           0 :               tree _q20 = CALL_EXPR_ARG (_p0, 0);
    9920                 :           0 :               switch (TREE_CODE (_p1))
    9921                 :             :                 {
    9922                 :           0 :                 case CALL_EXPR:
    9923                 :           0 :                   switch (get_call_combined_fn (_p1))
    9924                 :             :                     {
    9925                 :           0 :                     case CFN_BUILT_IN_LOGL:
    9926                 :           0 :                       if (call_expr_nargs (_p1) == 1)
    9927                 :             :     {
    9928                 :           0 :                           tree _q40 = CALL_EXPR_ARG (_p1, 0);
    9929                 :           0 :                           {
    9930                 :           0 :                             tree captures[4] ATTRIBUTE_UNUSED = { _p0, _q20, _p1, _q40 };
    9931                 :           0 :                             tree res = generic_simplify_34 (loc, type, _p0, _p1, captures, CFN_BUILT_IN_LOGL);
    9932                 :           0 :                             if (res) return res;
    9933                 :             :                           }
    9934                 :             :                         }
    9935                 :             :                       break;
    9936                 :             :                     default:;
    9937                 :             :                     }
    9938                 :             :                   break;
    9939                 :             :                 default:;
    9940                 :             :                 }
    9941                 :             :             }
    9942                 :             :           break;
    9943                 :          26 :         case CFN_BUILT_IN_POPCOUNTLL:
    9944                 :          26 :           if (call_expr_nargs (_p0) == 1)
    9945                 :             :     {
    9946                 :          26 :               tree _q20 = CALL_EXPR_ARG (_p0, 0);
    9947                 :          26 :               switch (TREE_CODE (_p1))
    9948                 :             :                 {
    9949                 :          24 :                 case CALL_EXPR:
    9950                 :          24 :                   switch (get_call_combined_fn (_p1))
    9951                 :             :                     {
    9952                 :          24 :                     case CFN_BUILT_IN_POPCOUNTLL:
    9953                 :          24 :                       if (call_expr_nargs (_p1) == 1)
    9954                 :             :     {
    9955                 :          24 :                           tree _q40 = CALL_EXPR_ARG (_p1, 0);
    9956                 :          24 :                           {
    9957                 :          24 :                             tree captures[4] ATTRIBUTE_UNUSED = { _p0, _q20, _p1, _q40 };
    9958                 :          24 :                             tree res = generic_simplify_35 (loc, type, _p0, _p1, captures, CFN_BUILT_IN_POPCOUNTLL);
    9959                 :          24 :                             if (res) return res;
    9960                 :             :                           }
    9961                 :             :                         }
    9962                 :             :                       break;
    9963                 :             :                     default:;
    9964                 :             :                     }
    9965                 :             :                   break;
    9966                 :          26 :                 default:;
    9967                 :             :                 }
    9968                 :          26 :               switch (TREE_CODE (_q20))
    9969                 :             :                 {
    9970                 :           0 :                 case BIT_AND_EXPR:
    9971                 :           0 :                   {
    9972                 :           0 :                     tree _q30 = TREE_OPERAND (_q20, 0);
    9973                 :           0 :                     tree _q31 = TREE_OPERAND (_q20, 1);
    9974                 :           0 :                     switch (TREE_CODE (_p1))
    9975                 :             :                       {
    9976                 :           0 :                       case CALL_EXPR:
    9977                 :           0 :                         switch (get_call_combined_fn (_p1))
    9978                 :             :                           {
    9979                 :           0 :                           case CFN_BUILT_IN_POPCOUNTLL:
    9980                 :           0 :                             if (call_expr_nargs (_p1) == 1)
    9981                 :             :     {
    9982                 :           0 :                                 tree _q60 = CALL_EXPR_ARG (_p1, 0);
    9983                 :           0 :                                 switch (TREE_CODE (_q60))
    9984                 :             :                                   {
    9985                 :           0 :                                   case BIT_IOR_EXPR:
    9986                 :           0 :                                     {
    9987                 :           0 :                                       tree _q70 = TREE_OPERAND (_q60, 0);
    9988                 :           0 :                                       tree _q71 = TREE_OPERAND (_q60, 1);
    9989                 :           0 :                                       if ((_q70 == _q30 && ! TREE_SIDE_EFFECTS (_q70)) || (operand_equal_p (_q70, _q30, 0) && types_match (_q70, _q30)))
    9990                 :             :                                         {
    9991                 :           0 :                                           if ((_q71 == _q31 && ! TREE_SIDE_EFFECTS (_q71)) || (operand_equal_p (_q71, _q31, 0) && types_match (_q71, _q31)))
    9992                 :             :                                             {
    9993                 :           0 :                                               {
    9994                 :           0 :                                                 tree captures[6] ATTRIBUTE_UNUSED = { _p0, _q20, _q30, _q31, _p1, _q60 };
    9995                 :           0 :                                                 tree res = generic_simplify_36 (loc, type, _p0, _p1, captures, CFN_BUILT_IN_POPCOUNTLL);
    9996                 :           0 :                                                 if (res) return res;
    9997                 :             :                                               }
    9998                 :             :                                             }
    9999                 :             :                                         }
   10000                 :           0 :                                       if ((_q70 == _q31 && ! TREE_SIDE_EFFECTS (_q70)) || (operand_equal_p (_q70, _q31, 0) && types_match (_q70, _q31)))
   10001                 :             :                                         {
   10002                 :           0 :                                           if ((_q71 == _q30 && ! TREE_SIDE_EFFECTS (_q71)) || (operand_equal_p (_q71, _q30, 0) && types_match (_q71, _q30)))
   10003                 :             :                                             {
   10004                 :           0 :                                               {
   10005                 :           0 :                                                 tree captures[6] ATTRIBUTE_UNUSED = { _p0, _q20, _q30, _q31, _p1, _q60 };
   10006                 :           0 :                                                 tree res = generic_simplify_36 (loc, type, _p0, _p1, captures, CFN_BUILT_IN_POPCOUNTLL);
   10007                 :           0 :                                                 if (res) return res;
   10008                 :             :                                               }
   10009                 :             :                                             }
   10010                 :             :                                         }
   10011                 :             :                                       break;
   10012                 :             :                                     }
   10013                 :             :                                   default:;
   10014                 :             :                                   }
   10015                 :             :                               }
   10016                 :             :                             break;
   10017                 :             :                           default:;
   10018                 :             :                           }
   10019                 :             :                         break;
   10020                 :             :                       default:;
   10021                 :             :                       }
   10022                 :             :                     break;
   10023                 :             :                   }
   10024                 :           0 :                 case BIT_IOR_EXPR:
   10025                 :           0 :                   {
   10026                 :           0 :                     tree _q30 = TREE_OPERAND (_q20, 0);
   10027                 :           0 :                     tree _q31 = TREE_OPERAND (_q20, 1);
   10028                 :           0 :                     switch (TREE_CODE (_p1))
   10029                 :             :                       {
   10030                 :           0 :                       case CALL_EXPR:
   10031                 :           0 :                         switch (get_call_combined_fn (_p1))
   10032                 :             :                           {
   10033                 :           0 :                           case CFN_BUILT_IN_POPCOUNTLL:
   10034                 :           0 :                             if (call_expr_nargs (_p1) == 1)
   10035                 :             :     {
   10036                 :           0 :                                 tree _q60 = CALL_EXPR_ARG (_p1, 0);
   10037                 :           0 :                                 switch (TREE_CODE (_q60))
   10038                 :             :                                   {
   10039                 :           0 :                                   case BIT_AND_EXPR:
   10040                 :           0 :                                     {
   10041                 :           0 :                                       tree _q70 = TREE_OPERAND (_q60, 0);
   10042                 :           0 :                                       tree _q71 = TREE_OPERAND (_q60, 1);
   10043                 :           0 :                                       if ((_q70 == _q30 && ! TREE_SIDE_EFFECTS (_q70)) || (operand_equal_p (_q70, _q30, 0) && types_match (_q70, _q30)))
   10044                 :             :                                         {
   10045                 :           0 :                                           if ((_q71 == _q31 && ! TREE_SIDE_EFFECTS (_q71)) || (operand_equal_p (_q71, _q31, 0) && types_match (_q71, _q31)))
   10046                 :             :                                             {
   10047                 :           0 :                                               {
   10048                 :           0 :                                                 tree captures[6] ATTRIBUTE_UNUSED = { _p1, _q60, _q30, _q31, _p0, _q20 };
   10049                 :           0 :                                                 tree res = generic_simplify_36 (loc, type, _p0, _p1, captures, CFN_BUILT_IN_POPCOUNTLL);
   10050                 :           0 :                                                 if (res) return res;
   10051                 :             :                                               }
   10052                 :             :                                             }
   10053                 :             :                                         }
   10054                 :           0 :                                       if ((_q70 == _q31 && ! TREE_SIDE_EFFECTS (_q70)) || (operand_equal_p (_q70, _q31, 0) && types_match (_q70, _q31)))
   10055                 :             :                                         {
   10056                 :           0 :                                           if ((_q71 == _q30 && ! TREE_SIDE_EFFECTS (_q71)) || (operand_equal_p (_q71, _q30, 0) && types_match (_q71, _q30)))
   10057                 :             :                                             {
   10058                 :           0 :                                               {
   10059                 :           0 :                                                 tree captures[6] ATTRIBUTE_UNUSED = { _p1, _q60, _q31, _q30, _p0, _q20 };
   10060                 :           0 :                                                 tree res = generic_simplify_36 (loc, type, _p0, _p1, captures, CFN_BUILT_IN_POPCOUNTLL);
   10061                 :           0 :                                                 if (res) return res;
   10062                 :             :                                               }
   10063                 :             :                                             }
   10064                 :             :                                         }
   10065                 :             :                                       break;
   10066                 :             :                                     }
   10067                 :             :                                   default:;
   10068                 :             :                                   }
   10069                 :             :                               }
   10070                 :             :                             break;
   10071                 :             :                           default:;
   10072                 :             :                           }
   10073                 :             :                         break;
   10074                 :             :                       default:;
   10075                 :             :                       }
   10076                 :             :                     break;
   10077                 :             :                   }
   10078                 :          26 :                 default:;
   10079                 :             :                 }
   10080                 :          26 :               switch (TREE_CODE (_p1))
   10081                 :             :                 {
   10082                 :           0 :                 case MINUS_EXPR:
   10083                 :           0 :                   {
   10084                 :           0 :                     tree _q40 = TREE_OPERAND (_p1, 0);
   10085                 :           0 :                     tree _q41 = TREE_OPERAND (_p1, 1);
   10086                 :           0 :                     switch (TREE_CODE (_q40))
   10087                 :             :                       {
   10088                 :           0 :                       case CALL_EXPR:
   10089                 :           0 :                         switch (get_call_combined_fn (_q40))
   10090                 :             :                           {
   10091                 :           0 :                           case CFN_BUILT_IN_POPCOUNTLL:
   10092                 :           0 :                             if (call_expr_nargs (_q40) == 1)
   10093                 :             :     {
   10094                 :           0 :                                 tree _q50 = CALL_EXPR_ARG (_q40, 0);
   10095                 :           0 :                                 switch (TREE_CODE (_q41))
   10096                 :             :                                   {
   10097                 :           0 :                                   case CALL_EXPR:
   10098                 :           0 :                                     switch (get_call_combined_fn (_q41))
   10099                 :             :                                       {
   10100                 :           0 :                                       case CFN_BUILT_IN_POPCOUNTLL:
   10101                 :           0 :                                         if (call_expr_nargs (_q41) == 1)
   10102                 :             :     {
   10103                 :           0 :                                             tree _q70 = CALL_EXPR_ARG (_q41, 0);
   10104                 :           0 :                                             switch (TREE_CODE (_q70))
   10105                 :             :                                               {
   10106                 :           0 :                                               case BIT_AND_EXPR:
   10107                 :           0 :                                                 {
   10108                 :           0 :                                                   tree _q80 = TREE_OPERAND (_q70, 0);
   10109                 :           0 :                                                   tree _q81 = TREE_OPERAND (_q70, 1);
   10110                 :           0 :                                                   if ((_q80 == _q50 && ! TREE_SIDE_EFFECTS (_q80)) || (operand_equal_p (_q80, _q50, 0) && types_match (_q80, _q50)))
   10111                 :             :                                                     {
   10112                 :           0 :                                                       if ((_q81 == _q20 && ! TREE_SIDE_EFFECTS (_q81)) || (operand_equal_p (_q81, _q20, 0) && types_match (_q81, _q20)))
   10113                 :             :                                                         {
   10114                 :           0 :                                                           {
   10115                 :           0 :                                                             tree captures[7] ATTRIBUTE_UNUSED = { _p1, _q40, _q50, _q41, _q70, _q20, _p0 };
   10116                 :           0 :                                                             tree res = generic_simplify_37 (loc, type, _p0, _p1, captures, BIT_AND_EXPR, BIT_IOR_EXPR, CFN_BUILT_IN_POPCOUNTLL);
   10117                 :           0 :                                                             if (res) return res;
   10118                 :             :                                                           }
   10119                 :             :                                                         }
   10120                 :             :                                                     }
   10121                 :           0 :                                                   if ((_q80 == _q20 && ! TREE_SIDE_EFFECTS (_q80)) || (operand_equal_p (_q80, _q20, 0) && types_match (_q80, _q20)))
   10122                 :             :                                                     {
   10123                 :           0 :                                                       if ((_q81 == _q50 && ! TREE_SIDE_EFFECTS (_q81)) || (operand_equal_p (_q81, _q50, 0) && types_match (_q81, _q50)))
   10124                 :             :                                                         {
   10125                 :           0 :                                                           {
   10126                 :           0 :                                                             tree captures[7] ATTRIBUTE_UNUSED = { _p1, _q40, _q50, _q41, _q70, _q20, _p0 };
   10127                 :           0 :                                                             tree res = generic_simplify_37 (loc, type, _p0, _p1, captures, BIT_AND_EXPR, BIT_IOR_EXPR, CFN_BUILT_IN_POPCOUNTLL);
   10128                 :           0 :                                                             if (res) return res;
   10129                 :             :                                                           }
   10130                 :             :                                                         }
   10131                 :             :                                                     }
   10132                 :             :                                                   break;
   10133                 :             :                                                 }
   10134                 :           0 :                                               case BIT_IOR_EXPR:
   10135                 :           0 :                                                 {
   10136                 :           0 :                                                   tree _q80 = TREE_OPERAND (_q70, 0);
   10137                 :           0 :                                                   tree _q81 = TREE_OPERAND (_q70, 1);
   10138                 :           0 :                                                   if ((_q80 == _q50 && ! TREE_SIDE_EFFECTS (_q80)) || (operand_equal_p (_q80, _q50, 0) && types_match (_q80, _q50)))
   10139                 :             :                                                     {
   10140                 :           0 :                                                       if ((_q81 == _q20 && ! TREE_SIDE_EFFECTS (_q81)) || (operand_equal_p (_q81, _q20, 0) && types_match (_q81, _q20)))
   10141                 :             :                                                         {
   10142                 :           0 :                                                           {
   10143                 :           0 :                                                             tree captures[7] ATTRIBUTE_UNUSED = { _p1, _q40, _q50, _q41, _q70, _q20, _p0 };
   10144                 :           0 :                                                             tree res = generic_simplify_37 (loc, type, _p0, _p1, captures, BIT_IOR_EXPR, BIT_AND_EXPR, CFN_BUILT_IN_POPCOUNTLL);
   10145                 :           0 :                                                             if (res) return res;
   10146                 :             :                                                           }
   10147                 :             :                                                         }
   10148                 :             :                                                     }
   10149                 :           0 :                                                   if ((_q80 == _q20 && ! TREE_SIDE_EFFECTS (_q80)) || (operand_equal_p (_q80, _q20, 0) && types_match (_q80, _q20)))
   10150                 :             :                                                     {
   10151                 :           0 :                                                       if ((_q81 == _q50 && ! TREE_SIDE_EFFECTS (_q81)) || (operand_equal_p (_q81, _q50, 0) && types_match (_q81, _q50)))
   10152                 :             :                                                         {
   10153                 :           0 :                                                           {
   10154                 :           0 :                                                             tree captures[7] ATTRIBUTE_UNUSED = { _p1, _q40, _q50, _q41, _q70, _q20, _p0 };
   10155                 :           0 :                                                             tree res = generic_simplify_37 (loc, type, _p0, _p1, captures, BIT_IOR_EXPR, BIT_AND_EXPR, CFN_BUILT_IN_POPCOUNTLL);
   10156                 :           0 :                                                             if (res) return res;
   10157                 :             :                                                           }
   10158                 :             :                                                         }
   10159                 :             :                                                     }
   10160                 :             :                                                   break;
   10161                 :             :                                                 }
   10162                 :             :                                               default:;
   10163                 :             :                                               }
   10164                 :             :                                           }
   10165                 :             :                                         break;
   10166                 :             :                                       default:;
   10167                 :             :                                       }
   10168                 :             :                                     break;
   10169                 :             :                                   default:;
   10170                 :             :                                   }
   10171                 :             :                               }
   10172                 :             :                             break;
   10173                 :             :                           default:;
   10174                 :             :                           }
   10175                 :             :                         break;
   10176                 :             :                       default:;
   10177                 :             :                       }
   10178                 :             :                     break;
   10179                 :             :                   }
   10180                 :             :                 default:;
   10181                 :             :                 }
   10182                 :             :             }
   10183                 :             :           break;
   10184                 :           0 :         case CFN_BUILT_IN_LOG10F:
   10185                 :           0 :           if (call_expr_nargs (_p0) == 1)
   10186                 :             :     {
   10187                 :           0 :               tree _q20 = CALL_EXPR_ARG (_p0, 0);
   10188                 :           0 :               switch (TREE_CODE (_p1))
   10189                 :             :                 {
   10190                 :           0 :                 case CALL_EXPR:
   10191                 :           0 :                   switch (get_call_combined_fn (_p1))
   10192                 :             :                     {
   10193                 :           0 :                     case CFN_BUILT_IN_LOG10F:
   10194                 :           0 :                       if (call_expr_nargs (_p1) == 1)
   10195                 :             :     {
   10196                 :           0 :                           tree _q40 = CALL_EXPR_ARG (_p1, 0);
   10197                 :           0 :                           {
   10198                 :           0 :                             tree captures[4] ATTRIBUTE_UNUSED = { _p0, _q20, _p1, _q40 };
   10199                 :           0 :                             tree res = generic_simplify_34 (loc, type, _p0, _p1, captures, CFN_BUILT_IN_LOG10F);
   10200                 :           0 :                             if (res) return res;
   10201                 :             :                           }
   10202                 :             :                         }
   10203                 :             :                       break;
   10204                 :             :                     default:;
   10205                 :             :                     }
   10206                 :             :                   break;
   10207                 :             :                 default:;
   10208                 :             :                 }
   10209                 :             :             }
   10210                 :             :           break;
   10211                 :           0 :         case CFN_BUILT_IN_LOG10L:
   10212                 :           0 :           if (call_expr_nargs (_p0) == 1)
   10213                 :             :     {
   10214                 :           0 :               tree _q20 = CALL_EXPR_ARG (_p0, 0);
   10215                 :           0 :               switch (TREE_CODE (_p1))
   10216                 :             :                 {
   10217                 :           0 :                 case CALL_EXPR:
   10218                 :           0 :                   switch (get_call_combined_fn (_p1))
   10219                 :             :                     {
   10220                 :           0 :                     case CFN_BUILT_IN_LOG10L:
   10221                 :           0 :                       if (call_expr_nargs (_p1) == 1)
   10222                 :             :     {
   10223                 :           0 :                           tree _q40 = CALL_EXPR_ARG (_p1, 0);
   10224                 :           0 :                           {
   10225                 :           0 :                             tree captures[4] ATTRIBUTE_UNUSED = { _p0, _q20, _p1, _q40 };
   10226                 :           0 :                             tree res = generic_simplify_34 (loc, type, _p0, _p1, captures, CFN_BUILT_IN_LOG10L);
   10227                 :           0 :                             if (res) return res;
   10228                 :             :                           }
   10229                 :             :                         }
   10230                 :             :                       break;
   10231                 :             :                     default:;
   10232                 :             :                     }
   10233                 :             :                   break;
   10234                 :             :                 default:;
   10235                 :             :                 }
   10236                 :             :             }
   10237                 :             :           break;
   10238                 :           4 :         case CFN_POPCOUNT:
   10239                 :           4 :           if (call_expr_nargs (_p0) == 1)
   10240                 :             :     {
   10241                 :           4 :               tree _q20 = CALL_EXPR_ARG (_p0, 0);
   10242                 :           4 :               switch (TREE_CODE (_p1))
   10243                 :             :                 {
   10244                 :           1 :                 case CALL_EXPR:
   10245                 :           1 :                   switch (get_call_combined_fn (_p1))
   10246                 :             :                     {
   10247                 :           1 :                     case CFN_POPCOUNT:
   10248                 :           1 :                       if (call_expr_nargs (_p1) == 1)
   10249                 :             :     {
   10250                 :           1 :                           tree _q40 = CALL_EXPR_ARG (_p1, 0);
   10251                 :           1 :                           {
   10252                 :           1 :                             tree captures[4] ATTRIBUTE_UNUSED = { _p0, _q20, _p1, _q40 };
   10253                 :           1 :                             tree res = generic_simplify_35 (loc, type, _p0, _p1, captures, CFN_POPCOUNT);
   10254                 :           1 :                             if (res) return res;
   10255                 :             :                           }
   10256                 :             :                         }
   10257                 :             :                       break;
   10258                 :             :                     default:;
   10259                 :             :                     }
   10260                 :             :                   break;
   10261                 :           4 :                 default:;
   10262                 :             :                 }
   10263                 :           4 :               switch (TREE_CODE (_q20))
   10264                 :             :                 {
   10265                 :           0 :                 case BIT_AND_EXPR:
   10266                 :           0 :                   {
   10267                 :           0 :                     tree _q30 = TREE_OPERAND (_q20, 0);
   10268                 :           0 :                     tree _q31 = TREE_OPERAND (_q20, 1);
   10269                 :           0 :                     switch (TREE_CODE (_p1))
   10270                 :             :                       {
   10271                 :           0 :                       case CALL_EXPR:
   10272                 :           0 :                         switch (get_call_combined_fn (_p1))
   10273                 :             :                           {
   10274                 :           0 :                           case CFN_POPCOUNT:
   10275                 :           0 :                             if (call_expr_nargs (_p1) == 1)
   10276                 :             :     {
   10277                 :           0 :                                 tree _q60 = CALL_EXPR_ARG (_p1, 0);
   10278                 :           0 :                                 switch (TREE_CODE (_q60))
   10279                 :             :                                   {
   10280                 :           0 :                                   case BIT_IOR_EXPR:
   10281                 :           0 :                                     {
   10282                 :           0 :                                       tree _q70 = TREE_OPERAND (_q60, 0);
   10283                 :           0 :                                       tree _q71 = TREE_OPERAND (_q60, 1);
   10284                 :           0 :                                       if ((_q70 == _q30 && ! TREE_SIDE_EFFECTS (_q70)) || (operand_equal_p (_q70, _q30, 0) && types_match (_q70, _q30)))
   10285                 :             :                                         {
   10286                 :           0 :                                           if ((_q71 == _q31 && ! TREE_SIDE_EFFECTS (_q71)) || (operand_equal_p (_q71, _q31, 0) && types_match (_q71, _q31)))
   10287                 :             :                                             {
   10288                 :           0 :                                               {
   10289                 :           0 :                                                 tree captures[6] ATTRIBUTE_UNUSED = { _p0, _q20, _q30, _q31, _p1, _q60 };
   10290                 :           0 :                                                 tree res = generic_simplify_36 (loc, type, _p0, _p1, captures, CFN_POPCOUNT);
   10291                 :           0 :                                                 if (res) return res;
   10292                 :             :                                               }
   10293                 :             :                                             }
   10294                 :             :                                         }
   10295                 :           0 :                                       if ((_q70 == _q31 && ! TREE_SIDE_EFFECTS (_q70)) || (operand_equal_p (_q70, _q31, 0) && types_match (_q70, _q31)))
   10296                 :             :                                         {
   10297                 :           0 :                                           if ((_q71 == _q30 && ! TREE_SIDE_EFFECTS (_q71)) || (operand_equal_p (_q71, _q30, 0) && types_match (_q71, _q30)))
   10298                 :             :                                             {
   10299                 :           0 :                                               {
   10300                 :           0 :                                                 tree captures[6] ATTRIBUTE_UNUSED = { _p0, _q20, _q30, _q31, _p1, _q60 };
   10301                 :           0 :                                                 tree res = generic_simplify_36 (loc, type, _p0, _p1, captures, CFN_POPCOUNT);
   10302                 :           0 :                                                 if (res) return res;
   10303                 :             :                                               }
   10304                 :             :                                             }
   10305                 :             :                                         }
   10306                 :             :                                       break;
   10307                 :             :                                     }
   10308                 :             :                                   default:;
   10309                 :             :                                   }
   10310                 :             :                               }
   10311                 :             :                             break;
   10312                 :             :                           default:;
   10313                 :             :                           }
   10314                 :             :                         break;
   10315                 :             :                       default:;
   10316                 :             :                       }
   10317                 :             :                     break;
   10318                 :             :                   }
   10319                 :           0 :                 case BIT_IOR_EXPR:
   10320                 :           0 :                   {
   10321                 :           0 :                     tree _q30 = TREE_OPERAND (_q20, 0);
   10322                 :           0 :                     tree _q31 = TREE_OPERAND (_q20, 1);
   10323                 :           0 :                     switch (TREE_CODE (_p1))
   10324                 :             :                       {
   10325                 :           0 :                       case CALL_EXPR:
   10326                 :           0 :                         switch (get_call_combined_fn (_p1))
   10327                 :             :                           {
   10328                 :           0 :                           case CFN_POPCOUNT:
   10329                 :           0 :                             if (call_expr_nargs (_p1) == 1)
   10330                 :             :     {
   10331                 :           0 :                                 tree _q60 = CALL_EXPR_ARG (_p1, 0);
   10332                 :           0 :                                 switch (TREE_CODE (_q60))
   10333                 :             :                                   {
   10334                 :           0 :                                   case BIT_AND_EXPR:
   10335                 :           0 :                                     {
   10336                 :           0 :                                       tree _q70 = TREE_OPERAND (_q60, 0);
   10337                 :           0 :                                       tree _q71 = TREE_OPERAND (_q60, 1);
   10338                 :           0 :                                       if ((_q70 == _q30 && ! TREE_SIDE_EFFECTS (_q70)) || (operand_equal_p (_q70, _q30, 0) && types_match (_q70, _q30)))
   10339                 :             :                                         {
   10340                 :           0 :                                           if ((_q71 == _q31 && ! TREE_SIDE_EFFECTS (_q71)) || (operand_equal_p (_q71, _q31, 0) && types_match (_q71, _q31)))
   10341                 :             :                                             {
   10342                 :           0 :                                               {
   10343                 :           0 :                                                 tree captures[6] ATTRIBUTE_UNUSED = { _p1, _q60, _q30, _q31, _p0, _q20 };
   10344                 :           0 :                                                 tree res = generic_simplify_36 (loc, type, _p0, _p1, captures, CFN_POPCOUNT);
   10345                 :           0 :                                                 if (res) return res;
   10346                 :             :                                               }
   10347                 :             :                                             }
   10348                 :             :                                         }
   10349                 :           0 :                                       if ((_q70 == _q31 && ! TREE_SIDE_EFFECTS (_q70)) || (operand_equal_p (_q70, _q31, 0) && types_match (_q70, _q31)))
   10350                 :             :                                         {
   10351                 :           0 :                                           if ((_q71 == _q30 && ! TREE_SIDE_EFFECTS (_q71)) || (operand_equal_p (_q71, _q30, 0) && types_match (_q71, _q30)))
   10352                 :             :                                             {
   10353                 :           0 :                                               {
   10354                 :           0 :                                                 tree captures[6] ATTRIBUTE_UNUSED = { _p1, _q60, _q31, _q30, _p0, _q20 };
   10355                 :           0 :                                                 tree res = generic_simplify_36 (loc, type, _p0, _p1, captures, CFN_POPCOUNT);
   10356                 :           0 :                                                 if (res) return res;
   10357                 :             :                                               }
   10358                 :             :                                             }
   10359                 :             :                                         }
   10360                 :             :                                       break;
   10361                 :             :                                     }
   10362                 :             :                                   default:;
   10363                 :             :                                   }
   10364                 :             :                               }
   10365                 :             :                             break;
   10366                 :             :                           default:;
   10367                 :             :                           }
   10368                 :             :                         break;
   10369                 :             :                       default:;
   10370                 :             :                       }
   10371                 :             :                     break;
   10372                 :             :                   }
   10373                 :           4 :                 default:;
   10374                 :             :                 }
   10375                 :           4 :               switch (TREE_CODE (_p1))
   10376                 :             :                 {
   10377                 :           0 :                 case MINUS_EXPR:
   10378                 :           0 :                   {
   10379                 :           0 :                     tree _q40 = TREE_OPERAND (_p1, 0);
   10380                 :           0 :                     tree _q41 = TREE_OPERAND (_p1, 1);
   10381                 :           0 :                     switch (TREE_CODE (_q40))
   10382                 :             :                       {
   10383                 :           0 :                       case CALL_EXPR:
   10384                 :           0 :                         switch (get_call_combined_fn (_q40))
   10385                 :             :                           {
   10386                 :           0 :                           case CFN_POPCOUNT:
   10387                 :           0 :                             if (call_expr_nargs (_q40) == 1)
   10388                 :             :     {
   10389                 :           0 :                                 tree _q50 = CALL_EXPR_ARG (_q40, 0);
   10390                 :           0 :                                 switch (TREE_CODE (_q41))
   10391                 :             :                                   {
   10392                 :           0 :                                   case CALL_EXPR:
   10393                 :           0 :                                     switch (get_call_combined_fn (_q41))
   10394                 :             :                                       {
   10395                 :           0 :                                       case CFN_POPCOUNT:
   10396                 :           0 :                                         if (call_expr_nargs (_q41) == 1)
   10397                 :             :     {
   10398                 :           0 :                                             tree _q70 = CALL_EXPR_ARG (_q41, 0);
   10399                 :           0 :                                             switch (TREE_CODE (_q70))
   10400                 :             :                                               {
   10401                 :           0 :                                               case BIT_AND_EXPR:
   10402                 :           0 :                                                 {
   10403                 :           0 :                                                   tree _q80 = TREE_OPERAND (_q70, 0);
   10404                 :           0 :                                                   tree _q81 = TREE_OPERAND (_q70, 1);
   10405                 :           0 :                                                   if ((_q80 == _q50 && ! TREE_SIDE_EFFECTS (_q80)) || (operand_equal_p (_q80, _q50, 0) && types_match (_q80, _q50)))
   10406                 :             :                                                     {
   10407                 :           0 :                                                       if ((_q81 == _q20 && ! TREE_SIDE_EFFECTS (_q81)) || (operand_equal_p (_q81, _q20, 0) && types_match (_q81, _q20)))
   10408                 :             :                                                         {
   10409                 :           0 :                                                           {
   10410                 :           0 :                                                             tree captures[7] ATTRIBUTE_UNUSED = { _p1, _q40, _q50, _q41, _q70, _q20, _p0 };
   10411                 :           0 :                                                             tree res = generic_simplify_37 (loc, type, _p0, _p1, captures, BIT_AND_EXPR, BIT_IOR_EXPR, CFN_POPCOUNT);
   10412                 :           0 :                                                             if (res) return res;
   10413                 :             :                                                           }
   10414                 :             :                                                         }
   10415                 :             :                                                     }
   10416                 :           0 :                                                   if ((_q80 == _q20 && ! TREE_SIDE_EFFECTS (_q80)) || (operand_equal_p (_q80, _q20, 0) && types_match (_q80, _q20)))
   10417                 :             :                                                     {
   10418                 :           0 :                                                       if ((_q81 == _q50 && ! TREE_SIDE_EFFECTS (_q81)) || (operand_equal_p (_q81, _q50, 0) && types_match (_q81, _q50)))
   10419                 :             :                                                         {
   10420                 :           0 :                                                           {
   10421                 :           0 :                                                             tree captures[7] ATTRIBUTE_UNUSED = { _p1, _q40, _q50, _q41, _q70, _q20, _p0 };
   10422                 :           0 :                                                             tree res = generic_simplify_37 (loc, type, _p0, _p1, captures, BIT_AND_EXPR, BIT_IOR_EXPR, CFN_POPCOUNT);
   10423                 :           0 :                                                             if (res) return res;
   10424                 :             :                                                           }
   10425                 :             :                                                         }
   10426                 :             :                                                     }
   10427                 :             :                                                   break;
   10428                 :             :                                                 }
   10429                 :           0 :                                               case BIT_IOR_EXPR:
   10430                 :           0 :                                                 {
   10431                 :           0 :                                                   tree _q80 = TREE_OPERAND (_q70, 0);
   10432                 :           0 :                                                   tree _q81 = TREE_OPERAND (_q70, 1);
   10433                 :           0 :                                                   if ((_q80 == _q50 && ! TREE_SIDE_EFFECTS (_q80)) || (operand_equal_p (_q80, _q50, 0) && types_match (_q80, _q50)))
   10434                 :             :                                                     {
   10435                 :           0 :                                                       if ((_q81 == _q20 && ! TREE_SIDE_EFFECTS (_q81)) || (operand_equal_p (_q81, _q20, 0) && types_match (_q81, _q20)))
   10436                 :             :                                                         {
   10437                 :           0 :                                                           {
   10438                 :           0 :                                                             tree captures[7] ATTRIBUTE_UNUSED = { _p1, _q40, _q50, _q41, _q70, _q20, _p0 };
   10439                 :           0 :                                                             tree res = generic_simplify_37 (loc, type, _p0, _p1, captures, BIT_IOR_EXPR, BIT_AND_EXPR, CFN_POPCOUNT);
   10440                 :           0 :                                                             if (res) return res;
   10441                 :             :                                                           }
   10442                 :             :                                                         }
   10443                 :             :                                                     }
   10444                 :           0 :                                                   if ((_q80 == _q20 && ! TREE_SIDE_EFFECTS (_q80)) || (operand_equal_p (_q80, _q20, 0) && types_match (_q80, _q20)))
   10445                 :             :                                                     {
   10446                 :           0 :                                                       if ((_q81 == _q50 && ! TREE_SIDE_EFFECTS (_q81)) || (operand_equal_p (_q81, _q50, 0) && types_match (_q81, _q50)))
   10447                 :             :                                                         {
   10448                 :           0 :                                                           {
   10449                 :           0 :                                                             tree captures[7] ATTRIBUTE_UNUSED = { _p1, _q40, _q50, _q41, _q70, _q20, _p0 };
   10450                 :           0 :                                                             tree res = generic_simplify_37 (loc, type, _p0, _p1, captures, BIT_IOR_EXPR, BIT_AND_EXPR, CFN_POPCOUNT);
   10451                 :           0 :                                                             if (res) return res;
   10452                 :             :                                                           }
   10453                 :             :                                                         }
   10454                 :             :                                                     }
   10455                 :             :                                                   break;
   10456                 :             :                                                 }
   10457                 :             :                                               default:;
   10458                 :             :                                               }
   10459                 :             :                                           }
   10460                 :             :                                         break;
   10461                 :             :                                       default:;
   10462                 :             :                                       }
   10463                 :             :                                     break;
   10464                 :             :                                   default:;
   10465                 :             :                                   }
   10466                 :             :                               }
   10467                 :             :                             break;
   10468                 :             :                           default:;
   10469                 :             :                           }
   10470                 :             :                         break;
   10471                 :             :                       default:;
   10472                 :             :                       }
   10473                 :             :                     break;
   10474                 :             :                   }
   10475                 :             :                 default:;
   10476                 :             :                 }
   10477                 :             :             }
   10478                 :             :           break;
   10479                 :           0 :         case CFN_LOG:
   10480                 :           0 :           if (call_expr_nargs (_p0) == 1)
   10481                 :             :     {
   10482                 :           0 :               tree _q20 = CALL_EXPR_ARG (_p0, 0);
   10483                 :           0 :               switch (TREE_CODE (_p1))
   10484                 :             :                 {
   10485                 :           0 :                 case CALL_EXPR:
   10486                 :           0 :                   switch (get_call_combined_fn (_p1))
   10487                 :             :                     {
   10488                 :           0 :                     case CFN_LOG:
   10489                 :           0 :                       if (call_expr_nargs (_p1) == 1)
   10490                 :             :     {
   10491                 :           0 :                           tree _q40 = CALL_EXPR_ARG (_p1, 0);
   10492                 :           0 :                           {
   10493                 :           0 :                             tree captures[4] ATTRIBUTE_UNUSED = { _p0, _q20, _p1, _q40 };
   10494                 :           0 :                             tree res = generic_simplify_34 (loc, type, _p0, _p1, captures, CFN_LOG);
   10495                 :           0 :                             if (res) return res;
   10496                 :             :                           }
   10497                 :             :                         }
   10498                 :             :                       break;
   10499                 :             :                     default:;
   10500                 :             :                     }
   10501                 :             :                   break;
   10502                 :             :                 default:;
   10503                 :             :                 }
   10504                 :             :             }
   10505                 :             :           break;
   10506                 :           0 :         case CFN_BUILT_IN_POPCOUNTIMAX:
   10507                 :           0 :           if (call_expr_nargs (_p0) == 1)
   10508                 :             :     {
   10509                 :           0 :               tree _q20 = CALL_EXPR_ARG (_p0, 0);
   10510                 :           0 :               switch (TREE_CODE (_p1))
   10511                 :             :                 {
   10512                 :           0 :                 case CALL_EXPR:
   10513                 :           0 :                   switch (get_call_combined_fn (_p1))
   10514                 :             :                     {
   10515                 :           0 :                     case CFN_BUILT_IN_POPCOUNTIMAX:
   10516                 :           0 :                       if (call_expr_nargs (_p1) == 1)
   10517                 :             :     {
   10518                 :           0 :                           tree _q40 = CALL_EXPR_ARG (_p1, 0);
   10519                 :           0 :                           {
   10520                 :           0 :                             tree captures[4] ATTRIBUTE_UNUSED = { _p0, _q20, _p1, _q40 };
   10521                 :           0 :                             tree res = generic_simplify_35 (loc, type, _p0, _p1, captures, CFN_BUILT_IN_POPCOUNTIMAX);
   10522                 :           0 :                             if (res) return res;
   10523                 :             :                           }
   10524                 :             :                         }
   10525                 :             :                       break;
   10526                 :             :                     default:;
   10527                 :             :                     }
   10528                 :             :                   break;
   10529                 :           0 :                 default:;
   10530                 :             :                 }
   10531                 :           0 :               switch (TREE_CODE (_q20))
   10532                 :             :                 {
   10533                 :           0 :                 case BIT_AND_EXPR:
   10534                 :           0 :                   {
   10535                 :           0 :                     tree _q30 = TREE_OPERAND (_q20, 0);
   10536                 :           0 :                     tree _q31 = TREE_OPERAND (_q20, 1);
   10537                 :           0 :                     switch (TREE_CODE (_p1))
   10538                 :             :                       {
   10539                 :           0 :                       case CALL_EXPR:
   10540                 :           0 :                         switch (get_call_combined_fn (_p1))
   10541                 :             :                           {
   10542                 :           0 :                           case CFN_BUILT_IN_POPCOUNTIMAX:
   10543                 :           0 :                             if (call_expr_nargs (_p1) == 1)
   10544                 :             :     {
   10545                 :           0 :                                 tree _q60 = CALL_EXPR_ARG (_p1, 0);
   10546                 :           0 :                                 switch (TREE_CODE (_q60))
   10547                 :             :                                   {
   10548                 :           0 :                                   case BIT_IOR_EXPR:
   10549                 :           0 :                                     {
   10550                 :           0 :                                       tree _q70 = TREE_OPERAND (_q60, 0);
   10551                 :           0 :                                       tree _q71 = TREE_OPERAND (_q60, 1);
   10552                 :           0 :                                       if ((_q70 == _q30 && ! TREE_SIDE_EFFECTS (_q70)) || (operand_equal_p (_q70, _q30, 0) && types_match (_q70, _q30)))
   10553                 :             :                                         {
   10554                 :           0 :                                           if ((_q71 == _q31 && ! TREE_SIDE_EFFECTS (_q71)) || (operand_equal_p (_q71, _q31, 0) && types_match (_q71, _q31)))
   10555                 :             :                                             {
   10556                 :           0 :                                               {
   10557                 :           0 :                                                 tree captures[6] ATTRIBUTE_UNUSED = { _p0, _q20, _q30, _q31, _p1, _q60 };
   10558                 :           0 :                                                 tree res = generic_simplify_36 (loc, type, _p0, _p1, captures, CFN_BUILT_IN_POPCOUNTIMAX);
   10559                 :           0 :                                                 if (res) return res;
   10560                 :             :                                               }
   10561                 :             :                                             }
   10562                 :             :                                         }
   10563                 :           0 :                                       if ((_q70 == _q31 && ! TREE_SIDE_EFFECTS (_q70)) || (operand_equal_p (_q70, _q31, 0) && types_match (_q70, _q31)))
   10564                 :             :                                         {
   10565                 :           0 :                                           if ((_q71 == _q30 && ! TREE_SIDE_EFFECTS (_q71)) || (operand_equal_p (_q71, _q30, 0) && types_match (_q71, _q30)))
   10566                 :             :                                             {
   10567                 :           0 :                                               {
   10568                 :           0 :                                                 tree captures[6] ATTRIBUTE_UNUSED = { _p0, _q20, _q30, _q31, _p1, _q60 };
   10569                 :           0 :                                                 tree res = generic_simplify_36 (loc, type, _p0, _p1, captures, CFN_BUILT_IN_POPCOUNTIMAX);
   10570                 :           0 :                                                 if (res) return res;
   10571                 :             :                                               }
   10572                 :             :                                             }
   10573                 :             :                                         }
   10574                 :             :                                       break;
   10575                 :             :                                     }
   10576                 :             :                                   default:;
   10577                 :             :                                   }
   10578                 :             :                               }
   10579                 :             :                             break;
   10580                 :             :                           default:;
   10581                 :             :                           }
   10582                 :             :                         break;
   10583                 :             :                       default:;
   10584                 :             :                       }
   10585                 :             :                     break;
   10586                 :             :                   }
   10587                 :           0 :                 case BIT_IOR_EXPR:
   10588                 :           0 :                   {
   10589                 :           0 :                     tree _q30 = TREE_OPERAND (_q20, 0);
   10590                 :           0 :                     tree _q31 = TREE_OPERAND (_q20, 1);
   10591                 :           0 :                     switch (TREE_CODE (_p1))
   10592                 :             :                       {
   10593                 :           0 :                       case CALL_EXPR:
   10594                 :           0 :                         switch (get_call_combined_fn (_p1))
   10595                 :             :                           {
   10596                 :           0 :                           case CFN_BUILT_IN_POPCOUNTIMAX:
   10597                 :           0 :                             if (call_expr_nargs (_p1) == 1)
   10598                 :             :     {
   10599                 :           0 :                                 tree _q60 = CALL_EXPR_ARG (_p1, 0);
   10600                 :           0 :                                 switch (TREE_CODE (_q60))
   10601                 :             :                                   {
   10602                 :           0 :                                   case BIT_AND_EXPR:
   10603                 :           0 :                                     {
   10604                 :           0 :                                       tree _q70 = TREE_OPERAND (_q60, 0);
   10605                 :           0 :                                       tree _q71 = TREE_OPERAND (_q60, 1);
   10606                 :           0 :                                       if ((_q70 == _q30 && ! TREE_SIDE_EFFECTS (_q70)) || (operand_equal_p (_q70, _q30, 0) && types_match (_q70, _q30)))
   10607                 :             :                                         {
   10608                 :           0 :                                           if ((_q71 == _q31 && ! TREE_SIDE_EFFECTS (_q71)) || (operand_equal_p (_q71, _q31, 0) && types_match (_q71, _q31)))
   10609                 :             :                                             {
   10610                 :           0 :                                               {
   10611                 :           0 :                                                 tree captures[6] ATTRIBUTE_UNUSED = { _p1, _q60, _q30, _q31, _p0, _q20 };
   10612                 :           0 :                                                 tree res = generic_simplify_36 (loc, type, _p0, _p1, captures, CFN_BUILT_IN_POPCOUNTIMAX);
   10613                 :           0 :                                                 if (res) return res;
   10614                 :             :                                               }
   10615                 :             :                                             }
   10616                 :             :                                         }
   10617                 :           0 :                                       if ((_q70 == _q31 && ! TREE_SIDE_EFFECTS (_q70)) || (operand_equal_p (_q70, _q31, 0) && types_match (_q70, _q31)))
   10618                 :             :                                         {
   10619                 :           0 :                                           if ((_q71 == _q30 && ! TREE_SIDE_EFFECTS (_q71)) || (operand_equal_p (_q71, _q30, 0) && types_match (_q71, _q30)))
   10620                 :             :                                             {
   10621                 :           0 :                                               {
   10622                 :           0 :                                                 tree captures[6] ATTRIBUTE_UNUSED = { _p1, _q60, _q31, _q30, _p0, _q20 };
   10623                 :           0 :                                                 tree res = generic_simplify_36 (loc, type, _p0, _p1, captures, CFN_BUILT_IN_POPCOUNTIMAX);
   10624                 :           0 :                                                 if (res) return res;
   10625                 :             :                                               }
   10626                 :             :                                             }
   10627                 :             :                                         }
   10628                 :             :                                       break;
   10629                 :             :                                     }
   10630                 :             :                                   default:;
   10631                 :             :                                   }
   10632                 :             :                               }
   10633                 :             :                             break;
   10634                 :             :                           default:;
   10635                 :             :                           }
   10636                 :             :                         break;
   10637                 :             :                       default:;
   10638                 :             :                       }
   10639                 :             :                     break;
   10640                 :             :                   }
   10641                 :           0 :                 default:;
   10642                 :             :                 }
   10643                 :           0 :               switch (TREE_CODE (_p1))
   10644                 :             :                 {
   10645                 :           0 :                 case MINUS_EXPR:
   10646                 :           0 :                   {
   10647                 :           0 :                     tree _q40 = TREE_OPERAND (_p1, 0);
   10648                 :           0 :                     tree _q41 = TREE_OPERAND (_p1, 1);
   10649                 :           0 :                     switch (TREE_CODE (_q40))
   10650                 :             :                       {
   10651                 :           0 :                       case CALL_EXPR:
   10652                 :           0 :                         switch (get_call_combined_fn (_q40))
   10653                 :             :                           {
   10654                 :           0 :                           case CFN_BUILT_IN_POPCOUNTIMAX:
   10655                 :           0 :                             if (call_expr_nargs (_q40) == 1)
   10656                 :             :     {
   10657                 :           0 :                                 tree _q50 = CALL_EXPR_ARG (_q40, 0);
   10658                 :           0 :                                 switch (TREE_CODE (_q41))
   10659                 :             :                                   {
   10660                 :           0 :                                   case CALL_EXPR:
   10661                 :           0 :                                     switch (get_call_combined_fn (_q41))
   10662                 :             :                                       {
   10663                 :           0 :                                       case CFN_BUILT_IN_POPCOUNTIMAX:
   10664                 :           0 :                                         if (call_expr_nargs (_q41) == 1)
   10665                 :             :     {
   10666                 :           0 :                                             tree _q70 = CALL_EXPR_ARG (_q41, 0);
   10667                 :           0 :                                             switch (TREE_CODE (_q70))
   10668                 :             :                                               {
   10669                 :           0 :                                               case BIT_AND_EXPR:
   10670                 :           0 :                                                 {
   10671                 :           0 :                                                   tree _q80 = TREE_OPERAND (_q70, 0);
   10672                 :           0 :                                                   tree _q81 = TREE_OPERAND (_q70, 1);
   10673                 :           0 :                                                   if ((_q80 == _q50 && ! TREE_SIDE_EFFECTS (_q80)) || (operand_equal_p (_q80, _q50, 0) && types_match (_q80, _q50)))
   10674                 :             :                                                     {
   10675                 :           0 :                                                       if ((_q81 == _q20 && ! TREE_SIDE_EFFECTS (_q81)) || (operand_equal_p (_q81, _q20, 0) && types_match (_q81, _q20)))
   10676                 :             :                                                         {
   10677                 :           0 :                                                           {
   10678                 :           0 :                                                             tree captures[7] ATTRIBUTE_UNUSED = { _p1, _q40, _q50, _q41, _q70, _q20, _p0 };
   10679                 :           0 :                                                             tree res = generic_simplify_37 (loc, type, _p0, _p1, captures, BIT_AND_EXPR, BIT_IOR_EXPR, CFN_BUILT_IN_POPCOUNTIMAX);
   10680                 :           0 :                                                             if (res) return res;
   10681                 :             :                                                           }
   10682                 :             :                                                         }
   10683                 :             :                                                     }
   10684                 :           0 :                                                   if ((_q80 == _q20 && ! TREE_SIDE_EFFECTS (_q80)) || (operand_equal_p (_q80, _q20, 0) && types_match (_q80, _q20)))
   10685                 :             :                                                     {
   10686                 :           0 :                                                       if ((_q81 == _q50 && ! TREE_SIDE_EFFECTS (_q81)) || (operand_equal_p (_q81, _q50, 0) && types_match (_q81, _q50)))
   10687                 :             :                                                         {
   10688                 :           0 :                                                           {
   10689                 :           0 :                                                             tree captures[7] ATTRIBUTE_UNUSED = { _p1, _q40, _q50, _q41, _q70, _q20, _p0 };
   10690                 :           0 :                                                             tree res = generic_simplify_37 (loc, type, _p0, _p1, captures, BIT_AND_EXPR, BIT_IOR_EXPR, CFN_BUILT_IN_POPCOUNTIMAX);
   10691                 :           0 :                                                             if (res) return res;
   10692                 :             :                                                           }
   10693                 :             :                                                         }
   10694                 :             :                                                     }
   10695                 :             :                                                   break;
   10696                 :             :                                                 }
   10697                 :           0 :                                               case BIT_IOR_EXPR:
   10698                 :           0 :                                                 {
   10699                 :           0 :                                                   tree _q80 = TREE_OPERAND (_q70, 0);
   10700                 :           0 :                                                   tree _q81 = TREE_OPERAND (_q70, 1);
   10701                 :           0 :                                                   if ((_q80 == _q50 && ! TREE_SIDE_EFFECTS (_q80)) || (operand_equal_p (_q80, _q50, 0) && types_match (_q80, _q50)))
   10702                 :             :                                                     {
   10703                 :           0 :                                                       if ((_q81 == _q20 && ! TREE_SIDE_EFFECTS (_q81)) || (operand_equal_p (_q81, _q20, 0) && types_match (_q81, _q20)))
   10704                 :             :                                                         {
   10705                 :           0 :                                                           {
   10706                 :           0 :                                                             tree captures[7] ATTRIBUTE_UNUSED = { _p1, _q40, _q50, _q41, _q70, _q20, _p0 };
   10707                 :           0 :                                                             tree res = generic_simplify_37 (loc, type, _p0, _p1, captures, BIT_IOR_EXPR, BIT_AND_EXPR, CFN_BUILT_IN_POPCOUNTIMAX);
   10708                 :           0 :                                                             if (res) return res;
   10709                 :             :                                                           }
   10710                 :             :                                                         }
   10711                 :             :                                                     }
   10712                 :           0 :                                                   if ((_q80 == _q20 && ! TREE_SIDE_EFFECTS (_q80)) || (operand_equal_p (_q80, _q20, 0) && types_match (_q80, _q20)))
   10713                 :             :                                                     {
   10714                 :           0 :                                                       if ((_q81 == _q50 && ! TREE_SIDE_EFFECTS (_q81)) || (operand_equal_p (_q81, _q50, 0) && types_match (_q81, _q50)))
   10715                 :             :                                                         {
   10716                 :           0 :                                                           {
   10717                 :           0 :                                                             tree captures[7] ATTRIBUTE_UNUSED = { _p1, _q40, _q50, _q41, _q70, _q20, _p0 };
   10718                 :           0 :                                                             tree res = generic_simplify_37 (loc, type, _p0, _p1, captures, BIT_IOR_EXPR, BIT_AND_EXPR, CFN_BUILT_IN_POPCOUNTIMAX);
   10719                 :           0 :                                                             if (res) return res;
   10720                 :             :                                                           }
   10721                 :             :                                                         }
   10722                 :             :                                                     }
   10723                 :             :                                                   break;
   10724                 :             :                                                 }
   10725                 :             :                                               default:;
   10726                 :             :                                               }
   10727                 :             :                                           }
   10728                 :             :                                         break;
   10729                 :             :                                       default:;
   10730                 :             :                                       }
   10731                 :             :                                     break;
   10732                 :             :                                   default:;
   10733                 :             :                                   }
   10734                 :             :                               }
   10735                 :             :                             break;
   10736                 :             :                           default:;
   10737                 :             :                           }
   10738                 :             :                         break;
   10739                 :             :                       default:;
   10740                 :             :                       }
   10741                 :             :                     break;
   10742                 :             :                   }
   10743                 :             :                 default:;
   10744                 :             :                 }
   10745                 :             :             }
   10746                 :             :           break;
   10747                 :           0 :         case CFN_LOG2:
   10748                 :           0 :           if (call_expr_nargs (_p0) == 1)
   10749                 :             :     {
   10750                 :           0 :               tree _q20 = CALL_EXPR_ARG (_p0, 0);
   10751                 :           0 :               switch (TREE_CODE (_p1))
   10752                 :             :                 {
   10753                 :           0 :                 case CALL_EXPR:
   10754                 :           0 :                   switch (get_call_combined_fn (_p1))
   10755                 :             :                     {
   10756                 :           0 :                     case CFN_LOG2:
   10757                 :           0 :                       if (call_expr_nargs (_p1) == 1)
   10758                 :             :     {
   10759                 :           0 :                           tree _q40 = CALL_EXPR_ARG (_p1, 0);
   10760                 :           0 :                           {
   10761                 :           0 :                             tree captures[4] ATTRIBUTE_UNUSED = { _p0, _q20, _p1, _q40 };
   10762                 :           0 :                             tree res = generic_simplify_34 (loc, type, _p0, _p1, captures, CFN_LOG2);
   10763                 :           0 :                             if (res) return res;
   10764                 :             :                           }
   10765                 :             :                         }
   10766                 :             :                       break;
   10767                 :             :                     default:;
   10768                 :             :                     }
   10769                 :             :                   break;
   10770                 :             :                 default:;
   10771                 :             :                 }
   10772                 :             :             }
   10773                 :             :           break;
   10774                 :         140 :         case CFN_BUILT_IN_POPCOUNTL:
   10775                 :         140 :           if (call_expr_nargs (_p0) == 1)
   10776                 :             :     {
   10777                 :         140 :               tree _q20 = CALL_EXPR_ARG (_p0, 0);
   10778                 :         140 :               switch (TREE_CODE (_p1))
   10779                 :             :                 {
   10780                 :          79 :                 case CALL_EXPR:
   10781                 :          79 :                   switch (get_call_combined_fn (_p1))
   10782                 :             :                     {
   10783                 :          79 :                     case CFN_BUILT_IN_POPCOUNTL:
   10784                 :          79 :                       if (call_expr_nargs (_p1) == 1)
   10785                 :             :     {
   10786                 :          79 :                           tree _q40 = CALL_EXPR_ARG (_p1, 0);
   10787                 :          79 :                           {
   10788                 :          79 :                             tree captures[4] ATTRIBUTE_UNUSED = { _p0, _q20, _p1, _q40 };
   10789                 :          79 :                             tree res = generic_simplify_35 (loc, type, _p0, _p1, captures, CFN_BUILT_IN_POPCOUNTL);
   10790                 :          79 :                             if (res) return res;
   10791                 :             :                           }
   10792                 :             :                         }
   10793                 :             :                       break;
   10794                 :             :                     default:;
   10795                 :             :                     }
   10796                 :             :                   break;
   10797                 :         140 :                 default:;
   10798                 :             :                 }
   10799                 :         140 :               switch (TREE_CODE (_q20))
   10800                 :             :                 {
   10801                 :           0 :                 case BIT_AND_EXPR:
   10802                 :           0 :                   {
   10803                 :           0 :                     tree _q30 = TREE_OPERAND (_q20, 0);
   10804                 :           0 :                     tree _q31 = TREE_OPERAND (_q20, 1);
   10805                 :           0 :                     switch (TREE_CODE (_p1))
   10806                 :             :                       {
   10807                 :           0 :                       case CALL_EXPR:
   10808                 :           0 :                         switch (get_call_combined_fn (_p1))
   10809                 :             :                           {
   10810                 :           0 :                           case CFN_BUILT_IN_POPCOUNTL:
   10811                 :           0 :                             if (call_expr_nargs (_p1) == 1)
   10812                 :             :     {
   10813                 :           0 :                                 tree _q60 = CALL_EXPR_ARG (_p1, 0);
   10814                 :           0 :                                 switch (TREE_CODE (_q60))
   10815                 :             :                                   {
   10816                 :           0 :                                   case BIT_IOR_EXPR:
   10817                 :           0 :                                     {
   10818                 :           0 :                                       tree _q70 = TREE_OPERAND (_q60, 0);
   10819                 :           0 :                                       tree _q71 = TREE_OPERAND (_q60, 1);
   10820                 :           0 :                                       if ((_q70 == _q30 && ! TREE_SIDE_EFFECTS (_q70)) || (operand_equal_p (_q70, _q30, 0) && types_match (_q70, _q30)))
   10821                 :             :                                         {
   10822                 :           0 :                                           if ((_q71 == _q31 && ! TREE_SIDE_EFFECTS (_q71)) || (operand_equal_p (_q71, _q31, 0) && types_match (_q71, _q31)))
   10823                 :             :                                             {
   10824                 :           0 :                                               {
   10825                 :           0 :                                                 tree captures[6] ATTRIBUTE_UNUSED = { _p0, _q20, _q30, _q31, _p1, _q60 };
   10826                 :           0 :                                                 tree res = generic_simplify_36 (loc, type, _p0, _p1, captures, CFN_BUILT_IN_POPCOUNTL);
   10827                 :           0 :                                                 if (res) return res;
   10828                 :             :                                               }
   10829                 :             :                                             }
   10830                 :             :                                         }
   10831                 :           0 :                                       if ((_q70 == _q31 && ! TREE_SIDE_EFFECTS (_q70)) || (operand_equal_p (_q70, _q31, 0) && types_match (_q70, _q31)))
   10832                 :             :                                         {
   10833                 :           0 :                                           if ((_q71 == _q30 && ! TREE_SIDE_EFFECTS (_q71)) || (operand_equal_p (_q71, _q30, 0) && types_match (_q71, _q30)))
   10834                 :             :                                             {
   10835                 :           0 :                                               {
   10836                 :           0 :                                                 tree captures[6] ATTRIBUTE_UNUSED = { _p0, _q20, _q30, _q31, _p1, _q60 };
   10837                 :           0 :                                                 tree res = generic_simplify_36 (loc, type, _p0, _p1, captures, CFN_BUILT_IN_POPCOUNTL);
   10838                 :           0 :                                                 if (res) return res;
   10839                 :             :                                               }
   10840                 :             :                                             }
   10841                 :             :                                         }
   10842                 :             :                                       break;
   10843                 :             :                                     }
   10844                 :             :                                   default:;
   10845                 :             :                                   }
   10846                 :             :                               }
   10847                 :             :                             break;
   10848                 :             :                           default:;
   10849                 :             :                           }
   10850                 :             :                         break;
   10851                 :             :                       default:;
   10852                 :             :                       }
   10853                 :             :                     break;
   10854                 :             :                   }
   10855                 :           0 :                 case BIT_IOR_EXPR:
   10856                 :           0 :                   {
   10857                 :           0 :                     tree _q30 = TREE_OPERAND (_q20, 0);
   10858                 :           0 :                     tree _q31 = TREE_OPERAND (_q20, 1);
   10859                 :           0 :                     switch (TREE_CODE (_p1))
   10860                 :             :                       {
   10861                 :           0 :                       case CALL_EXPR:
   10862                 :           0 :                         switch (get_call_combined_fn (_p1))
   10863                 :             :                           {
   10864                 :           0 :                           case CFN_BUILT_IN_POPCOUNTL:
   10865                 :           0 :                             if (call_expr_nargs (_p1) == 1)
   10866                 :             :     {
   10867                 :           0 :                                 tree _q60 = CALL_EXPR_ARG (_p1, 0);
   10868                 :           0 :                                 switch (TREE_CODE (_q60))
   10869                 :             :                                   {
   10870                 :           0 :                                   case BIT_AND_EXPR:
   10871                 :           0 :                                     {
   10872                 :           0 :                                       tree _q70 = TREE_OPERAND (_q60, 0);
   10873                 :           0 :                                       tree _q71 = TREE_OPERAND (_q60, 1);
   10874                 :           0 :                                       if ((_q70 == _q30 && ! TREE_SIDE_EFFECTS (_q70)) || (operand_equal_p (_q70, _q30, 0) && types_match (_q70, _q30)))
   10875                 :             :                                         {
   10876                 :           0 :                                           if ((_q71 == _q31 && ! TREE_SIDE_EFFECTS (_q71)) || (operand_equal_p (_q71, _q31, 0) && types_match (_q71, _q31)))
   10877                 :             :                                             {
   10878                 :           0 :                                               {
   10879                 :           0 :                                                 tree captures[6] ATTRIBUTE_UNUSED = { _p1, _q60, _q30, _q31, _p0, _q20 };
   10880                 :           0 :                                                 tree res = generic_simplify_36 (loc, type, _p0, _p1, captures, CFN_BUILT_IN_POPCOUNTL);
   10881                 :           0 :                                                 if (res) return res;
   10882                 :             :                                               }
   10883                 :             :                                             }
   10884                 :             :                                         }
   10885                 :           0 :                                       if ((_q70 == _q31 && ! TREE_SIDE_EFFECTS (_q70)) || (operand_equal_p (_q70, _q31, 0) && types_match (_q70, _q31)))
   10886                 :             :                                         {
   10887                 :           0 :                                           if ((_q71 == _q30 && ! TREE_SIDE_EFFECTS (_q71)) || (operand_equal_p (_q71, _q30, 0) && types_match (_q71, _q30)))
   10888                 :             :                                             {
   10889                 :           0 :                                               {
   10890                 :           0 :                                                 tree captures[6] ATTRIBUTE_UNUSED = { _p1, _q60, _q31, _q30, _p0, _q20 };
   10891                 :           0 :                                                 tree res = generic_simplify_36 (loc, type, _p0, _p1, captures, CFN_BUILT_IN_POPCOUNTL);
   10892                 :           0 :                                                 if (res) return res;
   10893                 :             :                                               }
   10894                 :             :                                             }
   10895                 :             :                                         }
   10896                 :             :                                       break;
   10897                 :             :                                     }
   10898                 :             :                                   default:;
   10899                 :             :                                   }
   10900                 :             :                               }
   10901                 :             :                             break;
   10902                 :             :                           default:;
   10903                 :             :                           }
   10904                 :             :                         break;
   10905                 :             :                       default:;
   10906                 :             :                       }
   10907                 :             :                     break;
   10908                 :             :                   }
   10909                 :         140 :                 default:;
   10910                 :             :                 }
   10911                 :         140 :               switch (TREE_CODE (_p1))
   10912                 :             :                 {
   10913                 :           0 :                 case MINUS_EXPR:
   10914                 :           0 :                   {
   10915                 :           0 :                     tree _q40 = TREE_OPERAND (_p1, 0);
   10916                 :           0 :                     tree _q41 = TREE_OPERAND (_p1, 1);
   10917                 :           0 :                     switch (TREE_CODE (_q40))
   10918                 :             :                       {
   10919                 :           0 :                       case CALL_EXPR:
   10920                 :           0 :                         switch (get_call_combined_fn (_q40))
   10921                 :             :                           {
   10922                 :           0 :                           case CFN_BUILT_IN_POPCOUNTL:
   10923                 :           0 :                             if (call_expr_nargs (_q40) == 1)
   10924                 :             :     {
   10925                 :           0 :                                 tree _q50 = CALL_EXPR_ARG (_q40, 0);
   10926                 :           0 :                                 switch (TREE_CODE (_q41))
   10927                 :             :                                   {
   10928                 :           0 :                                   case CALL_EXPR:
   10929                 :           0 :                                     switch (get_call_combined_fn (_q41))
   10930                 :             :                                       {
   10931                 :           0 :                                       case CFN_BUILT_IN_POPCOUNTL:
   10932                 :           0 :                                         if (call_expr_nargs (_q41) == 1)
   10933                 :             :     {
   10934                 :           0 :                                             tree _q70 = CALL_EXPR_ARG (_q41, 0);
   10935                 :           0 :                                             switch (TREE_CODE (_q70))
   10936                 :             :                                               {
   10937                 :           0 :                                               case BIT_AND_EXPR:
   10938                 :           0 :                                                 {
   10939                 :           0 :                                                   tree _q80 = TREE_OPERAND (_q70, 0);
   10940                 :           0 :                                                   tree _q81 = TREE_OPERAND (_q70, 1);
   10941                 :           0 :                                                   if ((_q80 == _q50 && ! TREE_SIDE_EFFECTS (_q80)) || (operand_equal_p (_q80, _q50, 0) && types_match (_q80, _q50)))
   10942                 :             :                                                     {
   10943                 :           0 :                                                       if ((_q81 == _q20 && ! TREE_SIDE_EFFECTS (_q81)) || (operand_equal_p (_q81, _q20, 0) && types_match (_q81, _q20)))
   10944                 :             :                                                         {
   10945                 :           0 :                                                           {
   10946                 :           0 :                                                             tree captures[7] ATTRIBUTE_UNUSED = { _p1, _q40, _q50, _q41, _q70, _q20, _p0 };
   10947                 :           0 :                                                             tree res = generic_simplify_37 (loc, type, _p0, _p1, captures, BIT_AND_EXPR, BIT_IOR_EXPR, CFN_BUILT_IN_POPCOUNTL);
   10948                 :           0 :                                                             if (res) return res;
   10949                 :             :                                                           }
   10950                 :             :                                                         }
   10951                 :             :                                                     }
   10952                 :           0 :                                                   if ((_q80 == _q20 && ! TREE_SIDE_EFFECTS (_q80)) || (operand_equal_p (_q80, _q20, 0) && types_match (_q80, _q20)))
   10953                 :             :                                                     {
   10954                 :           0 :                                                       if ((_q81 == _q50 && ! TREE_SIDE_EFFECTS (_q81)) || (operand_equal_p (_q81, _q50, 0) && types_match (_q81, _q50)))
   10955                 :             :                                                         {
   10956                 :           0 :                                                           {
   10957                 :           0 :                                                             tree captures[7] ATTRIBUTE_UNUSED = { _p1, _q40, _q50, _q41, _q70, _q20, _p0 };
   10958                 :           0 :                                                             tree res = generic_simplify_37 (loc, type, _p0, _p1, captures, BIT_AND_EXPR, BIT_IOR_EXPR, CFN_BUILT_IN_POPCOUNTL);
   10959                 :           0 :                                                             if (res) return res;
   10960                 :             :                                                           }
   10961                 :             :                                                         }
   10962                 :             :                                                     }
   10963                 :             :                                                   break;
   10964                 :             :                                                 }
   10965                 :           0 :                                               case BIT_IOR_EXPR:
   10966                 :           0 :                                                 {
   10967                 :           0 :                                                   tree _q80 = TREE_OPERAND (_q70, 0);
   10968                 :           0 :                                                   tree _q81 = TREE_OPERAND (_q70, 1);
   10969                 :           0 :                                                   if ((_q80 == _q50 && ! TREE_SIDE_EFFECTS (_q80)) || (operand_equal_p (_q80, _q50, 0) && types_match (_q80, _q50)))
   10970                 :             :                                                     {
   10971                 :           0 :                                                       if ((_q81 == _q20 && ! TREE_SIDE_EFFECTS (_q81)) || (operand_equal_p (_q81, _q20, 0) && types_match (_q81, _q20)))
   10972                 :             :                                                         {
   10973                 :           0 :                                                           {
   10974                 :           0 :                                                             tree captures[7] ATTRIBUTE_UNUSED = { _p1, _q40, _q50, _q41, _q70, _q20, _p0 };
   10975                 :           0 :                                                             tree res = generic_simplify_37 (loc, type, _p0, _p1, captures, BIT_IOR_EXPR, BIT_AND_EXPR, CFN_BUILT_IN_POPCOUNTL);
   10976                 :           0 :                                                             if (res) return res;
   10977                 :             :                                                           }
   10978                 :             :                                                         }
   10979                 :             :                                                     }
   10980                 :           0 :                                                   if ((_q80 == _q20 && ! TREE_SIDE_EFFECTS (_q80)) || (operand_equal_p (_q80, _q20, 0) && types_match (_q80, _q20)))
   10981                 :             :                                                     {
   10982                 :           0 :                                                       if ((_q81 == _q50 && ! TREE_SIDE_EFFECTS (_q81)) || (operand_equal_p (_q81, _q50, 0) && types_match (_q81, _q50)))
   10983                 :             :                                                         {
   10984                 :           0 :                                                           {
   10985                 :           0 :                                                             tree captures[7] ATTRIBUTE_UNUSED = { _p1, _q40, _q50, _q41, _q70, _q20, _p0 };
   10986                 :           0 :                                                             tree res = generic_simplify_37 (loc, type, _p0, _p1, captures, BIT_IOR_EXPR, BIT_AND_EXPR, CFN_BUILT_IN_POPCOUNTL);
   10987                 :           0 :                                                             if (res) return res;
   10988                 :             :                                                           }
   10989                 :             :                                                         }
   10990                 :             :                                                     }
   10991                 :             :                                                   break;
   10992                 :             :                                                 }
   10993                 :             :                                               default:;
   10994                 :             :                                               }
   10995                 :             :                                           }
   10996                 :             :                                         break;
   10997                 :             :                                       default:;
   10998                 :             :                                       }
   10999                 :             :                                     break;
   11000                 :             :                                   default:;
   11001                 :             :                                   }
   11002                 :             :                               }
   11003                 :             :                             break;
   11004                 :             :                           default:;
   11005                 :             :                           }
   11006                 :             :                         break;
   11007                 :             :                       default:;
   11008                 :             :                       }
   11009                 :             :                     break;
   11010                 :             :                   }
   11011                 :             :                 default:;
   11012                 :             :                 }
   11013                 :             :             }
   11014                 :             :           break;
   11015                 :           0 :         case CFN_LOG10:
   11016                 :           0 :           if (call_expr_nargs (_p0) == 1)
   11017                 :             :     {
   11018                 :           0 :               tree _q20 = CALL_EXPR_ARG (_p0, 0);
   11019                 :           0 :               switch (TREE_CODE (_p1))
   11020                 :             :                 {
   11021                 :           0 :                 case CALL_EXPR:
   11022                 :           0 :                   switch (get_call_combined_fn (_p1))
   11023                 :             :                     {
   11024                 :           0 :                     case CFN_LOG10:
   11025                 :           0 :                       if (call_expr_nargs (_p1) == 1)
   11026                 :             :     {
   11027                 :           0 :                           tree _q40 = CALL_EXPR_ARG (_p1, 0);
   11028                 :           0 :                           {
   11029                 :           0 :                             tree captures[4] ATTRIBUTE_UNUSED = { _p0, _q20, _p1, _q40 };
   11030                 :           0 :                             tree res = generic_simplify_34 (loc, type, _p0, _p1, captures, CFN_LOG10);
   11031                 :           0 :                             if (res) return res;
   11032                 :             :                           }
   11033                 :             :                         }
   11034                 :             :                       break;
   11035                 :             :                     default:;
   11036                 :             :                     }
   11037                 :             :                   break;
   11038                 :             :                 default:;
   11039                 :             :                 }
   11040                 :             :             }
   11041                 :             :           break;
   11042                 :           0 :         case CFN_BUILT_IN_LOG10:
   11043                 :           0 :           if (call_expr_nargs (_p0) == 1)
   11044                 :             :     {
   11045                 :           0 :               tree _q20 = CALL_EXPR_ARG (_p0, 0);
   11046                 :           0 :               switch (TREE_CODE (_p1))
   11047                 :             :                 {
   11048                 :           0 :                 case CALL_EXPR:
   11049                 :           0 :                   switch (get_call_combined_fn (_p1))
   11050                 :             :                     {
   11051                 :           0 :                     case CFN_BUILT_IN_LOG10:
   11052                 :           0 :                       if (call_expr_nargs (_p1) == 1)
   11053                 :             :     {
   11054                 :           0 :                           tree _q40 = CALL_EXPR_ARG (_p1, 0);
   11055                 :           0 :                           {
   11056                 :           0 :                             tree captures[4] ATTRIBUTE_UNUSED = { _p0, _q20, _p1, _q40 };
   11057                 :           0 :                             tree res = generic_simplify_34 (loc, type, _p0, _p1, captures, CFN_BUILT_IN_LOG10);
   11058                 :           0 :                             if (res) return res;
   11059                 :             :                           }
   11060                 :             :                         }
   11061                 :             :                       break;
   11062                 :             :                     default:;
   11063                 :             :                     }
   11064                 :             :                   break;
   11065                 :             :                 default:;
   11066                 :             :                 }
   11067                 :             :             }
   11068                 :             :           break;
   11069                 :           0 :         case CFN_BUILT_IN_LOG2F:
   11070                 :           0 :           if (call_expr_nargs (_p0) == 1)
   11071                 :             :     {
   11072                 :           0 :               tree _q20 = CALL_EXPR_ARG (_p0, 0);
   11073                 :           0 :               switch (TREE_CODE (_p1))
   11074                 :             :                 {
   11075                 :           0 :                 case CALL_EXPR:
   11076                 :           0 :                   switch (get_call_combined_fn (_p1))
   11077                 :             :                     {
   11078                 :           0 :                     case CFN_BUILT_IN_LOG2F:
   11079                 :           0 :                       if (call_expr_nargs (_p1) == 1)
   11080                 :             :     {
   11081                 :           0 :                           tree _q40 = CALL_EXPR_ARG (_p1, 0);
   11082                 :           0 :                           {
   11083                 :           0 :                             tree captures[4] ATTRIBUTE_UNUSED = { _p0, _q20, _p1, _q40 };
   11084                 :           0 :                             tree res = generic_simplify_34 (loc, type, _p0, _p1, captures, CFN_BUILT_IN_LOG2F);
   11085                 :           0 :                             if (res) return res;
   11086                 :             :                           }
   11087                 :             :                         }
   11088                 :             :                       break;
   11089                 :             :                     default:;
   11090                 :             :                     }
   11091                 :             :                   break;
   11092                 :             :                 default:;
   11093                 :             :                 }
   11094                 :             :             }
   11095                 :             :           break;
   11096                 :           0 :         case CFN_BUILT_IN_LOG2L:
   11097                 :           0 :           if (call_expr_nargs (_p0) == 1)
   11098                 :             :     {
   11099                 :           0 :               tree _q20 = CALL_EXPR_ARG (_p0, 0);
   11100                 :           0 :               switch (TREE_CODE (_p1))
   11101                 :             :                 {
   11102                 :           0 :                 case CALL_EXPR:
   11103                 :           0 :                   switch (get_call_combined_fn (_p1))
   11104                 :             :                     {
   11105                 :           0 :                     case CFN_BUILT_IN_LOG2L:
   11106                 :           0 :                       if (call_expr_nargs (_p1) == 1)
   11107                 :             :     {
   11108                 :           0 :                           tree _q40 = CALL_EXPR_ARG (_p1, 0);
   11109                 :           0 :                           {
   11110                 :           0 :                             tree captures[4] ATTRIBUTE_UNUSED = { _p0, _q20, _p1, _q40 };
   11111                 :           0 :                             tree res = generic_simplify_34 (loc, type, _p0, _p1, captures, CFN_BUILT_IN_LOG2L);
   11112                 :           0 :                             if (res) return res;
   11113                 :             :                           }
   11114                 :             :                         }
   11115                 :             :                       break;
   11116                 :             :                     default:;
   11117                 :             :                     }
   11118                 :             :                   break;
   11119                 :             :                 default:;
   11120                 :             :                 }
   11121                 :             :             }
   11122                 :             :           break;
   11123                 :             :         default:;
   11124                 :             :         }
   11125                 :             :       break;
   11126                 :    60095273 :     default:;
   11127                 :             :     }
   11128                 :    60095273 :   switch (TREE_CODE (_p1))
   11129                 :             :     {
   11130                 :           0 :     case VEC_PERM_EXPR:
   11131                 :           0 :       {
   11132                 :           0 :         tree _q30 = TREE_OPERAND (_p1, 0);
   11133                 :           0 :         tree _q31 = TREE_OPERAND (_p1, 1);
   11134                 :           0 :         tree _q32 = TREE_OPERAND (_p1, 2);
   11135                 :           0 :         switch (TREE_CODE (_q30))
   11136                 :             :           {
   11137                 :           0 :           case MULT_EXPR:
   11138                 :           0 :             {
   11139                 :           0 :               tree _q40 = TREE_OPERAND (_q30, 0);
   11140                 :           0 :               tree _q41 = TREE_OPERAND (_q30, 1);
   11141                 :           0 :               if (tree_vec_same_elem_p (_q41))
   11142                 :             :                 {
   11143                 :           0 :                   if ((_q31 == _q30 && ! TREE_SIDE_EFFECTS (_q31)) || (operand_equal_p (_q31, _q30, 0) && types_match (_q31, _q30)))
   11144                 :             :                     {
   11145                 :           0 :                       {
   11146                 :           0 :                         tree captures[6] ATTRIBUTE_UNUSED = { _p1, _q30, _q40, _q41, _q32, _p0 };
   11147                 :           0 :                         tree res = generic_simplify_38 (loc, type, _p0, _p1, captures);
   11148                 :           0 :                         if (res) return res;
   11149                 :             :                       }
   11150                 :             :                     }
   11151                 :             :                 }
   11152                 :           0 :               if (tree_vec_same_elem_p (_q40))
   11153                 :             :                 {
   11154                 :           0 :                   if ((_q31 == _q30 && ! TREE_SIDE_EFFECTS (_q31)) || (operand_equal_p (_q31, _q30, 0) && types_match (_q31, _q30)))
   11155                 :             :                     {
   11156                 :           0 :                       {
   11157                 :           0 :                         tree captures[6] ATTRIBUTE_UNUSED = { _p1, _q30, _q41, _q40, _q32, _p0 };
   11158                 :           0 :                         tree res = generic_simplify_38 (loc, type, _p0, _p1, captures);
   11159                 :           0 :                         if (res) return res;
   11160                 :             :                       }
   11161                 :             :                     }
   11162                 :             :                 }
   11163                 :             :               break;
   11164                 :             :             }
   11165                 :             :           default:;
   11166                 :             :           }
   11167                 :             :         break;
   11168                 :             :       }
   11169                 :             :     default:;
   11170                 :             :     }
   11171                 :             :   return NULL_TREE;
   11172                 :             : }
   11173                 :             : 
   11174                 :             : tree
   11175                 :          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)
   11176                 :             : {
   11177                 :          85 :   const bool debug_dump = dump_file && (dump_flags & TDF_FOLDING);
   11178                 :          85 :   switch (TREE_CODE (_p0))
   11179                 :             :     {
   11180                 :           0 :     case VEC_COND_EXPR:
   11181                 :           0 :       {
   11182                 :           0 :         tree _q20 = TREE_OPERAND (_p0, 0);
   11183                 :           0 :         tree _q21 = TREE_OPERAND (_p0, 1);
   11184                 :           0 :         tree _q22 = TREE_OPERAND (_p0, 2);
   11185                 :           0 :         switch (TREE_CODE (_p1))
   11186                 :             :           {
   11187                 :           0 :           case VEC_COND_EXPR:
   11188                 :           0 :             {
   11189                 :           0 :               tree _q60 = TREE_OPERAND (_p1, 0);
   11190                 :           0 :               tree _q61 = TREE_OPERAND (_p1, 1);
   11191                 :           0 :               tree _q62 = TREE_OPERAND (_p1, 2);
   11192                 :           0 :               if ((_q60 == _q20 && ! TREE_SIDE_EFFECTS (_q60)) || (operand_equal_p (_q60, _q20, 0) && types_match (_q60, _q20)))
   11193                 :             :                 {
   11194                 :           0 :                   {
   11195                 :           0 :                     tree captures[7] ATTRIBUTE_UNUSED = { _p0, _q20, _q21, _q22, _p1, _q61, _q62 };
   11196                 :           0 :                     if (VECTOR_TYPE_P (type)
   11197                 :           0 :  && (TREE_CODE_CLASS (LTGT_EXPR) != tcc_comparison
   11198                 :           0 :  || types_match (type, TREE_TYPE (captures[2]))
   11199                 :           0 :  || expand_vec_cond_expr_p (type, TREE_TYPE (captures[1]))
   11200                 :             :  || (optimize_vectors_before_lowering_p ()
   11201                 :           0 :  && !expand_vec_cond_expr_p (TREE_TYPE (captures[2]), TREE_TYPE (captures[1]))))
   11202                 :             : )
   11203                 :             :                       {
   11204                 :           0 :                         if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail1906;
   11205                 :           0 :                         {
   11206                 :           0 :                           tree res_op0;
   11207                 :           0 :                           res_op0 = captures[1];
   11208                 :           0 :                           tree res_op1;
   11209                 :           0 :                           {
   11210                 :           0 :                             tree _o1[2], _r1;
   11211                 :           0 :                             _o1[0] = captures[2];
   11212                 :           0 :                             _o1[1] = captures[5];
   11213                 :           0 :                             _r1 = fold_build2_loc (loc, LTGT_EXPR, type, _o1[0], _o1[1]);
   11214                 :           0 :                             if (EXPR_P (_r1))
   11215                 :           0 :                               goto next_after_fail1906;
   11216                 :           0 :                             res_op1 = _r1;
   11217                 :             :                           }
   11218                 :           0 :                           tree res_op2;
   11219                 :           0 :                           {
   11220                 :           0 :                             tree _o1[2], _r1;
   11221                 :           0 :                             _o1[0] = captures[3];
   11222                 :           0 :                             _o1[1] = captures[6];
   11223                 :           0 :                             _r1 = fold_build2_loc (loc, LTGT_EXPR, type, _o1[0], _o1[1]);
   11224                 :           0 :                             if (EXPR_P (_r1))
   11225                 :           0 :                               goto next_after_fail1906;
   11226                 :           0 :                             res_op2 = _r1;
   11227                 :             :                           }
   11228                 :           0 :                           tree _r;
   11229                 :           0 :                           _r = fold_build3_loc (loc, VEC_COND_EXPR, type, res_op0, res_op1, res_op2);
   11230                 :           0 :                           if (UNLIKELY (debug_dump)) generic_dump_logs ("match.pd", 908, __FILE__, __LINE__, true);
   11231                 :           0 :                           return _r;
   11232                 :             :                         }
   11233                 :           0 : next_after_fail1906:;
   11234                 :             :                       }
   11235                 :             :                   }
   11236                 :             :                 }
   11237                 :             :               break;
   11238                 :             :             }
   11239                 :           0 :           default:;
   11240                 :             :           }
   11241                 :           0 :         {
   11242                 :           0 :           tree captures[5] ATTRIBUTE_UNUSED = { _p0, _q20, _q21, _q22, _p1 };
   11243                 :           0 :           if (VECTOR_TYPE_P (type)
   11244                 :           0 :  && (TREE_CODE_CLASS (LTGT_EXPR) != tcc_comparison
   11245                 :           0 :  || types_match (type, TREE_TYPE (captures[2]))
   11246                 :           0 :  || expand_vec_cond_expr_p (type, TREE_TYPE (captures[1]))
   11247                 :             :  || (optimize_vectors_before_lowering_p ()
   11248                 :           0 :  && !expand_vec_cond_expr_p (TREE_TYPE (captures[2]), TREE_TYPE (captures[1]))))
   11249                 :             : )
   11250                 :             :             {
   11251                 :           0 :               if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail1907;
   11252                 :           0 :               {
   11253                 :           0 :                 if (! tree_invariant_p (captures[4])) goto next_after_fail1907;
   11254                 :           0 :                 tree res_op0;
   11255                 :           0 :                 res_op0 = captures[1];
   11256                 :           0 :                 tree res_op1;
   11257                 :           0 :                 {
   11258                 :           0 :                   tree _o1[2], _r1;
   11259                 :           0 :                   _o1[0] = captures[2];
   11260                 :           0 :                   _o1[1] = unshare_expr (captures[4]);
   11261                 :           0 :                   _r1 = fold_build2_loc (loc, LTGT_EXPR, type, _o1[0], _o1[1]);
   11262                 :           0 :                   if (EXPR_P (_r1))
   11263                 :           0 :                     goto next_after_fail1907;
   11264                 :           0 :                   res_op1 = _r1;
   11265                 :             :                 }
   11266                 :           0 :                 tree res_op2;
   11267                 :           0 :                 {
   11268                 :           0 :                   tree _o1[2], _r1;
   11269                 :           0 :                   _o1[0] = captures[3];
   11270                 :           0 :                   _o1[1] = captures[4];
   11271                 :           0 :                   _r1 = fold_build2_loc (loc, LTGT_EXPR, type, _o1[0], _o1[1]);
   11272                 :           0 :                   if (EXPR_P (_r1))
   11273                 :           0 :                     goto next_after_fail1907;
   11274                 :           0 :                   res_op2 = _r1;
   11275                 :             :                 }
   11276                 :           0 :                 tree _r;
   11277                 :           0 :                 _r = fold_build3_loc (loc, VEC_COND_EXPR, type, res_op0, res_op1, res_op2);
   11278                 :           0 :                 if (UNLIKELY (debug_dump)) generic_dump_logs ("match.pd", 909, __FILE__, __LINE__, true);
   11279                 :           0 :                 return _r;
   11280                 :             :               }
   11281                 :           0 : next_after_fail1907:;
   11282                 :             :             }
   11283                 :             :         }
   11284                 :           0 :         break;
   11285                 :             :       }
   11286                 :          85 :     default:;
   11287                 :             :     }
   11288                 :          85 :   switch (TREE_CODE (_p1))
   11289                 :             :     {
   11290                 :           0 :     case VEC_COND_EXPR:
   11291                 :           0 :       {
   11292                 :           0 :         tree _q30 = TREE_OPERAND (_p1, 0);
   11293                 :           0 :         tree _q31 = TREE_OPERAND (_p1, 1);
   11294                 :           0 :         tree _q32 = TREE_OPERAND (_p1, 2);
   11295                 :           0 :         {
   11296                 :           0 :           tree captures[5] ATTRIBUTE_UNUSED = { _p0, _p1, _q30, _q31, _q32 };
   11297                 :           0 :           if (VECTOR_TYPE_P (type)
   11298                 :           0 :  && (TREE_CODE_CLASS (LTGT_EXPR) != tcc_comparison
   11299                 :           0 :  || types_match (type, TREE_TYPE (captures[3]))
   11300                 :           0 :  || expand_vec_cond_expr_p (type, TREE_TYPE (captures[2]))
   11301                 :             :  || (optimize_vectors_before_lowering_p ()
   11302                 :           0 :  && !expand_vec_cond_expr_p (TREE_TYPE (captures[3]), TREE_TYPE (captures[2]))))
   11303                 :             : )
   11304                 :             :             {
   11305                 :           0 :               if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail1908;
   11306                 :           0 :               {
   11307                 :           0 :                 if (! tree_invariant_p (captures[0])) goto next_after_fail1908;
   11308                 :           0 :                 tree res_op0;
   11309                 :           0 :                 res_op0 = captures[2];
   11310                 :           0 :                 tree res_op1;
   11311                 :           0 :                 {
   11312                 :           0 :                   tree _o1[2], _r1;
   11313                 :           0 :                   _o1[0] = unshare_expr (captures[0]);
   11314                 :           0 :                   _o1[1] = captures[3];
   11315                 :           0 :                   _r1 = fold_build2_loc (loc, LTGT_EXPR, type, _o1[0], _o1[1]);
   11316                 :           0 :                   if (EXPR_P (_r1))
   11317                 :           0 :                     goto next_after_fail1908;
   11318                 :           0 :                   res_op1 = _r1;
   11319                 :             :                 }
   11320                 :           0 :                 tree res_op2;
   11321                 :           0 :                 {
   11322                 :           0 :                   tree _o1[2], _r1;
   11323                 :           0 :                   _o1[0] = captures[0];
   11324                 :           0 :                   _o1[1] = captures[4];
   11325                 :           0 :                   _r1 = fold_build2_loc (loc, LTGT_EXPR, type, _o1[0], _o1[1]);
   11326                 :           0 :                   if (EXPR_P (_r1))
   11327                 :           0 :                     goto next_after_fail1908;
   11328                 :           0 :                   res_op2 = _r1;
   11329                 :             :                 }
   11330                 :           0 :                 tree _r;
   11331                 :           0 :                 _r = fold_build3_loc (loc, VEC_COND_EXPR, type, res_op0, res_op1, res_op2);
   11332                 :           0 :                 if (UNLIKELY (debug_dump)) generic_dump_logs ("match.pd", 910, __FILE__, __LINE__, true);
   11333                 :           0 :                 return _r;
   11334                 :             :               }
   11335                 :           0 : next_after_fail1908:;
   11336                 :             :             }
   11337                 :             :         }
   11338                 :           0 :         break;
   11339                 :             :       }
   11340                 :          85 :     default:;
   11341                 :             :     }
   11342                 :          85 :   if ((_p1 == _p0 && ! TREE_SIDE_EFFECTS (_p1)) || (operand_equal_p (_p1, _p0, 0) && types_match (_p1, _p0)))
   11343                 :             :     {
   11344                 :           0 :       {
   11345                 :           0 :         tree captures[1] ATTRIBUTE_UNUSED = { _p0 };
   11346                 :           0 :         if (!flag_trapping_math || !tree_expr_maybe_nan_p (captures[0])
   11347                 :             : )
   11348                 :             :           {
   11349                 :           0 :             if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail1909;
   11350                 :           0 :             {
   11351                 :           0 :               tree _r;
   11352                 :           0 :               _r =  constant_boolean_node (false, type);
   11353                 :           0 :               if (TREE_SIDE_EFFECTS (captures[0]))
   11354                 :           0 :                 _r = build2_loc (loc, COMPOUND_EXPR, type, fold_ignored_result (captures[0]), _r);
   11355                 :           0 :               if (UNLIKELY (debug_dump)) generic_dump_logs ("match.pd", 1052, __FILE__, __LINE__, true);
   11356                 :           0 :               return _r;
   11357                 :             :             }
   11358                 :           0 : next_after_fail1909:;
   11359                 :             :           }
   11360                 :             :       }
   11361                 :             :     }
   11362                 :          85 :   switch (TREE_CODE (_p0))
   11363                 :             :     {
   11364                 :           0 :     case FLOAT_EXPR:
   11365                 :           0 :       {
   11366                 :           0 :         tree _q20 = TREE_OPERAND (_p0, 0);
   11367                 :           0 :         switch (TREE_CODE (_p1))
   11368                 :             :           {
   11369                 :           0 :           case FLOAT_EXPR:
   11370                 :           0 :             {
   11371                 :           0 :               tree _q40 = TREE_OPERAND (_p1, 0);
   11372                 :           0 :               {
   11373                 :           0 :                 tree captures[3] ATTRIBUTE_UNUSED = { _p0, _q20, _q40 };
   11374                 :           0 :                 tree res = generic_simplify_254 (loc, type, _p0, _p1, captures, LTGT_EXPR, NE_EXPR);
   11375                 :           0 :                 if (res) return res;
   11376                 :             :               }
   11377                 :           0 :               break;
   11378                 :             :             }
   11379                 :             :           default:;
   11380                 :             :           }
   11381                 :             :         break;
   11382                 :             :       }
   11383                 :           0 :     case NEGATE_EXPR:
   11384                 :           0 :       {
   11385                 :           0 :         tree _q20 = TREE_OPERAND (_p0, 0);
   11386                 :           0 :         switch (TREE_CODE (_p1))
   11387                 :             :           {
   11388                 :           0 :           case NEGATE_EXPR:
   11389                 :           0 :             {
   11390                 :           0 :               tree _q40 = TREE_OPERAND (_p1, 0);
   11391                 :           0 :               {
   11392                 :           0 :                 tree captures[2] ATTRIBUTE_UNUSED = { _q20, _q40 };
   11393                 :           0 :                 tree res = generic_simplify_257 (loc, type, _p0, _p1, captures, LTGT_EXPR, LTGT_EXPR);
   11394                 :           0 :                 if (res) return res;
   11395                 :             :               }
   11396                 :           0 :               break;
   11397                 :             :             }
   11398                 :           0 :           default:;
   11399                 :             :           }
   11400                 :           0 :       if (CONSTANT_CLASS_P (_p1))
   11401                 :             :         {
   11402                 :           0 :           {
   11403                 :           0 :             tree captures[2] ATTRIBUTE_UNUSED = { _q20, _p1 };
   11404                 :           0 :             tree res = generic_simplify_258 (loc, type, _p0, _p1, captures, LTGT_EXPR, LTGT_EXPR);
   11405                 :           0 :             if (res) return res;
   11406                 :             :           }
   11407                 :             :         }
   11408                 :             :         break;
   11409                 :             :       }
   11410                 :          85 :     default:;
   11411                 :             :     }
   11412                 :          85 :   switch (TREE_CODE (_p1))
   11413                 :             :     {
   11414                 :           0 :     case REAL_CST:
   11415                 :           0 :       {
   11416                 :           0 :         {
   11417                 :           0 :           tree captures[2] ATTRIBUTE_UNUSED = { _p0, _p1 };
   11418                 :           0 :           tree res = generic_simplify_537 (loc, type, _p0, _p1, captures, LTGT_EXPR);
   11419                 :           0 :           if (res) return res;
   11420                 :             :         }
   11421                 :           0 :         break;
   11422                 :             :       }
   11423                 :             :     default:;
   11424                 :             :     }
   11425                 :             :   return NULL_TREE;
   11426                 :             : }
   11427                 :             : 
   11428                 :             : tree
   11429                 :       13717 : generic_simplify_BIT_INSERT_EXPR (location_t ARG_UNUSED (loc), enum tree_code ARG_UNUSED (code), const tree ARG_UNUSED (type), tree _p0, tree _p1, tree _p2)
   11430                 :             : {
   11431                 :       13717 :   const bool debug_dump = dump_file && (dump_flags & TDF_FOLDING);
   11432                 :       13717 :   switch (TREE_CODE (_p1))
   11433                 :             :     {
   11434                 :           0 :     case BIT_FIELD_REF:
   11435                 :           0 :       {
   11436                 :           0 :         tree _q30 = TREE_OPERAND (_p1, 0);
   11437                 :           0 :         tree _q31 = TREE_OPERAND (_p1, 1);
   11438                 :           0 :         tree _q32 = TREE_OPERAND (_p1, 2);
   11439                 :           0 :         {
   11440                 :           0 :           tree captures[6] ATTRIBUTE_UNUSED = { _p0, _p1, _q30, _q31, _q32, _p2 };
   11441                 :           0 :           if (VECTOR_TYPE_P (type)
   11442                 :           0 :  && (VECTOR_MODE_P (TYPE_MODE (type))
   11443                 :             :  || optimize_vectors_before_lowering_p ())
   11444                 :           0 :  && operand_equal_p (TYPE_SIZE (TREE_TYPE (captures[0])),
   11445                 :           0 :  TYPE_SIZE (TREE_TYPE (captures[2])), 0)
   11446                 :           0 :  && types_match (TREE_TYPE (TREE_TYPE (captures[0])), TREE_TYPE (captures[1]))
   11447                 :           0 :  && TYPE_VECTOR_SUBPARTS (type).is_constant ()
   11448                 :           0 :  && multiple_p (wi::to_poly_offset (captures[4]),
   11449                 :           0 :  wi::to_poly_offset (TYPE_SIZE (TREE_TYPE (type))))
   11450                 :             : )
   11451                 :             :             {
   11452                 :           0 :               {
   11453                 :           0 :  unsigned HOST_WIDE_INT elsz
   11454                 :           0 :  = tree_to_uhwi (TYPE_SIZE (TREE_TYPE (TREE_TYPE (captures[0]))));
   11455                 :           0 :  poly_uint64 relt = exact_div (tree_to_poly_uint64 (captures[4]), elsz);
   11456                 :           0 :  poly_uint64 ielt = exact_div (tree_to_poly_uint64 (captures[5]), elsz);
   11457                 :           0 :  unsigned nunits = TYPE_VECTOR_SUBPARTS (type).to_constant ();
   11458                 :           0 :  vec_perm_builder builder;
   11459                 :           0 :  builder.new_vector (nunits, nunits, 1);
   11460                 :           0 :  for (unsigned i = 0; i < nunits; ++i)
   11461                 :           0 :  builder.quick_push (known_eq (ielt, i) ? nunits + relt : i);
   11462                 :           0 :  vec_perm_indices sel (builder, 2, nunits);
   11463                 :           0 :                   if (!VECTOR_MODE_P (TYPE_MODE (type))
   11464                 :           0 :  || can_vec_perm_const_p (TYPE_MODE (type),
   11465                 :           0 :  TYPE_MODE (type), sel, false)
   11466                 :             : )
   11467                 :             :                     {
   11468                 :           0 :                       if (TREE_SIDE_EFFECTS (captures[4])) goto next_after_fail2090;
   11469                 :           0 :                       if (TREE_SIDE_EFFECTS (captures[5])) goto next_after_fail2090;
   11470                 :           0 :                       if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail2090;
   11471                 :           0 :                       {
   11472                 :           0 :                         tree res_op0;
   11473                 :           0 :                         res_op0 = captures[0];
   11474                 :           0 :                         tree res_op1;
   11475                 :           0 :                         {
   11476                 :           0 :                           tree _o1[1], _r1;
   11477                 :           0 :                           _o1[0] = captures[2];
   11478                 :           0 :                           if (TREE_TYPE (_o1[0]) != type)
   11479                 :             :                             {
   11480                 :           0 :                               _r1 = fold_build1_loc (loc, VIEW_CONVERT_EXPR, type, _o1[0]);
   11481                 :             :                             }
   11482                 :             :                           else
   11483                 :             :                             _r1 = _o1[0];
   11484                 :           0 :                           res_op1 = _r1;
   11485                 :             :                         }
   11486                 :           0 :                         tree res_op2;
   11487                 :           0 :                         res_op2 =  vec_perm_indices_to_tree (build_vector_type (ssizetype, nunits),
   11488                 :             :  sel);
   11489                 :           0 :                         tree _r;
   11490                 :           0 :                         _r = fold_build3_loc (loc, VEC_PERM_EXPR, type, res_op0, res_op1, res_op2);
   11491                 :           0 :                         if (TREE_SIDE_EFFECTS (captures[3]))
   11492                 :           0 :                           _r = build2_loc (loc, COMPOUND_EXPR, type, fold_ignored_result (captures[3]), _r);
   11493                 :           0 :                         if (UNLIKELY (debug_dump)) generic_dump_logs ("match.pd", 1110, __FILE__, __LINE__, true);
   11494                 :           0 :                         return _r;
   11495                 :             :                       }
   11496                 :           0 : next_after_fail2090:;
   11497                 :             :                     }
   11498                 :           0 :               }
   11499                 :             :             }
   11500                 :             :         }
   11501                 :           0 :         break;
   11502                 :             :       }
   11503                 :             :     default:;
   11504                 :             :     }
   11505                 :             :   return NULL_TREE;
   11506                 :             : }
   11507                 :             : 
   11508                 :             : tree
   11509                 :      747784 : 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)
   11510                 :             : {
   11511                 :      747784 :   const bool debug_dump = dump_file && (dump_flags & TDF_FOLDING);
   11512                 :      747784 :   switch (TREE_CODE (_p0))
   11513                 :             :     {
   11514                 :           0 :     case PLUS_EXPR:
   11515                 :           0 :       {
   11516                 :           0 :         tree _q20 = TREE_OPERAND (_p0, 0);
   11517                 :           0 :         tree _q21 = TREE_OPERAND (_p0, 1);
   11518                 :           0 :         switch (TREE_CODE (_p1))
   11519                 :             :           {
   11520                 :           0 :           case MINUS_EXPR:
   11521                 :           0 :             {
   11522                 :           0 :               tree _q50 = TREE_OPERAND (_p1, 0);
   11523                 :           0 :               tree _q51 = TREE_OPERAND (_p1, 1);
   11524                 :           0 :               switch (TREE_CODE (_p2))
   11525                 :             :                 {
   11526                 :           0 :                 case VECTOR_CST:
   11527                 :           0 :                   {
   11528                 :           0 :                     {
   11529                 :           0 :                       tree captures[5] ATTRIBUTE_UNUSED = { _q20, _q21, _q50, _q51, _p2 };
   11530                 :           0 :                       tree res = generic_simplify_589 (loc, type, _p0, _p1, _p2, captures, PLUS_EXPR, MINUS_EXPR);
   11531                 :           0 :                       if (res) return res;
   11532                 :             :                     }
   11533                 :           0 :                     break;
   11534                 :             :                   }
   11535                 :             :                 default:;
   11536                 :             :                 }
   11537                 :             :               break;
   11538                 :             :             }
   11539                 :             :           default:;
   11540                 :             :           }
   11541                 :             :         break;
   11542                 :             :       }
   11543                 :           0 :     case MINUS_EXPR:
   11544                 :           0 :       {
   11545                 :           0 :         tree _q20 = TREE_OPERAND (_p0, 0);
   11546                 :           0 :         tree _q21 = TREE_OPERAND (_p0, 1);
   11547                 :           0 :         switch (TREE_CODE (_p1))
   11548                 :             :           {
   11549                 :           0 :           case PLUS_EXPR:
   11550                 :           0 :             {
   11551                 :           0 :               tree _q50 = TREE_OPERAND (_p1, 0);
   11552                 :           0 :               tree _q51 = TREE_OPERAND (_p1, 1);
   11553                 :           0 :               switch (TREE_CODE (_p2))
   11554                 :             :                 {
   11555                 :           0 :                 case VECTOR_CST:
   11556                 :           0 :                   {
   11557                 :           0 :                     {
   11558                 :           0 :                       tree captures[5] ATTRIBUTE_UNUSED = { _q20, _q21, _q50, _q51, _p2 };
   11559                 :           0 :                       tree res = generic_simplify_589 (loc, type, _p0, _p1, _p2, captures, MINUS_EXPR, PLUS_EXPR);
   11560                 :           0 :                       if (res) return res;
   11561                 :             :                     }
   11562                 :           0 :                     break;
   11563                 :             :                   }
   11564                 :             :                 default:;
   11565                 :             :                 }
   11566                 :             :               break;
   11567                 :             :             }
   11568                 :             :           default:;
   11569                 :             :           }
   11570                 :             :         break;
   11571                 :             :       }
   11572                 :      747784 :     default:;
   11573                 :             :     }
   11574                 :      747784 :   switch (TREE_CODE (_p2))
   11575                 :             :     {
   11576                 :      736555 :     case VECTOR_CST:
   11577                 :      736555 :       {
   11578                 :      736555 :         {
   11579                 :      736555 :           tree captures[3] ATTRIBUTE_UNUSED = { _p0, _p1, _p2 };
   11580                 :      736555 :           {
   11581                 :      736555 :  tree op0 = captures[0], op1 = captures[1], op2 = captures[2];
   11582                 :      736555 :  machine_mode result_mode = TYPE_MODE (type);
   11583                 :      736555 :  machine_mode op_mode = TYPE_MODE (TREE_TYPE (op0));
   11584                 :      736555 :  vec_perm_builder builder;
   11585                 :      736555 :               if (tree_to_vec_perm_builder (&builder, op2)
   11586                 :             : )
   11587                 :             :                 {
   11588                 :      736543 :                   {
   11589                 :      736543 :  poly_uint64 nelts = TYPE_VECTOR_SUBPARTS (type);
   11590                 :      736543 :  bool single_arg = (op0 == op1);
   11591                 :     1260520 :  vec_perm_indices sel (builder, single_arg ? 1 : 2, nelts);
   11592                 :      736543 :                       if (sel.series_p (0, 1, 0, 1)
   11593                 :             : )
   11594                 :             :                         {
   11595                 :        1344 :                           if (TREE_SIDE_EFFECTS (captures[0])) goto next_after_fail2091;
   11596                 :        1344 :                           if (TREE_SIDE_EFFECTS (captures[1])) goto next_after_fail2091;
   11597                 :        1344 :                           if (TREE_SIDE_EFFECTS (captures[2])) goto next_after_fail2091;
   11598                 :        1344 :                           if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail2091;
   11599                 :        1344 :                           {
   11600                 :        1344 :                             tree _r;
   11601                 :        1344 :                             _r =  op0;
   11602                 :        1344 :                             if (UNLIKELY (debug_dump)) generic_dump_logs ("match.pd", 1111, __FILE__, __LINE__, true);
   11603                 :        1344 :                             return _r;
   11604                 :             :                           }
   11605                 :      725652 : next_after_fail2091:;
   11606                 :             :                         }
   11607                 :             :                       else
   11608                 :             :                         {
   11609                 :      735199 :                           if (sel.series_p (0, 1, nelts, 1)
   11610                 :             : )
   11611                 :             :                             {
   11612                 :          13 :                               if (TREE_SIDE_EFFECTS (captures[0])) goto next_after_fail2092;
   11613                 :          13 :                               if (TREE_SIDE_EFFECTS (captures[1])) goto next_after_fail2092;
   11614                 :          13 :                               if (TREE_SIDE_EFFECTS (captures[2])) goto next_after_fail2092;
   11615                 :          13 :                               if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail2092;
   11616                 :          13 :                               {
   11617                 :          13 :                                 tree _r;
   11618                 :          13 :                                 _r =  op1;
   11619                 :          13 :                                 if (UNLIKELY (debug_dump)) generic_dump_logs ("match.pd", 1112, __FILE__, __LINE__, true);
   11620                 :          13 :                                 return _r;
   11621                 :             :                               }
   11622                 :      725652 : next_after_fail2092:;
   11623                 :             :                             }
   11624                 :             :                           else
   11625                 :             :                             {
   11626                 :      735186 :                               {
   11627                 :      735186 :  if (!single_arg)
   11628                 :             :  {
   11629                 :      523296 :  if (sel.all_from_input_p (0))
   11630                 :             :  op1 = op0;
   11631                 :      523282 :  else if (sel.all_from_input_p (1))
   11632                 :             :  {
   11633                 :          31 :  op0 = op1;
   11634                 :          31 :  sel.rotate_inputs (1);
   11635                 :             :  }
   11636                 :      523251 :  else if (known_ge (poly_uint64 (sel[0]), nelts))
   11637                 :             :  {
   11638                 :         140 :  std::swap (op0, op1);
   11639                 :         140 :  sel.rotate_inputs (1);
   11640                 :             :  }
   11641                 :             :  }
   11642                 :      735186 :  gassign *def;
   11643                 :      735186 :  tree cop0 = op0, cop1 = op1;
   11644                 :      735186 :  if (TREE_CODE (op0) == SSA_NAME
   11645                 :      711059 :  && (def = dyn_cast <gassign *> (SSA_NAME_DEF_STMT (op0)))
   11646                 :     1412570 :  && gimple_assign_rhs_code (def) == CONSTRUCTOR)
   11647                 :        4399 :  cop0 = gimple_assign_rhs1 (def);
   11648                 :      735186 :  if (TREE_CODE (op1) == SSA_NAME
   11649                 :      707824 :  && (def = dyn_cast <gassign *> (SSA_NAME_DEF_STMT (op1)))
   11650                 :     1410214 :  && gimple_assign_rhs_code (def) == CONSTRUCTOR)
   11651                 :        9000 :  cop1 = gimple_assign_rhs1 (def);
   11652                 :      735186 :  tree t;
   11653                 :      735186 :                                   if ((TREE_CODE (cop0) == VECTOR_CST
   11654                 :      713816 :  || TREE_CODE (cop0) == CONSTRUCTOR)
   11655                 :       25962 :  && (TREE_CODE (cop1) == VECTOR_CST
   11656                 :       15395 :  || TREE_CODE (cop1) == CONSTRUCTOR)
   11657                 :      748895 :  && (t = fold_vec_perm (type, cop0, cop1, sel))
   11658                 :             : )
   11659                 :             :                                     {
   11660                 :        7169 :                                       if (TREE_SIDE_EFFECTS (captures[0])) goto next_after_fail2093;
   11661                 :        7169 :                                       if (TREE_SIDE_EFFECTS (captures[1])) goto next_after_fail2093;
   11662                 :        7169 :                                       if (TREE_SIDE_EFFECTS (captures[2])) goto next_after_fail2093;
   11663                 :        7169 :                                       if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail2093;
   11664                 :        7169 :                                       {
   11665                 :        7169 :                                         tree _r;
   11666                 :        7169 :                                         _r =  t;
   11667                 :        7169 :                                         if (UNLIKELY (debug_dump)) generic_dump_logs ("match.pd", 1113, __FILE__, __LINE__, true);
   11668                 :        7169 :                                         return _r;
   11669                 :             :                                       }
   11670                 :      725652 : next_after_fail2093:;
   11671                 :             :                                     }
   11672                 :             :                                   else
   11673                 :             :                                     {
   11674                 :      728017 :                                       {
   11675                 :      728017 :  bool changed = (op0 == op1 && !single_arg);
   11676                 :      728017 :  tree ins = NULL_TREE;
   11677                 :      728017 :  unsigned at = 0;
   11678                 :      728017 :  if (op_mode != BLKmode
   11679                 :      720869 :  && (TREE_CODE (cop0) == VECTOR_CST
   11680                 :      705596 :  || TREE_CODE (cop0) == CONSTRUCTOR
   11681                 :      702802 :  || TREE_CODE (cop1) == VECTOR_CST
   11682                 :      688714 :  || TREE_CODE (cop1) == CONSTRUCTOR))
   11683                 :             :  {
   11684                 :       37729 :  bool insert_first_p = sel.series_p (1, 1, nelts + 1, 1);
   11685                 :       37729 :  if (insert_first_p)
   11686                 :             :  {
   11687                 :         662 :  at = 0;
   11688                 :         662 :  if ((ins = fold_read_from_vector (cop0, sel[0])))
   11689                 :         108 :  op0 = op1;
   11690                 :             :  }
   11691                 :         662 :  if (!insert_first_p || (!ins && maybe_eq (nelts, 2u)))
   11692                 :             :  {
   11693                 :       37504 :  unsigned int encoded_nelts = sel.encoding ().encoded_nelts ();
   11694                 :       73655 :  for (at = 0; at < encoded_nelts; ++at)
   11695                 :       73588 :  if (maybe_ne (sel[at], at))
   11696                 :             :  break;
   11697                 :       37504 :  if (at < encoded_nelts
   11698                 :       37504 :  && (known_eq (at + 1, nelts)
   11699                 :       36554 :  || sel.series_p (at + 1, 1, at + 1, 1)))
   11700                 :             :  {
   11701                 :        1539 :  if (known_lt (poly_uint64 (sel[at]), nelts))
   11702                 :           0 :  ins = fold_read_from_vector (cop0, sel[at]);
   11703                 :             :  else
   11704                 :        1539 :  ins = fold_read_from_vector (cop1, sel[at] - nelts);
   11705                 :             :  }
   11706                 :             :  }
   11707                 :             :  }
   11708                 :      728017 :  if (!ins && sel.encoding () != builder)
   11709                 :             :  {
   11710                 :        1113 :  tree oldop2 = op2;
   11711                 :        1113 :  if (sel.ninputs () == 2
   11712                 :        1113 :  || can_vec_perm_const_p (result_mode, op_mode, sel, false))
   11713                 :         676 :  op2 = vec_perm_indices_to_tree (TREE_TYPE (op2), sel);
   11714                 :             :  else
   11715                 :             :  {
   11716                 :         437 :  vec_perm_indices sel2 (builder, 2, nelts);
   11717                 :         437 :  if (can_vec_perm_const_p (result_mode, op_mode, sel2, false))
   11718                 :         164 :  op2 = vec_perm_indices_to_tree (TREE_TYPE (op2), sel2);
   11719                 :             :  else
   11720                 :         273 :  op2 = vec_perm_indices_to_tree (TREE_TYPE (op2), sel);
   11721                 :         437 :  }
   11722                 :        1113 :  if (!operand_equal_p (op2, oldop2, 0))
   11723                 :         949 :  changed = true;
   11724                 :             :  }
   11725                 :      728017 :                                           if (ins
   11726                 :             : )
   11727                 :             :                                             {
   11728                 :        1415 :                                               if (TREE_SIDE_EFFECTS (captures[0])) goto next_after_fail2094;
   11729                 :        1415 :                                               if (TREE_SIDE_EFFECTS (captures[1])) goto next_after_fail2094;
   11730                 :        1415 :                                               if (TREE_SIDE_EFFECTS (captures[2])) goto next_after_fail2094;
   11731                 :        1415 :                                               if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail2094;
   11732                 :        1415 :                                               {
   11733                 :        1415 :                                                 tree res_op0;
   11734                 :        1415 :                                                 res_op0 =  op0;
   11735                 :        1415 :                                                 tree res_op1;
   11736                 :        1415 :                                                 res_op1 =  ins;
   11737                 :        1415 :                                                 tree res_op2;
   11738                 :        1415 :                                                 res_op2 =  bitsize_int (at * vector_element_bits (type));
   11739                 :        1415 :                                                 tree _r;
   11740                 :        1415 :                                                 _r = fold_build3_loc (loc, BIT_INSERT_EXPR, type, res_op0, res_op1, res_op2);
   11741                 :        1415 :                                                 if (UNLIKELY (debug_dump)) generic_dump_logs ("match.pd", 1114, __FILE__, __LINE__, true);
   11742                 :       10891 :                                                 return _r;
   11743                 :             :                                               }
   11744                 :             : next_after_fail2094:;
   11745                 :             :                                             }
   11746                 :             :                                           else
   11747                 :             :                                             {
   11748                 :      726602 :                                               if (changed
   11749                 :             : )
   11750                 :             :                                                 {
   11751                 :         950 :                                                   if (TREE_SIDE_EFFECTS (captures[0])) goto next_after_fail2095;
   11752                 :         950 :                                                   if (TREE_SIDE_EFFECTS (captures[1])) goto next_after_fail2095;
   11753                 :         950 :                                                   if (TREE_SIDE_EFFECTS (captures[2])) goto next_after_fail2095;
   11754                 :         950 :                                                   if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail2095;
   11755                 :         950 :                                                   {
   11756                 :         950 :                                                     tree res_op0;
   11757                 :         950 :                                                     res_op0 =  op0;
   11758                 :         950 :                                                     tree res_op1;
   11759                 :         950 :                                                     res_op1 =  op1;
   11760                 :         950 :                                                     tree res_op2;
   11761                 :         950 :                                                     res_op2 =  op2;
   11762                 :         950 :                                                     tree _r;
   11763                 :         950 :                                                     _r = fold_build3_loc (loc, VEC_PERM_EXPR, type, res_op0, res_op1, res_op2);
   11764                 :         950 :                                                     if (UNLIKELY (debug_dump)) generic_dump_logs ("match.pd", 1115, __FILE__, __LINE__, true);
   11765                 :         950 :                                                     return _r;
   11766                 :             :                                                   }
   11767                 :             : next_after_fail2095:;
   11768                 :             :                                                 }
   11769                 :             :                                             }
   11770                 :             :                                       }
   11771                 :             :                                     }
   11772                 :             :                               }
   11773                 :             :                             }
   11774                 :             :                         }
   11775                 :      736543 :                   }
   11776                 :             :                 }
   11777                 :       10891 :           }
   11778                 :             :         }
   11779                 :      725664 :         break;
   11780                 :             :       }
   11781                 :      736893 :     default:;
   11782                 :             :     }
   11783                 :      736893 :   switch (TREE_CODE (_p0))
   11784                 :             :     {
   11785                 :           0 :     case VIEW_CONVERT_EXPR:
   11786                 :           0 :       {
   11787                 :           0 :         tree _q20 = TREE_OPERAND (_p0, 0);
   11788                 :           0 :         switch (TREE_CODE (_q20))
   11789                 :             :           {
   11790                 :           0 :           case VEC_PERM_EXPR:
   11791                 :           0 :             {
   11792                 :           0 :               tree _q30 = TREE_OPERAND (_q20, 0);
   11793                 :           0 :               tree _q31 = TREE_OPERAND (_q20, 1);
   11794                 :           0 :               tree _q32 = TREE_OPERAND (_q20, 2);
   11795                 :           0 :               switch (TREE_CODE (_q32))
   11796                 :             :                 {
   11797                 :           0 :                 case VECTOR_CST:
   11798                 :           0 :                   {
   11799                 :           0 :                     if ((_p1 == _p0 && ! TREE_SIDE_EFFECTS (_p1)) || (operand_equal_p (_p1, _p0, 0) && types_match (_p1, _p0)))
   11800                 :             :                       {
   11801                 :           0 :                         switch (TREE_CODE (_p2))
   11802                 :             :                           {
   11803                 :           0 :                           case VECTOR_CST:
   11804                 :           0 :                             {
   11805                 :           0 :                               {
   11806                 :           0 :                                 tree captures[6] ATTRIBUTE_UNUSED = { _p0, _q20, _q30, _q31, _q32, _p2 };
   11807                 :           0 :                                 if (TYPE_VECTOR_SUBPARTS (type).is_constant ()
   11808                 :             : )
   11809                 :             :                                   {
   11810                 :           0 :                                     {
   11811                 :           0 :  machine_mode result_mode = TYPE_MODE (type);
   11812                 :           0 :  machine_mode op_mode = TYPE_MODE (TREE_TYPE (captures[2]));
   11813                 :           0 :  int nelts = TYPE_VECTOR_SUBPARTS (type).to_constant ();
   11814                 :           0 :  vec_perm_builder builder0;
   11815                 :           0 :  vec_perm_builder builder1;
   11816                 :           0 :  vec_perm_builder builder2 (nelts, nelts, 1);
   11817                 :           0 :                                         if (tree_to_vec_perm_builder (&builder0, captures[4])
   11818                 :           0 :  && tree_to_vec_perm_builder (&builder1, captures[5])
   11819                 :           0 :  && TYPE_SIZE (TREE_TYPE (TREE_TYPE (captures[0])))
   11820                 :           0 :  == TYPE_SIZE (TREE_TYPE (TREE_TYPE (captures[1])))
   11821                 :             : )
   11822                 :             :                                           {
   11823                 :           0 :                                             {
   11824                 :           0 :  vec_perm_indices sel0 (builder0, 2, nelts);
   11825                 :           0 :  vec_perm_indices sel1 (builder1, 2, nelts);
   11826                 :           0 :  for (int i = 0; i < nelts; i++)
   11827                 :           0 :  builder2.quick_push (sel0[sel1[i].to_constant ()]);
   11828                 :           0 :  vec_perm_indices sel2 (builder2, 2, nelts);
   11829                 :           0 :  tree op0 = NULL_TREE;
   11830                 :           0 :  if (can_vec_perm_const_p (result_mode, op_mode, sel2, false)
   11831                 :           0 :  || (single_use (captures[0])
   11832                 :           0 :  ? (!can_vec_perm_const_p (result_mode, op_mode, sel0, false)
   11833                 :           0 :  || !can_vec_perm_const_p (result_mode, op_mode, sel1, false))
   11834                 :             :  : !can_vec_perm_const_p (result_mode, op_mode, sel1, false)))
   11835                 :           0 :  op0 = vec_perm_indices_to_tree (TREE_TYPE (captures[5]), sel2);
   11836                 :           0 :                                                 if (op0
   11837                 :             : )
   11838                 :             :                                                   {
   11839                 :           0 :                                                     if (TREE_SIDE_EFFECTS (captures[0])) goto next_after_fail2096;
   11840                 :           0 :                                                     if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail2096;
   11841                 :           0 :                                                     {
   11842                 :           0 :                                                       tree res_op0;
   11843                 :           0 :                                                       {
   11844                 :           0 :                                                         tree _o1[3], _r1;
   11845                 :           0 :                                                         _o1[0] = captures[2];
   11846                 :           0 :                                                         _o1[1] = captures[3];
   11847                 :           0 :                                                         _o1[2] =  op0;
   11848                 :           0 :                                                         _r1 = fold_build3_loc (loc, VEC_PERM_EXPR, TREE_TYPE (_o1[0]), _o1[0], _o1[1], _o1[2]);
   11849                 :           0 :                                                         res_op0 = _r1;
   11850                 :             :                                                       }
   11851                 :           0 :                                                       tree _r;
   11852                 :           0 :                                                       _r = fold_build1_loc (loc, VIEW_CONVERT_EXPR, type, res_op0);
   11853                 :           0 :                                                       if (TREE_SIDE_EFFECTS (captures[4]))
   11854                 :           0 :                                                         _r = build2_loc (loc, COMPOUND_EXPR, type, fold_ignored_result (captures[4]), _r);
   11855                 :           0 :                                                       if (TREE_SIDE_EFFECTS (captures[5]))
   11856                 :           0 :                                                         _r = build2_loc (loc, COMPOUND_EXPR, type, fold_ignored_result (captures[5]), _r);
   11857                 :           0 :                                                       if (UNLIKELY (debug_dump)) generic_dump_logs ("match.pd", 1116, __FILE__, __LINE__, true);
   11858                 :           0 :                                                       return _r;
   11859                 :             :                                                     }
   11860                 :           0 : next_after_fail2096:;
   11861                 :             :                                                   }
   11862                 :           0 :                                             }
   11863                 :             :                                           }
   11864                 :           0 :                                     }
   11865                 :             :                                   }
   11866                 :             :                               }
   11867                 :           0 :                               break;
   11868                 :             :                             }
   11869                 :             :                           default:;
   11870                 :             :                           }
   11871                 :             :                       }
   11872                 :             :                     break;
   11873                 :             :                   }
   11874                 :             :                 default:;
   11875                 :             :                 }
   11876                 :             :               break;
   11877                 :             :             }
   11878                 :             :           default:;
   11879                 :             :           }
   11880                 :             :         break;
   11881                 :             :       }
   11882                 :           0 :     case VEC_PERM_EXPR:
   11883                 :           0 :       {
   11884                 :           0 :         tree _q20 = TREE_OPERAND (_p0, 0);
   11885                 :           0 :         tree _q21 = TREE_OPERAND (_p0, 1);
   11886                 :           0 :         tree _q22 = TREE_OPERAND (_p0, 2);
   11887                 :           0 :         switch (TREE_CODE (_q22))
   11888                 :             :           {
   11889                 :           0 :           case VECTOR_CST:
   11890                 :           0 :             {
   11891                 :           0 :               if ((_p1 == _p0 && ! TREE_SIDE_EFFECTS (_p1)) || (operand_equal_p (_p1, _p0, 0) && types_match (_p1, _p0)))
   11892                 :             :                 {
   11893                 :           0 :                   switch (TREE_CODE (_p2))
   11894                 :             :                     {
   11895                 :           0 :                     case VECTOR_CST:
   11896                 :           0 :                       {
   11897                 :           0 :                         {
   11898                 :           0 :                           tree captures[6] ATTRIBUTE_UNUSED = { _p0, _p0, _q20, _q21, _q22, _p2 };
   11899                 :           0 :                           if (TYPE_VECTOR_SUBPARTS (type).is_constant ()
   11900                 :             : )
   11901                 :             :                             {
   11902                 :           0 :                               {
   11903                 :           0 :  machine_mode result_mode = TYPE_MODE (type);
   11904                 :           0 :  machine_mode op_mode = TYPE_MODE (TREE_TYPE (captures[2]));
   11905                 :           0 :  int nelts = TYPE_VECTOR_SUBPARTS (type).to_constant ();
   11906                 :           0 :  vec_perm_builder builder0;
   11907                 :           0 :  vec_perm_builder builder1;
   11908                 :           0 :  vec_perm_builder builder2 (nelts, nelts, 1);
   11909                 :           0 :                                   if (tree_to_vec_perm_builder (&builder0, captures[4])
   11910                 :           0 :  && tree_to_vec_perm_builder (&builder1, captures[5])
   11911                 :           0 :  && TYPE_SIZE (TREE_TYPE (TREE_TYPE (captures[0])))
   11912                 :           0 :  == TYPE_SIZE (TREE_TYPE (TREE_TYPE (captures[1])))
   11913                 :             : )
   11914                 :             :                                     {
   11915                 :           0 :                                       {
   11916                 :           0 :  vec_perm_indices sel0 (builder0, 2, nelts);
   11917                 :           0 :  vec_perm_indices sel1 (builder1, 2, nelts);
   11918                 :           0 :  for (int i = 0; i < nelts; i++)
   11919                 :           0 :  builder2.quick_push (sel0[sel1[i].to_constant ()]);
   11920                 :           0 :  vec_perm_indices sel2 (builder2, 2, nelts);
   11921                 :           0 :  tree op0 = NULL_TREE;
   11922                 :           0 :  if (can_vec_perm_const_p (result_mode, op_mode, sel2, false)
   11923                 :           0 :  || (single_use (captures[0])
   11924                 :           0 :  ? (!can_vec_perm_const_p (result_mode, op_mode, sel0, false)
   11925                 :           0 :  || !can_vec_perm_const_p (result_mode, op_mode, sel1, false))
   11926                 :             :  : !can_vec_perm_const_p (result_mode, op_mode, sel1, false)))
   11927                 :           0 :  op0 = vec_perm_indices_to_tree (TREE_TYPE (captures[5]), sel2);
   11928                 :           0 :                                           if (op0
   11929                 :             : )
   11930                 :             :                                             {
   11931                 :           0 :                                               if (TREE_SIDE_EFFECTS (captures[0])) goto next_after_fail2097;
   11932                 :           0 :                                               if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail2097;
   11933                 :           0 :                                               {
   11934                 :           0 :                                                 tree res_op0;
   11935                 :           0 :                                                 {
   11936                 :           0 :                                                   tree _o1[3], _r1;
   11937                 :           0 :                                                   _o1[0] = captures[2];
   11938                 :           0 :                                                   _o1[1] = captures[3];
   11939                 :           0 :                                                   _o1[2] =  op0;
   11940                 :           0 :                                                   _r1 = fold_build3_loc (loc, VEC_PERM_EXPR, TREE_TYPE (_o1[0]), _o1[0], _o1[1], _o1[2]);
   11941                 :           0 :                                                   res_op0 = _r1;
   11942                 :             :                                                 }
   11943                 :           0 :                                                 tree _r;
   11944                 :           0 :                                                 _r = fold_build1_loc (loc, VIEW_CONVERT_EXPR, type, res_op0);
   11945                 :           0 :                                                 if (TREE_SIDE_EFFECTS (captures[4]))
   11946                 :           0 :                                                   _r = build2_loc (loc, COMPOUND_EXPR, type, fold_ignored_result (captures[4]), _r);
   11947                 :           0 :                                                 if (TREE_SIDE_EFFECTS (captures[5]))
   11948                 :           0 :                                                   _r = build2_loc (loc, COMPOUND_EXPR, type, fold_ignored_result (captures[5]), _r);
   11949                 :           0 :                                                 if (UNLIKELY (debug_dump)) generic_dump_logs ("match.pd", 1116, __FILE__, __LINE__, true);
   11950                 :           0 :                                                 return _r;
   11951                 :             :                                               }
   11952                 :           0 : next_after_fail2097:;
   11953                 :             :                                             }
   11954                 :           0 :                                       }
   11955                 :             :                                     }
   11956                 :           0 :                               }
   11957                 :             :                             }
   11958                 :             :                         }
   11959                 :           0 :                         break;
   11960                 :             :                       }
   11961                 :             :                     default:;
   11962                 :             :                     }
   11963                 :             :                 }
   11964                 :             :               break;
   11965                 :             :             }
   11966                 :             :           default:;
   11967                 :             :           }
   11968                 :             :         break;
   11969                 :             :       }
   11970                 :      736893 :     default:;
   11971                 :             :     }
   11972                 :      736893 : if (tree_vec_same_elem_p (_p0))
   11973                 :             :   {
   11974                 :       13834 :     if ((_p1 == _p0 && ! TREE_SIDE_EFFECTS (_p1)) || (operand_equal_p (_p1, _p0, 0) && types_match (_p1, _p0)))
   11975                 :             :       {
   11976                 :           0 :         {
   11977                 :           0 :           tree captures[2] ATTRIBUTE_UNUSED = { _p0, _p2 };
   11978                 :           0 :           if (types_match (type, TREE_TYPE (captures[0]))
   11979                 :             : )
   11980                 :             :             {
   11981                 :           0 :               if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail2098;
   11982                 :           0 :               {
   11983                 :           0 :                 tree _r;
   11984                 :           0 :                 _r = captures[0];
   11985                 :           0 :                 if (TREE_SIDE_EFFECTS (captures[1]))
   11986                 :           0 :                   _r = build2_loc (loc, COMPOUND_EXPR, type, fold_ignored_result (captures[1]), _r);
   11987                 :           0 :                 if (UNLIKELY (debug_dump)) generic_dump_logs ("match.pd", 1117, __FILE__, __LINE__, true);
   11988                 :           0 :                 return _r;
   11989                 :             :               }
   11990                 :           0 : next_after_fail2098:;
   11991                 :             :             }
   11992                 :             :           else
   11993                 :             :             {
   11994                 :           0 :               {
   11995                 :           0 :  tree elem = uniform_vector_p (captures[0]);
   11996                 :           0 :                   if (elem
   11997                 :             : )
   11998                 :             :                     {
   11999                 :           0 :                       if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail2099;
   12000                 :           0 :                       {
   12001                 :           0 :                         tree _r;
   12002                 :           0 :                         _r =  build_vector_from_val (type, elem);
   12003                 :           0 :                         if (TREE_SIDE_EFFECTS (captures[0]))
   12004                 :           0 :                           _r = build2_loc (loc, COMPOUND_EXPR, type, fold_ignored_result (captures[0]), _r);
   12005                 :           0 :                         if (TREE_SIDE_EFFECTS (captures[1]))
   12006                 :           0 :                           _r = build2_loc (loc, COMPOUND_EXPR, type, fold_ignored_result (captures[1]), _r);
   12007                 :           0 :                         if (UNLIKELY (debug_dump)) generic_dump_logs ("match.pd", 1118, __FILE__, __LINE__, true);
   12008                 :           0 :                         return _r;
   12009                 :             :                       }
   12010                 :           0 : next_after_fail2099:;
   12011                 :             :                     }
   12012                 :             :               }
   12013                 :             :             }
   12014                 :             :         }
   12015                 :             :       }
   12016                 :             :   }
   12017                 :      736893 :   switch (TREE_CODE (_p1))
   12018                 :             :     {
   12019                 :           0 :     case VEC_PERM_EXPR:
   12020                 :           0 :       {
   12021                 :           0 :         tree _q30 = TREE_OPERAND (_p1, 0);
   12022                 :           0 :         tree _q31 = TREE_OPERAND (_p1, 1);
   12023                 :           0 :         tree _q32 = TREE_OPERAND (_p1, 2);
   12024                 :           0 :         switch (TREE_CODE (_q32))
   12025                 :             :           {
   12026                 :           0 :           case VECTOR_CST:
   12027                 :           0 :             {
   12028                 :           0 :               switch (TREE_CODE (_p2))
   12029                 :             :                 {
   12030                 :           0 :                 case VECTOR_CST:
   12031                 :           0 :                   {
   12032                 :           0 :                     {
   12033                 :           0 :                       tree captures[6] ATTRIBUTE_UNUSED = { _p0, _p1, _q30, _q31, _q32, _p2 };
   12034                 :           0 :                       if (TYPE_VECTOR_SUBPARTS (type).is_constant ()
   12035                 :             : )
   12036                 :             :                         {
   12037                 :           0 :                           {
   12038                 :           0 :  machine_mode result_mode = TYPE_MODE (type);
   12039                 :           0 :  machine_mode op_mode = TYPE_MODE (TREE_TYPE (captures[2]));
   12040                 :           0 :  int nelts = TYPE_VECTOR_SUBPARTS (type).to_constant ();
   12041                 :           0 :  vec_perm_builder builder0;
   12042                 :           0 :  vec_perm_builder builder1;
   12043                 :           0 :  vec_perm_builder builder2 (nelts, nelts, 2);
   12044                 :           0 :                               if (tree_to_vec_perm_builder (&builder0, captures[4])
   12045                 :           0 :  && tree_to_vec_perm_builder (&builder1, captures[5])
   12046                 :             : )
   12047                 :             :                                 {
   12048                 :           0 :                                   {
   12049                 :           0 :  vec_perm_indices sel0 (builder0, 2, nelts);
   12050                 :           0 :  vec_perm_indices sel1 (builder1, 2, nelts);
   12051                 :           0 :  bool use_1 = false, use_2 = false;
   12052                 :           0 :  for (int i = 0; i < nelts; i++)
   12053                 :             :  {
   12054                 :           0 :  if (known_lt ((poly_uint64)sel1[i], sel1.nelts_per_input ()))
   12055                 :           0 :  builder2.quick_push (sel1[i]);
   12056                 :             :  else
   12057                 :             :  {
   12058                 :           0 :  poly_uint64 j = sel0[(sel1[i] - sel1.nelts_per_input ())
   12059                 :           0 :  .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 + sel1.nelts_per_input ());
   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[1])
   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[1])) goto next_after_fail2100;
   12089                 :           0 :                                                       if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail2100;
   12090                 :           0 :                                                       {
   12091                 :           0 :                                                         tree res_op0;
   12092                 :           0 :                                                         res_op0 = captures[0];
   12093                 :           0 :                                                         tree res_op1;
   12094                 :           0 :                                                         res_op1 = captures[2];
   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[3]))
   12100                 :           0 :                                                           _r = build2_loc (loc, COMPOUND_EXPR, type, fold_ignored_result (captures[3]), _r);
   12101                 :           0 :                                                         if (TREE_SIDE_EFFECTS (captures[4]))
   12102                 :           0 :                                                           _r = build2_loc (loc, COMPOUND_EXPR, type, fold_ignored_result (captures[4]), _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", 1119, __FILE__, __LINE__, true);
   12106                 :           0 :                                                         return _r;
   12107                 :             :                                                       }
   12108                 :           0 : next_after_fail2100:;
   12109                 :             :                                                     }
   12110                 :             :                                                   else
   12111                 :             :                                                     {
   12112                 :           0 :                                                       if (use_2
   12113                 :             : )
   12114                 :             :                                                         {
   12115                 :           0 :                                                           if (TREE_SIDE_EFFECTS (captures[1])) goto next_after_fail2101;
   12116                 :           0 :                                                           if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail2101;
   12117                 :           0 :                                                           {
   12118                 :           0 :                                                             tree res_op0;
   12119                 :           0 :                                                             res_op0 = captures[0];
   12120                 :           0 :                                                             tree res_op1;
   12121                 :           0 :                                                             res_op1 = captures[3];
   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[2]))
   12127                 :           0 :                                                               _r = build2_loc (loc, COMPOUND_EXPR, type, fold_ignored_result (captures[2]), _r);
   12128                 :           0 :                                                             if (TREE_SIDE_EFFECTS (captures[4]))
   12129                 :           0 :                                                               _r = build2_loc (loc, COMPOUND_EXPR, type, fold_ignored_result (captures[4]), _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", 1120, __FILE__, __LINE__, true);
   12133                 :           0 :                                                             return _r;
   12134                 :             :                                                           }
   12135                 :           0 : next_after_fail2101:;
   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                 :      736893 :     default:;
   12157                 :             :     }
   12158                 :      736893 :   switch (TREE_CODE (_p0))
   12159                 :             :     {
   12160                 :           0 :     case VEC_PERM_EXPR:
   12161                 :           0 :       {
   12162                 :           0 :         tree _q20 = TREE_OPERAND (_p0, 0);
   12163                 :           0 :         tree _q21 = TREE_OPERAND (_p0, 1);
   12164                 :           0 :         tree _q22 = TREE_OPERAND (_p0, 2);
   12165                 :           0 :         switch (TREE_CODE (_q22))
   12166                 :             :           {
   12167                 :           0 :           case VECTOR_CST:
   12168                 :           0 :             {
   12169                 :           0 :               switch (TREE_CODE (_p2))
   12170                 :             :                 {
   12171                 :           0 :                 case VECTOR_CST:
   12172                 :           0 :                   {
   12173                 :           0 :                     {
   12174                 :           0 :                       tree captures[6] ATTRIBUTE_UNUSED = { _p0, _q20, _q21, _q22, _p1, _p2 };
   12175                 :           0 :                       if (TYPE_VECTOR_SUBPARTS (type).is_constant ()
   12176                 :             : )
   12177                 :             :                         {
   12178                 :           0 :                           {
   12179                 :           0 :  machine_mode result_mode = TYPE_MODE (type);
   12180                 :           0 :  machine_mode op_mode = TYPE_MODE (TREE_TYPE (captures[1]));
   12181                 :           0 :  int nelts = TYPE_VECTOR_SUBPARTS (type).to_constant ();
   12182                 :           0 :  vec_perm_builder builder0;
   12183                 :           0 :  vec_perm_builder builder1;
   12184                 :           0 :  vec_perm_builder builder2 (nelts, nelts, 2);
   12185                 :           0 :                               if (tree_to_vec_perm_builder (&builder0, captures[3])
   12186                 :           0 :  && tree_to_vec_perm_builder (&builder1, captures[5])
   12187                 :             : )
   12188                 :             :                                 {
   12189                 :           0 :                                   {
   12190                 :           0 :  vec_perm_indices sel0 (builder0, 2, nelts);
   12191                 :           0 :  vec_perm_indices sel1 (builder1, 2, nelts);
   12192                 :           0 :  bool use_1 = false, use_2 = false;
   12193                 :           0 :  for (int i = 0; i < nelts; i++)
   12194                 :             :  {
   12195                 :           0 :  if (known_ge ((poly_uint64)sel1[i], sel1.nelts_per_input ()))
   12196                 :           0 :  builder2.quick_push (sel1[i]);
   12197                 :             :  else
   12198                 :             :  {
   12199                 :           0 :  poly_uint64 j = sel0[sel1[i].to_constant ()];
   12200                 :           0 :  if (known_lt (j, sel0.nelts_per_input ()))
   12201                 :             :  use_1 = true;
   12202                 :             :  else
   12203                 :             :  {
   12204                 :           0 :  use_2 = true;
   12205                 :           0 :  j -= sel0.nelts_per_input ();
   12206                 :             :  }
   12207                 :           0 :  builder2.quick_push (j);
   12208                 :             :  }
   12209                 :             :  }
   12210                 :           0 :                                       if (use_1 ^ use_2
   12211                 :             : )
   12212                 :             :                                         {
   12213                 :           0 :                                           {
   12214                 :           0 :  vec_perm_indices sel2 (builder2, 2, nelts);
   12215                 :           0 :  tree op0 = NULL_TREE;
   12216                 :           0 :  if (can_vec_perm_const_p (result_mode, op_mode, sel2, false)
   12217                 :           0 :  || (single_use (captures[0])
   12218                 :           0 :  ? (!can_vec_perm_const_p (result_mode, op_mode, sel0, false)
   12219                 :           0 :  || !can_vec_perm_const_p (result_mode, op_mode, sel1, false))
   12220                 :             :  : !can_vec_perm_const_p (result_mode, op_mode, sel1, false)))
   12221                 :           0 :  op0 = vec_perm_indices_to_tree (TREE_TYPE (captures[5]), sel2);
   12222                 :           0 :                                               if (op0
   12223                 :             : )
   12224                 :             :                                                 {
   12225                 :           0 :                                                   if (use_1
   12226                 :             : )
   12227                 :             :                                                     {
   12228                 :           0 :                                                       if (TREE_SIDE_EFFECTS (captures[0])) goto next_after_fail2102;
   12229                 :           0 :                                                       if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail2102;
   12230                 :           0 :                                                       {
   12231                 :           0 :                                                         tree res_op0;
   12232                 :           0 :                                                         res_op0 = captures[1];
   12233                 :           0 :                                                         tree res_op1;
   12234                 :           0 :                                                         res_op1 = captures[4];
   12235                 :           0 :                                                         tree res_op2;
   12236                 :           0 :                                                         res_op2 =  op0;
   12237                 :           0 :                                                         tree _r;
   12238                 :           0 :                                                         _r = fold_build3_loc (loc, VEC_PERM_EXPR, type, res_op0, res_op1, res_op2);
   12239                 :           0 :                                                         if (TREE_SIDE_EFFECTS (captures[2]))
   12240                 :           0 :                                                           _r = build2_loc (loc, COMPOUND_EXPR, type, fold_ignored_result (captures[2]), _r);
   12241                 :           0 :                                                         if (TREE_SIDE_EFFECTS (captures[3]))
   12242                 :           0 :                                                           _r = build2_loc (loc, COMPOUND_EXPR, type, fold_ignored_result (captures[3]), _r);
   12243                 :           0 :                                                         if (TREE_SIDE_EFFECTS (captures[5]))
   12244                 :           0 :                                                           _r = build2_loc (loc, COMPOUND_EXPR, type, fold_ignored_result (captures[5]), _r);
   12245                 :           0 :                                                         if (UNLIKELY (debug_dump)) generic_dump_logs ("match.pd", 1121, __FILE__, __LINE__, true);
   12246                 :           0 :                                                         return _r;
   12247                 :             :                                                       }
   12248                 :           0 : next_after_fail2102:;
   12249                 :             :                                                     }
   12250                 :             :                                                   else
   12251                 :             :                                                     {
   12252                 :           0 :                                                       if (use_2
   12253                 :             : )
   12254                 :             :                                                         {
   12255                 :           0 :                                                           if (TREE_SIDE_EFFECTS (captures[0])) goto next_after_fail2103;
   12256                 :           0 :                                                           if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail2103;
   12257                 :           0 :                                                           {
   12258                 :           0 :                                                             tree res_op0;
   12259                 :           0 :                                                             res_op0 = captures[2];
   12260                 :           0 :                                                             tree res_op1;
   12261                 :           0 :                                                             res_op1 = captures[4];
   12262                 :           0 :                                                             tree res_op2;
   12263                 :           0 :                                                             res_op2 =  op0;
   12264                 :           0 :                                                             tree _r;
   12265                 :           0 :                                                             _r = fold_build3_loc (loc, VEC_PERM_EXPR, type, res_op0, res_op1, res_op2);
   12266                 :           0 :                                                             if (TREE_SIDE_EFFECTS (captures[1]))
   12267                 :           0 :                                                               _r = build2_loc (loc, COMPOUND_EXPR, type, fold_ignored_result (captures[1]), _r);
   12268                 :           0 :                                                             if (TREE_SIDE_EFFECTS (captures[3]))
   12269                 :           0 :                                                               _r = build2_loc (loc, COMPOUND_EXPR, type, fold_ignored_result (captures[3]), _r);
   12270                 :           0 :                                                             if (TREE_SIDE_EFFECTS (captures[5]))
   12271                 :           0 :                                                               _r = build2_loc (loc, COMPOUND_EXPR, type, fold_ignored_result (captures[5]), _r);
   12272                 :           0 :                                                             if (UNLIKELY (debug_dump)) generic_dump_logs ("match.pd", 1122, __FILE__, __LINE__, true);
   12273                 :           0 :                                                             return _r;
   12274                 :             :                                                           }
   12275                 :           0 : next_after_fail2103:;
   12276                 :             :                                                         }
   12277                 :             :                                                     }
   12278                 :             :                                                 }
   12279                 :           0 :                                           }
   12280                 :             :                                         }
   12281                 :           0 :                                   }
   12282                 :             :                                 }
   12283                 :           0 :                           }
   12284                 :             :                         }
   12285                 :             :                     }
   12286                 :           0 :                     break;
   12287                 :             :                   }
   12288                 :             :                 default:;
   12289                 :             :                 }
   12290                 :             :               break;
   12291                 :             :             }
   12292                 :             :           default:;
   12293                 :             :           }
   12294                 :             :         break;
   12295                 :             :       }
   12296                 :             :     default:;
   12297                 :             :     }
   12298                 :             :   return NULL_TREE;
   12299                 :             : }
   12300                 :             : #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.