LCOV - code coverage report
Current view: top level - /mnt/build/buildbot/bld/build-lcov/gcc - generic-match-8.cc (source / functions) Coverage Total Hit
Test: gcc.info Lines: 38.9 % 8273 3215
Test Date: 2025-11-22 14:42:49 Functions: 66.7 % 63 42
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                 :    95751473 : tree_bit_xor_cst (tree t, tree *res_ops)
      11                 :             : {
      12                 :    95751473 :   const tree type = TREE_TYPE (t);
      13                 :    95751473 :   const bool debug_dump = dump_file && (dump_flags & TDF_FOLDING);
      14                 :    95751473 :   if (TREE_SIDE_EFFECTS (t)) return false;
      15                 :    95751473 :   switch (TREE_CODE (t))
      16                 :             :     {
      17                 :       35676 :     case BIT_XOR_EXPR:
      18                 :       35676 :       {
      19                 :       35676 :         tree _p0 = TREE_OPERAND (t, 0);
      20                 :       35676 :         tree _p1 = TREE_OPERAND (t, 1);
      21                 :       35676 :         if (uniform_integer_cst_p (_p1))
      22                 :             :           {
      23                 :        1586 :             {
      24                 :        1586 :               tree captures[2] ATTRIBUTE_UNUSED = { _p0, _p1 };
      25                 :        1586 :               {
      26                 :        1586 :                 res_ops[0] = captures[0];
      27                 :        1586 :                 res_ops[1] = captures[1];
      28                 :        1586 :                 if (UNLIKELY (debug_dump)) generic_dump_logs ("match.pd", 4, __FILE__, __LINE__, false);
      29                 :        1586 :                 return true;
      30                 :             :               }
      31                 :             :             }
      32                 :             :           }
      33                 :             :         break;
      34                 :             :       }
      35                 :             :     default:;
      36                 :             :     }
      37                 :             :   return false;
      38                 :             : }
      39                 :             : 
      40                 :             : bool
      41                 :    73542673 : tree_with_possible_nonzero_bits_1 (tree t)
      42                 :             : {
      43                 :    73542673 :   const tree type = TREE_TYPE (t);
      44                 :    73542673 :   const bool debug_dump = dump_file && (dump_flags & TDF_FOLDING);
      45                 :    73542673 :   if (TREE_SIDE_EFFECTS (t)) return false;
      46                 :    73542673 :   switch (TREE_CODE (t))
      47                 :             :     {
      48                 :    17103150 :     case INTEGER_CST:
      49                 :    17103150 :       {
      50                 :    17103150 :         {
      51                 :    17103150 :           tree captures[1] ATTRIBUTE_UNUSED = { t };
      52                 :    17103150 :           {
      53                 :    17103150 :             if (UNLIKELY (debug_dump)) generic_dump_logs ("match.pd", 32, __FILE__, __LINE__, false);
      54                 :    17103150 :             return true;
      55                 :             :           }
      56                 :             :         }
      57                 :           0 :         break;
      58                 :             :       }
      59                 :           0 :     case POLY_INT_CST:
      60                 :           0 :       {
      61                 :           0 :         {
      62                 :           0 :           tree captures[1] ATTRIBUTE_UNUSED = { t };
      63                 :           0 :           {
      64                 :           0 :             if (UNLIKELY (debug_dump)) generic_dump_logs ("match.pd", 33, __FILE__, __LINE__, false);
      65                 :           0 :             return true;
      66                 :             :           }
      67                 :             :         }
      68                 :    26859355 :         break;
      69                 :             :       }
      70                 :    26859355 :     case SSA_NAME:
      71                 :    26859355 :       {
      72                 :    26859355 :         {
      73                 :    26859355 :           tree captures[1] ATTRIBUTE_UNUSED = { t };
      74                 :    26859355 :           if (INTEGRAL_TYPE_P (TREE_TYPE (captures[0])) || POINTER_TYPE_P (TREE_TYPE (captures[0]))
      75                 :             : )
      76                 :             :             {
      77                 :    26349038 :               {
      78                 :    26349038 :                 if (UNLIKELY (debug_dump)) generic_dump_logs ("match.pd", 34, __FILE__, __LINE__, false);
      79                 :    26349038 :                 return true;
      80                 :             :               }
      81                 :             :             }
      82                 :             :         }
      83                 :             :         break;
      84                 :             :       }
      85                 :             :     default:;
      86                 :             :     }
      87                 :             :   return false;
      88                 :             : }
      89                 :             : 
      90                 :             : bool
      91                 :        1972 : tree_max_value (tree t)
      92                 :             : {
      93                 :        1972 :   const tree type = TREE_TYPE (t);
      94                 :        1972 :   const bool debug_dump = dump_file && (dump_flags & TDF_FOLDING);
      95                 :        1972 :   if (TREE_SIDE_EFFECTS (t)) return false;
      96                 :        1964 :   if (uniform_integer_cst_p (t))
      97                 :             :     {
      98                 :        1716 :       {
      99                 :        1716 :         {
     100                 :        1716 :  tree int_cst = uniform_integer_cst_p (t);
     101                 :        1716 :  tree itype = TREE_TYPE (int_cst);
     102                 :        3432 :             if ((INTEGRAL_TYPE_P (itype)
     103                 :          17 :  || POINTER_TYPE_P (itype))
     104                 :        3449 :  && wi::eq_p (wi::to_wide (int_cst), wi::max_value (itype))
     105                 :             : )
     106                 :             :               {
     107                 :          24 :                 {
     108                 :          24 :                   if (UNLIKELY (debug_dump)) generic_dump_logs ("match.pd", 42, __FILE__, __LINE__, false);
     109                 :          24 :                   return true;
     110                 :             :                 }
     111                 :             :               }
     112                 :             :         }
     113                 :             :       }
     114                 :             :     }
     115                 :             :   return false;
     116                 :             : }
     117                 :             : 
     118                 :             : bool
     119                 :           0 : tree_signed_integer_sat_trunc (tree t, tree *res_ops)
     120                 :             : {
     121                 :           0 :   const tree type = TREE_TYPE (t);
     122                 :           0 :   const bool debug_dump = dump_file && (dump_flags & TDF_FOLDING);
     123                 :           0 :   if (TREE_SIDE_EFFECTS (t)) return false;
     124                 :           0 :   switch (TREE_CODE (t))
     125                 :             :     {
     126                 :           0 :     case COND_EXPR:
     127                 :           0 :       {
     128                 :           0 :         tree _p0 = TREE_OPERAND (t, 0);
     129                 :           0 :         tree _p1 = TREE_OPERAND (t, 1);
     130                 :           0 :         tree _p2 = TREE_OPERAND (t, 2);
     131                 :           0 :         switch (TREE_CODE (_p0))
     132                 :             :           {
     133                 :           0 :           case GT_EXPR:
     134                 :           0 :             {
     135                 :           0 :               tree _q20 = TREE_OPERAND (_p0, 0);
     136                 :           0 :               tree _q21 = TREE_OPERAND (_p0, 1);
     137                 :           0 :               switch (TREE_CODE (_q20))
     138                 :             :                 {
     139                 :           0 :                 case PLUS_EXPR:
     140                 :           0 :                   {
     141                 :           0 :                     tree _q30 = TREE_OPERAND (_q20, 0);
     142                 :           0 :                     tree _q31 = TREE_OPERAND (_q20, 1);
     143                 :           0 :                     switch (TREE_CODE (_q30))
     144                 :             :                       {
     145                 :           0 :                       CASE_CONVERT:
     146                 :           0 :                         {
     147                 :           0 :                           tree _q40 = TREE_OPERAND (_q30, 0);
     148                 :           0 :                           switch (TREE_CODE (_q31))
     149                 :             :                             {
     150                 :           0 :                             case INTEGER_CST:
     151                 :           0 :                               {
     152                 :           0 :                                 switch (TREE_CODE (_q21))
     153                 :             :                                   {
     154                 :           0 :                                   case INTEGER_CST:
     155                 :           0 :                                     {
     156                 :           0 :                                       switch (TREE_CODE (_p1))
     157                 :             :                                         {
     158                 :           0 :                                         case BIT_XOR_EXPR:
     159                 :           0 :                                           {
     160                 :           0 :                                             tree _q80 = TREE_OPERAND (_p1, 0);
     161                 :           0 :                                             tree _q81 = TREE_OPERAND (_p1, 1);
     162                 :           0 :                                             switch (TREE_CODE (_q80))
     163                 :             :                                               {
     164                 :           0 :                                               case INTEGER_CST:
     165                 :           0 :                                                 {
     166                 :           0 :                                                   switch (TREE_CODE (_q81))
     167                 :             :                                                     {
     168                 :           0 :                                                     case NEGATE_EXPR:
     169                 :           0 :                                                       {
     170                 :           0 :                                                         tree _q100 = TREE_OPERAND (_q81, 0);
     171                 :           0 :                                                         switch (TREE_CODE (_q100))
     172                 :             :                                                           {
     173                 :           0 :                                                           CASE_CONVERT:
     174                 :           0 :                                                             {
     175                 :           0 :                                                               tree _q110 = TREE_OPERAND (_q100, 0);
     176                 :           0 :                                                               switch (TREE_CODE (_q110))
     177                 :             :                                                                 {
     178                 :           0 :                                                                 case LT_EXPR:
     179                 :           0 :                                                                   {
     180                 :           0 :                                                                     tree _q120 = TREE_OPERAND (_q110, 0);
     181                 :           0 :                                                                     tree _q121 = TREE_OPERAND (_q110, 1);
     182                 :           0 :                                                                     if ((_q120 == _q40 && ! TREE_SIDE_EFFECTS (_q120)) || (operand_equal_p (_q120, _q40, 0) && types_match (_q120, _q40)))
     183                 :             :                                                                       {
     184                 :           0 :                                                                         if (integer_zerop (_q121))
     185                 :             :                                                                           {
     186                 :           0 :                                                                             switch (TREE_CODE (_p2))
     187                 :             :                                                                               {
     188                 :           0 :                                                                               CASE_CONVERT:
     189                 :           0 :                                                                                 {
     190                 :           0 :                                                                                   tree _q150 = TREE_OPERAND (_p2, 0);
     191                 :           0 :                                                                                   if ((_q150 == _q40 && ! TREE_SIDE_EFFECTS (_q150)) || (operand_equal_p (_q150, _q40, 0) && types_match (_q150, _q40)))
     192                 :             :                                                                                     {
     193                 :           0 :                                                                                       {
     194                 :           0 :                                                                                         tree captures[5] ATTRIBUTE_UNUSED = { _q40, _q30, _q31, _q21, _q80 };
     195                 :           0 :                                                                                         if (INTEGRAL_TYPE_P (type) && !TYPE_UNSIGNED (type)
     196                 :             : )
     197                 :             :                                                                                           {
     198                 :           0 :                                                                                             if (!TYPE_UNSIGNED (TREE_TYPE (captures[0])) && TYPE_UNSIGNED (TREE_TYPE (captures[1]))
     199                 :             : )
     200                 :             :                                                                                               {
     201                 :           0 :                                                                                                 {
     202                 :           0 :  unsigned itype_prec = TYPE_PRECISION (TREE_TYPE (captures[0]));
     203                 :           0 :  unsigned otype_prec = TYPE_PRECISION (type);
     204                 :           0 :  wide_int offset = wi::uhwi (HOST_WIDE_INT_1U << (otype_prec - 1),
     205                 :           0 :  itype_prec);
     206                 :           0 :  wide_int limit_0 = wi::mask (otype_prec, false, itype_prec);
     207                 :           0 :  wide_int limit_1 = wi::uhwi ((HOST_WIDE_INT_1U << otype_prec) - 3,
     208                 :           0 :  itype_prec);
     209                 :           0 :  wide_int limit_2 = wi::uhwi ((HOST_WIDE_INT_1U << otype_prec) - 2,
     210                 :           0 :  itype_prec);
     211                 :           0 :  wide_int otype_max = wi::mask (otype_prec - 1, false, otype_prec);
     212                 :           0 :  wide_int itype_max = wi::mask (otype_prec - 1, false, itype_prec);
     213                 :           0 :  wide_int int_cst_1 = wi::to_wide (captures[2]);
     214                 :           0 :  wide_int int_cst_2 = wi::to_wide (captures[3]);
     215                 :           0 :  wide_int int_cst_3 = wi::to_wide (captures[4]);
     216                 :           0 :                                                                                                     if (((wi::eq_p (int_cst_1, offset) && wi::eq_p (int_cst_2, limit_0))
     217                 :           0 :  || (wi::eq_p (int_cst_1, itype_max) && wi::eq_p (int_cst_2, limit_2))
     218                 :           0 :  || (wi::eq_p (int_cst_1, offset) && wi::eq_p (int_cst_2, limit_2))
     219                 :           0 :  || (wi::eq_p (int_cst_1, itype_max) && wi::eq_p (int_cst_2, limit_1)))
     220                 :           0 :  && wi::eq_p (int_cst_3, otype_max)
     221                 :             : )
     222                 :             :                                                                                                       {
     223                 :           0 :                                                                                                         {
     224                 :           0 :                                                                                                           res_ops[0] = captures[0];
     225                 :           0 :                                                                                                           if (UNLIKELY (debug_dump)) generic_dump_logs ("match.pd", 87, __FILE__, __LINE__, false);
     226                 :           0 :                                                                                                           return true;
     227                 :             :                                                                                                         }
     228                 :             :                                                                                                       }
     229                 :           0 :                                                                                                 }
     230                 :             :                                                                                               }
     231                 :             :                                                                                           }
     232                 :             :                                                                                       }
     233                 :             :                                                                                     }
     234                 :             :                                                                                   break;
     235                 :             :                                                                                 }
     236                 :             :                                                                               default:;
     237                 :             :                                                                               }
     238                 :             :                                                                           }
     239                 :             :                                                                       }
     240                 :             :                                                                     break;
     241                 :             :                                                                   }
     242                 :             :                                                                 default:;
     243                 :             :                                                                 }
     244                 :             :                                                               break;
     245                 :             :                                                             }
     246                 :             :                                                           default:;
     247                 :             :                                                           }
     248                 :             :                                                         break;
     249                 :             :                                                       }
     250                 :           0 :                                                     default:;
     251                 :             :                                                     }
     252                 :           0 :                                                 {
     253                 :           0 :                                                   tree _q81_pops[1];
     254                 :           0 :                                                   if (tree_nop_convert (_q81, _q81_pops))
     255                 :             :                                                     {
     256                 :           0 :                                                       tree _q100 = _q81_pops[0];
     257                 :           0 :                                                       switch (TREE_CODE (_q100))
     258                 :             :                                                         {
     259                 :           0 :                                                         case NEGATE_EXPR:
     260                 :           0 :                                                           {
     261                 :           0 :                                                             tree _q110 = TREE_OPERAND (_q100, 0);
     262                 :           0 :                                                             {
     263                 :           0 :                                                               tree _q110_pops[1];
     264                 :           0 :                                                               if (tree_nop_convert (_q110, _q110_pops))
     265                 :             :                                                                 {
     266                 :           0 :                                                                   tree _q120 = _q110_pops[0];
     267                 :           0 :                                                                   switch (TREE_CODE (_q120))
     268                 :             :                                                                     {
     269                 :           0 :                                                                     CASE_CONVERT:
     270                 :           0 :                                                                       {
     271                 :           0 :                                                                         tree _q130 = TREE_OPERAND (_q120, 0);
     272                 :           0 :                                                                         switch (TREE_CODE (_q130))
     273                 :             :                                                                           {
     274                 :           0 :                                                                           case LT_EXPR:
     275                 :           0 :                                                                             {
     276                 :           0 :                                                                               tree _q140 = TREE_OPERAND (_q130, 0);
     277                 :           0 :                                                                               tree _q141 = TREE_OPERAND (_q130, 1);
     278                 :           0 :                                                                               if ((_q140 == _q40 && ! TREE_SIDE_EFFECTS (_q140)) || (operand_equal_p (_q140, _q40, 0) && types_match (_q140, _q40)))
     279                 :             :                                                                                 {
     280                 :           0 :                                                                                   if (integer_zerop (_q141))
     281                 :             :                                                                                     {
     282                 :           0 :                                                                                       switch (TREE_CODE (_p2))
     283                 :             :                                                                                         {
     284                 :           0 :                                                                                         CASE_CONVERT:
     285                 :           0 :                                                                                           {
     286                 :           0 :                                                                                             tree _q170 = TREE_OPERAND (_p2, 0);
     287                 :           0 :                                                                                             if ((_q170 == _q40 && ! TREE_SIDE_EFFECTS (_q170)) || (operand_equal_p (_q170, _q40, 0) && types_match (_q170, _q40)))
     288                 :             :                                                                                               {
     289                 :           0 :                                                                                                 {
     290                 :           0 :                                                                                                   tree captures[5] ATTRIBUTE_UNUSED = { _q40, _q30, _q31, _q21, _q80 };
     291                 :           0 :                                                                                                   if (INTEGRAL_TYPE_P (type) && !TYPE_UNSIGNED (type)
     292                 :             : )
     293                 :             :                                                                                                     {
     294                 :           0 :                                                                                                       if (!TYPE_UNSIGNED (TREE_TYPE (captures[0])) && TYPE_UNSIGNED (TREE_TYPE (captures[1]))
     295                 :             : )
     296                 :             :                                                                                                         {
     297                 :           0 :                                                                                                           {
     298                 :           0 :  unsigned itype_prec = TYPE_PRECISION (TREE_TYPE (captures[0]));
     299                 :           0 :  unsigned otype_prec = TYPE_PRECISION (type);
     300                 :           0 :  wide_int offset = wi::uhwi (HOST_WIDE_INT_1U << (otype_prec - 1),
     301                 :           0 :  itype_prec);
     302                 :           0 :  wide_int limit_0 = wi::mask (otype_prec, false, itype_prec);
     303                 :           0 :  wide_int limit_1 = wi::uhwi ((HOST_WIDE_INT_1U << otype_prec) - 3,
     304                 :           0 :  itype_prec);
     305                 :           0 :  wide_int limit_2 = wi::uhwi ((HOST_WIDE_INT_1U << otype_prec) - 2,
     306                 :           0 :  itype_prec);
     307                 :           0 :  wide_int otype_max = wi::mask (otype_prec - 1, false, otype_prec);
     308                 :           0 :  wide_int itype_max = wi::mask (otype_prec - 1, false, itype_prec);
     309                 :           0 :  wide_int int_cst_1 = wi::to_wide (captures[2]);
     310                 :           0 :  wide_int int_cst_2 = wi::to_wide (captures[3]);
     311                 :           0 :  wide_int int_cst_3 = wi::to_wide (captures[4]);
     312                 :           0 :                                                                                                               if (((wi::eq_p (int_cst_1, offset) && wi::eq_p (int_cst_2, limit_0))
     313                 :           0 :  || (wi::eq_p (int_cst_1, itype_max) && wi::eq_p (int_cst_2, limit_2))
     314                 :           0 :  || (wi::eq_p (int_cst_1, offset) && wi::eq_p (int_cst_2, limit_2))
     315                 :           0 :  || (wi::eq_p (int_cst_1, itype_max) && wi::eq_p (int_cst_2, limit_1)))
     316                 :           0 :  && wi::eq_p (int_cst_3, otype_max)
     317                 :             : )
     318                 :             :                                                                                                                 {
     319                 :           0 :                                                                                                                   {
     320                 :           0 :                                                                                                                     res_ops[0] = captures[0];
     321                 :           0 :                                                                                                                     if (UNLIKELY (debug_dump)) generic_dump_logs ("match.pd", 87, __FILE__, __LINE__, false);
     322                 :           0 :                                                                                                                     return true;
     323                 :             :                                                                                                                   }
     324                 :             :                                                                                                                 }
     325                 :           0 :                                                                                                           }
     326                 :             :                                                                                                         }
     327                 :             :                                                                                                     }
     328                 :             :                                                                                                 }
     329                 :             :                                                                                               }
     330                 :             :                                                                                             break;
     331                 :             :                                                                                           }
     332                 :             :                                                                                         default:;
     333                 :             :                                                                                         }
     334                 :             :                                                                                     }
     335                 :             :                                                                                 }
     336                 :             :                                                                               break;
     337                 :             :                                                                             }
     338                 :             :                                                                           default:;
     339                 :             :                                                                           }
     340                 :             :                                                                         break;
     341                 :             :                                                                       }
     342                 :             :                                                                     default:;
     343                 :             :                                                                     }
     344                 :             :                                                                 }
     345                 :             :                                                             }
     346                 :           0 :                                                             break;
     347                 :             :                                                           }
     348                 :             :                                                         default:;
     349                 :             :                                                         }
     350                 :             :                                                     }
     351                 :             :                                                 }
     352                 :           0 :                                                   break;
     353                 :             :                                                 }
     354                 :           0 :                                               case NEGATE_EXPR:
     355                 :           0 :                                                 {
     356                 :           0 :                                                   tree _q90 = TREE_OPERAND (_q80, 0);
     357                 :           0 :                                                   switch (TREE_CODE (_q90))
     358                 :             :                                                     {
     359                 :           0 :                                                     CASE_CONVERT:
     360                 :           0 :                                                       {
     361                 :           0 :                                                         tree _q100 = TREE_OPERAND (_q90, 0);
     362                 :           0 :                                                         switch (TREE_CODE (_q100))
     363                 :             :                                                           {
     364                 :           0 :                                                           case LT_EXPR:
     365                 :           0 :                                                             {
     366                 :           0 :                                                               tree _q110 = TREE_OPERAND (_q100, 0);
     367                 :           0 :                                                               tree _q111 = TREE_OPERAND (_q100, 1);
     368                 :           0 :                                                               if ((_q110 == _q40 && ! TREE_SIDE_EFFECTS (_q110)) || (operand_equal_p (_q110, _q40, 0) && types_match (_q110, _q40)))
     369                 :             :                                                                 {
     370                 :           0 :                                                                   if (integer_zerop (_q111))
     371                 :             :                                                                     {
     372                 :           0 :                                                                       switch (TREE_CODE (_q81))
     373                 :             :                                                                         {
     374                 :           0 :                                                                         case INTEGER_CST:
     375                 :           0 :                                                                           {
     376                 :           0 :                                                                             switch (TREE_CODE (_p2))
     377                 :             :                                                                               {
     378                 :           0 :                                                                               CASE_CONVERT:
     379                 :           0 :                                                                                 {
     380                 :           0 :                                                                                   tree _q150 = TREE_OPERAND (_p2, 0);
     381                 :           0 :                                                                                   if ((_q150 == _q40 && ! TREE_SIDE_EFFECTS (_q150)) || (operand_equal_p (_q150, _q40, 0) && types_match (_q150, _q40)))
     382                 :             :                                                                                     {
     383                 :           0 :                                                                                       {
     384                 :           0 :                                                                                         tree captures[5] ATTRIBUTE_UNUSED = { _q40, _q30, _q31, _q21, _q81 };
     385                 :           0 :                                                                                         if (INTEGRAL_TYPE_P (type) && !TYPE_UNSIGNED (type)
     386                 :             : )
     387                 :             :                                                                                           {
     388                 :           0 :                                                                                             if (!TYPE_UNSIGNED (TREE_TYPE (captures[0])) && TYPE_UNSIGNED (TREE_TYPE (captures[1]))
     389                 :             : )
     390                 :             :                                                                                               {
     391                 :           0 :                                                                                                 {
     392                 :           0 :  unsigned itype_prec = TYPE_PRECISION (TREE_TYPE (captures[0]));
     393                 :           0 :  unsigned otype_prec = TYPE_PRECISION (type);
     394                 :           0 :  wide_int offset = wi::uhwi (HOST_WIDE_INT_1U << (otype_prec - 1),
     395                 :           0 :  itype_prec);
     396                 :           0 :  wide_int limit_0 = wi::mask (otype_prec, false, itype_prec);
     397                 :           0 :  wide_int limit_1 = wi::uhwi ((HOST_WIDE_INT_1U << otype_prec) - 3,
     398                 :           0 :  itype_prec);
     399                 :           0 :  wide_int limit_2 = wi::uhwi ((HOST_WIDE_INT_1U << otype_prec) - 2,
     400                 :           0 :  itype_prec);
     401                 :           0 :  wide_int otype_max = wi::mask (otype_prec - 1, false, otype_prec);
     402                 :           0 :  wide_int itype_max = wi::mask (otype_prec - 1, false, itype_prec);
     403                 :           0 :  wide_int int_cst_1 = wi::to_wide (captures[2]);
     404                 :           0 :  wide_int int_cst_2 = wi::to_wide (captures[3]);
     405                 :           0 :  wide_int int_cst_3 = wi::to_wide (captures[4]);
     406                 :           0 :                                                                                                     if (((wi::eq_p (int_cst_1, offset) && wi::eq_p (int_cst_2, limit_0))
     407                 :           0 :  || (wi::eq_p (int_cst_1, itype_max) && wi::eq_p (int_cst_2, limit_2))
     408                 :           0 :  || (wi::eq_p (int_cst_1, offset) && wi::eq_p (int_cst_2, limit_2))
     409                 :           0 :  || (wi::eq_p (int_cst_1, itype_max) && wi::eq_p (int_cst_2, limit_1)))
     410                 :           0 :  && wi::eq_p (int_cst_3, otype_max)
     411                 :             : )
     412                 :             :                                                                                                       {
     413                 :           0 :                                                                                                         {
     414                 :           0 :                                                                                                           res_ops[0] = captures[0];
     415                 :           0 :                                                                                                           if (UNLIKELY (debug_dump)) generic_dump_logs ("match.pd", 87, __FILE__, __LINE__, false);
     416                 :           0 :                                                                                                           return true;
     417                 :             :                                                                                                         }
     418                 :             :                                                                                                       }
     419                 :           0 :                                                                                                 }
     420                 :             :                                                                                               }
     421                 :             :                                                                                           }
     422                 :             :                                                                                       }
     423                 :             :                                                                                     }
     424                 :             :                                                                                   break;
     425                 :             :                                                                                 }
     426                 :             :                                                                               default:;
     427                 :             :                                                                               }
     428                 :             :                                                                             break;
     429                 :             :                                                                           }
     430                 :             :                                                                         default:;
     431                 :             :                                                                         }
     432                 :             :                                                                     }
     433                 :             :                                                                 }
     434                 :             :                                                               break;
     435                 :             :                                                             }
     436                 :             :                                                           default:;
     437                 :             :                                                           }
     438                 :             :                                                         break;
     439                 :             :                                                       }
     440                 :             :                                                     default:;
     441                 :             :                                                     }
     442                 :             :                                                   break;
     443                 :             :                                                 }
     444                 :           0 :                                               default:;
     445                 :             :                                               }
     446                 :           0 :                                           {
     447                 :           0 :                                             tree _q80_pops[1];
     448                 :           0 :                                             if (tree_nop_convert (_q80, _q80_pops))
     449                 :             :                                               {
     450                 :           0 :                                                 tree _q90 = _q80_pops[0];
     451                 :           0 :                                                 switch (TREE_CODE (_q90))
     452                 :             :                                                   {
     453                 :           0 :                                                   case NEGATE_EXPR:
     454                 :           0 :                                                     {
     455                 :           0 :                                                       tree _q100 = TREE_OPERAND (_q90, 0);
     456                 :           0 :                                                       {
     457                 :           0 :                                                         tree _q100_pops[1];
     458                 :           0 :                                                         if (tree_nop_convert (_q100, _q100_pops))
     459                 :             :                                                           {
     460                 :           0 :                                                             tree _q110 = _q100_pops[0];
     461                 :           0 :                                                             switch (TREE_CODE (_q110))
     462                 :             :                                                               {
     463                 :           0 :                                                               CASE_CONVERT:
     464                 :           0 :                                                                 {
     465                 :           0 :                                                                   tree _q120 = TREE_OPERAND (_q110, 0);
     466                 :           0 :                                                                   switch (TREE_CODE (_q120))
     467                 :             :                                                                     {
     468                 :           0 :                                                                     case LT_EXPR:
     469                 :           0 :                                                                       {
     470                 :           0 :                                                                         tree _q130 = TREE_OPERAND (_q120, 0);
     471                 :           0 :                                                                         tree _q131 = TREE_OPERAND (_q120, 1);
     472                 :           0 :                                                                         if ((_q130 == _q40 && ! TREE_SIDE_EFFECTS (_q130)) || (operand_equal_p (_q130, _q40, 0) && types_match (_q130, _q40)))
     473                 :             :                                                                           {
     474                 :           0 :                                                                             if (integer_zerop (_q131))
     475                 :             :                                                                               {
     476                 :           0 :                                                                                 switch (TREE_CODE (_q81))
     477                 :             :                                                                                   {
     478                 :           0 :                                                                                   case INTEGER_CST:
     479                 :           0 :                                                                                     {
     480                 :           0 :                                                                                       switch (TREE_CODE (_p2))
     481                 :             :                                                                                         {
     482                 :           0 :                                                                                         CASE_CONVERT:
     483                 :           0 :                                                                                           {
     484                 :           0 :                                                                                             tree _q170 = TREE_OPERAND (_p2, 0);
     485                 :           0 :                                                                                             if ((_q170 == _q40 && ! TREE_SIDE_EFFECTS (_q170)) || (operand_equal_p (_q170, _q40, 0) && types_match (_q170, _q40)))
     486                 :             :                                                                                               {
     487                 :           0 :                                                                                                 {
     488                 :           0 :                                                                                                   tree captures[5] ATTRIBUTE_UNUSED = { _q40, _q30, _q31, _q21, _q81 };
     489                 :           0 :                                                                                                   if (INTEGRAL_TYPE_P (type) && !TYPE_UNSIGNED (type)
     490                 :             : )
     491                 :             :                                                                                                     {
     492                 :           0 :                                                                                                       if (!TYPE_UNSIGNED (TREE_TYPE (captures[0])) && TYPE_UNSIGNED (TREE_TYPE (captures[1]))
     493                 :             : )
     494                 :             :                                                                                                         {
     495                 :           0 :                                                                                                           {
     496                 :           0 :  unsigned itype_prec = TYPE_PRECISION (TREE_TYPE (captures[0]));
     497                 :           0 :  unsigned otype_prec = TYPE_PRECISION (type);
     498                 :           0 :  wide_int offset = wi::uhwi (HOST_WIDE_INT_1U << (otype_prec - 1),
     499                 :           0 :  itype_prec);
     500                 :           0 :  wide_int limit_0 = wi::mask (otype_prec, false, itype_prec);
     501                 :           0 :  wide_int limit_1 = wi::uhwi ((HOST_WIDE_INT_1U << otype_prec) - 3,
     502                 :           0 :  itype_prec);
     503                 :           0 :  wide_int limit_2 = wi::uhwi ((HOST_WIDE_INT_1U << otype_prec) - 2,
     504                 :           0 :  itype_prec);
     505                 :           0 :  wide_int otype_max = wi::mask (otype_prec - 1, false, otype_prec);
     506                 :           0 :  wide_int itype_max = wi::mask (otype_prec - 1, false, itype_prec);
     507                 :           0 :  wide_int int_cst_1 = wi::to_wide (captures[2]);
     508                 :           0 :  wide_int int_cst_2 = wi::to_wide (captures[3]);
     509                 :           0 :  wide_int int_cst_3 = wi::to_wide (captures[4]);
     510                 :           0 :                                                                                                               if (((wi::eq_p (int_cst_1, offset) && wi::eq_p (int_cst_2, limit_0))
     511                 :           0 :  || (wi::eq_p (int_cst_1, itype_max) && wi::eq_p (int_cst_2, limit_2))
     512                 :           0 :  || (wi::eq_p (int_cst_1, offset) && wi::eq_p (int_cst_2, limit_2))
     513                 :           0 :  || (wi::eq_p (int_cst_1, itype_max) && wi::eq_p (int_cst_2, limit_1)))
     514                 :           0 :  && wi::eq_p (int_cst_3, otype_max)
     515                 :             : )
     516                 :             :                                                                                                                 {
     517                 :           0 :                                                                                                                   {
     518                 :           0 :                                                                                                                     res_ops[0] = captures[0];
     519                 :           0 :                                                                                                                     if (UNLIKELY (debug_dump)) generic_dump_logs ("match.pd", 87, __FILE__, __LINE__, false);
     520                 :           0 :                                                                                                                     return true;
     521                 :             :                                                                                                                   }
     522                 :             :                                                                                                                 }
     523                 :           0 :                                                                                                           }
     524                 :             :                                                                                                         }
     525                 :             :                                                                                                     }
     526                 :             :                                                                                                 }
     527                 :             :                                                                                               }
     528                 :             :                                                                                             break;
     529                 :             :                                                                                           }
     530                 :             :                                                                                         default:;
     531                 :             :                                                                                         }
     532                 :             :                                                                                       break;
     533                 :             :                                                                                     }
     534                 :             :                                                                                   default:;
     535                 :             :                                                                                   }
     536                 :             :                                                                               }
     537                 :             :                                                                           }
     538                 :             :                                                                         break;
     539                 :             :                                                                       }
     540                 :             :                                                                     default:;
     541                 :             :                                                                     }
     542                 :             :                                                                   break;
     543                 :             :                                                                 }
     544                 :             :                                                               default:;
     545                 :             :                                                               }
     546                 :             :                                                           }
     547                 :             :                                                       }
     548                 :           0 :                                                       break;
     549                 :             :                                                     }
     550                 :             :                                                   default:;
     551                 :             :                                                   }
     552                 :             :                                               }
     553                 :             :                                           }
     554                 :           0 :                                             break;
     555                 :             :                                           }
     556                 :             :                                         default:;
     557                 :             :                                         }
     558                 :             :                                       break;
     559                 :             :                                     }
     560                 :             :                                   default:;
     561                 :             :                                   }
     562                 :             :                                 break;
     563                 :             :                               }
     564                 :             :                             default:;
     565                 :             :                             }
     566                 :             :                           break;
     567                 :             :                         }
     568                 :           0 :                       case INTEGER_CST:
     569                 :           0 :                         {
     570                 :           0 :                           switch (TREE_CODE (_q31))
     571                 :             :                             {
     572                 :           0 :                             CASE_CONVERT:
     573                 :           0 :                               {
     574                 :           0 :                                 tree _q50 = TREE_OPERAND (_q31, 0);
     575                 :           0 :                                 switch (TREE_CODE (_q21))
     576                 :             :                                   {
     577                 :           0 :                                   case INTEGER_CST:
     578                 :           0 :                                     {
     579                 :           0 :                                       switch (TREE_CODE (_p1))
     580                 :             :                                         {
     581                 :           0 :                                         case BIT_XOR_EXPR:
     582                 :           0 :                                           {
     583                 :           0 :                                             tree _q80 = TREE_OPERAND (_p1, 0);
     584                 :           0 :                                             tree _q81 = TREE_OPERAND (_p1, 1);
     585                 :           0 :                                             switch (TREE_CODE (_q80))
     586                 :             :                                               {
     587                 :           0 :                                               case INTEGER_CST:
     588                 :           0 :                                                 {
     589                 :           0 :                                                   switch (TREE_CODE (_q81))
     590                 :             :                                                     {
     591                 :           0 :                                                     case NEGATE_EXPR:
     592                 :           0 :                                                       {
     593                 :           0 :                                                         tree _q100 = TREE_OPERAND (_q81, 0);
     594                 :           0 :                                                         switch (TREE_CODE (_q100))
     595                 :             :                                                           {
     596                 :           0 :                                                           CASE_CONVERT:
     597                 :           0 :                                                             {
     598                 :           0 :                                                               tree _q110 = TREE_OPERAND (_q100, 0);
     599                 :           0 :                                                               switch (TREE_CODE (_q110))
     600                 :             :                                                                 {
     601                 :           0 :                                                                 case LT_EXPR:
     602                 :           0 :                                                                   {
     603                 :           0 :                                                                     tree _q120 = TREE_OPERAND (_q110, 0);
     604                 :           0 :                                                                     tree _q121 = TREE_OPERAND (_q110, 1);
     605                 :           0 :                                                                     if ((_q120 == _q50 && ! TREE_SIDE_EFFECTS (_q120)) || (operand_equal_p (_q120, _q50, 0) && types_match (_q120, _q50)))
     606                 :             :                                                                       {
     607                 :           0 :                                                                         if (integer_zerop (_q121))
     608                 :             :                                                                           {
     609                 :           0 :                                                                             switch (TREE_CODE (_p2))
     610                 :             :                                                                               {
     611                 :           0 :                                                                               CASE_CONVERT:
     612                 :           0 :                                                                                 {
     613                 :           0 :                                                                                   tree _q150 = TREE_OPERAND (_p2, 0);
     614                 :           0 :                                                                                   if ((_q150 == _q50 && ! TREE_SIDE_EFFECTS (_q150)) || (operand_equal_p (_q150, _q50, 0) && types_match (_q150, _q50)))
     615                 :             :                                                                                     {
     616                 :           0 :                                                                                       {
     617                 :           0 :                                                                                         tree captures[5] ATTRIBUTE_UNUSED = { _q50, _q31, _q30, _q21, _q80 };
     618                 :           0 :                                                                                         if (INTEGRAL_TYPE_P (type) && !TYPE_UNSIGNED (type)
     619                 :             : )
     620                 :             :                                                                                           {
     621                 :           0 :                                                                                             if (!TYPE_UNSIGNED (TREE_TYPE (captures[0])) && TYPE_UNSIGNED (TREE_TYPE (captures[1]))
     622                 :             : )
     623                 :             :                                                                                               {
     624                 :           0 :                                                                                                 {
     625                 :           0 :  unsigned itype_prec = TYPE_PRECISION (TREE_TYPE (captures[0]));
     626                 :           0 :  unsigned otype_prec = TYPE_PRECISION (type);
     627                 :           0 :  wide_int offset = wi::uhwi (HOST_WIDE_INT_1U << (otype_prec - 1),
     628                 :           0 :  itype_prec);
     629                 :           0 :  wide_int limit_0 = wi::mask (otype_prec, false, itype_prec);
     630                 :           0 :  wide_int limit_1 = wi::uhwi ((HOST_WIDE_INT_1U << otype_prec) - 3,
     631                 :           0 :  itype_prec);
     632                 :           0 :  wide_int limit_2 = wi::uhwi ((HOST_WIDE_INT_1U << otype_prec) - 2,
     633                 :           0 :  itype_prec);
     634                 :           0 :  wide_int otype_max = wi::mask (otype_prec - 1, false, otype_prec);
     635                 :           0 :  wide_int itype_max = wi::mask (otype_prec - 1, false, itype_prec);
     636                 :           0 :  wide_int int_cst_1 = wi::to_wide (captures[2]);
     637                 :           0 :  wide_int int_cst_2 = wi::to_wide (captures[3]);
     638                 :           0 :  wide_int int_cst_3 = wi::to_wide (captures[4]);
     639                 :           0 :                                                                                                     if (((wi::eq_p (int_cst_1, offset) && wi::eq_p (int_cst_2, limit_0))
     640                 :           0 :  || (wi::eq_p (int_cst_1, itype_max) && wi::eq_p (int_cst_2, limit_2))
     641                 :           0 :  || (wi::eq_p (int_cst_1, offset) && wi::eq_p (int_cst_2, limit_2))
     642                 :           0 :  || (wi::eq_p (int_cst_1, itype_max) && wi::eq_p (int_cst_2, limit_1)))
     643                 :           0 :  && wi::eq_p (int_cst_3, otype_max)
     644                 :             : )
     645                 :             :                                                                                                       {
     646                 :           0 :                                                                                                         {
     647                 :           0 :                                                                                                           res_ops[0] = captures[0];
     648                 :           0 :                                                                                                           if (UNLIKELY (debug_dump)) generic_dump_logs ("match.pd", 87, __FILE__, __LINE__, false);
     649                 :           0 :                                                                                                           return true;
     650                 :             :                                                                                                         }
     651                 :             :                                                                                                       }
     652                 :           0 :                                                                                                 }
     653                 :             :                                                                                               }
     654                 :             :                                                                                           }
     655                 :             :                                                                                       }
     656                 :             :                                                                                     }
     657                 :             :                                                                                   break;
     658                 :             :                                                                                 }
     659                 :             :                                                                               default:;
     660                 :             :                                                                               }
     661                 :             :                                                                           }
     662                 :             :                                                                       }
     663                 :             :                                                                     break;
     664                 :             :                                                                   }
     665                 :             :                                                                 default:;
     666                 :             :                                                                 }
     667                 :             :                                                               break;
     668                 :             :                                                             }
     669                 :             :                                                           default:;
     670                 :             :                                                           }
     671                 :             :                                                         break;
     672                 :             :                                                       }
     673                 :           0 :                                                     default:;
     674                 :             :                                                     }
     675                 :           0 :                                                 {
     676                 :           0 :                                                   tree _q81_pops[1];
     677                 :           0 :                                                   if (tree_nop_convert (_q81, _q81_pops))
     678                 :             :                                                     {
     679                 :           0 :                                                       tree _q100 = _q81_pops[0];
     680                 :           0 :                                                       switch (TREE_CODE (_q100))
     681                 :             :                                                         {
     682                 :           0 :                                                         case NEGATE_EXPR:
     683                 :           0 :                                                           {
     684                 :           0 :                                                             tree _q110 = TREE_OPERAND (_q100, 0);
     685                 :           0 :                                                             {
     686                 :           0 :                                                               tree _q110_pops[1];
     687                 :           0 :                                                               if (tree_nop_convert (_q110, _q110_pops))
     688                 :             :                                                                 {
     689                 :           0 :                                                                   tree _q120 = _q110_pops[0];
     690                 :           0 :                                                                   switch (TREE_CODE (_q120))
     691                 :             :                                                                     {
     692                 :           0 :                                                                     CASE_CONVERT:
     693                 :           0 :                                                                       {
     694                 :           0 :                                                                         tree _q130 = TREE_OPERAND (_q120, 0);
     695                 :           0 :                                                                         switch (TREE_CODE (_q130))
     696                 :             :                                                                           {
     697                 :           0 :                                                                           case LT_EXPR:
     698                 :           0 :                                                                             {
     699                 :           0 :                                                                               tree _q140 = TREE_OPERAND (_q130, 0);
     700                 :           0 :                                                                               tree _q141 = TREE_OPERAND (_q130, 1);
     701                 :           0 :                                                                               if ((_q140 == _q50 && ! TREE_SIDE_EFFECTS (_q140)) || (operand_equal_p (_q140, _q50, 0) && types_match (_q140, _q50)))
     702                 :             :                                                                                 {
     703                 :           0 :                                                                                   if (integer_zerop (_q141))
     704                 :             :                                                                                     {
     705                 :           0 :                                                                                       switch (TREE_CODE (_p2))
     706                 :             :                                                                                         {
     707                 :           0 :                                                                                         CASE_CONVERT:
     708                 :           0 :                                                                                           {
     709                 :           0 :                                                                                             tree _q170 = TREE_OPERAND (_p2, 0);
     710                 :           0 :                                                                                             if ((_q170 == _q50 && ! TREE_SIDE_EFFECTS (_q170)) || (operand_equal_p (_q170, _q50, 0) && types_match (_q170, _q50)))
     711                 :             :                                                                                               {
     712                 :           0 :                                                                                                 {
     713                 :           0 :                                                                                                   tree captures[5] ATTRIBUTE_UNUSED = { _q50, _q31, _q30, _q21, _q80 };
     714                 :           0 :                                                                                                   if (INTEGRAL_TYPE_P (type) && !TYPE_UNSIGNED (type)
     715                 :             : )
     716                 :             :                                                                                                     {
     717                 :           0 :                                                                                                       if (!TYPE_UNSIGNED (TREE_TYPE (captures[0])) && TYPE_UNSIGNED (TREE_TYPE (captures[1]))
     718                 :             : )
     719                 :             :                                                                                                         {
     720                 :           0 :                                                                                                           {
     721                 :           0 :  unsigned itype_prec = TYPE_PRECISION (TREE_TYPE (captures[0]));
     722                 :           0 :  unsigned otype_prec = TYPE_PRECISION (type);
     723                 :           0 :  wide_int offset = wi::uhwi (HOST_WIDE_INT_1U << (otype_prec - 1),
     724                 :           0 :  itype_prec);
     725                 :           0 :  wide_int limit_0 = wi::mask (otype_prec, false, itype_prec);
     726                 :           0 :  wide_int limit_1 = wi::uhwi ((HOST_WIDE_INT_1U << otype_prec) - 3,
     727                 :           0 :  itype_prec);
     728                 :           0 :  wide_int limit_2 = wi::uhwi ((HOST_WIDE_INT_1U << otype_prec) - 2,
     729                 :           0 :  itype_prec);
     730                 :           0 :  wide_int otype_max = wi::mask (otype_prec - 1, false, otype_prec);
     731                 :           0 :  wide_int itype_max = wi::mask (otype_prec - 1, false, itype_prec);
     732                 :           0 :  wide_int int_cst_1 = wi::to_wide (captures[2]);
     733                 :           0 :  wide_int int_cst_2 = wi::to_wide (captures[3]);
     734                 :           0 :  wide_int int_cst_3 = wi::to_wide (captures[4]);
     735                 :           0 :                                                                                                               if (((wi::eq_p (int_cst_1, offset) && wi::eq_p (int_cst_2, limit_0))
     736                 :           0 :  || (wi::eq_p (int_cst_1, itype_max) && wi::eq_p (int_cst_2, limit_2))
     737                 :           0 :  || (wi::eq_p (int_cst_1, offset) && wi::eq_p (int_cst_2, limit_2))
     738                 :           0 :  || (wi::eq_p (int_cst_1, itype_max) && wi::eq_p (int_cst_2, limit_1)))
     739                 :           0 :  && wi::eq_p (int_cst_3, otype_max)
     740                 :             : )
     741                 :             :                                                                                                                 {
     742                 :           0 :                                                                                                                   {
     743                 :           0 :                                                                                                                     res_ops[0] = captures[0];
     744                 :           0 :                                                                                                                     if (UNLIKELY (debug_dump)) generic_dump_logs ("match.pd", 87, __FILE__, __LINE__, false);
     745                 :           0 :                                                                                                                     return true;
     746                 :             :                                                                                                                   }
     747                 :             :                                                                                                                 }
     748                 :           0 :                                                                                                           }
     749                 :             :                                                                                                         }
     750                 :             :                                                                                                     }
     751                 :             :                                                                                                 }
     752                 :             :                                                                                               }
     753                 :             :                                                                                             break;
     754                 :             :                                                                                           }
     755                 :             :                                                                                         default:;
     756                 :             :                                                                                         }
     757                 :             :                                                                                     }
     758                 :             :                                                                                 }
     759                 :             :                                                                               break;
     760                 :             :                                                                             }
     761                 :             :                                                                           default:;
     762                 :             :                                                                           }
     763                 :             :                                                                         break;
     764                 :             :                                                                       }
     765                 :             :                                                                     default:;
     766                 :             :                                                                     }
     767                 :             :                                                                 }
     768                 :             :                                                             }
     769                 :           0 :                                                             break;
     770                 :             :                                                           }
     771                 :             :                                                         default:;
     772                 :             :                                                         }
     773                 :             :                                                     }
     774                 :             :                                                 }
     775                 :           0 :                                                   break;
     776                 :             :                                                 }
     777                 :           0 :                                               case NEGATE_EXPR:
     778                 :           0 :                                                 {
     779                 :           0 :                                                   tree _q90 = TREE_OPERAND (_q80, 0);
     780                 :           0 :                                                   switch (TREE_CODE (_q90))
     781                 :             :                                                     {
     782                 :           0 :                                                     CASE_CONVERT:
     783                 :           0 :                                                       {
     784                 :           0 :                                                         tree _q100 = TREE_OPERAND (_q90, 0);
     785                 :           0 :                                                         switch (TREE_CODE (_q100))
     786                 :             :                                                           {
     787                 :           0 :                                                           case LT_EXPR:
     788                 :           0 :                                                             {
     789                 :           0 :                                                               tree _q110 = TREE_OPERAND (_q100, 0);
     790                 :           0 :                                                               tree _q111 = TREE_OPERAND (_q100, 1);
     791                 :           0 :                                                               if ((_q110 == _q50 && ! TREE_SIDE_EFFECTS (_q110)) || (operand_equal_p (_q110, _q50, 0) && types_match (_q110, _q50)))
     792                 :             :                                                                 {
     793                 :           0 :                                                                   if (integer_zerop (_q111))
     794                 :             :                                                                     {
     795                 :           0 :                                                                       switch (TREE_CODE (_q81))
     796                 :             :                                                                         {
     797                 :           0 :                                                                         case INTEGER_CST:
     798                 :           0 :                                                                           {
     799                 :           0 :                                                                             switch (TREE_CODE (_p2))
     800                 :             :                                                                               {
     801                 :           0 :                                                                               CASE_CONVERT:
     802                 :           0 :                                                                                 {
     803                 :           0 :                                                                                   tree _q150 = TREE_OPERAND (_p2, 0);
     804                 :           0 :                                                                                   if ((_q150 == _q50 && ! TREE_SIDE_EFFECTS (_q150)) || (operand_equal_p (_q150, _q50, 0) && types_match (_q150, _q50)))
     805                 :             :                                                                                     {
     806                 :           0 :                                                                                       {
     807                 :           0 :                                                                                         tree captures[5] ATTRIBUTE_UNUSED = { _q50, _q31, _q30, _q21, _q81 };
     808                 :           0 :                                                                                         if (INTEGRAL_TYPE_P (type) && !TYPE_UNSIGNED (type)
     809                 :             : )
     810                 :             :                                                                                           {
     811                 :           0 :                                                                                             if (!TYPE_UNSIGNED (TREE_TYPE (captures[0])) && TYPE_UNSIGNED (TREE_TYPE (captures[1]))
     812                 :             : )
     813                 :             :                                                                                               {
     814                 :           0 :                                                                                                 {
     815                 :           0 :  unsigned itype_prec = TYPE_PRECISION (TREE_TYPE (captures[0]));
     816                 :           0 :  unsigned otype_prec = TYPE_PRECISION (type);
     817                 :           0 :  wide_int offset = wi::uhwi (HOST_WIDE_INT_1U << (otype_prec - 1),
     818                 :           0 :  itype_prec);
     819                 :           0 :  wide_int limit_0 = wi::mask (otype_prec, false, itype_prec);
     820                 :           0 :  wide_int limit_1 = wi::uhwi ((HOST_WIDE_INT_1U << otype_prec) - 3,
     821                 :           0 :  itype_prec);
     822                 :           0 :  wide_int limit_2 = wi::uhwi ((HOST_WIDE_INT_1U << otype_prec) - 2,
     823                 :           0 :  itype_prec);
     824                 :           0 :  wide_int otype_max = wi::mask (otype_prec - 1, false, otype_prec);
     825                 :           0 :  wide_int itype_max = wi::mask (otype_prec - 1, false, itype_prec);
     826                 :           0 :  wide_int int_cst_1 = wi::to_wide (captures[2]);
     827                 :           0 :  wide_int int_cst_2 = wi::to_wide (captures[3]);
     828                 :           0 :  wide_int int_cst_3 = wi::to_wide (captures[4]);
     829                 :           0 :                                                                                                     if (((wi::eq_p (int_cst_1, offset) && wi::eq_p (int_cst_2, limit_0))
     830                 :           0 :  || (wi::eq_p (int_cst_1, itype_max) && wi::eq_p (int_cst_2, limit_2))
     831                 :           0 :  || (wi::eq_p (int_cst_1, offset) && wi::eq_p (int_cst_2, limit_2))
     832                 :           0 :  || (wi::eq_p (int_cst_1, itype_max) && wi::eq_p (int_cst_2, limit_1)))
     833                 :           0 :  && wi::eq_p (int_cst_3, otype_max)
     834                 :             : )
     835                 :             :                                                                                                       {
     836                 :           0 :                                                                                                         {
     837                 :           0 :                                                                                                           res_ops[0] = captures[0];
     838                 :           0 :                                                                                                           if (UNLIKELY (debug_dump)) generic_dump_logs ("match.pd", 87, __FILE__, __LINE__, false);
     839                 :           0 :                                                                                                           return true;
     840                 :             :                                                                                                         }
     841                 :             :                                                                                                       }
     842                 :           0 :                                                                                                 }
     843                 :             :                                                                                               }
     844                 :             :                                                                                           }
     845                 :             :                                                                                       }
     846                 :             :                                                                                     }
     847                 :             :                                                                                   break;
     848                 :             :                                                                                 }
     849                 :             :                                                                               default:;
     850                 :             :                                                                               }
     851                 :             :                                                                             break;
     852                 :             :                                                                           }
     853                 :             :                                                                         default:;
     854                 :             :                                                                         }
     855                 :             :                                                                     }
     856                 :             :                                                                 }
     857                 :             :                                                               break;
     858                 :             :                                                             }
     859                 :             :                                                           default:;
     860                 :             :                                                           }
     861                 :             :                                                         break;
     862                 :             :                                                       }
     863                 :             :                                                     default:;
     864                 :             :                                                     }
     865                 :             :                                                   break;
     866                 :             :                                                 }
     867                 :           0 :                                               default:;
     868                 :             :                                               }
     869                 :           0 :                                           {
     870                 :           0 :                                             tree _q80_pops[1];
     871                 :           0 :                                             if (tree_nop_convert (_q80, _q80_pops))
     872                 :             :                                               {
     873                 :           0 :                                                 tree _q90 = _q80_pops[0];
     874                 :           0 :                                                 switch (TREE_CODE (_q90))
     875                 :             :                                                   {
     876                 :           0 :                                                   case NEGATE_EXPR:
     877                 :           0 :                                                     {
     878                 :           0 :                                                       tree _q100 = TREE_OPERAND (_q90, 0);
     879                 :           0 :                                                       {
     880                 :           0 :                                                         tree _q100_pops[1];
     881                 :           0 :                                                         if (tree_nop_convert (_q100, _q100_pops))
     882                 :             :                                                           {
     883                 :           0 :                                                             tree _q110 = _q100_pops[0];
     884                 :           0 :                                                             switch (TREE_CODE (_q110))
     885                 :             :                                                               {
     886                 :           0 :                                                               CASE_CONVERT:
     887                 :           0 :                                                                 {
     888                 :           0 :                                                                   tree _q120 = TREE_OPERAND (_q110, 0);
     889                 :           0 :                                                                   switch (TREE_CODE (_q120))
     890                 :             :                                                                     {
     891                 :           0 :                                                                     case LT_EXPR:
     892                 :           0 :                                                                       {
     893                 :           0 :                                                                         tree _q130 = TREE_OPERAND (_q120, 0);
     894                 :           0 :                                                                         tree _q131 = TREE_OPERAND (_q120, 1);
     895                 :           0 :                                                                         if ((_q130 == _q50 && ! TREE_SIDE_EFFECTS (_q130)) || (operand_equal_p (_q130, _q50, 0) && types_match (_q130, _q50)))
     896                 :             :                                                                           {
     897                 :           0 :                                                                             if (integer_zerop (_q131))
     898                 :             :                                                                               {
     899                 :           0 :                                                                                 switch (TREE_CODE (_q81))
     900                 :             :                                                                                   {
     901                 :           0 :                                                                                   case INTEGER_CST:
     902                 :           0 :                                                                                     {
     903                 :           0 :                                                                                       switch (TREE_CODE (_p2))
     904                 :             :                                                                                         {
     905                 :           0 :                                                                                         CASE_CONVERT:
     906                 :           0 :                                                                                           {
     907                 :           0 :                                                                                             tree _q170 = TREE_OPERAND (_p2, 0);
     908                 :           0 :                                                                                             if ((_q170 == _q50 && ! TREE_SIDE_EFFECTS (_q170)) || (operand_equal_p (_q170, _q50, 0) && types_match (_q170, _q50)))
     909                 :             :                                                                                               {
     910                 :           0 :                                                                                                 {
     911                 :           0 :                                                                                                   tree captures[5] ATTRIBUTE_UNUSED = { _q50, _q31, _q30, _q21, _q81 };
     912                 :           0 :                                                                                                   if (INTEGRAL_TYPE_P (type) && !TYPE_UNSIGNED (type)
     913                 :             : )
     914                 :             :                                                                                                     {
     915                 :           0 :                                                                                                       if (!TYPE_UNSIGNED (TREE_TYPE (captures[0])) && TYPE_UNSIGNED (TREE_TYPE (captures[1]))
     916                 :             : )
     917                 :             :                                                                                                         {
     918                 :           0 :                                                                                                           {
     919                 :           0 :  unsigned itype_prec = TYPE_PRECISION (TREE_TYPE (captures[0]));
     920                 :           0 :  unsigned otype_prec = TYPE_PRECISION (type);
     921                 :           0 :  wide_int offset = wi::uhwi (HOST_WIDE_INT_1U << (otype_prec - 1),
     922                 :           0 :  itype_prec);
     923                 :           0 :  wide_int limit_0 = wi::mask (otype_prec, false, itype_prec);
     924                 :           0 :  wide_int limit_1 = wi::uhwi ((HOST_WIDE_INT_1U << otype_prec) - 3,
     925                 :           0 :  itype_prec);
     926                 :           0 :  wide_int limit_2 = wi::uhwi ((HOST_WIDE_INT_1U << otype_prec) - 2,
     927                 :           0 :  itype_prec);
     928                 :           0 :  wide_int otype_max = wi::mask (otype_prec - 1, false, otype_prec);
     929                 :           0 :  wide_int itype_max = wi::mask (otype_prec - 1, false, itype_prec);
     930                 :           0 :  wide_int int_cst_1 = wi::to_wide (captures[2]);
     931                 :           0 :  wide_int int_cst_2 = wi::to_wide (captures[3]);
     932                 :           0 :  wide_int int_cst_3 = wi::to_wide (captures[4]);
     933                 :           0 :                                                                                                               if (((wi::eq_p (int_cst_1, offset) && wi::eq_p (int_cst_2, limit_0))
     934                 :           0 :  || (wi::eq_p (int_cst_1, itype_max) && wi::eq_p (int_cst_2, limit_2))
     935                 :           0 :  || (wi::eq_p (int_cst_1, offset) && wi::eq_p (int_cst_2, limit_2))
     936                 :           0 :  || (wi::eq_p (int_cst_1, itype_max) && wi::eq_p (int_cst_2, limit_1)))
     937                 :           0 :  && wi::eq_p (int_cst_3, otype_max)
     938                 :             : )
     939                 :             :                                                                                                                 {
     940                 :           0 :                                                                                                                   {
     941                 :           0 :                                                                                                                     res_ops[0] = captures[0];
     942                 :           0 :                                                                                                                     if (UNLIKELY (debug_dump)) generic_dump_logs ("match.pd", 87, __FILE__, __LINE__, false);
     943                 :           0 :                                                                                                                     return true;
     944                 :             :                                                                                                                   }
     945                 :             :                                                                                                                 }
     946                 :           0 :                                                                                                           }
     947                 :             :                                                                                                         }
     948                 :             :                                                                                                     }
     949                 :             :                                                                                                 }
     950                 :             :                                                                                               }
     951                 :             :                                                                                             break;
     952                 :             :                                                                                           }
     953                 :             :                                                                                         default:;
     954                 :             :                                                                                         }
     955                 :             :                                                                                       break;
     956                 :             :                                                                                     }
     957                 :             :                                                                                   default:;
     958                 :             :                                                                                   }
     959                 :             :                                                                               }
     960                 :             :                                                                           }
     961                 :             :                                                                         break;
     962                 :             :                                                                       }
     963                 :             :                                                                     default:;
     964                 :             :                                                                     }
     965                 :             :                                                                   break;
     966                 :             :                                                                 }
     967                 :             :                                                               default:;
     968                 :             :                                                               }
     969                 :             :                                                           }
     970                 :             :                                                       }
     971                 :           0 :                                                       break;
     972                 :             :                                                     }
     973                 :             :                                                   default:;
     974                 :             :                                                   }
     975                 :             :                                               }
     976                 :             :                                           }
     977                 :           0 :                                             break;
     978                 :             :                                           }
     979                 :             :                                         default:;
     980                 :             :                                         }
     981                 :             :                                       break;
     982                 :             :                                     }
     983                 :             :                                   default:;
     984                 :             :                                   }
     985                 :             :                                 break;
     986                 :             :                               }
     987                 :             :                             default:;
     988                 :             :                             }
     989                 :             :                           break;
     990                 :             :                         }
     991                 :             :                       default:;
     992                 :             :                       }
     993                 :             :                     break;
     994                 :             :                   }
     995                 :             :                 default:;
     996                 :             :                 }
     997                 :             :               break;
     998                 :             :             }
     999                 :             :           default:;
    1000                 :             :           }
    1001                 :             :         break;
    1002                 :             :       }
    1003                 :             :     default:;
    1004                 :             :     }
    1005                 :             :   return false;
    1006                 :             : }
    1007                 :             : 
    1008                 :             : tree
    1009                 :           1 : generic_simplify_41 (location_t ARG_UNUSED (loc), const tree ARG_UNUSED (type),
    1010                 :             :  tree ARG_UNUSED (_p0), tree ARG_UNUSED (_p1), tree *ARG_UNUSED (captures))
    1011                 :             : {
    1012                 :           1 :   const bool debug_dump = dump_file && (dump_flags & TDF_FOLDING);
    1013                 :           1 :   if (INTEGRAL_TYPE_P (type)
    1014                 :             : )
    1015                 :             :     {
    1016                 :           1 :       if (TREE_SIDE_EFFECTS (_p0)) goto next_after_fail298;
    1017                 :           1 :       if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail298;
    1018                 :           1 :       {
    1019                 :           1 :         tree res_op0;
    1020                 :           1 :         res_op0 = unshare_expr (captures[1]);
    1021                 :           1 :         tree res_op1;
    1022                 :           1 :         {
    1023                 :           1 :           tree _o1[2], _r1;
    1024                 :           1 :           _o1[0] = captures[4];
    1025                 :           1 :           _o1[1] = captures[1];
    1026                 :           1 :           _r1 = fold_build2_loc (loc, TRUNC_MOD_EXPR, TREE_TYPE (_o1[0]), _o1[0], _o1[1]);
    1027                 :           1 :           res_op1 = _r1;
    1028                 :             :         }
    1029                 :           1 :         tree _r;
    1030                 :           1 :         _r = fold_build2_loc (loc, MINUS_EXPR, type, res_op0, res_op1);
    1031                 :           1 :         if (UNLIKELY (debug_dump)) generic_dump_logs ("match.pd", 161, __FILE__, __LINE__, true);
    1032                 :           1 :         return _r;
    1033                 :             :       }
    1034                 :             : next_after_fail298:;
    1035                 :             :     }
    1036                 :             :   return NULL_TREE;
    1037                 :             : }
    1038                 :             : 
    1039                 :             : tree
    1040                 :         276 : generic_simplify_48 (location_t ARG_UNUSED (loc), const tree ARG_UNUSED (type),
    1041                 :             :  tree ARG_UNUSED (_p0), tree ARG_UNUSED (_p1), tree *ARG_UNUSED (captures))
    1042                 :             : {
    1043                 :         276 :   const bool debug_dump = dump_file && (dump_flags & TDF_FOLDING);
    1044                 :         276 :   if (tree_nop_conversion_p (type, TREE_TYPE (captures[0]))
    1045                 :         276 :  && tree_nop_conversion_p (type, TREE_TYPE (captures[3]))
    1046                 :             : )
    1047                 :             :     {
    1048                 :         276 :       if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail305;
    1049                 :         276 :       {
    1050                 :         276 :         tree res_op0;
    1051                 :         276 :         {
    1052                 :         276 :           tree _o1[2], _r1;
    1053                 :         276 :           {
    1054                 :         276 :             tree _o2[1], _r2;
    1055                 :         276 :             _o2[0] = captures[3];
    1056                 :         276 :             _r2 = fold_build1_loc (loc, BIT_NOT_EXPR, TREE_TYPE (_o2[0]), _o2[0]);
    1057                 :         276 :             _o1[0] = _r2;
    1058                 :             :           }
    1059                 :         276 :           _o1[1] = captures[0];
    1060                 :         276 :           _r1 = fold_build2_loc (loc, BIT_AND_EXPR, TREE_TYPE (_o1[0]), _o1[0], _o1[1]);
    1061                 :         276 :           res_op0 = _r1;
    1062                 :             :         }
    1063                 :         276 :         tree _r;
    1064                 :         276 :         _r = fold_build1_loc (loc, NOP_EXPR, type, res_op0);
    1065                 :         276 :         if (UNLIKELY (debug_dump)) generic_dump_logs ("match.pd", 167, __FILE__, __LINE__, true);
    1066                 :         276 :         return _r;
    1067                 :             :       }
    1068                 :           0 : next_after_fail305:;
    1069                 :             :     }
    1070                 :             :   return NULL_TREE;
    1071                 :             : }
    1072                 :             : 
    1073                 :             : tree
    1074                 :       10364 : generic_simplify_57 (location_t ARG_UNUSED (loc), const tree ARG_UNUSED (type),
    1075                 :             :  tree ARG_UNUSED (_p0), tree ARG_UNUSED (_p1), tree *ARG_UNUSED (captures))
    1076                 :             : {
    1077                 :       10364 :   const bool debug_dump = dump_file && (dump_flags & TDF_FOLDING);
    1078                 :       10364 :   if (!TYPE_SATURATING (type)
    1079                 :             : )
    1080                 :             :     {
    1081                 :       10364 :       if ((!FLOAT_TYPE_P (type) || flag_associative_math)
    1082                 :       20728 :  && !FIXED_POINT_TYPE_P (type)
    1083                 :             : )
    1084                 :             :         {
    1085                 :       10364 :           if (element_precision (type) <= element_precision (TREE_TYPE (captures[1]))
    1086                 :       10364 :  || (INTEGRAL_TYPE_P (TREE_TYPE (captures[1]))
    1087                 :        2402 :  && TYPE_OVERFLOW_UNDEFINED (TREE_TYPE (captures[1])))
    1088                 :             : )
    1089                 :             :             {
    1090                 :       10250 :               if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail318;
    1091                 :       10250 :               {
    1092                 :       10250 :                 tree res_op0;
    1093                 :       10250 :                 res_op0 = captures[1];
    1094                 :       10250 :                 tree _r;
    1095                 :       10250 :                 _r = fold_build1_loc (loc, NOP_EXPR, type, res_op0);
    1096                 :       10250 :                 if (TREE_SIDE_EFFECTS (captures[2]))
    1097                 :          15 :                   _r = build2_loc (loc, COMPOUND_EXPR, type, fold_ignored_result (captures[2]), _r);
    1098                 :       10250 :                 if (UNLIKELY (debug_dump)) generic_dump_logs ("match.pd", 180, __FILE__, __LINE__, true);
    1099                 :       10250 :                 return _r;
    1100                 :             :               }
    1101                 :           0 : next_after_fail318:;
    1102                 :             :             }
    1103                 :             :         }
    1104                 :             :     }
    1105                 :             :   return NULL_TREE;
    1106                 :             : }
    1107                 :             : 
    1108                 :             : tree
    1109                 :           2 : generic_simplify_62 (location_t ARG_UNUSED (loc), const tree ARG_UNUSED (type),
    1110                 :             :  tree ARG_UNUSED (_p0), tree ARG_UNUSED (_p1), tree *ARG_UNUSED (captures),
    1111                 :             :  const combined_fn ARG_UNUSED (logs))
    1112                 :             : {
    1113                 :           2 :   const bool debug_dump = dump_file && (dump_flags & TDF_FOLDING);
    1114                 :           2 :   if (flag_unsafe_math_optimizations
    1115                 :             : )
    1116                 :             :     {
    1117                 :           2 :       if (! HONOR_SIGN_DEPENDENT_ROUNDING (type)
    1118                 :           2 :  && ! HONOR_NANS (type) && ! HONOR_INFINITIES (type)
    1119                 :           2 :  && ! flag_trapping_math
    1120                 :           4 :  && ! flag_errno_math
    1121                 :             : )
    1122                 :             :         {
    1123                 :           2 :           if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail325;
    1124                 :           2 :           {
    1125                 :           2 :             tree res_op0;
    1126                 :           2 :             {
    1127                 :           2 :               tree _o1[2], _r1;
    1128                 :           2 :               _o1[0] = captures[1];
    1129                 :           2 :               _o1[1] = captures[3];
    1130                 :           2 :               _r1 = fold_build2_loc (loc, RDIV_EXPR, TREE_TYPE (_o1[0]), _o1[0], _o1[1]);
    1131                 :           2 :               res_op0 = _r1;
    1132                 :             :             }
    1133                 :           2 :             tree _r;
    1134                 :           2 :             _r = maybe_build_call_expr_loc (loc, logs, type, 1, res_op0);
    1135                 :           2 :             if (!_r)
    1136                 :           0 :               goto next_after_fail325;
    1137                 :           2 :             if (UNLIKELY (debug_dump)) generic_dump_logs ("match.pd", 187, __FILE__, __LINE__, true);
    1138                 :           2 :             return _r;
    1139                 :             :           }
    1140                 :             : next_after_fail325:;
    1141                 :             :         }
    1142                 :             :     }
    1143                 :             :   return NULL_TREE;
    1144                 :             : }
    1145                 :             : 
    1146                 :             : tree
    1147                 :          16 : generic_simplify_69 (location_t ARG_UNUSED (loc), const tree ARG_UNUSED (type),
    1148                 :             :  tree ARG_UNUSED (_p0), tree ARG_UNUSED (_p1), tree *ARG_UNUSED (captures))
    1149                 :             : {
    1150                 :          16 :   const bool debug_dump = dump_file && (dump_flags & TDF_FOLDING);
    1151                 :          16 :   if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail332;
    1152                 :          16 :   {
    1153                 :          16 :     tree res_op0;
    1154                 :          16 :     res_op0 = captures[0];
    1155                 :          16 :     tree res_op1;
    1156                 :          16 :     res_op1 = captures[1];
    1157                 :          16 :     tree _r;
    1158                 :          16 :     _r = fold_build2_loc (loc, BIT_IOR_EXPR, type, res_op0, res_op1);
    1159                 :          16 :     if (UNLIKELY (debug_dump)) generic_dump_logs ("match.pd", 194, __FILE__, __LINE__, true);
    1160                 :             :     return _r;
    1161                 :             :   }
    1162                 :           0 : next_after_fail332:;
    1163                 :           0 :   return NULL_TREE;
    1164                 :             : }
    1165                 :             : 
    1166                 :             : tree
    1167                 :          16 : generic_simplify_74 (location_t ARG_UNUSED (loc), const tree ARG_UNUSED (type),
    1168                 :             :  tree ARG_UNUSED (_p0), tree ARG_UNUSED (_p1), tree *ARG_UNUSED (captures))
    1169                 :             : {
    1170                 :          16 :   const bool debug_dump = dump_file && (dump_flags & TDF_FOLDING);
    1171                 :          32 :   if (INTEGRAL_TYPE_P (TREE_TYPE (captures[0]))
    1172                 :          32 :  && TYPE_PRECISION (TREE_TYPE (captures[0])) == 1
    1173                 :             : )
    1174                 :             :     {
    1175                 :           0 :       if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail337;
    1176                 :           0 :       {
    1177                 :           0 :         tree res_op0;
    1178                 :           0 :         res_op0 = captures[0];
    1179                 :           0 :         tree res_op1;
    1180                 :           0 :         {
    1181                 :           0 :           tree _o1[2], _r1;
    1182                 :           0 :           _o1[0] = captures[1];
    1183                 :           0 :           _o1[1] =  build_one_cst (type);
    1184                 :           0 :           _r1 = fold_build2_loc (loc, BIT_XOR_EXPR, TREE_TYPE (_o1[0]), _o1[0], _o1[1]);
    1185                 :           0 :           res_op1 = _r1;
    1186                 :             :         }
    1187                 :           0 :         tree _r;
    1188                 :           0 :         _r = fold_build2_loc (loc, BIT_IOR_EXPR, type, res_op0, res_op1);
    1189                 :           0 :         if (UNLIKELY (debug_dump)) generic_dump_logs ("match.pd", 198, __FILE__, __LINE__, true);
    1190                 :           0 :         return _r;
    1191                 :             :       }
    1192                 :           0 : next_after_fail337:;
    1193                 :             :     }
    1194                 :             :   return NULL_TREE;
    1195                 :             : }
    1196                 :             : 
    1197                 :             : tree
    1198                 :           0 : generic_simplify_82 (location_t ARG_UNUSED (loc), const tree ARG_UNUSED (type),
    1199                 :             :  tree ARG_UNUSED (_p0), tree ARG_UNUSED (_p1), tree *ARG_UNUSED (captures))
    1200                 :             : {
    1201                 :           0 :   const bool debug_dump = dump_file && (dump_flags & TDF_FOLDING);
    1202                 :           0 :   if (TREE_SIDE_EFFECTS (_p1)) goto next_after_fail349;
    1203                 :           0 :   if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail349;
    1204                 :           0 :   {
    1205                 :           0 :     tree _r;
    1206                 :           0 :     _r = captures[2];
    1207                 :           0 :     if (UNLIKELY (debug_dump)) generic_dump_logs ("match.pd", 205, __FILE__, __LINE__, true);
    1208                 :             :     return _r;
    1209                 :             :   }
    1210                 :             : next_after_fail349:;
    1211                 :             :   return NULL_TREE;
    1212                 :             : }
    1213                 :             : 
    1214                 :             : tree
    1215                 :         251 : generic_simplify_89 (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 (bitop))
    1218                 :             : {
    1219                 :         251 :   const bool debug_dump = dump_file && (dump_flags & TDF_FOLDING);
    1220                 :         251 :   if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail356;
    1221                 :         251 :   {
    1222                 :         251 :     tree res_op0;
    1223                 :         251 :     res_op0 = captures[0];
    1224                 :         251 :     tree _r;
    1225                 :         251 :     _r = non_lvalue_loc (loc, res_op0);
    1226                 :         251 :     if (UNLIKELY (debug_dump)) generic_dump_logs ("match.pd", 209, __FILE__, __LINE__, true);
    1227                 :             :     return _r;
    1228                 :             :   }
    1229                 :           0 : next_after_fail356:;
    1230                 :           0 :   return NULL_TREE;
    1231                 :             : }
    1232                 :             : 
    1233                 :             : tree
    1234                 :           0 : generic_simplify_97 (location_t ARG_UNUSED (loc), const tree ARG_UNUSED (type),
    1235                 :             :  tree ARG_UNUSED (_p0), tree ARG_UNUSED (_p1), tree *ARG_UNUSED (captures),
    1236                 :             :  const enum tree_code ARG_UNUSED (op))
    1237                 :             : {
    1238                 :           0 :   const bool debug_dump = dump_file && (dump_flags & TDF_FOLDING);
    1239                 :           0 :   if (TREE_SIDE_EFFECTS (_p1)) goto next_after_fail364;
    1240                 :           0 :   if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail364;
    1241                 :           0 :   {
    1242                 :           0 :     tree _r;
    1243                 :           0 :     _r = captures[0];
    1244                 :           0 :     if (UNLIKELY (debug_dump)) generic_dump_logs ("match.pd", 204, __FILE__, __LINE__, true);
    1245                 :             :     return _r;
    1246                 :             :   }
    1247                 :             : next_after_fail364:;
    1248                 :             :   return NULL_TREE;
    1249                 :             : }
    1250                 :             : 
    1251                 :             : tree
    1252                 :     2949896 : generic_simplify_104 (location_t ARG_UNUSED (loc), const tree ARG_UNUSED (type),
    1253                 :             :  tree ARG_UNUSED (_p0), tree ARG_UNUSED (_p1), tree *ARG_UNUSED (captures),
    1254                 :             :  const enum tree_code ARG_UNUSED (bitop))
    1255                 :             : {
    1256                 :     2949896 :   const bool debug_dump = dump_file && (dump_flags & TDF_FOLDING);
    1257                 :     2949896 :   if (((TREE_CODE (captures[3]) == INTEGER_CST
    1258                 :      919515 :  && INTEGRAL_TYPE_P (TREE_TYPE (captures[1]))
    1259                 :      726089 :  && (int_fits_type_p (captures[3], TREE_TYPE (captures[1]))
    1260                 :       15994 :  || tree_nop_conversion_p (TREE_TYPE (captures[1]), type)))
    1261                 :     2237525 :  || types_match (captures[1], captures[3]))
    1262                 :     1136904 :  && !POINTER_TYPE_P (TREE_TYPE (captures[1]))
    1263                 :     1136904 :  && !VECTOR_TYPE_P (TREE_TYPE (captures[1]))
    1264                 :     1136901 :  && TREE_CODE (TREE_TYPE (captures[1])) != OFFSET_TYPE
    1265                 :     1136901 :  && (bitop != BIT_AND_EXPR ||
    1266                 :             : 
    1267                 :             : )
    1268                 :     2949896 :  && (
    1269                 :       30126 :  TYPE_PRECISION (TREE_TYPE (captures[1])) < TYPE_PRECISION (type)
    1270                 :             :  || (
    1271                 :             : 
    1272                 :             :  && TYPE_PRECISION (TREE_TYPE (captures[1])) == TYPE_PRECISION (type))
    1273                 :       29038 :  || GET_MODE_CLASS (TYPE_MODE (type)) != MODE_INT
    1274                 :       29038 :  || !type_has_mode_precision_p (type)
    1275                 :       29038 :  || (
    1276                 :             : 
    1277                 :             :  && TREE_CODE (captures[3]) != INTEGER_CST
    1278                 :             :  && tree_nop_conversion_p (type, TREE_TYPE (captures[1]))
    1279                 :             :  && single_use (captures[0])
    1280                 :             :  && single_use (captures[2])))
    1281                 :             : )
    1282                 :             :     {
    1283                 :        1091 :       if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail375;
    1284                 :        1091 :       {
    1285                 :        1091 :         tree res_op0;
    1286                 :        1091 :         {
    1287                 :        1091 :           tree _o1[2], _r1;
    1288                 :        1091 :           _o1[0] = captures[1];
    1289                 :        1091 :           {
    1290                 :        1091 :             tree _o2[1], _r2;
    1291                 :        1091 :             _o2[0] = captures[3];
    1292                 :        1091 :             if (TREE_TYPE (_o2[0]) != TREE_TYPE (_o1[0]))
    1293                 :             :               {
    1294                 :        1091 :                 _r2 = fold_build1_loc (loc, NOP_EXPR, TREE_TYPE (_o1[0]), _o2[0]);
    1295                 :             :               }
    1296                 :             :             else
    1297                 :             :               _r2 = _o2[0];
    1298                 :        1091 :             _o1[1] = _r2;
    1299                 :             :           }
    1300                 :        1091 :           _r1 = fold_build2_loc (loc, bitop, TREE_TYPE (_o1[0]), _o1[0], _o1[1]);
    1301                 :        1091 :           res_op0 = _r1;
    1302                 :             :         }
    1303                 :        1091 :         tree _r;
    1304                 :        1091 :         _r = fold_build1_loc (loc, NOP_EXPR, type, res_op0);
    1305                 :        1091 :         if (UNLIKELY (debug_dump)) generic_dump_logs ("match.pd", 219, __FILE__, __LINE__, true);
    1306                 :        1091 :         return _r;
    1307                 :             :       }
    1308                 :           0 : next_after_fail375:;
    1309                 :             :     }
    1310                 :             :   return NULL_TREE;
    1311                 :             : }
    1312                 :             : 
    1313                 :             : tree
    1314                 :           0 : generic_simplify_116 (location_t ARG_UNUSED (loc), const tree ARG_UNUSED (type),
    1315                 :             :  tree ARG_UNUSED (_p0), tree ARG_UNUSED (_p1), tree *ARG_UNUSED (captures),
    1316                 :             :  const enum tree_code ARG_UNUSED (op))
    1317                 :             : {
    1318                 :           0 :   const bool debug_dump = dump_file && (dump_flags & TDF_FOLDING);
    1319                 :           0 :   if (INTEGRAL_TYPE_P (type)
    1320                 :           0 :  && operand_equal_p (captures[2], captures[6], 0)
    1321                 :           0 :  && (tree_nonzero_bits (captures[0]) & tree_nonzero_bits (captures[4])) == 0
    1322                 :             : )
    1323                 :             :     {
    1324                 :           0 :       {
    1325                 :           0 :  tree t = type;
    1326                 :           0 :  if (!TYPE_OVERFLOW_WRAPS (t))
    1327                 :           0 :  t = unsigned_type_for (t);
    1328                 :           0 :  wide_int c = wi::add (wi::to_wide (captures[3]), wi::to_wide (captures[7]));
    1329                 :           0 :           if (TREE_SIDE_EFFECTS (captures[3])) goto next_after_fail388;
    1330                 :           0 :           if (TREE_SIDE_EFFECTS (captures[7])) goto next_after_fail388;
    1331                 :           0 :           if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail388;
    1332                 :           0 :           {
    1333                 :           0 :             tree res_op0;
    1334                 :           0 :             {
    1335                 :           0 :               tree _o1[2], _r1;
    1336                 :           0 :               {
    1337                 :           0 :                 tree _o2[1], _r2;
    1338                 :           0 :                 _o2[0] = captures[2];
    1339                 :           0 :                 if (TREE_TYPE (_o2[0]) != t)
    1340                 :             :                   {
    1341                 :           0 :                     _r2 = fold_build1_loc (loc, NOP_EXPR, t, _o2[0]);
    1342                 :             :                   }
    1343                 :             :                 else
    1344                 :             :                   _r2 = _o2[0];
    1345                 :           0 :                 _o1[0] = _r2;
    1346                 :             :               }
    1347                 :           0 :               _o1[1] =  wide_int_to_tree (t, c);
    1348                 :           0 :               _r1 = fold_build2_loc (loc, MULT_EXPR, t, _o1[0], _o1[1]);
    1349                 :           0 :               res_op0 = _r1;
    1350                 :             :             }
    1351                 :           0 :             tree _r;
    1352                 :           0 :             _r = fold_build1_loc (loc, NOP_EXPR, type, res_op0);
    1353                 :           0 :             if (TREE_SIDE_EFFECTS (captures[6]))
    1354                 :           0 :               _r = build2_loc (loc, COMPOUND_EXPR, type, fold_ignored_result (captures[6]), _r);
    1355                 :           0 :             if (UNLIKELY (debug_dump)) generic_dump_logs ("match.pd", 227, __FILE__, __LINE__, true);
    1356                 :           0 :             return _r;
    1357                 :             :           }
    1358                 :           0 : next_after_fail388:;
    1359                 :           0 :       }
    1360                 :             :     }
    1361                 :             :   return NULL_TREE;
    1362                 :             : }
    1363                 :             : 
    1364                 :             : tree
    1365                 :           4 : generic_simplify_125 (location_t ARG_UNUSED (loc), const tree ARG_UNUSED (type),
    1366                 :             :  tree ARG_UNUSED (_p0), tree ARG_UNUSED (_p1), tree *ARG_UNUSED (captures))
    1367                 :             : {
    1368                 :           4 :   const bool debug_dump = dump_file && (dump_flags & TDF_FOLDING);
    1369                 :           4 :   if (TREE_SIDE_EFFECTS (_p1)) goto next_after_fail403;
    1370                 :           4 :   if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail403;
    1371                 :           4 :   {
    1372                 :           4 :     tree _r;
    1373                 :           4 :     _r = captures[2];
    1374                 :           4 :     if (TREE_SIDE_EFFECTS (captures[1]))
    1375                 :           0 :       _r = build2_loc (loc, COMPOUND_EXPR, type, fold_ignored_result (captures[1]), _r);
    1376                 :           4 :     if (UNLIKELY (debug_dump)) generic_dump_logs ("match.pd", 242, __FILE__, __LINE__, true);
    1377                 :             :     return _r;
    1378                 :             :   }
    1379                 :             : next_after_fail403:;
    1380                 :             :   return NULL_TREE;
    1381                 :             : }
    1382                 :             : 
    1383                 :             : tree
    1384                 :         160 : generic_simplify_129 (location_t ARG_UNUSED (loc), const tree ARG_UNUSED (type),
    1385                 :             :  tree ARG_UNUSED (_p0), tree ARG_UNUSED (_p1), tree *ARG_UNUSED (captures),
    1386                 :             :  const enum tree_code ARG_UNUSED (code2),
    1387                 :             :  const enum tree_code ARG_UNUSED (code1))
    1388                 :             : {
    1389                 :         160 :   const bool debug_dump = dump_file && (dump_flags & TDF_FOLDING);
    1390                 :         160 :   if ((TREE_CODE (captures[2]) == INTEGER_CST
    1391                 :         129 :  && TREE_CODE (captures[5]) == INTEGER_CST)
    1392                 :         160 :  || ((INTEGRAL_TYPE_P (TREE_TYPE (captures[2]))
    1393                 :           3 :  || (VECTOR_TYPE_P (TREE_TYPE (captures[2])))
    1394                 :           0 :  || POINTER_TYPE_P (TREE_TYPE (captures[2])))
    1395                 :          31 :  && bitwise_equal_p (captures[2], captures[5]))
    1396                 :             : )
    1397                 :             :     {
    1398                 :         131 :       {
    1399                 :         131 :  bool one_before = false;
    1400                 :         131 :  bool one_after = false;
    1401                 :         131 :  int cmp = 0;
    1402                 :         131 :  bool allbits = true;
    1403                 :         131 :  if (TREE_CODE (captures[2]) == INTEGER_CST
    1404                 :         129 :  && TREE_CODE (captures[5]) == INTEGER_CST)
    1405                 :             :  {
    1406                 :         129 :  allbits = TYPE_PRECISION (TREE_TYPE (captures[2])) <= TYPE_PRECISION (TREE_TYPE (captures[5]));
    1407                 :         129 :  auto t1 = wi::to_wide (fold_convert (TREE_TYPE (captures[5]), captures[2]));
    1408                 :         129 :  auto t2 = wi::to_wide (captures[5]);
    1409                 :         129 :  cmp = wi::cmp (t1, t2, TYPE_SIGN (TREE_TYPE (captures[5])));
    1410                 :         129 :  if (cmp < 0
    1411                 :         129 :  && t1 == t2 - 1)
    1412                 :             :  one_before = true;
    1413                 :         129 :  if (cmp > 0
    1414                 :         129 :  && t1 == t2 + 1)
    1415                 :             :  one_after = true;
    1416                 :             :  }
    1417                 :         131 :  bool val;
    1418                 :         131 :  switch (code2)
    1419                 :             :  {
    1420                 :         115 :  case EQ_EXPR: val = (cmp == 0); break;
    1421                 :           0 :  case NE_EXPR: val = (cmp != 0); break;
    1422                 :           2 :  case LT_EXPR: val = (cmp < 0); break;
    1423                 :           0 :  case GT_EXPR: val = (cmp > 0); break;
    1424                 :          14 :  case LE_EXPR: val = (cmp <= 0); break;
    1425                 :           0 :  case GE_EXPR: val = (cmp >= 0); break;
    1426                 :           0 :  default: gcc_unreachable ();
    1427                 :             :  }
    1428                 :         131 :           if (code1 == EQ_EXPR && val
    1429                 :             : )
    1430                 :             :             {
    1431                 :           7 :               if (TREE_SIDE_EFFECTS (_p0)) goto next_after_fail413;
    1432                 :           7 :               if (TREE_SIDE_EFFECTS (captures[2])) goto next_after_fail413;
    1433                 :           7 :               if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail413;
    1434                 :           7 :               {
    1435                 :           7 :                 tree _r;
    1436                 :           7 :                 _r = captures[3];
    1437                 :           7 :                 if (UNLIKELY (debug_dump)) generic_dump_logs ("match.pd", 245, __FILE__, __LINE__, true);
    1438                 :           7 :                 return _r;
    1439                 :             :               }
    1440                 :             : next_after_fail413:;
    1441                 :             :             }
    1442                 :             :           else
    1443                 :             :             {
    1444                 :         124 :               if (code1 == NE_EXPR && val && allbits
    1445                 :             : )
    1446                 :             :                 {
    1447                 :           7 :                   if (TREE_SIDE_EFFECTS (captures[2])) goto next_after_fail414;
    1448                 :           7 :                   if (TREE_SIDE_EFFECTS (captures[5])) goto next_after_fail414;
    1449                 :           7 :                   if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail414;
    1450                 :           7 :                   {
    1451                 :           7 :                     tree _r;
    1452                 :           7 :                     _r =  constant_boolean_node (true, type);
    1453                 :           7 :                     if (TREE_SIDE_EFFECTS (captures[4]))
    1454                 :           0 :                       _r = build2_loc (loc, COMPOUND_EXPR, type, fold_ignored_result (captures[4]), _r);
    1455                 :           7 :                     if (UNLIKELY (debug_dump)) generic_dump_logs ("match.pd", 246, __FILE__, __LINE__, true);
    1456                 :           7 :                     return _r;
    1457                 :             :                   }
    1458                 :             : next_after_fail414:;
    1459                 :             :                 }
    1460                 :             :               else
    1461                 :             :                 {
    1462                 :         117 :                   if (code1 == NE_EXPR && !val && allbits
    1463                 :             : )
    1464                 :             :                     {
    1465                 :           0 :                       if (TREE_SIDE_EFFECTS (_p1)) goto next_after_fail415;
    1466                 :           0 :                       if (TREE_SIDE_EFFECTS (captures[5])) goto next_after_fail415;
    1467                 :           0 :                       if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail415;
    1468                 :           0 :                       {
    1469                 :           0 :                         tree _r;
    1470                 :           0 :                         _r = captures[0];
    1471                 :           0 :                         if (TREE_SIDE_EFFECTS (captures[4]))
    1472                 :           0 :                           _r = build2_loc (loc, COMPOUND_EXPR, type, fold_ignored_result (captures[4]), _r);
    1473                 :           0 :                         if (UNLIKELY (debug_dump)) generic_dump_logs ("match.pd", 247, __FILE__, __LINE__, true);
    1474                 :           0 :                         return _r;
    1475                 :             :                       }
    1476                 :             : next_after_fail415:;
    1477                 :             :                     }
    1478                 :             :                   else
    1479                 :             :                     {
    1480                 :         117 :                       if (code1 == EQ_EXPR
    1481                 :         117 :  && code2 == GT_EXPR
    1482                 :           0 :  && cmp == 0
    1483                 :           0 :  && allbits
    1484                 :         117 :  && ((VECTOR_BOOLEAN_TYPE_P (type)
    1485                 :           0 :  && expand_vec_cmp_expr_p (TREE_TYPE (captures[2]), type, GE_EXPR))
    1486                 :           0 :  || !VECTOR_TYPE_P (TREE_TYPE (captures[2])))
    1487                 :             : )
    1488                 :             :                         {
    1489                 :           0 :                           if (TREE_SIDE_EFFECTS (captures[2])) goto next_after_fail416;
    1490                 :           0 :                           if (TREE_SIDE_EFFECTS (captures[5])) goto next_after_fail416;
    1491                 :           0 :                           if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail416;
    1492                 :           0 :                           {
    1493                 :           0 :                             tree res_op0;
    1494                 :           0 :                             res_op0 = captures[4];
    1495                 :           0 :                             tree res_op1;
    1496                 :           0 :                             res_op1 = captures[5];
    1497                 :           0 :                             tree _r;
    1498                 :           0 :                             _r = fold_build2_loc (loc, GE_EXPR, type, res_op0, res_op1);
    1499                 :           0 :                             if (UNLIKELY (debug_dump)) generic_dump_logs ("match.pd", 248, __FILE__, __LINE__, true);
    1500                 :           0 :                             return _r;
    1501                 :             :                           }
    1502                 :             : next_after_fail416:;
    1503                 :             :                         }
    1504                 :             :                       else
    1505                 :             :                         {
    1506                 :         117 :                           if (code1 == EQ_EXPR
    1507                 :         117 :  && code2 == LT_EXPR
    1508                 :           2 :  && cmp == 0
    1509                 :           2 :  && allbits
    1510                 :         119 :  && ((VECTOR_BOOLEAN_TYPE_P (type)
    1511                 :           2 :  && expand_vec_cmp_expr_p (TREE_TYPE (captures[2]), type, LE_EXPR))
    1512                 :           0 :  || !VECTOR_TYPE_P (TREE_TYPE (captures[2])))
    1513                 :             : )
    1514                 :             :                             {
    1515                 :           2 :                               if (TREE_SIDE_EFFECTS (captures[2])) goto next_after_fail417;
    1516                 :           2 :                               if (TREE_SIDE_EFFECTS (captures[5])) goto next_after_fail417;
    1517                 :           2 :                               if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail417;
    1518                 :           2 :                               {
    1519                 :           2 :                                 tree res_op0;
    1520                 :           2 :                                 res_op0 = captures[4];
    1521                 :           2 :                                 tree res_op1;
    1522                 :           2 :                                 res_op1 = captures[5];
    1523                 :           2 :                                 tree _r;
    1524                 :           2 :                                 _r = fold_build2_loc (loc, LE_EXPR, type, res_op0, res_op1);
    1525                 :           2 :                                 if (UNLIKELY (debug_dump)) generic_dump_logs ("match.pd", 249, __FILE__, __LINE__, true);
    1526                 :           2 :                                 return _r;
    1527                 :             :                               }
    1528                 :             : next_after_fail417:;
    1529                 :             :                             }
    1530                 :             :                           else
    1531                 :             :                             {
    1532                 :         115 :                               if (code1 == EQ_EXPR
    1533                 :         115 :  && code2 == GE_EXPR
    1534                 :             :  && one_before
    1535                 :           0 :  && allbits
    1536                 :         115 :  && ((VECTOR_BOOLEAN_TYPE_P (type)
    1537                 :           0 :  && expand_vec_cmp_expr_p (TREE_TYPE (captures[2]), type, GE_EXPR))
    1538                 :           0 :  || !VECTOR_TYPE_P (TREE_TYPE (captures[2])))
    1539                 :             : )
    1540                 :             :                                 {
    1541                 :           0 :                                   if (TREE_SIDE_EFFECTS (captures[2])) goto next_after_fail418;
    1542                 :           0 :                                   if (TREE_SIDE_EFFECTS (captures[5])) goto next_after_fail418;
    1543                 :           0 :                                   if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail418;
    1544                 :           0 :                                   {
    1545                 :           0 :                                     tree res_op0;
    1546                 :           0 :                                     res_op0 = captures[4];
    1547                 :           0 :                                     tree res_op1;
    1548                 :           0 :                                     {
    1549                 :           0 :                                       tree _o1[1], _r1;
    1550                 :           0 :                                       _o1[0] = captures[2];
    1551                 :           0 :                                       if (TREE_TYPE (_o1[0]) != TREE_TYPE (res_op0))
    1552                 :             :                                         {
    1553                 :           0 :                                           _r1 = fold_build1_loc (loc, NOP_EXPR, TREE_TYPE (res_op0), _o1[0]);
    1554                 :             :                                         }
    1555                 :             :                                       else
    1556                 :             :                                         _r1 = _o1[0];
    1557                 :           0 :                                       res_op1 = _r1;
    1558                 :             :                                     }
    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", 250, __FILE__, __LINE__, true);
    1562                 :           0 :                                     return _r;
    1563                 :             :                                   }
    1564                 :             : next_after_fail418:;
    1565                 :             :                                 }
    1566                 :             :                               else
    1567                 :             :                                 {
    1568                 :         115 :                                   if (code1 == EQ_EXPR
    1569                 :         115 :  && code2 == LE_EXPR
    1570                 :             :  && one_after
    1571                 :           0 :  && allbits
    1572                 :         115 :  && ((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 (captures[2])) goto next_after_fail419;
    1578                 :           0 :                                       if (TREE_SIDE_EFFECTS (captures[5])) goto next_after_fail419;
    1579                 :           0 :                                       if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail419;
    1580                 :           0 :                                       {
    1581                 :           0 :                                         tree res_op0;
    1582                 :           0 :                                         res_op0 = captures[4];
    1583                 :           0 :                                         tree res_op1;
    1584                 :           0 :                                         {
    1585                 :           0 :                                           tree _o1[1], _r1;
    1586                 :           0 :                                           _o1[0] = captures[2];
    1587                 :           0 :                                           if (TREE_TYPE (_o1[0]) != TREE_TYPE (res_op0))
    1588                 :             :                                             {
    1589                 :           0 :                                               _r1 = fold_build1_loc (loc, NOP_EXPR, TREE_TYPE (res_op0), _o1[0]);
    1590                 :             :                                             }
    1591                 :             :                                           else
    1592                 :             :                                             _r1 = _o1[0];
    1593                 :           0 :                                           res_op1 = _r1;
    1594                 :             :                                         }
    1595                 :           0 :                                         tree _r;
    1596                 :           0 :                                         _r = fold_build2_loc (loc, LE_EXPR, type, res_op0, res_op1);
    1597                 :           0 :                                         if (UNLIKELY (debug_dump)) generic_dump_logs ("match.pd", 251, __FILE__, __LINE__, true);
    1598                 :           0 :                                         return _r;
    1599                 :             :                                       }
    1600                 :             : next_after_fail419:;
    1601                 :             :                                     }
    1602                 :             :                                 }
    1603                 :             :                             }
    1604                 :             :                         }
    1605                 :             :                     }
    1606                 :             :                 }
    1607                 :             :             }
    1608                 :             :       }
    1609                 :             :     }
    1610                 :             :   return NULL_TREE;
    1611                 :             : }
    1612                 :             : 
    1613                 :             : tree
    1614                 :         112 : generic_simplify_166 (location_t ARG_UNUSED (loc), const tree ARG_UNUSED (type),
    1615                 :             :  tree ARG_UNUSED (_p0), tree ARG_UNUSED (_p1), tree *ARG_UNUSED (captures),
    1616                 :             :  const enum tree_code ARG_UNUSED (opo),
    1617                 :             :  const enum tree_code ARG_UNUSED (opi))
    1618                 :             : {
    1619                 :         112 :   const bool debug_dump = dump_file && (dump_flags & TDF_FOLDING);
    1620                 :         112 :   if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail476;
    1621                 :         112 :   {
    1622                 :         112 :     tree res_op0;
    1623                 :         112 :     {
    1624                 :         112 :       tree _o1[1], _r1;
    1625                 :         112 :       _o1[0] = captures[1];
    1626                 :         112 :       _r1 = fold_build1_loc (loc, BIT_NOT_EXPR, TREE_TYPE (_o1[0]), _o1[0]);
    1627                 :         112 :       res_op0 = _r1;
    1628                 :             :     }
    1629                 :         112 :     tree res_op1;
    1630                 :         112 :     res_op1 = captures[2];
    1631                 :         112 :     tree _r;
    1632                 :         112 :     _r = fold_build2_loc (loc, BIT_AND_EXPR, type, res_op0, res_op1);
    1633                 :         112 :     if (UNLIKELY (debug_dump)) generic_dump_logs ("match.pd", 284, __FILE__, __LINE__, true);
    1634                 :             :     return _r;
    1635                 :             :   }
    1636                 :           0 : next_after_fail476:;
    1637                 :           0 :   return NULL_TREE;
    1638                 :             : }
    1639                 :             : 
    1640                 :             : tree
    1641                 :           5 : generic_simplify_172 (location_t ARG_UNUSED (loc), const tree ARG_UNUSED (type),
    1642                 :             :  tree ARG_UNUSED (_p0), tree ARG_UNUSED (_p1), tree *ARG_UNUSED (captures))
    1643                 :             : {
    1644                 :           5 :   const bool debug_dump = dump_file && (dump_flags & TDF_FOLDING);
    1645                 :          10 :   if (INTEGRAL_TYPE_P (TREE_TYPE (captures[1]))
    1646                 :           5 :  && !TYPE_UNSIGNED (TREE_TYPE (captures[1]))
    1647                 :          10 :  && types_match (TREE_TYPE (captures[1]), TREE_TYPE (captures[3]))
    1648                 :             : )
    1649                 :             :     {
    1650                 :           5 :       if (TREE_SIDE_EFFECTS (_p0)) goto next_after_fail483;
    1651                 :           5 :       if (TREE_SIDE_EFFECTS (_p1)) goto next_after_fail483;
    1652                 :           5 :       if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail483;
    1653                 :           5 :       {
    1654                 :           5 :         tree res_op0;
    1655                 :           5 :         {
    1656                 :           5 :           tree _o1[2], _r1;
    1657                 :           5 :           _o1[0] = captures[1];
    1658                 :           5 :           _o1[1] = captures[3];
    1659                 :           5 :           _r1 = fold_build2_loc (loc, BIT_XOR_EXPR, TREE_TYPE (_o1[0]), _o1[0], _o1[1]);
    1660                 :           5 :           res_op0 = _r1;
    1661                 :             :         }
    1662                 :           5 :         tree res_op1;
    1663                 :           5 :         res_op1 =  build_zero_cst (TREE_TYPE (captures[1]));
    1664                 :           5 :         tree _r;
    1665                 :           5 :         _r = fold_build2_loc (loc, GE_EXPR, type, res_op0, res_op1);
    1666                 :           5 :         if (UNLIKELY (debug_dump)) generic_dump_logs ("match.pd", 290, __FILE__, __LINE__, true);
    1667                 :           5 :         return _r;
    1668                 :             :       }
    1669                 :             : next_after_fail483:;
    1670                 :             :     }
    1671                 :             :   return NULL_TREE;
    1672                 :             : }
    1673                 :             : 
    1674                 :             : tree
    1675                 :        3135 : generic_simplify_180 (location_t ARG_UNUSED (loc), const tree ARG_UNUSED (type),
    1676                 :             :  tree ARG_UNUSED (_p0), tree ARG_UNUSED (_p1), tree *ARG_UNUSED (captures))
    1677                 :             : {
    1678                 :        3135 :   const bool debug_dump = dump_file && (dump_flags & TDF_FOLDING);
    1679                 :        3135 :   if (! FLOAT_TYPE_P (type)
    1680                 :        6270 :  && tree_nop_conversion_p (type, TREE_TYPE (captures[1]))
    1681                 :             : )
    1682                 :             :     {
    1683                 :        3134 :       if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail492;
    1684                 :        3134 :       {
    1685                 :        3134 :         tree res_op0;
    1686                 :        3134 :         res_op0 = captures[0];
    1687                 :        3134 :         tree res_op1;
    1688                 :        3134 :         res_op1 = captures[2];
    1689                 :        3134 :         tree _r;
    1690                 :        3134 :         _r = fold_build2_loc (loc, LSHIFT_EXPR, type, res_op0, res_op1);
    1691                 :        3134 :         if (TREE_SIDE_EFFECTS (captures[1]))
    1692                 :           0 :           _r = build2_loc (loc, COMPOUND_EXPR, type, fold_ignored_result (captures[1]), _r);
    1693                 :        3134 :         if (UNLIKELY (debug_dump)) generic_dump_logs ("match.pd", 297, __FILE__, __LINE__, true);
    1694                 :        3134 :         return _r;
    1695                 :             :       }
    1696                 :           0 : next_after_fail492:;
    1697                 :             :     }
    1698                 :             :   return NULL_TREE;
    1699                 :             : }
    1700                 :             : 
    1701                 :             : tree
    1702                 :      140933 : generic_simplify_190 (location_t ARG_UNUSED (loc), const tree ARG_UNUSED (type),
    1703                 :             :  tree ARG_UNUSED (_p0), tree ARG_UNUSED (_p1), tree *ARG_UNUSED (captures))
    1704                 :             : {
    1705                 :      140933 :   const bool debug_dump = dump_file && (dump_flags & TDF_FOLDING);
    1706                 :      140933 :   {
    1707                 :      140933 :  poly_widest_int factor;
    1708                 :      140933 :       if (multiple_p (wi::to_poly_widest (captures[2]), wi::to_widest (captures[1]), &factor)
    1709                 :             : )
    1710                 :             :         {
    1711                 :       46227 :           if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail504;
    1712                 :       46227 :           {
    1713                 :       46227 :             tree res_op0;
    1714                 :       46227 :             {
    1715                 :       46227 :               tree _o1[1], _r1;
    1716                 :       46227 :               _o1[0] = captures[0];
    1717                 :       46227 :               if (TREE_TYPE (_o1[0]) != type)
    1718                 :             :                 {
    1719                 :        3132 :                   _r1 = fold_build1_loc (loc, NOP_EXPR, type, _o1[0]);
    1720                 :             :                 }
    1721                 :             :               else
    1722                 :             :                 _r1 = _o1[0];
    1723                 :       46227 :               res_op0 = _r1;
    1724                 :             :             }
    1725                 :       46227 :             tree res_op1;
    1726                 :       46227 :             res_op1 =  wide_int_to_tree (type, factor);
    1727                 :       46227 :             tree _r;
    1728                 :       46227 :             _r = fold_build2_loc (loc, MULT_EXPR, type, res_op0, res_op1);
    1729                 :       46227 :             if (TREE_SIDE_EFFECTS (captures[1]))
    1730                 :           0 :               _r = build2_loc (loc, COMPOUND_EXPR, type, fold_ignored_result (captures[1]), _r);
    1731                 :       46227 :             if (TREE_SIDE_EFFECTS (captures[2]))
    1732                 :           0 :               _r = build2_loc (loc, COMPOUND_EXPR, type, fold_ignored_result (captures[2]), _r);
    1733                 :       46227 :             if (UNLIKELY (debug_dump)) generic_dump_logs ("match.pd", 305, __FILE__, __LINE__, true);
    1734                 :       46227 :             return _r;
    1735                 :             :           }
    1736                 :           0 : next_after_fail504:;
    1737                 :             :         }
    1738                 :      140933 :   }
    1739                 :       94706 :   return NULL_TREE;
    1740                 :             : }
    1741                 :             : 
    1742                 :             : tree
    1743                 :           2 : generic_simplify_199 (location_t ARG_UNUSED (loc), const tree ARG_UNUSED (type),
    1744                 :             :  tree ARG_UNUSED (_p0), tree ARG_UNUSED (_p1), tree *ARG_UNUSED (captures),
    1745                 :             :  const combined_fn ARG_UNUSED (POW))
    1746                 :             : {
    1747                 :           2 :   const bool debug_dump = dump_file && (dump_flags & TDF_FOLDING);
    1748                 :           2 :   if (flag_unsafe_math_optimizations && canonicalize_math_p ()
    1749                 :             : )
    1750                 :             :     {
    1751                 :           2 :       if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail514;
    1752                 :           2 :       {
    1753                 :           2 :         tree res_op0;
    1754                 :           2 :         {
    1755                 :           2 :           tree _o1[2], _r1;
    1756                 :           2 :           _o1[0] = captures[1];
    1757                 :           2 :           _o1[1] = captures[4];
    1758                 :           2 :           _r1 = fold_build2_loc (loc, MULT_EXPR, TREE_TYPE (_o1[0]), _o1[0], _o1[1]);
    1759                 :           2 :           res_op0 = _r1;
    1760                 :             :         }
    1761                 :           2 :         tree res_op1;
    1762                 :           2 :         res_op1 = captures[2];
    1763                 :           2 :         tree _r;
    1764                 :           2 :         _r = maybe_build_call_expr_loc (loc, POW, type, 2, res_op0, res_op1);
    1765                 :           2 :         if (!_r)
    1766                 :           0 :           goto next_after_fail514;
    1767                 :           2 :         if (UNLIKELY (debug_dump)) generic_dump_logs ("match.pd", 315, __FILE__, __LINE__, true);
    1768                 :           2 :         return _r;
    1769                 :             :       }
    1770                 :             : next_after_fail514:;
    1771                 :             :     }
    1772                 :             :   return NULL_TREE;
    1773                 :             : }
    1774                 :             : 
    1775                 :             : tree
    1776                 :        1587 : generic_simplify_208 (location_t ARG_UNUSED (loc), const tree ARG_UNUSED (type),
    1777                 :             :  tree ARG_UNUSED (_p0), tree ARG_UNUSED (_p1), tree *ARG_UNUSED (captures),
    1778                 :             :  const enum tree_code ARG_UNUSED (cmp))
    1779                 :             : {
    1780                 :        1587 :   const bool debug_dump = dump_file && (dump_flags & TDF_FOLDING);
    1781                 :        3174 :   if (INTEGRAL_TYPE_P (TREE_TYPE (captures[1]))
    1782                 :        1587 :  && TYPE_OVERFLOW_WRAPS (TREE_TYPE (captures[0]))
    1783                 :        3174 :  && (TREE_INT_CST_LOW (captures[1]) & 1) != 0
    1784                 :             : )
    1785                 :             :     {
    1786                 :          10 :       if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail523;
    1787                 :          10 :       {
    1788                 :          10 :         tree res_op0;
    1789                 :          10 :         res_op0 = captures[0];
    1790                 :          10 :         tree res_op1;
    1791                 :          10 :         res_op1 = captures[2];
    1792                 :          10 :         tree _r;
    1793                 :          10 :         _r = fold_build2_loc (loc, cmp, type, res_op0, res_op1);
    1794                 :          10 :         if (TREE_SIDE_EFFECTS (captures[1]))
    1795                 :           0 :           _r = build2_loc (loc, COMPOUND_EXPR, type, fold_ignored_result (captures[1]), _r);
    1796                 :          10 :         if (UNLIKELY (debug_dump)) generic_dump_logs ("match.pd", 324, __FILE__, __LINE__, true);
    1797                 :          10 :         return _r;
    1798                 :             :       }
    1799                 :           0 : next_after_fail523:;
    1800                 :             :     }
    1801                 :             :   return NULL_TREE;
    1802                 :             : }
    1803                 :             : 
    1804                 :             : tree
    1805                 :           0 : generic_simplify_216 (location_t ARG_UNUSED (loc), const tree ARG_UNUSED (type),
    1806                 :             :  tree ARG_UNUSED (_p0), tree ARG_UNUSED (_p1), tree *ARG_UNUSED (captures),
    1807                 :             :  const enum tree_code ARG_UNUSED (op))
    1808                 :             : {
    1809                 :           0 :   const bool debug_dump = dump_file && (dump_flags & TDF_FOLDING);
    1810                 :           0 :   if (!TYPE_OVERFLOW_SANITIZED (TREE_TYPE (captures[1]))
    1811                 :             : )
    1812                 :             :     {
    1813                 :           0 :       if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail547;
    1814                 :           0 :       {
    1815                 :           0 :         tree res_op0;
    1816                 :           0 :         res_op0 = captures[3];
    1817                 :           0 :         tree res_op1;
    1818                 :           0 :         res_op1 = captures[2];
    1819                 :           0 :         tree _r;
    1820                 :           0 :         _r = fold_build2_loc (loc, op, type, res_op0, res_op1);
    1821                 :           0 :         if (TREE_SIDE_EFFECTS (captures[1]))
    1822                 :           0 :           _r = build2_loc (loc, COMPOUND_EXPR, type, fold_ignored_result (captures[1]), _r);
    1823                 :           0 :         if (UNLIKELY (debug_dump)) generic_dump_logs ("match.pd", 347, __FILE__, __LINE__, true);
    1824                 :           0 :         return _r;
    1825                 :             :       }
    1826                 :           0 : next_after_fail547:;
    1827                 :             :     }
    1828                 :             :   return NULL_TREE;
    1829                 :             : }
    1830                 :             : 
    1831                 :             : tree
    1832                 :        1304 : generic_simplify_220 (location_t ARG_UNUSED (loc), const tree ARG_UNUSED (type),
    1833                 :             :  tree ARG_UNUSED (_p0), tree ARG_UNUSED (_p1), tree *ARG_UNUSED (captures),
    1834                 :             :  const enum tree_code ARG_UNUSED (cmp),
    1835                 :             :  const enum tree_code ARG_UNUSED (ocmp))
    1836                 :             : {
    1837                 :        1304 :   const bool debug_dump = dump_file && (dump_flags & TDF_FOLDING);
    1838                 :        1304 :   if (TYPE_UNSIGNED (TREE_TYPE (captures[0]))
    1839                 :         372 :  && TREE_CODE (TREE_TYPE (captures[0])) != COMPLEX_TYPE
    1840                 :        1654 :  && (VECTOR_TYPE_P (type) || !VECTOR_TYPE_P (TREE_TYPE (captures[0])))
    1841                 :             : )
    1842                 :             :     {
    1843                 :         350 :       if (TREE_SIDE_EFFECTS (_p1)) goto next_after_fail551;
    1844                 :         350 :       if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail551;
    1845                 :         350 :       {
    1846                 :         350 :         tree res_op0;
    1847                 :         350 :         res_op0 = captures[0];
    1848                 :         350 :         tree res_op1;
    1849                 :         350 :         res_op1 = captures[1];
    1850                 :         350 :         tree _r;
    1851                 :         350 :         _r = fold_build2_loc (loc, ocmp, type, res_op0, res_op1);
    1852                 :         350 :         if (UNLIKELY (debug_dump)) generic_dump_logs ("match.pd", 350, __FILE__, __LINE__, true);
    1853                 :         350 :         return _r;
    1854                 :             :       }
    1855                 :             : next_after_fail551:;
    1856                 :             :     }
    1857                 :             :   return NULL_TREE;
    1858                 :             : }
    1859                 :             : 
    1860                 :             : tree
    1861                 :         725 : generic_simplify_226 (location_t ARG_UNUSED (loc), const tree ARG_UNUSED (type),
    1862                 :             :  tree ARG_UNUSED (_p0), tree ARG_UNUSED (_p1), tree *ARG_UNUSED (captures),
    1863                 :             :  const enum tree_code ARG_UNUSED (cmp))
    1864                 :             : {
    1865                 :         725 :   const bool debug_dump = dump_file && (dump_flags & TDF_FOLDING);
    1866                 :         725 :   if (wi::gt_p (wi::to_wide (captures[1]), wi::to_wide (captures[2]),
    1867                 :         725 :  TYPE_SIGN (TREE_TYPE (captures[0])))
    1868                 :             : )
    1869                 :             :     {
    1870                 :          42 :       if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail558;
    1871                 :          42 :       {
    1872                 :          42 :         tree _r;
    1873                 :          42 :         _r =  constant_boolean_node (cmp == NE_EXPR, type);
    1874                 :          42 :         if (TREE_SIDE_EFFECTS (captures[0]))
    1875                 :           0 :           _r = build2_loc (loc, COMPOUND_EXPR, type, fold_ignored_result (captures[0]), _r);
    1876                 :          42 :         if (TREE_SIDE_EFFECTS (captures[1]))
    1877                 :           0 :           _r = build2_loc (loc, COMPOUND_EXPR, type, fold_ignored_result (captures[1]), _r);
    1878                 :          42 :         if (TREE_SIDE_EFFECTS (captures[2]))
    1879                 :           0 :           _r = build2_loc (loc, COMPOUND_EXPR, type, fold_ignored_result (captures[2]), _r);
    1880                 :          42 :         if (UNLIKELY (debug_dump)) generic_dump_logs ("match.pd", 357, __FILE__, __LINE__, true);
    1881                 :          42 :         return _r;
    1882                 :             :       }
    1883                 :           0 : next_after_fail558:;
    1884                 :             :     }
    1885                 :             :   else
    1886                 :             :     {
    1887                 :         683 :       if (wi::lt_p (wi::to_wide (captures[1]), wi::to_wide (captures[2]),
    1888                 :         683 :  TYPE_SIGN (TREE_TYPE (captures[0])))
    1889                 :             : )
    1890                 :             :         {
    1891                 :         683 :           if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail559;
    1892                 :         683 :           {
    1893                 :         683 :             tree res_op0;
    1894                 :         683 :             res_op0 = captures[0];
    1895                 :         683 :             tree res_op1;
    1896                 :         683 :             res_op1 = captures[2];
    1897                 :         683 :             tree _r;
    1898                 :         683 :             _r = fold_build2_loc (loc, cmp, type, res_op0, res_op1);
    1899                 :         683 :             if (TREE_SIDE_EFFECTS (captures[1]))
    1900                 :           0 :               _r = build2_loc (loc, COMPOUND_EXPR, type, fold_ignored_result (captures[1]), _r);
    1901                 :         683 :             if (UNLIKELY (debug_dump)) generic_dump_logs ("match.pd", 358, __FILE__, __LINE__, true);
    1902                 :         683 :             return _r;
    1903                 :             :           }
    1904                 :           0 : next_after_fail559:;
    1905                 :             :         }
    1906                 :             :     }
    1907                 :             :   return NULL_TREE;
    1908                 :             : }
    1909                 :             : 
    1910                 :             : tree
    1911                 :         391 : generic_simplify_236 (location_t ARG_UNUSED (loc), const tree ARG_UNUSED (type),
    1912                 :             :  tree ARG_UNUSED (_p0), tree ARG_UNUSED (_p1), tree *ARG_UNUSED (captures),
    1913                 :             :  const enum tree_code ARG_UNUSED (rotate),
    1914                 :             :  const enum tree_code ARG_UNUSED (invrot),
    1915                 :             :  const enum tree_code ARG_UNUSED (cmp))
    1916                 :             : {
    1917                 :         391 :   const bool debug_dump = dump_file && (dump_flags & TDF_FOLDING);
    1918                 :         391 :   if (integer_zerop (captures[2]) || integer_all_onesp (captures[2])
    1919                 :             : )
    1920                 :             :     {
    1921                 :           0 :       if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail579;
    1922                 :           0 :       {
    1923                 :           0 :         tree res_op0;
    1924                 :           0 :         res_op0 = captures[0];
    1925                 :           0 :         tree res_op1;
    1926                 :           0 :         res_op1 = captures[2];
    1927                 :           0 :         tree _r;
    1928                 :           0 :         _r = fold_build2_loc (loc, cmp, type, res_op0, res_op1);
    1929                 :           0 :         if (TREE_SIDE_EFFECTS (captures[1]))
    1930                 :           0 :           _r = build2_loc (loc, COMPOUND_EXPR, type, fold_ignored_result (captures[1]), _r);
    1931                 :           0 :         if (UNLIKELY (debug_dump)) generic_dump_logs ("match.pd", 378, __FILE__, __LINE__, true);
    1932                 :           0 :         return _r;
    1933                 :             :       }
    1934                 :           0 : next_after_fail579:;
    1935                 :             :     }
    1936                 :             :   return NULL_TREE;
    1937                 :             : }
    1938                 :             : 
    1939                 :             : tree
    1940                 :       65557 : generic_simplify_242 (location_t ARG_UNUSED (loc), const tree ARG_UNUSED (type),
    1941                 :             :  tree ARG_UNUSED (_p0), tree ARG_UNUSED (_p1), tree *ARG_UNUSED (captures),
    1942                 :             :  const enum tree_code ARG_UNUSED (cmp))
    1943                 :             : {
    1944                 :       65557 :   const bool debug_dump = dump_file && (dump_flags & TDF_FOLDING);
    1945                 :       65557 :   if (single_use (captures[0])
    1946                 :             : )
    1947                 :             :     {
    1948                 :       65557 :       if (TREE_SIDE_EFFECTS (_p1)) goto next_after_fail586;
    1949                 :       65557 :       if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail586;
    1950                 :       65557 :       {
    1951                 :       65557 :         tree res_op0;
    1952                 :       65557 :         res_op0 = captures[1];
    1953                 :       65557 :         tree res_op1;
    1954                 :       65557 :         res_op1 = captures[2];
    1955                 :       65557 :         tree _r;
    1956                 :       65557 :         _r = fold_build2_loc (loc, cmp, type, res_op0, res_op1);
    1957                 :       65557 :         if (UNLIKELY (debug_dump)) generic_dump_logs ("match.pd", 385, __FILE__, __LINE__, true);
    1958                 :       65557 :         return _r;
    1959                 :             :       }
    1960                 :             : next_after_fail586:;
    1961                 :             :     }
    1962                 :             :   return NULL_TREE;
    1963                 :             : }
    1964                 :             : 
    1965                 :             : tree
    1966                 :       61626 : generic_simplify_245 (location_t ARG_UNUSED (loc), const tree ARG_UNUSED (type),
    1967                 :             :  tree ARG_UNUSED (_p0), tree ARG_UNUSED (_p1), tree *ARG_UNUSED (captures),
    1968                 :             :  const enum tree_code ARG_UNUSED (cmp))
    1969                 :             : {
    1970                 :       61626 :   const bool debug_dump = dump_file && (dump_flags & TDF_FOLDING);
    1971                 :      123252 :   if (INTEGRAL_TYPE_P (TREE_TYPE (captures[0]))
    1972                 :      123252 :  && TYPE_OVERFLOW_UNDEFINED (TREE_TYPE (captures[0]))
    1973                 :      139016 :  && wi::to_wide (captures[1]) != 0
    1974                 :             : )
    1975                 :             :     {
    1976                 :       15764 :       {
    1977                 :       15764 :  widest_int quot;
    1978                 :       15764 :           if (wi::multiple_of_p (wi::to_widest (captures[2]), wi::to_widest (captures[1]),
    1979                 :       15764 :  TYPE_SIGN (TREE_TYPE (captures[0])), &quot)
    1980                 :             : )
    1981                 :             :             {
    1982                 :       11665 :               if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail591;
    1983                 :       11665 :               {
    1984                 :       11665 :                 tree res_op0;
    1985                 :       11665 :                 res_op0 = captures[0];
    1986                 :       11665 :                 tree res_op1;
    1987                 :       11665 :                 res_op1 =  wide_int_to_tree (TREE_TYPE (captures[0]), quot);
    1988                 :       11665 :                 tree _r;
    1989                 :       11665 :                 _r = fold_build2_loc (loc, cmp, type, res_op0, res_op1);
    1990                 :       11665 :                 if (TREE_SIDE_EFFECTS (captures[1]))
    1991                 :           0 :                   _r = build2_loc (loc, COMPOUND_EXPR, type, fold_ignored_result (captures[1]), _r);
    1992                 :       11665 :                 if (TREE_SIDE_EFFECTS (captures[2]))
    1993                 :           0 :                   _r = build2_loc (loc, COMPOUND_EXPR, type, fold_ignored_result (captures[2]), _r);
    1994                 :       11665 :                 if (UNLIKELY (debug_dump)) generic_dump_logs ("match.pd", 389, __FILE__, __LINE__, true);
    1995                 :       11665 :                 return _r;
    1996                 :             :               }
    1997                 :           0 : next_after_fail591:;
    1998                 :             :             }
    1999                 :             :           else
    2000                 :             :             {
    2001                 :        4099 :               if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail592;
    2002                 :        4099 :               {
    2003                 :        4099 :                 tree _r;
    2004                 :        4099 :                 _r =  constant_boolean_node (cmp == NE_EXPR, type);
    2005                 :        4099 :                 if (TREE_SIDE_EFFECTS (captures[0]))
    2006                 :           0 :                   _r = build2_loc (loc, COMPOUND_EXPR, type, fold_ignored_result (captures[0]), _r);
    2007                 :        4099 :                 if (TREE_SIDE_EFFECTS (captures[1]))
    2008                 :           0 :                   _r = build2_loc (loc, COMPOUND_EXPR, type, fold_ignored_result (captures[1]), _r);
    2009                 :        4099 :                 if (TREE_SIDE_EFFECTS (captures[2]))
    2010                 :           0 :                   _r = build2_loc (loc, COMPOUND_EXPR, type, fold_ignored_result (captures[2]), _r);
    2011                 :        4099 :                 if (UNLIKELY (debug_dump)) generic_dump_logs ("match.pd", 390, __FILE__, __LINE__, true);
    2012                 :        4099 :                 return _r;
    2013                 :             :               }
    2014                 :           0 : next_after_fail592:;
    2015                 :             :             }
    2016                 :       15764 :       }
    2017                 :             :     }
    2018                 :             :   else
    2019                 :             :     {
    2020                 :       91724 :       if (INTEGRAL_TYPE_P (TREE_TYPE (captures[0]))
    2021                 :       45862 :  && TYPE_OVERFLOW_WRAPS (TREE_TYPE (captures[0]))
    2022                 :       91724 :  && (wi::bit_and (wi::to_wide (captures[1]), 1) == 1)
    2023                 :             : )
    2024                 :             :         {
    2025                 :        1067 :           if (TREE_SIDE_EFFECTS (captures[1])) goto next_after_fail593;
    2026                 :        1067 :           if (TREE_SIDE_EFFECTS (captures[2])) goto next_after_fail593;
    2027                 :        1067 :           if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail593;
    2028                 :        1067 :           {
    2029                 :        1067 :             tree res_op0;
    2030                 :        1067 :             res_op0 = captures[0];
    2031                 :        1067 :             tree res_op1;
    2032                 :        1067 :  tree itype = TREE_TYPE (captures[0]);
    2033                 :        1067 :  int p = TYPE_PRECISION (itype);
    2034                 :        1067 :  wide_int m = wi::one (p + 1) << p;
    2035                 :        1067 :  wide_int a = wide_int::from (wi::to_wide (captures[1]), p + 1, UNSIGNED);
    2036                 :        1067 :  wide_int i = wide_int::from (wi::mod_inv (a, m),
    2037                 :        2134 :  p, TYPE_SIGN (itype));     res_op1 = 
    2038                 :        1067 :  wide_int_to_tree (itype, wi::mul (i, wi::to_wide (captures[2])));
    2039                 :        1067 :             tree _r;
    2040                 :        1067 :             _r = fold_build2_loc (loc, cmp, type, res_op0, res_op1);
    2041                 :        1067 :             if (UNLIKELY (debug_dump)) generic_dump_logs ("match.pd", 391, __FILE__, __LINE__, true);
    2042                 :        1067 :             return _r;
    2043                 :        1067 :           }
    2044                 :             : next_after_fail593:;
    2045                 :             :         }
    2046                 :             :     }
    2047                 :             :   return NULL_TREE;
    2048                 :             : }
    2049                 :             : 
    2050                 :             : tree
    2051                 :        2751 : generic_simplify_260 (location_t ARG_UNUSED (loc), const tree ARG_UNUSED (type),
    2052                 :             :  tree ARG_UNUSED (_p0), tree ARG_UNUSED (_p1), tree *ARG_UNUSED (captures),
    2053                 :             :  const enum tree_code ARG_UNUSED (cmp),
    2054                 :             :  const enum tree_code ARG_UNUSED (scmp))
    2055                 :             : {
    2056                 :        2751 :   const bool debug_dump = dump_file && (dump_flags & TDF_FOLDING);
    2057                 :        5132 :   if (FLOAT_TYPE_P (TREE_TYPE (captures[0]))
    2058                 :        5132 :  || (ANY_INTEGRAL_TYPE_P (TREE_TYPE (captures[0]))
    2059                 :        2381 :  && (cmp == EQ_EXPR
    2060                 :        2381 :  || cmp == NE_EXPR
    2061                 :        1605 :  || TYPE_OVERFLOW_UNDEFINED (TREE_TYPE (captures[0]))))
    2062                 :             : )
    2063                 :             :     {
    2064                 :        1580 :       {
    2065                 :        1580 :  tree tem = const_unop (NEGATE_EXPR, TREE_TYPE (captures[0]), captures[1]);
    2066                 :        1580 :           if (tem && !TREE_OVERFLOW (tem)
    2067                 :             : )
    2068                 :             :             {
    2069                 :        1552 :               if (TREE_SIDE_EFFECTS (captures[1])) goto next_after_fail650;
    2070                 :        1552 :               if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail650;
    2071                 :        1552 :               {
    2072                 :        1552 :                 tree res_op0;
    2073                 :        1552 :                 res_op0 = captures[0];
    2074                 :        1552 :                 tree res_op1;
    2075                 :        1552 :                 res_op1 =  tem;
    2076                 :        1552 :                 tree _r;
    2077                 :        1552 :                 _r = fold_build2_loc (loc, scmp, type, res_op0, res_op1);
    2078                 :        1552 :                 if (UNLIKELY (debug_dump)) generic_dump_logs ("match.pd", 447, __FILE__, __LINE__, true);
    2079                 :        1552 :                 return _r;
    2080                 :             :               }
    2081                 :             : next_after_fail650:;
    2082                 :             :             }
    2083                 :             :       }
    2084                 :             :     }
    2085                 :             :   return NULL_TREE;
    2086                 :             : }
    2087                 :             : 
    2088                 :             : tree
    2089                 :    14532451 : generic_simplify_262 (location_t ARG_UNUSED (loc), const tree ARG_UNUSED (type),
    2090                 :             :  tree ARG_UNUSED (_p0), tree ARG_UNUSED (_p1), tree *ARG_UNUSED (captures),
    2091                 :             :  const enum tree_code ARG_UNUSED (cmp))
    2092                 :             : {
    2093                 :    14532451 :   const bool debug_dump = dump_file && (dump_flags & TDF_FOLDING);
    2094                 :    28633347 :   if (INTEGRAL_TYPE_P (TREE_TYPE (captures[0]))
    2095                 :    10624045 :  && !(targetm.have_canonicalize_funcptr_for_compare ()
    2096                 :           0 :  && ((POINTER_TYPE_P (TREE_TYPE (captures[1]))
    2097                 :           0 :  && FUNC_OR_METHOD_TYPE_P (TREE_TYPE (TREE_TYPE (captures[1]))))
    2098                 :           0 :  || (POINTER_TYPE_P (TREE_TYPE (captures[3]))
    2099                 :           0 :  && FUNC_OR_METHOD_TYPE_P (TREE_TYPE (TREE_TYPE (captures[3]))))))
    2100                 :    14532451 :  && single_use (captures[0])
    2101                 :             : )
    2102                 :             :     {
    2103                 :    10624045 :       if (TYPE_PRECISION (TREE_TYPE (captures[1])) == TYPE_PRECISION (TREE_TYPE (captures[0]))
    2104                 :     4827740 :  && (TREE_CODE (captures[3]) == INTEGER_CST
    2105                 :     1805603 :  || captures[2] != captures[3])
    2106                 :     3022137 :  && (TYPE_UNSIGNED (TREE_TYPE (captures[1])) == TYPE_UNSIGNED (TREE_TYPE (captures[0]))
    2107                 :             :  || cmp == NE_EXPR
    2108                 :     1297710 :  || cmp == EQ_EXPR)
    2109                 :     2162926 :  && !POINTER_TYPE_P (TREE_TYPE (captures[1]))
    2110                 :    12757131 :  && (TREE_CODE (TREE_TYPE (captures[1])) != BOOLEAN_TYPE
    2111                 :        1644 :  || TREE_CODE (TREE_TYPE (captures[3])) == BOOLEAN_TYPE)
    2112                 :             : )
    2113                 :             :         {
    2114                 :     2133058 :           if (TREE_CODE (captures[2]) == INTEGER_CST
    2115                 :             : )
    2116                 :             :             {
    2117                 :     2133058 :               if (TREE_SIDE_EFFECTS (captures[2])) goto next_after_fail658;
    2118                 :     2133058 :               if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail658;
    2119                 :     2133058 :               {
    2120                 :     2133058 :                 tree res_op0;
    2121                 :     2133058 :                 res_op0 = captures[1];
    2122                 :     2133058 :                 tree res_op1;
    2123                 :     2133058 :                 res_op1 =  force_fit_type (TREE_TYPE (captures[1]),
    2124                 :     2133058 :  wide_int::from (wi::to_wide (captures[2]),
    2125                 :     2133058 :  MAX (TYPE_PRECISION (TREE_TYPE (captures[2])),
    2126                 :             :  TYPE_PRECISION (TREE_TYPE (captures[1]))),
    2127                 :     2133058 :  TYPE_SIGN (TREE_TYPE (captures[2]))),
    2128                 :     2133058 :  0, TREE_OVERFLOW (captures[2]));
    2129                 :     2133058 :                 tree _r;
    2130                 :     2133058 :                 _r = fold_build2_loc (loc, cmp, type, res_op0, res_op1);
    2131                 :     2133058 :                 if (UNLIKELY (debug_dump)) generic_dump_logs ("match.pd", 448, __FILE__, __LINE__, true);
    2132                 :     2133058 :                 return _r;
    2133                 :             :               }
    2134                 :             : next_after_fail658:;
    2135                 :             :             }
    2136                 :             :           else
    2137                 :             :             {
    2138                 :           0 :               if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail659;
    2139                 :           0 :               {
    2140                 :           0 :                 tree res_op0;
    2141                 :           0 :                 res_op0 = captures[1];
    2142                 :           0 :                 tree res_op1;
    2143                 :           0 :                 {
    2144                 :           0 :                   tree _o1[1], _r1;
    2145                 :           0 :                   _o1[0] = captures[2];
    2146                 :           0 :                   if (TREE_TYPE (_o1[0]) != TREE_TYPE (res_op0))
    2147                 :             :                     {
    2148                 :           0 :                       _r1 = fold_build1_loc (loc, NOP_EXPR, TREE_TYPE (res_op0), _o1[0]);
    2149                 :             :                     }
    2150                 :             :                   else
    2151                 :             :                     _r1 = _o1[0];
    2152                 :           0 :                   res_op1 = _r1;
    2153                 :             :                 }
    2154                 :           0 :                 tree _r;
    2155                 :           0 :                 _r = fold_build2_loc (loc, cmp, type, res_op0, res_op1);
    2156                 :           0 :                 if (UNLIKELY (debug_dump)) generic_dump_logs ("match.pd", 449, __FILE__, __LINE__, true);
    2157                 :           0 :                 return _r;
    2158                 :             :               }
    2159                 :           0 : next_after_fail659:;
    2160                 :             :             }
    2161                 :             :         }
    2162                 :             :       else
    2163                 :             :         {
    2164                 :     8490987 :           if (TYPE_PRECISION (TREE_TYPE (captures[0])) > TYPE_PRECISION (TREE_TYPE (captures[1]))
    2165                 :             : )
    2166                 :             :             {
    2167                 :     4891384 :               if ((cmp == EQ_EXPR || cmp == NE_EXPR
    2168                 :     2430644 :  || TYPE_UNSIGNED (TREE_TYPE (captures[0])) == TYPE_UNSIGNED (TREE_TYPE (captures[1]))
    2169                 :      279810 :  || (!TYPE_UNSIGNED (TREE_TYPE (captures[0]))
    2170                 :      194045 :  && TYPE_UNSIGNED (TREE_TYPE (captures[1]))))
    2171                 :     7236263 :  && (types_match (TREE_TYPE (captures[3]), TREE_TYPE (captures[1]))
    2172                 :     4805601 :  || ((TYPE_PRECISION (TREE_TYPE (captures[1]))
    2173                 :     4805601 :  >= TYPE_PRECISION (TREE_TYPE (captures[3])))
    2174                 :           0 :  && (TYPE_UNSIGNED (TREE_TYPE (captures[1]))
    2175                 :           0 :  == TYPE_UNSIGNED (TREE_TYPE (captures[3]))))
    2176                 :     4805601 :  || (TREE_CODE (captures[2]) == INTEGER_CST
    2177                 :     3760708 :  && INTEGRAL_TYPE_P (TREE_TYPE (captures[1]))
    2178                 :     3760708 :  && int_fits_type_p (captures[2], TREE_TYPE (captures[1]))))
    2179                 :             : )
    2180                 :             :                 {
    2181                 :     3727078 :                   if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail660;
    2182                 :     3727078 :                   {
    2183                 :     3727078 :                     tree res_op0;
    2184                 :     3727078 :                     res_op0 = captures[1];
    2185                 :     3727078 :                     tree res_op1;
    2186                 :     3727078 :                     {
    2187                 :     3727078 :                       tree _o1[1], _r1;
    2188                 :     3727078 :                       _o1[0] = captures[3];
    2189                 :     3727078 :                       if (TREE_TYPE (_o1[0]) != TREE_TYPE (res_op0))
    2190                 :             :                         {
    2191                 :     3727060 :                           _r1 = fold_build1_loc (loc, NOP_EXPR, TREE_TYPE (res_op0), _o1[0]);
    2192                 :             :                         }
    2193                 :             :                       else
    2194                 :             :                         _r1 = _o1[0];
    2195                 :     3727078 :                       res_op1 = _r1;
    2196                 :             :                     }
    2197                 :     3727078 :                     tree _r;
    2198                 :     3727078 :                     _r = fold_build2_loc (loc, cmp, type, res_op0, res_op1);
    2199                 :     3727078 :                     if (UNLIKELY (debug_dump)) generic_dump_logs ("match.pd", 450, __FILE__, __LINE__, true);
    2200                 :     3727078 :                     return _r;
    2201                 :             :                   }
    2202                 :           0 : next_after_fail660:;
    2203                 :             :                 }
    2204                 :             :               else
    2205                 :             :                 {
    2206                 :     1164306 :                   if (TREE_CODE (captures[2]) == INTEGER_CST
    2207                 :       83652 :  && INTEGRAL_TYPE_P (TREE_TYPE (captures[1]))
    2208                 :     1247958 :  && !int_fits_type_p (captures[2], TREE_TYPE (captures[1]))
    2209                 :             : )
    2210                 :             :                     {
    2211                 :       36832 :                       {
    2212                 :       36832 :  tree min = lower_bound_in_type (TREE_TYPE (captures[3]), TREE_TYPE (captures[1]));
    2213                 :       36832 :  tree max = upper_bound_in_type (TREE_TYPE (captures[3]), TREE_TYPE (captures[1]));
    2214                 :       36832 :  bool above = integer_nonzerop (const_binop (LT_EXPR, type, max, captures[2]));
    2215                 :       36832 :  bool below = integer_nonzerop (const_binop (LT_EXPR, type, captures[2], min));
    2216                 :       36832 :                           if (above || below
    2217                 :             : )
    2218                 :             :                             {
    2219                 :       30552 :                               if (cmp == EQ_EXPR || cmp == NE_EXPR
    2220                 :             : )
    2221                 :             :                                 {
    2222                 :       24434 :                                   if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail661;
    2223                 :       24434 :                                   {
    2224                 :       24434 :                                     tree _r;
    2225                 :       24434 :                                     _r =  constant_boolean_node (cmp == EQ_EXPR ? false : true, type);
    2226                 :       24434 :                                     if (TREE_SIDE_EFFECTS (captures[1]))
    2227                 :          10 :                                       _r = build2_loc (loc, COMPOUND_EXPR, type, fold_ignored_result (captures[1]), _r);
    2228                 :       24434 :                                     if (TREE_SIDE_EFFECTS (captures[2]))
    2229                 :           0 :                                       _r = build2_loc (loc, COMPOUND_EXPR, type, fold_ignored_result (captures[2]), _r);
    2230                 :       24434 :                                     if (UNLIKELY (debug_dump)) generic_dump_logs ("match.pd", 451, __FILE__, __LINE__, true);
    2231                 :       24434 :                                     return _r;
    2232                 :             :                                   }
    2233                 :           0 : next_after_fail661:;
    2234                 :             :                                 }
    2235                 :             :                               else
    2236                 :             :                                 {
    2237                 :        6118 :                                   if (cmp == LT_EXPR || cmp == LE_EXPR
    2238                 :             : )
    2239                 :             :                                     {
    2240                 :        5462 :                                       if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail662;
    2241                 :        5462 :                                       {
    2242                 :        5462 :                                         tree _r;
    2243                 :        5462 :                                         _r =  constant_boolean_node (above ? true : false, type);
    2244                 :        5462 :                                         if (TREE_SIDE_EFFECTS (captures[1]))
    2245                 :          10 :                                           _r = build2_loc (loc, COMPOUND_EXPR, type, fold_ignored_result (captures[1]), _r);
    2246                 :        5462 :                                         if (TREE_SIDE_EFFECTS (captures[2]))
    2247                 :           0 :                                           _r = build2_loc (loc, COMPOUND_EXPR, type, fold_ignored_result (captures[2]), _r);
    2248                 :        5462 :                                         if (UNLIKELY (debug_dump)) generic_dump_logs ("match.pd", 452, __FILE__, __LINE__, true);
    2249                 :        5462 :                                         return _r;
    2250                 :             :                                       }
    2251                 :           0 : next_after_fail662:;
    2252                 :             :                                     }
    2253                 :             :                                   else
    2254                 :             :                                     {
    2255                 :         656 :                                       if (cmp == GT_EXPR || cmp == GE_EXPR
    2256                 :             : )
    2257                 :             :                                         {
    2258                 :         656 :                                           if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail663;
    2259                 :         656 :                                           {
    2260                 :         656 :                                             tree _r;
    2261                 :         919 :                                             _r =  constant_boolean_node (above ? false : true, type);
    2262                 :         656 :                                             if (TREE_SIDE_EFFECTS (captures[1]))
    2263                 :           4 :                                               _r = build2_loc (loc, COMPOUND_EXPR, type, fold_ignored_result (captures[1]), _r);
    2264                 :         656 :                                             if (TREE_SIDE_EFFECTS (captures[2]))
    2265                 :           0 :                                               _r = build2_loc (loc, COMPOUND_EXPR, type, fold_ignored_result (captures[2]), _r);
    2266                 :         656 :                                             if (UNLIKELY (debug_dump)) generic_dump_logs ("match.pd", 453, __FILE__, __LINE__, true);
    2267                 :         656 :                                             return _r;
    2268                 :             :                                           }
    2269                 :           0 : next_after_fail663:;
    2270                 :             :                                         }
    2271                 :             :                                     }
    2272                 :             :                                 }
    2273                 :             :                             }
    2274                 :             :                       }
    2275                 :             :                     }
    2276                 :             :                 }
    2277                 :             :             }
    2278                 :             :         }
    2279                 :             :     }
    2280                 :             :   else
    2281                 :             :     {
    2282                 :     7236645 :       if (FLOAT_TYPE_P (TREE_TYPE (captures[1]))
    2283                 :     1187272 :  && (DECIMAL_FLOAT_TYPE_P (TREE_TYPE (captures[0]))
    2284                 :      593636 :  == DECIMAL_FLOAT_TYPE_P (TREE_TYPE (captures[1])))
    2285                 :     5095440 :  && (DECIMAL_FLOAT_TYPE_P (TREE_TYPE (captures[0]))
    2286                 :      593517 :  == DECIMAL_FLOAT_TYPE_P (TREE_TYPE (captures[3])))
    2287                 :             : )
    2288                 :             :         {
    2289                 :      593517 :           {
    2290                 :      593517 :  tree type1 = TREE_TYPE (captures[3]);
    2291                 :      593517 :  if (TREE_CODE (captures[3]) == REAL_CST && !DECIMAL_FLOAT_TYPE_P (type1))
    2292                 :             :  {
    2293                 :      381359 :  REAL_VALUE_TYPE orig = TREE_REAL_CST (captures[3]);
    2294                 :      381359 :  if (TYPE_PRECISION (type1) > TYPE_PRECISION (float_type_node)
    2295                 :      381359 :  && exact_real_truncate (TYPE_MODE (float_type_node), &orig))
    2296                 :      186511 :  type1 = float_type_node;
    2297                 :      381359 :  if (TYPE_PRECISION (type1) > TYPE_PRECISION (double_type_node)
    2298                 :      381359 :  && exact_real_truncate (TYPE_MODE (double_type_node), &orig))
    2299                 :         292 :  type1 = double_type_node;
    2300                 :             :  }
    2301                 :      593517 :  tree newtype
    2302                 :      593517 :  = (element_precision (TREE_TYPE (captures[1])) > element_precision (type1)
    2303                 :      593517 :  ? TREE_TYPE (captures[1]) : type1);
    2304                 :      593517 :               if (element_precision (TREE_TYPE (captures[0])) > element_precision (newtype)
    2305                 :      593517 :  && (!VECTOR_TYPE_P (type) || is_truth_type_for (newtype, type))
    2306                 :             : )
    2307                 :             :                 {
    2308                 :       44475 :                   if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail664;
    2309                 :       44475 :                   {
    2310                 :       44475 :                     tree res_op0;
    2311                 :       44475 :                     {
    2312                 :       44475 :                       tree _o1[1], _r1;
    2313                 :       44475 :                       _o1[0] = captures[1];
    2314                 :       44475 :                       if (TREE_TYPE (_o1[0]) != newtype)
    2315                 :             :                         {
    2316                 :       11424 :                           _r1 = fold_build1_loc (loc, NOP_EXPR, newtype, _o1[0]);
    2317                 :             :                         }
    2318                 :             :                       else
    2319                 :             :                         _r1 = _o1[0];
    2320                 :       44475 :                       res_op0 = _r1;
    2321                 :             :                     }
    2322                 :       44475 :                     tree res_op1;
    2323                 :       44475 :                     {
    2324                 :       44475 :                       tree _o1[1], _r1;
    2325                 :       44475 :                       _o1[0] = captures[3];
    2326                 :       44475 :                       if (TREE_TYPE (_o1[0]) != newtype)
    2327                 :             :                         {
    2328                 :       44475 :                           _r1 = fold_build1_loc (loc, NOP_EXPR, newtype, _o1[0]);
    2329                 :             :                         }
    2330                 :             :                       else
    2331                 :             :                         _r1 = _o1[0];
    2332                 :       44475 :                       res_op1 = _r1;
    2333                 :             :                     }
    2334                 :       44475 :                     tree _r;
    2335                 :       44475 :                     _r = fold_build2_loc (loc, cmp, type, res_op0, res_op1);
    2336                 :       44475 :                     if (UNLIKELY (debug_dump)) generic_dump_logs ("match.pd", 454, __FILE__, __LINE__, true);
    2337                 :       44475 :                     return _r;
    2338                 :             :                   }
    2339                 :           0 : next_after_fail664:;
    2340                 :             :                 }
    2341                 :             :           }
    2342                 :             :         }
    2343                 :             :     }
    2344                 :             :   return NULL_TREE;
    2345                 :             : }
    2346                 :             : 
    2347                 :             : tree
    2348                 :           0 : generic_simplify_288 (location_t ARG_UNUSED (loc), const tree ARG_UNUSED (type),
    2349                 :             :  tree ARG_UNUSED (_p0), tree ARG_UNUSED (_p1), tree *ARG_UNUSED (captures),
    2350                 :             :  const enum tree_code ARG_UNUSED (op),
    2351                 :             :  const enum tree_code ARG_UNUSED (cmp))
    2352                 :             : {
    2353                 :           0 :   const bool debug_dump = dump_file && (dump_flags & TDF_FOLDING);
    2354                 :           0 :   if (integer_zerop (captures[3]) && single_use (captures[0])
    2355                 :             : )
    2356                 :             :     {
    2357                 :           0 :       {
    2358                 :           0 :  tree type0 = TREE_TYPE (captures[1]);
    2359                 :           0 :  tree stype = signed_type_for (TREE_TYPE (captures[1]));
    2360                 :           0 :  if (integer_zerop (captures[2]))
    2361                 :             :  stype = NULL_TREE;
    2362                 :           0 :           if (stype
    2363                 :             : )
    2364                 :             :             {
    2365                 :           0 :               if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail721;
    2366                 :           0 :               {
    2367                 :           0 :                 tree res_op0;
    2368                 :           0 :                 {
    2369                 :           0 :                   tree _o1[1], _r1;
    2370                 :           0 :                   _o1[0] = captures[1];
    2371                 :           0 :                   if (TREE_TYPE (_o1[0]) != stype)
    2372                 :             :                     {
    2373                 :           0 :                       _r1 = fold_build1_loc (loc, NOP_EXPR, stype, _o1[0]);
    2374                 :             :                     }
    2375                 :             :                   else
    2376                 :             :                     _r1 = _o1[0];
    2377                 :           0 :                   res_op0 = _r1;
    2378                 :             :                 }
    2379                 :           0 :                 tree res_op1;
    2380                 :           0 :                 res_op1 =  build_zero_cst (stype);
    2381                 :           0 :                 tree _r;
    2382                 :           0 :                 _r = fold_build2_loc (loc, cmp, type, res_op0, res_op1);
    2383                 :           0 :                 if (TREE_SIDE_EFFECTS (captures[2]))
    2384                 :           0 :                   _r = build2_loc (loc, COMPOUND_EXPR, type, fold_ignored_result (captures[2]), _r);
    2385                 :           0 :                 if (TREE_SIDE_EFFECTS (captures[3]))
    2386                 :           0 :                   _r = build2_loc (loc, COMPOUND_EXPR, type, fold_ignored_result (captures[3]), _r);
    2387                 :           0 :                 if (UNLIKELY (debug_dump)) generic_dump_logs ("match.pd", 501, __FILE__, __LINE__, true);
    2388                 :           0 :                 return _r;
    2389                 :             :               }
    2390                 :           0 : next_after_fail721:;
    2391                 :             :             }
    2392                 :             :       }
    2393                 :             :     }
    2394                 :             :   else
    2395                 :             :     {
    2396                 :           0 :       {
    2397                 :           0 :  bool ok = true;
    2398                 :           0 :  tree type0 = TREE_TYPE (captures[1]);
    2399                 :           0 :  if (wi::to_widest (captures[2]) == TYPE_PRECISION (type0) - 1)
    2400                 :             :  ok = false;
    2401                 :           0 :           if (ok && wi::to_wide (captures[3]) == (TYPE_PRECISION (type0) - 1)
    2402                 :             : )
    2403                 :             :             {
    2404                 :           0 :               if (TREE_SIDE_EFFECTS (captures[2])) goto next_after_fail722;
    2405                 :           0 :               if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail722;
    2406                 :           0 :               {
    2407                 :           0 :                 tree res_op0;
    2408                 :           0 :                 res_op0 = captures[1];
    2409                 :           0 :                 tree res_op1;
    2410                 :           0 :                 res_op1 =  build_one_cst (type0);
    2411                 :           0 :                 tree _r;
    2412                 :           0 :                 _r = fold_build2_loc (loc, op, type, res_op0, res_op1);
    2413                 :           0 :                 if (TREE_SIDE_EFFECTS (captures[3]))
    2414                 :           0 :                   _r = build2_loc (loc, COMPOUND_EXPR, type, fold_ignored_result (captures[3]), _r);
    2415                 :           0 :                 if (UNLIKELY (debug_dump)) generic_dump_logs ("match.pd", 502, __FILE__, __LINE__, true);
    2416                 :           0 :                 return _r;
    2417                 :             :               }
    2418                 :             : next_after_fail722:;
    2419                 :             :             }
    2420                 :             :       }
    2421                 :             :     }
    2422                 :             :   return NULL_TREE;
    2423                 :             : }
    2424                 :             : 
    2425                 :             : tree
    2426                 :           0 : generic_simplify_298 (location_t ARG_UNUSED (loc), const tree ARG_UNUSED (type),
    2427                 :             :  tree ARG_UNUSED (_p0), tree ARG_UNUSED (_p1), tree *ARG_UNUSED (captures),
    2428                 :             :  const combined_fn ARG_UNUSED (COPYSIGN_ALL))
    2429                 :             : {
    2430                 :           0 :   const bool debug_dump = dump_file && (dump_flags & TDF_FOLDING);
    2431                 :           0 :   if (REAL_VALUE_NEGATIVE (TREE_REAL_CST (captures[0]))
    2432                 :             : )
    2433                 :             :     {
    2434                 :           0 :       if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail737;
    2435                 :           0 :       {
    2436                 :           0 :         tree res_op0;
    2437                 :           0 :         {
    2438                 :           0 :           tree _o1[1], _r1;
    2439                 :           0 :           _o1[0] = captures[0];
    2440                 :           0 :           _r1 = fold_build1_loc (loc, NEGATE_EXPR, TREE_TYPE (_o1[0]), _o1[0]);
    2441                 :           0 :           res_op0 = _r1;
    2442                 :             :         }
    2443                 :           0 :         tree res_op1;
    2444                 :           0 :         res_op1 = captures[1];
    2445                 :           0 :         tree _r;
    2446                 :           0 :         _r = maybe_build_call_expr_loc (loc, COPYSIGN_ALL, type, 2, res_op0, res_op1);
    2447                 :           0 :         if (!_r)
    2448                 :           0 :           goto next_after_fail737;
    2449                 :           0 :         if (UNLIKELY (debug_dump)) generic_dump_logs ("match.pd", 517, __FILE__, __LINE__, true);
    2450                 :           0 :         return _r;
    2451                 :             :       }
    2452                 :             : next_after_fail737:;
    2453                 :             :     }
    2454                 :             :   return NULL_TREE;
    2455                 :             : }
    2456                 :             : 
    2457                 :             : tree
    2458                 :          23 : generic_simplify_305 (location_t ARG_UNUSED (loc), const tree ARG_UNUSED (type),
    2459                 :             :  tree ARG_UNUSED (_p0), tree ARG_UNUSED (_p1), tree *ARG_UNUSED (captures),
    2460                 :             :  const enum tree_code ARG_UNUSED (div))
    2461                 :             : {
    2462                 :          23 :   const bool debug_dump = dump_file && (dump_flags & TDF_FOLDING);
    2463                 :          30 :   if ((TYPE_UNSIGNED (type) || tree_expr_nonnegative_p (captures[0]))
    2464                 :          16 :  && (!VECTOR_TYPE_P (type)
    2465                 :           0 :  || target_supports_op_p (type, RSHIFT_EXPR, optab_vector)
    2466                 :           0 :  || target_supports_op_p (type, RSHIFT_EXPR, optab_scalar))
    2467                 :          39 :  && (useless_type_conversion_p (type, TREE_TYPE (captures[2]))
    2468                 :           7 :  || (element_precision (type) >= element_precision (TREE_TYPE (captures[2]))
    2469                 :           7 :  && (TYPE_UNSIGNED (TREE_TYPE (captures[2]))
    2470                 :          14 :  || (element_precision (type)
    2471                 :           7 :  == element_precision (TREE_TYPE (captures[2])))
    2472                 :           7 :  || (INTEGRAL_TYPE_P (type)
    2473                 :          14 :  && (tree_nonzero_bits (captures[0])
    2474                 :          44 :  & wi::mask (element_precision (TREE_TYPE (captures[2])) - 1,
    2475                 :             :  true,
    2476                 :          37 :  element_precision (type))) == 0))))
    2477                 :             : )
    2478                 :             :     {
    2479                 :           9 :       if (!VECTOR_TYPE_P (type)
    2480                 :           9 :  && useless_type_conversion_p (TREE_TYPE (captures[1]), TREE_TYPE (captures[2]))
    2481                 :          18 :  && element_precision (TREE_TYPE (captures[1])) < element_precision (type)
    2482                 :             : )
    2483                 :             :         {
    2484                 :           0 :           if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail745;
    2485                 :           0 :           {
    2486                 :           0 :             tree res_op0;
    2487                 :           0 :             {
    2488                 :           0 :               tree _o1[2], _r1;
    2489                 :           0 :               _o1[0] = captures[1];
    2490                 :           0 :               _o1[1] = captures[3];
    2491                 :           0 :               _r1 = fold_build2_loc (loc, RSHIFT_EXPR, TREE_TYPE (_o1[0]), _o1[0], _o1[1]);
    2492                 :           0 :               res_op0 = _r1;
    2493                 :             :             }
    2494                 :           0 :             tree _r;
    2495                 :           0 :             _r = fold_build1_loc (loc, NOP_EXPR, type, res_op0);
    2496                 :           0 :             if (TREE_SIDE_EFFECTS (captures[2]))
    2497                 :           0 :               _r = build2_loc (loc, COMPOUND_EXPR, type, fold_ignored_result (captures[2]), _r);
    2498                 :           0 :             if (UNLIKELY (debug_dump)) generic_dump_logs ("match.pd", 523, __FILE__, __LINE__, true);
    2499                 :           0 :             return _r;
    2500                 :             :           }
    2501                 :           0 : next_after_fail745:;
    2502                 :             :         }
    2503                 :             :       else
    2504                 :             :         {
    2505                 :           9 :           if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail746;
    2506                 :           9 :           {
    2507                 :           9 :             tree res_op0;
    2508                 :           9 :             res_op0 = captures[0];
    2509                 :           9 :             tree res_op1;
    2510                 :           9 :             res_op1 = captures[3];
    2511                 :           9 :             tree _r;
    2512                 :           9 :             _r = fold_build2_loc (loc, RSHIFT_EXPR, type, res_op0, res_op1);
    2513                 :           9 :             if (TREE_SIDE_EFFECTS (captures[2]))
    2514                 :           0 :               _r = build2_loc (loc, COMPOUND_EXPR, type, fold_ignored_result (captures[2]), _r);
    2515                 :           9 :             if (UNLIKELY (debug_dump)) generic_dump_logs ("match.pd", 524, __FILE__, __LINE__, true);
    2516                 :           9 :             return _r;
    2517                 :             :           }
    2518                 :           0 : next_after_fail746:;
    2519                 :             :         }
    2520                 :             :     }
    2521                 :             :   return NULL_TREE;
    2522                 :             : }
    2523                 :             : 
    2524                 :             : tree
    2525                 :         225 : generic_simplify_321 (location_t ARG_UNUSED (loc), const tree ARG_UNUSED (type),
    2526                 :             :  tree ARG_UNUSED (_p0), tree ARG_UNUSED (_p1), tree *ARG_UNUSED (captures),
    2527                 :             :  const enum tree_code ARG_UNUSED (mod))
    2528                 :             : {
    2529                 :         225 :   const bool debug_dump = dump_file && (dump_flags & TDF_FOLDING);
    2530                 :         225 :   if (!integer_zerop (captures[0])
    2531                 :             : )
    2532                 :             :     {
    2533                 :          93 :       if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail763;
    2534                 :          93 :       {
    2535                 :          93 :         tree _r;
    2536                 :          93 :         _r =  build_zero_cst (type);
    2537                 :          93 :         if (TREE_SIDE_EFFECTS (captures[0]))
    2538                 :           0 :           _r = build2_loc (loc, COMPOUND_EXPR, type, fold_ignored_result (captures[0]), _r);
    2539                 :          93 :         if (UNLIKELY (debug_dump)) generic_dump_logs ("match.pd", 541, __FILE__, __LINE__, true);
    2540                 :          93 :         return _r;
    2541                 :             :       }
    2542                 :           0 : next_after_fail763:;
    2543                 :             :     }
    2544                 :             :   return NULL_TREE;
    2545                 :             : }
    2546                 :             : 
    2547                 :             : tree
    2548                 :           6 : generic_simplify_328 (location_t ARG_UNUSED (loc), const tree ARG_UNUSED (type),
    2549                 :             :  tree ARG_UNUSED (_p0), tree ARG_UNUSED (_p1), tree *ARG_UNUSED (captures),
    2550                 :             :  const combined_fn ARG_UNUSED (SIN),
    2551                 :             :  const combined_fn ARG_UNUSED (COS),
    2552                 :             :  const combined_fn ARG_UNUSED (TAN))
    2553                 :             : {
    2554                 :           6 :   const bool debug_dump = dump_file && (dump_flags & TDF_FOLDING);
    2555                 :           6 :   if (flag_unsafe_math_optimizations && canonicalize_math_p ()
    2556                 :             : )
    2557                 :             :     {
    2558                 :           6 :       if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail772;
    2559                 :           6 :       {
    2560                 :           6 :         tree res_op0;
    2561                 :           6 :         res_op0 = captures[1];
    2562                 :           6 :         tree _r;
    2563                 :           6 :         _r = maybe_build_call_expr_loc (loc, TAN, type, 1, res_op0);
    2564                 :           6 :         if (!_r)
    2565                 :           0 :           goto next_after_fail772;
    2566                 :           6 :         if (UNLIKELY (debug_dump)) generic_dump_logs ("match.pd", 550, __FILE__, __LINE__, true);
    2567                 :           6 :         return _r;
    2568                 :             :       }
    2569                 :             : next_after_fail772:;
    2570                 :             :     }
    2571                 :             :   return NULL_TREE;
    2572                 :             : }
    2573                 :             : 
    2574                 :             : tree
    2575                 :          24 : generic_simplify_335 (location_t ARG_UNUSED (loc), const tree ARG_UNUSED (type),
    2576                 :             :  tree ARG_UNUSED (_p0), tree ARG_UNUSED (_p1), tree *ARG_UNUSED (captures),
    2577                 :             :  const combined_fn ARG_UNUSED (POW))
    2578                 :             : {
    2579                 :          24 :   const bool debug_dump = dump_file && (dump_flags & TDF_FOLDING);
    2580                 :          24 :   if (flag_unsafe_math_optimizations && canonicalize_math_p ()
    2581                 :             : )
    2582                 :             :     {
    2583                 :           6 :       if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail779;
    2584                 :           6 :       {
    2585                 :           6 :         tree res_op0;
    2586                 :           6 :         res_op0 = captures[0];
    2587                 :           6 :         tree res_op1;
    2588                 :           6 :         {
    2589                 :           6 :           tree _o1[2], _r1;
    2590                 :           6 :           _o1[0] = captures[2];
    2591                 :           6 :           {
    2592                 :           6 :             tree _o2[1], _r2;
    2593                 :           6 :             _o2[0] = captures[3];
    2594                 :           6 :             _r2 = fold_build1_loc (loc, NEGATE_EXPR, TREE_TYPE (_o2[0]), _o2[0]);
    2595                 :           6 :             _o1[1] = _r2;
    2596                 :             :           }
    2597                 :           6 :           _r1 = maybe_build_call_expr_loc (loc, POW, TREE_TYPE (_o1[0]), 2, _o1[0], _o1[1]);
    2598                 :           6 :           if (!_r1)
    2599                 :           0 :             goto next_after_fail779;
    2600                 :           6 :           res_op1 = _r1;
    2601                 :             :         }
    2602                 :           6 :         tree _r;
    2603                 :           6 :         _r = fold_build2_loc (loc, MULT_EXPR, type, res_op0, res_op1);
    2604                 :           6 :         if (UNLIKELY (debug_dump)) generic_dump_logs ("match.pd", 557, __FILE__, __LINE__, true);
    2605                 :           6 :         return _r;
    2606                 :             :       }
    2607                 :             : next_after_fail779:;
    2608                 :             :     }
    2609                 :             :   return NULL_TREE;
    2610                 :             : }
    2611                 :             : 
    2612                 :             : tree
    2613                 :        1677 : generic_simplify_343 (location_t ARG_UNUSED (loc), const tree ARG_UNUSED (type),
    2614                 :             :  tree ARG_UNUSED (_p0), tree ARG_UNUSED (_p1), tree ARG_UNUSED (_p2), tree *ARG_UNUSED (captures))
    2615                 :             : {
    2616                 :        1677 :   const bool debug_dump = dump_file && (dump_flags & TDF_FOLDING);
    2617                 :        1677 :   if (INTEGRAL_TYPE_P (type)
    2618                 :             : )
    2619                 :             :     {
    2620                 :        1677 :       {
    2621                 :        1677 :  tree itype = TREE_TYPE (captures[2]);
    2622                 :        1677 :           if (TREE_SIDE_EFFECTS (_p0)) goto next_after_fail793;
    2623                 :        1677 :           if (TREE_SIDE_EFFECTS (_p1)) goto next_after_fail793;
    2624                 :        1677 :           if (TREE_SIDE_EFFECTS (_p2)) goto next_after_fail793;
    2625                 :        1677 :           if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail793;
    2626                 :        1677 :           {
    2627                 :        1677 :             tree res_op0;
    2628                 :        1677 :             {
    2629                 :        1677 :               tree _o1[2], _r1;
    2630                 :        1677 :               _o1[0] = captures[2];
    2631                 :        1677 :               {
    2632                 :        1677 :                 tree _o2[1], _r2;
    2633                 :        1677 :                 _o2[0] = captures[0];
    2634                 :        1677 :                 if (TREE_TYPE (_o2[0]) != itype)
    2635                 :             :                   {
    2636                 :        1676 :                     _r2 = fold_build1_loc (loc, NOP_EXPR, itype, _o2[0]);
    2637                 :             :                   }
    2638                 :             :                 else
    2639                 :             :                   _r2 = _o2[0];
    2640                 :        1677 :                 _o1[1] = _r2;
    2641                 :             :               }
    2642                 :        1677 :               _r1 = fold_build2_loc (loc, MINUS_EXPR, TREE_TYPE (_o1[0]), _o1[0], _o1[1]);
    2643                 :        1677 :               res_op0 = _r1;
    2644                 :             :             }
    2645                 :        1677 :             tree _r;
    2646                 :        1677 :             _r = fold_build1_loc (loc, NOP_EXPR, type, res_op0);
    2647                 :        1677 :             if (UNLIKELY (debug_dump)) generic_dump_logs ("match.pd", 571, __FILE__, __LINE__, true);
    2648                 :        1677 :             return _r;
    2649                 :             :           }
    2650                 :             : next_after_fail793:;
    2651                 :             :       }
    2652                 :             :     }
    2653                 :             :   return NULL_TREE;
    2654                 :             : }
    2655                 :             : 
    2656                 :             : tree
    2657                 :         164 : generic_simplify_347 (location_t ARG_UNUSED (loc), const tree ARG_UNUSED (type),
    2658                 :             :  tree ARG_UNUSED (_p0), tree ARG_UNUSED (_p1), tree ARG_UNUSED (_p2), tree *ARG_UNUSED (captures),
    2659                 :             :  const enum tree_code ARG_UNUSED (op))
    2660                 :             : {
    2661                 :         164 :   const bool debug_dump = dump_file && (dump_flags & TDF_FOLDING);
    2662                 :         164 :   if (bitwise_equal_p (captures[0], captures[3])
    2663                 :         164 :  && expr_no_side_effects_p (captures[2])
    2664                 :             : )
    2665                 :             :     {
    2666                 :           1 :       if (TREE_SIDE_EFFECTS (_p0)) goto next_after_fail797;
    2667                 :           1 :       if (TREE_SIDE_EFFECTS (_p1)) goto next_after_fail797;
    2668                 :           1 :       if (TREE_SIDE_EFFECTS (_p2)) goto next_after_fail797;
    2669                 :           1 :       if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail797;
    2670                 :           1 :       {
    2671                 :           1 :         tree _r;
    2672                 :           1 :         _r = captures[1];
    2673                 :           1 :         if (UNLIKELY (debug_dump)) generic_dump_logs ("match.pd", 574, __FILE__, __LINE__, true);
    2674                 :           1 :         return _r;
    2675                 :             :       }
    2676                 :             : next_after_fail797:;
    2677                 :             :     }
    2678                 :             :   return NULL_TREE;
    2679                 :             : }
    2680                 :             : 
    2681                 :             : tree
    2682                 :           0 : generic_simplify_354 (location_t ARG_UNUSED (loc), const tree ARG_UNUSED (type),
    2683                 :             :  tree ARG_UNUSED (_p0), tree ARG_UNUSED (_p1), tree ARG_UNUSED (_p2), tree *ARG_UNUSED (captures),
    2684                 :             :  const enum tree_code ARG_UNUSED (op))
    2685                 :             : {
    2686                 :           0 :   const bool debug_dump = dump_file && (dump_flags & TDF_FOLDING);
    2687                 :           0 :   if (TREE_SIDE_EFFECTS (_p0)) goto next_after_fail804;
    2688                 :           0 :   if (TREE_SIDE_EFFECTS (_p2)) goto next_after_fail804;
    2689                 :           0 :   if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail804;
    2690                 :           0 :   {
    2691                 :           0 :     tree _r;
    2692                 :           0 :     _r = captures[2];
    2693                 :           0 :     if (UNLIKELY (debug_dump)) generic_dump_logs ("match.pd", 581, __FILE__, __LINE__, true);
    2694                 :             :     return _r;
    2695                 :             :   }
    2696                 :             : next_after_fail804:;
    2697                 :             :   return NULL_TREE;
    2698                 :             : }
    2699                 :             : 
    2700                 :             : tree
    2701                 :           0 : generic_simplify_360 (location_t ARG_UNUSED (loc), const tree ARG_UNUSED (type),
    2702                 :             :  tree ARG_UNUSED (_p0), tree ARG_UNUSED (_p1), tree ARG_UNUSED (_p2), tree *ARG_UNUSED (captures),
    2703                 :             :  const enum tree_code ARG_UNUSED (cmp))
    2704                 :             : {
    2705                 :           0 :   const bool debug_dump = dump_file && (dump_flags & TDF_FOLDING);
    2706                 :           0 :   if (TREE_SIDE_EFFECTS (_p0)) goto next_after_fail811;
    2707                 :           0 :   if (TREE_SIDE_EFFECTS (_p1)) goto next_after_fail811;
    2708                 :           0 :   if (TREE_SIDE_EFFECTS (_p2)) goto next_after_fail811;
    2709                 :           0 :   if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail811;
    2710                 :           0 :   {
    2711                 :           0 :     tree _r;
    2712                 :           0 :     _r = captures[0];
    2713                 :           0 :     if (UNLIKELY (debug_dump)) generic_dump_logs ("match.pd", 588, __FILE__, __LINE__, true);
    2714                 :             :     return _r;
    2715                 :             :   }
    2716                 :             : next_after_fail811:;
    2717                 :             :   return NULL_TREE;
    2718                 :             : }
    2719                 :             : 
    2720                 :             : tree
    2721                 :         124 : generic_simplify_367 (location_t ARG_UNUSED (loc), const tree ARG_UNUSED (type),
    2722                 :             :  tree ARG_UNUSED (_p0), tree ARG_UNUSED (_p1), tree *ARG_UNUSED (captures),
    2723                 :             :  const enum tree_code ARG_UNUSED (cmp))
    2724                 :             : {
    2725                 :         124 :   const bool debug_dump = dump_file && (dump_flags & TDF_FOLDING);
    2726                 :         212 :   if (INTEGRAL_TYPE_P (TREE_TYPE (captures[1]))
    2727                 :         124 :  && tree_expr_nonzero_p (captures[0])
    2728                 :         168 :  && tree_expr_nonnegative_p (captures[0])
    2729                 :             : )
    2730                 :             :     {
    2731                 :          12 :       if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail821;
    2732                 :          12 :       {
    2733                 :          12 :         tree _r;
    2734                 :          12 :         _r =  build_zero_cst (type);
    2735                 :          12 :         if (TREE_SIDE_EFFECTS (captures[0]))
    2736                 :           0 :           _r = build2_loc (loc, COMPOUND_EXPR, type, fold_ignored_result (captures[0]), _r);
    2737                 :          12 :         if (TREE_SIDE_EFFECTS (captures[1]))
    2738                 :           0 :           _r = build2_loc (loc, COMPOUND_EXPR, type, fold_ignored_result (captures[1]), _r);
    2739                 :          12 :         if (UNLIKELY (debug_dump)) generic_dump_logs ("match.pd", 597, __FILE__, __LINE__, true);
    2740                 :          12 :         return _r;
    2741                 :             :       }
    2742                 :           0 : next_after_fail821:;
    2743                 :             :     }
    2744                 :             :   return NULL_TREE;
    2745                 :             : }
    2746                 :             : 
    2747                 :             : tree
    2748                 :       82083 : generic_simplify_372 (location_t ARG_UNUSED (loc), const tree ARG_UNUSED (type),
    2749                 :             :  tree ARG_UNUSED (_p0), tree ARG_UNUSED (_p1), tree *ARG_UNUSED (captures),
    2750                 :             :  const enum tree_code ARG_UNUSED (op))
    2751                 :             : {
    2752                 :       82083 :   const bool debug_dump = dump_file && (dump_flags & TDF_FOLDING);
    2753                 :      164166 :   if (INTEGRAL_TYPE_P (TREE_TYPE (captures[1]))
    2754                 :       82083 :  && TYPE_UNSIGNED (TREE_TYPE (captures[1]))
    2755                 :      164166 :  && wi::only_sign_bit_p (wi::to_wide (captures[1]))
    2756                 :             : )
    2757                 :             :     {
    2758                 :           5 :       {
    2759                 :           5 :  tree stype = signed_type_for (TREE_TYPE (captures[1]));
    2760                 :           5 :           if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail827;
    2761                 :           5 :           {
    2762                 :           5 :             tree res_op0;
    2763                 :           5 :             {
    2764                 :           5 :               tree _o1[1], _r1;
    2765                 :           5 :               _o1[0] = captures[0];
    2766                 :           5 :               if (TREE_TYPE (_o1[0]) != stype)
    2767                 :             :                 {
    2768                 :           5 :                   _r1 = fold_build1_loc (loc, NOP_EXPR, stype, _o1[0]);
    2769                 :             :                 }
    2770                 :             :               else
    2771                 :             :                 _r1 = _o1[0];
    2772                 :           5 :               res_op0 = _r1;
    2773                 :             :             }
    2774                 :           5 :             tree res_op1;
    2775                 :           5 :             {
    2776                 :           5 :               tree _o1[1], _r1;
    2777                 :           5 :               _o1[0] = captures[2];
    2778                 :           5 :               if (TREE_TYPE (_o1[0]) != stype)
    2779                 :             :                 {
    2780                 :           5 :                   _r1 = fold_build1_loc (loc, NOP_EXPR, stype, _o1[0]);
    2781                 :             :                 }
    2782                 :             :               else
    2783                 :             :                 _r1 = _o1[0];
    2784                 :           5 :               res_op1 = _r1;
    2785                 :             :             }
    2786                 :           5 :             tree _r;
    2787                 :           5 :             _r = fold_build2_loc (loc, op, type, res_op0, res_op1);
    2788                 :           5 :             if (TREE_SIDE_EFFECTS (captures[1]))
    2789                 :           0 :               _r = build2_loc (loc, COMPOUND_EXPR, type, fold_ignored_result (captures[1]), _r);
    2790                 :           5 :             if (UNLIKELY (debug_dump)) generic_dump_logs ("match.pd", 603, __FILE__, __LINE__, true);
    2791                 :           5 :             return _r;
    2792                 :             :           }
    2793                 :           0 : next_after_fail827:;
    2794                 :             :       }
    2795                 :             :     }
    2796                 :             :   return NULL_TREE;
    2797                 :             : }
    2798                 :             : 
    2799                 :             : tree
    2800                 :    20405540 : generic_simplify_384 (location_t ARG_UNUSED (loc), const tree ARG_UNUSED (type),
    2801                 :             :  tree ARG_UNUSED (_p0), tree ARG_UNUSED (_p1), tree *ARG_UNUSED (captures),
    2802                 :             :  const enum tree_code ARG_UNUSED (cmp))
    2803                 :             : {
    2804                 :    20405540 :   const bool debug_dump = dump_file && (dump_flags & TDF_FOLDING);
    2805                 :    40805323 :   if ((INTEGRAL_TYPE_P (TREE_TYPE (captures[2]))
    2806                 :       12108 :  || POINTER_TYPE_P (TREE_TYPE (captures[2]))
    2807                 :        1931 :  || VECTOR_INTEGER_TYPE_P (TREE_TYPE (captures[2])))
    2808                 :    40805323 :  && tree_nop_conversion_p (TREE_TYPE (captures[0]), TREE_TYPE (captures[1]))
    2809                 :             : )
    2810                 :             :     {
    2811                 :    20405540 :       {
    2812                 :    20405540 :  tree cst = uniform_integer_cst_p (captures[2]);
    2813                 :    20405540 :  tree arg1_type = TREE_TYPE (cst);
    2814                 :    20405540 :  unsigned int prec = TYPE_PRECISION (arg1_type);
    2815                 :    20405540 :  wide_int max = wi::max_value (arg1_type);
    2816                 :    20405540 :  wide_int signed_max = wi::max_value (prec, SIGNED);
    2817                 :    20405540 :  wide_int min = wi::min_value (arg1_type);
    2818                 :    20405540 :           if (wi::to_wide (cst) == max
    2819                 :             : )
    2820                 :             :             {
    2821                 :      164658 :               if (cmp == GT_EXPR
    2822                 :             : )
    2823                 :             :                 {
    2824                 :      108074 :                   if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail857;
    2825                 :      108074 :                   {
    2826                 :      108074 :                     tree _r;
    2827                 :      108074 :                     _r =  constant_boolean_node (false, type);
    2828                 :      108074 :                     if (TREE_SIDE_EFFECTS (captures[0]))
    2829                 :          97 :                       _r = build2_loc (loc, COMPOUND_EXPR, type, fold_ignored_result (captures[0]), _r);
    2830                 :      108074 :                     if (TREE_SIDE_EFFECTS (captures[2]))
    2831                 :           0 :                       _r = build2_loc (loc, COMPOUND_EXPR, type, fold_ignored_result (captures[2]), _r);
    2832                 :      108074 :                     if (UNLIKELY (debug_dump)) generic_dump_logs ("match.pd", 617, __FILE__, __LINE__, true);
    2833                 :      108074 :                     return _r;
    2834                 :             :                   }
    2835                 :           0 : next_after_fail857:;
    2836                 :             :                 }
    2837                 :             :               else
    2838                 :             :                 {
    2839                 :       56584 :                   if (cmp == GE_EXPR
    2840                 :             : )
    2841                 :             :                     {
    2842                 :           7 :                       if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail858;
    2843                 :           7 :                       {
    2844                 :           7 :                         tree res_op0;
    2845                 :           7 :                         res_op0 = captures[0];
    2846                 :           7 :                         tree res_op1;
    2847                 :           7 :                         res_op1 = captures[2];
    2848                 :           7 :                         tree _r;
    2849                 :           7 :                         _r = fold_build2_loc (loc, EQ_EXPR, type, res_op0, res_op1);
    2850                 :           7 :                         if (UNLIKELY (debug_dump)) generic_dump_logs ("match.pd", 618, __FILE__, __LINE__, true);
    2851                 :           7 :                         return _r;
    2852                 :             :                       }
    2853                 :           0 : next_after_fail858:;
    2854                 :             :                     }
    2855                 :             :                   else
    2856                 :             :                     {
    2857                 :       56577 :                       if (cmp == LE_EXPR
    2858                 :             : )
    2859                 :             :                         {
    2860                 :       56567 :                           if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail859;
    2861                 :       56567 :                           {
    2862                 :       56567 :                             tree _r;
    2863                 :       56567 :                             _r =  constant_boolean_node (true, type);
    2864                 :       56567 :                             if (TREE_SIDE_EFFECTS (captures[0]))
    2865                 :          23 :                               _r = build2_loc (loc, COMPOUND_EXPR, type, fold_ignored_result (captures[0]), _r);
    2866                 :       56567 :                             if (TREE_SIDE_EFFECTS (captures[2]))
    2867                 :           0 :                               _r = build2_loc (loc, COMPOUND_EXPR, type, fold_ignored_result (captures[2]), _r);
    2868                 :       56567 :                             if (UNLIKELY (debug_dump)) generic_dump_logs ("match.pd", 619, __FILE__, __LINE__, true);
    2869                 :       56567 :                             return _r;
    2870                 :             :                           }
    2871                 :           0 : next_after_fail859:;
    2872                 :             :                         }
    2873                 :             :                       else
    2874                 :             :                         {
    2875                 :          10 :                           if (cmp == LT_EXPR
    2876                 :             : )
    2877                 :             :                             {
    2878                 :          10 :                               if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail860;
    2879                 :          10 :                               {
    2880                 :          10 :                                 tree res_op0;
    2881                 :          10 :                                 res_op0 = captures[0];
    2882                 :          10 :                                 tree res_op1;
    2883                 :          10 :                                 res_op1 = captures[2];
    2884                 :          10 :                                 tree _r;
    2885                 :          10 :                                 _r = fold_build2_loc (loc, NE_EXPR, type, res_op0, res_op1);
    2886                 :          10 :                                 if (UNLIKELY (debug_dump)) generic_dump_logs ("match.pd", 620, __FILE__, __LINE__, true);
    2887                 :          10 :                                 return _r;
    2888                 :             :                               }
    2889                 :           0 : next_after_fail860:;
    2890                 :             :                             }
    2891                 :             :                         }
    2892                 :             :                     }
    2893                 :             :                 }
    2894                 :             :             }
    2895                 :             :           else
    2896                 :             :             {
    2897                 :    20240882 :               if (wi::to_wide (cst) == min
    2898                 :             : )
    2899                 :             :                 {
    2900                 :     1220459 :                   if (cmp == LT_EXPR
    2901                 :             : )
    2902                 :             :                     {
    2903                 :      401500 :                       if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail861;
    2904                 :      401500 :                       {
    2905                 :      401500 :                         tree _r;
    2906                 :      401500 :                         _r =  constant_boolean_node (false, type);
    2907                 :      401500 :                         if (TREE_SIDE_EFFECTS (captures[0]))
    2908                 :          41 :                           _r = build2_loc (loc, COMPOUND_EXPR, type, fold_ignored_result (captures[0]), _r);
    2909                 :      401500 :                         if (TREE_SIDE_EFFECTS (captures[2]))
    2910                 :           0 :                           _r = build2_loc (loc, COMPOUND_EXPR, type, fold_ignored_result (captures[2]), _r);
    2911                 :      401500 :                         if (UNLIKELY (debug_dump)) generic_dump_logs ("match.pd", 621, __FILE__, __LINE__, true);
    2912                 :      401500 :                         return _r;
    2913                 :             :                       }
    2914                 :           0 : next_after_fail861:;
    2915                 :             :                     }
    2916                 :             :                   else
    2917                 :             :                     {
    2918                 :      818959 :                       if (cmp == LE_EXPR
    2919                 :             : )
    2920                 :             :                         {
    2921                 :      105521 :                           if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail862;
    2922                 :      105521 :                           {
    2923                 :      105521 :                             tree res_op0;
    2924                 :      105521 :                             res_op0 = captures[0];
    2925                 :      105521 :                             tree res_op1;
    2926                 :      105521 :                             res_op1 = captures[2];
    2927                 :      105521 :                             tree _r;
    2928                 :      105521 :                             _r = fold_build2_loc (loc, EQ_EXPR, type, res_op0, res_op1);
    2929                 :      105521 :                             if (UNLIKELY (debug_dump)) generic_dump_logs ("match.pd", 622, __FILE__, __LINE__, true);
    2930                 :      105521 :                             return _r;
    2931                 :             :                           }
    2932                 :           0 : next_after_fail862:;
    2933                 :             :                         }
    2934                 :             :                       else
    2935                 :             :                         {
    2936                 :      713438 :                           if (cmp == GE_EXPR
    2937                 :             : )
    2938                 :             :                             {
    2939                 :      271191 :                               if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail863;
    2940                 :      271191 :                               {
    2941                 :      271191 :                                 tree _r;
    2942                 :      271191 :                                 _r =  constant_boolean_node (true, type);
    2943                 :      271191 :                                 if (TREE_SIDE_EFFECTS (captures[0]))
    2944                 :           9 :                                   _r = build2_loc (loc, COMPOUND_EXPR, type, fold_ignored_result (captures[0]), _r);
    2945                 :      271191 :                                 if (TREE_SIDE_EFFECTS (captures[2]))
    2946                 :           0 :                                   _r = build2_loc (loc, COMPOUND_EXPR, type, fold_ignored_result (captures[2]), _r);
    2947                 :      271191 :                                 if (UNLIKELY (debug_dump)) generic_dump_logs ("match.pd", 623, __FILE__, __LINE__, true);
    2948                 :      271191 :                                 return _r;
    2949                 :             :                               }
    2950                 :           0 : next_after_fail863:;
    2951                 :             :                             }
    2952                 :             :                           else
    2953                 :             :                             {
    2954                 :      442247 :                               if (cmp == GT_EXPR
    2955                 :             : )
    2956                 :             :                                 {
    2957                 :      442247 :                                   if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail864;
    2958                 :      442247 :                                   {
    2959                 :      442247 :                                     tree res_op0;
    2960                 :      442247 :                                     res_op0 = captures[0];
    2961                 :      442247 :                                     tree res_op1;
    2962                 :      442247 :                                     res_op1 = captures[2];
    2963                 :      442247 :                                     tree _r;
    2964                 :      442247 :                                     _r = fold_build2_loc (loc, NE_EXPR, type, res_op0, res_op1);
    2965                 :      442247 :                                     if (UNLIKELY (debug_dump)) generic_dump_logs ("match.pd", 624, __FILE__, __LINE__, true);
    2966                 :      442247 :                                     return _r;
    2967                 :             :                                   }
    2968                 :           0 : next_after_fail864:;
    2969                 :             :                                 }
    2970                 :             :                             }
    2971                 :             :                         }
    2972                 :             :                     }
    2973                 :             :                 }
    2974                 :             :               else
    2975                 :             :                 {
    2976                 :    19020426 :                   if (wi::to_wide (cst) == max - 1
    2977                 :             : )
    2978                 :             :                     {
    2979                 :      411110 :                       if (cmp == GT_EXPR
    2980                 :             : )
    2981                 :             :                         {
    2982                 :      152157 :                           if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail865;
    2983                 :      152157 :                           {
    2984                 :      152157 :                             tree res_op0;
    2985                 :      152157 :                             res_op0 = captures[0];
    2986                 :      152157 :                             tree res_op1;
    2987                 :      152157 :                             res_op1 =  build_uniform_cst (TREE_TYPE (captures[2]),
    2988                 :      152157 :  wide_int_to_tree (TREE_TYPE (cst),
    2989                 :      152157 :  wi::to_wide (cst)
    2990                 :      304314 :  + 1));
    2991                 :      152157 :                             tree _r;
    2992                 :      152157 :                             _r = fold_build2_loc (loc, EQ_EXPR, type, res_op0, res_op1);
    2993                 :      152157 :                             if (TREE_SIDE_EFFECTS (captures[2]))
    2994                 :           0 :                               _r = build2_loc (loc, COMPOUND_EXPR, type, fold_ignored_result (captures[2]), _r);
    2995                 :      152157 :                             if (UNLIKELY (debug_dump)) generic_dump_logs ("match.pd", 625, __FILE__, __LINE__, true);
    2996                 :      152157 :                             return _r;
    2997                 :             :                           }
    2998                 :           0 : next_after_fail865:;
    2999                 :             :                         }
    3000                 :             :                       else
    3001                 :             :                         {
    3002                 :      258953 :                           if (cmp == LE_EXPR
    3003                 :             : )
    3004                 :             :                             {
    3005                 :      258953 :                               if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail866;
    3006                 :      258953 :                               {
    3007                 :      258953 :                                 tree res_op0;
    3008                 :      258953 :                                 res_op0 = captures[0];
    3009                 :      258953 :                                 tree res_op1;
    3010                 :      258953 :                                 res_op1 =  build_uniform_cst (TREE_TYPE (captures[2]),
    3011                 :      258953 :  wide_int_to_tree (TREE_TYPE (cst),
    3012                 :      258953 :  wi::to_wide (cst)
    3013                 :      517906 :  + 1));
    3014                 :      258953 :                                 tree _r;
    3015                 :      258953 :                                 _r = fold_build2_loc (loc, NE_EXPR, type, res_op0, res_op1);
    3016                 :      258953 :                                 if (TREE_SIDE_EFFECTS (captures[2]))
    3017                 :           0 :                                   _r = build2_loc (loc, COMPOUND_EXPR, type, fold_ignored_result (captures[2]), _r);
    3018                 :      258953 :                                 if (UNLIKELY (debug_dump)) generic_dump_logs ("match.pd", 626, __FILE__, __LINE__, true);
    3019                 :      258953 :                                 return _r;
    3020                 :             :                               }
    3021                 :           0 : next_after_fail866:;
    3022                 :             :                             }
    3023                 :             :                         }
    3024                 :             :                     }
    3025                 :             :                   else
    3026                 :             :                     {
    3027                 :    18609316 :                       if (wi::to_wide (cst) == min + 1
    3028                 :             : )
    3029                 :             :                         {
    3030                 :      694818 :                           if (cmp == GE_EXPR
    3031                 :             : )
    3032                 :             :                             {
    3033                 :       46161 :                               if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail867;
    3034                 :       46161 :                               {
    3035                 :       46161 :                                 tree res_op0;
    3036                 :       46161 :                                 res_op0 = captures[0];
    3037                 :       46161 :                                 tree res_op1;
    3038                 :       46161 :                                 res_op1 =  build_uniform_cst (TREE_TYPE (captures[2]),
    3039                 :       46161 :  wide_int_to_tree (TREE_TYPE (cst),
    3040                 :       46161 :  wi::to_wide (cst)
    3041                 :       92322 :  - 1));
    3042                 :       46161 :                                 tree _r;
    3043                 :       46161 :                                 _r = fold_build2_loc (loc, NE_EXPR, type, res_op0, res_op1);
    3044                 :       46161 :                                 if (TREE_SIDE_EFFECTS (captures[2]))
    3045                 :           0 :                                   _r = build2_loc (loc, COMPOUND_EXPR, type, fold_ignored_result (captures[2]), _r);
    3046                 :       46161 :                                 if (UNLIKELY (debug_dump)) generic_dump_logs ("match.pd", 627, __FILE__, __LINE__, true);
    3047                 :       46161 :                                 return _r;
    3048                 :             :                               }
    3049                 :           0 : next_after_fail867:;
    3050                 :             :                             }
    3051                 :             :                           else
    3052                 :             :                             {
    3053                 :      648657 :                               if (cmp == LT_EXPR
    3054                 :             : )
    3055                 :             :                                 {
    3056                 :       33113 :                                   if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail868;
    3057                 :       33113 :                                   {
    3058                 :       33113 :                                     tree res_op0;
    3059                 :       33113 :                                     res_op0 = captures[0];
    3060                 :       33113 :                                     tree res_op1;
    3061                 :       33113 :                                     res_op1 =  build_uniform_cst (TREE_TYPE (captures[2]),
    3062                 :       33113 :  wide_int_to_tree (TREE_TYPE (cst),
    3063                 :       33113 :  wi::to_wide (cst)
    3064                 :       66226 :  - 1));
    3065                 :       33113 :                                     tree _r;
    3066                 :       33113 :                                     _r = fold_build2_loc (loc, EQ_EXPR, type, res_op0, res_op1);
    3067                 :       33113 :                                     if (TREE_SIDE_EFFECTS (captures[2]))
    3068                 :           0 :                                       _r = build2_loc (loc, COMPOUND_EXPR, type, fold_ignored_result (captures[2]), _r);
    3069                 :       33113 :                                     if (UNLIKELY (debug_dump)) generic_dump_logs ("match.pd", 628, __FILE__, __LINE__, true);
    3070                 :       33113 :                                     return _r;
    3071                 :             :                                   }
    3072                 :           0 : next_after_fail868:;
    3073                 :             :                                 }
    3074                 :             :                             }
    3075                 :             :                         }
    3076                 :             :                       else
    3077                 :             :                         {
    3078                 :    17914495 :                           if (wi::to_wide (cst) == signed_max
    3079                 :       94018 :  && TYPE_UNSIGNED (arg1_type)
    3080                 :       94018 :  && TYPE_MODE (arg1_type) != BLKmode
    3081                 :    17914502 :  && prec == GET_MODE_PRECISION (SCALAR_INT_TYPE_MODE (arg1_type))
    3082                 :    18007946 :  && INTEGRAL_TYPE_P (arg1_type)
    3083                 :             : )
    3084                 :             :                             {
    3085                 :       93444 :                               if (cmp == LE_EXPR || cmp == GT_EXPR
    3086                 :             : )
    3087                 :             :                                 {
    3088                 :       93444 :                                   {
    3089                 :       93444 :  tree st = signed_type_for (TREE_TYPE (captures[2]));
    3090                 :       93444 :                                       if (cst == captures[2] && cmp == LE_EXPR
    3091                 :             : )
    3092                 :             :                                         {
    3093                 :       41109 :                                           if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail869;
    3094                 :       41109 :                                           {
    3095                 :       41109 :                                             tree res_op0;
    3096                 :       41109 :                                             {
    3097                 :       41109 :                                               tree _o1[1], _r1;
    3098                 :       41109 :                                               _o1[0] = captures[1];
    3099                 :       41109 :                                               if (TREE_TYPE (_o1[0]) != st)
    3100                 :             :                                                 {
    3101                 :       41109 :                                                   _r1 = fold_build1_loc (loc, NOP_EXPR, st, _o1[0]);
    3102                 :             :                                                 }
    3103                 :             :                                               else
    3104                 :             :                                                 _r1 = _o1[0];
    3105                 :       41109 :                                               res_op0 = _r1;
    3106                 :             :                                             }
    3107                 :       41109 :                                             tree res_op1;
    3108                 :       41109 :                                             res_op1 =  build_zero_cst (st);
    3109                 :       41109 :                                             tree _r;
    3110                 :       41109 :                                             _r = fold_build2_loc (loc, GE_EXPR, type, res_op0, res_op1);
    3111                 :       41109 :                                             if (TREE_SIDE_EFFECTS (captures[2]))
    3112                 :           0 :                                               _r = build2_loc (loc, COMPOUND_EXPR, type, fold_ignored_result (captures[2]), _r);
    3113                 :       41109 :                                             if (UNLIKELY (debug_dump)) generic_dump_logs ("match.pd", 629, __FILE__, __LINE__, true);
    3114                 :       41109 :                                             return _r;
    3115                 :             :                                           }
    3116                 :           0 : next_after_fail869:;
    3117                 :           0 :                                         }
    3118                 :             :                                       else
    3119                 :             :                                         {
    3120                 :       52335 :                                           if (cst == captures[2] && cmp == GT_EXPR
    3121                 :             : )
    3122                 :             :                                             {
    3123                 :       52249 :                                               if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail870;
    3124                 :       52249 :                                               {
    3125                 :       52249 :                                                 tree res_op0;
    3126                 :       52249 :                                                 {
    3127                 :       52249 :                                                   tree _o1[1], _r1;
    3128                 :       52249 :                                                   _o1[0] = captures[1];
    3129                 :       52249 :                                                   if (TREE_TYPE (_o1[0]) != st)
    3130                 :             :                                                     {
    3131                 :       52249 :                                                       _r1 = fold_build1_loc (loc, NOP_EXPR, st, _o1[0]);
    3132                 :             :                                                     }
    3133                 :             :                                                   else
    3134                 :             :                                                     _r1 = _o1[0];
    3135                 :       52249 :                                                   res_op0 = _r1;
    3136                 :             :                                                 }
    3137                 :       52249 :                                                 tree res_op1;
    3138                 :       52249 :                                                 res_op1 =  build_zero_cst (st);
    3139                 :       52249 :                                                 tree _r;
    3140                 :       52249 :                                                 _r = fold_build2_loc (loc, LT_EXPR, type, res_op0, res_op1);
    3141                 :       52249 :                                                 if (TREE_SIDE_EFFECTS (captures[2]))
    3142                 :           0 :                                                   _r = build2_loc (loc, COMPOUND_EXPR, type, fold_ignored_result (captures[2]), _r);
    3143                 :       52249 :                                                 if (UNLIKELY (debug_dump)) generic_dump_logs ("match.pd", 630, __FILE__, __LINE__, true);
    3144                 :       52249 :                                                 return _r;
    3145                 :             :                                               }
    3146                 :           0 : next_after_fail870:;
    3147                 :           0 :                                             }
    3148                 :             :                                           else
    3149                 :             :                                             {
    3150                 :          86 :                                               if (cmp == LE_EXPR
    3151                 :             : )
    3152                 :             :                                                 {
    3153                 :          30 :                                                   if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail871;
    3154                 :          30 :                                                   {
    3155                 :          30 :                                                     tree res_op0;
    3156                 :          30 :                                                     {
    3157                 :          30 :                                                       tree _o1[1], _r1;
    3158                 :          30 :                                                       _o1[0] = captures[1];
    3159                 :          30 :                                                       if (TREE_TYPE (_o1[0]) != st)
    3160                 :             :                                                         {
    3161                 :          30 :                                                           _r1 = fold_build1_loc (loc, VIEW_CONVERT_EXPR, st, _o1[0]);
    3162                 :             :                                                         }
    3163                 :             :                                                       else
    3164                 :             :                                                         _r1 = _o1[0];
    3165                 :          30 :                                                       res_op0 = _r1;
    3166                 :             :                                                     }
    3167                 :          30 :                                                     tree res_op1;
    3168                 :          30 :                                                     res_op1 =  build_zero_cst (st);
    3169                 :          30 :                                                     tree _r;
    3170                 :          30 :                                                     _r = fold_build2_loc (loc, GE_EXPR, type, res_op0, res_op1);
    3171                 :          30 :                                                     if (TREE_SIDE_EFFECTS (captures[2]))
    3172                 :           0 :                                                       _r = build2_loc (loc, COMPOUND_EXPR, type, fold_ignored_result (captures[2]), _r);
    3173                 :          30 :                                                     if (UNLIKELY (debug_dump)) generic_dump_logs ("match.pd", 631, __FILE__, __LINE__, true);
    3174                 :          30 :                                                     return _r;
    3175                 :             :                                                   }
    3176                 :           0 : next_after_fail871:;
    3177                 :             :                                                 }
    3178                 :             :                                               else
    3179                 :             :                                                 {
    3180                 :          56 :                                                   if (cmp == GT_EXPR
    3181                 :             : )
    3182                 :             :                                                     {
    3183                 :          56 :                                                       if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail872;
    3184                 :          56 :                                                       {
    3185                 :          56 :                                                         tree res_op0;
    3186                 :          56 :                                                         {
    3187                 :          56 :                                                           tree _o1[1], _r1;
    3188                 :          56 :                                                           _o1[0] = captures[1];
    3189                 :          56 :                                                           if (TREE_TYPE (_o1[0]) != st)
    3190                 :             :                                                             {
    3191                 :          56 :                                                               _r1 = fold_build1_loc (loc, VIEW_CONVERT_EXPR, st, _o1[0]);
    3192                 :             :                                                             }
    3193                 :             :                                                           else
    3194                 :             :                                                             _r1 = _o1[0];
    3195                 :          56 :                                                           res_op0 = _r1;
    3196                 :             :                                                         }
    3197                 :          56 :                                                         tree res_op1;
    3198                 :          56 :                                                         res_op1 =  build_zero_cst (st);
    3199                 :          56 :                                                         tree _r;
    3200                 :          56 :                                                         _r = fold_build2_loc (loc, LT_EXPR, type, res_op0, res_op1);
    3201                 :          56 :                                                         if (TREE_SIDE_EFFECTS (captures[2]))
    3202                 :           0 :                                                           _r = build2_loc (loc, COMPOUND_EXPR, type, fold_ignored_result (captures[2]), _r);
    3203                 :          56 :                                                         if (UNLIKELY (debug_dump)) generic_dump_logs ("match.pd", 632, __FILE__, __LINE__, true);
    3204                 :          56 :                                                         return _r;
    3205                 :             :                                                       }
    3206                 :           0 : next_after_fail872:;
    3207                 :             :                                                     }
    3208                 :             :                                                 }
    3209                 :             :                                             }
    3210                 :             :                                         }
    3211                 :             :                                   }
    3212                 :             :                                 }
    3213                 :             :                             }
    3214                 :             :                         }
    3215                 :             :                     }
    3216                 :             :                 }
    3217                 :             :             }
    3218                 :    20405546 :       }
    3219                 :             :     }
    3220                 :             :   return NULL_TREE;
    3221                 :             : }
    3222                 :             : 
    3223                 :             : tree
    3224                 :           0 : generic_simplify_433 (location_t ARG_UNUSED (loc), const tree ARG_UNUSED (type),
    3225                 :             :  tree ARG_UNUSED (_p0), tree ARG_UNUSED (_p1), tree *ARG_UNUSED (captures))
    3226                 :             : {
    3227                 :           0 :   const bool debug_dump = dump_file && (dump_flags & TDF_FOLDING);
    3228                 :           0 :   if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail952;
    3229                 :           0 :   {
    3230                 :           0 :     tree _r;
    3231                 :           0 :     _r = captures[0];
    3232                 :           0 :     if (TREE_SIDE_EFFECTS (captures[1]))
    3233                 :           0 :       _r = build2_loc (loc, COMPOUND_EXPR, type, fold_ignored_result (captures[1]), _r);
    3234                 :           0 :     if (UNLIKELY (debug_dump)) generic_dump_logs ("match.pd", 693, __FILE__, __LINE__, true);
    3235                 :             :     return _r;
    3236                 :             :   }
    3237                 :           0 : next_after_fail952:;
    3238                 :           0 :   return NULL_TREE;
    3239                 :             : }
    3240                 :             : 
    3241                 :             : tree
    3242                 :           0 : generic_simplify_435 (location_t ARG_UNUSED (loc), const tree ARG_UNUSED (type),
    3243                 :             :  tree ARG_UNUSED (_p0), tree ARG_UNUSED (_p1), tree *ARG_UNUSED (captures),
    3244                 :             :  const combined_fn ARG_UNUSED (copysigns),
    3245                 :             :  const combined_fn ARG_UNUSED (hypots))
    3246                 :             : {
    3247                 :           0 :   const bool debug_dump = dump_file && (dump_flags & TDF_FOLDING);
    3248                 :           0 :   if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail954;
    3249                 :           0 :   {
    3250                 :           0 :     tree res_op0;
    3251                 :           0 :     res_op0 = captures[0];
    3252                 :           0 :     tree res_op1;
    3253                 :           0 :     res_op1 = captures[1];
    3254                 :           0 :     tree _r;
    3255                 :           0 :     _r = maybe_build_call_expr_loc (loc, hypots, type, 2, res_op0, res_op1);
    3256                 :           0 :     if (!_r)
    3257                 :           0 :       goto next_after_fail954;
    3258                 :           0 :     if (TREE_SIDE_EFFECTS (captures[2]))
    3259                 :           0 :       _r = build2_loc (loc, COMPOUND_EXPR, type, fold_ignored_result (captures[2]), _r);
    3260                 :           0 :     if (UNLIKELY (debug_dump)) generic_dump_logs ("match.pd", 695, __FILE__, __LINE__, true);
    3261                 :             :     return _r;
    3262                 :             :   }
    3263                 :             : next_after_fail954:;
    3264                 :             :   return NULL_TREE;
    3265                 :             : }
    3266                 :             : 
    3267                 :             : tree
    3268                 :           0 : generic_simplify_441 (location_t ARG_UNUSED (loc), const tree ARG_UNUSED (type),
    3269                 :             :  tree ARG_UNUSED (_p0), tree ARG_UNUSED (_p1), tree *ARG_UNUSED (captures))
    3270                 :             : {
    3271                 :           0 :   const bool debug_dump = dump_file && (dump_flags & TDF_FOLDING);
    3272                 :           0 :   if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail960;
    3273                 :           0 :   {
    3274                 :           0 :     tree res_op0;
    3275                 :           0 :     res_op0 = captures[0];
    3276                 :           0 :     tree res_op1;
    3277                 :           0 :     res_op1 = captures[1];
    3278                 :           0 :     tree _r;
    3279                 :           0 :     _r = fold_build2_loc (loc, BIT_AND_EXPR, type, res_op0, res_op1);
    3280                 :           0 :     if (UNLIKELY (debug_dump)) generic_dump_logs ("match.pd", 701, __FILE__, __LINE__, true);
    3281                 :             :     return _r;
    3282                 :             :   }
    3283                 :           0 : next_after_fail960:;
    3284                 :           0 :   return NULL_TREE;
    3285                 :             : }
    3286                 :             : 
    3287                 :             : tree
    3288                 :         339 : generic_simplify_447 (location_t ARG_UNUSED (loc), const tree ARG_UNUSED (type),
    3289                 :             :  tree ARG_UNUSED (_p0), tree ARG_UNUSED (_p1), tree *ARG_UNUSED (captures),
    3290                 :             :  const enum tree_code ARG_UNUSED (bitop),
    3291                 :             :  const enum tree_code ARG_UNUSED (op))
    3292                 :             : {
    3293                 :         339 :   const bool debug_dump = dump_file && (dump_flags & TDF_FOLDING);
    3294                 :         339 :   {
    3295                 :         339 :  tree pmop[2];
    3296                 :         339 :  tree utype = fold_bit_and_mask (TREE_TYPE (captures[1]), captures[5], op, captures[1], ERROR_MARK,
    3297                 :             :  NULL_TREE, NULL_TREE, captures[2], bitop, captures[3],
    3298                 :             :  captures[4], pmop);
    3299                 :         339 :       if (utype
    3300                 :             : )
    3301                 :             :         {
    3302                 :         338 :           if (TREE_SIDE_EFFECTS (captures[1])) goto next_after_fail966;
    3303                 :         338 :           if (TREE_SIDE_EFFECTS (captures[2])) goto next_after_fail966;
    3304                 :         338 :           if (TREE_SIDE_EFFECTS (captures[3])) goto next_after_fail966;
    3305                 :         338 :           if (TREE_SIDE_EFFECTS (captures[4])) goto next_after_fail966;
    3306                 :         338 :           if (TREE_SIDE_EFFECTS (captures[5])) goto next_after_fail966;
    3307                 :         338 :           if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail966;
    3308                 :         338 :           {
    3309                 :         338 :             tree res_op0;
    3310                 :         338 :             {
    3311                 :         338 :               tree _o1[2], _r1;
    3312                 :         338 :               {
    3313                 :         338 :                 tree _o2[2], _r2;
    3314                 :         338 :                 {
    3315                 :         338 :                   tree _o3[1], _r3;
    3316                 :         338 :                   _o3[0] =  pmop[0];
    3317                 :         338 :                   if (TREE_TYPE (_o3[0]) != utype)
    3318                 :             :                     {
    3319                 :          14 :                       _r3 = fold_build1_loc (loc, NOP_EXPR, utype, _o3[0]);
    3320                 :             :                     }
    3321                 :             :                   else
    3322                 :             :                     _r3 = _o3[0];
    3323                 :         338 :                   _o2[0] = _r3;
    3324                 :             :                 }
    3325                 :         338 :                 {
    3326                 :         338 :                   tree _o3[1], _r3;
    3327                 :         338 :                   _o3[0] =  pmop[1];
    3328                 :         338 :                   if (TREE_TYPE (_o3[0]) != utype)
    3329                 :             :                     {
    3330                 :          74 :                       _r3 = fold_build1_loc (loc, NOP_EXPR, utype, _o3[0]);
    3331                 :             :                     }
    3332                 :             :                   else
    3333                 :             :                     _r3 = _o3[0];
    3334                 :         338 :                   _o2[1] = _r3;
    3335                 :             :                 }
    3336                 :         338 :                 _r2 = fold_build2_loc (loc, op, TREE_TYPE (_o2[0]), _o2[0], _o2[1]);
    3337                 :         338 :                 _o1[0] = _r2;
    3338                 :             :               }
    3339                 :         338 :               {
    3340                 :         338 :                 tree _o2[1], _r2;
    3341                 :         338 :                 _o2[0] = captures[5];
    3342                 :         338 :                 if (TREE_TYPE (_o2[0]) != utype)
    3343                 :             :                   {
    3344                 :          14 :                     _r2 = fold_build1_loc (loc, NOP_EXPR, utype, _o2[0]);
    3345                 :             :                   }
    3346                 :             :                 else
    3347                 :             :                   _r2 = _o2[0];
    3348                 :         338 :                 _o1[1] = _r2;
    3349                 :             :               }
    3350                 :         338 :               _r1 = fold_build2_loc (loc, BIT_AND_EXPR, TREE_TYPE (_o1[0]), _o1[0], _o1[1]);
    3351                 :         338 :               res_op0 = _r1;
    3352                 :             :             }
    3353                 :         338 :             tree _r;
    3354                 :         338 :             _r = fold_build1_loc (loc, NOP_EXPR, type, res_op0);
    3355                 :         338 :             if (UNLIKELY (debug_dump)) generic_dump_logs ("match.pd", 706, __FILE__, __LINE__, true);
    3356                 :         338 :             return _r;
    3357                 :             :           }
    3358                 :           1 : next_after_fail966:;
    3359                 :             :         }
    3360                 :             :   }
    3361                 :           1 :   return NULL_TREE;
    3362                 :             : }
    3363                 :             : 
    3364                 :             : tree
    3365                 :           8 : generic_simplify_463 (location_t ARG_UNUSED (loc), const tree ARG_UNUSED (type),
    3366                 :             :  tree ARG_UNUSED (_p0), tree ARG_UNUSED (_p1), tree *ARG_UNUSED (captures),
    3367                 :             :  const enum tree_code ARG_UNUSED (eqne))
    3368                 :             : {
    3369                 :           8 :   const bool debug_dump = dump_file && (dump_flags & TDF_FOLDING);
    3370                 :           8 :   if (eqne == EQ_EXPR
    3371                 :             : )
    3372                 :             :     {
    3373                 :           4 :       if (TREE_SIDE_EFFECTS (_p1)) goto next_after_fail987;
    3374                 :           4 :       if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail987;
    3375                 :           4 :       {
    3376                 :           4 :         tree _r;
    3377                 :           4 :         _r =  constant_boolean_node (false, type);
    3378                 :           4 :         if (TREE_SIDE_EFFECTS (captures[2]))
    3379                 :           0 :           _r = build2_loc (loc, COMPOUND_EXPR, type, fold_ignored_result (captures[2]), _r);
    3380                 :           4 :         if (UNLIKELY (debug_dump)) generic_dump_logs ("match.pd", 723, __FILE__, __LINE__, true);
    3381                 :           4 :         return _r;
    3382                 :             :       }
    3383                 :             : next_after_fail987:;
    3384                 :             :     }
    3385                 :             :   else
    3386                 :             :     {
    3387                 :           4 :       if (eqne == NE_EXPR
    3388                 :             : )
    3389                 :             :         {
    3390                 :           4 :           if (TREE_SIDE_EFFECTS (_p0)) goto next_after_fail988;
    3391                 :           4 :           if (TREE_SIDE_EFFECTS (_p1)) goto next_after_fail988;
    3392                 :           4 :           if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail988;
    3393                 :           4 :           {
    3394                 :           4 :             tree _r;
    3395                 :           4 :             _r = captures[0];
    3396                 :           4 :             if (UNLIKELY (debug_dump)) generic_dump_logs ("match.pd", 724, __FILE__, __LINE__, true);
    3397                 :           4 :             return _r;
    3398                 :             :           }
    3399                 :             : next_after_fail988:;
    3400                 :             :         }
    3401                 :             :     }
    3402                 :             :   return NULL_TREE;
    3403                 :             : }
    3404                 :             : 
    3405                 :             : tree
    3406                 :           0 : generic_simplify_468 (location_t ARG_UNUSED (loc), const tree ARG_UNUSED (type),
    3407                 :             :  tree ARG_UNUSED (_p0), tree ARG_UNUSED (_p1), tree *ARG_UNUSED (captures),
    3408                 :             :  const enum tree_code ARG_UNUSED (eqne))
    3409                 :             : {
    3410                 :           0 :   const bool debug_dump = dump_file && (dump_flags & TDF_FOLDING);
    3411                 :           0 :   if (eqne == EQ_EXPR
    3412                 :             : )
    3413                 :             :     {
    3414                 :           0 :       if (TREE_SIDE_EFFECTS (_p0)) goto next_after_fail1012;
    3415                 :           0 :       if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail1012;
    3416                 :           0 :       {
    3417                 :           0 :         tree _r;
    3418                 :           0 :         _r =  constant_boolean_node (false, type);
    3419                 :           0 :         if (TREE_SIDE_EFFECTS (captures[2]))
    3420                 :           0 :           _r = build2_loc (loc, COMPOUND_EXPR, type, fold_ignored_result (captures[2]), _r);
    3421                 :           0 :         if (UNLIKELY (debug_dump)) generic_dump_logs ("match.pd", 723, __FILE__, __LINE__, true);
    3422                 :           0 :         return _r;
    3423                 :             :       }
    3424                 :             : next_after_fail1012:;
    3425                 :             :     }
    3426                 :             :   else
    3427                 :             :     {
    3428                 :           0 :       if (eqne == NE_EXPR
    3429                 :             : )
    3430                 :             :         {
    3431                 :           0 :           if (TREE_SIDE_EFFECTS (_p0)) goto next_after_fail1013;
    3432                 :           0 :           if (TREE_SIDE_EFFECTS (_p1)) goto next_after_fail1013;
    3433                 :           0 :           if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail1013;
    3434                 :           0 :           {
    3435                 :           0 :             tree _r;
    3436                 :           0 :             _r = captures[0];
    3437                 :           0 :             if (UNLIKELY (debug_dump)) generic_dump_logs ("match.pd", 724, __FILE__, __LINE__, true);
    3438                 :           0 :             return _r;
    3439                 :             :           }
    3440                 :             : next_after_fail1013:;
    3441                 :             :         }
    3442                 :             :     }
    3443                 :             :   return NULL_TREE;
    3444                 :             : }
    3445                 :             : 
    3446                 :             : tree
    3447                 :           0 : generic_simplify_472 (location_t ARG_UNUSED (loc), const tree ARG_UNUSED (type),
    3448                 :             :  tree ARG_UNUSED (_p0), tree ARG_UNUSED (_p1), tree *ARG_UNUSED (captures),
    3449                 :             :  const enum tree_code ARG_UNUSED (code2),
    3450                 :             :  const enum tree_code ARG_UNUSED (code1))
    3451                 :             : {
    3452                 :           0 :   const bool debug_dump = dump_file && (dump_flags & TDF_FOLDING);
    3453                 :           0 :   if ((TREE_CODE (captures[2]) == INTEGER_CST
    3454                 :           0 :  && TREE_CODE (captures[5]) == INTEGER_CST)
    3455                 :           0 :  || ((INTEGRAL_TYPE_P (TREE_TYPE (captures[2]))
    3456                 :           0 :  || (VECTOR_TYPE_P (TREE_TYPE (captures[2]))
    3457                 :           0 :  && expand_vec_cmp_expr_p (TREE_TYPE (captures[2]), type, code2))
    3458                 :           0 :  || POINTER_TYPE_P (TREE_TYPE (captures[2])))
    3459                 :           0 :  && bitwise_equal_p (captures[2], captures[5]))
    3460                 :             : )
    3461                 :             :     {
    3462                 :           0 :       {
    3463                 :           0 :  bool one_before = false;
    3464                 :           0 :  bool one_after = false;
    3465                 :           0 :  int cmp = 0;
    3466                 :           0 :  bool allbits = true;
    3467                 :           0 :  if (TREE_CODE (captures[2]) == INTEGER_CST
    3468                 :           0 :  && TREE_CODE (captures[5]) == INTEGER_CST)
    3469                 :             :  {
    3470                 :           0 :  allbits = TYPE_PRECISION (TREE_TYPE (captures[2])) <= TYPE_PRECISION (TREE_TYPE (captures[5]));
    3471                 :           0 :  auto t1 = wi::to_wide (fold_convert (TREE_TYPE (captures[5]), captures[2]));
    3472                 :           0 :  auto t2 = wi::to_wide (captures[5]);
    3473                 :           0 :  cmp = wi::cmp (t1, t2, TYPE_SIGN (TREE_TYPE (captures[5])));
    3474                 :           0 :  if (cmp < 0
    3475                 :           0 :  && t1 == t2 - 1)
    3476                 :             :  one_before = true;
    3477                 :           0 :  if (cmp > 0
    3478                 :           0 :  && t1 == t2 + 1)
    3479                 :             :  one_after = true;
    3480                 :             :  }
    3481                 :           0 :  bool val;
    3482                 :           0 :  switch (code2)
    3483                 :             :  {
    3484                 :           0 :  case EQ_EXPR: val = (cmp == 0); break;
    3485                 :           0 :  case NE_EXPR: val = (cmp != 0); break;
    3486                 :           0 :  case LT_EXPR: val = (cmp < 0); break;
    3487                 :           0 :  case GT_EXPR: val = (cmp > 0); break;
    3488                 :           0 :  case LE_EXPR: val = (cmp <= 0); break;
    3489                 :           0 :  case GE_EXPR: val = (cmp >= 0); break;
    3490                 :           0 :  default: gcc_unreachable ();
    3491                 :             :  }
    3492                 :           0 :           if (code1 == EQ_EXPR && val
    3493                 :             : )
    3494                 :             :             {
    3495                 :           0 :               if (TREE_SIDE_EFFECTS (_p0)) goto next_after_fail1018;
    3496                 :           0 :               if (TREE_SIDE_EFFECTS (captures[5])) goto next_after_fail1018;
    3497                 :           0 :               if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail1018;
    3498                 :           0 :               {
    3499                 :           0 :                 tree _r;
    3500                 :           0 :                 _r = captures[0];
    3501                 :           0 :                 if (UNLIKELY (debug_dump)) generic_dump_logs ("match.pd", 727, __FILE__, __LINE__, true);
    3502                 :           0 :                 return _r;
    3503                 :             :               }
    3504                 :             : next_after_fail1018:;
    3505                 :             :             }
    3506                 :             :           else
    3507                 :             :             {
    3508                 :           0 :               if (code1 == EQ_EXPR && !val
    3509                 :             : )
    3510                 :             :                 {
    3511                 :           0 :                   if (TREE_SIDE_EFFECTS (captures[2])) goto next_after_fail1019;
    3512                 :           0 :                   if (TREE_SIDE_EFFECTS (captures[5])) goto next_after_fail1019;
    3513                 :           0 :                   if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail1019;
    3514                 :           0 :                   {
    3515                 :           0 :                     tree _r;
    3516                 :           0 :                     _r =  constant_boolean_node (false, type);
    3517                 :           0 :                     if (TREE_SIDE_EFFECTS (captures[1]))
    3518                 :           0 :                       _r = build2_loc (loc, COMPOUND_EXPR, type, fold_ignored_result (captures[1]), _r);
    3519                 :           0 :                     if (UNLIKELY (debug_dump)) generic_dump_logs ("match.pd", 728, __FILE__, __LINE__, true);
    3520                 :           0 :                     return _r;
    3521                 :             :                   }
    3522                 :             : next_after_fail1019:;
    3523                 :             :                 }
    3524                 :             :               else
    3525                 :             :                 {
    3526                 :           0 :                   if (code1 == NE_EXPR && !val && allbits
    3527                 :             : )
    3528                 :             :                     {
    3529                 :           0 :                       if (TREE_SIDE_EFFECTS (_p1)) goto next_after_fail1020;
    3530                 :           0 :                       if (TREE_SIDE_EFFECTS (captures[2])) goto next_after_fail1020;
    3531                 :           0 :                       if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail1020;
    3532                 :           0 :                       {
    3533                 :           0 :                         tree _r;
    3534                 :           0 :                         _r = captures[3];
    3535                 :           0 :                         if (UNLIKELY (debug_dump)) generic_dump_logs ("match.pd", 729, __FILE__, __LINE__, true);
    3536                 :           0 :                         return _r;
    3537                 :             :                       }
    3538                 :             : next_after_fail1020:;
    3539                 :             :                     }
    3540                 :             :                   else
    3541                 :             :                     {
    3542                 :           0 :                       if ((code1 == NE_EXPR
    3543                 :           0 :  && code2 == GE_EXPR
    3544                 :           0 :  && cmp == 0
    3545                 :           0 :  && allbits)
    3546                 :           0 :  && ((VECTOR_BOOLEAN_TYPE_P (type)
    3547                 :           0 :  && expand_vec_cmp_expr_p (TREE_TYPE (captures[2]), type, GT_EXPR))
    3548                 :           0 :  || !VECTOR_TYPE_P (TREE_TYPE (captures[2])))
    3549                 :             : )
    3550                 :             :                         {
    3551                 :           0 :                           if (TREE_SIDE_EFFECTS (_p1)) goto next_after_fail1021;
    3552                 :           0 :                           if (TREE_SIDE_EFFECTS (captures[2])) goto next_after_fail1021;
    3553                 :           0 :                           if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail1021;
    3554                 :           0 :                           {
    3555                 :           0 :                             tree res_op0;
    3556                 :           0 :                             res_op0 = captures[4];
    3557                 :           0 :                             tree res_op1;
    3558                 :           0 :                             {
    3559                 :           0 :                               tree _o1[1], _r1;
    3560                 :           0 :                               _o1[0] = captures[2];
    3561                 :           0 :                               if (TREE_TYPE (_o1[0]) != TREE_TYPE (res_op0))
    3562                 :             :                                 {
    3563                 :           0 :                                   _r1 = fold_build1_loc (loc, NOP_EXPR, TREE_TYPE (res_op0), _o1[0]);
    3564                 :             :                                 }
    3565                 :             :                               else
    3566                 :             :                                 _r1 = _o1[0];
    3567                 :           0 :                               res_op1 = _r1;
    3568                 :             :                             }
    3569                 :           0 :                             tree _r;
    3570                 :           0 :                             _r = fold_build2_loc (loc, GT_EXPR, type, res_op0, res_op1);
    3571                 :           0 :                             if (UNLIKELY (debug_dump)) generic_dump_logs ("match.pd", 730, __FILE__, __LINE__, true);
    3572                 :           0 :                             return _r;
    3573                 :             :                           }
    3574                 :             : next_after_fail1021:;
    3575                 :             :                         }
    3576                 :             :                       else
    3577                 :             :                         {
    3578                 :           0 :                           if ((code1 == NE_EXPR
    3579                 :           0 :  && code2 == LE_EXPR
    3580                 :           0 :  && cmp == 0
    3581                 :           0 :  && allbits)
    3582                 :           0 :  && ((VECTOR_BOOLEAN_TYPE_P (type)
    3583                 :           0 :  && expand_vec_cmp_expr_p (TREE_TYPE (captures[2]), type, LT_EXPR))
    3584                 :           0 :  || !VECTOR_TYPE_P (TREE_TYPE (captures[2])))
    3585                 :             : )
    3586                 :             :                             {
    3587                 :           0 :                               if (TREE_SIDE_EFFECTS (_p1)) goto next_after_fail1022;
    3588                 :           0 :                               if (TREE_SIDE_EFFECTS (captures[2])) goto next_after_fail1022;
    3589                 :           0 :                               if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail1022;
    3590                 :           0 :                               {
    3591                 :           0 :                                 tree res_op0;
    3592                 :           0 :                                 res_op0 = captures[4];
    3593                 :           0 :                                 tree res_op1;
    3594                 :           0 :                                 {
    3595                 :           0 :                                   tree _o1[1], _r1;
    3596                 :           0 :                                   _o1[0] = captures[2];
    3597                 :           0 :                                   if (TREE_TYPE (_o1[0]) != TREE_TYPE (res_op0))
    3598                 :             :                                     {
    3599                 :           0 :                                       _r1 = fold_build1_loc (loc, NOP_EXPR, TREE_TYPE (res_op0), _o1[0]);
    3600                 :             :                                     }
    3601                 :             :                                   else
    3602                 :             :                                     _r1 = _o1[0];
    3603                 :           0 :                                   res_op1 = _r1;
    3604                 :             :                                 }
    3605                 :           0 :                                 tree _r;
    3606                 :           0 :                                 _r = fold_build2_loc (loc, LT_EXPR, type, res_op0, res_op1);
    3607                 :           0 :                                 if (UNLIKELY (debug_dump)) generic_dump_logs ("match.pd", 731, __FILE__, __LINE__, true);
    3608                 :           0 :                                 return _r;
    3609                 :             :                               }
    3610                 :             : next_after_fail1022:;
    3611                 :             :                             }
    3612                 :             :                           else
    3613                 :             :                             {
    3614                 :           0 :                               if ((code1 == NE_EXPR
    3615                 :           0 :  && code2 == GT_EXPR
    3616                 :             :  && one_after
    3617                 :           0 :  && allbits)
    3618                 :           0 :  && ((VECTOR_BOOLEAN_TYPE_P (type)
    3619                 :           0 :  && expand_vec_cmp_expr_p (TREE_TYPE (captures[2]), type, GT_EXPR))
    3620                 :           0 :  || !VECTOR_TYPE_P (TREE_TYPE (captures[2])))
    3621                 :             : )
    3622                 :             :                                 {
    3623                 :           0 :                                   if (TREE_SIDE_EFFECTS (_p1)) goto next_after_fail1023;
    3624                 :           0 :                                   if (TREE_SIDE_EFFECTS (captures[2])) goto next_after_fail1023;
    3625                 :           0 :                                   if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail1023;
    3626                 :           0 :                                   {
    3627                 :           0 :                                     tree res_op0;
    3628                 :           0 :                                     res_op0 = captures[4];
    3629                 :           0 :                                     tree res_op1;
    3630                 :           0 :                                     {
    3631                 :           0 :                                       tree _o1[1], _r1;
    3632                 :           0 :                                       _o1[0] = captures[2];
    3633                 :           0 :                                       if (TREE_TYPE (_o1[0]) != TREE_TYPE (res_op0))
    3634                 :             :                                         {
    3635                 :           0 :                                           _r1 = fold_build1_loc (loc, NOP_EXPR, TREE_TYPE (res_op0), _o1[0]);
    3636                 :             :                                         }
    3637                 :             :                                       else
    3638                 :             :                                         _r1 = _o1[0];
    3639                 :           0 :                                       res_op1 = _r1;
    3640                 :             :                                     }
    3641                 :           0 :                                     tree _r;
    3642                 :           0 :                                     _r = fold_build2_loc (loc, GT_EXPR, type, res_op0, res_op1);
    3643                 :           0 :                                     if (UNLIKELY (debug_dump)) generic_dump_logs ("match.pd", 732, __FILE__, __LINE__, true);
    3644                 :           0 :                                     return _r;
    3645                 :             :                                   }
    3646                 :             : next_after_fail1023:;
    3647                 :             :                                 }
    3648                 :             :                               else
    3649                 :             :                                 {
    3650                 :           0 :                                   if ((code1 == NE_EXPR
    3651                 :           0 :  && code2 == LT_EXPR
    3652                 :             :  && one_before
    3653                 :           0 :  && allbits)
    3654                 :           0 :  && ((VECTOR_BOOLEAN_TYPE_P (type)
    3655                 :           0 :  && expand_vec_cmp_expr_p (TREE_TYPE (captures[2]), type, LT_EXPR))
    3656                 :           0 :  || !VECTOR_TYPE_P (TREE_TYPE (captures[2])))
    3657                 :             : )
    3658                 :             :                                     {
    3659                 :           0 :                                       if (TREE_SIDE_EFFECTS (_p1)) goto next_after_fail1024;
    3660                 :           0 :                                       if (TREE_SIDE_EFFECTS (captures[2])) goto next_after_fail1024;
    3661                 :           0 :                                       if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail1024;
    3662                 :           0 :                                       {
    3663                 :           0 :                                         tree res_op0;
    3664                 :           0 :                                         res_op0 = captures[4];
    3665                 :           0 :                                         tree res_op1;
    3666                 :           0 :                                         {
    3667                 :           0 :                                           tree _o1[1], _r1;
    3668                 :           0 :                                           _o1[0] = captures[2];
    3669                 :           0 :                                           if (TREE_TYPE (_o1[0]) != TREE_TYPE (res_op0))
    3670                 :             :                                             {
    3671                 :           0 :                                               _r1 = fold_build1_loc (loc, NOP_EXPR, TREE_TYPE (res_op0), _o1[0]);
    3672                 :             :                                             }
    3673                 :             :                                           else
    3674                 :             :                                             _r1 = _o1[0];
    3675                 :           0 :                                           res_op1 = _r1;
    3676                 :             :                                         }
    3677                 :           0 :                                         tree _r;
    3678                 :           0 :                                         _r = fold_build2_loc (loc, LT_EXPR, type, res_op0, res_op1);
    3679                 :           0 :                                         if (UNLIKELY (debug_dump)) generic_dump_logs ("match.pd", 733, __FILE__, __LINE__, true);
    3680                 :           0 :                                         return _r;
    3681                 :             :                                       }
    3682                 :             : next_after_fail1024:;
    3683                 :             :                                     }
    3684                 :             :                                 }
    3685                 :             :                             }
    3686                 :             :                         }
    3687                 :             :                     }
    3688                 :             :                 }
    3689                 :             :             }
    3690                 :             :       }
    3691                 :             :     }
    3692                 :             :   return NULL_TREE;
    3693                 :             : }
    3694                 :             : 
    3695                 :             : tree
    3696                 :        1847 : generic_simplify_503 (location_t ARG_UNUSED (loc), const tree ARG_UNUSED (type),
    3697                 :             :  tree ARG_UNUSED (_p0), tree *ARG_UNUSED (captures))
    3698                 :             : {
    3699                 :        1847 :   const bool debug_dump = dump_file && (dump_flags & TDF_FOLDING);
    3700                 :        1847 :   if (! TYPE_UNSIGNED (type)
    3701                 :        1432 :  && ! HONOR_SIGN_DEPENDENT_ROUNDING (type)
    3702                 :        1847 :  && single_use (captures[0])
    3703                 :             : )
    3704                 :             :     {
    3705                 :        1432 :       if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail1067;
    3706                 :        1432 :       {
    3707                 :        1432 :         tree res_op0;
    3708                 :        1432 :         res_op0 = captures[1];
    3709                 :        1432 :         tree res_op1;
    3710                 :        1432 :         {
    3711                 :        1432 :           tree _o1[1], _r1;
    3712                 :        1432 :           _o1[0] = captures[2];
    3713                 :        1432 :           _r1 = fold_build1_loc (loc, NEGATE_EXPR, TREE_TYPE (_o1[0]), _o1[0]);
    3714                 :        1432 :           res_op1 = _r1;
    3715                 :             :         }
    3716                 :        1432 :         tree _r;
    3717                 :        1432 :         _r = fold_build2_loc (loc, MULT_EXPR, type, res_op0, res_op1);
    3718                 :        1432 :         if (UNLIKELY (debug_dump)) generic_dump_logs ("match.pd", 766, __FILE__, __LINE__, true);
    3719                 :        1432 :         return _r;
    3720                 :             :       }
    3721                 :           0 : next_after_fail1067:;
    3722                 :             :     }
    3723                 :             :   return NULL_TREE;
    3724                 :             : }
    3725                 :             : 
    3726                 :             : tree
    3727                 :           2 : generic_simplify_511 (location_t ARG_UNUSED (loc), const tree ARG_UNUSED (type),
    3728                 :             :  tree ARG_UNUSED (_p0), tree ARG_UNUSED (_p1), tree *ARG_UNUSED (captures),
    3729                 :             :  const enum tree_code ARG_UNUSED (minmax),
    3730                 :             :  const enum tree_code ARG_UNUSED (cmp))
    3731                 :             : {
    3732                 :           2 :   const bool debug_dump = dump_file && (dump_flags & TDF_FOLDING);
    3733                 :           2 :   {
    3734                 :           2 :  poly_int64 off0, off1;
    3735                 :           2 :  tree base0, base1;
    3736                 :           2 :  int equal = address_compare (cmp, TREE_TYPE (captures[0]), captures[1], captures[3], base0, base1,
    3737                 :             :  off0, off1,
    3738                 :             : 1
    3739                 :             : );
    3740                 :           2 :       if (equal == 1
    3741                 :             : )
    3742                 :             :         {
    3743                 :           0 :           if (minmax == MIN_EXPR
    3744                 :             : )
    3745                 :             :             {
    3746                 :           0 :               if (known_le (off0, off1)
    3747                 :             : )
    3748                 :             :                 {
    3749                 :           0 :                   if (TREE_SIDE_EFFECTS (_p0)) goto next_after_fail1076;
    3750                 :           0 :                   if (TREE_SIDE_EFFECTS (captures[3])) goto next_after_fail1076;
    3751                 :           0 :                   if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail1076;
    3752                 :           0 :                   {
    3753                 :           0 :                     tree _r;
    3754                 :           0 :                     _r = captures[0];
    3755                 :           0 :                     if (UNLIKELY (debug_dump)) generic_dump_logs ("match.pd", 774, __FILE__, __LINE__, true);
    3756                 :           0 :                     return _r;
    3757                 :             :                   }
    3758                 :           2 : next_after_fail1076:;
    3759                 :             :                 }
    3760                 :             :               else
    3761                 :             :                 {
    3762                 :           0 :                   if (known_gt (off0, off1)
    3763                 :             : )
    3764                 :             :                     {
    3765                 :           0 :                       if (TREE_SIDE_EFFECTS (_p1)) goto next_after_fail1077;
    3766                 :           0 :                       if (TREE_SIDE_EFFECTS (captures[1])) goto next_after_fail1077;
    3767                 :           0 :                       if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail1077;
    3768                 :           0 :                       {
    3769                 :           0 :                         tree _r;
    3770                 :           0 :                         _r = captures[2];
    3771                 :           0 :                         if (UNLIKELY (debug_dump)) generic_dump_logs ("match.pd", 775, __FILE__, __LINE__, true);
    3772                 :           0 :                         return _r;
    3773                 :             :                       }
    3774                 :           2 : next_after_fail1077:;
    3775                 :             :                     }
    3776                 :             :                 }
    3777                 :             :             }
    3778                 :             :           else
    3779                 :             :             {
    3780                 :           0 :               if (known_ge (off0, off1)
    3781                 :             : )
    3782                 :             :                 {
    3783                 :           0 :                   if (TREE_SIDE_EFFECTS (_p0)) goto next_after_fail1078;
    3784                 :           0 :                   if (TREE_SIDE_EFFECTS (captures[3])) goto next_after_fail1078;
    3785                 :           0 :                   if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail1078;
    3786                 :           0 :                   {
    3787                 :           0 :                     tree _r;
    3788                 :           0 :                     _r = captures[0];
    3789                 :           0 :                     if (UNLIKELY (debug_dump)) generic_dump_logs ("match.pd", 776, __FILE__, __LINE__, true);
    3790                 :           0 :                     return _r;
    3791                 :             :                   }
    3792                 :           2 : next_after_fail1078:;
    3793                 :             :                 }
    3794                 :             :               else
    3795                 :             :                 {
    3796                 :           0 :                   if (known_lt (off0, off1)
    3797                 :             : )
    3798                 :             :                     {
    3799                 :           0 :                       if (TREE_SIDE_EFFECTS (_p1)) goto next_after_fail1079;
    3800                 :           0 :                       if (TREE_SIDE_EFFECTS (captures[1])) goto next_after_fail1079;
    3801                 :           0 :                       if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail1079;
    3802                 :           0 :                       {
    3803                 :           0 :                         tree _r;
    3804                 :           0 :                         _r = captures[2];
    3805                 :           0 :                         if (UNLIKELY (debug_dump)) generic_dump_logs ("match.pd", 777, __FILE__, __LINE__, true);
    3806                 :           0 :                         return _r;
    3807                 :             :                       }
    3808                 :           2 : next_after_fail1079:;
    3809                 :             :                     }
    3810                 :             :                 }
    3811                 :             :             }
    3812                 :             :         }
    3813                 :             :   }
    3814                 :           2 :   return NULL_TREE;
    3815                 :             : }
    3816                 :             : 
    3817                 :             : tree
    3818                 :           0 : generic_simplify_529 (location_t ARG_UNUSED (loc), const tree ARG_UNUSED (type),
    3819                 :             :  tree ARG_UNUSED (_p0), tree *ARG_UNUSED (captures),
    3820                 :             :  const enum tree_code ARG_UNUSED (bitop),
    3821                 :             :  const combined_fn ARG_UNUSED (bswap))
    3822                 :             : {
    3823                 :           0 :   const bool debug_dump = dump_file && (dump_flags & TDF_FOLDING);
    3824                 :           0 :   if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail1109;
    3825                 :           0 :   {
    3826                 :           0 :     tree res_op0;
    3827                 :           0 :     res_op0 = captures[0];
    3828                 :           0 :     tree res_op1;
    3829                 :           0 :     {
    3830                 :           0 :       tree _o1[1], _r1;
    3831                 :           0 :       _o1[0] = captures[1];
    3832                 :           0 :       _r1 = maybe_build_call_expr_loc (loc, bswap, TREE_TYPE (_o1[0]), 1, _o1[0]);
    3833                 :           0 :       if (!_r1)
    3834                 :           0 :         goto next_after_fail1109;
    3835                 :           0 :       res_op1 = _r1;
    3836                 :             :     }
    3837                 :           0 :     tree _r;
    3838                 :           0 :     _r = fold_build2_loc (loc, bitop, type, res_op0, res_op1);
    3839                 :           0 :     if (UNLIKELY (debug_dump)) generic_dump_logs ("match.pd", 795, __FILE__, __LINE__, true);
    3840                 :             :     return _r;
    3841                 :             :   }
    3842                 :             : next_after_fail1109:;
    3843                 :             :   return NULL_TREE;
    3844                 :             : }
    3845                 :             : 
    3846                 :             : tree
    3847                 :           0 : generic_simplify_540 (location_t ARG_UNUSED (loc), const tree ARG_UNUSED (type),
    3848                 :             :  tree ARG_UNUSED (_p0), tree ARG_UNUSED (_p1), tree ARG_UNUSED (_p2), tree *ARG_UNUSED (captures),
    3849                 :             :  const combined_fn ARG_UNUSED (cond_len_op))
    3850                 :             : {
    3851                 :           0 :   const bool debug_dump = dump_file && (dump_flags & TDF_FOLDING);
    3852                 :           0 :   {
    3853                 :           0 :  tree op_type = TREE_TYPE (captures[5]);
    3854                 :           0 :       if (inverse_conditions_p (captures[0], captures[2])
    3855                 :           0 :  && element_precision (type) == element_precision (op_type)
    3856                 :             : )
    3857                 :             :         {
    3858                 :           0 :           if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail1120;
    3859                 :           0 :           {
    3860                 :           0 :             tree res_op0;
    3861                 :           0 :             {
    3862                 :           0 :               tree _o1[6], _r1;
    3863                 :           0 :               _o1[0] = captures[2];
    3864                 :           0 :               _o1[1] = captures[3];
    3865                 :           0 :               _o1[2] = captures[4];
    3866                 :           0 :               {
    3867                 :           0 :                 tree _o2[1], _r2;
    3868                 :           0 :                 _o2[0] = captures[1];
    3869                 :           0 :                 if (TREE_TYPE (_o2[0]) != op_type)
    3870                 :             :                   {
    3871                 :           0 :                     _r2 = fold_build1_loc (loc, VIEW_CONVERT_EXPR, op_type, _o2[0]);
    3872                 :             :                   }
    3873                 :             :                 else
    3874                 :             :                   _r2 = _o2[0];
    3875                 :           0 :                 _o1[3] = _r2;
    3876                 :             :               }
    3877                 :           0 :               _o1[4] = captures[6];
    3878                 :           0 :               _o1[5] = captures[7];
    3879                 :           0 :               _r1 = maybe_build_call_expr_loc (loc, cond_len_op, TREE_TYPE (_o1[1]), 6, _o1[0], _o1[1], _o1[2], _o1[3], _o1[4], _o1[5]);
    3880                 :           0 :               if (!_r1)
    3881                 :           0 :                 goto next_after_fail1120;
    3882                 :           0 :               res_op0 = _r1;
    3883                 :             :             }
    3884                 :           0 :             tree _r;
    3885                 :           0 :             _r = fold_build1_loc (loc, VIEW_CONVERT_EXPR, type, res_op0);
    3886                 :           0 :             if (TREE_SIDE_EFFECTS (captures[0]))
    3887                 :           0 :               _r = build2_loc (loc, COMPOUND_EXPR, type, fold_ignored_result (captures[0]), _r);
    3888                 :           0 :             if (TREE_SIDE_EFFECTS (captures[5]))
    3889                 :           0 :               _r = build2_loc (loc, COMPOUND_EXPR, type, fold_ignored_result (captures[5]), _r);
    3890                 :           0 :             if (UNLIKELY (debug_dump)) generic_dump_logs ("match.pd", 801, __FILE__, __LINE__, true);
    3891                 :           0 :             return _r;
    3892                 :             :           }
    3893                 :             : next_after_fail1120:;
    3894                 :             :         }
    3895                 :             :   }
    3896                 :             :   return NULL_TREE;
    3897                 :             : }
    3898                 :             : 
    3899                 :             : tree
    3900                 :           0 : generic_simplify_551 (location_t ARG_UNUSED (loc), const tree ARG_UNUSED (type),
    3901                 :             :  tree ARG_UNUSED (_p0), tree *ARG_UNUSED (captures),
    3902                 :             :  const combined_fn ARG_UNUSED (logs))
    3903                 :             : {
    3904                 :           0 :   const bool debug_dump = dump_file && (dump_flags & TDF_FOLDING);
    3905                 :           0 :   if (flag_unsafe_math_optimizations
    3906                 :             : )
    3907                 :             :     {
    3908                 :           0 :       if (! HONOR_SIGN_DEPENDENT_ROUNDING (type)
    3909                 :           0 :  && ! HONOR_NANS (type) && ! HONOR_INFINITIES (type)
    3910                 :           0 :  && ! flag_trapping_math
    3911                 :           0 :  && ! flag_errno_math
    3912                 :             : )
    3913                 :             :         {
    3914                 :           0 :           if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail1131;
    3915                 :           0 :           {
    3916                 :           0 :             tree res_op0;
    3917                 :           0 :             {
    3918                 :           0 :               tree _o1[1], _r1;
    3919                 :           0 :               _o1[0] = captures[1];
    3920                 :           0 :               _r1 = maybe_build_call_expr_loc (loc, logs, TREE_TYPE (_o1[0]), 1, _o1[0]);
    3921                 :           0 :               if (!_r1)
    3922                 :           0 :                 goto next_after_fail1131;
    3923                 :           0 :               if (EXPR_P (_r1))
    3924                 :           0 :                 goto next_after_fail1131;
    3925                 :           0 :               res_op0 = _r1;
    3926                 :             :             }
    3927                 :           0 :             tree res_op1;
    3928                 :           0 :             {
    3929                 :           0 :               tree _o1[1], _r1;
    3930                 :           0 :               _o1[0] = captures[2];
    3931                 :           0 :               _r1 = maybe_build_call_expr_loc (loc, logs, TREE_TYPE (_o1[0]), 1, _o1[0]);
    3932                 :           0 :               if (!_r1)
    3933                 :           0 :                 goto next_after_fail1131;
    3934                 :           0 :               res_op1 = _r1;
    3935                 :             :             }
    3936                 :           0 :             tree _r;
    3937                 :           0 :             _r = fold_build2_loc (loc, MINUS_EXPR, type, res_op0, res_op1);
    3938                 :           0 :             if (UNLIKELY (debug_dump)) generic_dump_logs ("match.pd", 812, __FILE__, __LINE__, true);
    3939                 :           0 :             return _r;
    3940                 :             :           }
    3941                 :             : next_after_fail1131:;
    3942                 :             :         }
    3943                 :             :     }
    3944                 :             :   return NULL_TREE;
    3945                 :             : }
    3946                 :             : 
    3947                 :             : tree
    3948                 :           0 : generic_simplify_565 (location_t ARG_UNUSED (loc), const tree ARG_UNUSED (type),
    3949                 :             :  tree ARG_UNUSED (_p0), tree *ARG_UNUSED (captures),
    3950                 :             :  const combined_fn ARG_UNUSED (floors))
    3951                 :             : {
    3952                 :           0 :   const bool debug_dump = dump_file && (dump_flags & TDF_FOLDING);
    3953                 :           0 :   if (canonicalize_math_p ()
    3954                 :             : )
    3955                 :             :     {
    3956                 :           0 :       if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail1145;
    3957                 :           0 :       {
    3958                 :           0 :         tree res_op0;
    3959                 :           0 :         res_op0 = captures[0];
    3960                 :           0 :         tree _r;
    3961                 :           0 :         _r = fold_build1_loc (loc, FIX_TRUNC_EXPR, type, res_op0);
    3962                 :           0 :         if (UNLIKELY (debug_dump)) generic_dump_logs ("match.pd", 826, __FILE__, __LINE__, true);
    3963                 :           0 :         return _r;
    3964                 :             :       }
    3965                 :           0 : next_after_fail1145:;
    3966                 :             :     }
    3967                 :             :   return NULL_TREE;
    3968                 :             : }
    3969                 :             : 
    3970                 :             : tree
    3971                 :           0 : generic_simplify_574 (location_t ARG_UNUSED (loc), const tree ARG_UNUSED (type),
    3972                 :             :  tree ARG_UNUSED (_p0), tree ARG_UNUSED (_p1), tree ARG_UNUSED (_p2), tree *ARG_UNUSED (captures),
    3973                 :             :  const combined_fn ARG_UNUSED (fmas))
    3974                 :             : {
    3975                 :           0 :   const bool debug_dump = dump_file && (dump_flags & TDF_FOLDING);
    3976                 :           0 :   if (canonicalize_math_after_vectorization_p ()
    3977                 :             : )
    3978                 :             :     {
    3979                 :             :       if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail1154;
    3980                 :             :       {
    3981                 :             :         tree res_op0;
    3982                 :             :         res_op0 = captures[0];
    3983                 :             :         tree res_op1;
    3984                 :             :         res_op1 = captures[1];
    3985                 :             :         tree res_op2;
    3986                 :             :         res_op2 = captures[2];
    3987                 :             :         tree _r;
    3988                 :             :         _r = maybe_build_call_expr_loc (loc, CFN_FMS, type, 3, res_op0, res_op1, res_op2);
    3989                 :             :         if (!_r)
    3990                 :             :           goto next_after_fail1154;
    3991                 :             :         if (UNLIKELY (debug_dump)) generic_dump_logs ("match.pd", 835, __FILE__, __LINE__, true);
    3992                 :             :         return _r;
    3993                 :             :       }
    3994                 :           0 : next_after_fail1154:;
    3995                 :             :     }
    3996                 :           0 :   return NULL_TREE;
    3997                 :             : }
    3998                 :             : 
    3999                 :             : tree
    4000                 :           0 : generic_simplify_584 (location_t ARG_UNUSED (loc), const tree ARG_UNUSED (type),
    4001                 :             :  tree ARG_UNUSED (_p0), tree *ARG_UNUSED (captures),
    4002                 :             :  const combined_fn ARG_UNUSED (ctz))
    4003                 :             : {
    4004                 :           0 :   const bool debug_dump = dump_file && (dump_flags & TDF_FOLDING);
    4005                 :           0 :   {
    4006                 :           0 :  tree t = TREE_TYPE (captures[0]);
    4007                 :           0 :       if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail1164;
    4008                 :           0 :       {
    4009                 :           0 :         tree res_op0;
    4010                 :           0 :         {
    4011                 :           0 :           tree _o1[1], _r1;
    4012                 :           0 :           _o1[0] = captures[1];
    4013                 :           0 :           if (TREE_TYPE (_o1[0]) != t)
    4014                 :             :             {
    4015                 :           0 :               _r1 = fold_build1_loc (loc, NOP_EXPR, t, _o1[0]);
    4016                 :             :             }
    4017                 :             :           else
    4018                 :             :             _r1 = _o1[0];
    4019                 :           0 :           res_op0 = _r1;
    4020                 :             :         }
    4021                 :           0 :         tree _r;
    4022                 :           0 :         _r = maybe_build_call_expr_loc (loc, ctz, type, 1, res_op0);
    4023                 :           0 :         if (!_r)
    4024                 :           0 :           goto next_after_fail1164;
    4025                 :           0 :         if (UNLIKELY (debug_dump)) generic_dump_logs ("match.pd", 842, __FILE__, __LINE__, true);
    4026                 :             :         return _r;
    4027                 :             :       }
    4028                 :             : next_after_fail1164:;
    4029                 :             :   }
    4030                 :             :   return NULL_TREE;
    4031                 :             : }
    4032                 :             : 
    4033                 :             : tree
    4034                 :           0 : generic_simplify_594 (location_t ARG_UNUSED (loc), const tree ARG_UNUSED (type),
    4035                 :             :  tree ARG_UNUSED (_p0), tree *ARG_UNUSED (captures),
    4036                 :             :  const enum tree_code ARG_UNUSED (rot),
    4037                 :             :  const combined_fn ARG_UNUSED (parity))
    4038                 :             : {
    4039                 :           0 :   const bool debug_dump = dump_file && (dump_flags & TDF_FOLDING);
    4040                 :           0 :   if (INTEGRAL_TYPE_P (TREE_TYPE (captures[0]))
    4041                 :           0 :  && INTEGRAL_TYPE_P (TREE_TYPE (captures[1]))
    4042                 :           0 :  && (
    4043                 :             : 
    4044                 :           0 :  || !TREE_SIDE_EFFECTS (captures[3]))
    4045                 :           0 :  && TYPE_PRECISION (TREE_TYPE (captures[0]))
    4046                 :           0 :  >= TYPE_PRECISION (TREE_TYPE (captures[1]))
    4047                 :             : )
    4048                 :             :     {
    4049                 :           0 :       {
    4050                 :           0 :  tree type0 = TREE_TYPE (captures[0]);
    4051                 :           0 :           if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail1175;
    4052                 :           0 :           {
    4053                 :           0 :             tree res_op0;
    4054                 :           0 :             {
    4055                 :           0 :               tree _o1[1], _r1;
    4056                 :           0 :               _o1[0] = captures[2];
    4057                 :           0 :               if (TREE_TYPE (_o1[0]) != type0)
    4058                 :             :                 {
    4059                 :           0 :                   _r1 = fold_build1_loc (loc, NOP_EXPR, type0, _o1[0]);
    4060                 :             :                 }
    4061                 :             :               else
    4062                 :             :                 _r1 = _o1[0];
    4063                 :           0 :               res_op0 = _r1;
    4064                 :             :             }
    4065                 :           0 :             tree _r;
    4066                 :           0 :             _r = maybe_build_call_expr_loc (loc, parity, type, 1, res_op0);
    4067                 :           0 :             if (!_r)
    4068                 :           0 :               goto next_after_fail1175;
    4069                 :           0 :             if (TREE_SIDE_EFFECTS (captures[3]))
    4070                 :           0 :               _r = build2_loc (loc, COMPOUND_EXPR, type, fold_ignored_result (captures[3]), _r);
    4071                 :           0 :             if (UNLIKELY (debug_dump)) generic_dump_logs ("match.pd", 849, __FILE__, __LINE__, true);
    4072                 :           0 :             return _r;
    4073                 :             :           }
    4074                 :             : next_after_fail1175:;
    4075                 :             :       }
    4076                 :             :     }
    4077                 :             :   return NULL_TREE;
    4078                 :             : }
    4079                 :             : 
    4080                 :             : tree
    4081                 :         942 : generic_simplify_ABSU_EXPR (location_t ARG_UNUSED (loc), enum tree_code ARG_UNUSED (code), const tree ARG_UNUSED (type), tree _p0)
    4082                 :             : {
    4083                 :         942 :   const bool debug_dump = dump_file && (dump_flags & TDF_FOLDING);
    4084                 :         942 :   switch (TREE_CODE (_p0))
    4085                 :             :     {
    4086                 :         541 :     CASE_CONVERT:
    4087                 :         541 :       {
    4088                 :         541 :         tree _q20 = TREE_OPERAND (_p0, 0);
    4089                 :         541 :         switch (TREE_CODE (_q20))
    4090                 :             :           {
    4091                 :           0 :           case ABSU_EXPR:
    4092                 :           0 :             {
    4093                 :           0 :               tree _q30 = TREE_OPERAND (_q20, 0);
    4094                 :           0 :               {
    4095                 :           0 :                 tree captures[3] ATTRIBUTE_UNUSED = { _p0, _q20, _q30 };
    4096                 :           0 :                 if (tree_nop_conversion_p (TREE_TYPE (captures[0]), TREE_TYPE (captures[1]))
    4097                 :             : )
    4098                 :             :                   {
    4099                 :           0 :                     if (TREE_SIDE_EFFECTS (_p0)) goto next_after_fail1217;
    4100                 :           0 :                     if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail1217;
    4101                 :           0 :                     {
    4102                 :           0 :                       tree _r;
    4103                 :           0 :                       _r = captures[1];
    4104                 :           0 :                       if (UNLIKELY (debug_dump)) generic_dump_logs ("match.pd", 883, __FILE__, __LINE__, true);
    4105                 :           0 :                       return _r;
    4106                 :             :                     }
    4107                 :           0 : next_after_fail1217:;
    4108                 :             :                   }
    4109                 :             :               }
    4110                 :           0 :               break;
    4111                 :             :             }
    4112                 :             :           default:;
    4113                 :             :           }
    4114                 :             :         break;
    4115                 :             :       }
    4116                 :           6 :     case NEGATE_EXPR:
    4117                 :           6 :       {
    4118                 :           6 :         tree _q20 = TREE_OPERAND (_p0, 0);
    4119                 :           6 :         {
    4120                 :           6 :           tree captures[1] ATTRIBUTE_UNUSED = { _q20 };
    4121                 :           6 :           if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail1218;
    4122                 :           6 :           {
    4123                 :           6 :             tree res_op0;
    4124                 :           6 :             res_op0 = captures[0];
    4125                 :           6 :             tree _r;
    4126                 :           6 :             _r = fold_build1_loc (loc, ABSU_EXPR, type, res_op0);
    4127                 :           6 :             if (UNLIKELY (debug_dump)) generic_dump_logs ("match.pd", 884, __FILE__, __LINE__, true);
    4128                 :         942 :             return _r;
    4129                 :             :           }
    4130                 :           0 : next_after_fail1218:;
    4131                 :             :         }
    4132                 :           0 :         break;
    4133                 :             :       }
    4134                 :           0 :     case VEC_COND_EXPR:
    4135                 :           0 :       {
    4136                 :           0 :         tree _q20 = TREE_OPERAND (_p0, 0);
    4137                 :           0 :         tree _q21 = TREE_OPERAND (_p0, 1);
    4138                 :           0 :         tree _q22 = TREE_OPERAND (_p0, 2);
    4139                 :           0 :         {
    4140                 :           0 :           tree captures[4] ATTRIBUTE_UNUSED = { _p0, _q20, _q21, _q22 };
    4141                 :           0 :           if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail1219;
    4142                 :           0 :           {
    4143                 :           0 :             tree res_op0;
    4144                 :           0 :             res_op0 = captures[1];
    4145                 :           0 :             tree res_op1;
    4146                 :           0 :             {
    4147                 :           0 :               tree _o1[1], _r1;
    4148                 :           0 :               _o1[0] = captures[2];
    4149                 :           0 :               _r1 = fold_build1_loc (loc, ABSU_EXPR, TREE_TYPE (_o1[0]), _o1[0]);
    4150                 :           0 :               if (EXPR_P (_r1))
    4151                 :           0 :                 goto next_after_fail1219;
    4152                 :           0 :               res_op1 = _r1;
    4153                 :             :             }
    4154                 :           0 :             tree res_op2;
    4155                 :           0 :             {
    4156                 :           0 :               tree _o1[1], _r1;
    4157                 :           0 :               _o1[0] = captures[3];
    4158                 :           0 :               _r1 = fold_build1_loc (loc, ABSU_EXPR, TREE_TYPE (_o1[0]), _o1[0]);
    4159                 :           0 :               if (EXPR_P (_r1))
    4160                 :           0 :                 goto next_after_fail1219;
    4161                 :           0 :               res_op2 = _r1;
    4162                 :             :             }
    4163                 :           0 :             tree _r;
    4164                 :           0 :             _r = fold_build3_loc (loc, VEC_COND_EXPR, type, res_op0, res_op1, res_op2);
    4165                 :           0 :             if (UNLIKELY (debug_dump)) generic_dump_logs ("match.pd", 858, __FILE__, __LINE__, true);
    4166                 :           0 :             return _r;
    4167                 :             :           }
    4168                 :           0 : next_after_fail1219:;
    4169                 :             :         }
    4170                 :           0 :         break;
    4171                 :             :       }
    4172                 :         936 :     default:;
    4173                 :             :     }
    4174                 :         936 : if (tree_expr_nonnegative_p (_p0))
    4175                 :             :   {
    4176                 :           0 :     {
    4177                 :           0 :       tree captures[1] ATTRIBUTE_UNUSED = { _p0 };
    4178                 :           0 :       if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail1220;
    4179                 :           0 :       {
    4180                 :           0 :         tree res_op0;
    4181                 :           0 :         res_op0 = captures[0];
    4182                 :           0 :         tree _r;
    4183                 :           0 :         _r = fold_build1_loc (loc, NOP_EXPR, type, res_op0);
    4184                 :           0 :         if (UNLIKELY (debug_dump)) generic_dump_logs ("match.pd", 885, __FILE__, __LINE__, true);
    4185                 :           0 :         return _r;
    4186                 :             :       }
    4187                 :           0 : next_after_fail1220:;
    4188                 :             :     }
    4189                 :             :   }
    4190                 :             :   return NULL_TREE;
    4191                 :             : }
    4192                 :             : 
    4193                 :             : tree
    4194                 :     2110136 : generic_simplify_IMAGPART_EXPR (location_t ARG_UNUSED (loc), enum tree_code ARG_UNUSED (code), const tree ARG_UNUSED (type), tree _p0)
    4195                 :             : {
    4196                 :     2110136 :   const bool debug_dump = dump_file && (dump_flags & TDF_FOLDING);
    4197                 :     2110136 :   switch (TREE_CODE (_p0))
    4198                 :             :     {
    4199                 :        1731 :     case COMPLEX_EXPR:
    4200                 :        1731 :       {
    4201                 :        1731 :         tree _q20 = TREE_OPERAND (_p0, 0);
    4202                 :        1731 :         tree _q21 = TREE_OPERAND (_p0, 1);
    4203                 :        1731 :         {
    4204                 :        1731 :           tree captures[2] ATTRIBUTE_UNUSED = { _q20, _q21 };
    4205                 :        1731 :           if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail1285;
    4206                 :        1731 :           {
    4207                 :        1731 :             tree _r;
    4208                 :        1731 :             _r = captures[1];
    4209                 :        1731 :             if (TREE_SIDE_EFFECTS (captures[0]))
    4210                 :         522 :               _r = build2_loc (loc, COMPOUND_EXPR, type, fold_ignored_result (captures[0]), _r);
    4211                 :        1731 :             if (UNLIKELY (debug_dump)) generic_dump_logs ("match.pd", 908, __FILE__, __LINE__, true);
    4212                 :        1731 :             return _r;
    4213                 :             :           }
    4214                 :           0 : next_after_fail1285:;
    4215                 :             :         }
    4216                 :           0 :         break;
    4217                 :             :       }
    4218                 :       48949 :     CASE_CONVERT:
    4219                 :       48949 :       {
    4220                 :       48949 :         tree _q20 = TREE_OPERAND (_p0, 0);
    4221                 :       48949 :         switch (TREE_CODE (_q20))
    4222                 :             :           {
    4223                 :           0 :           case CONJ_EXPR:
    4224                 :           0 :             {
    4225                 :           0 :               tree _q30 = TREE_OPERAND (_q20, 0);
    4226                 :           0 :               {
    4227                 :           0 :                 tree captures[3] ATTRIBUTE_UNUSED = { _p0, _q20, _q30 };
    4228                 :           0 :                 if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail1286;
    4229                 :           0 :                 {
    4230                 :           0 :                   tree res_op0;
    4231                 :           0 :                   {
    4232                 :           0 :                     tree _o1[1], _r1;
    4233                 :           0 :                     {
    4234                 :           0 :                       tree _o2[1], _r2;
    4235                 :           0 :                       _o2[0] = captures[2];
    4236                 :           0 :                       _r2 = fold_build1_loc (loc, IMAGPART_EXPR, TREE_TYPE (TREE_TYPE (_o2[0])), _o2[0]);
    4237                 :           0 :                       _o1[0] = _r2;
    4238                 :             :                     }
    4239                 :           0 :                     _r1 = fold_build1_loc (loc, NEGATE_EXPR, TREE_TYPE (_o1[0]), _o1[0]);
    4240                 :           0 :                     res_op0 = _r1;
    4241                 :             :                   }
    4242                 :           0 :                   tree _r;
    4243                 :           0 :                   _r = fold_build1_loc (loc, NOP_EXPR, type, res_op0);
    4244                 :           0 :                   if (UNLIKELY (debug_dump)) generic_dump_logs ("match.pd", 909, __FILE__, __LINE__, true);
    4245                 :           0 :                   return _r;
    4246                 :             :                 }
    4247                 :           0 : next_after_fail1286:;
    4248                 :             :               }
    4249                 :           0 :               break;
    4250                 :             :             }
    4251                 :           0 :           case PLUS_EXPR:
    4252                 :           0 :             {
    4253                 :           0 :               tree _q30 = TREE_OPERAND (_q20, 0);
    4254                 :           0 :               tree _q31 = TREE_OPERAND (_q20, 1);
    4255                 :           0 :               {
    4256                 :           0 :                 tree captures[4] ATTRIBUTE_UNUSED = { _p0, _q20, _q30, _q31 };
    4257                 :           0 :                 const enum tree_code op = PLUS_EXPR;
    4258                 :           0 :                 if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail1287;
    4259                 :           0 :                 {
    4260                 :           0 :                   tree res_op0;
    4261                 :           0 :                   {
    4262                 :           0 :                     tree _o1[2], _r1;
    4263                 :           0 :                     {
    4264                 :           0 :                       tree _o2[1], _r2;
    4265                 :           0 :                       _o2[0] = captures[2];
    4266                 :           0 :                       _r2 = fold_build1_loc (loc, IMAGPART_EXPR, TREE_TYPE (TREE_TYPE (_o2[0])), _o2[0]);
    4267                 :           0 :                       _o1[0] = _r2;
    4268                 :             :                     }
    4269                 :           0 :                     {
    4270                 :           0 :                       tree _o2[1], _r2;
    4271                 :           0 :                       _o2[0] = captures[3];
    4272                 :           0 :                       _r2 = fold_build1_loc (loc, IMAGPART_EXPR, TREE_TYPE (TREE_TYPE (_o2[0])), _o2[0]);
    4273                 :           0 :                       _o1[1] = _r2;
    4274                 :             :                     }
    4275                 :           0 :                     _r1 = fold_build2_loc (loc, op, TREE_TYPE (_o1[0]), _o1[0], _o1[1]);
    4276                 :           0 :                     res_op0 = _r1;
    4277                 :             :                   }
    4278                 :           0 :                   tree _r;
    4279                 :           0 :                   _r = fold_build1_loc (loc, NOP_EXPR, type, res_op0);
    4280                 :           0 :                   if (UNLIKELY (debug_dump)) generic_dump_logs ("match.pd", 906, __FILE__, __LINE__, true);
    4281                 :           0 :                   return _r;
    4282                 :             :                 }
    4283                 :           0 : next_after_fail1287:;
    4284                 :             :               }
    4285                 :           0 :               break;
    4286                 :             :             }
    4287                 :           0 :           case MINUS_EXPR:
    4288                 :           0 :             {
    4289                 :           0 :               tree _q30 = TREE_OPERAND (_q20, 0);
    4290                 :           0 :               tree _q31 = TREE_OPERAND (_q20, 1);
    4291                 :           0 :               {
    4292                 :           0 :                 tree captures[4] ATTRIBUTE_UNUSED = { _p0, _q20, _q30, _q31 };
    4293                 :           0 :                 const enum tree_code op = MINUS_EXPR;
    4294                 :           0 :                 if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail1288;
    4295                 :           0 :                 {
    4296                 :           0 :                   tree res_op0;
    4297                 :           0 :                   {
    4298                 :           0 :                     tree _o1[2], _r1;
    4299                 :           0 :                     {
    4300                 :           0 :                       tree _o2[1], _r2;
    4301                 :           0 :                       _o2[0] = captures[2];
    4302                 :           0 :                       _r2 = fold_build1_loc (loc, IMAGPART_EXPR, TREE_TYPE (TREE_TYPE (_o2[0])), _o2[0]);
    4303                 :           0 :                       _o1[0] = _r2;
    4304                 :             :                     }
    4305                 :           0 :                     {
    4306                 :           0 :                       tree _o2[1], _r2;
    4307                 :           0 :                       _o2[0] = captures[3];
    4308                 :           0 :                       _r2 = fold_build1_loc (loc, IMAGPART_EXPR, TREE_TYPE (TREE_TYPE (_o2[0])), _o2[0]);
    4309                 :           0 :                       _o1[1] = _r2;
    4310                 :             :                     }
    4311                 :           0 :                     _r1 = fold_build2_loc (loc, op, TREE_TYPE (_o1[0]), _o1[0], _o1[1]);
    4312                 :           0 :                     res_op0 = _r1;
    4313                 :             :                   }
    4314                 :           0 :                   tree _r;
    4315                 :           0 :                   _r = fold_build1_loc (loc, NOP_EXPR, type, res_op0);
    4316                 :           0 :                   if (UNLIKELY (debug_dump)) generic_dump_logs ("match.pd", 906, __FILE__, __LINE__, true);
    4317                 :           0 :                   return _r;
    4318                 :             :                 }
    4319                 :           0 : next_after_fail1288:;
    4320                 :             :               }
    4321                 :           0 :               break;
    4322                 :             :             }
    4323                 :           0 :           case CALL_EXPR:
    4324                 :           0 :             switch (get_call_combined_fn (_q20))
    4325                 :             :               {
    4326                 :           0 :               case CFN_BUILT_IN_CEXPIF:
    4327                 :           0 :                 if (call_expr_nargs (_q20) == 1)
    4328                 :             :     {
    4329                 :           0 :                     tree _q30 = CALL_EXPR_ARG (_q20, 0);
    4330                 :           0 :                     {
    4331                 :           0 :                       tree captures[3] ATTRIBUTE_UNUSED = { _p0, _q20, _q30 };
    4332                 :           0 :                       if (single_use (captures[1]) && single_use (captures[0])
    4333                 :             : )
    4334                 :             :                         {
    4335                 :           0 :                           if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail1289;
    4336                 :           0 :                           {
    4337                 :           0 :                             tree res_op0;
    4338                 :           0 :                             {
    4339                 :           0 :                               tree _o1[1], _r1;
    4340                 :           0 :                               _o1[0] = captures[2];
    4341                 :           0 :                               _r1 = maybe_build_call_expr_loc (loc, CFN_BUILT_IN_SINF, TREE_TYPE (_o1[0]), 1, _o1[0]);
    4342                 :           0 :                               if (!_r1)
    4343                 :           0 :                                 goto next_after_fail1289;
    4344                 :           0 :                               res_op0 = _r1;
    4345                 :             :                             }
    4346                 :           0 :                             tree _r;
    4347                 :           0 :                             _r = fold_build1_loc (loc, NOP_EXPR, type, res_op0);
    4348                 :           0 :                             if (UNLIKELY (debug_dump)) generic_dump_logs ("match.pd", 910, __FILE__, __LINE__, true);
    4349                 :           0 :                             return _r;
    4350                 :             :                           }
    4351                 :           0 : next_after_fail1289:;
    4352                 :             :                         }
    4353                 :             :                     }
    4354                 :             :                   }
    4355                 :             :                 break;
    4356                 :           0 :               case CFN_BUILT_IN_CEXPIL:
    4357                 :           0 :                 if (call_expr_nargs (_q20) == 1)
    4358                 :             :     {
    4359                 :           0 :                     tree _q30 = CALL_EXPR_ARG (_q20, 0);
    4360                 :           0 :                     {
    4361                 :           0 :                       tree captures[3] ATTRIBUTE_UNUSED = { _p0, _q20, _q30 };
    4362                 :           0 :                       if (single_use (captures[1]) && single_use (captures[0])
    4363                 :             : )
    4364                 :             :                         {
    4365                 :           0 :                           if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail1290;
    4366                 :           0 :                           {
    4367                 :           0 :                             tree res_op0;
    4368                 :           0 :                             {
    4369                 :           0 :                               tree _o1[1], _r1;
    4370                 :           0 :                               _o1[0] = captures[2];
    4371                 :           0 :                               _r1 = maybe_build_call_expr_loc (loc, CFN_BUILT_IN_SINL, TREE_TYPE (_o1[0]), 1, _o1[0]);
    4372                 :           0 :                               if (!_r1)
    4373                 :           0 :                                 goto next_after_fail1290;
    4374                 :           0 :                               res_op0 = _r1;
    4375                 :             :                             }
    4376                 :           0 :                             tree _r;
    4377                 :           0 :                             _r = fold_build1_loc (loc, NOP_EXPR, type, res_op0);
    4378                 :           0 :                             if (UNLIKELY (debug_dump)) generic_dump_logs ("match.pd", 910, __FILE__, __LINE__, true);
    4379                 :           0 :                             return _r;
    4380                 :             :                           }
    4381                 :           0 : next_after_fail1290:;
    4382                 :             :                         }
    4383                 :             :                     }
    4384                 :             :                   }
    4385                 :             :                 break;
    4386                 :           0 :               case CFN_BUILT_IN_CEXPI:
    4387                 :           0 :                 if (call_expr_nargs (_q20) == 1)
    4388                 :             :     {
    4389                 :           0 :                     tree _q30 = CALL_EXPR_ARG (_q20, 0);
    4390                 :           0 :                     {
    4391                 :           0 :                       tree captures[3] ATTRIBUTE_UNUSED = { _p0, _q20, _q30 };
    4392                 :           0 :                       if (single_use (captures[1]) && single_use (captures[0])
    4393                 :             : )
    4394                 :             :                         {
    4395                 :           0 :                           if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail1291;
    4396                 :           0 :                           {
    4397                 :           0 :                             tree res_op0;
    4398                 :           0 :                             {
    4399                 :           0 :                               tree _o1[1], _r1;
    4400                 :           0 :                               _o1[0] = captures[2];
    4401                 :           0 :                               _r1 = maybe_build_call_expr_loc (loc, CFN_BUILT_IN_SIN, TREE_TYPE (_o1[0]), 1, _o1[0]);
    4402                 :           0 :                               if (!_r1)
    4403                 :           0 :                                 goto next_after_fail1291;
    4404                 :           0 :                               res_op0 = _r1;
    4405                 :             :                             }
    4406                 :           0 :                             tree _r;
    4407                 :           0 :                             _r = fold_build1_loc (loc, NOP_EXPR, type, res_op0);
    4408                 :           0 :                             if (UNLIKELY (debug_dump)) generic_dump_logs ("match.pd", 910, __FILE__, __LINE__, true);
    4409                 :           0 :                             return _r;
    4410                 :             :                           }
    4411                 :           0 : next_after_fail1291:;
    4412                 :             :                         }
    4413                 :             :                     }
    4414                 :             :                   }
    4415                 :             :                 break;
    4416                 :             :               default:;
    4417                 :             :               }
    4418                 :             :             break;
    4419                 :             :           default:;
    4420                 :             :           }
    4421                 :             :         break;
    4422                 :             :       }
    4423                 :          16 :     case CONJ_EXPR:
    4424                 :          16 :       {
    4425                 :          16 :         tree _q20 = TREE_OPERAND (_p0, 0);
    4426                 :          16 :         {
    4427                 :          16 :           tree captures[3] ATTRIBUTE_UNUSED = { _p0, _p0, _q20 };
    4428                 :          16 :           if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail1292;
    4429                 :          16 :           {
    4430                 :          16 :             tree res_op0;
    4431                 :          16 :             {
    4432                 :          16 :               tree _o1[1], _r1;
    4433                 :          16 :               {
    4434                 :          16 :                 tree _o2[1], _r2;
    4435                 :          16 :                 _o2[0] = captures[2];
    4436                 :          16 :                 _r2 = fold_build1_loc (loc, IMAGPART_EXPR, TREE_TYPE (TREE_TYPE (_o2[0])), _o2[0]);
    4437                 :          16 :                 _o1[0] = _r2;
    4438                 :             :               }
    4439                 :          16 :               _r1 = fold_build1_loc (loc, NEGATE_EXPR, TREE_TYPE (_o1[0]), _o1[0]);
    4440                 :          16 :               res_op0 = _r1;
    4441                 :             :             }
    4442                 :          16 :             tree _r;
    4443                 :          16 :             _r = fold_build1_loc (loc, NOP_EXPR, type, res_op0);
    4444                 :          16 :             if (UNLIKELY (debug_dump)) generic_dump_logs ("match.pd", 909, __FILE__, __LINE__, true);
    4445                 :          16 :             return _r;
    4446                 :             :           }
    4447                 :           0 : next_after_fail1292:;
    4448                 :             :         }
    4449                 :           0 :         break;
    4450                 :             :       }
    4451                 :         365 :     case PLUS_EXPR:
    4452                 :         365 :       {
    4453                 :         365 :         tree _q20 = TREE_OPERAND (_p0, 0);
    4454                 :         365 :         tree _q21 = TREE_OPERAND (_p0, 1);
    4455                 :         365 :         {
    4456                 :         365 :           tree captures[4] ATTRIBUTE_UNUSED = { _p0, _p0, _q20, _q21 };
    4457                 :         365 :           const enum tree_code op = PLUS_EXPR;
    4458                 :         365 :           if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail1293;
    4459                 :         365 :           {
    4460                 :         365 :             tree res_op0;
    4461                 :         365 :             {
    4462                 :         365 :               tree _o1[2], _r1;
    4463                 :         365 :               {
    4464                 :         365 :                 tree _o2[1], _r2;
    4465                 :         365 :                 _o2[0] = captures[2];
    4466                 :         365 :                 _r2 = fold_build1_loc (loc, IMAGPART_EXPR, TREE_TYPE (TREE_TYPE (_o2[0])), _o2[0]);
    4467                 :         365 :                 _o1[0] = _r2;
    4468                 :             :               }
    4469                 :         365 :               {
    4470                 :         365 :                 tree _o2[1], _r2;
    4471                 :         365 :                 _o2[0] = captures[3];
    4472                 :         365 :                 _r2 = fold_build1_loc (loc, IMAGPART_EXPR, TREE_TYPE (TREE_TYPE (_o2[0])), _o2[0]);
    4473                 :         365 :                 _o1[1] = _r2;
    4474                 :             :               }
    4475                 :         365 :               _r1 = fold_build2_loc (loc, op, TREE_TYPE (_o1[0]), _o1[0], _o1[1]);
    4476                 :         365 :               res_op0 = _r1;
    4477                 :             :             }
    4478                 :         365 :             tree _r;
    4479                 :         365 :             _r = fold_build1_loc (loc, NOP_EXPR, type, res_op0);
    4480                 :         365 :             if (UNLIKELY (debug_dump)) generic_dump_logs ("match.pd", 906, __FILE__, __LINE__, true);
    4481                 :         365 :             return _r;
    4482                 :             :           }
    4483                 :           0 : next_after_fail1293:;
    4484                 :             :         }
    4485                 :           0 :         break;
    4486                 :             :       }
    4487                 :          47 :     case MINUS_EXPR:
    4488                 :          47 :       {
    4489                 :          47 :         tree _q20 = TREE_OPERAND (_p0, 0);
    4490                 :          47 :         tree _q21 = TREE_OPERAND (_p0, 1);
    4491                 :          47 :         {
    4492                 :          47 :           tree captures[4] ATTRIBUTE_UNUSED = { _p0, _p0, _q20, _q21 };
    4493                 :          47 :           const enum tree_code op = MINUS_EXPR;
    4494                 :          47 :           if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail1294;
    4495                 :          47 :           {
    4496                 :          47 :             tree res_op0;
    4497                 :          47 :             {
    4498                 :          47 :               tree _o1[2], _r1;
    4499                 :          47 :               {
    4500                 :          47 :                 tree _o2[1], _r2;
    4501                 :          47 :                 _o2[0] = captures[2];
    4502                 :          47 :                 _r2 = fold_build1_loc (loc, IMAGPART_EXPR, TREE_TYPE (TREE_TYPE (_o2[0])), _o2[0]);
    4503                 :          47 :                 _o1[0] = _r2;
    4504                 :             :               }
    4505                 :          47 :               {
    4506                 :          47 :                 tree _o2[1], _r2;
    4507                 :          47 :                 _o2[0] = captures[3];
    4508                 :          47 :                 _r2 = fold_build1_loc (loc, IMAGPART_EXPR, TREE_TYPE (TREE_TYPE (_o2[0])), _o2[0]);
    4509                 :          47 :                 _o1[1] = _r2;
    4510                 :             :               }
    4511                 :          47 :               _r1 = fold_build2_loc (loc, op, TREE_TYPE (_o1[0]), _o1[0], _o1[1]);
    4512                 :          47 :               res_op0 = _r1;
    4513                 :             :             }
    4514                 :          47 :             tree _r;
    4515                 :          47 :             _r = fold_build1_loc (loc, NOP_EXPR, type, res_op0);
    4516                 :          47 :             if (UNLIKELY (debug_dump)) generic_dump_logs ("match.pd", 906, __FILE__, __LINE__, true);
    4517                 :          47 :             return _r;
    4518                 :             :           }
    4519                 :           0 : next_after_fail1294:;
    4520                 :             :         }
    4521                 :           0 :         break;
    4522                 :             :       }
    4523                 :       54884 :     case CALL_EXPR:
    4524                 :       54884 :       switch (get_call_combined_fn (_p0))
    4525                 :             :         {
    4526                 :       20548 :         case CFN_MUL_OVERFLOW:
    4527                 :       20548 :           if (call_expr_nargs (_p0) == 2)
    4528                 :             :     {
    4529                 :       20548 :               tree _q20 = CALL_EXPR_ARG (_p0, 0);
    4530                 :       20548 :               tree _q21 = CALL_EXPR_ARG (_p0, 1);
    4531                 :       20548 :               if (integer_nonzerop (_q21))
    4532                 :             :                 {
    4533                 :        2777 :                   {
    4534                 :        2777 :                     tree captures[3] ATTRIBUTE_UNUSED = { _p0, _q20, _q21 };
    4535                 :        2777 :                     tree res = generic_simplify_525 (loc, type, _p0, captures);
    4536                 :        2777 :                     if (res) return res;
    4537                 :             :                   }
    4538                 :             :                 }
    4539                 :       19602 :               if (integer_nonzerop (_q20))
    4540                 :             :                 {
    4541                 :        3002 :                   {
    4542                 :        3002 :                     tree captures[3] ATTRIBUTE_UNUSED = { _p0, _q21, _q20 };
    4543                 :        3002 :                     tree res = generic_simplify_525 (loc, type, _p0, captures);
    4544                 :        3002 :                     if (res) return res;
    4545                 :             :                   }
    4546                 :             :                 }
    4547                 :             :             }
    4548                 :             :           break;
    4549                 :           0 :         case CFN_BUILT_IN_CEXPIF:
    4550                 :           0 :           if (call_expr_nargs (_p0) == 1)
    4551                 :             :     {
    4552                 :           0 :               tree _q20 = CALL_EXPR_ARG (_p0, 0);
    4553                 :           0 :               {
    4554                 :           0 :                 tree captures[3] ATTRIBUTE_UNUSED = { _p0, _p0, _q20 };
    4555                 :           0 :                 if (single_use (captures[1]) && single_use (captures[0])
    4556                 :             : )
    4557                 :             :                   {
    4558                 :           0 :                     if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail1295;
    4559                 :           0 :                     {
    4560                 :           0 :                       tree res_op0;
    4561                 :           0 :                       {
    4562                 :           0 :                         tree _o1[1], _r1;
    4563                 :           0 :                         _o1[0] = captures[2];
    4564                 :           0 :                         _r1 = maybe_build_call_expr_loc (loc, CFN_BUILT_IN_SINF, TREE_TYPE (_o1[0]), 1, _o1[0]);
    4565                 :           0 :                         if (!_r1)
    4566                 :           0 :                           goto next_after_fail1295;
    4567                 :           0 :                         res_op0 = _r1;
    4568                 :             :                       }
    4569                 :           0 :                       tree _r;
    4570                 :           0 :                       _r = fold_build1_loc (loc, NOP_EXPR, type, res_op0);
    4571                 :           0 :                       if (UNLIKELY (debug_dump)) generic_dump_logs ("match.pd", 910, __FILE__, __LINE__, true);
    4572                 :           0 :                       return _r;
    4573                 :             :                     }
    4574                 :           0 : next_after_fail1295:;
    4575                 :             :                   }
    4576                 :             :               }
    4577                 :             :             }
    4578                 :             :           break;
    4579                 :           0 :         case CFN_BUILT_IN_CEXPIL:
    4580                 :           0 :           if (call_expr_nargs (_p0) == 1)
    4581                 :             :     {
    4582                 :           0 :               tree _q20 = CALL_EXPR_ARG (_p0, 0);
    4583                 :           0 :               {
    4584                 :           0 :                 tree captures[3] ATTRIBUTE_UNUSED = { _p0, _p0, _q20 };
    4585                 :           0 :                 if (single_use (captures[1]) && single_use (captures[0])
    4586                 :             : )
    4587                 :             :                   {
    4588                 :           0 :                     if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail1296;
    4589                 :           0 :                     {
    4590                 :           0 :                       tree res_op0;
    4591                 :           0 :                       {
    4592                 :           0 :                         tree _o1[1], _r1;
    4593                 :           0 :                         _o1[0] = captures[2];
    4594                 :           0 :                         _r1 = maybe_build_call_expr_loc (loc, CFN_BUILT_IN_SINL, TREE_TYPE (_o1[0]), 1, _o1[0]);
    4595                 :           0 :                         if (!_r1)
    4596                 :           0 :                           goto next_after_fail1296;
    4597                 :           0 :                         res_op0 = _r1;
    4598                 :             :                       }
    4599                 :           0 :                       tree _r;
    4600                 :           0 :                       _r = fold_build1_loc (loc, NOP_EXPR, type, res_op0);
    4601                 :           0 :                       if (UNLIKELY (debug_dump)) generic_dump_logs ("match.pd", 910, __FILE__, __LINE__, true);
    4602                 :           0 :                       return _r;
    4603                 :             :                     }
    4604                 :           0 : next_after_fail1296:;
    4605                 :             :                   }
    4606                 :             :               }
    4607                 :             :             }
    4608                 :             :           break;
    4609                 :           1 :         case CFN_BUILT_IN_CEXPI:
    4610                 :           1 :           if (call_expr_nargs (_p0) == 1)
    4611                 :             :     {
    4612                 :           1 :               tree _q20 = CALL_EXPR_ARG (_p0, 0);
    4613                 :           1 :               {
    4614                 :           1 :                 tree captures[3] ATTRIBUTE_UNUSED = { _p0, _p0, _q20 };
    4615                 :           1 :                 if (single_use (captures[1]) && single_use (captures[0])
    4616                 :             : )
    4617                 :             :                   {
    4618                 :           1 :                     if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail1297;
    4619                 :           1 :                     {
    4620                 :           1 :                       tree res_op0;
    4621                 :           1 :                       {
    4622                 :           1 :                         tree _o1[1], _r1;
    4623                 :           1 :                         _o1[0] = captures[2];
    4624                 :           1 :                         _r1 = maybe_build_call_expr_loc (loc, CFN_BUILT_IN_SIN, TREE_TYPE (_o1[0]), 1, _o1[0]);
    4625                 :           1 :                         if (!_r1)
    4626                 :           0 :                           goto next_after_fail1297;
    4627                 :           1 :                         res_op0 = _r1;
    4628                 :             :                       }
    4629                 :           1 :                       tree _r;
    4630                 :           1 :                       _r = fold_build1_loc (loc, NOP_EXPR, type, res_op0);
    4631                 :           1 :                       if (UNLIKELY (debug_dump)) generic_dump_logs ("match.pd", 910, __FILE__, __LINE__, true);
    4632                 :           1 :                       return _r;
    4633                 :             :                     }
    4634                 :           0 : next_after_fail1297:;
    4635                 :             :                   }
    4636                 :             :               }
    4637                 :             :             }
    4638                 :             :           break;
    4639                 :             :         default:;
    4640                 :             :         }
    4641                 :             :       break;
    4642                 :             :     default:;
    4643                 :             :     }
    4644                 :             :   return NULL_TREE;
    4645                 :             : }
    4646                 :             : 
    4647                 :             : tree
    4648                 :    69464601 : generic_simplify_MULT_EXPR (location_t ARG_UNUSED (loc), enum tree_code ARG_UNUSED (code), const tree ARG_UNUSED (type), tree _p0, tree _p1)
    4649                 :             : {
    4650                 :    69464601 :   const bool debug_dump = dump_file && (dump_flags & TDF_FOLDING);
    4651                 :    69464601 :   switch (TREE_CODE (_p1))
    4652                 :             :     {
    4653                 :         346 :     case VECTOR_CST:
    4654                 :         346 :       {
    4655                 :         346 :         {
    4656                 :         346 :           tree captures[2] ATTRIBUTE_UNUSED = { _p0, _p1 };
    4657                 :         346 :           if (initializer_each_zero_or_onep (captures[1])
    4658                 :           5 :  && !HONOR_SNANS (type)
    4659                 :         351 :  && !HONOR_SIGNED_ZEROS (type)
    4660                 :             : )
    4661                 :             :             {
    4662                 :           5 :               {
    4663                 :           5 :  tree itype = FLOAT_TYPE_P (type) ? unsigned_type_for (type) : type;
    4664                 :           5 :                   if (itype
    4665                 :           5 :  && (!VECTOR_MODE_P (TYPE_MODE (type))
    4666                 :           5 :  || (VECTOR_MODE_P (TYPE_MODE (itype))
    4667                 :           5 :  && optab_handler (and_optab,
    4668                 :           5 :  TYPE_MODE (itype)) != CODE_FOR_nothing))
    4669                 :             : )
    4670                 :             :                     {
    4671                 :           5 :                       if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail1528;
    4672                 :           5 :                       {
    4673                 :           5 :                         tree res_op0;
    4674                 :           5 :                         {
    4675                 :           5 :                           tree _o1[2], _r1;
    4676                 :           5 :                           {
    4677                 :           5 :                             tree _o2[1], _r2;
    4678                 :           5 :                             _o2[0] = captures[0];
    4679                 :           5 :                             if (TREE_TYPE (_o2[0]) != itype)
    4680                 :             :                               {
    4681                 :           1 :                                 _r2 = fold_build1_loc (loc, VIEW_CONVERT_EXPR, itype, _o2[0]);
    4682                 :             :                               }
    4683                 :             :                             else
    4684                 :             :                               _r2 = _o2[0];
    4685                 :           5 :                             _o1[0] = _r2;
    4686                 :             :                           }
    4687                 :           5 :                           {
    4688                 :           5 :                             tree _o2[2], _r2;
    4689                 :           5 :                             _o2[0] = captures[1];
    4690                 :           5 :                             _o2[1] =  build_zero_cst (type);
    4691                 :           5 :                             _r2 = fold_build2_loc (loc, NE_EXPR, itype, _o2[0], _o2[1]);
    4692                 :           5 :                             _o1[1] = _r2;
    4693                 :             :                           }
    4694                 :           5 :                           _r1 = fold_build2_loc (loc, BIT_AND_EXPR, itype, _o1[0], _o1[1]);
    4695                 :           5 :                           res_op0 = _r1;
    4696                 :             :                         }
    4697                 :           5 :                         tree _r;
    4698                 :           5 :                         _r = fold_build1_loc (loc, VIEW_CONVERT_EXPR, type, res_op0);
    4699                 :           5 :                         if (UNLIKELY (debug_dump)) generic_dump_logs ("match.pd", 984, __FILE__, __LINE__, true);
    4700                 :           5 :                         return _r;
    4701                 :             :                       }
    4702                 :           0 : next_after_fail1528:;
    4703                 :             :                     }
    4704                 :             :               }
    4705                 :             :             }
    4706                 :             :         }
    4707                 :         341 :         break;
    4708                 :             :       }
    4709                 :    69464596 :     default:;
    4710                 :             :     }
    4711                 :    69464596 : if (integer_zerop (_p1))
    4712                 :             :   {
    4713                 :       32863 :     {
    4714                 :       32863 :       tree captures[2] ATTRIBUTE_UNUSED = { _p0, _p1 };
    4715                 :       32863 :       if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail1529;
    4716                 :       32863 :       {
    4717                 :       32863 :         tree _r;
    4718                 :       32863 :         _r = captures[1];
    4719                 :       32863 :         if (TREE_SIDE_EFFECTS (captures[0]))
    4720                 :        2458 :           _r = build2_loc (loc, COMPOUND_EXPR, type, fold_ignored_result (captures[0]), _r);
    4721                 :       32863 :         if (UNLIKELY (debug_dump)) generic_dump_logs ("match.pd", 985, __FILE__, __LINE__, true);
    4722                 :       32863 :         return _r;
    4723                 :             :       }
    4724                 :           0 : next_after_fail1529:;
    4725                 :             :     }
    4726                 :             :   }
    4727                 :    69431733 : if (real_zerop (_p1))
    4728                 :             :   {
    4729                 :         345 :     {
    4730                 :         345 :       tree captures[2] ATTRIBUTE_UNUSED = { _p0, _p1 };
    4731                 :         345 :       if (!tree_expr_maybe_nan_p (captures[0])
    4732                 :         137 :  && (!HONOR_NANS (type) || !tree_expr_maybe_infinite_p (captures[0]))
    4733                 :         355 :  && (!HONOR_SIGNED_ZEROS (type) || tree_expr_nonnegative_p (captures[0]))
    4734                 :             : )
    4735                 :             :         {
    4736                 :           4 :           if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail1530;
    4737                 :           4 :           {
    4738                 :           4 :             tree _r;
    4739                 :           4 :             _r = captures[1];
    4740                 :           4 :             if (TREE_SIDE_EFFECTS (captures[0]))
    4741                 :           0 :               _r = build2_loc (loc, COMPOUND_EXPR, type, fold_ignored_result (captures[0]), _r);
    4742                 :           4 :             if (UNLIKELY (debug_dump)) generic_dump_logs ("match.pd", 986, __FILE__, __LINE__, true);
    4743                 :           4 :             return _r;
    4744                 :             :           }
    4745                 :           0 : next_after_fail1530:;
    4746                 :             :         }
    4747                 :             :     }
    4748                 :             :   }
    4749                 :    69431729 : if (real_onep (_p1))
    4750                 :             :   {
    4751                 :        1239 :     {
    4752                 :        1239 :       tree captures[1] ATTRIBUTE_UNUSED = { _p0 };
    4753                 :        1239 :       if (!tree_expr_maybe_signaling_nan_p (captures[0])
    4754                 :        1239 :  && (!HONOR_SIGNED_ZEROS (type)
    4755                 :        1118 :  || !COMPLEX_FLOAT_TYPE_P (type))
    4756                 :             : )
    4757                 :             :         {
    4758                 :         756 :           if (TREE_SIDE_EFFECTS (_p1)) goto next_after_fail1531;
    4759                 :         756 :           if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail1531;
    4760                 :         756 :           {
    4761                 :         756 :             tree res_op0;
    4762                 :         756 :             res_op0 = captures[0];
    4763                 :         756 :             tree _r;
    4764                 :         756 :             _r = non_lvalue_loc (loc, res_op0);
    4765                 :         756 :             if (UNLIKELY (debug_dump)) generic_dump_logs ("match.pd", 987, __FILE__, __LINE__, true);
    4766                 :         756 :             return _r;
    4767                 :             :           }
    4768                 :             : next_after_fail1531:;
    4769                 :             :         }
    4770                 :             :     }
    4771                 :             :   }
    4772                 :    69430973 : if (real_minus_onep (_p1))
    4773                 :             :   {
    4774                 :       45183 :     {
    4775                 :       45183 :       tree captures[1] ATTRIBUTE_UNUSED = { _p0 };
    4776                 :       45183 :       if (!tree_expr_maybe_signaling_nan_p (captures[0])
    4777                 :       45183 :  && (!HONOR_SIGNED_ZEROS (type)
    4778                 :       42283 :  || !COMPLEX_FLOAT_TYPE_P (type))
    4779                 :             : )
    4780                 :             :         {
    4781                 :       44799 :           if (TREE_SIDE_EFFECTS (_p1)) goto next_after_fail1532;
    4782                 :       44799 :           if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail1532;
    4783                 :       44799 :           {
    4784                 :       44799 :             tree res_op0;
    4785                 :       44799 :             res_op0 = captures[0];
    4786                 :       44799 :             tree _r;
    4787                 :       44799 :             _r = fold_build1_loc (loc, NEGATE_EXPR, type, res_op0);
    4788                 :       44799 :             if (UNLIKELY (debug_dump)) generic_dump_logs ("match.pd", 988, __FILE__, __LINE__, true);
    4789                 :       44799 :             return _r;
    4790                 :             :           }
    4791                 :             : next_after_fail1532:;
    4792                 :             :         }
    4793                 :             :     }
    4794                 :             :   }
    4795                 :    69386174 :   switch (TREE_CODE (_p0))
    4796                 :             :     {
    4797                 :       33440 :     case BIT_AND_EXPR:
    4798                 :       33440 :       {
    4799                 :       33440 :         tree _q20 = TREE_OPERAND (_p0, 0);
    4800                 :       33440 :         tree _q21 = TREE_OPERAND (_p0, 1);
    4801                 :       33440 :         switch (TREE_CODE (_q20))
    4802                 :             :           {
    4803                 :         275 :           case RSHIFT_EXPR:
    4804                 :         275 :             {
    4805                 :         275 :               tree _q30 = TREE_OPERAND (_q20, 0);
    4806                 :         275 :               tree _q31 = TREE_OPERAND (_q20, 1);
    4807                 :         275 :               if (uniform_integer_cst_p (_q31))
    4808                 :             :                 {
    4809                 :          14 :                   if (uniform_integer_cst_p (_q21))
    4810                 :             :                     {
    4811                 :          14 :                       if (uniform_integer_cst_p (_p1))
    4812                 :             :                         {
    4813                 :          14 :                           {
    4814                 :          14 :                             tree captures[4] ATTRIBUTE_UNUSED = { _q30, _q31, _q21, _p1 };
    4815                 :          14 :                             {
    4816                 :          14 :  tree rshift_cst = uniform_integer_cst_p (captures[1]);
    4817                 :          14 :  tree bit_and_cst = uniform_integer_cst_p (captures[2]);
    4818                 :          14 :  tree mult_cst = uniform_integer_cst_p (captures[3]);
    4819                 :          14 :                                 if (VECTOR_TYPE_P (type)
    4820                 :           0 :  && tree_fits_uhwi_p (rshift_cst)
    4821                 :           0 :  && tree_fits_uhwi_p (mult_cst)
    4822                 :           0 :  && tree_fits_uhwi_p (bit_and_cst)
    4823                 :             : )
    4824                 :             :                                   {
    4825                 :           0 :                                     {
    4826                 :           0 :  HOST_WIDE_INT vec_elem_bits = vector_element_bits (type);
    4827                 :           0 :  poly_int64 vec_nelts = TYPE_VECTOR_SUBPARTS (type);
    4828                 :           0 :  poly_int64 vec_bits = vec_elem_bits * vec_nelts;
    4829                 :           0 :  unsigned HOST_WIDE_INT cmp_bits_i, bit_and_i, mult_i;
    4830                 :           0 :  unsigned HOST_WIDE_INT target_mult_i, target_bit_and_i;
    4831                 :           0 :  cmp_bits_i = tree_to_uhwi (rshift_cst) + 1;
    4832                 :           0 :  mult_i = tree_to_uhwi (mult_cst);
    4833                 :           0 :  target_mult_i = (HOST_WIDE_INT_1U << cmp_bits_i) - 1;
    4834                 :           0 :  bit_and_i = tree_to_uhwi (bit_and_cst);
    4835                 :           0 :  target_bit_and_i = 0;
    4836                 :           0 :  for (unsigned i = 0; i < vec_elem_bits / cmp_bits_i; i++)
    4837                 :           0 :  target_bit_and_i = (target_bit_and_i << cmp_bits_i) | 1U;
    4838                 :           0 :                                         if ((exact_log2 (cmp_bits_i)) >= 0
    4839                 :           0 :  && cmp_bits_i < HOST_BITS_PER_WIDE_INT
    4840                 :           0 :  && multiple_p (vec_bits, cmp_bits_i)
    4841                 :           0 :  && vec_elem_bits <= HOST_BITS_PER_WIDE_INT
    4842                 :           0 :  && target_mult_i == mult_i
    4843                 :           0 :  && target_bit_and_i == bit_and_i
    4844                 :             : )
    4845                 :             :                                           {
    4846                 :           0 :                                             {
    4847                 :           0 :  tree cmp_type = build_nonstandard_integer_type (cmp_bits_i, 0);
    4848                 :           0 :  poly_int64 vector_type_nelts = exact_div (vec_bits, cmp_bits_i);
    4849                 :           0 :  tree vec_cmp_type = build_vector_type (cmp_type, vector_type_nelts);
    4850                 :           0 :  tree vec_truth_type = truth_type_for (vec_cmp_type);
    4851                 :           0 :  tree zeros = build_zero_cst (vec_cmp_type);
    4852                 :           0 :  tree ones = build_all_ones_cst (vec_cmp_type);
    4853                 :           0 :                                                 if (expand_vec_cmp_expr_p (vec_cmp_type, vec_truth_type, LT_EXPR)
    4854                 :           0 :  && expand_vec_cond_expr_p (vec_cmp_type, vec_truth_type)
    4855                 :             : )
    4856                 :             :                                                   {
    4857                 :           0 :                                                     if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail1533;
    4858                 :           0 :                                                     {
    4859                 :           0 :                                                       tree res_op0;
    4860                 :           0 :                                                       {
    4861                 :           0 :                                                         tree _o1[3], _r1;
    4862                 :           0 :                                                         {
    4863                 :           0 :                                                           tree _o2[2], _r2;
    4864                 :           0 :                                                           {
    4865                 :           0 :                                                             tree _o3[1], _r3;
    4866                 :           0 :                                                             _o3[0] = captures[0];
    4867                 :           0 :                                                             if (TREE_TYPE (_o3[0]) != vec_cmp_type)
    4868                 :             :                                                               {
    4869                 :           0 :                                                                 _r3 = fold_build1_loc (loc, VIEW_CONVERT_EXPR, vec_cmp_type, _o3[0]);
    4870                 :             :                                                               }
    4871                 :             :                                                             else
    4872                 :             :                                                               _r3 = _o3[0];
    4873                 :           0 :                                                             _o2[0] = _r3;
    4874                 :             :                                                           }
    4875                 :           0 :                                                           _o2[1] =  zeros;
    4876                 :           0 :                                                           _r2 = fold_build2_loc (loc, LT_EXPR, vec_truth_type, _o2[0], _o2[1]);
    4877                 :           0 :                                                           _o1[0] = _r2;
    4878                 :             :                                                         }
    4879                 :           0 :                                                         _o1[1] =  ones;
    4880                 :           0 :                                                         _o1[2] =  zeros;
    4881                 :           0 :                                                         _r1 = fold_build3_loc (loc, VEC_COND_EXPR, TREE_TYPE (_o1[1]), _o1[0], _o1[1], _o1[2]);
    4882                 :           0 :                                                         res_op0 = _r1;
    4883                 :             :                                                       }
    4884                 :           0 :                                                       tree _r;
    4885                 :           0 :                                                       _r = fold_build1_loc (loc, VIEW_CONVERT_EXPR, type, res_op0);
    4886                 :           0 :                                                       if (TREE_SIDE_EFFECTS (captures[1]))
    4887                 :           0 :                                                         _r = build2_loc (loc, COMPOUND_EXPR, type, fold_ignored_result (captures[1]), _r);
    4888                 :           0 :                                                       if (TREE_SIDE_EFFECTS (captures[2]))
    4889                 :           0 :                                                         _r = build2_loc (loc, COMPOUND_EXPR, type, fold_ignored_result (captures[2]), _r);
    4890                 :           0 :                                                       if (TREE_SIDE_EFFECTS (captures[3]))
    4891                 :           0 :                                                         _r = build2_loc (loc, COMPOUND_EXPR, type, fold_ignored_result (captures[3]), _r);
    4892                 :           0 :                                                       if (UNLIKELY (debug_dump)) generic_dump_logs ("match.pd", 989, __FILE__, __LINE__, true);
    4893                 :           0 :                                                       return _r;
    4894                 :             :                                                     }
    4895                 :           0 : next_after_fail1533:;
    4896                 :             :                                                   }
    4897                 :             :                                             }
    4898                 :             :                                           }
    4899                 :             :                                     }
    4900                 :             :                                   }
    4901                 :             :                             }
    4902                 :             :                           }
    4903                 :             :                         }
    4904                 :             :                     }
    4905                 :             :                 }
    4906                 :             :               break;
    4907                 :             :             }
    4908                 :             :           default:;
    4909                 :             :           }
    4910                 :             :         break;
    4911                 :             :       }
    4912                 :    69386174 :     default:;
    4913                 :             :     }
    4914                 :    69386174 :   switch (TREE_CODE (_p1))
    4915                 :             :     {
    4916                 :        2723 :     case COND_EXPR:
    4917                 :        2723 :       {
    4918                 :        2723 :         tree _q30 = TREE_OPERAND (_p1, 0);
    4919                 :        2723 :         tree _q31 = TREE_OPERAND (_p1, 1);
    4920                 :        2723 :         tree _q32 = TREE_OPERAND (_p1, 2);
    4921                 :        2723 :         switch (TREE_CODE (_q30))
    4922                 :             :           {
    4923                 :         546 :           case GT_EXPR:
    4924                 :         546 :             {
    4925                 :         546 :               tree _q40 = TREE_OPERAND (_q30, 0);
    4926                 :         546 :               tree _q41 = TREE_OPERAND (_q30, 1);
    4927                 :         546 :               if ((_q40 == _p0 && ! TREE_SIDE_EFFECTS (_q40)) || (operand_equal_p (_q40, _p0, 0) && types_match (_q40, _p0)))
    4928                 :             :                 {
    4929                 :           0 :                   if (real_zerop (_q41))
    4930                 :             :                     {
    4931                 :           0 :                       if (real_onep (_q31))
    4932                 :             :                         {
    4933                 :           0 :                           if (real_minus_onep (_q32))
    4934                 :             :                             {
    4935                 :           0 :                               {
    4936                 :           0 :                                 tree captures[2] ATTRIBUTE_UNUSED = { _p0, _q31 };
    4937                 :           0 :                                 if (!tree_expr_maybe_nan_p (captures[0]) && !HONOR_SIGNED_ZEROS (type)
    4938                 :             : )
    4939                 :             :                                   {
    4940                 :           0 :                                     if (TREE_SIDE_EFFECTS (_p1)) goto next_after_fail1534;
    4941                 :           0 :                                     if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail1534;
    4942                 :           0 :                                     {
    4943                 :           0 :                                       tree res_op0;
    4944                 :           0 :                                       {
    4945                 :           0 :                                         tree _o1[1], _r1;
    4946                 :           0 :                                         _o1[0] = captures[0];
    4947                 :           0 :                                         _r1 = fold_build1_loc (loc, ABS_EXPR, TREE_TYPE (_o1[0]), _o1[0]);
    4948                 :           0 :                                         res_op0 = _r1;
    4949                 :             :                                       }
    4950                 :           0 :                                       tree _r;
    4951                 :           0 :                                       _r = fold_build1_loc (loc, NOP_EXPR, type, res_op0);
    4952                 :           0 :                                       if (UNLIKELY (debug_dump)) generic_dump_logs ("match.pd", 990, __FILE__, __LINE__, true);
    4953                 :           0 :                                       return _r;
    4954                 :             :                                     }
    4955                 :           0 : next_after_fail1534:;
    4956                 :             :                                   }
    4957                 :             :                               }
    4958                 :             :                             }
    4959                 :             :                         }
    4960                 :             :                     }
    4961                 :             :                 }
    4962                 :             :               break;
    4963                 :             :             }
    4964                 :           0 :           case GE_EXPR:
    4965                 :           0 :             {
    4966                 :           0 :               tree _q40 = TREE_OPERAND (_q30, 0);
    4967                 :           0 :               tree _q41 = TREE_OPERAND (_q30, 1);
    4968                 :           0 :               if ((_q40 == _p0 && ! TREE_SIDE_EFFECTS (_q40)) || (operand_equal_p (_q40, _p0, 0) && types_match (_q40, _p0)))
    4969                 :             :                 {
    4970                 :           0 :                   if (real_zerop (_q41))
    4971                 :             :                     {
    4972                 :           0 :                       if (real_onep (_q31))
    4973                 :             :                         {
    4974                 :           0 :                           if (real_minus_onep (_q32))
    4975                 :             :                             {
    4976                 :           0 :                               {
    4977                 :           0 :                                 tree captures[2] ATTRIBUTE_UNUSED = { _p0, _q31 };
    4978                 :           0 :                                 if (!tree_expr_maybe_nan_p (captures[0]) && !HONOR_SIGNED_ZEROS (type)
    4979                 :             : )
    4980                 :             :                                   {
    4981                 :           0 :                                     if (TREE_SIDE_EFFECTS (_p1)) goto next_after_fail1535;
    4982                 :           0 :                                     if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail1535;
    4983                 :           0 :                                     {
    4984                 :           0 :                                       tree res_op0;
    4985                 :           0 :                                       {
    4986                 :           0 :                                         tree _o1[1], _r1;
    4987                 :           0 :                                         _o1[0] = captures[0];
    4988                 :           0 :                                         _r1 = fold_build1_loc (loc, ABS_EXPR, TREE_TYPE (_o1[0]), _o1[0]);
    4989                 :           0 :                                         res_op0 = _r1;
    4990                 :             :                                       }
    4991                 :           0 :                                       tree _r;
    4992                 :           0 :                                       _r = fold_build1_loc (loc, NOP_EXPR, type, res_op0);
    4993                 :           0 :                                       if (UNLIKELY (debug_dump)) generic_dump_logs ("match.pd", 990, __FILE__, __LINE__, true);
    4994                 :           0 :                                       return _r;
    4995                 :             :                                     }
    4996                 :           0 : next_after_fail1535:;
    4997                 :             :                                   }
    4998                 :             :                               }
    4999                 :             :                             }
    5000                 :             :                         }
    5001                 :             :                     }
    5002                 :             :                 }
    5003                 :             :               break;
    5004                 :             :             }
    5005                 :          51 :           case LT_EXPR:
    5006                 :          51 :             {
    5007                 :          51 :               tree _q40 = TREE_OPERAND (_q30, 0);
    5008                 :          51 :               tree _q41 = TREE_OPERAND (_q30, 1);
    5009                 :          51 :               if ((_q40 == _p0 && ! TREE_SIDE_EFFECTS (_q40)) || (operand_equal_p (_q40, _p0, 0) && types_match (_q40, _p0)))
    5010                 :             :                 {
    5011                 :           0 :                   if (real_zerop (_q41))
    5012                 :             :                     {
    5013                 :           0 :                       if (real_onep (_q31))
    5014                 :             :                         {
    5015                 :           0 :                           if (real_minus_onep (_q32))
    5016                 :             :                             {
    5017                 :           0 :                               {
    5018                 :           0 :                                 tree captures[2] ATTRIBUTE_UNUSED = { _p0, _q31 };
    5019                 :           0 :                                 if (!tree_expr_maybe_nan_p (captures[0]) && !HONOR_SIGNED_ZEROS (type)
    5020                 :             : )
    5021                 :             :                                   {
    5022                 :           0 :                                     if (TREE_SIDE_EFFECTS (_p1)) goto next_after_fail1536;
    5023                 :           0 :                                     if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail1536;
    5024                 :           0 :                                     {
    5025                 :           0 :                                       tree res_op0;
    5026                 :           0 :                                       {
    5027                 :           0 :                                         tree _o1[1], _r1;
    5028                 :           0 :                                         _o1[0] = captures[0];
    5029                 :           0 :                                         _r1 = fold_build1_loc (loc, ABS_EXPR, TREE_TYPE (_o1[0]), _o1[0]);
    5030                 :           0 :                                         res_op0 = _r1;
    5031                 :             :                                       }
    5032                 :           0 :                                       tree _r;
    5033                 :           0 :                                       _r = fold_build1_loc (loc, NEGATE_EXPR, type, res_op0);
    5034                 :           0 :                                       if (UNLIKELY (debug_dump)) generic_dump_logs ("match.pd", 990, __FILE__, __LINE__, true);
    5035                 :           0 :                                       return _r;
    5036                 :             :                                     }
    5037                 :           0 : next_after_fail1536:;
    5038                 :             :                                   }
    5039                 :             :                               }
    5040                 :             :                             }
    5041                 :             :                         }
    5042                 :             :                     }
    5043                 :             :                 }
    5044                 :             :               break;
    5045                 :             :             }
    5046                 :           5 :           case LE_EXPR:
    5047                 :           5 :             {
    5048                 :           5 :               tree _q40 = TREE_OPERAND (_q30, 0);
    5049                 :           5 :               tree _q41 = TREE_OPERAND (_q30, 1);
    5050                 :           5 :               if ((_q40 == _p0 && ! TREE_SIDE_EFFECTS (_q40)) || (operand_equal_p (_q40, _p0, 0) && types_match (_q40, _p0)))
    5051                 :             :                 {
    5052                 :           0 :                   if (real_zerop (_q41))
    5053                 :             :                     {
    5054                 :           0 :                       if (real_onep (_q31))
    5055                 :             :                         {
    5056                 :           0 :                           if (real_minus_onep (_q32))
    5057                 :             :                             {
    5058                 :           0 :                               {
    5059                 :           0 :                                 tree captures[2] ATTRIBUTE_UNUSED = { _p0, _q31 };
    5060                 :           0 :                                 if (!tree_expr_maybe_nan_p (captures[0]) && !HONOR_SIGNED_ZEROS (type)
    5061                 :             : )
    5062                 :             :                                   {
    5063                 :           0 :                                     if (TREE_SIDE_EFFECTS (_p1)) goto next_after_fail1537;
    5064                 :           0 :                                     if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail1537;
    5065                 :           0 :                                     {
    5066                 :           0 :                                       tree res_op0;
    5067                 :           0 :                                       {
    5068                 :           0 :                                         tree _o1[1], _r1;
    5069                 :           0 :                                         _o1[0] = captures[0];
    5070                 :           0 :                                         _r1 = fold_build1_loc (loc, ABS_EXPR, TREE_TYPE (_o1[0]), _o1[0]);
    5071                 :           0 :                                         res_op0 = _r1;
    5072                 :             :                                       }
    5073                 :           0 :                                       tree _r;
    5074                 :           0 :                                       _r = fold_build1_loc (loc, NEGATE_EXPR, type, res_op0);
    5075                 :           0 :                                       if (UNLIKELY (debug_dump)) generic_dump_logs ("match.pd", 990, __FILE__, __LINE__, true);
    5076                 :           0 :                                       return _r;
    5077                 :             :                                     }
    5078                 :           0 : next_after_fail1537:;
    5079                 :             :                                   }
    5080                 :             :                               }
    5081                 :             :                             }
    5082                 :             :                         }
    5083                 :             :                     }
    5084                 :             :                 }
    5085                 :             :               break;
    5086                 :             :             }
    5087                 :             :           default:;
    5088                 :             :           }
    5089                 :             :         break;
    5090                 :             :       }
    5091                 :    69386174 :     default:;
    5092                 :             :     }
    5093                 :    69386174 :   switch (TREE_CODE (_p0))
    5094                 :             :     {
    5095                 :       85946 :     case COND_EXPR:
    5096                 :       85946 :       {
    5097                 :       85946 :         tree _q20 = TREE_OPERAND (_p0, 0);
    5098                 :       85946 :         tree _q21 = TREE_OPERAND (_p0, 1);
    5099                 :       85946 :         tree _q22 = TREE_OPERAND (_p0, 2);
    5100                 :       85946 :         switch (TREE_CODE (_q20))
    5101                 :             :           {
    5102                 :       19872 :           case GT_EXPR:
    5103                 :       19872 :             {
    5104                 :       19872 :               tree _q30 = TREE_OPERAND (_q20, 0);
    5105                 :       19872 :               tree _q31 = TREE_OPERAND (_q20, 1);
    5106                 :       19872 :               if (real_zerop (_q31))
    5107                 :             :                 {
    5108                 :          10 :                   if (real_onep (_q21))
    5109                 :             :                     {
    5110                 :           9 :                       if (real_minus_onep (_q22))
    5111                 :             :                         {
    5112                 :           1 :                           if ((_p1 == _q30 && ! TREE_SIDE_EFFECTS (_p1)) || (operand_equal_p (_p1, _q30, 0) && types_match (_p1, _q30)))
    5113                 :             :                             {
    5114                 :           1 :                               {
    5115                 :           1 :                                 tree captures[2] ATTRIBUTE_UNUSED = { _q30, _q21 };
    5116                 :           1 :                                 if (!tree_expr_maybe_nan_p (captures[0]) && !HONOR_SIGNED_ZEROS (type)
    5117                 :             : )
    5118                 :             :                                   {
    5119                 :           1 :                                     if (TREE_SIDE_EFFECTS (_p0)) goto next_after_fail1538;
    5120                 :           1 :                                     if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail1538;
    5121                 :           1 :                                     {
    5122                 :           1 :                                       tree res_op0;
    5123                 :           1 :                                       {
    5124                 :           1 :                                         tree _o1[1], _r1;
    5125                 :           1 :                                         _o1[0] = captures[0];
    5126                 :           1 :                                         _r1 = fold_build1_loc (loc, ABS_EXPR, TREE_TYPE (_o1[0]), _o1[0]);
    5127                 :           1 :                                         res_op0 = _r1;
    5128                 :             :                                       }
    5129                 :           1 :                                       tree _r;
    5130                 :           1 :                                       _r = fold_build1_loc (loc, NOP_EXPR, type, res_op0);
    5131                 :           1 :                                       if (UNLIKELY (debug_dump)) generic_dump_logs ("match.pd", 990, __FILE__, __LINE__, true);
    5132                 :           1 :                                       return _r;
    5133                 :             :                                     }
    5134                 :           0 : next_after_fail1538:;
    5135                 :             :                                   }
    5136                 :             :                               }
    5137                 :             :                             }
    5138                 :             :                         }
    5139                 :             :                     }
    5140                 :           9 :                   if (real_minus_onep (_q21))
    5141                 :             :                     {
    5142                 :           1 :                       if (real_onep (_q22))
    5143                 :             :                         {
    5144                 :           1 :                           if ((_p1 == _q30 && ! TREE_SIDE_EFFECTS (_p1)) || (operand_equal_p (_p1, _q30, 0) && types_match (_p1, _q30)))
    5145                 :             :                             {
    5146                 :           1 :                               {
    5147                 :           1 :                                 tree captures[2] ATTRIBUTE_UNUSED = { _q30, _q22 };
    5148                 :           1 :                                 if (!tree_expr_maybe_nan_p (captures[0]) && !HONOR_SIGNED_ZEROS (type)
    5149                 :             : )
    5150                 :             :                                   {
    5151                 :           1 :                                     if (TREE_SIDE_EFFECTS (_p0)) goto next_after_fail1539;
    5152                 :           1 :                                     if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail1539;
    5153                 :           1 :                                     {
    5154                 :           1 :                                       tree res_op0;
    5155                 :           1 :                                       {
    5156                 :           1 :                                         tree _o1[1], _r1;
    5157                 :           1 :                                         _o1[0] = captures[0];
    5158                 :           1 :                                         _r1 = fold_build1_loc (loc, ABS_EXPR, TREE_TYPE (_o1[0]), _o1[0]);
    5159                 :           1 :                                         res_op0 = _r1;
    5160                 :             :                                       }
    5161                 :           1 :                                       tree _r;
    5162                 :           1 :                                       _r = fold_build1_loc (loc, NEGATE_EXPR, type, res_op0);
    5163                 :           1 :                                       if (UNLIKELY (debug_dump)) generic_dump_logs ("match.pd", 991, __FILE__, __LINE__, true);
    5164                 :           1 :                                       return _r;
    5165                 :             :                                     }
    5166                 :           0 : next_after_fail1539:;
    5167                 :             :                                   }
    5168                 :             :                               }
    5169                 :             :                             }
    5170                 :             :                         }
    5171                 :             :                     }
    5172                 :             :                 }
    5173                 :             :               break;
    5174                 :             :             }
    5175                 :        8180 :           case GE_EXPR:
    5176                 :        8180 :             {
    5177                 :        8180 :               tree _q30 = TREE_OPERAND (_q20, 0);
    5178                 :        8180 :               tree _q31 = TREE_OPERAND (_q20, 1);
    5179                 :        8180 :               if (real_zerop (_q31))
    5180                 :             :                 {
    5181                 :           2 :                   if (real_onep (_q21))
    5182                 :             :                     {
    5183                 :           1 :                       if (real_minus_onep (_q22))
    5184                 :             :                         {
    5185                 :           1 :                           if ((_p1 == _q30 && ! TREE_SIDE_EFFECTS (_p1)) || (operand_equal_p (_p1, _q30, 0) && types_match (_p1, _q30)))
    5186                 :             :                             {
    5187                 :           1 :                               {
    5188                 :           1 :                                 tree captures[2] ATTRIBUTE_UNUSED = { _q30, _q21 };
    5189                 :           1 :                                 if (!tree_expr_maybe_nan_p (captures[0]) && !HONOR_SIGNED_ZEROS (type)
    5190                 :             : )
    5191                 :             :                                   {
    5192                 :           1 :                                     if (TREE_SIDE_EFFECTS (_p0)) goto next_after_fail1540;
    5193                 :           1 :                                     if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail1540;
    5194                 :           1 :                                     {
    5195                 :           1 :                                       tree res_op0;
    5196                 :           1 :                                       {
    5197                 :           1 :                                         tree _o1[1], _r1;
    5198                 :           1 :                                         _o1[0] = captures[0];
    5199                 :           1 :                                         _r1 = fold_build1_loc (loc, ABS_EXPR, TREE_TYPE (_o1[0]), _o1[0]);
    5200                 :           1 :                                         res_op0 = _r1;
    5201                 :             :                                       }
    5202                 :           1 :                                       tree _r;
    5203                 :           1 :                                       _r = fold_build1_loc (loc, NOP_EXPR, type, res_op0);
    5204                 :           1 :                                       if (UNLIKELY (debug_dump)) generic_dump_logs ("match.pd", 990, __FILE__, __LINE__, true);
    5205                 :           1 :                                       return _r;
    5206                 :             :                                     }
    5207                 :           0 : next_after_fail1540:;
    5208                 :             :                                   }
    5209                 :             :                               }
    5210                 :             :                             }
    5211                 :             :                         }
    5212                 :             :                     }
    5213                 :           1 :                   if (real_minus_onep (_q21))
    5214                 :             :                     {
    5215                 :           1 :                       if (real_onep (_q22))
    5216                 :             :                         {
    5217                 :           1 :                           if ((_p1 == _q30 && ! TREE_SIDE_EFFECTS (_p1)) || (operand_equal_p (_p1, _q30, 0) && types_match (_p1, _q30)))
    5218                 :             :                             {
    5219                 :           1 :                               {
    5220                 :           1 :                                 tree captures[2] ATTRIBUTE_UNUSED = { _q30, _q22 };
    5221                 :           1 :                                 if (!tree_expr_maybe_nan_p (captures[0]) && !HONOR_SIGNED_ZEROS (type)
    5222                 :             : )
    5223                 :             :                                   {
    5224                 :           1 :                                     if (TREE_SIDE_EFFECTS (_p0)) goto next_after_fail1541;
    5225                 :           1 :                                     if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail1541;
    5226                 :           1 :                                     {
    5227                 :           1 :                                       tree res_op0;
    5228                 :           1 :                                       {
    5229                 :           1 :                                         tree _o1[1], _r1;
    5230                 :           1 :                                         _o1[0] = captures[0];
    5231                 :           1 :                                         _r1 = fold_build1_loc (loc, ABS_EXPR, TREE_TYPE (_o1[0]), _o1[0]);
    5232                 :           1 :                                         res_op0 = _r1;
    5233                 :             :                                       }
    5234                 :           1 :                                       tree _r;
    5235                 :           1 :                                       _r = fold_build1_loc (loc, NEGATE_EXPR, type, res_op0);
    5236                 :           1 :                                       if (UNLIKELY (debug_dump)) generic_dump_logs ("match.pd", 991, __FILE__, __LINE__, true);
    5237                 :           1 :                                       return _r;
    5238                 :             :                                     }
    5239                 :           0 : next_after_fail1541:;
    5240                 :             :                                   }
    5241                 :             :                               }
    5242                 :             :                             }
    5243                 :             :                         }
    5244                 :             :                     }
    5245                 :             :                 }
    5246                 :             :               break;
    5247                 :             :             }
    5248                 :        7598 :           case LT_EXPR:
    5249                 :        7598 :             {
    5250                 :        7598 :               tree _q30 = TREE_OPERAND (_q20, 0);
    5251                 :        7598 :               tree _q31 = TREE_OPERAND (_q20, 1);
    5252                 :        7598 :               if (real_zerop (_q31))
    5253                 :             :                 {
    5254                 :           2 :                   if (real_onep (_q21))
    5255                 :             :                     {
    5256                 :           1 :                       if (real_minus_onep (_q22))
    5257                 :             :                         {
    5258                 :           1 :                           if ((_p1 == _q30 && ! TREE_SIDE_EFFECTS (_p1)) || (operand_equal_p (_p1, _q30, 0) && types_match (_p1, _q30)))
    5259                 :             :                             {
    5260                 :           1 :                               {
    5261                 :           1 :                                 tree captures[2] ATTRIBUTE_UNUSED = { _q30, _q21 };
    5262                 :           1 :                                 if (!tree_expr_maybe_nan_p (captures[0]) && !HONOR_SIGNED_ZEROS (type)
    5263                 :             : )
    5264                 :             :                                   {
    5265                 :           1 :                                     if (TREE_SIDE_EFFECTS (_p0)) goto next_after_fail1542;
    5266                 :           1 :                                     if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail1542;
    5267                 :           1 :                                     {
    5268                 :           1 :                                       tree res_op0;
    5269                 :           1 :                                       {
    5270                 :           1 :                                         tree _o1[1], _r1;
    5271                 :           1 :                                         _o1[0] = captures[0];
    5272                 :           1 :                                         _r1 = fold_build1_loc (loc, ABS_EXPR, TREE_TYPE (_o1[0]), _o1[0]);
    5273                 :           1 :                                         res_op0 = _r1;
    5274                 :             :                                       }
    5275                 :           1 :                                       tree _r;
    5276                 :           1 :                                       _r = fold_build1_loc (loc, NEGATE_EXPR, type, res_op0);
    5277                 :           1 :                                       if (UNLIKELY (debug_dump)) generic_dump_logs ("match.pd", 990, __FILE__, __LINE__, true);
    5278                 :           1 :                                       return _r;
    5279                 :             :                                     }
    5280                 :           0 : next_after_fail1542:;
    5281                 :             :                                   }
    5282                 :             :                               }
    5283                 :             :                             }
    5284                 :             :                         }
    5285                 :             :                     }
    5286                 :           1 :                   if (real_minus_onep (_q21))
    5287                 :             :                     {
    5288                 :           1 :                       if (real_onep (_q22))
    5289                 :             :                         {
    5290                 :           1 :                           if ((_p1 == _q30 && ! TREE_SIDE_EFFECTS (_p1)) || (operand_equal_p (_p1, _q30, 0) && types_match (_p1, _q30)))
    5291                 :             :                             {
    5292                 :           1 :                               {
    5293                 :           1 :                                 tree captures[2] ATTRIBUTE_UNUSED = { _q30, _q22 };
    5294                 :           1 :                                 if (!tree_expr_maybe_nan_p (captures[0]) && !HONOR_SIGNED_ZEROS (type)
    5295                 :             : )
    5296                 :             :                                   {
    5297                 :           1 :                                     if (TREE_SIDE_EFFECTS (_p0)) goto next_after_fail1543;
    5298                 :           1 :                                     if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail1543;
    5299                 :           1 :                                     {
    5300                 :           1 :                                       tree res_op0;
    5301                 :           1 :                                       {
    5302                 :           1 :                                         tree _o1[1], _r1;
    5303                 :           1 :                                         _o1[0] = captures[0];
    5304                 :           1 :                                         _r1 = fold_build1_loc (loc, ABS_EXPR, TREE_TYPE (_o1[0]), _o1[0]);
    5305                 :           1 :                                         res_op0 = _r1;
    5306                 :             :                                       }
    5307                 :           1 :                                       tree _r;
    5308                 :           1 :                                       _r = fold_build1_loc (loc, NOP_EXPR, type, res_op0);
    5309                 :           1 :                                       if (UNLIKELY (debug_dump)) generic_dump_logs ("match.pd", 991, __FILE__, __LINE__, true);
    5310                 :           1 :                                       return _r;
    5311                 :             :                                     }
    5312                 :           0 : next_after_fail1543:;
    5313                 :             :                                   }
    5314                 :             :                               }
    5315                 :             :                             }
    5316                 :             :                         }
    5317                 :             :                     }
    5318                 :             :                 }
    5319                 :             :               break;
    5320                 :             :             }
    5321                 :        3292 :           case LE_EXPR:
    5322                 :        3292 :             {
    5323                 :        3292 :               tree _q30 = TREE_OPERAND (_q20, 0);
    5324                 :        3292 :               tree _q31 = TREE_OPERAND (_q20, 1);
    5325                 :        3292 :               if (real_zerop (_q31))
    5326                 :             :                 {
    5327                 :           2 :                   if (real_onep (_q21))
    5328                 :             :                     {
    5329                 :           1 :                       if (real_minus_onep (_q22))
    5330                 :             :                         {
    5331                 :           1 :                           if ((_p1 == _q30 && ! TREE_SIDE_EFFECTS (_p1)) || (operand_equal_p (_p1, _q30, 0) && types_match (_p1, _q30)))
    5332                 :             :                             {
    5333                 :           1 :                               {
    5334                 :           1 :                                 tree captures[2] ATTRIBUTE_UNUSED = { _q30, _q21 };
    5335                 :           1 :                                 if (!tree_expr_maybe_nan_p (captures[0]) && !HONOR_SIGNED_ZEROS (type)
    5336                 :             : )
    5337                 :             :                                   {
    5338                 :           1 :                                     if (TREE_SIDE_EFFECTS (_p0)) goto next_after_fail1544;
    5339                 :           1 :                                     if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail1544;
    5340                 :           1 :                                     {
    5341                 :           1 :                                       tree res_op0;
    5342                 :           1 :                                       {
    5343                 :           1 :                                         tree _o1[1], _r1;
    5344                 :           1 :                                         _o1[0] = captures[0];
    5345                 :           1 :                                         _r1 = fold_build1_loc (loc, ABS_EXPR, TREE_TYPE (_o1[0]), _o1[0]);
    5346                 :           1 :                                         res_op0 = _r1;
    5347                 :             :                                       }
    5348                 :           1 :                                       tree _r;
    5349                 :           1 :                                       _r = fold_build1_loc (loc, NEGATE_EXPR, type, res_op0);
    5350                 :           1 :                                       if (UNLIKELY (debug_dump)) generic_dump_logs ("match.pd", 990, __FILE__, __LINE__, true);
    5351                 :           1 :                                       return _r;
    5352                 :             :                                     }
    5353                 :           0 : next_after_fail1544:;
    5354                 :             :                                   }
    5355                 :             :                               }
    5356                 :             :                             }
    5357                 :             :                         }
    5358                 :             :                     }
    5359                 :           1 :                   if (real_minus_onep (_q21))
    5360                 :             :                     {
    5361                 :           1 :                       if (real_onep (_q22))
    5362                 :             :                         {
    5363                 :           1 :                           if ((_p1 == _q30 && ! TREE_SIDE_EFFECTS (_p1)) || (operand_equal_p (_p1, _q30, 0) && types_match (_p1, _q30)))
    5364                 :             :                             {
    5365                 :           1 :                               {
    5366                 :           1 :                                 tree captures[2] ATTRIBUTE_UNUSED = { _q30, _q22 };
    5367                 :           1 :                                 if (!tree_expr_maybe_nan_p (captures[0]) && !HONOR_SIGNED_ZEROS (type)
    5368                 :             : )
    5369                 :             :                                   {
    5370                 :           1 :                                     if (TREE_SIDE_EFFECTS (_p0)) goto next_after_fail1545;
    5371                 :           1 :                                     if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail1545;
    5372                 :           1 :                                     {
    5373                 :           1 :                                       tree res_op0;
    5374                 :           1 :                                       {
    5375                 :           1 :                                         tree _o1[1], _r1;
    5376                 :           1 :                                         _o1[0] = captures[0];
    5377                 :           1 :                                         _r1 = fold_build1_loc (loc, ABS_EXPR, TREE_TYPE (_o1[0]), _o1[0]);
    5378                 :           1 :                                         res_op0 = _r1;
    5379                 :             :                                       }
    5380                 :           1 :                                       tree _r;
    5381                 :           1 :                                       _r = fold_build1_loc (loc, NOP_EXPR, type, res_op0);
    5382                 :           1 :                                       if (UNLIKELY (debug_dump)) generic_dump_logs ("match.pd", 991, __FILE__, __LINE__, true);
    5383                 :           1 :                                       return _r;
    5384                 :             :                                     }
    5385                 :           0 : next_after_fail1545:;
    5386                 :             :                                   }
    5387                 :             :                               }
    5388                 :             :                             }
    5389                 :             :                         }
    5390                 :             :                     }
    5391                 :             :                 }
    5392                 :             :               break;
    5393                 :             :             }
    5394                 :             :           default:;
    5395                 :             :           }
    5396                 :             :         break;
    5397                 :             :       }
    5398                 :    69386166 :     default:;
    5399                 :             :     }
    5400                 :    69386166 :   switch (TREE_CODE (_p1))
    5401                 :             :     {
    5402                 :        2723 :     case COND_EXPR:
    5403                 :        2723 :       {
    5404                 :        2723 :         tree _q30 = TREE_OPERAND (_p1, 0);
    5405                 :        2723 :         tree _q31 = TREE_OPERAND (_p1, 1);
    5406                 :        2723 :         tree _q32 = TREE_OPERAND (_p1, 2);
    5407                 :        2723 :         switch (TREE_CODE (_q30))
    5408                 :             :           {
    5409                 :         546 :           case GT_EXPR:
    5410                 :         546 :             {
    5411                 :         546 :               tree _q40 = TREE_OPERAND (_q30, 0);
    5412                 :         546 :               tree _q41 = TREE_OPERAND (_q30, 1);
    5413                 :         546 :               if ((_q40 == _p0 && ! TREE_SIDE_EFFECTS (_q40)) || (operand_equal_p (_q40, _p0, 0) && types_match (_q40, _p0)))
    5414                 :             :                 {
    5415                 :           0 :                   if (real_zerop (_q41))
    5416                 :             :                     {
    5417                 :           0 :                       if (real_minus_onep (_q31))
    5418                 :             :                         {
    5419                 :           0 :                           if (real_onep (_q32))
    5420                 :             :                             {
    5421                 :           0 :                               {
    5422                 :           0 :                                 tree captures[2] ATTRIBUTE_UNUSED = { _p0, _q32 };
    5423                 :           0 :                                 if (!tree_expr_maybe_nan_p (captures[0]) && !HONOR_SIGNED_ZEROS (type)
    5424                 :             : )
    5425                 :             :                                   {
    5426                 :           0 :                                     if (TREE_SIDE_EFFECTS (_p1)) goto next_after_fail1546;
    5427                 :           0 :                                     if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail1546;
    5428                 :           0 :                                     {
    5429                 :           0 :                                       tree res_op0;
    5430                 :           0 :                                       {
    5431                 :           0 :                                         tree _o1[1], _r1;
    5432                 :           0 :                                         _o1[0] = captures[0];
    5433                 :           0 :                                         _r1 = fold_build1_loc (loc, ABS_EXPR, TREE_TYPE (_o1[0]), _o1[0]);
    5434                 :           0 :                                         res_op0 = _r1;
    5435                 :             :                                       }
    5436                 :           0 :                                       tree _r;
    5437                 :           0 :                                       _r = fold_build1_loc (loc, NEGATE_EXPR, type, res_op0);
    5438                 :           0 :                                       if (UNLIKELY (debug_dump)) generic_dump_logs ("match.pd", 991, __FILE__, __LINE__, true);
    5439                 :           0 :                                       return _r;
    5440                 :             :                                     }
    5441                 :           0 : next_after_fail1546:;
    5442                 :             :                                   }
    5443                 :             :                               }
    5444                 :             :                             }
    5445                 :             :                         }
    5446                 :             :                     }
    5447                 :             :                 }
    5448                 :             :               break;
    5449                 :             :             }
    5450                 :           0 :           case GE_EXPR:
    5451                 :           0 :             {
    5452                 :           0 :               tree _q40 = TREE_OPERAND (_q30, 0);
    5453                 :           0 :               tree _q41 = TREE_OPERAND (_q30, 1);
    5454                 :           0 :               if ((_q40 == _p0 && ! TREE_SIDE_EFFECTS (_q40)) || (operand_equal_p (_q40, _p0, 0) && types_match (_q40, _p0)))
    5455                 :             :                 {
    5456                 :           0 :                   if (real_zerop (_q41))
    5457                 :             :                     {
    5458                 :           0 :                       if (real_minus_onep (_q31))
    5459                 :             :                         {
    5460                 :           0 :                           if (real_onep (_q32))
    5461                 :             :                             {
    5462                 :           0 :                               {
    5463                 :           0 :                                 tree captures[2] ATTRIBUTE_UNUSED = { _p0, _q32 };
    5464                 :           0 :                                 if (!tree_expr_maybe_nan_p (captures[0]) && !HONOR_SIGNED_ZEROS (type)
    5465                 :             : )
    5466                 :             :                                   {
    5467                 :           0 :                                     if (TREE_SIDE_EFFECTS (_p1)) goto next_after_fail1547;
    5468                 :           0 :                                     if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail1547;
    5469                 :           0 :                                     {
    5470                 :           0 :                                       tree res_op0;
    5471                 :           0 :                                       {
    5472                 :           0 :                                         tree _o1[1], _r1;
    5473                 :           0 :                                         _o1[0] = captures[0];
    5474                 :           0 :                                         _r1 = fold_build1_loc (loc, ABS_EXPR, TREE_TYPE (_o1[0]), _o1[0]);
    5475                 :           0 :                                         res_op0 = _r1;
    5476                 :             :                                       }
    5477                 :           0 :                                       tree _r;
    5478                 :           0 :                                       _r = fold_build1_loc (loc, NEGATE_EXPR, type, res_op0);
    5479                 :           0 :                                       if (UNLIKELY (debug_dump)) generic_dump_logs ("match.pd", 991, __FILE__, __LINE__, true);
    5480                 :           0 :                                       return _r;
    5481                 :             :                                     }
    5482                 :           0 : next_after_fail1547:;
    5483                 :             :                                   }
    5484                 :             :                               }
    5485                 :             :                             }
    5486                 :             :                         }
    5487                 :             :                     }
    5488                 :             :                 }
    5489                 :             :               break;
    5490                 :             :             }
    5491                 :          51 :           case LT_EXPR:
    5492                 :          51 :             {
    5493                 :          51 :               tree _q40 = TREE_OPERAND (_q30, 0);
    5494                 :          51 :               tree _q41 = TREE_OPERAND (_q30, 1);
    5495                 :          51 :               if ((_q40 == _p0 && ! TREE_SIDE_EFFECTS (_q40)) || (operand_equal_p (_q40, _p0, 0) && types_match (_q40, _p0)))
    5496                 :             :                 {
    5497                 :           0 :                   if (real_zerop (_q41))
    5498                 :             :                     {
    5499                 :           0 :                       if (real_minus_onep (_q31))
    5500                 :             :                         {
    5501                 :           0 :                           if (real_onep (_q32))
    5502                 :             :                             {
    5503                 :           0 :                               {
    5504                 :           0 :                                 tree captures[2] ATTRIBUTE_UNUSED = { _p0, _q32 };
    5505                 :           0 :                                 if (!tree_expr_maybe_nan_p (captures[0]) && !HONOR_SIGNED_ZEROS (type)
    5506                 :             : )
    5507                 :             :                                   {
    5508                 :           0 :                                     if (TREE_SIDE_EFFECTS (_p1)) goto next_after_fail1548;
    5509                 :           0 :                                     if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail1548;
    5510                 :           0 :                                     {
    5511                 :           0 :                                       tree res_op0;
    5512                 :           0 :                                       {
    5513                 :           0 :                                         tree _o1[1], _r1;
    5514                 :           0 :                                         _o1[0] = captures[0];
    5515                 :           0 :                                         _r1 = fold_build1_loc (loc, ABS_EXPR, TREE_TYPE (_o1[0]), _o1[0]);
    5516                 :           0 :                                         res_op0 = _r1;
    5517                 :             :                                       }
    5518                 :           0 :                                       tree _r;
    5519                 :           0 :                                       _r = fold_build1_loc (loc, NOP_EXPR, type, res_op0);
    5520                 :           0 :                                       if (UNLIKELY (debug_dump)) generic_dump_logs ("match.pd", 991, __FILE__, __LINE__, true);
    5521                 :           0 :                                       return _r;
    5522                 :             :                                     }
    5523                 :           0 : next_after_fail1548:;
    5524                 :             :                                   }
    5525                 :             :                               }
    5526                 :             :                             }
    5527                 :             :                         }
    5528                 :             :                     }
    5529                 :             :                 }
    5530                 :             :               break;
    5531                 :             :             }
    5532                 :           5 :           case LE_EXPR:
    5533                 :           5 :             {
    5534                 :           5 :               tree _q40 = TREE_OPERAND (_q30, 0);
    5535                 :           5 :               tree _q41 = TREE_OPERAND (_q30, 1);
    5536                 :           5 :               if ((_q40 == _p0 && ! TREE_SIDE_EFFECTS (_q40)) || (operand_equal_p (_q40, _p0, 0) && types_match (_q40, _p0)))
    5537                 :             :                 {
    5538                 :           0 :                   if (real_zerop (_q41))
    5539                 :             :                     {
    5540                 :           0 :                       if (real_minus_onep (_q31))
    5541                 :             :                         {
    5542                 :           0 :                           if (real_onep (_q32))
    5543                 :             :                             {
    5544                 :           0 :                               {
    5545                 :           0 :                                 tree captures[2] ATTRIBUTE_UNUSED = { _p0, _q32 };
    5546                 :           0 :                                 if (!tree_expr_maybe_nan_p (captures[0]) && !HONOR_SIGNED_ZEROS (type)
    5547                 :             : )
    5548                 :             :                                   {
    5549                 :           0 :                                     if (TREE_SIDE_EFFECTS (_p1)) goto next_after_fail1549;
    5550                 :           0 :                                     if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail1549;
    5551                 :           0 :                                     {
    5552                 :           0 :                                       tree res_op0;
    5553                 :           0 :                                       {
    5554                 :           0 :                                         tree _o1[1], _r1;
    5555                 :           0 :                                         _o1[0] = captures[0];
    5556                 :           0 :                                         _r1 = fold_build1_loc (loc, ABS_EXPR, TREE_TYPE (_o1[0]), _o1[0]);
    5557                 :           0 :                                         res_op0 = _r1;
    5558                 :             :                                       }
    5559                 :           0 :                                       tree _r;
    5560                 :           0 :                                       _r = fold_build1_loc (loc, NOP_EXPR, type, res_op0);
    5561                 :           0 :                                       if (UNLIKELY (debug_dump)) generic_dump_logs ("match.pd", 991, __FILE__, __LINE__, true);
    5562                 :           0 :                                       return _r;
    5563                 :             :                                     }
    5564                 :           0 : next_after_fail1549:;
    5565                 :             :                                   }
    5566                 :             :                               }
    5567                 :             :                             }
    5568                 :             :                         }
    5569                 :             :                     }
    5570                 :             :                 }
    5571                 :             :               break;
    5572                 :             :             }
    5573                 :             :           default:;
    5574                 :             :           }
    5575                 :             :         break;
    5576                 :             :       }
    5577                 :      932845 :     case CALL_EXPR:
    5578                 :      932845 :       switch (get_call_combined_fn (_p1))
    5579                 :             :         {
    5580                 :          20 :         case CFN_BUILT_IN_COPYSIGNF16:
    5581                 :          20 :           if (call_expr_nargs (_p1) == 2)
    5582                 :             :     {
    5583                 :          20 :               tree _q30 = CALL_EXPR_ARG (_p1, 0);
    5584                 :          20 :               tree _q31 = CALL_EXPR_ARG (_p1, 1);
    5585                 :          20 :               if (real_onep (_q30))
    5586                 :             :                 {
    5587                 :          20 :                   if ((_q31 == _p0 && ! TREE_SIDE_EFFECTS (_q31)) || (operand_equal_p (_q31, _p0, 0) && types_match (_q31, _p0)))
    5588                 :             :                     {
    5589                 :           0 :                       {
    5590                 :           0 :                         tree captures[1] ATTRIBUTE_UNUSED = { _p0 };
    5591                 :           0 :                         tree res = generic_simplify_174 (loc, type, _p0, _p1, captures, CFN_BUILT_IN_COPYSIGNF16);
    5592                 :           0 :                         if (res) return res;
    5593                 :             :                       }
    5594                 :             :                     }
    5595                 :             :                 }
    5596                 :             :             }
    5597                 :             :           break;
    5598                 :           0 :         case CFN_BUILT_IN_COPYSIGNF32:
    5599                 :           0 :           if (call_expr_nargs (_p1) == 2)
    5600                 :             :     {
    5601                 :           0 :               tree _q30 = CALL_EXPR_ARG (_p1, 0);
    5602                 :           0 :               tree _q31 = CALL_EXPR_ARG (_p1, 1);
    5603                 :           0 :               if (real_onep (_q30))
    5604                 :             :                 {
    5605                 :           0 :                   if ((_q31 == _p0 && ! TREE_SIDE_EFFECTS (_q31)) || (operand_equal_p (_q31, _p0, 0) && types_match (_q31, _p0)))
    5606                 :             :                     {
    5607                 :           0 :                       {
    5608                 :           0 :                         tree captures[1] ATTRIBUTE_UNUSED = { _p0 };
    5609                 :           0 :                         tree res = generic_simplify_174 (loc, type, _p0, _p1, captures, CFN_BUILT_IN_COPYSIGNF32);
    5610                 :           0 :                         if (res) return res;
    5611                 :             :                       }
    5612                 :             :                     }
    5613                 :             :                 }
    5614                 :             :             }
    5615                 :             :           break;
    5616                 :           0 :         case CFN_BUILT_IN_COPYSIGNF64:
    5617                 :           0 :           if (call_expr_nargs (_p1) == 2)
    5618                 :             :     {
    5619                 :           0 :               tree _q30 = CALL_EXPR_ARG (_p1, 0);
    5620                 :           0 :               tree _q31 = CALL_EXPR_ARG (_p1, 1);
    5621                 :           0 :               if (real_onep (_q30))
    5622                 :             :                 {
    5623                 :           0 :                   if ((_q31 == _p0 && ! TREE_SIDE_EFFECTS (_q31)) || (operand_equal_p (_q31, _p0, 0) && types_match (_q31, _p0)))
    5624                 :             :                     {
    5625                 :           0 :                       {
    5626                 :           0 :                         tree captures[1] ATTRIBUTE_UNUSED = { _p0 };
    5627                 :           0 :                         tree res = generic_simplify_174 (loc, type, _p0, _p1, captures, CFN_BUILT_IN_COPYSIGNF64);
    5628                 :           0 :                         if (res) return res;
    5629                 :             :                       }
    5630                 :             :                     }
    5631                 :             :                 }
    5632                 :             :             }
    5633                 :             :           break;
    5634                 :           0 :         case CFN_BUILT_IN_COPYSIGNF128X:
    5635                 :           0 :           if (call_expr_nargs (_p1) == 2)
    5636                 :             :     {
    5637                 :           0 :               tree _q30 = CALL_EXPR_ARG (_p1, 0);
    5638                 :           0 :               tree _q31 = CALL_EXPR_ARG (_p1, 1);
    5639                 :           0 :               if (real_onep (_q30))
    5640                 :             :                 {
    5641                 :           0 :                   if ((_q31 == _p0 && ! TREE_SIDE_EFFECTS (_q31)) || (operand_equal_p (_q31, _p0, 0) && types_match (_q31, _p0)))
    5642                 :             :                     {
    5643                 :           0 :                       {
    5644                 :           0 :                         tree captures[1] ATTRIBUTE_UNUSED = { _p0 };
    5645                 :           0 :                         tree res = generic_simplify_174 (loc, type, _p0, _p1, captures, CFN_BUILT_IN_COPYSIGNF128X);
    5646                 :           0 :                         if (res) return res;
    5647                 :             :                       }
    5648                 :             :                     }
    5649                 :             :                 }
    5650                 :             :             }
    5651                 :             :           break;
    5652                 :           0 :         case CFN_BUILT_IN_COPYSIGNF128:
    5653                 :           0 :           if (call_expr_nargs (_p1) == 2)
    5654                 :             :     {
    5655                 :           0 :               tree _q30 = CALL_EXPR_ARG (_p1, 0);
    5656                 :           0 :               tree _q31 = CALL_EXPR_ARG (_p1, 1);
    5657                 :           0 :               if (real_onep (_q30))
    5658                 :             :                 {
    5659                 :           0 :                   if ((_q31 == _p0 && ! TREE_SIDE_EFFECTS (_q31)) || (operand_equal_p (_q31, _p0, 0) && types_match (_q31, _p0)))
    5660                 :             :                     {
    5661                 :           0 :                       {
    5662                 :           0 :                         tree captures[1] ATTRIBUTE_UNUSED = { _p0 };
    5663                 :           0 :                         tree res = generic_simplify_174 (loc, type, _p0, _p1, captures, CFN_BUILT_IN_COPYSIGNF128);
    5664                 :           0 :                         if (res) return res;
    5665                 :             :                       }
    5666                 :             :                     }
    5667                 :             :                 }
    5668                 :             :             }
    5669                 :             :           break;
    5670                 :           0 :         case CFN_BUILT_IN_COPYSIGNF32X:
    5671                 :           0 :           if (call_expr_nargs (_p1) == 2)
    5672                 :             :     {
    5673                 :           0 :               tree _q30 = CALL_EXPR_ARG (_p1, 0);
    5674                 :           0 :               tree _q31 = CALL_EXPR_ARG (_p1, 1);
    5675                 :           0 :               if (real_onep (_q30))
    5676                 :             :                 {
    5677                 :           0 :                   if ((_q31 == _p0 && ! TREE_SIDE_EFFECTS (_q31)) || (operand_equal_p (_q31, _p0, 0) && types_match (_q31, _p0)))
    5678                 :             :                     {
    5679                 :           0 :                       {
    5680                 :           0 :                         tree captures[1] ATTRIBUTE_UNUSED = { _p0 };
    5681                 :           0 :                         tree res = generic_simplify_174 (loc, type, _p0, _p1, captures, CFN_BUILT_IN_COPYSIGNF32X);
    5682                 :           0 :                         if (res) return res;
    5683                 :             :                       }
    5684                 :             :                     }
    5685                 :             :                 }
    5686                 :             :             }
    5687                 :             :           break;
    5688                 :           0 :         case CFN_BUILT_IN_COPYSIGNF64X:
    5689                 :           0 :           if (call_expr_nargs (_p1) == 2)
    5690                 :             :     {
    5691                 :           0 :               tree _q30 = CALL_EXPR_ARG (_p1, 0);
    5692                 :           0 :               tree _q31 = CALL_EXPR_ARG (_p1, 1);
    5693                 :           0 :               if (real_onep (_q30))
    5694                 :             :                 {
    5695                 :           0 :                   if ((_q31 == _p0 && ! TREE_SIDE_EFFECTS (_q31)) || (operand_equal_p (_q31, _p0, 0) && types_match (_q31, _p0)))
    5696                 :             :                     {
    5697                 :           0 :                       {
    5698                 :           0 :                         tree captures[1] ATTRIBUTE_UNUSED = { _p0 };
    5699                 :           0 :                         tree res = generic_simplify_174 (loc, type, _p0, _p1, captures, CFN_BUILT_IN_COPYSIGNF64X);
    5700                 :           0 :                         if (res) return res;
    5701                 :             :                       }
    5702                 :             :                     }
    5703                 :             :                 }
    5704                 :             :             }
    5705                 :             :           break;
    5706                 :          18 :         case CFN_BUILT_IN_COPYSIGN:
    5707                 :          18 :           if (call_expr_nargs (_p1) == 2)
    5708                 :             :     {
    5709                 :          18 :               tree _q30 = CALL_EXPR_ARG (_p1, 0);
    5710                 :          18 :               tree _q31 = CALL_EXPR_ARG (_p1, 1);
    5711                 :          18 :               if (real_onep (_q30))
    5712                 :             :                 {
    5713                 :          14 :                   if ((_q31 == _p0 && ! TREE_SIDE_EFFECTS (_q31)) || (operand_equal_p (_q31, _p0, 0) && types_match (_q31, _p0)))
    5714                 :             :                     {
    5715                 :           0 :                       {
    5716                 :           0 :                         tree captures[1] ATTRIBUTE_UNUSED = { _p0 };
    5717                 :           0 :                         tree res = generic_simplify_174 (loc, type, _p0, _p1, captures, CFN_BUILT_IN_COPYSIGN);
    5718                 :           0 :                         if (res) return res;
    5719                 :             :                       }
    5720                 :             :                     }
    5721                 :             :                 }
    5722                 :             :             }
    5723                 :             :           break;
    5724                 :          14 :         case CFN_BUILT_IN_COPYSIGNF:
    5725                 :          14 :           if (call_expr_nargs (_p1) == 2)
    5726                 :             :     {
    5727                 :          14 :               tree _q30 = CALL_EXPR_ARG (_p1, 0);
    5728                 :          14 :               tree _q31 = CALL_EXPR_ARG (_p1, 1);
    5729                 :          14 :               if (real_onep (_q30))
    5730                 :             :                 {
    5731                 :          12 :                   if ((_q31 == _p0 && ! TREE_SIDE_EFFECTS (_q31)) || (operand_equal_p (_q31, _p0, 0) && types_match (_q31, _p0)))
    5732                 :             :                     {
    5733                 :           0 :                       {
    5734                 :           0 :                         tree captures[1] ATTRIBUTE_UNUSED = { _p0 };
    5735                 :           0 :                         tree res = generic_simplify_174 (loc, type, _p0, _p1, captures, CFN_BUILT_IN_COPYSIGNF);
    5736                 :           0 :                         if (res) return res;
    5737                 :             :                       }
    5738                 :             :                     }
    5739                 :             :                 }
    5740                 :             :             }
    5741                 :             :           break;
    5742                 :           0 :         case CFN_BUILT_IN_COPYSIGNL:
    5743                 :           0 :           if (call_expr_nargs (_p1) == 2)
    5744                 :             :     {
    5745                 :           0 :               tree _q30 = CALL_EXPR_ARG (_p1, 0);
    5746                 :           0 :               tree _q31 = CALL_EXPR_ARG (_p1, 1);
    5747                 :           0 :               if (real_onep (_q30))
    5748                 :             :                 {
    5749                 :           0 :                   if ((_q31 == _p0 && ! TREE_SIDE_EFFECTS (_q31)) || (operand_equal_p (_q31, _p0, 0) && types_match (_q31, _p0)))
    5750                 :             :                     {
    5751                 :           0 :                       {
    5752                 :           0 :                         tree captures[1] ATTRIBUTE_UNUSED = { _p0 };
    5753                 :           0 :                         tree res = generic_simplify_174 (loc, type, _p0, _p1, captures, CFN_BUILT_IN_COPYSIGNL);
    5754                 :           0 :                         if (res) return res;
    5755                 :             :                       }
    5756                 :             :                     }
    5757                 :             :                 }
    5758                 :             :             }
    5759                 :             :           break;
    5760                 :           0 :         case CFN_COPYSIGN:
    5761                 :           0 :           if (call_expr_nargs (_p1) == 2)
    5762                 :             :     {
    5763                 :           0 :               tree _q30 = CALL_EXPR_ARG (_p1, 0);
    5764                 :           0 :               tree _q31 = CALL_EXPR_ARG (_p1, 1);
    5765                 :           0 :               if (real_onep (_q30))
    5766                 :             :                 {
    5767                 :           0 :                   if ((_q31 == _p0 && ! TREE_SIDE_EFFECTS (_q31)) || (operand_equal_p (_q31, _p0, 0) && types_match (_q31, _p0)))
    5768                 :             :                     {
    5769                 :           0 :                       {
    5770                 :           0 :                         tree captures[1] ATTRIBUTE_UNUSED = { _p0 };
    5771                 :           0 :                         tree res = generic_simplify_174 (loc, type, _p0, _p1, captures, CFN_COPYSIGN);
    5772                 :           0 :                         if (res) return res;
    5773                 :             :                       }
    5774                 :             :                     }
    5775                 :             :                 }
    5776                 :             :             }
    5777                 :             :           break;
    5778                 :             :         default:;
    5779                 :             :         }
    5780                 :             :       break;
    5781                 :    69386166 :     default:;
    5782                 :             :     }
    5783                 :    69386166 :   switch (TREE_CODE (_p0))
    5784                 :             :     {
    5785                 :     2675603 :     case CALL_EXPR:
    5786                 :     2675603 :       switch (get_call_combined_fn (_p0))
    5787                 :             :         {
    5788                 :           1 :         case CFN_BUILT_IN_COPYSIGNF16:
    5789                 :           1 :           if (call_expr_nargs (_p0) == 2)
    5790                 :             :     {
    5791                 :           1 :               tree _q20 = CALL_EXPR_ARG (_p0, 0);
    5792                 :           1 :               tree _q21 = CALL_EXPR_ARG (_p0, 1);
    5793                 :           1 :               if (real_onep (_q20))
    5794                 :             :                 {
    5795                 :           1 :                   if ((_p1 == _q21 && ! TREE_SIDE_EFFECTS (_p1)) || (operand_equal_p (_p1, _q21, 0) && types_match (_p1, _q21)))
    5796                 :             :                     {
    5797                 :           0 :                       {
    5798                 :           0 :                         tree captures[1] ATTRIBUTE_UNUSED = { _q21 };
    5799                 :           0 :                         tree res = generic_simplify_175 (loc, type, _p0, _p1, captures, CFN_BUILT_IN_COPYSIGNF16);
    5800                 :           0 :                         if (res) return res;
    5801                 :             :                       }
    5802                 :             :                     }
    5803                 :           1 :                   switch (TREE_CODE (_q21))
    5804                 :             :                     {
    5805                 :           0 :                     case NEGATE_EXPR:
    5806                 :           0 :                       {
    5807                 :           0 :                         tree _q40 = TREE_OPERAND (_q21, 0);
    5808                 :           0 :                         if ((_p1 == _q40 && ! TREE_SIDE_EFFECTS (_p1)) || (operand_equal_p (_p1, _q40, 0) && types_match (_p1, _q40)))
    5809                 :             :                           {
    5810                 :           0 :                             {
    5811                 :           0 :                               tree captures[1] ATTRIBUTE_UNUSED = { _q40 };
    5812                 :           0 :                               tree res = generic_simplify_176 (loc, type, _p0, _p1, captures, CFN_BUILT_IN_COPYSIGNF16);
    5813                 :           0 :                               if (res) return res;
    5814                 :             :                             }
    5815                 :             :                           }
    5816                 :             :                         break;
    5817                 :             :                       }
    5818                 :             :                     default:;
    5819                 :             :                     }
    5820                 :             :                 }
    5821                 :             :             }
    5822                 :             :           break;
    5823                 :           0 :         case CFN_BUILT_IN_COPYSIGNF32:
    5824                 :           0 :           if (call_expr_nargs (_p0) == 2)
    5825                 :             :     {
    5826                 :           0 :               tree _q20 = CALL_EXPR_ARG (_p0, 0);
    5827                 :           0 :               tree _q21 = CALL_EXPR_ARG (_p0, 1);
    5828                 :           0 :               if (real_onep (_q20))
    5829                 :             :                 {
    5830                 :           0 :                   if ((_p1 == _q21 && ! TREE_SIDE_EFFECTS (_p1)) || (operand_equal_p (_p1, _q21, 0) && types_match (_p1, _q21)))
    5831                 :             :                     {
    5832                 :           0 :                       {
    5833                 :           0 :                         tree captures[1] ATTRIBUTE_UNUSED = { _q21 };
    5834                 :           0 :                         tree res = generic_simplify_175 (loc, type, _p0, _p1, captures, CFN_BUILT_IN_COPYSIGNF32);
    5835                 :           0 :                         if (res) return res;
    5836                 :             :                       }
    5837                 :             :                     }
    5838                 :           0 :                   switch (TREE_CODE (_q21))
    5839                 :             :                     {
    5840                 :           0 :                     case NEGATE_EXPR:
    5841                 :           0 :                       {
    5842                 :           0 :                         tree _q40 = TREE_OPERAND (_q21, 0);
    5843                 :           0 :                         if ((_p1 == _q40 && ! TREE_SIDE_EFFECTS (_p1)) || (operand_equal_p (_p1, _q40, 0) && types_match (_p1, _q40)))
    5844                 :             :                           {
    5845                 :           0 :                             {
    5846                 :           0 :                               tree captures[1] ATTRIBUTE_UNUSED = { _q40 };
    5847                 :           0 :                               tree res = generic_simplify_176 (loc, type, _p0, _p1, captures, CFN_BUILT_IN_COPYSIGNF32);
    5848                 :           0 :                               if (res) return res;
    5849                 :             :                             }
    5850                 :             :                           }
    5851                 :             :                         break;
    5852                 :             :                       }
    5853                 :             :                     default:;
    5854                 :             :                     }
    5855                 :             :                 }
    5856                 :             :             }
    5857                 :             :           break;
    5858                 :           0 :         case CFN_BUILT_IN_COPYSIGNF64:
    5859                 :           0 :           if (call_expr_nargs (_p0) == 2)
    5860                 :             :     {
    5861                 :           0 :               tree _q20 = CALL_EXPR_ARG (_p0, 0);
    5862                 :           0 :               tree _q21 = CALL_EXPR_ARG (_p0, 1);
    5863                 :           0 :               if (real_onep (_q20))
    5864                 :             :                 {
    5865                 :           0 :                   if ((_p1 == _q21 && ! TREE_SIDE_EFFECTS (_p1)) || (operand_equal_p (_p1, _q21, 0) && types_match (_p1, _q21)))
    5866                 :             :                     {
    5867                 :           0 :                       {
    5868                 :           0 :                         tree captures[1] ATTRIBUTE_UNUSED = { _q21 };
    5869                 :           0 :                         tree res = generic_simplify_175 (loc, type, _p0, _p1, captures, CFN_BUILT_IN_COPYSIGNF64);
    5870                 :           0 :                         if (res) return res;
    5871                 :             :                       }
    5872                 :             :                     }
    5873                 :           0 :                   switch (TREE_CODE (_q21))
    5874                 :             :                     {
    5875                 :           0 :                     case NEGATE_EXPR:
    5876                 :           0 :                       {
    5877                 :           0 :                         tree _q40 = TREE_OPERAND (_q21, 0);
    5878                 :           0 :                         if ((_p1 == _q40 && ! TREE_SIDE_EFFECTS (_p1)) || (operand_equal_p (_p1, _q40, 0) && types_match (_p1, _q40)))
    5879                 :             :                           {
    5880                 :           0 :                             {
    5881                 :           0 :                               tree captures[1] ATTRIBUTE_UNUSED = { _q40 };
    5882                 :           0 :                               tree res = generic_simplify_176 (loc, type, _p0, _p1, captures, CFN_BUILT_IN_COPYSIGNF64);
    5883                 :           0 :                               if (res) return res;
    5884                 :             :                             }
    5885                 :             :                           }
    5886                 :             :                         break;
    5887                 :             :                       }
    5888                 :             :                     default:;
    5889                 :             :                     }
    5890                 :             :                 }
    5891                 :             :             }
    5892                 :             :           break;
    5893                 :           0 :         case CFN_BUILT_IN_COPYSIGNF128X:
    5894                 :           0 :           if (call_expr_nargs (_p0) == 2)
    5895                 :             :     {
    5896                 :           0 :               tree _q20 = CALL_EXPR_ARG (_p0, 0);
    5897                 :           0 :               tree _q21 = CALL_EXPR_ARG (_p0, 1);
    5898                 :           0 :               if (real_onep (_q20))
    5899                 :             :                 {
    5900                 :           0 :                   if ((_p1 == _q21 && ! TREE_SIDE_EFFECTS (_p1)) || (operand_equal_p (_p1, _q21, 0) && types_match (_p1, _q21)))
    5901                 :             :                     {
    5902                 :           0 :                       {
    5903                 :           0 :                         tree captures[1] ATTRIBUTE_UNUSED = { _q21 };
    5904                 :           0 :                         tree res = generic_simplify_175 (loc, type, _p0, _p1, captures, CFN_BUILT_IN_COPYSIGNF128X);
    5905                 :           0 :                         if (res) return res;
    5906                 :             :                       }
    5907                 :             :                     }
    5908                 :           0 :                   switch (TREE_CODE (_q21))
    5909                 :             :                     {
    5910                 :           0 :                     case NEGATE_EXPR:
    5911                 :           0 :                       {
    5912                 :           0 :                         tree _q40 = TREE_OPERAND (_q21, 0);
    5913                 :           0 :                         if ((_p1 == _q40 && ! TREE_SIDE_EFFECTS (_p1)) || (operand_equal_p (_p1, _q40, 0) && types_match (_p1, _q40)))
    5914                 :             :                           {
    5915                 :           0 :                             {
    5916                 :           0 :                               tree captures[1] ATTRIBUTE_UNUSED = { _q40 };
    5917                 :           0 :                               tree res = generic_simplify_176 (loc, type, _p0, _p1, captures, CFN_BUILT_IN_COPYSIGNF128X);
    5918                 :           0 :                               if (res) return res;
    5919                 :             :                             }
    5920                 :             :                           }
    5921                 :             :                         break;
    5922                 :             :                       }
    5923                 :             :                     default:;
    5924                 :             :                     }
    5925                 :             :                 }
    5926                 :             :             }
    5927                 :             :           break;
    5928                 :           8 :         case CFN_BUILT_IN_COPYSIGNF128:
    5929                 :           8 :           if (call_expr_nargs (_p0) == 2)
    5930                 :             :     {
    5931                 :           8 :               tree _q20 = CALL_EXPR_ARG (_p0, 0);
    5932                 :           8 :               tree _q21 = CALL_EXPR_ARG (_p0, 1);
    5933                 :           8 :               if (real_onep (_q20))
    5934                 :             :                 {
    5935                 :           0 :                   if ((_p1 == _q21 && ! TREE_SIDE_EFFECTS (_p1)) || (operand_equal_p (_p1, _q21, 0) && types_match (_p1, _q21)))
    5936                 :             :                     {
    5937                 :           0 :                       {
    5938                 :           0 :                         tree captures[1] ATTRIBUTE_UNUSED = { _q21 };
    5939                 :           0 :                         tree res = generic_simplify_175 (loc, type, _p0, _p1, captures, CFN_BUILT_IN_COPYSIGNF128);
    5940                 :           0 :                         if (res) return res;
    5941                 :             :                       }
    5942                 :             :                     }
    5943                 :           0 :                   switch (TREE_CODE (_q21))
    5944                 :             :                     {
    5945                 :           0 :                     case NEGATE_EXPR:
    5946                 :           0 :                       {
    5947                 :           0 :                         tree _q40 = TREE_OPERAND (_q21, 0);
    5948                 :           0 :                         if ((_p1 == _q40 && ! TREE_SIDE_EFFECTS (_p1)) || (operand_equal_p (_p1, _q40, 0) && types_match (_p1, _q40)))
    5949                 :             :                           {
    5950                 :           0 :                             {
    5951                 :           0 :                               tree captures[1] ATTRIBUTE_UNUSED = { _q40 };
    5952                 :           0 :                               tree res = generic_simplify_176 (loc, type, _p0, _p1, captures, CFN_BUILT_IN_COPYSIGNF128);
    5953                 :           0 :                               if (res) return res;
    5954                 :             :                             }
    5955                 :             :                           }
    5956                 :             :                         break;
    5957                 :             :                       }
    5958                 :             :                     default:;
    5959                 :             :                     }
    5960                 :             :                 }
    5961                 :             :             }
    5962                 :             :           break;
    5963                 :           0 :         case CFN_BUILT_IN_COPYSIGNF32X:
    5964                 :           0 :           if (call_expr_nargs (_p0) == 2)
    5965                 :             :     {
    5966                 :           0 :               tree _q20 = CALL_EXPR_ARG (_p0, 0);
    5967                 :           0 :               tree _q21 = CALL_EXPR_ARG (_p0, 1);
    5968                 :           0 :               if (real_onep (_q20))
    5969                 :             :                 {
    5970                 :           0 :                   if ((_p1 == _q21 && ! TREE_SIDE_EFFECTS (_p1)) || (operand_equal_p (_p1, _q21, 0) && types_match (_p1, _q21)))
    5971                 :             :                     {
    5972                 :           0 :                       {
    5973                 :           0 :                         tree captures[1] ATTRIBUTE_UNUSED = { _q21 };
    5974                 :           0 :                         tree res = generic_simplify_175 (loc, type, _p0, _p1, captures, CFN_BUILT_IN_COPYSIGNF32X);
    5975                 :           0 :                         if (res) return res;
    5976                 :             :                       }
    5977                 :             :                     }
    5978                 :           0 :                   switch (TREE_CODE (_q21))
    5979                 :             :                     {
    5980                 :           0 :                     case NEGATE_EXPR:
    5981                 :           0 :                       {
    5982                 :           0 :                         tree _q40 = TREE_OPERAND (_q21, 0);
    5983                 :           0 :                         if ((_p1 == _q40 && ! TREE_SIDE_EFFECTS (_p1)) || (operand_equal_p (_p1, _q40, 0) && types_match (_p1, _q40)))
    5984                 :             :                           {
    5985                 :           0 :                             {
    5986                 :           0 :                               tree captures[1] ATTRIBUTE_UNUSED = { _q40 };
    5987                 :           0 :                               tree res = generic_simplify_176 (loc, type, _p0, _p1, captures, CFN_BUILT_IN_COPYSIGNF32X);
    5988                 :           0 :                               if (res) return res;
    5989                 :             :                             }
    5990                 :             :                           }
    5991                 :             :                         break;
    5992                 :             :                       }
    5993                 :             :                     default:;
    5994                 :             :                     }
    5995                 :             :                 }
    5996                 :             :             }
    5997                 :             :           break;
    5998                 :           0 :         case CFN_BUILT_IN_COPYSIGNF64X:
    5999                 :           0 :           if (call_expr_nargs (_p0) == 2)
    6000                 :             :     {
    6001                 :           0 :               tree _q20 = CALL_EXPR_ARG (_p0, 0);
    6002                 :           0 :               tree _q21 = CALL_EXPR_ARG (_p0, 1);
    6003                 :           0 :               if (real_onep (_q20))
    6004                 :             :                 {
    6005                 :           0 :                   if ((_p1 == _q21 && ! TREE_SIDE_EFFECTS (_p1)) || (operand_equal_p (_p1, _q21, 0) && types_match (_p1, _q21)))
    6006                 :             :                     {
    6007                 :           0 :                       {
    6008                 :           0 :                         tree captures[1] ATTRIBUTE_UNUSED = { _q21 };
    6009                 :           0 :                         tree res = generic_simplify_175 (loc, type, _p0, _p1, captures, CFN_BUILT_IN_COPYSIGNF64X);
    6010                 :           0 :                         if (res) return res;
    6011                 :             :                       }
    6012                 :             :                     }
    6013                 :           0 :                   switch (TREE_CODE (_q21))
    6014                 :             :                     {
    6015                 :           0 :                     case NEGATE_EXPR:
    6016                 :           0 :                       {
    6017                 :           0 :                         tree _q40 = TREE_OPERAND (_q21, 0);
    6018                 :           0 :                         if ((_p1 == _q40 && ! TREE_SIDE_EFFECTS (_p1)) || (operand_equal_p (_p1, _q40, 0) && types_match (_p1, _q40)))
    6019                 :             :                           {
    6020                 :           0 :                             {
    6021                 :           0 :                               tree captures[1] ATTRIBUTE_UNUSED = { _q40 };
    6022                 :           0 :                               tree res = generic_simplify_176 (loc, type, _p0, _p1, captures, CFN_BUILT_IN_COPYSIGNF64X);
    6023                 :           0 :                               if (res) return res;
    6024                 :             :                             }
    6025                 :             :                           }
    6026                 :             :                         break;
    6027                 :             :                       }
    6028                 :             :                     default:;
    6029                 :             :                     }
    6030                 :             :                 }
    6031                 :             :             }
    6032                 :             :           break;
    6033                 :          21 :         case CFN_BUILT_IN_COPYSIGN:
    6034                 :          21 :           if (call_expr_nargs (_p0) == 2)
    6035                 :             :     {
    6036                 :          21 :               tree _q20 = CALL_EXPR_ARG (_p0, 0);
    6037                 :          21 :               tree _q21 = CALL_EXPR_ARG (_p0, 1);
    6038                 :          21 :               if (real_onep (_q20))
    6039                 :             :                 {
    6040                 :           3 :                   if ((_p1 == _q21 && ! TREE_SIDE_EFFECTS (_p1)) || (operand_equal_p (_p1, _q21, 0) && types_match (_p1, _q21)))
    6041                 :             :                     {
    6042                 :           0 :                       {
    6043                 :           0 :                         tree captures[1] ATTRIBUTE_UNUSED = { _q21 };
    6044                 :           0 :                         tree res = generic_simplify_175 (loc, type, _p0, _p1, captures, CFN_BUILT_IN_COPYSIGN);
    6045                 :           0 :                         if (res) return res;
    6046                 :             :                       }
    6047                 :             :                     }
    6048                 :           3 :                   switch (TREE_CODE (_q21))
    6049                 :             :                     {
    6050                 :           0 :                     case NEGATE_EXPR:
    6051                 :           0 :                       {
    6052                 :           0 :                         tree _q40 = TREE_OPERAND (_q21, 0);
    6053                 :           0 :                         if ((_p1 == _q40 && ! TREE_SIDE_EFFECTS (_p1)) || (operand_equal_p (_p1, _q40, 0) && types_match (_p1, _q40)))
    6054                 :             :                           {
    6055                 :           0 :                             {
    6056                 :           0 :                               tree captures[1] ATTRIBUTE_UNUSED = { _q40 };
    6057                 :           0 :                               tree res = generic_simplify_176 (loc, type, _p0, _p1, captures, CFN_BUILT_IN_COPYSIGN);
    6058                 :           0 :                               if (res) return res;
    6059                 :             :                             }
    6060                 :             :                           }
    6061                 :             :                         break;
    6062                 :             :                       }
    6063                 :             :                     default:;
    6064                 :             :                     }
    6065                 :             :                 }
    6066                 :             :             }
    6067                 :             :           break;
    6068                 :          36 :         case CFN_BUILT_IN_COPYSIGNF:
    6069                 :          36 :           if (call_expr_nargs (_p0) == 2)
    6070                 :             :     {
    6071                 :          36 :               tree _q20 = CALL_EXPR_ARG (_p0, 0);
    6072                 :          36 :               tree _q21 = CALL_EXPR_ARG (_p0, 1);
    6073                 :          36 :               if (real_onep (_q20))
    6074                 :             :                 {
    6075                 :          12 :                   if ((_p1 == _q21 && ! TREE_SIDE_EFFECTS (_p1)) || (operand_equal_p (_p1, _q21, 0) && types_match (_p1, _q21)))
    6076                 :             :                     {
    6077                 :           4 :                       {
    6078                 :           4 :                         tree captures[1] ATTRIBUTE_UNUSED = { _q21 };
    6079                 :           4 :                         tree res = generic_simplify_175 (loc, type, _p0, _p1, captures, CFN_BUILT_IN_COPYSIGNF);
    6080                 :           4 :                         if (res) return res;
    6081                 :             :                       }
    6082                 :             :                     }
    6083                 :          12 :                   switch (TREE_CODE (_q21))
    6084                 :             :                     {
    6085                 :           0 :                     case NEGATE_EXPR:
    6086                 :           0 :                       {
    6087                 :           0 :                         tree _q40 = TREE_OPERAND (_q21, 0);
    6088                 :           0 :                         if ((_p1 == _q40 && ! TREE_SIDE_EFFECTS (_p1)) || (operand_equal_p (_p1, _q40, 0) && types_match (_p1, _q40)))
    6089                 :             :                           {
    6090                 :           0 :                             {
    6091                 :           0 :                               tree captures[1] ATTRIBUTE_UNUSED = { _q40 };
    6092                 :           0 :                               tree res = generic_simplify_176 (loc, type, _p0, _p1, captures, CFN_BUILT_IN_COPYSIGNF);
    6093                 :           0 :                               if (res) return res;
    6094                 :             :                             }
    6095                 :             :                           }
    6096                 :             :                         break;
    6097                 :             :                       }
    6098                 :             :                     default:;
    6099                 :             :                     }
    6100                 :             :                 }
    6101                 :             :             }
    6102                 :             :           break;
    6103                 :           8 :         case CFN_BUILT_IN_COPYSIGNL:
    6104                 :           8 :           if (call_expr_nargs (_p0) == 2)
    6105                 :             :     {
    6106                 :           8 :               tree _q20 = CALL_EXPR_ARG (_p0, 0);
    6107                 :           8 :               tree _q21 = CALL_EXPR_ARG (_p0, 1);
    6108                 :           8 :               if (real_onep (_q20))
    6109                 :             :                 {
    6110                 :           0 :                   if ((_p1 == _q21 && ! TREE_SIDE_EFFECTS (_p1)) || (operand_equal_p (_p1, _q21, 0) && types_match (_p1, _q21)))
    6111                 :             :                     {
    6112                 :           0 :                       {
    6113                 :           0 :                         tree captures[1] ATTRIBUTE_UNUSED = { _q21 };
    6114                 :           0 :                         tree res = generic_simplify_175 (loc, type, _p0, _p1, captures, CFN_BUILT_IN_COPYSIGNL);
    6115                 :           0 :                         if (res) return res;
    6116                 :             :                       }
    6117                 :             :                     }
    6118                 :           0 :                   switch (TREE_CODE (_q21))
    6119                 :             :                     {
    6120                 :           0 :                     case NEGATE_EXPR:
    6121                 :           0 :                       {
    6122                 :           0 :                         tree _q40 = TREE_OPERAND (_q21, 0);
    6123                 :           0 :                         if ((_p1 == _q40 && ! TREE_SIDE_EFFECTS (_p1)) || (operand_equal_p (_p1, _q40, 0) && types_match (_p1, _q40)))
    6124                 :             :                           {
    6125                 :           0 :                             {
    6126                 :           0 :                               tree captures[1] ATTRIBUTE_UNUSED = { _q40 };
    6127                 :           0 :                               tree res = generic_simplify_176 (loc, type, _p0, _p1, captures, CFN_BUILT_IN_COPYSIGNL);
    6128                 :           0 :                               if (res) return res;
    6129                 :             :                             }
    6130                 :             :                           }
    6131                 :             :                         break;
    6132                 :             :                       }
    6133                 :             :                     default:;
    6134                 :             :                     }
    6135                 :             :                 }
    6136                 :             :             }
    6137                 :             :           break;
    6138                 :           0 :         case CFN_COPYSIGN:
    6139                 :           0 :           if (call_expr_nargs (_p0) == 2)
    6140                 :             :     {
    6141                 :           0 :               tree _q20 = CALL_EXPR_ARG (_p0, 0);
    6142                 :           0 :               tree _q21 = CALL_EXPR_ARG (_p0, 1);
    6143                 :           0 :               if (real_onep (_q20))
    6144                 :             :                 {
    6145                 :           0 :                   if ((_p1 == _q21 && ! TREE_SIDE_EFFECTS (_p1)) || (operand_equal_p (_p1, _q21, 0) && types_match (_p1, _q21)))
    6146                 :             :                     {
    6147                 :           0 :                       {
    6148                 :           0 :                         tree captures[1] ATTRIBUTE_UNUSED = { _q21 };
    6149                 :           0 :                         tree res = generic_simplify_175 (loc, type, _p0, _p1, captures, CFN_COPYSIGN);
    6150                 :           0 :                         if (res) return res;
    6151                 :             :                       }
    6152                 :             :                     }
    6153                 :           0 :                   switch (TREE_CODE (_q21))
    6154                 :             :                     {
    6155                 :           0 :                     case NEGATE_EXPR:
    6156                 :           0 :                       {
    6157                 :           0 :                         tree _q40 = TREE_OPERAND (_q21, 0);
    6158                 :           0 :                         if ((_p1 == _q40 && ! TREE_SIDE_EFFECTS (_p1)) || (operand_equal_p (_p1, _q40, 0) && types_match (_p1, _q40)))
    6159                 :             :                           {
    6160                 :           0 :                             {
    6161                 :           0 :                               tree captures[1] ATTRIBUTE_UNUSED = { _q40 };
    6162                 :           0 :                               tree res = generic_simplify_176 (loc, type, _p0, _p1, captures, CFN_COPYSIGN);
    6163                 :           0 :                               if (res) return res;
    6164                 :             :                             }
    6165                 :             :                           }
    6166                 :             :                         break;
    6167                 :             :                       }
    6168                 :             :                     default:;
    6169                 :             :                     }
    6170                 :             :                 }
    6171                 :             :             }
    6172                 :             :           break;
    6173                 :             :         default:;
    6174                 :             :         }
    6175                 :             :       break;
    6176                 :    69386166 :     default:;
    6177                 :             :     }
    6178                 :    69386166 :   switch (TREE_CODE (_p1))
    6179                 :             :     {
    6180                 :      932845 :     case CALL_EXPR:
    6181                 :      932845 :       switch (get_call_combined_fn (_p1))
    6182                 :             :         {
    6183                 :          20 :         case CFN_BUILT_IN_COPYSIGNF16:
    6184                 :          20 :           if (call_expr_nargs (_p1) == 2)
    6185                 :             :     {
    6186                 :          20 :               tree _q30 = CALL_EXPR_ARG (_p1, 0);
    6187                 :          20 :               tree _q31 = CALL_EXPR_ARG (_p1, 1);
    6188                 :          20 :               if (real_onep (_q30))
    6189                 :             :                 {
    6190                 :          20 :                   switch (TREE_CODE (_q31))
    6191                 :             :                     {
    6192                 :           0 :                     case NEGATE_EXPR:
    6193                 :           0 :                       {
    6194                 :           0 :                         tree _q50 = TREE_OPERAND (_q31, 0);
    6195                 :           0 :                         if ((_q50 == _p0 && ! TREE_SIDE_EFFECTS (_q50)) || (operand_equal_p (_q50, _p0, 0) && types_match (_q50, _p0)))
    6196                 :             :                           {
    6197                 :           0 :                             {
    6198                 :           0 :                               tree captures[1] ATTRIBUTE_UNUSED = { _p0 };
    6199                 :           0 :                               tree res = generic_simplify_177 (loc, type, _p0, _p1, captures, CFN_BUILT_IN_COPYSIGNF16);
    6200                 :           0 :                               if (res) return res;
    6201                 :             :                             }
    6202                 :             :                           }
    6203                 :             :                         break;
    6204                 :             :                       }
    6205                 :             :                     default:;
    6206                 :             :                     }
    6207                 :             :                 }
    6208                 :             :             }
    6209                 :             :           break;
    6210                 :           0 :         case CFN_BUILT_IN_COPYSIGNF32:
    6211                 :           0 :           if (call_expr_nargs (_p1) == 2)
    6212                 :             :     {
    6213                 :           0 :               tree _q30 = CALL_EXPR_ARG (_p1, 0);
    6214                 :           0 :               tree _q31 = CALL_EXPR_ARG (_p1, 1);
    6215                 :           0 :               if (real_onep (_q30))
    6216                 :             :                 {
    6217                 :           0 :                   switch (TREE_CODE (_q31))
    6218                 :             :                     {
    6219                 :           0 :                     case NEGATE_EXPR:
    6220                 :           0 :                       {
    6221                 :           0 :                         tree _q50 = TREE_OPERAND (_q31, 0);
    6222                 :           0 :                         if ((_q50 == _p0 && ! TREE_SIDE_EFFECTS (_q50)) || (operand_equal_p (_q50, _p0, 0) && types_match (_q50, _p0)))
    6223                 :             :                           {
    6224                 :           0 :                             {
    6225                 :           0 :                               tree captures[1] ATTRIBUTE_UNUSED = { _p0 };
    6226                 :           0 :                               tree res = generic_simplify_177 (loc, type, _p0, _p1, captures, CFN_BUILT_IN_COPYSIGNF32);
    6227                 :           0 :                               if (res) return res;
    6228                 :             :                             }
    6229                 :             :                           }
    6230                 :             :                         break;
    6231                 :             :                       }
    6232                 :             :                     default:;
    6233                 :             :                     }
    6234                 :             :                 }
    6235                 :             :             }
    6236                 :             :           break;
    6237                 :           0 :         case CFN_BUILT_IN_COPYSIGNF64:
    6238                 :           0 :           if (call_expr_nargs (_p1) == 2)
    6239                 :             :     {
    6240                 :           0 :               tree _q30 = CALL_EXPR_ARG (_p1, 0);
    6241                 :           0 :               tree _q31 = CALL_EXPR_ARG (_p1, 1);
    6242                 :           0 :               if (real_onep (_q30))
    6243                 :             :                 {
    6244                 :           0 :                   switch (TREE_CODE (_q31))
    6245                 :             :                     {
    6246                 :           0 :                     case NEGATE_EXPR:
    6247                 :           0 :                       {
    6248                 :           0 :                         tree _q50 = TREE_OPERAND (_q31, 0);
    6249                 :           0 :                         if ((_q50 == _p0 && ! TREE_SIDE_EFFECTS (_q50)) || (operand_equal_p (_q50, _p0, 0) && types_match (_q50, _p0)))
    6250                 :             :                           {
    6251                 :           0 :                             {
    6252                 :           0 :                               tree captures[1] ATTRIBUTE_UNUSED = { _p0 };
    6253                 :           0 :                               tree res = generic_simplify_177 (loc, type, _p0, _p1, captures, CFN_BUILT_IN_COPYSIGNF64);
    6254                 :           0 :                               if (res) return res;
    6255                 :             :                             }
    6256                 :             :                           }
    6257                 :             :                         break;
    6258                 :             :                       }
    6259                 :             :                     default:;
    6260                 :             :                     }
    6261                 :             :                 }
    6262                 :             :             }
    6263                 :             :           break;
    6264                 :           0 :         case CFN_BUILT_IN_COPYSIGNF128X:
    6265                 :           0 :           if (call_expr_nargs (_p1) == 2)
    6266                 :             :     {
    6267                 :           0 :               tree _q30 = CALL_EXPR_ARG (_p1, 0);
    6268                 :           0 :               tree _q31 = CALL_EXPR_ARG (_p1, 1);
    6269                 :           0 :               if (real_onep (_q30))
    6270                 :             :                 {
    6271                 :           0 :                   switch (TREE_CODE (_q31))
    6272                 :             :                     {
    6273                 :           0 :                     case NEGATE_EXPR:
    6274                 :           0 :                       {
    6275                 :           0 :                         tree _q50 = TREE_OPERAND (_q31, 0);
    6276                 :           0 :                         if ((_q50 == _p0 && ! TREE_SIDE_EFFECTS (_q50)) || (operand_equal_p (_q50, _p0, 0) && types_match (_q50, _p0)))
    6277                 :             :                           {
    6278                 :           0 :                             {
    6279                 :           0 :                               tree captures[1] ATTRIBUTE_UNUSED = { _p0 };
    6280                 :           0 :                               tree res = generic_simplify_177 (loc, type, _p0, _p1, captures, CFN_BUILT_IN_COPYSIGNF128X);
    6281                 :           0 :                               if (res) return res;
    6282                 :             :                             }
    6283                 :             :                           }
    6284                 :             :                         break;
    6285                 :             :                       }
    6286                 :             :                     default:;
    6287                 :             :                     }
    6288                 :             :                 }
    6289                 :             :             }
    6290                 :             :           break;
    6291                 :           0 :         case CFN_BUILT_IN_COPYSIGNF128:
    6292                 :           0 :           if (call_expr_nargs (_p1) == 2)
    6293                 :             :     {
    6294                 :           0 :               tree _q30 = CALL_EXPR_ARG (_p1, 0);
    6295                 :           0 :               tree _q31 = CALL_EXPR_ARG (_p1, 1);
    6296                 :           0 :               if (real_onep (_q30))
    6297                 :             :                 {
    6298                 :           0 :                   switch (TREE_CODE (_q31))
    6299                 :             :                     {
    6300                 :           0 :                     case NEGATE_EXPR:
    6301                 :           0 :                       {
    6302                 :           0 :                         tree _q50 = TREE_OPERAND (_q31, 0);
    6303                 :           0 :                         if ((_q50 == _p0 && ! TREE_SIDE_EFFECTS (_q50)) || (operand_equal_p (_q50, _p0, 0) && types_match (_q50, _p0)))
    6304                 :             :                           {
    6305                 :           0 :                             {
    6306                 :           0 :                               tree captures[1] ATTRIBUTE_UNUSED = { _p0 };
    6307                 :           0 :                               tree res = generic_simplify_177 (loc, type, _p0, _p1, captures, CFN_BUILT_IN_COPYSIGNF128);
    6308                 :           0 :                               if (res) return res;
    6309                 :             :                             }
    6310                 :             :                           }
    6311                 :             :                         break;
    6312                 :             :                       }
    6313                 :             :                     default:;
    6314                 :             :                     }
    6315                 :             :                 }
    6316                 :             :             }
    6317                 :             :           break;
    6318                 :           0 :         case CFN_BUILT_IN_COPYSIGNF32X:
    6319                 :           0 :           if (call_expr_nargs (_p1) == 2)
    6320                 :             :     {
    6321                 :           0 :               tree _q30 = CALL_EXPR_ARG (_p1, 0);
    6322                 :           0 :               tree _q31 = CALL_EXPR_ARG (_p1, 1);
    6323                 :           0 :               if (real_onep (_q30))
    6324                 :             :                 {
    6325                 :           0 :                   switch (TREE_CODE (_q31))
    6326                 :             :                     {
    6327                 :           0 :                     case NEGATE_EXPR:
    6328                 :           0 :                       {
    6329                 :           0 :                         tree _q50 = TREE_OPERAND (_q31, 0);
    6330                 :           0 :                         if ((_q50 == _p0 && ! TREE_SIDE_EFFECTS (_q50)) || (operand_equal_p (_q50, _p0, 0) && types_match (_q50, _p0)))
    6331                 :             :                           {
    6332                 :           0 :                             {
    6333                 :           0 :                               tree captures[1] ATTRIBUTE_UNUSED = { _p0 };
    6334                 :           0 :                               tree res = generic_simplify_177 (loc, type, _p0, _p1, captures, CFN_BUILT_IN_COPYSIGNF32X);
    6335                 :           0 :                               if (res) return res;
    6336                 :             :                             }
    6337                 :             :                           }
    6338                 :             :                         break;
    6339                 :             :                       }
    6340                 :             :                     default:;
    6341                 :             :                     }
    6342                 :             :                 }
    6343                 :             :             }
    6344                 :             :           break;
    6345                 :           0 :         case CFN_BUILT_IN_COPYSIGNF64X:
    6346                 :           0 :           if (call_expr_nargs (_p1) == 2)
    6347                 :             :     {
    6348                 :           0 :               tree _q30 = CALL_EXPR_ARG (_p1, 0);
    6349                 :           0 :               tree _q31 = CALL_EXPR_ARG (_p1, 1);
    6350                 :           0 :               if (real_onep (_q30))
    6351                 :             :                 {
    6352                 :           0 :                   switch (TREE_CODE (_q31))
    6353                 :             :                     {
    6354                 :           0 :                     case NEGATE_EXPR:
    6355                 :           0 :                       {
    6356                 :           0 :                         tree _q50 = TREE_OPERAND (_q31, 0);
    6357                 :           0 :                         if ((_q50 == _p0 && ! TREE_SIDE_EFFECTS (_q50)) || (operand_equal_p (_q50, _p0, 0) && types_match (_q50, _p0)))
    6358                 :             :                           {
    6359                 :           0 :                             {
    6360                 :           0 :                               tree captures[1] ATTRIBUTE_UNUSED = { _p0 };
    6361                 :           0 :                               tree res = generic_simplify_177 (loc, type, _p0, _p1, captures, CFN_BUILT_IN_COPYSIGNF64X);
    6362                 :           0 :                               if (res) return res;
    6363                 :             :                             }
    6364                 :             :                           }
    6365                 :             :                         break;
    6366                 :             :                       }
    6367                 :             :                     default:;
    6368                 :             :                     }
    6369                 :             :                 }
    6370                 :             :             }
    6371                 :             :           break;
    6372                 :          18 :         case CFN_BUILT_IN_COPYSIGN:
    6373                 :          18 :           if (call_expr_nargs (_p1) == 2)
    6374                 :             :     {
    6375                 :          18 :               tree _q30 = CALL_EXPR_ARG (_p1, 0);
    6376                 :          18 :               tree _q31 = CALL_EXPR_ARG (_p1, 1);
    6377                 :          18 :               if (real_onep (_q30))
    6378                 :             :                 {
    6379                 :          14 :                   switch (TREE_CODE (_q31))
    6380                 :             :                     {
    6381                 :           0 :                     case NEGATE_EXPR:
    6382                 :           0 :                       {
    6383                 :           0 :                         tree _q50 = TREE_OPERAND (_q31, 0);
    6384                 :           0 :                         if ((_q50 == _p0 && ! TREE_SIDE_EFFECTS (_q50)) || (operand_equal_p (_q50, _p0, 0) && types_match (_q50, _p0)))
    6385                 :             :                           {
    6386                 :           0 :                             {
    6387                 :           0 :                               tree captures[1] ATTRIBUTE_UNUSED = { _p0 };
    6388                 :           0 :                               tree res = generic_simplify_177 (loc, type, _p0, _p1, captures, CFN_BUILT_IN_COPYSIGN);
    6389                 :           0 :                               if (res) return res;
    6390                 :             :                             }
    6391                 :             :                           }
    6392                 :             :                         break;
    6393                 :             :                       }
    6394                 :             :                     default:;
    6395                 :             :                     }
    6396                 :             :                 }
    6397                 :             :             }
    6398                 :             :           break;
    6399                 :          14 :         case CFN_BUILT_IN_COPYSIGNF:
    6400                 :          14 :           if (call_expr_nargs (_p1) == 2)
    6401                 :             :     {
    6402                 :          14 :               tree _q30 = CALL_EXPR_ARG (_p1, 0);
    6403                 :          14 :               tree _q31 = CALL_EXPR_ARG (_p1, 1);
    6404                 :          14 :               if (real_onep (_q30))
    6405                 :             :                 {
    6406                 :          12 :                   switch (TREE_CODE (_q31))
    6407                 :             :                     {
    6408                 :           0 :                     case NEGATE_EXPR:
    6409                 :           0 :                       {
    6410                 :           0 :                         tree _q50 = TREE_OPERAND (_q31, 0);
    6411                 :           0 :                         if ((_q50 == _p0 && ! TREE_SIDE_EFFECTS (_q50)) || (operand_equal_p (_q50, _p0, 0) && types_match (_q50, _p0)))
    6412                 :             :                           {
    6413                 :           0 :                             {
    6414                 :           0 :                               tree captures[1] ATTRIBUTE_UNUSED = { _p0 };
    6415                 :           0 :                               tree res = generic_simplify_177 (loc, type, _p0, _p1, captures, CFN_BUILT_IN_COPYSIGNF);
    6416                 :           0 :                               if (res) return res;
    6417                 :             :                             }
    6418                 :             :                           }
    6419                 :             :                         break;
    6420                 :             :                       }
    6421                 :             :                     default:;
    6422                 :             :                     }
    6423                 :             :                 }
    6424                 :             :             }
    6425                 :             :           break;
    6426                 :           0 :         case CFN_BUILT_IN_COPYSIGNL:
    6427                 :           0 :           if (call_expr_nargs (_p1) == 2)
    6428                 :             :     {
    6429                 :           0 :               tree _q30 = CALL_EXPR_ARG (_p1, 0);
    6430                 :           0 :               tree _q31 = CALL_EXPR_ARG (_p1, 1);
    6431                 :           0 :               if (real_onep (_q30))
    6432                 :             :                 {
    6433                 :           0 :                   switch (TREE_CODE (_q31))
    6434                 :             :                     {
    6435                 :           0 :                     case NEGATE_EXPR:
    6436                 :           0 :                       {
    6437                 :           0 :                         tree _q50 = TREE_OPERAND (_q31, 0);
    6438                 :           0 :                         if ((_q50 == _p0 && ! TREE_SIDE_EFFECTS (_q50)) || (operand_equal_p (_q50, _p0, 0) && types_match (_q50, _p0)))
    6439                 :             :                           {
    6440                 :           0 :                             {
    6441                 :           0 :                               tree captures[1] ATTRIBUTE_UNUSED = { _p0 };
    6442                 :           0 :                               tree res = generic_simplify_177 (loc, type, _p0, _p1, captures, CFN_BUILT_IN_COPYSIGNL);
    6443                 :           0 :                               if (res) return res;
    6444                 :             :                             }
    6445                 :             :                           }
    6446                 :             :                         break;
    6447                 :             :                       }
    6448                 :             :                     default:;
    6449                 :             :                     }
    6450                 :             :                 }
    6451                 :             :             }
    6452                 :             :           break;
    6453                 :           0 :         case CFN_COPYSIGN:
    6454                 :           0 :           if (call_expr_nargs (_p1) == 2)
    6455                 :             :     {
    6456                 :           0 :               tree _q30 = CALL_EXPR_ARG (_p1, 0);
    6457                 :           0 :               tree _q31 = CALL_EXPR_ARG (_p1, 1);
    6458                 :           0 :               if (real_onep (_q30))
    6459                 :             :                 {
    6460                 :           0 :                   switch (TREE_CODE (_q31))
    6461                 :             :                     {
    6462                 :           0 :                     case NEGATE_EXPR:
    6463                 :           0 :                       {
    6464                 :           0 :                         tree _q50 = TREE_OPERAND (_q31, 0);
    6465                 :           0 :                         if ((_q50 == _p0 && ! TREE_SIDE_EFFECTS (_q50)) || (operand_equal_p (_q50, _p0, 0) && types_match (_q50, _p0)))
    6466                 :             :                           {
    6467                 :           0 :                             {
    6468                 :           0 :                               tree captures[1] ATTRIBUTE_UNUSED = { _p0 };
    6469                 :           0 :                               tree res = generic_simplify_177 (loc, type, _p0, _p1, captures, CFN_COPYSIGN);
    6470                 :           0 :                               if (res) return res;
    6471                 :             :                             }
    6472                 :             :                           }
    6473                 :             :                         break;
    6474                 :             :                       }
    6475                 :             :                     default:;
    6476                 :             :                     }
    6477                 :             :                 }
    6478                 :             :             }
    6479                 :             :           break;
    6480                 :             :         default:;
    6481                 :             :         }
    6482                 :             :       break;
    6483                 :    69386166 :     default:;
    6484                 :             :     }
    6485                 :    69386166 : if (integer_onep (_p1))
    6486                 :             :   {
    6487                 :     2875094 :     {
    6488                 :     2875094 :       tree captures[1] ATTRIBUTE_UNUSED = { _p0 };
    6489                 :     2875094 :       tree res = generic_simplify_178 (loc, type, _p0, _p1, captures, MULT_EXPR);
    6490                 :     2875094 :       if (res) return res;
    6491                 :             :     }
    6492                 :             :   }
    6493                 :    66511072 :   switch (TREE_CODE (_p0))
    6494                 :             :     {
    6495                 :     5879450 :     case MULT_EXPR:
    6496                 :     5879450 :       {
    6497                 :     5879450 :         tree _q20 = TREE_OPERAND (_p0, 0);
    6498                 :     5879450 :         tree _q21 = TREE_OPERAND (_p0, 1);
    6499                 :     5879450 :         switch (TREE_CODE (_q21))
    6500                 :             :           {
    6501                 :     1084496 :           case INTEGER_CST:
    6502                 :     1084496 :             {
    6503                 :     1084496 :               switch (TREE_CODE (_p1))
    6504                 :             :                 {
    6505                 :      983181 :                 case INTEGER_CST:
    6506                 :      983181 :                   {
    6507                 :      983181 :                     {
    6508                 :      983181 :                       tree captures[3] ATTRIBUTE_UNUSED = { _q20, _q21, _p1 };
    6509                 :      983181 :                       {
    6510                 :      983181 :  wi::overflow_type overflow;
    6511                 :      983181 :  wide_int mul = wi::mul (wi::to_wide (captures[1]), wi::to_wide (captures[2]),
    6512                 :     1966362 :  TYPE_SIGN (type), &overflow);
    6513                 :      983181 :                           if (!overflow || TYPE_OVERFLOW_WRAPS (type)
    6514                 :             : )
    6515                 :             :                             {
    6516                 :      983151 :                               if (TREE_SIDE_EFFECTS (captures[1])) goto next_after_fail1550;
    6517                 :      983151 :                               if (TREE_SIDE_EFFECTS (captures[2])) goto next_after_fail1550;
    6518                 :      983151 :                               if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail1550;
    6519                 :      983151 :                               {
    6520                 :      983151 :                                 tree res_op0;
    6521                 :      983151 :                                 res_op0 = captures[0];
    6522                 :      983151 :                                 tree res_op1;
    6523                 :      983151 :                                 res_op1 =  wide_int_to_tree (type, mul);
    6524                 :      983151 :                                 tree _r;
    6525                 :      983151 :                                 _r = fold_build2_loc (loc, MULT_EXPR, type, res_op0, res_op1);
    6526                 :      983151 :                                 if (UNLIKELY (debug_dump)) generic_dump_logs ("match.pd", 992, __FILE__, __LINE__, true);
    6527                 :      983151 :                                 return _r;
    6528                 :             :                               }
    6529                 :          30 : next_after_fail1550:;
    6530                 :             :                             }
    6531                 :      983151 :                       }
    6532                 :             :                     }
    6533                 :          30 :                     break;
    6534                 :             :                   }
    6535                 :             :                 default:;
    6536                 :             :                 }
    6537                 :             :               break;
    6538                 :             :             }
    6539                 :             :           default:;
    6540                 :             :           }
    6541                 :             :         break;
    6542                 :             :       }
    6543                 :     7210157 :     case PLUS_EXPR:
    6544                 :     7210157 :       {
    6545                 :     7210157 :         tree _q20 = TREE_OPERAND (_p0, 0);
    6546                 :     7210157 :         tree _q21 = TREE_OPERAND (_p0, 1);
    6547                 :     7210157 :         switch (TREE_CODE (_q20))
    6548                 :             :           {
    6549                 :     1178640 :           case MULT_EXPR:
    6550                 :     1178640 :             {
    6551                 :     1178640 :               tree _q30 = TREE_OPERAND (_q20, 0);
    6552                 :     1178640 :               tree _q31 = TREE_OPERAND (_q20, 1);
    6553                 :     1178640 :               switch (TREE_CODE (_q31))
    6554                 :             :                 {
    6555                 :      307945 :                 case INTEGER_CST:
    6556                 :      307945 :                   {
    6557                 :      307945 :                     switch (TREE_CODE (_q21))
    6558                 :             :                       {
    6559                 :       37085 :                       case INTEGER_CST:
    6560                 :       37085 :                         {
    6561                 :       37085 :                           switch (TREE_CODE (_p1))
    6562                 :             :                             {
    6563                 :       13388 :                             case INTEGER_CST:
    6564                 :       13388 :                               {
    6565                 :       13388 :                                 {
    6566                 :       13388 :                                   tree captures[6] ATTRIBUTE_UNUSED = { _p0, _q20, _q30, _q31, _q21, _p1 };
    6567                 :       13388 :                                   {
    6568                 :       13388 :  bool overflowed = true;
    6569                 :       13388 :  wi::overflow_type ovf1, ovf2;
    6570                 :       13388 :  wide_int mul = wi::mul (wi::to_wide (captures[3]), wi::to_wide (captures[5]),
    6571                 :       26776 :  TYPE_SIGN (type), &ovf1);
    6572                 :       13388 :  wide_int add = wi::mul (wi::to_wide (captures[4]), wi::to_wide (captures[5]),
    6573                 :       26776 :  TYPE_SIGN (type), &ovf2);
    6574                 :       13388 :  if (TYPE_OVERFLOW_UNDEFINED (type))
    6575                 :             :  {
    6576                 :             :  }
    6577                 :             :  else
    6578                 :        5506 :  overflowed = false;
    6579                 :        5506 :                                       if (!overflowed
    6580                 :             : )
    6581                 :             :                                         {
    6582                 :        5506 :                                           if (TREE_SIDE_EFFECTS (captures[3])) goto next_after_fail1551;
    6583                 :        5506 :                                           if (TREE_SIDE_EFFECTS (captures[4])) goto next_after_fail1551;
    6584                 :        5506 :                                           if (TREE_SIDE_EFFECTS (captures[5])) goto next_after_fail1551;
    6585                 :        5506 :                                           if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail1551;
    6586                 :        5506 :                                           {
    6587                 :        5506 :                                             tree res_op0;
    6588                 :        5506 :                                             {
    6589                 :        5506 :                                               tree _o1[2], _r1;
    6590                 :        5506 :                                               _o1[0] = captures[2];
    6591                 :        5506 :                                               _o1[1] =  wide_int_to_tree (type, mul);
    6592                 :        5506 :                                               _r1 = fold_build2_loc (loc, MULT_EXPR, TREE_TYPE (_o1[0]), _o1[0], _o1[1]);
    6593                 :        5506 :                                               res_op0 = _r1;
    6594                 :             :                                             }
    6595                 :        5506 :                                             tree res_op1;
    6596                 :        5506 :                                             res_op1 =  wide_int_to_tree (type, add);
    6597                 :        5506 :                                             tree _r;
    6598                 :        5506 :                                             _r = fold_build2_loc (loc, PLUS_EXPR, type, res_op0, res_op1);
    6599                 :        5506 :                                             if (UNLIKELY (debug_dump)) generic_dump_logs ("match.pd", 993, __FILE__, __LINE__, true);
    6600                 :        5506 :                                             return _r;
    6601                 :             :                                           }
    6602                 :        7882 : next_after_fail1551:;
    6603                 :             :                                         }
    6604                 :       13388 :                                   }
    6605                 :             :                                 }
    6606                 :        7882 :                                 break;
    6607                 :             :                               }
    6608                 :             :                             default:;
    6609                 :             :                             }
    6610                 :             :                           break;
    6611                 :             :                         }
    6612                 :             :                       default:;
    6613                 :             :                       }
    6614                 :             :                     break;
    6615                 :             :                   }
    6616                 :             :                 default:;
    6617                 :             :                 }
    6618                 :             :               break;
    6619                 :             :             }
    6620                 :             :           default:;
    6621                 :             :           }
    6622                 :             :         break;
    6623                 :             :       }
    6624                 :       85998 :     case TRUNC_DIV_EXPR:
    6625                 :       85998 :       {
    6626                 :       85998 :         tree _q20 = TREE_OPERAND (_p0, 0);
    6627                 :       85998 :         tree _q21 = TREE_OPERAND (_p0, 1);
    6628                 :       85998 :         if (integer_pow2p (_q21))
    6629                 :             :           {
    6630                 :       64113 :             if ((_p1 == _q21 && ! TREE_SIDE_EFFECTS (_p1)) || (operand_equal_p (_p1, _q21, 0) && types_match (_p1, _q21)))
    6631                 :             :               {
    6632                 :       41626 :                 {
    6633                 :       41626 :                   tree captures[2] ATTRIBUTE_UNUSED = { _q20, _q21 };
    6634                 :       41626 :                   if (INTEGRAL_TYPE_P (TREE_TYPE (captures[0])) && TYPE_UNSIGNED (TREE_TYPE (captures[0]))
    6635                 :             : )
    6636                 :             :                     {
    6637                 :       41562 :                       if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail1552;
    6638                 :       41562 :                       {
    6639                 :       41562 :                         tree res_op0;
    6640                 :       41562 :                         res_op0 = captures[0];
    6641                 :       41562 :                         tree res_op1;
    6642                 :       41562 :                         {
    6643                 :       41562 :                           tree _o1[1], _r1;
    6644                 :       41562 :                           _o1[0] = captures[1];
    6645                 :       41562 :                           _r1 = fold_build1_loc (loc, NEGATE_EXPR, TREE_TYPE (_o1[0]), _o1[0]);
    6646                 :       41562 :                           res_op1 = _r1;
    6647                 :             :                         }
    6648                 :       41562 :                         tree _r;
    6649                 :       41562 :                         _r = fold_build2_loc (loc, BIT_AND_EXPR, type, res_op0, res_op1);
    6650                 :       41562 :                         if (UNLIKELY (debug_dump)) generic_dump_logs ("match.pd", 994, __FILE__, __LINE__, true);
    6651                 :       41562 :                         return _r;
    6652                 :             :                       }
    6653                 :           0 : next_after_fail1552:;
    6654                 :             :                     }
    6655                 :             :                 }
    6656                 :             :               }
    6657                 :             :           }
    6658                 :             :         break;
    6659                 :             :       }
    6660                 :         266 :     case ABS_EXPR:
    6661                 :         266 :       {
    6662                 :         266 :         tree _q20 = TREE_OPERAND (_p0, 0);
    6663                 :         266 :         if ((_p1 == _p0 && ! TREE_SIDE_EFFECTS (_p1)) || (operand_equal_p (_p1, _p0, 0) && types_match (_p1, _p0)))
    6664                 :             :           {
    6665                 :           2 :             {
    6666                 :           2 :               tree captures[2] ATTRIBUTE_UNUSED = { _p0, _q20 };
    6667                 :           2 :               if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail1553;
    6668                 :           2 :               {
    6669                 :           2 :                 if (! tree_invariant_p (captures[1])) goto next_after_fail1553;
    6670                 :           0 :                 tree res_op0;
    6671                 :           0 :                 res_op0 = unshare_expr (captures[1]);
    6672                 :           0 :                 tree res_op1;
    6673                 :           0 :                 res_op1 = captures[1];
    6674                 :           0 :                 tree _r;
    6675                 :           0 :                 _r = fold_build2_loc (loc, MULT_EXPR, type, res_op0, res_op1);
    6676                 :           0 :                 if (UNLIKELY (debug_dump)) generic_dump_logs ("match.pd", 995, __FILE__, __LINE__, true);
    6677                 :           0 :                 return _r;
    6678                 :             :               }
    6679                 :           2 : next_after_fail1553:;
    6680                 :             :             }
    6681                 :             :           }
    6682                 :             :         break;
    6683                 :             :       }
    6684                 :           0 :     case ABSU_EXPR:
    6685                 :           0 :       {
    6686                 :           0 :         tree _q20 = TREE_OPERAND (_p0, 0);
    6687                 :           0 :         if ((_p1 == _p0 && ! TREE_SIDE_EFFECTS (_p1)) || (operand_equal_p (_p1, _p0, 0) && types_match (_p1, _p0)))
    6688                 :             :           {
    6689                 :           0 :             {
    6690                 :           0 :               tree captures[3] ATTRIBUTE_UNUSED = { _p0, _q20 };
    6691                 :           0 :               if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail1554;
    6692                 :           0 :               {
    6693                 :           0 :                 tree res_op0;
    6694                 :           0 :                 {
    6695                 :           0 :                   tree _o1[1], _r1;
    6696                 :           0 :                   _o1[0] = captures[1];
    6697                 :           0 :                   if (TREE_TYPE (_o1[0]) != type)
    6698                 :             :                     {
    6699                 :           0 :                       _r1 = fold_build1_loc (loc, NOP_EXPR, type, _o1[0]);
    6700                 :             :                     }
    6701                 :             :                   else
    6702                 :             :                     _r1 = _o1[0];
    6703                 :           0 :                   captures[2] = _r1;
    6704                 :             :                 }
    6705                 :           0 :                 res_op0 = unshare_expr (captures[2]);
    6706                 :           0 :                 tree res_op1;
    6707                 :           0 :                 res_op1 = captures[2];
    6708                 :           0 :                 tree _r;
    6709                 :           0 :                 _r = fold_build2_loc (loc, MULT_EXPR, type, res_op0, res_op1);
    6710                 :           0 :                 if (UNLIKELY (debug_dump)) generic_dump_logs ("match.pd", 996, __FILE__, __LINE__, true);
    6711                 :           0 :                 return _r;
    6712                 :             :               }
    6713                 :           0 : next_after_fail1554:;
    6714                 :             :             }
    6715                 :             :           }
    6716                 :             :         break;
    6717                 :             :       }
    6718                 :     2511648 :     case CALL_EXPR:
    6719                 :     2511648 :       switch (get_call_combined_fn (_p0))
    6720                 :             :         {
    6721                 :           1 :         case CFN_BUILT_IN_COPYSIGNF16:
    6722                 :           1 :           if (call_expr_nargs (_p0) == 2)
    6723                 :             :     {
    6724                 :           1 :               tree _q20 = CALL_EXPR_ARG (_p0, 0);
    6725                 :           1 :               tree _q21 = CALL_EXPR_ARG (_p0, 1);
    6726                 :           1 :               if ((_p1 == _p0 && ! TREE_SIDE_EFFECTS (_p1)) || (operand_equal_p (_p1, _p0, 0) && types_match (_p1, _p0)))
    6727                 :             :                 {
    6728                 :           0 :                   {
    6729                 :           0 :                     tree captures[3] ATTRIBUTE_UNUSED = { _p0, _q20, _q21 };
    6730                 :           0 :                     tree res = generic_simplify_179 (loc, type, _p0, _p1, captures, CFN_BUILT_IN_COPYSIGNF16);
    6731                 :           0 :                     if (res) return res;
    6732                 :             :                   }
    6733                 :             :                 }
    6734                 :             :             }
    6735                 :             :           break;
    6736                 :           0 :         case CFN_BUILT_IN_COPYSIGNF32:
    6737                 :           0 :           if (call_expr_nargs (_p0) == 2)
    6738                 :             :     {
    6739                 :           0 :               tree _q20 = CALL_EXPR_ARG (_p0, 0);
    6740                 :           0 :               tree _q21 = CALL_EXPR_ARG (_p0, 1);
    6741                 :           0 :               if ((_p1 == _p0 && ! TREE_SIDE_EFFECTS (_p1)) || (operand_equal_p (_p1, _p0, 0) && types_match (_p1, _p0)))
    6742                 :             :                 {
    6743                 :           0 :                   {
    6744                 :           0 :                     tree captures[3] ATTRIBUTE_UNUSED = { _p0, _q20, _q21 };
    6745                 :           0 :                     tree res = generic_simplify_179 (loc, type, _p0, _p1, captures, CFN_BUILT_IN_COPYSIGNF32);
    6746                 :           0 :                     if (res) return res;
    6747                 :             :                   }
    6748                 :             :                 }
    6749                 :             :             }
    6750                 :             :           break;
    6751                 :           0 :         case CFN_BUILT_IN_COPYSIGNF64:
    6752                 :           0 :           if (call_expr_nargs (_p0) == 2)
    6753                 :             :     {
    6754                 :           0 :               tree _q20 = CALL_EXPR_ARG (_p0, 0);
    6755                 :           0 :               tree _q21 = CALL_EXPR_ARG (_p0, 1);
    6756                 :           0 :               if ((_p1 == _p0 && ! TREE_SIDE_EFFECTS (_p1)) || (operand_equal_p (_p1, _p0, 0) && types_match (_p1, _p0)))
    6757                 :             :                 {
    6758                 :           0 :                   {
    6759                 :           0 :                     tree captures[3] ATTRIBUTE_UNUSED = { _p0, _q20, _q21 };
    6760                 :           0 :                     tree res = generic_simplify_179 (loc, type, _p0, _p1, captures, CFN_BUILT_IN_COPYSIGNF64);
    6761                 :           0 :                     if (res) return res;
    6762                 :             :                   }
    6763                 :             :                 }
    6764                 :             :             }
    6765                 :             :           break;
    6766                 :           0 :         case CFN_BUILT_IN_COPYSIGNF128X:
    6767                 :           0 :           if (call_expr_nargs (_p0) == 2)
    6768                 :             :     {
    6769                 :           0 :               tree _q20 = CALL_EXPR_ARG (_p0, 0);
    6770                 :           0 :               tree _q21 = CALL_EXPR_ARG (_p0, 1);
    6771                 :           0 :               if ((_p1 == _p0 && ! TREE_SIDE_EFFECTS (_p1)) || (operand_equal_p (_p1, _p0, 0) && types_match (_p1, _p0)))
    6772                 :             :                 {
    6773                 :           0 :                   {
    6774                 :           0 :                     tree captures[3] ATTRIBUTE_UNUSED = { _p0, _q20, _q21 };
    6775                 :           0 :                     tree res = generic_simplify_179 (loc, type, _p0, _p1, captures, CFN_BUILT_IN_COPYSIGNF128X);
    6776                 :           0 :                     if (res) return res;
    6777                 :             :                   }
    6778                 :             :                 }
    6779                 :             :             }
    6780                 :             :           break;
    6781                 :           8 :         case CFN_BUILT_IN_COPYSIGNF128:
    6782                 :           8 :           if (call_expr_nargs (_p0) == 2)
    6783                 :             :     {
    6784                 :           8 :               tree _q20 = CALL_EXPR_ARG (_p0, 0);
    6785                 :           8 :               tree _q21 = CALL_EXPR_ARG (_p0, 1);
    6786                 :           8 :               if ((_p1 == _p0 && ! TREE_SIDE_EFFECTS (_p1)) || (operand_equal_p (_p1, _p0, 0) && types_match (_p1, _p0)))
    6787                 :             :                 {
    6788                 :           0 :                   {
    6789                 :           0 :                     tree captures[3] ATTRIBUTE_UNUSED = { _p0, _q20, _q21 };
    6790                 :           0 :                     tree res = generic_simplify_179 (loc, type, _p0, _p1, captures, CFN_BUILT_IN_COPYSIGNF128);
    6791                 :           0 :                     if (res) return res;
    6792                 :             :                   }
    6793                 :             :                 }
    6794                 :             :             }
    6795                 :             :           break;
    6796                 :           0 :         case CFN_BUILT_IN_COPYSIGNF32X:
    6797                 :           0 :           if (call_expr_nargs (_p0) == 2)
    6798                 :             :     {
    6799                 :           0 :               tree _q20 = CALL_EXPR_ARG (_p0, 0);
    6800                 :           0 :               tree _q21 = CALL_EXPR_ARG (_p0, 1);
    6801                 :           0 :               if ((_p1 == _p0 && ! TREE_SIDE_EFFECTS (_p1)) || (operand_equal_p (_p1, _p0, 0) && types_match (_p1, _p0)))
    6802                 :             :                 {
    6803                 :           0 :                   {
    6804                 :           0 :                     tree captures[3] ATTRIBUTE_UNUSED = { _p0, _q20, _q21 };
    6805                 :           0 :                     tree res = generic_simplify_179 (loc, type, _p0, _p1, captures, CFN_BUILT_IN_COPYSIGNF32X);
    6806                 :           0 :                     if (res) return res;
    6807                 :             :                   }
    6808                 :             :                 }
    6809                 :             :             }
    6810                 :             :           break;
    6811                 :           0 :         case CFN_BUILT_IN_COPYSIGNF64X:
    6812                 :           0 :           if (call_expr_nargs (_p0) == 2)
    6813                 :             :     {
    6814                 :           0 :               tree _q20 = CALL_EXPR_ARG (_p0, 0);
    6815                 :           0 :               tree _q21 = CALL_EXPR_ARG (_p0, 1);
    6816                 :           0 :               if ((_p1 == _p0 && ! TREE_SIDE_EFFECTS (_p1)) || (operand_equal_p (_p1, _p0, 0) && types_match (_p1, _p0)))
    6817                 :             :                 {
    6818                 :           0 :                   {
    6819                 :           0 :                     tree captures[3] ATTRIBUTE_UNUSED = { _p0, _q20, _q21 };
    6820                 :           0 :                     tree res = generic_simplify_179 (loc, type, _p0, _p1, captures, CFN_BUILT_IN_COPYSIGNF64X);
    6821                 :           0 :                     if (res) return res;
    6822                 :             :                   }
    6823                 :             :                 }
    6824                 :             :             }
    6825                 :             :           break;
    6826                 :          21 :         case CFN_BUILT_IN_COPYSIGN:
    6827                 :          21 :           if (call_expr_nargs (_p0) == 2)
    6828                 :             :     {
    6829                 :          21 :               tree _q20 = CALL_EXPR_ARG (_p0, 0);
    6830                 :          21 :               tree _q21 = CALL_EXPR_ARG (_p0, 1);
    6831                 :          21 :               if ((_p1 == _p0 && ! TREE_SIDE_EFFECTS (_p1)) || (operand_equal_p (_p1, _p0, 0) && types_match (_p1, _p0)))
    6832                 :             :                 {
    6833                 :           0 :                   {
    6834                 :           0 :                     tree captures[3] ATTRIBUTE_UNUSED = { _p0, _q20, _q21 };
    6835                 :           0 :                     tree res = generic_simplify_179 (loc, type, _p0, _p1, captures, CFN_BUILT_IN_COPYSIGN);
    6836                 :           0 :                     if (res) return res;
    6837                 :             :                   }
    6838                 :             :                 }
    6839                 :             :             }
    6840                 :             :           break;
    6841                 :          36 :         case CFN_BUILT_IN_COPYSIGNF:
    6842                 :          36 :           if (call_expr_nargs (_p0) == 2)
    6843                 :             :     {
    6844                 :          36 :               tree _q20 = CALL_EXPR_ARG (_p0, 0);
    6845                 :          36 :               tree _q21 = CALL_EXPR_ARG (_p0, 1);
    6846                 :          36 :               if ((_p1 == _p0 && ! TREE_SIDE_EFFECTS (_p1)) || (operand_equal_p (_p1, _p0, 0) && types_match (_p1, _p0)))
    6847                 :             :                 {
    6848                 :           0 :                   {
    6849                 :           0 :                     tree captures[3] ATTRIBUTE_UNUSED = { _p0, _q20, _q21 };
    6850                 :           0 :                     tree res = generic_simplify_179 (loc, type, _p0, _p1, captures, CFN_BUILT_IN_COPYSIGNF);
    6851                 :           0 :                     if (res) return res;
    6852                 :             :                   }
    6853                 :             :                 }
    6854                 :             :             }
    6855                 :             :           break;
    6856                 :           8 :         case CFN_BUILT_IN_COPYSIGNL:
    6857                 :           8 :           if (call_expr_nargs (_p0) == 2)
    6858                 :             :     {
    6859                 :           8 :               tree _q20 = CALL_EXPR_ARG (_p0, 0);
    6860                 :           8 :               tree _q21 = CALL_EXPR_ARG (_p0, 1);
    6861                 :           8 :               if ((_p1 == _p0 && ! TREE_SIDE_EFFECTS (_p1)) || (operand_equal_p (_p1, _p0, 0) && types_match (_p1, _p0)))
    6862                 :             :                 {
    6863                 :           0 :                   {
    6864                 :           0 :                     tree captures[3] ATTRIBUTE_UNUSED = { _p0, _q20, _q21 };
    6865                 :           0 :                     tree res = generic_simplify_179 (loc, type, _p0, _p1, captures, CFN_BUILT_IN_COPYSIGNL);
    6866                 :           0 :                     if (res) return res;
    6867                 :             :                   }
    6868                 :             :                 }
    6869                 :             :             }
    6870                 :             :           break;
    6871                 :           0 :         case CFN_COPYSIGN:
    6872                 :           0 :           if (call_expr_nargs (_p0) == 2)
    6873                 :             :     {
    6874                 :           0 :               tree _q20 = CALL_EXPR_ARG (_p0, 0);
    6875                 :           0 :               tree _q21 = CALL_EXPR_ARG (_p0, 1);
    6876                 :           0 :               if ((_p1 == _p0 && ! TREE_SIDE_EFFECTS (_p1)) || (operand_equal_p (_p1, _p0, 0) && types_match (_p1, _p0)))
    6877                 :             :                 {
    6878                 :           0 :                   {
    6879                 :           0 :                     tree captures[3] ATTRIBUTE_UNUSED = { _p0, _q20, _q21 };
    6880                 :           0 :                     tree res = generic_simplify_179 (loc, type, _p0, _p1, captures, CFN_COPYSIGN);
    6881                 :           0 :                     if (res) return res;
    6882                 :             :                   }
    6883                 :             :                 }
    6884                 :             :             }
    6885                 :             :           break;
    6886                 :             :         default:;
    6887                 :             :         }
    6888                 :             :       break;
    6889                 :    65480853 :     default:;
    6890                 :             :     }
    6891                 :    65480853 :   switch (TREE_CODE (_p1))
    6892                 :             :     {
    6893                 :     7410617 :     CASE_CONVERT:
    6894                 :     7410617 :       {
    6895                 :     7410617 :         tree _q30 = TREE_OPERAND (_p1, 0);
    6896                 :     7410617 :         switch (TREE_CODE (_q30))
    6897                 :             :           {
    6898                 :           0 :           case LSHIFT_EXPR:
    6899                 :           0 :             {
    6900                 :           0 :               tree _q40 = TREE_OPERAND (_q30, 0);
    6901                 :           0 :               tree _q41 = TREE_OPERAND (_q30, 1);
    6902                 :           0 :               if (integer_onep (_q40))
    6903                 :             :                 {
    6904                 :           0 :                   {
    6905                 :           0 :                     tree captures[3] ATTRIBUTE_UNUSED = { _p0, _q40, _q41 };
    6906                 :           0 :                     tree res = generic_simplify_180 (loc, type, _p0, _p1, captures);
    6907                 :           0 :                     if (res) return res;
    6908                 :             :                   }
    6909                 :             :                 }
    6910                 :             :               break;
    6911                 :             :             }
    6912                 :             :           default:;
    6913                 :             :           }
    6914                 :             :         break;
    6915                 :             :       }
    6916                 :    65480853 :     default:;
    6917                 :             :     }
    6918                 :    65480853 :   switch (TREE_CODE (_p0))
    6919                 :             :     {
    6920                 :    30745801 :     CASE_CONVERT:
    6921                 :    30745801 :       {
    6922                 :    30745801 :         tree _q20 = TREE_OPERAND (_p0, 0);
    6923                 :    30745801 :         switch (TREE_CODE (_q20))
    6924                 :             :           {
    6925                 :          20 :           case LSHIFT_EXPR:
    6926                 :          20 :             {
    6927                 :          20 :               tree _q30 = TREE_OPERAND (_q20, 0);
    6928                 :          20 :               tree _q31 = TREE_OPERAND (_q20, 1);
    6929                 :          20 :               if (integer_onep (_q30))
    6930                 :             :                 {
    6931                 :           1 :                   {
    6932                 :           1 :                     tree captures[3] ATTRIBUTE_UNUSED = { _p1, _q30, _q31 };
    6933                 :           1 :                     tree res = generic_simplify_180 (loc, type, _p0, _p1, captures);
    6934                 :           1 :                     if (res) return res;
    6935                 :             :                   }
    6936                 :             :                 }
    6937                 :             :               break;
    6938                 :             :             }
    6939                 :           1 :           case EQ_EXPR:
    6940                 :           1 :             {
    6941                 :           1 :               tree _q30 = TREE_OPERAND (_q20, 0);
    6942                 :           1 :               tree _q31 = TREE_OPERAND (_q20, 1);
    6943                 :           1 :               if (integer_zerop (_q31))
    6944                 :             :                 {
    6945                 :           1 :                   if ((_p1 == _q30 && ! TREE_SIDE_EFFECTS (_p1)) || (operand_equal_p (_p1, _q30, 0) && types_match (_p1, _q30)))
    6946                 :             :                     {
    6947                 :           0 :                       {
    6948                 :           0 :                         tree captures[1] ATTRIBUTE_UNUSED = { _q30 };
    6949                 :           0 :                         tree res = generic_simplify_181 (loc, type, _p0, _p1, captures);
    6950                 :           0 :                         if (res) return res;
    6951                 :             :                       }
    6952                 :             :                     }
    6953                 :             :                 }
    6954                 :             :               break;
    6955                 :             :             }
    6956                 :             :           default:;
    6957                 :             :           }
    6958                 :             :         break;
    6959                 :             :       }
    6960                 :    65480853 :     default:;
    6961                 :             :     }
    6962                 :    65480853 :   switch (TREE_CODE (_p1))
    6963                 :             :     {
    6964                 :         848 :     case LSHIFT_EXPR:
    6965                 :         848 :       {
    6966                 :         848 :         tree _q30 = TREE_OPERAND (_p1, 0);
    6967                 :         848 :         tree _q31 = TREE_OPERAND (_p1, 1);
    6968                 :         848 :         if (integer_onep (_q30))
    6969                 :             :           {
    6970                 :         169 :             {
    6971                 :         169 :               tree captures[3] ATTRIBUTE_UNUSED = { _p0, _q30, _q31 };
    6972                 :         169 :               tree res = generic_simplify_180 (loc, type, _p0, _p1, captures);
    6973                 :         169 :               if (res) return res;
    6974                 :             :             }
    6975                 :             :           }
    6976                 :             :         break;
    6977                 :             :       }
    6978                 :    65480684 :     default:;
    6979                 :             :     }
    6980                 :    65480684 :   switch (TREE_CODE (_p0))
    6981                 :             :     {
    6982                 :        3187 :     case LSHIFT_EXPR:
    6983                 :        3187 :       {
    6984                 :        3187 :         tree _q20 = TREE_OPERAND (_p0, 0);
    6985                 :        3187 :         tree _q21 = TREE_OPERAND (_p0, 1);
    6986                 :        3187 :         if (integer_onep (_q20))
    6987                 :             :           {
    6988                 :        2965 :             {
    6989                 :        2965 :               tree captures[3] ATTRIBUTE_UNUSED = { _p1, _q20, _q21 };
    6990                 :        2965 :               tree res = generic_simplify_180 (loc, type, _p0, _p1, captures);
    6991                 :        2965 :               if (res) return res;
    6992                 :             :             }
    6993                 :             :           }
    6994                 :             :         break;
    6995                 :             :       }
    6996                 :    65477719 :     default:;
    6997                 :             :     }
    6998                 :    65477719 :   switch (TREE_CODE (_p1))
    6999                 :             :     {
    7000                 :     7410252 :     CASE_CONVERT:
    7001                 :     7410252 :       {
    7002                 :     7410252 :         tree _q30 = TREE_OPERAND (_p1, 0);
    7003                 :     7410252 :         switch (TREE_CODE (_q30))
    7004                 :             :           {
    7005                 :           0 :           case EQ_EXPR:
    7006                 :           0 :             {
    7007                 :           0 :               tree _q40 = TREE_OPERAND (_q30, 0);
    7008                 :           0 :               tree _q41 = TREE_OPERAND (_q30, 1);
    7009                 :           0 :               if ((_q40 == _p0 && ! TREE_SIDE_EFFECTS (_q40)) || (operand_equal_p (_q40, _p0, 0) && types_match (_q40, _p0)))
    7010                 :             :                 {
    7011                 :           0 :                   if (integer_zerop (_q41))
    7012                 :             :                     {
    7013                 :           0 :                       {
    7014                 :           0 :                         tree captures[1] ATTRIBUTE_UNUSED = { _p0 };
    7015                 :           0 :                         tree res = generic_simplify_182 (loc, type, _p0, _p1, captures);
    7016                 :           0 :                         if (res) return res;
    7017                 :             :                       }
    7018                 :             :                     }
    7019                 :             :                 }
    7020                 :             :               break;
    7021                 :             :             }
    7022                 :             :           default:;
    7023                 :             :           }
    7024                 :             :         break;
    7025                 :             :       }
    7026                 :           0 :     case EQ_EXPR:
    7027                 :           0 :       {
    7028                 :           0 :         tree _q30 = TREE_OPERAND (_p1, 0);
    7029                 :           0 :         tree _q31 = TREE_OPERAND (_p1, 1);
    7030                 :           0 :         if ((_q30 == _p0 && ! TREE_SIDE_EFFECTS (_q30)) || (operand_equal_p (_q30, _p0, 0) && types_match (_q30, _p0)))
    7031                 :             :           {
    7032                 :           0 :             if (integer_zerop (_q31))
    7033                 :             :               {
    7034                 :           0 :                 {
    7035                 :           0 :                   tree captures[1] ATTRIBUTE_UNUSED = { _p0 };
    7036                 :           0 :                   tree res = generic_simplify_182 (loc, type, _p0, _p1, captures);
    7037                 :           0 :                   if (res) return res;
    7038                 :             :                 }
    7039                 :             :               }
    7040                 :             :           }
    7041                 :             :         break;
    7042                 :             :       }
    7043                 :    65477719 :     default:;
    7044                 :             :     }
    7045                 :    65477719 :   switch (TREE_CODE (_p0))
    7046                 :             :     {
    7047                 :         180 :     case EQ_EXPR:
    7048                 :         180 :       {
    7049                 :         180 :         tree _q20 = TREE_OPERAND (_p0, 0);
    7050                 :         180 :         tree _q21 = TREE_OPERAND (_p0, 1);
    7051                 :         180 :         if (integer_zerop (_q21))
    7052                 :             :           {
    7053                 :          59 :             if ((_p1 == _q20 && ! TREE_SIDE_EFFECTS (_p1)) || (operand_equal_p (_p1, _q20, 0) && types_match (_p1, _q20)))
    7054                 :             :               {
    7055                 :           3 :                 {
    7056                 :           3 :                   tree captures[1] ATTRIBUTE_UNUSED = { _q20 };
    7057                 :           3 :                   tree res = generic_simplify_181 (loc, type, _p0, _p1, captures);
    7058                 :           3 :                   if (res) return res;
    7059                 :             :                 }
    7060                 :             :               }
    7061                 :             :           }
    7062                 :             :         break;
    7063                 :             :       }
    7064                 :    65477716 :     default:;
    7065                 :             :     }
    7066                 :    65477716 :   switch (TREE_CODE (_p1))
    7067                 :             :     {
    7068                 :           0 :     case VEC_COND_EXPR:
    7069                 :           0 :       {
    7070                 :           0 :         tree _q30 = TREE_OPERAND (_p1, 0);
    7071                 :           0 :         tree _q31 = TREE_OPERAND (_p1, 1);
    7072                 :           0 :         tree _q32 = TREE_OPERAND (_p1, 2);
    7073                 :           0 :         switch (TREE_CODE (_q30))
    7074                 :             :           {
    7075                 :           0 :           case EQ_EXPR:
    7076                 :           0 :             {
    7077                 :           0 :               tree _q40 = TREE_OPERAND (_q30, 0);
    7078                 :           0 :               tree _q41 = TREE_OPERAND (_q30, 1);
    7079                 :           0 :               if ((_q40 == _p0 && ! TREE_SIDE_EFFECTS (_q40)) || (operand_equal_p (_q40, _p0, 0) && types_match (_q40, _p0)))
    7080                 :             :                 {
    7081                 :           0 :                   if (integer_zerop (_q41))
    7082                 :             :                     {
    7083                 :           0 :                       if (integer_zerop (_q32))
    7084                 :             :                         {
    7085                 :           0 :                           {
    7086                 :           0 :                             tree captures[2] ATTRIBUTE_UNUSED = { _p0, _q31 };
    7087                 :           0 :                             if (TREE_SIDE_EFFECTS (_p1)) goto next_after_fail1555;
    7088                 :           0 :                             if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail1555;
    7089                 :           0 :                             {
    7090                 :           0 :                               tree _r;
    7091                 :           0 :                               _r =  build_zero_cst (type);
    7092                 :           0 :                               if (UNLIKELY (debug_dump)) generic_dump_logs ("match.pd", 997, __FILE__, __LINE__, true);
    7093                 :           0 :                               return _r;
    7094                 :             :                             }
    7095                 :           0 : next_after_fail1555:;
    7096                 :             :                           }
    7097                 :             :                         }
    7098                 :             :                     }
    7099                 :             :                 }
    7100                 :             :               break;
    7101                 :             :             }
    7102                 :             :           default:;
    7103                 :             :           }
    7104                 :             :         break;
    7105                 :             :       }
    7106                 :    65477716 :     default:;
    7107                 :             :     }
    7108                 :    65477716 :   switch (TREE_CODE (_p0))
    7109                 :             :     {
    7110                 :          37 :     case VEC_COND_EXPR:
    7111                 :          37 :       {
    7112                 :          37 :         tree _q20 = TREE_OPERAND (_p0, 0);
    7113                 :          37 :         tree _q21 = TREE_OPERAND (_p0, 1);
    7114                 :          37 :         tree _q22 = TREE_OPERAND (_p0, 2);
    7115                 :          37 :         switch (TREE_CODE (_q20))
    7116                 :             :           {
    7117                 :           1 :           case EQ_EXPR:
    7118                 :           1 :             {
    7119                 :           1 :               tree _q30 = TREE_OPERAND (_q20, 0);
    7120                 :           1 :               tree _q31 = TREE_OPERAND (_q20, 1);
    7121                 :           1 :               if (integer_zerop (_q31))
    7122                 :             :                 {
    7123                 :           1 :                   if (integer_zerop (_q22))
    7124                 :             :                     {
    7125                 :           1 :                       if ((_p1 == _q30 && ! TREE_SIDE_EFFECTS (_p1)) || (operand_equal_p (_p1, _q30, 0) && types_match (_p1, _q30)))
    7126                 :             :                         {
    7127                 :           1 :                           {
    7128                 :           1 :                             tree captures[2] ATTRIBUTE_UNUSED = { _q30, _q21 };
    7129                 :           1 :                             if (TREE_SIDE_EFFECTS (_p0)) goto next_after_fail1556;
    7130                 :           1 :                             if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail1556;
    7131                 :           1 :                             {
    7132                 :           1 :                               tree _r;
    7133                 :           1 :                               _r =  build_zero_cst (type);
    7134                 :           1 :                               if (UNLIKELY (debug_dump)) generic_dump_logs ("match.pd", 997, __FILE__, __LINE__, true);
    7135                 :           1 :                               return _r;
    7136                 :             :                             }
    7137                 :           0 : next_after_fail1556:;
    7138                 :             :                           }
    7139                 :             :                         }
    7140                 :             :                     }
    7141                 :             :                 }
    7142                 :             :               break;
    7143                 :             :             }
    7144                 :           0 :           case NE_EXPR:
    7145                 :           0 :             {
    7146                 :           0 :               tree _q30 = TREE_OPERAND (_q20, 0);
    7147                 :           0 :               tree _q31 = TREE_OPERAND (_q20, 1);
    7148                 :           0 :               if (integer_zerop (_q31))
    7149                 :             :                 {
    7150                 :           0 :                   if (integer_zerop (_q21))
    7151                 :             :                     {
    7152                 :           0 :                       if ((_p1 == _q30 && ! TREE_SIDE_EFFECTS (_p1)) || (operand_equal_p (_p1, _q30, 0) && types_match (_p1, _q30)))
    7153                 :             :                         {
    7154                 :           0 :                           {
    7155                 :           0 :                             tree captures[2] ATTRIBUTE_UNUSED = { _q30, _q22 };
    7156                 :           0 :                             if (TREE_SIDE_EFFECTS (_p0)) goto next_after_fail1557;
    7157                 :           0 :                             if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail1557;
    7158                 :           0 :                             {
    7159                 :           0 :                               tree _r;
    7160                 :           0 :                               _r =  build_zero_cst (type);
    7161                 :           0 :                               if (UNLIKELY (debug_dump)) generic_dump_logs ("match.pd", 998, __FILE__, __LINE__, true);
    7162                 :           0 :                               return _r;
    7163                 :             :                             }
    7164                 :           0 : next_after_fail1557:;
    7165                 :             :                           }
    7166                 :             :                         }
    7167                 :             :                     }
    7168                 :             :                 }
    7169                 :             :               break;
    7170                 :             :             }
    7171                 :             :           default:;
    7172                 :             :           }
    7173                 :             :         break;
    7174                 :             :       }
    7175                 :    65477715 :     default:;
    7176                 :             :     }
    7177                 :    65477715 :   switch (TREE_CODE (_p1))
    7178                 :             :     {
    7179                 :           0 :     case VEC_COND_EXPR:
    7180                 :           0 :       {
    7181                 :           0 :         tree _q30 = TREE_OPERAND (_p1, 0);
    7182                 :           0 :         tree _q31 = TREE_OPERAND (_p1, 1);
    7183                 :           0 :         tree _q32 = TREE_OPERAND (_p1, 2);
    7184                 :           0 :         switch (TREE_CODE (_q30))
    7185                 :             :           {
    7186                 :           0 :           case NE_EXPR:
    7187                 :           0 :             {
    7188                 :           0 :               tree _q40 = TREE_OPERAND (_q30, 0);
    7189                 :           0 :               tree _q41 = TREE_OPERAND (_q30, 1);
    7190                 :           0 :               if ((_q40 == _p0 && ! TREE_SIDE_EFFECTS (_q40)) || (operand_equal_p (_q40, _p0, 0) && types_match (_q40, _p0)))
    7191                 :             :                 {
    7192                 :           0 :                   if (integer_zerop (_q41))
    7193                 :             :                     {
    7194                 :           0 :                       if (integer_zerop (_q31))
    7195                 :             :                         {
    7196                 :           0 :                           {
    7197                 :           0 :                             tree captures[2] ATTRIBUTE_UNUSED = { _p0, _q32 };
    7198                 :           0 :                             if (TREE_SIDE_EFFECTS (_p1)) goto next_after_fail1558;
    7199                 :           0 :                             if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail1558;
    7200                 :           0 :                             {
    7201                 :           0 :                               tree _r;
    7202                 :           0 :                               _r =  build_zero_cst (type);
    7203                 :           0 :                               if (UNLIKELY (debug_dump)) generic_dump_logs ("match.pd", 998, __FILE__, __LINE__, true);
    7204                 :           0 :                               return _r;
    7205                 :             :                             }
    7206                 :           0 : next_after_fail1558:;
    7207                 :             :                           }
    7208                 :             :                         }
    7209                 :             :                     }
    7210                 :             :                 }
    7211                 :             :               break;
    7212                 :             :             }
    7213                 :             :           default:;
    7214                 :             :           }
    7215                 :             :         break;
    7216                 :             :       }
    7217                 :    65477715 :     default:;
    7218                 :             :     }
    7219                 :    65477715 :   switch (TREE_CODE (_p0))
    7220                 :             :     {
    7221                 :      823897 :     case RDIV_EXPR:
    7222                 :      823897 :       {
    7223                 :      823897 :         tree _q20 = TREE_OPERAND (_p0, 0);
    7224                 :      823897 :         tree _q21 = TREE_OPERAND (_p0, 1);
    7225                 :      823897 :         switch (TREE_CODE (_q20))
    7226                 :             :           {
    7227                 :       60559 :           case REAL_CST:
    7228                 :       60559 :             {
    7229                 :       60559 :               switch (TREE_CODE (_p1))
    7230                 :             :                 {
    7231                 :           1 :                 case REAL_CST:
    7232                 :           1 :                   {
    7233                 :           1 :                     {
    7234                 :           1 :                       tree captures[4] ATTRIBUTE_UNUSED = { _p0, _q20, _q21, _p1 };
    7235                 :           1 :                       if (flag_associative_math
    7236                 :           1 :  && single_use (captures[0])
    7237                 :             : )
    7238                 :             :                         {
    7239                 :           1 :                           {
    7240                 :           1 :  tree tem = const_binop (MULT_EXPR, type, captures[1], captures[3]);
    7241                 :           1 :                               if (tem
    7242                 :             : )
    7243                 :             :                                 {
    7244                 :           1 :                                   if (TREE_SIDE_EFFECTS (captures[1])) goto next_after_fail1559;
    7245                 :           1 :                                   if (TREE_SIDE_EFFECTS (captures[3])) goto next_after_fail1559;
    7246                 :           1 :                                   if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail1559;
    7247                 :           1 :                                   {
    7248                 :           1 :                                     tree res_op0;
    7249                 :           1 :                                     res_op0 =  tem;
    7250                 :           1 :                                     tree res_op1;
    7251                 :           1 :                                     res_op1 = captures[2];
    7252                 :           1 :                                     tree _r;
    7253                 :           1 :                                     _r = fold_build2_loc (loc, RDIV_EXPR, type, res_op0, res_op1);
    7254                 :           1 :                                     if (UNLIKELY (debug_dump)) generic_dump_logs ("match.pd", 999, __FILE__, __LINE__, true);
    7255                 :           1 :                                     return _r;
    7256                 :             :                                   }
    7257                 :           0 : next_after_fail1559:;
    7258                 :             :                                 }
    7259                 :             :                           }
    7260                 :             :                         }
    7261                 :             :                     }
    7262                 :           0 :                     break;
    7263                 :             :                   }
    7264                 :             :                 default:;
    7265                 :             :                 }
    7266                 :             :               break;
    7267                 :             :             }
    7268                 :             :           default:;
    7269                 :             :           }
    7270                 :             :         break;
    7271                 :             :       }
    7272                 :    65477714 :     default:;
    7273                 :             :     }
    7274                 :    65477714 : {
    7275                 :    65477714 :   tree _p0_pops[1];
    7276                 :    65477714 :   if (tree_nop_convert (_p0, _p0_pops))
    7277                 :             :     {
    7278                 :    22219141 :       tree _q20 = _p0_pops[0];
    7279                 :    22219141 :       switch (TREE_CODE (_q20))
    7280                 :             :         {
    7281                 :           4 :         case BIT_IOR_EXPR:
    7282                 :           4 :           {
    7283                 :           4 :             tree _q30 = TREE_OPERAND (_q20, 0);
    7284                 :           4 :             tree _q31 = TREE_OPERAND (_q20, 1);
    7285                 :           4 :             switch (TREE_CODE (_q30))
    7286                 :             :               {
    7287                 :           4 :               case NEGATE_EXPR:
    7288                 :           4 :                 {
    7289                 :           4 :                   tree _q40 = TREE_OPERAND (_q30, 0);
    7290                 :           4 :                   switch (TREE_CODE (_q40))
    7291                 :             :                     {
    7292                 :           0 :                     CASE_CONVERT:
    7293                 :           0 :                       {
    7294                 :           0 :                         tree _q50 = TREE_OPERAND (_q40, 0);
    7295                 :           0 :                         switch (TREE_CODE (_q50))
    7296                 :             :                           {
    7297                 :           0 :                           case LT_EXPR:
    7298                 :           0 :                             {
    7299                 :           0 :                               tree _q60 = TREE_OPERAND (_q50, 0);
    7300                 :           0 :                               tree _q61 = TREE_OPERAND (_q50, 1);
    7301                 :           0 :                               if (integer_zerop (_q61))
    7302                 :             :                                 {
    7303                 :           0 :                                   if (integer_onep (_q31))
    7304                 :             :                                     {
    7305                 :           0 :                                       {
    7306                 :           0 :                                         tree _p1_pops[1];
    7307                 :           0 :                                         if (tree_nop_convert (_p1, _p1_pops))
    7308                 :             :                                           {
    7309                 :           0 :                                             tree _q100 = _p1_pops[0];
    7310                 :           0 :                                             if ((_q100 == _q60 && ! TREE_SIDE_EFFECTS (_q100)) || (operand_equal_p (_q100, _q60, 0) && types_match (_q100, _q60)))
    7311                 :             :                                               {
    7312                 :           0 :                                                 {
    7313                 :           0 :                                                   tree captures[1] ATTRIBUTE_UNUSED = { _q60 };
    7314                 :           0 :                                                   tree res = generic_simplify_183 (loc, type, _p0, _p1, captures);
    7315                 :           0 :                                                   if (res) return res;
    7316                 :             :                                                 }
    7317                 :             :                                               }
    7318                 :             :                                           }
    7319                 :             :                                       }
    7320                 :           0 :                                       if ((_p1 == _q60 && ! TREE_SIDE_EFFECTS (_p1)) || (operand_equal_p (_p1, _q60, 0) && types_match (_p1, _q60)))
    7321                 :             :                                         {
    7322                 :           0 :                                           {
    7323                 :           0 :                                             tree captures[1] ATTRIBUTE_UNUSED = { _q60 };
    7324                 :           0 :                                             tree res = generic_simplify_183 (loc, type, _p0, _p1, captures);
    7325                 :           0 :                                             if (res) return res;
    7326                 :             :                                           }
    7327                 :             :                                         }
    7328                 :             :                                     }
    7329                 :             :                                 }
    7330                 :             :                               break;
    7331                 :             :                             }
    7332                 :             :                           default:;
    7333                 :             :                           }
    7334                 :             :                         break;
    7335                 :             :                       }
    7336                 :           4 :                     case LT_EXPR:
    7337                 :           4 :                       {
    7338                 :           4 :                         tree _q50 = TREE_OPERAND (_q40, 0);
    7339                 :           4 :                         tree _q51 = TREE_OPERAND (_q40, 1);
    7340                 :           4 :                         if (integer_zerop (_q51))
    7341                 :             :                           {
    7342                 :           4 :                             if (integer_onep (_q31))
    7343                 :             :                               {
    7344                 :           4 :                                 {
    7345                 :           4 :                                   tree _p1_pops[1];
    7346                 :           4 :                                   if (tree_nop_convert (_p1, _p1_pops))
    7347                 :             :                                     {
    7348                 :           4 :                                       tree _q90 = _p1_pops[0];
    7349                 :           4 :                                       if ((_q90 == _q50 && ! TREE_SIDE_EFFECTS (_q90)) || (operand_equal_p (_q90, _q50, 0) && types_match (_q90, _q50)))
    7350                 :             :                                         {
    7351                 :           4 :                                           {
    7352                 :           4 :                                             tree captures[1] ATTRIBUTE_UNUSED = { _q50 };
    7353                 :           4 :                                             tree res = generic_simplify_183 (loc, type, _p0, _p1, captures);
    7354                 :           4 :                                             if (res) return res;
    7355                 :             :                                           }
    7356                 :             :                                         }
    7357                 :             :                                     }
    7358                 :             :                                 }
    7359                 :           0 :                                 if ((_p1 == _q50 && ! TREE_SIDE_EFFECTS (_p1)) || (operand_equal_p (_p1, _q50, 0) && types_match (_p1, _q50)))
    7360                 :             :                                   {
    7361                 :           0 :                                     {
    7362                 :           0 :                                       tree captures[1] ATTRIBUTE_UNUSED = { _q50 };
    7363                 :           0 :                                       tree res = generic_simplify_183 (loc, type, _p0, _p1, captures);
    7364                 :           0 :                                       if (res) return res;
    7365                 :             :                                     }
    7366                 :             :                                   }
    7367                 :             :                               }
    7368                 :             :                           }
    7369                 :             :                         break;
    7370                 :             :                       }
    7371                 :             :                     default:;
    7372                 :             :                     }
    7373                 :             :                   break;
    7374                 :             :                 }
    7375                 :           0 :               default:;
    7376                 :             :               }
    7377                 :           0 :           {
    7378                 :           0 :             tree _q30_pops[1];
    7379                 :           0 :             if (tree_nop_convert (_q30, _q30_pops))
    7380                 :             :               {
    7381                 :           0 :                 tree _q40 = _q30_pops[0];
    7382                 :           0 :                 switch (TREE_CODE (_q40))
    7383                 :             :                   {
    7384                 :           0 :                   case NEGATE_EXPR:
    7385                 :           0 :                     {
    7386                 :           0 :                       tree _q50 = TREE_OPERAND (_q40, 0);
    7387                 :           0 :                       switch (TREE_CODE (_q50))
    7388                 :             :                         {
    7389                 :           0 :                         CASE_CONVERT:
    7390                 :           0 :                           {
    7391                 :           0 :                             tree _q60 = TREE_OPERAND (_q50, 0);
    7392                 :           0 :                             switch (TREE_CODE (_q60))
    7393                 :             :                               {
    7394                 :           0 :                               case LT_EXPR:
    7395                 :           0 :                                 {
    7396                 :           0 :                                   tree _q70 = TREE_OPERAND (_q60, 0);
    7397                 :           0 :                                   tree _q71 = TREE_OPERAND (_q60, 1);
    7398                 :           0 :                                   if (integer_zerop (_q71))
    7399                 :             :                                     {
    7400                 :           0 :                                       if (integer_onep (_q31))
    7401                 :             :                                         {
    7402                 :           0 :                                           {
    7403                 :           0 :                                             tree _p1_pops[1];
    7404                 :           0 :                                             if (tree_nop_convert (_p1, _p1_pops))
    7405                 :             :                                               {
    7406                 :           0 :                                                 tree _q110 = _p1_pops[0];
    7407                 :           0 :                                                 if ((_q110 == _q70 && ! TREE_SIDE_EFFECTS (_q110)) || (operand_equal_p (_q110, _q70, 0) && types_match (_q110, _q70)))
    7408                 :             :                                                   {
    7409                 :           0 :                                                     {
    7410                 :           0 :                                                       tree captures[1] ATTRIBUTE_UNUSED = { _q70 };
    7411                 :           0 :                                                       tree res = generic_simplify_183 (loc, type, _p0, _p1, captures);
    7412                 :           0 :                                                       if (res) return res;
    7413                 :             :                                                     }
    7414                 :             :                                                   }
    7415                 :             :                                               }
    7416                 :             :                                           }
    7417                 :           0 :                                           if ((_p1 == _q70 && ! TREE_SIDE_EFFECTS (_p1)) || (operand_equal_p (_p1, _q70, 0) && types_match (_p1, _q70)))
    7418                 :             :                                             {
    7419                 :           0 :                                               {
    7420                 :           0 :                                                 tree captures[1] ATTRIBUTE_UNUSED = { _q70 };
    7421                 :           0 :                                                 tree res = generic_simplify_183 (loc, type, _p0, _p1, captures);
    7422                 :           0 :                                                 if (res) return res;
    7423                 :             :                                               }
    7424                 :             :                                             }
    7425                 :             :                                         }
    7426                 :             :                                     }
    7427                 :             :                                   break;
    7428                 :             :                                 }
    7429                 :             :                               default:;
    7430                 :             :                               }
    7431                 :             :                             break;
    7432                 :             :                           }
    7433                 :           0 :                         case LT_EXPR:
    7434                 :           0 :                           {
    7435                 :           0 :                             tree _q60 = TREE_OPERAND (_q50, 0);
    7436                 :           0 :                             tree _q61 = TREE_OPERAND (_q50, 1);
    7437                 :           0 :                             if (integer_zerop (_q61))
    7438                 :             :                               {
    7439                 :           0 :                                 if (integer_onep (_q31))
    7440                 :             :                                   {
    7441                 :           0 :                                     {
    7442                 :           0 :                                       tree _p1_pops[1];
    7443                 :           0 :                                       if (tree_nop_convert (_p1, _p1_pops))
    7444                 :             :                                         {
    7445                 :           0 :                                           tree _q100 = _p1_pops[0];
    7446                 :           0 :                                           if ((_q100 == _q60 && ! TREE_SIDE_EFFECTS (_q100)) || (operand_equal_p (_q100, _q60, 0) && types_match (_q100, _q60)))
    7447                 :             :                                             {
    7448                 :           0 :                                               {
    7449                 :           0 :                                                 tree captures[1] ATTRIBUTE_UNUSED = { _q60 };
    7450                 :           0 :                                                 tree res = generic_simplify_183 (loc, type, _p0, _p1, captures);
    7451                 :           0 :                                                 if (res) return res;
    7452                 :             :                                               }
    7453                 :             :                                             }
    7454                 :             :                                         }
    7455                 :             :                                     }
    7456                 :           0 :                                     if ((_p1 == _q60 && ! TREE_SIDE_EFFECTS (_p1)) || (operand_equal_p (_p1, _q60, 0) && types_match (_p1, _q60)))
    7457                 :             :                                       {
    7458                 :           0 :                                         {
    7459                 :           0 :                                           tree captures[1] ATTRIBUTE_UNUSED = { _q60 };
    7460                 :           0 :                                           tree res = generic_simplify_183 (loc, type, _p0, _p1, captures);
    7461                 :           0 :                                           if (res) return res;
    7462                 :             :                                         }
    7463                 :             :                                       }
    7464                 :             :                                   }
    7465                 :             :                               }
    7466                 :             :                             break;
    7467                 :             :                           }
    7468                 :             :                         default:;
    7469                 :             :                         }
    7470                 :             :                       break;
    7471                 :             :                     }
    7472                 :             :                   default:;
    7473                 :             :                   }
    7474                 :             :               }
    7475                 :             :           }
    7476                 :           0 :             break;
    7477                 :             :           }
    7478                 :    22219137 :         default:;
    7479                 :             :         }
    7480                 :    22219137 :       switch (TREE_CODE (_p1))
    7481                 :             :         {
    7482                 :           0 :         case BIT_IOR_EXPR:
    7483                 :           0 :           {
    7484                 :           0 :             tree _q40 = TREE_OPERAND (_p1, 0);
    7485                 :           0 :             tree _q41 = TREE_OPERAND (_p1, 1);
    7486                 :           0 :             switch (TREE_CODE (_q40))
    7487                 :             :               {
    7488                 :           0 :               case NEGATE_EXPR:
    7489                 :           0 :                 {
    7490                 :           0 :                   tree _q50 = TREE_OPERAND (_q40, 0);
    7491                 :           0 :                   switch (TREE_CODE (_q50))
    7492                 :             :                     {
    7493                 :           0 :                     CASE_CONVERT:
    7494                 :           0 :                       {
    7495                 :           0 :                         tree _q60 = TREE_OPERAND (_q50, 0);
    7496                 :           0 :                         switch (TREE_CODE (_q60))
    7497                 :             :                           {
    7498                 :           0 :                           case LT_EXPR:
    7499                 :           0 :                             {
    7500                 :           0 :                               tree _q70 = TREE_OPERAND (_q60, 0);
    7501                 :           0 :                               tree _q71 = TREE_OPERAND (_q60, 1);
    7502                 :           0 :                               if ((_q70 == _q20 && ! TREE_SIDE_EFFECTS (_q70)) || (operand_equal_p (_q70, _q20, 0) && types_match (_q70, _q20)))
    7503                 :             :                                 {
    7504                 :           0 :                                   if (integer_zerop (_q71))
    7505                 :             :                                     {
    7506                 :           0 :                                       if (integer_onep (_q41))
    7507                 :             :                                         {
    7508                 :           0 :                                           {
    7509                 :           0 :                                             tree captures[1] ATTRIBUTE_UNUSED = { _q20 };
    7510                 :           0 :                                             tree res = generic_simplify_184 (loc, type, _p0, _p1, captures);
    7511                 :           0 :                                             if (res) return res;
    7512                 :             :                                           }
    7513                 :             :                                         }
    7514                 :             :                                     }
    7515                 :             :                                 }
    7516                 :             :                               break;
    7517                 :             :                             }
    7518                 :             :                           default:;
    7519                 :             :                           }
    7520                 :             :                         break;
    7521                 :             :                       }
    7522                 :           0 :                     case LT_EXPR:
    7523                 :           0 :                       {
    7524                 :           0 :                         tree _q60 = TREE_OPERAND (_q50, 0);
    7525                 :           0 :                         tree _q61 = TREE_OPERAND (_q50, 1);
    7526                 :           0 :                         if ((_q60 == _q20 && ! TREE_SIDE_EFFECTS (_q60)) || (operand_equal_p (_q60, _q20, 0) && types_match (_q60, _q20)))
    7527                 :             :                           {
    7528                 :           0 :                             if (integer_zerop (_q61))
    7529                 :             :                               {
    7530                 :           0 :                                 if (integer_onep (_q41))
    7531                 :             :                                   {
    7532                 :           0 :                                     {
    7533                 :           0 :                                       tree captures[1] ATTRIBUTE_UNUSED = { _q20 };
    7534                 :           0 :                                       tree res = generic_simplify_184 (loc, type, _p0, _p1, captures);
    7535                 :           0 :                                       if (res) return res;
    7536                 :             :                                     }
    7537                 :             :                                   }
    7538                 :             :                               }
    7539                 :             :                           }
    7540                 :             :                         break;
    7541                 :             :                       }
    7542                 :             :                     default:;
    7543                 :             :                     }
    7544                 :             :                   break;
    7545                 :             :                 }
    7546                 :           0 :               default:;
    7547                 :             :               }
    7548                 :           0 :           {
    7549                 :           0 :             tree _q40_pops[1];
    7550                 :           0 :             if (tree_nop_convert (_q40, _q40_pops))
    7551                 :             :               {
    7552                 :           0 :                 tree _q50 = _q40_pops[0];
    7553                 :           0 :                 switch (TREE_CODE (_q50))
    7554                 :             :                   {
    7555                 :           0 :                   case NEGATE_EXPR:
    7556                 :           0 :                     {
    7557                 :           0 :                       tree _q60 = TREE_OPERAND (_q50, 0);
    7558                 :           0 :                       switch (TREE_CODE (_q60))
    7559                 :             :                         {
    7560                 :           0 :                         CASE_CONVERT:
    7561                 :           0 :                           {
    7562                 :           0 :                             tree _q70 = TREE_OPERAND (_q60, 0);
    7563                 :           0 :                             switch (TREE_CODE (_q70))
    7564                 :             :                               {
    7565                 :           0 :                               case LT_EXPR:
    7566                 :           0 :                                 {
    7567                 :           0 :                                   tree _q80 = TREE_OPERAND (_q70, 0);
    7568                 :           0 :                                   tree _q81 = TREE_OPERAND (_q70, 1);
    7569                 :           0 :                                   if ((_q80 == _q20 && ! TREE_SIDE_EFFECTS (_q80)) || (operand_equal_p (_q80, _q20, 0) && types_match (_q80, _q20)))
    7570                 :             :                                     {
    7571                 :           0 :                                       if (integer_zerop (_q81))
    7572                 :             :                                         {
    7573                 :           0 :                                           if (integer_onep (_q41))
    7574                 :             :                                             {
    7575                 :           0 :                                               {
    7576                 :           0 :                                                 tree captures[1] ATTRIBUTE_UNUSED = { _q20 };
    7577                 :           0 :                                                 tree res = generic_simplify_184 (loc, type, _p0, _p1, captures);
    7578                 :           0 :                                                 if (res) return res;
    7579                 :             :                                               }
    7580                 :             :                                             }
    7581                 :             :                                         }
    7582                 :             :                                     }
    7583                 :             :                                   break;
    7584                 :             :                                 }
    7585                 :             :                               default:;
    7586                 :             :                               }
    7587                 :             :                             break;
    7588                 :             :                           }
    7589                 :           0 :                         case LT_EXPR:
    7590                 :           0 :                           {
    7591                 :           0 :                             tree _q70 = TREE_OPERAND (_q60, 0);
    7592                 :           0 :                             tree _q71 = TREE_OPERAND (_q60, 1);
    7593                 :           0 :                             if ((_q70 == _q20 && ! TREE_SIDE_EFFECTS (_q70)) || (operand_equal_p (_q70, _q20, 0) && types_match (_q70, _q20)))
    7594                 :             :                               {
    7595                 :           0 :                                 if (integer_zerop (_q71))
    7596                 :             :                                   {
    7597                 :           0 :                                     if (integer_onep (_q41))
    7598                 :             :                                       {
    7599                 :           0 :                                         {
    7600                 :           0 :                                           tree captures[1] ATTRIBUTE_UNUSED = { _q20 };
    7601                 :           0 :                                           tree res = generic_simplify_184 (loc, type, _p0, _p1, captures);
    7602                 :           0 :                                           if (res) return res;
    7603                 :             :                                         }
    7604                 :             :                                       }
    7605                 :             :                                   }
    7606                 :             :                               }
    7607                 :             :                             break;
    7608                 :             :                           }
    7609                 :             :                         default:;
    7610                 :             :                         }
    7611                 :             :                       break;
    7612                 :             :                     }
    7613                 :             :                   default:;
    7614                 :             :                   }
    7615                 :             :               }
    7616                 :             :           }
    7617                 :           0 :             break;
    7618                 :             :           }
    7619                 :    22219137 :         default:;
    7620                 :             :         }
    7621                 :    22219137 :     {
    7622                 :    22219137 :       tree _p1_pops[1];
    7623                 :    22219137 :       if (tree_nop_convert (_p1, _p1_pops))
    7624                 :             :         {
    7625                 :     2540080 :           tree _q40 = _p1_pops[0];
    7626                 :     2540080 :           switch (TREE_CODE (_q40))
    7627                 :             :             {
    7628                 :           0 :             case BIT_IOR_EXPR:
    7629                 :           0 :               {
    7630                 :           0 :                 tree _q50 = TREE_OPERAND (_q40, 0);
    7631                 :           0 :                 tree _q51 = TREE_OPERAND (_q40, 1);
    7632                 :           0 :                 switch (TREE_CODE (_q50))
    7633                 :             :                   {
    7634                 :           0 :                   case NEGATE_EXPR:
    7635                 :           0 :                     {
    7636                 :           0 :                       tree _q60 = TREE_OPERAND (_q50, 0);
    7637                 :           0 :                       switch (TREE_CODE (_q60))
    7638                 :             :                         {
    7639                 :           0 :                         CASE_CONVERT:
    7640                 :           0 :                           {
    7641                 :           0 :                             tree _q70 = TREE_OPERAND (_q60, 0);
    7642                 :           0 :                             switch (TREE_CODE (_q70))
    7643                 :             :                               {
    7644                 :           0 :                               case LT_EXPR:
    7645                 :           0 :                                 {
    7646                 :           0 :                                   tree _q80 = TREE_OPERAND (_q70, 0);
    7647                 :           0 :                                   tree _q81 = TREE_OPERAND (_q70, 1);
    7648                 :           0 :                                   if ((_q80 == _q20 && ! TREE_SIDE_EFFECTS (_q80)) || (operand_equal_p (_q80, _q20, 0) && types_match (_q80, _q20)))
    7649                 :             :                                     {
    7650                 :           0 :                                       if (integer_zerop (_q81))
    7651                 :             :                                         {
    7652                 :           0 :                                           if (integer_onep (_q51))
    7653                 :             :                                             {
    7654                 :           0 :                                               {
    7655                 :           0 :                                                 tree captures[1] ATTRIBUTE_UNUSED = { _q20 };
    7656                 :           0 :                                                 tree res = generic_simplify_184 (loc, type, _p0, _p1, captures);
    7657                 :           0 :                                                 if (res) return res;
    7658                 :             :                                               }
    7659                 :             :                                             }
    7660                 :             :                                         }
    7661                 :             :                                     }
    7662                 :             :                                   break;
    7663                 :             :                                 }
    7664                 :             :                               default:;
    7665                 :             :                               }
    7666                 :             :                             break;
    7667                 :             :                           }
    7668                 :           0 :                         case LT_EXPR:
    7669                 :           0 :                           {
    7670                 :           0 :                             tree _q70 = TREE_OPERAND (_q60, 0);
    7671                 :           0 :                             tree _q71 = TREE_OPERAND (_q60, 1);
    7672                 :           0 :                             if ((_q70 == _q20 && ! TREE_SIDE_EFFECTS (_q70)) || (operand_equal_p (_q70, _q20, 0) && types_match (_q70, _q20)))
    7673                 :             :                               {
    7674                 :           0 :                                 if (integer_zerop (_q71))
    7675                 :             :                                   {
    7676                 :           0 :                                     if (integer_onep (_q51))
    7677                 :             :                                       {
    7678                 :           0 :                                         {
    7679                 :           0 :                                           tree captures[1] ATTRIBUTE_UNUSED = { _q20 };
    7680                 :           0 :                                           tree res = generic_simplify_184 (loc, type, _p0, _p1, captures);
    7681                 :           0 :                                           if (res) return res;
    7682                 :             :                                         }
    7683                 :             :                                       }
    7684                 :             :                                   }
    7685                 :             :                               }
    7686                 :             :                             break;
    7687                 :             :                           }
    7688                 :             :                         default:;
    7689                 :             :                         }
    7690                 :             :                       break;
    7691                 :             :                     }
    7692                 :           0 :                   default:;
    7693                 :             :                   }
    7694                 :           0 :               {
    7695                 :           0 :                 tree _q50_pops[1];
    7696                 :           0 :                 if (tree_nop_convert (_q50, _q50_pops))
    7697                 :             :                   {
    7698                 :           0 :                     tree _q60 = _q50_pops[0];
    7699                 :           0 :                     switch (TREE_CODE (_q60))
    7700                 :             :                       {
    7701                 :           0 :                       case NEGATE_EXPR:
    7702                 :           0 :                         {
    7703                 :           0 :                           tree _q70 = TREE_OPERAND (_q60, 0);
    7704                 :           0 :                           switch (TREE_CODE (_q70))
    7705                 :             :                             {
    7706                 :           0 :                             CASE_CONVERT:
    7707                 :           0 :                               {
    7708                 :           0 :                                 tree _q80 = TREE_OPERAND (_q70, 0);
    7709                 :           0 :                                 switch (TREE_CODE (_q80))
    7710                 :             :                                   {
    7711                 :           0 :                                   case LT_EXPR:
    7712                 :           0 :                                     {
    7713                 :           0 :                                       tree _q90 = TREE_OPERAND (_q80, 0);
    7714                 :           0 :                                       tree _q91 = TREE_OPERAND (_q80, 1);
    7715                 :           0 :                                       if ((_q90 == _q20 && ! TREE_SIDE_EFFECTS (_q90)) || (operand_equal_p (_q90, _q20, 0) && types_match (_q90, _q20)))
    7716                 :             :                                         {
    7717                 :           0 :                                           if (integer_zerop (_q91))
    7718                 :             :                                             {
    7719                 :           0 :                                               if (integer_onep (_q51))
    7720                 :             :                                                 {
    7721                 :           0 :                                                   {
    7722                 :           0 :                                                     tree captures[1] ATTRIBUTE_UNUSED = { _q20 };
    7723                 :           0 :                                                     tree res = generic_simplify_184 (loc, type, _p0, _p1, captures);
    7724                 :           0 :                                                     if (res) return res;
    7725                 :             :                                                   }
    7726                 :             :                                                 }
    7727                 :             :                                             }
    7728                 :             :                                         }
    7729                 :             :                                       break;
    7730                 :             :                                     }
    7731                 :             :                                   default:;
    7732                 :             :                                   }
    7733                 :             :                                 break;
    7734                 :             :                               }
    7735                 :           0 :                             case LT_EXPR:
    7736                 :           0 :                               {
    7737                 :           0 :                                 tree _q80 = TREE_OPERAND (_q70, 0);
    7738                 :           0 :                                 tree _q81 = TREE_OPERAND (_q70, 1);
    7739                 :           0 :                                 if ((_q80 == _q20 && ! TREE_SIDE_EFFECTS (_q80)) || (operand_equal_p (_q80, _q20, 0) && types_match (_q80, _q20)))
    7740                 :             :                                   {
    7741                 :           0 :                                     if (integer_zerop (_q81))
    7742                 :             :                                       {
    7743                 :           0 :                                         if (integer_onep (_q51))
    7744                 :             :                                           {
    7745                 :           0 :                                             {
    7746                 :           0 :                                               tree captures[1] ATTRIBUTE_UNUSED = { _q20 };
    7747                 :           0 :                                               tree res = generic_simplify_184 (loc, type, _p0, _p1, captures);
    7748                 :           0 :                                               if (res) return res;
    7749                 :             :                                             }
    7750                 :             :                                           }
    7751                 :             :                                       }
    7752                 :             :                                   }
    7753                 :             :                                 break;
    7754                 :             :                               }
    7755                 :             :                             default:;
    7756                 :             :                             }
    7757                 :             :                           break;
    7758                 :             :                         }
    7759                 :             :                       default:;
    7760                 :             :                       }
    7761                 :             :                   }
    7762                 :             :               }
    7763                 :           0 :                 break;
    7764                 :             :               }
    7765                 :             :             default:;
    7766                 :             :             }
    7767                 :             :         }
    7768                 :             :     }
    7769                 :             :     }
    7770                 :             : }
    7771                 :    65477710 :   {
    7772                 :    65477710 :     tree _p1_pops[1];
    7773                 :    65477710 :     if (tree_nop_convert (_p1, _p1_pops))
    7774                 :             :       {
    7775                 :     7350009 :         tree _q30 = _p1_pops[0];
    7776                 :     7350009 :         switch (TREE_CODE (_q30))
    7777                 :             :           {
    7778                 :           0 :           case BIT_IOR_EXPR:
    7779                 :           0 :             {
    7780                 :           0 :               tree _q40 = TREE_OPERAND (_q30, 0);
    7781                 :           0 :               tree _q41 = TREE_OPERAND (_q30, 1);
    7782                 :           0 :               switch (TREE_CODE (_q40))
    7783                 :             :                 {
    7784                 :           0 :                 case NEGATE_EXPR:
    7785                 :           0 :                   {
    7786                 :           0 :                     tree _q50 = TREE_OPERAND (_q40, 0);
    7787                 :           0 :                     switch (TREE_CODE (_q50))
    7788                 :             :                       {
    7789                 :           0 :                       CASE_CONVERT:
    7790                 :           0 :                         {
    7791                 :           0 :                           tree _q60 = TREE_OPERAND (_q50, 0);
    7792                 :           0 :                           switch (TREE_CODE (_q60))
    7793                 :             :                             {
    7794                 :           0 :                             case LT_EXPR:
    7795                 :           0 :                               {
    7796                 :           0 :                                 tree _q70 = TREE_OPERAND (_q60, 0);
    7797                 :           0 :                                 tree _q71 = TREE_OPERAND (_q60, 1);
    7798                 :           0 :                                 if ((_q70 == _p0 && ! TREE_SIDE_EFFECTS (_q70)) || (operand_equal_p (_q70, _p0, 0) && types_match (_q70, _p0)))
    7799                 :             :                                   {
    7800                 :           0 :                                     if (integer_zerop (_q71))
    7801                 :             :                                       {
    7802                 :           0 :                                         if (integer_onep (_q41))
    7803                 :             :                                           {
    7804                 :           0 :                                             {
    7805                 :           0 :                                               tree captures[1] ATTRIBUTE_UNUSED = { _p0 };
    7806                 :           0 :                                               tree res = generic_simplify_184 (loc, type, _p0, _p1, captures);
    7807                 :           0 :                                               if (res) return res;
    7808                 :             :                                             }
    7809                 :             :                                           }
    7810                 :             :                                       }
    7811                 :             :                                   }
    7812                 :             :                                 break;
    7813                 :             :                               }
    7814                 :             :                             default:;
    7815                 :             :                             }
    7816                 :             :                           break;
    7817                 :             :                         }
    7818                 :             :                       default:;
    7819                 :             :                       }
    7820                 :             :                     break;
    7821                 :             :                   }
    7822                 :           0 :                 default:;
    7823                 :             :                 }
    7824                 :           0 :             {
    7825                 :           0 :               tree _q40_pops[1];
    7826                 :           0 :               if (tree_nop_convert (_q40, _q40_pops))
    7827                 :             :                 {
    7828                 :           0 :                   tree _q50 = _q40_pops[0];
    7829                 :           0 :                   switch (TREE_CODE (_q50))
    7830                 :             :                     {
    7831                 :           0 :                     case NEGATE_EXPR:
    7832                 :           0 :                       {
    7833                 :           0 :                         tree _q60 = TREE_OPERAND (_q50, 0);
    7834                 :           0 :                         switch (TREE_CODE (_q60))
    7835                 :             :                           {
    7836                 :           0 :                           CASE_CONVERT:
    7837                 :           0 :                             {
    7838                 :           0 :                               tree _q70 = TREE_OPERAND (_q60, 0);
    7839                 :           0 :                               switch (TREE_CODE (_q70))
    7840                 :             :                                 {
    7841                 :           0 :                                 case LT_EXPR:
    7842                 :           0 :                                   {
    7843                 :           0 :                                     tree _q80 = TREE_OPERAND (_q70, 0);
    7844                 :           0 :                                     tree _q81 = TREE_OPERAND (_q70, 1);
    7845                 :           0 :                                     if ((_q80 == _p0 && ! TREE_SIDE_EFFECTS (_q80)) || (operand_equal_p (_q80, _p0, 0) && types_match (_q80, _p0)))
    7846                 :             :                                       {
    7847                 :           0 :                                         if (integer_zerop (_q81))
    7848                 :             :                                           {
    7849                 :           0 :                                             if (integer_onep (_q41))
    7850                 :             :                                               {
    7851                 :           0 :                                                 {
    7852                 :           0 :                                                   tree captures[1] ATTRIBUTE_UNUSED = { _p0 };
    7853                 :           0 :                                                   tree res = generic_simplify_184 (loc, type, _p0, _p1, captures);
    7854                 :           0 :                                                   if (res) return res;
    7855                 :             :                                                 }
    7856                 :             :                                               }
    7857                 :             :                                           }
    7858                 :             :                                       }
    7859                 :             :                                     break;
    7860                 :             :                                   }
    7861                 :             :                                 default:;
    7862                 :             :                                 }
    7863                 :             :                               break;
    7864                 :             :                             }
    7865                 :             :                           default:;
    7866                 :             :                           }
    7867                 :             :                         break;
    7868                 :             :                       }
    7869                 :             :                     default:;
    7870                 :             :                     }
    7871                 :             :                 }
    7872                 :             :             }
    7873                 :           0 :               break;
    7874                 :             :             }
    7875                 :             :           default:;
    7876                 :             :           }
    7877                 :             :       }
    7878                 :             :   }
    7879                 :    65477710 :   switch (TREE_CODE (_p0))
    7880                 :             :     {
    7881                 :         292 :     case BIT_IOR_EXPR:
    7882                 :         292 :       {
    7883                 :         292 :         tree _q20 = TREE_OPERAND (_p0, 0);
    7884                 :         292 :         tree _q21 = TREE_OPERAND (_p0, 1);
    7885                 :         292 :         switch (TREE_CODE (_q20))
    7886                 :             :           {
    7887                 :           1 :           case NEGATE_EXPR:
    7888                 :           1 :             {
    7889                 :           1 :               tree _q30 = TREE_OPERAND (_q20, 0);
    7890                 :           1 :               switch (TREE_CODE (_q30))
    7891                 :             :                 {
    7892                 :           0 :                 CASE_CONVERT:
    7893                 :           0 :                   {
    7894                 :           0 :                     tree _q40 = TREE_OPERAND (_q30, 0);
    7895                 :           0 :                     switch (TREE_CODE (_q40))
    7896                 :             :                       {
    7897                 :           0 :                       case LT_EXPR:
    7898                 :           0 :                         {
    7899                 :           0 :                           tree _q50 = TREE_OPERAND (_q40, 0);
    7900                 :           0 :                           tree _q51 = TREE_OPERAND (_q40, 1);
    7901                 :           0 :                           if (integer_zerop (_q51))
    7902                 :             :                             {
    7903                 :           0 :                               if (integer_onep (_q21))
    7904                 :             :                                 {
    7905                 :           0 :                                   {
    7906                 :           0 :                                     tree _p1_pops[1];
    7907                 :           0 :                                     if (tree_nop_convert (_p1, _p1_pops))
    7908                 :             :                                       {
    7909                 :           0 :                                         tree _q90 = _p1_pops[0];
    7910                 :           0 :                                         if ((_q90 == _q50 && ! TREE_SIDE_EFFECTS (_q90)) || (operand_equal_p (_q90, _q50, 0) && types_match (_q90, _q50)))
    7911                 :             :                                           {
    7912                 :           0 :                                             {
    7913                 :           0 :                                               tree captures[1] ATTRIBUTE_UNUSED = { _q50 };
    7914                 :           0 :                                               tree res = generic_simplify_183 (loc, type, _p0, _p1, captures);
    7915                 :           0 :                                               if (res) return res;
    7916                 :             :                                             }
    7917                 :             :                                           }
    7918                 :             :                                       }
    7919                 :             :                                   }
    7920                 :           0 :                                   if ((_p1 == _q50 && ! TREE_SIDE_EFFECTS (_p1)) || (operand_equal_p (_p1, _q50, 0) && types_match (_p1, _q50)))
    7921                 :             :                                     {
    7922                 :           0 :                                       {
    7923                 :           0 :                                         tree captures[1] ATTRIBUTE_UNUSED = { _q50 };
    7924                 :           0 :                                         tree res = generic_simplify_183 (loc, type, _p0, _p1, captures);
    7925                 :           0 :                                         if (res) return res;
    7926                 :             :                                       }
    7927                 :             :                                     }
    7928                 :             :                                 }
    7929                 :             :                             }
    7930                 :             :                           break;
    7931                 :             :                         }
    7932                 :             :                       default:;
    7933                 :             :                       }
    7934                 :             :                     break;
    7935                 :             :                   }
    7936                 :           1 :                 case LT_EXPR:
    7937                 :           1 :                   {
    7938                 :           1 :                     tree _q40 = TREE_OPERAND (_q30, 0);
    7939                 :           1 :                     tree _q41 = TREE_OPERAND (_q30, 1);
    7940                 :           1 :                     if (integer_zerop (_q41))
    7941                 :             :                       {
    7942                 :           1 :                         if (integer_onep (_q21))
    7943                 :             :                           {
    7944                 :           1 :                             {
    7945                 :           1 :                               tree _p1_pops[1];
    7946                 :           1 :                               if (tree_nop_convert (_p1, _p1_pops))
    7947                 :             :                                 {
    7948                 :           0 :                                   tree _q80 = _p1_pops[0];
    7949                 :           0 :                                   if ((_q80 == _q40 && ! TREE_SIDE_EFFECTS (_q80)) || (operand_equal_p (_q80, _q40, 0) && types_match (_q80, _q40)))
    7950                 :             :                                     {
    7951                 :           0 :                                       {
    7952                 :           0 :                                         tree captures[1] ATTRIBUTE_UNUSED = { _q40 };
    7953                 :           0 :                                         tree res = generic_simplify_183 (loc, type, _p0, _p1, captures);
    7954                 :           0 :                                         if (res) return res;
    7955                 :             :                                       }
    7956                 :             :                                     }
    7957                 :             :                                 }
    7958                 :             :                             }
    7959                 :           1 :                             if ((_p1 == _q40 && ! TREE_SIDE_EFFECTS (_p1)) || (operand_equal_p (_p1, _q40, 0) && types_match (_p1, _q40)))
    7960                 :             :                               {
    7961                 :           1 :                                 {
    7962                 :           1 :                                   tree captures[1] ATTRIBUTE_UNUSED = { _q40 };
    7963                 :           1 :                                   tree res = generic_simplify_183 (loc, type, _p0, _p1, captures);
    7964                 :           1 :                                   if (res) return res;
    7965                 :             :                                 }
    7966                 :             :                               }
    7967                 :             :                           }
    7968                 :             :                       }
    7969                 :             :                     break;
    7970                 :             :                   }
    7971                 :             :                 default:;
    7972                 :             :                 }
    7973                 :             :               break;
    7974                 :             :             }
    7975                 :         291 :           default:;
    7976                 :             :           }
    7977                 :         291 :       {
    7978                 :         291 :         tree _q20_pops[1];
    7979                 :         291 :         if (tree_nop_convert (_q20, _q20_pops))
    7980                 :             :           {
    7981                 :           1 :             tree _q30 = _q20_pops[0];
    7982                 :           1 :             switch (TREE_CODE (_q30))
    7983                 :             :               {
    7984                 :           1 :               case NEGATE_EXPR:
    7985                 :           1 :                 {
    7986                 :           1 :                   tree _q40 = TREE_OPERAND (_q30, 0);
    7987                 :           1 :                   switch (TREE_CODE (_q40))
    7988                 :             :                     {
    7989                 :           0 :                     CASE_CONVERT:
    7990                 :           0 :                       {
    7991                 :           0 :                         tree _q50 = TREE_OPERAND (_q40, 0);
    7992                 :           0 :                         switch (TREE_CODE (_q50))
    7993                 :             :                           {
    7994                 :           0 :                           case LT_EXPR:
    7995                 :           0 :                             {
    7996                 :           0 :                               tree _q60 = TREE_OPERAND (_q50, 0);
    7997                 :           0 :                               tree _q61 = TREE_OPERAND (_q50, 1);
    7998                 :           0 :                               if (integer_zerop (_q61))
    7999                 :             :                                 {
    8000                 :           0 :                                   if (integer_onep (_q21))
    8001                 :             :                                     {
    8002                 :           0 :                                       {
    8003                 :           0 :                                         tree _p1_pops[1];
    8004                 :           0 :                                         if (tree_nop_convert (_p1, _p1_pops))
    8005                 :             :                                           {
    8006                 :           0 :                                             tree _q100 = _p1_pops[0];
    8007                 :           0 :                                             if ((_q100 == _q60 && ! TREE_SIDE_EFFECTS (_q100)) || (operand_equal_p (_q100, _q60, 0) && types_match (_q100, _q60)))
    8008                 :             :                                               {
    8009                 :           0 :                                                 {
    8010                 :           0 :                                                   tree captures[1] ATTRIBUTE_UNUSED = { _q60 };
    8011                 :           0 :                                                   tree res = generic_simplify_183 (loc, type, _p0, _p1, captures);
    8012                 :           0 :                                                   if (res) return res;
    8013                 :             :                                                 }
    8014                 :             :                                               }
    8015                 :             :                                           }
    8016                 :             :                                       }
    8017                 :           0 :                                       if ((_p1 == _q60 && ! TREE_SIDE_EFFECTS (_p1)) || (operand_equal_p (_p1, _q60, 0) && types_match (_p1, _q60)))
    8018                 :             :                                         {
    8019                 :           0 :                                           {
    8020                 :           0 :                                             tree captures[1] ATTRIBUTE_UNUSED = { _q60 };
    8021                 :           0 :                                             tree res = generic_simplify_183 (loc, type, _p0, _p1, captures);
    8022                 :           0 :                                             if (res) return res;
    8023                 :             :                                           }
    8024                 :             :                                         }
    8025                 :             :                                     }
    8026                 :             :                                 }
    8027                 :             :                               break;
    8028                 :             :                             }
    8029                 :             :                           default:;
    8030                 :             :                           }
    8031                 :             :                         break;
    8032                 :             :                       }
    8033                 :           1 :                     case LT_EXPR:
    8034                 :           1 :                       {
    8035                 :           1 :                         tree _q50 = TREE_OPERAND (_q40, 0);
    8036                 :           1 :                         tree _q51 = TREE_OPERAND (_q40, 1);
    8037                 :           1 :                         if (integer_zerop (_q51))
    8038                 :             :                           {
    8039                 :           1 :                             if (integer_onep (_q21))
    8040                 :             :                               {
    8041                 :           1 :                                 {
    8042                 :           1 :                                   tree _p1_pops[1];
    8043                 :           1 :                                   if (tree_nop_convert (_p1, _p1_pops))
    8044                 :             :                                     {
    8045                 :           1 :                                       tree _q90 = _p1_pops[0];
    8046                 :           1 :                                       if ((_q90 == _q50 && ! TREE_SIDE_EFFECTS (_q90)) || (operand_equal_p (_q90, _q50, 0) && types_match (_q90, _q50)))
    8047                 :             :                                         {
    8048                 :           1 :                                           {
    8049                 :           1 :                                             tree captures[1] ATTRIBUTE_UNUSED = { _q50 };
    8050                 :           1 :                                             tree res = generic_simplify_183 (loc, type, _p0, _p1, captures);
    8051                 :           1 :                                             if (res) return res;
    8052                 :             :                                           }
    8053                 :             :                                         }
    8054                 :             :                                     }
    8055                 :             :                                 }
    8056                 :           0 :                                 if ((_p1 == _q50 && ! TREE_SIDE_EFFECTS (_p1)) || (operand_equal_p (_p1, _q50, 0) && types_match (_p1, _q50)))
    8057                 :             :                                   {
    8058                 :           0 :                                     {
    8059                 :           0 :                                       tree captures[1] ATTRIBUTE_UNUSED = { _q50 };
    8060                 :           0 :                                       tree res = generic_simplify_183 (loc, type, _p0, _p1, captures);
    8061                 :           0 :                                       if (res) return res;
    8062                 :             :                                     }
    8063                 :             :                                   }
    8064                 :             :                               }
    8065                 :             :                           }
    8066                 :             :                         break;
    8067                 :             :                       }
    8068                 :             :                     default:;
    8069                 :             :                     }
    8070                 :             :                   break;
    8071                 :             :                 }
    8072                 :             :               default:;
    8073                 :             :               }
    8074                 :             :           }
    8075                 :             :       }
    8076                 :         290 :         break;
    8077                 :             :       }
    8078                 :    65477708 :     default:;
    8079                 :             :     }
    8080                 :    65477708 :   switch (TREE_CODE (_p1))
    8081                 :             :     {
    8082                 :           0 :     case BIT_IOR_EXPR:
    8083                 :           0 :       {
    8084                 :           0 :         tree _q30 = TREE_OPERAND (_p1, 0);
    8085                 :           0 :         tree _q31 = TREE_OPERAND (_p1, 1);
    8086                 :           0 :         switch (TREE_CODE (_q30))
    8087                 :             :           {
    8088                 :           0 :           case NEGATE_EXPR:
    8089                 :           0 :             {
    8090                 :           0 :               tree _q40 = TREE_OPERAND (_q30, 0);
    8091                 :           0 :               switch (TREE_CODE (_q40))
    8092                 :             :                 {
    8093                 :           0 :                 CASE_CONVERT:
    8094                 :           0 :                   {
    8095                 :           0 :                     tree _q50 = TREE_OPERAND (_q40, 0);
    8096                 :           0 :                     switch (TREE_CODE (_q50))
    8097                 :             :                       {
    8098                 :           0 :                       case LT_EXPR:
    8099                 :           0 :                         {
    8100                 :           0 :                           tree _q60 = TREE_OPERAND (_q50, 0);
    8101                 :           0 :                           tree _q61 = TREE_OPERAND (_q50, 1);
    8102                 :           0 :                           if ((_q60 == _p0 && ! TREE_SIDE_EFFECTS (_q60)) || (operand_equal_p (_q60, _p0, 0) && types_match (_q60, _p0)))
    8103                 :             :                             {
    8104                 :           0 :                               if (integer_zerop (_q61))
    8105                 :             :                                 {
    8106                 :           0 :                                   if (integer_onep (_q31))
    8107                 :             :                                     {
    8108                 :           0 :                                       {
    8109                 :           0 :                                         tree captures[1] ATTRIBUTE_UNUSED = { _p0 };
    8110                 :           0 :                                         tree res = generic_simplify_184 (loc, type, _p0, _p1, captures);
    8111                 :           0 :                                         if (res) return res;
    8112                 :             :                                       }
    8113                 :             :                                     }
    8114                 :             :                                 }
    8115                 :             :                             }
    8116                 :             :                           break;
    8117                 :             :                         }
    8118                 :             :                       default:;
    8119                 :             :                       }
    8120                 :             :                     break;
    8121                 :             :                   }
    8122                 :           0 :                 case LT_EXPR:
    8123                 :           0 :                   {
    8124                 :           0 :                     tree _q50 = TREE_OPERAND (_q40, 0);
    8125                 :           0 :                     tree _q51 = TREE_OPERAND (_q40, 1);
    8126                 :           0 :                     if ((_q50 == _p0 && ! TREE_SIDE_EFFECTS (_q50)) || (operand_equal_p (_q50, _p0, 0) && types_match (_q50, _p0)))
    8127                 :             :                       {
    8128                 :           0 :                         if (integer_zerop (_q51))
    8129                 :             :                           {
    8130                 :           0 :                             if (integer_onep (_q31))
    8131                 :             :                               {
    8132                 :           0 :                                 {
    8133                 :           0 :                                   tree captures[1] ATTRIBUTE_UNUSED = { _p0 };
    8134                 :           0 :                                   tree res = generic_simplify_184 (loc, type, _p0, _p1, captures);
    8135                 :           0 :                                   if (res) return res;
    8136                 :             :                                 }
    8137                 :             :                               }
    8138                 :             :                           }
    8139                 :             :                       }
    8140                 :             :                     break;
    8141                 :             :                   }
    8142                 :             :                 default:;
    8143                 :             :                 }
    8144                 :             :               break;
    8145                 :             :             }
    8146                 :           0 :           default:;
    8147                 :             :           }
    8148                 :           0 :       {
    8149                 :           0 :         tree _q30_pops[1];
    8150                 :           0 :         if (tree_nop_convert (_q30, _q30_pops))
    8151                 :             :           {
    8152                 :           0 :             tree _q40 = _q30_pops[0];
    8153                 :           0 :             switch (TREE_CODE (_q40))
    8154                 :             :               {
    8155                 :           0 :               case NEGATE_EXPR:
    8156                 :           0 :                 {
    8157                 :           0 :                   tree _q50 = TREE_OPERAND (_q40, 0);
    8158                 :           0 :                   switch (TREE_CODE (_q50))
    8159                 :             :                     {
    8160                 :           0 :                     CASE_CONVERT:
    8161                 :           0 :                       {
    8162                 :           0 :                         tree _q60 = TREE_OPERAND (_q50, 0);
    8163                 :           0 :                         switch (TREE_CODE (_q60))
    8164                 :             :                           {
    8165                 :           0 :                           case LT_EXPR:
    8166                 :           0 :                             {
    8167                 :           0 :                               tree _q70 = TREE_OPERAND (_q60, 0);
    8168                 :           0 :                               tree _q71 = TREE_OPERAND (_q60, 1);
    8169                 :           0 :                               if ((_q70 == _p0 && ! TREE_SIDE_EFFECTS (_q70)) || (operand_equal_p (_q70, _p0, 0) && types_match (_q70, _p0)))
    8170                 :             :                                 {
    8171                 :           0 :                                   if (integer_zerop (_q71))
    8172                 :             :                                     {
    8173                 :           0 :                                       if (integer_onep (_q31))
    8174                 :             :                                         {
    8175                 :           0 :                                           {
    8176                 :           0 :                                             tree captures[1] ATTRIBUTE_UNUSED = { _p0 };
    8177                 :           0 :                                             tree res = generic_simplify_184 (loc, type, _p0, _p1, captures);
    8178                 :           0 :                                             if (res) return res;
    8179                 :             :                                           }
    8180                 :             :                                         }
    8181                 :             :                                     }
    8182                 :             :                                 }
    8183                 :             :                               break;
    8184                 :             :                             }
    8185                 :             :                           default:;
    8186                 :             :                           }
    8187                 :             :                         break;
    8188                 :             :                       }
    8189                 :           0 :                     case LT_EXPR:
    8190                 :           0 :                       {
    8191                 :           0 :                         tree _q60 = TREE_OPERAND (_q50, 0);
    8192                 :           0 :                         tree _q61 = TREE_OPERAND (_q50, 1);
    8193                 :           0 :                         if ((_q60 == _p0 && ! TREE_SIDE_EFFECTS (_q60)) || (operand_equal_p (_q60, _p0, 0) && types_match (_q60, _p0)))
    8194                 :             :                           {
    8195                 :           0 :                             if (integer_zerop (_q61))
    8196                 :             :                               {
    8197                 :           0 :                                 if (integer_onep (_q31))
    8198                 :             :                                   {
    8199                 :           0 :                                     {
    8200                 :           0 :                                       tree captures[1] ATTRIBUTE_UNUSED = { _p0 };
    8201                 :           0 :                                       tree res = generic_simplify_184 (loc, type, _p0, _p1, captures);
    8202                 :           0 :                                       if (res) return res;
    8203                 :             :                                     }
    8204                 :             :                                   }
    8205                 :             :                               }
    8206                 :             :                           }
    8207                 :             :                         break;
    8208                 :             :                       }
    8209                 :             :                     default:;
    8210                 :             :                     }
    8211                 :             :                   break;
    8212                 :             :                 }
    8213                 :             :               default:;
    8214                 :             :               }
    8215                 :             :           }
    8216                 :             :       }
    8217                 :           0 :         break;
    8218                 :             :       }
    8219                 :    65477708 :     default:;
    8220                 :             :     }
    8221                 :    65477708 : {
    8222                 :    65477708 :   tree _p1_pops[1];
    8223                 :    65477708 :   if (tree_nop_convert (_p1, _p1_pops))
    8224                 :             :     {
    8225                 :     7350008 :       tree _q30 = _p1_pops[0];
    8226                 :     7350008 :       switch (TREE_CODE (_q30))
    8227                 :             :         {
    8228                 :           0 :         case BIT_IOR_EXPR:
    8229                 :           0 :           {
    8230                 :           0 :             tree _q40 = TREE_OPERAND (_q30, 0);
    8231                 :           0 :             tree _q41 = TREE_OPERAND (_q30, 1);
    8232                 :           0 :             switch (TREE_CODE (_q40))
    8233                 :             :               {
    8234                 :           0 :               case NEGATE_EXPR:
    8235                 :           0 :                 {
    8236                 :           0 :                   tree _q50 = TREE_OPERAND (_q40, 0);
    8237                 :           0 :                   switch (TREE_CODE (_q50))
    8238                 :             :                     {
    8239                 :           0 :                     case LT_EXPR:
    8240                 :           0 :                       {
    8241                 :           0 :                         tree _q60 = TREE_OPERAND (_q50, 0);
    8242                 :           0 :                         tree _q61 = TREE_OPERAND (_q50, 1);
    8243                 :           0 :                         if ((_q60 == _p0 && ! TREE_SIDE_EFFECTS (_q60)) || (operand_equal_p (_q60, _p0, 0) && types_match (_q60, _p0)))
    8244                 :             :                           {
    8245                 :           0 :                             if (integer_zerop (_q61))
    8246                 :             :                               {
    8247                 :           0 :                                 if (integer_onep (_q41))
    8248                 :             :                                   {
    8249                 :           0 :                                     {
    8250                 :           0 :                                       tree captures[1] ATTRIBUTE_UNUSED = { _p0 };
    8251                 :           0 :                                       tree res = generic_simplify_184 (loc, type, _p0, _p1, captures);
    8252                 :           0 :                                       if (res) return res;
    8253                 :             :                                     }
    8254                 :             :                                   }
    8255                 :             :                               }
    8256                 :             :                           }
    8257                 :             :                         break;
    8258                 :             :                       }
    8259                 :             :                     default:;
    8260                 :             :                     }
    8261                 :             :                   break;
    8262                 :             :                 }
    8263                 :           0 :               default:;
    8264                 :             :               }
    8265                 :           0 :           {
    8266                 :           0 :             tree _q40_pops[1];
    8267                 :           0 :             if (tree_nop_convert (_q40, _q40_pops))
    8268                 :             :               {
    8269                 :           0 :                 tree _q50 = _q40_pops[0];
    8270                 :           0 :                 switch (TREE_CODE (_q50))
    8271                 :             :                   {
    8272                 :           0 :                   case NEGATE_EXPR:
    8273                 :           0 :                     {
    8274                 :           0 :                       tree _q60 = TREE_OPERAND (_q50, 0);
    8275                 :           0 :                       switch (TREE_CODE (_q60))
    8276                 :             :                         {
    8277                 :           0 :                         case LT_EXPR:
    8278                 :           0 :                           {
    8279                 :           0 :                             tree _q70 = TREE_OPERAND (_q60, 0);
    8280                 :           0 :                             tree _q71 = TREE_OPERAND (_q60, 1);
    8281                 :           0 :                             if ((_q70 == _p0 && ! TREE_SIDE_EFFECTS (_q70)) || (operand_equal_p (_q70, _p0, 0) && types_match (_q70, _p0)))
    8282                 :             :                               {
    8283                 :           0 :                                 if (integer_zerop (_q71))
    8284                 :             :                                   {
    8285                 :           0 :                                     if (integer_onep (_q41))
    8286                 :             :                                       {
    8287                 :           0 :                                         {
    8288                 :           0 :                                           tree captures[1] ATTRIBUTE_UNUSED = { _p0 };
    8289                 :           0 :                                           tree res = generic_simplify_184 (loc, type, _p0, _p1, captures);
    8290                 :           0 :                                           if (res) return res;
    8291                 :             :                                         }
    8292                 :             :                                       }
    8293                 :             :                                   }
    8294                 :             :                               }
    8295                 :             :                             break;
    8296                 :             :                           }
    8297                 :             :                         default:;
    8298                 :             :                         }
    8299                 :             :                       break;
    8300                 :             :                     }
    8301                 :             :                   default:;
    8302                 :             :                   }
    8303                 :             :               }
    8304                 :             :           }
    8305                 :           0 :             break;
    8306                 :             :           }
    8307                 :             :         default:;
    8308                 :             :         }
    8309                 :             :     }
    8310                 :             : }
    8311                 :    65477708 :   switch (TREE_CODE (_p0))
    8312                 :             :     {
    8313                 :    30745661 :     CASE_CONVERT:
    8314                 :    30745661 :       {
    8315                 :    30745661 :         tree _q20 = TREE_OPERAND (_p0, 0);
    8316                 :    30745661 :         switch (TREE_CODE (_q20))
    8317                 :             :           {
    8318                 :       72833 :           case NEGATE_EXPR:
    8319                 :       72833 :             {
    8320                 :       72833 :               tree _q30 = TREE_OPERAND (_q20, 0);
    8321                 :       72833 :               switch (TREE_CODE (_p1))
    8322                 :             :                 {
    8323                 :         345 :                 CASE_CONVERT:
    8324                 :         345 :                   {
    8325                 :         345 :                     tree _q50 = TREE_OPERAND (_p1, 0);
    8326                 :         345 :                     if (tree_negate_expr_p (_q50))
    8327                 :             :                       {
    8328                 :           0 :                         {
    8329                 :           0 :                           tree captures[2] ATTRIBUTE_UNUSED = { _q30, _q50 };
    8330                 :           0 :                           tree res = generic_simplify_185 (loc, type, _p0, _p1, captures);
    8331                 :           0 :                           if (res) return res;
    8332                 :             :                         }
    8333                 :             :                       }
    8334                 :             :                     break;
    8335                 :             :                   }
    8336                 :       72833 :                 default:;
    8337                 :             :                 }
    8338                 :       72833 :             if (tree_negate_expr_p (_p1))
    8339                 :             :               {
    8340                 :       72208 :                 {
    8341                 :       72208 :                   tree captures[2] ATTRIBUTE_UNUSED = { _q30, _p1 };
    8342                 :       72208 :                   tree res = generic_simplify_185 (loc, type, _p0, _p1, captures);
    8343                 :       72208 :                   if (res) return res;
    8344                 :             :                 }
    8345                 :             :               }
    8346                 :             :               break;
    8347                 :             :             }
    8348                 :           4 :           case LT_EXPR:
    8349                 :           4 :             {
    8350                 :           4 :               tree _q30 = TREE_OPERAND (_q20, 0);
    8351                 :           4 :               tree _q31 = TREE_OPERAND (_q20, 1);
    8352                 :           4 :               {
    8353                 :           4 :                 tree captures[4] ATTRIBUTE_UNUSED = { _q20, _q30, _q31, _p1 };
    8354                 :           4 :                 tree res = generic_simplify_186 (loc, type, _p0, _p1, captures, LT_EXPR);
    8355                 :           4 :                 if (res) return res;
    8356                 :             :               }
    8357                 :           4 :               break;
    8358                 :             :             }
    8359                 :           6 :           case LE_EXPR:
    8360                 :           6 :             {
    8361                 :           6 :               tree _q30 = TREE_OPERAND (_q20, 0);
    8362                 :           6 :               tree _q31 = TREE_OPERAND (_q20, 1);
    8363                 :           6 :               {
    8364                 :           6 :                 tree captures[4] ATTRIBUTE_UNUSED = { _q20, _q30, _q31, _p1 };
    8365                 :           6 :                 tree res = generic_simplify_186 (loc, type, _p0, _p1, captures, LE_EXPR);
    8366                 :           6 :                 if (res) return res;
    8367                 :             :               }
    8368                 :           6 :               break;
    8369                 :             :             }
    8370                 :           1 :           case EQ_EXPR:
    8371                 :           1 :             {
    8372                 :           1 :               tree _q30 = TREE_OPERAND (_q20, 0);
    8373                 :           1 :               tree _q31 = TREE_OPERAND (_q20, 1);
    8374                 :           1 :               {
    8375                 :           1 :                 tree captures[4] ATTRIBUTE_UNUSED = { _q20, _q30, _q31, _p1 };
    8376                 :           1 :                 tree res = generic_simplify_186 (loc, type, _p0, _p1, captures, EQ_EXPR);
    8377                 :           1 :                 if (res) return res;
    8378                 :             :               }
    8379                 :           1 :               break;
    8380                 :             :             }
    8381                 :        1157 :           case NE_EXPR:
    8382                 :        1157 :             {
    8383                 :        1157 :               tree _q30 = TREE_OPERAND (_q20, 0);
    8384                 :        1157 :               tree _q31 = TREE_OPERAND (_q20, 1);
    8385                 :        1157 :               {
    8386                 :        1157 :                 tree captures[4] ATTRIBUTE_UNUSED = { _q20, _q30, _q31, _p1 };
    8387                 :        1157 :                 tree res = generic_simplify_186 (loc, type, _p0, _p1, captures, NE_EXPR);
    8388                 :        1157 :                 if (res) return res;
    8389                 :             :               }
    8390                 :        1157 :               break;
    8391                 :             :             }
    8392                 :          19 :           case GE_EXPR:
    8393                 :          19 :             {
    8394                 :          19 :               tree _q30 = TREE_OPERAND (_q20, 0);
    8395                 :          19 :               tree _q31 = TREE_OPERAND (_q20, 1);
    8396                 :          19 :               {
    8397                 :          19 :                 tree captures[4] ATTRIBUTE_UNUSED = { _q20, _q30, _q31, _p1 };
    8398                 :          19 :                 tree res = generic_simplify_186 (loc, type, _p0, _p1, captures, GE_EXPR);
    8399                 :          19 :                 if (res) return res;
    8400                 :             :               }
    8401                 :          19 :               break;
    8402                 :             :             }
    8403                 :          19 :           case GT_EXPR:
    8404                 :          19 :             {
    8405                 :          19 :               tree _q30 = TREE_OPERAND (_q20, 0);
    8406                 :          19 :               tree _q31 = TREE_OPERAND (_q20, 1);
    8407                 :          19 :               {
    8408                 :          19 :                 tree captures[4] ATTRIBUTE_UNUSED = { _q20, _q30, _q31, _p1 };
    8409                 :          19 :                 tree res = generic_simplify_186 (loc, type, _p0, _p1, captures, GT_EXPR);
    8410                 :          19 :                 if (res) return res;
    8411                 :             :               }
    8412                 :          19 :               break;
    8413                 :             :             }
    8414                 :           0 :           case UNORDERED_EXPR:
    8415                 :           0 :             {
    8416                 :           0 :               tree _q30 = TREE_OPERAND (_q20, 0);
    8417                 :           0 :               tree _q31 = TREE_OPERAND (_q20, 1);
    8418                 :           0 :               {
    8419                 :           0 :                 tree captures[4] ATTRIBUTE_UNUSED = { _q20, _q30, _q31, _p1 };
    8420                 :           0 :                 tree res = generic_simplify_186 (loc, type, _p0, _p1, captures, UNORDERED_EXPR);
    8421                 :           0 :                 if (res) return res;
    8422                 :             :               }
    8423                 :           0 :               break;
    8424                 :             :             }
    8425                 :           0 :           case ORDERED_EXPR:
    8426                 :           0 :             {
    8427                 :           0 :               tree _q30 = TREE_OPERAND (_q20, 0);
    8428                 :           0 :               tree _q31 = TREE_OPERAND (_q20, 1);
    8429                 :           0 :               {
    8430                 :           0 :                 tree captures[4] ATTRIBUTE_UNUSED = { _q20, _q30, _q31, _p1 };
    8431                 :           0 :                 tree res = generic_simplify_186 (loc, type, _p0, _p1, captures, ORDERED_EXPR);
    8432                 :           0 :                 if (res) return res;
    8433                 :             :               }
    8434                 :           0 :               break;
    8435                 :             :             }
    8436                 :           0 :           case UNLT_EXPR:
    8437                 :           0 :             {
    8438                 :           0 :               tree _q30 = TREE_OPERAND (_q20, 0);
    8439                 :           0 :               tree _q31 = TREE_OPERAND (_q20, 1);
    8440                 :           0 :               {
    8441                 :           0 :                 tree captures[4] ATTRIBUTE_UNUSED = { _q20, _q30, _q31, _p1 };
    8442                 :           0 :                 tree res = generic_simplify_186 (loc, type, _p0, _p1, captures, UNLT_EXPR);
    8443                 :           0 :                 if (res) return res;
    8444                 :             :               }
    8445                 :           0 :               break;
    8446                 :             :             }
    8447                 :           0 :           case UNLE_EXPR:
    8448                 :           0 :             {
    8449                 :           0 :               tree _q30 = TREE_OPERAND (_q20, 0);
    8450                 :           0 :               tree _q31 = TREE_OPERAND (_q20, 1);
    8451                 :           0 :               {
    8452                 :           0 :                 tree captures[4] ATTRIBUTE_UNUSED = { _q20, _q30, _q31, _p1 };
    8453                 :           0 :                 tree res = generic_simplify_186 (loc, type, _p0, _p1, captures, UNLE_EXPR);
    8454                 :           0 :                 if (res) return res;
    8455                 :             :               }
    8456                 :           0 :               break;
    8457                 :             :             }
    8458                 :           0 :           case UNGT_EXPR:
    8459                 :           0 :             {
    8460                 :           0 :               tree _q30 = TREE_OPERAND (_q20, 0);
    8461                 :           0 :               tree _q31 = TREE_OPERAND (_q20, 1);
    8462                 :           0 :               {
    8463                 :           0 :                 tree captures[4] ATTRIBUTE_UNUSED = { _q20, _q30, _q31, _p1 };
    8464                 :           0 :                 tree res = generic_simplify_186 (loc, type, _p0, _p1, captures, UNGT_EXPR);
    8465                 :           0 :                 if (res) return res;
    8466                 :             :               }
    8467                 :           0 :               break;
    8468                 :             :             }
    8469                 :           0 :           case UNGE_EXPR:
    8470                 :           0 :             {
    8471                 :           0 :               tree _q30 = TREE_OPERAND (_q20, 0);
    8472                 :           0 :               tree _q31 = TREE_OPERAND (_q20, 1);
    8473                 :           0 :               {
    8474                 :           0 :                 tree captures[4] ATTRIBUTE_UNUSED = { _q20, _q30, _q31, _p1 };
    8475                 :           0 :                 tree res = generic_simplify_186 (loc, type, _p0, _p1, captures, UNGE_EXPR);
    8476                 :           0 :                 if (res) return res;
    8477                 :             :               }
    8478                 :           0 :               break;
    8479                 :             :             }
    8480                 :           0 :           case UNEQ_EXPR:
    8481                 :           0 :             {
    8482                 :           0 :               tree _q30 = TREE_OPERAND (_q20, 0);
    8483                 :           0 :               tree _q31 = TREE_OPERAND (_q20, 1);
    8484                 :           0 :               {
    8485                 :           0 :                 tree captures[4] ATTRIBUTE_UNUSED = { _q20, _q30, _q31, _p1 };
    8486                 :           0 :                 tree res = generic_simplify_186 (loc, type, _p0, _p1, captures, UNEQ_EXPR);
    8487                 :           0 :                 if (res) return res;
    8488                 :             :               }
    8489                 :           0 :               break;
    8490                 :             :             }
    8491                 :           0 :           case LTGT_EXPR:
    8492                 :           0 :             {
    8493                 :           0 :               tree _q30 = TREE_OPERAND (_q20, 0);
    8494                 :           0 :               tree _q31 = TREE_OPERAND (_q20, 1);
    8495                 :           0 :               {
    8496                 :           0 :                 tree captures[4] ATTRIBUTE_UNUSED = { _q20, _q30, _q31, _p1 };
    8497                 :           0 :                 tree res = generic_simplify_186 (loc, type, _p0, _p1, captures, LTGT_EXPR);
    8498                 :           0 :                 if (res) return res;
    8499                 :             :               }
    8500                 :           0 :               break;
    8501                 :             :             }
    8502                 :    30736894 :           default:;
    8503                 :             :           }
    8504                 :    30736894 :       if (tree_negate_expr_p (_q20))
    8505                 :             :         {
    8506                 :       80581 :           switch (TREE_CODE (_p1))
    8507                 :             :             {
    8508                 :        2512 :             CASE_CONVERT:
    8509                 :        2512 :               {
    8510                 :        2512 :                 tree _q40 = TREE_OPERAND (_p1, 0);
    8511                 :        2512 :                 switch (TREE_CODE (_q40))
    8512                 :             :                   {
    8513                 :           0 :                   case NEGATE_EXPR:
    8514                 :           0 :                     {
    8515                 :           0 :                       tree _q50 = TREE_OPERAND (_q40, 0);
    8516                 :           0 :                       {
    8517                 :           0 :                         tree captures[2] ATTRIBUTE_UNUSED = { _q50, _q20 };
    8518                 :           0 :                         tree res = generic_simplify_185 (loc, type, _p0, _p1, captures);
    8519                 :           0 :                         if (res) return res;
    8520                 :             :                       }
    8521                 :           0 :                       break;
    8522                 :             :                     }
    8523                 :             :                   default:;
    8524                 :             :                   }
    8525                 :             :                 break;
    8526                 :             :               }
    8527                 :           6 :             case NEGATE_EXPR:
    8528                 :           6 :               {
    8529                 :           6 :                 tree _q40 = TREE_OPERAND (_p1, 0);
    8530                 :           6 :                 {
    8531                 :           6 :                   tree captures[2] ATTRIBUTE_UNUSED = { _q40, _q20 };
    8532                 :           6 :                   tree res = generic_simplify_185 (loc, type, _p0, _p1, captures);
    8533                 :           6 :                   if (res) return res;
    8534                 :             :                 }
    8535                 :           0 :                 break;
    8536                 :             :               }
    8537                 :             :             default:;
    8538                 :             :             }
    8539                 :             :         }
    8540                 :             :         break;
    8541                 :             :       }
    8542                 :      446929 :     case NEGATE_EXPR:
    8543                 :      446929 :       {
    8544                 :      446929 :         tree _q20 = TREE_OPERAND (_p0, 0);
    8545                 :      446929 :         switch (TREE_CODE (_p1))
    8546                 :             :           {
    8547                 :      161676 :           CASE_CONVERT:
    8548                 :      161676 :             {
    8549                 :      161676 :               tree _q40 = TREE_OPERAND (_p1, 0);
    8550                 :      161676 :               if (tree_negate_expr_p (_q40))
    8551                 :             :                 {
    8552                 :           0 :                   {
    8553                 :           0 :                     tree captures[2] ATTRIBUTE_UNUSED = { _q20, _q40 };
    8554                 :           0 :                     tree res = generic_simplify_185 (loc, type, _p0, _p1, captures);
    8555                 :           0 :                     if (res) return res;
    8556                 :             :                   }
    8557                 :             :                 }
    8558                 :             :               break;
    8559                 :             :             }
    8560                 :      446929 :           default:;
    8561                 :             :           }
    8562                 :      446929 :       if (tree_negate_expr_p (_p1))
    8563                 :             :         {
    8564                 :       22787 :           {
    8565                 :       22787 :             tree captures[2] ATTRIBUTE_UNUSED = { _q20, _p1 };
    8566                 :       22787 :             tree res = generic_simplify_185 (loc, type, _p0, _p1, captures);
    8567                 :       22787 :             if (res) return res;
    8568                 :             :           }
    8569                 :             :         }
    8570                 :             :         break;
    8571                 :             :       }
    8572                 :    65446148 :     default:;
    8573                 :             :     }
    8574                 :    65446148 : if (tree_negate_expr_p (_p0))
    8575                 :             :   {
    8576                 :      687654 :     switch (TREE_CODE (_p1))
    8577                 :             :       {
    8578                 :      166075 :       CASE_CONVERT:
    8579                 :      166075 :         {
    8580                 :      166075 :           tree _q30 = TREE_OPERAND (_p1, 0);
    8581                 :      166075 :           switch (TREE_CODE (_q30))
    8582                 :             :             {
    8583                 :           0 :             case NEGATE_EXPR:
    8584                 :           0 :               {
    8585                 :           0 :                 tree _q40 = TREE_OPERAND (_q30, 0);
    8586                 :           0 :                 {
    8587                 :           0 :                   tree captures[2] ATTRIBUTE_UNUSED = { _q40, _p0 };
    8588                 :           0 :                   tree res = generic_simplify_185 (loc, type, _p0, _p1, captures);
    8589                 :           0 :                   if (res) return res;
    8590                 :             :                 }
    8591                 :           0 :                 break;
    8592                 :             :               }
    8593                 :             :             default:;
    8594                 :             :             }
    8595                 :             :           break;
    8596                 :             :         }
    8597                 :           6 :       case NEGATE_EXPR:
    8598                 :           6 :         {
    8599                 :           6 :           tree _q30 = TREE_OPERAND (_p1, 0);
    8600                 :           6 :           {
    8601                 :           6 :             tree captures[2] ATTRIBUTE_UNUSED = { _q30, _p0 };
    8602                 :           6 :             tree res = generic_simplify_185 (loc, type, _p0, _p1, captures);
    8603                 :           6 :             if (res) return res;
    8604                 :             :           }
    8605                 :           0 :           break;
    8606                 :             :         }
    8607                 :             :       default:;
    8608                 :             :       }
    8609                 :             :   }
    8610                 :    65446142 : if (tree_zero_one_valued_p (_p0))
    8611                 :             :   {
    8612                 :      173172 :     if (tree_zero_one_valued_p (_p1))
    8613                 :             :       {
    8614                 :        3151 :         {
    8615                 :        3151 :           tree captures[2] ATTRIBUTE_UNUSED = { _p0, _p1 };
    8616                 :        3151 :           if (INTEGRAL_TYPE_P (type)
    8617                 :             : )
    8618                 :             :             {
    8619                 :        3151 :               if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail1560;
    8620                 :        3151 :               {
    8621                 :        3151 :                 tree res_op0;
    8622                 :        3151 :                 res_op0 = captures[0];
    8623                 :        3151 :                 tree res_op1;
    8624                 :        3151 :                 res_op1 = captures[1];
    8625                 :        3151 :                 tree _r;
    8626                 :        3151 :                 _r = fold_build2_loc (loc, BIT_AND_EXPR, type, res_op0, res_op1);
    8627                 :        3151 :                 if (UNLIKELY (debug_dump)) generic_dump_logs ("match.pd", 1000, __FILE__, __LINE__, true);
    8628                 :        3151 :                 return _r;
    8629                 :             :               }
    8630                 :           0 : next_after_fail1560:;
    8631                 :             :             }
    8632                 :             :         }
    8633                 :             :       }
    8634                 :             :   }
    8635                 :    65442991 :   switch (TREE_CODE (_p1))
    8636                 :             :     {
    8637                 :     7407099 :     CASE_CONVERT:
    8638                 :     7407099 :       {
    8639                 :     7407099 :         tree _q30 = TREE_OPERAND (_p1, 0);
    8640                 :     7407099 :         switch (TREE_CODE (_q30))
    8641                 :             :           {
    8642                 :           0 :           case LT_EXPR:
    8643                 :           0 :             {
    8644                 :           0 :               tree _q40 = TREE_OPERAND (_q30, 0);
    8645                 :           0 :               tree _q41 = TREE_OPERAND (_q30, 1);
    8646                 :           0 :               {
    8647                 :           0 :                 tree captures[4] ATTRIBUTE_UNUSED = { _q30, _q40, _q41, _p0 };
    8648                 :           0 :                 tree res = generic_simplify_187 (loc, type, _p0, _p1, captures, LT_EXPR);
    8649                 :           0 :                 if (res) return res;
    8650                 :             :               }
    8651                 :           0 :               break;
    8652                 :             :             }
    8653                 :           0 :           case LE_EXPR:
    8654                 :           0 :             {
    8655                 :           0 :               tree _q40 = TREE_OPERAND (_q30, 0);
    8656                 :           0 :               tree _q41 = TREE_OPERAND (_q30, 1);
    8657                 :           0 :               {
    8658                 :           0 :                 tree captures[4] ATTRIBUTE_UNUSED = { _q30, _q40, _q41, _p0 };
    8659                 :           0 :                 tree res = generic_simplify_187 (loc, type, _p0, _p1, captures, LE_EXPR);
    8660                 :           0 :                 if (res) return res;
    8661                 :             :               }
    8662                 :           0 :               break;
    8663                 :             :             }
    8664                 :           0 :           case EQ_EXPR:
    8665                 :           0 :             {
    8666                 :           0 :               tree _q40 = TREE_OPERAND (_q30, 0);
    8667                 :           0 :               tree _q41 = TREE_OPERAND (_q30, 1);
    8668                 :           0 :               {
    8669                 :           0 :                 tree captures[4] ATTRIBUTE_UNUSED = { _q30, _q40, _q41, _p0 };
    8670                 :           0 :                 tree res = generic_simplify_187 (loc, type, _p0, _p1, captures, EQ_EXPR);
    8671                 :           0 :                 if (res) return res;
    8672                 :             :               }
    8673                 :           0 :               break;
    8674                 :             :             }
    8675                 :           0 :           case NE_EXPR:
    8676                 :           0 :             {
    8677                 :           0 :               tree _q40 = TREE_OPERAND (_q30, 0);
    8678                 :           0 :               tree _q41 = TREE_OPERAND (_q30, 1);
    8679                 :           0 :               {
    8680                 :           0 :                 tree captures[4] ATTRIBUTE_UNUSED = { _q30, _q40, _q41, _p0 };
    8681                 :           0 :                 tree res = generic_simplify_187 (loc, type, _p0, _p1, captures, NE_EXPR);
    8682                 :           0 :                 if (res) return res;
    8683                 :             :               }
    8684                 :           0 :               break;
    8685                 :             :             }
    8686                 :           0 :           case GE_EXPR:
    8687                 :           0 :             {
    8688                 :           0 :               tree _q40 = TREE_OPERAND (_q30, 0);
    8689                 :           0 :               tree _q41 = TREE_OPERAND (_q30, 1);
    8690                 :           0 :               {
    8691                 :           0 :                 tree captures[4] ATTRIBUTE_UNUSED = { _q30, _q40, _q41, _p0 };
    8692                 :           0 :                 tree res = generic_simplify_187 (loc, type, _p0, _p1, captures, GE_EXPR);
    8693                 :           0 :                 if (res) return res;
    8694                 :             :               }
    8695                 :           0 :               break;
    8696                 :             :             }
    8697                 :           0 :           case GT_EXPR:
    8698                 :           0 :             {
    8699                 :           0 :               tree _q40 = TREE_OPERAND (_q30, 0);
    8700                 :           0 :               tree _q41 = TREE_OPERAND (_q30, 1);
    8701                 :           0 :               {
    8702                 :           0 :                 tree captures[4] ATTRIBUTE_UNUSED = { _q30, _q40, _q41, _p0 };
    8703                 :           0 :                 tree res = generic_simplify_187 (loc, type, _p0, _p1, captures, GT_EXPR);
    8704                 :           0 :                 if (res) return res;
    8705                 :             :               }
    8706                 :           0 :               break;
    8707                 :             :             }
    8708                 :           0 :           case UNORDERED_EXPR:
    8709                 :           0 :             {
    8710                 :           0 :               tree _q40 = TREE_OPERAND (_q30, 0);
    8711                 :           0 :               tree _q41 = TREE_OPERAND (_q30, 1);
    8712                 :           0 :               {
    8713                 :           0 :                 tree captures[4] ATTRIBUTE_UNUSED = { _q30, _q40, _q41, _p0 };
    8714                 :           0 :                 tree res = generic_simplify_187 (loc, type, _p0, _p1, captures, UNORDERED_EXPR);
    8715                 :           0 :                 if (res) return res;
    8716                 :             :               }
    8717                 :           0 :               break;
    8718                 :             :             }
    8719                 :           0 :           case ORDERED_EXPR:
    8720                 :           0 :             {
    8721                 :           0 :               tree _q40 = TREE_OPERAND (_q30, 0);
    8722                 :           0 :               tree _q41 = TREE_OPERAND (_q30, 1);
    8723                 :           0 :               {
    8724                 :           0 :                 tree captures[4] ATTRIBUTE_UNUSED = { _q30, _q40, _q41, _p0 };
    8725                 :           0 :                 tree res = generic_simplify_187 (loc, type, _p0, _p1, captures, ORDERED_EXPR);
    8726                 :           0 :                 if (res) return res;
    8727                 :             :               }
    8728                 :           0 :               break;
    8729                 :             :             }
    8730                 :           0 :           case UNLT_EXPR:
    8731                 :           0 :             {
    8732                 :           0 :               tree _q40 = TREE_OPERAND (_q30, 0);
    8733                 :           0 :               tree _q41 = TREE_OPERAND (_q30, 1);
    8734                 :           0 :               {
    8735                 :           0 :                 tree captures[4] ATTRIBUTE_UNUSED = { _q30, _q40, _q41, _p0 };
    8736                 :           0 :                 tree res = generic_simplify_187 (loc, type, _p0, _p1, captures, UNLT_EXPR);
    8737                 :           0 :                 if (res) return res;
    8738                 :             :               }
    8739                 :           0 :               break;
    8740                 :             :             }
    8741                 :           0 :           case UNLE_EXPR:
    8742                 :           0 :             {
    8743                 :           0 :               tree _q40 = TREE_OPERAND (_q30, 0);
    8744                 :           0 :               tree _q41 = TREE_OPERAND (_q30, 1);
    8745                 :           0 :               {
    8746                 :           0 :                 tree captures[4] ATTRIBUTE_UNUSED = { _q30, _q40, _q41, _p0 };
    8747                 :           0 :                 tree res = generic_simplify_187 (loc, type, _p0, _p1, captures, UNLE_EXPR);
    8748                 :           0 :                 if (res) return res;
    8749                 :             :               }
    8750                 :           0 :               break;
    8751                 :             :             }
    8752                 :           0 :           case UNGT_EXPR:
    8753                 :           0 :             {
    8754                 :           0 :               tree _q40 = TREE_OPERAND (_q30, 0);
    8755                 :           0 :               tree _q41 = TREE_OPERAND (_q30, 1);
    8756                 :           0 :               {
    8757                 :           0 :                 tree captures[4] ATTRIBUTE_UNUSED = { _q30, _q40, _q41, _p0 };
    8758                 :           0 :                 tree res = generic_simplify_187 (loc, type, _p0, _p1, captures, UNGT_EXPR);
    8759                 :           0 :                 if (res) return res;
    8760                 :             :               }
    8761                 :           0 :               break;
    8762                 :             :             }
    8763                 :           0 :           case UNGE_EXPR:
    8764                 :           0 :             {
    8765                 :           0 :               tree _q40 = TREE_OPERAND (_q30, 0);
    8766                 :           0 :               tree _q41 = TREE_OPERAND (_q30, 1);
    8767                 :           0 :               {
    8768                 :           0 :                 tree captures[4] ATTRIBUTE_UNUSED = { _q30, _q40, _q41, _p0 };
    8769                 :           0 :                 tree res = generic_simplify_187 (loc, type, _p0, _p1, captures, UNGE_EXPR);
    8770                 :           0 :                 if (res) return res;
    8771                 :             :               }
    8772                 :           0 :               break;
    8773                 :             :             }
    8774                 :           0 :           case UNEQ_EXPR:
    8775                 :           0 :             {
    8776                 :           0 :               tree _q40 = TREE_OPERAND (_q30, 0);
    8777                 :           0 :               tree _q41 = TREE_OPERAND (_q30, 1);
    8778                 :           0 :               {
    8779                 :           0 :                 tree captures[4] ATTRIBUTE_UNUSED = { _q30, _q40, _q41, _p0 };
    8780                 :           0 :                 tree res = generic_simplify_187 (loc, type, _p0, _p1, captures, UNEQ_EXPR);
    8781                 :           0 :                 if (res) return res;
    8782                 :             :               }
    8783                 :           0 :               break;
    8784                 :             :             }
    8785                 :           0 :           case LTGT_EXPR:
    8786                 :           0 :             {
    8787                 :           0 :               tree _q40 = TREE_OPERAND (_q30, 0);
    8788                 :           0 :               tree _q41 = TREE_OPERAND (_q30, 1);
    8789                 :           0 :               {
    8790                 :           0 :                 tree captures[4] ATTRIBUTE_UNUSED = { _q30, _q40, _q41, _p0 };
    8791                 :           0 :                 tree res = generic_simplify_187 (loc, type, _p0, _p1, captures, LTGT_EXPR);
    8792                 :           0 :                 if (res) return res;
    8793                 :             :               }
    8794                 :           0 :               break;
    8795                 :             :             }
    8796                 :             :           default:;
    8797                 :             :           }
    8798                 :             :         break;
    8799                 :             :       }
    8800                 :    65442991 :     default:;
    8801                 :             :     }
    8802                 :    65442991 :   switch (TREE_CODE (_p0))
    8803                 :             :     {
    8804                 :           3 :     case MIN_EXPR:
    8805                 :           3 :       {
    8806                 :           3 :         tree _q20 = TREE_OPERAND (_p0, 0);
    8807                 :           3 :         tree _q21 = TREE_OPERAND (_p0, 1);
    8808                 :           3 :         switch (TREE_CODE (_p1))
    8809                 :             :           {
    8810                 :           0 :           case MAX_EXPR:
    8811                 :           0 :             {
    8812                 :           0 :               tree _q50 = TREE_OPERAND (_p1, 0);
    8813                 :           0 :               tree _q51 = TREE_OPERAND (_p1, 1);
    8814                 :           0 :               if ((_q50 == _q20 && ! TREE_SIDE_EFFECTS (_q50)) || (operand_equal_p (_q50, _q20, 0) && types_match (_q50, _q20)))
    8815                 :             :                 {
    8816                 :           0 :                   if ((_q51 == _q21 && ! TREE_SIDE_EFFECTS (_q51)) || (operand_equal_p (_q51, _q21, 0) && types_match (_q51, _q21)))
    8817                 :             :                     {
    8818                 :           0 :                       {
    8819                 :           0 :                         tree captures[2] ATTRIBUTE_UNUSED = { _q20, _q21 };
    8820                 :           0 :                         if (!HONOR_NANS (captures[0])
    8821                 :             : )
    8822                 :             :                           {
    8823                 :           0 :                             if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail1561;
    8824                 :           0 :                             {
    8825                 :           0 :                               tree res_op0;
    8826                 :           0 :                               res_op0 = captures[0];
    8827                 :           0 :                               tree res_op1;
    8828                 :           0 :                               res_op1 = captures[1];
    8829                 :           0 :                               tree _r;
    8830                 :           0 :                               _r = fold_build2_loc (loc, MULT_EXPR, type, res_op0, res_op1);
    8831                 :           0 :                               if (UNLIKELY (debug_dump)) generic_dump_logs ("match.pd", 915, __FILE__, __LINE__, true);
    8832                 :           0 :                               return _r;
    8833                 :             :                             }
    8834                 :           0 : next_after_fail1561:;
    8835                 :             :                           }
    8836                 :             :                       }
    8837                 :             :                     }
    8838                 :             :                 }
    8839                 :           0 :               if ((_q50 == _q21 && ! TREE_SIDE_EFFECTS (_q50)) || (operand_equal_p (_q50, _q21, 0) && types_match (_q50, _q21)))
    8840                 :             :                 {
    8841                 :           0 :                   if ((_q51 == _q20 && ! TREE_SIDE_EFFECTS (_q51)) || (operand_equal_p (_q51, _q20, 0) && types_match (_q51, _q20)))
    8842                 :             :                     {
    8843                 :           0 :                       {
    8844                 :           0 :                         tree captures[2] ATTRIBUTE_UNUSED = { _q21, _q20 };
    8845                 :           0 :                         if (!HONOR_NANS (captures[0])
    8846                 :             : )
    8847                 :             :                           {
    8848                 :           0 :                             if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail1562;
    8849                 :           0 :                             {
    8850                 :           0 :                               tree res_op0;
    8851                 :           0 :                               res_op0 = captures[0];
    8852                 :           0 :                               tree res_op1;
    8853                 :           0 :                               res_op1 = captures[1];
    8854                 :           0 :                               tree _r;
    8855                 :           0 :                               _r = fold_build2_loc (loc, MULT_EXPR, type, res_op0, res_op1);
    8856                 :           0 :                               if (UNLIKELY (debug_dump)) generic_dump_logs ("match.pd", 915, __FILE__, __LINE__, true);
    8857                 :           0 :                               return _r;
    8858                 :             :                             }
    8859                 :           0 : next_after_fail1562:;
    8860                 :             :                           }
    8861                 :             :                       }
    8862                 :             :                     }
    8863                 :             :                 }
    8864                 :             :               break;
    8865                 :             :             }
    8866                 :             :           default:;
    8867                 :             :           }
    8868                 :             :         break;
    8869                 :             :       }
    8870                 :         136 :     case MAX_EXPR:
    8871                 :         136 :       {
    8872                 :         136 :         tree _q20 = TREE_OPERAND (_p0, 0);
    8873                 :         136 :         tree _q21 = TREE_OPERAND (_p0, 1);
    8874                 :         136 :         switch (TREE_CODE (_p1))
    8875                 :             :           {
    8876                 :           0 :           case MIN_EXPR:
    8877                 :           0 :             {
    8878                 :           0 :               tree _q50 = TREE_OPERAND (_p1, 0);
    8879                 :           0 :               tree _q51 = TREE_OPERAND (_p1, 1);
    8880                 :           0 :               if ((_q50 == _q20 && ! TREE_SIDE_EFFECTS (_q50)) || (operand_equal_p (_q50, _q20, 0) && types_match (_q50, _q20)))
    8881                 :             :                 {
    8882                 :           0 :                   if ((_q51 == _q21 && ! TREE_SIDE_EFFECTS (_q51)) || (operand_equal_p (_q51, _q21, 0) && types_match (_q51, _q21)))
    8883                 :             :                     {
    8884                 :           0 :                       {
    8885                 :           0 :                         tree captures[2] ATTRIBUTE_UNUSED = { _q20, _q21 };
    8886                 :           0 :                         if (!HONOR_NANS (captures[0])
    8887                 :             : )
    8888                 :             :                           {
    8889                 :           0 :                             if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail1563;
    8890                 :           0 :                             {
    8891                 :           0 :                               tree res_op0;
    8892                 :           0 :                               res_op0 = captures[0];
    8893                 :           0 :                               tree res_op1;
    8894                 :           0 :                               res_op1 = captures[1];
    8895                 :           0 :                               tree _r;
    8896                 :           0 :                               _r = fold_build2_loc (loc, MULT_EXPR, type, res_op0, res_op1);
    8897                 :           0 :                               if (UNLIKELY (debug_dump)) generic_dump_logs ("match.pd", 915, __FILE__, __LINE__, true);
    8898                 :           0 :                               return _r;
    8899                 :             :                             }
    8900                 :           0 : next_after_fail1563:;
    8901                 :             :                           }
    8902                 :             :                       }
    8903                 :             :                     }
    8904                 :             :                 }
    8905                 :           0 :               if ((_q50 == _q21 && ! TREE_SIDE_EFFECTS (_q50)) || (operand_equal_p (_q50, _q21, 0) && types_match (_q50, _q21)))
    8906                 :             :                 {
    8907                 :           0 :                   if ((_q51 == _q20 && ! TREE_SIDE_EFFECTS (_q51)) || (operand_equal_p (_q51, _q20, 0) && types_match (_q51, _q20)))
    8908                 :             :                     {
    8909                 :           0 :                       {
    8910                 :           0 :                         tree captures[2] ATTRIBUTE_UNUSED = { _q20, _q21 };
    8911                 :           0 :                         if (!HONOR_NANS (captures[0])
    8912                 :             : )
    8913                 :             :                           {
    8914                 :           0 :                             if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail1564;
    8915                 :           0 :                             {
    8916                 :           0 :                               tree res_op0;
    8917                 :           0 :                               res_op0 = captures[0];
    8918                 :           0 :                               tree res_op1;
    8919                 :           0 :                               res_op1 = captures[1];
    8920                 :           0 :                               tree _r;
    8921                 :           0 :                               _r = fold_build2_loc (loc, MULT_EXPR, type, res_op0, res_op1);
    8922                 :           0 :                               if (UNLIKELY (debug_dump)) generic_dump_logs ("match.pd", 915, __FILE__, __LINE__, true);
    8923                 :           0 :                               return _r;
    8924                 :             :                             }
    8925                 :           0 : next_after_fail1564:;
    8926                 :             :                           }
    8927                 :             :                       }
    8928                 :             :                     }
    8929                 :             :                 }
    8930                 :             :               break;
    8931                 :             :             }
    8932                 :             :           default:;
    8933                 :             :           }
    8934                 :             :         break;
    8935                 :             :       }
    8936                 :    30733740 :     CASE_CONVERT:
    8937                 :    30733740 :       {
    8938                 :    30733740 :         tree _q20 = TREE_OPERAND (_p0, 0);
    8939                 :    30733740 :         switch (TREE_CODE (_q20))
    8940                 :             :           {
    8941                 :          82 :           case BIT_AND_EXPR:
    8942                 :          82 :             {
    8943                 :          82 :               tree _q30 = TREE_OPERAND (_q20, 0);
    8944                 :          82 :               tree _q31 = TREE_OPERAND (_q20, 1);
    8945                 :          82 :               switch (TREE_CODE (_q30))
    8946                 :             :                 {
    8947                 :           0 :                 CASE_CONVERT:
    8948                 :           0 :                   {
    8949                 :           0 :                     tree _q40 = TREE_OPERAND (_q30, 0);
    8950                 :           0 :                     switch (TREE_CODE (_q40))
    8951                 :             :                       {
    8952                 :           0 :                       case RSHIFT_EXPR:
    8953                 :           0 :                         {
    8954                 :           0 :                           tree _q50 = TREE_OPERAND (_q40, 0);
    8955                 :           0 :                           tree _q51 = TREE_OPERAND (_q40, 1);
    8956                 :           0 :                           switch (TREE_CODE (_q51))
    8957                 :             :                             {
    8958                 :           0 :                             case INTEGER_CST:
    8959                 :           0 :                               {
    8960                 :           0 :                                 switch (TREE_CODE (_q31))
    8961                 :             :                                   {
    8962                 :           0 :                                   case INTEGER_CST:
    8963                 :           0 :                                     {
    8964                 :           0 :                                       switch (TREE_CODE (_p1))
    8965                 :             :                                         {
    8966                 :           0 :                                         case INTEGER_CST:
    8967                 :           0 :                                           {
    8968                 :           0 :                                             {
    8969                 :           0 :                                               tree captures[4] ATTRIBUTE_UNUSED = { _q50, _q51, _q31, _p1 };
    8970                 :           0 :                                               tree res = generic_simplify_188 (loc, type, _p0, _p1, captures);
    8971                 :           0 :                                               if (res) return res;
    8972                 :             :                                             }
    8973                 :           0 :                                             break;
    8974                 :             :                                           }
    8975                 :             :                                         default:;
    8976                 :             :                                         }
    8977                 :             :                                       break;
    8978                 :             :                                     }
    8979                 :             :                                   default:;
    8980                 :             :                                   }
    8981                 :             :                                 break;
    8982                 :             :                               }
    8983                 :             :                             default:;
    8984                 :             :                             }
    8985                 :             :                           break;
    8986                 :             :                         }
    8987                 :             :                       default:;
    8988                 :             :                       }
    8989                 :             :                     break;
    8990                 :             :                   }
    8991                 :             :                 default:;
    8992                 :             :                 }
    8993                 :             :               break;
    8994                 :             :             }
    8995                 :       22903 :           case EXACT_DIV_EXPR:
    8996                 :       22903 :             {
    8997                 :       22903 :               tree _q30 = TREE_OPERAND (_q20, 0);
    8998                 :       22903 :               tree _q31 = TREE_OPERAND (_q20, 1);
    8999                 :       22903 :               switch (TREE_CODE (_p1))
    9000                 :             :                 {
    9001                 :           0 :                 CASE_CONVERT:
    9002                 :           0 :                   {
    9003                 :           0 :                     tree _q60 = TREE_OPERAND (_p1, 0);
    9004                 :           0 :                     if ((_q60 == _q31 && ! TREE_SIDE_EFFECTS (_q60)) || operand_equal_p (_q60, _q31, 0))
    9005                 :             :                       {
    9006                 :           0 :                         {
    9007                 :           0 :                           tree captures[3] ATTRIBUTE_UNUSED = { _q30, _q31, _q31 };
    9008                 :           0 :                           tree res = generic_simplify_189 (loc, type, _p0, _p1, captures);
    9009                 :           0 :                           if (res) return res;
    9010                 :             :                         }
    9011                 :             :                       }
    9012                 :             :                     break;
    9013                 :             :                   }
    9014                 :       22903 :                 default:;
    9015                 :             :                 }
    9016                 :       22903 :               if ((_p1 == _q31 && ! TREE_SIDE_EFFECTS (_p1)) || operand_equal_p (_p1, _q31, 0))
    9017                 :             :                 {
    9018                 :       19731 :                   {
    9019                 :       19731 :                     tree captures[3] ATTRIBUTE_UNUSED = { _q30, _q31, _q31 };
    9020                 :       19731 :                     tree res = generic_simplify_189 (loc, type, _p0, _p1, captures);
    9021                 :       19731 :                     if (res) return res;
    9022                 :             :                   }
    9023                 :             :                 }
    9024                 :        3172 :               switch (TREE_CODE (_q31))
    9025                 :             :                 {
    9026                 :        3172 :                 case INTEGER_CST:
    9027                 :        3172 :                   {
    9028                 :        3172 :                     if (poly_int_tree_p (_p1))
    9029                 :             :                       {
    9030                 :        3172 :                         {
    9031                 :        3172 :                           tree captures[3] ATTRIBUTE_UNUSED = { _q30, _q31, _p1 };
    9032                 :        3172 :                           tree res = generic_simplify_190 (loc, type, _p0, _p1, captures);
    9033                 :        3172 :                           if (res) return res;
    9034                 :             :                         }
    9035                 :             :                       }
    9036                 :             :                     break;
    9037                 :             :                   }
    9038                 :             :                 default:;
    9039                 :             :                 }
    9040                 :             :               break;
    9041                 :             :             }
    9042                 :     1337418 :           case PLUS_EXPR:
    9043                 :     1337418 :             {
    9044                 :     1337418 :               tree _q30 = TREE_OPERAND (_q20, 0);
    9045                 :     1337418 :               tree _q31 = TREE_OPERAND (_q20, 1);
    9046                 :     1337418 :               switch (TREE_CODE (_q30))
    9047                 :             :                 {
    9048                 :      176357 :                 CASE_CONVERT:
    9049                 :      176357 :                   {
    9050                 :      176357 :                     tree _q40 = TREE_OPERAND (_q30, 0);
    9051                 :      176357 :                     switch (TREE_CODE (_q40))
    9052                 :             :                       {
    9053                 :           0 :                       case EXACT_DIV_EXPR:
    9054                 :           0 :                         {
    9055                 :           0 :                           tree _q50 = TREE_OPERAND (_q40, 0);
    9056                 :           0 :                           tree _q51 = TREE_OPERAND (_q40, 1);
    9057                 :           0 :                           switch (TREE_CODE (_q51))
    9058                 :             :                             {
    9059                 :           0 :                             case INTEGER_CST:
    9060                 :           0 :                               {
    9061                 :           0 :                                 if (poly_int_tree_p (_q31))
    9062                 :             :                                   {
    9063                 :           0 :                                     if (poly_int_tree_p (_p1))
    9064                 :             :                                       {
    9065                 :           0 :                                         {
    9066                 :           0 :                                           tree captures[4] ATTRIBUTE_UNUSED = { _q50, _q51, _q31, _p1 };
    9067                 :           0 :                                           tree res = generic_simplify_191 (loc, type, _p0, _p1, captures, PLUS_EXPR);
    9068                 :           0 :                                           if (res) return res;
    9069                 :             :                                         }
    9070                 :             :                                       }
    9071                 :             :                                   }
    9072                 :             :                                 break;
    9073                 :             :                               }
    9074                 :             :                             default:;
    9075                 :             :                             }
    9076                 :             :                           break;
    9077                 :             :                         }
    9078                 :             :                       default:;
    9079                 :             :                       }
    9080                 :             :                     break;
    9081                 :             :                   }
    9082                 :         112 :                 case EXACT_DIV_EXPR:
    9083                 :         112 :                   {
    9084                 :         112 :                     tree _q40 = TREE_OPERAND (_q30, 0);
    9085                 :         112 :                     tree _q41 = TREE_OPERAND (_q30, 1);
    9086                 :         112 :                     switch (TREE_CODE (_q41))
    9087                 :             :                       {
    9088                 :         112 :                       case INTEGER_CST:
    9089                 :         112 :                         {
    9090                 :         112 :                           if (poly_int_tree_p (_q31))
    9091                 :             :                             {
    9092                 :         112 :                               if (poly_int_tree_p (_p1))
    9093                 :             :                                 {
    9094                 :         112 :                                   {
    9095                 :         112 :                                     tree captures[4] ATTRIBUTE_UNUSED = { _q40, _q41, _q31, _p1 };
    9096                 :         112 :                                     tree res = generic_simplify_191 (loc, type, _p0, _p1, captures, PLUS_EXPR);
    9097                 :         112 :                                     if (res) return res;
    9098                 :             :                                   }
    9099                 :             :                                 }
    9100                 :             :                             }
    9101                 :             :                           break;
    9102                 :             :                         }
    9103                 :             :                       default:;
    9104                 :             :                       }
    9105                 :             :                     break;
    9106                 :             :                   }
    9107                 :             :                 default:;
    9108                 :             :                 }
    9109                 :             :               break;
    9110                 :             :             }
    9111                 :       99669 :           case MINUS_EXPR:
    9112                 :       99669 :             {
    9113                 :       99669 :               tree _q30 = TREE_OPERAND (_q20, 0);
    9114                 :       99669 :               tree _q31 = TREE_OPERAND (_q20, 1);
    9115                 :       99669 :               switch (TREE_CODE (_q30))
    9116                 :             :                 {
    9117                 :       25633 :                 CASE_CONVERT:
    9118                 :       25633 :                   {
    9119                 :       25633 :                     tree _q40 = TREE_OPERAND (_q30, 0);
    9120                 :       25633 :                     switch (TREE_CODE (_q40))
    9121                 :             :                       {
    9122                 :           0 :                       case EXACT_DIV_EXPR:
    9123                 :           0 :                         {
    9124                 :           0 :                           tree _q50 = TREE_OPERAND (_q40, 0);
    9125                 :           0 :                           tree _q51 = TREE_OPERAND (_q40, 1);
    9126                 :           0 :                           switch (TREE_CODE (_q51))
    9127                 :             :                             {
    9128                 :           0 :                             case INTEGER_CST:
    9129                 :           0 :                               {
    9130                 :           0 :                                 if (poly_int_tree_p (_q31))
    9131                 :             :                                   {
    9132                 :           0 :                                     if (poly_int_tree_p (_p1))
    9133                 :             :                                       {
    9134                 :           0 :                                         {
    9135                 :           0 :                                           tree captures[4] ATTRIBUTE_UNUSED = { _q50, _q51, _q31, _p1 };
    9136                 :           0 :                                           tree res = generic_simplify_191 (loc, type, _p0, _p1, captures, MINUS_EXPR);
    9137                 :           0 :                                           if (res) return res;
    9138                 :             :                                         }
    9139                 :             :                                       }
    9140                 :             :                                   }
    9141                 :             :                                 break;
    9142                 :             :                               }
    9143                 :             :                             default:;
    9144                 :             :                             }
    9145                 :             :                           break;
    9146                 :             :                         }
    9147                 :             :                       default:;
    9148                 :             :                       }
    9149                 :             :                     break;
    9150                 :             :                   }
    9151                 :           0 :                 case EXACT_DIV_EXPR:
    9152                 :           0 :                   {
    9153                 :           0 :                     tree _q40 = TREE_OPERAND (_q30, 0);
    9154                 :           0 :                     tree _q41 = TREE_OPERAND (_q30, 1);
    9155                 :           0 :                     switch (TREE_CODE (_q41))
    9156                 :             :                       {
    9157                 :           0 :                       case INTEGER_CST:
    9158                 :           0 :                         {
    9159                 :           0 :                           if (poly_int_tree_p (_q31))
    9160                 :             :                             {
    9161                 :           0 :                               if (poly_int_tree_p (_p1))
    9162                 :             :                                 {
    9163                 :           0 :                                   {
    9164                 :           0 :                                     tree captures[4] ATTRIBUTE_UNUSED = { _q40, _q41, _q31, _p1 };
    9165                 :           0 :                                     tree res = generic_simplify_191 (loc, type, _p0, _p1, captures, MINUS_EXPR);
    9166                 :           0 :                                     if (res) return res;
    9167                 :             :                                   }
    9168                 :             :                                 }
    9169                 :             :                             }
    9170                 :             :                           break;
    9171                 :             :                         }
    9172                 :             :                       default:;
    9173                 :             :                       }
    9174                 :             :                     break;
    9175                 :             :                   }
    9176                 :             :                 default:;
    9177                 :             :                 }
    9178                 :             :               break;
    9179                 :             :             }
    9180                 :             :           default:;
    9181                 :             :           }
    9182                 :             :         break;
    9183                 :             :       }
    9184                 :       32279 :     case BIT_AND_EXPR:
    9185                 :       32279 :       {
    9186                 :       32279 :         tree _q20 = TREE_OPERAND (_p0, 0);
    9187                 :       32279 :         tree _q21 = TREE_OPERAND (_p0, 1);
    9188                 :       32279 :         switch (TREE_CODE (_q20))
    9189                 :             :           {
    9190                 :         275 :           case RSHIFT_EXPR:
    9191                 :         275 :             {
    9192                 :         275 :               tree _q30 = TREE_OPERAND (_q20, 0);
    9193                 :         275 :               tree _q31 = TREE_OPERAND (_q20, 1);
    9194                 :         275 :               switch (TREE_CODE (_q31))
    9195                 :             :                 {
    9196                 :          14 :                 case INTEGER_CST:
    9197                 :          14 :                   {
    9198                 :          14 :                     switch (TREE_CODE (_q21))
    9199                 :             :                       {
    9200                 :          14 :                       case INTEGER_CST:
    9201                 :          14 :                         {
    9202                 :          14 :                           switch (TREE_CODE (_p1))
    9203                 :             :                             {
    9204                 :          14 :                             case INTEGER_CST:
    9205                 :          14 :                               {
    9206                 :          14 :                                 {
    9207                 :          14 :                                   tree captures[4] ATTRIBUTE_UNUSED = { _q30, _q31, _q21, _p1 };
    9208                 :          14 :                                   tree res = generic_simplify_188 (loc, type, _p0, _p1, captures);
    9209                 :          14 :                                   if (res) return res;
    9210                 :             :                                 }
    9211                 :           8 :                                 break;
    9212                 :             :                               }
    9213                 :             :                             default:;
    9214                 :             :                             }
    9215                 :             :                           break;
    9216                 :             :                         }
    9217                 :             :                       default:;
    9218                 :             :                       }
    9219                 :             :                     break;
    9220                 :             :                   }
    9221                 :             :                 default:;
    9222                 :             :                 }
    9223                 :             :               break;
    9224                 :             :             }
    9225                 :             :           default:;
    9226                 :             :           }
    9227                 :             :         break;
    9228                 :             :       }
    9229                 :      154682 :     case EXACT_DIV_EXPR:
    9230                 :      154682 :       {
    9231                 :      154682 :         tree _q20 = TREE_OPERAND (_p0, 0);
    9232                 :      154682 :         tree _q21 = TREE_OPERAND (_p0, 1);
    9233                 :      154682 :         switch (TREE_CODE (_p1))
    9234                 :             :           {
    9235                 :         102 :           CASE_CONVERT:
    9236                 :         102 :             {
    9237                 :         102 :               tree _q50 = TREE_OPERAND (_p1, 0);
    9238                 :         102 :               if ((_q50 == _q21 && ! TREE_SIDE_EFFECTS (_q50)) || operand_equal_p (_q50, _q21, 0))
    9239                 :             :                 {
    9240                 :           0 :                   {
    9241                 :           0 :                     tree captures[3] ATTRIBUTE_UNUSED = { _q20, _q21, _q21 };
    9242                 :           0 :                     tree res = generic_simplify_189 (loc, type, _p0, _p1, captures);
    9243                 :           0 :                     if (res) return res;
    9244                 :             :                   }
    9245                 :             :                 }
    9246                 :             :               break;
    9247                 :             :             }
    9248                 :      154682 :           default:;
    9249                 :             :           }
    9250                 :      154682 :         if ((_p1 == _q21 && ! TREE_SIDE_EFFECTS (_p1)) || operand_equal_p (_p1, _q21, 0))
    9251                 :             :           {
    9252                 :       16819 :             {
    9253                 :       16819 :               tree captures[3] ATTRIBUTE_UNUSED = { _q20, _q21, _q21 };
    9254                 :       16819 :               tree res = generic_simplify_189 (loc, type, _p0, _p1, captures);
    9255                 :       16819 :               if (res) return res;
    9256                 :             :             }
    9257                 :             :           }
    9258                 :      137863 :         switch (TREE_CODE (_q21))
    9259                 :             :           {
    9260                 :      137863 :           case INTEGER_CST:
    9261                 :      137863 :             {
    9262                 :      137863 :               if (poly_int_tree_p (_p1))
    9263                 :             :                 {
    9264                 :      137761 :                   {
    9265                 :      137761 :                     tree captures[3] ATTRIBUTE_UNUSED = { _q20, _q21, _p1 };
    9266                 :      137761 :                     tree res = generic_simplify_190 (loc, type, _p0, _p1, captures);
    9267                 :      137761 :                     if (res) return res;
    9268                 :             :                   }
    9269                 :             :                 }
    9270                 :             :               break;
    9271                 :             :             }
    9272                 :             :           default:;
    9273                 :             :           }
    9274                 :             :         break;
    9275                 :             :       }
    9276                 :     7204624 :     case PLUS_EXPR:
    9277                 :     7204624 :       {
    9278                 :     7204624 :         tree _q20 = TREE_OPERAND (_p0, 0);
    9279                 :     7204624 :         tree _q21 = TREE_OPERAND (_p0, 1);
    9280                 :     7204624 :         switch (TREE_CODE (_q20))
    9281                 :             :           {
    9282                 :     3324262 :           CASE_CONVERT:
    9283                 :     3324262 :             {
    9284                 :     3324262 :               tree _q30 = TREE_OPERAND (_q20, 0);
    9285                 :     3324262 :               switch (TREE_CODE (_q30))
    9286                 :             :                 {
    9287                 :        4255 :                 case EXACT_DIV_EXPR:
    9288                 :        4255 :                   {
    9289                 :        4255 :                     tree _q40 = TREE_OPERAND (_q30, 0);
    9290                 :        4255 :                     tree _q41 = TREE_OPERAND (_q30, 1);
    9291                 :        4255 :                     switch (TREE_CODE (_q41))
    9292                 :             :                       {
    9293                 :        4255 :                       case INTEGER_CST:
    9294                 :        4255 :                         {
    9295                 :        4255 :                           if (poly_int_tree_p (_q21))
    9296                 :             :                             {
    9297                 :        4255 :                               if (poly_int_tree_p (_p1))
    9298                 :             :                                 {
    9299                 :        4255 :                                   {
    9300                 :        4255 :                                     tree captures[4] ATTRIBUTE_UNUSED = { _q40, _q41, _q21, _p1 };
    9301                 :        4255 :                                     tree res = generic_simplify_191 (loc, type, _p0, _p1, captures, PLUS_EXPR);
    9302                 :        4255 :                                     if (res) return res;
    9303                 :             :                                   }
    9304                 :             :                                 }
    9305                 :             :                             }
    9306                 :             :                           break;
    9307                 :             :                         }
    9308                 :             :                       default:;
    9309                 :             :                       }
    9310                 :             :                     break;
    9311                 :             :                   }
    9312                 :             :                 default:;
    9313                 :             :                 }
    9314                 :             :               break;
    9315                 :             :             }
    9316                 :           0 :           case EXACT_DIV_EXPR:
    9317                 :           0 :             {
    9318                 :           0 :               tree _q30 = TREE_OPERAND (_q20, 0);
    9319                 :           0 :               tree _q31 = TREE_OPERAND (_q20, 1);
    9320                 :           0 :               switch (TREE_CODE (_q31))
    9321                 :             :                 {
    9322                 :           0 :                 case INTEGER_CST:
    9323                 :           0 :                   {
    9324                 :           0 :                     if (poly_int_tree_p (_q21))
    9325                 :             :                       {
    9326                 :           0 :                         if (poly_int_tree_p (_p1))
    9327                 :             :                           {
    9328                 :           0 :                             {
    9329                 :           0 :                               tree captures[4] ATTRIBUTE_UNUSED = { _q30, _q31, _q21, _p1 };
    9330                 :           0 :                               tree res = generic_simplify_191 (loc, type, _p0, _p1, captures, PLUS_EXPR);
    9331                 :           0 :                               if (res) return res;
    9332                 :             :                             }
    9333                 :             :                           }
    9334                 :             :                       }
    9335                 :             :                     break;
    9336                 :             :                   }
    9337                 :             :                 default:;
    9338                 :             :                 }
    9339                 :             :               break;
    9340                 :             :             }
    9341                 :             :           default:;
    9342                 :             :           }
    9343                 :             :         break;
    9344                 :             :       }
    9345                 :     1105328 :     case MINUS_EXPR:
    9346                 :     1105328 :       {
    9347                 :     1105328 :         tree _q20 = TREE_OPERAND (_p0, 0);
    9348                 :     1105328 :         tree _q21 = TREE_OPERAND (_p0, 1);
    9349                 :     1105328 :         switch (TREE_CODE (_q20))
    9350                 :             :           {
    9351                 :      257739 :           CASE_CONVERT:
    9352                 :      257739 :             {
    9353                 :      257739 :               tree _q30 = TREE_OPERAND (_q20, 0);
    9354                 :      257739 :               switch (TREE_CODE (_q30))
    9355                 :             :                 {
    9356                 :           0 :                 case EXACT_DIV_EXPR:
    9357                 :           0 :                   {
    9358                 :           0 :                     tree _q40 = TREE_OPERAND (_q30, 0);
    9359                 :           0 :                     tree _q41 = TREE_OPERAND (_q30, 1);
    9360                 :           0 :                     switch (TREE_CODE (_q41))
    9361                 :             :                       {
    9362                 :           0 :                       case INTEGER_CST:
    9363                 :           0 :                         {
    9364                 :           0 :                           if (poly_int_tree_p (_q21))
    9365                 :             :                             {
    9366                 :           0 :                               if (poly_int_tree_p (_p1))
    9367                 :             :                                 {
    9368                 :           0 :                                   {
    9369                 :           0 :                                     tree captures[4] ATTRIBUTE_UNUSED = { _q40, _q41, _q21, _p1 };
    9370                 :           0 :                                     tree res = generic_simplify_191 (loc, type, _p0, _p1, captures, MINUS_EXPR);
    9371                 :           0 :                                     if (res) return res;
    9372                 :             :                                   }
    9373                 :             :                                 }
    9374                 :             :                             }
    9375                 :             :                           break;
    9376                 :             :                         }
    9377                 :             :                       default:;
    9378                 :             :                       }
    9379                 :             :                     break;
    9380                 :             :                   }
    9381                 :             :                 default:;
    9382                 :             :                 }
    9383                 :             :               break;
    9384                 :             :             }
    9385                 :           0 :           case EXACT_DIV_EXPR:
    9386                 :           0 :             {
    9387                 :           0 :               tree _q30 = TREE_OPERAND (_q20, 0);
    9388                 :           0 :               tree _q31 = TREE_OPERAND (_q20, 1);
    9389                 :           0 :               switch (TREE_CODE (_q31))
    9390                 :             :                 {
    9391                 :           0 :                 case INTEGER_CST:
    9392                 :           0 :                   {
    9393                 :           0 :                     if (poly_int_tree_p (_q21))
    9394                 :             :                       {
    9395                 :           0 :                         if (poly_int_tree_p (_p1))
    9396                 :             :                           {
    9397                 :           0 :                             {
    9398                 :           0 :                               tree captures[4] ATTRIBUTE_UNUSED = { _q30, _q31, _q21, _p1 };
    9399                 :           0 :                               tree res = generic_simplify_191 (loc, type, _p0, _p1, captures, MINUS_EXPR);
    9400                 :           0 :                               if (res) return res;
    9401                 :             :                             }
    9402                 :             :                           }
    9403                 :             :                       }
    9404                 :             :                     break;
    9405                 :             :                   }
    9406                 :             :                 default:;
    9407                 :             :                 }
    9408                 :             :               break;
    9409                 :             :             }
    9410                 :             :           default:;
    9411                 :             :           }
    9412                 :             :         break;
    9413                 :             :       }
    9414                 :    65355921 :     default:;
    9415                 :             :     }
    9416                 :    65355921 :   if (integer_minus_onep (_p1))
    9417                 :             :     {
    9418                 :      263872 :       {
    9419                 :      263872 :         tree captures[1] ATTRIBUTE_UNUSED = { _p0 };
    9420                 :      263872 :         if (TREE_SIDE_EFFECTS (_p1)) goto next_after_fail1565;
    9421                 :      263872 :         if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail1565;
    9422                 :      263872 :         {
    9423                 :      263872 :           tree res_op0;
    9424                 :      263872 :           res_op0 = captures[0];
    9425                 :      263872 :           tree _r;
    9426                 :      263872 :           _r = fold_build1_loc (loc, NEGATE_EXPR, type, res_op0);
    9427                 :      263872 :           if (UNLIKELY (debug_dump)) generic_dump_logs ("match.pd", 1001, __FILE__, __LINE__, true);
    9428                 :      263872 :           return _r;
    9429                 :             :         }
    9430                 :             : next_after_fail1565:;
    9431                 :             :       }
    9432                 :             :     }
    9433                 :    65092049 :   switch (TREE_CODE (_p0))
    9434                 :             :     {
    9435                 :     4896122 :     case MULT_EXPR:
    9436                 :     4896122 :       {
    9437                 :     4896122 :         tree _q20 = TREE_OPERAND (_p0, 0);
    9438                 :     4896122 :         tree _q21 = TREE_OPERAND (_p0, 1);
    9439                 :     4896122 :         switch (TREE_CODE (_q21))
    9440                 :             :           {
    9441                 :      101345 :           case INTEGER_CST:
    9442                 :      101345 :             {
    9443                 :      101345 :               {
    9444                 :      101345 :                 tree captures[4] ATTRIBUTE_UNUSED = { _p0, _q20, _q21, _p1 };
    9445                 :      101345 :                 tree res = generic_simplify_192 (loc, type, _p0, _p1, captures);
    9446                 :      101345 :                 if (res) return res;
    9447                 :             :               }
    9448                 :          30 :               break;
    9449                 :             :             }
    9450                 :             :           default:;
    9451                 :             :           }
    9452                 :             :         break;
    9453                 :             :       }
    9454                 :    64990734 :     default:;
    9455                 :             :     }
    9456                 :    64990734 :   switch (TREE_CODE (_p1))
    9457                 :             :     {
    9458                 :       23574 :     case MULT_EXPR:
    9459                 :       23574 :       {
    9460                 :       23574 :         tree _q30 = TREE_OPERAND (_p1, 0);
    9461                 :       23574 :         tree _q31 = TREE_OPERAND (_p1, 1);
    9462                 :       23574 :         switch (TREE_CODE (_q31))
    9463                 :             :           {
    9464                 :       17211 :           case INTEGER_CST:
    9465                 :       17211 :             {
    9466                 :       17211 :               {
    9467                 :       17211 :                 tree captures[4] ATTRIBUTE_UNUSED = { _p1, _q30, _q31, _p0 };
    9468                 :       17211 :                 tree res = generic_simplify_192 (loc, type, _p0, _p1, captures);
    9469                 :       17211 :                 if (res) return res;
    9470                 :             :               }
    9471                 :           0 :               break;
    9472                 :             :             }
    9473                 :             :           default:;
    9474                 :             :           }
    9475                 :             :         break;
    9476                 :             :       }
    9477                 :    64973523 :     default:;
    9478                 :             :     }
    9479                 :    64973523 :   switch (TREE_CODE (_p0))
    9480                 :             :     {
    9481                 :          36 :     case VEC_COND_EXPR:
    9482                 :          36 :       {
    9483                 :          36 :         tree _q20 = TREE_OPERAND (_p0, 0);
    9484                 :          36 :         tree _q21 = TREE_OPERAND (_p0, 1);
    9485                 :          36 :         tree _q22 = TREE_OPERAND (_p0, 2);
    9486                 :          36 :         switch (TREE_CODE (_p1))
    9487                 :             :           {
    9488                 :           0 :           case VEC_COND_EXPR:
    9489                 :           0 :             {
    9490                 :           0 :               tree _q60 = TREE_OPERAND (_p1, 0);
    9491                 :           0 :               tree _q61 = TREE_OPERAND (_p1, 1);
    9492                 :           0 :               tree _q62 = TREE_OPERAND (_p1, 2);
    9493                 :           0 :               if ((_q60 == _q20 && ! TREE_SIDE_EFFECTS (_q60)) || (operand_equal_p (_q60, _q20, 0) && types_match (_q60, _q20)))
    9494                 :             :                 {
    9495                 :           0 :                   {
    9496                 :           0 :                     tree captures[7] ATTRIBUTE_UNUSED = { _p0, _q20, _q21, _q22, _p1, _q61, _q62 };
    9497                 :           0 :                     if (VECTOR_TYPE_P (type)
    9498                 :           0 :  && (TREE_CODE_CLASS (MULT_EXPR) != tcc_comparison
    9499                 :             :  || types_match (type, TREE_TYPE (captures[2]))
    9500                 :             :  || expand_vec_cond_expr_p (type, TREE_TYPE (captures[1]))
    9501                 :             :  || (optimize_vectors_before_lowering_p ()
    9502                 :             :  && !expand_vec_cond_expr_p (TREE_TYPE (captures[2]), TREE_TYPE (captures[1]))))
    9503                 :             : )
    9504                 :             :                       {
    9505                 :           0 :                         if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail1566;
    9506                 :           0 :                         {
    9507                 :           0 :                           tree res_op0;
    9508                 :           0 :                           res_op0 = captures[1];
    9509                 :           0 :                           tree res_op1;
    9510                 :           0 :                           {
    9511                 :           0 :                             tree _o1[2], _r1;
    9512                 :           0 :                             _o1[0] = captures[2];
    9513                 :           0 :                             _o1[1] = captures[5];
    9514                 :           0 :                             _r1 = fold_build2_loc (loc, MULT_EXPR, TREE_TYPE (_o1[0]), _o1[0], _o1[1]);
    9515                 :           0 :                             if (EXPR_P (_r1))
    9516                 :           0 :                               goto next_after_fail1566;
    9517                 :           0 :                             res_op1 = _r1;
    9518                 :             :                           }
    9519                 :           0 :                           tree res_op2;
    9520                 :           0 :                           {
    9521                 :           0 :                             tree _o1[2], _r1;
    9522                 :           0 :                             _o1[0] = captures[3];
    9523                 :           0 :                             _o1[1] = captures[6];
    9524                 :           0 :                             _r1 = fold_build2_loc (loc, MULT_EXPR, TREE_TYPE (_o1[0]), _o1[0], _o1[1]);
    9525                 :           0 :                             if (EXPR_P (_r1))
    9526                 :           0 :                               goto next_after_fail1566;
    9527                 :           0 :                             res_op2 = _r1;
    9528                 :             :                           }
    9529                 :           0 :                           tree _r;
    9530                 :           0 :                           _r = fold_build3_loc (loc, VEC_COND_EXPR, type, res_op0, res_op1, res_op2);
    9531                 :           0 :                           if (UNLIKELY (debug_dump)) generic_dump_logs ("match.pd", 919, __FILE__, __LINE__, true);
    9532                 :           0 :                           return _r;
    9533                 :             :                         }
    9534                 :           0 : next_after_fail1566:;
    9535                 :             :                       }
    9536                 :             :                   }
    9537                 :             :                 }
    9538                 :             :               break;
    9539                 :             :             }
    9540                 :          36 :           default:;
    9541                 :             :           }
    9542                 :          36 :         {
    9543                 :          36 :           tree captures[5] ATTRIBUTE_UNUSED = { _p0, _q20, _q21, _q22, _p1 };
    9544                 :          36 :           if (VECTOR_TYPE_P (type)
    9545                 :          36 :  && (TREE_CODE_CLASS (MULT_EXPR) != tcc_comparison
    9546                 :             :  || types_match (type, TREE_TYPE (captures[2]))
    9547                 :             :  || expand_vec_cond_expr_p (type, TREE_TYPE (captures[1]))
    9548                 :             :  || (optimize_vectors_before_lowering_p ()
    9549                 :             :  && !expand_vec_cond_expr_p (TREE_TYPE (captures[2]), TREE_TYPE (captures[1]))))
    9550                 :             : )
    9551                 :             :             {
    9552                 :          36 :               if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail1567;
    9553                 :          36 :               {
    9554                 :          36 :                 if (! tree_invariant_p (captures[4])) goto next_after_fail1567;
    9555                 :           0 :                 tree res_op0;
    9556                 :           0 :                 res_op0 = captures[1];
    9557                 :           0 :                 tree res_op1;
    9558                 :           0 :                 {
    9559                 :           0 :                   tree _o1[2], _r1;
    9560                 :           0 :                   _o1[0] = captures[2];
    9561                 :           0 :                   _o1[1] = unshare_expr (captures[4]);
    9562                 :           0 :                   _r1 = fold_build2_loc (loc, MULT_EXPR, TREE_TYPE (_o1[0]), _o1[0], _o1[1]);
    9563                 :           0 :                   if (EXPR_P (_r1))
    9564                 :           0 :                     goto next_after_fail1567;
    9565                 :           0 :                   res_op1 = _r1;
    9566                 :             :                 }
    9567                 :           0 :                 tree res_op2;
    9568                 :           0 :                 {
    9569                 :           0 :                   tree _o1[2], _r1;
    9570                 :           0 :                   _o1[0] = captures[3];
    9571                 :           0 :                   _o1[1] = captures[4];
    9572                 :           0 :                   _r1 = fold_build2_loc (loc, MULT_EXPR, TREE_TYPE (_o1[0]), _o1[0], _o1[1]);
    9573                 :           0 :                   if (EXPR_P (_r1))
    9574                 :           0 :                     goto next_after_fail1567;
    9575                 :           0 :                   res_op2 = _r1;
    9576                 :             :                 }
    9577                 :           0 :                 tree _r;
    9578                 :           0 :                 _r = fold_build3_loc (loc, VEC_COND_EXPR, type, res_op0, res_op1, res_op2);
    9579                 :           0 :                 if (UNLIKELY (debug_dump)) generic_dump_logs ("match.pd", 920, __FILE__, __LINE__, true);
    9580                 :           0 :                 return _r;
    9581                 :             :               }
    9582                 :          36 : next_after_fail1567:;
    9583                 :             :             }
    9584                 :             :         }
    9585                 :          36 :         break;
    9586                 :             :       }
    9587                 :    64973523 :     default:;
    9588                 :             :     }
    9589                 :    64973523 :   switch (TREE_CODE (_p1))
    9590                 :             :     {
    9591                 :           0 :     case VEC_COND_EXPR:
    9592                 :           0 :       {
    9593                 :           0 :         tree _q30 = TREE_OPERAND (_p1, 0);
    9594                 :           0 :         tree _q31 = TREE_OPERAND (_p1, 1);
    9595                 :           0 :         tree _q32 = TREE_OPERAND (_p1, 2);
    9596                 :           0 :         {
    9597                 :           0 :           tree captures[5] ATTRIBUTE_UNUSED = { _p0, _p1, _q30, _q31, _q32 };
    9598                 :           0 :           if (VECTOR_TYPE_P (type)
    9599                 :           0 :  && (TREE_CODE_CLASS (MULT_EXPR) != tcc_comparison
    9600                 :             :  || types_match (type, TREE_TYPE (captures[3]))
    9601                 :             :  || expand_vec_cond_expr_p (type, TREE_TYPE (captures[2]))
    9602                 :             :  || (optimize_vectors_before_lowering_p ()
    9603                 :             :  && !expand_vec_cond_expr_p (TREE_TYPE (captures[3]), TREE_TYPE (captures[2]))))
    9604                 :             : )
    9605                 :             :             {
    9606                 :           0 :               if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail1568;
    9607                 :           0 :               {
    9608                 :           0 :                 if (! tree_invariant_p (captures[0])) goto next_after_fail1568;
    9609                 :           0 :                 tree res_op0;
    9610                 :           0 :                 res_op0 = captures[2];
    9611                 :           0 :                 tree res_op1;
    9612                 :           0 :                 {
    9613                 :           0 :                   tree _o1[2], _r1;
    9614                 :           0 :                   _o1[0] = unshare_expr (captures[0]);
    9615                 :           0 :                   _o1[1] = captures[3];
    9616                 :           0 :                   _r1 = fold_build2_loc (loc, MULT_EXPR, TREE_TYPE (_o1[0]), _o1[0], _o1[1]);
    9617                 :           0 :                   if (EXPR_P (_r1))
    9618                 :           0 :                     goto next_after_fail1568;
    9619                 :           0 :                   res_op1 = _r1;
    9620                 :             :                 }
    9621                 :           0 :                 tree res_op2;
    9622                 :           0 :                 {
    9623                 :           0 :                   tree _o1[2], _r1;
    9624                 :           0 :                   _o1[0] = captures[0];
    9625                 :           0 :                   _o1[1] = captures[4];
    9626                 :           0 :                   _r1 = fold_build2_loc (loc, MULT_EXPR, TREE_TYPE (_o1[0]), _o1[0], _o1[1]);
    9627                 :           0 :                   if (EXPR_P (_r1))
    9628                 :           0 :                     goto next_after_fail1568;
    9629                 :           0 :                   res_op2 = _r1;
    9630                 :             :                 }
    9631                 :           0 :                 tree _r;
    9632                 :           0 :                 _r = fold_build3_loc (loc, VEC_COND_EXPR, type, res_op0, res_op1, res_op2);
    9633                 :           0 :                 if (UNLIKELY (debug_dump)) generic_dump_logs ("match.pd", 921, __FILE__, __LINE__, true);
    9634                 :           0 :                 return _r;
    9635                 :             :               }
    9636                 :           0 : next_after_fail1568:;
    9637                 :             :             }
    9638                 :             :         }
    9639                 :           0 :         break;
    9640                 :             :       }
    9641                 :    64973523 :     default:;
    9642                 :             :     }
    9643                 :    64973523 :   switch (TREE_CODE (_p0))
    9644                 :             :     {
    9645                 :        2399 :     case REAL_CST:
    9646                 :        2399 :       {
    9647                 :        2399 :         switch (TREE_CODE (_p1))
    9648                 :             :           {
    9649                 :           0 :           case CALL_EXPR:
    9650                 :           0 :             switch (get_call_combined_fn (_p1))
    9651                 :             :               {
    9652                 :           0 :               case CFN_BUILT_IN_LDEXPF:
    9653                 :           0 :                 if (call_expr_nargs (_p1) == 2)
    9654                 :             :     {
    9655                 :           0 :                     tree _q30 = CALL_EXPR_ARG (_p1, 0);
    9656                 :           0 :                     tree _q31 = CALL_EXPR_ARG (_p1, 1);
    9657                 :           0 :                     {
    9658                 :           0 :                       tree captures[3] ATTRIBUTE_UNUSED = { _p0, _q30, _q31 };
    9659                 :           0 :                       tree res = generic_simplify_195 (loc, type, _p0, _p1, captures, CFN_BUILT_IN_LDEXPF);
    9660                 :           0 :                       if (res) return res;
    9661                 :             :                     }
    9662                 :             :                   }
    9663                 :             :                 break;
    9664                 :           0 :               case CFN_BUILT_IN_LDEXPL:
    9665                 :           0 :                 if (call_expr_nargs (_p1) == 2)
    9666                 :             :     {
    9667                 :           0 :                     tree _q30 = CALL_EXPR_ARG (_p1, 0);
    9668                 :           0 :                     tree _q31 = CALL_EXPR_ARG (_p1, 1);
    9669                 :           0 :                     {
    9670                 :           0 :                       tree captures[3] ATTRIBUTE_UNUSED = { _p0, _q30, _q31 };
    9671                 :           0 :                       tree res = generic_simplify_195 (loc, type, _p0, _p1, captures, CFN_BUILT_IN_LDEXPL);
    9672                 :           0 :                       if (res) return res;
    9673                 :             :                     }
    9674                 :             :                   }
    9675                 :             :                 break;
    9676                 :           0 :               case CFN_LDEXP:
    9677                 :           0 :                 if (call_expr_nargs (_p1) == 2)
    9678                 :             :     {
    9679                 :           0 :                     tree _q30 = CALL_EXPR_ARG (_p1, 0);
    9680                 :           0 :                     tree _q31 = CALL_EXPR_ARG (_p1, 1);
    9681                 :           0 :                     {
    9682                 :           0 :                       tree captures[3] ATTRIBUTE_UNUSED = { _p0, _q30, _q31 };
    9683                 :           0 :                       tree res = generic_simplify_195 (loc, type, _p0, _p1, captures, CFN_LDEXP);
    9684                 :           0 :                       if (res) return res;
    9685                 :             :                     }
    9686                 :             :                   }
    9687                 :             :                 break;
    9688                 :           0 :               case CFN_BUILT_IN_LDEXP:
    9689                 :           0 :                 if (call_expr_nargs (_p1) == 2)
    9690                 :             :     {
    9691                 :           0 :                     tree _q30 = CALL_EXPR_ARG (_p1, 0);
    9692                 :           0 :                     tree _q31 = CALL_EXPR_ARG (_p1, 1);
    9693                 :           0 :                     {
    9694                 :           0 :                       tree captures[3] ATTRIBUTE_UNUSED = { _p0, _q30, _q31 };
    9695                 :           0 :                       tree res = generic_simplify_195 (loc, type, _p0, _p1, captures, CFN_BUILT_IN_LDEXP);
    9696                 :           0 :                       if (res) return res;
    9697                 :             :                     }
    9698                 :             :                   }
    9699                 :             :                 break;
    9700                 :             :               default:;
    9701                 :             :               }
    9702                 :             :             break;
    9703                 :             :           default:;
    9704                 :             :           }
    9705                 :             :         break;
    9706                 :             :       }
    9707                 :     2511648 :     case CALL_EXPR:
    9708                 :     2511648 :       switch (get_call_combined_fn (_p0))
    9709                 :             :         {
    9710                 :          55 :         case CFN_BUILT_IN_SQRTF:
    9711                 :          55 :           if (call_expr_nargs (_p0) == 1)
    9712                 :             :     {
    9713                 :          55 :               tree _q20 = CALL_EXPR_ARG (_p0, 0);
    9714                 :          55 :               if ((_p1 == _p0 && ! TREE_SIDE_EFFECTS (_p1)) || (operand_equal_p (_p1, _p0, 0) && types_match (_p1, _p0)))
    9715                 :             :                 {
    9716                 :           0 :                   {
    9717                 :           0 :                     tree captures[2] ATTRIBUTE_UNUSED = { _p0, _q20 };
    9718                 :           0 :                     tree res = generic_simplify_193 (loc, type, _p0, _p1, captures, CFN_BUILT_IN_SQRTF);
    9719                 :           0 :                     if (res) return res;
    9720                 :             :                   }
    9721                 :             :                 }
    9722                 :          55 :               switch (TREE_CODE (_p1))
    9723                 :             :                 {
    9724                 :          13 :                 case CALL_EXPR:
    9725                 :          13 :                   switch (get_call_combined_fn (_p1))
    9726                 :             :                     {
    9727                 :          13 :                     case CFN_BUILT_IN_SQRTF:
    9728                 :          13 :                       if (call_expr_nargs (_p1) == 1)
    9729                 :             :     {
    9730                 :          13 :                           tree _q40 = CALL_EXPR_ARG (_p1, 0);
    9731                 :          13 :                           {
    9732                 :          13 :                             tree captures[4] ATTRIBUTE_UNUSED = { _p0, _q20, _p1, _q40 };
    9733                 :          13 :                             if (flag_unsafe_math_optimizations
    9734                 :             : )
    9735                 :             :                               {
    9736                 :          13 :                                 if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail1569;
    9737                 :          13 :                                 {
    9738                 :          13 :                                   tree res_op0;
    9739                 :          13 :                                   {
    9740                 :          13 :                                     tree _o1[2], _r1;
    9741                 :          13 :                                     _o1[0] = captures[1];
    9742                 :          13 :                                     _o1[1] = captures[3];
    9743                 :          13 :                                     _r1 = fold_build2_loc (loc, MULT_EXPR, TREE_TYPE (_o1[0]), _o1[0], _o1[1]);
    9744                 :          13 :                                     res_op0 = _r1;
    9745                 :             :                                   }
    9746                 :          13 :                                   tree _r;
    9747                 :          13 :                                   _r = maybe_build_call_expr_loc (loc, CFN_BUILT_IN_SQRTF, type, 1, res_op0);
    9748                 :          13 :                                   if (!_r)
    9749                 :           0 :                                     goto next_after_fail1569;
    9750                 :          13 :                                   if (UNLIKELY (debug_dump)) generic_dump_logs ("match.pd", 1002, __FILE__, __LINE__, true);
    9751                 :          13 :                                   return _r;
    9752                 :             :                                 }
    9753                 :           0 : next_after_fail1569:;
    9754                 :             :                               }
    9755                 :             :                           }
    9756                 :             :                         }
    9757                 :             :                       break;
    9758                 :             :                     default:;
    9759                 :             :                     }
    9760                 :             :                   break;
    9761                 :             :                 default:;
    9762                 :             :                 }
    9763                 :             :             }
    9764                 :             :           break;
    9765                 :          48 :         case CFN_BUILT_IN_SQRTL:
    9766                 :          48 :           if (call_expr_nargs (_p0) == 1)
    9767                 :             :     {
    9768                 :          48 :               tree _q20 = CALL_EXPR_ARG (_p0, 0);
    9769                 :          48 :               if ((_p1 == _p0 && ! TREE_SIDE_EFFECTS (_p1)) || (operand_equal_p (_p1, _p0, 0) && types_match (_p1, _p0)))
    9770                 :             :                 {
    9771                 :           0 :                   {
    9772                 :           0 :                     tree captures[2] ATTRIBUTE_UNUSED = { _p0, _q20 };
    9773                 :           0 :                     tree res = generic_simplify_193 (loc, type, _p0, _p1, captures, CFN_BUILT_IN_SQRTL);
    9774                 :           0 :                     if (res) return res;
    9775                 :             :                   }
    9776                 :             :                 }
    9777                 :          48 :               switch (TREE_CODE (_p1))
    9778                 :             :                 {
    9779                 :          13 :                 case CALL_EXPR:
    9780                 :          13 :                   switch (get_call_combined_fn (_p1))
    9781                 :             :                     {
    9782                 :          13 :                     case CFN_BUILT_IN_SQRTL:
    9783                 :          13 :                       if (call_expr_nargs (_p1) == 1)
    9784                 :             :     {
    9785                 :          13 :                           tree _q40 = CALL_EXPR_ARG (_p1, 0);
    9786                 :          13 :                           {
    9787                 :          13 :                             tree captures[4] ATTRIBUTE_UNUSED = { _p0, _q20, _p1, _q40 };
    9788                 :          13 :                             if (flag_unsafe_math_optimizations
    9789                 :             : )
    9790                 :             :                               {
    9791                 :          13 :                                 if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail1570;
    9792                 :          13 :                                 {
    9793                 :          13 :                                   tree res_op0;
    9794                 :          13 :                                   {
    9795                 :          13 :                                     tree _o1[2], _r1;
    9796                 :          13 :                                     _o1[0] = captures[1];
    9797                 :          13 :                                     _o1[1] = captures[3];
    9798                 :          13 :                                     _r1 = fold_build2_loc (loc, MULT_EXPR, TREE_TYPE (_o1[0]), _o1[0], _o1[1]);
    9799                 :          13 :                                     res_op0 = _r1;
    9800                 :             :                                   }
    9801                 :          13 :                                   tree _r;
    9802                 :          13 :                                   _r = maybe_build_call_expr_loc (loc, CFN_BUILT_IN_SQRTL, type, 1, res_op0);
    9803                 :          13 :                                   if (!_r)
    9804                 :           0 :                                     goto next_after_fail1570;
    9805                 :          13 :                                   if (UNLIKELY (debug_dump)) generic_dump_logs ("match.pd", 1002, __FILE__, __LINE__, true);
    9806                 :          13 :                                   return _r;
    9807                 :             :                                 }
    9808                 :           0 : next_after_fail1570:;
    9809                 :             :                               }
    9810                 :             :                           }
    9811                 :             :                         }
    9812                 :             :                       break;
    9813                 :             :                     default:;
    9814                 :             :                     }
    9815                 :             :                   break;
    9816                 :             :                 default:;
    9817                 :             :                 }
    9818                 :             :             }
    9819                 :             :           break;
    9820                 :         287 :         case CFN_BUILT_IN_EXP:
    9821                 :         287 :           if (call_expr_nargs (_p0) == 1)
    9822                 :             :     {
    9823                 :         287 :               tree _q20 = CALL_EXPR_ARG (_p0, 0);
    9824                 :         287 :               switch (TREE_CODE (_p1))
    9825                 :             :                 {
    9826                 :          81 :                 case CALL_EXPR:
    9827                 :          81 :                   switch (get_call_combined_fn (_p1))
    9828                 :             :                     {
    9829                 :          31 :                     case CFN_BUILT_IN_EXP:
    9830                 :          31 :                       if (call_expr_nargs (_p1) == 1)
    9831                 :             :     {
    9832                 :          31 :                           tree _q40 = CALL_EXPR_ARG (_p1, 0);
    9833                 :          31 :                           {
    9834                 :          31 :                             tree captures[4] ATTRIBUTE_UNUSED = { _p0, _q20, _p1, _q40 };
    9835                 :          31 :                             if (flag_unsafe_math_optimizations
    9836                 :             : )
    9837                 :             :                               {
    9838                 :          27 :                                 if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail1571;
    9839                 :          27 :                                 {
    9840                 :          27 :                                   tree res_op0;
    9841                 :          27 :                                   {
    9842                 :          27 :                                     tree _o1[2], _r1;
    9843                 :          27 :                                     _o1[0] = captures[1];
    9844                 :          27 :                                     _o1[1] = captures[3];
    9845                 :          27 :                                     _r1 = fold_build2_loc (loc, PLUS_EXPR, TREE_TYPE (_o1[0]), _o1[0], _o1[1]);
    9846                 :          27 :                                     res_op0 = _r1;
    9847                 :             :                                   }
    9848                 :          27 :                                   tree _r;
    9849                 :          27 :                                   _r = maybe_build_call_expr_loc (loc, CFN_BUILT_IN_EXP, type, 1, res_op0);
    9850                 :          27 :                                   if (!_r)
    9851                 :           0 :                                     goto next_after_fail1571;
    9852                 :          27 :                                   if (UNLIKELY (debug_dump)) generic_dump_logs ("match.pd", 1003, __FILE__, __LINE__, true);
    9853                 :          27 :                                   return _r;
    9854                 :             :                                 }
    9855                 :           4 : next_after_fail1571:;
    9856                 :             :                               }
    9857                 :             :                           }
    9858                 :             :                         }
    9859                 :             :                       break;
    9860                 :           0 :                     case CFN_BUILT_IN_POW:
    9861                 :           0 :                       if (call_expr_nargs (_p1) == 2)
    9862                 :             :     {
    9863                 :           0 :                           tree _q40 = CALL_EXPR_ARG (_p1, 0);
    9864                 :           0 :                           tree _q41 = CALL_EXPR_ARG (_p1, 1);
    9865                 :           0 :                           switch (TREE_CODE (_q40))
    9866                 :             :                             {
    9867                 :           0 :                             case REAL_CST:
    9868                 :           0 :                               {
    9869                 :           0 :                                 {
    9870                 :           0 :                                   tree captures[5] ATTRIBUTE_UNUSED = { _p1, _q40, _q41, _p0, _q20 };
    9871                 :           0 :                                   if (flag_unsafe_math_optimizations
    9872                 :             : )
    9873                 :             :                                     {
    9874                 :           0 :                                       if (real_compare (GT_EXPR, TREE_REAL_CST_PTR (captures[1]), &dconst0)
    9875                 :           0 :  && real_isfinite (TREE_REAL_CST_PTR (captures[1]))
    9876                 :             : )
    9877                 :             :                                         {
    9878                 :           0 :                                           if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail1572;
    9879                 :           0 :                                           {
    9880                 :           0 :                                             tree res_op0;
    9881                 :           0 :                                             {
    9882                 :           0 :                                               tree _o1[2], _r1;
    9883                 :           0 :                                               {
    9884                 :           0 :                                                 tree _o2[2], _r2;
    9885                 :           0 :                                                 {
    9886                 :           0 :                                                   tree _o3[1], _r3;
    9887                 :           0 :                                                   _o3[0] = captures[1];
    9888                 :           0 :                                                   _r3 = maybe_build_call_expr_loc (loc, CFN_BUILT_IN_LOG, TREE_TYPE (_o3[0]), 1, _o3[0]);
    9889                 :           0 :                                                   if (!_r3)
    9890                 :           0 :                                                     goto next_after_fail1572;
    9891                 :           0 :                                                   _o2[0] = _r3;
    9892                 :             :                                                 }
    9893                 :           0 :                                                 _o2[1] = captures[2];
    9894                 :           0 :                                                 _r2 = fold_build2_loc (loc, MULT_EXPR, TREE_TYPE (_o2[0]), _o2[0], _o2[1]);
    9895                 :           0 :                                                 _o1[0] = _r2;
    9896                 :             :                                               }
    9897                 :           0 :                                               _o1[1] = captures[4];
    9898                 :           0 :                                               _r1 = fold_build2_loc (loc, PLUS_EXPR, TREE_TYPE (_o1[0]), _o1[0], _o1[1]);
    9899                 :           0 :                                               res_op0 = _r1;
    9900                 :             :                                             }
    9901                 :           0 :                                             tree _r;
    9902                 :           0 :                                             _r = maybe_build_call_expr_loc (loc, CFN_BUILT_IN_EXP, type, 1, res_op0);
    9903                 :           0 :                                             if (!_r)
    9904                 :           0 :                                               goto next_after_fail1572;
    9905                 :           0 :                                             if (UNLIKELY (debug_dump)) generic_dump_logs ("match.pd", 1004, __FILE__, __LINE__, true);
    9906                 :           0 :                                             return _r;
    9907                 :             :                                           }
    9908                 :           0 : next_after_fail1572:;
    9909                 :             :                                         }
    9910                 :             :                                     }
    9911                 :             :                                 }
    9912                 :           0 :                                 break;
    9913                 :             :                               }
    9914                 :             :                             default:;
    9915                 :             :                             }
    9916                 :             :                         }
    9917                 :             :                       break;
    9918                 :             :                     default:;
    9919                 :             :                     }
    9920                 :             :                   break;
    9921                 :             :                 default:;
    9922                 :             :                 }
    9923                 :             :             }
    9924                 :             :           break;
    9925                 :         123 :         case CFN_BUILT_IN_POW:
    9926                 :         123 :           if (call_expr_nargs (_p0) == 2)
    9927                 :             :     {
    9928                 :         123 :               tree _q20 = CALL_EXPR_ARG (_p0, 0);
    9929                 :         123 :               tree _q21 = CALL_EXPR_ARG (_p0, 1);
    9930                 :         123 :               switch (TREE_CODE (_q20))
    9931                 :             :                 {
    9932                 :           1 :                 case REAL_CST:
    9933                 :           1 :                   {
    9934                 :           1 :                     switch (TREE_CODE (_p1))
    9935                 :             :                       {
    9936                 :           1 :                       case CALL_EXPR:
    9937                 :           1 :                         switch (get_call_combined_fn (_p1))
    9938                 :             :                           {
    9939                 :           0 :                           case CFN_BUILT_IN_EXP:
    9940                 :           0 :                             if (call_expr_nargs (_p1) == 1)
    9941                 :             :     {
    9942                 :           0 :                                 tree _q50 = CALL_EXPR_ARG (_p1, 0);
    9943                 :           0 :                                 {
    9944                 :           0 :                                   tree captures[5] ATTRIBUTE_UNUSED = { _p0, _q20, _q21, _p1, _q50 };
    9945                 :           0 :                                   if (flag_unsafe_math_optimizations
    9946                 :             : )
    9947                 :             :                                     {
    9948                 :           0 :                                       if (real_compare (GT_EXPR, TREE_REAL_CST_PTR (captures[1]), &dconst0)
    9949                 :           0 :  && real_isfinite (TREE_REAL_CST_PTR (captures[1]))
    9950                 :             : )
    9951                 :             :                                         {
    9952                 :           0 :                                           if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail1573;
    9953                 :           0 :                                           {
    9954                 :           0 :                                             tree res_op0;
    9955                 :           0 :                                             {
    9956                 :           0 :                                               tree _o1[2], _r1;
    9957                 :           0 :                                               {
    9958                 :           0 :                                                 tree _o2[2], _r2;
    9959                 :           0 :                                                 {
    9960                 :           0 :                                                   tree _o3[1], _r3;
    9961                 :           0 :                                                   _o3[0] = captures[1];
    9962                 :           0 :                                                   _r3 = maybe_build_call_expr_loc (loc, CFN_BUILT_IN_LOG, TREE_TYPE (_o3[0]), 1, _o3[0]);
    9963                 :           0 :                                                   if (!_r3)
    9964                 :           0 :                                                     goto next_after_fail1573;
    9965                 :           0 :                                                   _o2[0] = _r3;
    9966                 :             :                                                 }
    9967                 :           0 :                                                 _o2[1] = captures[2];
    9968                 :           0 :                                                 _r2 = fold_build2_loc (loc, MULT_EXPR, TREE_TYPE (_o2[0]), _o2[0], _o2[1]);
    9969                 :           0 :                                                 _o1[0] = _r2;
    9970                 :             :                                               }
    9971                 :           0 :                                               _o1[1] = captures[4];
    9972                 :           0 :                                               _r1 = fold_build2_loc (loc, PLUS_EXPR, TREE_TYPE (_o1[0]), _o1[0], _o1[1]);
    9973                 :           0 :                                               res_op0 = _r1;
    9974                 :             :                                             }
    9975                 :           0 :                                             tree _r;
    9976                 :           0 :                                             _r = maybe_build_call_expr_loc (loc, CFN_BUILT_IN_EXP, type, 1, res_op0);
    9977                 :           0 :                                             if (!_r)
    9978                 :           0 :                                               goto next_after_fail1573;
    9979                 :           0 :                                             if (UNLIKELY (debug_dump)) generic_dump_logs ("match.pd", 1004, __FILE__, __LINE__, true);
    9980                 :           0 :                                             return _r;
    9981                 :             :                                           }
    9982                 :           0 : next_after_fail1573:;
    9983                 :             :                                         }
    9984                 :             :                                     }
    9985                 :             :                                 }
    9986                 :             :                               }
    9987                 :             :                             break;
    9988                 :           0 :                           case CFN_BUILT_IN_EXP2:
    9989                 :           0 :                             if (call_expr_nargs (_p1) == 1)
    9990                 :             :     {
    9991                 :           0 :                                 tree _q50 = CALL_EXPR_ARG (_p1, 0);
    9992                 :           0 :                                 {
    9993                 :           0 :                                   tree captures[5] ATTRIBUTE_UNUSED = { _p0, _q20, _q21, _p1, _q50 };
    9994                 :           0 :                                   if (flag_unsafe_math_optimizations
    9995                 :             : )
    9996                 :             :                                     {
    9997                 :           0 :                                       if (real_compare (GT_EXPR, TREE_REAL_CST_PTR (captures[1]), &dconst0)
    9998                 :           0 :  && real_isfinite (TREE_REAL_CST_PTR (captures[1]))
    9999                 :             : )
   10000                 :             :                                         {
   10001                 :           0 :                                           if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail1574;
   10002                 :           0 :                                           {
   10003                 :           0 :                                             tree res_op0;
   10004                 :           0 :                                             {
   10005                 :           0 :                                               tree _o1[2], _r1;
   10006                 :           0 :                                               {
   10007                 :           0 :                                                 tree _o2[2], _r2;
   10008                 :           0 :                                                 {
   10009                 :           0 :                                                   tree _o3[1], _r3;
   10010                 :           0 :                                                   _o3[0] = captures[1];
   10011                 :           0 :                                                   _r3 = maybe_build_call_expr_loc (loc, CFN_BUILT_IN_LOG2, TREE_TYPE (_o3[0]), 1, _o3[0]);
   10012                 :           0 :                                                   if (!_r3)
   10013                 :           0 :                                                     goto next_after_fail1574;
   10014                 :           0 :                                                   _o2[0] = _r3;
   10015                 :             :                                                 }
   10016                 :           0 :                                                 _o2[1] = captures[2];
   10017                 :           0 :                                                 _r2 = fold_build2_loc (loc, MULT_EXPR, TREE_TYPE (_o2[0]), _o2[0], _o2[1]);
   10018                 :           0 :                                                 _o1[0] = _r2;
   10019                 :             :                                               }
   10020                 :           0 :                                               _o1[1] = captures[4];
   10021                 :           0 :                                               _r1 = fold_build2_loc (loc, PLUS_EXPR, TREE_TYPE (_o1[0]), _o1[0], _o1[1]);
   10022                 :           0 :                                               res_op0 = _r1;
   10023                 :             :                                             }
   10024                 :           0 :                                             tree _r;
   10025                 :           0 :                                             _r = maybe_build_call_expr_loc (loc, CFN_BUILT_IN_EXP2, type, 1, res_op0);
   10026                 :           0 :                                             if (!_r)
   10027                 :           0 :                                               goto next_after_fail1574;
   10028                 :           0 :                                             if (UNLIKELY (debug_dump)) generic_dump_logs ("match.pd", 1004, __FILE__, __LINE__, true);
   10029                 :           0 :                                             return _r;
   10030                 :             :                                           }
   10031                 :           0 : next_after_fail1574:;
   10032                 :             :                                         }
   10033                 :             :                                     }
   10034                 :             :                                 }
   10035                 :             :                               }
   10036                 :             :                             break;
   10037                 :           0 :                           case CFN_BUILT_IN_EXP10:
   10038                 :           0 :                             if (call_expr_nargs (_p1) == 1)
   10039                 :             :     {
   10040                 :           0 :                                 tree _q50 = CALL_EXPR_ARG (_p1, 0);
   10041                 :           0 :                                 {
   10042                 :           0 :                                   tree captures[5] ATTRIBUTE_UNUSED = { _p0, _q20, _q21, _p1, _q50 };
   10043                 :           0 :                                   if (flag_unsafe_math_optimizations
   10044                 :             : )
   10045                 :             :                                     {
   10046                 :           0 :                                       if (real_compare (GT_EXPR, TREE_REAL_CST_PTR (captures[1]), &dconst0)
   10047                 :           0 :  && real_isfinite (TREE_REAL_CST_PTR (captures[1]))
   10048                 :             : )
   10049                 :             :                                         {
   10050                 :           0 :                                           if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail1575;
   10051                 :           0 :                                           {
   10052                 :           0 :                                             tree res_op0;
   10053                 :           0 :                                             {
   10054                 :           0 :                                               tree _o1[2], _r1;
   10055                 :           0 :                                               {
   10056                 :           0 :                                                 tree _o2[2], _r2;
   10057                 :           0 :                                                 {
   10058                 :           0 :                                                   tree _o3[1], _r3;
   10059                 :           0 :                                                   _o3[0] = captures[1];
   10060                 :           0 :                                                   _r3 = maybe_build_call_expr_loc (loc, CFN_BUILT_IN_LOG10, TREE_TYPE (_o3[0]), 1, _o3[0]);
   10061                 :           0 :                                                   if (!_r3)
   10062                 :           0 :                                                     goto next_after_fail1575;
   10063                 :           0 :                                                   _o2[0] = _r3;
   10064                 :             :                                                 }
   10065                 :           0 :                                                 _o2[1] = captures[2];
   10066                 :           0 :                                                 _r2 = fold_build2_loc (loc, MULT_EXPR, TREE_TYPE (_o2[0]), _o2[0], _o2[1]);
   10067                 :           0 :                                                 _o1[0] = _r2;
   10068                 :             :                                               }
   10069                 :           0 :                                               _o1[1] = captures[4];
   10070                 :           0 :                                               _r1 = fold_build2_loc (loc, PLUS_EXPR, TREE_TYPE (_o1[0]), _o1[0], _o1[1]);
   10071                 :           0 :                                               res_op0 = _r1;
   10072                 :             :                                             }
   10073                 :           0 :                                             tree _r;
   10074                 :           0 :                                             _r = maybe_build_call_expr_loc (loc, CFN_BUILT_IN_EXP10, type, 1, res_op0);
   10075                 :           0 :                                             if (!_r)
   10076                 :           0 :                                               goto next_after_fail1575;
   10077                 :           0 :                                             if (UNLIKELY (debug_dump)) generic_dump_logs ("match.pd", 1004, __FILE__, __LINE__, true);
   10078                 :           0 :                                             return _r;
   10079                 :             :                                           }
   10080                 :           0 : next_after_fail1575:;
   10081                 :             :                                         }
   10082                 :             :                                     }
   10083                 :             :                                 }
   10084                 :             :                               }
   10085                 :             :                             break;
   10086                 :           0 :                           case CFN_BUILT_IN_POW10:
   10087                 :           0 :                             if (call_expr_nargs (_p1) == 1)
   10088                 :             :     {
   10089                 :           0 :                                 tree _q50 = CALL_EXPR_ARG (_p1, 0);
   10090                 :           0 :                                 {
   10091                 :           0 :                                   tree captures[5] ATTRIBUTE_UNUSED = { _p0, _q20, _q21, _p1, _q50 };
   10092                 :           0 :                                   if (flag_unsafe_math_optimizations
   10093                 :             : )
   10094                 :             :                                     {
   10095                 :           0 :                                       if (real_compare (GT_EXPR, TREE_REAL_CST_PTR (captures[1]), &dconst0)
   10096                 :           0 :  && real_isfinite (TREE_REAL_CST_PTR (captures[1]))
   10097                 :             : )
   10098                 :             :                                         {
   10099                 :           0 :                                           if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail1576;
   10100                 :           0 :                                           {
   10101                 :           0 :                                             tree res_op0;
   10102                 :           0 :                                             {
   10103                 :           0 :                                               tree _o1[2], _r1;
   10104                 :           0 :                                               {
   10105                 :           0 :                                                 tree _o2[2], _r2;
   10106                 :           0 :                                                 {
   10107                 :           0 :                                                   tree _o3[1], _r3;
   10108                 :           0 :                                                   _o3[0] = captures[1];
   10109                 :           0 :                                                   _r3 = maybe_build_call_expr_loc (loc, CFN_BUILT_IN_LOG10, TREE_TYPE (_o3[0]), 1, _o3[0]);
   10110                 :           0 :                                                   if (!_r3)
   10111                 :           0 :                                                     goto next_after_fail1576;
   10112                 :           0 :                                                   _o2[0] = _r3;
   10113                 :             :                                                 }
   10114                 :           0 :                                                 _o2[1] = captures[2];
   10115                 :           0 :                                                 _r2 = fold_build2_loc (loc, MULT_EXPR, TREE_TYPE (_o2[0]), _o2[0], _o2[1]);
   10116                 :           0 :                                                 _o1[0] = _r2;
   10117                 :             :                                               }
   10118                 :           0 :                                               _o1[1] = captures[4];
   10119                 :           0 :                                               _r1 = fold_build2_loc (loc, PLUS_EXPR, TREE_TYPE (_o1[0]), _o1[0], _o1[1]);
   10120                 :           0 :                                               res_op0 = _r1;
   10121                 :             :                                             }
   10122                 :           0 :                                             tree _r;
   10123                 :           0 :                                             _r = maybe_build_call_expr_loc (loc, CFN_BUILT_IN_POW10, type, 1, res_op0);
   10124                 :           0 :                                             if (!_r)
   10125                 :           0 :                                               goto next_after_fail1576;
   10126                 :           0 :                                             if (UNLIKELY (debug_dump)) generic_dump_logs ("match.pd", 1004, __FILE__, __LINE__, true);
   10127                 :           0 :                                             return _r;
   10128                 :             :                                           }
   10129                 :           0 : next_after_fail1576:;
   10130                 :             :                                         }
   10131                 :             :                                     }
   10132                 :             :                                 }
   10133                 :             :                               }
   10134                 :             :                             break;
   10135                 :             :                           default:;
   10136                 :             :                           }
   10137                 :             :                         break;
   10138                 :             :                       default:;
   10139                 :             :                       }
   10140                 :             :                     break;
   10141                 :             :                   }
   10142                 :         123 :                 default:;
   10143                 :             :                 }
   10144                 :         123 :               switch (TREE_CODE (_q21))
   10145                 :             :                 {
   10146                 :          12 :                 case REAL_CST:
   10147                 :          12 :                   {
   10148                 :          12 :                     if ((_p1 == _q20 && ! TREE_SIDE_EFFECTS (_p1)) || (operand_equal_p (_p1, _q20, 0) && types_match (_p1, _q20)))
   10149                 :             :                       {
   10150                 :           8 :                         {
   10151                 :           8 :                           tree captures[3] ATTRIBUTE_UNUSED = { _q20, _p0, _q21 };
   10152                 :           8 :                           tree res = generic_simplify_194 (loc, type, _p0, _p1, captures, CFN_BUILT_IN_POW);
   10153                 :           8 :                           if (res) return res;
   10154                 :             :                         }
   10155                 :             :                       }
   10156                 :             :                     break;
   10157                 :             :                   }
   10158                 :             :                 default:;
   10159                 :             :                 }
   10160                 :             :             }
   10161                 :             :           break;
   10162                 :          48 :         case CFN_BUILT_IN_EXP10F:
   10163                 :          48 :           if (call_expr_nargs (_p0) == 1)
   10164                 :             :     {
   10165                 :          48 :               tree _q20 = CALL_EXPR_ARG (_p0, 0);
   10166                 :          48 :               switch (TREE_CODE (_p1))
   10167                 :             :                 {
   10168                 :          24 :                 case CALL_EXPR:
   10169                 :          24 :                   switch (get_call_combined_fn (_p1))
   10170                 :             :                     {
   10171                 :          24 :                     case CFN_BUILT_IN_EXP10F:
   10172                 :          24 :                       if (call_expr_nargs (_p1) == 1)
   10173                 :             :     {
   10174                 :          24 :                           tree _q40 = CALL_EXPR_ARG (_p1, 0);
   10175                 :          24 :                           {
   10176                 :          24 :                             tree captures[4] ATTRIBUTE_UNUSED = { _p0, _q20, _p1, _q40 };
   10177                 :          24 :                             if (flag_unsafe_math_optimizations
   10178                 :             : )
   10179                 :             :                               {
   10180                 :          24 :                                 if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail1577;
   10181                 :          24 :                                 {
   10182                 :          24 :                                   tree res_op0;
   10183                 :          24 :                                   {
   10184                 :          24 :                                     tree _o1[2], _r1;
   10185                 :          24 :                                     _o1[0] = captures[1];
   10186                 :          24 :                                     _o1[1] = captures[3];
   10187                 :          24 :                                     _r1 = fold_build2_loc (loc, PLUS_EXPR, TREE_TYPE (_o1[0]), _o1[0], _o1[1]);
   10188                 :          24 :                                     res_op0 = _r1;
   10189                 :             :                                   }
   10190                 :          24 :                                   tree _r;
   10191                 :          24 :                                   _r = maybe_build_call_expr_loc (loc, CFN_BUILT_IN_EXP10F, type, 1, res_op0);
   10192                 :          24 :                                   if (!_r)
   10193                 :           0 :                                     goto next_after_fail1577;
   10194                 :          24 :                                   if (UNLIKELY (debug_dump)) generic_dump_logs ("match.pd", 1003, __FILE__, __LINE__, true);
   10195                 :          24 :                                   return _r;
   10196                 :             :                                 }
   10197                 :           0 : next_after_fail1577:;
   10198                 :             :                               }
   10199                 :             :                           }
   10200                 :             :                         }
   10201                 :             :                       break;
   10202                 :           0 :                     case CFN_BUILT_IN_POWF:
   10203                 :           0 :                       if (call_expr_nargs (_p1) == 2)
   10204                 :             :     {
   10205                 :           0 :                           tree _q40 = CALL_EXPR_ARG (_p1, 0);
   10206                 :           0 :                           tree _q41 = CALL_EXPR_ARG (_p1, 1);
   10207                 :           0 :                           switch (TREE_CODE (_q40))
   10208                 :             :                             {
   10209                 :           0 :                             case REAL_CST:
   10210                 :           0 :                               {
   10211                 :           0 :                                 {
   10212                 :           0 :                                   tree captures[5] ATTRIBUTE_UNUSED = { _p1, _q40, _q41, _p0, _q20 };
   10213                 :           0 :                                   if (flag_unsafe_math_optimizations
   10214                 :             : )
   10215                 :             :                                     {
   10216                 :           0 :                                       if (real_compare (GT_EXPR, TREE_REAL_CST_PTR (captures[1]), &dconst0)
   10217                 :           0 :  && real_isfinite (TREE_REAL_CST_PTR (captures[1]))
   10218                 :             : )
   10219                 :             :                                         {
   10220                 :           0 :                                           if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail1578;
   10221                 :           0 :                                           {
   10222                 :           0 :                                             tree res_op0;
   10223                 :           0 :                                             {
   10224                 :           0 :                                               tree _o1[2], _r1;
   10225                 :           0 :                                               {
   10226                 :           0 :                                                 tree _o2[2], _r2;
   10227                 :           0 :                                                 {
   10228                 :           0 :                                                   tree _o3[1], _r3;
   10229                 :           0 :                                                   _o3[0] = captures[1];
   10230                 :           0 :                                                   _r3 = maybe_build_call_expr_loc (loc, CFN_BUILT_IN_LOG10F, TREE_TYPE (_o3[0]), 1, _o3[0]);
   10231                 :           0 :                                                   if (!_r3)
   10232                 :           0 :                                                     goto next_after_fail1578;
   10233                 :           0 :                                                   _o2[0] = _r3;
   10234                 :             :                                                 }
   10235                 :           0 :                                                 _o2[1] = captures[2];
   10236                 :           0 :                                                 _r2 = fold_build2_loc (loc, MULT_EXPR, TREE_TYPE (_o2[0]), _o2[0], _o2[1]);
   10237                 :           0 :                                                 _o1[0] = _r2;
   10238                 :             :                                               }
   10239                 :           0 :                                               _o1[1] = captures[4];
   10240                 :           0 :                                               _r1 = fold_build2_loc (loc, PLUS_EXPR, TREE_TYPE (_o1[0]), _o1[0], _o1[1]);
   10241                 :           0 :                                               res_op0 = _r1;
   10242                 :             :                                             }
   10243                 :           0 :                                             tree _r;
   10244                 :           0 :                                             _r = maybe_build_call_expr_loc (loc, CFN_BUILT_IN_EXP10F, type, 1, res_op0);
   10245                 :           0 :                                             if (!_r)
   10246                 :           0 :                                               goto next_after_fail1578;
   10247                 :           0 :                                             if (UNLIKELY (debug_dump)) generic_dump_logs ("match.pd", 1004, __FILE__, __LINE__, true);
   10248                 :           0 :                                             return _r;
   10249                 :             :                                           }
   10250                 :           0 : next_after_fail1578:;
   10251                 :             :                                         }
   10252                 :             :                                     }
   10253                 :             :                                 }
   10254                 :           0 :                                 break;
   10255                 :             :                               }
   10256                 :             :                             default:;
   10257                 :             :                             }
   10258                 :             :                         }
   10259                 :             :                       break;
   10260                 :             :                     default:;
   10261                 :             :                     }
   10262                 :             :                   break;
   10263                 :             :                 default:;
   10264                 :             :                 }
   10265                 :             :             }
   10266                 :             :           break;
   10267                 :          48 :         case CFN_BUILT_IN_EXP10L:
   10268                 :          48 :           if (call_expr_nargs (_p0) == 1)
   10269                 :             :     {
   10270                 :          48 :               tree _q20 = CALL_EXPR_ARG (_p0, 0);
   10271                 :          48 :               switch (TREE_CODE (_p1))
   10272                 :             :                 {
   10273                 :          24 :                 case CALL_EXPR:
   10274                 :          24 :                   switch (get_call_combined_fn (_p1))
   10275                 :             :                     {
   10276                 :          24 :                     case CFN_BUILT_IN_EXP10L:
   10277                 :          24 :                       if (call_expr_nargs (_p1) == 1)
   10278                 :             :     {
   10279                 :          24 :                           tree _q40 = CALL_EXPR_ARG (_p1, 0);
   10280                 :          24 :                           {
   10281                 :          24 :                             tree captures[4] ATTRIBUTE_UNUSED = { _p0, _q20, _p1, _q40 };
   10282                 :          24 :                             if (flag_unsafe_math_optimizations
   10283                 :             : )
   10284                 :             :                               {
   10285                 :          24 :                                 if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail1579;
   10286                 :          24 :                                 {
   10287                 :          24 :                                   tree res_op0;
   10288                 :          24 :                                   {
   10289                 :          24 :                                     tree _o1[2], _r1;
   10290                 :          24 :                                     _o1[0] = captures[1];
   10291                 :          24 :                                     _o1[1] = captures[3];
   10292                 :          24 :                                     _r1 = fold_build2_loc (loc, PLUS_EXPR, TREE_TYPE (_o1[0]), _o1[0], _o1[1]);
   10293                 :          24 :                                     res_op0 = _r1;
   10294                 :             :                                   }
   10295                 :          24 :                                   tree _r;
   10296                 :          24 :                                   _r = maybe_build_call_expr_loc (loc, CFN_BUILT_IN_EXP10L, type, 1, res_op0);
   10297                 :          24 :                                   if (!_r)
   10298                 :           0 :                                     goto next_after_fail1579;
   10299                 :          24 :                                   if (UNLIKELY (debug_dump)) generic_dump_logs ("match.pd", 1003, __FILE__, __LINE__, true);
   10300                 :          24 :                                   return _r;
   10301                 :             :                                 }
   10302                 :           0 : next_after_fail1579:;
   10303                 :             :                               }
   10304                 :             :                           }
   10305                 :             :                         }
   10306                 :             :                       break;
   10307                 :           0 :                     case CFN_BUILT_IN_POWL:
   10308                 :           0 :                       if (call_expr_nargs (_p1) == 2)
   10309                 :             :     {
   10310                 :           0 :                           tree _q40 = CALL_EXPR_ARG (_p1, 0);
   10311                 :           0 :                           tree _q41 = CALL_EXPR_ARG (_p1, 1);
   10312                 :           0 :                           switch (TREE_CODE (_q40))
   10313                 :             :                             {
   10314                 :           0 :                             case REAL_CST:
   10315                 :           0 :                               {
   10316                 :           0 :                                 {
   10317                 :           0 :                                   tree captures[5] ATTRIBUTE_UNUSED = { _p1, _q40, _q41, _p0, _q20 };
   10318                 :           0 :                                   if (flag_unsafe_math_optimizations
   10319                 :             : )
   10320                 :             :                                     {
   10321                 :           0 :                                       if (real_compare (GT_EXPR, TREE_REAL_CST_PTR (captures[1]), &dconst0)
   10322                 :           0 :  && real_isfinite (TREE_REAL_CST_PTR (captures[1]))
   10323                 :             : )
   10324                 :             :                                         {
   10325                 :           0 :                                           if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail1580;
   10326                 :           0 :                                           {
   10327                 :           0 :                                             tree res_op0;
   10328                 :           0 :                                             {
   10329                 :           0 :                                               tree _o1[2], _r1;
   10330                 :           0 :                                               {
   10331                 :           0 :                                                 tree _o2[2], _r2;
   10332                 :           0 :                                                 {
   10333                 :           0 :                                                   tree _o3[1], _r3;
   10334                 :           0 :                                                   _o3[0] = captures[1];
   10335                 :           0 :                                                   _r3 = maybe_build_call_expr_loc (loc, CFN_BUILT_IN_LOG10L, TREE_TYPE (_o3[0]), 1, _o3[0]);
   10336                 :           0 :                                                   if (!_r3)
   10337                 :           0 :                                                     goto next_after_fail1580;
   10338                 :           0 :                                                   _o2[0] = _r3;
   10339                 :             :                                                 }
   10340                 :           0 :                                                 _o2[1] = captures[2];
   10341                 :           0 :                                                 _r2 = fold_build2_loc (loc, MULT_EXPR, TREE_TYPE (_o2[0]), _o2[0], _o2[1]);
   10342                 :           0 :                                                 _o1[0] = _r2;
   10343                 :             :                                               }
   10344                 :           0 :                                               _o1[1] = captures[4];
   10345                 :           0 :                                               _r1 = fold_build2_loc (loc, PLUS_EXPR, TREE_TYPE (_o1[0]), _o1[0], _o1[1]);
   10346                 :           0 :                                               res_op0 = _r1;
   10347                 :             :                                             }
   10348                 :           0 :                                             tree _r;
   10349                 :           0 :                                             _r = maybe_build_call_expr_loc (loc, CFN_BUILT_IN_EXP10L, type, 1, res_op0);
   10350                 :           0 :                                             if (!_r)
   10351                 :           0 :                                               goto next_after_fail1580;
   10352                 :           0 :                                             if (UNLIKELY (debug_dump)) generic_dump_logs ("match.pd", 1004, __FILE__, __LINE__, true);
   10353                 :           0 :                                             return _r;
   10354                 :             :                                           }
   10355                 :           0 : next_after_fail1580:;
   10356                 :             :                                         }
   10357                 :             :                                     }
   10358                 :             :                                 }
   10359                 :           0 :                                 break;
   10360                 :             :                               }
   10361                 :             :                             default:;
   10362                 :             :                             }
   10363                 :             :                         }
   10364                 :             :                       break;
   10365                 :             :                     default:;
   10366                 :             :                     }
   10367                 :             :                   break;
   10368                 :             :                 default:;
   10369                 :             :                 }
   10370                 :             :             }
   10371                 :             :           break;
   10372                 :          18 :         case CFN_BUILT_IN_CBRT:
   10373                 :          18 :           if (call_expr_nargs (_p0) == 1)
   10374                 :             :     {
   10375                 :          18 :               tree _q20 = CALL_EXPR_ARG (_p0, 0);
   10376                 :          18 :               switch (TREE_CODE (_p1))
   10377                 :             :                 {
   10378                 :          14 :                 case CALL_EXPR:
   10379                 :          14 :                   switch (get_call_combined_fn (_p1))
   10380                 :             :                     {
   10381                 :          14 :                     case CFN_BUILT_IN_CBRT:
   10382                 :          14 :                       if (call_expr_nargs (_p1) == 1)
   10383                 :             :     {
   10384                 :          14 :                           tree _q40 = CALL_EXPR_ARG (_p1, 0);
   10385                 :          14 :                           {
   10386                 :          14 :                             tree captures[4] ATTRIBUTE_UNUSED = { _p0, _q20, _p1, _q40 };
   10387                 :          14 :                             if (flag_unsafe_math_optimizations
   10388                 :             : )
   10389                 :             :                               {
   10390                 :          12 :                                 if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail1581;
   10391                 :          12 :                                 {
   10392                 :          12 :                                   tree res_op0;
   10393                 :          12 :                                   {
   10394                 :          12 :                                     tree _o1[2], _r1;
   10395                 :          12 :                                     _o1[0] = captures[1];
   10396                 :          12 :                                     _o1[1] = captures[3];
   10397                 :          12 :                                     _r1 = fold_build2_loc (loc, MULT_EXPR, TREE_TYPE (_o1[0]), _o1[0], _o1[1]);
   10398                 :          12 :                                     res_op0 = _r1;
   10399                 :             :                                   }
   10400                 :          12 :                                   tree _r;
   10401                 :          12 :                                   _r = maybe_build_call_expr_loc (loc, CFN_BUILT_IN_CBRT, type, 1, res_op0);
   10402                 :          12 :                                   if (!_r)
   10403                 :           0 :                                     goto next_after_fail1581;
   10404                 :          12 :                                   if (UNLIKELY (debug_dump)) generic_dump_logs ("match.pd", 1002, __FILE__, __LINE__, true);
   10405                 :          12 :                                   return _r;
   10406                 :             :                                 }
   10407                 :           2 : next_after_fail1581:;
   10408                 :             :                               }
   10409                 :             :                           }
   10410                 :             :                         }
   10411                 :             :                       break;
   10412                 :             :                     default:;
   10413                 :             :                     }
   10414                 :             :                   break;
   10415                 :             :                 default:;
   10416                 :             :                 }
   10417                 :             :             }
   10418                 :             :           break;
   10419                 :          48 :         case CFN_BUILT_IN_EXP2:
   10420                 :          48 :           if (call_expr_nargs (_p0) == 1)
   10421                 :             :     {
   10422                 :          48 :               tree _q20 = CALL_EXPR_ARG (_p0, 0);
   10423                 :          48 :               switch (TREE_CODE (_p1))
   10424                 :             :                 {
   10425                 :          24 :                 case CALL_EXPR:
   10426                 :          24 :                   switch (get_call_combined_fn (_p1))
   10427                 :             :                     {
   10428                 :           0 :                     case CFN_BUILT_IN_POW:
   10429                 :           0 :                       if (call_expr_nargs (_p1) == 2)
   10430                 :             :     {
   10431                 :           0 :                           tree _q40 = CALL_EXPR_ARG (_p1, 0);
   10432                 :           0 :                           tree _q41 = CALL_EXPR_ARG (_p1, 1);
   10433                 :           0 :                           switch (TREE_CODE (_q40))
   10434                 :             :                             {
   10435                 :           0 :                             case REAL_CST:
   10436                 :           0 :                               {
   10437                 :           0 :                                 {
   10438                 :           0 :                                   tree captures[5] ATTRIBUTE_UNUSED = { _p1, _q40, _q41, _p0, _q20 };
   10439                 :           0 :                                   if (flag_unsafe_math_optimizations
   10440                 :             : )
   10441                 :             :                                     {
   10442                 :           0 :                                       if (real_compare (GT_EXPR, TREE_REAL_CST_PTR (captures[1]), &dconst0)
   10443                 :           0 :  && real_isfinite (TREE_REAL_CST_PTR (captures[1]))
   10444                 :             : )
   10445                 :             :                                         {
   10446                 :           0 :                                           if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail1582;
   10447                 :           0 :                                           {
   10448                 :           0 :                                             tree res_op0;
   10449                 :           0 :                                             {
   10450                 :           0 :                                               tree _o1[2], _r1;
   10451                 :           0 :                                               {
   10452                 :           0 :                                                 tree _o2[2], _r2;
   10453                 :           0 :                                                 {
   10454                 :           0 :                                                   tree _o3[1], _r3;
   10455                 :           0 :                                                   _o3[0] = captures[1];
   10456                 :           0 :                                                   _r3 = maybe_build_call_expr_loc (loc, CFN_BUILT_IN_LOG2, TREE_TYPE (_o3[0]), 1, _o3[0]);
   10457                 :           0 :                                                   if (!_r3)
   10458                 :           0 :                                                     goto next_after_fail1582;
   10459                 :           0 :                                                   _o2[0] = _r3;
   10460                 :             :                                                 }
   10461                 :           0 :                                                 _o2[1] = captures[2];
   10462                 :           0 :                                                 _r2 = fold_build2_loc (loc, MULT_EXPR, TREE_TYPE (_o2[0]), _o2[0], _o2[1]);
   10463                 :           0 :                                                 _o1[0] = _r2;
   10464                 :             :                                               }
   10465                 :           0 :                                               _o1[1] = captures[4];
   10466                 :           0 :                                               _r1 = fold_build2_loc (loc, PLUS_EXPR, TREE_TYPE (_o1[0]), _o1[0], _o1[1]);
   10467                 :           0 :                                               res_op0 = _r1;
   10468                 :             :                                             }
   10469                 :           0 :                                             tree _r;
   10470                 :           0 :                                             _r = maybe_build_call_expr_loc (loc, CFN_BUILT_IN_EXP2, type, 1, res_op0);
   10471                 :           0 :                                             if (!_r)
   10472                 :           0 :                                               goto next_after_fail1582;
   10473                 :           0 :                                             if (UNLIKELY (debug_dump)) generic_dump_logs ("match.pd", 1004, __FILE__, __LINE__, true);
   10474                 :           0 :                                             return _r;
   10475                 :             :                                           }
   10476                 :           0 : next_after_fail1582:;
   10477                 :             :                                         }
   10478                 :             :                                     }
   10479                 :             :                                 }
   10480                 :           0 :                                 break;
   10481                 :             :                               }
   10482                 :             :                             default:;
   10483                 :             :                             }
   10484                 :             :                         }
   10485                 :             :                       break;
   10486                 :          24 :                     case CFN_BUILT_IN_EXP2:
   10487                 :          24 :                       if (call_expr_nargs (_p1) == 1)
   10488                 :             :     {
   10489                 :          24 :                           tree _q40 = CALL_EXPR_ARG (_p1, 0);
   10490                 :          24 :                           {
   10491                 :          24 :                             tree captures[4] ATTRIBUTE_UNUSED = { _p0, _q20, _p1, _q40 };
   10492                 :          24 :                             if (flag_unsafe_math_optimizations
   10493                 :             : )
   10494                 :             :                               {
   10495                 :          24 :                                 if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail1583;
   10496                 :          24 :                                 {
   10497                 :          24 :                                   tree res_op0;
   10498                 :          24 :                                   {
   10499                 :          24 :                                     tree _o1[2], _r1;
   10500                 :          24 :                                     _o1[0] = captures[1];
   10501                 :          24 :                                     _o1[1] = captures[3];
   10502                 :          24 :                                     _r1 = fold_build2_loc (loc, PLUS_EXPR, TREE_TYPE (_o1[0]), _o1[0], _o1[1]);
   10503                 :          24 :                                     res_op0 = _r1;
   10504                 :             :                                   }
   10505                 :          24 :                                   tree _r;
   10506                 :          24 :                                   _r = maybe_build_call_expr_loc (loc, CFN_BUILT_IN_EXP2, type, 1, res_op0);
   10507                 :          24 :                                   if (!_r)
   10508                 :           0 :                                     goto next_after_fail1583;
   10509                 :          24 :                                   if (UNLIKELY (debug_dump)) generic_dump_logs ("match.pd", 1003, __FILE__, __LINE__, true);
   10510                 :          24 :                                   return _r;
   10511                 :             :                                 }
   10512                 :           0 : next_after_fail1583:;
   10513                 :             :                               }
   10514                 :             :                           }
   10515                 :             :                         }
   10516                 :             :                       break;
   10517                 :             :                     default:;
   10518                 :             :                     }
   10519                 :             :                   break;
   10520                 :             :                 default:;
   10521                 :             :                 }
   10522                 :             :             }
   10523                 :             :           break;
   10524                 :          66 :         case CFN_BUILT_IN_EXPF:
   10525                 :          66 :           if (call_expr_nargs (_p0) == 1)
   10526                 :             :     {
   10527                 :          66 :               tree _q20 = CALL_EXPR_ARG (_p0, 0);
   10528                 :          66 :               switch (TREE_CODE (_p1))
   10529                 :             :                 {
   10530                 :          36 :                 case CALL_EXPR:
   10531                 :          36 :                   switch (get_call_combined_fn (_p1))
   10532                 :             :                     {
   10533                 :          29 :                     case CFN_BUILT_IN_EXPF:
   10534                 :          29 :                       if (call_expr_nargs (_p1) == 1)
   10535                 :             :     {
   10536                 :          29 :                           tree _q40 = CALL_EXPR_ARG (_p1, 0);
   10537                 :          29 :                           {
   10538                 :          29 :                             tree captures[4] ATTRIBUTE_UNUSED = { _p0, _q20, _p1, _q40 };
   10539                 :          29 :                             if (flag_unsafe_math_optimizations
   10540                 :             : )
   10541                 :             :                               {
   10542                 :          25 :                                 if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail1584;
   10543                 :          25 :                                 {
   10544                 :          25 :                                   tree res_op0;
   10545                 :          25 :                                   {
   10546                 :          25 :                                     tree _o1[2], _r1;
   10547                 :          25 :                                     _o1[0] = captures[1];
   10548                 :          25 :                                     _o1[1] = captures[3];
   10549                 :          25 :                                     _r1 = fold_build2_loc (loc, PLUS_EXPR, TREE_TYPE (_o1[0]), _o1[0], _o1[1]);
   10550                 :          25 :                                     res_op0 = _r1;
   10551                 :             :                                   }
   10552                 :          25 :                                   tree _r;
   10553                 :          25 :                                   _r = maybe_build_call_expr_loc (loc, CFN_BUILT_IN_EXPF, type, 1, res_op0);
   10554                 :          25 :                                   if (!_r)
   10555                 :           0 :                                     goto next_after_fail1584;
   10556                 :          25 :                                   if (UNLIKELY (debug_dump)) generic_dump_logs ("match.pd", 1003, __FILE__, __LINE__, true);
   10557                 :          25 :                                   return _r;
   10558                 :             :                                 }
   10559                 :           4 : next_after_fail1584:;
   10560                 :             :                               }
   10561                 :             :                           }
   10562                 :             :                         }
   10563                 :             :                       break;
   10564                 :           0 :                     case CFN_BUILT_IN_POWF:
   10565                 :           0 :                       if (call_expr_nargs (_p1) == 2)
   10566                 :             :     {
   10567                 :           0 :                           tree _q40 = CALL_EXPR_ARG (_p1, 0);
   10568                 :           0 :                           tree _q41 = CALL_EXPR_ARG (_p1, 1);
   10569                 :           0 :                           switch (TREE_CODE (_q40))
   10570                 :             :                             {
   10571                 :           0 :                             case REAL_CST:
   10572                 :           0 :                               {
   10573                 :           0 :                                 {
   10574                 :           0 :                                   tree captures[5] ATTRIBUTE_UNUSED = { _p1, _q40, _q41, _p0, _q20 };
   10575                 :           0 :                                   if (flag_unsafe_math_optimizations
   10576                 :             : )
   10577                 :             :                                     {
   10578                 :           0 :                                       if (real_compare (GT_EXPR, TREE_REAL_CST_PTR (captures[1]), &dconst0)
   10579                 :           0 :  && real_isfinite (TREE_REAL_CST_PTR (captures[1]))
   10580                 :             : )
   10581                 :             :                                         {
   10582                 :           0 :                                           if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail1585;
   10583                 :           0 :                                           {
   10584                 :           0 :                                             tree res_op0;
   10585                 :           0 :                                             {
   10586                 :           0 :                                               tree _o1[2], _r1;
   10587                 :           0 :                                               {
   10588                 :           0 :                                                 tree _o2[2], _r2;
   10589                 :           0 :                                                 {
   10590                 :           0 :                                                   tree _o3[1], _r3;
   10591                 :           0 :                                                   _o3[0] = captures[1];
   10592                 :           0 :                                                   _r3 = maybe_build_call_expr_loc (loc, CFN_BUILT_IN_LOGF, TREE_TYPE (_o3[0]), 1, _o3[0]);
   10593                 :           0 :                                                   if (!_r3)
   10594                 :           0 :                                                     goto next_after_fail1585;
   10595                 :           0 :                                                   _o2[0] = _r3;
   10596                 :             :                                                 }
   10597                 :           0 :                                                 _o2[1] = captures[2];
   10598                 :           0 :                                                 _r2 = fold_build2_loc (loc, MULT_EXPR, TREE_TYPE (_o2[0]), _o2[0], _o2[1]);
   10599                 :           0 :                                                 _o1[0] = _r2;
   10600                 :             :                                               }
   10601                 :           0 :                                               _o1[1] = captures[4];
   10602                 :           0 :                                               _r1 = fold_build2_loc (loc, PLUS_EXPR, TREE_TYPE (_o1[0]), _o1[0], _o1[1]);
   10603                 :           0 :                                               res_op0 = _r1;
   10604                 :             :                                             }
   10605                 :           0 :                                             tree _r;
   10606                 :           0 :                                             _r = maybe_build_call_expr_loc (loc, CFN_BUILT_IN_EXPF, type, 1, res_op0);
   10607                 :           0 :                                             if (!_r)
   10608                 :           0 :                                               goto next_after_fail1585;
   10609                 :           0 :                                             if (UNLIKELY (debug_dump)) generic_dump_logs ("match.pd", 1004, __FILE__, __LINE__, true);
   10610                 :           0 :                                             return _r;
   10611                 :             :                                           }
   10612                 :           0 : next_after_fail1585:;
   10613                 :             :                                         }
   10614                 :             :                                     }
   10615                 :             :                                 }
   10616                 :           0 :                                 break;
   10617                 :             :                               }
   10618                 :             :                             default:;
   10619                 :             :                             }
   10620                 :             :                         }
   10621                 :             :                       break;
   10622                 :             :                     default:;
   10623                 :             :                     }
   10624                 :             :                   break;
   10625                 :             :                 default:;
   10626                 :             :                 }
   10627                 :             :             }
   10628                 :             :           break;
   10629                 :          59 :         case CFN_BUILT_IN_EXPL:
   10630                 :          59 :           if (call_expr_nargs (_p0) == 1)
   10631                 :             :     {
   10632                 :          59 :               tree _q20 = CALL_EXPR_ARG (_p0, 0);
   10633                 :          59 :               switch (TREE_CODE (_p1))
   10634                 :             :                 {
   10635                 :          29 :                 case CALL_EXPR:
   10636                 :          29 :                   switch (get_call_combined_fn (_p1))
   10637                 :             :                     {
   10638                 :          29 :                     case CFN_BUILT_IN_EXPL:
   10639                 :          29 :                       if (call_expr_nargs (_p1) == 1)
   10640                 :             :     {
   10641                 :          29 :                           tree _q40 = CALL_EXPR_ARG (_p1, 0);
   10642                 :          29 :                           {
   10643                 :          29 :                             tree captures[4] ATTRIBUTE_UNUSED = { _p0, _q20, _p1, _q40 };
   10644                 :          29 :                             if (flag_unsafe_math_optimizations
   10645                 :             : )
   10646                 :             :                               {
   10647                 :          25 :                                 if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail1586;
   10648                 :          25 :                                 {
   10649                 :          25 :                                   tree res_op0;
   10650                 :          25 :                                   {
   10651                 :          25 :                                     tree _o1[2], _r1;
   10652                 :          25 :                                     _o1[0] = captures[1];
   10653                 :          25 :                                     _o1[1] = captures[3];
   10654                 :          25 :                                     _r1 = fold_build2_loc (loc, PLUS_EXPR, TREE_TYPE (_o1[0]), _o1[0], _o1[1]);
   10655                 :          25 :                                     res_op0 = _r1;
   10656                 :             :                                   }
   10657                 :          25 :                                   tree _r;
   10658                 :          25 :                                   _r = maybe_build_call_expr_loc (loc, CFN_BUILT_IN_EXPL, type, 1, res_op0);
   10659                 :          25 :                                   if (!_r)
   10660                 :           0 :                                     goto next_after_fail1586;
   10661                 :          25 :                                   if (UNLIKELY (debug_dump)) generic_dump_logs ("match.pd", 1003, __FILE__, __LINE__, true);
   10662                 :          25 :                                   return _r;
   10663                 :             :                                 }
   10664                 :           4 : next_after_fail1586:;
   10665                 :             :                               }
   10666                 :             :                           }
   10667                 :             :                         }
   10668                 :             :                       break;
   10669                 :           0 :                     case CFN_BUILT_IN_POWL:
   10670                 :           0 :                       if (call_expr_nargs (_p1) == 2)
   10671                 :             :     {
   10672                 :           0 :                           tree _q40 = CALL_EXPR_ARG (_p1, 0);
   10673                 :           0 :                           tree _q41 = CALL_EXPR_ARG (_p1, 1);
   10674                 :           0 :                           switch (TREE_CODE (_q40))
   10675                 :             :                             {
   10676                 :           0 :                             case REAL_CST:
   10677                 :           0 :                               {
   10678                 :           0 :                                 {
   10679                 :           0 :                                   tree captures[5] ATTRIBUTE_UNUSED = { _p1, _q40, _q41, _p0, _q20 };
   10680                 :           0 :                                   if (flag_unsafe_math_optimizations
   10681                 :             : )
   10682                 :             :                                     {
   10683                 :           0 :                                       if (real_compare (GT_EXPR, TREE_REAL_CST_PTR (captures[1]), &dconst0)
   10684                 :           0 :  && real_isfinite (TREE_REAL_CST_PTR (captures[1]))
   10685                 :             : )
   10686                 :             :                                         {
   10687                 :           0 :                                           if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail1587;
   10688                 :           0 :                                           {
   10689                 :           0 :                                             tree res_op0;
   10690                 :           0 :                                             {
   10691                 :           0 :                                               tree _o1[2], _r1;
   10692                 :           0 :                                               {
   10693                 :           0 :                                                 tree _o2[2], _r2;
   10694                 :           0 :                                                 {
   10695                 :           0 :                                                   tree _o3[1], _r3;
   10696                 :           0 :                                                   _o3[0] = captures[1];
   10697                 :           0 :                                                   _r3 = maybe_build_call_expr_loc (loc, CFN_BUILT_IN_LOGL, TREE_TYPE (_o3[0]), 1, _o3[0]);
   10698                 :           0 :                                                   if (!_r3)
   10699                 :           0 :                                                     goto next_after_fail1587;
   10700                 :           0 :                                                   _o2[0] = _r3;
   10701                 :             :                                                 }
   10702                 :           0 :                                                 _o2[1] = captures[2];
   10703                 :           0 :                                                 _r2 = fold_build2_loc (loc, MULT_EXPR, TREE_TYPE (_o2[0]), _o2[0], _o2[1]);
   10704                 :           0 :                                                 _o1[0] = _r2;
   10705                 :             :                                               }
   10706                 :           0 :                                               _o1[1] = captures[4];
   10707                 :           0 :                                               _r1 = fold_build2_loc (loc, PLUS_EXPR, TREE_TYPE (_o1[0]), _o1[0], _o1[1]);
   10708                 :           0 :                                               res_op0 = _r1;
   10709                 :             :                                             }
   10710                 :           0 :                                             tree _r;
   10711                 :           0 :                                             _r = maybe_build_call_expr_loc (loc, CFN_BUILT_IN_EXPL, type, 1, res_op0);
   10712                 :           0 :                                             if (!_r)
   10713                 :           0 :                                               goto next_after_fail1587;
   10714                 :           0 :                                             if (UNLIKELY (debug_dump)) generic_dump_logs ("match.pd", 1004, __FILE__, __LINE__, true);
   10715                 :           0 :                                             return _r;
   10716                 :             :                                           }
   10717                 :           0 : next_after_fail1587:;
   10718                 :             :                                         }
   10719                 :             :                                     }
   10720                 :             :                                 }
   10721                 :           0 :                                 break;
   10722                 :             :                               }
   10723                 :             :                             default:;
   10724                 :             :                             }
   10725                 :             :                         }
   10726                 :             :                       break;
   10727                 :             :                     default:;
   10728                 :             :                     }
   10729                 :             :                   break;
   10730                 :             :                 default:;
   10731                 :             :                 }
   10732                 :             :             }
   10733                 :             :           break;
   10734                 :          19 :         case CFN_BUILT_IN_POWF:
   10735                 :          19 :           if (call_expr_nargs (_p0) == 2)
   10736                 :             :     {
   10737                 :          19 :               tree _q20 = CALL_EXPR_ARG (_p0, 0);
   10738                 :          19 :               tree _q21 = CALL_EXPR_ARG (_p0, 1);
   10739                 :          19 :               switch (TREE_CODE (_q20))
   10740                 :             :                 {
   10741                 :           0 :                 case REAL_CST:
   10742                 :           0 :                   {
   10743                 :           0 :                     switch (TREE_CODE (_p1))
   10744                 :             :                       {
   10745                 :           0 :                       case CALL_EXPR:
   10746                 :           0 :                         switch (get_call_combined_fn (_p1))
   10747                 :             :                           {
   10748                 :           0 :                           case CFN_BUILT_IN_EXP10F:
   10749                 :           0 :                             if (call_expr_nargs (_p1) == 1)
   10750                 :             :     {
   10751                 :           0 :                                 tree _q50 = CALL_EXPR_ARG (_p1, 0);
   10752                 :           0 :                                 {
   10753                 :           0 :                                   tree captures[5] ATTRIBUTE_UNUSED = { _p0, _q20, _q21, _p1, _q50 };
   10754                 :           0 :                                   if (flag_unsafe_math_optimizations
   10755                 :             : )
   10756                 :             :                                     {
   10757                 :           0 :                                       if (real_compare (GT_EXPR, TREE_REAL_CST_PTR (captures[1]), &dconst0)
   10758                 :           0 :  && real_isfinite (TREE_REAL_CST_PTR (captures[1]))
   10759                 :             : )
   10760                 :             :                                         {
   10761                 :           0 :                                           if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail1588;
   10762                 :           0 :                                           {
   10763                 :           0 :                                             tree res_op0;
   10764                 :           0 :                                             {
   10765                 :           0 :                                               tree _o1[2], _r1;
   10766                 :           0 :                                               {
   10767                 :           0 :                                                 tree _o2[2], _r2;
   10768                 :           0 :                                                 {
   10769                 :           0 :                                                   tree _o3[1], _r3;
   10770                 :           0 :                                                   _o3[0] = captures[1];
   10771                 :           0 :                                                   _r3 = maybe_build_call_expr_loc (loc, CFN_BUILT_IN_LOG10F, TREE_TYPE (_o3[0]), 1, _o3[0]);
   10772                 :           0 :                                                   if (!_r3)
   10773                 :           0 :                                                     goto next_after_fail1588;
   10774                 :           0 :                                                   _o2[0] = _r3;
   10775                 :             :                                                 }
   10776                 :           0 :                                                 _o2[1] = captures[2];
   10777                 :           0 :                                                 _r2 = fold_build2_loc (loc, MULT_EXPR, TREE_TYPE (_o2[0]), _o2[0], _o2[1]);
   10778                 :           0 :                                                 _o1[0] = _r2;
   10779                 :             :                                               }
   10780                 :           0 :                                               _o1[1] = captures[4];
   10781                 :           0 :                                               _r1 = fold_build2_loc (loc, PLUS_EXPR, TREE_TYPE (_o1[0]), _o1[0], _o1[1]);
   10782                 :           0 :                                               res_op0 = _r1;
   10783                 :             :                                             }
   10784                 :           0 :                                             tree _r;
   10785                 :           0 :                                             _r = maybe_build_call_expr_loc (loc, CFN_BUILT_IN_EXP10F, type, 1, res_op0);
   10786                 :           0 :                                             if (!_r)
   10787                 :           0 :                                               goto next_after_fail1588;
   10788                 :           0 :                                             if (UNLIKELY (debug_dump)) generic_dump_logs ("match.pd", 1004, __FILE__, __LINE__, true);
   10789                 :           0 :                                             return _r;
   10790                 :             :                                           }
   10791                 :           0 : next_after_fail1588:;
   10792                 :             :                                         }
   10793                 :             :                                     }
   10794                 :             :                                 }
   10795                 :             :                               }
   10796                 :             :                             break;
   10797                 :           0 :                           case CFN_BUILT_IN_EXPF:
   10798                 :           0 :                             if (call_expr_nargs (_p1) == 1)
   10799                 :             :     {
   10800                 :           0 :                                 tree _q50 = CALL_EXPR_ARG (_p1, 0);
   10801                 :           0 :                                 {
   10802                 :           0 :                                   tree captures[5] ATTRIBUTE_UNUSED = { _p0, _q20, _q21, _p1, _q50 };
   10803                 :           0 :                                   if (flag_unsafe_math_optimizations
   10804                 :             : )
   10805                 :             :                                     {
   10806                 :           0 :                                       if (real_compare (GT_EXPR, TREE_REAL_CST_PTR (captures[1]), &dconst0)
   10807                 :           0 :  && real_isfinite (TREE_REAL_CST_PTR (captures[1]))
   10808                 :             : )
   10809                 :             :                                         {
   10810                 :           0 :                                           if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail1589;
   10811                 :           0 :                                           {
   10812                 :           0 :                                             tree res_op0;
   10813                 :           0 :                                             {
   10814                 :           0 :                                               tree _o1[2], _r1;
   10815                 :           0 :                                               {
   10816                 :           0 :                                                 tree _o2[2], _r2;
   10817                 :           0 :                                                 {
   10818                 :           0 :                                                   tree _o3[1], _r3;
   10819                 :           0 :                                                   _o3[0] = captures[1];
   10820                 :           0 :                                                   _r3 = maybe_build_call_expr_loc (loc, CFN_BUILT_IN_LOGF, TREE_TYPE (_o3[0]), 1, _o3[0]);
   10821                 :           0 :                                                   if (!_r3)
   10822                 :           0 :                                                     goto next_after_fail1589;
   10823                 :           0 :                                                   _o2[0] = _r3;
   10824                 :             :                                                 }
   10825                 :           0 :                                                 _o2[1] = captures[2];
   10826                 :           0 :                                                 _r2 = fold_build2_loc (loc, MULT_EXPR, TREE_TYPE (_o2[0]), _o2[0], _o2[1]);
   10827                 :           0 :                                                 _o1[0] = _r2;
   10828                 :             :                                               }
   10829                 :           0 :                                               _o1[1] = captures[4];
   10830                 :           0 :                                               _r1 = fold_build2_loc (loc, PLUS_EXPR, TREE_TYPE (_o1[0]), _o1[0], _o1[1]);
   10831                 :           0 :                                               res_op0 = _r1;
   10832                 :             :                                             }
   10833                 :           0 :                                             tree _r;
   10834                 :           0 :                                             _r = maybe_build_call_expr_loc (loc, CFN_BUILT_IN_EXPF, type, 1, res_op0);
   10835                 :           0 :                                             if (!_r)
   10836                 :           0 :                                               goto next_after_fail1589;
   10837                 :           0 :                                             if (UNLIKELY (debug_dump)) generic_dump_logs ("match.pd", 1004, __FILE__, __LINE__, true);
   10838                 :           0 :                                             return _r;
   10839                 :             :                                           }
   10840                 :           0 : next_after_fail1589:;
   10841                 :             :                                         }
   10842                 :             :                                     }
   10843                 :             :                                 }
   10844                 :             :                               }
   10845                 :             :                             break;
   10846                 :           0 :                           case CFN_BUILT_IN_POW10F:
   10847                 :           0 :                             if (call_expr_nargs (_p1) == 1)
   10848                 :             :     {
   10849                 :           0 :                                 tree _q50 = CALL_EXPR_ARG (_p1, 0);
   10850                 :           0 :                                 {
   10851                 :           0 :                                   tree captures[5] ATTRIBUTE_UNUSED = { _p0, _q20, _q21, _p1, _q50 };
   10852                 :           0 :                                   if (flag_unsafe_math_optimizations
   10853                 :             : )
   10854                 :             :                                     {
   10855                 :           0 :                                       if (real_compare (GT_EXPR, TREE_REAL_CST_PTR (captures[1]), &dconst0)
   10856                 :           0 :  && real_isfinite (TREE_REAL_CST_PTR (captures[1]))
   10857                 :             : )
   10858                 :             :                                         {
   10859                 :           0 :                                           if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail1590;
   10860                 :           0 :                                           {
   10861                 :           0 :                                             tree res_op0;
   10862                 :           0 :                                             {
   10863                 :           0 :                                               tree _o1[2], _r1;
   10864                 :           0 :                                               {
   10865                 :           0 :                                                 tree _o2[2], _r2;
   10866                 :           0 :                                                 {
   10867                 :           0 :                                                   tree _o3[1], _r3;
   10868                 :           0 :                                                   _o3[0] = captures[1];
   10869                 :           0 :                                                   _r3 = maybe_build_call_expr_loc (loc, CFN_BUILT_IN_LOG10F, TREE_TYPE (_o3[0]), 1, _o3[0]);
   10870                 :           0 :                                                   if (!_r3)
   10871                 :           0 :                                                     goto next_after_fail1590;
   10872                 :           0 :                                                   _o2[0] = _r3;
   10873                 :             :                                                 }
   10874                 :           0 :                                                 _o2[1] = captures[2];
   10875                 :           0 :                                                 _r2 = fold_build2_loc (loc, MULT_EXPR, TREE_TYPE (_o2[0]), _o2[0], _o2[1]);
   10876                 :           0 :                                                 _o1[0] = _r2;
   10877                 :             :                                               }
   10878                 :           0 :                                               _o1[1] = captures[4];
   10879                 :           0 :                                               _r1 = fold_build2_loc (loc, PLUS_EXPR, TREE_TYPE (_o1[0]), _o1[0], _o1[1]);
   10880                 :           0 :                                               res_op0 = _r1;
   10881                 :             :                                             }
   10882                 :           0 :                                             tree _r;
   10883                 :           0 :                                             _r = maybe_build_call_expr_loc (loc, CFN_BUILT_IN_POW10F, type, 1, res_op0);
   10884                 :           0 :                                             if (!_r)
   10885                 :           0 :                                               goto next_after_fail1590;
   10886                 :           0 :                                             if (UNLIKELY (debug_dump)) generic_dump_logs ("match.pd", 1004, __FILE__, __LINE__, true);
   10887                 :           0 :                                             return _r;
   10888                 :             :                                           }
   10889                 :           0 : next_after_fail1590:;
   10890                 :             :                                         }
   10891                 :             :                                     }
   10892                 :             :                                 }
   10893                 :             :                               }
   10894                 :             :                             break;
   10895                 :           0 :                           case CFN_BUILT_IN_EXP2F:
   10896                 :           0 :                             if (call_expr_nargs (_p1) == 1)
   10897                 :             :     {
   10898                 :           0 :                                 tree _q50 = CALL_EXPR_ARG (_p1, 0);
   10899                 :           0 :                                 {
   10900                 :           0 :                                   tree captures[5] ATTRIBUTE_UNUSED = { _p0, _q20, _q21, _p1, _q50 };
   10901                 :           0 :                                   if (flag_unsafe_math_optimizations
   10902                 :             : )
   10903                 :             :                                     {
   10904                 :           0 :                                       if (real_compare (GT_EXPR, TREE_REAL_CST_PTR (captures[1]), &dconst0)
   10905                 :           0 :  && real_isfinite (TREE_REAL_CST_PTR (captures[1]))
   10906                 :             : )
   10907                 :             :                                         {
   10908                 :           0 :                                           if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail1591;
   10909                 :           0 :                                           {
   10910                 :           0 :                                             tree res_op0;
   10911                 :           0 :                                             {
   10912                 :           0 :                                               tree _o1[2], _r1;
   10913                 :           0 :                                               {
   10914                 :           0 :                                                 tree _o2[2], _r2;
   10915                 :           0 :                                                 {
   10916                 :           0 :                                                   tree _o3[1], _r3;
   10917                 :           0 :                                                   _o3[0] = captures[1];
   10918                 :           0 :                                                   _r3 = maybe_build_call_expr_loc (loc, CFN_BUILT_IN_LOG2F, TREE_TYPE (_o3[0]), 1, _o3[0]);
   10919                 :           0 :                                                   if (!_r3)
   10920                 :           0 :                                                     goto next_after_fail1591;
   10921                 :           0 :                                                   _o2[0] = _r3;
   10922                 :             :                                                 }
   10923                 :           0 :                                                 _o2[1] = captures[2];
   10924                 :           0 :                                                 _r2 = fold_build2_loc (loc, MULT_EXPR, TREE_TYPE (_o2[0]), _o2[0], _o2[1]);
   10925                 :           0 :                                                 _o1[0] = _r2;
   10926                 :             :                                               }
   10927                 :           0 :                                               _o1[1] = captures[4];
   10928                 :           0 :                                               _r1 = fold_build2_loc (loc, PLUS_EXPR, TREE_TYPE (_o1[0]), _o1[0], _o1[1]);
   10929                 :           0 :                                               res_op0 = _r1;
   10930                 :             :                                             }
   10931                 :           0 :                                             tree _r;
   10932                 :           0 :                                             _r = maybe_build_call_expr_loc (loc, CFN_BUILT_IN_EXP2F, type, 1, res_op0);
   10933                 :           0 :                                             if (!_r)
   10934                 :           0 :                                               goto next_after_fail1591;
   10935                 :           0 :                                             if (UNLIKELY (debug_dump)) generic_dump_logs ("match.pd", 1004, __FILE__, __LINE__, true);
   10936                 :           0 :                                             return _r;
   10937                 :             :                                           }
   10938                 :           0 : next_after_fail1591:;
   10939                 :             :                                         }
   10940                 :             :                                     }
   10941                 :             :                                 }
   10942                 :             :                               }
   10943                 :             :                             break;
   10944                 :             :                           default:;
   10945                 :             :                           }
   10946                 :             :                         break;
   10947                 :             :                       default:;
   10948                 :             :                       }
   10949                 :             :                     break;
   10950                 :             :                   }
   10951                 :          19 :                 default:;
   10952                 :             :                 }
   10953                 :          19 :               switch (TREE_CODE (_q21))
   10954                 :             :                 {
   10955                 :           5 :                 case REAL_CST:
   10956                 :           5 :                   {
   10957                 :           5 :                     if ((_p1 == _q20 && ! TREE_SIDE_EFFECTS (_p1)) || (operand_equal_p (_p1, _q20, 0) && types_match (_p1, _q20)))
   10958                 :             :                       {
   10959                 :           0 :                         {
   10960                 :           0 :                           tree captures[3] ATTRIBUTE_UNUSED = { _q20, _p0, _q21 };
   10961                 :           0 :                           tree res = generic_simplify_194 (loc, type, _p0, _p1, captures, CFN_BUILT_IN_POWF);
   10962                 :           0 :                           if (res) return res;
   10963                 :             :                         }
   10964                 :             :                       }
   10965                 :             :                     break;
   10966                 :             :                   }
   10967                 :             :                 default:;
   10968                 :             :                 }
   10969                 :             :             }
   10970                 :             :           break;
   10971                 :          12 :         case CFN_BUILT_IN_POWL:
   10972                 :          12 :           if (call_expr_nargs (_p0) == 2)
   10973                 :             :     {
   10974                 :          12 :               tree _q20 = CALL_EXPR_ARG (_p0, 0);
   10975                 :          12 :               tree _q21 = CALL_EXPR_ARG (_p0, 1);
   10976                 :          12 :               switch (TREE_CODE (_q20))
   10977                 :             :                 {
   10978                 :           0 :                 case REAL_CST:
   10979                 :           0 :                   {
   10980                 :           0 :                     switch (TREE_CODE (_p1))
   10981                 :             :                       {
   10982                 :           0 :                       case CALL_EXPR:
   10983                 :           0 :                         switch (get_call_combined_fn (_p1))
   10984                 :             :                           {
   10985                 :           0 :                           case CFN_BUILT_IN_EXP10L:
   10986                 :           0 :                             if (call_expr_nargs (_p1) == 1)
   10987                 :             :     {
   10988                 :           0 :                                 tree _q50 = CALL_EXPR_ARG (_p1, 0);
   10989                 :           0 :                                 {
   10990                 :           0 :                                   tree captures[5] ATTRIBUTE_UNUSED = { _p0, _q20, _q21, _p1, _q50 };
   10991                 :           0 :                                   if (flag_unsafe_math_optimizations
   10992                 :             : )
   10993                 :             :                                     {
   10994                 :           0 :                                       if (real_compare (GT_EXPR, TREE_REAL_CST_PTR (captures[1]), &dconst0)
   10995                 :           0 :  && real_isfinite (TREE_REAL_CST_PTR (captures[1]))
   10996                 :             : )
   10997                 :             :                                         {
   10998                 :           0 :                                           if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail1592;
   10999                 :           0 :                                           {
   11000                 :           0 :                                             tree res_op0;
   11001                 :           0 :                                             {
   11002                 :           0 :                                               tree _o1[2], _r1;
   11003                 :           0 :                                               {
   11004                 :           0 :                                                 tree _o2[2], _r2;
   11005                 :           0 :                                                 {
   11006                 :           0 :                                                   tree _o3[1], _r3;
   11007                 :           0 :                                                   _o3[0] = captures[1];
   11008                 :           0 :                                                   _r3 = maybe_build_call_expr_loc (loc, CFN_BUILT_IN_LOG10L, TREE_TYPE (_o3[0]), 1, _o3[0]);
   11009                 :           0 :                                                   if (!_r3)
   11010                 :           0 :                                                     goto next_after_fail1592;
   11011                 :           0 :                                                   _o2[0] = _r3;
   11012                 :             :                                                 }
   11013                 :           0 :                                                 _o2[1] = captures[2];
   11014                 :           0 :                                                 _r2 = fold_build2_loc (loc, MULT_EXPR, TREE_TYPE (_o2[0]), _o2[0], _o2[1]);
   11015                 :           0 :                                                 _o1[0] = _r2;
   11016                 :             :                                               }
   11017                 :           0 :                                               _o1[1] = captures[4];
   11018                 :           0 :                                               _r1 = fold_build2_loc (loc, PLUS_EXPR, TREE_TYPE (_o1[0]), _o1[0], _o1[1]);
   11019                 :           0 :                                               res_op0 = _r1;
   11020                 :             :                                             }
   11021                 :           0 :                                             tree _r;
   11022                 :           0 :                                             _r = maybe_build_call_expr_loc (loc, CFN_BUILT_IN_EXP10L, type, 1, res_op0);
   11023                 :           0 :                                             if (!_r)
   11024                 :           0 :                                               goto next_after_fail1592;
   11025                 :           0 :                                             if (UNLIKELY (debug_dump)) generic_dump_logs ("match.pd", 1004, __FILE__, __LINE__, true);
   11026                 :           0 :                                             return _r;
   11027                 :             :                                           }
   11028                 :           0 : next_after_fail1592:;
   11029                 :             :                                         }
   11030                 :             :                                     }
   11031                 :             :                                 }
   11032                 :             :                               }
   11033                 :             :                             break;
   11034                 :           0 :                           case CFN_BUILT_IN_EXPL:
   11035                 :           0 :                             if (call_expr_nargs (_p1) == 1)
   11036                 :             :     {
   11037                 :           0 :                                 tree _q50 = CALL_EXPR_ARG (_p1, 0);
   11038                 :           0 :                                 {
   11039                 :           0 :                                   tree captures[5] ATTRIBUTE_UNUSED = { _p0, _q20, _q21, _p1, _q50 };
   11040                 :           0 :                                   if (flag_unsafe_math_optimizations
   11041                 :             : )
   11042                 :             :                                     {
   11043                 :           0 :                                       if (real_compare (GT_EXPR, TREE_REAL_CST_PTR (captures[1]), &dconst0)
   11044                 :           0 :  && real_isfinite (TREE_REAL_CST_PTR (captures[1]))
   11045                 :             : )
   11046                 :             :                                         {
   11047                 :           0 :                                           if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail1593;
   11048                 :           0 :                                           {
   11049                 :           0 :                                             tree res_op0;
   11050                 :           0 :                                             {
   11051                 :           0 :                                               tree _o1[2], _r1;
   11052                 :           0 :                                               {
   11053                 :           0 :                                                 tree _o2[2], _r2;
   11054                 :           0 :                                                 {
   11055                 :           0 :                                                   tree _o3[1], _r3;
   11056                 :           0 :                                                   _o3[0] = captures[1];
   11057                 :           0 :                                                   _r3 = maybe_build_call_expr_loc (loc, CFN_BUILT_IN_LOGL, TREE_TYPE (_o3[0]), 1, _o3[0]);
   11058                 :           0 :                                                   if (!_r3)
   11059                 :           0 :                                                     goto next_after_fail1593;
   11060                 :           0 :                                                   _o2[0] = _r3;
   11061                 :             :                                                 }
   11062                 :           0 :                                                 _o2[1] = captures[2];
   11063                 :           0 :                                                 _r2 = fold_build2_loc (loc, MULT_EXPR, TREE_TYPE (_o2[0]), _o2[0], _o2[1]);
   11064                 :           0 :                                                 _o1[0] = _r2;
   11065                 :             :                                               }
   11066                 :           0 :                                               _o1[1] = captures[4];
   11067                 :           0 :                                               _r1 = fold_build2_loc (loc, PLUS_EXPR, TREE_TYPE (_o1[0]), _o1[0], _o1[1]);
   11068                 :           0 :                                               res_op0 = _r1;
   11069                 :             :                                             }
   11070                 :           0 :                                             tree _r;
   11071                 :           0 :                                             _r = maybe_build_call_expr_loc (loc, CFN_BUILT_IN_EXPL, type, 1, res_op0);
   11072                 :           0 :                                             if (!_r)
   11073                 :           0 :                                               goto next_after_fail1593;
   11074                 :           0 :                                             if (UNLIKELY (debug_dump)) generic_dump_logs ("match.pd", 1004, __FILE__, __LINE__, true);
   11075                 :           0 :                                             return _r;
   11076                 :             :                                           }
   11077                 :           0 : next_after_fail1593:;
   11078                 :             :                                         }
   11079                 :             :                                     }
   11080                 :             :                                 }
   11081                 :             :                               }
   11082                 :             :                             break;
   11083                 :           0 :                           case CFN_BUILT_IN_POW10L:
   11084                 :           0 :                             if (call_expr_nargs (_p1) == 1)
   11085                 :             :     {
   11086                 :           0 :                                 tree _q50 = CALL_EXPR_ARG (_p1, 0);
   11087                 :           0 :                                 {
   11088                 :           0 :                                   tree captures[5] ATTRIBUTE_UNUSED = { _p0, _q20, _q21, _p1, _q50 };
   11089                 :           0 :                                   if (flag_unsafe_math_optimizations
   11090                 :             : )
   11091                 :             :                                     {
   11092                 :           0 :                                       if (real_compare (GT_EXPR, TREE_REAL_CST_PTR (captures[1]), &dconst0)
   11093                 :           0 :  && real_isfinite (TREE_REAL_CST_PTR (captures[1]))
   11094                 :             : )
   11095                 :             :                                         {
   11096                 :           0 :                                           if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail1594;
   11097                 :           0 :                                           {
   11098                 :           0 :                                             tree res_op0;
   11099                 :           0 :                                             {
   11100                 :           0 :                                               tree _o1[2], _r1;
   11101                 :           0 :                                               {
   11102                 :           0 :                                                 tree _o2[2], _r2;
   11103                 :           0 :                                                 {
   11104                 :           0 :                                                   tree _o3[1], _r3;
   11105                 :           0 :                                                   _o3[0] = captures[1];
   11106                 :           0 :                                                   _r3 = maybe_build_call_expr_loc (loc, CFN_BUILT_IN_LOG10L, TREE_TYPE (_o3[0]), 1, _o3[0]);
   11107                 :           0 :                                                   if (!_r3)
   11108                 :           0 :                                                     goto next_after_fail1594;
   11109                 :           0 :                                                   _o2[0] = _r3;
   11110                 :             :                                                 }
   11111                 :           0 :                                                 _o2[1] = captures[2];
   11112                 :           0 :                                                 _r2 = fold_build2_loc (loc, MULT_EXPR, TREE_TYPE (_o2[0]), _o2[0], _o2[1]);
   11113                 :           0 :                                                 _o1[0] = _r2;
   11114                 :             :                                               }
   11115                 :           0 :                                               _o1[1] = captures[4];
   11116                 :           0 :                                               _r1 = fold_build2_loc (loc, PLUS_EXPR, TREE_TYPE (_o1[0]), _o1[0], _o1[1]);
   11117                 :           0 :                                               res_op0 = _r1;
   11118                 :             :                                             }
   11119                 :           0 :                                             tree _r;
   11120                 :           0 :                                             _r = maybe_build_call_expr_loc (loc, CFN_BUILT_IN_POW10L, type, 1, res_op0);
   11121                 :           0 :                                             if (!_r)
   11122                 :           0 :                                               goto next_after_fail1594;
   11123                 :           0 :                                             if (UNLIKELY (debug_dump)) generic_dump_logs ("match.pd", 1004, __FILE__, __LINE__, true);
   11124                 :           0 :                                             return _r;
   11125                 :             :                                           }
   11126                 :           0 : next_after_fail1594:;
   11127                 :             :                                         }
   11128                 :             :                                     }
   11129                 :             :                                 }
   11130                 :             :                               }
   11131                 :             :                             break;
   11132                 :           0 :                           case CFN_BUILT_IN_EXP2L:
   11133                 :           0 :                             if (call_expr_nargs (_p1) == 1)
   11134                 :             :     {
   11135                 :           0 :                                 tree _q50 = CALL_EXPR_ARG (_p1, 0);
   11136                 :           0 :                                 {
   11137                 :           0 :                                   tree captures[5] ATTRIBUTE_UNUSED = { _p0, _q20, _q21, _p1, _q50 };
   11138                 :           0 :                                   if (flag_unsafe_math_optimizations
   11139                 :             : )
   11140                 :             :                                     {
   11141                 :           0 :                                       if (real_compare (GT_EXPR, TREE_REAL_CST_PTR (captures[1]), &dconst0)
   11142                 :           0 :  && real_isfinite (TREE_REAL_CST_PTR (captures[1]))
   11143                 :             : )
   11144                 :             :                                         {
   11145                 :           0 :                                           if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail1595;
   11146                 :           0 :                                           {
   11147                 :           0 :                                             tree res_op0;
   11148                 :           0 :                                             {
   11149                 :           0 :                                               tree _o1[2], _r1;
   11150                 :           0 :                                               {
   11151                 :           0 :                                                 tree _o2[2], _r2;
   11152                 :           0 :                                                 {
   11153                 :           0 :                                                   tree _o3[1], _r3;
   11154                 :           0 :                                                   _o3[0] = captures[1];
   11155                 :           0 :                                                   _r3 = maybe_build_call_expr_loc (loc, CFN_BUILT_IN_LOG2L, TREE_TYPE (_o3[0]), 1, _o3[0]);
   11156                 :           0 :                                                   if (!_r3)
   11157                 :           0 :                                                     goto next_after_fail1595;
   11158                 :           0 :                                                   _o2[0] = _r3;
   11159                 :             :                                                 }
   11160                 :           0 :                                                 _o2[1] = captures[2];
   11161                 :           0 :                                                 _r2 = fold_build2_loc (loc, MULT_EXPR, TREE_TYPE (_o2[0]), _o2[0], _o2[1]);
   11162                 :           0 :                                                 _o1[0] = _r2;
   11163                 :             :                                               }
   11164                 :           0 :                                               _o1[1] = captures[4];
   11165                 :           0 :                                               _r1 = fold_build2_loc (loc, PLUS_EXPR, TREE_TYPE (_o1[0]), _o1[0], _o1[1]);
   11166                 :           0 :                                               res_op0 = _r1;
   11167                 :             :                                             }
   11168                 :           0 :                                             tree _r;
   11169                 :           0 :                                             _r = maybe_build_call_expr_loc (loc, CFN_BUILT_IN_EXP2L, type, 1, res_op0);
   11170                 :           0 :                                             if (!_r)
   11171                 :           0 :                                               goto next_after_fail1595;
   11172                 :           0 :                                             if (UNLIKELY (debug_dump)) generic_dump_logs ("match.pd", 1004, __FILE__, __LINE__, true);
   11173                 :           0 :                                             return _r;
   11174                 :             :                                           }
   11175                 :           0 : next_after_fail1595:;
   11176                 :             :                                         }
   11177                 :             :                                     }
   11178                 :             :                                 }
   11179                 :             :                               }
   11180                 :             :                             break;
   11181                 :             :                           default:;
   11182                 :             :                           }
   11183                 :             :                         break;
   11184                 :             :                       default:;
   11185                 :             :                       }
   11186                 :             :                     break;
   11187                 :             :                   }
   11188                 :          12 :                 default:;
   11189                 :             :                 }
   11190                 :          12 :               switch (TREE_CODE (_q21))
   11191                 :             :                 {
   11192                 :           0 :                 case REAL_CST:
   11193                 :           0 :                   {
   11194                 :           0 :                     if ((_p1 == _q20 && ! TREE_SIDE_EFFECTS (_p1)) || (operand_equal_p (_p1, _q20, 0) && types_match (_p1, _q20)))
   11195                 :             :                       {
   11196                 :           0 :                         {
   11197                 :           0 :                           tree captures[3] ATTRIBUTE_UNUSED = { _q20, _p0, _q21 };
   11198                 :           0 :                           tree res = generic_simplify_194 (loc, type, _p0, _p1, captures, CFN_BUILT_IN_POWL);
   11199                 :           0 :                           if (res) return res;
   11200                 :             :                         }
   11201                 :             :                       }
   11202                 :             :                     break;
   11203                 :             :                   }
   11204                 :             :                 default:;
   11205                 :             :                 }
   11206                 :             :             }
   11207                 :             :           break;
   11208                 :       20474 :         case CFN_BUILT_IN_SQRT:
   11209                 :       20474 :           if (call_expr_nargs (_p0) == 1)
   11210                 :             :     {
   11211                 :       20474 :               tree _q20 = CALL_EXPR_ARG (_p0, 0);
   11212                 :       20474 :               if ((_p1 == _p0 && ! TREE_SIDE_EFFECTS (_p1)) || (operand_equal_p (_p1, _p0, 0) && types_match (_p1, _p0)))
   11213                 :             :                 {
   11214                 :           2 :                   {
   11215                 :           2 :                     tree captures[2] ATTRIBUTE_UNUSED = { _p0, _q20 };
   11216                 :           2 :                     tree res = generic_simplify_193 (loc, type, _p0, _p1, captures, CFN_BUILT_IN_SQRT);
   11217                 :           2 :                     if (res) return res;
   11218                 :             :                   }
   11219                 :             :                 }
   11220                 :       20472 :               switch (TREE_CODE (_p1))
   11221                 :             :                 {
   11222                 :         100 :                 case CALL_EXPR:
   11223                 :         100 :                   switch (get_call_combined_fn (_p1))
   11224                 :             :                     {
   11225                 :          37 :                     case CFN_BUILT_IN_SQRT:
   11226                 :          37 :                       if (call_expr_nargs (_p1) == 1)
   11227                 :             :     {
   11228                 :          37 :                           tree _q40 = CALL_EXPR_ARG (_p1, 0);
   11229                 :          37 :                           {
   11230                 :          37 :                             tree captures[4] ATTRIBUTE_UNUSED = { _p0, _q20, _p1, _q40 };
   11231                 :          37 :                             if (flag_unsafe_math_optimizations
   11232                 :             : )
   11233                 :             :                               {
   11234                 :          15 :                                 if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail1596;
   11235                 :          15 :                                 {
   11236                 :          15 :                                   tree res_op0;
   11237                 :          15 :                                   {
   11238                 :          15 :                                     tree _o1[2], _r1;
   11239                 :          15 :                                     _o1[0] = captures[1];
   11240                 :          15 :                                     _o1[1] = captures[3];
   11241                 :          15 :                                     _r1 = fold_build2_loc (loc, MULT_EXPR, TREE_TYPE (_o1[0]), _o1[0], _o1[1]);
   11242                 :          15 :                                     res_op0 = _r1;
   11243                 :             :                                   }
   11244                 :          15 :                                   tree _r;
   11245                 :          15 :                                   _r = maybe_build_call_expr_loc (loc, CFN_BUILT_IN_SQRT, type, 1, res_op0);
   11246                 :          15 :                                   if (!_r)
   11247                 :           0 :                                     goto next_after_fail1596;
   11248                 :          15 :                                   if (UNLIKELY (debug_dump)) generic_dump_logs ("match.pd", 1002, __FILE__, __LINE__, true);
   11249                 :          15 :                                   return _r;
   11250                 :             :                                 }
   11251                 :          22 : next_after_fail1596:;
   11252                 :             :                               }
   11253                 :             :                           }
   11254                 :             :                         }
   11255                 :             :                       break;
   11256                 :             :                     default:;
   11257                 :             :                     }
   11258                 :             :                   break;
   11259                 :             :                 default:;
   11260                 :             :                 }
   11261                 :             :             }
   11262                 :             :           break;
   11263                 :           5 :         case CFN_BUILT_IN_LDEXPF:
   11264                 :           5 :           if (call_expr_nargs (_p0) == 2)
   11265                 :             :     {
   11266                 :           5 :               tree _q20 = CALL_EXPR_ARG (_p0, 0);
   11267                 :           5 :               tree _q21 = CALL_EXPR_ARG (_p0, 1);
   11268                 :           5 :               switch (TREE_CODE (_p1))
   11269                 :             :                 {
   11270                 :           2 :                 case REAL_CST:
   11271                 :           2 :                   {
   11272                 :           2 :                     {
   11273                 :           2 :                       tree captures[3] ATTRIBUTE_UNUSED = { _p1, _q20, _q21 };
   11274                 :           2 :                       tree res = generic_simplify_195 (loc, type, _p0, _p1, captures, CFN_BUILT_IN_LDEXPF);
   11275                 :           2 :                       if (res) return res;
   11276                 :             :                     }
   11277                 :           1 :                     break;
   11278                 :             :                   }
   11279                 :           4 :                 default:;
   11280                 :             :                 }
   11281                 :           4 :               switch (TREE_CODE (_q20))
   11282                 :             :                 {
   11283                 :           3 :                 case REAL_CST:
   11284                 :           3 :                   {
   11285                 :           3 :                     {
   11286                 :           3 :                       tree captures[3] ATTRIBUTE_UNUSED = { _p1, _q20, _q21 };
   11287                 :           3 :                       tree res = generic_simplify_196 (loc, type, _p0, _p1, captures, CFN_BUILT_IN_LDEXPF);
   11288                 :           3 :                       if (res) return res;
   11289                 :             :                     }
   11290                 :           0 :                     break;
   11291                 :             :                   }
   11292                 :             :                 default:;
   11293                 :             :                 }
   11294                 :             :             }
   11295                 :             :           break;
   11296                 :           5 :         case CFN_BUILT_IN_LDEXPL:
   11297                 :           5 :           if (call_expr_nargs (_p0) == 2)
   11298                 :             :     {
   11299                 :           5 :               tree _q20 = CALL_EXPR_ARG (_p0, 0);
   11300                 :           5 :               tree _q21 = CALL_EXPR_ARG (_p0, 1);
   11301                 :           5 :               switch (TREE_CODE (_p1))
   11302                 :             :                 {
   11303                 :           2 :                 case REAL_CST:
   11304                 :           2 :                   {
   11305                 :           2 :                     {
   11306                 :           2 :                       tree captures[3] ATTRIBUTE_UNUSED = { _p1, _q20, _q21 };
   11307                 :           2 :                       tree res = generic_simplify_195 (loc, type, _p0, _p1, captures, CFN_BUILT_IN_LDEXPL);
   11308                 :           2 :                       if (res) return res;
   11309                 :             :                     }
   11310                 :           1 :                     break;
   11311                 :             :                   }
   11312                 :           4 :                 default:;
   11313                 :             :                 }
   11314                 :           4 :               switch (TREE_CODE (_q20))
   11315                 :             :                 {
   11316                 :           3 :                 case REAL_CST:
   11317                 :           3 :                   {
   11318                 :           3 :                     {
   11319                 :           3 :                       tree captures[3] ATTRIBUTE_UNUSED = { _p1, _q20, _q21 };
   11320                 :           3 :                       tree res = generic_simplify_196 (loc, type, _p0, _p1, captures, CFN_BUILT_IN_LDEXPL);
   11321                 :           3 :                       if (res) return res;
   11322                 :             :                     }
   11323                 :           0 :                     break;
   11324                 :             :                   }
   11325                 :             :                 default:;
   11326                 :             :                 }
   11327                 :             :             }
   11328                 :             :           break;
   11329                 :           4 :         case CFN_BUILT_IN_SQRTF128:
   11330                 :           4 :           if (call_expr_nargs (_p0) == 1)
   11331                 :             :     {
   11332                 :           4 :               tree _q20 = CALL_EXPR_ARG (_p0, 0);
   11333                 :           4 :               if ((_p1 == _p0 && ! TREE_SIDE_EFFECTS (_p1)) || (operand_equal_p (_p1, _p0, 0) && types_match (_p1, _p0)))
   11334                 :             :                 {
   11335                 :           0 :                   {
   11336                 :           0 :                     tree captures[2] ATTRIBUTE_UNUSED = { _p0, _q20 };
   11337                 :           0 :                     tree res = generic_simplify_193 (loc, type, _p0, _p1, captures, CFN_BUILT_IN_SQRTF128);
   11338                 :           0 :                     if (res) return res;
   11339                 :             :                   }
   11340                 :             :                 }
   11341                 :             :             }
   11342                 :             :           break;
   11343                 :           0 :         case CFN_BUILT_IN_SQRTF32X:
   11344                 :           0 :           if (call_expr_nargs (_p0) == 1)
   11345                 :             :     {
   11346                 :           0 :               tree _q20 = CALL_EXPR_ARG (_p0, 0);
   11347                 :           0 :               if ((_p1 == _p0 && ! TREE_SIDE_EFFECTS (_p1)) || (operand_equal_p (_p1, _p0, 0) && types_match (_p1, _p0)))
   11348                 :             :                 {
   11349                 :           0 :                   {
   11350                 :           0 :                     tree captures[2] ATTRIBUTE_UNUSED = { _p0, _q20 };
   11351                 :           0 :                     tree res = generic_simplify_193 (loc, type, _p0, _p1, captures, CFN_BUILT_IN_SQRTF32X);
   11352                 :           0 :                     if (res) return res;
   11353                 :             :                   }
   11354                 :             :                 }
   11355                 :             :             }
   11356                 :             :           break;
   11357                 :           0 :         case CFN_BUILT_IN_SQRTF64X:
   11358                 :           0 :           if (call_expr_nargs (_p0) == 1)
   11359                 :             :     {
   11360                 :           0 :               tree _q20 = CALL_EXPR_ARG (_p0, 0);
   11361                 :           0 :               if ((_p1 == _p0 && ! TREE_SIDE_EFFECTS (_p1)) || (operand_equal_p (_p1, _p0, 0) && types_match (_p1, _p0)))
   11362                 :             :                 {
   11363                 :           0 :                   {
   11364                 :           0 :                     tree captures[2] ATTRIBUTE_UNUSED = { _p0, _q20 };
   11365                 :           0 :                     tree res = generic_simplify_193 (loc, type, _p0, _p1, captures, CFN_BUILT_IN_SQRTF64X);
   11366                 :           0 :                     if (res) return res;
   11367                 :             :                   }
   11368                 :             :                 }
   11369                 :             :             }
   11370                 :             :           break;
   11371                 :           0 :         case CFN_BUILT_IN_SQRTF16:
   11372                 :           0 :           if (call_expr_nargs (_p0) == 1)
   11373                 :             :     {
   11374                 :           0 :               tree _q20 = CALL_EXPR_ARG (_p0, 0);
   11375                 :           0 :               if ((_p1 == _p0 && ! TREE_SIDE_EFFECTS (_p1)) || (operand_equal_p (_p1, _p0, 0) && types_match (_p1, _p0)))
   11376                 :             :                 {
   11377                 :           0 :                   {
   11378                 :           0 :                     tree captures[2] ATTRIBUTE_UNUSED = { _p0, _q20 };
   11379                 :           0 :                     tree res = generic_simplify_193 (loc, type, _p0, _p1, captures, CFN_BUILT_IN_SQRTF16);
   11380                 :           0 :                     if (res) return res;
   11381                 :             :                   }
   11382                 :             :                 }
   11383                 :             :             }
   11384                 :             :           break;
   11385                 :           0 :         case CFN_BUILT_IN_SQRTF32:
   11386                 :           0 :           if (call_expr_nargs (_p0) == 1)
   11387                 :             :     {
   11388                 :           0 :               tree _q20 = CALL_EXPR_ARG (_p0, 0);
   11389                 :           0 :               if ((_p1 == _p0 && ! TREE_SIDE_EFFECTS (_p1)) || (operand_equal_p (_p1, _p0, 0) && types_match (_p1, _p0)))
   11390                 :             :                 {
   11391                 :           0 :                   {
   11392                 :           0 :                     tree captures[2] ATTRIBUTE_UNUSED = { _p0, _q20 };
   11393                 :           0 :                     tree res = generic_simplify_193 (loc, type, _p0, _p1, captures, CFN_BUILT_IN_SQRTF32);
   11394                 :           0 :                     if (res) return res;
   11395                 :             :                   }
   11396                 :             :                 }
   11397                 :             :             }
   11398                 :             :           break;
   11399                 :           0 :         case CFN_BUILT_IN_SQRTF64:
   11400                 :           0 :           if (call_expr_nargs (_p0) == 1)
   11401                 :             :     {
   11402                 :           0 :               tree _q20 = CALL_EXPR_ARG (_p0, 0);
   11403                 :           0 :               if ((_p1 == _p0 && ! TREE_SIDE_EFFECTS (_p1)) || (operand_equal_p (_p1, _p0, 0) && types_match (_p1, _p0)))
   11404                 :             :                 {
   11405                 :           0 :                   {
   11406                 :           0 :                     tree captures[2] ATTRIBUTE_UNUSED = { _p0, _q20 };
   11407                 :           0 :                     tree res = generic_simplify_193 (loc, type, _p0, _p1, captures, CFN_BUILT_IN_SQRTF64);
   11408                 :           0 :                     if (res) return res;
   11409                 :             :                   }
   11410                 :             :                 }
   11411                 :             :             }
   11412                 :             :           break;
   11413                 :           0 :         case CFN_EXP:
   11414                 :           0 :           if (call_expr_nargs (_p0) == 1)
   11415                 :             :     {
   11416                 :           0 :               tree _q20 = CALL_EXPR_ARG (_p0, 0);
   11417                 :           0 :               switch (TREE_CODE (_p1))
   11418                 :             :                 {
   11419                 :           0 :                 case CALL_EXPR:
   11420                 :           0 :                   switch (get_call_combined_fn (_p1))
   11421                 :             :                     {
   11422                 :           0 :                     case CFN_EXP:
   11423                 :           0 :                       if (call_expr_nargs (_p1) == 1)
   11424                 :             :     {
   11425                 :           0 :                           tree _q40 = CALL_EXPR_ARG (_p1, 0);
   11426                 :           0 :                           {
   11427                 :           0 :                             tree captures[4] ATTRIBUTE_UNUSED = { _p0, _q20, _p1, _q40 };
   11428                 :           0 :                             if (flag_unsafe_math_optimizations
   11429                 :             : )
   11430                 :             :                               {
   11431                 :           0 :                                 if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail1597;
   11432                 :           0 :                                 {
   11433                 :           0 :                                   tree res_op0;
   11434                 :           0 :                                   {
   11435                 :           0 :                                     tree _o1[2], _r1;
   11436                 :           0 :                                     _o1[0] = captures[1];
   11437                 :           0 :                                     _o1[1] = captures[3];
   11438                 :           0 :                                     _r1 = fold_build2_loc (loc, PLUS_EXPR, TREE_TYPE (_o1[0]), _o1[0], _o1[1]);
   11439                 :           0 :                                     res_op0 = _r1;
   11440                 :             :                                   }
   11441                 :           0 :                                   tree _r;
   11442                 :           0 :                                   _r = maybe_build_call_expr_loc (loc, CFN_EXP, type, 1, res_op0);
   11443                 :           0 :                                   if (!_r)
   11444                 :           0 :                                     goto next_after_fail1597;
   11445                 :           0 :                                   if (UNLIKELY (debug_dump)) generic_dump_logs ("match.pd", 1003, __FILE__, __LINE__, true);
   11446                 :           0 :                                   return _r;
   11447                 :             :                                 }
   11448                 :           0 : next_after_fail1597:;
   11449                 :             :                               }
   11450                 :             :                           }
   11451                 :             :                         }
   11452                 :             :                       break;
   11453                 :           0 :                     case CFN_POW:
   11454                 :           0 :                       if (call_expr_nargs (_p1) == 2)
   11455                 :             :     {
   11456                 :           0 :                           tree _q40 = CALL_EXPR_ARG (_p1, 0);
   11457                 :           0 :                           tree _q41 = CALL_EXPR_ARG (_p1, 1);
   11458                 :           0 :                           switch (TREE_CODE (_q40))
   11459                 :             :                             {
   11460                 :           0 :                             case REAL_CST:
   11461                 :           0 :                               {
   11462                 :           0 :                                 {
   11463                 :           0 :                                   tree captures[5] ATTRIBUTE_UNUSED = { _p1, _q40, _q41, _p0, _q20 };
   11464                 :           0 :                                   if (flag_unsafe_math_optimizations
   11465                 :             : )
   11466                 :             :                                     {
   11467                 :           0 :                                       if (real_compare (GT_EXPR, TREE_REAL_CST_PTR (captures[1]), &dconst0)
   11468                 :           0 :  && real_isfinite (TREE_REAL_CST_PTR (captures[1]))
   11469                 :             : )
   11470                 :             :                                         {
   11471                 :           0 :                                           if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail1598;
   11472                 :           0 :                                           {
   11473                 :           0 :                                             tree res_op0;
   11474                 :           0 :                                             {
   11475                 :           0 :                                               tree _o1[2], _r1;
   11476                 :           0 :                                               {
   11477                 :           0 :                                                 tree _o2[2], _r2;
   11478                 :           0 :                                                 {
   11479                 :           0 :                                                   tree _o3[1], _r3;
   11480                 :           0 :                                                   _o3[0] = captures[1];
   11481                 :           0 :                                                   _r3 = maybe_build_call_expr_loc (loc, CFN_LOG, TREE_TYPE (_o3[0]), 1, _o3[0]);
   11482                 :           0 :                                                   if (!_r3)
   11483                 :           0 :                                                     goto next_after_fail1598;
   11484                 :           0 :                                                   _o2[0] = _r3;
   11485                 :             :                                                 }
   11486                 :           0 :                                                 _o2[1] = captures[2];
   11487                 :           0 :                                                 _r2 = fold_build2_loc (loc, MULT_EXPR, TREE_TYPE (_o2[0]), _o2[0], _o2[1]);
   11488                 :           0 :                                                 _o1[0] = _r2;
   11489                 :             :                                               }
   11490                 :           0 :                                               _o1[1] = captures[4];
   11491                 :           0 :                                               _r1 = fold_build2_loc (loc, PLUS_EXPR, TREE_TYPE (_o1[0]), _o1[0], _o1[1]);
   11492                 :           0 :                                               res_op0 = _r1;
   11493                 :             :                                             }
   11494                 :           0 :                                             tree _r;
   11495                 :           0 :                                             _r = maybe_build_call_expr_loc (loc, CFN_EXP, type, 1, res_op0);
   11496                 :           0 :                                             if (!_r)
   11497                 :           0 :                                               goto next_after_fail1598;
   11498                 :           0 :                                             if (UNLIKELY (debug_dump)) generic_dump_logs ("match.pd", 1004, __FILE__, __LINE__, true);
   11499                 :           0 :                                             return _r;
   11500                 :             :                                           }
   11501                 :           0 : next_after_fail1598:;
   11502                 :             :                                         }
   11503                 :             :                                     }
   11504                 :             :                                 }
   11505                 :           0 :                                 break;
   11506                 :             :                               }
   11507                 :             :                             default:;
   11508                 :             :                             }
   11509                 :             :                         }
   11510                 :             :                       break;
   11511                 :             :                     default:;
   11512                 :             :                     }
   11513                 :             :                   break;
   11514                 :             :                 default:;
   11515                 :             :                 }
   11516                 :             :             }
   11517                 :             :           break;
   11518                 :           0 :         case CFN_POW:
   11519                 :           0 :           if (call_expr_nargs (_p0) == 2)
   11520                 :             :     {
   11521                 :           0 :               tree _q20 = CALL_EXPR_ARG (_p0, 0);
   11522                 :           0 :               tree _q21 = CALL_EXPR_ARG (_p0, 1);
   11523                 :           0 :               switch (TREE_CODE (_q20))
   11524                 :             :                 {
   11525                 :           0 :                 case REAL_CST:
   11526                 :           0 :                   {
   11527                 :           0 :                     switch (TREE_CODE (_p1))
   11528                 :             :                       {
   11529                 :           0 :                       case CALL_EXPR:
   11530                 :           0 :                         switch (get_call_combined_fn (_p1))
   11531                 :             :                           {
   11532                 :           0 :                           case CFN_EXP:
   11533                 :           0 :                             if (call_expr_nargs (_p1) == 1)
   11534                 :             :     {
   11535                 :           0 :                                 tree _q50 = CALL_EXPR_ARG (_p1, 0);
   11536                 :           0 :                                 {
   11537                 :           0 :                                   tree captures[5] ATTRIBUTE_UNUSED = { _p0, _q20, _q21, _p1, _q50 };
   11538                 :           0 :                                   if (flag_unsafe_math_optimizations
   11539                 :             : )
   11540                 :             :                                     {
   11541                 :           0 :                                       if (real_compare (GT_EXPR, TREE_REAL_CST_PTR (captures[1]), &dconst0)
   11542                 :           0 :  && real_isfinite (TREE_REAL_CST_PTR (captures[1]))
   11543                 :             : )
   11544                 :             :                                         {
   11545                 :           0 :                                           if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail1599;
   11546                 :           0 :                                           {
   11547                 :           0 :                                             tree res_op0;
   11548                 :           0 :                                             {
   11549                 :           0 :                                               tree _o1[2], _r1;
   11550                 :           0 :                                               {
   11551                 :           0 :                                                 tree _o2[2], _r2;
   11552                 :           0 :                                                 {
   11553                 :           0 :                                                   tree _o3[1], _r3;
   11554                 :           0 :                                                   _o3[0] = captures[1];
   11555                 :           0 :                                                   _r3 = maybe_build_call_expr_loc (loc, CFN_LOG, TREE_TYPE (_o3[0]), 1, _o3[0]);
   11556                 :           0 :                                                   if (!_r3)
   11557                 :           0 :                                                     goto next_after_fail1599;
   11558                 :           0 :                                                   _o2[0] = _r3;
   11559                 :             :                                                 }
   11560                 :           0 :                                                 _o2[1] = captures[2];
   11561                 :           0 :                                                 _r2 = fold_build2_loc (loc, MULT_EXPR, TREE_TYPE (_o2[0]), _o2[0], _o2[1]);
   11562                 :           0 :                                                 _o1[0] = _r2;
   11563                 :             :                                               }
   11564                 :           0 :                                               _o1[1] = captures[4];
   11565                 :           0 :                                               _r1 = fold_build2_loc (loc, PLUS_EXPR, TREE_TYPE (_o1[0]), _o1[0], _o1[1]);
   11566                 :           0 :                                               res_op0 = _r1;
   11567                 :             :                                             }
   11568                 :           0 :                                             tree _r;
   11569                 :           0 :                                             _r = maybe_build_call_expr_loc (loc, CFN_EXP, type, 1, res_op0);
   11570                 :           0 :                                             if (!_r)
   11571                 :           0 :                                               goto next_after_fail1599;
   11572                 :           0 :                                             if (UNLIKELY (debug_dump)) generic_dump_logs ("match.pd", 1004, __FILE__, __LINE__, true);
   11573                 :           0 :                                             return _r;
   11574                 :             :                                           }
   11575                 :           0 : next_after_fail1599:;
   11576                 :             :                                         }
   11577                 :             :                                     }
   11578                 :             :                                 }
   11579                 :             :                               }
   11580                 :             :                             break;
   11581                 :           0 :                           case CFN_EXP2:
   11582                 :           0 :                             if (call_expr_nargs (_p1) == 1)
   11583                 :             :     {
   11584                 :           0 :                                 tree _q50 = CALL_EXPR_ARG (_p1, 0);
   11585                 :           0 :                                 {
   11586                 :           0 :                                   tree captures[5] ATTRIBUTE_UNUSED = { _p0, _q20, _q21, _p1, _q50 };
   11587                 :           0 :                                   if (flag_unsafe_math_optimizations
   11588                 :             : )
   11589                 :             :                                     {
   11590                 :           0 :                                       if (real_compare (GT_EXPR, TREE_REAL_CST_PTR (captures[1]), &dconst0)
   11591                 :           0 :  && real_isfinite (TREE_REAL_CST_PTR (captures[1]))
   11592                 :             : )
   11593                 :             :                                         {
   11594                 :           0 :                                           if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail1600;
   11595                 :           0 :                                           {
   11596                 :           0 :                                             tree res_op0;
   11597                 :           0 :                                             {
   11598                 :           0 :                                               tree _o1[2], _r1;
   11599                 :           0 :                                               {
   11600                 :           0 :                                                 tree _o2[2], _r2;
   11601                 :           0 :                                                 {
   11602                 :           0 :                                                   tree _o3[1], _r3;
   11603                 :           0 :                                                   _o3[0] = captures[1];
   11604                 :           0 :                                                   _r3 = maybe_build_call_expr_loc (loc, CFN_LOG2, TREE_TYPE (_o3[0]), 1, _o3[0]);
   11605                 :           0 :                                                   if (!_r3)
   11606                 :           0 :                                                     goto next_after_fail1600;
   11607                 :           0 :                                                   _o2[0] = _r3;
   11608                 :             :                                                 }
   11609                 :           0 :                                                 _o2[1] = captures[2];
   11610                 :           0 :                                                 _r2 = fold_build2_loc (loc, MULT_EXPR, TREE_TYPE (_o2[0]), _o2[0], _o2[1]);
   11611                 :           0 :                                                 _o1[0] = _r2;
   11612                 :             :                                               }
   11613                 :           0 :                                               _o1[1] = captures[4];
   11614                 :           0 :                                               _r1 = fold_build2_loc (loc, PLUS_EXPR, TREE_TYPE (_o1[0]), _o1[0], _o1[1]);
   11615                 :           0 :                                               res_op0 = _r1;
   11616                 :             :                                             }
   11617                 :           0 :                                             tree _r;
   11618                 :           0 :                                             _r = maybe_build_call_expr_loc (loc, CFN_EXP2, type, 1, res_op0);
   11619                 :           0 :                                             if (!_r)
   11620                 :           0 :                                               goto next_after_fail1600;
   11621                 :           0 :                                             if (UNLIKELY (debug_dump)) generic_dump_logs ("match.pd", 1004, __FILE__, __LINE__, true);
   11622                 :           0 :                                             return _r;
   11623                 :             :                                           }
   11624                 :           0 : next_after_fail1600:;
   11625                 :             :                                         }
   11626                 :             :                                     }
   11627                 :             :                                 }
   11628                 :             :                               }
   11629                 :             :                             break;
   11630                 :           0 :                           case CFN_EXP10:
   11631                 :           0 :                             if (call_expr_nargs (_p1) == 1)
   11632                 :             :     {
   11633                 :           0 :                                 tree _q50 = CALL_EXPR_ARG (_p1, 0);
   11634                 :           0 :                                 {
   11635                 :           0 :                                   tree captures[5] ATTRIBUTE_UNUSED = { _p0, _q20, _q21, _p1, _q50 };
   11636                 :           0 :                                   if (flag_unsafe_math_optimizations
   11637                 :             : )
   11638                 :             :                                     {
   11639                 :           0 :                                       if (real_compare (GT_EXPR, TREE_REAL_CST_PTR (captures[1]), &dconst0)
   11640                 :           0 :  && real_isfinite (TREE_REAL_CST_PTR (captures[1]))
   11641                 :             : )
   11642                 :             :                                         {
   11643                 :           0 :                                           if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail1601;
   11644                 :           0 :                                           {
   11645                 :           0 :                                             tree res_op0;
   11646                 :           0 :                                             {
   11647                 :           0 :                                               tree _o1[2], _r1;
   11648                 :           0 :                                               {
   11649                 :           0 :                                                 tree _o2[2], _r2;
   11650                 :           0 :                                                 {
   11651                 :           0 :                                                   tree _o3[1], _r3;
   11652                 :           0 :                                                   _o3[0] = captures[1];
   11653                 :           0 :                                                   _r3 = maybe_build_call_expr_loc (loc, CFN_LOG10, TREE_TYPE (_o3[0]), 1, _o3[0]);
   11654                 :           0 :                                                   if (!_r3)
   11655                 :           0 :                                                     goto next_after_fail1601;
   11656                 :           0 :                                                   _o2[0] = _r3;
   11657                 :             :                                                 }
   11658                 :           0 :                                                 _o2[1] = captures[2];
   11659                 :           0 :                                                 _r2 = fold_build2_loc (loc, MULT_EXPR, TREE_TYPE (_o2[0]), _o2[0], _o2[1]);
   11660                 :           0 :                                                 _o1[0] = _r2;
   11661                 :             :                                               }
   11662                 :           0 :                                               _o1[1] = captures[4];
   11663                 :           0 :                                               _r1 = fold_build2_loc (loc, PLUS_EXPR, TREE_TYPE (_o1[0]), _o1[0], _o1[1]);
   11664                 :           0 :                                               res_op0 = _r1;
   11665                 :             :                                             }
   11666                 :           0 :                                             tree _r;
   11667                 :           0 :                                             _r = maybe_build_call_expr_loc (loc, CFN_EXP10, type, 1, res_op0);
   11668                 :           0 :                                             if (!_r)
   11669                 :           0 :                                               goto next_after_fail1601;
   11670                 :           0 :                                             if (UNLIKELY (debug_dump)) generic_dump_logs ("match.pd", 1004, __FILE__, __LINE__, true);
   11671                 :           0 :                                             return _r;
   11672                 :             :                                           }
   11673                 :           0 : next_after_fail1601:;
   11674                 :             :                                         }
   11675                 :             :                                     }
   11676                 :             :                                 }
   11677                 :             :                               }
   11678                 :             :                             break;
   11679                 :             :                           default:;
   11680                 :             :                           }
   11681                 :             :                         break;
   11682                 :             :                       default:;
   11683                 :             :                       }
   11684                 :             :                     break;
   11685                 :             :                   }
   11686                 :           0 :                 default:;
   11687                 :             :                 }
   11688                 :           0 :               switch (TREE_CODE (_q21))
   11689                 :             :                 {
   11690                 :           0 :                 case REAL_CST:
   11691                 :           0 :                   {
   11692                 :           0 :                     if ((_p1 == _q20 && ! TREE_SIDE_EFFECTS (_p1)) || (operand_equal_p (_p1, _q20, 0) && types_match (_p1, _q20)))
   11693                 :             :                       {
   11694                 :           0 :                         {
   11695                 :           0 :                           tree captures[3] ATTRIBUTE_UNUSED = { _q20, _p0, _q21 };
   11696                 :           0 :                           tree res = generic_simplify_194 (loc, type, _p0, _p1, captures, CFN_POW);
   11697                 :           0 :                           if (res) return res;
   11698                 :             :                         }
   11699                 :             :                       }
   11700                 :             :                     break;
   11701                 :             :                   }
   11702                 :             :                 default:;
   11703                 :             :                 }
   11704                 :             :             }
   11705                 :             :           break;
   11706                 :          24 :         case CFN_BUILT_IN_POW10F:
   11707                 :          24 :           if (call_expr_nargs (_p0) == 1)
   11708                 :             :     {
   11709                 :          24 :               tree _q20 = CALL_EXPR_ARG (_p0, 0);
   11710                 :          24 :               switch (TREE_CODE (_p1))
   11711                 :             :                 {
   11712                 :          12 :                 case CALL_EXPR:
   11713                 :          12 :                   switch (get_call_combined_fn (_p1))
   11714                 :             :                     {
   11715                 :           0 :                     case CFN_BUILT_IN_POWF:
   11716                 :           0 :                       if (call_expr_nargs (_p1) == 2)
   11717                 :             :     {
   11718                 :           0 :                           tree _q40 = CALL_EXPR_ARG (_p1, 0);
   11719                 :           0 :                           tree _q41 = CALL_EXPR_ARG (_p1, 1);
   11720                 :           0 :                           switch (TREE_CODE (_q40))
   11721                 :             :                             {
   11722                 :           0 :                             case REAL_CST:
   11723                 :           0 :                               {
   11724                 :           0 :                                 {
   11725                 :           0 :                                   tree captures[5] ATTRIBUTE_UNUSED = { _p1, _q40, _q41, _p0, _q20 };
   11726                 :           0 :                                   if (flag_unsafe_math_optimizations
   11727                 :             : )
   11728                 :             :                                     {
   11729                 :           0 :                                       if (real_compare (GT_EXPR, TREE_REAL_CST_PTR (captures[1]), &dconst0)
   11730                 :           0 :  && real_isfinite (TREE_REAL_CST_PTR (captures[1]))
   11731                 :             : )
   11732                 :             :                                         {
   11733                 :           0 :                                           if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail1602;
   11734                 :           0 :                                           {
   11735                 :           0 :                                             tree res_op0;
   11736                 :           0 :                                             {
   11737                 :           0 :                                               tree _o1[2], _r1;
   11738                 :           0 :                                               {
   11739                 :           0 :                                                 tree _o2[2], _r2;
   11740                 :           0 :                                                 {
   11741                 :           0 :                                                   tree _o3[1], _r3;
   11742                 :           0 :                                                   _o3[0] = captures[1];
   11743                 :           0 :                                                   _r3 = maybe_build_call_expr_loc (loc, CFN_BUILT_IN_LOG10F, TREE_TYPE (_o3[0]), 1, _o3[0]);
   11744                 :           0 :                                                   if (!_r3)
   11745                 :           0 :                                                     goto next_after_fail1602;
   11746                 :           0 :                                                   _o2[0] = _r3;
   11747                 :             :                                                 }
   11748                 :           0 :                                                 _o2[1] = captures[2];
   11749                 :           0 :                                                 _r2 = fold_build2_loc (loc, MULT_EXPR, TREE_TYPE (_o2[0]), _o2[0], _o2[1]);
   11750                 :           0 :                                                 _o1[0] = _r2;
   11751                 :             :                                               }
   11752                 :           0 :                                               _o1[1] = captures[4];
   11753                 :           0 :                                               _r1 = fold_build2_loc (loc, PLUS_EXPR, TREE_TYPE (_o1[0]), _o1[0], _o1[1]);
   11754                 :           0 :                                               res_op0 = _r1;
   11755                 :             :                                             }
   11756                 :           0 :                                             tree _r;
   11757                 :           0 :                                             _r = maybe_build_call_expr_loc (loc, CFN_BUILT_IN_POW10F, type, 1, res_op0);
   11758                 :           0 :                                             if (!_r)
   11759                 :           0 :                                               goto next_after_fail1602;
   11760                 :           0 :                                             if (UNLIKELY (debug_dump)) generic_dump_logs ("match.pd", 1004, __FILE__, __LINE__, true);
   11761                 :           0 :                                             return _r;
   11762                 :             :                                           }
   11763                 :           0 : next_after_fail1602:;
   11764                 :             :                                         }
   11765                 :             :                                     }
   11766                 :             :                                 }
   11767                 :           0 :                                 break;
   11768                 :             :                               }
   11769                 :             :                             default:;
   11770                 :             :                             }
   11771                 :             :                         }
   11772                 :             :                       break;
   11773                 :          12 :                     case CFN_BUILT_IN_POW10F:
   11774                 :          12 :                       if (call_expr_nargs (_p1) == 1)
   11775                 :             :     {
   11776                 :          12 :                           tree _q40 = CALL_EXPR_ARG (_p1, 0);
   11777                 :          12 :                           {
   11778                 :          12 :                             tree captures[4] ATTRIBUTE_UNUSED = { _p0, _q20, _p1, _q40 };
   11779                 :          12 :                             if (flag_unsafe_math_optimizations
   11780                 :             : )
   11781                 :             :                               {
   11782                 :          12 :                                 if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail1603;
   11783                 :          12 :                                 {
   11784                 :          12 :                                   tree res_op0;
   11785                 :          12 :                                   {
   11786                 :          12 :                                     tree _o1[2], _r1;
   11787                 :          12 :                                     _o1[0] = captures[1];
   11788                 :          12 :                                     _o1[1] = captures[3];
   11789                 :          12 :                                     _r1 = fold_build2_loc (loc, PLUS_EXPR, TREE_TYPE (_o1[0]), _o1[0], _o1[1]);
   11790                 :          12 :                                     res_op0 = _r1;
   11791                 :             :                                   }
   11792                 :          12 :                                   tree _r;
   11793                 :          12 :                                   _r = maybe_build_call_expr_loc (loc, CFN_BUILT_IN_POW10F, type, 1, res_op0);
   11794                 :          12 :                                   if (!_r)
   11795                 :          12 :                                     goto next_after_fail1603;
   11796                 :           0 :                                   if (UNLIKELY (debug_dump)) generic_dump_logs ("match.pd", 1003, __FILE__, __LINE__, true);
   11797                 :           0 :                                   return _r;
   11798                 :             :                                 }
   11799                 :          12 : next_after_fail1603:;
   11800                 :             :                               }
   11801                 :             :                           }
   11802                 :             :                         }
   11803                 :             :                       break;
   11804                 :             :                     default:;
   11805                 :             :                     }
   11806                 :             :                   break;
   11807                 :             :                 default:;
   11808                 :             :                 }
   11809                 :             :             }
   11810                 :             :           break;
   11811                 :          24 :         case CFN_BUILT_IN_POW10L:
   11812                 :          24 :           if (call_expr_nargs (_p0) == 1)
   11813                 :             :     {
   11814                 :          24 :               tree _q20 = CALL_EXPR_ARG (_p0, 0);
   11815                 :          24 :               switch (TREE_CODE (_p1))
   11816                 :             :                 {
   11817                 :          12 :                 case CALL_EXPR:
   11818                 :          12 :                   switch (get_call_combined_fn (_p1))
   11819                 :             :                     {
   11820                 :           0 :                     case CFN_BUILT_IN_POWL:
   11821                 :           0 :                       if (call_expr_nargs (_p1) == 2)
   11822                 :             :     {
   11823                 :           0 :                           tree _q40 = CALL_EXPR_ARG (_p1, 0);
   11824                 :           0 :                           tree _q41 = CALL_EXPR_ARG (_p1, 1);
   11825                 :           0 :                           switch (TREE_CODE (_q40))
   11826                 :             :                             {
   11827                 :           0 :                             case REAL_CST:
   11828                 :           0 :                               {
   11829                 :           0 :                                 {
   11830                 :           0 :                                   tree captures[5] ATTRIBUTE_UNUSED = { _p1, _q40, _q41, _p0, _q20 };
   11831                 :           0 :                                   if (flag_unsafe_math_optimizations
   11832                 :             : )
   11833                 :             :                                     {
   11834                 :           0 :                                       if (real_compare (GT_EXPR, TREE_REAL_CST_PTR (captures[1]), &dconst0)
   11835                 :           0 :  && real_isfinite (TREE_REAL_CST_PTR (captures[1]))
   11836                 :             : )
   11837                 :             :                                         {
   11838                 :           0 :                                           if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail1604;
   11839                 :           0 :                                           {
   11840                 :           0 :                                             tree res_op0;
   11841                 :           0 :                                             {
   11842                 :           0 :                                               tree _o1[2], _r1;
   11843                 :           0 :                                               {
   11844                 :           0 :                                                 tree _o2[2], _r2;
   11845                 :           0 :                                                 {
   11846                 :           0 :                                                   tree _o3[1], _r3;
   11847                 :           0 :                                                   _o3[0] = captures[1];
   11848                 :           0 :                                                   _r3 = maybe_build_call_expr_loc (loc, CFN_BUILT_IN_LOG10L, TREE_TYPE (_o3[0]), 1, _o3[0]);
   11849                 :           0 :                                                   if (!_r3)
   11850                 :           0 :                                                     goto next_after_fail1604;
   11851                 :           0 :                                                   _o2[0] = _r3;
   11852                 :             :                                                 }
   11853                 :           0 :                                                 _o2[1] = captures[2];
   11854                 :           0 :                                                 _r2 = fold_build2_loc (loc, MULT_EXPR, TREE_TYPE (_o2[0]), _o2[0], _o2[1]);
   11855                 :           0 :                                                 _o1[0] = _r2;
   11856                 :             :                                               }
   11857                 :           0 :                                               _o1[1] = captures[4];
   11858                 :           0 :                                               _r1 = fold_build2_loc (loc, PLUS_EXPR, TREE_TYPE (_o1[0]), _o1[0], _o1[1]);
   11859                 :           0 :                                               res_op0 = _r1;
   11860                 :             :                                             }
   11861                 :           0 :                                             tree _r;
   11862                 :           0 :                                             _r = maybe_build_call_expr_loc (loc, CFN_BUILT_IN_POW10L, type, 1, res_op0);
   11863                 :           0 :                                             if (!_r)
   11864                 :           0 :                                               goto next_after_fail1604;
   11865                 :           0 :                                             if (UNLIKELY (debug_dump)) generic_dump_logs ("match.pd", 1004, __FILE__, __LINE__, true);
   11866                 :           0 :                                             return _r;
   11867                 :             :                                           }
   11868                 :           0 : next_after_fail1604:;
   11869                 :             :                                         }
   11870                 :             :                                     }
   11871                 :             :                                 }
   11872                 :           0 :                                 break;
   11873                 :             :                               }
   11874                 :             :                             default:;
   11875                 :             :                             }
   11876                 :             :                         }
   11877                 :             :                       break;
   11878                 :          12 :                     case CFN_BUILT_IN_POW10L:
   11879                 :          12 :                       if (call_expr_nargs (_p1) == 1)
   11880                 :             :     {
   11881                 :          12 :                           tree _q40 = CALL_EXPR_ARG (_p1, 0);
   11882                 :          12 :                           {
   11883                 :          12 :                             tree captures[4] ATTRIBUTE_UNUSED = { _p0, _q20, _p1, _q40 };
   11884                 :          12 :                             if (flag_unsafe_math_optimizations
   11885                 :             : )
   11886                 :             :                               {
   11887                 :          12 :                                 if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail1605;
   11888                 :          12 :                                 {
   11889                 :          12 :                                   tree res_op0;
   11890                 :          12 :                                   {
   11891                 :          12 :                                     tree _o1[2], _r1;
   11892                 :          12 :                                     _o1[0] = captures[1];
   11893                 :          12 :                                     _o1[1] = captures[3];
   11894                 :          12 :                                     _r1 = fold_build2_loc (loc, PLUS_EXPR, TREE_TYPE (_o1[0]), _o1[0], _o1[1]);
   11895                 :          12 :                                     res_op0 = _r1;
   11896                 :             :                                   }
   11897                 :          12 :                                   tree _r;
   11898                 :          12 :                                   _r = maybe_build_call_expr_loc (loc, CFN_BUILT_IN_POW10L, type, 1, res_op0);
   11899                 :          12 :                                   if (!_r)
   11900                 :          12 :                                     goto next_after_fail1605;
   11901                 :           0 :                                   if (UNLIKELY (debug_dump)) generic_dump_logs ("match.pd", 1003, __FILE__, __LINE__, true);
   11902                 :           0 :                                   return _r;
   11903                 :             :                                 }
   11904                 :          12 : next_after_fail1605:;
   11905                 :             :                               }
   11906                 :             :                           }
   11907                 :             :                         }
   11908                 :             :                       break;
   11909                 :             :                     default:;
   11910                 :             :                     }
   11911                 :             :                   break;
   11912                 :             :                 default:;
   11913                 :             :                 }
   11914                 :             :             }
   11915                 :             :           break;
   11916                 :           0 :         case CFN_BUILT_IN_SQRTF128X:
   11917                 :           0 :           if (call_expr_nargs (_p0) == 1)
   11918                 :             :     {
   11919                 :           0 :               tree _q20 = CALL_EXPR_ARG (_p0, 0);
   11920                 :           0 :               if ((_p1 == _p0 && ! TREE_SIDE_EFFECTS (_p1)) || (operand_equal_p (_p1, _p0, 0) && types_match (_p1, _p0)))
   11921                 :             :                 {
   11922                 :           0 :                   {
   11923                 :           0 :                     tree captures[2] ATTRIBUTE_UNUSED = { _p0, _q20 };
   11924                 :           0 :                     tree res = generic_simplify_193 (loc, type, _p0, _p1, captures, CFN_BUILT_IN_SQRTF128X);
   11925                 :           0 :                     if (res) return res;
   11926                 :             :                   }
   11927                 :             :                 }
   11928                 :             :             }
   11929                 :             :           break;
   11930                 :           0 :         case CFN_EXP2:
   11931                 :           0 :           if (call_expr_nargs (_p0) == 1)
   11932                 :             :     {
   11933                 :           0 :               tree _q20 = CALL_EXPR_ARG (_p0, 0);
   11934                 :           0 :               switch (TREE_CODE (_p1))
   11935                 :             :                 {
   11936                 :           0 :                 case CALL_EXPR:
   11937                 :           0 :                   switch (get_call_combined_fn (_p1))
   11938                 :             :                     {
   11939                 :           0 :                     case CFN_POW:
   11940                 :           0 :                       if (call_expr_nargs (_p1) == 2)
   11941                 :             :     {
   11942                 :           0 :                           tree _q40 = CALL_EXPR_ARG (_p1, 0);
   11943                 :           0 :                           tree _q41 = CALL_EXPR_ARG (_p1, 1);
   11944                 :           0 :                           switch (TREE_CODE (_q40))
   11945                 :             :                             {
   11946                 :           0 :                             case REAL_CST:
   11947                 :           0 :                               {
   11948                 :           0 :                                 {
   11949                 :           0 :                                   tree captures[5] ATTRIBUTE_UNUSED = { _p1, _q40, _q41, _p0, _q20 };
   11950                 :           0 :                                   if (flag_unsafe_math_optimizations
   11951                 :             : )
   11952                 :             :                                     {
   11953                 :           0 :                                       if (real_compare (GT_EXPR, TREE_REAL_CST_PTR (captures[1]), &dconst0)
   11954                 :           0 :  && real_isfinite (TREE_REAL_CST_PTR (captures[1]))
   11955                 :             : )
   11956                 :             :                                         {
   11957                 :           0 :                                           if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail1606;
   11958                 :           0 :                                           {
   11959                 :           0 :                                             tree res_op0;
   11960                 :           0 :                                             {
   11961                 :           0 :                                               tree _o1[2], _r1;
   11962                 :           0 :                                               {
   11963                 :           0 :                                                 tree _o2[2], _r2;
   11964                 :           0 :                                                 {
   11965                 :           0 :                                                   tree _o3[1], _r3;
   11966                 :           0 :                                                   _o3[0] = captures[1];
   11967                 :           0 :                                                   _r3 = maybe_build_call_expr_loc (loc, CFN_LOG2, TREE_TYPE (_o3[0]), 1, _o3[0]);
   11968                 :           0 :                                                   if (!_r3)
   11969                 :           0 :                                                     goto next_after_fail1606;
   11970                 :           0 :                                                   _o2[0] = _r3;
   11971                 :             :                                                 }
   11972                 :           0 :                                                 _o2[1] = captures[2];
   11973                 :           0 :                                                 _r2 = fold_build2_loc (loc, MULT_EXPR, TREE_TYPE (_o2[0]), _o2[0], _o2[1]);
   11974                 :           0 :                                                 _o1[0] = _r2;
   11975                 :             :                                               }
   11976                 :           0 :                                               _o1[1] = captures[4];
   11977                 :           0 :                                               _r1 = fold_build2_loc (loc, PLUS_EXPR, TREE_TYPE (_o1[0]), _o1[0], _o1[1]);
   11978                 :           0 :                                               res_op0 = _r1;
   11979                 :             :                                             }
   11980                 :           0 :                                             tree _r;
   11981                 :           0 :                                             _r = maybe_build_call_expr_loc (loc, CFN_EXP2, type, 1, res_op0);
   11982                 :           0 :                                             if (!_r)
   11983                 :           0 :                                               goto next_after_fail1606;
   11984                 :           0 :                                             if (UNLIKELY (debug_dump)) generic_dump_logs ("match.pd", 1004, __FILE__, __LINE__, true);
   11985                 :           0 :                                             return _r;
   11986                 :             :                                           }
   11987                 :           0 : next_after_fail1606:;
   11988                 :             :                                         }
   11989                 :             :                                     }
   11990                 :             :                                 }
   11991                 :           0 :                                 break;
   11992                 :             :                               }
   11993                 :             :                             default:;
   11994                 :             :                             }
   11995                 :             :                         }
   11996                 :             :                       break;
   11997                 :           0 :                     case CFN_EXP2:
   11998                 :           0 :                       if (call_expr_nargs (_p1) == 1)
   11999                 :             :     {
   12000                 :           0 :                           tree _q40 = CALL_EXPR_ARG (_p1, 0);
   12001                 :           0 :                           {
   12002                 :           0 :                             tree captures[4] ATTRIBUTE_UNUSED = { _p0, _q20, _p1, _q40 };
   12003                 :           0 :                             if (flag_unsafe_math_optimizations
   12004                 :             : )
   12005                 :             :                               {
   12006                 :           0 :                                 if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail1607;
   12007                 :           0 :                                 {
   12008                 :           0 :                                   tree res_op0;
   12009                 :           0 :                                   {
   12010                 :           0 :                                     tree _o1[2], _r1;
   12011                 :           0 :                                     _o1[0] = captures[1];
   12012                 :           0 :                                     _o1[1] = captures[3];
   12013                 :           0 :                                     _r1 = fold_build2_loc (loc, PLUS_EXPR, TREE_TYPE (_o1[0]), _o1[0], _o1[1]);
   12014                 :           0 :                                     res_op0 = _r1;
   12015                 :             :                                   }
   12016                 :           0 :                                   tree _r;
   12017                 :           0 :                                   _r = maybe_build_call_expr_loc (loc, CFN_EXP2, type, 1, res_op0);
   12018                 :           0 :                                   if (!_r)
   12019                 :           0 :                                     goto next_after_fail1607;
   12020                 :           0 :                                   if (UNLIKELY (debug_dump)) generic_dump_logs ("match.pd", 1003, __FILE__, __LINE__, true);
   12021                 :           0 :                                   return _r;
   12022                 :             :                                 }
   12023                 :           0 : next_after_fail1607:;
   12024                 :             :                               }
   12025                 :             :                           }
   12026                 :             :                         }
   12027                 :             :                       break;
   12028                 :             :                     default:;
   12029                 :             :                     }
   12030                 :             :                   break;
   12031                 :             :                 default:;
   12032                 :             :                 }
   12033                 :             :             }
   12034                 :             :           break;
   12035                 :           0 :         case CFN_SQRT:
   12036                 :           0 :           if (call_expr_nargs (_p0) == 1)
   12037                 :             :     {
   12038                 :           0 :               tree _q20 = CALL_EXPR_ARG (_p0, 0);
   12039                 :           0 :               if ((_p1 == _p0 && ! TREE_SIDE_EFFECTS (_p1)) || (operand_equal_p (_p1, _p0, 0) && types_match (_p1, _p0)))
   12040                 :             :                 {
   12041                 :           0 :                   {
   12042                 :           0 :                     tree captures[2] ATTRIBUTE_UNUSED = { _p0, _q20 };
   12043                 :           0 :                     tree res = generic_simplify_193 (loc, type, _p0, _p1, captures, CFN_SQRT);
   12044                 :           0 :                     if (res) return res;
   12045                 :             :                   }
   12046                 :             :                 }
   12047                 :           0 :               switch (TREE_CODE (_p1))
   12048                 :             :                 {
   12049                 :           0 :                 case CALL_EXPR:
   12050                 :           0 :                   switch (get_call_combined_fn (_p1))
   12051                 :             :                     {
   12052                 :           0 :                     case CFN_SQRT:
   12053                 :           0 :                       if (call_expr_nargs (_p1) == 1)
   12054                 :             :     {
   12055                 :           0 :                           tree _q40 = CALL_EXPR_ARG (_p1, 0);
   12056                 :           0 :                           {
   12057                 :           0 :                             tree captures[4] ATTRIBUTE_UNUSED = { _p0, _q20, _p1, _q40 };
   12058                 :           0 :                             if (flag_unsafe_math_optimizations
   12059                 :             : )
   12060                 :             :                               {
   12061                 :           0 :                                 if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail1608;
   12062                 :           0 :                                 {
   12063                 :           0 :                                   tree res_op0;
   12064                 :           0 :                                   {
   12065                 :           0 :                                     tree _o1[2], _r1;
   12066                 :           0 :                                     _o1[0] = captures[1];
   12067                 :           0 :                                     _o1[1] = captures[3];
   12068                 :           0 :                                     _r1 = fold_build2_loc (loc, MULT_EXPR, TREE_TYPE (_o1[0]), _o1[0], _o1[1]);
   12069                 :           0 :                                     res_op0 = _r1;
   12070                 :             :                                   }
   12071                 :           0 :                                   tree _r;
   12072                 :           0 :                                   _r = maybe_build_call_expr_loc (loc, CFN_SQRT, type, 1, res_op0);
   12073                 :           0 :                                   if (!_r)
   12074                 :           0 :                                     goto next_after_fail1608;
   12075                 :           0 :                                   if (UNLIKELY (debug_dump)) generic_dump_logs ("match.pd", 1002, __FILE__, __LINE__, true);
   12076                 :           0 :                                   return _r;
   12077                 :             :                                 }
   12078                 :           0 : next_after_fail1608:;
   12079                 :             :                               }
   12080                 :             :                           }
   12081                 :             :                         }
   12082                 :             :                       break;
   12083                 :             :                     default:;
   12084                 :             :                     }
   12085                 :             :                   break;
   12086                 :             :                 default:;
   12087                 :             :                 }
   12088                 :             :             }
   12089                 :             :           break;
   12090                 :           0 :         case CFN_EXP10:
   12091                 :           0 :           if (call_expr_nargs (_p0) == 1)
   12092                 :             :     {
   12093                 :           0 :               tree _q20 = CALL_EXPR_ARG (_p0, 0);
   12094                 :           0 :               switch (TREE_CODE (_p1))
   12095                 :             :                 {
   12096                 :           0 :                 case CALL_EXPR:
   12097                 :           0 :                   switch (get_call_combined_fn (_p1))
   12098                 :             :                     {
   12099                 :           0 :                     case CFN_POW:
   12100                 :           0 :                       if (call_expr_nargs (_p1) == 2)
   12101                 :             :     {
   12102                 :           0 :                           tree _q40 = CALL_EXPR_ARG (_p1, 0);
   12103                 :           0 :                           tree _q41 = CALL_EXPR_ARG (_p1, 1);
   12104                 :           0 :                           switch (TREE_CODE (_q40))
   12105                 :             :                             {
   12106                 :           0 :                             case REAL_CST:
   12107                 :           0 :                               {
   12108                 :           0 :                                 {
   12109                 :           0 :                                   tree captures[5] ATTRIBUTE_UNUSED = { _p1, _q40, _q41, _p0, _q20 };
   12110                 :           0 :                                   if (flag_unsafe_math_optimizations
   12111                 :             : )
   12112                 :             :                                     {
   12113                 :           0 :                                       if (real_compare (GT_EXPR, TREE_REAL_CST_PTR (captures[1]), &dconst0)
   12114                 :           0 :  && real_isfinite (TREE_REAL_CST_PTR (captures[1]))
   12115                 :             : )
   12116                 :             :                                         {
   12117                 :           0 :                                           if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail1609;
   12118                 :           0 :                                           {
   12119                 :           0 :                                             tree res_op0;
   12120                 :           0 :                                             {
   12121                 :           0 :                                               tree _o1[2], _r1;
   12122                 :           0 :                                               {
   12123                 :           0 :                                                 tree _o2[2], _r2;
   12124                 :           0 :                                                 {
   12125                 :           0 :                                                   tree _o3[1], _r3;
   12126                 :           0 :                                                   _o3[0] = captures[1];
   12127                 :           0 :                                                   _r3 = maybe_build_call_expr_loc (loc, CFN_LOG10, TREE_TYPE (_o3[0]), 1, _o3[0]);
   12128                 :           0 :                                                   if (!_r3)
   12129                 :           0 :                                                     goto next_after_fail1609;
   12130                 :           0 :                                                   _o2[0] = _r3;
   12131                 :             :                                                 }
   12132                 :           0 :                                                 _o2[1] = captures[2];
   12133                 :           0 :                                                 _r2 = fold_build2_loc (loc, MULT_EXPR, TREE_TYPE (_o2[0]), _o2[0], _o2[1]);
   12134                 :           0 :                                                 _o1[0] = _r2;
   12135                 :             :                                               }
   12136                 :           0 :                                               _o1[1] = captures[4];
   12137                 :           0 :                                               _r1 = fold_build2_loc (loc, PLUS_EXPR, TREE_TYPE (_o1[0]), _o1[0], _o1[1]);
   12138                 :           0 :                                               res_op0 = _r1;
   12139                 :             :                                             }
   12140                 :           0 :                                             tree _r;
   12141                 :           0 :                                             _r = maybe_build_call_expr_loc (loc, CFN_EXP10, type, 1, res_op0);
   12142                 :           0 :                                             if (!_r)
   12143                 :           0 :                                               goto next_after_fail1609;
   12144                 :           0 :                                             if (UNLIKELY (debug_dump)) generic_dump_logs ("match.pd", 1004, __FILE__, __LINE__, true);
   12145                 :           0 :                                             return _r;
   12146                 :             :                                           }
   12147                 :           0 : next_after_fail1609:;
   12148                 :             :                                         }
   12149                 :             :                                     }
   12150                 :             :                                 }
   12151                 :           0 :                                 break;
   12152                 :             :                               }
   12153                 :             :                             default:;
   12154                 :             :                             }
   12155                 :             :                         }
   12156                 :             :                       break;
   12157                 :           0 :                     case CFN_EXP10:
   12158                 :           0 :                       if (call_expr_nargs (_p1) == 1)
   12159                 :             :     {
   12160                 :           0 :                           tree _q40 = CALL_EXPR_ARG (_p1, 0);
   12161                 :           0 :                           {
   12162                 :           0 :                             tree captures[4] ATTRIBUTE_UNUSED = { _p0, _q20, _p1, _q40 };
   12163                 :           0 :                             if (flag_unsafe_math_optimizations
   12164                 :             : )
   12165                 :             :                               {
   12166                 :           0 :                                 if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail1610;
   12167                 :           0 :                                 {
   12168                 :           0 :                                   tree res_op0;
   12169                 :           0 :                                   {
   12170                 :           0 :                                     tree _o1[2], _r1;
   12171                 :           0 :                                     _o1[0] = captures[1];
   12172                 :           0 :                                     _o1[1] = captures[3];
   12173                 :           0 :                                     _r1 = fold_build2_loc (loc, PLUS_EXPR, TREE_TYPE (_o1[0]), _o1[0], _o1[1]);
   12174                 :           0 :                                     res_op0 = _r1;
   12175                 :             :                                   }
   12176                 :           0 :                                   tree _r;
   12177                 :           0 :                                   _r = maybe_build_call_expr_loc (loc, CFN_EXP10, type, 1, res_op0);
   12178                 :           0 :                                   if (!_r)
   12179                 :           0 :                                     goto next_after_fail1610;
   12180                 :           0 :                                   if (UNLIKELY (debug_dump)) generic_dump_logs ("match.pd", 1003, __FILE__, __LINE__, true);
   12181                 :           0 :                                   return _r;
   12182                 :             :                                 }
   12183                 :           0 : next_after_fail1610:;
   12184                 :             :                               }
   12185                 :             :                           }
   12186                 :             :                         }
   12187                 :             :                       break;
   12188                 :             :                     default:;
   12189                 :             :                     }
   12190                 :             :                   break;
   12191                 :             :                 default:;
   12192                 :             :                 }
   12193                 :             :             }
   12194                 :             :           break;
   12195                 :          12 :         case CFN_BUILT_IN_CBRTF:
   12196                 :          12 :           if (call_expr_nargs (_p0) == 1)
   12197                 :             :     {
   12198                 :          12 :               tree _q20 = CALL_EXPR_ARG (_p0, 0);
   12199                 :          12 :               switch (TREE_CODE (_p1))
   12200                 :             :                 {
   12201                 :          12 :                 case CALL_EXPR:
   12202                 :          12 :                   switch (get_call_combined_fn (_p1))
   12203                 :             :                     {
   12204                 :          12 :                     case CFN_BUILT_IN_CBRTF:
   12205                 :          12 :                       if (call_expr_nargs (_p1) == 1)
   12206                 :             :     {
   12207                 :          12 :                           tree _q40 = CALL_EXPR_ARG (_p1, 0);
   12208                 :          12 :                           {
   12209                 :          12 :                             tree captures[4] ATTRIBUTE_UNUSED = { _p0, _q20, _p1, _q40 };
   12210                 :          12 :                             if (flag_unsafe_math_optimizations
   12211                 :             : )
   12212                 :             :                               {
   12213                 :          12 :                                 if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail1611;
   12214                 :          12 :                                 {
   12215                 :          12 :                                   tree res_op0;
   12216                 :          12 :                                   {
   12217                 :          12 :                                     tree _o1[2], _r1;
   12218                 :          12 :                                     _o1[0] = captures[1];
   12219                 :          12 :                                     _o1[1] = captures[3];
   12220                 :          12 :                                     _r1 = fold_build2_loc (loc, MULT_EXPR, TREE_TYPE (_o1[0]), _o1[0], _o1[1]);
   12221                 :          12 :                                     res_op0 = _r1;
   12222                 :             :                                   }
   12223                 :          12 :                                   tree _r;
   12224                 :          12 :                                   _r = maybe_build_call_expr_loc (loc, CFN_BUILT_IN_CBRTF, type, 1, res_op0);
   12225                 :          12 :                                   if (!_r)
   12226                 :           0 :                                     goto next_after_fail1611;
   12227                 :          12 :                                   if (UNLIKELY (debug_dump)) generic_dump_logs ("match.pd", 1002, __FILE__, __LINE__, true);
   12228                 :          12 :                                   return _r;
   12229                 :             :                                 }
   12230                 :           0 : next_after_fail1611:;
   12231                 :             :                               }
   12232                 :             :                           }
   12233                 :             :                         }
   12234                 :             :                       break;
   12235                 :             :                     default:;
   12236                 :             :                     }
   12237                 :             :                   break;
   12238                 :             :                 default:;
   12239                 :             :                 }
   12240                 :             :             }
   12241                 :             :           break;
   12242                 :          12 :         case CFN_BUILT_IN_CBRTL:
   12243                 :          12 :           if (call_expr_nargs (_p0) == 1)
   12244                 :             :     {
   12245                 :          12 :               tree _q20 = CALL_EXPR_ARG (_p0, 0);
   12246                 :          12 :               switch (TREE_CODE (_p1))
   12247                 :             :                 {
   12248                 :          12 :                 case CALL_EXPR:
   12249                 :          12 :                   switch (get_call_combined_fn (_p1))
   12250                 :             :                     {
   12251                 :          12 :                     case CFN_BUILT_IN_CBRTL:
   12252                 :          12 :                       if (call_expr_nargs (_p1) == 1)
   12253                 :             :     {
   12254                 :          12 :                           tree _q40 = CALL_EXPR_ARG (_p1, 0);
   12255                 :          12 :                           {
   12256                 :          12 :                             tree captures[4] ATTRIBUTE_UNUSED = { _p0, _q20, _p1, _q40 };
   12257                 :          12 :                             if (flag_unsafe_math_optimizations
   12258                 :             : )
   12259                 :             :                               {
   12260                 :          12 :                                 if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail1612;
   12261                 :          12 :                                 {
   12262                 :          12 :                                   tree res_op0;
   12263                 :          12 :                                   {
   12264                 :          12 :                                     tree _o1[2], _r1;
   12265                 :          12 :                                     _o1[0] = captures[1];
   12266                 :          12 :                                     _o1[1] = captures[3];
   12267                 :          12 :                                     _r1 = fold_build2_loc (loc, MULT_EXPR, TREE_TYPE (_o1[0]), _o1[0], _o1[1]);
   12268                 :          12 :                                     res_op0 = _r1;
   12269                 :             :                                   }
   12270                 :          12 :                                   tree _r;
   12271                 :          12 :                                   _r = maybe_build_call_expr_loc (loc, CFN_BUILT_IN_CBRTL, type, 1, res_op0);
   12272                 :          12 :                                   if (!_r)
   12273                 :           0 :                                     goto next_after_fail1612;
   12274                 :          12 :                                   if (UNLIKELY (debug_dump)) generic_dump_logs ("match.pd", 1002, __FILE__, __LINE__, true);
   12275                 :          12 :                                   return _r;
   12276                 :             :                                 }
   12277                 :           0 : next_after_fail1612:;
   12278                 :             :                               }
   12279                 :             :                           }
   12280                 :             :                         }
   12281                 :             :                       break;
   12282                 :             :                     default:;
   12283                 :             :                     }
   12284                 :             :                   break;
   12285                 :             :                 default:;
   12286                 :             :                 }
   12287                 :             :             }
   12288                 :             :           break;
   12289                 :           0 :         case CFN_LDEXP:
   12290                 :           0 :           if (call_expr_nargs (_p0) == 2)
   12291                 :             :     {
   12292                 :           0 :               tree _q20 = CALL_EXPR_ARG (_p0, 0);
   12293                 :           0 :               tree _q21 = CALL_EXPR_ARG (_p0, 1);
   12294                 :           0 :               switch (TREE_CODE (_p1))
   12295                 :             :                 {
   12296                 :           0 :                 case REAL_CST:
   12297                 :           0 :                   {
   12298                 :           0 :                     {
   12299                 :           0 :                       tree captures[3] ATTRIBUTE_UNUSED = { _p1, _q20, _q21 };
   12300                 :           0 :                       tree res = generic_simplify_195 (loc, type, _p0, _p1, captures, CFN_LDEXP);
   12301                 :           0 :                       if (res) return res;
   12302                 :             :                     }
   12303                 :           0 :                     break;
   12304                 :             :                   }
   12305                 :           0 :                 default:;
   12306                 :             :                 }
   12307                 :           0 :               switch (TREE_CODE (_q20))
   12308                 :             :                 {
   12309                 :           0 :                 case REAL_CST:
   12310                 :           0 :                   {
   12311                 :           0 :                     {
   12312                 :           0 :                       tree captures[3] ATTRIBUTE_UNUSED = { _p1, _q20, _q21 };
   12313                 :           0 :                       tree res = generic_simplify_196 (loc, type, _p0, _p1, captures, CFN_LDEXP);
   12314                 :           0 :                       if (res) return res;
   12315                 :             :                     }
   12316                 :           0 :                     break;
   12317                 :             :                   }
   12318                 :             :                 default:;
   12319                 :             :                 }
   12320                 :             :             }
   12321                 :             :           break;
   12322                 :          48 :         case CFN_BUILT_IN_EXP10:
   12323                 :          48 :           if (call_expr_nargs (_p0) == 1)
   12324                 :             :     {
   12325                 :          48 :               tree _q20 = CALL_EXPR_ARG (_p0, 0);
   12326                 :          48 :               switch (TREE_CODE (_p1))
   12327                 :             :                 {
   12328                 :          24 :                 case CALL_EXPR:
   12329                 :          24 :                   switch (get_call_combined_fn (_p1))
   12330                 :             :                     {
   12331                 :           0 :                     case CFN_BUILT_IN_POW:
   12332                 :           0 :                       if (call_expr_nargs (_p1) == 2)
   12333                 :             :     {
   12334                 :           0 :                           tree _q40 = CALL_EXPR_ARG (_p1, 0);
   12335                 :           0 :                           tree _q41 = CALL_EXPR_ARG (_p1, 1);
   12336                 :           0 :                           switch (TREE_CODE (_q40))
   12337                 :             :                             {
   12338                 :           0 :                             case REAL_CST:
   12339                 :           0 :                               {
   12340                 :           0 :                                 {
   12341                 :           0 :                                   tree captures[5] ATTRIBUTE_UNUSED = { _p1, _q40, _q41, _p0, _q20 };
   12342                 :           0 :                                   if (flag_unsafe_math_optimizations
   12343                 :             : )
   12344                 :             :                                     {
   12345                 :           0 :                                       if (real_compare (GT_EXPR, TREE_REAL_CST_PTR (captures[1]), &dconst0)
   12346                 :           0 :  && real_isfinite (TREE_REAL_CST_PTR (captures[1]))
   12347                 :             : )
   12348                 :             :                                         {
   12349                 :           0 :                                           if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail1613;
   12350                 :           0 :                                           {
   12351                 :           0 :                                             tree res_op0;
   12352                 :           0 :                                             {
   12353                 :           0 :                                               tree _o1[2], _r1;
   12354                 :           0 :                                               {
   12355                 :           0 :                                                 tree _o2[2], _r2;
   12356                 :           0 :                                                 {
   12357                 :           0 :                                                   tree _o3[1], _r3;
   12358                 :           0 :                                                   _o3[0] = captures[1];
   12359                 :           0 :                                                   _r3 = maybe_build_call_expr_loc (loc, CFN_BUILT_IN_LOG10, TREE_TYPE (_o3[0]), 1, _o3[0]);
   12360                 :           0 :                                                   if (!_r3)
   12361                 :           0 :                                                     goto next_after_fail1613;
   12362                 :           0 :                                                   _o2[0] = _r3;
   12363                 :             :                                                 }
   12364                 :           0 :                                                 _o2[1] = captures[2];
   12365                 :           0 :                                                 _r2 = fold_build2_loc (loc, MULT_EXPR, TREE_TYPE (_o2[0]), _o2[0], _o2[1]);
   12366                 :           0 :                                                 _o1[0] = _r2;
   12367                 :             :                                               }
   12368                 :           0 :                                               _o1[1] = captures[4];
   12369                 :           0 :                                               _r1 = fold_build2_loc (loc, PLUS_EXPR, TREE_TYPE (_o1[0]), _o1[0], _o1[1]);
   12370                 :           0 :                                               res_op0 = _r1;
   12371                 :             :                                             }
   12372                 :           0 :                                             tree _r;
   12373                 :           0 :                                             _r = maybe_build_call_expr_loc (loc, CFN_BUILT_IN_EXP10, type, 1, res_op0);
   12374                 :           0 :                                             if (!_r)
   12375                 :           0 :                                               goto next_after_fail1613;
   12376                 :           0 :                                             if (UNLIKELY (debug_dump)) generic_dump_logs ("match.pd", 1004, __FILE__, __LINE__, true);
   12377                 :           0 :                                             return _r;
   12378                 :             :                                           }
   12379                 :           0 : next_after_fail1613:;
   12380                 :             :                                         }
   12381                 :             :                                     }
   12382                 :             :                                 }
   12383                 :           0 :                                 break;
   12384                 :             :                               }
   12385                 :             :                             default:;
   12386                 :             :                             }
   12387                 :             :                         }
   12388                 :             :                       break;
   12389                 :          24 :                     case CFN_BUILT_IN_EXP10:
   12390                 :          24 :                       if (call_expr_nargs (_p1) == 1)
   12391                 :             :     {
   12392                 :          24 :                           tree _q40 = CALL_EXPR_ARG (_p1, 0);
   12393                 :          24 :                           {
   12394                 :          24 :                             tree captures[4] ATTRIBUTE_UNUSED = { _p0, _q20, _p1, _q40 };
   12395                 :          24 :                             if (flag_unsafe_math_optimizations
   12396                 :             : )
   12397                 :             :                               {
   12398                 :          24 :                                 if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail1614;
   12399                 :          24 :                                 {
   12400                 :          24 :                                   tree res_op0;
   12401                 :          24 :                                   {
   12402                 :          24 :                                     tree _o1[2], _r1;
   12403                 :          24 :                                     _o1[0] = captures[1];
   12404                 :          24 :                                     _o1[1] = captures[3];
   12405                 :          24 :                                     _r1 = fold_build2_loc (loc, PLUS_EXPR, TREE_TYPE (_o1[0]), _o1[0], _o1[1]);
   12406                 :          24 :                                     res_op0 = _r1;
   12407                 :             :                                   }
   12408                 :          24 :                                   tree _r;
   12409                 :          24 :                                   _r = maybe_build_call_expr_loc (loc, CFN_BUILT_IN_EXP10, type, 1, res_op0);
   12410                 :          24 :                                   if (!_r)
   12411                 :           0 :                                     goto next_after_fail1614;
   12412                 :          24 :                                   if (UNLIKELY (debug_dump)) generic_dump_logs ("match.pd", 1003, __FILE__, __LINE__, true);
   12413                 :          24 :                                   return _r;
   12414                 :             :                                 }
   12415                 :           0 : next_after_fail1614:;
   12416                 :             :                               }
   12417                 :             :                           }
   12418                 :             :                         }
   12419                 :             :                       break;
   12420                 :             :                     default:;
   12421                 :             :                     }
   12422                 :             :                   break;
   12423                 :             :                 default:;
   12424                 :             :                 }
   12425                 :             :             }
   12426                 :             :           break;
   12427                 :          48 :         case CFN_BUILT_IN_EXP2F:
   12428                 :          48 :           if (call_expr_nargs (_p0) == 1)
   12429                 :             :     {
   12430                 :          48 :               tree _q20 = CALL_EXPR_ARG (_p0, 0);
   12431                 :          48 :               switch (TREE_CODE (_p1))
   12432                 :             :                 {
   12433                 :          24 :                 case CALL_EXPR:
   12434                 :          24 :                   switch (get_call_combined_fn (_p1))
   12435                 :             :                     {
   12436                 :           0 :                     case CFN_BUILT_IN_POWF:
   12437                 :           0 :                       if (call_expr_nargs (_p1) == 2)
   12438                 :             :     {
   12439                 :           0 :                           tree _q40 = CALL_EXPR_ARG (_p1, 0);
   12440                 :           0 :                           tree _q41 = CALL_EXPR_ARG (_p1, 1);
   12441                 :           0 :                           switch (TREE_CODE (_q40))
   12442                 :             :                             {
   12443                 :           0 :                             case REAL_CST:
   12444                 :           0 :                               {
   12445                 :           0 :                                 {
   12446                 :           0 :                                   tree captures[5] ATTRIBUTE_UNUSED = { _p1, _q40, _q41, _p0, _q20 };
   12447                 :           0 :                                   if (flag_unsafe_math_optimizations
   12448                 :             : )
   12449                 :             :                                     {
   12450                 :           0 :                                       if (real_compare (GT_EXPR, TREE_REAL_CST_PTR (captures[1]), &dconst0)
   12451                 :           0 :  && real_isfinite (TREE_REAL_CST_PTR (captures[1]))
   12452                 :             : )
   12453                 :             :                                         {
   12454                 :           0 :                                           if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail1615;
   12455                 :           0 :                                           {
   12456                 :           0 :                                             tree res_op0;
   12457                 :           0 :                                             {
   12458                 :           0 :                                               tree _o1[2], _r1;
   12459                 :           0 :                                               {
   12460                 :           0 :                                                 tree _o2[2], _r2;
   12461                 :           0 :                                                 {
   12462                 :           0 :                                                   tree _o3[1], _r3;
   12463                 :           0 :                                                   _o3[0] = captures[1];
   12464                 :           0 :                                                   _r3 = maybe_build_call_expr_loc (loc, CFN_BUILT_IN_LOG2F, TREE_TYPE (_o3[0]), 1, _o3[0]);
   12465                 :           0 :                                                   if (!_r3)
   12466                 :           0 :                                                     goto next_after_fail1615;
   12467                 :           0 :                                                   _o2[0] = _r3;
   12468                 :             :                                                 }
   12469                 :           0 :                                                 _o2[1] = captures[2];
   12470                 :           0 :                                                 _r2 = fold_build2_loc (loc, MULT_EXPR, TREE_TYPE (_o2[0]), _o2[0], _o2[1]);
   12471                 :           0 :                                                 _o1[0] = _r2;
   12472                 :             :                                               }
   12473                 :           0 :                                               _o1[1] = captures[4];
   12474                 :           0 :                                               _r1 = fold_build2_loc (loc, PLUS_EXPR, TREE_TYPE (_o1[0]), _o1[0], _o1[1]);
   12475                 :           0 :                                               res_op0 = _r1;
   12476                 :             :                                             }
   12477                 :           0 :                                             tree _r;
   12478                 :           0 :                                             _r = maybe_build_call_expr_loc (loc, CFN_BUILT_IN_EXP2F, type, 1, res_op0);
   12479                 :           0 :                                             if (!_r)
   12480                 :           0 :                                               goto next_after_fail1615;
   12481                 :           0 :                                             if (UNLIKELY (debug_dump)) generic_dump_logs ("match.pd", 1004, __FILE__, __LINE__, true);
   12482                 :           0 :                                             return _r;
   12483                 :             :                                           }
   12484                 :           0 : next_after_fail1615:;
   12485                 :             :                                         }
   12486                 :             :                                     }
   12487                 :             :                                 }
   12488                 :           0 :                                 break;
   12489                 :             :                               }
   12490                 :             :                             default:;
   12491                 :             :                             }
   12492                 :             :                         }
   12493                 :             :                       break;
   12494                 :          24 :                     case CFN_BUILT_IN_EXP2F:
   12495                 :          24 :                       if (call_expr_nargs (_p1) == 1)
   12496                 :             :     {
   12497                 :          24 :                           tree _q40 = CALL_EXPR_ARG (_p1, 0);
   12498                 :          24 :                           {
   12499                 :          24 :                             tree captures[4] ATTRIBUTE_UNUSED = { _p0, _q20, _p1, _q40 };
   12500                 :          24 :                             if (flag_unsafe_math_optimizations
   12501                 :             : )
   12502                 :             :                               {
   12503                 :          24 :                                 if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail1616;
   12504                 :          24 :                                 {
   12505                 :          24 :                                   tree res_op0;
   12506                 :          24 :                                   {
   12507                 :          24 :                                     tree _o1[2], _r1;
   12508                 :          24 :                                     _o1[0] = captures[1];
   12509                 :          24 :                                     _o1[1] = captures[3];
   12510                 :          24 :                                     _r1 = fold_build2_loc (loc, PLUS_EXPR, TREE_TYPE (_o1[0]), _o1[0], _o1[1]);
   12511                 :          24 :                                     res_op0 = _r1;
   12512                 :             :                                   }
   12513                 :          24 :                                   tree _r;
   12514                 :          24 :                                   _r = maybe_build_call_expr_loc (loc, CFN_BUILT_IN_EXP2F, type, 1, res_op0);
   12515                 :          24 :                                   if (!_r)
   12516                 :           0 :                                     goto next_after_fail1616;
   12517                 :          24 :                                   if (UNLIKELY (debug_dump)) generic_dump_logs ("match.pd", 1003, __FILE__, __LINE__, true);
   12518                 :          24 :                                   return _r;
   12519                 :             :                                 }
   12520                 :           0 : next_after_fail1616:;
   12521                 :             :                               }
   12522                 :             :                           }
   12523                 :             :                         }
   12524                 :             :                       break;
   12525                 :             :                     default:;
   12526                 :             :                     }
   12527                 :             :                   break;
   12528                 :             :                 default:;
   12529                 :             :                 }
   12530                 :             :             }
   12531                 :             :           break;
   12532                 :          48 :         case CFN_BUILT_IN_EXP2L:
   12533                 :          48 :           if (call_expr_nargs (_p0) == 1)
   12534                 :             :     {
   12535                 :          48 :               tree _q20 = CALL_EXPR_ARG (_p0, 0);
   12536                 :          48 :               switch (TREE_CODE (_p1))
   12537                 :             :                 {
   12538                 :          24 :                 case CALL_EXPR:
   12539                 :          24 :                   switch (get_call_combined_fn (_p1))
   12540                 :             :                     {
   12541                 :           0 :                     case CFN_BUILT_IN_POWL:
   12542                 :           0 :                       if (call_expr_nargs (_p1) == 2)
   12543                 :             :     {
   12544                 :           0 :                           tree _q40 = CALL_EXPR_ARG (_p1, 0);
   12545                 :           0 :                           tree _q41 = CALL_EXPR_ARG (_p1, 1);
   12546                 :           0 :                           switch (TREE_CODE (_q40))
   12547                 :             :                             {
   12548                 :           0 :                             case REAL_CST:
   12549                 :           0 :                               {
   12550                 :           0 :                                 {
   12551                 :           0 :                                   tree captures[5] ATTRIBUTE_UNUSED = { _p1, _q40, _q41, _p0, _q20 };
   12552                 :           0 :                                   if (flag_unsafe_math_optimizations
   12553                 :             : )
   12554                 :             :                                     {
   12555                 :           0 :                                       if (real_compare (GT_EXPR, TREE_REAL_CST_PTR (captures[1]), &dconst0)
   12556                 :           0 :  && real_isfinite (TREE_REAL_CST_PTR (captures[1]))
   12557                 :             : )
   12558                 :             :                                         {
   12559                 :           0 :                                           if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail1617;
   12560                 :           0 :                                           {
   12561                 :           0 :                                             tree res_op0;
   12562                 :           0 :                                             {
   12563                 :           0 :                                               tree _o1[2], _r1;
   12564                 :           0 :                                               {
   12565                 :           0 :                                                 tree _o2[2], _r2;
   12566                 :           0 :                                                 {
   12567                 :           0 :                                                   tree _o3[1], _r3;
   12568                 :           0 :                                                   _o3[0] = captures[1];
   12569                 :           0 :                                                   _r3 = maybe_build_call_expr_loc (loc, CFN_BUILT_IN_LOG2L, TREE_TYPE (_o3[0]), 1, _o3[0]);
   12570                 :           0 :                                                   if (!_r3)
   12571                 :           0 :                                                     goto next_after_fail1617;
   12572                 :           0 :                                                   _o2[0] = _r3;
   12573                 :             :                                                 }
   12574                 :           0 :                                                 _o2[1] = captures[2];
   12575                 :           0 :                                                 _r2 = fold_build2_loc (loc, MULT_EXPR, TREE_TYPE (_o2[0]), _o2[0], _o2[1]);
   12576                 :           0 :                                                 _o1[0] = _r2;
   12577                 :             :                                               }
   12578                 :           0 :                                               _o1[1] = captures[4];
   12579                 :           0 :                                               _r1 = fold_build2_loc (loc, PLUS_EXPR, TREE_TYPE (_o1[0]), _o1[0], _o1[1]);
   12580                 :           0 :                                               res_op0 = _r1;
   12581                 :             :                                             }
   12582                 :           0 :                                             tree _r;
   12583                 :           0 :                                             _r = maybe_build_call_expr_loc (loc, CFN_BUILT_IN_EXP2L, type, 1, res_op0);
   12584                 :           0 :                                             if (!_r)
   12585                 :           0 :                                               goto next_after_fail1617;
   12586                 :           0 :                                             if (UNLIKELY (debug_dump)) generic_dump_logs ("match.pd", 1004, __FILE__, __LINE__, true);
   12587                 :           0 :                                             return _r;
   12588                 :             :                                           }
   12589                 :           0 : next_after_fail1617:;
   12590                 :             :                                         }
   12591                 :             :                                     }
   12592                 :             :                                 }
   12593                 :           0 :                                 break;
   12594                 :             :                               }
   12595                 :             :                             default:;
   12596                 :             :                             }
   12597                 :             :                         }
   12598                 :             :                       break;
   12599                 :          24 :                     case CFN_BUILT_IN_EXP2L:
   12600                 :          24 :                       if (call_expr_nargs (_p1) == 1)
   12601                 :             :     {
   12602                 :          24 :                           tree _q40 = CALL_EXPR_ARG (_p1, 0);
   12603                 :          24 :                           {
   12604                 :          24 :                             tree captures[4] ATTRIBUTE_UNUSED = { _p0, _q20, _p1, _q40 };
   12605                 :          24 :                             if (flag_unsafe_math_optimizations
   12606                 :             : )
   12607                 :             :                               {
   12608                 :          24 :                                 if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail1618;
   12609                 :          24 :                                 {
   12610                 :          24 :                                   tree res_op0;
   12611                 :          24 :                                   {
   12612                 :          24 :                                     tree _o1[2], _r1;
   12613                 :          24 :                                     _o1[0] = captures[1];
   12614                 :          24 :                                     _o1[1] = captures[3];
   12615                 :          24 :                                     _r1 = fold_build2_loc (loc, PLUS_EXPR, TREE_TYPE (_o1[0]), _o1[0], _o1[1]);
   12616                 :          24 :                                     res_op0 = _r1;
   12617                 :             :                                   }
   12618                 :          24 :                                   tree _r;
   12619                 :          24 :                                   _r = maybe_build_call_expr_loc (loc, CFN_BUILT_IN_EXP2L, type, 1, res_op0);
   12620                 :          24 :                                   if (!_r)
   12621                 :           0 :                                     goto next_after_fail1618;
   12622                 :          24 :                                   if (UNLIKELY (debug_dump)) generic_dump_logs ("match.pd", 1003, __FILE__, __LINE__, true);
   12623                 :          24 :                                   return _r;
   12624                 :             :                                 }
   12625                 :           0 : next_after_fail1618:;
   12626                 :             :                               }
   12627                 :             :                           }
   12628                 :             :                         }
   12629                 :             :                       break;
   12630                 :             :                     default:;
   12631                 :             :                     }
   12632                 :             :                   break;
   12633                 :             :                 default:;
   12634                 :             :                 }
   12635                 :             :             }
   12636                 :             :           break;
   12637                 :           5 :         case CFN_BUILT_IN_LDEXP:
   12638                 :           5 :           if (call_expr_nargs (_p0) == 2)
   12639                 :             :     {
   12640                 :           5 :               tree _q20 = CALL_EXPR_ARG (_p0, 0);
   12641                 :           5 :               tree _q21 = CALL_EXPR_ARG (_p0, 1);
   12642                 :           5 :               switch (TREE_CODE (_p1))
   12643                 :             :                 {
   12644                 :           2 :                 case REAL_CST:
   12645                 :           2 :                   {
   12646                 :           2 :                     {
   12647                 :           2 :                       tree captures[3] ATTRIBUTE_UNUSED = { _p1, _q20, _q21 };
   12648                 :           2 :                       tree res = generic_simplify_195 (loc, type, _p0, _p1, captures, CFN_BUILT_IN_LDEXP);
   12649                 :           2 :                       if (res) return res;
   12650                 :             :                     }
   12651                 :           1 :                     break;
   12652                 :             :                   }
   12653                 :           4 :                 default:;
   12654                 :             :                 }
   12655                 :           4 :               switch (TREE_CODE (_q20))
   12656                 :             :                 {
   12657                 :           3 :                 case REAL_CST:
   12658                 :           3 :                   {
   12659                 :           3 :                     {
   12660                 :           3 :                       tree captures[3] ATTRIBUTE_UNUSED = { _p1, _q20, _q21 };
   12661                 :           3 :                       tree res = generic_simplify_196 (loc, type, _p0, _p1, captures, CFN_BUILT_IN_LDEXP);
   12662                 :           3 :                       if (res) return res;
   12663                 :             :                     }
   12664                 :           0 :                     break;
   12665                 :             :                   }
   12666                 :             :                 default:;
   12667                 :             :                 }
   12668                 :             :             }
   12669                 :             :           break;
   12670                 :          24 :         case CFN_BUILT_IN_POW10:
   12671                 :          24 :           if (call_expr_nargs (_p0) == 1)
   12672                 :             :     {
   12673                 :          24 :               tree _q20 = CALL_EXPR_ARG (_p0, 0);
   12674                 :          24 :               switch (TREE_CODE (_p1))
   12675                 :             :                 {
   12676                 :          12 :                 case CALL_EXPR:
   12677                 :          12 :                   switch (get_call_combined_fn (_p1))
   12678                 :             :                     {
   12679                 :           0 :                     case CFN_BUILT_IN_POW:
   12680                 :           0 :                       if (call_expr_nargs (_p1) == 2)
   12681                 :             :     {
   12682                 :           0 :                           tree _q40 = CALL_EXPR_ARG (_p1, 0);
   12683                 :           0 :                           tree _q41 = CALL_EXPR_ARG (_p1, 1);
   12684                 :           0 :                           switch (TREE_CODE (_q40))
   12685                 :             :                             {
   12686                 :           0 :                             case REAL_CST:
   12687                 :           0 :                               {
   12688                 :           0 :                                 {
   12689                 :           0 :                                   tree captures[5] ATTRIBUTE_UNUSED = { _p1, _q40, _q41, _p0, _q20 };
   12690                 :           0 :                                   if (flag_unsafe_math_optimizations
   12691                 :             : )
   12692                 :             :                                     {
   12693                 :           0 :                                       if (real_compare (GT_EXPR, TREE_REAL_CST_PTR (captures[1]), &dconst0)
   12694                 :           0 :  && real_isfinite (TREE_REAL_CST_PTR (captures[1]))
   12695                 :             : )
   12696                 :             :                                         {
   12697                 :           0 :                                           if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail1619;
   12698                 :           0 :                                           {
   12699                 :           0 :                                             tree res_op0;
   12700                 :           0 :                                             {
   12701                 :           0 :                                               tree _o1[2], _r1;
   12702                 :           0 :                                               {
   12703                 :           0 :                                                 tree _o2[2], _r2;
   12704                 :           0 :                                                 {
   12705                 :           0 :                                                   tree _o3[1], _r3;
   12706                 :           0 :                                                   _o3[0] = captures[1];
   12707                 :           0 :                                                   _r3 = maybe_build_call_expr_loc (loc, CFN_BUILT_IN_LOG10, TREE_TYPE (_o3[0]), 1, _o3[0]);
   12708                 :           0 :                                                   if (!_r3)
   12709                 :           0 :                                                     goto next_after_fail1619;
   12710                 :           0 :                                                   _o2[0] = _r3;
   12711                 :             :                                                 }
   12712                 :           0 :                                                 _o2[1] = captures[2];
   12713                 :           0 :                                                 _r2 = fold_build2_loc (loc, MULT_EXPR, TREE_TYPE (_o2[0]), _o2[0], _o2[1]);
   12714                 :           0 :                                                 _o1[0] = _r2;
   12715                 :             :                                               }
   12716                 :           0 :                                               _o1[1] = captures[4];
   12717                 :           0 :                                               _r1 = fold_build2_loc (loc, PLUS_EXPR, TREE_TYPE (_o1[0]), _o1[0], _o1[1]);
   12718                 :           0 :                                               res_op0 = _r1;
   12719                 :             :                                             }
   12720                 :           0 :                                             tree _r;
   12721                 :           0 :                                             _r = maybe_build_call_expr_loc (loc, CFN_BUILT_IN_POW10, type, 1, res_op0);
   12722                 :           0 :                                             if (!_r)
   12723                 :           0 :                                               goto next_after_fail1619;
   12724                 :           0 :                                             if (UNLIKELY (debug_dump)) generic_dump_logs ("match.pd", 1004, __FILE__, __LINE__, true);
   12725                 :           0 :                                             return _r;
   12726                 :             :                                           }
   12727                 :           0 : next_after_fail1619:;
   12728                 :             :                                         }
   12729                 :             :                                     }
   12730                 :             :                                 }
   12731                 :           0 :                                 break;
   12732                 :             :                               }
   12733                 :             :                             default:;
   12734                 :             :                             }
   12735                 :             :                         }
   12736                 :             :                       break;
   12737                 :          12 :                     case CFN_BUILT_IN_POW10:
   12738                 :          12 :                       if (call_expr_nargs (_p1) == 1)
   12739                 :             :     {
   12740                 :          12 :                           tree _q40 = CALL_EXPR_ARG (_p1, 0);
   12741                 :          12 :                           {
   12742                 :          12 :                             tree captures[4] ATTRIBUTE_UNUSED = { _p0, _q20, _p1, _q40 };
   12743                 :          12 :                             if (flag_unsafe_math_optimizations
   12744                 :             : )
   12745                 :             :                               {
   12746                 :          12 :                                 if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail1620;
   12747                 :          12 :                                 {
   12748                 :          12 :                                   tree res_op0;
   12749                 :          12 :                                   {
   12750                 :          12 :                                     tree _o1[2], _r1;
   12751                 :          12 :                                     _o1[0] = captures[1];
   12752                 :          12 :                                     _o1[1] = captures[3];
   12753                 :          12 :                                     _r1 = fold_build2_loc (loc, PLUS_EXPR, TREE_TYPE (_o1[0]), _o1[0], _o1[1]);
   12754                 :          12 :                                     res_op0 = _r1;
   12755                 :             :                                   }
   12756                 :          12 :                                   tree _r;
   12757                 :          12 :                                   _r = maybe_build_call_expr_loc (loc, CFN_BUILT_IN_POW10, type, 1, res_op0);
   12758                 :          12 :                                   if (!_r)
   12759                 :          12 :                                     goto next_after_fail1620;
   12760                 :           0 :                                   if (UNLIKELY (debug_dump)) generic_dump_logs ("match.pd", 1003, __FILE__, __LINE__, true);
   12761                 :           0 :                                   return _r;
   12762                 :             :                                 }
   12763                 :          12 : next_after_fail1620:;
   12764                 :             :                               }
   12765                 :             :                           }
   12766                 :             :                         }
   12767                 :             :                       break;
   12768                 :             :                     default:;
   12769                 :             :                     }
   12770                 :             :                   break;
   12771                 :             :                 default:;
   12772                 :             :                 }
   12773                 :             :             }
   12774                 :             :           break;
   12775                 :             :         default:;
   12776                 :             :         }
   12777                 :             :       break;
   12778                 :    64973203 :     default:;
   12779                 :             :     }
   12780                 :    64973203 :   switch (TREE_CODE (_p1))
   12781                 :             :     {
   12782                 :      932545 :     case CALL_EXPR:
   12783                 :      932545 :       switch (get_call_combined_fn (_p1))
   12784                 :             :         {
   12785                 :           0 :         case CFN_BUILT_IN_LDEXPF:
   12786                 :           0 :           if (call_expr_nargs (_p1) == 2)
   12787                 :             :     {
   12788                 :           0 :               tree _q30 = CALL_EXPR_ARG (_p1, 0);
   12789                 :           0 :               tree _q31 = CALL_EXPR_ARG (_p1, 1);
   12790                 :           0 :               switch (TREE_CODE (_q30))
   12791                 :             :                 {
   12792                 :           0 :                 case REAL_CST:
   12793                 :           0 :                   {
   12794                 :           0 :                     {
   12795                 :           0 :                       tree captures[3] ATTRIBUTE_UNUSED = { _p0, _q30, _q31 };
   12796                 :           0 :                       tree res = generic_simplify_196 (loc, type, _p0, _p1, captures, CFN_BUILT_IN_LDEXPF);
   12797                 :           0 :                       if (res) return res;
   12798                 :             :                     }
   12799                 :           0 :                     break;
   12800                 :             :                   }
   12801                 :             :                 default:;
   12802                 :             :                 }
   12803                 :             :             }
   12804                 :             :           break;
   12805                 :           0 :         case CFN_BUILT_IN_LDEXPL:
   12806                 :           0 :           if (call_expr_nargs (_p1) == 2)
   12807                 :             :     {
   12808                 :           0 :               tree _q30 = CALL_EXPR_ARG (_p1, 0);
   12809                 :           0 :               tree _q31 = CALL_EXPR_ARG (_p1, 1);
   12810                 :           0 :               switch (TREE_CODE (_q30))
   12811                 :             :                 {
   12812                 :           0 :                 case REAL_CST:
   12813                 :           0 :                   {
   12814                 :           0 :                     {
   12815                 :           0 :                       tree captures[3] ATTRIBUTE_UNUSED = { _p0, _q30, _q31 };
   12816                 :           0 :                       tree res = generic_simplify_196 (loc, type, _p0, _p1, captures, CFN_BUILT_IN_LDEXPL);
   12817                 :           0 :                       if (res) return res;
   12818                 :             :                     }
   12819                 :           0 :                     break;
   12820                 :             :                   }
   12821                 :             :                 default:;
   12822                 :             :                 }
   12823                 :             :             }
   12824                 :             :           break;
   12825                 :           0 :         case CFN_LDEXP:
   12826                 :           0 :           if (call_expr_nargs (_p1) == 2)
   12827                 :             :     {
   12828                 :           0 :               tree _q30 = CALL_EXPR_ARG (_p1, 0);
   12829                 :           0 :               tree _q31 = CALL_EXPR_ARG (_p1, 1);
   12830                 :           0 :               switch (TREE_CODE (_q30))
   12831                 :             :                 {
   12832                 :           0 :                 case REAL_CST:
   12833                 :           0 :                   {
   12834                 :           0 :                     {
   12835                 :           0 :                       tree captures[3] ATTRIBUTE_UNUSED = { _p0, _q30, _q31 };
   12836                 :           0 :                       tree res = generic_simplify_196 (loc, type, _p0, _p1, captures, CFN_LDEXP);
   12837                 :           0 :                       if (res) return res;
   12838                 :             :                     }
   12839                 :           0 :                     break;
   12840                 :             :                   }
   12841                 :             :                 default:;
   12842                 :             :                 }
   12843                 :             :             }
   12844                 :             :           break;
   12845                 :           0 :         case CFN_BUILT_IN_LDEXP:
   12846                 :           0 :           if (call_expr_nargs (_p1) == 2)
   12847                 :             :     {
   12848                 :           0 :               tree _q30 = CALL_EXPR_ARG (_p1, 0);
   12849                 :           0 :               tree _q31 = CALL_EXPR_ARG (_p1, 1);
   12850                 :           0 :               switch (TREE_CODE (_q30))
   12851                 :             :                 {
   12852                 :           0 :                 case REAL_CST:
   12853                 :           0 :                   {
   12854                 :           0 :                     {
   12855                 :           0 :                       tree captures[3] ATTRIBUTE_UNUSED = { _p0, _q30, _q31 };
   12856                 :           0 :                       tree res = generic_simplify_196 (loc, type, _p0, _p1, captures, CFN_BUILT_IN_LDEXP);
   12857                 :           0 :                       if (res) return res;
   12858                 :             :                     }
   12859                 :           0 :                     break;
   12860                 :             :                   }
   12861                 :             :                 default:;
   12862                 :             :                 }
   12863                 :             :             }
   12864                 :             :           break;
   12865                 :             :         default:;
   12866                 :             :         }
   12867                 :             :       break;
   12868                 :    64973203 :     default:;
   12869                 :             :     }
   12870                 :    64973203 :   switch (TREE_CODE (_p0))
   12871                 :             :     {
   12872                 :     2511328 :     case CALL_EXPR:
   12873                 :     2511328 :       switch (get_call_combined_fn (_p0))
   12874                 :             :         {
   12875                 :          29 :         case CFN_BUILT_IN_COS:
   12876                 :          29 :           if (call_expr_nargs (_p0) == 1)
   12877                 :             :     {
   12878                 :          29 :               tree _q20 = CALL_EXPR_ARG (_p0, 0);
   12879                 :          29 :               switch (TREE_CODE (_p1))
   12880                 :             :                 {
   12881                 :           4 :                 case CALL_EXPR:
   12882                 :           4 :                   switch (get_call_combined_fn (_p1))
   12883                 :             :                     {
   12884                 :           2 :                     case CFN_BUILT_IN_TAN:
   12885                 :           2 :                       if (call_expr_nargs (_p1) == 1)
   12886                 :             :     {
   12887                 :           2 :                           tree _q40 = CALL_EXPR_ARG (_p1, 0);
   12888                 :           2 :                           if ((_q40 == _q20 && ! TREE_SIDE_EFFECTS (_q40)) || (operand_equal_p (_q40, _q20, 0) && types_match (_q40, _q20)))
   12889                 :             :                             {
   12890                 :           2 :                               {
   12891                 :           2 :                                 tree captures[3] ATTRIBUTE_UNUSED = { _p1, _q20, _p0 };
   12892                 :           2 :                                 tree res = generic_simplify_197 (loc, type, _p0, _p1, captures, CFN_BUILT_IN_TAN, CFN_BUILT_IN_COS, CFN_BUILT_IN_SIN);
   12893                 :           2 :                                 if (res) return res;
   12894                 :             :                               }
   12895                 :             :                             }
   12896                 :             :                         }
   12897                 :             :                       break;
   12898                 :             :                     default:;
   12899                 :             :                     }
   12900                 :             :                   break;
   12901                 :             :                 default:;
   12902                 :             :                 }
   12903                 :             :             }
   12904                 :             :           break;
   12905                 :           2 :         case CFN_BUILT_IN_TAN:
   12906                 :           2 :           if (call_expr_nargs (_p0) == 1)
   12907                 :             :     {
   12908                 :           2 :               tree _q20 = CALL_EXPR_ARG (_p0, 0);
   12909                 :           2 :               switch (TREE_CODE (_p1))
   12910                 :             :                 {
   12911                 :           2 :                 case CALL_EXPR:
   12912                 :           2 :                   switch (get_call_combined_fn (_p1))
   12913                 :             :                     {
   12914                 :           2 :                     case CFN_BUILT_IN_COS:
   12915                 :           2 :                       if (call_expr_nargs (_p1) == 1)
   12916                 :             :     {
   12917                 :           2 :                           tree _q40 = CALL_EXPR_ARG (_p1, 0);
   12918                 :           2 :                           if ((_q40 == _q20 && ! TREE_SIDE_EFFECTS (_q40)) || (operand_equal_p (_q40, _q20, 0) && types_match (_q40, _q20)))
   12919                 :             :                             {
   12920                 :           2 :                               {
   12921                 :           2 :                                 tree captures[3] ATTRIBUTE_UNUSED = { _p0, _q20, _p1 };
   12922                 :           2 :                                 tree res = generic_simplify_197 (loc, type, _p0, _p1, captures, CFN_BUILT_IN_TAN, CFN_BUILT_IN_COS, CFN_BUILT_IN_SIN);
   12923                 :           2 :                                 if (res) return res;
   12924                 :             :                               }
   12925                 :             :                             }
   12926                 :             :                         }
   12927                 :             :                       break;
   12928                 :             :                     default:;
   12929                 :             :                     }
   12930                 :             :                   break;
   12931                 :             :                 default:;
   12932                 :             :                 }
   12933                 :             :             }
   12934                 :             :           break;
   12935                 :          18 :         case CFN_BUILT_IN_COSF:
   12936                 :          18 :           if (call_expr_nargs (_p0) == 1)
   12937                 :             :     {
   12938                 :          18 :               tree _q20 = CALL_EXPR_ARG (_p0, 0);
   12939                 :          18 :               switch (TREE_CODE (_p1))
   12940                 :             :                 {
   12941                 :           9 :                 case CALL_EXPR:
   12942                 :           9 :                   switch (get_call_combined_fn (_p1))
   12943                 :             :                     {
   12944                 :           2 :                     case CFN_BUILT_IN_TANF:
   12945                 :           2 :                       if (call_expr_nargs (_p1) == 1)
   12946                 :             :     {
   12947                 :           2 :                           tree _q40 = CALL_EXPR_ARG (_p1, 0);
   12948                 :           2 :                           if ((_q40 == _q20 && ! TREE_SIDE_EFFECTS (_q40)) || (operand_equal_p (_q40, _q20, 0) && types_match (_q40, _q20)))
   12949                 :             :                             {
   12950                 :           2 :                               {
   12951                 :           2 :                                 tree captures[3] ATTRIBUTE_UNUSED = { _p1, _q20, _p0 };
   12952                 :           2 :                                 tree res = generic_simplify_197 (loc, type, _p0, _p1, captures, CFN_BUILT_IN_TANF, CFN_BUILT_IN_COSF, CFN_BUILT_IN_SINF);
   12953                 :           2 :                                 if (res) return res;
   12954                 :             :                               }
   12955                 :             :                             }
   12956                 :             :                         }
   12957                 :             :                       break;
   12958                 :             :                     default:;
   12959                 :             :                     }
   12960                 :             :                   break;
   12961                 :             :                 default:;
   12962                 :             :                 }
   12963                 :             :             }
   12964                 :             :           break;
   12965                 :           2 :         case CFN_BUILT_IN_COSL:
   12966                 :           2 :           if (call_expr_nargs (_p0) == 1)
   12967                 :             :     {
   12968                 :           2 :               tree _q20 = CALL_EXPR_ARG (_p0, 0);
   12969                 :           2 :               switch (TREE_CODE (_p1))
   12970                 :             :                 {
   12971                 :           2 :                 case CALL_EXPR:
   12972                 :           2 :                   switch (get_call_combined_fn (_p1))
   12973                 :             :                     {
   12974                 :           2 :                     case CFN_BUILT_IN_TANL:
   12975                 :           2 :                       if (call_expr_nargs (_p1) == 1)
   12976                 :             :     {
   12977                 :           2 :                           tree _q40 = CALL_EXPR_ARG (_p1, 0);
   12978                 :           2 :                           if ((_q40 == _q20 && ! TREE_SIDE_EFFECTS (_q40)) || (operand_equal_p (_q40, _q20, 0) && types_match (_q40, _q20)))
   12979                 :             :                             {
   12980                 :           2 :                               {
   12981                 :           2 :                                 tree captures[3] ATTRIBUTE_UNUSED = { _p1, _q20, _p0 };
   12982                 :           2 :                                 tree res = generic_simplify_197 (loc, type, _p0, _p1, captures, CFN_BUILT_IN_TANL, CFN_BUILT_IN_COSL, CFN_BUILT_IN_SINL);
   12983                 :           2 :                                 if (res) return res;
   12984                 :             :                               }
   12985                 :             :                             }
   12986                 :             :                         }
   12987                 :             :                       break;
   12988                 :             :                     default:;
   12989                 :             :                     }
   12990                 :             :                   break;
   12991                 :             :                 default:;
   12992                 :             :                 }
   12993                 :             :             }
   12994                 :             :           break;
   12995                 :           2 :         case CFN_BUILT_IN_TANF:
   12996                 :           2 :           if (call_expr_nargs (_p0) == 1)
   12997                 :             :     {
   12998                 :           2 :               tree _q20 = CALL_EXPR_ARG (_p0, 0);
   12999                 :           2 :               switch (TREE_CODE (_p1))
   13000                 :             :                 {
   13001                 :           2 :                 case CALL_EXPR:
   13002                 :           2 :                   switch (get_call_combined_fn (_p1))
   13003                 :             :                     {
   13004                 :           2 :                     case CFN_BUILT_IN_COSF:
   13005                 :           2 :                       if (call_expr_nargs (_p1) == 1)
   13006                 :             :     {
   13007                 :           2 :                           tree _q40 = CALL_EXPR_ARG (_p1, 0);
   13008                 :           2 :                           if ((_q40 == _q20 && ! TREE_SIDE_EFFECTS (_q40)) || (operand_equal_p (_q40, _q20, 0) && types_match (_q40, _q20)))
   13009                 :             :                             {
   13010                 :           2 :                               {
   13011                 :           2 :                                 tree captures[3] ATTRIBUTE_UNUSED = { _p0, _q20, _p1 };
   13012                 :           2 :                                 tree res = generic_simplify_197 (loc, type, _p0, _p1, captures, CFN_BUILT_IN_TANF, CFN_BUILT_IN_COSF, CFN_BUILT_IN_SINF);
   13013                 :           2 :                                 if (res) return res;
   13014                 :             :                               }
   13015                 :             :                             }
   13016                 :             :                         }
   13017                 :             :                       break;
   13018                 :             :                     default:;
   13019                 :             :                     }
   13020                 :             :                   break;
   13021                 :             :                 default:;
   13022                 :             :                 }
   13023                 :             :             }
   13024                 :             :           break;
   13025                 :           2 :         case CFN_BUILT_IN_TANL:
   13026                 :           2 :           if (call_expr_nargs (_p0) == 1)
   13027                 :             :     {
   13028                 :           2 :               tree _q20 = CALL_EXPR_ARG (_p0, 0);
   13029                 :           2 :               switch (TREE_CODE (_p1))
   13030                 :             :                 {
   13031                 :           2 :                 case CALL_EXPR:
   13032                 :           2 :                   switch (get_call_combined_fn (_p1))
   13033                 :             :                     {
   13034                 :           2 :                     case CFN_BUILT_IN_COSL:
   13035                 :           2 :                       if (call_expr_nargs (_p1) == 1)
   13036                 :             :     {
   13037                 :           2 :                           tree _q40 = CALL_EXPR_ARG (_p1, 0);
   13038                 :           2 :                           if ((_q40 == _q20 && ! TREE_SIDE_EFFECTS (_q40)) || (operand_equal_p (_q40, _q20, 0) && types_match (_q40, _q20)))
   13039                 :             :                             {
   13040                 :           2 :                               {
   13041                 :           2 :                                 tree captures[3] ATTRIBUTE_UNUSED = { _p0, _q20, _p1 };
   13042                 :           2 :                                 tree res = generic_simplify_197 (loc, type, _p0, _p1, captures, CFN_BUILT_IN_TANL, CFN_BUILT_IN_COSL, CFN_BUILT_IN_SINL);
   13043                 :           2 :                                 if (res) return res;
   13044                 :             :                               }
   13045                 :             :                             }
   13046                 :             :                         }
   13047                 :             :                       break;
   13048                 :             :                     default:;
   13049                 :             :                     }
   13050                 :             :                   break;
   13051                 :             :                 default:;
   13052                 :             :                 }
   13053                 :             :             }
   13054                 :             :           break;
   13055                 :           0 :         case CFN_COS:
   13056                 :           0 :           if (call_expr_nargs (_p0) == 1)
   13057                 :             :     {
   13058                 :           0 :               tree _q20 = CALL_EXPR_ARG (_p0, 0);
   13059                 :           0 :               switch (TREE_CODE (_p1))
   13060                 :             :                 {
   13061                 :           0 :                 case CALL_EXPR:
   13062                 :           0 :                   switch (get_call_combined_fn (_p1))
   13063                 :             :                     {
   13064                 :           0 :                     case CFN_TAN:
   13065                 :           0 :                       if (call_expr_nargs (_p1) == 1)
   13066                 :             :     {
   13067                 :           0 :                           tree _q40 = CALL_EXPR_ARG (_p1, 0);
   13068                 :           0 :                           if ((_q40 == _q20 && ! TREE_SIDE_EFFECTS (_q40)) || (operand_equal_p (_q40, _q20, 0) && types_match (_q40, _q20)))
   13069                 :             :                             {
   13070                 :           0 :                               {
   13071                 :           0 :                                 tree captures[3] ATTRIBUTE_UNUSED = { _p1, _q20, _p0 };
   13072                 :           0 :                                 tree res = generic_simplify_197 (loc, type, _p0, _p1, captures, CFN_TAN, CFN_COS, CFN_SIN);
   13073                 :           0 :                                 if (res) return res;
   13074                 :             :                               }
   13075                 :             :                             }
   13076                 :             :                         }
   13077                 :             :                       break;
   13078                 :             :                     default:;
   13079                 :             :                     }
   13080                 :             :                   break;
   13081                 :             :                 default:;
   13082                 :             :                 }
   13083                 :             :             }
   13084                 :             :           break;
   13085                 :           0 :         case CFN_TAN:
   13086                 :           0 :           if (call_expr_nargs (_p0) == 1)
   13087                 :             :     {
   13088                 :           0 :               tree _q20 = CALL_EXPR_ARG (_p0, 0);
   13089                 :           0 :               switch (TREE_CODE (_p1))
   13090                 :             :                 {
   13091                 :           0 :                 case CALL_EXPR:
   13092                 :           0 :                   switch (get_call_combined_fn (_p1))
   13093                 :             :                     {
   13094                 :           0 :                     case CFN_COS:
   13095                 :           0 :                       if (call_expr_nargs (_p1) == 1)
   13096                 :             :     {
   13097                 :           0 :                           tree _q40 = CALL_EXPR_ARG (_p1, 0);
   13098                 :           0 :                           if ((_q40 == _q20 && ! TREE_SIDE_EFFECTS (_q40)) || (operand_equal_p (_q40, _q20, 0) && types_match (_q40, _q20)))
   13099                 :             :                             {
   13100                 :           0 :                               {
   13101                 :           0 :                                 tree captures[3] ATTRIBUTE_UNUSED = { _p0, _q20, _p1 };
   13102                 :           0 :                                 tree res = generic_simplify_197 (loc, type, _p0, _p1, captures, CFN_TAN, CFN_COS, CFN_SIN);
   13103                 :           0 :                                 if (res) return res;
   13104                 :             :                               }
   13105                 :             :                             }
   13106                 :             :                         }
   13107                 :             :                       break;
   13108                 :             :                     default:;
   13109                 :             :                     }
   13110                 :             :                   break;
   13111                 :             :                 default:;
   13112                 :             :                 }
   13113                 :             :             }
   13114                 :             :           break;
   13115                 :             :         default:;
   13116                 :             :         }
   13117                 :             :       break;
   13118                 :    64973191 :     default:;
   13119                 :             :     }
   13120                 :    64973191 :   switch (TREE_CODE (_p1))
   13121                 :             :     {
   13122                 :      932533 :     case CALL_EXPR:
   13123                 :      932533 :       switch (get_call_combined_fn (_p1))
   13124                 :             :         {
   13125                 :          59 :         case CFN_BUILT_IN_POW:
   13126                 :          59 :           if (call_expr_nargs (_p1) == 2)
   13127                 :             :     {
   13128                 :          59 :               tree _q30 = CALL_EXPR_ARG (_p1, 0);
   13129                 :          59 :               tree _q31 = CALL_EXPR_ARG (_p1, 1);
   13130                 :          59 :               if ((_q30 == _p0 && ! TREE_SIDE_EFFECTS (_q30)) || (operand_equal_p (_q30, _p0, 0) && types_match (_q30, _p0)))
   13131                 :             :                 {
   13132                 :           0 :                   switch (TREE_CODE (_q31))
   13133                 :             :                     {
   13134                 :           0 :                     case REAL_CST:
   13135                 :           0 :                       {
   13136                 :           0 :                         {
   13137                 :           0 :                           tree captures[3] ATTRIBUTE_UNUSED = { _p0, _p1, _q31 };
   13138                 :           0 :                           tree res = generic_simplify_194 (loc, type, _p0, _p1, captures, CFN_BUILT_IN_POW);
   13139                 :           0 :                           if (res) return res;
   13140                 :             :                         }
   13141                 :           0 :                         break;
   13142                 :             :                       }
   13143                 :             :                     default:;
   13144                 :             :                     }
   13145                 :             :                 }
   13146                 :             :             }
   13147                 :             :           break;
   13148                 :          23 :         case CFN_BUILT_IN_POWF:
   13149                 :          23 :           if (call_expr_nargs (_p1) == 2)
   13150                 :             :     {
   13151                 :          23 :               tree _q30 = CALL_EXPR_ARG (_p1, 0);
   13152                 :          23 :               tree _q31 = CALL_EXPR_ARG (_p1, 1);
   13153                 :          23 :               if ((_q30 == _p0 && ! TREE_SIDE_EFFECTS (_q30)) || (operand_equal_p (_q30, _p0, 0) && types_match (_q30, _p0)))
   13154                 :             :                 {
   13155                 :           0 :                   switch (TREE_CODE (_q31))
   13156                 :             :                     {
   13157                 :           0 :                     case REAL_CST:
   13158                 :           0 :                       {
   13159                 :           0 :                         {
   13160                 :           0 :                           tree captures[3] ATTRIBUTE_UNUSED = { _p0, _p1, _q31 };
   13161                 :           0 :                           tree res = generic_simplify_194 (loc, type, _p0, _p1, captures, CFN_BUILT_IN_POWF);
   13162                 :           0 :                           if (res) return res;
   13163                 :             :                         }
   13164                 :           0 :                         break;
   13165                 :             :                       }
   13166                 :             :                     default:;
   13167                 :             :                     }
   13168                 :             :                 }
   13169                 :             :             }
   13170                 :             :           break;
   13171                 :          12 :         case CFN_BUILT_IN_POWL:
   13172                 :          12 :           if (call_expr_nargs (_p1) == 2)
   13173                 :             :     {
   13174                 :          12 :               tree _q30 = CALL_EXPR_ARG (_p1, 0);
   13175                 :          12 :               tree _q31 = CALL_EXPR_ARG (_p1, 1);
   13176                 :          12 :               if ((_q30 == _p0 && ! TREE_SIDE_EFFECTS (_q30)) || (operand_equal_p (_q30, _p0, 0) && types_match (_q30, _p0)))
   13177                 :             :                 {
   13178                 :           0 :                   switch (TREE_CODE (_q31))
   13179                 :             :                     {
   13180                 :           0 :                     case REAL_CST:
   13181                 :           0 :                       {
   13182                 :           0 :                         {
   13183                 :           0 :                           tree captures[3] ATTRIBUTE_UNUSED = { _p0, _p1, _q31 };
   13184                 :           0 :                           tree res = generic_simplify_194 (loc, type, _p0, _p1, captures, CFN_BUILT_IN_POWL);
   13185                 :           0 :                           if (res) return res;
   13186                 :             :                         }
   13187                 :           0 :                         break;
   13188                 :             :                       }
   13189                 :             :                     default:;
   13190                 :             :                     }
   13191                 :             :                 }
   13192                 :             :             }
   13193                 :             :           break;
   13194                 :           0 :         case CFN_POW:
   13195                 :           0 :           if (call_expr_nargs (_p1) == 2)
   13196                 :             :     {
   13197                 :           0 :               tree _q30 = CALL_EXPR_ARG (_p1, 0);
   13198                 :           0 :               tree _q31 = CALL_EXPR_ARG (_p1, 1);
   13199                 :           0 :               if ((_q30 == _p0 && ! TREE_SIDE_EFFECTS (_q30)) || (operand_equal_p (_q30, _p0, 0) && types_match (_q30, _p0)))
   13200                 :             :                 {
   13201                 :           0 :                   switch (TREE_CODE (_q31))
   13202                 :             :                     {
   13203                 :           0 :                     case REAL_CST:
   13204                 :           0 :                       {
   13205                 :           0 :                         {
   13206                 :           0 :                           tree captures[3] ATTRIBUTE_UNUSED = { _p0, _p1, _q31 };
   13207                 :           0 :                           tree res = generic_simplify_194 (loc, type, _p0, _p1, captures, CFN_POW);
   13208                 :           0 :                           if (res) return res;
   13209                 :             :                         }
   13210                 :           0 :                         break;
   13211                 :             :                       }
   13212                 :             :                     default:;
   13213                 :             :                     }
   13214                 :             :                 }
   13215                 :             :             }
   13216                 :             :           break;
   13217                 :             :         default:;
   13218                 :             :         }
   13219                 :             :       break;
   13220                 :    64973191 :     default:;
   13221                 :             :     }
   13222                 :    64973191 :   switch (TREE_CODE (_p0))
   13223                 :             :     {
   13224                 :           1 :     case VEC_PERM_EXPR:
   13225                 :           1 :       {
   13226                 :           1 :         tree _q20 = TREE_OPERAND (_p0, 0);
   13227                 :           1 :         tree _q21 = TREE_OPERAND (_p0, 1);
   13228                 :           1 :         tree _q22 = TREE_OPERAND (_p0, 2);
   13229                 :           1 :         if ((_q21 == _q20 && ! TREE_SIDE_EFFECTS (_q21)) || (operand_equal_p (_q21, _q20, 0) && types_match (_q21, _q20)))
   13230                 :             :           {
   13231                 :           1 :             switch (TREE_CODE (_p1))
   13232                 :             :               {
   13233                 :           0 :               case VEC_PERM_EXPR:
   13234                 :           0 :                 {
   13235                 :           0 :                   tree _q60 = TREE_OPERAND (_p1, 0);
   13236                 :           0 :                   tree _q61 = TREE_OPERAND (_p1, 1);
   13237                 :           0 :                   tree _q62 = TREE_OPERAND (_p1, 2);
   13238                 :           0 :                   if ((_q61 == _q60 && ! TREE_SIDE_EFFECTS (_q61)) || (operand_equal_p (_q61, _q60, 0) && types_match (_q61, _q60)))
   13239                 :             :                     {
   13240                 :           0 :                       if ((_q62 == _q22 && ! TREE_SIDE_EFFECTS (_q62)) || (operand_equal_p (_q62, _q22, 0) && types_match (_q62, _q22)))
   13241                 :             :                         {
   13242                 :           0 :                           {
   13243                 :           0 :                             tree captures[4] ATTRIBUTE_UNUSED = { _q20, _q22, _q60 };
   13244                 :           0 :                             if (VECTOR_INTEGER_TYPE_P (type)
   13245                 :             : )
   13246                 :             :                               {
   13247                 :           0 :                                 if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail1621;
   13248                 :           0 :                                 {
   13249                 :           0 :                                   tree res_op0;
   13250                 :           0 :                                   {
   13251                 :           0 :                                     tree _o1[2], _r1;
   13252                 :           0 :                                     _o1[0] = captures[0];
   13253                 :           0 :                                     _o1[1] = captures[2];
   13254                 :           0 :                                     _r1 = fold_build2_loc (loc, MULT_EXPR, TREE_TYPE (_o1[0]), _o1[0], _o1[1]);
   13255                 :           0 :                                     captures[3] = _r1;
   13256                 :             :                                   }
   13257                 :           0 :                                   res_op0 = unshare_expr (captures[3]);
   13258                 :           0 :                                   tree res_op1;
   13259                 :           0 :                                   res_op1 = captures[3];
   13260                 :           0 :                                   tree res_op2;
   13261                 :           0 :                                   res_op2 = captures[1];
   13262                 :           0 :                                   tree _r;
   13263                 :           0 :                                   _r = fold_build3_loc (loc, VEC_PERM_EXPR, type, res_op0, res_op1, res_op2);
   13264                 :           0 :                                   if (UNLIKELY (debug_dump)) generic_dump_logs ("match.pd", 922, __FILE__, __LINE__, true);
   13265                 :           0 :                                   return _r;
   13266                 :             :                                 }
   13267                 :           0 : next_after_fail1621:;
   13268                 :             :                               }
   13269                 :             :                           }
   13270                 :             :                         }
   13271                 :             :                     }
   13272                 :             :                   break;
   13273                 :             :                 }
   13274                 :           1 :               default:;
   13275                 :             :               }
   13276                 :           1 :             switch (TREE_CODE (_q22))
   13277                 :             :               {
   13278                 :           0 :               case VECTOR_CST:
   13279                 :           0 :                 {
   13280                 :           0 :                   switch (TREE_CODE (_p1))
   13281                 :             :                     {
   13282                 :           0 :                     case VEC_PERM_EXPR:
   13283                 :           0 :                       {
   13284                 :           0 :                         tree _q60 = TREE_OPERAND (_p1, 0);
   13285                 :           0 :                         tree _q61 = TREE_OPERAND (_p1, 1);
   13286                 :           0 :                         tree _q62 = TREE_OPERAND (_p1, 2);
   13287                 :           0 :                         if ((_q61 == _q60 && ! TREE_SIDE_EFFECTS (_q61)) || (operand_equal_p (_q61, _q60, 0) && types_match (_q61, _q60)))
   13288                 :             :                           {
   13289                 :           0 :                             if ((_q62 == _q22 && ! TREE_SIDE_EFFECTS (_q62)) || (operand_equal_p (_q62, _q22, 0) && types_match (_q62, _q22)))
   13290                 :             :                               {
   13291                 :           0 :                                 switch (TREE_CODE (_q62))
   13292                 :             :                                   {
   13293                 :           0 :                                   case VECTOR_CST:
   13294                 :           0 :                                     {
   13295                 :           0 :                                       {
   13296                 :           0 :                                         tree captures[4] ATTRIBUTE_UNUSED = { _q20, _q22, _q60 };
   13297                 :           0 :                                         tree res = generic_simplify_39 (loc, type, _p0, _p1, captures, MULT_EXPR);
   13298                 :           0 :                                         if (res) return res;
   13299                 :             :                                       }
   13300                 :           0 :                                       break;
   13301                 :             :                                     }
   13302                 :             :                                   default:;
   13303                 :             :                                   }
   13304                 :             :                               }
   13305                 :             :                           }
   13306                 :             :                         break;
   13307                 :             :                       }
   13308                 :             :                     default:;
   13309                 :             :                     }
   13310                 :             :                   break;
   13311                 :             :                 }
   13312                 :             :               default:;
   13313                 :             :               }
   13314                 :             :           }
   13315                 :             :         break;
   13316                 :             :       }
   13317                 :     2511316 :     case CALL_EXPR:
   13318                 :     2511316 :       switch (get_call_combined_fn (_p0))
   13319                 :             :         {
   13320                 :         115 :         case CFN_BUILT_IN_POW:
   13321                 :         115 :           if (call_expr_nargs (_p0) == 2)
   13322                 :             :     {
   13323                 :         115 :               tree _q20 = CALL_EXPR_ARG (_p0, 0);
   13324                 :         115 :               tree _q21 = CALL_EXPR_ARG (_p0, 1);
   13325                 :         115 :               switch (TREE_CODE (_p1))
   13326                 :             :                 {
   13327                 :          80 :                 case CALL_EXPR:
   13328                 :          80 :                   switch (get_call_combined_fn (_p1))
   13329                 :             :                     {
   13330                 :          20 :                     case CFN_BUILT_IN_POW:
   13331                 :          20 :                       if (call_expr_nargs (_p1) == 2)
   13332                 :             :     {
   13333                 :          20 :                           tree _q50 = CALL_EXPR_ARG (_p1, 0);
   13334                 :          20 :                           tree _q51 = CALL_EXPR_ARG (_p1, 1);
   13335                 :          20 :                           if ((_q50 == _q20 && ! TREE_SIDE_EFFECTS (_q50)) || (operand_equal_p (_q50, _q20, 0) && types_match (_q50, _q20)))
   13336                 :             :                             {
   13337                 :          14 :                               {
   13338                 :          14 :                                 tree captures[5] ATTRIBUTE_UNUSED = { _p0, _q20, _q21, _p1, _q51 };
   13339                 :          14 :                                 tree res = generic_simplify_198 (loc, type, _p0, _p1, captures, CFN_BUILT_IN_POW);
   13340                 :          14 :                                 if (res) return res;
   13341                 :             :                               }
   13342                 :             :                             }
   13343                 :           6 :                           if ((_q51 == _q21 && ! TREE_SIDE_EFFECTS (_q51)) || (operand_equal_p (_q51, _q21, 0) && types_match (_q51, _q21)))
   13344                 :             :                             {
   13345                 :           2 :                               {
   13346                 :           2 :                                 tree captures[5] ATTRIBUTE_UNUSED = { _p0, _q20, _q21, _p1, _q50 };
   13347                 :           2 :                                 tree res = generic_simplify_199 (loc, type, _p0, _p1, captures, CFN_BUILT_IN_POW);
   13348                 :           2 :                                 if (res) return res;
   13349                 :             :                               }
   13350                 :             :                             }
   13351                 :             :                         }
   13352                 :             :                       break;
   13353                 :             :                     default:;
   13354                 :             :                     }
   13355                 :             :                   break;
   13356                 :             :                 default:;
   13357                 :             :                 }
   13358                 :             :             }
   13359                 :             :           break;
   13360                 :          19 :         case CFN_BUILT_IN_POWF:
   13361                 :          19 :           if (call_expr_nargs (_p0) == 2)
   13362                 :             :     {
   13363                 :          19 :               tree _q20 = CALL_EXPR_ARG (_p0, 0);
   13364                 :          19 :               tree _q21 = CALL_EXPR_ARG (_p0, 1);
   13365                 :          19 :               switch (TREE_CODE (_p1))
   13366                 :             :                 {
   13367                 :          13 :                 case CALL_EXPR:
   13368                 :          13 :                   switch (get_call_combined_fn (_p1))
   13369                 :             :                     {
   13370                 :          13 :                     case CFN_BUILT_IN_POWF:
   13371                 :          13 :                       if (call_expr_nargs (_p1) == 2)
   13372                 :             :     {
   13373                 :          13 :                           tree _q50 = CALL_EXPR_ARG (_p1, 0);
   13374                 :          13 :                           tree _q51 = CALL_EXPR_ARG (_p1, 1);
   13375                 :          13 :                           if ((_q50 == _q20 && ! TREE_SIDE_EFFECTS (_q50)) || (operand_equal_p (_q50, _q20, 0) && types_match (_q50, _q20)))
   13376                 :             :                             {
   13377                 :          12 :                               {
   13378                 :          12 :                                 tree captures[5] ATTRIBUTE_UNUSED = { _p0, _q20, _q21, _p1, _q51 };
   13379                 :          12 :                                 tree res = generic_simplify_198 (loc, type, _p0, _p1, captures, CFN_BUILT_IN_POWF);
   13380                 :          12 :                                 if (res) return res;
   13381                 :             :                               }
   13382                 :             :                             }
   13383                 :           1 :                           if ((_q51 == _q21 && ! TREE_SIDE_EFFECTS (_q51)) || (operand_equal_p (_q51, _q21, 0) && types_match (_q51, _q21)))
   13384                 :             :                             {
   13385                 :           0 :                               {
   13386                 :           0 :                                 tree captures[5] ATTRIBUTE_UNUSED = { _p0, _q20, _q21, _p1, _q50 };
   13387                 :           0 :                                 tree res = generic_simplify_199 (loc, type, _p0, _p1, captures, CFN_BUILT_IN_POWF);
   13388                 :           0 :                                 if (res) return res;
   13389                 :             :                               }
   13390                 :             :                             }
   13391                 :             :                         }
   13392                 :             :                       break;
   13393                 :             :                     default:;
   13394                 :             :                     }
   13395                 :             :                   break;
   13396                 :             :                 default:;
   13397                 :             :                 }
   13398                 :             :             }
   13399                 :             :           break;
   13400                 :          35 :         case CFN_BUILT_IN_POWI:
   13401                 :          35 :           if (call_expr_nargs (_p0) == 2)
   13402                 :             :     {
   13403                 :          35 :               tree _q20 = CALL_EXPR_ARG (_p0, 0);
   13404                 :          35 :               tree _q21 = CALL_EXPR_ARG (_p0, 1);
   13405                 :          35 :               switch (TREE_CODE (_p1))
   13406                 :             :                 {
   13407                 :           0 :                 case CALL_EXPR:
   13408                 :           0 :                   switch (get_call_combined_fn (_p1))
   13409                 :             :                     {
   13410                 :           0 :                     case CFN_BUILT_IN_POWI:
   13411                 :           0 :                       if (call_expr_nargs (_p1) == 2)
   13412                 :             :     {
   13413                 :           0 :                           tree _q50 = CALL_EXPR_ARG (_p1, 0);
   13414                 :           0 :                           tree _q51 = CALL_EXPR_ARG (_p1, 1);
   13415                 :           0 :                           if ((_q51 == _q21 && ! TREE_SIDE_EFFECTS (_q51)) || (operand_equal_p (_q51, _q21, 0) && types_match (_q51, _q21)))
   13416                 :             :                             {
   13417                 :           0 :                               {
   13418                 :           0 :                                 tree captures[5] ATTRIBUTE_UNUSED = { _p0, _q20, _q21, _p1, _q50 };
   13419                 :           0 :                                 if (flag_unsafe_math_optimizations && canonicalize_math_p ()
   13420                 :             : )
   13421                 :             :                                   {
   13422                 :           0 :                                     if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail1622;
   13423                 :           0 :                                     {
   13424                 :           0 :                                       tree res_op0;
   13425                 :           0 :                                       {
   13426                 :           0 :                                         tree _o1[2], _r1;
   13427                 :           0 :                                         _o1[0] = captures[1];
   13428                 :           0 :                                         _o1[1] = captures[4];
   13429                 :           0 :                                         _r1 = fold_build2_loc (loc, MULT_EXPR, TREE_TYPE (_o1[0]), _o1[0], _o1[1]);
   13430                 :           0 :                                         res_op0 = _r1;
   13431                 :             :                                       }
   13432                 :           0 :                                       tree res_op1;
   13433                 :           0 :                                       res_op1 = captures[2];
   13434                 :           0 :                                       tree _r;
   13435                 :           0 :                                       _r = maybe_build_call_expr_loc (loc, CFN_BUILT_IN_POWI, type, 2, res_op0, res_op1);
   13436                 :           0 :                                       if (!_r)
   13437                 :           0 :                                         goto next_after_fail1622;
   13438                 :           0 :                                       if (UNLIKELY (debug_dump)) generic_dump_logs ("match.pd", 1005, __FILE__, __LINE__, true);
   13439                 :           0 :                                       return _r;
   13440                 :             :                                     }
   13441                 :           0 : next_after_fail1622:;
   13442                 :             :                                   }
   13443                 :             :                               }
   13444                 :             :                             }
   13445                 :             :                         }
   13446                 :             :                       break;
   13447                 :             :                     default:;
   13448                 :             :                     }
   13449                 :             :                   break;
   13450                 :             :                 default:;
   13451                 :             :                 }
   13452                 :             :             }
   13453                 :             :           break;
   13454                 :          12 :         case CFN_BUILT_IN_POWL:
   13455                 :          12 :           if (call_expr_nargs (_p0) == 2)
   13456                 :             :     {
   13457                 :          12 :               tree _q20 = CALL_EXPR_ARG (_p0, 0);
   13458                 :          12 :               tree _q21 = CALL_EXPR_ARG (_p0, 1);
   13459                 :          12 :               switch (TREE_CODE (_p1))
   13460                 :             :                 {
   13461                 :          12 :                 case CALL_EXPR:
   13462                 :          12 :                   switch (get_call_combined_fn (_p1))
   13463                 :             :                     {
   13464                 :          12 :                     case CFN_BUILT_IN_POWL:
   13465                 :          12 :                       if (call_expr_nargs (_p1) == 2)
   13466                 :             :     {
   13467                 :          12 :                           tree _q50 = CALL_EXPR_ARG (_p1, 0);
   13468                 :          12 :                           tree _q51 = CALL_EXPR_ARG (_p1, 1);
   13469                 :          12 :                           if ((_q50 == _q20 && ! TREE_SIDE_EFFECTS (_q50)) || (operand_equal_p (_q50, _q20, 0) && types_match (_q50, _q20)))
   13470                 :             :                             {
   13471                 :          12 :                               {
   13472                 :          12 :                                 tree captures[5] ATTRIBUTE_UNUSED = { _p0, _q20, _q21, _p1, _q51 };
   13473                 :          12 :                                 tree res = generic_simplify_198 (loc, type, _p0, _p1, captures, CFN_BUILT_IN_POWL);
   13474                 :          12 :                                 if (res) return res;
   13475                 :             :                               }
   13476                 :             :                             }
   13477                 :           0 :                           if ((_q51 == _q21 && ! TREE_SIDE_EFFECTS (_q51)) || (operand_equal_p (_q51, _q21, 0) && types_match (_q51, _q21)))
   13478                 :             :                             {
   13479                 :           0 :                               {
   13480                 :           0 :                                 tree captures[5] ATTRIBUTE_UNUSED = { _p0, _q20, _q21, _p1, _q50 };
   13481                 :           0 :                                 tree res = generic_simplify_199 (loc, type, _p0, _p1, captures, CFN_BUILT_IN_POWL);
   13482                 :           0 :                                 if (res) return res;
   13483                 :             :                               }
   13484                 :             :                             }
   13485                 :             :                         }
   13486                 :             :                       break;
   13487                 :             :                     default:;
   13488                 :             :                     }
   13489                 :             :                   break;
   13490                 :             :                 default:;
   13491                 :             :                 }
   13492                 :             :             }
   13493                 :             :           break;
   13494                 :           0 :         case CFN_POW:
   13495                 :           0 :           if (call_expr_nargs (_p0) == 2)
   13496                 :             :     {
   13497                 :           0 :               tree _q20 = CALL_EXPR_ARG (_p0, 0);
   13498                 :           0 :               tree _q21 = CALL_EXPR_ARG (_p0, 1);
   13499                 :           0 :               switch (TREE_CODE (_p1))
   13500                 :             :                 {
   13501                 :           0 :                 case CALL_EXPR:
   13502                 :           0 :                   switch (get_call_combined_fn (_p1))
   13503                 :             :                     {
   13504                 :           0 :                     case CFN_POW:
   13505                 :           0 :                       if (call_expr_nargs (_p1) == 2)
   13506                 :             :     {
   13507                 :           0 :                           tree _q50 = CALL_EXPR_ARG (_p1, 0);
   13508                 :           0 :                           tree _q51 = CALL_EXPR_ARG (_p1, 1);
   13509                 :           0 :                           if ((_q50 == _q20 && ! TREE_SIDE_EFFECTS (_q50)) || (operand_equal_p (_q50, _q20, 0) && types_match (_q50, _q20)))
   13510                 :             :                             {
   13511                 :           0 :                               {
   13512                 :           0 :                                 tree captures[5] ATTRIBUTE_UNUSED = { _p0, _q20, _q21, _p1, _q51 };
   13513                 :           0 :                                 tree res = generic_simplify_198 (loc, type, _p0, _p1, captures, CFN_POW);
   13514                 :           0 :                                 if (res) return res;
   13515                 :             :                               }
   13516                 :             :                             }
   13517                 :           0 :                           if ((_q51 == _q21 && ! TREE_SIDE_EFFECTS (_q51)) || (operand_equal_p (_q51, _q21, 0) && types_match (_q51, _q21)))
   13518                 :             :                             {
   13519                 :           0 :                               {
   13520                 :           0 :                                 tree captures[5] ATTRIBUTE_UNUSED = { _p0, _q20, _q21, _p1, _q50 };
   13521                 :           0 :                                 tree res = generic_simplify_199 (loc, type, _p0, _p1, captures, CFN_POW);
   13522                 :           0 :                                 if (res) return res;
   13523                 :             :                               }
   13524                 :             :                             }
   13525                 :             :                         }
   13526                 :             :                       break;
   13527                 :             :                     default:;
   13528                 :             :                     }
   13529                 :             :                   break;
   13530                 :             :                 default:;
   13531                 :             :                 }
   13532                 :             :             }
   13533                 :             :           break;
   13534                 :          14 :         case CFN_BUILT_IN_POWIF:
   13535                 :          14 :           if (call_expr_nargs (_p0) == 2)
   13536                 :             :     {
   13537                 :          14 :               tree _q20 = CALL_EXPR_ARG (_p0, 0);
   13538                 :          14 :               tree _q21 = CALL_EXPR_ARG (_p0, 1);
   13539                 :          14 :               switch (TREE_CODE (_p1))
   13540                 :             :                 {
   13541                 :           0 :                 case CALL_EXPR:
   13542                 :           0 :                   switch (get_call_combined_fn (_p1))
   13543                 :             :                     {
   13544                 :           0 :                     case CFN_BUILT_IN_POWIF:
   13545                 :           0 :                       if (call_expr_nargs (_p1) == 2)
   13546                 :             :     {
   13547                 :           0 :                           tree _q50 = CALL_EXPR_ARG (_p1, 0);
   13548                 :           0 :                           tree _q51 = CALL_EXPR_ARG (_p1, 1);
   13549                 :           0 :                           if ((_q51 == _q21 && ! TREE_SIDE_EFFECTS (_q51)) || (operand_equal_p (_q51, _q21, 0) && types_match (_q51, _q21)))
   13550                 :             :                             {
   13551                 :           0 :                               {
   13552                 :           0 :                                 tree captures[5] ATTRIBUTE_UNUSED = { _p0, _q20, _q21, _p1, _q50 };
   13553                 :           0 :                                 if (flag_unsafe_math_optimizations && canonicalize_math_p ()
   13554                 :             : )
   13555                 :             :                                   {
   13556                 :           0 :                                     if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail1623;
   13557                 :           0 :                                     {
   13558                 :           0 :                                       tree res_op0;
   13559                 :           0 :                                       {
   13560                 :           0 :                                         tree _o1[2], _r1;
   13561                 :           0 :                                         _o1[0] = captures[1];
   13562                 :           0 :                                         _o1[1] = captures[4];
   13563                 :           0 :                                         _r1 = fold_build2_loc (loc, MULT_EXPR, TREE_TYPE (_o1[0]), _o1[0], _o1[1]);
   13564                 :           0 :                                         res_op0 = _r1;
   13565                 :             :                                       }
   13566                 :           0 :                                       tree res_op1;
   13567                 :           0 :                                       res_op1 = captures[2];
   13568                 :           0 :                                       tree _r;
   13569                 :           0 :                                       _r = maybe_build_call_expr_loc (loc, CFN_BUILT_IN_POWIF, type, 2, res_op0, res_op1);
   13570                 :           0 :                                       if (!_r)
   13571                 :           0 :                                         goto next_after_fail1623;
   13572                 :           0 :                                       if (UNLIKELY (debug_dump)) generic_dump_logs ("match.pd", 1005, __FILE__, __LINE__, true);
   13573                 :           0 :                                       return _r;
   13574                 :             :                                     }
   13575                 :           0 : next_after_fail1623:;
   13576                 :             :                                   }
   13577                 :             :                               }
   13578                 :             :                             }
   13579                 :             :                         }
   13580                 :             :                       break;
   13581                 :             :                     default:;
   13582                 :             :                     }
   13583                 :             :                   break;
   13584                 :             :                 default:;
   13585                 :             :                 }
   13586                 :             :             }
   13587                 :             :           break;
   13588                 :           5 :         case CFN_BUILT_IN_POWIL:
   13589                 :           5 :           if (call_expr_nargs (_p0) == 2)
   13590                 :             :     {
   13591                 :           5 :               tree _q20 = CALL_EXPR_ARG (_p0, 0);
   13592                 :           5 :               tree _q21 = CALL_EXPR_ARG (_p0, 1);
   13593                 :           5 :               switch (TREE_CODE (_p1))
   13594                 :             :                 {
   13595                 :           0 :                 case CALL_EXPR:
   13596                 :           0 :                   switch (get_call_combined_fn (_p1))
   13597                 :             :                     {
   13598                 :           0 :                     case CFN_BUILT_IN_POWIL:
   13599                 :           0 :                       if (call_expr_nargs (_p1) == 2)
   13600                 :             :     {
   13601                 :           0 :                           tree _q50 = CALL_EXPR_ARG (_p1, 0);
   13602                 :           0 :                           tree _q51 = CALL_EXPR_ARG (_p1, 1);
   13603                 :           0 :                           if ((_q51 == _q21 && ! TREE_SIDE_EFFECTS (_q51)) || (operand_equal_p (_q51, _q21, 0) && types_match (_q51, _q21)))
   13604                 :             :                             {
   13605                 :           0 :                               {
   13606                 :           0 :                                 tree captures[5] ATTRIBUTE_UNUSED = { _p0, _q20, _q21, _p1, _q50 };
   13607                 :           0 :                                 if (flag_unsafe_math_optimizations && canonicalize_math_p ()
   13608                 :             : )
   13609                 :             :                                   {
   13610                 :           0 :                                     if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail1624;
   13611                 :           0 :                                     {
   13612                 :           0 :                                       tree res_op0;
   13613                 :           0 :                                       {
   13614                 :           0 :                                         tree _o1[2], _r1;
   13615                 :           0 :                                         _o1[0] = captures[1];
   13616                 :           0 :                                         _o1[1] = captures[4];
   13617                 :           0 :                                         _r1 = fold_build2_loc (loc, MULT_EXPR, TREE_TYPE (_o1[0]), _o1[0], _o1[1]);
   13618                 :           0 :                                         res_op0 = _r1;
   13619                 :             :                                       }
   13620                 :           0 :                                       tree res_op1;
   13621                 :           0 :                                       res_op1 = captures[2];
   13622                 :           0 :                                       tree _r;
   13623                 :           0 :                                       _r = maybe_build_call_expr_loc (loc, CFN_BUILT_IN_POWIL, type, 2, res_op0, res_op1);
   13624                 :           0 :                                       if (!_r)
   13625                 :           0 :                                         goto next_after_fail1624;
   13626                 :           0 :                                       if (UNLIKELY (debug_dump)) generic_dump_logs ("match.pd", 1005, __FILE__, __LINE__, true);
   13627                 :           0 :                                       return _r;
   13628                 :             :                                     }
   13629                 :           0 : next_after_fail1624:;
   13630                 :             :                                   }
   13631                 :             :                               }
   13632                 :             :                             }
   13633                 :             :                         }
   13634                 :             :                       break;
   13635                 :             :                     default:;
   13636                 :             :                     }
   13637                 :             :                   break;
   13638                 :             :                 default:;
   13639                 :             :                 }
   13640                 :             :             }
   13641                 :             :           break;
   13642                 :             :         default:;
   13643                 :             :         }
   13644                 :             :       break;
   13645                 :             :     default:;
   13646                 :             :     }
   13647                 :             :   return NULL_TREE;
   13648                 :             : }
   13649                 :             : #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.