LCOV - code coverage report
Current view: top level - /mnt/build/buildbot/bld/build-lcov/gcc - generic-match-3.cc (source / functions) Coverage Total Hit
Test: gcc.info Lines: 43.4 % 8484 3684
Test Date: 2025-10-18 14:39:06 Functions: 67.4 % 95 64
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                 :   153708317 : tree_truth_valued_p (tree t)
      11                 :             : {
      12                 :   153708317 :   const tree type = TREE_TYPE (t);
      13                 :   153708317 :   const bool debug_dump = dump_file && (dump_flags & TDF_FOLDING);
      14                 :   153708317 :   if (TREE_SIDE_EFFECTS (t)) return false;
      15                 :   148839367 :   {
      16                 :   148839367 :     tree captures[1] ATTRIBUTE_UNUSED = { t };
      17                 :   148839367 :     if (INTEGRAL_TYPE_P (type) && TYPE_PRECISION (type) == 1
      18                 :             : )
      19                 :             :       {
      20                 :     5579802 :         {
      21                 :     5579802 :           if (UNLIKELY (debug_dump)) generic_dump_logs ("match.pd", 20, __FILE__, __LINE__, false);
      22                 :     5579802 :           return true;
      23                 :             :         }
      24                 :             :       }
      25                 :             :   }
      26                 :   143259565 :   switch (TREE_CODE (t))
      27                 :             :     {
      28                 :         834 :     case LT_EXPR:
      29                 :         834 :       {
      30                 :         834 :         tree _p0 = TREE_OPERAND (t, 0);
      31                 :         834 :         tree _p1 = TREE_OPERAND (t, 1);
      32                 :         834 :         {
      33                 :         834 :           tree captures[2] ATTRIBUTE_UNUSED = { _p0, _p1 };
      34                 :         834 :           {
      35                 :         834 :             if (UNLIKELY (debug_dump)) generic_dump_logs ("match.pd", 21, __FILE__, __LINE__, false);
      36                 :         834 :             return true;
      37                 :             :           }
      38                 :             :         }
      39                 :         707 :         break;
      40                 :             :       }
      41                 :         707 :     case LE_EXPR:
      42                 :         707 :       {
      43                 :         707 :         tree _p0 = TREE_OPERAND (t, 0);
      44                 :         707 :         tree _p1 = TREE_OPERAND (t, 1);
      45                 :         707 :         {
      46                 :         707 :           tree captures[2] ATTRIBUTE_UNUSED = { _p0, _p1 };
      47                 :         707 :           {
      48                 :         707 :             if (UNLIKELY (debug_dump)) generic_dump_logs ("match.pd", 21, __FILE__, __LINE__, false);
      49                 :         707 :             return true;
      50                 :             :           }
      51                 :             :         }
      52                 :       11775 :         break;
      53                 :             :       }
      54                 :       11775 :     case EQ_EXPR:
      55                 :       11775 :       {
      56                 :       11775 :         tree _p0 = TREE_OPERAND (t, 0);
      57                 :       11775 :         tree _p1 = TREE_OPERAND (t, 1);
      58                 :       11775 :         {
      59                 :       11775 :           tree captures[2] ATTRIBUTE_UNUSED = { _p0, _p1 };
      60                 :       11775 :           {
      61                 :       11775 :             if (UNLIKELY (debug_dump)) generic_dump_logs ("match.pd", 21, __FILE__, __LINE__, false);
      62                 :       11775 :             return true;
      63                 :             :           }
      64                 :             :         }
      65                 :        4281 :         break;
      66                 :             :       }
      67                 :        4281 :     case NE_EXPR:
      68                 :        4281 :       {
      69                 :        4281 :         tree _p0 = TREE_OPERAND (t, 0);
      70                 :        4281 :         tree _p1 = TREE_OPERAND (t, 1);
      71                 :        4281 :         {
      72                 :        4281 :           tree captures[2] ATTRIBUTE_UNUSED = { _p0, _p1 };
      73                 :        4281 :           {
      74                 :        4281 :             if (UNLIKELY (debug_dump)) generic_dump_logs ("match.pd", 21, __FILE__, __LINE__, false);
      75                 :        4281 :             return true;
      76                 :             :           }
      77                 :             :         }
      78                 :         396 :         break;
      79                 :             :       }
      80                 :         396 :     case GE_EXPR:
      81                 :         396 :       {
      82                 :         396 :         tree _p0 = TREE_OPERAND (t, 0);
      83                 :         396 :         tree _p1 = TREE_OPERAND (t, 1);
      84                 :         396 :         {
      85                 :         396 :           tree captures[2] ATTRIBUTE_UNUSED = { _p0, _p1 };
      86                 :         396 :           {
      87                 :         396 :             if (UNLIKELY (debug_dump)) generic_dump_logs ("match.pd", 21, __FILE__, __LINE__, false);
      88                 :         396 :             return true;
      89                 :             :           }
      90                 :             :         }
      91                 :      102795 :         break;
      92                 :             :       }
      93                 :      102795 :     case GT_EXPR:
      94                 :      102795 :       {
      95                 :      102795 :         tree _p0 = TREE_OPERAND (t, 0);
      96                 :      102795 :         tree _p1 = TREE_OPERAND (t, 1);
      97                 :      102795 :         {
      98                 :      102795 :           tree captures[2] ATTRIBUTE_UNUSED = { _p0, _p1 };
      99                 :      102795 :           {
     100                 :      102795 :             if (UNLIKELY (debug_dump)) generic_dump_logs ("match.pd", 21, __FILE__, __LINE__, false);
     101                 :      102795 :             return true;
     102                 :             :           }
     103                 :             :         }
     104                 :      150641 :         break;
     105                 :             :       }
     106                 :      150641 :     case UNORDERED_EXPR:
     107                 :      150641 :       {
     108                 :      150641 :         tree _p0 = TREE_OPERAND (t, 0);
     109                 :      150641 :         tree _p1 = TREE_OPERAND (t, 1);
     110                 :      150641 :         {
     111                 :      150641 :           tree captures[2] ATTRIBUTE_UNUSED = { _p0, _p1 };
     112                 :      150641 :           {
     113                 :      150641 :             if (UNLIKELY (debug_dump)) generic_dump_logs ("match.pd", 21, __FILE__, __LINE__, false);
     114                 :      150641 :             return true;
     115                 :             :           }
     116                 :             :         }
     117                 :          16 :         break;
     118                 :             :       }
     119                 :          16 :     case ORDERED_EXPR:
     120                 :          16 :       {
     121                 :          16 :         tree _p0 = TREE_OPERAND (t, 0);
     122                 :          16 :         tree _p1 = TREE_OPERAND (t, 1);
     123                 :          16 :         {
     124                 :          16 :           tree captures[2] ATTRIBUTE_UNUSED = { _p0, _p1 };
     125                 :          16 :           {
     126                 :          16 :             if (UNLIKELY (debug_dump)) generic_dump_logs ("match.pd", 21, __FILE__, __LINE__, false);
     127                 :          16 :             return true;
     128                 :             :           }
     129                 :             :         }
     130                 :          79 :         break;
     131                 :             :       }
     132                 :          79 :     case UNLT_EXPR:
     133                 :          79 :       {
     134                 :          79 :         tree _p0 = TREE_OPERAND (t, 0);
     135                 :          79 :         tree _p1 = TREE_OPERAND (t, 1);
     136                 :          79 :         {
     137                 :          79 :           tree captures[2] ATTRIBUTE_UNUSED = { _p0, _p1 };
     138                 :          79 :           {
     139                 :          79 :             if (UNLIKELY (debug_dump)) generic_dump_logs ("match.pd", 21, __FILE__, __LINE__, false);
     140                 :          79 :             return true;
     141                 :             :           }
     142                 :             :         }
     143                 :        1158 :         break;
     144                 :             :       }
     145                 :        1158 :     case UNLE_EXPR:
     146                 :        1158 :       {
     147                 :        1158 :         tree _p0 = TREE_OPERAND (t, 0);
     148                 :        1158 :         tree _p1 = TREE_OPERAND (t, 1);
     149                 :        1158 :         {
     150                 :        1158 :           tree captures[2] ATTRIBUTE_UNUSED = { _p0, _p1 };
     151                 :        1158 :           {
     152                 :        1158 :             if (UNLIKELY (debug_dump)) generic_dump_logs ("match.pd", 21, __FILE__, __LINE__, false);
     153                 :        1158 :             return true;
     154                 :             :           }
     155                 :             :         }
     156                 :          79 :         break;
     157                 :             :       }
     158                 :          79 :     case UNGT_EXPR:
     159                 :          79 :       {
     160                 :          79 :         tree _p0 = TREE_OPERAND (t, 0);
     161                 :          79 :         tree _p1 = TREE_OPERAND (t, 1);
     162                 :          79 :         {
     163                 :          79 :           tree captures[2] ATTRIBUTE_UNUSED = { _p0, _p1 };
     164                 :          79 :           {
     165                 :          79 :             if (UNLIKELY (debug_dump)) generic_dump_logs ("match.pd", 21, __FILE__, __LINE__, false);
     166                 :          79 :             return true;
     167                 :             :           }
     168                 :             :         }
     169                 :          79 :         break;
     170                 :             :       }
     171                 :          79 :     case UNGE_EXPR:
     172                 :          79 :       {
     173                 :          79 :         tree _p0 = TREE_OPERAND (t, 0);
     174                 :          79 :         tree _p1 = TREE_OPERAND (t, 1);
     175                 :          79 :         {
     176                 :          79 :           tree captures[2] ATTRIBUTE_UNUSED = { _p0, _p1 };
     177                 :          79 :           {
     178                 :          79 :             if (UNLIKELY (debug_dump)) generic_dump_logs ("match.pd", 21, __FILE__, __LINE__, false);
     179                 :          79 :             return true;
     180                 :             :           }
     181                 :             :         }
     182                 :          95 :         break;
     183                 :             :       }
     184                 :          95 :     case UNEQ_EXPR:
     185                 :          95 :       {
     186                 :          95 :         tree _p0 = TREE_OPERAND (t, 0);
     187                 :          95 :         tree _p1 = TREE_OPERAND (t, 1);
     188                 :          95 :         {
     189                 :          95 :           tree captures[2] ATTRIBUTE_UNUSED = { _p0, _p1 };
     190                 :          95 :           {
     191                 :          95 :             if (UNLIKELY (debug_dump)) generic_dump_logs ("match.pd", 21, __FILE__, __LINE__, false);
     192                 :          95 :             return true;
     193                 :             :           }
     194                 :             :         }
     195                 :          27 :         break;
     196                 :             :       }
     197                 :          27 :     case LTGT_EXPR:
     198                 :          27 :       {
     199                 :          27 :         tree _p0 = TREE_OPERAND (t, 0);
     200                 :          27 :         tree _p1 = TREE_OPERAND (t, 1);
     201                 :          27 :         {
     202                 :          27 :           tree captures[2] ATTRIBUTE_UNUSED = { _p0, _p1 };
     203                 :          27 :           {
     204                 :          27 :             if (UNLIKELY (debug_dump)) generic_dump_logs ("match.pd", 21, __FILE__, __LINE__, false);
     205                 :          27 :             return true;
     206                 :             :           }
     207                 :             :         }
     208                 :         102 :         break;
     209                 :             :       }
     210                 :         102 :     case TRUTH_AND_EXPR:
     211                 :         102 :       {
     212                 :         102 :         tree _p0 = TREE_OPERAND (t, 0);
     213                 :         102 :         tree _p1 = TREE_OPERAND (t, 1);
     214                 :         102 :         {
     215                 :         102 :           tree captures[2] ATTRIBUTE_UNUSED = { _p0, _p1 };
     216                 :         102 :           {
     217                 :         102 :             if (UNLIKELY (debug_dump)) generic_dump_logs ("match.pd", 21, __FILE__, __LINE__, false);
     218                 :         102 :             return true;
     219                 :             :           }
     220                 :             :         }
     221                 :         516 :         break;
     222                 :             :       }
     223                 :         516 :     case TRUTH_ANDIF_EXPR:
     224                 :         516 :       {
     225                 :         516 :         tree _p0 = TREE_OPERAND (t, 0);
     226                 :         516 :         tree _p1 = TREE_OPERAND (t, 1);
     227                 :         516 :         {
     228                 :         516 :           tree captures[2] ATTRIBUTE_UNUSED = { _p0, _p1 };
     229                 :         516 :           {
     230                 :         516 :             if (UNLIKELY (debug_dump)) generic_dump_logs ("match.pd", 21, __FILE__, __LINE__, false);
     231                 :         516 :             return true;
     232                 :             :           }
     233                 :             :         }
     234                 :          43 :         break;
     235                 :             :       }
     236                 :          43 :     case TRUTH_OR_EXPR:
     237                 :          43 :       {
     238                 :          43 :         tree _p0 = TREE_OPERAND (t, 0);
     239                 :          43 :         tree _p1 = TREE_OPERAND (t, 1);
     240                 :          43 :         {
     241                 :          43 :           tree captures[2] ATTRIBUTE_UNUSED = { _p0, _p1 };
     242                 :          43 :           {
     243                 :          43 :             if (UNLIKELY (debug_dump)) generic_dump_logs ("match.pd", 21, __FILE__, __LINE__, false);
     244                 :          43 :             return true;
     245                 :             :           }
     246                 :             :         }
     247                 :        1405 :         break;
     248                 :             :       }
     249                 :        1405 :     case TRUTH_ORIF_EXPR:
     250                 :        1405 :       {
     251                 :        1405 :         tree _p0 = TREE_OPERAND (t, 0);
     252                 :        1405 :         tree _p1 = TREE_OPERAND (t, 1);
     253                 :        1405 :         {
     254                 :        1405 :           tree captures[2] ATTRIBUTE_UNUSED = { _p0, _p1 };
     255                 :        1405 :           {
     256                 :        1405 :             if (UNLIKELY (debug_dump)) generic_dump_logs ("match.pd", 21, __FILE__, __LINE__, false);
     257                 :        1405 :             return true;
     258                 :             :           }
     259                 :             :         }
     260                 :           0 :         break;
     261                 :             :       }
     262                 :           0 :     case TRUTH_XOR_EXPR:
     263                 :           0 :       {
     264                 :           0 :         tree _p0 = TREE_OPERAND (t, 0);
     265                 :           0 :         tree _p1 = TREE_OPERAND (t, 1);
     266                 :           0 :         {
     267                 :           0 :           tree captures[2] ATTRIBUTE_UNUSED = { _p0, _p1 };
     268                 :           0 :           {
     269                 :           0 :             if (UNLIKELY (debug_dump)) generic_dump_logs ("match.pd", 21, __FILE__, __LINE__, false);
     270                 :           0 :             return true;
     271                 :             :           }
     272                 :             :         }
     273                 :      594929 :         break;
     274                 :             :       }
     275                 :      594929 :     case TRUTH_NOT_EXPR:
     276                 :      594929 :       {
     277                 :      594929 :         tree _p0 = TREE_OPERAND (t, 0);
     278                 :      594929 :         {
     279                 :      594929 :           tree captures[1] ATTRIBUTE_UNUSED = { _p0 };
     280                 :      594929 :           {
     281                 :      594929 :             if (UNLIKELY (debug_dump)) generic_dump_logs ("match.pd", 22, __FILE__, __LINE__, false);
     282                 :      594929 :             return true;
     283                 :             :           }
     284                 :             :         }
     285                 :             :         break;
     286                 :             :       }
     287                 :             :     default:;
     288                 :             :     }
     289                 :             :   return false;
     290                 :             : }
     291                 :             : 
     292                 :             : bool
     293                 :           0 : tree_compositional_complex (tree t)
     294                 :             : {
     295                 :           0 :   const tree type = TREE_TYPE (t);
     296                 :           0 :   const bool debug_dump = dump_file && (dump_flags & TDF_FOLDING);
     297                 :           0 :   if (TREE_SIDE_EFFECTS (t)) return false;
     298                 :           0 :   switch (TREE_CODE (t))
     299                 :             :     {
     300                 :           0 :     CASE_CONVERT:
     301                 :           0 :       {
     302                 :           0 :         tree _p0 = TREE_OPERAND (t, 0);
     303                 :           0 :         switch (TREE_CODE (_p0))
     304                 :             :           {
     305                 :           0 :           case COMPLEX_EXPR:
     306                 :           0 :             {
     307                 :           0 :               tree _q20 = TREE_OPERAND (_p0, 0);
     308                 :           0 :               tree _q21 = TREE_OPERAND (_p0, 1);
     309                 :           0 :               {
     310                 :           0 :                 tree captures[2] ATTRIBUTE_UNUSED = { _q20, _q21 };
     311                 :           0 :                 {
     312                 :           0 :                   if (UNLIKELY (debug_dump)) generic_dump_logs ("match.pd", 94, __FILE__, __LINE__, false);
     313                 :           0 :                   return true;
     314                 :             :                 }
     315                 :             :               }
     316                 :             :               break;
     317                 :             :             }
     318                 :             :           default:;
     319                 :             :           }
     320                 :             :         break;
     321                 :             :       }
     322                 :           0 :     case COMPLEX_EXPR:
     323                 :           0 :       {
     324                 :           0 :         tree _p0 = TREE_OPERAND (t, 0);
     325                 :           0 :         tree _p1 = TREE_OPERAND (t, 1);
     326                 :           0 :         {
     327                 :           0 :           tree captures[2] ATTRIBUTE_UNUSED = { _p0, _p1 };
     328                 :           0 :           {
     329                 :           0 :             if (UNLIKELY (debug_dump)) generic_dump_logs ("match.pd", 94, __FILE__, __LINE__, false);
     330                 :           0 :             return true;
     331                 :             :           }
     332                 :             :         }
     333                 :             :         break;
     334                 :             :       }
     335                 :             :     default:;
     336                 :             :     }
     337                 :             :   return false;
     338                 :             : }
     339                 :             : 
     340                 :             : bool
     341                 :      733089 : tree_vec_same_elem_p (tree t)
     342                 :             : {
     343                 :      733089 :   const tree type = TREE_TYPE (t);
     344                 :      733089 :   const bool debug_dump = dump_file && (dump_flags & TDF_FOLDING);
     345                 :      733089 :   if (TREE_SIDE_EFFECTS (t)) return false;
     346                 :      733089 :   switch (TREE_CODE (t))
     347                 :             :     {
     348                 :           0 :     case VEC_DUPLICATE_EXPR:
     349                 :           0 :       {
     350                 :           0 :         tree _p0 = TREE_OPERAND (t, 0);
     351                 :           0 :         {
     352                 :           0 :           tree captures[1] ATTRIBUTE_UNUSED = { _p0 };
     353                 :           0 :           {
     354                 :           0 :             if (UNLIKELY (debug_dump)) generic_dump_logs ("match.pd", 97, __FILE__, __LINE__, false);
     355                 :           0 :             return true;
     356                 :             :           }
     357                 :             :         }
     358                 :             :         break;
     359                 :             :       }
     360                 :             :     case CONSTRUCTOR:
     361                 :             :       {
     362                 :             :         {
     363                 :             :           tree captures[1] ATTRIBUTE_UNUSED = { t };
     364                 :             :           if (TREE_CODE (captures[0]) == SSA_NAME
     365                 :             :  && uniform_vector_p (gimple_assign_rhs1 (SSA_NAME_DEF_STMT (captures[0])))
     366                 :             : )
     367                 :             :             {
     368                 :             :               {
     369                 :             :                 if (UNLIKELY (debug_dump)) generic_dump_logs ("match.pd", 98, __FILE__, __LINE__, false);
     370                 :             :                 return true;
     371                 :             :               }
     372                 :             :             }
     373                 :             :         }
     374                 :             :         break;
     375                 :             :       }
     376                 :      733089 :     default:;
     377                 :             :     }
     378                 :      733089 :   {
     379                 :      733089 :     tree captures[1] ATTRIBUTE_UNUSED = { t };
     380                 :      733089 :     if (uniform_vector_p (captures[0])
     381                 :             : )
     382                 :             :       {
     383                 :       13834 :         {
     384                 :       13834 :           if (UNLIKELY (debug_dump)) generic_dump_logs ("match.pd", 99, __FILE__, __LINE__, false);
     385                 :       13834 :           return true;
     386                 :             :         }
     387                 :             :       }
     388                 :             :   }
     389                 :             :   return false;
     390                 :             : }
     391                 :             : 
     392                 :             : bool
     393                 :           0 : tree_cond_expr_convert_p (tree t, tree *res_ops)
     394                 :             : {
     395                 :           0 :   const tree type = TREE_TYPE (t);
     396                 :           0 :   const bool debug_dump = dump_file && (dump_flags & TDF_FOLDING);
     397                 :           0 :   if (TREE_SIDE_EFFECTS (t)) return false;
     398                 :           0 :   switch (TREE_CODE (t))
     399                 :             :     {
     400                 :           0 :     case COND_EXPR:
     401                 :           0 :       {
     402                 :           0 :         tree _p0 = TREE_OPERAND (t, 0);
     403                 :           0 :         tree _p1 = TREE_OPERAND (t, 1);
     404                 :           0 :         tree _p2 = TREE_OPERAND (t, 2);
     405                 :           0 :         switch (TREE_CODE (_p0))
     406                 :             :           {
     407                 :           0 :           case LT_EXPR:
     408                 :           0 :           case LE_EXPR:
     409                 :           0 :           case EQ_EXPR:
     410                 :           0 :           case NE_EXPR:
     411                 :           0 :           case GE_EXPR:
     412                 :           0 :           case GT_EXPR:
     413                 :           0 :             {
     414                 :           0 :               tree _q20 = TREE_OPERAND (_p0, 0);
     415                 :           0 :               tree _q21 = TREE_OPERAND (_p0, 1);
     416                 :           0 :               switch (TREE_CODE (_p1))
     417                 :             :                 {
     418                 :           0 :                 CASE_CONVERT:
     419                 :           0 :                   {
     420                 :           0 :                     tree _q50 = TREE_OPERAND (_p1, 0);
     421                 :           0 :                     switch (TREE_CODE (_p2))
     422                 :             :                       {
     423                 :           0 :                       CASE_CONVERT:
     424                 :           0 :                         {
     425                 :           0 :                           tree _q70 = TREE_OPERAND (_p2, 0);
     426                 :           0 :                           {
     427                 :           0 :                             tree captures[7] ATTRIBUTE_UNUSED = { _q20, _q50, _q70, _p0, _q21, _p1, _p2 };
     428                 :           0 :                             if ((INTEGRAL_TYPE_P (type)
     429                 :           0 :  || (!flag_trapping_math && SCALAR_FLOAT_TYPE_P (type)))
     430                 :           0 :  && ((INTEGRAL_TYPE_P (TREE_TYPE (captures[1]))
     431                 :           0 :  && INTEGRAL_TYPE_P (TREE_TYPE (captures[2])))
     432                 :           0 :  || (SCALAR_FLOAT_TYPE_P (TREE_TYPE (captures[1]))
     433                 :           0 :  && types_match (TREE_TYPE (captures[1]), TREE_TYPE (captures[2]))))
     434                 :           0 :  && !operand_equal_p (TYPE_SIZE (type), TYPE_SIZE (TREE_TYPE (captures[0])))
     435                 :           0 :  && operand_equal_p (TYPE_SIZE (TREE_TYPE (captures[0])),
     436                 :           0 :  TYPE_SIZE (TREE_TYPE (captures[1])))
     437                 :           0 :  && operand_equal_p (TYPE_SIZE (TREE_TYPE (captures[0])),
     438                 :           0 :  TYPE_SIZE (TREE_TYPE (captures[2])))
     439                 :           0 :  && (known_gt (tree_to_poly_uint64 (TYPE_SIZE (TREE_TYPE (captures[0]))),
     440                 :             :  tree_to_poly_uint64 (TYPE_SIZE (type)))
     441                 :           0 :  || (TYPE_UNSIGNED (TREE_TYPE (captures[1]))
     442                 :           0 :  == TYPE_UNSIGNED (TREE_TYPE (captures[2]))))
     443                 :             :  && single_use (captures[5])
     444                 :           0 :  && single_use (captures[6])
     445                 :             : )
     446                 :             :                               {
     447                 :           0 :                                 {
     448                 :           0 :                                   res_ops[0] = captures[0];
     449                 :           0 :                                   res_ops[1] = captures[1];
     450                 :           0 :                                   res_ops[2] = captures[2];
     451                 :           0 :                                   res_ops[3] = captures[3];
     452                 :           0 :                                   if (UNLIKELY (debug_dump)) generic_dump_logs ("match.pd", 103, __FILE__, __LINE__, false);
     453                 :           0 :                                   return true;
     454                 :             :                                 }
     455                 :             :                               }
     456                 :             :                           }
     457                 :           0 :                           break;
     458                 :             :                         }
     459                 :           0 :                       case REAL_CST:
     460                 :           0 :                         {
     461                 :           0 :                           {
     462                 :           0 :                             tree captures[6] ATTRIBUTE_UNUSED = { _q20, _q50, _p2, _p0, _q21, _p1 };
     463                 :           0 :                             if (!flag_trapping_math
     464                 :           0 :  && SCALAR_FLOAT_TYPE_P (type)
     465                 :           0 :  && SCALAR_FLOAT_TYPE_P (TREE_TYPE (captures[1]))
     466                 :           0 :  && !operand_equal_p (TYPE_SIZE (type), TYPE_SIZE (TREE_TYPE (captures[0])))
     467                 :           0 :  && operand_equal_p (TYPE_SIZE (TREE_TYPE (captures[0])),
     468                 :           0 :  TYPE_SIZE (TREE_TYPE (captures[1])))
     469                 :             :  && single_use (captures[5])
     470                 :           0 :  && (flag_unsafe_math_optimizations
     471                 :           0 :  || exact_real_truncate (TYPE_MODE (TREE_TYPE (captures[1])),
     472                 :           0 :  &TREE_REAL_CST (captures[2])))
     473                 :             : )
     474                 :             :                               {
     475                 :           0 :                                 {
     476                 :           0 :                                   res_ops[0] = captures[0];
     477                 :           0 :                                   res_ops[1] = captures[1];
     478                 :           0 :                                   res_ops[2] = captures[2];
     479                 :           0 :                                   res_ops[3] = captures[3];
     480                 :           0 :                                   if (UNLIKELY (debug_dump)) generic_dump_logs ("match.pd", 104, __FILE__, __LINE__, false);
     481                 :           0 :                                   return true;
     482                 :             :                                 }
     483                 :             :                               }
     484                 :             :                           }
     485                 :           0 :                           break;
     486                 :             :                         }
     487                 :             :                       default:;
     488                 :             :                       }
     489                 :             :                     break;
     490                 :             :                   }
     491                 :           0 :                 case FLOAT_EXPR:
     492                 :           0 :                   {
     493                 :           0 :                     tree _q50 = TREE_OPERAND (_p1, 0);
     494                 :           0 :                     switch (TREE_CODE (_p2))
     495                 :             :                       {
     496                 :           0 :                       case FLOAT_EXPR:
     497                 :           0 :                         {
     498                 :           0 :                           tree _q70 = TREE_OPERAND (_p2, 0);
     499                 :           0 :                           {
     500                 :           0 :                             tree captures[7] ATTRIBUTE_UNUSED = { _q20, _q50, _q70, _p0, _q21, _p1, _p2 };
     501                 :           0 :                             if (SCALAR_FLOAT_TYPE_P (type) && !flag_trapping_math
     502                 :           0 :  && INTEGRAL_TYPE_P (TREE_TYPE (captures[1]))
     503                 :           0 :  && types_match (TREE_TYPE (captures[1]), TREE_TYPE (captures[2]))
     504                 :           0 :  && !operand_equal_p (TYPE_SIZE (type), TYPE_SIZE (TREE_TYPE (captures[0])))
     505                 :           0 :  && operand_equal_p (TYPE_SIZE (TREE_TYPE (captures[0])),
     506                 :           0 :  TYPE_SIZE (TREE_TYPE (captures[1])))
     507                 :             :  && single_use (captures[5])
     508                 :           0 :  && single_use (captures[6])
     509                 :             : )
     510                 :             :                               {
     511                 :           0 :                                 {
     512                 :           0 :                                   res_ops[0] = captures[0];
     513                 :           0 :                                   res_ops[1] = captures[1];
     514                 :           0 :                                   res_ops[2] = captures[2];
     515                 :           0 :                                   res_ops[3] = captures[3];
     516                 :           0 :                                   if (UNLIKELY (debug_dump)) generic_dump_logs ("match.pd", 105, __FILE__, __LINE__, false);
     517                 :           0 :                                   return true;
     518                 :             :                                 }
     519                 :             :                               }
     520                 :             :                           }
     521                 :           0 :                           break;
     522                 :             :                         }
     523                 :             :                       default:;
     524                 :             :                       }
     525                 :             :                     break;
     526                 :             :                   }
     527                 :           0 :                 case FIX_TRUNC_EXPR:
     528                 :           0 :                   {
     529                 :           0 :                     tree _q50 = TREE_OPERAND (_p1, 0);
     530                 :           0 :                     switch (TREE_CODE (_p2))
     531                 :             :                       {
     532                 :           0 :                       case FIX_TRUNC_EXPR:
     533                 :           0 :                         {
     534                 :           0 :                           tree _q70 = TREE_OPERAND (_p2, 0);
     535                 :           0 :                           {
     536                 :           0 :                             tree captures[7] ATTRIBUTE_UNUSED = { _q20, _q50, _q70, _p0, _q21, _p1, _p2 };
     537                 :           0 :                             if (INTEGRAL_TYPE_P (type) && !flag_trapping_math
     538                 :           0 :  && SCALAR_FLOAT_TYPE_P (TREE_TYPE (captures[1]))
     539                 :           0 :  && types_match (TREE_TYPE (captures[1]), TREE_TYPE (captures[2]))
     540                 :           0 :  && !operand_equal_p (TYPE_SIZE (type),
     541                 :           0 :  TYPE_SIZE (TREE_TYPE (captures[0])))
     542                 :           0 :  && operand_equal_p (TYPE_SIZE (TREE_TYPE (captures[0])),
     543                 :           0 :  TYPE_SIZE (TREE_TYPE (captures[1])))
     544                 :             :  && single_use (captures[5])
     545                 :           0 :  && single_use (captures[6])
     546                 :             : )
     547                 :             :                               {
     548                 :           0 :                                 {
     549                 :           0 :                                   res_ops[0] = captures[0];
     550                 :           0 :                                   res_ops[1] = captures[1];
     551                 :           0 :                                   res_ops[2] = captures[2];
     552                 :           0 :                                   res_ops[3] = captures[3];
     553                 :           0 :                                   if (UNLIKELY (debug_dump)) generic_dump_logs ("match.pd", 106, __FILE__, __LINE__, false);
     554                 :           0 :                                   return true;
     555                 :             :                                 }
     556                 :             :                               }
     557                 :             :                           }
     558                 :           0 :                           break;
     559                 :             :                         }
     560                 :             :                       default:;
     561                 :             :                       }
     562                 :             :                     break;
     563                 :             :                   }
     564                 :           0 :                 case REAL_CST:
     565                 :           0 :                   {
     566                 :           0 :                     switch (TREE_CODE (_p2))
     567                 :             :                       {
     568                 :           0 :                       CASE_CONVERT:
     569                 :           0 :                         {
     570                 :           0 :                           tree _q60 = TREE_OPERAND (_p2, 0);
     571                 :           0 :                           {
     572                 :           0 :                             tree captures[6] ATTRIBUTE_UNUSED = { _q20, _p1, _q60, _p0, _q21, _p2 };
     573                 :           0 :                             if (!flag_trapping_math
     574                 :           0 :  && SCALAR_FLOAT_TYPE_P (type)
     575                 :           0 :  && SCALAR_FLOAT_TYPE_P (TREE_TYPE (captures[2]))
     576                 :           0 :  && !operand_equal_p (TYPE_SIZE (type),
     577                 :           0 :  TYPE_SIZE (TREE_TYPE (captures[0])))
     578                 :           0 :  && operand_equal_p (TYPE_SIZE (TREE_TYPE (captures[0])),
     579                 :           0 :  TYPE_SIZE (TREE_TYPE (captures[2])))
     580                 :             :  && single_use (captures[5])
     581                 :           0 :  && (flag_unsafe_math_optimizations
     582                 :           0 :  || exact_real_truncate (TYPE_MODE (TREE_TYPE (captures[2])),
     583                 :           0 :  &TREE_REAL_CST (captures[1])))
     584                 :             : )
     585                 :             :                               {
     586                 :           0 :                                 {
     587                 :           0 :                                   res_ops[0] = captures[0];
     588                 :           0 :                                   res_ops[1] = captures[1];
     589                 :           0 :                                   res_ops[2] = captures[2];
     590                 :           0 :                                   res_ops[3] = captures[3];
     591                 :           0 :                                   if (UNLIKELY (debug_dump)) generic_dump_logs ("match.pd", 107, __FILE__, __LINE__, false);
     592                 :           0 :                                   return true;
     593                 :             :                                 }
     594                 :             :                               }
     595                 :             :                           }
     596                 :           0 :                           break;
     597                 :             :                         }
     598                 :             :                       default:;
     599                 :             :                       }
     600                 :             :                     break;
     601                 :             :                   }
     602                 :             :                 default:;
     603                 :             :                 }
     604                 :             :               break;
     605                 :             :             }
     606                 :             :           default:;
     607                 :             :           }
     608                 :             :         break;
     609                 :             :       }
     610                 :             :     default:;
     611                 :             :     }
     612                 :             :   return false;
     613                 :             : }
     614                 :             : 
     615                 :             : tree
     616                 :           1 : generic_simplify_2 (location_t ARG_UNUSED (loc), const tree ARG_UNUSED (type),
     617                 :             :  tree ARG_UNUSED (_p0), tree *ARG_UNUSED (captures),
     618                 :             :  const combined_fn ARG_UNUSED (COPYSIGN_ALL))
     619                 :             : {
     620                 :           1 :   const bool debug_dump = dump_file && (dump_flags & TDF_FOLDING);
     621                 :           1 :   if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail287;
     622                 :           1 :   {
     623                 :           1 :     tree res_op0;
     624                 :           1 :     res_op0 = captures[0];
     625                 :           1 :     tree _r;
     626                 :           1 :     _r = fold_build1_loc (loc, ABS_EXPR, type, res_op0);
     627                 :           1 :     if (TREE_SIDE_EFFECTS (captures[1]))
     628                 :           0 :       _r = build2_loc (loc, COMPOUND_EXPR, type, fold_ignored_result (captures[1]), _r);
     629                 :           1 :     if (UNLIKELY (debug_dump)) generic_dump_logs ("match.pd", 111, __FILE__, __LINE__, true);
     630                 :             :     return _r;
     631                 :             :   }
     632                 :           0 : next_after_fail287:;
     633                 :           0 :   return NULL_TREE;
     634                 :             : }
     635                 :             : 
     636                 :             : tree
     637                 :         316 : generic_simplify_4 (location_t ARG_UNUSED (loc), const tree ARG_UNUSED (type),
     638                 :             :  tree ARG_UNUSED (_p0), tree ARG_UNUSED (_p1), tree *ARG_UNUSED (captures),
     639                 :             :  const enum tree_code ARG_UNUSED (outer_op),
     640                 :             :  const enum tree_code ARG_UNUSED (inner_op))
     641                 :             : {
     642                 :         316 :   const bool debug_dump = dump_file && (dump_flags & TDF_FOLDING);
     643                 :         316 :   if (real_zerop (captures[2])
     644                 :          34 :  && real_zerop (captures[3])
     645                 :         350 :  && !HONOR_SIGN_DEPENDENT_ROUNDING (type)
     646                 :             : )
     647                 :             :     {
     648                 :          10 :       {
     649                 :          10 :  bool inner_plus = ((inner_op == PLUS_EXPR)
     650                 :          10 :  ^ REAL_VALUE_MINUS_ZERO (TREE_REAL_CST (captures[2])));
     651                 :          10 :  bool outer_plus
     652                 :          10 :  = ((outer_op == PLUS_EXPR)
     653                 :          10 :  ^ REAL_VALUE_MINUS_ZERO (TREE_REAL_CST (captures[3])));
     654                 :          10 :           if (outer_plus && !inner_plus
     655                 :             : )
     656                 :             :             {
     657                 :           2 :               if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail289;
     658                 :           2 :               {
     659                 :           2 :                 tree res_op0;
     660                 :           2 :                 res_op0 = captures[1];
     661                 :           2 :                 tree res_op1;
     662                 :           2 :                 res_op1 = captures[3];
     663                 :           2 :                 tree _r;
     664                 :           2 :                 _r = fold_build2_loc (loc, outer_op, type, res_op0, res_op1);
     665                 :           2 :                 if (TREE_SIDE_EFFECTS (captures[2]))
     666                 :           0 :                   _r = build2_loc (loc, COMPOUND_EXPR, type, fold_ignored_result (captures[2]), _r);
     667                 :           2 :                 if (UNLIKELY (debug_dump)) generic_dump_logs ("match.pd", 113, __FILE__, __LINE__, true);
     668                 :           2 :                 return _r;
     669                 :             :               }
     670                 :           0 : next_after_fail289:;
     671                 :             :             }
     672                 :             :           else
     673                 :             :             {
     674                 :           8 :               if (TREE_SIDE_EFFECTS (_p0)) goto next_after_fail290;
     675                 :           8 :               if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail290;
     676                 :           8 :               {
     677                 :           8 :                 tree _r;
     678                 :           8 :                 _r = captures[0];
     679                 :           8 :                 if (TREE_SIDE_EFFECTS (captures[3]))
     680                 :           0 :                   _r = build2_loc (loc, COMPOUND_EXPR, type, fold_ignored_result (captures[3]), _r);
     681                 :           8 :                 if (UNLIKELY (debug_dump)) generic_dump_logs ("match.pd", 114, __FILE__, __LINE__, true);
     682                 :           8 :                 return _r;
     683                 :             :               }
     684                 :             : next_after_fail290:;
     685                 :             :             }
     686                 :             :       }
     687                 :             :     }
     688                 :             :   return NULL_TREE;
     689                 :             : }
     690                 :             : 
     691                 :             : tree
     692                 :       69544 : generic_simplify_7 (location_t ARG_UNUSED (loc), const tree ARG_UNUSED (type),
     693                 :             :  tree ARG_UNUSED (_p0), tree ARG_UNUSED (_p1), tree *ARG_UNUSED (captures),
     694                 :             :  const enum tree_code ARG_UNUSED (op))
     695                 :             : {
     696                 :       69544 :   const bool debug_dump = dump_file && (dump_flags & TDF_FOLDING);
     697                 :       69544 :   {
     698                 :       69544 :  bool wascmp0, wascmp1;
     699                 :       69544 :       if (bitwise_inverted_equal_p (captures[1], captures[3], wascmp0)
     700                 :        1178 :  && bitwise_inverted_equal_p (captures[0], captures[2], wascmp1)
     701                 :       69548 :  && ((!wascmp0 && !wascmp1)
     702                 :           0 :  || element_precision (type) == 1)
     703                 :             : )
     704                 :             :         {
     705                 :           4 :           if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail293;
     706                 :           4 :           {
     707                 :           4 :             tree res_op0;
     708                 :           4 :             res_op0 = captures[0];
     709                 :           4 :             tree res_op1;
     710                 :           4 :             res_op1 = captures[3];
     711                 :           4 :             tree _r;
     712                 :           4 :             _r = fold_build2_loc (loc, BIT_XOR_EXPR, type, res_op0, res_op1);
     713                 :           4 :             if (TREE_SIDE_EFFECTS (captures[1]))
     714                 :           0 :               _r = build2_loc (loc, COMPOUND_EXPR, type, fold_ignored_result (captures[1]), _r);
     715                 :           4 :             if (TREE_SIDE_EFFECTS (captures[2]))
     716                 :           0 :               _r = build2_loc (loc, COMPOUND_EXPR, type, fold_ignored_result (captures[2]), _r);
     717                 :           4 :             if (UNLIKELY (debug_dump)) generic_dump_logs ("match.pd", 117, __FILE__, __LINE__, true);
     718                 :           4 :             return _r;
     719                 :             :           }
     720                 :           0 : next_after_fail293:;
     721                 :             :         }
     722                 :             :   }
     723                 :       69540 :   return NULL_TREE;
     724                 :             : }
     725                 :             : 
     726                 :             : tree
     727                 :           0 : generic_simplify_10 (location_t ARG_UNUSED (loc), const tree ARG_UNUSED (type),
     728                 :             :  tree ARG_UNUSED (_p0), tree ARG_UNUSED (_p1), tree *ARG_UNUSED (captures))
     729                 :             : {
     730                 :           0 :   const bool debug_dump = dump_file && (dump_flags & TDF_FOLDING);
     731                 :           0 :   if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail296;
     732                 :           0 :   {
     733                 :           0 :     tree res_op0;
     734                 :           0 :     res_op0 = captures[0];
     735                 :           0 :     tree res_op1;
     736                 :           0 :     res_op1 = captures[1];
     737                 :           0 :     tree _r;
     738                 :           0 :     _r = fold_build2_loc (loc, PLUS_EXPR, type, res_op0, res_op1);
     739                 :           0 :     if (UNLIKELY (debug_dump)) generic_dump_logs ("match.pd", 120, __FILE__, __LINE__, true);
     740                 :             :     return _r;
     741                 :             :   }
     742                 :           0 : next_after_fail296:;
     743                 :           0 :   return NULL_TREE;
     744                 :             : }
     745                 :             : 
     746                 :             : tree
     747                 :       46878 : generic_simplify_13 (location_t ARG_UNUSED (loc), const tree ARG_UNUSED (type),
     748                 :             :  tree ARG_UNUSED (_p0), tree ARG_UNUSED (_p1), tree *ARG_UNUSED (captures))
     749                 :             : {
     750                 :       46878 :   const bool debug_dump = dump_file && (dump_flags & TDF_FOLDING);
     751                 :       46878 :   if (!TYPE_SATURATING (type)
     752                 :             : )
     753                 :             :     {
     754                 :       46878 :       if ((!FLOAT_TYPE_P (type) || flag_associative_math)
     755                 :       93682 :  && !FIXED_POINT_TYPE_P (type)
     756                 :             : )
     757                 :             :         {
     758                 :       46804 :           if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail299;
     759                 :       46804 :           {
     760                 :       46804 :             tree res_op0;
     761                 :       46804 :             res_op0 = captures[0];
     762                 :       46804 :             tree _r;
     763                 :       46804 :             _r = fold_build1_loc (loc, VIEW_CONVERT_EXPR, type, res_op0);
     764                 :       46804 :             if (TREE_SIDE_EFFECTS (captures[1]))
     765                 :           0 :               _r = build2_loc (loc, COMPOUND_EXPR, type, fold_ignored_result (captures[1]), _r);
     766                 :       46804 :             if (UNLIKELY (debug_dump)) generic_dump_logs ("match.pd", 123, __FILE__, __LINE__, true);
     767                 :       46804 :             return _r;
     768                 :             :           }
     769                 :           0 : next_after_fail299:;
     770                 :             :         }
     771                 :             :     }
     772                 :             :   return NULL_TREE;
     773                 :             : }
     774                 :             : 
     775                 :             : tree
     776                 :      194332 : generic_simplify_14 (location_t ARG_UNUSED (loc), const tree ARG_UNUSED (type),
     777                 :             :  tree ARG_UNUSED (_p0), tree ARG_UNUSED (_p1), tree *ARG_UNUSED (captures))
     778                 :             : {
     779                 :      194332 :   const bool debug_dump = dump_file && (dump_flags & TDF_FOLDING);
     780                 :      194332 :   if (!TYPE_SATURATING (type)
     781                 :             : )
     782                 :             :     {
     783                 :      194332 :       if (tree_nop_conversion_p (type, TREE_TYPE (captures[1]))
     784                 :      194332 :  && !TYPE_OVERFLOW_SANITIZED (type)
     785                 :             : )
     786                 :             :         {
     787                 :      192202 :           {
     788                 :      192202 :  tree t1 = type;
     789                 :      192202 :  if (INTEGRAL_TYPE_P (type)
     790                 :      333238 :  && TYPE_OVERFLOW_WRAPS (type) != TYPE_OVERFLOW_WRAPS (TREE_TYPE (captures[1])))
     791                 :        2450 :  t1 = TYPE_OVERFLOW_WRAPS (type) ? type : TREE_TYPE (captures[1]);
     792                 :      192202 :               if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail300;
     793                 :      192202 :               {
     794                 :      192202 :                 tree res_op0;
     795                 :      192202 :                 {
     796                 :      192202 :                   tree _o1[2], _r1;
     797                 :      192202 :                   {
     798                 :      192202 :                     tree _o2[1], _r2;
     799                 :      192202 :                     _o2[0] = captures[0];
     800                 :      192202 :                     if (TREE_TYPE (_o2[0]) != t1)
     801                 :             :                       {
     802                 :        2162 :                         _r2 = fold_build1_loc (loc, NOP_EXPR, t1, _o2[0]);
     803                 :             :                       }
     804                 :             :                     else
     805                 :             :                       _r2 = _o2[0];
     806                 :      192202 :                     _o1[0] = _r2;
     807                 :             :                   }
     808                 :      192202 :                   {
     809                 :      192202 :                     tree _o2[1], _r2;
     810                 :      192202 :                     _o2[0] = captures[1];
     811                 :      192202 :                     if (TREE_TYPE (_o2[0]) != t1)
     812                 :             :                       {
     813                 :        1687 :                         _r2 = fold_build1_loc (loc, NOP_EXPR, t1, _o2[0]);
     814                 :             :                       }
     815                 :             :                     else
     816                 :             :                       _r2 = _o2[0];
     817                 :      192202 :                     _o1[1] = _r2;
     818                 :             :                   }
     819                 :      192202 :                   _r1 = fold_build2_loc (loc, MINUS_EXPR, TREE_TYPE (_o1[0]), _o1[0], _o1[1]);
     820                 :      192202 :                   res_op0 = _r1;
     821                 :             :                 }
     822                 :      192202 :                 tree _r;
     823                 :      192202 :                 _r = fold_build1_loc (loc, NOP_EXPR, type, res_op0);
     824                 :      192202 :                 if (UNLIKELY (debug_dump)) generic_dump_logs ("match.pd", 124, __FILE__, __LINE__, true);
     825                 :      192202 :                 return _r;
     826                 :             :               }
     827                 :           0 : next_after_fail300:;
     828                 :             :           }
     829                 :             :         }
     830                 :             :     }
     831                 :             :   return NULL_TREE;
     832                 :             : }
     833                 :             : 
     834                 :             : tree
     835                 :         583 : generic_simplify_19 (location_t ARG_UNUSED (loc), const tree ARG_UNUSED (type),
     836                 :             :  tree ARG_UNUSED (_p0), tree ARG_UNUSED (_p1), tree *ARG_UNUSED (captures))
     837                 :             : {
     838                 :         583 :   const bool debug_dump = dump_file && (dump_flags & TDF_FOLDING);
     839                 :         583 :   if (!TYPE_SATURATING (type)
     840                 :             : )
     841                 :             :     {
     842                 :         583 :       if ((!FLOAT_TYPE_P (type) || flag_associative_math)
     843                 :        1166 :  && !FIXED_POINT_TYPE_P (type)
     844                 :             : )
     845                 :             :         {
     846                 :         583 :           if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail313;
     847                 :         583 :           {
     848                 :         583 :             tree res_op0;
     849                 :         583 :             res_op0 = captures[2];
     850                 :         583 :             tree res_op1;
     851                 :         583 :             res_op1 = captures[1];
     852                 :         583 :             tree _r;
     853                 :         583 :             _r = fold_build2_loc (loc, PLUS_EXPR, type, res_op0, res_op1);
     854                 :         583 :             if (TREE_SIDE_EFFECTS (captures[0]))
     855                 :           0 :               _r = build2_loc (loc, COMPOUND_EXPR, type, fold_ignored_result (captures[0]), _r);
     856                 :         583 :             if (UNLIKELY (debug_dump)) generic_dump_logs ("match.pd", 137, __FILE__, __LINE__, true);
     857                 :         583 :             return _r;
     858                 :             :           }
     859                 :           0 : next_after_fail313:;
     860                 :             :         }
     861                 :             :     }
     862                 :             :   return NULL_TREE;
     863                 :             : }
     864                 :             : 
     865                 :             : tree
     866                 :          10 : generic_simplify_20 (location_t ARG_UNUSED (loc), const tree ARG_UNUSED (type),
     867                 :             :  tree ARG_UNUSED (_p0), tree ARG_UNUSED (_p1), tree *ARG_UNUSED (captures))
     868                 :             : {
     869                 :          10 :   const bool debug_dump = dump_file && (dump_flags & TDF_FOLDING);
     870                 :          10 :   if (!TYPE_SATURATING (type)
     871                 :             : )
     872                 :             :     {
     873                 :          10 :       if ((!FLOAT_TYPE_P (type) || flag_associative_math)
     874                 :          20 :  && !FIXED_POINT_TYPE_P (type)
     875                 :             : )
     876                 :             :         {
     877                 :          10 :           if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail314;
     878                 :          10 :           {
     879                 :          10 :             tree res_op0;
     880                 :          10 :             res_op0 = captures[2];
     881                 :          10 :             tree res_op1;
     882                 :          10 :             res_op1 = captures[1];
     883                 :          10 :             tree _r;
     884                 :          10 :             _r = fold_build2_loc (loc, MINUS_EXPR, type, res_op0, res_op1);
     885                 :          10 :             if (TREE_SIDE_EFFECTS (captures[0]))
     886                 :           0 :               _r = build2_loc (loc, COMPOUND_EXPR, type, fold_ignored_result (captures[0]), _r);
     887                 :          10 :             if (UNLIKELY (debug_dump)) generic_dump_logs ("match.pd", 138, __FILE__, __LINE__, true);
     888                 :          10 :             return _r;
     889                 :             :           }
     890                 :           0 : next_after_fail314:;
     891                 :             :         }
     892                 :             :     }
     893                 :             :   return NULL_TREE;
     894                 :             : }
     895                 :             : 
     896                 :             : tree
     897                 :           7 : generic_simplify_21 (location_t ARG_UNUSED (loc), const tree ARG_UNUSED (type),
     898                 :             :  tree ARG_UNUSED (_p0), tree ARG_UNUSED (_p1), tree *ARG_UNUSED (captures))
     899                 :             : {
     900                 :           7 :   const bool debug_dump = dump_file && (dump_flags & TDF_FOLDING);
     901                 :           7 :   if (!TYPE_SATURATING (type)
     902                 :             : )
     903                 :             :     {
     904                 :           7 :       if ((!FLOAT_TYPE_P (type) || flag_associative_math)
     905                 :          14 :  && !FIXED_POINT_TYPE_P (type)
     906                 :             : )
     907                 :             :         {
     908                 :           7 :           if (TYPE_OVERFLOW_UNDEFINED (type)
     909                 :          14 :  && !TYPE_OVERFLOW_SANITIZED (TREE_TYPE (captures[0]))
     910                 :             : )
     911                 :             :             {
     912                 :           7 :               if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail315;
     913                 :           7 :               {
     914                 :           7 :                 tree res_op0;
     915                 :           7 :                 res_op0 = captures[2];
     916                 :           7 :                 tree res_op1;
     917                 :           7 :                 res_op1 = captures[1];
     918                 :           7 :                 tree _r;
     919                 :           7 :                 _r = fold_build2_loc (loc, POINTER_DIFF_EXPR, type, res_op0, res_op1);
     920                 :           7 :                 if (TREE_SIDE_EFFECTS (captures[0]))
     921                 :           0 :                   _r = build2_loc (loc, COMPOUND_EXPR, type, fold_ignored_result (captures[0]), _r);
     922                 :           7 :                 if (UNLIKELY (debug_dump)) generic_dump_logs ("match.pd", 139, __FILE__, __LINE__, true);
     923                 :           7 :                 return _r;
     924                 :             :               }
     925                 :           0 : next_after_fail315:;
     926                 :             :             }
     927                 :             :         }
     928                 :             :     }
     929                 :             :   return NULL_TREE;
     930                 :             : }
     931                 :             : 
     932                 :             : tree
     933                 :     6385262 : generic_simplify_22 (location_t ARG_UNUSED (loc), const tree ARG_UNUSED (type),
     934                 :             :  tree ARG_UNUSED (_p0), tree ARG_UNUSED (_p1), tree *ARG_UNUSED (captures),
     935                 :             :  const enum tree_code ARG_UNUSED (op))
     936                 :             : {
     937                 :     6385262 :   const bool debug_dump = dump_file && (dump_flags & TDF_FOLDING);
     938                 :     6385262 :   if (!TYPE_SATURATING (type)
     939                 :             : )
     940                 :             :     {
     941                 :     6385262 :       if ((!FLOAT_TYPE_P (type) || flag_associative_math)
     942                 :    12358151 :  && !FIXED_POINT_TYPE_P (type)
     943                 :             : )
     944                 :             :         {
     945                 :     5972889 :           if (INTEGRAL_TYPE_P (type)
     946                 :     5972597 :  && INTEGRAL_TYPE_P (TREE_TYPE (captures[0]))
     947                 :     4767303 :  && TYPE_PRECISION (type) <= TYPE_PRECISION (TREE_TYPE (captures[0]))
     948                 :     4124688 :  && types_match (TREE_TYPE (captures[0]), TREE_TYPE (captures[1]))
     949                 :     3578231 :  && !TYPE_OVERFLOW_TRAPS (type)
     950                 :     9551120 :  && !TYPE_OVERFLOW_SANITIZED (type)
     951                 :             : )
     952                 :             :             {
     953                 :     3577960 :               if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail316;
     954                 :     3577960 :               {
     955                 :     3577960 :                 tree res_op0;
     956                 :     3577960 :                 {
     957                 :     3577960 :                   tree _o1[2], _r1;
     958                 :     3577960 :                   _o1[0] = captures[0];
     959                 :     3577960 :                   _o1[1] = captures[1];
     960                 :     3577960 :                   _r1 = fold_build2_loc (loc, op, TREE_TYPE (_o1[0]), _o1[0], _o1[1]);
     961                 :     3577960 :                   if (EXPR_P (_r1))
     962                 :     3564690 :                     goto next_after_fail316;
     963                 :       13270 :                   res_op0 = _r1;
     964                 :             :                 }
     965                 :       13270 :                 tree _r;
     966                 :       13270 :                 _r = fold_build1_loc (loc, NOP_EXPR, type, res_op0);
     967                 :       13270 :                 if (UNLIKELY (debug_dump)) generic_dump_logs ("match.pd", 140, __FILE__, __LINE__, true);
     968                 :       13270 :                 return _r;
     969                 :             :               }
     970                 :             : next_after_fail316:;
     971                 :             :             }
     972                 :             :         }
     973                 :             :     }
     974                 :             :   return NULL_TREE;
     975                 :             : }
     976                 :             : 
     977                 :             : tree
     978                 :        8901 : generic_simplify_26 (location_t ARG_UNUSED (loc), const tree ARG_UNUSED (type),
     979                 :             :  tree ARG_UNUSED (_p0), tree ARG_UNUSED (_p1), tree *ARG_UNUSED (captures),
     980                 :             :  const enum tree_code ARG_UNUSED (plusminus))
     981                 :             : {
     982                 :        8901 :   const bool debug_dump = dump_file && (dump_flags & TDF_FOLDING);
     983                 :        8901 :   if (!TYPE_SATURATING (type)
     984                 :        8901 :  && (!FLOAT_TYPE_P (type) || flag_associative_math)
     985                 :             : )
     986                 :             :     {
     987                 :        8735 :       if (!ALL_FRACT_MODE_P (TYPE_MODE (type))
     988                 :             : )
     989                 :             :         {
     990                 :           4 :           if ((!ANY_INTEGRAL_TYPE_P (type)
     991                 :        8731 :  || TYPE_OVERFLOW_WRAPS (type)
     992                 :        3079 :  || (INTEGRAL_TYPE_P (type)
     993                 :        3079 :  && ((tree_expr_nonzero_p (captures[0])
     994                 :         132 :  && expr_not_equal_to (captures[0],
     995                 :        8867 :  wi::minus_one (TYPE_PRECISION (type))))
     996                 :             :  || (plusminus == PLUS_EXPR
     997                 :        2947 :  ? expr_not_equal_to (captures[2],
     998                 :        8753 :  wi::max_value (TYPE_PRECISION (type), SIGNED))
     999                 :        2929 :  : (expr_not_equal_to (captures[2],
    1000                 :       11664 :  wi::min_value (TYPE_PRECISION (type), SIGNED))
    1001                 :        2875 :  && expr_not_equal_to (captures[2],
    1002                 :        5750 :  wi::min_value (TYPE_PRECISION (type), SIGNED)
    1003                 :       17360 :  + 1))))))
    1004                 :       11682 :  && single_use (captures[1])
    1005                 :             : )
    1006                 :             :             {
    1007                 :        8681 :               if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail321;
    1008                 :        8681 :               {
    1009                 :        8681 :                 tree res_op0;
    1010                 :        8681 :                 {
    1011                 :        8681 :                   tree _o1[2], _r1;
    1012                 :        8681 :                   _o1[0] =  build_one_cst (type);
    1013                 :        8681 :                   _o1[1] = captures[2];
    1014                 :        8681 :                   _r1 = fold_build2_loc (loc, plusminus, TREE_TYPE (_o1[0]), _o1[0], _o1[1]);
    1015                 :        8681 :                   res_op0 = _r1;
    1016                 :             :                 }
    1017                 :        8681 :                 tree res_op1;
    1018                 :        8681 :                 res_op1 = captures[0];
    1019                 :        8681 :                 tree _r;
    1020                 :        8681 :                 _r = fold_build2_loc (loc, MULT_EXPR, type, res_op0, res_op1);
    1021                 :        8681 :                 if (UNLIKELY (debug_dump)) generic_dump_logs ("match.pd", 145, __FILE__, __LINE__, true);
    1022                 :        8681 :                 return _r;
    1023                 :             :               }
    1024                 :           0 : next_after_fail321:;
    1025                 :             :             }
    1026                 :             :         }
    1027                 :             :     }
    1028                 :             :   return NULL_TREE;
    1029                 :             : }
    1030                 :             : 
    1031                 :             : tree
    1032                 :     3500456 : generic_simplify_28 (location_t ARG_UNUSED (loc), const tree ARG_UNUSED (type),
    1033                 :             :  tree ARG_UNUSED (_p0), tree ARG_UNUSED (_p1), tree *ARG_UNUSED (captures))
    1034                 :             : {
    1035                 :     3500456 :   const bool debug_dump = dump_file && (dump_flags & TDF_FOLDING);
    1036                 :     3500456 :   if (!TYPE_SATURATING (type)
    1037                 :     3500456 :  && (!FLOAT_TYPE_P (type) || flag_associative_math)
    1038                 :             : )
    1039                 :             :     {
    1040                 :     3500456 :       if (!ALL_FRACT_MODE_P (TYPE_MODE (type))
    1041                 :             : )
    1042                 :             :         {
    1043                 :     7000912 :           if (TREE_CODE (type) == INTEGER_TYPE
    1044                 :     3500456 :  && wi::neg_p (wi::to_wide (captures[3]))
    1045                 :    10501368 :  && wi::to_wide (captures[3]) != wi::min_value (TYPE_PRECISION (type), SIGNED)
    1046                 :             : )
    1047                 :             :             {
    1048                 :      849623 :               {
    1049                 :      849623 :  wide_int c0 = wi::to_wide (captures[1]);
    1050                 :      849623 :  wide_int c2 = wi::to_wide (captures[3]);
    1051                 :      849623 :  wide_int c2_abs = wi::abs (c2);
    1052                 :      849623 :                   if (wi::multiple_of_p (c2_abs, c0, TYPE_SIGN (type))
    1053                 :             : )
    1054                 :             :                     {
    1055                 :      391097 :                       {
    1056                 :      391097 :  wide_int div_res = wi::sdiv_trunc (c2, c0);
    1057                 :      391097 :  tree div_cst = wide_int_to_tree (type, div_res);
    1058                 :      391097 :                           if (TREE_SIDE_EFFECTS (captures[1])) goto next_after_fail323;
    1059                 :      391097 :                           if (TREE_SIDE_EFFECTS (captures[3])) goto next_after_fail323;
    1060                 :      391097 :                           if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail323;
    1061                 :      391097 :                           {
    1062                 :      391097 :                             tree res_op0;
    1063                 :      391097 :                             {
    1064                 :      391097 :                               tree _o1[2], _r1;
    1065                 :      391097 :                               _o1[0] = captures[2];
    1066                 :      391097 :                               _o1[1] =  div_cst;
    1067                 :      391097 :                               _r1 = fold_build2_loc (loc, PLUS_EXPR, TREE_TYPE (_o1[0]), _o1[0], _o1[1]);
    1068                 :      391097 :                               res_op0 = _r1;
    1069                 :             :                             }
    1070                 :      391097 :                             tree res_op1;
    1071                 :      391097 :                             res_op1 = captures[1];
    1072                 :      391097 :                             tree _r;
    1073                 :      391097 :                             _r = fold_build2_loc (loc, MULT_EXPR, type, res_op0, res_op1);
    1074                 :      391097 :                             if (UNLIKELY (debug_dump)) generic_dump_logs ("match.pd", 147, __FILE__, __LINE__, true);
    1075                 :      391097 :                             return _r;
    1076                 :             :                           }
    1077                 :           0 : next_after_fail323:;
    1078                 :      391097 :                       }
    1079                 :             :                     }
    1080                 :      849623 :               }
    1081                 :             :             }
    1082                 :             :         }
    1083                 :             :     }
    1084                 :             :   return NULL_TREE;
    1085                 :             : }
    1086                 :             : 
    1087                 :             : tree
    1088                 :           1 : generic_simplify_34 (location_t ARG_UNUSED (loc), const tree ARG_UNUSED (type),
    1089                 :             :  tree ARG_UNUSED (_p0), tree ARG_UNUSED (_p1), tree *ARG_UNUSED (captures),
    1090                 :             :  const combined_fn ARG_UNUSED (logs))
    1091                 :             : {
    1092                 :           1 :   const bool debug_dump = dump_file && (dump_flags & TDF_FOLDING);
    1093                 :           1 :   if (flag_unsafe_math_optimizations
    1094                 :             : )
    1095                 :             :     {
    1096                 :           1 :       if (! HONOR_SIGN_DEPENDENT_ROUNDING (type)
    1097                 :           1 :  && ! HONOR_NANS (type) && ! HONOR_INFINITIES (type)
    1098                 :           1 :  && ! flag_trapping_math
    1099                 :           2 :  && ! flag_errno_math
    1100                 :             : )
    1101                 :             :         {
    1102                 :           1 :           if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail330;
    1103                 :           1 :           {
    1104                 :           1 :             tree res_op0;
    1105                 :           1 :             {
    1106                 :           1 :               tree _o1[2], _r1;
    1107                 :           1 :               _o1[0] = captures[1];
    1108                 :           1 :               _o1[1] = captures[3];
    1109                 :           1 :               _r1 = fold_build2_loc (loc, MULT_EXPR, TREE_TYPE (_o1[0]), _o1[0], _o1[1]);
    1110                 :           1 :               res_op0 = _r1;
    1111                 :             :             }
    1112                 :           1 :             tree _r;
    1113                 :           1 :             _r = maybe_build_call_expr_loc (loc, logs, type, 1, res_op0);
    1114                 :           1 :             if (!_r)
    1115                 :           0 :               goto next_after_fail330;
    1116                 :           1 :             if (UNLIKELY (debug_dump)) generic_dump_logs ("match.pd", 154, __FILE__, __LINE__, true);
    1117                 :           1 :             return _r;
    1118                 :             :           }
    1119                 :             : next_after_fail330:;
    1120                 :             :         }
    1121                 :             :     }
    1122                 :             :   return NULL_TREE;
    1123                 :             : }
    1124                 :             : 
    1125                 :             : tree
    1126                 :           0 : generic_simplify_39 (location_t ARG_UNUSED (loc), const tree ARG_UNUSED (type),
    1127                 :             :  tree ARG_UNUSED (_p0), tree ARG_UNUSED (_p1), tree *ARG_UNUSED (captures),
    1128                 :             :  const enum tree_code ARG_UNUSED (op))
    1129                 :             : {
    1130                 :           0 :   const bool debug_dump = dump_file && (dump_flags & TDF_FOLDING);
    1131                 :           0 :   if (VECTOR_FLOAT_TYPE_P (type)
    1132                 :           0 :  && TYPE_VECTOR_SUBPARTS (type).is_constant ()
    1133                 :             : )
    1134                 :             :     {
    1135                 :           0 :       {
    1136                 :           0 :  tree perm_cst = captures[1];
    1137                 :           0 :  vec_perm_builder builder;
    1138                 :           0 :  bool full_perm_p = false;
    1139                 :           0 :  if (tree_to_vec_perm_builder (&builder, perm_cst))
    1140                 :             :  {
    1141                 :           0 :  unsigned HOST_WIDE_INT nelts;
    1142                 :           0 :  nelts = TYPE_VECTOR_SUBPARTS (type).to_constant ();
    1143                 :           0 :  vec_perm_indices sel (builder, 1, nelts);
    1144                 :           0 :  if (sel.encoding ().encoded_full_vector_p ())
    1145                 :             :  {
    1146                 :           0 :  auto_sbitmap seen (nelts);
    1147                 :           0 :  bitmap_clear (seen);
    1148                 :           0 :  unsigned HOST_WIDE_INT count = 0, i;
    1149                 :           0 :  for (i = 0; i < nelts; i++)
    1150                 :             :  {
    1151                 :           0 :  if (!bitmap_set_bit (seen, sel[i].to_constant ()))
    1152                 :             :  break;
    1153                 :           0 :  count++;
    1154                 :             :  }
    1155                 :           0 :  full_perm_p = count == nelts;
    1156                 :           0 :  }
    1157                 :           0 :  }
    1158                 :           0 :           if (full_perm_p
    1159                 :             : )
    1160                 :             :             {
    1161                 :           0 :               if (TREE_SIDE_EFFECTS (captures[1])) goto next_after_fail335;
    1162                 :           0 :               if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail335;
    1163                 :           0 :               {
    1164                 :           0 :                 tree res_op0;
    1165                 :           0 :                 {
    1166                 :           0 :                   tree _o1[2], _r1;
    1167                 :           0 :                   _o1[0] = captures[0];
    1168                 :           0 :                   _o1[1] = captures[2];
    1169                 :           0 :                   _r1 = fold_build2_loc (loc, op, TREE_TYPE (_o1[0]), _o1[0], _o1[1]);
    1170                 :           0 :                   captures[3] = _r1;
    1171                 :             :                 }
    1172                 :           0 :                 res_op0 = unshare_expr (captures[3]);
    1173                 :           0 :                 tree res_op1;
    1174                 :           0 :                 res_op1 = captures[3];
    1175                 :           0 :                 tree res_op2;
    1176                 :           0 :                 res_op2 = captures[1];
    1177                 :           0 :                 tree _r;
    1178                 :           0 :                 _r = fold_build3_loc (loc, VEC_PERM_EXPR, type, res_op0, res_op1, res_op2);
    1179                 :           0 :                 if (UNLIKELY (debug_dump)) generic_dump_logs ("match.pd", 159, __FILE__, __LINE__, true);
    1180                 :           0 :                 return _r;
    1181                 :             :               }
    1182                 :           0 : next_after_fail335:;
    1183                 :             :             }
    1184                 :           0 :       }
    1185                 :             :     }
    1186                 :             :   return NULL_TREE;
    1187                 :             : }
    1188                 :             : 
    1189                 :             : tree
    1190                 :       56573 : generic_simplify_50 (location_t ARG_UNUSED (loc), const tree ARG_UNUSED (type),
    1191                 :             :  tree ARG_UNUSED (_p0), tree ARG_UNUSED (_p1), tree *ARG_UNUSED (captures))
    1192                 :             : {
    1193                 :       56573 :   const bool debug_dump = dump_file && (dump_flags & TDF_FOLDING);
    1194                 :       56573 :   if (!TYPE_SATURATING (type)
    1195                 :             : )
    1196                 :             :     {
    1197                 :       56573 :       if ((!FLOAT_TYPE_P (type) || flag_associative_math)
    1198                 :      113135 :  && !FIXED_POINT_TYPE_P (type)
    1199                 :             : )
    1200                 :             :         {
    1201                 :       56562 :           if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail346;
    1202                 :       56562 :           {
    1203                 :       56562 :             tree res_op0;
    1204                 :       56562 :             res_op0 = captures[1];
    1205                 :       56562 :             tree _r;
    1206                 :       56562 :             _r = fold_build1_loc (loc, VIEW_CONVERT_EXPR, type, res_op0);
    1207                 :       56562 :             if (TREE_SIDE_EFFECTS (captures[0]))
    1208                 :          15 :               _r = build2_loc (loc, COMPOUND_EXPR, type, fold_ignored_result (captures[0]), _r);
    1209                 :       56562 :             if (UNLIKELY (debug_dump)) generic_dump_logs ("match.pd", 169, __FILE__, __LINE__, true);
    1210                 :       56562 :             return _r;
    1211                 :             :           }
    1212                 :           0 : next_after_fail346:;
    1213                 :             :         }
    1214                 :             :     }
    1215                 :             :   return NULL_TREE;
    1216                 :             : }
    1217                 :             : 
    1218                 :             : tree
    1219                 :          41 : generic_simplify_56 (location_t ARG_UNUSED (loc), const tree ARG_UNUSED (type),
    1220                 :             :  tree ARG_UNUSED (_p0), tree ARG_UNUSED (_p1), tree *ARG_UNUSED (captures))
    1221                 :             : {
    1222                 :          41 :   const bool debug_dump = dump_file && (dump_flags & TDF_FOLDING);
    1223                 :          41 :   if (!TYPE_SATURATING (type)
    1224                 :             : )
    1225                 :             :     {
    1226                 :          41 :       if ((!FLOAT_TYPE_P (type) || flag_associative_math)
    1227                 :          82 :  && !FIXED_POINT_TYPE_P (type)
    1228                 :             : )
    1229                 :             :         {
    1230                 :          82 :           if (!TYPE_OVERFLOW_TRAPS (type)
    1231                 :          41 :  && TREE_CODE (type) != COMPLEX_TYPE
    1232                 :          81 :  && tree_nop_conversion_p (type, TREE_TYPE (captures[0]))
    1233                 :             : )
    1234                 :             :             {
    1235                 :          40 :               if (TREE_SIDE_EFFECTS (_p1)) goto next_after_fail356;
    1236                 :          40 :               if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail356;
    1237                 :          40 :               {
    1238                 :          40 :                 tree res_op0;
    1239                 :          40 :                 {
    1240                 :          40 :                   tree _o1[1], _r1;
    1241                 :          40 :                   _o1[0] = captures[0];
    1242                 :          40 :                   if (TREE_TYPE (_o1[0]) != type)
    1243                 :             :                     {
    1244                 :           0 :                       _r1 = fold_build1_loc (loc, NOP_EXPR, type, _o1[0]);
    1245                 :             :                     }
    1246                 :             :                   else
    1247                 :             :                     _r1 = _o1[0];
    1248                 :          40 :                   res_op0 = _r1;
    1249                 :             :                 }
    1250                 :          40 :                 tree _r;
    1251                 :          40 :                 _r = fold_build1_loc (loc, BIT_NOT_EXPR, type, res_op0);
    1252                 :          40 :                 if (UNLIKELY (debug_dump)) generic_dump_logs ("match.pd", 179, __FILE__, __LINE__, true);
    1253                 :          40 :                 return _r;
    1254                 :             :               }
    1255                 :             : next_after_fail356:;
    1256                 :             :             }
    1257                 :             :         }
    1258                 :             :     }
    1259                 :             :   return NULL_TREE;
    1260                 :             : }
    1261                 :             : 
    1262                 :             : tree
    1263                 :           0 : generic_simplify_61 (location_t ARG_UNUSED (loc), const tree ARG_UNUSED (type),
    1264                 :             :  tree ARG_UNUSED (_p0), tree ARG_UNUSED (_p1), tree *ARG_UNUSED (captures))
    1265                 :             : {
    1266                 :           0 :   const bool debug_dump = dump_file && (dump_flags & TDF_FOLDING);
    1267                 :           0 :   if (VECTOR_TYPE_P (type)
    1268                 :           0 :  && known_eq (TYPE_VECTOR_SUBPARTS (type),
    1269                 :             :  TYPE_VECTOR_SUBPARTS (TREE_TYPE (captures[3])))
    1270                 :           0 :  && (TYPE_MODE (TREE_TYPE (type))
    1271                 :           0 :  == TYPE_MODE (TREE_TYPE (TREE_TYPE (captures[3]))))
    1272                 :             : )
    1273                 :             :     {
    1274                 :           0 :       if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail363;
    1275                 :           0 :       {
    1276                 :           0 :         tree res_op0;
    1277                 :           0 :         res_op0 = captures[0];
    1278                 :           0 :         tree res_op1;
    1279                 :           0 :         {
    1280                 :           0 :           tree _o1[1], _r1;
    1281                 :           0 :           {
    1282                 :           0 :             tree _o2[3], _r2;
    1283                 :           0 :             _o2[0] = captures[2];
    1284                 :           0 :             {
    1285                 :           0 :               tree _o3[1], _r3;
    1286                 :           0 :               _o3[0] = captures[3];
    1287                 :           0 :               _r3 = fold_build1_loc (loc, NEGATE_EXPR, TREE_TYPE (_o3[0]), _o3[0]);
    1288                 :           0 :               _o2[1] = _r3;
    1289                 :             :             }
    1290                 :           0 :             _o2[2] = captures[4];
    1291                 :           0 :             _r2 = fold_build3_loc (loc, VEC_COND_EXPR, TREE_TYPE (_o2[1]), _o2[0], _o2[1], _o2[2]);
    1292                 :           0 :             _o1[0] = _r2;
    1293                 :             :           }
    1294                 :           0 :           if (TREE_TYPE (_o1[0]) != type)
    1295                 :             :             {
    1296                 :           0 :               _r1 = fold_build1_loc (loc, VIEW_CONVERT_EXPR, type, _o1[0]);
    1297                 :             :             }
    1298                 :             :           else
    1299                 :             :             _r1 = _o1[0];
    1300                 :           0 :           res_op1 = _r1;
    1301                 :             :         }
    1302                 :           0 :         tree _r;
    1303                 :           0 :         _r = fold_build2_loc (loc, PLUS_EXPR, type, res_op0, res_op1);
    1304                 :           0 :         if (UNLIKELY (debug_dump)) generic_dump_logs ("match.pd", 186, __FILE__, __LINE__, true);
    1305                 :           0 :         return _r;
    1306                 :             :       }
    1307                 :           0 : next_after_fail363:;
    1308                 :             :     }
    1309                 :             :   return NULL_TREE;
    1310                 :             : }
    1311                 :             : 
    1312                 :             : tree
    1313                 :           0 : generic_simplify_70 (location_t ARG_UNUSED (loc), const tree ARG_UNUSED (type),
    1314                 :             :  tree ARG_UNUSED (_p0), tree ARG_UNUSED (_p1), tree *ARG_UNUSED (captures))
    1315                 :             : {
    1316                 :           0 :   const bool debug_dump = dump_file && (dump_flags & TDF_FOLDING);
    1317                 :           0 :   if (TREE_SIDE_EFFECTS (_p0)) goto next_after_fail372;
    1318                 :           0 :   if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail372;
    1319                 :           0 :   {
    1320                 :           0 :     tree _r;
    1321                 :           0 :     _r = captures[2];
    1322                 :           0 :     if (UNLIKELY (debug_dump)) generic_dump_logs ("match.pd", 195, __FILE__, __LINE__, true);
    1323                 :             :     return _r;
    1324                 :             :   }
    1325                 :             : next_after_fail372:;
    1326                 :             :   return NULL_TREE;
    1327                 :             : }
    1328                 :             : 
    1329                 :             : tree
    1330                 :           0 : generic_simplify_73 (location_t ARG_UNUSED (loc), const tree ARG_UNUSED (type),
    1331                 :             :  tree ARG_UNUSED (_p0), tree ARG_UNUSED (_p1), tree *ARG_UNUSED (captures))
    1332                 :             : {
    1333                 :           0 :   const bool debug_dump = dump_file && (dump_flags & TDF_FOLDING);
    1334                 :           0 :   if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail375;
    1335                 :           0 :   {
    1336                 :           0 :     tree res_op0;
    1337                 :           0 :     res_op0 = captures[0];
    1338                 :           0 :     tree res_op1;
    1339                 :           0 :     {
    1340                 :           0 :       tree _o1[1], _r1;
    1341                 :           0 :       _o1[0] = captures[2];
    1342                 :           0 :       _r1 = fold_build1_loc (loc, BIT_NOT_EXPR, TREE_TYPE (_o1[0]), _o1[0]);
    1343                 :           0 :       res_op1 = _r1;
    1344                 :             :     }
    1345                 :           0 :     tree _r;
    1346                 :           0 :     _r = fold_build2_loc (loc, BIT_IOR_EXPR, type, res_op0, res_op1);
    1347                 :           0 :     if (UNLIKELY (debug_dump)) generic_dump_logs ("match.pd", 197, __FILE__, __LINE__, true);
    1348                 :             :     return _r;
    1349                 :             :   }
    1350                 :           0 : next_after_fail375:;
    1351                 :           0 :   return NULL_TREE;
    1352                 :             : }
    1353                 :             : 
    1354                 :             : tree
    1355                 :           0 : generic_simplify_81 (location_t ARG_UNUSED (loc), const tree ARG_UNUSED (type),
    1356                 :             :  tree ARG_UNUSED (_p0), tree ARG_UNUSED (_p1), tree *ARG_UNUSED (captures),
    1357                 :             :  const enum tree_code ARG_UNUSED (op))
    1358                 :             : {
    1359                 :           0 :   const bool debug_dump = dump_file && (dump_flags & TDF_FOLDING);
    1360                 :           0 :   if (TREE_SIDE_EFFECTS (_p1)) goto next_after_fail387;
    1361                 :           0 :   if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail387;
    1362                 :           0 :   {
    1363                 :           0 :     tree _r;
    1364                 :           0 :     _r = captures[0];
    1365                 :           0 :     if (UNLIKELY (debug_dump)) generic_dump_logs ("match.pd", 203, __FILE__, __LINE__, true);
    1366                 :             :     return _r;
    1367                 :             :   }
    1368                 :             : next_after_fail387:;
    1369                 :             :   return NULL_TREE;
    1370                 :             : }
    1371                 :             : 
    1372                 :             : tree
    1373                 :           0 : generic_simplify_86 (location_t ARG_UNUSED (loc), const tree ARG_UNUSED (type),
    1374                 :             :  tree ARG_UNUSED (_p0), tree ARG_UNUSED (_p1), tree *ARG_UNUSED (captures))
    1375                 :             : {
    1376                 :           0 :   const bool debug_dump = dump_file && (dump_flags & TDF_FOLDING);
    1377                 :           0 :   if (TREE_SIDE_EFFECTS (_p0)) goto next_after_fail392;
    1378                 :           0 :   if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail392;
    1379                 :           0 :   {
    1380                 :           0 :     tree _r;
    1381                 :           0 :     _r = captures[2];
    1382                 :           0 :     if (UNLIKELY (debug_dump)) generic_dump_logs ("match.pd", 205, __FILE__, __LINE__, true);
    1383                 :             :     return _r;
    1384                 :             :   }
    1385                 :             : next_after_fail392:;
    1386                 :             :   return NULL_TREE;
    1387                 :             : }
    1388                 :             : 
    1389                 :             : tree
    1390                 :           1 : generic_simplify_92 (location_t ARG_UNUSED (loc), const tree ARG_UNUSED (type),
    1391                 :             :  tree ARG_UNUSED (_p0), tree ARG_UNUSED (_p1), tree *ARG_UNUSED (captures))
    1392                 :             : {
    1393                 :           1 :   const bool debug_dump = dump_file && (dump_flags & TDF_FOLDING);
    1394                 :           1 :   if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail398;
    1395                 :           1 :   {
    1396                 :           1 :     tree res_op0;
    1397                 :           1 :     {
    1398                 :           1 :       tree _o1[2], _r1;
    1399                 :           1 :       _o1[0] = captures[1];
    1400                 :           1 :       _o1[1] = captures[2];
    1401                 :           1 :       _r1 = fold_build2_loc (loc, BIT_XOR_EXPR, TREE_TYPE (_o1[0]), _o1[0], _o1[1]);
    1402                 :           1 :       res_op0 = _r1;
    1403                 :             :     }
    1404                 :           1 :     tree _r;
    1405                 :           1 :     _r = fold_build1_loc (loc, BIT_NOT_EXPR, type, res_op0);
    1406                 :           1 :     if (UNLIKELY (debug_dump)) generic_dump_logs ("match.pd", 212, __FILE__, __LINE__, true);
    1407                 :             :     return _r;
    1408                 :             :   }
    1409                 :           0 : next_after_fail398:;
    1410                 :           0 :   return NULL_TREE;
    1411                 :             : }
    1412                 :             : 
    1413                 :             : tree
    1414                 :           0 : generic_simplify_101 (location_t ARG_UNUSED (loc), const tree ARG_UNUSED (type),
    1415                 :             :  tree ARG_UNUSED (_p0), tree ARG_UNUSED (_p1), tree *ARG_UNUSED (captures),
    1416                 :             :  const enum tree_code ARG_UNUSED (op))
    1417                 :             : {
    1418                 :           0 :   const bool debug_dump = dump_file && (dump_flags & TDF_FOLDING);
    1419                 :           0 :   if (tree_nop_conversion_p (type, TREE_TYPE (captures[3]))
    1420                 :           0 :  && tree_nop_conversion_p (type, TREE_TYPE (captures[6]))
    1421                 :             : )
    1422                 :             :     {
    1423                 :           0 :       if (single_use (captures[4]) && single_use (captures[5])
    1424                 :             : )
    1425                 :             :         {
    1426                 :           0 :           if (TREE_SIDE_EFFECTS (_p0)) goto next_after_fail409;
    1427                 :           0 :           if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail409;
    1428                 :           0 :           {
    1429                 :           0 :             tree res_op0;
    1430                 :           0 :             res_op0 = captures[0];
    1431                 :           0 :             tree res_op1;
    1432                 :           0 :             {
    1433                 :           0 :               tree _o1[1], _r1;
    1434                 :           0 :               _o1[0] = captures[6];
    1435                 :           0 :               if (TREE_TYPE (_o1[0]) != type)
    1436                 :             :                 {
    1437                 :           0 :                   _r1 = fold_build1_loc (loc, NOP_EXPR, type, _o1[0]);
    1438                 :             :                 }
    1439                 :             :               else
    1440                 :             :                 _r1 = _o1[0];
    1441                 :           0 :               res_op1 = _r1;
    1442                 :             :             }
    1443                 :           0 :             tree _r;
    1444                 :           0 :             _r = fold_build2_loc (loc, op, type, res_op0, res_op1);
    1445                 :           0 :             if (UNLIKELY (debug_dump)) generic_dump_logs ("match.pd", 217, __FILE__, __LINE__, true);
    1446                 :           0 :             return _r;
    1447                 :             :           }
    1448                 :             : next_after_fail409:;
    1449                 :             :         }
    1450                 :             :       else
    1451                 :             :         {
    1452                 :             :           if (single_use (captures[0]) && single_use (captures[1])
    1453                 :             : )
    1454                 :             :             {
    1455                 :             :               if (TREE_SIDE_EFFECTS (_p1)) goto next_after_fail410;
    1456                 :             :               if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail410;
    1457                 :             :               {
    1458                 :             :                 tree res_op0;
    1459                 :             :                 {
    1460                 :             :                   tree _o1[1], _r1;
    1461                 :             :                   _o1[0] = captures[3];
    1462                 :             :                   if (TREE_TYPE (_o1[0]) != type)
    1463                 :             :                     {
    1464                 :             :                       _r1 = fold_build1_loc (loc, NOP_EXPR, type, _o1[0]);
    1465                 :             :                     }
    1466                 :             :                   else
    1467                 :             :                     _r1 = _o1[0];
    1468                 :             :                   res_op0 = _r1;
    1469                 :             :                 }
    1470                 :             :                 tree res_op1;
    1471                 :             :                 res_op1 = captures[4];
    1472                 :             :                 tree _r;
    1473                 :             :                 _r = fold_build2_loc (loc, op, type, res_op0, res_op1);
    1474                 :             :                 if (UNLIKELY (debug_dump)) generic_dump_logs ("match.pd", 218, __FILE__, __LINE__, true);
    1475                 :             :                 return _r;
    1476                 :             :               }
    1477                 :             : next_after_fail410:;
    1478                 :             :             }
    1479                 :             :         }
    1480                 :             :     }
    1481                 :             :   return NULL_TREE;
    1482                 :             : }
    1483                 :             : 
    1484                 :             : tree
    1485                 :         700 : generic_simplify_110 (location_t ARG_UNUSED (loc), const tree ARG_UNUSED (type),
    1486                 :             :  tree ARG_UNUSED (_p0), tree ARG_UNUSED (_p1), tree *ARG_UNUSED (captures),
    1487                 :             :  const enum tree_code ARG_UNUSED (op))
    1488                 :             : {
    1489                 :         700 :   const bool debug_dump = dump_file && (dump_flags & TDF_FOLDING);
    1490                 :         700 :   if (bitwise_equal_p (captures[4], captures[7])
    1491                 :             : )
    1492                 :             :     {
    1493                 :          40 :       if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail420;
    1494                 :          40 :       {
    1495                 :          40 :         tree res_op0;
    1496                 :          40 :         {
    1497                 :          40 :           tree _o1[2], _r1;
    1498                 :          40 :           {
    1499                 :          40 :             tree _o2[2], _r2;
    1500                 :          40 :             _o2[0] = captures[5];
    1501                 :          40 :             {
    1502                 :          40 :               tree _o3[1], _r3;
    1503                 :          40 :               _o3[0] = captures[6];
    1504                 :          40 :               if (TREE_TYPE (_o3[0]) != TREE_TYPE (_o2[0]))
    1505                 :             :                 {
    1506                 :           0 :                   _r3 = fold_build1_loc (loc, NOP_EXPR, TREE_TYPE (_o2[0]), _o3[0]);
    1507                 :             :                 }
    1508                 :             :               else
    1509                 :             :                 _r3 = _o3[0];
    1510                 :          40 :               _o2[1] = _r3;
    1511                 :             :             }
    1512                 :          40 :             _r2 = fold_build2_loc (loc, BIT_AND_EXPR, TREE_TYPE (_o2[0]), _o2[0], _o2[1]);
    1513                 :          40 :             _o1[0] = _r2;
    1514                 :             :           }
    1515                 :          40 :           {
    1516                 :          40 :             tree _o2[1], _r2;
    1517                 :          40 :             _o2[0] = captures[4];
    1518                 :          40 :             if (TREE_TYPE (_o2[0]) != TREE_TYPE (_o1[0]))
    1519                 :             :               {
    1520                 :           0 :                 _r2 = fold_build1_loc (loc, NOP_EXPR, TREE_TYPE (_o1[0]), _o2[0]);
    1521                 :             :               }
    1522                 :             :             else
    1523                 :             :               _r2 = _o2[0];
    1524                 :          40 :             _o1[1] = _r2;
    1525                 :             :           }
    1526                 :          40 :           _r1 = fold_build2_loc (loc, BIT_IOR_EXPR, TREE_TYPE (_o1[0]), _o1[0], _o1[1]);
    1527                 :          40 :           res_op0 = _r1;
    1528                 :             :         }
    1529                 :          40 :         tree _r;
    1530                 :          40 :         _r = fold_build1_loc (loc, NOP_EXPR, type, res_op0);
    1531                 :          40 :         if (TREE_SIDE_EFFECTS (captures[7]))
    1532                 :           0 :           _r = build2_loc (loc, COMPOUND_EXPR, type, fold_ignored_result (captures[7]), _r);
    1533                 :          40 :         if (UNLIKELY (debug_dump)) generic_dump_logs ("match.pd", 224, __FILE__, __LINE__, true);
    1534                 :          40 :         return _r;
    1535                 :             :       }
    1536                 :           0 : next_after_fail420:;
    1537                 :             :     }
    1538                 :             :   return NULL_TREE;
    1539                 :             : }
    1540                 :             : 
    1541                 :             : tree
    1542                 :           7 : generic_simplify_120 (location_t ARG_UNUSED (loc), const tree ARG_UNUSED (type),
    1543                 :             :  tree ARG_UNUSED (_p0), tree ARG_UNUSED (_p1), tree *ARG_UNUSED (captures),
    1544                 :             :  const enum tree_code ARG_UNUSED (op))
    1545                 :             : {
    1546                 :           7 :   const bool debug_dump = dump_file && (dump_flags & TDF_FOLDING);
    1547                 :           7 :   if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail433;
    1548                 :           7 :   {
    1549                 :           7 :     tree _r;
    1550                 :           7 :     _r =  constant_boolean_node (true, type);
    1551                 :           7 :     if (TREE_SIDE_EFFECTS (captures[0]))
    1552                 :           0 :       _r = build2_loc (loc, COMPOUND_EXPR, type, fold_ignored_result (captures[0]), _r);
    1553                 :           7 :     if (UNLIKELY (debug_dump)) generic_dump_logs ("match.pd", 233, __FILE__, __LINE__, true);
    1554                 :             :     return _r;
    1555                 :             :   }
    1556                 :           0 : next_after_fail433:;
    1557                 :           0 :   return NULL_TREE;
    1558                 :             : }
    1559                 :             : 
    1560                 :             : tree
    1561                 :          56 : generic_simplify_124 (location_t ARG_UNUSED (loc), const tree ARG_UNUSED (type),
    1562                 :             :  tree ARG_UNUSED (_p0), tree ARG_UNUSED (_p1), tree *ARG_UNUSED (captures),
    1563                 :             :  const enum tree_code ARG_UNUSED (inner_op),
    1564                 :             :  const enum tree_code ARG_UNUSED (outer_op))
    1565                 :             : {
    1566                 :          56 :   const bool debug_dump = dump_file && (dump_flags & TDF_FOLDING);
    1567                 :          56 :   {
    1568                 :          56 :  bool fail = false;
    1569                 :          56 :  wide_int zero_mask_not;
    1570                 :          56 :  wide_int C0;
    1571                 :          56 :  wide_int cst_emit;
    1572                 :          56 :  if (TREE_CODE (captures[1]) == SSA_NAME)
    1573                 :           0 :  zero_mask_not = get_nonzero_bits (captures[1]);
    1574                 :             :  else
    1575                 :             :  fail = true;
    1576                 :          56 :  if (inner_op == BIT_XOR_EXPR)
    1577                 :             :  {
    1578                 :          33 :  C0 = wi::bit_and_not (wi::to_wide (captures[2]), wi::to_wide (captures[3]));
    1579                 :          33 :  cst_emit = C0 | wi::to_wide (captures[3]);
    1580                 :             :  }
    1581                 :             :  else
    1582                 :             :  {
    1583                 :          23 :  C0 = wi::to_wide (captures[2]);
    1584                 :          23 :  cst_emit = C0 ^ wi::to_wide (captures[3]);
    1585                 :             :  }
    1586                 :          56 :       if (!fail && (C0 & zero_mask_not) == 0
    1587                 :             : )
    1588                 :             :         {
    1589                 :           0 :           if (TREE_SIDE_EFFECTS (captures[1])) goto next_after_fail440;
    1590                 :           0 :           if (TREE_SIDE_EFFECTS (captures[2])) goto next_after_fail440;
    1591                 :           0 :           if (TREE_SIDE_EFFECTS (captures[3])) goto next_after_fail440;
    1592                 :           0 :           if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail440;
    1593                 :           0 :           {
    1594                 :           0 :             tree res_op0;
    1595                 :           0 :             res_op0 = captures[1];
    1596                 :           0 :             tree res_op1;
    1597                 :           0 :             res_op1 =  wide_int_to_tree (type, cst_emit);
    1598                 :           0 :             tree _r;
    1599                 :           0 :             _r = fold_build2_loc (loc, outer_op, type, res_op0, res_op1);
    1600                 :           0 :             if (UNLIKELY (debug_dump)) generic_dump_logs ("match.pd", 240, __FILE__, __LINE__, true);
    1601                 :           0 :             return _r;
    1602                 :             :           }
    1603                 :          56 : next_after_fail440:;
    1604                 :             :         }
    1605                 :             :       else
    1606                 :             :         {
    1607                 :          56 :           if (!fail && (wi::to_wide (captures[3]) & zero_mask_not) == 0
    1608                 :             : )
    1609                 :             :             {
    1610                 :           0 :               if (TREE_SIDE_EFFECTS (captures[1])) goto next_after_fail441;
    1611                 :           0 :               if (TREE_SIDE_EFFECTS (captures[2])) goto next_after_fail441;
    1612                 :           0 :               if (TREE_SIDE_EFFECTS (captures[3])) goto next_after_fail441;
    1613                 :           0 :               if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail441;
    1614                 :           0 :               {
    1615                 :           0 :                 tree res_op0;
    1616                 :           0 :                 res_op0 = captures[1];
    1617                 :           0 :                 tree res_op1;
    1618                 :           0 :                 res_op1 =  wide_int_to_tree (type, cst_emit);
    1619                 :           0 :                 tree _r;
    1620                 :           0 :                 _r = fold_build2_loc (loc, inner_op, type, res_op0, res_op1);
    1621                 :           0 :                 if (UNLIKELY (debug_dump)) generic_dump_logs ("match.pd", 241, __FILE__, __LINE__, true);
    1622                 :           0 :                 return _r;
    1623                 :             :               }
    1624                 :          56 : next_after_fail441:;
    1625                 :             :             }
    1626                 :             :         }
    1627                 :          56 :   }
    1628                 :          56 :   return NULL_TREE;
    1629                 :             : }
    1630                 :             : 
    1631                 :             : tree
    1632                 :           0 : generic_simplify_136 (location_t ARG_UNUSED (loc), const tree ARG_UNUSED (type),
    1633                 :             :  tree ARG_UNUSED (_p0), tree ARG_UNUSED (_p1), tree *ARG_UNUSED (captures),
    1634                 :             :  const enum tree_code ARG_UNUSED (eqne))
    1635                 :             : {
    1636                 :           0 :   const bool debug_dump = dump_file && (dump_flags & TDF_FOLDING);
    1637                 :           0 :   if (eqne == EQ_EXPR
    1638                 :             : )
    1639                 :             :     {
    1640                 :           0 :       if (TREE_SIDE_EFFECTS (_p0)) goto next_after_fail471;
    1641                 :           0 :       if (TREE_SIDE_EFFECTS (_p1)) goto next_after_fail471;
    1642                 :           0 :       if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail471;
    1643                 :           0 :       {
    1644                 :           0 :         tree _r;
    1645                 :           0 :         _r = captures[0];
    1646                 :           0 :         if (UNLIKELY (debug_dump)) generic_dump_logs ("match.pd", 262, __FILE__, __LINE__, true);
    1647                 :           0 :         return _r;
    1648                 :             :       }
    1649                 :             : next_after_fail471:;
    1650                 :             :     }
    1651                 :             :   else
    1652                 :             :     {
    1653                 :           0 :       if (eqne == NE_EXPR
    1654                 :             : )
    1655                 :             :         {
    1656                 :           0 :           if (TREE_SIDE_EFFECTS (_p0)) goto next_after_fail472;
    1657                 :           0 :           if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail472;
    1658                 :           0 :           {
    1659                 :           0 :             tree _r;
    1660                 :           0 :             _r =  constant_boolean_node (true, type);
    1661                 :           0 :             if (TREE_SIDE_EFFECTS (captures[2]))
    1662                 :           0 :               _r = build2_loc (loc, COMPOUND_EXPR, type, fold_ignored_result (captures[2]), _r);
    1663                 :           0 :             if (UNLIKELY (debug_dump)) generic_dump_logs ("match.pd", 263, __FILE__, __LINE__, true);
    1664                 :           0 :             return _r;
    1665                 :             :           }
    1666                 :             : next_after_fail472:;
    1667                 :             :         }
    1668                 :             :     }
    1669                 :             :   return NULL_TREE;
    1670                 :             : }
    1671                 :             : 
    1672                 :             : tree
    1673                 :           4 : generic_simplify_141 (location_t ARG_UNUSED (loc), const tree ARG_UNUSED (type),
    1674                 :             :  tree ARG_UNUSED (_p0), tree ARG_UNUSED (_p1), tree *ARG_UNUSED (captures))
    1675                 :             : {
    1676                 :           4 :   const bool debug_dump = dump_file && (dump_flags & TDF_FOLDING);
    1677                 :           4 :   if (TREE_SIDE_EFFECTS (_p0)) goto next_after_fail490;
    1678                 :           4 :   if (TREE_SIDE_EFFECTS (_p1)) goto next_after_fail490;
    1679                 :           4 :   if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail490;
    1680                 :           4 :   {
    1681                 :           4 :     tree _r;
    1682                 :           4 :     _r = captures[0];
    1683                 :           4 :     if (UNLIKELY (debug_dump)) generic_dump_logs ("match.pd", 264, __FILE__, __LINE__, true);
    1684                 :             :     return _r;
    1685                 :             :   }
    1686                 :             : next_after_fail490:;
    1687                 :             :   return NULL_TREE;
    1688                 :             : }
    1689                 :             : 
    1690                 :             : tree
    1691                 :          19 : generic_simplify_143 (location_t ARG_UNUSED (loc), const tree ARG_UNUSED (type),
    1692                 :             :  tree ARG_UNUSED (_p0), tree ARG_UNUSED (_p1), tree *ARG_UNUSED (captures),
    1693                 :             :  const enum tree_code ARG_UNUSED (op))
    1694                 :             : {
    1695                 :          19 :   const bool debug_dump = dump_file && (dump_flags & TDF_FOLDING);
    1696                 :          38 :   if (INTEGRAL_TYPE_P (type)
    1697                 :          19 :  && operand_equal_p (captures[2], captures[6], 0)
    1698                 :          38 :  && (tree_nonzero_bits (captures[0]) & tree_nonzero_bits (captures[4])) == 0
    1699                 :             : )
    1700                 :             :     {
    1701                 :           0 :       {
    1702                 :           0 :  tree t = type;
    1703                 :           0 :  if (!TYPE_OVERFLOW_WRAPS (t))
    1704                 :           0 :  t = unsigned_type_for (t);
    1705                 :           0 :  wide_int c = wi::add (wi::to_wide (captures[3]), wi::to_wide (captures[7]));
    1706                 :           0 :           if (TREE_SIDE_EFFECTS (captures[3])) goto next_after_fail492;
    1707                 :           0 :           if (TREE_SIDE_EFFECTS (captures[7])) goto next_after_fail492;
    1708                 :           0 :           if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail492;
    1709                 :           0 :           {
    1710                 :           0 :             tree res_op0;
    1711                 :           0 :             {
    1712                 :           0 :               tree _o1[2], _r1;
    1713                 :           0 :               {
    1714                 :           0 :                 tree _o2[1], _r2;
    1715                 :           0 :                 _o2[0] = captures[2];
    1716                 :           0 :                 if (TREE_TYPE (_o2[0]) != t)
    1717                 :             :                   {
    1718                 :           0 :                     _r2 = fold_build1_loc (loc, NOP_EXPR, t, _o2[0]);
    1719                 :             :                   }
    1720                 :             :                 else
    1721                 :             :                   _r2 = _o2[0];
    1722                 :           0 :                 _o1[0] = _r2;
    1723                 :             :               }
    1724                 :           0 :               _o1[1] =  wide_int_to_tree (t, c);
    1725                 :           0 :               _r1 = fold_build2_loc (loc, MULT_EXPR, t, _o1[0], _o1[1]);
    1726                 :           0 :               res_op0 = _r1;
    1727                 :             :             }
    1728                 :           0 :             tree _r;
    1729                 :           0 :             _r = fold_build1_loc (loc, NOP_EXPR, type, res_op0);
    1730                 :           0 :             if (TREE_SIDE_EFFECTS (captures[6]))
    1731                 :           0 :               _r = build2_loc (loc, COMPOUND_EXPR, type, fold_ignored_result (captures[6]), _r);
    1732                 :           0 :             if (UNLIKELY (debug_dump)) generic_dump_logs ("match.pd", 227, __FILE__, __LINE__, true);
    1733                 :           0 :             return _r;
    1734                 :             :           }
    1735                 :           0 : next_after_fail492:;
    1736                 :           0 :       }
    1737                 :             :     }
    1738                 :             :   return NULL_TREE;
    1739                 :             : }
    1740                 :             : 
    1741                 :             : tree
    1742                 :         495 : generic_simplify_147 (location_t ARG_UNUSED (loc), const tree ARG_UNUSED (type),
    1743                 :             :  tree ARG_UNUSED (_p0), tree ARG_UNUSED (_p1), tree *ARG_UNUSED (captures),
    1744                 :             :  const enum tree_code ARG_UNUSED (op))
    1745                 :             : {
    1746                 :         495 :   const bool debug_dump = dump_file && (dump_flags & TDF_FOLDING);
    1747                 :         990 :   if (INTEGRAL_TYPE_P (type)
    1748                 :         493 :  && tree_int_cst_sgn (captures[2]) > 0
    1749                 :        1976 :  && (tree_nonzero_bits (captures[0]) & tree_nonzero_bits (captures[1])) == 0
    1750                 :             : )
    1751                 :             :     {
    1752                 :           6 :       {
    1753                 :           6 :  tree t = type;
    1754                 :           6 :  if (!TYPE_OVERFLOW_WRAPS (t))
    1755                 :           6 :  t = unsigned_type_for (t);
    1756                 :           6 :  wide_int wone = wi::one (TYPE_PRECISION (t));
    1757                 :           6 :  wide_int c = wi::add (wi::lshift (wone, wi::to_wide (captures[2])), wone);
    1758                 :           6 :           if (TREE_SIDE_EFFECTS (captures[2])) goto next_after_fail496;
    1759                 :           6 :           if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail496;
    1760                 :           6 :           {
    1761                 :           6 :             tree res_op0;
    1762                 :           6 :             {
    1763                 :           6 :               tree _o1[2], _r1;
    1764                 :           6 :               {
    1765                 :           6 :                 tree _o2[1], _r2;
    1766                 :           6 :                 _o2[0] = captures[1];
    1767                 :           6 :                 if (TREE_TYPE (_o2[0]) != t)
    1768                 :             :                   {
    1769                 :           6 :                     _r2 = fold_build1_loc (loc, NOP_EXPR, t, _o2[0]);
    1770                 :             :                   }
    1771                 :             :                 else
    1772                 :             :                   _r2 = _o2[0];
    1773                 :           6 :                 _o1[0] = _r2;
    1774                 :             :               }
    1775                 :           6 :               _o1[1] =  wide_int_to_tree (t, c);
    1776                 :           6 :               _r1 = fold_build2_loc (loc, MULT_EXPR, t, _o1[0], _o1[1]);
    1777                 :           6 :               res_op0 = _r1;
    1778                 :             :             }
    1779                 :           6 :             tree _r;
    1780                 :           6 :             _r = fold_build1_loc (loc, NOP_EXPR, type, res_op0);
    1781                 :           6 :             if (UNLIKELY (debug_dump)) generic_dump_logs ("match.pd", 266, __FILE__, __LINE__, true);
    1782                 :           6 :             return _r;
    1783                 :             :           }
    1784                 :           0 : next_after_fail496:;
    1785                 :           6 :       }
    1786                 :             :     }
    1787                 :             :   return NULL_TREE;
    1788                 :             : }
    1789                 :             : 
    1790                 :             : tree
    1791                 :           0 : generic_simplify_152 (location_t ARG_UNUSED (loc), const tree ARG_UNUSED (type),
    1792                 :             :  tree ARG_UNUSED (_p0), tree ARG_UNUSED (_p1), tree *ARG_UNUSED (captures))
    1793                 :             : {
    1794                 :           0 :   const bool debug_dump = dump_file && (dump_flags & TDF_FOLDING);
    1795                 :           0 :   if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail501;
    1796                 :           0 :   {
    1797                 :           0 :     tree res_op0;
    1798                 :           0 :     res_op0 = captures[1];
    1799                 :           0 :     tree res_op1;
    1800                 :           0 :     res_op1 = captures[2];
    1801                 :           0 :     tree _r;
    1802                 :           0 :     _r = fold_build2_loc (loc, BIT_IOR_EXPR, type, res_op0, res_op1);
    1803                 :           0 :     if (UNLIKELY (debug_dump)) generic_dump_logs ("match.pd", 270, __FILE__, __LINE__, true);
    1804                 :             :     return _r;
    1805                 :             :   }
    1806                 :           0 : next_after_fail501:;
    1807                 :           0 :   return NULL_TREE;
    1808                 :             : }
    1809                 :             : 
    1810                 :             : tree
    1811                 :           1 : generic_simplify_157 (location_t ARG_UNUSED (loc), const tree ARG_UNUSED (type),
    1812                 :             :  tree ARG_UNUSED (_p0), tree ARG_UNUSED (_p1), tree *ARG_UNUSED (captures))
    1813                 :             : {
    1814                 :           1 :   const bool debug_dump = dump_file && (dump_flags & TDF_FOLDING);
    1815                 :           1 :   if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail506;
    1816                 :           1 :   {
    1817                 :           1 :     tree res_op0;
    1818                 :           1 :     res_op0 = captures[1];
    1819                 :           1 :     tree res_op1;
    1820                 :           1 :     {
    1821                 :           1 :       tree _o1[1], _r1;
    1822                 :           1 :       _o1[0] = captures[2];
    1823                 :           1 :       _r1 = fold_build1_loc (loc, BIT_NOT_EXPR, TREE_TYPE (_o1[0]), _o1[0]);
    1824                 :           1 :       res_op1 = _r1;
    1825                 :             :     }
    1826                 :           1 :     tree _r;
    1827                 :           1 :     _r = fold_build2_loc (loc, BIT_IOR_EXPR, type, res_op0, res_op1);
    1828                 :           1 :     if (UNLIKELY (debug_dump)) generic_dump_logs ("match.pd", 275, __FILE__, __LINE__, true);
    1829                 :             :     return _r;
    1830                 :             :   }
    1831                 :           0 : next_after_fail506:;
    1832                 :           0 :   return NULL_TREE;
    1833                 :             : }
    1834                 :             : 
    1835                 :             : tree
    1836                 :          10 : generic_simplify_163 (location_t ARG_UNUSED (loc), const tree ARG_UNUSED (type),
    1837                 :             :  tree ARG_UNUSED (_p0), tree ARG_UNUSED (_p1), tree *ARG_UNUSED (captures))
    1838                 :             : {
    1839                 :          10 :   const bool debug_dump = dump_file && (dump_flags & TDF_FOLDING);
    1840                 :          10 :   if (element_precision (type) <= element_precision (TREE_TYPE (captures[0]))
    1841                 :          10 :  && element_precision (type) <= element_precision (TREE_TYPE (captures[1]))
    1842                 :             : )
    1843                 :             :     {
    1844                 :          10 :       if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail512;
    1845                 :          10 :       {
    1846                 :          10 :         tree res_op0;
    1847                 :          10 :         {
    1848                 :          10 :           tree _o1[1], _r1;
    1849                 :          10 :           _o1[0] = captures[0];
    1850                 :          10 :           if (TREE_TYPE (_o1[0]) != type)
    1851                 :             :             {
    1852                 :           0 :               _r1 = fold_build1_loc (loc, NOP_EXPR, type, _o1[0]);
    1853                 :             :             }
    1854                 :             :           else
    1855                 :             :             _r1 = _o1[0];
    1856                 :          10 :           res_op0 = _r1;
    1857                 :             :         }
    1858                 :          10 :         tree res_op1;
    1859                 :          10 :         {
    1860                 :          10 :           tree _o1[1], _r1;
    1861                 :          10 :           _o1[0] = captures[1];
    1862                 :          10 :           if (TREE_TYPE (_o1[0]) != type)
    1863                 :             :             {
    1864                 :           0 :               _r1 = fold_build1_loc (loc, NOP_EXPR, type, _o1[0]);
    1865                 :             :             }
    1866                 :             :           else
    1867                 :             :             _r1 = _o1[0];
    1868                 :          10 :           res_op1 = _r1;
    1869                 :             :         }
    1870                 :          10 :         tree _r;
    1871                 :          10 :         _r = fold_build2_loc (loc, BIT_XOR_EXPR, type, res_op0, res_op1);
    1872                 :          10 :         if (UNLIKELY (debug_dump)) generic_dump_logs ("match.pd", 281, __FILE__, __LINE__, true);
    1873                 :          10 :         return _r;
    1874                 :             :       }
    1875                 :           0 : next_after_fail512:;
    1876                 :             :     }
    1877                 :             :   return NULL_TREE;
    1878                 :             : }
    1879                 :             : 
    1880                 :             : tree
    1881                 :          64 : generic_simplify_170 (location_t ARG_UNUSED (loc), const tree ARG_UNUSED (type),
    1882                 :             :  tree ARG_UNUSED (_p0), tree ARG_UNUSED (_p1), tree *ARG_UNUSED (captures),
    1883                 :             :  const enum tree_code ARG_UNUSED (cmp),
    1884                 :             :  const enum tree_code ARG_UNUSED (icmp),
    1885                 :             :  const enum tree_code ARG_UNUSED (ncmp))
    1886                 :             : {
    1887                 :          64 :   const bool debug_dump = dump_file && (dump_flags & TDF_FOLDING);
    1888                 :          64 :   {
    1889                 :          64 :  enum tree_code ic = invert_tree_comparison
    1890                 :          64 :  (cmp, HONOR_NANS (captures[0]));
    1891                 :          64 :       if (ic == icmp
    1892                 :             : )
    1893                 :             :         {
    1894                 :          64 :           if (TREE_SIDE_EFFECTS (_p1)) goto next_after_fail519;
    1895                 :          64 :           if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail519;
    1896                 :          64 :           {
    1897                 :          64 :             tree res_op0;
    1898                 :          64 :             res_op0 = captures[0];
    1899                 :          64 :             tree res_op1;
    1900                 :          64 :             res_op1 = captures[1];
    1901                 :          64 :             tree _r;
    1902                 :          64 :             _r = fold_build2_loc (loc, icmp, type, res_op0, res_op1);
    1903                 :          64 :             if (UNLIKELY (debug_dump)) generic_dump_logs ("match.pd", 287, __FILE__, __LINE__, true);
    1904                 :          64 :             return _r;
    1905                 :             :           }
    1906                 :             : next_after_fail519:;
    1907                 :             :         }
    1908                 :             :       else
    1909                 :             :         {
    1910                 :           0 :           if (ic == ncmp
    1911                 :             : )
    1912                 :             :             {
    1913                 :           0 :               if (TREE_SIDE_EFFECTS (_p1)) goto next_after_fail520;
    1914                 :           0 :               if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail520;
    1915                 :           0 :               {
    1916                 :           0 :                 tree res_op0;
    1917                 :           0 :                 res_op0 = captures[0];
    1918                 :           0 :                 tree res_op1;
    1919                 :           0 :                 res_op1 = captures[1];
    1920                 :           0 :                 tree _r;
    1921                 :           0 :                 _r = fold_build2_loc (loc, ncmp, type, res_op0, res_op1);
    1922                 :           0 :                 if (UNLIKELY (debug_dump)) generic_dump_logs ("match.pd", 288, __FILE__, __LINE__, true);
    1923                 :           0 :                 return _r;
    1924                 :             :               }
    1925                 :             : next_after_fail520:;
    1926                 :             :             }
    1927                 :             :         }
    1928                 :             :   }
    1929                 :             :   return NULL_TREE;
    1930                 :             : }
    1931                 :             : 
    1932                 :             : tree
    1933                 :           0 : generic_simplify_182 (location_t ARG_UNUSED (loc), const tree ARG_UNUSED (type),
    1934                 :             :  tree ARG_UNUSED (_p0), tree ARG_UNUSED (_p1), tree *ARG_UNUSED (captures))
    1935                 :             : {
    1936                 :           0 :   const bool debug_dump = dump_file && (dump_flags & TDF_FOLDING);
    1937                 :           0 :   if (TREE_SIDE_EFFECTS (_p1)) goto next_after_fail533;
    1938                 :           0 :   if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail533;
    1939                 :           0 :   {
    1940                 :           0 :     tree _r;
    1941                 :           0 :     _r =  build_zero_cst (type);
    1942                 :           0 :     if (UNLIKELY (debug_dump)) generic_dump_logs ("match.pd", 298, __FILE__, __LINE__, true);
    1943                 :             :     return _r;
    1944                 :             :   }
    1945                 :             : next_after_fail533:;
    1946                 :             :   return NULL_TREE;
    1947                 :             : }
    1948                 :             : 
    1949                 :             : tree
    1950                 :           0 : generic_simplify_187 (location_t ARG_UNUSED (loc), const tree ARG_UNUSED (type),
    1951                 :             :  tree ARG_UNUSED (_p0), tree ARG_UNUSED (_p1), tree *ARG_UNUSED (captures),
    1952                 :             :  const enum tree_code ARG_UNUSED (cmp))
    1953                 :             : {
    1954                 :           0 :   const bool debug_dump = dump_file && (dump_flags & TDF_FOLDING);
    1955                 :           0 :   if (!canonicalize_math_p ()
    1956                 :             : )
    1957                 :             :     {
    1958                 :           0 :       if (INTEGRAL_TYPE_P (type)
    1959                 :           0 :  && INTEGRAL_TYPE_P (TREE_TYPE (captures[0]))
    1960                 :             : )
    1961                 :             :         {
    1962                 :           0 :           if (TREE_SIDE_EFFECTS (_p1)) goto next_after_fail540;
    1963                 :           0 :           if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail540;
    1964                 :           0 :           {
    1965                 :           0 :             tree res_op0;
    1966                 :           0 :             res_op0 = captures[0];
    1967                 :           0 :             tree res_op1;
    1968                 :           0 :             res_op1 = captures[3];
    1969                 :           0 :             tree res_op2;
    1970                 :           0 :             res_op2 =  build_zero_cst (type);
    1971                 :           0 :             tree _r;
    1972                 :           0 :             _r = fold_build3_loc (loc, COND_EXPR, type, res_op0, res_op1, res_op2);
    1973                 :           0 :             if (UNLIKELY (debug_dump)) generic_dump_logs ("match.pd", 302, __FILE__, __LINE__, true);
    1974                 :           0 :             return _r;
    1975                 :             :           }
    1976                 :             : next_after_fail540:;
    1977                 :             :         }
    1978                 :             :     }
    1979                 :             :   return NULL_TREE;
    1980                 :             : }
    1981                 :             : 
    1982                 :             : tree
    1983                 :           6 : generic_simplify_195 (location_t ARG_UNUSED (loc), const tree ARG_UNUSED (type),
    1984                 :             :  tree ARG_UNUSED (_p0), tree ARG_UNUSED (_p1), tree *ARG_UNUSED (captures),
    1985                 :             :  const combined_fn ARG_UNUSED (LDEXP))
    1986                 :             : {
    1987                 :           6 :   const bool debug_dump = dump_file && (dump_flags & TDF_FOLDING);
    1988                 :           6 :   if (flag_unsafe_math_optimizations
    1989                 :             : )
    1990                 :             :     {
    1991                 :           6 :       {
    1992                 :           6 :  HOST_WIDE_INT tmp = 0;
    1993                 :           6 :           if (real_isinteger (&TREE_REAL_CST (captures[0]), &tmp)
    1994                 :           6 :  && tmp > 0 && pow2p_hwi (tmp)
    1995                 :             : )
    1996                 :             :             {
    1997                 :           3 :               if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail549;
    1998                 :           3 :               {
    1999                 :           3 :                 tree res_op0;
    2000                 :           3 :                 res_op0 = captures[1];
    2001                 :           3 :                 tree res_op1;
    2002                 :           3 :                 {
    2003                 :           3 :                   tree _o1[2], _r1;
    2004                 :           3 :                   _o1[0] = build_int_cst (integer_type_node,
    2005                 :           6 :  exact_log2 (tmp));
    2006                 :           3 :                   _o1[1] = captures[2];
    2007                 :           3 :                   _r1 = fold_build2_loc (loc, PLUS_EXPR, TREE_TYPE (_o1[0]), _o1[0], _o1[1]);
    2008                 :           3 :                   res_op1 = _r1;
    2009                 :             :                 }
    2010                 :           3 :                 tree _r;
    2011                 :           3 :                 _r = maybe_build_call_expr_loc (loc, LDEXP, type, 2, res_op0, res_op1);
    2012                 :           3 :                 if (!_r)
    2013                 :           0 :                   goto next_after_fail549;
    2014                 :           3 :                 if (TREE_SIDE_EFFECTS (captures[0]))
    2015                 :           0 :                   _r = build2_loc (loc, COMPOUND_EXPR, type, fold_ignored_result (captures[0]), _r);
    2016                 :           3 :                 if (UNLIKELY (debug_dump)) generic_dump_logs ("match.pd", 311, __FILE__, __LINE__, true);
    2017                 :           3 :                 return _r;
    2018                 :             :               }
    2019                 :           3 : next_after_fail549:;
    2020                 :             :             }
    2021                 :             :       }
    2022                 :             :     }
    2023                 :             :   return NULL_TREE;
    2024                 :             : }
    2025                 :             : 
    2026                 :             : tree
    2027                 :           4 : generic_simplify_203 (location_t ARG_UNUSED (loc), const tree ARG_UNUSED (type),
    2028                 :             :  tree ARG_UNUSED (_p0), tree ARG_UNUSED (_p1), tree *ARG_UNUSED (captures))
    2029                 :             : {
    2030                 :           4 :   const bool debug_dump = dump_file && (dump_flags & TDF_FOLDING);
    2031                 :           8 :   if (INTEGRAL_TYPE_P (TREE_TYPE (captures[1]))
    2032                 :           8 :  && TYPE_PRECISION (TREE_TYPE (captures[1])) == 1
    2033                 :             : )
    2034                 :             :     {
    2035                 :           0 :       if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail557;
    2036                 :           0 :       {
    2037                 :           0 :         tree res_op0;
    2038                 :           0 :         {
    2039                 :           0 :           tree _o1[2], _r1;
    2040                 :           0 :           _o1[0] = captures[1];
    2041                 :           0 :           _o1[1] = captures[2];
    2042                 :           0 :           _r1 = fold_build2_loc (loc, BIT_XOR_EXPR, TREE_TYPE (_o1[0]), _o1[0], _o1[1]);
    2043                 :           0 :           res_op0 = _r1;
    2044                 :             :         }
    2045                 :           0 :         tree _r;
    2046                 :           0 :         _r = fold_build1_loc (loc, NOP_EXPR, type, res_op0);
    2047                 :           0 :         if (UNLIKELY (debug_dump)) generic_dump_logs ("match.pd", 319, __FILE__, __LINE__, true);
    2048                 :           0 :         return _r;
    2049                 :             :       }
    2050                 :           0 : next_after_fail557:;
    2051                 :             :     }
    2052                 :             :   return NULL_TREE;
    2053                 :             : }
    2054                 :             : 
    2055                 :             : tree
    2056                 :     1710351 : generic_simplify_209 (location_t ARG_UNUSED (loc), const tree ARG_UNUSED (type),
    2057                 :             :  tree ARG_UNUSED (_p0), tree ARG_UNUSED (_p1), tree *ARG_UNUSED (captures),
    2058                 :             :  const enum tree_code ARG_UNUSED (cmp))
    2059                 :             : {
    2060                 :     1710351 :   const bool debug_dump = dump_file && (dump_flags & TDF_FOLDING);
    2061                 :     3420702 :   if (INTEGRAL_TYPE_P (TREE_TYPE (captures[1]))
    2062                 :     1710351 :  && integer_nonzerop (captures[2])
    2063                 :     1708569 :  && !TREE_OVERFLOW (captures[2])
    2064                 :     3418920 :  && !TREE_OVERFLOW (captures[3])
    2065                 :             : )
    2066                 :             :     {
    2067                 :     1708569 :       {
    2068                 :     1708569 :  tree lo, hi; bool neg_overflow;
    2069                 :     1708569 :  enum tree_code code = fold_div_compare (cmp, captures[2], captures[3], &lo, &hi,
    2070                 :             :  &neg_overflow);
    2071                 :     1708569 :           if (code == LT_EXPR || code == GE_EXPR
    2072                 :             : )
    2073                 :             :             {
    2074                 :       41247 :               if (TREE_OVERFLOW (lo)
    2075                 :             : )
    2076                 :             :                 {
    2077                 :        7507 :                   if (TREE_SIDE_EFFECTS (captures[2])) goto next_after_fail566;
    2078                 :        7507 :                   if (TREE_SIDE_EFFECTS (captures[3])) goto next_after_fail566;
    2079                 :        7507 :                   if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail566;
    2080                 :        7507 :                   {
    2081                 :        7507 :                     tree _r;
    2082                 :        7507 :                     _r =  build_int_cst (type, (code == LT_EXPR) ^ neg_overflow);
    2083                 :        7507 :                     if (TREE_SIDE_EFFECTS (captures[1]))
    2084                 :           0 :                       _r = build2_loc (loc, COMPOUND_EXPR, type, fold_ignored_result (captures[1]), _r);
    2085                 :        7507 :                     if (UNLIKELY (debug_dump)) generic_dump_logs ("match.pd", 327, __FILE__, __LINE__, true);
    2086                 :     1708567 :                     return _r;
    2087                 :             :                   }
    2088                 :           2 : next_after_fail566:;
    2089                 :             :                 }
    2090                 :             :               else
    2091                 :             :                 {
    2092                 :       33740 :                   if (code == LT_EXPR
    2093                 :             : )
    2094                 :             :                     {
    2095                 :         725 :                       if (TREE_SIDE_EFFECTS (captures[2])) goto next_after_fail567;
    2096                 :         725 :                       if (TREE_SIDE_EFFECTS (captures[3])) goto next_after_fail567;
    2097                 :         725 :                       if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail567;
    2098                 :         725 :                       {
    2099                 :         725 :                         tree res_op0;
    2100                 :         725 :                         res_op0 = captures[1];
    2101                 :         725 :                         tree res_op1;
    2102                 :         725 :                         res_op1 =  lo;
    2103                 :         725 :                         tree _r;
    2104                 :         725 :                         _r = fold_build2_loc (loc, LT_EXPR, type, res_op0, res_op1);
    2105                 :         725 :                         if (UNLIKELY (debug_dump)) generic_dump_logs ("match.pd", 328, __FILE__, __LINE__, true);
    2106                 :         725 :                         return _r;
    2107                 :             :                       }
    2108                 :           2 : next_after_fail567:;
    2109                 :             :                     }
    2110                 :             :                   else
    2111                 :             :                     {
    2112                 :       33015 :                       if (TREE_SIDE_EFFECTS (captures[2])) goto next_after_fail568;
    2113                 :       33015 :                       if (TREE_SIDE_EFFECTS (captures[3])) goto next_after_fail568;
    2114                 :       33015 :                       if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail568;
    2115                 :       33015 :                       {
    2116                 :       33015 :                         tree res_op0;
    2117                 :       33015 :                         res_op0 = captures[1];
    2118                 :       33015 :                         tree res_op1;
    2119                 :       33015 :                         res_op1 =  lo;
    2120                 :       33015 :                         tree _r;
    2121                 :       33015 :                         _r = fold_build2_loc (loc, GE_EXPR, type, res_op0, res_op1);
    2122                 :       33015 :                         if (UNLIKELY (debug_dump)) generic_dump_logs ("match.pd", 329, __FILE__, __LINE__, true);
    2123                 :       33015 :                         return _r;
    2124                 :             :                       }
    2125                 :           2 : next_after_fail568:;
    2126                 :             :                     }
    2127                 :             :                 }
    2128                 :             :             }
    2129                 :             :           else
    2130                 :             :             {
    2131                 :     1667322 :               if (code == LE_EXPR || code == GT_EXPR
    2132                 :             : )
    2133                 :             :                 {
    2134                 :     1664253 :                   if (TREE_OVERFLOW (hi)
    2135                 :             : )
    2136                 :             :                     {
    2137                 :      526141 :                       if (TREE_SIDE_EFFECTS (captures[2])) goto next_after_fail569;
    2138                 :      526141 :                       if (TREE_SIDE_EFFECTS (captures[3])) goto next_after_fail569;
    2139                 :      526141 :                       if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail569;
    2140                 :      526141 :                       {
    2141                 :      526141 :                         tree _r;
    2142                 :      526141 :                         _r =  build_int_cst (type, (code == LE_EXPR) ^ neg_overflow);
    2143                 :      526141 :                         if (TREE_SIDE_EFFECTS (captures[1]))
    2144                 :           0 :                           _r = build2_loc (loc, COMPOUND_EXPR, type, fold_ignored_result (captures[1]), _r);
    2145                 :      526141 :                         if (UNLIKELY (debug_dump)) generic_dump_logs ("match.pd", 330, __FILE__, __LINE__, true);
    2146                 :      526141 :                         return _r;
    2147                 :             :                       }
    2148                 :           2 : next_after_fail569:;
    2149                 :             :                     }
    2150                 :             :                   else
    2151                 :             :                     {
    2152                 :     1138112 :                       if (code == LE_EXPR
    2153                 :             : )
    2154                 :             :                         {
    2155                 :         696 :                           if (TREE_SIDE_EFFECTS (captures[2])) goto next_after_fail570;
    2156                 :         696 :                           if (TREE_SIDE_EFFECTS (captures[3])) goto next_after_fail570;
    2157                 :         696 :                           if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail570;
    2158                 :         696 :                           {
    2159                 :         696 :                             tree res_op0;
    2160                 :         696 :                             res_op0 = captures[1];
    2161                 :         696 :                             tree res_op1;
    2162                 :         696 :                             res_op1 =  hi;
    2163                 :         696 :                             tree _r;
    2164                 :         696 :                             _r = fold_build2_loc (loc, LE_EXPR, type, res_op0, res_op1);
    2165                 :         696 :                             if (UNLIKELY (debug_dump)) generic_dump_logs ("match.pd", 331, __FILE__, __LINE__, true);
    2166                 :         696 :                             return _r;
    2167                 :             :                           }
    2168                 :           2 : next_after_fail570:;
    2169                 :             :                         }
    2170                 :             :                       else
    2171                 :             :                         {
    2172                 :     1137416 :                           if (TREE_SIDE_EFFECTS (captures[2])) goto next_after_fail571;
    2173                 :     1137416 :                           if (TREE_SIDE_EFFECTS (captures[3])) goto next_after_fail571;
    2174                 :     1137416 :                           if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail571;
    2175                 :     1137416 :                           {
    2176                 :     1137416 :                             tree res_op0;
    2177                 :     1137416 :                             res_op0 = captures[1];
    2178                 :     1137416 :                             tree res_op1;
    2179                 :     1137416 :                             res_op1 =  hi;
    2180                 :     1137416 :                             tree _r;
    2181                 :     1137416 :                             _r = fold_build2_loc (loc, GT_EXPR, type, res_op0, res_op1);
    2182                 :     1137416 :                             if (UNLIKELY (debug_dump)) generic_dump_logs ("match.pd", 332, __FILE__, __LINE__, true);
    2183                 :     1137416 :                             return _r;
    2184                 :             :                           }
    2185                 :           2 : next_after_fail571:;
    2186                 :             :                         }
    2187                 :             :                     }
    2188                 :             :                 }
    2189                 :             :               else
    2190                 :             :                 {
    2191                 :        3069 :                   if (!lo && !hi
    2192                 :             : )
    2193                 :             :                     {
    2194                 :          40 :                       if (TREE_SIDE_EFFECTS (captures[2])) goto next_after_fail572;
    2195                 :          40 :                       if (TREE_SIDE_EFFECTS (captures[3])) goto next_after_fail572;
    2196                 :          40 :                       if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail572;
    2197                 :          40 :                       {
    2198                 :          40 :                         tree _r;
    2199                 :          40 :                         _r =  build_int_cst (type, code == NE_EXPR);
    2200                 :          40 :                         if (TREE_SIDE_EFFECTS (captures[1]))
    2201                 :           0 :                           _r = build2_loc (loc, COMPOUND_EXPR, type, fold_ignored_result (captures[1]), _r);
    2202                 :          40 :                         if (UNLIKELY (debug_dump)) generic_dump_logs ("match.pd", 333, __FILE__, __LINE__, true);
    2203                 :          40 :                         return _r;
    2204                 :             :                       }
    2205                 :           2 : next_after_fail572:;
    2206                 :             :                     }
    2207                 :             :                   else
    2208                 :             :                     {
    2209                 :        3029 :                       if (code == EQ_EXPR && !hi
    2210                 :             : )
    2211                 :             :                         {
    2212                 :          12 :                           if (TREE_SIDE_EFFECTS (captures[2])) goto next_after_fail573;
    2213                 :          12 :                           if (TREE_SIDE_EFFECTS (captures[3])) goto next_after_fail573;
    2214                 :          12 :                           if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail573;
    2215                 :          12 :                           {
    2216                 :          12 :                             tree res_op0;
    2217                 :          12 :                             res_op0 = captures[1];
    2218                 :          12 :                             tree res_op1;
    2219                 :          12 :                             res_op1 =  lo;
    2220                 :          12 :                             tree _r;
    2221                 :          12 :                             _r = fold_build2_loc (loc, GE_EXPR, type, res_op0, res_op1);
    2222                 :          12 :                             if (UNLIKELY (debug_dump)) generic_dump_logs ("match.pd", 334, __FILE__, __LINE__, true);
    2223                 :          12 :                             return _r;
    2224                 :             :                           }
    2225                 :           2 : next_after_fail573:;
    2226                 :             :                         }
    2227                 :             :                       else
    2228                 :             :                         {
    2229                 :         916 :                           if (code == EQ_EXPR && !lo
    2230                 :             : )
    2231                 :             :                             {
    2232                 :          11 :                               if (TREE_SIDE_EFFECTS (captures[2])) goto next_after_fail574;
    2233                 :          11 :                               if (TREE_SIDE_EFFECTS (captures[3])) goto next_after_fail574;
    2234                 :          11 :                               if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail574;
    2235                 :          11 :                               {
    2236                 :          11 :                                 tree res_op0;
    2237                 :          11 :                                 res_op0 = captures[1];
    2238                 :          11 :                                 tree res_op1;
    2239                 :          11 :                                 res_op1 =  hi;
    2240                 :          11 :                                 tree _r;
    2241                 :          11 :                                 _r = fold_build2_loc (loc, LE_EXPR, type, res_op0, res_op1);
    2242                 :          11 :                                 if (UNLIKELY (debug_dump)) generic_dump_logs ("match.pd", 335, __FILE__, __LINE__, true);
    2243                 :          11 :                                 return _r;
    2244                 :             :                               }
    2245                 :           2 : next_after_fail574:;
    2246                 :             :                             }
    2247                 :             :                           else
    2248                 :             :                             {
    2249                 :        3006 :                               if (code == NE_EXPR && !hi
    2250                 :             : )
    2251                 :             :                                 {
    2252                 :           4 :                                   if (TREE_SIDE_EFFECTS (captures[2])) goto next_after_fail575;
    2253                 :           4 :                                   if (TREE_SIDE_EFFECTS (captures[3])) goto next_after_fail575;
    2254                 :           4 :                                   if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail575;
    2255                 :           4 :                                   {
    2256                 :           4 :                                     tree res_op0;
    2257                 :           4 :                                     res_op0 = captures[1];
    2258                 :           4 :                                     tree res_op1;
    2259                 :           4 :                                     res_op1 =  lo;
    2260                 :           4 :                                     tree _r;
    2261                 :           4 :                                     _r = fold_build2_loc (loc, LT_EXPR, type, res_op0, res_op1);
    2262                 :           4 :                                     if (UNLIKELY (debug_dump)) generic_dump_logs ("match.pd", 336, __FILE__, __LINE__, true);
    2263                 :           4 :                                     return _r;
    2264                 :             :                                   }
    2265                 :           2 : next_after_fail575:;
    2266                 :             :                                 }
    2267                 :             :                               else
    2268                 :             :                                 {
    2269                 :        2097 :                                   if (code == NE_EXPR && !lo
    2270                 :             : )
    2271                 :             :                                     {
    2272                 :          18 :                                       if (TREE_SIDE_EFFECTS (captures[2])) goto next_after_fail576;
    2273                 :          18 :                                       if (TREE_SIDE_EFFECTS (captures[3])) goto next_after_fail576;
    2274                 :          18 :                                       if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail576;
    2275                 :          18 :                                       {
    2276                 :          18 :                                         tree res_op0;
    2277                 :          18 :                                         res_op0 = captures[1];
    2278                 :          18 :                                         tree res_op1;
    2279                 :          18 :                                         res_op1 =  hi;
    2280                 :          18 :                                         tree _r;
    2281                 :          18 :                                         _r = fold_build2_loc (loc, GT_EXPR, type, res_op0, res_op1);
    2282                 :          18 :                                         if (UNLIKELY (debug_dump)) generic_dump_logs ("match.pd", 337, __FILE__, __LINE__, true);
    2283                 :          18 :                                         return _r;
    2284                 :             :                                       }
    2285                 :           2 : next_after_fail576:;
    2286                 :             :                                     }
    2287                 :             :                                   else
    2288                 :             :                                     {
    2289                 :        2984 :                                       if (1
    2290                 :             : )
    2291                 :             :                                         {
    2292                 :        2984 :                                           if (TREE_SIDE_EFFECTS (captures[1])) goto next_after_fail577;
    2293                 :        2982 :                                           if (TREE_SIDE_EFFECTS (captures[2])) goto next_after_fail577;
    2294                 :        2982 :                                           if (TREE_SIDE_EFFECTS (captures[3])) goto next_after_fail577;
    2295                 :        2982 :                                           if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail577;
    2296                 :        2982 :                                           {
    2297                 :        2982 :                                             tree _r;
    2298                 :        2982 :                                             _r =  build_range_check (UNKNOWN_LOCATION, type, captures[1], code == EQ_EXPR,
    2299                 :             :  lo, hi);
    2300                 :        2982 :                                             if (UNLIKELY (debug_dump)) generic_dump_logs ("match.pd", 338, __FILE__, __LINE__, true);
    2301                 :        2982 :                                             return _r;
    2302                 :             :                                           }
    2303                 :           2 : next_after_fail577:;
    2304                 :             :                                         }
    2305                 :             :                                       else
    2306                 :             :                                         {
    2307                 :             :                                           {
    2308                 :             :  tree etype = range_check_type (TREE_TYPE (captures[1]));
    2309                 :             :  if (etype)
    2310                 :             :  {
    2311                 :             :  hi = fold_convert (etype, hi);
    2312                 :             :  lo = fold_convert (etype, lo);
    2313                 :             :  hi = const_binop (MINUS_EXPR, etype, hi, lo);
    2314                 :             :  }
    2315                 :             :                                               if (etype && hi && !TREE_OVERFLOW (hi)
    2316                 :             : )
    2317                 :             :                                                 {
    2318                 :             :                                                   if (code == EQ_EXPR
    2319                 :             : )
    2320                 :             :                                                     {
    2321                 :             :                                                       if (TREE_SIDE_EFFECTS (captures[2])) goto next_after_fail578;
    2322                 :             :                                                       if (TREE_SIDE_EFFECTS (captures[3])) goto next_after_fail578;
    2323                 :             :                                                       if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail578;
    2324                 :             :                                                       {
    2325                 :             :                                                         tree res_op0;
    2326                 :             :                                                         {
    2327                 :             :                                                           tree _o1[2], _r1;
    2328                 :             :                                                           {
    2329                 :             :                                                             tree _o2[1], _r2;
    2330                 :             :                                                             _o2[0] = captures[1];
    2331                 :             :                                                             if (TREE_TYPE (_o2[0]) != etype)
    2332                 :             :                                                               {
    2333                 :             :                                                                 _r2 = fold_build1_loc (loc, NOP_EXPR, etype, _o2[0]);
    2334                 :             :                                                               }
    2335                 :             :                                                             else
    2336                 :             :                                                               _r2 = _o2[0];
    2337                 :             :                                                             _o1[0] = _r2;
    2338                 :             :                                                           }
    2339                 :             :                                                           _o1[1] =  lo;
    2340                 :             :                                                           _r1 = fold_build2_loc (loc, MINUS_EXPR, TREE_TYPE (_o1[0]), _o1[0], _o1[1]);
    2341                 :             :                                                           res_op0 = _r1;
    2342                 :             :                                                         }
    2343                 :             :                                                         tree res_op1;
    2344                 :             :                                                         res_op1 =  hi;
    2345                 :             :                                                         tree _r;
    2346                 :             :                                                         _r = fold_build2_loc (loc, LE_EXPR, type, res_op0, res_op1);
    2347                 :             :                                                         if (UNLIKELY (debug_dump)) generic_dump_logs ("match.pd", 339, __FILE__, __LINE__, true);
    2348                 :             :                                                         return _r;
    2349                 :             :                                                       }
    2350                 :             : next_after_fail578:;
    2351                 :             :                                                     }
    2352                 :             :                                                   else
    2353                 :             :                                                     {
    2354                 :             :                                                       if (TREE_SIDE_EFFECTS (captures[2])) goto next_after_fail579;
    2355                 :             :                                                       if (TREE_SIDE_EFFECTS (captures[3])) goto next_after_fail579;
    2356                 :             :                                                       if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail579;
    2357                 :             :                                                       {
    2358                 :             :                                                         tree res_op0;
    2359                 :             :                                                         {
    2360                 :             :                                                           tree _o1[2], _r1;
    2361                 :             :                                                           {
    2362                 :             :                                                             tree _o2[1], _r2;
    2363                 :             :                                                             _o2[0] = captures[1];
    2364                 :             :                                                             if (TREE_TYPE (_o2[0]) != etype)
    2365                 :             :                                                               {
    2366                 :             :                                                                 _r2 = fold_build1_loc (loc, NOP_EXPR, etype, _o2[0]);
    2367                 :             :                                                               }
    2368                 :             :                                                             else
    2369                 :             :                                                               _r2 = _o2[0];
    2370                 :             :                                                             _o1[0] = _r2;
    2371                 :             :                                                           }
    2372                 :             :                                                           _o1[1] =  lo;
    2373                 :             :                                                           _r1 = fold_build2_loc (loc, MINUS_EXPR, TREE_TYPE (_o1[0]), _o1[0], _o1[1]);
    2374                 :             :                                                           res_op0 = _r1;
    2375                 :             :                                                         }
    2376                 :             :                                                         tree res_op1;
    2377                 :             :                                                         res_op1 =  hi;
    2378                 :             :                                                         tree _r;
    2379                 :             :                                                         _r = fold_build2_loc (loc, GT_EXPR, type, res_op0, res_op1);
    2380                 :             :                                                         if (UNLIKELY (debug_dump)) generic_dump_logs ("match.pd", 340, __FILE__, __LINE__, true);
    2381                 :             :                                                         return _r;
    2382                 :             :                                                       }
    2383                 :             : next_after_fail579:;
    2384                 :             :                                                     }
    2385                 :             :                                                 }
    2386                 :             :                                           }
    2387                 :             :                                         }
    2388                 :             :                                     }
    2389                 :             :                                 }
    2390                 :             :                             }
    2391                 :             :                         }
    2392                 :             :                     }
    2393                 :             :                 }
    2394                 :             :             }
    2395                 :             :       }
    2396                 :             :     }
    2397                 :             :   return NULL_TREE;
    2398                 :             : }
    2399                 :             : 
    2400                 :             : tree
    2401                 :        2736 : generic_simplify_258 (location_t ARG_UNUSED (loc), const tree ARG_UNUSED (type),
    2402                 :             :  tree ARG_UNUSED (_p0), tree ARG_UNUSED (_p1), tree *ARG_UNUSED (captures),
    2403                 :             :  const enum tree_code ARG_UNUSED (cmp),
    2404                 :             :  const enum tree_code ARG_UNUSED (scmp))
    2405                 :             : {
    2406                 :        2736 :   const bool debug_dump = dump_file && (dump_flags & TDF_FOLDING);
    2407                 :        5102 :   if (FLOAT_TYPE_P (TREE_TYPE (captures[0]))
    2408                 :        5102 :  || (ANY_INTEGRAL_TYPE_P (TREE_TYPE (captures[0]))
    2409                 :        2366 :  && (cmp == EQ_EXPR
    2410                 :        2366 :  || cmp == NE_EXPR
    2411                 :        1592 :  || TYPE_OVERFLOW_UNDEFINED (TREE_TYPE (captures[0]))))
    2412                 :             : )
    2413                 :             :     {
    2414                 :        1578 :       {
    2415                 :        1578 :  tree tem = const_unop (NEGATE_EXPR, TREE_TYPE (captures[0]), captures[1]);
    2416                 :        1578 :           if (tem && !TREE_OVERFLOW (tem)
    2417                 :             : )
    2418                 :             :             {
    2419                 :        1550 :               if (TREE_SIDE_EFFECTS (captures[1])) goto next_after_fail687;
    2420                 :        1550 :               if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail687;
    2421                 :        1550 :               {
    2422                 :        1550 :                 tree res_op0;
    2423                 :        1550 :                 res_op0 = captures[0];
    2424                 :        1550 :                 tree res_op1;
    2425                 :        1550 :                 res_op1 =  tem;
    2426                 :        1550 :                 tree _r;
    2427                 :        1550 :                 _r = fold_build2_loc (loc, scmp, type, res_op0, res_op1);
    2428                 :        1550 :                 if (UNLIKELY (debug_dump)) generic_dump_logs ("match.pd", 445, __FILE__, __LINE__, true);
    2429                 :        1550 :                 return _r;
    2430                 :             :               }
    2431                 :             : next_after_fail687:;
    2432                 :             :             }
    2433                 :             :       }
    2434                 :             :     }
    2435                 :             :   return NULL_TREE;
    2436                 :             : }
    2437                 :             : 
    2438                 :             : tree
    2439                 :         696 : generic_simplify_261 (location_t ARG_UNUSED (loc), const tree ARG_UNUSED (type),
    2440                 :             :  tree ARG_UNUSED (_p0), tree ARG_UNUSED (_p1), tree *ARG_UNUSED (captures),
    2441                 :             :  const enum tree_code ARG_UNUSED (cmp))
    2442                 :             : {
    2443                 :         696 :   const bool debug_dump = dump_file && (dump_flags & TDF_FOLDING);
    2444                 :         696 :   if (tree_nop_conversion_p (TREE_TYPE (captures[0]), TREE_TYPE (captures[1]))
    2445                 :        1392 :  && wi::bit_and_not (wi::to_wide (captures[2]), wi::to_wide (captures[3])) != 0
    2446                 :             : )
    2447                 :             :     {
    2448                 :           0 :       if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail702;
    2449                 :           0 :       {
    2450                 :           0 :         tree _r;
    2451                 :           0 :         _r =  constant_boolean_node (cmp == NE_EXPR, type);
    2452                 :           0 :         if (TREE_SIDE_EFFECTS (captures[1]))
    2453                 :           0 :           _r = build2_loc (loc, COMPOUND_EXPR, type, fold_ignored_result (captures[1]), _r);
    2454                 :           0 :         if (TREE_SIDE_EFFECTS (captures[2]))
    2455                 :           0 :           _r = build2_loc (loc, COMPOUND_EXPR, type, fold_ignored_result (captures[2]), _r);
    2456                 :           0 :         if (TREE_SIDE_EFFECTS (captures[3]))
    2457                 :           0 :           _r = build2_loc (loc, COMPOUND_EXPR, type, fold_ignored_result (captures[3]), _r);
    2458                 :           0 :         if (UNLIKELY (debug_dump)) generic_dump_logs ("match.pd", 453, __FILE__, __LINE__, true);
    2459                 :           0 :         return _r;
    2460                 :             :       }
    2461                 :           0 : next_after_fail702:;
    2462                 :             :     }
    2463                 :             :   return NULL_TREE;
    2464                 :             : }
    2465                 :             : 
    2466                 :             : tree
    2467                 :        7581 : generic_simplify_263 (location_t ARG_UNUSED (loc), const tree ARG_UNUSED (type),
    2468                 :             :  tree ARG_UNUSED (_p0), tree ARG_UNUSED (_p1), tree *ARG_UNUSED (captures),
    2469                 :             :  const enum tree_code ARG_UNUSED (cmp))
    2470                 :             : {
    2471                 :        7581 :   const bool debug_dump = dump_file && (dump_flags & TDF_FOLDING);
    2472                 :        7581 :   if (TREE_SIDE_EFFECTS (_p1)) goto next_after_fail707;
    2473                 :        7581 :   if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail707;
    2474                 :        7581 :   {
    2475                 :        7581 :     tree res_op0;
    2476                 :        7581 :     res_op0 = captures[0];
    2477                 :        7581 :     tree res_op1;
    2478                 :        7581 :     res_op1 = captures[1];
    2479                 :        7581 :     tree _r;
    2480                 :        7581 :     _r = fold_build2_loc (loc, cmp, type, res_op0, res_op1);
    2481                 :        7581 :     if (UNLIKELY (debug_dump)) generic_dump_logs ("match.pd", 458, __FILE__, __LINE__, true);
    2482                 :             :     return _r;
    2483                 :             :   }
    2484                 :             : next_after_fail707:;
    2485                 :             :   return NULL_TREE;
    2486                 :             : }
    2487                 :             : 
    2488                 :             : tree
    2489                 :      153690 : generic_simplify_265 (location_t ARG_UNUSED (loc), const tree ARG_UNUSED (type),
    2490                 :             :  tree ARG_UNUSED (_p0), tree ARG_UNUSED (_p1), tree *ARG_UNUSED (captures),
    2491                 :             :  const enum tree_code ARG_UNUSED (cmp))
    2492                 :             : {
    2493                 :      153690 :   const bool debug_dump = dump_file && (dump_flags & TDF_FOLDING);
    2494                 :      153690 :   if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail709;
    2495                 :      153690 :   {
    2496                 :      153690 :     tree res_op0;
    2497                 :      153690 :     {
    2498                 :      153690 :       tree _o1[2], _r1;
    2499                 :      153690 :       _o1[0] = captures[0];
    2500                 :      153690 :       {
    2501                 :      153690 :         tree _o2[1], _r2;
    2502                 :      153690 :         _o2[0] = captures[1];
    2503                 :      153690 :         _r2 = fold_build1_loc (loc, BIT_NOT_EXPR, TREE_TYPE (_o2[0]), _o2[0]);
    2504                 :      153690 :         if (EXPR_P (_r2))
    2505                 :      153661 :           goto next_after_fail709;
    2506                 :          29 :         _o1[1] = _r2;
    2507                 :             :       }
    2508                 :          29 :       _r1 = fold_build2_loc (loc, BIT_AND_EXPR, TREE_TYPE (_o1[0]), _o1[0], _o1[1]);
    2509                 :          29 :       res_op0 = _r1;
    2510                 :             :     }
    2511                 :          29 :     tree res_op1;
    2512                 :          29 :     res_op1 =  build_zero_cst (TREE_TYPE (captures[0]));
    2513                 :          29 :     tree _r;
    2514                 :          29 :     _r = fold_build2_loc (loc, cmp, type, res_op0, res_op1);
    2515                 :          29 :     if (UNLIKELY (debug_dump)) generic_dump_logs ("match.pd", 460, __FILE__, __LINE__, true);
    2516                 :             :     return _r;
    2517                 :             :   }
    2518                 :             : next_after_fail709:;
    2519                 :             :   return NULL_TREE;
    2520                 :             : }
    2521                 :             : 
    2522                 :             : tree
    2523                 :          26 : generic_simplify_268 (location_t ARG_UNUSED (loc), const tree ARG_UNUSED (type),
    2524                 :             :  tree ARG_UNUSED (_p0), tree ARG_UNUSED (_p1), tree *ARG_UNUSED (captures),
    2525                 :             :  const enum tree_code ARG_UNUSED (cmp))
    2526                 :             : {
    2527                 :          26 :   const bool debug_dump = dump_file && (dump_flags & TDF_FOLDING);
    2528                 :          26 :   if (tree_nop_conversion_p (TREE_TYPE (captures[0]), TREE_TYPE (captures[1]))
    2529                 :             : )
    2530                 :             :     {
    2531                 :          26 :       if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail712;
    2532                 :          26 :       {
    2533                 :          26 :         tree res_op0;
    2534                 :          26 :         res_op0 = captures[1];
    2535                 :          26 :         tree res_op1;
    2536                 :          26 :         {
    2537                 :          26 :           tree _o1[2], _r1;
    2538                 :          26 :           _o1[0] = captures[2];
    2539                 :          26 :           {
    2540                 :          26 :             tree _o2[1], _r2;
    2541                 :          26 :             _o2[0] = captures[3];
    2542                 :          26 :             if (TREE_TYPE (_o2[0]) != TREE_TYPE (res_op0))
    2543                 :             :               {
    2544                 :           0 :                 _r2 = fold_build1_loc (loc, NOP_EXPR, TREE_TYPE (res_op0), _o2[0]);
    2545                 :             :               }
    2546                 :             :             else
    2547                 :             :               _r2 = _o2[0];
    2548                 :          26 :             _o1[1] = _r2;
    2549                 :             :           }
    2550                 :          26 :           _r1 = fold_build2_loc (loc, BIT_XOR_EXPR, TREE_TYPE (_o1[0]), _o1[0], _o1[1]);
    2551                 :          26 :           res_op1 = _r1;
    2552                 :             :         }
    2553                 :          26 :         tree _r;
    2554                 :          26 :         _r = fold_build2_loc (loc, cmp, type, res_op0, res_op1);
    2555                 :          26 :         if (UNLIKELY (debug_dump)) generic_dump_logs ("match.pd", 463, __FILE__, __LINE__, true);
    2556                 :          26 :         return _r;
    2557                 :             :       }
    2558                 :           0 : next_after_fail712:;
    2559                 :             :     }
    2560                 :             :   return NULL_TREE;
    2561                 :             : }
    2562                 :             : 
    2563                 :             : tree
    2564                 :       97402 : generic_simplify_272 (location_t ARG_UNUSED (loc), const tree ARG_UNUSED (type),
    2565                 :             :  tree ARG_UNUSED (_p0), tree ARG_UNUSED (_p1), tree *ARG_UNUSED (captures),
    2566                 :             :  const enum tree_code ARG_UNUSED (cmp),
    2567                 :             :  const enum tree_code ARG_UNUSED (ncmp))
    2568                 :             : {
    2569                 :       97402 :   const bool debug_dump = dump_file && (dump_flags & TDF_FOLDING);
    2570                 :      194220 :   if (INTEGRAL_TYPE_P (TREE_TYPE (captures[1]))
    2571                 :       47688 :  && type_has_mode_precision_p (TREE_TYPE (captures[1]))
    2572                 :       46758 :  && element_precision (captures[0]) >= element_precision (captures[1])
    2573                 :      194804 :  && wi::only_sign_bit_p (wi::to_wide (captures[2]), element_precision (captures[1]))
    2574                 :             : )
    2575                 :             :     {
    2576                 :        9677 :       {
    2577                 :        9677 :  tree stype = signed_type_for (TREE_TYPE (captures[1]));
    2578                 :        9677 :           if (TREE_SIDE_EFFECTS (_p1)) goto next_after_fail716;
    2579                 :        9677 :           if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail716;
    2580                 :        9677 :           {
    2581                 :        9677 :             tree res_op0;
    2582                 :        9677 :             {
    2583                 :        9677 :               tree _o1[1], _r1;
    2584                 :        9677 :               _o1[0] = captures[1];
    2585                 :        9677 :               if (TREE_TYPE (_o1[0]) != stype)
    2586                 :             :                 {
    2587                 :        9013 :                   _r1 = fold_build1_loc (loc, NOP_EXPR, stype, _o1[0]);
    2588                 :             :                 }
    2589                 :             :               else
    2590                 :             :                 _r1 = _o1[0];
    2591                 :        9677 :               res_op0 = _r1;
    2592                 :             :             }
    2593                 :        9677 :             tree res_op1;
    2594                 :        9677 :             res_op1 =  build_zero_cst (stype);
    2595                 :        9677 :             tree _r;
    2596                 :        9677 :             _r = fold_build2_loc (loc, ncmp, type, res_op0, res_op1);
    2597                 :        9677 :             if (TREE_SIDE_EFFECTS (captures[2]))
    2598                 :           0 :               _r = build2_loc (loc, COMPOUND_EXPR, type, fold_ignored_result (captures[2]), _r);
    2599                 :        9677 :             if (UNLIKELY (debug_dump)) generic_dump_logs ("match.pd", 467, __FILE__, __LINE__, true);
    2600                 :        9677 :             return _r;
    2601                 :             :           }
    2602                 :             : next_after_fail716:;
    2603                 :             :       }
    2604                 :             :     }
    2605                 :             :   return NULL_TREE;
    2606                 :             : }
    2607                 :             : 
    2608                 :             : tree
    2609                 :          18 : generic_simplify_276 (location_t ARG_UNUSED (loc), const tree ARG_UNUSED (type),
    2610                 :             :  tree ARG_UNUSED (_p0), tree ARG_UNUSED (_p1), tree *ARG_UNUSED (captures),
    2611                 :             :  const enum tree_code ARG_UNUSED (cmp),
    2612                 :             :  const enum tree_code ARG_UNUSED (ncmp))
    2613                 :             : {
    2614                 :          18 :   const bool debug_dump = dump_file && (dump_flags & TDF_FOLDING);
    2615                 :          36 :   if (ANY_INTEGRAL_TYPE_P (TREE_TYPE (captures[0]))
    2616                 :          18 :  && !TYPE_UNSIGNED (TREE_TYPE (captures[0]))
    2617                 :          36 :  && types_match (captures[0], captures[2])
    2618                 :             : )
    2619                 :             :     {
    2620                 :           2 :       if (TREE_SIDE_EFFECTS (_p1)) goto next_after_fail720;
    2621                 :           2 :       if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail720;
    2622                 :           2 :       {
    2623                 :           2 :         tree res_op0;
    2624                 :           2 :         {
    2625                 :           2 :           tree _o1[2], _r1;
    2626                 :           2 :           _o1[0] = captures[0];
    2627                 :           2 :           _o1[1] = captures[2];
    2628                 :           2 :           _r1 = fold_build2_loc (loc, BIT_XOR_EXPR, TREE_TYPE (_o1[0]), _o1[0], _o1[1]);
    2629                 :           2 :           res_op0 = _r1;
    2630                 :             :         }
    2631                 :           2 :         tree res_op1;
    2632                 :           2 :         res_op1 = captures[1];
    2633                 :           2 :         tree _r;
    2634                 :           2 :         _r = fold_build2_loc (loc, ncmp, type, res_op0, res_op1);
    2635                 :           2 :         if (UNLIKELY (debug_dump)) generic_dump_logs ("match.pd", 469, __FILE__, __LINE__, true);
    2636                 :           2 :         return _r;
    2637                 :             :       }
    2638                 :             : next_after_fail720:;
    2639                 :             :     }
    2640                 :             :   return NULL_TREE;
    2641                 :             : }
    2642                 :             : 
    2643                 :             : tree
    2644                 :      936785 : generic_simplify_280 (location_t ARG_UNUSED (loc), const tree ARG_UNUSED (type),
    2645                 :             :  tree ARG_UNUSED (_p0), tree ARG_UNUSED (_p1), tree *ARG_UNUSED (captures),
    2646                 :             :  const enum tree_code ARG_UNUSED (cmp))
    2647                 :             : {
    2648                 :      936785 :   const bool debug_dump = dump_file && (dump_flags & TDF_FOLDING);
    2649                 :     1469303 :   if (((POINTER_TYPE_P (TREE_TYPE (captures[0]))
    2650                 :      406090 :  && !FUNC_OR_METHOD_TYPE_P (TREE_TYPE (TREE_TYPE (captures[0])))
    2651                 :      366346 :  && INTEGRAL_TYPE_P (TREE_TYPE (captures[1]))
    2652                 :        7983 :  && !(
    2653                 :             : 1
    2654                 :        7955 :  && TREE_CODE (TREE_TYPE (captures[0])) == REFERENCE_TYPE
    2655                 :          28 :  && (flag_sanitize & (SANITIZE_NULL | SANITIZE_ALIGNMENT))))
    2656                 :      928842 :  || (INTEGRAL_TYPE_P (TREE_TYPE (captures[0]))
    2657                 :      530566 :  && POINTER_TYPE_P (TREE_TYPE (captures[1]))
    2658                 :        1510 :  && !FUNC_OR_METHOD_TYPE_P (TREE_TYPE (TREE_TYPE (captures[1])))))
    2659                 :      945748 :  && TYPE_PRECISION (TREE_TYPE (captures[0])) == TYPE_PRECISION (TREE_TYPE (captures[1]))
    2660                 :             : )
    2661                 :             :     {
    2662                 :        8717 :       if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail738;
    2663                 :        8717 :       {
    2664                 :        8717 :         tree res_op0;
    2665                 :        8717 :         res_op0 = captures[0];
    2666                 :        8717 :         tree res_op1;
    2667                 :        8717 :         {
    2668                 :        8717 :           tree _o1[1], _r1;
    2669                 :        8717 :           _o1[0] = captures[1];
    2670                 :        8717 :           if (TREE_TYPE (_o1[0]) != TREE_TYPE (res_op0))
    2671                 :             :             {
    2672                 :        8717 :               _r1 = fold_build1_loc (loc, NOP_EXPR, TREE_TYPE (res_op0), _o1[0]);
    2673                 :             :             }
    2674                 :             :           else
    2675                 :             :             _r1 = _o1[0];
    2676                 :        8717 :           res_op1 = _r1;
    2677                 :             :         }
    2678                 :        8717 :         tree _r;
    2679                 :        8717 :         _r = fold_build2_loc (loc, cmp, type, res_op0, res_op1);
    2680                 :        8717 :         if (UNLIKELY (debug_dump)) generic_dump_logs ("match.pd", 479, __FILE__, __LINE__, true);
    2681                 :        8717 :         return _r;
    2682                 :             :       }
    2683                 :           0 : next_after_fail738:;
    2684                 :             :     }
    2685                 :             :   return NULL_TREE;
    2686                 :             : }
    2687                 :             : 
    2688                 :             : tree
    2689                 :         366 : generic_simplify_285 (location_t ARG_UNUSED (loc), const tree ARG_UNUSED (type),
    2690                 :             :  tree ARG_UNUSED (_p0), tree ARG_UNUSED (_p1), tree *ARG_UNUSED (captures),
    2691                 :             :  const enum tree_code ARG_UNUSED (op),
    2692                 :             :  const enum tree_code ARG_UNUSED (cmp),
    2693                 :             :  const combined_fn ARG_UNUSED (clz))
    2694                 :             : {
    2695                 :         366 :   const bool debug_dump = dump_file && (dump_flags & TDF_FOLDING);
    2696                 :         366 :   if (!sanitize_flags_p (SANITIZE_BUILTIN)
    2697                 :         366 :  || (cfun && (cfun->curr_properties & PROP_ssa) != 0)
    2698                 :             : )
    2699                 :             :     {
    2700                 :         302 :       if (integer_zerop (captures[2]) && single_use (captures[0])
    2701                 :             : )
    2702                 :             :         {
    2703                 :          59 :           {
    2704                 :          59 :  tree stype = signed_type_for (TREE_TYPE (captures[1]));
    2705                 :          59 :               if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail756;
    2706                 :          59 :               {
    2707                 :          59 :                 tree res_op0;
    2708                 :          59 :                 {
    2709                 :          59 :                   tree _o1[1], _r1;
    2710                 :          59 :                   _o1[0] = captures[1];
    2711                 :          59 :                   if (TREE_TYPE (_o1[0]) != stype)
    2712                 :             :                     {
    2713                 :          59 :                       _r1 = fold_build1_loc (loc, NOP_EXPR, stype, _o1[0]);
    2714                 :             :                     }
    2715                 :             :                   else
    2716                 :             :                     _r1 = _o1[0];
    2717                 :          59 :                   res_op0 = _r1;
    2718                 :             :                 }
    2719                 :          59 :                 tree res_op1;
    2720                 :          59 :                 res_op1 =  build_zero_cst (stype);
    2721                 :          59 :                 tree _r;
    2722                 :          59 :                 _r = fold_build2_loc (loc, cmp, type, res_op0, res_op1);
    2723                 :          59 :                 if (TREE_SIDE_EFFECTS (captures[2]))
    2724                 :           0 :                   _r = build2_loc (loc, COMPOUND_EXPR, type, fold_ignored_result (captures[2]), _r);
    2725                 :          59 :                 if (UNLIKELY (debug_dump)) generic_dump_logs ("match.pd", 497, __FILE__, __LINE__, true);
    2726                 :          59 :                 return _r;
    2727                 :             :               }
    2728                 :           0 : next_after_fail756:;
    2729                 :             :           }
    2730                 :             :         }
    2731                 :             :       else
    2732                 :             :         {
    2733                 :         243 :           if (wi::to_wide (captures[2]) == TYPE_PRECISION (TREE_TYPE (captures[1])) - 1
    2734                 :             : )
    2735                 :             :             {
    2736                 :          79 :               if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail757;
    2737                 :          79 :               {
    2738                 :          79 :                 tree res_op0;
    2739                 :          79 :                 res_op0 = captures[1];
    2740                 :          79 :                 tree res_op1;
    2741                 :          79 :                 res_op1 =  build_one_cst (TREE_TYPE (captures[1]));
    2742                 :          79 :                 tree _r;
    2743                 :          79 :                 _r = fold_build2_loc (loc, op, type, res_op0, res_op1);
    2744                 :          79 :                 if (TREE_SIDE_EFFECTS (captures[2]))
    2745                 :           0 :                   _r = build2_loc (loc, COMPOUND_EXPR, type, fold_ignored_result (captures[2]), _r);
    2746                 :          79 :                 if (UNLIKELY (debug_dump)) generic_dump_logs ("match.pd", 498, __FILE__, __LINE__, true);
    2747                 :          79 :                 return _r;
    2748                 :             :               }
    2749                 :           0 : next_after_fail757:;
    2750                 :             :             }
    2751                 :             :         }
    2752                 :             :     }
    2753                 :             :   return NULL_TREE;
    2754                 :             : }
    2755                 :             : 
    2756                 :             : tree
    2757                 :           0 : generic_simplify_288 (location_t ARG_UNUSED (loc), const tree ARG_UNUSED (type),
    2758                 :             :  tree ARG_UNUSED (_p0), tree ARG_UNUSED (_p1), tree *ARG_UNUSED (captures),
    2759                 :             :  const enum tree_code ARG_UNUSED (op))
    2760                 :             : {
    2761                 :           0 :   const bool debug_dump = dump_file && (dump_flags & TDF_FOLDING);
    2762                 :           0 :   {
    2763                 :           0 :  HOST_WIDE_INT zero_val = tree_to_shwi (captures[2]);
    2764                 :           0 :  tree type0 = TREE_TYPE (captures[1]);
    2765                 :           0 :  int prec = TYPE_PRECISION (type0);
    2766                 :           0 :       if (prec <= MAX_FIXED_MODE_SIZE
    2767                 :             : )
    2768                 :             :         {
    2769                 :           0 :           if (tree_int_cst_sgn (captures[3]) < 0 || wi::to_widest (captures[3]) >= prec
    2770                 :             : )
    2771                 :             :             {
    2772                 :           0 :               if (zero_val != wi::to_widest (captures[3])
    2773                 :             : )
    2774                 :             :                 {
    2775                 :           0 :                   if (TREE_SIDE_EFFECTS (captures[2])) goto next_after_fail762;
    2776                 :           0 :                   if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail762;
    2777                 :           0 :                   {
    2778                 :           0 :                     tree _r;
    2779                 :           0 :                     _r =  constant_boolean_node (op == EQ_EXPR ? false : true, type);
    2780                 :           0 :                     if (TREE_SIDE_EFFECTS (captures[1]))
    2781                 :           0 :                       _r = build2_loc (loc, COMPOUND_EXPR, type, fold_ignored_result (captures[1]), _r);
    2782                 :           0 :                     if (TREE_SIDE_EFFECTS (captures[3]))
    2783                 :           0 :                       _r = build2_loc (loc, COMPOUND_EXPR, type, fold_ignored_result (captures[3]), _r);
    2784                 :           0 :                     if (UNLIKELY (debug_dump)) generic_dump_logs ("match.pd", 503, __FILE__, __LINE__, true);
    2785                 :           0 :                     return _r;
    2786                 :             :                   }
    2787                 :           0 : next_after_fail762:;
    2788                 :             :                 }
    2789                 :             :             }
    2790                 :             :           else
    2791                 :             :             {
    2792                 :           0 :               if (zero_val < 0 || zero_val >= prec
    2793                 :             : )
    2794                 :             :                 {
    2795                 :           0 :                   if (TREE_SIDE_EFFECTS (captures[2])) goto next_after_fail763;
    2796                 :           0 :                   if (TREE_SIDE_EFFECTS (captures[3])) goto next_after_fail763;
    2797                 :           0 :                   if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail763;
    2798                 :           0 :                   {
    2799                 :           0 :                     tree res_op0;
    2800                 :           0 :                     {
    2801                 :           0 :                       tree _o1[2], _r1;
    2802                 :           0 :                       _o1[0] = captures[1];
    2803                 :           0 :                       _o1[1] =  wide_int_to_tree (type0,
    2804                 :           0 :  wi::mask (tree_to_uhwi (captures[3]) + 1,
    2805                 :             :  false, prec));
    2806                 :           0 :                       _r1 = fold_build2_loc (loc, BIT_AND_EXPR, TREE_TYPE (_o1[0]), _o1[0], _o1[1]);
    2807                 :           0 :                       res_op0 = _r1;
    2808                 :             :                     }
    2809                 :           0 :                     tree res_op1;
    2810                 :           0 :                     res_op1 =  wide_int_to_tree (type0,
    2811                 :           0 :  wi::shifted_mask (tree_to_uhwi (captures[3]), 1,
    2812                 :             :  false, prec));
    2813                 :           0 :                     tree _r;
    2814                 :           0 :                     _r = fold_build2_loc (loc, op, type, res_op0, res_op1);
    2815                 :           0 :                     if (UNLIKELY (debug_dump)) generic_dump_logs ("match.pd", 504, __FILE__, __LINE__, true);
    2816                 :           0 :                     return _r;
    2817                 :             :                   }
    2818                 :           0 : next_after_fail763:;
    2819                 :             :                 }
    2820                 :             :             }
    2821                 :             :         }
    2822                 :             :   }
    2823                 :           0 :   return NULL_TREE;
    2824                 :             : }
    2825                 :             : 
    2826                 :             : tree
    2827                 :           0 : generic_simplify_297 (location_t ARG_UNUSED (loc), const tree ARG_UNUSED (type),
    2828                 :             :  tree ARG_UNUSED (_p0), tree ARG_UNUSED (_p1), tree *ARG_UNUSED (captures),
    2829                 :             :  const combined_fn ARG_UNUSED (copysigns))
    2830                 :             : {
    2831                 :           0 :   const bool debug_dump = dump_file && (dump_flags & TDF_FOLDING);
    2832                 :           0 :   if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail775;
    2833                 :           0 :   {
    2834                 :           0 :     tree res_op0;
    2835                 :           0 :     res_op0 = captures[0];
    2836                 :           0 :     tree res_op1;
    2837                 :           0 :     res_op1 = captures[2];
    2838                 :           0 :     tree _r;
    2839                 :           0 :     _r = maybe_build_call_expr_loc (loc, copysigns, type, 2, res_op0, res_op1);
    2840                 :           0 :     if (!_r)
    2841                 :           0 :       goto next_after_fail775;
    2842                 :           0 :     if (TREE_SIDE_EFFECTS (captures[1]))
    2843                 :           0 :       _r = build2_loc (loc, COMPOUND_EXPR, type, fold_ignored_result (captures[1]), _r);
    2844                 :           0 :     if (UNLIKELY (debug_dump)) generic_dump_logs ("match.pd", 516, __FILE__, __LINE__, true);
    2845                 :             :     return _r;
    2846                 :             :   }
    2847                 :             : next_after_fail775:;
    2848                 :             :   return NULL_TREE;
    2849                 :             : }
    2850                 :             : 
    2851                 :             : tree
    2852                 :       13968 : generic_simplify_305 (location_t ARG_UNUSED (loc), const tree ARG_UNUSED (type),
    2853                 :             :  tree ARG_UNUSED (_p0), tree ARG_UNUSED (_p1), tree *ARG_UNUSED (captures),
    2854                 :             :  const enum tree_code ARG_UNUSED (div))
    2855                 :             : {
    2856                 :       13968 :   const bool debug_dump = dump_file && (dump_flags & TDF_FOLDING);
    2857                 :       13968 :   if (INTEGRAL_TYPE_P (type)
    2858                 :       13946 :  && ssa_name_has_boolean_range (captures[1])
    2859                 :       13968 :  && !flag_non_call_exceptions
    2860                 :             : )
    2861                 :             :     {
    2862                 :           0 :       if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail785;
    2863                 :           0 :       {
    2864                 :           0 :         tree _r;
    2865                 :           0 :         _r = captures[0];
    2866                 :           0 :         if (TREE_SIDE_EFFECTS (captures[1]))
    2867                 :           0 :           _r = build2_loc (loc, COMPOUND_EXPR, type, fold_ignored_result (captures[1]), _r);
    2868                 :           0 :         if (UNLIKELY (debug_dump)) generic_dump_logs ("match.pd", 524, __FILE__, __LINE__, true);
    2869                 :           0 :         return _r;
    2870                 :             :       }
    2871                 :           0 : next_after_fail785:;
    2872                 :             :     }
    2873                 :             :   return NULL_TREE;
    2874                 :             : }
    2875                 :             : 
    2876                 :             : tree
    2877                 :       41469 : generic_simplify_310 (location_t ARG_UNUSED (loc), const tree ARG_UNUSED (type),
    2878                 :             :  tree ARG_UNUSED (_p0), tree ARG_UNUSED (_p1), tree *ARG_UNUSED (captures),
    2879                 :             :  const enum tree_code ARG_UNUSED (div))
    2880                 :             : {
    2881                 :       41469 :   const bool debug_dump = dump_file && (dump_flags & TDF_FOLDING);
    2882                 :       41469 :   if (integer_pow2p (captures[2])
    2883                 :       39094 :  && tree_int_cst_sgn (captures[2]) > 0
    2884                 :       39094 :  && tree_nop_conversion_p (type, TREE_TYPE (captures[0]))
    2885                 :       82938 :  && wi::to_wide (captures[2]) + wi::to_wide (captures[1]) == 0
    2886                 :             : )
    2887                 :             :     {
    2888                 :           1 :       if (TREE_SIDE_EFFECTS (captures[2])) goto next_after_fail791;
    2889                 :           1 :       if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail791;
    2890                 :           1 :       {
    2891                 :           1 :         tree res_op0;
    2892                 :           1 :         {
    2893                 :           1 :           tree _o1[1], _r1;
    2894                 :           1 :           _o1[0] = captures[0];
    2895                 :           1 :           if (TREE_TYPE (_o1[0]) != type)
    2896                 :             :             {
    2897                 :           0 :               _r1 = fold_build1_loc (loc, NOP_EXPR, type, _o1[0]);
    2898                 :             :             }
    2899                 :             :           else
    2900                 :             :             _r1 = _o1[0];
    2901                 :           1 :           res_op0 = _r1;
    2902                 :             :         }
    2903                 :           1 :         tree res_op1;
    2904                 :           1 :         res_op1 =  build_int_cst (integer_type_node,
    2905                 :           1 :  wi::exact_log2 (wi::to_wide (captures[2])));
    2906                 :           1 :         tree _r;
    2907                 :           1 :         _r = fold_build2_loc (loc, RSHIFT_EXPR, type, res_op0, res_op1);
    2908                 :           1 :         if (TREE_SIDE_EFFECTS (captures[1]))
    2909                 :           0 :           _r = build2_loc (loc, COMPOUND_EXPR, type, fold_ignored_result (captures[1]), _r);
    2910                 :           1 :         if (UNLIKELY (debug_dump)) generic_dump_logs ("match.pd", 530, __FILE__, __LINE__, true);
    2911                 :           1 :         return _r;
    2912                 :             :       }
    2913                 :             : next_after_fail791:;
    2914                 :             :     }
    2915                 :             :   return NULL_TREE;
    2916                 :             : }
    2917                 :             : 
    2918                 :             : tree
    2919                 :         915 : generic_simplify_315 (location_t ARG_UNUSED (loc), const tree ARG_UNUSED (type),
    2920                 :             :  tree ARG_UNUSED (_p0), tree ARG_UNUSED (_p1), tree *ARG_UNUSED (captures),
    2921                 :             :  const enum tree_code ARG_UNUSED (mod))
    2922                 :             : {
    2923                 :         915 :   const bool debug_dump = dump_file && (dump_flags & TDF_FOLDING);
    2924                 :         915 :   if (!integer_zerop (captures[1])
    2925                 :             : )
    2926                 :             :     {
    2927                 :         785 :       if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail796;
    2928                 :         785 :       {
    2929                 :         785 :         tree _r;
    2930                 :         785 :         _r = captures[0];
    2931                 :         785 :         if (TREE_SIDE_EFFECTS (captures[1]))
    2932                 :          74 :           _r = build2_loc (loc, COMPOUND_EXPR, type, fold_ignored_result (captures[1]), _r);
    2933                 :         785 :         if (UNLIKELY (debug_dump)) generic_dump_logs ("match.pd", 535, __FILE__, __LINE__, true);
    2934                 :         785 :         return _r;
    2935                 :             :       }
    2936                 :           0 : next_after_fail796:;
    2937                 :             :     }
    2938                 :             :   return NULL_TREE;
    2939                 :             : }
    2940                 :             : 
    2941                 :             : tree
    2942                 :           0 : generic_simplify_323 (location_t ARG_UNUSED (loc), const tree ARG_UNUSED (type),
    2943                 :             :  tree ARG_UNUSED (_p0), tree ARG_UNUSED (_p1), tree *ARG_UNUSED (captures))
    2944                 :             : {
    2945                 :           0 :   const bool debug_dump = dump_file && (dump_flags & TDF_FOLDING);
    2946                 :           0 :   if (SCALAR_FLOAT_TYPE_P (type)
    2947                 :           0 :  && ! HONOR_NANS (type)
    2948                 :           0 :  && ! HONOR_INFINITIES (type)
    2949                 :             : )
    2950                 :             :     {
    2951                 :           0 :       if (types_match (type, float_type_node)
    2952                 :             : )
    2953                 :             :         {
    2954                 :           0 :           if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail804;
    2955                 :           0 :           {
    2956                 :           0 :             tree res_op0;
    2957                 :           0 :             res_op0 =  build_one_cst (type);
    2958                 :           0 :             tree res_op1;
    2959                 :           0 :             {
    2960                 :           0 :               tree _o1[1], _r1;
    2961                 :           0 :               _o1[0] = captures[0];
    2962                 :           0 :               if (TREE_TYPE (_o1[0]) != type)
    2963                 :             :                 {
    2964                 :           0 :                   _r1 = fold_build1_loc (loc, NOP_EXPR, type, _o1[0]);
    2965                 :             :                 }
    2966                 :             :               else
    2967                 :             :                 _r1 = _o1[0];
    2968                 :           0 :               res_op1 = _r1;
    2969                 :             :             }
    2970                 :           0 :             tree _r;
    2971                 :           0 :             _r = maybe_build_call_expr_loc (loc, CFN_BUILT_IN_COPYSIGNF, type, 2, res_op0, res_op1);
    2972                 :           0 :             if (!_r)
    2973                 :           0 :               goto next_after_fail804;
    2974                 :           0 :             if (UNLIKELY (debug_dump)) generic_dump_logs ("match.pd", 543, __FILE__, __LINE__, true);
    2975                 :           0 :             return _r;
    2976                 :             :           }
    2977                 :             : next_after_fail804:;
    2978                 :             :         }
    2979                 :             :       else
    2980                 :             :         {
    2981                 :           0 :           if (types_match (type, double_type_node)
    2982                 :             : )
    2983                 :             :             {
    2984                 :           0 :               if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail805;
    2985                 :           0 :               {
    2986                 :           0 :                 tree res_op0;
    2987                 :           0 :                 res_op0 =  build_one_cst (type);
    2988                 :           0 :                 tree res_op1;
    2989                 :           0 :                 {
    2990                 :           0 :                   tree _o1[1], _r1;
    2991                 :           0 :                   _o1[0] = captures[0];
    2992                 :           0 :                   if (TREE_TYPE (_o1[0]) != type)
    2993                 :             :                     {
    2994                 :           0 :                       _r1 = fold_build1_loc (loc, NOP_EXPR, type, _o1[0]);
    2995                 :             :                     }
    2996                 :             :                   else
    2997                 :             :                     _r1 = _o1[0];
    2998                 :           0 :                   res_op1 = _r1;
    2999                 :             :                 }
    3000                 :           0 :                 tree _r;
    3001                 :           0 :                 _r = maybe_build_call_expr_loc (loc, CFN_BUILT_IN_COPYSIGN, type, 2, res_op0, res_op1);
    3002                 :           0 :                 if (!_r)
    3003                 :           0 :                   goto next_after_fail805;
    3004                 :           0 :                 if (UNLIKELY (debug_dump)) generic_dump_logs ("match.pd", 544, __FILE__, __LINE__, true);
    3005                 :           0 :                 return _r;
    3006                 :             :               }
    3007                 :             : next_after_fail805:;
    3008                 :             :             }
    3009                 :             :           else
    3010                 :             :             {
    3011                 :           0 :               if (types_match (type, long_double_type_node)
    3012                 :             : )
    3013                 :             :                 {
    3014                 :           0 :                   if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail806;
    3015                 :           0 :                   {
    3016                 :           0 :                     tree res_op0;
    3017                 :           0 :                     res_op0 =  build_one_cst (type);
    3018                 :           0 :                     tree res_op1;
    3019                 :           0 :                     {
    3020                 :           0 :                       tree _o1[1], _r1;
    3021                 :           0 :                       _o1[0] = captures[0];
    3022                 :           0 :                       if (TREE_TYPE (_o1[0]) != type)
    3023                 :             :                         {
    3024                 :           0 :                           _r1 = fold_build1_loc (loc, NOP_EXPR, type, _o1[0]);
    3025                 :             :                         }
    3026                 :             :                       else
    3027                 :             :                         _r1 = _o1[0];
    3028                 :           0 :                       res_op1 = _r1;
    3029                 :             :                     }
    3030                 :           0 :                     tree _r;
    3031                 :           0 :                     _r = maybe_build_call_expr_loc (loc, CFN_BUILT_IN_COPYSIGNL, type, 2, res_op0, res_op1);
    3032                 :           0 :                     if (!_r)
    3033                 :           0 :                       goto next_after_fail806;
    3034                 :           0 :                     if (UNLIKELY (debug_dump)) generic_dump_logs ("match.pd", 545, __FILE__, __LINE__, true);
    3035                 :           0 :                     return _r;
    3036                 :             :                   }
    3037                 :             : next_after_fail806:;
    3038                 :             :                 }
    3039                 :             :             }
    3040                 :             :         }
    3041                 :             :     }
    3042                 :             :   return NULL_TREE;
    3043                 :             : }
    3044                 :             : 
    3045                 :             : tree
    3046                 :        3936 : generic_simplify_341 (location_t ARG_UNUSED (loc), const tree ARG_UNUSED (type),
    3047                 :             :  tree ARG_UNUSED (_p0), tree ARG_UNUSED (_p1), tree *ARG_UNUSED (captures),
    3048                 :             :  const enum tree_code ARG_UNUSED (cmp),
    3049                 :             :  const enum tree_code ARG_UNUSED (bitop))
    3050                 :             : {
    3051                 :        3936 :   const bool debug_dump = dump_file && (dump_flags & TDF_FOLDING);
    3052                 :        3936 :   if (INTEGRAL_TYPE_P (TREE_TYPE (captures[0]))
    3053                 :             : )
    3054                 :             :     {
    3055                 :        3936 :       if (bitop == BIT_AND_EXPR || tree_expr_nonnegative_p (captures[1])
    3056                 :             : )
    3057                 :             :         {
    3058                 :        3936 :           if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail826;
    3059                 :        3936 :           {
    3060                 :        3936 :             tree _r;
    3061                 :        3936 :             _r =  constant_boolean_node (cmp == GE_EXPR || cmp == LE_EXPR, type);
    3062                 :        3936 :             if (TREE_SIDE_EFFECTS (captures[0]))
    3063                 :           0 :               _r = build2_loc (loc, COMPOUND_EXPR, type, fold_ignored_result (captures[0]), _r);
    3064                 :        3936 :             if (TREE_SIDE_EFFECTS (captures[1]))
    3065                 :           0 :               _r = build2_loc (loc, COMPOUND_EXPR, type, fold_ignored_result (captures[1]), _r);
    3066                 :        3936 :             if (UNLIKELY (debug_dump)) generic_dump_logs ("match.pd", 565, __FILE__, __LINE__, true);
    3067                 :        3936 :             return _r;
    3068                 :             :           }
    3069                 :           0 : next_after_fail826:;
    3070                 :             :         }
    3071                 :             :       else
    3072                 :             :         {
    3073                 :           0 :           if (TREE_CODE (captures[1]) == INTEGER_CST && wi::neg_p (wi::to_wide (captures[1]))
    3074                 :             : )
    3075                 :             :             {
    3076                 :           0 :               if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail827;
    3077                 :           0 :               {
    3078                 :           0 :                 tree _r;
    3079                 :           0 :                 _r =  constant_boolean_node (cmp == LT_EXPR, type);
    3080                 :           0 :                 if (TREE_SIDE_EFFECTS (captures[0]))
    3081                 :           0 :                   _r = build2_loc (loc, COMPOUND_EXPR, type, fold_ignored_result (captures[0]), _r);
    3082                 :           0 :                 if (TREE_SIDE_EFFECTS (captures[1]))
    3083                 :           0 :                   _r = build2_loc (loc, COMPOUND_EXPR, type, fold_ignored_result (captures[1]), _r);
    3084                 :           0 :                 if (UNLIKELY (debug_dump)) generic_dump_logs ("match.pd", 566, __FILE__, __LINE__, true);
    3085                 :           0 :                 return _r;
    3086                 :             :               }
    3087                 :           0 : next_after_fail827:;
    3088                 :             :             }
    3089                 :             :         }
    3090                 :             :     }
    3091                 :             :   return NULL_TREE;
    3092                 :             : }
    3093                 :             : 
    3094                 :             : tree
    3095                 :           2 : generic_simplify_352 (location_t ARG_UNUSED (loc), const tree ARG_UNUSED (type),
    3096                 :             :  tree ARG_UNUSED (_p0), tree ARG_UNUSED (_p1), tree *ARG_UNUSED (captures),
    3097                 :             :  const enum tree_code ARG_UNUSED (cmp))
    3098                 :             : {
    3099                 :           2 :   const bool debug_dump = dump_file && (dump_flags & TDF_FOLDING);
    3100                 :           4 :   if (ANY_INTEGRAL_TYPE_P (TREE_TYPE (captures[0]))
    3101                 :           4 :  && TYPE_UNSIGNED (TREE_TYPE (captures[0]))
    3102                 :             : )
    3103                 :             :     {
    3104                 :           2 :       if (TREE_SIDE_EFFECTS (_p0)) goto next_after_fail870;
    3105                 :           2 :       if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail870;
    3106                 :           2 :       {
    3107                 :           2 :         tree res_op0;
    3108                 :           2 :         res_op0 = captures[1];
    3109                 :           2 :         tree res_op1;
    3110                 :           2 :         res_op1 = captures[0];
    3111                 :           2 :         tree _r;
    3112                 :           2 :         _r = fold_build2_loc (loc, cmp, type, res_op0, res_op1);
    3113                 :           2 :         if (UNLIKELY (debug_dump)) generic_dump_logs ("match.pd", 592, __FILE__, __LINE__, true);
    3114                 :           2 :         return _r;
    3115                 :             :       }
    3116                 :             : next_after_fail870:;
    3117                 :             :     }
    3118                 :             :   return NULL_TREE;
    3119                 :             : }
    3120                 :             : 
    3121                 :             : tree
    3122                 :        1129 : generic_simplify_356 (location_t ARG_UNUSED (loc), const tree ARG_UNUSED (type),
    3123                 :             :  tree ARG_UNUSED (_p0), tree ARG_UNUSED (_p1), tree *ARG_UNUSED (captures),
    3124                 :             :  const enum tree_code ARG_UNUSED (cmp),
    3125                 :             :  const enum tree_code ARG_UNUSED (neg_cmp))
    3126                 :             : {
    3127                 :        1129 :   const bool debug_dump = dump_file && (dump_flags & TDF_FOLDING);
    3128                 :        1129 :   if (flag_unsafe_math_optimizations
    3129                 :             : )
    3130                 :             :     {
    3131                 :           9 :       {
    3132                 :           9 :  tree tem = const_binop (RDIV_EXPR, type, captures[2], captures[1]);
    3133                 :           9 :           if (tem
    3134                 :          27 :  && !(REAL_VALUE_ISINF (TREE_REAL_CST (tem))
    3135                 :          15 :  || (real_zerop (tem) && !real_zerop (captures[1])))
    3136                 :             : )
    3137                 :             :             {
    3138                 :           3 :               if (real_less (&dconst0, TREE_REAL_CST_PTR (captures[1]))
    3139                 :             : )
    3140                 :             :                 {
    3141                 :           2 :                   if (TREE_SIDE_EFFECTS (captures[1])) goto next_after_fail874;
    3142                 :           2 :                   if (TREE_SIDE_EFFECTS (captures[2])) goto next_after_fail874;
    3143                 :           2 :                   if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail874;
    3144                 :           2 :                   {
    3145                 :           2 :                     tree res_op0;
    3146                 :           2 :                     res_op0 = captures[0];
    3147                 :           2 :                     tree res_op1;
    3148                 :           2 :                     res_op1 =  tem;
    3149                 :           2 :                     tree _r;
    3150                 :           2 :                     _r = fold_build2_loc (loc, cmp, type, res_op0, res_op1);
    3151                 :           2 :                     if (UNLIKELY (debug_dump)) generic_dump_logs ("match.pd", 596, __FILE__, __LINE__, true);
    3152                 :           2 :                     return _r;
    3153                 :             :                   }
    3154                 :             : next_after_fail874:;
    3155                 :             :                 }
    3156                 :             :               else
    3157                 :             :                 {
    3158                 :           1 :                   if (real_less (TREE_REAL_CST_PTR (captures[1]), &dconst0)
    3159                 :             : )
    3160                 :             :                     {
    3161                 :           1 :                       if (TREE_SIDE_EFFECTS (captures[1])) goto next_after_fail875;
    3162                 :           1 :                       if (TREE_SIDE_EFFECTS (captures[2])) goto next_after_fail875;
    3163                 :           1 :                       if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail875;
    3164                 :           1 :                       {
    3165                 :           1 :                         tree res_op0;
    3166                 :           1 :                         res_op0 = captures[0];
    3167                 :           1 :                         tree res_op1;
    3168                 :           1 :                         res_op1 =  tem;
    3169                 :           1 :                         tree _r;
    3170                 :           1 :                         _r = fold_build2_loc (loc, neg_cmp, type, res_op0, res_op1);
    3171                 :           1 :                         if (UNLIKELY (debug_dump)) generic_dump_logs ("match.pd", 597, __FILE__, __LINE__, true);
    3172                 :           1 :                         return _r;
    3173                 :             :                       }
    3174                 :             : next_after_fail875:;
    3175                 :             :                     }
    3176                 :             :                 }
    3177                 :             :             }
    3178                 :             :       }
    3179                 :             :     }
    3180                 :             :   return NULL_TREE;
    3181                 :             : }
    3182                 :             : 
    3183                 :             : tree
    3184                 :       11739 : generic_simplify_362 (location_t ARG_UNUSED (loc), const tree ARG_UNUSED (type),
    3185                 :             :  tree ARG_UNUSED (_p0), tree ARG_UNUSED (_p1), tree *ARG_UNUSED (captures),
    3186                 :             :  const enum tree_code ARG_UNUSED (cmp),
    3187                 :             :  const enum tree_code ARG_UNUSED (eqcmp))
    3188                 :             : {
    3189                 :       11739 :   const bool debug_dump = dump_file && (dump_flags & TDF_FOLDING);
    3190                 :       11739 :   if (INTEGRAL_TYPE_P (TREE_TYPE (captures[0]))
    3191                 :             : )
    3192                 :             :     {
    3193                 :       11739 :       {
    3194                 :       11739 :  tree ty = TREE_TYPE (captures[0]);
    3195                 :       11739 :  unsigned prec = TYPE_PRECISION (ty);
    3196                 :       11739 :  wide_int mask = wi::to_wide (captures[2], prec);
    3197                 :       11739 :  wide_int rhs = wi::to_wide (captures[3], prec);
    3198                 :       11739 :  signop sgn = TYPE_SIGN (ty);
    3199                 :       32982 :           if ((mask & (mask + 1)) == 0 && wi::gt_p (rhs, 0, sgn)
    3200                 :       42322 :  && (rhs & (rhs + 1)) == 0 && wi::ge_p (mask, rhs, sgn)
    3201                 :             : )
    3202                 :             :             {
    3203                 :         546 :               if (TREE_SIDE_EFFECTS (captures[2])) goto next_after_fail887;
    3204                 :         546 :               if (TREE_SIDE_EFFECTS (captures[3])) goto next_after_fail887;
    3205                 :         546 :               if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail887;
    3206                 :         546 :               {
    3207                 :         546 :                 tree res_op0;
    3208                 :         546 :                 {
    3209                 :         546 :                   tree _o1[2], _r1;
    3210                 :         546 :                   _o1[0] = captures[1];
    3211                 :         546 :                   _o1[1] =  wide_int_to_tree (ty, mask - rhs);
    3212                 :         546 :                   _r1 = fold_build2_loc (loc, BIT_AND_EXPR, TREE_TYPE (_o1[0]), _o1[0], _o1[1]);
    3213                 :         546 :                   res_op0 = _r1;
    3214                 :             :                 }
    3215                 :         546 :                 tree res_op1;
    3216                 :         546 :                 res_op1 =  build_zero_cst (ty);
    3217                 :         546 :                 tree _r;
    3218                 :         546 :                 _r = fold_build2_loc (loc, eqcmp, type, res_op0, res_op1);
    3219                 :         546 :                 if (UNLIKELY (debug_dump)) generic_dump_logs ("match.pd", 609, __FILE__, __LINE__, true);
    3220                 :         546 :                 return _r;
    3221                 :             :               }
    3222                 :       11193 : next_after_fail887:;
    3223                 :             :             }
    3224                 :       11739 :       }
    3225                 :             :     }
    3226                 :             :   return NULL_TREE;
    3227                 :             : }
    3228                 :             : 
    3229                 :             : tree
    3230                 :           0 : generic_simplify_367 (location_t ARG_UNUSED (loc), const tree ARG_UNUSED (type),
    3231                 :             :  tree ARG_UNUSED (_p0), tree ARG_UNUSED (_p1), tree *ARG_UNUSED (captures),
    3232                 :             :  const combined_fn ARG_UNUSED (logs),
    3233                 :             :  const combined_fn ARG_UNUSED (exps),
    3234                 :             :  const enum tree_code ARG_UNUSED (cmp))
    3235                 :             : {
    3236                 :           0 :   const bool debug_dump = dump_file && (dump_flags & TDF_FOLDING);
    3237                 :           0 :   if (flag_unsafe_math_optimizations
    3238                 :             : )
    3239                 :             :     {
    3240                 :           0 :       if (! HONOR_SIGN_DEPENDENT_ROUNDING (type)
    3241                 :           0 :  && ! HONOR_NANS (type) && ! HONOR_INFINITIES (type)
    3242                 :           0 :  && ! flag_trapping_math
    3243                 :           0 :  && ! flag_errno_math
    3244                 :             : )
    3245                 :             :         {
    3246                 :           0 :           if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail892;
    3247                 :           0 :           {
    3248                 :           0 :             tree res_op0;
    3249                 :           0 :             res_op0 = captures[1];
    3250                 :           0 :             tree res_op1;
    3251                 :           0 :             {
    3252                 :           0 :               tree _o1[1], _r1;
    3253                 :           0 :               _o1[0] = captures[2];
    3254                 :           0 :               _r1 = maybe_build_call_expr_loc (loc, exps, TREE_TYPE (_o1[0]), 1, _o1[0]);
    3255                 :           0 :               if (!_r1)
    3256                 :           0 :                 goto next_after_fail892;
    3257                 :           0 :               if (EXPR_P (_r1))
    3258                 :           0 :                 goto next_after_fail892;
    3259                 :           0 :               res_op1 = _r1;
    3260                 :             :             }
    3261                 :           0 :             tree _r;
    3262                 :           0 :             _r = fold_build2_loc (loc, cmp, type, res_op0, res_op1);
    3263                 :           0 :             if (UNLIKELY (debug_dump)) generic_dump_logs ("match.pd", 610, __FILE__, __LINE__, true);
    3264                 :           0 :             return _r;
    3265                 :             :           }
    3266                 :             : next_after_fail892:;
    3267                 :             :         }
    3268                 :             :     }
    3269                 :             :   return NULL_TREE;
    3270                 :             : }
    3271                 :             : 
    3272                 :             : tree
    3273                 :     1555001 : generic_simplify_372 (location_t ARG_UNUSED (loc), const tree ARG_UNUSED (type),
    3274                 :             :  tree ARG_UNUSED (_p0), tree ARG_UNUSED (_p1), tree *ARG_UNUSED (captures),
    3275                 :             :  const enum tree_code ARG_UNUSED (shift))
    3276                 :             : {
    3277                 :     1555001 :   const bool debug_dump = dump_file && (dump_flags & TDF_FOLDING);
    3278                 :     1555001 :   if ((
    3279                 :             : 
    3280                 :     1555001 :  || !sanitize_flags_p (SANITIZE_SHIFT_EXPONENT))
    3281                 :     1553006 :  && (TYPE_UNSIGNED (type)
    3282                 :      327243 :  || shift == LSHIFT_EXPR
    3283                 :      134300 :  || tree_expr_nonnegative_p (captures[0]))
    3284                 :     2975296 :  && wi::ges_p (wi::to_wide (uniform_integer_cst_p (captures[1])),
    3285                 :     2974074 :  element_precision (type))
    3286                 :             : )
    3287                 :             :     {
    3288                 :        1222 :       if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail901;
    3289                 :        1222 :       {
    3290                 :        1222 :         tree _r;
    3291                 :        1222 :         _r =  build_zero_cst (type);
    3292                 :        1222 :         if (TREE_SIDE_EFFECTS (captures[0]))
    3293                 :           0 :           _r = build2_loc (loc, COMPOUND_EXPR, type, fold_ignored_result (captures[0]), _r);
    3294                 :        1222 :         if (TREE_SIDE_EFFECTS (captures[1]))
    3295                 :           0 :           _r = build2_loc (loc, COMPOUND_EXPR, type, fold_ignored_result (captures[1]), _r);
    3296                 :        1222 :         if (UNLIKELY (debug_dump)) generic_dump_logs ("match.pd", 619, __FILE__, __LINE__, true);
    3297                 :        1222 :         return _r;
    3298                 :             :       }
    3299                 :           0 : next_after_fail901:;
    3300                 :             :     }
    3301                 :             :   return NULL_TREE;
    3302                 :             : }
    3303                 :             : 
    3304                 :             : tree
    3305                 :       28062 : generic_simplify_380 (location_t ARG_UNUSED (loc), const tree ARG_UNUSED (type),
    3306                 :             :  tree ARG_UNUSED (_p0), tree ARG_UNUSED (_p1), tree *ARG_UNUSED (captures),
    3307                 :             :  const enum tree_code ARG_UNUSED (bit_op),
    3308                 :             :  const enum tree_code ARG_UNUSED (shift))
    3309                 :             : {
    3310                 :       28062 :   const bool debug_dump = dump_file && (dump_flags & TDF_FOLDING);
    3311                 :       28062 :   if (tree_nop_conversion_p (type, TREE_TYPE (captures[2]))
    3312                 :             : )
    3313                 :             :     {
    3314                 :       28062 :       {
    3315                 :       28062 :  tree mask = int_const_binop (shift, fold_convert (type, captures[3]), captures[4]);
    3316                 :       28062 :           if (mask
    3317                 :             : )
    3318                 :             :             {
    3319                 :       28055 :               if (TREE_SIDE_EFFECTS (captures[3])) goto next_after_fail912;
    3320                 :       28055 :               if (TREE_SIDE_EFFECTS (captures[4])) goto next_after_fail912;
    3321                 :       28055 :               if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail912;
    3322                 :       28055 :               {
    3323                 :       28055 :                 tree res_op0;
    3324                 :       28055 :                 {
    3325                 :       28055 :                   tree _o1[2], _r1;
    3326                 :       28055 :                   {
    3327                 :       28055 :                     tree _o2[1], _r2;
    3328                 :       28055 :                     _o2[0] = captures[2];
    3329                 :       28055 :                     if (TREE_TYPE (_o2[0]) != type)
    3330                 :             :                       {
    3331                 :          70 :                         _r2 = fold_build1_loc (loc, NOP_EXPR, type, _o2[0]);
    3332                 :             :                       }
    3333                 :             :                     else
    3334                 :             :                       _r2 = _o2[0];
    3335                 :       28055 :                     _o1[0] = _r2;
    3336                 :             :                   }
    3337                 :       28055 :                   _o1[1] = captures[4];
    3338                 :       28055 :                   _r1 = fold_build2_loc (loc, shift, TREE_TYPE (_o1[0]), _o1[0], _o1[1]);
    3339                 :       28055 :                   res_op0 = _r1;
    3340                 :             :                 }
    3341                 :       28055 :                 tree res_op1;
    3342                 :       28055 :                 res_op1 =  mask;
    3343                 :       28055 :                 tree _r;
    3344                 :       28055 :                 _r = fold_build2_loc (loc, bit_op, type, res_op0, res_op1);
    3345                 :       28055 :                 if (UNLIKELY (debug_dump)) generic_dump_logs ("match.pd", 628, __FILE__, __LINE__, true);
    3346                 :       28055 :                 return _r;
    3347                 :             :               }
    3348                 :             : next_after_fail912:;
    3349                 :             :             }
    3350                 :             :       }
    3351                 :             :     }
    3352                 :             :   return NULL_TREE;
    3353                 :             : }
    3354                 :             : 
    3355                 :             : tree
    3356                 :        7460 : generic_simplify_385 (location_t ARG_UNUSED (loc), const tree ARG_UNUSED (type),
    3357                 :             :  tree ARG_UNUSED (_p0), tree *ARG_UNUSED (captures),
    3358                 :             :  const enum tree_code ARG_UNUSED (minmax))
    3359                 :             : {
    3360                 :        7460 :   const bool debug_dump = dump_file && (dump_flags & TDF_FOLDING);
    3361                 :        7460 :   if (INTEGRAL_TYPE_P (type)
    3362                 :        7460 :  && types_match (captures[1], type) && int_fits_type_p (captures[2], type)
    3363                 :         636 :  && TYPE_SIGN (TREE_TYPE (captures[0])) == TYPE_SIGN (type)
    3364                 :        7460 :  && TYPE_PRECISION (TREE_TYPE (captures[0])) > TYPE_PRECISION (type)
    3365                 :             : )
    3366                 :             :     {
    3367                 :           0 :       if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail922;
    3368                 :           0 :       {
    3369                 :           0 :         tree res_op0;
    3370                 :           0 :         res_op0 = captures[1];
    3371                 :           0 :         tree res_op1;
    3372                 :           0 :         {
    3373                 :           0 :           tree _o1[1], _r1;
    3374                 :           0 :           _o1[0] = captures[2];
    3375                 :           0 :           if (TREE_TYPE (_o1[0]) != type)
    3376                 :             :             {
    3377                 :           0 :               _r1 = fold_build1_loc (loc, NOP_EXPR, type, _o1[0]);
    3378                 :             :             }
    3379                 :             :           else
    3380                 :             :             _r1 = _o1[0];
    3381                 :           0 :           res_op1 = _r1;
    3382                 :             :         }
    3383                 :           0 :         tree _r;
    3384                 :           0 :         _r = fold_build2_loc (loc, minmax, type, res_op0, res_op1);
    3385                 :           0 :         if (UNLIKELY (debug_dump)) generic_dump_logs ("match.pd", 638, __FILE__, __LINE__, true);
    3386                 :           0 :         return _r;
    3387                 :             :       }
    3388                 :           0 : next_after_fail922:;
    3389                 :             :     }
    3390                 :             :   return NULL_TREE;
    3391                 :             : }
    3392                 :             : 
    3393                 :             : tree
    3394                 :    20101729 : generic_simplify_389 (location_t ARG_UNUSED (loc), const tree ARG_UNUSED (type),
    3395                 :             :  tree ARG_UNUSED (_p0), tree *ARG_UNUSED (captures),
    3396                 :             :  const enum tree_code ARG_UNUSED (op))
    3397                 :             : {
    3398                 :    20101729 :   const bool debug_dump = dump_file && (dump_flags & TDF_FOLDING);
    3399                 :    20101729 :   if (INTEGRAL_TYPE_P (type)
    3400                 :    18690502 :  && op != MULT_EXPR
    3401                 :    18690502 :  && op != RDIV_EXPR
    3402                 :    10823636 :  && INTEGRAL_TYPE_P (TREE_TYPE (captures[2]))
    3403                 :    10823636 :  && INTEGRAL_TYPE_P (TREE_TYPE (captures[1]))
    3404                 :    10823636 :  && type_has_mode_precision_p (TREE_TYPE (captures[2]))
    3405                 :    10822448 :  && type_has_mode_precision_p (TREE_TYPE (captures[4]))
    3406                 :    10822448 :  && type_has_mode_precision_p (type)
    3407                 :    10791195 :  && TYPE_PRECISION (TREE_TYPE (captures[1])) > TYPE_PRECISION (TREE_TYPE (captures[2]))
    3408                 :           0 :  && types_match (captures[2], type)
    3409                 :    20101729 :  && (types_match (captures[2], captures[4])
    3410                 :           0 :  || poly_int_tree_p (captures[3]))
    3411                 :             : )
    3412                 :             :     {
    3413                 :           0 :       if (TYPE_OVERFLOW_WRAPS (TREE_TYPE (captures[2]))
    3414                 :             : )
    3415                 :             :         {
    3416                 :           0 :           if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail935;
    3417                 :           0 :           {
    3418                 :           0 :             tree res_op0;
    3419                 :           0 :             res_op0 = captures[2];
    3420                 :           0 :             tree res_op1;
    3421                 :           0 :             {
    3422                 :           0 :               tree _o1[1], _r1;
    3423                 :           0 :               _o1[0] = captures[4];
    3424                 :           0 :               if (TREE_TYPE (_o1[0]) != type)
    3425                 :             :                 {
    3426                 :           0 :                   _r1 = fold_build1_loc (loc, NOP_EXPR, type, _o1[0]);
    3427                 :             :                 }
    3428                 :             :               else
    3429                 :             :                 _r1 = _o1[0];
    3430                 :           0 :               res_op1 = _r1;
    3431                 :             :             }
    3432                 :           0 :             tree _r;
    3433                 :           0 :             _r = fold_build2_loc (loc, op, type, res_op0, res_op1);
    3434                 :           0 :             if (UNLIKELY (debug_dump)) generic_dump_logs ("match.pd", 639, __FILE__, __LINE__, true);
    3435                 :           0 :             return _r;
    3436                 :             :           }
    3437                 :           0 : next_after_fail935:;
    3438                 :             :         }
    3439                 :             :       else
    3440                 :             :         {
    3441                 :           0 :           {
    3442                 :           0 :  tree utype = unsigned_type_for (TREE_TYPE (captures[2]));
    3443                 :           0 :               if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail936;
    3444                 :           0 :               {
    3445                 :           0 :                 tree res_op0;
    3446                 :           0 :                 {
    3447                 :           0 :                   tree _o1[2], _r1;
    3448                 :           0 :                   {
    3449                 :           0 :                     tree _o2[1], _r2;
    3450                 :           0 :                     _o2[0] = captures[2];
    3451                 :           0 :                     if (TREE_TYPE (_o2[0]) != utype)
    3452                 :             :                       {
    3453                 :           0 :                         _r2 = fold_build1_loc (loc, NOP_EXPR, utype, _o2[0]);
    3454                 :             :                       }
    3455                 :             :                     else
    3456                 :             :                       _r2 = _o2[0];
    3457                 :           0 :                     _o1[0] = _r2;
    3458                 :             :                   }
    3459                 :           0 :                   {
    3460                 :           0 :                     tree _o2[1], _r2;
    3461                 :           0 :                     _o2[0] = captures[4];
    3462                 :           0 :                     if (TREE_TYPE (_o2[0]) != utype)
    3463                 :             :                       {
    3464                 :           0 :                         _r2 = fold_build1_loc (loc, NOP_EXPR, utype, _o2[0]);
    3465                 :             :                       }
    3466                 :             :                     else
    3467                 :             :                       _r2 = _o2[0];
    3468                 :           0 :                     _o1[1] = _r2;
    3469                 :             :                   }
    3470                 :           0 :                   _r1 = fold_build2_loc (loc, op, TREE_TYPE (_o1[0]), _o1[0], _o1[1]);
    3471                 :           0 :                   res_op0 = _r1;
    3472                 :             :                 }
    3473                 :           0 :                 tree _r;
    3474                 :           0 :                 _r = fold_build1_loc (loc, NOP_EXPR, type, res_op0);
    3475                 :           0 :                 if (UNLIKELY (debug_dump)) generic_dump_logs ("match.pd", 640, __FILE__, __LINE__, true);
    3476                 :           0 :                 return _r;
    3477                 :             :               }
    3478                 :           0 : next_after_fail936:;
    3479                 :             :           }
    3480                 :             :         }
    3481                 :             :     }
    3482                 :             :   else
    3483                 :             :     {
    3484                 :    20041229 :       if (FLOAT_TYPE_P (type)
    3485                 :    20162229 :  && DECIMAL_FLOAT_TYPE_P (TREE_TYPE (captures[0]))
    3486                 :       60500 :  == DECIMAL_FLOAT_TYPE_P (type)
    3487                 :             : )
    3488                 :             :         {
    3489                 :       60460 :           {
    3490                 :       60460 :  tree arg0 = strip_float_extensions (captures[2]);
    3491                 :       60460 :  tree arg1 = strip_float_extensions (captures[4]);
    3492                 :       60460 :  tree itype = TREE_TYPE (captures[0]);
    3493                 :       60460 :  tree ty1 = TREE_TYPE (arg0);
    3494                 :       60460 :  tree ty2 = TREE_TYPE (arg1);
    3495                 :       60460 :  enum tree_code code = TREE_CODE (itype);
    3496                 :           0 :               if (FLOAT_TYPE_P (ty1)
    3497                 :       60460 :  && FLOAT_TYPE_P (ty2)
    3498                 :             : )
    3499                 :             :                 {
    3500                 :       60460 :                   {
    3501                 :       60460 :  tree newtype = type;
    3502                 :       60460 :  if (TYPE_MODE (ty1) == SDmode
    3503                 :       60192 :  || TYPE_MODE (ty2) == SDmode
    3504                 :      120652 :  || TYPE_MODE (type) == SDmode)
    3505                 :         283 :  newtype = dfloat32_type_node;
    3506                 :       60460 :  if (TYPE_MODE (ty1) == DDmode
    3507                 :       60314 :  || TYPE_MODE (ty2) == DDmode
    3508                 :      120647 :  || TYPE_MODE (type) == DDmode)
    3509                 :         275 :  newtype = dfloat64_type_node;
    3510                 :       60460 :  if (TYPE_MODE (ty1) == TDmode
    3511                 :       60459 :  || TYPE_MODE (ty2) == TDmode
    3512                 :      120667 :  || TYPE_MODE (type) == TDmode)
    3513                 :         268 :  newtype = dfloat128_type_node;
    3514                 :       60460 :                       if ((newtype == dfloat32_type_node
    3515                 :       60456 :  || newtype == dfloat64_type_node
    3516                 :       60313 :  || newtype == dfloat128_type_node)
    3517                 :         415 :  && newtype == type
    3518                 :       60471 :  && types_match (newtype, type)
    3519                 :             : )
    3520                 :             :                         {
    3521                 :          11 :                           if (TREE_SIDE_EFFECTS (captures[1])) goto next_after_fail937;
    3522                 :           5 :                           if (TREE_SIDE_EFFECTS (captures[3])) goto next_after_fail937;
    3523                 :           5 :                           if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail937;
    3524                 :           5 :                           {
    3525                 :           5 :                             tree res_op0;
    3526                 :           5 :                             {
    3527                 :           5 :                               tree _o1[1], _r1;
    3528                 :           5 :                               _o1[0] = captures[2];
    3529                 :           5 :                               if (TREE_TYPE (_o1[0]) != newtype)
    3530                 :             :                                 {
    3531                 :           5 :                                   _r1 = fold_build1_loc (loc, NOP_EXPR, newtype, _o1[0]);
    3532                 :             :                                 }
    3533                 :             :                               else
    3534                 :             :                                 _r1 = _o1[0];
    3535                 :           5 :                               res_op0 = _r1;
    3536                 :             :                             }
    3537                 :           5 :                             tree res_op1;
    3538                 :           5 :                             {
    3539                 :           5 :                               tree _o1[1], _r1;
    3540                 :           5 :                               _o1[0] = captures[4];
    3541                 :           5 :                               if (TREE_TYPE (_o1[0]) != newtype)
    3542                 :             :                                 {
    3543                 :           5 :                                   _r1 = fold_build1_loc (loc, NOP_EXPR, newtype, _o1[0]);
    3544                 :             :                                 }
    3545                 :             :                               else
    3546                 :             :                                 _r1 = _o1[0];
    3547                 :           5 :                               res_op1 = _r1;
    3548                 :             :                             }
    3549                 :           5 :                             tree _r;
    3550                 :           5 :                             _r = fold_build2_loc (loc, op, type, res_op0, res_op1);
    3551                 :           5 :                             if (UNLIKELY (debug_dump)) generic_dump_logs ("match.pd", 641, __FILE__, __LINE__, true);
    3552                 :           5 :                             return _r;
    3553                 :             :                           }
    3554                 :             : next_after_fail937:;
    3555                 :             :                         }
    3556                 :             :                       else
    3557                 :             :                         {
    3558                 :       60449 :                           {
    3559                 :       60449 :  if (element_precision (ty1) > element_precision (newtype))
    3560                 :       15627 :  newtype = ty1;
    3561                 :       60449 :  if (element_precision (ty2) > element_precision (newtype))
    3562                 :        5823 :  newtype = ty2;
    3563                 :       60449 :                               if (element_precision (newtype) < element_precision (itype)
    3564                 :       18806 :  && (!VECTOR_MODE_P (TYPE_MODE (newtype))
    3565                 :           0 :  || target_supports_op_p (newtype, op, optab_default))
    3566                 :       18806 :  && (flag_unsafe_math_optimizations
    3567                 :       18798 :  || (element_precision (newtype) == element_precision (type)
    3568                 :       18769 :  && real_can_shorten_arithmetic (element_mode (itype),
    3569                 :             :  element_mode (type))
    3570                 :        6636 :  && !excess_precision_type (newtype)))
    3571                 :       60597 :  && !types_match (itype, newtype)
    3572                 :             : )
    3573                 :             :                                 {
    3574                 :         148 :                                   if (TREE_SIDE_EFFECTS (captures[1])) goto next_after_fail938;
    3575                 :         147 :                                   if (TREE_SIDE_EFFECTS (captures[3])) goto next_after_fail938;
    3576                 :         132 :                                   if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail938;
    3577                 :         132 :                                   {
    3578                 :         132 :                                     tree res_op0;
    3579                 :         132 :                                     {
    3580                 :         132 :                                       tree _o1[2], _r1;
    3581                 :         132 :                                       {
    3582                 :         132 :                                         tree _o2[1], _r2;
    3583                 :         132 :                                         _o2[0] = captures[2];
    3584                 :         132 :                                         if (TREE_TYPE (_o2[0]) != newtype)
    3585                 :             :                                           {
    3586                 :         132 :                                             _r2 = fold_build1_loc (loc, NOP_EXPR, newtype, _o2[0]);
    3587                 :             :                                           }
    3588                 :             :                                         else
    3589                 :             :                                           _r2 = _o2[0];
    3590                 :         132 :                                         _o1[0] = _r2;
    3591                 :             :                                       }
    3592                 :         132 :                                       {
    3593                 :         132 :                                         tree _o2[1], _r2;
    3594                 :         132 :                                         _o2[0] = captures[4];
    3595                 :         132 :                                         if (TREE_TYPE (_o2[0]) != newtype)
    3596                 :             :                                           {
    3597                 :         132 :                                             _r2 = fold_build1_loc (loc, NOP_EXPR, newtype, _o2[0]);
    3598                 :             :                                           }
    3599                 :             :                                         else
    3600                 :             :                                           _r2 = _o2[0];
    3601                 :         132 :                                         _o1[1] = _r2;
    3602                 :             :                                       }
    3603                 :         132 :                                       _r1 = fold_build2_loc (loc, op, TREE_TYPE (_o1[0]), _o1[0], _o1[1]);
    3604                 :         132 :                                       res_op0 = _r1;
    3605                 :             :                                     }
    3606                 :         132 :                                     tree _r;
    3607                 :         132 :                                     _r = fold_build1_loc (loc, NOP_EXPR, type, res_op0);
    3608                 :         132 :                                     if (UNLIKELY (debug_dump)) generic_dump_logs ("match.pd", 642, __FILE__, __LINE__, true);
    3609                 :         132 :                                     return _r;
    3610                 :             :                                   }
    3611                 :             : next_after_fail938:;
    3612                 :             :                                 }
    3613                 :             :                           }
    3614                 :             :                         }
    3615                 :             :                   }
    3616                 :             :                 }
    3617                 :             :           }
    3618                 :             :         }
    3619                 :             :     }
    3620                 :             :   return NULL_TREE;
    3621                 :             : }
    3622                 :             : 
    3623                 :             : tree
    3624                 :        1667 : generic_simplify_419 (location_t ARG_UNUSED (loc), const tree ARG_UNUSED (type),
    3625                 :             :  tree ARG_UNUSED (_p0), tree ARG_UNUSED (_p1), tree *ARG_UNUSED (captures))
    3626                 :             : {
    3627                 :        1667 :   const bool debug_dump = dump_file && (dump_flags & TDF_FOLDING);
    3628                 :        1667 :   {
    3629                 :        1667 :  bool wascmp;
    3630                 :        1667 :       if (bitwise_inverted_equal_p (captures[0], captures[2], wascmp)
    3631                 :        1667 :  || bitwise_inverted_equal_p (captures[1], captures[2], wascmp)
    3632                 :             : )
    3633                 :             :         {
    3634                 :           8 :           if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail968;
    3635                 :           8 :           {
    3636                 :           8 :             tree _r;
    3637                 :           8 :             _r =  wascmp ? constant_boolean_node (false, type) : build_zero_cst (type);
    3638                 :           8 :             if (TREE_SIDE_EFFECTS (captures[0]))
    3639                 :           0 :               _r = build2_loc (loc, COMPOUND_EXPR, type, fold_ignored_result (captures[0]), _r);
    3640                 :           8 :             if (TREE_SIDE_EFFECTS (captures[1]))
    3641                 :           0 :               _r = build2_loc (loc, COMPOUND_EXPR, type, fold_ignored_result (captures[1]), _r);
    3642                 :           8 :             if (TREE_SIDE_EFFECTS (captures[2]))
    3643                 :           0 :               _r = build2_loc (loc, COMPOUND_EXPR, type, fold_ignored_result (captures[2]), _r);
    3644                 :           8 :             if (UNLIKELY (debug_dump)) generic_dump_logs ("match.pd", 671, __FILE__, __LINE__, true);
    3645                 :           8 :             return _r;
    3646                 :             :           }
    3647                 :           0 : next_after_fail968:;
    3648                 :             :         }
    3649                 :             :   }
    3650                 :        1659 :   return NULL_TREE;
    3651                 :             : }
    3652                 :             : 
    3653                 :             : tree
    3654                 :          34 : generic_simplify_427 (location_t ARG_UNUSED (loc), const tree ARG_UNUSED (type),
    3655                 :             :  tree ARG_UNUSED (_p0), tree ARG_UNUSED (_p1), tree *ARG_UNUSED (captures),
    3656                 :             :  const combined_fn ARG_UNUSED (bswap))
    3657                 :             : {
    3658                 :          34 :   const bool debug_dump = dump_file && (dump_flags & TDF_FOLDING);
    3659                 :          34 :   if (BITS_PER_UNIT == 8
    3660                 :          34 :  && tree_fits_uhwi_p (captures[2])
    3661                 :          34 :  && tree_to_uhwi (captures[2]) < 256
    3662                 :             : )
    3663                 :             :     {
    3664                 :          32 :       {
    3665                 :          32 :  unsigned HOST_WIDE_INT prec = TYPE_PRECISION (TREE_TYPE (captures[0]));
    3666                 :          32 :  tree utype = unsigned_type_for (TREE_TYPE (captures[1]));
    3667                 :          32 :  tree nst = build_int_cst (integer_type_node, prec - 8);
    3668                 :          32 :           if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail981;
    3669                 :          32 :           {
    3670                 :          32 :             tree res_op0;
    3671                 :          32 :             {
    3672                 :          32 :               tree _o1[1], _r1;
    3673                 :          32 :               {
    3674                 :          32 :                 tree _o2[2], _r2;
    3675                 :          32 :                 {
    3676                 :          32 :                   tree _o3[1], _r3;
    3677                 :          32 :                   _o3[0] = captures[1];
    3678                 :          32 :                   if (TREE_TYPE (_o3[0]) != utype)
    3679                 :             :                     {
    3680                 :           0 :                       _r3 = fold_build1_loc (loc, NOP_EXPR, utype, _o3[0]);
    3681                 :             :                     }
    3682                 :             :                   else
    3683                 :             :                     _r3 = _o3[0];
    3684                 :          32 :                   _o2[0] = _r3;
    3685                 :             :                 }
    3686                 :          32 :                 _o2[1] = nst;
    3687                 :          32 :                 _r2 = fold_build2_loc (loc, RSHIFT_EXPR, utype, _o2[0], _o2[1]);
    3688                 :          32 :                 _o1[0] = _r2;
    3689                 :             :               }
    3690                 :          32 :               if (TREE_TYPE (_o1[0]) != type)
    3691                 :             :                 {
    3692                 :          18 :                   _r1 = fold_build1_loc (loc, NOP_EXPR, type, _o1[0]);
    3693                 :             :                 }
    3694                 :             :               else
    3695                 :             :                 _r1 = _o1[0];
    3696                 :          32 :               res_op0 = _r1;
    3697                 :             :             }
    3698                 :          32 :             tree res_op1;
    3699                 :          32 :             res_op1 = captures[2];
    3700                 :          32 :             tree _r;
    3701                 :          32 :             _r = fold_build2_loc (loc, BIT_AND_EXPR, type, res_op0, res_op1);
    3702                 :          32 :             if (UNLIKELY (debug_dump)) generic_dump_logs ("match.pd", 680, __FILE__, __LINE__, true);
    3703                 :          32 :             return _r;
    3704                 :             :           }
    3705                 :           0 : next_after_fail981:;
    3706                 :             :       }
    3707                 :             :     }
    3708                 :             :   return NULL_TREE;
    3709                 :             : }
    3710                 :             : 
    3711                 :             : tree
    3712                 :           0 : generic_simplify_435 (location_t ARG_UNUSED (loc), const tree ARG_UNUSED (type),
    3713                 :             :  tree ARG_UNUSED (_p0), tree ARG_UNUSED (_p1), tree *ARG_UNUSED (captures),
    3714                 :             :  const enum tree_code ARG_UNUSED (eqne))
    3715                 :             : {
    3716                 :           0 :   const bool debug_dump = dump_file && (dump_flags & TDF_FOLDING);
    3717                 :           0 :   if (eqne == EQ_EXPR
    3718                 :             : )
    3719                 :             :     {
    3720                 :           0 :       if (TREE_SIDE_EFFECTS (_p0)) goto next_after_fail1010;
    3721                 :           0 :       if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail1010;
    3722                 :           0 :       {
    3723                 :           0 :         tree _r;
    3724                 :           0 :         _r =  constant_boolean_node (false, type);
    3725                 :           0 :         if (TREE_SIDE_EFFECTS (captures[2]))
    3726                 :           0 :           _r = build2_loc (loc, COMPOUND_EXPR, type, fold_ignored_result (captures[2]), _r);
    3727                 :           0 :         if (UNLIKELY (debug_dump)) generic_dump_logs ("match.pd", 683, __FILE__, __LINE__, true);
    3728                 :           0 :         return _r;
    3729                 :             :       }
    3730                 :             : next_after_fail1010:;
    3731                 :             :     }
    3732                 :             :   else
    3733                 :             :     {
    3734                 :           0 :       if (eqne == NE_EXPR
    3735                 :             : )
    3736                 :             :         {
    3737                 :           0 :           if (TREE_SIDE_EFFECTS (_p0)) goto next_after_fail1011;
    3738                 :           0 :           if (TREE_SIDE_EFFECTS (_p1)) goto next_after_fail1011;
    3739                 :           0 :           if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail1011;
    3740                 :           0 :           {
    3741                 :           0 :             tree _r;
    3742                 :           0 :             _r = captures[0];
    3743                 :           0 :             if (UNLIKELY (debug_dump)) generic_dump_logs ("match.pd", 684, __FILE__, __LINE__, true);
    3744                 :           0 :             return _r;
    3745                 :             :           }
    3746                 :             : next_after_fail1011:;
    3747                 :             :         }
    3748                 :             :     }
    3749                 :             :   return NULL_TREE;
    3750                 :             : }
    3751                 :             : 
    3752                 :             : tree
    3753                 :           3 : generic_simplify_439 (location_t ARG_UNUSED (loc), const tree ARG_UNUSED (type),
    3754                 :             :  tree ARG_UNUSED (_p0), tree ARG_UNUSED (_p1), tree *ARG_UNUSED (captures))
    3755                 :             : {
    3756                 :           3 :   const bool debug_dump = dump_file && (dump_flags & TDF_FOLDING);
    3757                 :           6 :   if (INTEGRAL_TYPE_P (TREE_TYPE (captures[1]))
    3758                 :           6 :  && TYPE_OVERFLOW_WRAPS (TREE_TYPE (captures[1]))
    3759                 :             : )
    3760                 :             :     {
    3761                 :           3 :       if (TREE_SIDE_EFFECTS (_p0)) goto next_after_fail1027;
    3762                 :           3 :       if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail1027;
    3763                 :           3 :       {
    3764                 :           3 :         tree res_op0;
    3765                 :           3 :         res_op0 = captures[3];
    3766                 :           3 :         tree res_op1;
    3767                 :           3 :         {
    3768                 :           3 :           tree _o1[2], _r1;
    3769                 :           3 :           _o1[0] = captures[1];
    3770                 :           3 :           _o1[1] =  build_int_cst (TREE_TYPE (captures[1]), 1);
    3771                 :           3 :           _r1 = fold_build2_loc (loc, MINUS_EXPR, TREE_TYPE (_o1[0]), _o1[0], _o1[1]);
    3772                 :           3 :           res_op1 = _r1;
    3773                 :             :         }
    3774                 :           3 :         tree _r;
    3775                 :           3 :         _r = fold_build2_loc (loc, GT_EXPR, type, res_op0, res_op1);
    3776                 :           3 :         if (UNLIKELY (debug_dump)) generic_dump_logs ("match.pd", 701, __FILE__, __LINE__, true);
    3777                 :           3 :         return _r;
    3778                 :             :       }
    3779                 :             : next_after_fail1027:;
    3780                 :             :     }
    3781                 :             :   return NULL_TREE;
    3782                 :             : }
    3783                 :             : 
    3784                 :             : tree
    3785                 :           0 : generic_simplify_442 (location_t ARG_UNUSED (loc), const tree ARG_UNUSED (type),
    3786                 :             :  tree ARG_UNUSED (_p0), tree ARG_UNUSED (_p1), tree *ARG_UNUSED (captures))
    3787                 :             : {
    3788                 :           0 :   const bool debug_dump = dump_file && (dump_flags & TDF_FOLDING);
    3789                 :           0 :   if (INTEGRAL_TYPE_P (TREE_TYPE (captures[1]))
    3790                 :           0 :  && TYPE_OVERFLOW_WRAPS (TREE_TYPE (captures[1]))
    3791                 :             : )
    3792                 :             :     {
    3793                 :           0 :       if (TREE_SIDE_EFFECTS (_p1)) goto next_after_fail1030;
    3794                 :           0 :       if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail1030;
    3795                 :           0 :       {
    3796                 :           0 :         tree res_op0;
    3797                 :           0 :         res_op0 = captures[3];
    3798                 :           0 :         tree res_op1;
    3799                 :           0 :         {
    3800                 :           0 :           tree _o1[2], _r1;
    3801                 :           0 :           _o1[0] = captures[1];
    3802                 :           0 :           _o1[1] =  build_int_cst (TREE_TYPE (captures[1]), 1);
    3803                 :           0 :           _r1 = fold_build2_loc (loc, MINUS_EXPR, TREE_TYPE (_o1[0]), _o1[0], _o1[1]);
    3804                 :           0 :           res_op1 = _r1;
    3805                 :             :         }
    3806                 :           0 :         tree _r;
    3807                 :           0 :         _r = fold_build2_loc (loc, GT_EXPR, type, res_op0, res_op1);
    3808                 :           0 :         if (UNLIKELY (debug_dump)) generic_dump_logs ("match.pd", 701, __FILE__, __LINE__, true);
    3809                 :           0 :         return _r;
    3810                 :             :       }
    3811                 :             : next_after_fail1030:;
    3812                 :             :     }
    3813                 :             :   return NULL_TREE;
    3814                 :             : }
    3815                 :             : 
    3816                 :             : tree
    3817                 :           0 : generic_simplify_446 (location_t ARG_UNUSED (loc), const tree ARG_UNUSED (type),
    3818                 :             :  tree ARG_UNUSED (_p0), tree ARG_UNUSED (_p1), tree *ARG_UNUSED (captures))
    3819                 :             : {
    3820                 :           0 :   const bool debug_dump = dump_file && (dump_flags & TDF_FOLDING);
    3821                 :           0 :   if (TREE_SIDE_EFFECTS (_p1)) goto next_after_fail1038;
    3822                 :           0 :   if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail1038;
    3823                 :           0 :   {
    3824                 :           0 :     tree _r;
    3825                 :           0 :     _r = captures[1];
    3826                 :           0 :     if (UNLIKELY (debug_dump)) generic_dump_logs ("match.pd", 703, __FILE__, __LINE__, true);
    3827                 :             :     return _r;
    3828                 :             :   }
    3829                 :             : next_after_fail1038:;
    3830                 :             :   return NULL_TREE;
    3831                 :             : }
    3832                 :             : 
    3833                 :             : tree
    3834                 :           0 : generic_simplify_447 (location_t ARG_UNUSED (loc), const tree ARG_UNUSED (type),
    3835                 :             :  tree ARG_UNUSED (_p0), tree ARG_UNUSED (_p1), tree *ARG_UNUSED (captures))
    3836                 :             : {
    3837                 :           0 :   const bool debug_dump = dump_file && (dump_flags & TDF_FOLDING);
    3838                 :           0 :   if (TREE_SIDE_EFFECTS (_p0)) goto next_after_fail1039;
    3839                 :           0 :   if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail1039;
    3840                 :           0 :   {
    3841                 :           0 :     tree _r;
    3842                 :           0 :     _r = captures[1];
    3843                 :           0 :     if (UNLIKELY (debug_dump)) generic_dump_logs ("match.pd", 703, __FILE__, __LINE__, true);
    3844                 :             :     return _r;
    3845                 :             :   }
    3846                 :             : next_after_fail1039:;
    3847                 :             :   return NULL_TREE;
    3848                 :             : }
    3849                 :             : 
    3850                 :             : tree
    3851                 :          42 : generic_simplify_450 (location_t ARG_UNUSED (loc), const tree ARG_UNUSED (type),
    3852                 :             :  tree ARG_UNUSED (_p0), tree *ARG_UNUSED (captures))
    3853                 :             : {
    3854                 :          42 :   const bool debug_dump = dump_file && (dump_flags & TDF_FOLDING);
    3855                 :          42 :   if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail1043;
    3856                 :          42 :   {
    3857                 :          42 :     tree res_op0;
    3858                 :          42 :     res_op0 = captures[1];
    3859                 :          42 :     tree res_op1;
    3860                 :          42 :     {
    3861                 :          42 :       tree _o1[1], _r1;
    3862                 :          42 :       _o1[0] = captures[2];
    3863                 :          42 :       _r1 = fold_build1_loc (loc, BIT_NOT_EXPR, TREE_TYPE (_o1[0]), _o1[0]);
    3864                 :          42 :       res_op1 = _r1;
    3865                 :             :     }
    3866                 :          42 :     tree _r;
    3867                 :          42 :     _r = fold_build2_loc (loc, BIT_IOR_EXPR, type, res_op0, res_op1);
    3868                 :          42 :     if (UNLIKELY (debug_dump)) generic_dump_logs ("match.pd", 707, __FILE__, __LINE__, true);
    3869                 :             :     return _r;
    3870                 :             :   }
    3871                 :           0 : next_after_fail1043:;
    3872                 :           0 :   return NULL_TREE;
    3873                 :             : }
    3874                 :             : 
    3875                 :             : tree
    3876                 :          28 : generic_simplify_452 (location_t ARG_UNUSED (loc), const tree ARG_UNUSED (type),
    3877                 :             :  tree ARG_UNUSED (_p0), tree *ARG_UNUSED (captures))
    3878                 :             : {
    3879                 :          28 :   const bool debug_dump = dump_file && (dump_flags & TDF_FOLDING);
    3880                 :          28 :   if (element_precision (type) <= element_precision (TREE_TYPE (captures[0]))
    3881                 :          28 :  || !TYPE_UNSIGNED (TREE_TYPE (captures[0]))
    3882                 :             : )
    3883                 :             :     {
    3884                 :          28 :       if (TREE_SIDE_EFFECTS (_p0)) goto next_after_fail1045;
    3885                 :          28 :       if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail1045;
    3886                 :          28 :       {
    3887                 :          28 :         tree res_op0;
    3888                 :          28 :         {
    3889                 :          28 :           tree _o1[1], _r1;
    3890                 :          28 :           _o1[0] = captures[0];
    3891                 :          28 :           _r1 = fold_build1_loc (loc, NEGATE_EXPR, TREE_TYPE (_o1[0]), _o1[0]);
    3892                 :          28 :           res_op0 = _r1;
    3893                 :             :         }
    3894                 :          28 :         tree _r;
    3895                 :          28 :         _r = fold_build1_loc (loc, NOP_EXPR, type, res_op0);
    3896                 :          28 :         if (UNLIKELY (debug_dump)) generic_dump_logs ("match.pd", 709, __FILE__, __LINE__, true);
    3897                 :          28 :         return _r;
    3898                 :             :       }
    3899                 :             : next_after_fail1045:;
    3900                 :             :     }
    3901                 :             :   return NULL_TREE;
    3902                 :             : }
    3903                 :             : 
    3904                 :             : tree
    3905                 :        3993 : generic_simplify_454 (location_t ARG_UNUSED (loc), const tree ARG_UNUSED (type),
    3906                 :             :  tree ARG_UNUSED (_p0), tree *ARG_UNUSED (captures))
    3907                 :             : {
    3908                 :        3993 :   const bool debug_dump = dump_file && (dump_flags & TDF_FOLDING);
    3909                 :        3993 :   if (element_precision (type) <= element_precision (TREE_TYPE (captures[0]))
    3910                 :        3993 :  || !TYPE_UNSIGNED (TREE_TYPE (captures[0]))
    3911                 :             : )
    3912                 :             :     {
    3913                 :        3442 :       if (TREE_SIDE_EFFECTS (_p0)) goto next_after_fail1047;
    3914                 :        3442 :       if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail1047;
    3915                 :        3442 :       {
    3916                 :        3442 :         tree res_op0;
    3917                 :        3442 :         {
    3918                 :        3442 :           tree _o1[1], _r1;
    3919                 :        3442 :           _o1[0] = captures[0];
    3920                 :        3442 :           _r1 = fold_build1_loc (loc, NEGATE_EXPR, TREE_TYPE (_o1[0]), _o1[0]);
    3921                 :        3442 :           res_op0 = _r1;
    3922                 :             :         }
    3923                 :        3442 :         tree _r;
    3924                 :        3442 :         _r = fold_build1_loc (loc, NOP_EXPR, type, res_op0);
    3925                 :        3442 :         if (UNLIKELY (debug_dump)) generic_dump_logs ("match.pd", 711, __FILE__, __LINE__, true);
    3926                 :        3442 :         return _r;
    3927                 :             :       }
    3928                 :             : next_after_fail1047:;
    3929                 :             :     }
    3930                 :             :   return NULL_TREE;
    3931                 :             : }
    3932                 :             : 
    3933                 :             : tree
    3934                 :           0 : generic_simplify_458 (location_t ARG_UNUSED (loc), const tree ARG_UNUSED (type),
    3935                 :             :  tree ARG_UNUSED (_p0), tree *ARG_UNUSED (captures))
    3936                 :             : {
    3937                 :           0 :   const bool debug_dump = dump_file && (dump_flags & TDF_FOLDING);
    3938                 :           0 :   if (tree_nop_conversion_p (type, TREE_TYPE (captures[0]))
    3939                 :             : )
    3940                 :             :     {
    3941                 :           0 :       if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail1051;
    3942                 :           0 :       {
    3943                 :           0 :         tree res_op0;
    3944                 :           0 :         {
    3945                 :           0 :           tree _o1[2], _r1;
    3946                 :           0 :           _o1[0] = captures[0];
    3947                 :           0 :           _o1[1] = captures[1];
    3948                 :           0 :           _r1 = fold_build2_loc (loc, BIT_XOR_EXPR, TREE_TYPE (_o1[0]), _o1[0], _o1[1]);
    3949                 :           0 :           res_op0 = _r1;
    3950                 :             :         }
    3951                 :           0 :         tree _r;
    3952                 :           0 :         _r = fold_build1_loc (loc, NOP_EXPR, type, res_op0);
    3953                 :           0 :         if (UNLIKELY (debug_dump)) generic_dump_logs ("match.pd", 715, __FILE__, __LINE__, true);
    3954                 :           0 :         return _r;
    3955                 :             :       }
    3956                 :           0 : next_after_fail1051:;
    3957                 :             :     }
    3958                 :             :   return NULL_TREE;
    3959                 :             : }
    3960                 :             : 
    3961                 :             : tree
    3962                 :       38348 : generic_simplify_464 (location_t ARG_UNUSED (loc), const tree ARG_UNUSED (type),
    3963                 :             :  tree ARG_UNUSED (_p0), tree *ARG_UNUSED (captures))
    3964                 :             : {
    3965                 :       38348 :   const bool debug_dump = dump_file && (dump_flags & TDF_FOLDING);
    3966                 :       38348 :   if (!HONOR_SIGN_DEPENDENT_ROUNDING (type)
    3967                 :       38348 :  && !HONOR_SIGNED_ZEROS (type)
    3968                 :             : )
    3969                 :             :     {
    3970                 :       38348 :       if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail1058;
    3971                 :       38348 :       {
    3972                 :       38348 :         tree res_op0;
    3973                 :       38348 :         {
    3974                 :       38348 :           tree _o1[1], _r1;
    3975                 :       38348 :           _o1[0] = captures[1];
    3976                 :       38348 :           _r1 = fold_build1_loc (loc, NEGATE_EXPR, TREE_TYPE (_o1[0]), _o1[0]);
    3977                 :       38348 :           res_op0 = _r1;
    3978                 :             :         }
    3979                 :       38348 :         tree res_op1;
    3980                 :       38348 :         res_op1 = captures[0];
    3981                 :       38348 :         tree _r;
    3982                 :       38348 :         _r = fold_build2_loc (loc, MINUS_EXPR, type, res_op0, res_op1);
    3983                 :       38348 :         if (UNLIKELY (debug_dump)) generic_dump_logs ("match.pd", 720, __FILE__, __LINE__, true);
    3984                 :       38348 :         return _r;
    3985                 :             :       }
    3986                 :           0 : next_after_fail1058:;
    3987                 :             :     }
    3988                 :             :   return NULL_TREE;
    3989                 :             : }
    3990                 :             : 
    3991                 :             : tree
    3992                 :         384 : generic_simplify_469 (location_t ARG_UNUSED (loc), const tree ARG_UNUSED (type),
    3993                 :             :  tree ARG_UNUSED (_p0), tree *ARG_UNUSED (captures))
    3994                 :             : {
    3995                 :         384 :   const bool debug_dump = dump_file && (dump_flags & TDF_FOLDING);
    3996                 :         384 :   if (tree_nop_conversion_p (type, TREE_TYPE (captures[0]))
    3997                 :         384 :  && wi::to_wide (captures[1]) == element_precision (type) - 1
    3998                 :             : )
    3999                 :             :     {
    4000                 :          44 :       {
    4001                 :          44 :  tree stype = TREE_TYPE (captures[0]);
    4002                 :          44 :  tree ntype = TYPE_UNSIGNED (stype) ? signed_type_for (stype)
    4003                 :           9 :  : unsigned_type_for (stype);
    4004                 :          44 :           if (VECTOR_TYPE_P (type)
    4005                 :             : )
    4006                 :             :             {
    4007                 :           0 :               if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail1063;
    4008                 :           0 :               {
    4009                 :           0 :                 tree res_op0;
    4010                 :           0 :                 {
    4011                 :           0 :                   tree _o1[2], _r1;
    4012                 :           0 :                   {
    4013                 :           0 :                     tree _o2[1], _r2;
    4014                 :           0 :                     _o2[0] = captures[0];
    4015                 :           0 :                     if (TREE_TYPE (_o2[0]) != ntype)
    4016                 :             :                       {
    4017                 :           0 :                         _r2 = fold_build1_loc (loc, VIEW_CONVERT_EXPR, ntype, _o2[0]);
    4018                 :             :                       }
    4019                 :             :                     else
    4020                 :             :                       _r2 = _o2[0];
    4021                 :           0 :                     _o1[0] = _r2;
    4022                 :             :                   }
    4023                 :           0 :                   _o1[1] = captures[1];
    4024                 :           0 :                   _r1 = fold_build2_loc (loc, RSHIFT_EXPR, TREE_TYPE (_o1[0]), _o1[0], _o1[1]);
    4025                 :           0 :                   res_op0 = _r1;
    4026                 :             :                 }
    4027                 :           0 :                 tree _r;
    4028                 :           0 :                 _r = fold_build1_loc (loc, VIEW_CONVERT_EXPR, type, res_op0);
    4029                 :           0 :                 if (UNLIKELY (debug_dump)) generic_dump_logs ("match.pd", 725, __FILE__, __LINE__, true);
    4030                 :           0 :                 return _r;
    4031                 :             :               }
    4032                 :           0 : next_after_fail1063:;
    4033                 :             :             }
    4034                 :             :           else
    4035                 :             :             {
    4036                 :          44 :               if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail1064;
    4037                 :          44 :               {
    4038                 :          44 :                 tree res_op0;
    4039                 :          44 :                 {
    4040                 :          44 :                   tree _o1[2], _r1;
    4041                 :          44 :                   {
    4042                 :          44 :                     tree _o2[1], _r2;
    4043                 :          44 :                     _o2[0] = captures[0];
    4044                 :          44 :                     if (TREE_TYPE (_o2[0]) != ntype)
    4045                 :             :                       {
    4046                 :          44 :                         _r2 = fold_build1_loc (loc, NOP_EXPR, ntype, _o2[0]);
    4047                 :             :                       }
    4048                 :             :                     else
    4049                 :             :                       _r2 = _o2[0];
    4050                 :          44 :                     _o1[0] = _r2;
    4051                 :             :                   }
    4052                 :          44 :                   _o1[1] = captures[1];
    4053                 :          44 :                   _r1 = fold_build2_loc (loc, RSHIFT_EXPR, TREE_TYPE (_o1[0]), _o1[0], _o1[1]);
    4054                 :          44 :                   res_op0 = _r1;
    4055                 :             :                 }
    4056                 :          44 :                 tree _r;
    4057                 :          44 :                 _r = fold_build1_loc (loc, NOP_EXPR, type, res_op0);
    4058                 :          44 :                 if (UNLIKELY (debug_dump)) generic_dump_logs ("match.pd", 726, __FILE__, __LINE__, true);
    4059                 :          44 :                 return _r;
    4060                 :             :               }
    4061                 :           0 : next_after_fail1064:;
    4062                 :             :             }
    4063                 :             :       }
    4064                 :             :     }
    4065                 :             :   return NULL_TREE;
    4066                 :             : }
    4067                 :             : 
    4068                 :             : tree
    4069                 :          21 : generic_simplify_486 (location_t ARG_UNUSED (loc), const tree ARG_UNUSED (type),
    4070                 :             :  tree ARG_UNUSED (_p0), tree ARG_UNUSED (_p1), tree ARG_UNUSED (_p2), tree *ARG_UNUSED (captures))
    4071                 :             : {
    4072                 :          21 :   const bool debug_dump = dump_file && (dump_flags & TDF_FOLDING);
    4073                 :          21 :   if (TREE_SIDE_EFFECTS (_p0)) goto next_after_fail1086;
    4074                 :          21 :   if (TREE_SIDE_EFFECTS (_p2)) goto next_after_fail1086;
    4075                 :          21 :   if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail1086;
    4076                 :          21 :   {
    4077                 :          21 :     tree _r;
    4078                 :          21 :     _r = captures[2];
    4079                 :          21 :     if (UNLIKELY (debug_dump)) generic_dump_logs ("match.pd", 747, __FILE__, __LINE__, true);
    4080                 :             :     return _r;
    4081                 :             :   }
    4082                 :             : next_after_fail1086:;
    4083                 :             :   return NULL_TREE;
    4084                 :             : }
    4085                 :             : 
    4086                 :             : tree
    4087                 :           0 : generic_simplify_491 (location_t ARG_UNUSED (loc), const tree ARG_UNUSED (type),
    4088                 :             :  tree ARG_UNUSED (_p0), tree ARG_UNUSED (_p1), tree ARG_UNUSED (_p2), tree *ARG_UNUSED (captures),
    4089                 :             :  const enum tree_code ARG_UNUSED (cmp))
    4090                 :             : {
    4091                 :           0 :   const bool debug_dump = dump_file && (dump_flags & TDF_FOLDING);
    4092                 :           0 :   if (TREE_SIDE_EFFECTS (_p0)) goto next_after_fail1091;
    4093                 :           0 :   if (TREE_SIDE_EFFECTS (_p1)) goto next_after_fail1091;
    4094                 :           0 :   if (TREE_SIDE_EFFECTS (_p2)) goto next_after_fail1091;
    4095                 :           0 :   if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail1091;
    4096                 :           0 :   {
    4097                 :           0 :     tree _r;
    4098                 :           0 :     _r = captures[3];
    4099                 :           0 :     if (UNLIKELY (debug_dump)) generic_dump_logs ("match.pd", 752, __FILE__, __LINE__, true);
    4100                 :             :     return _r;
    4101                 :             :   }
    4102                 :             : next_after_fail1091:;
    4103                 :             :   return NULL_TREE;
    4104                 :             : }
    4105                 :             : 
    4106                 :             : tree
    4107                 :          22 : generic_simplify_497 (location_t ARG_UNUSED (loc), const tree ARG_UNUSED (type),
    4108                 :             :  tree ARG_UNUSED (_p0), tree ARG_UNUSED (_p1), tree ARG_UNUSED (_p2), tree *ARG_UNUSED (captures),
    4109                 :             :  const enum tree_code ARG_UNUSED (cmp))
    4110                 :             : {
    4111                 :          22 :   const bool debug_dump = dump_file && (dump_flags & TDF_FOLDING);
    4112                 :          22 :   if (INTEGRAL_TYPE_P (type)
    4113                 :          22 :  && INTEGRAL_TYPE_P (TREE_TYPE (captures[0]))
    4114                 :          22 :  && !TYPE_UNSIGNED (TREE_TYPE (captures[0]))
    4115                 :          44 :  && TYPE_PRECISION (TREE_TYPE (captures[0])) == TYPE_PRECISION (type)
    4116                 :             : )
    4117                 :             :     {
    4118                 :          22 :       {
    4119                 :          22 :  tree shifter = build_int_cst (integer_type_node, TYPE_PRECISION (type) - 1);
    4120                 :          22 :           if (cmp == LT_EXPR
    4121                 :             : )
    4122                 :             :             {
    4123                 :          13 :               if (TREE_SIDE_EFFECTS (_p0)) goto next_after_fail1098;
    4124                 :          13 :               if (TREE_SIDE_EFFECTS (captures[1])) goto next_after_fail1098;
    4125                 :          13 :               if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail1098;
    4126                 :          13 :               {
    4127                 :          13 :                 tree res_op0;
    4128                 :          13 :                 {
    4129                 :          13 :                   tree _o1[1], _r1;
    4130                 :          13 :                   {
    4131                 :          13 :                     tree _o2[2], _r2;
    4132                 :          13 :                     _o2[0] = captures[0];
    4133                 :          13 :                     _o2[1] = shifter;
    4134                 :          13 :                     _r2 = fold_build2_loc (loc, RSHIFT_EXPR, TREE_TYPE (_o2[0]), _o2[0], _o2[1]);
    4135                 :          13 :                     _o1[0] = _r2;
    4136                 :             :                   }
    4137                 :          13 :                   if (TREE_TYPE (_o1[0]) != type)
    4138                 :             :                     {
    4139                 :           1 :                       _r1 = fold_build1_loc (loc, NOP_EXPR, type, _o1[0]);
    4140                 :             :                     }
    4141                 :             :                   else
    4142                 :             :                     _r1 = _o1[0];
    4143                 :          13 :                   res_op0 = _r1;
    4144                 :             :                 }
    4145                 :          13 :                 tree res_op1;
    4146                 :          13 :                 res_op1 = captures[1];
    4147                 :          13 :                 tree _r;
    4148                 :          13 :                 _r = fold_build2_loc (loc, BIT_XOR_EXPR, type, res_op0, res_op1);
    4149                 :          13 :                 if (UNLIKELY (debug_dump)) generic_dump_logs ("match.pd", 758, __FILE__, __LINE__, true);
    4150                 :          13 :                 return _r;
    4151                 :             :               }
    4152                 :             : next_after_fail1098:;
    4153                 :             :             }
    4154                 :             :           else
    4155                 :             :             {
    4156                 :           9 :               if (TREE_SIDE_EFFECTS (_p0)) goto next_after_fail1099;
    4157                 :           9 :               if (TREE_SIDE_EFFECTS (captures[1])) goto next_after_fail1099;
    4158                 :           9 :               if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail1099;
    4159                 :           9 :               {
    4160                 :           9 :                 tree res_op0;
    4161                 :           9 :                 {
    4162                 :           9 :                   tree _o1[2], _r1;
    4163                 :           9 :                   {
    4164                 :           9 :                     tree _o2[1], _r2;
    4165                 :           9 :                     {
    4166                 :           9 :                       tree _o3[2], _r3;
    4167                 :           9 :                       _o3[0] = captures[0];
    4168                 :           9 :                       _o3[1] = shifter;
    4169                 :           9 :                       _r3 = fold_build2_loc (loc, RSHIFT_EXPR, TREE_TYPE (_o3[0]), _o3[0], _o3[1]);
    4170                 :           9 :                       _o2[0] = _r3;
    4171                 :             :                     }
    4172                 :           9 :                     if (TREE_TYPE (_o2[0]) != type)
    4173                 :             :                       {
    4174                 :           1 :                         _r2 = fold_build1_loc (loc, NOP_EXPR, type, _o2[0]);
    4175                 :             :                       }
    4176                 :             :                     else
    4177                 :             :                       _r2 = _o2[0];
    4178                 :           9 :                     _o1[0] = _r2;
    4179                 :             :                   }
    4180                 :           9 :                   _o1[1] = captures[1];
    4181                 :           9 :                   _r1 = fold_build2_loc (loc, BIT_XOR_EXPR, TREE_TYPE (_o1[0]), _o1[0], _o1[1]);
    4182                 :           9 :                   res_op0 = _r1;
    4183                 :             :                 }
    4184                 :           9 :                 tree _r;
    4185                 :           9 :                 _r = fold_build1_loc (loc, BIT_NOT_EXPR, type, res_op0);
    4186                 :           9 :                 if (UNLIKELY (debug_dump)) generic_dump_logs ("match.pd", 759, __FILE__, __LINE__, true);
    4187                 :           9 :                 return _r;
    4188                 :             :               }
    4189                 :             : next_after_fail1099:;
    4190                 :             :             }
    4191                 :             :       }
    4192                 :             :     }
    4193                 :             :   return NULL_TREE;
    4194                 :             : }
    4195                 :             : 
    4196                 :             : tree
    4197                 :           0 : generic_simplify_515 (location_t ARG_UNUSED (loc), const tree ARG_UNUSED (type),
    4198                 :             :  tree ARG_UNUSED (_p0), tree ARG_UNUSED (_p1), tree *ARG_UNUSED (captures),
    4199                 :             :  const combined_fn ARG_UNUSED (FMAX_ALL))
    4200                 :             : {
    4201                 :           0 :   const bool debug_dump = dump_file && (dump_flags & TDF_FOLDING);
    4202                 :           0 :   if (flag_finite_math_only
    4203                 :             : )
    4204                 :             :     {
    4205                 :           0 :       if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail1130;
    4206                 :           0 :       {
    4207                 :           0 :         tree res_op0;
    4208                 :           0 :         res_op0 = captures[0];
    4209                 :           0 :         tree res_op1;
    4210                 :           0 :         res_op1 = captures[1];
    4211                 :           0 :         tree _r;
    4212                 :           0 :         _r = fold_build2_loc (loc, MAX_EXPR, type, res_op0, res_op1);
    4213                 :           0 :         if (UNLIKELY (debug_dump)) generic_dump_logs ("match.pd", 777, __FILE__, __LINE__, true);
    4214                 :           0 :         return _r;
    4215                 :             :       }
    4216                 :           0 : next_after_fail1130:;
    4217                 :             :     }
    4218                 :             :   return NULL_TREE;
    4219                 :             : }
    4220                 :             : 
    4221                 :             : tree
    4222                 :           6 : generic_simplify_523 (location_t ARG_UNUSED (loc), const tree ARG_UNUSED (type),
    4223                 :             :  tree ARG_UNUSED (_p0), tree ARG_UNUSED (_p1), tree ARG_UNUSED (_p2), tree *ARG_UNUSED (captures))
    4224                 :             : {
    4225                 :           6 :   const bool debug_dump = dump_file && (dump_flags & TDF_FOLDING);
    4226                 :           6 :   if (TREE_SIDE_EFFECTS (_p1)) goto next_after_fail1141;
    4227                 :           6 :   if (TREE_SIDE_EFFECTS (_p2)) goto next_after_fail1141;
    4228                 :           6 :   if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail1141;
    4229                 :           6 :   {
    4230                 :           6 :     tree _r;
    4231                 :           6 :     _r = captures[2];
    4232                 :           6 :     if (UNLIKELY (debug_dump)) generic_dump_logs ("match.pd", 735, __FILE__, __LINE__, true);
    4233                 :             :     return _r;
    4234                 :             :   }
    4235                 :             : next_after_fail1141:;
    4236                 :             :   return NULL_TREE;
    4237                 :             : }
    4238                 :             : 
    4239                 :             : tree
    4240                 :           0 : generic_simplify_530 (location_t ARG_UNUSED (loc), const tree ARG_UNUSED (type),
    4241                 :             :  tree ARG_UNUSED (_p0), tree ARG_UNUSED (_p1), tree ARG_UNUSED (_p2), tree *ARG_UNUSED (captures),
    4242                 :             :  const combined_fn ARG_UNUSED (cond_op))
    4243                 :             : {
    4244                 :           0 :   const bool debug_dump = dump_file && (dump_flags & TDF_FOLDING);
    4245                 :           0 :   {
    4246                 :           0 :  tree op_type = TREE_TYPE (captures[4]);
    4247                 :           0 :       if (element_precision (type) == element_precision (op_type)
    4248                 :             : )
    4249                 :             :         {
    4250                 :           0 :           if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail1148;
    4251                 :           0 :           {
    4252                 :           0 :             tree res_op0;
    4253                 :           0 :             {
    4254                 :           0 :               tree _o1[5], _r1;
    4255                 :           0 :               _o1[0] = captures[0];
    4256                 :           0 :               _o1[1] = captures[1];
    4257                 :           0 :               _o1[2] = captures[2];
    4258                 :           0 :               _o1[3] = captures[3];
    4259                 :           0 :               {
    4260                 :           0 :                 tree _o2[1], _r2;
    4261                 :           0 :                 _o2[0] = captures[5];
    4262                 :           0 :                 if (TREE_TYPE (_o2[0]) != op_type)
    4263                 :             :                   {
    4264                 :           0 :                     _r2 = fold_build1_loc (loc, VIEW_CONVERT_EXPR, op_type, _o2[0]);
    4265                 :             :                   }
    4266                 :             :                 else
    4267                 :             :                   _r2 = _o2[0];
    4268                 :           0 :                 _o1[4] = _r2;
    4269                 :             :               }
    4270                 :           0 :               _r1 = maybe_build_call_expr_loc (loc, cond_op, TREE_TYPE (_o1[1]), 5, _o1[0], _o1[1], _o1[2], _o1[3], _o1[4]);
    4271                 :           0 :               if (!_r1)
    4272                 :           0 :                 goto next_after_fail1148;
    4273                 :           0 :               res_op0 = _r1;
    4274                 :             :             }
    4275                 :           0 :             tree _r;
    4276                 :           0 :             _r = fold_build1_loc (loc, VIEW_CONVERT_EXPR, type, res_op0);
    4277                 :           0 :             if (TREE_SIDE_EFFECTS (captures[4]))
    4278                 :           0 :               _r = build2_loc (loc, COMPOUND_EXPR, type, fold_ignored_result (captures[4]), _r);
    4279                 :           0 :             if (UNLIKELY (debug_dump)) generic_dump_logs ("match.pd", 790, __FILE__, __LINE__, true);
    4280                 :           0 :             return _r;
    4281                 :             :           }
    4282                 :             : next_after_fail1148:;
    4283                 :             :         }
    4284                 :             :   }
    4285                 :             :   return NULL_TREE;
    4286                 :             : }
    4287                 :             : 
    4288                 :             : tree
    4289                 :     2427647 : generic_simplify_538 (location_t ARG_UNUSED (loc), const tree ARG_UNUSED (type),
    4290                 :             :  tree ARG_UNUSED (_p0), tree ARG_UNUSED (_p1), tree *ARG_UNUSED (captures),
    4291                 :             :  const enum tree_code ARG_UNUSED (cmp))
    4292                 :             : {
    4293                 :     2427647 :   const bool debug_dump = dump_file && (dump_flags & TDF_FOLDING);
    4294                 :     2427647 :   if (REAL_VALUE_ISNAN (TREE_REAL_CST (captures[1]))
    4295                 :     2427647 :  && (cmp != LTGT_EXPR || ! flag_trapping_math)
    4296                 :             : )
    4297                 :             :     {
    4298                 :          10 :       if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail1156;
    4299                 :          10 :       {
    4300                 :          10 :         tree _r;
    4301                 :          20 :         _r =  constant_boolean_node (cmp == ORDERED_EXPR || cmp == LTGT_EXPR
    4302                 :          10 :  ? false : true, type);
    4303                 :          10 :         if (TREE_SIDE_EFFECTS (captures[0]))
    4304                 :           0 :           _r = build2_loc (loc, COMPOUND_EXPR, type, fold_ignored_result (captures[0]), _r);
    4305                 :          10 :         if (TREE_SIDE_EFFECTS (captures[1]))
    4306                 :           0 :           _r = build2_loc (loc, COMPOUND_EXPR, type, fold_ignored_result (captures[1]), _r);
    4307                 :          10 :         if (UNLIKELY (debug_dump)) generic_dump_logs ("match.pd", 798, __FILE__, __LINE__, true);
    4308                 :          10 :         return _r;
    4309                 :             :       }
    4310                 :           0 : next_after_fail1156:;
    4311                 :             :     }
    4312                 :             :   return NULL_TREE;
    4313                 :             : }
    4314                 :             : 
    4315                 :             : tree
    4316                 :           0 : generic_simplify_549 (location_t ARG_UNUSED (loc), const tree ARG_UNUSED (type),
    4317                 :             :  tree ARG_UNUSED (_p0), tree *ARG_UNUSED (captures),
    4318                 :             :  const combined_fn ARG_UNUSED (fns))
    4319                 :             : {
    4320                 :           0 :   const bool debug_dump = dump_file && (dump_flags & TDF_FOLDING);
    4321                 :           0 :   if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail1167;
    4322                 :           0 :   {
    4323                 :           0 :     tree res_op0;
    4324                 :           0 :     res_op0 = captures[0];
    4325                 :           0 :     tree _r;
    4326                 :           0 :     _r = maybe_build_call_expr_loc (loc, fns, type, 1, res_op0);
    4327                 :           0 :     if (!_r)
    4328                 :           0 :       goto next_after_fail1167;
    4329                 :           0 :     if (UNLIKELY (debug_dump)) generic_dump_logs ("match.pd", 809, __FILE__, __LINE__, true);
    4330                 :             :     return _r;
    4331                 :             :   }
    4332                 :             : next_after_fail1167:;
    4333                 :             :   return NULL_TREE;
    4334                 :             : }
    4335                 :             : 
    4336                 :             : tree
    4337                 :           0 : generic_simplify_557 (location_t ARG_UNUSED (loc), const tree ARG_UNUSED (type),
    4338                 :             :  tree ARG_UNUSED (_p0), tree *ARG_UNUSED (captures),
    4339                 :             :  const combined_fn ARG_UNUSED (froms),
    4340                 :             :  const combined_fn ARG_UNUSED (tos))
    4341                 :             : {
    4342                 :           0 :   const bool debug_dump = dump_file && (dump_flags & TDF_FOLDING);
    4343                 :           0 :   if (optimize && canonicalize_math_p ()
    4344                 :             : )
    4345                 :             :     {
    4346                 :           0 :       if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail1175;
    4347                 :           0 :       {
    4348                 :           0 :         tree res_op0;
    4349                 :           0 :         res_op0 = captures[0];
    4350                 :           0 :         tree _r;
    4351                 :           0 :         _r = maybe_build_call_expr_loc (loc, tos, type, 1, res_op0);
    4352                 :           0 :         if (!_r)
    4353                 :           0 :           goto next_after_fail1175;
    4354                 :           0 :         if (UNLIKELY (debug_dump)) generic_dump_logs ("match.pd", 817, __FILE__, __LINE__, true);
    4355                 :           0 :         return _r;
    4356                 :             :       }
    4357                 :             : next_after_fail1175:;
    4358                 :             :     }
    4359                 :             :   return NULL_TREE;
    4360                 :             : }
    4361                 :             : 
    4362                 :             : tree
    4363                 :           0 : generic_simplify_565 (location_t ARG_UNUSED (loc), const tree ARG_UNUSED (type),
    4364                 :             :  tree ARG_UNUSED (_p0), tree ARG_UNUSED (_p1), tree ARG_UNUSED (_p2), tree *ARG_UNUSED (captures),
    4365                 :             :  const combined_fn ARG_UNUSED (fmas))
    4366                 :             : {
    4367                 :           0 :   const bool debug_dump = dump_file && (dump_flags & TDF_FOLDING);
    4368                 :           0 :   if (canonicalize_math_after_vectorization_p ()
    4369                 :             : )
    4370                 :             :     {
    4371                 :             :       if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail1183;
    4372                 :             :       {
    4373                 :             :         tree res_op0;
    4374                 :             :         res_op0 = captures[0];
    4375                 :             :         tree res_op1;
    4376                 :             :         res_op1 = captures[1];
    4377                 :             :         tree res_op2;
    4378                 :             :         res_op2 = captures[2];
    4379                 :             :         tree _r;
    4380                 :             :         _r = maybe_build_call_expr_loc (loc, CFN_FNMA, type, 3, res_op0, res_op1, res_op2);
    4381                 :             :         if (!_r)
    4382                 :             :           goto next_after_fail1183;
    4383                 :             :         if (UNLIKELY (debug_dump)) generic_dump_logs ("match.pd", 825, __FILE__, __LINE__, true);
    4384                 :             :         return _r;
    4385                 :             :       }
    4386                 :           0 : next_after_fail1183:;
    4387                 :             :     }
    4388                 :           0 :   return NULL_TREE;
    4389                 :             : }
    4390                 :             : 
    4391                 :             : tree
    4392                 :           0 : generic_simplify_574 (location_t ARG_UNUSED (loc), const tree ARG_UNUSED (type),
    4393                 :             :  tree ARG_UNUSED (_p0), tree *ARG_UNUSED (captures),
    4394                 :             :  const combined_fn ARG_UNUSED (ctz))
    4395                 :             : {
    4396                 :           0 :   const bool debug_dump = dump_file && (dump_flags & TDF_FOLDING);
    4397                 :           0 :   {
    4398                 :           0 :  tree t = TREE_TYPE (captures[0]);
    4399                 :           0 :       if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail1192;
    4400                 :           0 :       {
    4401                 :           0 :         tree res_op0;
    4402                 :           0 :         {
    4403                 :           0 :           tree _o1[1], _r1;
    4404                 :           0 :           _o1[0] = captures[1];
    4405                 :           0 :           if (TREE_TYPE (_o1[0]) != t)
    4406                 :             :             {
    4407                 :           0 :               _r1 = fold_build1_loc (loc, NOP_EXPR, t, _o1[0]);
    4408                 :             :             }
    4409                 :             :           else
    4410                 :             :             _r1 = _o1[0];
    4411                 :           0 :           res_op0 = _r1;
    4412                 :             :         }
    4413                 :           0 :         tree _r;
    4414                 :           0 :         _r = maybe_build_call_expr_loc (loc, ctz, type, 1, res_op0);
    4415                 :           0 :         if (!_r)
    4416                 :           0 :           goto next_after_fail1192;
    4417                 :           0 :         if (UNLIKELY (debug_dump)) generic_dump_logs ("match.pd", 834, __FILE__, __LINE__, true);
    4418                 :             :         return _r;
    4419                 :             :       }
    4420                 :             : next_after_fail1192:;
    4421                 :             :   }
    4422                 :             :   return NULL_TREE;
    4423                 :             : }
    4424                 :             : 
    4425                 :             : tree
    4426                 :           0 : generic_simplify_584 (location_t ARG_UNUSED (loc), const tree ARG_UNUSED (type),
    4427                 :             :  tree ARG_UNUSED (_p0), tree *ARG_UNUSED (captures),
    4428                 :             :  const combined_fn ARG_UNUSED (bswap),
    4429                 :             :  const combined_fn ARG_UNUSED (parity))
    4430                 :             : {
    4431                 :           0 :   const bool debug_dump = dump_file && (dump_flags & TDF_FOLDING);
    4432                 :           0 :   if (INTEGRAL_TYPE_P (TREE_TYPE (captures[0]))
    4433                 :           0 :  && INTEGRAL_TYPE_P (TREE_TYPE (captures[1]))
    4434                 :           0 :  && TYPE_PRECISION (TREE_TYPE (captures[0]))
    4435                 :           0 :  >= TYPE_PRECISION (TREE_TYPE (captures[1]))
    4436                 :             : )
    4437                 :             :     {
    4438                 :           0 :       {
    4439                 :           0 :  tree type0 = TREE_TYPE (captures[0]);
    4440                 :           0 :  tree type1 = TREE_TYPE (captures[1]);
    4441                 :           0 :           if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail1203;
    4442                 :           0 :           {
    4443                 :           0 :             tree res_op0;
    4444                 :           0 :             {
    4445                 :           0 :               tree _o1[1], _r1;
    4446                 :           0 :               {
    4447                 :           0 :                 tree _o2[1], _r2;
    4448                 :           0 :                 _o2[0] = captures[2];
    4449                 :           0 :                 if (TREE_TYPE (_o2[0]) != type1)
    4450                 :             :                   {
    4451                 :           0 :                     _r2 = fold_build1_loc (loc, NOP_EXPR, type1, _o2[0]);
    4452                 :             :                   }
    4453                 :             :                 else
    4454                 :             :                   _r2 = _o2[0];
    4455                 :           0 :                 _o1[0] = _r2;
    4456                 :             :               }
    4457                 :           0 :               if (TREE_TYPE (_o1[0]) != type0)
    4458                 :             :                 {
    4459                 :           0 :                   _r1 = fold_build1_loc (loc, NOP_EXPR, type0, _o1[0]);
    4460                 :             :                 }
    4461                 :             :               else
    4462                 :             :                 _r1 = _o1[0];
    4463                 :           0 :               res_op0 = _r1;
    4464                 :             :             }
    4465                 :           0 :             tree _r;
    4466                 :           0 :             _r = maybe_build_call_expr_loc (loc, parity, type, 1, res_op0);
    4467                 :           0 :             if (!_r)
    4468                 :           0 :               goto next_after_fail1203;
    4469                 :           0 :             if (UNLIKELY (debug_dump)) generic_dump_logs ("match.pd", 840, __FILE__, __LINE__, true);
    4470                 :           0 :             return _r;
    4471                 :             :           }
    4472                 :             : next_after_fail1203:;
    4473                 :             :       }
    4474                 :             :     }
    4475                 :             :   return NULL_TREE;
    4476                 :             : }
    4477                 :             : 
    4478                 :             : tree
    4479                 :         939 : generic_simplify_ABSU_EXPR (location_t ARG_UNUSED (loc), enum tree_code ARG_UNUSED (code), const tree ARG_UNUSED (type), tree _p0)
    4480                 :             : {
    4481                 :         939 :   const bool debug_dump = dump_file && (dump_flags & TDF_FOLDING);
    4482                 :         939 :   switch (TREE_CODE (_p0))
    4483                 :             :     {
    4484                 :         541 :     CASE_CONVERT:
    4485                 :         541 :       {
    4486                 :         541 :         tree _q20 = TREE_OPERAND (_p0, 0);
    4487                 :         541 :         switch (TREE_CODE (_q20))
    4488                 :             :           {
    4489                 :           0 :           case ABSU_EXPR:
    4490                 :           0 :             {
    4491                 :           0 :               tree _q30 = TREE_OPERAND (_q20, 0);
    4492                 :           0 :               {
    4493                 :           0 :                 tree captures[3] ATTRIBUTE_UNUSED = { _p0, _q20, _q30 };
    4494                 :           0 :                 if (tree_nop_conversion_p (TREE_TYPE (captures[0]), TREE_TYPE (captures[1]))
    4495                 :             : )
    4496                 :             :                   {
    4497                 :           0 :                     if (TREE_SIDE_EFFECTS (_p0)) goto next_after_fail1247;
    4498                 :           0 :                     if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail1247;
    4499                 :           0 :                     {
    4500                 :           0 :                       tree _r;
    4501                 :           0 :                       _r = captures[1];
    4502                 :           0 :                       if (UNLIKELY (debug_dump)) generic_dump_logs ("match.pd", 874, __FILE__, __LINE__, true);
    4503                 :           0 :                       return _r;
    4504                 :             :                     }
    4505                 :           0 : next_after_fail1247:;
    4506                 :             :                   }
    4507                 :             :               }
    4508                 :           0 :               break;
    4509                 :             :             }
    4510                 :             :           default:;
    4511                 :             :           }
    4512                 :             :         break;
    4513                 :             :       }
    4514                 :           6 :     case NEGATE_EXPR:
    4515                 :           6 :       {
    4516                 :           6 :         tree _q20 = TREE_OPERAND (_p0, 0);
    4517                 :           6 :         {
    4518                 :           6 :           tree captures[1] ATTRIBUTE_UNUSED = { _q20 };
    4519                 :           6 :           if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail1248;
    4520                 :           6 :           {
    4521                 :           6 :             tree res_op0;
    4522                 :           6 :             res_op0 = captures[0];
    4523                 :           6 :             tree _r;
    4524                 :           6 :             _r = fold_build1_loc (loc, ABSU_EXPR, type, res_op0);
    4525                 :           6 :             if (UNLIKELY (debug_dump)) generic_dump_logs ("match.pd", 875, __FILE__, __LINE__, true);
    4526                 :         939 :             return _r;
    4527                 :             :           }
    4528                 :           0 : next_after_fail1248:;
    4529                 :             :         }
    4530                 :           0 :         break;
    4531                 :             :       }
    4532                 :           0 :     case VEC_COND_EXPR:
    4533                 :           0 :       {
    4534                 :           0 :         tree _q20 = TREE_OPERAND (_p0, 0);
    4535                 :           0 :         tree _q21 = TREE_OPERAND (_p0, 1);
    4536                 :           0 :         tree _q22 = TREE_OPERAND (_p0, 2);
    4537                 :           0 :         {
    4538                 :           0 :           tree captures[4] ATTRIBUTE_UNUSED = { _p0, _q20, _q21, _q22 };
    4539                 :           0 :           if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail1249;
    4540                 :           0 :           {
    4541                 :           0 :             tree res_op0;
    4542                 :           0 :             res_op0 = captures[1];
    4543                 :           0 :             tree res_op1;
    4544                 :           0 :             {
    4545                 :           0 :               tree _o1[1], _r1;
    4546                 :           0 :               _o1[0] = captures[2];
    4547                 :           0 :               _r1 = fold_build1_loc (loc, ABSU_EXPR, TREE_TYPE (_o1[0]), _o1[0]);
    4548                 :           0 :               if (EXPR_P (_r1))
    4549                 :           0 :                 goto next_after_fail1249;
    4550                 :           0 :               res_op1 = _r1;
    4551                 :             :             }
    4552                 :           0 :             tree res_op2;
    4553                 :           0 :             {
    4554                 :           0 :               tree _o1[1], _r1;
    4555                 :           0 :               _o1[0] = captures[3];
    4556                 :           0 :               _r1 = fold_build1_loc (loc, ABSU_EXPR, TREE_TYPE (_o1[0]), _o1[0]);
    4557                 :           0 :               if (EXPR_P (_r1))
    4558                 :           0 :                 goto next_after_fail1249;
    4559                 :           0 :               res_op2 = _r1;
    4560                 :             :             }
    4561                 :           0 :             tree _r;
    4562                 :           0 :             _r = fold_build3_loc (loc, VEC_COND_EXPR, type, res_op0, res_op1, res_op2);
    4563                 :           0 :             if (UNLIKELY (debug_dump)) generic_dump_logs ("match.pd", 849, __FILE__, __LINE__, true);
    4564                 :           0 :             return _r;
    4565                 :             :           }
    4566                 :           0 : next_after_fail1249:;
    4567                 :             :         }
    4568                 :           0 :         break;
    4569                 :             :       }
    4570                 :         933 :     default:;
    4571                 :             :     }
    4572                 :         933 : if (tree_expr_nonnegative_p (_p0))
    4573                 :             :   {
    4574                 :           0 :     {
    4575                 :           0 :       tree captures[1] ATTRIBUTE_UNUSED = { _p0 };
    4576                 :           0 :       if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail1250;
    4577                 :           0 :       {
    4578                 :           0 :         tree res_op0;
    4579                 :           0 :         res_op0 = captures[0];
    4580                 :           0 :         tree _r;
    4581                 :           0 :         _r = fold_build1_loc (loc, NOP_EXPR, type, res_op0);
    4582                 :           0 :         if (UNLIKELY (debug_dump)) generic_dump_logs ("match.pd", 876, __FILE__, __LINE__, true);
    4583                 :           0 :         return _r;
    4584                 :             :       }
    4585                 :           0 : next_after_fail1250:;
    4586                 :             :     }
    4587                 :             :   }
    4588                 :             :   return NULL_TREE;
    4589                 :             : }
    4590                 :             : 
    4591                 :             : tree
    4592                 :     2100530 : generic_simplify_IMAGPART_EXPR (location_t ARG_UNUSED (loc), enum tree_code ARG_UNUSED (code), const tree ARG_UNUSED (type), tree _p0)
    4593                 :             : {
    4594                 :     2100530 :   const bool debug_dump = dump_file && (dump_flags & TDF_FOLDING);
    4595                 :     2100530 :   switch (TREE_CODE (_p0))
    4596                 :             :     {
    4597                 :        1731 :     case COMPLEX_EXPR:
    4598                 :        1731 :       {
    4599                 :        1731 :         tree _q20 = TREE_OPERAND (_p0, 0);
    4600                 :        1731 :         tree _q21 = TREE_OPERAND (_p0, 1);
    4601                 :        1731 :         {
    4602                 :        1731 :           tree captures[2] ATTRIBUTE_UNUSED = { _q20, _q21 };
    4603                 :        1731 :           if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail1314;
    4604                 :        1731 :           {
    4605                 :        1731 :             tree _r;
    4606                 :        1731 :             _r = captures[1];
    4607                 :        1731 :             if (TREE_SIDE_EFFECTS (captures[0]))
    4608                 :         522 :               _r = build2_loc (loc, COMPOUND_EXPR, type, fold_ignored_result (captures[0]), _r);
    4609                 :        1731 :             if (UNLIKELY (debug_dump)) generic_dump_logs ("match.pd", 898, __FILE__, __LINE__, true);
    4610                 :        1731 :             return _r;
    4611                 :             :           }
    4612                 :           0 : next_after_fail1314:;
    4613                 :             :         }
    4614                 :           0 :         break;
    4615                 :             :       }
    4616                 :       48704 :     CASE_CONVERT:
    4617                 :       48704 :       {
    4618                 :       48704 :         tree _q20 = TREE_OPERAND (_p0, 0);
    4619                 :       48704 :         switch (TREE_CODE (_q20))
    4620                 :             :           {
    4621                 :           0 :           case CONJ_EXPR:
    4622                 :           0 :             {
    4623                 :           0 :               tree _q30 = TREE_OPERAND (_q20, 0);
    4624                 :           0 :               {
    4625                 :           0 :                 tree captures[3] ATTRIBUTE_UNUSED = { _p0, _q20, _q30 };
    4626                 :           0 :                 if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail1315;
    4627                 :           0 :                 {
    4628                 :           0 :                   tree res_op0;
    4629                 :           0 :                   {
    4630                 :           0 :                     tree _o1[1], _r1;
    4631                 :           0 :                     {
    4632                 :           0 :                       tree _o2[1], _r2;
    4633                 :           0 :                       _o2[0] = captures[2];
    4634                 :           0 :                       _r2 = fold_build1_loc (loc, IMAGPART_EXPR, TREE_TYPE (TREE_TYPE (_o2[0])), _o2[0]);
    4635                 :           0 :                       _o1[0] = _r2;
    4636                 :             :                     }
    4637                 :           0 :                     _r1 = fold_build1_loc (loc, NEGATE_EXPR, TREE_TYPE (_o1[0]), _o1[0]);
    4638                 :           0 :                     res_op0 = _r1;
    4639                 :             :                   }
    4640                 :           0 :                   tree _r;
    4641                 :           0 :                   _r = fold_build1_loc (loc, NOP_EXPR, type, res_op0);
    4642                 :           0 :                   if (UNLIKELY (debug_dump)) generic_dump_logs ("match.pd", 899, __FILE__, __LINE__, true);
    4643                 :           0 :                   return _r;
    4644                 :             :                 }
    4645                 :           0 : next_after_fail1315:;
    4646                 :             :               }
    4647                 :           0 :               break;
    4648                 :             :             }
    4649                 :           0 :           case PLUS_EXPR:
    4650                 :           0 :             {
    4651                 :           0 :               tree _q30 = TREE_OPERAND (_q20, 0);
    4652                 :           0 :               tree _q31 = TREE_OPERAND (_q20, 1);
    4653                 :           0 :               {
    4654                 :           0 :                 tree captures[4] ATTRIBUTE_UNUSED = { _p0, _q20, _q30, _q31 };
    4655                 :           0 :                 const enum tree_code op = PLUS_EXPR;
    4656                 :           0 :                 if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail1316;
    4657                 :           0 :                 {
    4658                 :           0 :                   tree res_op0;
    4659                 :           0 :                   {
    4660                 :           0 :                     tree _o1[2], _r1;
    4661                 :           0 :                     {
    4662                 :           0 :                       tree _o2[1], _r2;
    4663                 :           0 :                       _o2[0] = captures[2];
    4664                 :           0 :                       _r2 = fold_build1_loc (loc, IMAGPART_EXPR, TREE_TYPE (TREE_TYPE (_o2[0])), _o2[0]);
    4665                 :           0 :                       _o1[0] = _r2;
    4666                 :             :                     }
    4667                 :           0 :                     {
    4668                 :           0 :                       tree _o2[1], _r2;
    4669                 :           0 :                       _o2[0] = captures[3];
    4670                 :           0 :                       _r2 = fold_build1_loc (loc, IMAGPART_EXPR, TREE_TYPE (TREE_TYPE (_o2[0])), _o2[0]);
    4671                 :           0 :                       _o1[1] = _r2;
    4672                 :             :                     }
    4673                 :           0 :                     _r1 = fold_build2_loc (loc, op, TREE_TYPE (_o1[0]), _o1[0], _o1[1]);
    4674                 :           0 :                     res_op0 = _r1;
    4675                 :             :                   }
    4676                 :           0 :                   tree _r;
    4677                 :           0 :                   _r = fold_build1_loc (loc, NOP_EXPR, type, res_op0);
    4678                 :           0 :                   if (UNLIKELY (debug_dump)) generic_dump_logs ("match.pd", 896, __FILE__, __LINE__, true);
    4679                 :           0 :                   return _r;
    4680                 :             :                 }
    4681                 :           0 : next_after_fail1316:;
    4682                 :             :               }
    4683                 :           0 :               break;
    4684                 :             :             }
    4685                 :           0 :           case MINUS_EXPR:
    4686                 :           0 :             {
    4687                 :           0 :               tree _q30 = TREE_OPERAND (_q20, 0);
    4688                 :           0 :               tree _q31 = TREE_OPERAND (_q20, 1);
    4689                 :           0 :               {
    4690                 :           0 :                 tree captures[4] ATTRIBUTE_UNUSED = { _p0, _q20, _q30, _q31 };
    4691                 :           0 :                 const enum tree_code op = MINUS_EXPR;
    4692                 :           0 :                 if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail1317;
    4693                 :           0 :                 {
    4694                 :           0 :                   tree res_op0;
    4695                 :           0 :                   {
    4696                 :           0 :                     tree _o1[2], _r1;
    4697                 :           0 :                     {
    4698                 :           0 :                       tree _o2[1], _r2;
    4699                 :           0 :                       _o2[0] = captures[2];
    4700                 :           0 :                       _r2 = fold_build1_loc (loc, IMAGPART_EXPR, TREE_TYPE (TREE_TYPE (_o2[0])), _o2[0]);
    4701                 :           0 :                       _o1[0] = _r2;
    4702                 :             :                     }
    4703                 :           0 :                     {
    4704                 :           0 :                       tree _o2[1], _r2;
    4705                 :           0 :                       _o2[0] = captures[3];
    4706                 :           0 :                       _r2 = fold_build1_loc (loc, IMAGPART_EXPR, TREE_TYPE (TREE_TYPE (_o2[0])), _o2[0]);
    4707                 :           0 :                       _o1[1] = _r2;
    4708                 :             :                     }
    4709                 :           0 :                     _r1 = fold_build2_loc (loc, op, TREE_TYPE (_o1[0]), _o1[0], _o1[1]);
    4710                 :           0 :                     res_op0 = _r1;
    4711                 :             :                   }
    4712                 :           0 :                   tree _r;
    4713                 :           0 :                   _r = fold_build1_loc (loc, NOP_EXPR, type, res_op0);
    4714                 :           0 :                   if (UNLIKELY (debug_dump)) generic_dump_logs ("match.pd", 896, __FILE__, __LINE__, true);
    4715                 :           0 :                   return _r;
    4716                 :             :                 }
    4717                 :           0 : next_after_fail1317:;
    4718                 :             :               }
    4719                 :           0 :               break;
    4720                 :             :             }
    4721                 :           0 :           case CALL_EXPR:
    4722                 :           0 :             switch (get_call_combined_fn (_q20))
    4723                 :             :               {
    4724                 :           0 :               case CFN_BUILT_IN_CEXPIF:
    4725                 :           0 :                 if (call_expr_nargs (_q20) == 1)
    4726                 :             :     {
    4727                 :           0 :                     tree _q30 = CALL_EXPR_ARG (_q20, 0);
    4728                 :           0 :                     {
    4729                 :           0 :                       tree captures[3] ATTRIBUTE_UNUSED = { _p0, _q20, _q30 };
    4730                 :           0 :                       if (single_use (captures[1]) && single_use (captures[0])
    4731                 :             : )
    4732                 :             :                         {
    4733                 :           0 :                           if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail1318;
    4734                 :           0 :                           {
    4735                 :           0 :                             tree res_op0;
    4736                 :           0 :                             {
    4737                 :           0 :                               tree _o1[1], _r1;
    4738                 :           0 :                               _o1[0] = captures[2];
    4739                 :           0 :                               _r1 = maybe_build_call_expr_loc (loc, CFN_BUILT_IN_SINF, TREE_TYPE (_o1[0]), 1, _o1[0]);
    4740                 :           0 :                               if (!_r1)
    4741                 :           0 :                                 goto next_after_fail1318;
    4742                 :           0 :                               res_op0 = _r1;
    4743                 :             :                             }
    4744                 :           0 :                             tree _r;
    4745                 :           0 :                             _r = fold_build1_loc (loc, NOP_EXPR, type, res_op0);
    4746                 :           0 :                             if (UNLIKELY (debug_dump)) generic_dump_logs ("match.pd", 900, __FILE__, __LINE__, true);
    4747                 :           0 :                             return _r;
    4748                 :             :                           }
    4749                 :           0 : next_after_fail1318:;
    4750                 :             :                         }
    4751                 :             :                     }
    4752                 :             :                   }
    4753                 :             :                 break;
    4754                 :           0 :               case CFN_BUILT_IN_CEXPIL:
    4755                 :           0 :                 if (call_expr_nargs (_q20) == 1)
    4756                 :             :     {
    4757                 :           0 :                     tree _q30 = CALL_EXPR_ARG (_q20, 0);
    4758                 :           0 :                     {
    4759                 :           0 :                       tree captures[3] ATTRIBUTE_UNUSED = { _p0, _q20, _q30 };
    4760                 :           0 :                       if (single_use (captures[1]) && single_use (captures[0])
    4761                 :             : )
    4762                 :             :                         {
    4763                 :           0 :                           if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail1319;
    4764                 :           0 :                           {
    4765                 :           0 :                             tree res_op0;
    4766                 :           0 :                             {
    4767                 :           0 :                               tree _o1[1], _r1;
    4768                 :           0 :                               _o1[0] = captures[2];
    4769                 :           0 :                               _r1 = maybe_build_call_expr_loc (loc, CFN_BUILT_IN_SINL, TREE_TYPE (_o1[0]), 1, _o1[0]);
    4770                 :           0 :                               if (!_r1)
    4771                 :           0 :                                 goto next_after_fail1319;
    4772                 :           0 :                               res_op0 = _r1;
    4773                 :             :                             }
    4774                 :           0 :                             tree _r;
    4775                 :           0 :                             _r = fold_build1_loc (loc, NOP_EXPR, type, res_op0);
    4776                 :           0 :                             if (UNLIKELY (debug_dump)) generic_dump_logs ("match.pd", 900, __FILE__, __LINE__, true);
    4777                 :           0 :                             return _r;
    4778                 :             :                           }
    4779                 :           0 : next_after_fail1319:;
    4780                 :             :                         }
    4781                 :             :                     }
    4782                 :             :                   }
    4783                 :             :                 break;
    4784                 :           0 :               case CFN_BUILT_IN_CEXPI:
    4785                 :           0 :                 if (call_expr_nargs (_q20) == 1)
    4786                 :             :     {
    4787                 :           0 :                     tree _q30 = CALL_EXPR_ARG (_q20, 0);
    4788                 :           0 :                     {
    4789                 :           0 :                       tree captures[3] ATTRIBUTE_UNUSED = { _p0, _q20, _q30 };
    4790                 :           0 :                       if (single_use (captures[1]) && single_use (captures[0])
    4791                 :             : )
    4792                 :             :                         {
    4793                 :           0 :                           if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail1320;
    4794                 :           0 :                           {
    4795                 :           0 :                             tree res_op0;
    4796                 :           0 :                             {
    4797                 :           0 :                               tree _o1[1], _r1;
    4798                 :           0 :                               _o1[0] = captures[2];
    4799                 :           0 :                               _r1 = maybe_build_call_expr_loc (loc, CFN_BUILT_IN_SIN, TREE_TYPE (_o1[0]), 1, _o1[0]);
    4800                 :           0 :                               if (!_r1)
    4801                 :           0 :                                 goto next_after_fail1320;
    4802                 :           0 :                               res_op0 = _r1;
    4803                 :             :                             }
    4804                 :           0 :                             tree _r;
    4805                 :           0 :                             _r = fold_build1_loc (loc, NOP_EXPR, type, res_op0);
    4806                 :           0 :                             if (UNLIKELY (debug_dump)) generic_dump_logs ("match.pd", 900, __FILE__, __LINE__, true);
    4807                 :           0 :                             return _r;
    4808                 :             :                           }
    4809                 :           0 : next_after_fail1320:;
    4810                 :             :                         }
    4811                 :             :                     }
    4812                 :             :                   }
    4813                 :             :                 break;
    4814                 :             :               default:;
    4815                 :             :               }
    4816                 :             :             break;
    4817                 :             :           default:;
    4818                 :             :           }
    4819                 :             :         break;
    4820                 :             :       }
    4821                 :          16 :     case CONJ_EXPR:
    4822                 :          16 :       {
    4823                 :          16 :         tree _q20 = TREE_OPERAND (_p0, 0);
    4824                 :          16 :         {
    4825                 :          16 :           tree captures[3] ATTRIBUTE_UNUSED = { _p0, _p0, _q20 };
    4826                 :          16 :           if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail1321;
    4827                 :          16 :           {
    4828                 :          16 :             tree res_op0;
    4829                 :          16 :             {
    4830                 :          16 :               tree _o1[1], _r1;
    4831                 :          16 :               {
    4832                 :          16 :                 tree _o2[1], _r2;
    4833                 :          16 :                 _o2[0] = captures[2];
    4834                 :          16 :                 _r2 = fold_build1_loc (loc, IMAGPART_EXPR, TREE_TYPE (TREE_TYPE (_o2[0])), _o2[0]);
    4835                 :          16 :                 _o1[0] = _r2;
    4836                 :             :               }
    4837                 :          16 :               _r1 = fold_build1_loc (loc, NEGATE_EXPR, TREE_TYPE (_o1[0]), _o1[0]);
    4838                 :          16 :               res_op0 = _r1;
    4839                 :             :             }
    4840                 :          16 :             tree _r;
    4841                 :          16 :             _r = fold_build1_loc (loc, NOP_EXPR, type, res_op0);
    4842                 :          16 :             if (UNLIKELY (debug_dump)) generic_dump_logs ("match.pd", 899, __FILE__, __LINE__, true);
    4843                 :          16 :             return _r;
    4844                 :             :           }
    4845                 :           0 : next_after_fail1321:;
    4846                 :             :         }
    4847                 :           0 :         break;
    4848                 :             :       }
    4849                 :         365 :     case PLUS_EXPR:
    4850                 :         365 :       {
    4851                 :         365 :         tree _q20 = TREE_OPERAND (_p0, 0);
    4852                 :         365 :         tree _q21 = TREE_OPERAND (_p0, 1);
    4853                 :         365 :         {
    4854                 :         365 :           tree captures[4] ATTRIBUTE_UNUSED = { _p0, _p0, _q20, _q21 };
    4855                 :         365 :           const enum tree_code op = PLUS_EXPR;
    4856                 :         365 :           if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail1322;
    4857                 :         365 :           {
    4858                 :         365 :             tree res_op0;
    4859                 :         365 :             {
    4860                 :         365 :               tree _o1[2], _r1;
    4861                 :         365 :               {
    4862                 :         365 :                 tree _o2[1], _r2;
    4863                 :         365 :                 _o2[0] = captures[2];
    4864                 :         365 :                 _r2 = fold_build1_loc (loc, IMAGPART_EXPR, TREE_TYPE (TREE_TYPE (_o2[0])), _o2[0]);
    4865                 :         365 :                 _o1[0] = _r2;
    4866                 :             :               }
    4867                 :         365 :               {
    4868                 :         365 :                 tree _o2[1], _r2;
    4869                 :         365 :                 _o2[0] = captures[3];
    4870                 :         365 :                 _r2 = fold_build1_loc (loc, IMAGPART_EXPR, TREE_TYPE (TREE_TYPE (_o2[0])), _o2[0]);
    4871                 :         365 :                 _o1[1] = _r2;
    4872                 :             :               }
    4873                 :         365 :               _r1 = fold_build2_loc (loc, op, TREE_TYPE (_o1[0]), _o1[0], _o1[1]);
    4874                 :         365 :               res_op0 = _r1;
    4875                 :             :             }
    4876                 :         365 :             tree _r;
    4877                 :         365 :             _r = fold_build1_loc (loc, NOP_EXPR, type, res_op0);
    4878                 :         365 :             if (UNLIKELY (debug_dump)) generic_dump_logs ("match.pd", 896, __FILE__, __LINE__, true);
    4879                 :         365 :             return _r;
    4880                 :             :           }
    4881                 :           0 : next_after_fail1322:;
    4882                 :             :         }
    4883                 :           0 :         break;
    4884                 :             :       }
    4885                 :          47 :     case MINUS_EXPR:
    4886                 :          47 :       {
    4887                 :          47 :         tree _q20 = TREE_OPERAND (_p0, 0);
    4888                 :          47 :         tree _q21 = TREE_OPERAND (_p0, 1);
    4889                 :          47 :         {
    4890                 :          47 :           tree captures[4] ATTRIBUTE_UNUSED = { _p0, _p0, _q20, _q21 };
    4891                 :          47 :           const enum tree_code op = MINUS_EXPR;
    4892                 :          47 :           if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail1323;
    4893                 :          47 :           {
    4894                 :          47 :             tree res_op0;
    4895                 :          47 :             {
    4896                 :          47 :               tree _o1[2], _r1;
    4897                 :          47 :               {
    4898                 :          47 :                 tree _o2[1], _r2;
    4899                 :          47 :                 _o2[0] = captures[2];
    4900                 :          47 :                 _r2 = fold_build1_loc (loc, IMAGPART_EXPR, TREE_TYPE (TREE_TYPE (_o2[0])), _o2[0]);
    4901                 :          47 :                 _o1[0] = _r2;
    4902                 :             :               }
    4903                 :          47 :               {
    4904                 :          47 :                 tree _o2[1], _r2;
    4905                 :          47 :                 _o2[0] = captures[3];
    4906                 :          47 :                 _r2 = fold_build1_loc (loc, IMAGPART_EXPR, TREE_TYPE (TREE_TYPE (_o2[0])), _o2[0]);
    4907                 :          47 :                 _o1[1] = _r2;
    4908                 :             :               }
    4909                 :          47 :               _r1 = fold_build2_loc (loc, op, TREE_TYPE (_o1[0]), _o1[0], _o1[1]);
    4910                 :          47 :               res_op0 = _r1;
    4911                 :             :             }
    4912                 :          47 :             tree _r;
    4913                 :          47 :             _r = fold_build1_loc (loc, NOP_EXPR, type, res_op0);
    4914                 :          47 :             if (UNLIKELY (debug_dump)) generic_dump_logs ("match.pd", 896, __FILE__, __LINE__, true);
    4915                 :          47 :             return _r;
    4916                 :             :           }
    4917                 :           0 : next_after_fail1323:;
    4918                 :             :         }
    4919                 :           0 :         break;
    4920                 :             :       }
    4921                 :       54884 :     case CALL_EXPR:
    4922                 :       54884 :       switch (get_call_combined_fn (_p0))
    4923                 :             :         {
    4924                 :       20548 :         case CFN_MUL_OVERFLOW:
    4925                 :       20548 :           if (call_expr_nargs (_p0) == 2)
    4926                 :             :     {
    4927                 :       20548 :               tree _q20 = CALL_EXPR_ARG (_p0, 0);
    4928                 :       20548 :               tree _q21 = CALL_EXPR_ARG (_p0, 1);
    4929                 :       20548 :               if (integer_nonzerop (_q21))
    4930                 :             :                 {
    4931                 :        2777 :                   {
    4932                 :        2777 :                     tree captures[3] ATTRIBUTE_UNUSED = { _p0, _q20, _q21 };
    4933                 :        2777 :                     tree res = generic_simplify_518 (loc, type, _p0, captures);
    4934                 :        2777 :                     if (res) return res;
    4935                 :             :                   }
    4936                 :             :                 }
    4937                 :       19602 :               if (integer_nonzerop (_q20))
    4938                 :             :                 {
    4939                 :        3002 :                   {
    4940                 :        3002 :                     tree captures[3] ATTRIBUTE_UNUSED = { _p0, _q21, _q20 };
    4941                 :        3002 :                     tree res = generic_simplify_518 (loc, type, _p0, captures);
    4942                 :        3002 :                     if (res) return res;
    4943                 :             :                   }
    4944                 :             :                 }
    4945                 :             :             }
    4946                 :             :           break;
    4947                 :           0 :         case CFN_BUILT_IN_CEXPIF:
    4948                 :           0 :           if (call_expr_nargs (_p0) == 1)
    4949                 :             :     {
    4950                 :           0 :               tree _q20 = CALL_EXPR_ARG (_p0, 0);
    4951                 :           0 :               {
    4952                 :           0 :                 tree captures[3] ATTRIBUTE_UNUSED = { _p0, _p0, _q20 };
    4953                 :           0 :                 if (single_use (captures[1]) && single_use (captures[0])
    4954                 :             : )
    4955                 :             :                   {
    4956                 :           0 :                     if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail1324;
    4957                 :           0 :                     {
    4958                 :           0 :                       tree res_op0;
    4959                 :           0 :                       {
    4960                 :           0 :                         tree _o1[1], _r1;
    4961                 :           0 :                         _o1[0] = captures[2];
    4962                 :           0 :                         _r1 = maybe_build_call_expr_loc (loc, CFN_BUILT_IN_SINF, TREE_TYPE (_o1[0]), 1, _o1[0]);
    4963                 :           0 :                         if (!_r1)
    4964                 :           0 :                           goto next_after_fail1324;
    4965                 :           0 :                         res_op0 = _r1;
    4966                 :             :                       }
    4967                 :           0 :                       tree _r;
    4968                 :           0 :                       _r = fold_build1_loc (loc, NOP_EXPR, type, res_op0);
    4969                 :           0 :                       if (UNLIKELY (debug_dump)) generic_dump_logs ("match.pd", 900, __FILE__, __LINE__, true);
    4970                 :           0 :                       return _r;
    4971                 :             :                     }
    4972                 :           0 : next_after_fail1324:;
    4973                 :             :                   }
    4974                 :             :               }
    4975                 :             :             }
    4976                 :             :           break;
    4977                 :           0 :         case CFN_BUILT_IN_CEXPIL:
    4978                 :           0 :           if (call_expr_nargs (_p0) == 1)
    4979                 :             :     {
    4980                 :           0 :               tree _q20 = CALL_EXPR_ARG (_p0, 0);
    4981                 :           0 :               {
    4982                 :           0 :                 tree captures[3] ATTRIBUTE_UNUSED = { _p0, _p0, _q20 };
    4983                 :           0 :                 if (single_use (captures[1]) && single_use (captures[0])
    4984                 :             : )
    4985                 :             :                   {
    4986                 :           0 :                     if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail1325;
    4987                 :           0 :                     {
    4988                 :           0 :                       tree res_op0;
    4989                 :           0 :                       {
    4990                 :           0 :                         tree _o1[1], _r1;
    4991                 :           0 :                         _o1[0] = captures[2];
    4992                 :           0 :                         _r1 = maybe_build_call_expr_loc (loc, CFN_BUILT_IN_SINL, TREE_TYPE (_o1[0]), 1, _o1[0]);
    4993                 :           0 :                         if (!_r1)
    4994                 :           0 :                           goto next_after_fail1325;
    4995                 :           0 :                         res_op0 = _r1;
    4996                 :             :                       }
    4997                 :           0 :                       tree _r;
    4998                 :           0 :                       _r = fold_build1_loc (loc, NOP_EXPR, type, res_op0);
    4999                 :           0 :                       if (UNLIKELY (debug_dump)) generic_dump_logs ("match.pd", 900, __FILE__, __LINE__, true);
    5000                 :           0 :                       return _r;
    5001                 :             :                     }
    5002                 :           0 : next_after_fail1325:;
    5003                 :             :                   }
    5004                 :             :               }
    5005                 :             :             }
    5006                 :             :           break;
    5007                 :           1 :         case CFN_BUILT_IN_CEXPI:
    5008                 :           1 :           if (call_expr_nargs (_p0) == 1)
    5009                 :             :     {
    5010                 :           1 :               tree _q20 = CALL_EXPR_ARG (_p0, 0);
    5011                 :           1 :               {
    5012                 :           1 :                 tree captures[3] ATTRIBUTE_UNUSED = { _p0, _p0, _q20 };
    5013                 :           1 :                 if (single_use (captures[1]) && single_use (captures[0])
    5014                 :             : )
    5015                 :             :                   {
    5016                 :           1 :                     if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail1326;
    5017                 :           1 :                     {
    5018                 :           1 :                       tree res_op0;
    5019                 :           1 :                       {
    5020                 :           1 :                         tree _o1[1], _r1;
    5021                 :           1 :                         _o1[0] = captures[2];
    5022                 :           1 :                         _r1 = maybe_build_call_expr_loc (loc, CFN_BUILT_IN_SIN, TREE_TYPE (_o1[0]), 1, _o1[0]);
    5023                 :           1 :                         if (!_r1)
    5024                 :           0 :                           goto next_after_fail1326;
    5025                 :           1 :                         res_op0 = _r1;
    5026                 :             :                       }
    5027                 :           1 :                       tree _r;
    5028                 :           1 :                       _r = fold_build1_loc (loc, NOP_EXPR, type, res_op0);
    5029                 :           1 :                       if (UNLIKELY (debug_dump)) generic_dump_logs ("match.pd", 900, __FILE__, __LINE__, true);
    5030                 :           1 :                       return _r;
    5031                 :             :                     }
    5032                 :           0 : next_after_fail1326:;
    5033                 :             :                   }
    5034                 :             :               }
    5035                 :             :             }
    5036                 :             :           break;
    5037                 :             :         default:;
    5038                 :             :         }
    5039                 :             :       break;
    5040                 :             :     default:;
    5041                 :             :     }
    5042                 :             :   return NULL_TREE;
    5043                 :             : }
    5044                 :             : 
    5045                 :             : tree
    5046                 :    69045178 : generic_simplify_MULT_EXPR (location_t ARG_UNUSED (loc), enum tree_code ARG_UNUSED (code), const tree ARG_UNUSED (type), tree _p0, tree _p1)
    5047                 :             : {
    5048                 :    69045178 :   const bool debug_dump = dump_file && (dump_flags & TDF_FOLDING);
    5049                 :    69045178 :   switch (TREE_CODE (_p1))
    5050                 :             :     {
    5051                 :         346 :     case VECTOR_CST:
    5052                 :         346 :       {
    5053                 :         346 :         {
    5054                 :         346 :           tree captures[2] ATTRIBUTE_UNUSED = { _p0, _p1 };
    5055                 :         346 :           if (initializer_each_zero_or_onep (captures[1])
    5056                 :           5 :  && !HONOR_SNANS (type)
    5057                 :         351 :  && !HONOR_SIGNED_ZEROS (type)
    5058                 :             : )
    5059                 :             :             {
    5060                 :           5 :               {
    5061                 :           5 :  tree itype = FLOAT_TYPE_P (type) ? unsigned_type_for (type) : type;
    5062                 :           5 :                   if (itype
    5063                 :           5 :  && (!VECTOR_MODE_P (TYPE_MODE (type))
    5064                 :           5 :  || (VECTOR_MODE_P (TYPE_MODE (itype))
    5065                 :           5 :  && optab_handler (and_optab,
    5066                 :           5 :  TYPE_MODE (itype)) != CODE_FOR_nothing))
    5067                 :             : )
    5068                 :             :                     {
    5069                 :           5 :                       if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail1557;
    5070                 :           5 :                       {
    5071                 :           5 :                         tree res_op0;
    5072                 :           5 :                         {
    5073                 :           5 :                           tree _o1[2], _r1;
    5074                 :           5 :                           {
    5075                 :           5 :                             tree _o2[1], _r2;
    5076                 :           5 :                             _o2[0] = captures[0];
    5077                 :           5 :                             if (TREE_TYPE (_o2[0]) != itype)
    5078                 :             :                               {
    5079                 :           1 :                                 _r2 = fold_build1_loc (loc, VIEW_CONVERT_EXPR, itype, _o2[0]);
    5080                 :             :                               }
    5081                 :             :                             else
    5082                 :             :                               _r2 = _o2[0];
    5083                 :           5 :                             _o1[0] = _r2;
    5084                 :             :                           }
    5085                 :           5 :                           {
    5086                 :           5 :                             tree _o2[2], _r2;
    5087                 :           5 :                             _o2[0] = captures[1];
    5088                 :           5 :                             _o2[1] =  build_zero_cst (type);
    5089                 :           5 :                             _r2 = fold_build2_loc (loc, NE_EXPR, itype, _o2[0], _o2[1]);
    5090                 :           5 :                             _o1[1] = _r2;
    5091                 :             :                           }
    5092                 :           5 :                           _r1 = fold_build2_loc (loc, BIT_AND_EXPR, itype, _o1[0], _o1[1]);
    5093                 :           5 :                           res_op0 = _r1;
    5094                 :             :                         }
    5095                 :           5 :                         tree _r;
    5096                 :           5 :                         _r = fold_build1_loc (loc, VIEW_CONVERT_EXPR, type, res_op0);
    5097                 :           5 :                         if (UNLIKELY (debug_dump)) generic_dump_logs ("match.pd", 974, __FILE__, __LINE__, true);
    5098                 :           5 :                         return _r;
    5099                 :             :                       }
    5100                 :           0 : next_after_fail1557:;
    5101                 :             :                     }
    5102                 :             :               }
    5103                 :             :             }
    5104                 :             :         }
    5105                 :         341 :         break;
    5106                 :             :       }
    5107                 :    69045173 :     default:;
    5108                 :             :     }
    5109                 :    69045173 : if (integer_zerop (_p1))
    5110                 :             :   {
    5111                 :       32585 :     {
    5112                 :       32585 :       tree captures[2] ATTRIBUTE_UNUSED = { _p0, _p1 };
    5113                 :       32585 :       if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail1558;
    5114                 :       32585 :       {
    5115                 :       32585 :         tree _r;
    5116                 :       32585 :         _r = captures[1];
    5117                 :       32585 :         if (TREE_SIDE_EFFECTS (captures[0]))
    5118                 :        2458 :           _r = build2_loc (loc, COMPOUND_EXPR, type, fold_ignored_result (captures[0]), _r);
    5119                 :       32585 :         if (UNLIKELY (debug_dump)) generic_dump_logs ("match.pd", 975, __FILE__, __LINE__, true);
    5120                 :       32585 :         return _r;
    5121                 :             :       }
    5122                 :           0 : next_after_fail1558:;
    5123                 :             :     }
    5124                 :             :   }
    5125                 :    69012588 : if (real_zerop (_p1))
    5126                 :             :   {
    5127                 :         345 :     {
    5128                 :         345 :       tree captures[2] ATTRIBUTE_UNUSED = { _p0, _p1 };
    5129                 :         345 :       if (!tree_expr_maybe_nan_p (captures[0])
    5130                 :         137 :  && (!HONOR_NANS (type) || !tree_expr_maybe_infinite_p (captures[0]))
    5131                 :         355 :  && (!HONOR_SIGNED_ZEROS (type) || tree_expr_nonnegative_p (captures[0]))
    5132                 :             : )
    5133                 :             :         {
    5134                 :           4 :           if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail1559;
    5135                 :           4 :           {
    5136                 :           4 :             tree _r;
    5137                 :           4 :             _r = captures[1];
    5138                 :           4 :             if (TREE_SIDE_EFFECTS (captures[0]))
    5139                 :           0 :               _r = build2_loc (loc, COMPOUND_EXPR, type, fold_ignored_result (captures[0]), _r);
    5140                 :           4 :             if (UNLIKELY (debug_dump)) generic_dump_logs ("match.pd", 976, __FILE__, __LINE__, true);
    5141                 :           4 :             return _r;
    5142                 :             :           }
    5143                 :           0 : next_after_fail1559:;
    5144                 :             :         }
    5145                 :             :     }
    5146                 :             :   }
    5147                 :    69012584 : if (real_onep (_p1))
    5148                 :             :   {
    5149                 :        1239 :     {
    5150                 :        1239 :       tree captures[1] ATTRIBUTE_UNUSED = { _p0 };
    5151                 :        1239 :       if (!tree_expr_maybe_signaling_nan_p (captures[0])
    5152                 :        1239 :  && (!HONOR_SIGNED_ZEROS (type)
    5153                 :        1118 :  || !COMPLEX_FLOAT_TYPE_P (type))
    5154                 :             : )
    5155                 :             :         {
    5156                 :         756 :           if (TREE_SIDE_EFFECTS (_p1)) goto next_after_fail1560;
    5157                 :         756 :           if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail1560;
    5158                 :         756 :           {
    5159                 :         756 :             tree res_op0;
    5160                 :         756 :             res_op0 = captures[0];
    5161                 :         756 :             tree _r;
    5162                 :         756 :             _r = non_lvalue_loc (loc, res_op0);
    5163                 :         756 :             if (UNLIKELY (debug_dump)) generic_dump_logs ("match.pd", 977, __FILE__, __LINE__, true);
    5164                 :         756 :             return _r;
    5165                 :             :           }
    5166                 :             : next_after_fail1560:;
    5167                 :             :         }
    5168                 :             :     }
    5169                 :             :   }
    5170                 :    69011828 : if (real_minus_onep (_p1))
    5171                 :             :   {
    5172                 :       44977 :     {
    5173                 :       44977 :       tree captures[1] ATTRIBUTE_UNUSED = { _p0 };
    5174                 :       44977 :       if (!tree_expr_maybe_signaling_nan_p (captures[0])
    5175                 :       44977 :  && (!HONOR_SIGNED_ZEROS (type)
    5176                 :       42077 :  || !COMPLEX_FLOAT_TYPE_P (type))
    5177                 :             : )
    5178                 :             :         {
    5179                 :       44593 :           if (TREE_SIDE_EFFECTS (_p1)) goto next_after_fail1561;
    5180                 :       44593 :           if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail1561;
    5181                 :       44593 :           {
    5182                 :       44593 :             tree res_op0;
    5183                 :       44593 :             res_op0 = captures[0];
    5184                 :       44593 :             tree _r;
    5185                 :       44593 :             _r = fold_build1_loc (loc, NEGATE_EXPR, type, res_op0);
    5186                 :       44593 :             if (UNLIKELY (debug_dump)) generic_dump_logs ("match.pd", 978, __FILE__, __LINE__, true);
    5187                 :       44593 :             return _r;
    5188                 :             :           }
    5189                 :             : next_after_fail1561:;
    5190                 :             :         }
    5191                 :             :     }
    5192                 :             :   }
    5193                 :    68967235 :   switch (TREE_CODE (_p0))
    5194                 :             :     {
    5195                 :       33341 :     case BIT_AND_EXPR:
    5196                 :       33341 :       {
    5197                 :       33341 :         tree _q20 = TREE_OPERAND (_p0, 0);
    5198                 :       33341 :         tree _q21 = TREE_OPERAND (_p0, 1);
    5199                 :       33341 :         switch (TREE_CODE (_q20))
    5200                 :             :           {
    5201                 :         272 :           case RSHIFT_EXPR:
    5202                 :         272 :             {
    5203                 :         272 :               tree _q30 = TREE_OPERAND (_q20, 0);
    5204                 :         272 :               tree _q31 = TREE_OPERAND (_q20, 1);
    5205                 :         272 :               if (uniform_integer_cst_p (_q31))
    5206                 :             :                 {
    5207                 :          11 :                   if (uniform_integer_cst_p (_q21))
    5208                 :             :                     {
    5209                 :          11 :                       if (uniform_integer_cst_p (_p1))
    5210                 :             :                         {
    5211                 :          11 :                           {
    5212                 :          11 :                             tree captures[4] ATTRIBUTE_UNUSED = { _q30, _q31, _q21, _p1 };
    5213                 :          11 :                             {
    5214                 :          11 :  tree rshift_cst = uniform_integer_cst_p (captures[1]);
    5215                 :          11 :  tree bit_and_cst = uniform_integer_cst_p (captures[2]);
    5216                 :          11 :  tree mult_cst = uniform_integer_cst_p (captures[3]);
    5217                 :          11 :                                 if (VECTOR_TYPE_P (type)
    5218                 :           0 :  && tree_fits_uhwi_p (rshift_cst)
    5219                 :           0 :  && tree_fits_uhwi_p (mult_cst)
    5220                 :           0 :  && tree_fits_uhwi_p (bit_and_cst)
    5221                 :             : )
    5222                 :             :                                   {
    5223                 :           0 :                                     {
    5224                 :           0 :  HOST_WIDE_INT vec_elem_bits = vector_element_bits (type);
    5225                 :           0 :  poly_int64 vec_nelts = TYPE_VECTOR_SUBPARTS (type);
    5226                 :           0 :  poly_int64 vec_bits = vec_elem_bits * vec_nelts;
    5227                 :           0 :  unsigned HOST_WIDE_INT cmp_bits_i, bit_and_i, mult_i;
    5228                 :           0 :  unsigned HOST_WIDE_INT target_mult_i, target_bit_and_i;
    5229                 :           0 :  cmp_bits_i = tree_to_uhwi (rshift_cst) + 1;
    5230                 :           0 :  mult_i = tree_to_uhwi (mult_cst);
    5231                 :           0 :  target_mult_i = (HOST_WIDE_INT_1U << cmp_bits_i) - 1;
    5232                 :           0 :  bit_and_i = tree_to_uhwi (bit_and_cst);
    5233                 :           0 :  target_bit_and_i = 0;
    5234                 :           0 :  for (unsigned i = 0; i < vec_elem_bits / cmp_bits_i; i++)
    5235                 :           0 :  target_bit_and_i = (target_bit_and_i << cmp_bits_i) | 1U;
    5236                 :           0 :                                         if ((exact_log2 (cmp_bits_i)) >= 0
    5237                 :           0 :  && cmp_bits_i < HOST_BITS_PER_WIDE_INT
    5238                 :           0 :  && multiple_p (vec_bits, cmp_bits_i)
    5239                 :           0 :  && vec_elem_bits <= HOST_BITS_PER_WIDE_INT
    5240                 :           0 :  && target_mult_i == mult_i
    5241                 :           0 :  && target_bit_and_i == bit_and_i
    5242                 :             : )
    5243                 :             :                                           {
    5244                 :           0 :                                             {
    5245                 :           0 :  tree cmp_type = build_nonstandard_integer_type (cmp_bits_i, 0);
    5246                 :           0 :  poly_int64 vector_type_nelts = exact_div (vec_bits, cmp_bits_i);
    5247                 :           0 :  tree vec_cmp_type = build_vector_type (cmp_type, vector_type_nelts);
    5248                 :           0 :  tree vec_truth_type = truth_type_for (vec_cmp_type);
    5249                 :           0 :  tree zeros = build_zero_cst (vec_cmp_type);
    5250                 :           0 :  tree ones = build_all_ones_cst (vec_cmp_type);
    5251                 :           0 :                                                 if (expand_vec_cmp_expr_p (vec_cmp_type, vec_truth_type, LT_EXPR)
    5252                 :           0 :  && expand_vec_cond_expr_p (vec_cmp_type, vec_truth_type)
    5253                 :             : )
    5254                 :             :                                                   {
    5255                 :           0 :                                                     if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail1562;
    5256                 :           0 :                                                     {
    5257                 :           0 :                                                       tree res_op0;
    5258                 :           0 :                                                       {
    5259                 :           0 :                                                         tree _o1[3], _r1;
    5260                 :           0 :                                                         {
    5261                 :           0 :                                                           tree _o2[2], _r2;
    5262                 :           0 :                                                           {
    5263                 :           0 :                                                             tree _o3[1], _r3;
    5264                 :           0 :                                                             _o3[0] = captures[0];
    5265                 :           0 :                                                             if (TREE_TYPE (_o3[0]) != vec_cmp_type)
    5266                 :             :                                                               {
    5267                 :           0 :                                                                 _r3 = fold_build1_loc (loc, VIEW_CONVERT_EXPR, vec_cmp_type, _o3[0]);
    5268                 :             :                                                               }
    5269                 :             :                                                             else
    5270                 :             :                                                               _r3 = _o3[0];
    5271                 :           0 :                                                             _o2[0] = _r3;
    5272                 :             :                                                           }
    5273                 :           0 :                                                           _o2[1] =  zeros;
    5274                 :           0 :                                                           _r2 = fold_build2_loc (loc, LT_EXPR, vec_truth_type, _o2[0], _o2[1]);
    5275                 :           0 :                                                           _o1[0] = _r2;
    5276                 :             :                                                         }
    5277                 :           0 :                                                         _o1[1] =  ones;
    5278                 :           0 :                                                         _o1[2] =  zeros;
    5279                 :           0 :                                                         _r1 = fold_build3_loc (loc, VEC_COND_EXPR, TREE_TYPE (_o1[1]), _o1[0], _o1[1], _o1[2]);
    5280                 :           0 :                                                         res_op0 = _r1;
    5281                 :             :                                                       }
    5282                 :           0 :                                                       tree _r;
    5283                 :           0 :                                                       _r = fold_build1_loc (loc, VIEW_CONVERT_EXPR, type, res_op0);
    5284                 :           0 :                                                       if (TREE_SIDE_EFFECTS (captures[1]))
    5285                 :           0 :                                                         _r = build2_loc (loc, COMPOUND_EXPR, type, fold_ignored_result (captures[1]), _r);
    5286                 :           0 :                                                       if (TREE_SIDE_EFFECTS (captures[2]))
    5287                 :           0 :                                                         _r = build2_loc (loc, COMPOUND_EXPR, type, fold_ignored_result (captures[2]), _r);
    5288                 :           0 :                                                       if (TREE_SIDE_EFFECTS (captures[3]))
    5289                 :           0 :                                                         _r = build2_loc (loc, COMPOUND_EXPR, type, fold_ignored_result (captures[3]), _r);
    5290                 :           0 :                                                       if (UNLIKELY (debug_dump)) generic_dump_logs ("match.pd", 979, __FILE__, __LINE__, true);
    5291                 :           0 :                                                       return _r;
    5292                 :             :                                                     }
    5293                 :           0 : next_after_fail1562:;
    5294                 :             :                                                   }
    5295                 :             :                                             }
    5296                 :             :                                           }
    5297                 :             :                                     }
    5298                 :             :                                   }
    5299                 :             :                             }
    5300                 :             :                           }
    5301                 :             :                         }
    5302                 :             :                     }
    5303                 :             :                 }
    5304                 :             :               break;
    5305                 :             :             }
    5306                 :             :           default:;
    5307                 :             :           }
    5308                 :             :         break;
    5309                 :             :       }
    5310                 :    68967235 :     default:;
    5311                 :             :     }
    5312                 :    68967235 :   switch (TREE_CODE (_p1))
    5313                 :             :     {
    5314                 :        2671 :     case COND_EXPR:
    5315                 :        2671 :       {
    5316                 :        2671 :         tree _q30 = TREE_OPERAND (_p1, 0);
    5317                 :        2671 :         tree _q31 = TREE_OPERAND (_p1, 1);
    5318                 :        2671 :         tree _q32 = TREE_OPERAND (_p1, 2);
    5319                 :        2671 :         switch (TREE_CODE (_q30))
    5320                 :             :           {
    5321                 :         546 :           case GT_EXPR:
    5322                 :         546 :             {
    5323                 :         546 :               tree _q40 = TREE_OPERAND (_q30, 0);
    5324                 :         546 :               tree _q41 = TREE_OPERAND (_q30, 1);
    5325                 :         546 :               if ((_q40 == _p0 && ! TREE_SIDE_EFFECTS (_q40)) || (operand_equal_p (_q40, _p0, 0) && types_match (_q40, _p0)))
    5326                 :             :                 {
    5327                 :           0 :                   if (real_zerop (_q41))
    5328                 :             :                     {
    5329                 :           0 :                       if (real_onep (_q31))
    5330                 :             :                         {
    5331                 :           0 :                           if (real_minus_onep (_q32))
    5332                 :             :                             {
    5333                 :           0 :                               {
    5334                 :           0 :                                 tree captures[2] ATTRIBUTE_UNUSED = { _p0, _q31 };
    5335                 :           0 :                                 if (!tree_expr_maybe_nan_p (captures[0]) && !HONOR_SIGNED_ZEROS (type)
    5336                 :             : )
    5337                 :             :                                   {
    5338                 :           0 :                                     if (TREE_SIDE_EFFECTS (_p1)) goto next_after_fail1563;
    5339                 :           0 :                                     if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail1563;
    5340                 :           0 :                                     {
    5341                 :           0 :                                       tree res_op0;
    5342                 :           0 :                                       {
    5343                 :           0 :                                         tree _o1[1], _r1;
    5344                 :           0 :                                         _o1[0] = captures[0];
    5345                 :           0 :                                         _r1 = fold_build1_loc (loc, ABS_EXPR, TREE_TYPE (_o1[0]), _o1[0]);
    5346                 :           0 :                                         res_op0 = _r1;
    5347                 :             :                                       }
    5348                 :           0 :                                       tree _r;
    5349                 :           0 :                                       _r = fold_build1_loc (loc, NOP_EXPR, type, res_op0);
    5350                 :           0 :                                       if (UNLIKELY (debug_dump)) generic_dump_logs ("match.pd", 980, __FILE__, __LINE__, true);
    5351                 :           0 :                                       return _r;
    5352                 :             :                                     }
    5353                 :           0 : next_after_fail1563:;
    5354                 :             :                                   }
    5355                 :             :                               }
    5356                 :             :                             }
    5357                 :             :                         }
    5358                 :             :                     }
    5359                 :             :                 }
    5360                 :             :               break;
    5361                 :             :             }
    5362                 :           0 :           case GE_EXPR:
    5363                 :           0 :             {
    5364                 :           0 :               tree _q40 = TREE_OPERAND (_q30, 0);
    5365                 :           0 :               tree _q41 = TREE_OPERAND (_q30, 1);
    5366                 :           0 :               if ((_q40 == _p0 && ! TREE_SIDE_EFFECTS (_q40)) || (operand_equal_p (_q40, _p0, 0) && types_match (_q40, _p0)))
    5367                 :             :                 {
    5368                 :           0 :                   if (real_zerop (_q41))
    5369                 :             :                     {
    5370                 :           0 :                       if (real_onep (_q31))
    5371                 :             :                         {
    5372                 :           0 :                           if (real_minus_onep (_q32))
    5373                 :             :                             {
    5374                 :           0 :                               {
    5375                 :           0 :                                 tree captures[2] ATTRIBUTE_UNUSED = { _p0, _q31 };
    5376                 :           0 :                                 if (!tree_expr_maybe_nan_p (captures[0]) && !HONOR_SIGNED_ZEROS (type)
    5377                 :             : )
    5378                 :             :                                   {
    5379                 :           0 :                                     if (TREE_SIDE_EFFECTS (_p1)) goto next_after_fail1564;
    5380                 :           0 :                                     if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail1564;
    5381                 :           0 :                                     {
    5382                 :           0 :                                       tree res_op0;
    5383                 :           0 :                                       {
    5384                 :           0 :                                         tree _o1[1], _r1;
    5385                 :           0 :                                         _o1[0] = captures[0];
    5386                 :           0 :                                         _r1 = fold_build1_loc (loc, ABS_EXPR, TREE_TYPE (_o1[0]), _o1[0]);
    5387                 :           0 :                                         res_op0 = _r1;
    5388                 :             :                                       }
    5389                 :           0 :                                       tree _r;
    5390                 :           0 :                                       _r = fold_build1_loc (loc, NOP_EXPR, type, res_op0);
    5391                 :           0 :                                       if (UNLIKELY (debug_dump)) generic_dump_logs ("match.pd", 980, __FILE__, __LINE__, true);
    5392                 :           0 :                                       return _r;
    5393                 :             :                                     }
    5394                 :           0 : next_after_fail1564:;
    5395                 :             :                                   }
    5396                 :             :                               }
    5397                 :             :                             }
    5398                 :             :                         }
    5399                 :             :                     }
    5400                 :             :                 }
    5401                 :             :               break;
    5402                 :             :             }
    5403                 :          48 :           case LT_EXPR:
    5404                 :          48 :             {
    5405                 :          48 :               tree _q40 = TREE_OPERAND (_q30, 0);
    5406                 :          48 :               tree _q41 = TREE_OPERAND (_q30, 1);
    5407                 :          48 :               if ((_q40 == _p0 && ! TREE_SIDE_EFFECTS (_q40)) || (operand_equal_p (_q40, _p0, 0) && types_match (_q40, _p0)))
    5408                 :             :                 {
    5409                 :           0 :                   if (real_zerop (_q41))
    5410                 :             :                     {
    5411                 :           0 :                       if (real_onep (_q31))
    5412                 :             :                         {
    5413                 :           0 :                           if (real_minus_onep (_q32))
    5414                 :             :                             {
    5415                 :           0 :                               {
    5416                 :           0 :                                 tree captures[2] ATTRIBUTE_UNUSED = { _p0, _q31 };
    5417                 :           0 :                                 if (!tree_expr_maybe_nan_p (captures[0]) && !HONOR_SIGNED_ZEROS (type)
    5418                 :             : )
    5419                 :             :                                   {
    5420                 :           0 :                                     if (TREE_SIDE_EFFECTS (_p1)) goto next_after_fail1565;
    5421                 :           0 :                                     if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail1565;
    5422                 :           0 :                                     {
    5423                 :           0 :                                       tree res_op0;
    5424                 :           0 :                                       {
    5425                 :           0 :                                         tree _o1[1], _r1;
    5426                 :           0 :                                         _o1[0] = captures[0];
    5427                 :           0 :                                         _r1 = fold_build1_loc (loc, ABS_EXPR, TREE_TYPE (_o1[0]), _o1[0]);
    5428                 :           0 :                                         res_op0 = _r1;
    5429                 :             :                                       }
    5430                 :           0 :                                       tree _r;
    5431                 :           0 :                                       _r = fold_build1_loc (loc, NEGATE_EXPR, type, res_op0);
    5432                 :           0 :                                       if (UNLIKELY (debug_dump)) generic_dump_logs ("match.pd", 980, __FILE__, __LINE__, true);
    5433                 :           0 :                                       return _r;
    5434                 :             :                                     }
    5435                 :           0 : next_after_fail1565:;
    5436                 :             :                                   }
    5437                 :             :                               }
    5438                 :             :                             }
    5439                 :             :                         }
    5440                 :             :                     }
    5441                 :             :                 }
    5442                 :             :               break;
    5443                 :             :             }
    5444                 :           5 :           case LE_EXPR:
    5445                 :           5 :             {
    5446                 :           5 :               tree _q40 = TREE_OPERAND (_q30, 0);
    5447                 :           5 :               tree _q41 = TREE_OPERAND (_q30, 1);
    5448                 :           5 :               if ((_q40 == _p0 && ! TREE_SIDE_EFFECTS (_q40)) || (operand_equal_p (_q40, _p0, 0) && types_match (_q40, _p0)))
    5449                 :             :                 {
    5450                 :           0 :                   if (real_zerop (_q41))
    5451                 :             :                     {
    5452                 :           0 :                       if (real_onep (_q31))
    5453                 :             :                         {
    5454                 :           0 :                           if (real_minus_onep (_q32))
    5455                 :             :                             {
    5456                 :           0 :                               {
    5457                 :           0 :                                 tree captures[2] ATTRIBUTE_UNUSED = { _p0, _q31 };
    5458                 :           0 :                                 if (!tree_expr_maybe_nan_p (captures[0]) && !HONOR_SIGNED_ZEROS (type)
    5459                 :             : )
    5460                 :             :                                   {
    5461                 :           0 :                                     if (TREE_SIDE_EFFECTS (_p1)) goto next_after_fail1566;
    5462                 :           0 :                                     if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail1566;
    5463                 :           0 :                                     {
    5464                 :           0 :                                       tree res_op0;
    5465                 :           0 :                                       {
    5466                 :           0 :                                         tree _o1[1], _r1;
    5467                 :           0 :                                         _o1[0] = captures[0];
    5468                 :           0 :                                         _r1 = fold_build1_loc (loc, ABS_EXPR, TREE_TYPE (_o1[0]), _o1[0]);
    5469                 :           0 :                                         res_op0 = _r1;
    5470                 :             :                                       }
    5471                 :           0 :                                       tree _r;
    5472                 :           0 :                                       _r = fold_build1_loc (loc, NEGATE_EXPR, type, res_op0);
    5473                 :           0 :                                       if (UNLIKELY (debug_dump)) generic_dump_logs ("match.pd", 980, __FILE__, __LINE__, true);
    5474                 :           0 :                                       return _r;
    5475                 :             :                                     }
    5476                 :           0 : next_after_fail1566:;
    5477                 :             :                                   }
    5478                 :             :                               }
    5479                 :             :                             }
    5480                 :             :                         }
    5481                 :             :                     }
    5482                 :             :                 }
    5483                 :             :               break;
    5484                 :             :             }
    5485                 :             :           default:;
    5486                 :             :           }
    5487                 :             :         break;
    5488                 :             :       }
    5489                 :    68967235 :     default:;
    5490                 :             :     }
    5491                 :    68967235 :   switch (TREE_CODE (_p0))
    5492                 :             :     {
    5493                 :       84865 :     case COND_EXPR:
    5494                 :       84865 :       {
    5495                 :       84865 :         tree _q20 = TREE_OPERAND (_p0, 0);
    5496                 :       84865 :         tree _q21 = TREE_OPERAND (_p0, 1);
    5497                 :       84865 :         tree _q22 = TREE_OPERAND (_p0, 2);
    5498                 :       84865 :         switch (TREE_CODE (_q20))
    5499                 :             :           {
    5500                 :       19977 :           case GT_EXPR:
    5501                 :       19977 :             {
    5502                 :       19977 :               tree _q30 = TREE_OPERAND (_q20, 0);
    5503                 :       19977 :               tree _q31 = TREE_OPERAND (_q20, 1);
    5504                 :       19977 :               if (real_zerop (_q31))
    5505                 :             :                 {
    5506                 :          10 :                   if (real_onep (_q21))
    5507                 :             :                     {
    5508                 :           9 :                       if (real_minus_onep (_q22))
    5509                 :             :                         {
    5510                 :           1 :                           if ((_p1 == _q30 && ! TREE_SIDE_EFFECTS (_p1)) || (operand_equal_p (_p1, _q30, 0) && types_match (_p1, _q30)))
    5511                 :             :                             {
    5512                 :           1 :                               {
    5513                 :           1 :                                 tree captures[2] ATTRIBUTE_UNUSED = { _q30, _q21 };
    5514                 :           1 :                                 if (!tree_expr_maybe_nan_p (captures[0]) && !HONOR_SIGNED_ZEROS (type)
    5515                 :             : )
    5516                 :             :                                   {
    5517                 :           1 :                                     if (TREE_SIDE_EFFECTS (_p0)) goto next_after_fail1567;
    5518                 :           1 :                                     if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail1567;
    5519                 :           1 :                                     {
    5520                 :           1 :                                       tree res_op0;
    5521                 :           1 :                                       {
    5522                 :           1 :                                         tree _o1[1], _r1;
    5523                 :           1 :                                         _o1[0] = captures[0];
    5524                 :           1 :                                         _r1 = fold_build1_loc (loc, ABS_EXPR, TREE_TYPE (_o1[0]), _o1[0]);
    5525                 :           1 :                                         res_op0 = _r1;
    5526                 :             :                                       }
    5527                 :           1 :                                       tree _r;
    5528                 :           1 :                                       _r = fold_build1_loc (loc, NOP_EXPR, type, res_op0);
    5529                 :           1 :                                       if (UNLIKELY (debug_dump)) generic_dump_logs ("match.pd", 980, __FILE__, __LINE__, true);
    5530                 :           1 :                                       return _r;
    5531                 :             :                                     }
    5532                 :           0 : next_after_fail1567:;
    5533                 :             :                                   }
    5534                 :             :                               }
    5535                 :             :                             }
    5536                 :             :                         }
    5537                 :             :                     }
    5538                 :           9 :                   if (real_minus_onep (_q21))
    5539                 :             :                     {
    5540                 :           1 :                       if (real_onep (_q22))
    5541                 :             :                         {
    5542                 :           1 :                           if ((_p1 == _q30 && ! TREE_SIDE_EFFECTS (_p1)) || (operand_equal_p (_p1, _q30, 0) && types_match (_p1, _q30)))
    5543                 :             :                             {
    5544                 :           1 :                               {
    5545                 :           1 :                                 tree captures[2] ATTRIBUTE_UNUSED = { _q30, _q22 };
    5546                 :           1 :                                 if (!tree_expr_maybe_nan_p (captures[0]) && !HONOR_SIGNED_ZEROS (type)
    5547                 :             : )
    5548                 :             :                                   {
    5549                 :           1 :                                     if (TREE_SIDE_EFFECTS (_p0)) goto next_after_fail1568;
    5550                 :           1 :                                     if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail1568;
    5551                 :           1 :                                     {
    5552                 :           1 :                                       tree res_op0;
    5553                 :           1 :                                       {
    5554                 :           1 :                                         tree _o1[1], _r1;
    5555                 :           1 :                                         _o1[0] = captures[0];
    5556                 :           1 :                                         _r1 = fold_build1_loc (loc, ABS_EXPR, TREE_TYPE (_o1[0]), _o1[0]);
    5557                 :           1 :                                         res_op0 = _r1;
    5558                 :             :                                       }
    5559                 :           1 :                                       tree _r;
    5560                 :           1 :                                       _r = fold_build1_loc (loc, NEGATE_EXPR, type, res_op0);
    5561                 :           1 :                                       if (UNLIKELY (debug_dump)) generic_dump_logs ("match.pd", 981, __FILE__, __LINE__, true);
    5562                 :           1 :                                       return _r;
    5563                 :             :                                     }
    5564                 :           0 : next_after_fail1568:;
    5565                 :             :                                   }
    5566                 :             :                               }
    5567                 :             :                             }
    5568                 :             :                         }
    5569                 :             :                     }
    5570                 :             :                 }
    5571                 :             :               break;
    5572                 :             :             }
    5573                 :        7697 :           case GE_EXPR:
    5574                 :        7697 :             {
    5575                 :        7697 :               tree _q30 = TREE_OPERAND (_q20, 0);
    5576                 :        7697 :               tree _q31 = TREE_OPERAND (_q20, 1);
    5577                 :        7697 :               if (real_zerop (_q31))
    5578                 :             :                 {
    5579                 :           2 :                   if (real_onep (_q21))
    5580                 :             :                     {
    5581                 :           1 :                       if (real_minus_onep (_q22))
    5582                 :             :                         {
    5583                 :           1 :                           if ((_p1 == _q30 && ! TREE_SIDE_EFFECTS (_p1)) || (operand_equal_p (_p1, _q30, 0) && types_match (_p1, _q30)))
    5584                 :             :                             {
    5585                 :           1 :                               {
    5586                 :           1 :                                 tree captures[2] ATTRIBUTE_UNUSED = { _q30, _q21 };
    5587                 :           1 :                                 if (!tree_expr_maybe_nan_p (captures[0]) && !HONOR_SIGNED_ZEROS (type)
    5588                 :             : )
    5589                 :             :                                   {
    5590                 :           1 :                                     if (TREE_SIDE_EFFECTS (_p0)) goto next_after_fail1569;
    5591                 :           1 :                                     if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail1569;
    5592                 :           1 :                                     {
    5593                 :           1 :                                       tree res_op0;
    5594                 :           1 :                                       {
    5595                 :           1 :                                         tree _o1[1], _r1;
    5596                 :           1 :                                         _o1[0] = captures[0];
    5597                 :           1 :                                         _r1 = fold_build1_loc (loc, ABS_EXPR, TREE_TYPE (_o1[0]), _o1[0]);
    5598                 :           1 :                                         res_op0 = _r1;
    5599                 :             :                                       }
    5600                 :           1 :                                       tree _r;
    5601                 :           1 :                                       _r = fold_build1_loc (loc, NOP_EXPR, type, res_op0);
    5602                 :           1 :                                       if (UNLIKELY (debug_dump)) generic_dump_logs ("match.pd", 980, __FILE__, __LINE__, true);
    5603                 :           1 :                                       return _r;
    5604                 :             :                                     }
    5605                 :           0 : next_after_fail1569:;
    5606                 :             :                                   }
    5607                 :             :                               }
    5608                 :             :                             }
    5609                 :             :                         }
    5610                 :             :                     }
    5611                 :           1 :                   if (real_minus_onep (_q21))
    5612                 :             :                     {
    5613                 :           1 :                       if (real_onep (_q22))
    5614                 :             :                         {
    5615                 :           1 :                           if ((_p1 == _q30 && ! TREE_SIDE_EFFECTS (_p1)) || (operand_equal_p (_p1, _q30, 0) && types_match (_p1, _q30)))
    5616                 :             :                             {
    5617                 :           1 :                               {
    5618                 :           1 :                                 tree captures[2] ATTRIBUTE_UNUSED = { _q30, _q22 };
    5619                 :           1 :                                 if (!tree_expr_maybe_nan_p (captures[0]) && !HONOR_SIGNED_ZEROS (type)
    5620                 :             : )
    5621                 :             :                                   {
    5622                 :           1 :                                     if (TREE_SIDE_EFFECTS (_p0)) goto next_after_fail1570;
    5623                 :           1 :                                     if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail1570;
    5624                 :           1 :                                     {
    5625                 :           1 :                                       tree res_op0;
    5626                 :           1 :                                       {
    5627                 :           1 :                                         tree _o1[1], _r1;
    5628                 :           1 :                                         _o1[0] = captures[0];
    5629                 :           1 :                                         _r1 = fold_build1_loc (loc, ABS_EXPR, TREE_TYPE (_o1[0]), _o1[0]);
    5630                 :           1 :                                         res_op0 = _r1;
    5631                 :             :                                       }
    5632                 :           1 :                                       tree _r;
    5633                 :           1 :                                       _r = fold_build1_loc (loc, NEGATE_EXPR, type, res_op0);
    5634                 :           1 :                                       if (UNLIKELY (debug_dump)) generic_dump_logs ("match.pd", 981, __FILE__, __LINE__, true);
    5635                 :           1 :                                       return _r;
    5636                 :             :                                     }
    5637                 :           0 : next_after_fail1570:;
    5638                 :             :                                   }
    5639                 :             :                               }
    5640                 :             :                             }
    5641                 :             :                         }
    5642                 :             :                     }
    5643                 :             :                 }
    5644                 :             :               break;
    5645                 :             :             }
    5646                 :        7424 :           case LT_EXPR:
    5647                 :        7424 :             {
    5648                 :        7424 :               tree _q30 = TREE_OPERAND (_q20, 0);
    5649                 :        7424 :               tree _q31 = TREE_OPERAND (_q20, 1);
    5650                 :        7424 :               if (real_zerop (_q31))
    5651                 :             :                 {
    5652                 :           2 :                   if (real_onep (_q21))
    5653                 :             :                     {
    5654                 :           1 :                       if (real_minus_onep (_q22))
    5655                 :             :                         {
    5656                 :           1 :                           if ((_p1 == _q30 && ! TREE_SIDE_EFFECTS (_p1)) || (operand_equal_p (_p1, _q30, 0) && types_match (_p1, _q30)))
    5657                 :             :                             {
    5658                 :           1 :                               {
    5659                 :           1 :                                 tree captures[2] ATTRIBUTE_UNUSED = { _q30, _q21 };
    5660                 :           1 :                                 if (!tree_expr_maybe_nan_p (captures[0]) && !HONOR_SIGNED_ZEROS (type)
    5661                 :             : )
    5662                 :             :                                   {
    5663                 :           1 :                                     if (TREE_SIDE_EFFECTS (_p0)) goto next_after_fail1571;
    5664                 :           1 :                                     if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail1571;
    5665                 :           1 :                                     {
    5666                 :           1 :                                       tree res_op0;
    5667                 :           1 :                                       {
    5668                 :           1 :                                         tree _o1[1], _r1;
    5669                 :           1 :                                         _o1[0] = captures[0];
    5670                 :           1 :                                         _r1 = fold_build1_loc (loc, ABS_EXPR, TREE_TYPE (_o1[0]), _o1[0]);
    5671                 :           1 :                                         res_op0 = _r1;
    5672                 :             :                                       }
    5673                 :           1 :                                       tree _r;
    5674                 :           1 :                                       _r = fold_build1_loc (loc, NEGATE_EXPR, type, res_op0);
    5675                 :           1 :                                       if (UNLIKELY (debug_dump)) generic_dump_logs ("match.pd", 980, __FILE__, __LINE__, true);
    5676                 :           1 :                                       return _r;
    5677                 :             :                                     }
    5678                 :           0 : next_after_fail1571:;
    5679                 :             :                                   }
    5680                 :             :                               }
    5681                 :             :                             }
    5682                 :             :                         }
    5683                 :             :                     }
    5684                 :           1 :                   if (real_minus_onep (_q21))
    5685                 :             :                     {
    5686                 :           1 :                       if (real_onep (_q22))
    5687                 :             :                         {
    5688                 :           1 :                           if ((_p1 == _q30 && ! TREE_SIDE_EFFECTS (_p1)) || (operand_equal_p (_p1, _q30, 0) && types_match (_p1, _q30)))
    5689                 :             :                             {
    5690                 :           1 :                               {
    5691                 :           1 :                                 tree captures[2] ATTRIBUTE_UNUSED = { _q30, _q22 };
    5692                 :           1 :                                 if (!tree_expr_maybe_nan_p (captures[0]) && !HONOR_SIGNED_ZEROS (type)
    5693                 :             : )
    5694                 :             :                                   {
    5695                 :           1 :                                     if (TREE_SIDE_EFFECTS (_p0)) goto next_after_fail1572;
    5696                 :           1 :                                     if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail1572;
    5697                 :           1 :                                     {
    5698                 :           1 :                                       tree res_op0;
    5699                 :           1 :                                       {
    5700                 :           1 :                                         tree _o1[1], _r1;
    5701                 :           1 :                                         _o1[0] = captures[0];
    5702                 :           1 :                                         _r1 = fold_build1_loc (loc, ABS_EXPR, TREE_TYPE (_o1[0]), _o1[0]);
    5703                 :           1 :                                         res_op0 = _r1;
    5704                 :             :                                       }
    5705                 :           1 :                                       tree _r;
    5706                 :           1 :                                       _r = fold_build1_loc (loc, NOP_EXPR, type, res_op0);
    5707                 :           1 :                                       if (UNLIKELY (debug_dump)) generic_dump_logs ("match.pd", 981, __FILE__, __LINE__, true);
    5708                 :           1 :                                       return _r;
    5709                 :             :                                     }
    5710                 :           0 : next_after_fail1572:;
    5711                 :             :                                   }
    5712                 :             :                               }
    5713                 :             :                             }
    5714                 :             :                         }
    5715                 :             :                     }
    5716                 :             :                 }
    5717                 :             :               break;
    5718                 :             :             }
    5719                 :        2950 :           case LE_EXPR:
    5720                 :        2950 :             {
    5721                 :        2950 :               tree _q30 = TREE_OPERAND (_q20, 0);
    5722                 :        2950 :               tree _q31 = TREE_OPERAND (_q20, 1);
    5723                 :        2950 :               if (real_zerop (_q31))
    5724                 :             :                 {
    5725                 :           2 :                   if (real_onep (_q21))
    5726                 :             :                     {
    5727                 :           1 :                       if (real_minus_onep (_q22))
    5728                 :             :                         {
    5729                 :           1 :                           if ((_p1 == _q30 && ! TREE_SIDE_EFFECTS (_p1)) || (operand_equal_p (_p1, _q30, 0) && types_match (_p1, _q30)))
    5730                 :             :                             {
    5731                 :           1 :                               {
    5732                 :           1 :                                 tree captures[2] ATTRIBUTE_UNUSED = { _q30, _q21 };
    5733                 :           1 :                                 if (!tree_expr_maybe_nan_p (captures[0]) && !HONOR_SIGNED_ZEROS (type)
    5734                 :             : )
    5735                 :             :                                   {
    5736                 :           1 :                                     if (TREE_SIDE_EFFECTS (_p0)) goto next_after_fail1573;
    5737                 :           1 :                                     if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail1573;
    5738                 :           1 :                                     {
    5739                 :           1 :                                       tree res_op0;
    5740                 :           1 :                                       {
    5741                 :           1 :                                         tree _o1[1], _r1;
    5742                 :           1 :                                         _o1[0] = captures[0];
    5743                 :           1 :                                         _r1 = fold_build1_loc (loc, ABS_EXPR, TREE_TYPE (_o1[0]), _o1[0]);
    5744                 :           1 :                                         res_op0 = _r1;
    5745                 :             :                                       }
    5746                 :           1 :                                       tree _r;
    5747                 :           1 :                                       _r = fold_build1_loc (loc, NEGATE_EXPR, type, res_op0);
    5748                 :           1 :                                       if (UNLIKELY (debug_dump)) generic_dump_logs ("match.pd", 980, __FILE__, __LINE__, true);
    5749                 :           1 :                                       return _r;
    5750                 :             :                                     }
    5751                 :           0 : next_after_fail1573:;
    5752                 :             :                                   }
    5753                 :             :                               }
    5754                 :             :                             }
    5755                 :             :                         }
    5756                 :             :                     }
    5757                 :           1 :                   if (real_minus_onep (_q21))
    5758                 :             :                     {
    5759                 :           1 :                       if (real_onep (_q22))
    5760                 :             :                         {
    5761                 :           1 :                           if ((_p1 == _q30 && ! TREE_SIDE_EFFECTS (_p1)) || (operand_equal_p (_p1, _q30, 0) && types_match (_p1, _q30)))
    5762                 :             :                             {
    5763                 :           1 :                               {
    5764                 :           1 :                                 tree captures[2] ATTRIBUTE_UNUSED = { _q30, _q22 };
    5765                 :           1 :                                 if (!tree_expr_maybe_nan_p (captures[0]) && !HONOR_SIGNED_ZEROS (type)
    5766                 :             : )
    5767                 :             :                                   {
    5768                 :           1 :                                     if (TREE_SIDE_EFFECTS (_p0)) goto next_after_fail1574;
    5769                 :           1 :                                     if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail1574;
    5770                 :           1 :                                     {
    5771                 :           1 :                                       tree res_op0;
    5772                 :           1 :                                       {
    5773                 :           1 :                                         tree _o1[1], _r1;
    5774                 :           1 :                                         _o1[0] = captures[0];
    5775                 :           1 :                                         _r1 = fold_build1_loc (loc, ABS_EXPR, TREE_TYPE (_o1[0]), _o1[0]);
    5776                 :           1 :                                         res_op0 = _r1;
    5777                 :             :                                       }
    5778                 :           1 :                                       tree _r;
    5779                 :           1 :                                       _r = fold_build1_loc (loc, NOP_EXPR, type, res_op0);
    5780                 :           1 :                                       if (UNLIKELY (debug_dump)) generic_dump_logs ("match.pd", 981, __FILE__, __LINE__, true);
    5781                 :           1 :                                       return _r;
    5782                 :             :                                     }
    5783                 :           0 : next_after_fail1574:;
    5784                 :             :                                   }
    5785                 :             :                               }
    5786                 :             :                             }
    5787                 :             :                         }
    5788                 :             :                     }
    5789                 :             :                 }
    5790                 :             :               break;
    5791                 :             :             }
    5792                 :             :           default:;
    5793                 :             :           }
    5794                 :             :         break;
    5795                 :             :       }
    5796                 :    68967227 :     default:;
    5797                 :             :     }
    5798                 :    68967227 :   switch (TREE_CODE (_p1))
    5799                 :             :     {
    5800                 :        2671 :     case COND_EXPR:
    5801                 :        2671 :       {
    5802                 :        2671 :         tree _q30 = TREE_OPERAND (_p1, 0);
    5803                 :        2671 :         tree _q31 = TREE_OPERAND (_p1, 1);
    5804                 :        2671 :         tree _q32 = TREE_OPERAND (_p1, 2);
    5805                 :        2671 :         switch (TREE_CODE (_q30))
    5806                 :             :           {
    5807                 :         546 :           case GT_EXPR:
    5808                 :         546 :             {
    5809                 :         546 :               tree _q40 = TREE_OPERAND (_q30, 0);
    5810                 :         546 :               tree _q41 = TREE_OPERAND (_q30, 1);
    5811                 :         546 :               if ((_q40 == _p0 && ! TREE_SIDE_EFFECTS (_q40)) || (operand_equal_p (_q40, _p0, 0) && types_match (_q40, _p0)))
    5812                 :             :                 {
    5813                 :           0 :                   if (real_zerop (_q41))
    5814                 :             :                     {
    5815                 :           0 :                       if (real_minus_onep (_q31))
    5816                 :             :                         {
    5817                 :           0 :                           if (real_onep (_q32))
    5818                 :             :                             {
    5819                 :           0 :                               {
    5820                 :           0 :                                 tree captures[2] ATTRIBUTE_UNUSED = { _p0, _q32 };
    5821                 :           0 :                                 if (!tree_expr_maybe_nan_p (captures[0]) && !HONOR_SIGNED_ZEROS (type)
    5822                 :             : )
    5823                 :             :                                   {
    5824                 :           0 :                                     if (TREE_SIDE_EFFECTS (_p1)) goto next_after_fail1575;
    5825                 :           0 :                                     if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail1575;
    5826                 :           0 :                                     {
    5827                 :           0 :                                       tree res_op0;
    5828                 :           0 :                                       {
    5829                 :           0 :                                         tree _o1[1], _r1;
    5830                 :           0 :                                         _o1[0] = captures[0];
    5831                 :           0 :                                         _r1 = fold_build1_loc (loc, ABS_EXPR, TREE_TYPE (_o1[0]), _o1[0]);
    5832                 :           0 :                                         res_op0 = _r1;
    5833                 :             :                                       }
    5834                 :           0 :                                       tree _r;
    5835                 :           0 :                                       _r = fold_build1_loc (loc, NEGATE_EXPR, type, res_op0);
    5836                 :           0 :                                       if (UNLIKELY (debug_dump)) generic_dump_logs ("match.pd", 981, __FILE__, __LINE__, true);
    5837                 :           0 :                                       return _r;
    5838                 :             :                                     }
    5839                 :           0 : next_after_fail1575:;
    5840                 :             :                                   }
    5841                 :             :                               }
    5842                 :             :                             }
    5843                 :             :                         }
    5844                 :             :                     }
    5845                 :             :                 }
    5846                 :             :               break;
    5847                 :             :             }
    5848                 :           0 :           case GE_EXPR:
    5849                 :           0 :             {
    5850                 :           0 :               tree _q40 = TREE_OPERAND (_q30, 0);
    5851                 :           0 :               tree _q41 = TREE_OPERAND (_q30, 1);
    5852                 :           0 :               if ((_q40 == _p0 && ! TREE_SIDE_EFFECTS (_q40)) || (operand_equal_p (_q40, _p0, 0) && types_match (_q40, _p0)))
    5853                 :             :                 {
    5854                 :           0 :                   if (real_zerop (_q41))
    5855                 :             :                     {
    5856                 :           0 :                       if (real_minus_onep (_q31))
    5857                 :             :                         {
    5858                 :           0 :                           if (real_onep (_q32))
    5859                 :             :                             {
    5860                 :           0 :                               {
    5861                 :           0 :                                 tree captures[2] ATTRIBUTE_UNUSED = { _p0, _q32 };
    5862                 :           0 :                                 if (!tree_expr_maybe_nan_p (captures[0]) && !HONOR_SIGNED_ZEROS (type)
    5863                 :             : )
    5864                 :             :                                   {
    5865                 :           0 :                                     if (TREE_SIDE_EFFECTS (_p1)) goto next_after_fail1576;
    5866                 :           0 :                                     if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail1576;
    5867                 :           0 :                                     {
    5868                 :           0 :                                       tree res_op0;
    5869                 :           0 :                                       {
    5870                 :           0 :                                         tree _o1[1], _r1;
    5871                 :           0 :                                         _o1[0] = captures[0];
    5872                 :           0 :                                         _r1 = fold_build1_loc (loc, ABS_EXPR, TREE_TYPE (_o1[0]), _o1[0]);
    5873                 :           0 :                                         res_op0 = _r1;
    5874                 :             :                                       }
    5875                 :           0 :                                       tree _r;
    5876                 :           0 :                                       _r = fold_build1_loc (loc, NEGATE_EXPR, type, res_op0);
    5877                 :           0 :                                       if (UNLIKELY (debug_dump)) generic_dump_logs ("match.pd", 981, __FILE__, __LINE__, true);
    5878                 :           0 :                                       return _r;
    5879                 :             :                                     }
    5880                 :           0 : next_after_fail1576:;
    5881                 :             :                                   }
    5882                 :             :                               }
    5883                 :             :                             }
    5884                 :             :                         }
    5885                 :             :                     }
    5886                 :             :                 }
    5887                 :             :               break;
    5888                 :             :             }
    5889                 :          48 :           case LT_EXPR:
    5890                 :          48 :             {
    5891                 :          48 :               tree _q40 = TREE_OPERAND (_q30, 0);
    5892                 :          48 :               tree _q41 = TREE_OPERAND (_q30, 1);
    5893                 :          48 :               if ((_q40 == _p0 && ! TREE_SIDE_EFFECTS (_q40)) || (operand_equal_p (_q40, _p0, 0) && types_match (_q40, _p0)))
    5894                 :             :                 {
    5895                 :           0 :                   if (real_zerop (_q41))
    5896                 :             :                     {
    5897                 :           0 :                       if (real_minus_onep (_q31))
    5898                 :             :                         {
    5899                 :           0 :                           if (real_onep (_q32))
    5900                 :             :                             {
    5901                 :           0 :                               {
    5902                 :           0 :                                 tree captures[2] ATTRIBUTE_UNUSED = { _p0, _q32 };
    5903                 :           0 :                                 if (!tree_expr_maybe_nan_p (captures[0]) && !HONOR_SIGNED_ZEROS (type)
    5904                 :             : )
    5905                 :             :                                   {
    5906                 :           0 :                                     if (TREE_SIDE_EFFECTS (_p1)) goto next_after_fail1577;
    5907                 :           0 :                                     if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail1577;
    5908                 :           0 :                                     {
    5909                 :           0 :                                       tree res_op0;
    5910                 :           0 :                                       {
    5911                 :           0 :                                         tree _o1[1], _r1;
    5912                 :           0 :                                         _o1[0] = captures[0];
    5913                 :           0 :                                         _r1 = fold_build1_loc (loc, ABS_EXPR, TREE_TYPE (_o1[0]), _o1[0]);
    5914                 :           0 :                                         res_op0 = _r1;
    5915                 :             :                                       }
    5916                 :           0 :                                       tree _r;
    5917                 :           0 :                                       _r = fold_build1_loc (loc, NOP_EXPR, type, res_op0);
    5918                 :           0 :                                       if (UNLIKELY (debug_dump)) generic_dump_logs ("match.pd", 981, __FILE__, __LINE__, true);
    5919                 :           0 :                                       return _r;
    5920                 :             :                                     }
    5921                 :           0 : next_after_fail1577:;
    5922                 :             :                                   }
    5923                 :             :                               }
    5924                 :             :                             }
    5925                 :             :                         }
    5926                 :             :                     }
    5927                 :             :                 }
    5928                 :             :               break;
    5929                 :             :             }
    5930                 :           5 :           case LE_EXPR:
    5931                 :           5 :             {
    5932                 :           5 :               tree _q40 = TREE_OPERAND (_q30, 0);
    5933                 :           5 :               tree _q41 = TREE_OPERAND (_q30, 1);
    5934                 :           5 :               if ((_q40 == _p0 && ! TREE_SIDE_EFFECTS (_q40)) || (operand_equal_p (_q40, _p0, 0) && types_match (_q40, _p0)))
    5935                 :             :                 {
    5936                 :           0 :                   if (real_zerop (_q41))
    5937                 :             :                     {
    5938                 :           0 :                       if (real_minus_onep (_q31))
    5939                 :             :                         {
    5940                 :           0 :                           if (real_onep (_q32))
    5941                 :             :                             {
    5942                 :           0 :                               {
    5943                 :           0 :                                 tree captures[2] ATTRIBUTE_UNUSED = { _p0, _q32 };
    5944                 :           0 :                                 if (!tree_expr_maybe_nan_p (captures[0]) && !HONOR_SIGNED_ZEROS (type)
    5945                 :             : )
    5946                 :             :                                   {
    5947                 :           0 :                                     if (TREE_SIDE_EFFECTS (_p1)) goto next_after_fail1578;
    5948                 :           0 :                                     if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail1578;
    5949                 :           0 :                                     {
    5950                 :           0 :                                       tree res_op0;
    5951                 :           0 :                                       {
    5952                 :           0 :                                         tree _o1[1], _r1;
    5953                 :           0 :                                         _o1[0] = captures[0];
    5954                 :           0 :                                         _r1 = fold_build1_loc (loc, ABS_EXPR, TREE_TYPE (_o1[0]), _o1[0]);
    5955                 :           0 :                                         res_op0 = _r1;
    5956                 :             :                                       }
    5957                 :           0 :                                       tree _r;
    5958                 :           0 :                                       _r = fold_build1_loc (loc, NOP_EXPR, type, res_op0);
    5959                 :           0 :                                       if (UNLIKELY (debug_dump)) generic_dump_logs ("match.pd", 981, __FILE__, __LINE__, true);
    5960                 :           0 :                                       return _r;
    5961                 :             :                                     }
    5962                 :           0 : next_after_fail1578:;
    5963                 :             :                                   }
    5964                 :             :                               }
    5965                 :             :                             }
    5966                 :             :                         }
    5967                 :             :                     }
    5968                 :             :                 }
    5969                 :             :               break;
    5970                 :             :             }
    5971                 :             :           default:;
    5972                 :             :           }
    5973                 :             :         break;
    5974                 :             :       }
    5975                 :      928152 :     case CALL_EXPR:
    5976                 :      928152 :       switch (get_call_combined_fn (_p1))
    5977                 :             :         {
    5978                 :          20 :         case CFN_BUILT_IN_COPYSIGNF16:
    5979                 :          20 :           if (call_expr_nargs (_p1) == 2)
    5980                 :             :     {
    5981                 :          20 :               tree _q30 = CALL_EXPR_ARG (_p1, 0);
    5982                 :          20 :               tree _q31 = CALL_EXPR_ARG (_p1, 1);
    5983                 :          20 :               if (real_onep (_q30))
    5984                 :             :                 {
    5985                 :          20 :                   if ((_q31 == _p0 && ! TREE_SIDE_EFFECTS (_q31)) || (operand_equal_p (_q31, _p0, 0) && types_match (_q31, _p0)))
    5986                 :             :                     {
    5987                 :           0 :                       {
    5988                 :           0 :                         tree captures[1] ATTRIBUTE_UNUSED = { _p0 };
    5989                 :           0 :                         tree res = generic_simplify_174 (loc, type, _p0, _p1, captures, CFN_BUILT_IN_COPYSIGNF16);
    5990                 :           0 :                         if (res) return res;
    5991                 :             :                       }
    5992                 :             :                     }
    5993                 :             :                 }
    5994                 :             :             }
    5995                 :             :           break;
    5996                 :           0 :         case CFN_BUILT_IN_COPYSIGNF32:
    5997                 :           0 :           if (call_expr_nargs (_p1) == 2)
    5998                 :             :     {
    5999                 :           0 :               tree _q30 = CALL_EXPR_ARG (_p1, 0);
    6000                 :           0 :               tree _q31 = CALL_EXPR_ARG (_p1, 1);
    6001                 :           0 :               if (real_onep (_q30))
    6002                 :             :                 {
    6003                 :           0 :                   if ((_q31 == _p0 && ! TREE_SIDE_EFFECTS (_q31)) || (operand_equal_p (_q31, _p0, 0) && types_match (_q31, _p0)))
    6004                 :             :                     {
    6005                 :           0 :                       {
    6006                 :           0 :                         tree captures[1] ATTRIBUTE_UNUSED = { _p0 };
    6007                 :           0 :                         tree res = generic_simplify_174 (loc, type, _p0, _p1, captures, CFN_BUILT_IN_COPYSIGNF32);
    6008                 :           0 :                         if (res) return res;
    6009                 :             :                       }
    6010                 :             :                     }
    6011                 :             :                 }
    6012                 :             :             }
    6013                 :             :           break;
    6014                 :           0 :         case CFN_BUILT_IN_COPYSIGNF64:
    6015                 :           0 :           if (call_expr_nargs (_p1) == 2)
    6016                 :             :     {
    6017                 :           0 :               tree _q30 = CALL_EXPR_ARG (_p1, 0);
    6018                 :           0 :               tree _q31 = CALL_EXPR_ARG (_p1, 1);
    6019                 :           0 :               if (real_onep (_q30))
    6020                 :             :                 {
    6021                 :           0 :                   if ((_q31 == _p0 && ! TREE_SIDE_EFFECTS (_q31)) || (operand_equal_p (_q31, _p0, 0) && types_match (_q31, _p0)))
    6022                 :             :                     {
    6023                 :           0 :                       {
    6024                 :           0 :                         tree captures[1] ATTRIBUTE_UNUSED = { _p0 };
    6025                 :           0 :                         tree res = generic_simplify_174 (loc, type, _p0, _p1, captures, CFN_BUILT_IN_COPYSIGNF64);
    6026                 :           0 :                         if (res) return res;
    6027                 :             :                       }
    6028                 :             :                     }
    6029                 :             :                 }
    6030                 :             :             }
    6031                 :             :           break;
    6032                 :           0 :         case CFN_BUILT_IN_COPYSIGNF128X:
    6033                 :           0 :           if (call_expr_nargs (_p1) == 2)
    6034                 :             :     {
    6035                 :           0 :               tree _q30 = CALL_EXPR_ARG (_p1, 0);
    6036                 :           0 :               tree _q31 = CALL_EXPR_ARG (_p1, 1);
    6037                 :           0 :               if (real_onep (_q30))
    6038                 :             :                 {
    6039                 :           0 :                   if ((_q31 == _p0 && ! TREE_SIDE_EFFECTS (_q31)) || (operand_equal_p (_q31, _p0, 0) && types_match (_q31, _p0)))
    6040                 :             :                     {
    6041                 :           0 :                       {
    6042                 :           0 :                         tree captures[1] ATTRIBUTE_UNUSED = { _p0 };
    6043                 :           0 :                         tree res = generic_simplify_174 (loc, type, _p0, _p1, captures, CFN_BUILT_IN_COPYSIGNF128X);
    6044                 :           0 :                         if (res) return res;
    6045                 :             :                       }
    6046                 :             :                     }
    6047                 :             :                 }
    6048                 :             :             }
    6049                 :             :           break;
    6050                 :           0 :         case CFN_BUILT_IN_COPYSIGNF128:
    6051                 :           0 :           if (call_expr_nargs (_p1) == 2)
    6052                 :             :     {
    6053                 :           0 :               tree _q30 = CALL_EXPR_ARG (_p1, 0);
    6054                 :           0 :               tree _q31 = CALL_EXPR_ARG (_p1, 1);
    6055                 :           0 :               if (real_onep (_q30))
    6056                 :             :                 {
    6057                 :           0 :                   if ((_q31 == _p0 && ! TREE_SIDE_EFFECTS (_q31)) || (operand_equal_p (_q31, _p0, 0) && types_match (_q31, _p0)))
    6058                 :             :                     {
    6059                 :           0 :                       {
    6060                 :           0 :                         tree captures[1] ATTRIBUTE_UNUSED = { _p0 };
    6061                 :           0 :                         tree res = generic_simplify_174 (loc, type, _p0, _p1, captures, CFN_BUILT_IN_COPYSIGNF128);
    6062                 :           0 :                         if (res) return res;
    6063                 :             :                       }
    6064                 :             :                     }
    6065                 :             :                 }
    6066                 :             :             }
    6067                 :             :           break;
    6068                 :           0 :         case CFN_BUILT_IN_COPYSIGNF32X:
    6069                 :           0 :           if (call_expr_nargs (_p1) == 2)
    6070                 :             :     {
    6071                 :           0 :               tree _q30 = CALL_EXPR_ARG (_p1, 0);
    6072                 :           0 :               tree _q31 = CALL_EXPR_ARG (_p1, 1);
    6073                 :           0 :               if (real_onep (_q30))
    6074                 :             :                 {
    6075                 :           0 :                   if ((_q31 == _p0 && ! TREE_SIDE_EFFECTS (_q31)) || (operand_equal_p (_q31, _p0, 0) && types_match (_q31, _p0)))
    6076                 :             :                     {
    6077                 :           0 :                       {
    6078                 :           0 :                         tree captures[1] ATTRIBUTE_UNUSED = { _p0 };
    6079                 :           0 :                         tree res = generic_simplify_174 (loc, type, _p0, _p1, captures, CFN_BUILT_IN_COPYSIGNF32X);
    6080                 :           0 :                         if (res) return res;
    6081                 :             :                       }
    6082                 :             :                     }
    6083                 :             :                 }
    6084                 :             :             }
    6085                 :             :           break;
    6086                 :           0 :         case CFN_BUILT_IN_COPYSIGNF64X:
    6087                 :           0 :           if (call_expr_nargs (_p1) == 2)
    6088                 :             :     {
    6089                 :           0 :               tree _q30 = CALL_EXPR_ARG (_p1, 0);
    6090                 :           0 :               tree _q31 = CALL_EXPR_ARG (_p1, 1);
    6091                 :           0 :               if (real_onep (_q30))
    6092                 :             :                 {
    6093                 :           0 :                   if ((_q31 == _p0 && ! TREE_SIDE_EFFECTS (_q31)) || (operand_equal_p (_q31, _p0, 0) && types_match (_q31, _p0)))
    6094                 :             :                     {
    6095                 :           0 :                       {
    6096                 :           0 :                         tree captures[1] ATTRIBUTE_UNUSED = { _p0 };
    6097                 :           0 :                         tree res = generic_simplify_174 (loc, type, _p0, _p1, captures, CFN_BUILT_IN_COPYSIGNF64X);
    6098                 :           0 :                         if (res) return res;
    6099                 :             :                       }
    6100                 :             :                     }
    6101                 :             :                 }
    6102                 :             :             }
    6103                 :             :           break;
    6104                 :          18 :         case CFN_BUILT_IN_COPYSIGN:
    6105                 :          18 :           if (call_expr_nargs (_p1) == 2)
    6106                 :             :     {
    6107                 :          18 :               tree _q30 = CALL_EXPR_ARG (_p1, 0);
    6108                 :          18 :               tree _q31 = CALL_EXPR_ARG (_p1, 1);
    6109                 :          18 :               if (real_onep (_q30))
    6110                 :             :                 {
    6111                 :          14 :                   if ((_q31 == _p0 && ! TREE_SIDE_EFFECTS (_q31)) || (operand_equal_p (_q31, _p0, 0) && types_match (_q31, _p0)))
    6112                 :             :                     {
    6113                 :           0 :                       {
    6114                 :           0 :                         tree captures[1] ATTRIBUTE_UNUSED = { _p0 };
    6115                 :           0 :                         tree res = generic_simplify_174 (loc, type, _p0, _p1, captures, CFN_BUILT_IN_COPYSIGN);
    6116                 :           0 :                         if (res) return res;
    6117                 :             :                       }
    6118                 :             :                     }
    6119                 :             :                 }
    6120                 :             :             }
    6121                 :             :           break;
    6122                 :          14 :         case CFN_BUILT_IN_COPYSIGNF:
    6123                 :          14 :           if (call_expr_nargs (_p1) == 2)
    6124                 :             :     {
    6125                 :          14 :               tree _q30 = CALL_EXPR_ARG (_p1, 0);
    6126                 :          14 :               tree _q31 = CALL_EXPR_ARG (_p1, 1);
    6127                 :          14 :               if (real_onep (_q30))
    6128                 :             :                 {
    6129                 :          12 :                   if ((_q31 == _p0 && ! TREE_SIDE_EFFECTS (_q31)) || (operand_equal_p (_q31, _p0, 0) && types_match (_q31, _p0)))
    6130                 :             :                     {
    6131                 :           0 :                       {
    6132                 :           0 :                         tree captures[1] ATTRIBUTE_UNUSED = { _p0 };
    6133                 :           0 :                         tree res = generic_simplify_174 (loc, type, _p0, _p1, captures, CFN_BUILT_IN_COPYSIGNF);
    6134                 :           0 :                         if (res) return res;
    6135                 :             :                       }
    6136                 :             :                     }
    6137                 :             :                 }
    6138                 :             :             }
    6139                 :             :           break;
    6140                 :           0 :         case CFN_BUILT_IN_COPYSIGNL:
    6141                 :           0 :           if (call_expr_nargs (_p1) == 2)
    6142                 :             :     {
    6143                 :           0 :               tree _q30 = CALL_EXPR_ARG (_p1, 0);
    6144                 :           0 :               tree _q31 = CALL_EXPR_ARG (_p1, 1);
    6145                 :           0 :               if (real_onep (_q30))
    6146                 :             :                 {
    6147                 :           0 :                   if ((_q31 == _p0 && ! TREE_SIDE_EFFECTS (_q31)) || (operand_equal_p (_q31, _p0, 0) && types_match (_q31, _p0)))
    6148                 :             :                     {
    6149                 :           0 :                       {
    6150                 :           0 :                         tree captures[1] ATTRIBUTE_UNUSED = { _p0 };
    6151                 :           0 :                         tree res = generic_simplify_174 (loc, type, _p0, _p1, captures, CFN_BUILT_IN_COPYSIGNL);
    6152                 :           0 :                         if (res) return res;
    6153                 :             :                       }
    6154                 :             :                     }
    6155                 :             :                 }
    6156                 :             :             }
    6157                 :             :           break;
    6158                 :           0 :         case CFN_COPYSIGN:
    6159                 :           0 :           if (call_expr_nargs (_p1) == 2)
    6160                 :             :     {
    6161                 :           0 :               tree _q30 = CALL_EXPR_ARG (_p1, 0);
    6162                 :           0 :               tree _q31 = CALL_EXPR_ARG (_p1, 1);
    6163                 :           0 :               if (real_onep (_q30))
    6164                 :             :                 {
    6165                 :           0 :                   if ((_q31 == _p0 && ! TREE_SIDE_EFFECTS (_q31)) || (operand_equal_p (_q31, _p0, 0) && types_match (_q31, _p0)))
    6166                 :             :                     {
    6167                 :           0 :                       {
    6168                 :           0 :                         tree captures[1] ATTRIBUTE_UNUSED = { _p0 };
    6169                 :           0 :                         tree res = generic_simplify_174 (loc, type, _p0, _p1, captures, CFN_COPYSIGN);
    6170                 :           0 :                         if (res) return res;
    6171                 :             :                       }
    6172                 :             :                     }
    6173                 :             :                 }
    6174                 :             :             }
    6175                 :             :           break;
    6176                 :             :         default:;
    6177                 :             :         }
    6178                 :             :       break;
    6179                 :    68967227 :     default:;
    6180                 :             :     }
    6181                 :    68967227 :   switch (TREE_CODE (_p0))
    6182                 :             :     {
    6183                 :     2656141 :     case CALL_EXPR:
    6184                 :     2656141 :       switch (get_call_combined_fn (_p0))
    6185                 :             :         {
    6186                 :           1 :         case CFN_BUILT_IN_COPYSIGNF16:
    6187                 :           1 :           if (call_expr_nargs (_p0) == 2)
    6188                 :             :     {
    6189                 :           1 :               tree _q20 = CALL_EXPR_ARG (_p0, 0);
    6190                 :           1 :               tree _q21 = CALL_EXPR_ARG (_p0, 1);
    6191                 :           1 :               if (real_onep (_q20))
    6192                 :             :                 {
    6193                 :           1 :                   if ((_p1 == _q21 && ! TREE_SIDE_EFFECTS (_p1)) || (operand_equal_p (_p1, _q21, 0) && types_match (_p1, _q21)))
    6194                 :             :                     {
    6195                 :           0 :                       {
    6196                 :           0 :                         tree captures[1] ATTRIBUTE_UNUSED = { _q21 };
    6197                 :           0 :                         tree res = generic_simplify_175 (loc, type, _p0, _p1, captures, CFN_BUILT_IN_COPYSIGNF16);
    6198                 :           0 :                         if (res) return res;
    6199                 :             :                       }
    6200                 :             :                     }
    6201                 :           1 :                   switch (TREE_CODE (_q21))
    6202                 :             :                     {
    6203                 :           0 :                     case NEGATE_EXPR:
    6204                 :           0 :                       {
    6205                 :           0 :                         tree _q40 = TREE_OPERAND (_q21, 0);
    6206                 :           0 :                         if ((_p1 == _q40 && ! TREE_SIDE_EFFECTS (_p1)) || (operand_equal_p (_p1, _q40, 0) && types_match (_p1, _q40)))
    6207                 :             :                           {
    6208                 :           0 :                             {
    6209                 :           0 :                               tree captures[1] ATTRIBUTE_UNUSED = { _q40 };
    6210                 :           0 :                               tree res = generic_simplify_176 (loc, type, _p0, _p1, captures, CFN_BUILT_IN_COPYSIGNF16);
    6211                 :           0 :                               if (res) return res;
    6212                 :             :                             }
    6213                 :             :                           }
    6214                 :             :                         break;
    6215                 :             :                       }
    6216                 :             :                     default:;
    6217                 :             :                     }
    6218                 :             :                 }
    6219                 :             :             }
    6220                 :             :           break;
    6221                 :           0 :         case CFN_BUILT_IN_COPYSIGNF32:
    6222                 :           0 :           if (call_expr_nargs (_p0) == 2)
    6223                 :             :     {
    6224                 :           0 :               tree _q20 = CALL_EXPR_ARG (_p0, 0);
    6225                 :           0 :               tree _q21 = CALL_EXPR_ARG (_p0, 1);
    6226                 :           0 :               if (real_onep (_q20))
    6227                 :             :                 {
    6228                 :           0 :                   if ((_p1 == _q21 && ! TREE_SIDE_EFFECTS (_p1)) || (operand_equal_p (_p1, _q21, 0) && types_match (_p1, _q21)))
    6229                 :             :                     {
    6230                 :           0 :                       {
    6231                 :           0 :                         tree captures[1] ATTRIBUTE_UNUSED = { _q21 };
    6232                 :           0 :                         tree res = generic_simplify_175 (loc, type, _p0, _p1, captures, CFN_BUILT_IN_COPYSIGNF32);
    6233                 :           0 :                         if (res) return res;
    6234                 :             :                       }
    6235                 :             :                     }
    6236                 :           0 :                   switch (TREE_CODE (_q21))
    6237                 :             :                     {
    6238                 :           0 :                     case NEGATE_EXPR:
    6239                 :           0 :                       {
    6240                 :           0 :                         tree _q40 = TREE_OPERAND (_q21, 0);
    6241                 :           0 :                         if ((_p1 == _q40 && ! TREE_SIDE_EFFECTS (_p1)) || (operand_equal_p (_p1, _q40, 0) && types_match (_p1, _q40)))
    6242                 :             :                           {
    6243                 :           0 :                             {
    6244                 :           0 :                               tree captures[1] ATTRIBUTE_UNUSED = { _q40 };
    6245                 :           0 :                               tree res = generic_simplify_176 (loc, type, _p0, _p1, captures, CFN_BUILT_IN_COPYSIGNF32);
    6246                 :           0 :                               if (res) return res;
    6247                 :             :                             }
    6248                 :             :                           }
    6249                 :             :                         break;
    6250                 :             :                       }
    6251                 :             :                     default:;
    6252                 :             :                     }
    6253                 :             :                 }
    6254                 :             :             }
    6255                 :             :           break;
    6256                 :           0 :         case CFN_BUILT_IN_COPYSIGNF64:
    6257                 :           0 :           if (call_expr_nargs (_p0) == 2)
    6258                 :             :     {
    6259                 :           0 :               tree _q20 = CALL_EXPR_ARG (_p0, 0);
    6260                 :           0 :               tree _q21 = CALL_EXPR_ARG (_p0, 1);
    6261                 :           0 :               if (real_onep (_q20))
    6262                 :             :                 {
    6263                 :           0 :                   if ((_p1 == _q21 && ! TREE_SIDE_EFFECTS (_p1)) || (operand_equal_p (_p1, _q21, 0) && types_match (_p1, _q21)))
    6264                 :             :                     {
    6265                 :           0 :                       {
    6266                 :           0 :                         tree captures[1] ATTRIBUTE_UNUSED = { _q21 };
    6267                 :           0 :                         tree res = generic_simplify_175 (loc, type, _p0, _p1, captures, CFN_BUILT_IN_COPYSIGNF64);
    6268                 :           0 :                         if (res) return res;
    6269                 :             :                       }
    6270                 :             :                     }
    6271                 :           0 :                   switch (TREE_CODE (_q21))
    6272                 :             :                     {
    6273                 :           0 :                     case NEGATE_EXPR:
    6274                 :           0 :                       {
    6275                 :           0 :                         tree _q40 = TREE_OPERAND (_q21, 0);
    6276                 :           0 :                         if ((_p1 == _q40 && ! TREE_SIDE_EFFECTS (_p1)) || (operand_equal_p (_p1, _q40, 0) && types_match (_p1, _q40)))
    6277                 :             :                           {
    6278                 :           0 :                             {
    6279                 :           0 :                               tree captures[1] ATTRIBUTE_UNUSED = { _q40 };
    6280                 :           0 :                               tree res = generic_simplify_176 (loc, type, _p0, _p1, captures, CFN_BUILT_IN_COPYSIGNF64);
    6281                 :           0 :                               if (res) return res;
    6282                 :             :                             }
    6283                 :             :                           }
    6284                 :             :                         break;
    6285                 :             :                       }
    6286                 :             :                     default:;
    6287                 :             :                     }
    6288                 :             :                 }
    6289                 :             :             }
    6290                 :             :           break;
    6291                 :           0 :         case CFN_BUILT_IN_COPYSIGNF128X:
    6292                 :           0 :           if (call_expr_nargs (_p0) == 2)
    6293                 :             :     {
    6294                 :           0 :               tree _q20 = CALL_EXPR_ARG (_p0, 0);
    6295                 :           0 :               tree _q21 = CALL_EXPR_ARG (_p0, 1);
    6296                 :           0 :               if (real_onep (_q20))
    6297                 :             :                 {
    6298                 :           0 :                   if ((_p1 == _q21 && ! TREE_SIDE_EFFECTS (_p1)) || (operand_equal_p (_p1, _q21, 0) && types_match (_p1, _q21)))
    6299                 :             :                     {
    6300                 :           0 :                       {
    6301                 :           0 :                         tree captures[1] ATTRIBUTE_UNUSED = { _q21 };
    6302                 :           0 :                         tree res = generic_simplify_175 (loc, type, _p0, _p1, captures, CFN_BUILT_IN_COPYSIGNF128X);
    6303                 :           0 :                         if (res) return res;
    6304                 :             :                       }
    6305                 :             :                     }
    6306                 :           0 :                   switch (TREE_CODE (_q21))
    6307                 :             :                     {
    6308                 :           0 :                     case NEGATE_EXPR:
    6309                 :           0 :                       {
    6310                 :           0 :                         tree _q40 = TREE_OPERAND (_q21, 0);
    6311                 :           0 :                         if ((_p1 == _q40 && ! TREE_SIDE_EFFECTS (_p1)) || (operand_equal_p (_p1, _q40, 0) && types_match (_p1, _q40)))
    6312                 :             :                           {
    6313                 :           0 :                             {
    6314                 :           0 :                               tree captures[1] ATTRIBUTE_UNUSED = { _q40 };
    6315                 :           0 :                               tree res = generic_simplify_176 (loc, type, _p0, _p1, captures, CFN_BUILT_IN_COPYSIGNF128X);
    6316                 :           0 :                               if (res) return res;
    6317                 :             :                             }
    6318                 :             :                           }
    6319                 :             :                         break;
    6320                 :             :                       }
    6321                 :             :                     default:;
    6322                 :             :                     }
    6323                 :             :                 }
    6324                 :             :             }
    6325                 :             :           break;
    6326                 :           8 :         case CFN_BUILT_IN_COPYSIGNF128:
    6327                 :           8 :           if (call_expr_nargs (_p0) == 2)
    6328                 :             :     {
    6329                 :           8 :               tree _q20 = CALL_EXPR_ARG (_p0, 0);
    6330                 :           8 :               tree _q21 = CALL_EXPR_ARG (_p0, 1);
    6331                 :           8 :               if (real_onep (_q20))
    6332                 :             :                 {
    6333                 :           0 :                   if ((_p1 == _q21 && ! TREE_SIDE_EFFECTS (_p1)) || (operand_equal_p (_p1, _q21, 0) && types_match (_p1, _q21)))
    6334                 :             :                     {
    6335                 :           0 :                       {
    6336                 :           0 :                         tree captures[1] ATTRIBUTE_UNUSED = { _q21 };
    6337                 :           0 :                         tree res = generic_simplify_175 (loc, type, _p0, _p1, captures, CFN_BUILT_IN_COPYSIGNF128);
    6338                 :           0 :                         if (res) return res;
    6339                 :             :                       }
    6340                 :             :                     }
    6341                 :           0 :                   switch (TREE_CODE (_q21))
    6342                 :             :                     {
    6343                 :           0 :                     case NEGATE_EXPR:
    6344                 :           0 :                       {
    6345                 :           0 :                         tree _q40 = TREE_OPERAND (_q21, 0);
    6346                 :           0 :                         if ((_p1 == _q40 && ! TREE_SIDE_EFFECTS (_p1)) || (operand_equal_p (_p1, _q40, 0) && types_match (_p1, _q40)))
    6347                 :             :                           {
    6348                 :           0 :                             {
    6349                 :           0 :                               tree captures[1] ATTRIBUTE_UNUSED = { _q40 };
    6350                 :           0 :                               tree res = generic_simplify_176 (loc, type, _p0, _p1, captures, CFN_BUILT_IN_COPYSIGNF128);
    6351                 :           0 :                               if (res) return res;
    6352                 :             :                             }
    6353                 :             :                           }
    6354                 :             :                         break;
    6355                 :             :                       }
    6356                 :             :                     default:;
    6357                 :             :                     }
    6358                 :             :                 }
    6359                 :             :             }
    6360                 :             :           break;
    6361                 :           0 :         case CFN_BUILT_IN_COPYSIGNF32X:
    6362                 :           0 :           if (call_expr_nargs (_p0) == 2)
    6363                 :             :     {
    6364                 :           0 :               tree _q20 = CALL_EXPR_ARG (_p0, 0);
    6365                 :           0 :               tree _q21 = CALL_EXPR_ARG (_p0, 1);
    6366                 :           0 :               if (real_onep (_q20))
    6367                 :             :                 {
    6368                 :           0 :                   if ((_p1 == _q21 && ! TREE_SIDE_EFFECTS (_p1)) || (operand_equal_p (_p1, _q21, 0) && types_match (_p1, _q21)))
    6369                 :             :                     {
    6370                 :           0 :                       {
    6371                 :           0 :                         tree captures[1] ATTRIBUTE_UNUSED = { _q21 };
    6372                 :           0 :                         tree res = generic_simplify_175 (loc, type, _p0, _p1, captures, CFN_BUILT_IN_COPYSIGNF32X);
    6373                 :           0 :                         if (res) return res;
    6374                 :             :                       }
    6375                 :             :                     }
    6376                 :           0 :                   switch (TREE_CODE (_q21))
    6377                 :             :                     {
    6378                 :           0 :                     case NEGATE_EXPR:
    6379                 :           0 :                       {
    6380                 :           0 :                         tree _q40 = TREE_OPERAND (_q21, 0);
    6381                 :           0 :                         if ((_p1 == _q40 && ! TREE_SIDE_EFFECTS (_p1)) || (operand_equal_p (_p1, _q40, 0) && types_match (_p1, _q40)))
    6382                 :             :                           {
    6383                 :           0 :                             {
    6384                 :           0 :                               tree captures[1] ATTRIBUTE_UNUSED = { _q40 };
    6385                 :           0 :                               tree res = generic_simplify_176 (loc, type, _p0, _p1, captures, CFN_BUILT_IN_COPYSIGNF32X);
    6386                 :           0 :                               if (res) return res;
    6387                 :             :                             }
    6388                 :             :                           }
    6389                 :             :                         break;
    6390                 :             :                       }
    6391                 :             :                     default:;
    6392                 :             :                     }
    6393                 :             :                 }
    6394                 :             :             }
    6395                 :             :           break;
    6396                 :           0 :         case CFN_BUILT_IN_COPYSIGNF64X:
    6397                 :           0 :           if (call_expr_nargs (_p0) == 2)
    6398                 :             :     {
    6399                 :           0 :               tree _q20 = CALL_EXPR_ARG (_p0, 0);
    6400                 :           0 :               tree _q21 = CALL_EXPR_ARG (_p0, 1);
    6401                 :           0 :               if (real_onep (_q20))
    6402                 :             :                 {
    6403                 :           0 :                   if ((_p1 == _q21 && ! TREE_SIDE_EFFECTS (_p1)) || (operand_equal_p (_p1, _q21, 0) && types_match (_p1, _q21)))
    6404                 :             :                     {
    6405                 :           0 :                       {
    6406                 :           0 :                         tree captures[1] ATTRIBUTE_UNUSED = { _q21 };
    6407                 :           0 :                         tree res = generic_simplify_175 (loc, type, _p0, _p1, captures, CFN_BUILT_IN_COPYSIGNF64X);
    6408                 :           0 :                         if (res) return res;
    6409                 :             :                       }
    6410                 :             :                     }
    6411                 :           0 :                   switch (TREE_CODE (_q21))
    6412                 :             :                     {
    6413                 :           0 :                     case NEGATE_EXPR:
    6414                 :           0 :                       {
    6415                 :           0 :                         tree _q40 = TREE_OPERAND (_q21, 0);
    6416                 :           0 :                         if ((_p1 == _q40 && ! TREE_SIDE_EFFECTS (_p1)) || (operand_equal_p (_p1, _q40, 0) && types_match (_p1, _q40)))
    6417                 :             :                           {
    6418                 :           0 :                             {
    6419                 :           0 :                               tree captures[1] ATTRIBUTE_UNUSED = { _q40 };
    6420                 :           0 :                               tree res = generic_simplify_176 (loc, type, _p0, _p1, captures, CFN_BUILT_IN_COPYSIGNF64X);
    6421                 :           0 :                               if (res) return res;
    6422                 :             :                             }
    6423                 :             :                           }
    6424                 :             :                         break;
    6425                 :             :                       }
    6426                 :             :                     default:;
    6427                 :             :                     }
    6428                 :             :                 }
    6429                 :             :             }
    6430                 :             :           break;
    6431                 :          21 :         case CFN_BUILT_IN_COPYSIGN:
    6432                 :          21 :           if (call_expr_nargs (_p0) == 2)
    6433                 :             :     {
    6434                 :          21 :               tree _q20 = CALL_EXPR_ARG (_p0, 0);
    6435                 :          21 :               tree _q21 = CALL_EXPR_ARG (_p0, 1);
    6436                 :          21 :               if (real_onep (_q20))
    6437                 :             :                 {
    6438                 :           3 :                   if ((_p1 == _q21 && ! TREE_SIDE_EFFECTS (_p1)) || (operand_equal_p (_p1, _q21, 0) && types_match (_p1, _q21)))
    6439                 :             :                     {
    6440                 :           0 :                       {
    6441                 :           0 :                         tree captures[1] ATTRIBUTE_UNUSED = { _q21 };
    6442                 :           0 :                         tree res = generic_simplify_175 (loc, type, _p0, _p1, captures, CFN_BUILT_IN_COPYSIGN);
    6443                 :           0 :                         if (res) return res;
    6444                 :             :                       }
    6445                 :             :                     }
    6446                 :           3 :                   switch (TREE_CODE (_q21))
    6447                 :             :                     {
    6448                 :           0 :                     case NEGATE_EXPR:
    6449                 :           0 :                       {
    6450                 :           0 :                         tree _q40 = TREE_OPERAND (_q21, 0);
    6451                 :           0 :                         if ((_p1 == _q40 && ! TREE_SIDE_EFFECTS (_p1)) || (operand_equal_p (_p1, _q40, 0) && types_match (_p1, _q40)))
    6452                 :             :                           {
    6453                 :           0 :                             {
    6454                 :           0 :                               tree captures[1] ATTRIBUTE_UNUSED = { _q40 };
    6455                 :           0 :                               tree res = generic_simplify_176 (loc, type, _p0, _p1, captures, CFN_BUILT_IN_COPYSIGN);
    6456                 :           0 :                               if (res) return res;
    6457                 :             :                             }
    6458                 :             :                           }
    6459                 :             :                         break;
    6460                 :             :                       }
    6461                 :             :                     default:;
    6462                 :             :                     }
    6463                 :             :                 }
    6464                 :             :             }
    6465                 :             :           break;
    6466                 :          36 :         case CFN_BUILT_IN_COPYSIGNF:
    6467                 :          36 :           if (call_expr_nargs (_p0) == 2)
    6468                 :             :     {
    6469                 :          36 :               tree _q20 = CALL_EXPR_ARG (_p0, 0);
    6470                 :          36 :               tree _q21 = CALL_EXPR_ARG (_p0, 1);
    6471                 :          36 :               if (real_onep (_q20))
    6472                 :             :                 {
    6473                 :          12 :                   if ((_p1 == _q21 && ! TREE_SIDE_EFFECTS (_p1)) || (operand_equal_p (_p1, _q21, 0) && types_match (_p1, _q21)))
    6474                 :             :                     {
    6475                 :           4 :                       {
    6476                 :           4 :                         tree captures[1] ATTRIBUTE_UNUSED = { _q21 };
    6477                 :           4 :                         tree res = generic_simplify_175 (loc, type, _p0, _p1, captures, CFN_BUILT_IN_COPYSIGNF);
    6478                 :           4 :                         if (res) return res;
    6479                 :             :                       }
    6480                 :             :                     }
    6481                 :          12 :                   switch (TREE_CODE (_q21))
    6482                 :             :                     {
    6483                 :           0 :                     case NEGATE_EXPR:
    6484                 :           0 :                       {
    6485                 :           0 :                         tree _q40 = TREE_OPERAND (_q21, 0);
    6486                 :           0 :                         if ((_p1 == _q40 && ! TREE_SIDE_EFFECTS (_p1)) || (operand_equal_p (_p1, _q40, 0) && types_match (_p1, _q40)))
    6487                 :             :                           {
    6488                 :           0 :                             {
    6489                 :           0 :                               tree captures[1] ATTRIBUTE_UNUSED = { _q40 };
    6490                 :           0 :                               tree res = generic_simplify_176 (loc, type, _p0, _p1, captures, CFN_BUILT_IN_COPYSIGNF);
    6491                 :           0 :                               if (res) return res;
    6492                 :             :                             }
    6493                 :             :                           }
    6494                 :             :                         break;
    6495                 :             :                       }
    6496                 :             :                     default:;
    6497                 :             :                     }
    6498                 :             :                 }
    6499                 :             :             }
    6500                 :             :           break;
    6501                 :           8 :         case CFN_BUILT_IN_COPYSIGNL:
    6502                 :           8 :           if (call_expr_nargs (_p0) == 2)
    6503                 :             :     {
    6504                 :           8 :               tree _q20 = CALL_EXPR_ARG (_p0, 0);
    6505                 :           8 :               tree _q21 = CALL_EXPR_ARG (_p0, 1);
    6506                 :           8 :               if (real_onep (_q20))
    6507                 :             :                 {
    6508                 :           0 :                   if ((_p1 == _q21 && ! TREE_SIDE_EFFECTS (_p1)) || (operand_equal_p (_p1, _q21, 0) && types_match (_p1, _q21)))
    6509                 :             :                     {
    6510                 :           0 :                       {
    6511                 :           0 :                         tree captures[1] ATTRIBUTE_UNUSED = { _q21 };
    6512                 :           0 :                         tree res = generic_simplify_175 (loc, type, _p0, _p1, captures, CFN_BUILT_IN_COPYSIGNL);
    6513                 :           0 :                         if (res) return res;
    6514                 :             :                       }
    6515                 :             :                     }
    6516                 :           0 :                   switch (TREE_CODE (_q21))
    6517                 :             :                     {
    6518                 :           0 :                     case NEGATE_EXPR:
    6519                 :           0 :                       {
    6520                 :           0 :                         tree _q40 = TREE_OPERAND (_q21, 0);
    6521                 :           0 :                         if ((_p1 == _q40 && ! TREE_SIDE_EFFECTS (_p1)) || (operand_equal_p (_p1, _q40, 0) && types_match (_p1, _q40)))
    6522                 :             :                           {
    6523                 :           0 :                             {
    6524                 :           0 :                               tree captures[1] ATTRIBUTE_UNUSED = { _q40 };
    6525                 :           0 :                               tree res = generic_simplify_176 (loc, type, _p0, _p1, captures, CFN_BUILT_IN_COPYSIGNL);
    6526                 :           0 :                               if (res) return res;
    6527                 :             :                             }
    6528                 :             :                           }
    6529                 :             :                         break;
    6530                 :             :                       }
    6531                 :             :                     default:;
    6532                 :             :                     }
    6533                 :             :                 }
    6534                 :             :             }
    6535                 :             :           break;
    6536                 :           0 :         case CFN_COPYSIGN:
    6537                 :           0 :           if (call_expr_nargs (_p0) == 2)
    6538                 :             :     {
    6539                 :           0 :               tree _q20 = CALL_EXPR_ARG (_p0, 0);
    6540                 :           0 :               tree _q21 = CALL_EXPR_ARG (_p0, 1);
    6541                 :           0 :               if (real_onep (_q20))
    6542                 :             :                 {
    6543                 :           0 :                   if ((_p1 == _q21 && ! TREE_SIDE_EFFECTS (_p1)) || (operand_equal_p (_p1, _q21, 0) && types_match (_p1, _q21)))
    6544                 :             :                     {
    6545                 :           0 :                       {
    6546                 :           0 :                         tree captures[1] ATTRIBUTE_UNUSED = { _q21 };
    6547                 :           0 :                         tree res = generic_simplify_175 (loc, type, _p0, _p1, captures, CFN_COPYSIGN);
    6548                 :           0 :                         if (res) return res;
    6549                 :             :                       }
    6550                 :             :                     }
    6551                 :           0 :                   switch (TREE_CODE (_q21))
    6552                 :             :                     {
    6553                 :           0 :                     case NEGATE_EXPR:
    6554                 :           0 :                       {
    6555                 :           0 :                         tree _q40 = TREE_OPERAND (_q21, 0);
    6556                 :           0 :                         if ((_p1 == _q40 && ! TREE_SIDE_EFFECTS (_p1)) || (operand_equal_p (_p1, _q40, 0) && types_match (_p1, _q40)))
    6557                 :             :                           {
    6558                 :           0 :                             {
    6559                 :           0 :                               tree captures[1] ATTRIBUTE_UNUSED = { _q40 };
    6560                 :           0 :                               tree res = generic_simplify_176 (loc, type, _p0, _p1, captures, CFN_COPYSIGN);
    6561                 :           0 :                               if (res) return res;
    6562                 :             :                             }
    6563                 :             :                           }
    6564                 :             :                         break;
    6565                 :             :                       }
    6566                 :             :                     default:;
    6567                 :             :                     }
    6568                 :             :                 }
    6569                 :             :             }
    6570                 :             :           break;
    6571                 :             :         default:;
    6572                 :             :         }
    6573                 :             :       break;
    6574                 :    68967227 :     default:;
    6575                 :             :     }
    6576                 :    68967227 :   switch (TREE_CODE (_p1))
    6577                 :             :     {
    6578                 :      928152 :     case CALL_EXPR:
    6579                 :      928152 :       switch (get_call_combined_fn (_p1))
    6580                 :             :         {
    6581                 :          20 :         case CFN_BUILT_IN_COPYSIGNF16:
    6582                 :          20 :           if (call_expr_nargs (_p1) == 2)
    6583                 :             :     {
    6584                 :          20 :               tree _q30 = CALL_EXPR_ARG (_p1, 0);
    6585                 :          20 :               tree _q31 = CALL_EXPR_ARG (_p1, 1);
    6586                 :          20 :               if (real_onep (_q30))
    6587                 :             :                 {
    6588                 :          20 :                   switch (TREE_CODE (_q31))
    6589                 :             :                     {
    6590                 :           0 :                     case NEGATE_EXPR:
    6591                 :           0 :                       {
    6592                 :           0 :                         tree _q50 = TREE_OPERAND (_q31, 0);
    6593                 :           0 :                         if ((_q50 == _p0 && ! TREE_SIDE_EFFECTS (_q50)) || (operand_equal_p (_q50, _p0, 0) && types_match (_q50, _p0)))
    6594                 :             :                           {
    6595                 :           0 :                             {
    6596                 :           0 :                               tree captures[1] ATTRIBUTE_UNUSED = { _p0 };
    6597                 :           0 :                               tree res = generic_simplify_177 (loc, type, _p0, _p1, captures, CFN_BUILT_IN_COPYSIGNF16);
    6598                 :           0 :                               if (res) return res;
    6599                 :             :                             }
    6600                 :             :                           }
    6601                 :             :                         break;
    6602                 :             :                       }
    6603                 :             :                     default:;
    6604                 :             :                     }
    6605                 :             :                 }
    6606                 :             :             }
    6607                 :             :           break;
    6608                 :           0 :         case CFN_BUILT_IN_COPYSIGNF32:
    6609                 :           0 :           if (call_expr_nargs (_p1) == 2)
    6610                 :             :     {
    6611                 :           0 :               tree _q30 = CALL_EXPR_ARG (_p1, 0);
    6612                 :           0 :               tree _q31 = CALL_EXPR_ARG (_p1, 1);
    6613                 :           0 :               if (real_onep (_q30))
    6614                 :             :                 {
    6615                 :           0 :                   switch (TREE_CODE (_q31))
    6616                 :             :                     {
    6617                 :           0 :                     case NEGATE_EXPR:
    6618                 :           0 :                       {
    6619                 :           0 :                         tree _q50 = TREE_OPERAND (_q31, 0);
    6620                 :           0 :                         if ((_q50 == _p0 && ! TREE_SIDE_EFFECTS (_q50)) || (operand_equal_p (_q50, _p0, 0) && types_match (_q50, _p0)))
    6621                 :             :                           {
    6622                 :           0 :                             {
    6623                 :           0 :                               tree captures[1] ATTRIBUTE_UNUSED = { _p0 };
    6624                 :           0 :                               tree res = generic_simplify_177 (loc, type, _p0, _p1, captures, CFN_BUILT_IN_COPYSIGNF32);
    6625                 :           0 :                               if (res) return res;
    6626                 :             :                             }
    6627                 :             :                           }
    6628                 :             :                         break;
    6629                 :             :                       }
    6630                 :             :                     default:;
    6631                 :             :                     }
    6632                 :             :                 }
    6633                 :             :             }
    6634                 :             :           break;
    6635                 :           0 :         case CFN_BUILT_IN_COPYSIGNF64:
    6636                 :           0 :           if (call_expr_nargs (_p1) == 2)
    6637                 :             :     {
    6638                 :           0 :               tree _q30 = CALL_EXPR_ARG (_p1, 0);
    6639                 :           0 :               tree _q31 = CALL_EXPR_ARG (_p1, 1);
    6640                 :           0 :               if (real_onep (_q30))
    6641                 :             :                 {
    6642                 :           0 :                   switch (TREE_CODE (_q31))
    6643                 :             :                     {
    6644                 :           0 :                     case NEGATE_EXPR:
    6645                 :           0 :                       {
    6646                 :           0 :                         tree _q50 = TREE_OPERAND (_q31, 0);
    6647                 :           0 :                         if ((_q50 == _p0 && ! TREE_SIDE_EFFECTS (_q50)) || (operand_equal_p (_q50, _p0, 0) && types_match (_q50, _p0)))
    6648                 :             :                           {
    6649                 :           0 :                             {
    6650                 :           0 :                               tree captures[1] ATTRIBUTE_UNUSED = { _p0 };
    6651                 :           0 :                               tree res = generic_simplify_177 (loc, type, _p0, _p1, captures, CFN_BUILT_IN_COPYSIGNF64);
    6652                 :           0 :                               if (res) return res;
    6653                 :             :                             }
    6654                 :             :                           }
    6655                 :             :                         break;
    6656                 :             :                       }
    6657                 :             :                     default:;
    6658                 :             :                     }
    6659                 :             :                 }
    6660                 :             :             }
    6661                 :             :           break;
    6662                 :           0 :         case CFN_BUILT_IN_COPYSIGNF128X:
    6663                 :           0 :           if (call_expr_nargs (_p1) == 2)
    6664                 :             :     {
    6665                 :           0 :               tree _q30 = CALL_EXPR_ARG (_p1, 0);
    6666                 :           0 :               tree _q31 = CALL_EXPR_ARG (_p1, 1);
    6667                 :           0 :               if (real_onep (_q30))
    6668                 :             :                 {
    6669                 :           0 :                   switch (TREE_CODE (_q31))
    6670                 :             :                     {
    6671                 :           0 :                     case NEGATE_EXPR:
    6672                 :           0 :                       {
    6673                 :           0 :                         tree _q50 = TREE_OPERAND (_q31, 0);
    6674                 :           0 :                         if ((_q50 == _p0 && ! TREE_SIDE_EFFECTS (_q50)) || (operand_equal_p (_q50, _p0, 0) && types_match (_q50, _p0)))
    6675                 :             :                           {
    6676                 :           0 :                             {
    6677                 :           0 :                               tree captures[1] ATTRIBUTE_UNUSED = { _p0 };
    6678                 :           0 :                               tree res = generic_simplify_177 (loc, type, _p0, _p1, captures, CFN_BUILT_IN_COPYSIGNF128X);
    6679                 :           0 :                               if (res) return res;
    6680                 :             :                             }
    6681                 :             :                           }
    6682                 :             :                         break;
    6683                 :             :                       }
    6684                 :             :                     default:;
    6685                 :             :                     }
    6686                 :             :                 }
    6687                 :             :             }
    6688                 :             :           break;
    6689                 :           0 :         case CFN_BUILT_IN_COPYSIGNF128:
    6690                 :           0 :           if (call_expr_nargs (_p1) == 2)
    6691                 :             :     {
    6692                 :           0 :               tree _q30 = CALL_EXPR_ARG (_p1, 0);
    6693                 :           0 :               tree _q31 = CALL_EXPR_ARG (_p1, 1);
    6694                 :           0 :               if (real_onep (_q30))
    6695                 :             :                 {
    6696                 :           0 :                   switch (TREE_CODE (_q31))
    6697                 :             :                     {
    6698                 :           0 :                     case NEGATE_EXPR:
    6699                 :           0 :                       {
    6700                 :           0 :                         tree _q50 = TREE_OPERAND (_q31, 0);
    6701                 :           0 :                         if ((_q50 == _p0 && ! TREE_SIDE_EFFECTS (_q50)) || (operand_equal_p (_q50, _p0, 0) && types_match (_q50, _p0)))
    6702                 :             :                           {
    6703                 :           0 :                             {
    6704                 :           0 :                               tree captures[1] ATTRIBUTE_UNUSED = { _p0 };
    6705                 :           0 :                               tree res = generic_simplify_177 (loc, type, _p0, _p1, captures, CFN_BUILT_IN_COPYSIGNF128);
    6706                 :           0 :                               if (res) return res;
    6707                 :             :                             }
    6708                 :             :                           }
    6709                 :             :                         break;
    6710                 :             :                       }
    6711                 :             :                     default:;
    6712                 :             :                     }
    6713                 :             :                 }
    6714                 :             :             }
    6715                 :             :           break;
    6716                 :           0 :         case CFN_BUILT_IN_COPYSIGNF32X:
    6717                 :           0 :           if (call_expr_nargs (_p1) == 2)
    6718                 :             :     {
    6719                 :           0 :               tree _q30 = CALL_EXPR_ARG (_p1, 0);
    6720                 :           0 :               tree _q31 = CALL_EXPR_ARG (_p1, 1);
    6721                 :           0 :               if (real_onep (_q30))
    6722                 :             :                 {
    6723                 :           0 :                   switch (TREE_CODE (_q31))
    6724                 :             :                     {
    6725                 :           0 :                     case NEGATE_EXPR:
    6726                 :           0 :                       {
    6727                 :           0 :                         tree _q50 = TREE_OPERAND (_q31, 0);
    6728                 :           0 :                         if ((_q50 == _p0 && ! TREE_SIDE_EFFECTS (_q50)) || (operand_equal_p (_q50, _p0, 0) && types_match (_q50, _p0)))
    6729                 :             :                           {
    6730                 :           0 :                             {
    6731                 :           0 :                               tree captures[1] ATTRIBUTE_UNUSED = { _p0 };
    6732                 :           0 :                               tree res = generic_simplify_177 (loc, type, _p0, _p1, captures, CFN_BUILT_IN_COPYSIGNF32X);
    6733                 :           0 :                               if (res) return res;
    6734                 :             :                             }
    6735                 :             :                           }
    6736                 :             :                         break;
    6737                 :             :                       }
    6738                 :             :                     default:;
    6739                 :             :                     }
    6740                 :             :                 }
    6741                 :             :             }
    6742                 :             :           break;
    6743                 :           0 :         case CFN_BUILT_IN_COPYSIGNF64X:
    6744                 :           0 :           if (call_expr_nargs (_p1) == 2)
    6745                 :             :     {
    6746                 :           0 :               tree _q30 = CALL_EXPR_ARG (_p1, 0);
    6747                 :           0 :               tree _q31 = CALL_EXPR_ARG (_p1, 1);
    6748                 :           0 :               if (real_onep (_q30))
    6749                 :             :                 {
    6750                 :           0 :                   switch (TREE_CODE (_q31))
    6751                 :             :                     {
    6752                 :           0 :                     case NEGATE_EXPR:
    6753                 :           0 :                       {
    6754                 :           0 :                         tree _q50 = TREE_OPERAND (_q31, 0);
    6755                 :           0 :                         if ((_q50 == _p0 && ! TREE_SIDE_EFFECTS (_q50)) || (operand_equal_p (_q50, _p0, 0) && types_match (_q50, _p0)))
    6756                 :             :                           {
    6757                 :           0 :                             {
    6758                 :           0 :                               tree captures[1] ATTRIBUTE_UNUSED = { _p0 };
    6759                 :           0 :                               tree res = generic_simplify_177 (loc, type, _p0, _p1, captures, CFN_BUILT_IN_COPYSIGNF64X);
    6760                 :           0 :                               if (res) return res;
    6761                 :             :                             }
    6762                 :             :                           }
    6763                 :             :                         break;
    6764                 :             :                       }
    6765                 :             :                     default:;
    6766                 :             :                     }
    6767                 :             :                 }
    6768                 :             :             }
    6769                 :             :           break;
    6770                 :          18 :         case CFN_BUILT_IN_COPYSIGN:
    6771                 :          18 :           if (call_expr_nargs (_p1) == 2)
    6772                 :             :     {
    6773                 :          18 :               tree _q30 = CALL_EXPR_ARG (_p1, 0);
    6774                 :          18 :               tree _q31 = CALL_EXPR_ARG (_p1, 1);
    6775                 :          18 :               if (real_onep (_q30))
    6776                 :             :                 {
    6777                 :          14 :                   switch (TREE_CODE (_q31))
    6778                 :             :                     {
    6779                 :           0 :                     case NEGATE_EXPR:
    6780                 :           0 :                       {
    6781                 :           0 :                         tree _q50 = TREE_OPERAND (_q31, 0);
    6782                 :           0 :                         if ((_q50 == _p0 && ! TREE_SIDE_EFFECTS (_q50)) || (operand_equal_p (_q50, _p0, 0) && types_match (_q50, _p0)))
    6783                 :             :                           {
    6784                 :           0 :                             {
    6785                 :           0 :                               tree captures[1] ATTRIBUTE_UNUSED = { _p0 };
    6786                 :           0 :                               tree res = generic_simplify_177 (loc, type, _p0, _p1, captures, CFN_BUILT_IN_COPYSIGN);
    6787                 :           0 :                               if (res) return res;
    6788                 :             :                             }
    6789                 :             :                           }
    6790                 :             :                         break;
    6791                 :             :                       }
    6792                 :             :                     default:;
    6793                 :             :                     }
    6794                 :             :                 }
    6795                 :             :             }
    6796                 :             :           break;
    6797                 :          14 :         case CFN_BUILT_IN_COPYSIGNF:
    6798                 :          14 :           if (call_expr_nargs (_p1) == 2)
    6799                 :             :     {
    6800                 :          14 :               tree _q30 = CALL_EXPR_ARG (_p1, 0);
    6801                 :          14 :               tree _q31 = CALL_EXPR_ARG (_p1, 1);
    6802                 :          14 :               if (real_onep (_q30))
    6803                 :             :                 {
    6804                 :          12 :                   switch (TREE_CODE (_q31))
    6805                 :             :                     {
    6806                 :           0 :                     case NEGATE_EXPR:
    6807                 :           0 :                       {
    6808                 :           0 :                         tree _q50 = TREE_OPERAND (_q31, 0);
    6809                 :           0 :                         if ((_q50 == _p0 && ! TREE_SIDE_EFFECTS (_q50)) || (operand_equal_p (_q50, _p0, 0) && types_match (_q50, _p0)))
    6810                 :             :                           {
    6811                 :           0 :                             {
    6812                 :           0 :                               tree captures[1] ATTRIBUTE_UNUSED = { _p0 };
    6813                 :           0 :                               tree res = generic_simplify_177 (loc, type, _p0, _p1, captures, CFN_BUILT_IN_COPYSIGNF);
    6814                 :           0 :                               if (res) return res;
    6815                 :             :                             }
    6816                 :             :                           }
    6817                 :             :                         break;
    6818                 :             :                       }
    6819                 :             :                     default:;
    6820                 :             :                     }
    6821                 :             :                 }
    6822                 :             :             }
    6823                 :             :           break;
    6824                 :           0 :         case CFN_BUILT_IN_COPYSIGNL:
    6825                 :           0 :           if (call_expr_nargs (_p1) == 2)
    6826                 :             :     {
    6827                 :           0 :               tree _q30 = CALL_EXPR_ARG (_p1, 0);
    6828                 :           0 :               tree _q31 = CALL_EXPR_ARG (_p1, 1);
    6829                 :           0 :               if (real_onep (_q30))
    6830                 :             :                 {
    6831                 :           0 :                   switch (TREE_CODE (_q31))
    6832                 :             :                     {
    6833                 :           0 :                     case NEGATE_EXPR:
    6834                 :           0 :                       {
    6835                 :           0 :                         tree _q50 = TREE_OPERAND (_q31, 0);
    6836                 :           0 :                         if ((_q50 == _p0 && ! TREE_SIDE_EFFECTS (_q50)) || (operand_equal_p (_q50, _p0, 0) && types_match (_q50, _p0)))
    6837                 :             :                           {
    6838                 :           0 :                             {
    6839                 :           0 :                               tree captures[1] ATTRIBUTE_UNUSED = { _p0 };
    6840                 :           0 :                               tree res = generic_simplify_177 (loc, type, _p0, _p1, captures, CFN_BUILT_IN_COPYSIGNL);
    6841                 :           0 :                               if (res) return res;
    6842                 :             :                             }
    6843                 :             :                           }
    6844                 :             :                         break;
    6845                 :             :                       }
    6846                 :             :                     default:;
    6847                 :             :                     }
    6848                 :             :                 }
    6849                 :             :             }
    6850                 :             :           break;
    6851                 :           0 :         case CFN_COPYSIGN:
    6852                 :           0 :           if (call_expr_nargs (_p1) == 2)
    6853                 :             :     {
    6854                 :           0 :               tree _q30 = CALL_EXPR_ARG (_p1, 0);
    6855                 :           0 :               tree _q31 = CALL_EXPR_ARG (_p1, 1);
    6856                 :           0 :               if (real_onep (_q30))
    6857                 :             :                 {
    6858                 :           0 :                   switch (TREE_CODE (_q31))
    6859                 :             :                     {
    6860                 :           0 :                     case NEGATE_EXPR:
    6861                 :           0 :                       {
    6862                 :           0 :                         tree _q50 = TREE_OPERAND (_q31, 0);
    6863                 :           0 :                         if ((_q50 == _p0 && ! TREE_SIDE_EFFECTS (_q50)) || (operand_equal_p (_q50, _p0, 0) && types_match (_q50, _p0)))
    6864                 :             :                           {
    6865                 :           0 :                             {
    6866                 :           0 :                               tree captures[1] ATTRIBUTE_UNUSED = { _p0 };
    6867                 :           0 :                               tree res = generic_simplify_177 (loc, type, _p0, _p1, captures, CFN_COPYSIGN);
    6868                 :           0 :                               if (res) return res;
    6869                 :             :                             }
    6870                 :             :                           }
    6871                 :             :                         break;
    6872                 :             :                       }
    6873                 :             :                     default:;
    6874                 :             :                     }
    6875                 :             :                 }
    6876                 :             :             }
    6877                 :             :           break;
    6878                 :             :         default:;
    6879                 :             :         }
    6880                 :             :       break;
    6881                 :    68967227 :     default:;
    6882                 :             :     }
    6883                 :    68967227 : if (integer_onep (_p1))
    6884                 :             :   {
    6885                 :     2849800 :     {
    6886                 :     2849800 :       tree captures[1] ATTRIBUTE_UNUSED = { _p0 };
    6887                 :     2849800 :       tree res = generic_simplify_178 (loc, type, _p0, _p1, captures, MULT_EXPR);
    6888                 :     2849800 :       if (res) return res;
    6889                 :             :     }
    6890                 :             :   }
    6891                 :    66117427 :   switch (TREE_CODE (_p0))
    6892                 :             :     {
    6893                 :     5849708 :     case MULT_EXPR:
    6894                 :     5849708 :       {
    6895                 :     5849708 :         tree _q20 = TREE_OPERAND (_p0, 0);
    6896                 :     5849708 :         tree _q21 = TREE_OPERAND (_p0, 1);
    6897                 :     5849708 :         switch (TREE_CODE (_q21))
    6898                 :             :           {
    6899                 :     1082099 :           case INTEGER_CST:
    6900                 :     1082099 :             {
    6901                 :     1082099 :               switch (TREE_CODE (_p1))
    6902                 :             :                 {
    6903                 :      981475 :                 case INTEGER_CST:
    6904                 :      981475 :                   {
    6905                 :      981475 :                     {
    6906                 :      981475 :                       tree captures[3] ATTRIBUTE_UNUSED = { _q20, _q21, _p1 };
    6907                 :      981475 :                       {
    6908                 :      981475 :  wi::overflow_type overflow;
    6909                 :      981475 :  wide_int mul = wi::mul (wi::to_wide (captures[1]), wi::to_wide (captures[2]),
    6910                 :     1962950 :  TYPE_SIGN (type), &overflow);
    6911                 :      981475 :                           if (!overflow || TYPE_OVERFLOW_WRAPS (type)
    6912                 :             : )
    6913                 :             :                             {
    6914                 :      981445 :                               if (TREE_SIDE_EFFECTS (captures[1])) goto next_after_fail1579;
    6915                 :      981445 :                               if (TREE_SIDE_EFFECTS (captures[2])) goto next_after_fail1579;
    6916                 :      981445 :                               if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail1579;
    6917                 :      981445 :                               {
    6918                 :      981445 :                                 tree res_op0;
    6919                 :      981445 :                                 res_op0 = captures[0];
    6920                 :      981445 :                                 tree res_op1;
    6921                 :      981445 :                                 res_op1 =  wide_int_to_tree (type, mul);
    6922                 :      981445 :                                 tree _r;
    6923                 :      981445 :                                 _r = fold_build2_loc (loc, MULT_EXPR, type, res_op0, res_op1);
    6924                 :      981445 :                                 if (UNLIKELY (debug_dump)) generic_dump_logs ("match.pd", 982, __FILE__, __LINE__, true);
    6925                 :      981445 :                                 return _r;
    6926                 :             :                               }
    6927                 :          30 : next_after_fail1579:;
    6928                 :             :                             }
    6929                 :      981445 :                       }
    6930                 :             :                     }
    6931                 :          30 :                     break;
    6932                 :             :                   }
    6933                 :             :                 default:;
    6934                 :             :                 }
    6935                 :             :               break;
    6936                 :             :             }
    6937                 :             :           default:;
    6938                 :             :           }
    6939                 :             :         break;
    6940                 :             :       }
    6941                 :     7170409 :     case PLUS_EXPR:
    6942                 :     7170409 :       {
    6943                 :     7170409 :         tree _q20 = TREE_OPERAND (_p0, 0);
    6944                 :     7170409 :         tree _q21 = TREE_OPERAND (_p0, 1);
    6945                 :     7170409 :         switch (TREE_CODE (_q20))
    6946                 :             :           {
    6947                 :     1171200 :           case MULT_EXPR:
    6948                 :     1171200 :             {
    6949                 :     1171200 :               tree _q30 = TREE_OPERAND (_q20, 0);
    6950                 :     1171200 :               tree _q31 = TREE_OPERAND (_q20, 1);
    6951                 :     1171200 :               switch (TREE_CODE (_q31))
    6952                 :             :                 {
    6953                 :      306253 :                 case INTEGER_CST:
    6954                 :      306253 :                   {
    6955                 :      306253 :                     switch (TREE_CODE (_q21))
    6956                 :             :                       {
    6957                 :       36591 :                       case INTEGER_CST:
    6958                 :       36591 :                         {
    6959                 :       36591 :                           switch (TREE_CODE (_p1))
    6960                 :             :                             {
    6961                 :       13079 :                             case INTEGER_CST:
    6962                 :       13079 :                               {
    6963                 :       13079 :                                 {
    6964                 :       13079 :                                   tree captures[6] ATTRIBUTE_UNUSED = { _p0, _q20, _q30, _q31, _q21, _p1 };
    6965                 :       13079 :                                   {
    6966                 :       13079 :  bool overflowed = true;
    6967                 :       13079 :  wi::overflow_type ovf1, ovf2;
    6968                 :       13079 :  wide_int mul = wi::mul (wi::to_wide (captures[3]), wi::to_wide (captures[5]),
    6969                 :       26158 :  TYPE_SIGN (type), &ovf1);
    6970                 :       13079 :  wide_int add = wi::mul (wi::to_wide (captures[4]), wi::to_wide (captures[5]),
    6971                 :       26158 :  TYPE_SIGN (type), &ovf2);
    6972                 :       13079 :  if (TYPE_OVERFLOW_UNDEFINED (type))
    6973                 :             :  {
    6974                 :             :  }
    6975                 :             :  else
    6976                 :        5521 :  overflowed = false;
    6977                 :        5521 :                                       if (!overflowed
    6978                 :             : )
    6979                 :             :                                         {
    6980                 :        5521 :                                           if (TREE_SIDE_EFFECTS (captures[3])) goto next_after_fail1580;
    6981                 :        5521 :                                           if (TREE_SIDE_EFFECTS (captures[4])) goto next_after_fail1580;
    6982                 :        5521 :                                           if (TREE_SIDE_EFFECTS (captures[5])) goto next_after_fail1580;
    6983                 :        5521 :                                           if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail1580;
    6984                 :        5521 :                                           {
    6985                 :        5521 :                                             tree res_op0;
    6986                 :        5521 :                                             {
    6987                 :        5521 :                                               tree _o1[2], _r1;
    6988                 :        5521 :                                               _o1[0] = captures[2];
    6989                 :        5521 :                                               _o1[1] =  wide_int_to_tree (type, mul);
    6990                 :        5521 :                                               _r1 = fold_build2_loc (loc, MULT_EXPR, TREE_TYPE (_o1[0]), _o1[0], _o1[1]);
    6991                 :        5521 :                                               res_op0 = _r1;
    6992                 :             :                                             }
    6993                 :        5521 :                                             tree res_op1;
    6994                 :        5521 :                                             res_op1 =  wide_int_to_tree (type, add);
    6995                 :        5521 :                                             tree _r;
    6996                 :        5521 :                                             _r = fold_build2_loc (loc, PLUS_EXPR, type, res_op0, res_op1);
    6997                 :        5521 :                                             if (UNLIKELY (debug_dump)) generic_dump_logs ("match.pd", 983, __FILE__, __LINE__, true);
    6998                 :        5521 :                                             return _r;
    6999                 :             :                                           }
    7000                 :        7558 : next_after_fail1580:;
    7001                 :             :                                         }
    7002                 :       13079 :                                   }
    7003                 :             :                                 }
    7004                 :        7558 :                                 break;
    7005                 :             :                               }
    7006                 :             :                             default:;
    7007                 :             :                             }
    7008                 :             :                           break;
    7009                 :             :                         }
    7010                 :             :                       default:;
    7011                 :             :                       }
    7012                 :             :                     break;
    7013                 :             :                   }
    7014                 :             :                 default:;
    7015                 :             :                 }
    7016                 :             :               break;
    7017                 :             :             }
    7018                 :             :           default:;
    7019                 :             :           }
    7020                 :             :         break;
    7021                 :             :       }
    7022                 :       84188 :     case TRUNC_DIV_EXPR:
    7023                 :       84188 :       {
    7024                 :       84188 :         tree _q20 = TREE_OPERAND (_p0, 0);
    7025                 :       84188 :         tree _q21 = TREE_OPERAND (_p0, 1);
    7026                 :       84188 :         if (integer_pow2p (_q21))
    7027                 :             :           {
    7028                 :       62565 :             if ((_p1 == _q21 && ! TREE_SIDE_EFFECTS (_p1)) || (operand_equal_p (_p1, _q21, 0) && types_match (_p1, _q21)))
    7029                 :             :               {
    7030                 :       40642 :                 {
    7031                 :       40642 :                   tree captures[2] ATTRIBUTE_UNUSED = { _q20, _q21 };
    7032                 :       40642 :                   if (INTEGRAL_TYPE_P (TREE_TYPE (captures[0])) && TYPE_UNSIGNED (TREE_TYPE (captures[0]))
    7033                 :             : )
    7034                 :             :                     {
    7035                 :       40578 :                       if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail1581;
    7036                 :       40578 :                       {
    7037                 :       40578 :                         tree res_op0;
    7038                 :       40578 :                         res_op0 = captures[0];
    7039                 :       40578 :                         tree res_op1;
    7040                 :       40578 :                         {
    7041                 :       40578 :                           tree _o1[1], _r1;
    7042                 :       40578 :                           _o1[0] = captures[1];
    7043                 :       40578 :                           _r1 = fold_build1_loc (loc, NEGATE_EXPR, TREE_TYPE (_o1[0]), _o1[0]);
    7044                 :       40578 :                           res_op1 = _r1;
    7045                 :             :                         }
    7046                 :       40578 :                         tree _r;
    7047                 :       40578 :                         _r = fold_build2_loc (loc, BIT_AND_EXPR, type, res_op0, res_op1);
    7048                 :       40578 :                         if (UNLIKELY (debug_dump)) generic_dump_logs ("match.pd", 984, __FILE__, __LINE__, true);
    7049                 :       40578 :                         return _r;
    7050                 :             :                       }
    7051                 :           0 : next_after_fail1581:;
    7052                 :             :                     }
    7053                 :             :                 }
    7054                 :             :               }
    7055                 :             :           }
    7056                 :             :         break;
    7057                 :             :       }
    7058                 :         266 :     case ABS_EXPR:
    7059                 :         266 :       {
    7060                 :         266 :         tree _q20 = TREE_OPERAND (_p0, 0);
    7061                 :         266 :         if ((_p1 == _p0 && ! TREE_SIDE_EFFECTS (_p1)) || (operand_equal_p (_p1, _p0, 0) && types_match (_p1, _p0)))
    7062                 :             :           {
    7063                 :           2 :             {
    7064                 :           2 :               tree captures[2] ATTRIBUTE_UNUSED = { _p0, _q20 };
    7065                 :           2 :               if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail1582;
    7066                 :           2 :               {
    7067                 :           2 :                 if (! tree_invariant_p (captures[1])) goto next_after_fail1582;
    7068                 :           0 :                 tree res_op0;
    7069                 :           0 :                 res_op0 = unshare_expr (captures[1]);
    7070                 :           0 :                 tree res_op1;
    7071                 :           0 :                 res_op1 = captures[1];
    7072                 :           0 :                 tree _r;
    7073                 :           0 :                 _r = fold_build2_loc (loc, MULT_EXPR, type, res_op0, res_op1);
    7074                 :           0 :                 if (UNLIKELY (debug_dump)) generic_dump_logs ("match.pd", 985, __FILE__, __LINE__, true);
    7075                 :           0 :                 return _r;
    7076                 :             :               }
    7077                 :           2 : next_after_fail1582:;
    7078                 :             :             }
    7079                 :             :           }
    7080                 :             :         break;
    7081                 :             :       }
    7082                 :           0 :     case ABSU_EXPR:
    7083                 :           0 :       {
    7084                 :           0 :         tree _q20 = TREE_OPERAND (_p0, 0);
    7085                 :           0 :         if ((_p1 == _p0 && ! TREE_SIDE_EFFECTS (_p1)) || (operand_equal_p (_p1, _p0, 0) && types_match (_p1, _p0)))
    7086                 :             :           {
    7087                 :           0 :             {
    7088                 :           0 :               tree captures[3] ATTRIBUTE_UNUSED = { _p0, _q20 };
    7089                 :           0 :               if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail1583;
    7090                 :           0 :               {
    7091                 :           0 :                 tree res_op0;
    7092                 :           0 :                 {
    7093                 :           0 :                   tree _o1[1], _r1;
    7094                 :           0 :                   _o1[0] = captures[1];
    7095                 :           0 :                   if (TREE_TYPE (_o1[0]) != type)
    7096                 :             :                     {
    7097                 :           0 :                       _r1 = fold_build1_loc (loc, NOP_EXPR, type, _o1[0]);
    7098                 :             :                     }
    7099                 :             :                   else
    7100                 :             :                     _r1 = _o1[0];
    7101                 :           0 :                   captures[2] = _r1;
    7102                 :             :                 }
    7103                 :           0 :                 res_op0 = unshare_expr (captures[2]);
    7104                 :           0 :                 tree res_op1;
    7105                 :           0 :                 res_op1 = captures[2];
    7106                 :           0 :                 tree _r;
    7107                 :           0 :                 _r = fold_build2_loc (loc, MULT_EXPR, type, res_op0, res_op1);
    7108                 :           0 :                 if (UNLIKELY (debug_dump)) generic_dump_logs ("match.pd", 986, __FILE__, __LINE__, true);
    7109                 :           0 :                 return _r;
    7110                 :             :               }
    7111                 :           0 : next_after_fail1583:;
    7112                 :             :             }
    7113                 :             :           }
    7114                 :             :         break;
    7115                 :             :       }
    7116                 :     2493305 :     case CALL_EXPR:
    7117                 :     2493305 :       switch (get_call_combined_fn (_p0))
    7118                 :             :         {
    7119                 :           1 :         case CFN_BUILT_IN_COPYSIGNF16:
    7120                 :           1 :           if (call_expr_nargs (_p0) == 2)
    7121                 :             :     {
    7122                 :           1 :               tree _q20 = CALL_EXPR_ARG (_p0, 0);
    7123                 :           1 :               tree _q21 = CALL_EXPR_ARG (_p0, 1);
    7124                 :           1 :               if ((_p1 == _p0 && ! TREE_SIDE_EFFECTS (_p1)) || (operand_equal_p (_p1, _p0, 0) && types_match (_p1, _p0)))
    7125                 :             :                 {
    7126                 :           0 :                   {
    7127                 :           0 :                     tree captures[3] ATTRIBUTE_UNUSED = { _p0, _q20, _q21 };
    7128                 :           0 :                     tree res = generic_simplify_179 (loc, type, _p0, _p1, captures, CFN_BUILT_IN_COPYSIGNF16);
    7129                 :           0 :                     if (res) return res;
    7130                 :             :                   }
    7131                 :             :                 }
    7132                 :             :             }
    7133                 :             :           break;
    7134                 :           0 :         case CFN_BUILT_IN_COPYSIGNF32:
    7135                 :           0 :           if (call_expr_nargs (_p0) == 2)
    7136                 :             :     {
    7137                 :           0 :               tree _q20 = CALL_EXPR_ARG (_p0, 0);
    7138                 :           0 :               tree _q21 = CALL_EXPR_ARG (_p0, 1);
    7139                 :           0 :               if ((_p1 == _p0 && ! TREE_SIDE_EFFECTS (_p1)) || (operand_equal_p (_p1, _p0, 0) && types_match (_p1, _p0)))
    7140                 :             :                 {
    7141                 :           0 :                   {
    7142                 :           0 :                     tree captures[3] ATTRIBUTE_UNUSED = { _p0, _q20, _q21 };
    7143                 :           0 :                     tree res = generic_simplify_179 (loc, type, _p0, _p1, captures, CFN_BUILT_IN_COPYSIGNF32);
    7144                 :           0 :                     if (res) return res;
    7145                 :             :                   }
    7146                 :             :                 }
    7147                 :             :             }
    7148                 :             :           break;
    7149                 :           0 :         case CFN_BUILT_IN_COPYSIGNF64:
    7150                 :           0 :           if (call_expr_nargs (_p0) == 2)
    7151                 :             :     {
    7152                 :           0 :               tree _q20 = CALL_EXPR_ARG (_p0, 0);
    7153                 :           0 :               tree _q21 = CALL_EXPR_ARG (_p0, 1);
    7154                 :           0 :               if ((_p1 == _p0 && ! TREE_SIDE_EFFECTS (_p1)) || (operand_equal_p (_p1, _p0, 0) && types_match (_p1, _p0)))
    7155                 :             :                 {
    7156                 :           0 :                   {
    7157                 :           0 :                     tree captures[3] ATTRIBUTE_UNUSED = { _p0, _q20, _q21 };
    7158                 :           0 :                     tree res = generic_simplify_179 (loc, type, _p0, _p1, captures, CFN_BUILT_IN_COPYSIGNF64);
    7159                 :           0 :                     if (res) return res;
    7160                 :             :                   }
    7161                 :             :                 }
    7162                 :             :             }
    7163                 :             :           break;
    7164                 :           0 :         case CFN_BUILT_IN_COPYSIGNF128X:
    7165                 :           0 :           if (call_expr_nargs (_p0) == 2)
    7166                 :             :     {
    7167                 :           0 :               tree _q20 = CALL_EXPR_ARG (_p0, 0);
    7168                 :           0 :               tree _q21 = CALL_EXPR_ARG (_p0, 1);
    7169                 :           0 :               if ((_p1 == _p0 && ! TREE_SIDE_EFFECTS (_p1)) || (operand_equal_p (_p1, _p0, 0) && types_match (_p1, _p0)))
    7170                 :             :                 {
    7171                 :           0 :                   {
    7172                 :           0 :                     tree captures[3] ATTRIBUTE_UNUSED = { _p0, _q20, _q21 };
    7173                 :           0 :                     tree res = generic_simplify_179 (loc, type, _p0, _p1, captures, CFN_BUILT_IN_COPYSIGNF128X);
    7174                 :           0 :                     if (res) return res;
    7175                 :             :                   }
    7176                 :             :                 }
    7177                 :             :             }
    7178                 :             :           break;
    7179                 :           8 :         case CFN_BUILT_IN_COPYSIGNF128:
    7180                 :           8 :           if (call_expr_nargs (_p0) == 2)
    7181                 :             :     {
    7182                 :           8 :               tree _q20 = CALL_EXPR_ARG (_p0, 0);
    7183                 :           8 :               tree _q21 = CALL_EXPR_ARG (_p0, 1);
    7184                 :           8 :               if ((_p1 == _p0 && ! TREE_SIDE_EFFECTS (_p1)) || (operand_equal_p (_p1, _p0, 0) && types_match (_p1, _p0)))
    7185                 :             :                 {
    7186                 :           0 :                   {
    7187                 :           0 :                     tree captures[3] ATTRIBUTE_UNUSED = { _p0, _q20, _q21 };
    7188                 :           0 :                     tree res = generic_simplify_179 (loc, type, _p0, _p1, captures, CFN_BUILT_IN_COPYSIGNF128);
    7189                 :           0 :                     if (res) return res;
    7190                 :             :                   }
    7191                 :             :                 }
    7192                 :             :             }
    7193                 :             :           break;
    7194                 :           0 :         case CFN_BUILT_IN_COPYSIGNF32X:
    7195                 :           0 :           if (call_expr_nargs (_p0) == 2)
    7196                 :             :     {
    7197                 :           0 :               tree _q20 = CALL_EXPR_ARG (_p0, 0);
    7198                 :           0 :               tree _q21 = CALL_EXPR_ARG (_p0, 1);
    7199                 :           0 :               if ((_p1 == _p0 && ! TREE_SIDE_EFFECTS (_p1)) || (operand_equal_p (_p1, _p0, 0) && types_match (_p1, _p0)))
    7200                 :             :                 {
    7201                 :           0 :                   {
    7202                 :           0 :                     tree captures[3] ATTRIBUTE_UNUSED = { _p0, _q20, _q21 };
    7203                 :           0 :                     tree res = generic_simplify_179 (loc, type, _p0, _p1, captures, CFN_BUILT_IN_COPYSIGNF32X);
    7204                 :           0 :                     if (res) return res;
    7205                 :             :                   }
    7206                 :             :                 }
    7207                 :             :             }
    7208                 :             :           break;
    7209                 :           0 :         case CFN_BUILT_IN_COPYSIGNF64X:
    7210                 :           0 :           if (call_expr_nargs (_p0) == 2)
    7211                 :             :     {
    7212                 :           0 :               tree _q20 = CALL_EXPR_ARG (_p0, 0);
    7213                 :           0 :               tree _q21 = CALL_EXPR_ARG (_p0, 1);
    7214                 :           0 :               if ((_p1 == _p0 && ! TREE_SIDE_EFFECTS (_p1)) || (operand_equal_p (_p1, _p0, 0) && types_match (_p1, _p0)))
    7215                 :             :                 {
    7216                 :           0 :                   {
    7217                 :           0 :                     tree captures[3] ATTRIBUTE_UNUSED = { _p0, _q20, _q21 };
    7218                 :           0 :                     tree res = generic_simplify_179 (loc, type, _p0, _p1, captures, CFN_BUILT_IN_COPYSIGNF64X);
    7219                 :           0 :                     if (res) return res;
    7220                 :             :                   }
    7221                 :             :                 }
    7222                 :             :             }
    7223                 :             :           break;
    7224                 :          21 :         case CFN_BUILT_IN_COPYSIGN:
    7225                 :          21 :           if (call_expr_nargs (_p0) == 2)
    7226                 :             :     {
    7227                 :          21 :               tree _q20 = CALL_EXPR_ARG (_p0, 0);
    7228                 :          21 :               tree _q21 = CALL_EXPR_ARG (_p0, 1);
    7229                 :          21 :               if ((_p1 == _p0 && ! TREE_SIDE_EFFECTS (_p1)) || (operand_equal_p (_p1, _p0, 0) && types_match (_p1, _p0)))
    7230                 :             :                 {
    7231                 :           0 :                   {
    7232                 :           0 :                     tree captures[3] ATTRIBUTE_UNUSED = { _p0, _q20, _q21 };
    7233                 :           0 :                     tree res = generic_simplify_179 (loc, type, _p0, _p1, captures, CFN_BUILT_IN_COPYSIGN);
    7234                 :           0 :                     if (res) return res;
    7235                 :             :                   }
    7236                 :             :                 }
    7237                 :             :             }
    7238                 :             :           break;
    7239                 :          36 :         case CFN_BUILT_IN_COPYSIGNF:
    7240                 :          36 :           if (call_expr_nargs (_p0) == 2)
    7241                 :             :     {
    7242                 :          36 :               tree _q20 = CALL_EXPR_ARG (_p0, 0);
    7243                 :          36 :               tree _q21 = CALL_EXPR_ARG (_p0, 1);
    7244                 :          36 :               if ((_p1 == _p0 && ! TREE_SIDE_EFFECTS (_p1)) || (operand_equal_p (_p1, _p0, 0) && types_match (_p1, _p0)))
    7245                 :             :                 {
    7246                 :           0 :                   {
    7247                 :           0 :                     tree captures[3] ATTRIBUTE_UNUSED = { _p0, _q20, _q21 };
    7248                 :           0 :                     tree res = generic_simplify_179 (loc, type, _p0, _p1, captures, CFN_BUILT_IN_COPYSIGNF);
    7249                 :           0 :                     if (res) return res;
    7250                 :             :                   }
    7251                 :             :                 }
    7252                 :             :             }
    7253                 :             :           break;
    7254                 :           8 :         case CFN_BUILT_IN_COPYSIGNL:
    7255                 :           8 :           if (call_expr_nargs (_p0) == 2)
    7256                 :             :     {
    7257                 :           8 :               tree _q20 = CALL_EXPR_ARG (_p0, 0);
    7258                 :           8 :               tree _q21 = CALL_EXPR_ARG (_p0, 1);
    7259                 :           8 :               if ((_p1 == _p0 && ! TREE_SIDE_EFFECTS (_p1)) || (operand_equal_p (_p1, _p0, 0) && types_match (_p1, _p0)))
    7260                 :             :                 {
    7261                 :           0 :                   {
    7262                 :           0 :                     tree captures[3] ATTRIBUTE_UNUSED = { _p0, _q20, _q21 };
    7263                 :           0 :                     tree res = generic_simplify_179 (loc, type, _p0, _p1, captures, CFN_BUILT_IN_COPYSIGNL);
    7264                 :           0 :                     if (res) return res;
    7265                 :             :                   }
    7266                 :             :                 }
    7267                 :             :             }
    7268                 :             :           break;
    7269                 :           0 :         case CFN_COPYSIGN:
    7270                 :           0 :           if (call_expr_nargs (_p0) == 2)
    7271                 :             :     {
    7272                 :           0 :               tree _q20 = CALL_EXPR_ARG (_p0, 0);
    7273                 :           0 :               tree _q21 = CALL_EXPR_ARG (_p0, 1);
    7274                 :           0 :               if ((_p1 == _p0 && ! TREE_SIDE_EFFECTS (_p1)) || (operand_equal_p (_p1, _p0, 0) && types_match (_p1, _p0)))
    7275                 :             :                 {
    7276                 :           0 :                   {
    7277                 :           0 :                     tree captures[3] ATTRIBUTE_UNUSED = { _p0, _q20, _q21 };
    7278                 :           0 :                     tree res = generic_simplify_179 (loc, type, _p0, _p1, captures, CFN_COPYSIGN);
    7279                 :           0 :                     if (res) return res;
    7280                 :             :                   }
    7281                 :             :                 }
    7282                 :             :             }
    7283                 :             :           break;
    7284                 :             :         default:;
    7285                 :             :         }
    7286                 :             :       break;
    7287                 :    65089883 :     default:;
    7288                 :             :     }
    7289                 :    65089883 :   switch (TREE_CODE (_p1))
    7290                 :             :     {
    7291                 :     7349127 :     CASE_CONVERT:
    7292                 :     7349127 :       {
    7293                 :     7349127 :         tree _q30 = TREE_OPERAND (_p1, 0);
    7294                 :     7349127 :         switch (TREE_CODE (_q30))
    7295                 :             :           {
    7296                 :           0 :           case LSHIFT_EXPR:
    7297                 :           0 :             {
    7298                 :           0 :               tree _q40 = TREE_OPERAND (_q30, 0);
    7299                 :           0 :               tree _q41 = TREE_OPERAND (_q30, 1);
    7300                 :           0 :               if (integer_onep (_q40))
    7301                 :             :                 {
    7302                 :           0 :                   {
    7303                 :           0 :                     tree captures[3] ATTRIBUTE_UNUSED = { _p0, _q40, _q41 };
    7304                 :           0 :                     tree res = generic_simplify_180 (loc, type, _p0, _p1, captures);
    7305                 :           0 :                     if (res) return res;
    7306                 :             :                   }
    7307                 :             :                 }
    7308                 :             :               break;
    7309                 :             :             }
    7310                 :             :           default:;
    7311                 :             :           }
    7312                 :             :         break;
    7313                 :             :       }
    7314                 :    65089883 :     default:;
    7315                 :             :     }
    7316                 :    65089883 :   switch (TREE_CODE (_p0))
    7317                 :             :     {
    7318                 :    30588306 :     CASE_CONVERT:
    7319                 :    30588306 :       {
    7320                 :    30588306 :         tree _q20 = TREE_OPERAND (_p0, 0);
    7321                 :    30588306 :         switch (TREE_CODE (_q20))
    7322                 :             :           {
    7323                 :          20 :           case LSHIFT_EXPR:
    7324                 :          20 :             {
    7325                 :          20 :               tree _q30 = TREE_OPERAND (_q20, 0);
    7326                 :          20 :               tree _q31 = TREE_OPERAND (_q20, 1);
    7327                 :          20 :               if (integer_onep (_q30))
    7328                 :             :                 {
    7329                 :           1 :                   {
    7330                 :           1 :                     tree captures[3] ATTRIBUTE_UNUSED = { _p1, _q30, _q31 };
    7331                 :           1 :                     tree res = generic_simplify_180 (loc, type, _p0, _p1, captures);
    7332                 :           1 :                     if (res) return res;
    7333                 :             :                   }
    7334                 :             :                 }
    7335                 :             :               break;
    7336                 :             :             }
    7337                 :           1 :           case EQ_EXPR:
    7338                 :           1 :             {
    7339                 :           1 :               tree _q30 = TREE_OPERAND (_q20, 0);
    7340                 :           1 :               tree _q31 = TREE_OPERAND (_q20, 1);
    7341                 :           1 :               if (integer_zerop (_q31))
    7342                 :             :                 {
    7343                 :           1 :                   if ((_p1 == _q30 && ! TREE_SIDE_EFFECTS (_p1)) || (operand_equal_p (_p1, _q30, 0) && types_match (_p1, _q30)))
    7344                 :             :                     {
    7345                 :           0 :                       {
    7346                 :           0 :                         tree captures[1] ATTRIBUTE_UNUSED = { _q30 };
    7347                 :           0 :                         tree res = generic_simplify_181 (loc, type, _p0, _p1, captures);
    7348                 :           0 :                         if (res) return res;
    7349                 :             :                       }
    7350                 :             :                     }
    7351                 :             :                 }
    7352                 :             :               break;
    7353                 :             :             }
    7354                 :             :           default:;
    7355                 :             :           }
    7356                 :             :         break;
    7357                 :             :       }
    7358                 :    65089883 :     default:;
    7359                 :             :     }
    7360                 :    65089883 :   switch (TREE_CODE (_p1))
    7361                 :             :     {
    7362                 :         848 :     case LSHIFT_EXPR:
    7363                 :         848 :       {
    7364                 :         848 :         tree _q30 = TREE_OPERAND (_p1, 0);
    7365                 :         848 :         tree _q31 = TREE_OPERAND (_p1, 1);
    7366                 :         848 :         if (integer_onep (_q30))
    7367                 :             :           {
    7368                 :         169 :             {
    7369                 :         169 :               tree captures[3] ATTRIBUTE_UNUSED = { _p0, _q30, _q31 };
    7370                 :         169 :               tree res = generic_simplify_180 (loc, type, _p0, _p1, captures);
    7371                 :         169 :               if (res) return res;
    7372                 :             :             }
    7373                 :             :           }
    7374                 :             :         break;
    7375                 :             :       }
    7376                 :    65089714 :     default:;
    7377                 :             :     }
    7378                 :    65089714 :   switch (TREE_CODE (_p0))
    7379                 :             :     {
    7380                 :        3117 :     case LSHIFT_EXPR:
    7381                 :        3117 :       {
    7382                 :        3117 :         tree _q20 = TREE_OPERAND (_p0, 0);
    7383                 :        3117 :         tree _q21 = TREE_OPERAND (_p0, 1);
    7384                 :        3117 :         if (integer_onep (_q20))
    7385                 :             :           {
    7386                 :        2895 :             {
    7387                 :        2895 :               tree captures[3] ATTRIBUTE_UNUSED = { _p1, _q20, _q21 };
    7388                 :        2895 :               tree res = generic_simplify_180 (loc, type, _p0, _p1, captures);
    7389                 :        2895 :               if (res) return res;
    7390                 :             :             }
    7391                 :             :           }
    7392                 :             :         break;
    7393                 :             :       }
    7394                 :    65086819 :     default:;
    7395                 :             :     }
    7396                 :    65086819 :   switch (TREE_CODE (_p1))
    7397                 :             :     {
    7398                 :     7348764 :     CASE_CONVERT:
    7399                 :     7348764 :       {
    7400                 :     7348764 :         tree _q30 = TREE_OPERAND (_p1, 0);
    7401                 :     7348764 :         switch (TREE_CODE (_q30))
    7402                 :             :           {
    7403                 :           0 :           case EQ_EXPR:
    7404                 :           0 :             {
    7405                 :           0 :               tree _q40 = TREE_OPERAND (_q30, 0);
    7406                 :           0 :               tree _q41 = TREE_OPERAND (_q30, 1);
    7407                 :           0 :               if ((_q40 == _p0 && ! TREE_SIDE_EFFECTS (_q40)) || (operand_equal_p (_q40, _p0, 0) && types_match (_q40, _p0)))
    7408                 :             :                 {
    7409                 :           0 :                   if (integer_zerop (_q41))
    7410                 :             :                     {
    7411                 :           0 :                       {
    7412                 :           0 :                         tree captures[1] ATTRIBUTE_UNUSED = { _p0 };
    7413                 :           0 :                         tree res = generic_simplify_182 (loc, type, _p0, _p1, captures);
    7414                 :           0 :                         if (res) return res;
    7415                 :             :                       }
    7416                 :             :                     }
    7417                 :             :                 }
    7418                 :             :               break;
    7419                 :             :             }
    7420                 :             :           default:;
    7421                 :             :           }
    7422                 :             :         break;
    7423                 :             :       }
    7424                 :           0 :     case EQ_EXPR:
    7425                 :           0 :       {
    7426                 :           0 :         tree _q30 = TREE_OPERAND (_p1, 0);
    7427                 :           0 :         tree _q31 = TREE_OPERAND (_p1, 1);
    7428                 :           0 :         if ((_q30 == _p0 && ! TREE_SIDE_EFFECTS (_q30)) || (operand_equal_p (_q30, _p0, 0) && types_match (_q30, _p0)))
    7429                 :             :           {
    7430                 :           0 :             if (integer_zerop (_q31))
    7431                 :             :               {
    7432                 :           0 :                 {
    7433                 :           0 :                   tree captures[1] ATTRIBUTE_UNUSED = { _p0 };
    7434                 :           0 :                   tree res = generic_simplify_182 (loc, type, _p0, _p1, captures);
    7435                 :           0 :                   if (res) return res;
    7436                 :             :                 }
    7437                 :             :               }
    7438                 :             :           }
    7439                 :             :         break;
    7440                 :             :       }
    7441                 :    65086819 :     default:;
    7442                 :             :     }
    7443                 :    65086819 :   switch (TREE_CODE (_p0))
    7444                 :             :     {
    7445                 :         180 :     case EQ_EXPR:
    7446                 :         180 :       {
    7447                 :         180 :         tree _q20 = TREE_OPERAND (_p0, 0);
    7448                 :         180 :         tree _q21 = TREE_OPERAND (_p0, 1);
    7449                 :         180 :         if (integer_zerop (_q21))
    7450                 :             :           {
    7451                 :          59 :             if ((_p1 == _q20 && ! TREE_SIDE_EFFECTS (_p1)) || (operand_equal_p (_p1, _q20, 0) && types_match (_p1, _q20)))
    7452                 :             :               {
    7453                 :           3 :                 {
    7454                 :           3 :                   tree captures[1] ATTRIBUTE_UNUSED = { _q20 };
    7455                 :           3 :                   tree res = generic_simplify_181 (loc, type, _p0, _p1, captures);
    7456                 :           3 :                   if (res) return res;
    7457                 :             :                 }
    7458                 :             :               }
    7459                 :             :           }
    7460                 :             :         break;
    7461                 :             :       }
    7462                 :    65086816 :     default:;
    7463                 :             :     }
    7464                 :    65086816 :   switch (TREE_CODE (_p1))
    7465                 :             :     {
    7466                 :           0 :     case VEC_COND_EXPR:
    7467                 :           0 :       {
    7468                 :           0 :         tree _q30 = TREE_OPERAND (_p1, 0);
    7469                 :           0 :         tree _q31 = TREE_OPERAND (_p1, 1);
    7470                 :           0 :         tree _q32 = TREE_OPERAND (_p1, 2);
    7471                 :           0 :         switch (TREE_CODE (_q30))
    7472                 :             :           {
    7473                 :           0 :           case EQ_EXPR:
    7474                 :           0 :             {
    7475                 :           0 :               tree _q40 = TREE_OPERAND (_q30, 0);
    7476                 :           0 :               tree _q41 = TREE_OPERAND (_q30, 1);
    7477                 :           0 :               if ((_q40 == _p0 && ! TREE_SIDE_EFFECTS (_q40)) || (operand_equal_p (_q40, _p0, 0) && types_match (_q40, _p0)))
    7478                 :             :                 {
    7479                 :           0 :                   if (integer_zerop (_q41))
    7480                 :             :                     {
    7481                 :           0 :                       if (integer_zerop (_q32))
    7482                 :             :                         {
    7483                 :           0 :                           {
    7484                 :           0 :                             tree captures[2] ATTRIBUTE_UNUSED = { _p0, _q31 };
    7485                 :           0 :                             if (TREE_SIDE_EFFECTS (_p1)) goto next_after_fail1584;
    7486                 :           0 :                             if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail1584;
    7487                 :           0 :                             {
    7488                 :           0 :                               tree _r;
    7489                 :           0 :                               _r =  build_zero_cst (type);
    7490                 :           0 :                               if (UNLIKELY (debug_dump)) generic_dump_logs ("match.pd", 987, __FILE__, __LINE__, true);
    7491                 :           0 :                               return _r;
    7492                 :             :                             }
    7493                 :           0 : next_after_fail1584:;
    7494                 :             :                           }
    7495                 :             :                         }
    7496                 :             :                     }
    7497                 :             :                 }
    7498                 :             :               break;
    7499                 :             :             }
    7500                 :             :           default:;
    7501                 :             :           }
    7502                 :             :         break;
    7503                 :             :       }
    7504                 :    65086816 :     default:;
    7505                 :             :     }
    7506                 :    65086816 :   switch (TREE_CODE (_p0))
    7507                 :             :     {
    7508                 :          37 :     case VEC_COND_EXPR:
    7509                 :          37 :       {
    7510                 :          37 :         tree _q20 = TREE_OPERAND (_p0, 0);
    7511                 :          37 :         tree _q21 = TREE_OPERAND (_p0, 1);
    7512                 :          37 :         tree _q22 = TREE_OPERAND (_p0, 2);
    7513                 :          37 :         switch (TREE_CODE (_q20))
    7514                 :             :           {
    7515                 :           1 :           case EQ_EXPR:
    7516                 :           1 :             {
    7517                 :           1 :               tree _q30 = TREE_OPERAND (_q20, 0);
    7518                 :           1 :               tree _q31 = TREE_OPERAND (_q20, 1);
    7519                 :           1 :               if (integer_zerop (_q31))
    7520                 :             :                 {
    7521                 :           1 :                   if (integer_zerop (_q22))
    7522                 :             :                     {
    7523                 :           1 :                       if ((_p1 == _q30 && ! TREE_SIDE_EFFECTS (_p1)) || (operand_equal_p (_p1, _q30, 0) && types_match (_p1, _q30)))
    7524                 :             :                         {
    7525                 :           1 :                           {
    7526                 :           1 :                             tree captures[2] ATTRIBUTE_UNUSED = { _q30, _q21 };
    7527                 :           1 :                             if (TREE_SIDE_EFFECTS (_p0)) goto next_after_fail1585;
    7528                 :           1 :                             if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail1585;
    7529                 :           1 :                             {
    7530                 :           1 :                               tree _r;
    7531                 :           1 :                               _r =  build_zero_cst (type);
    7532                 :           1 :                               if (UNLIKELY (debug_dump)) generic_dump_logs ("match.pd", 987, __FILE__, __LINE__, true);
    7533                 :           1 :                               return _r;
    7534                 :             :                             }
    7535                 :           0 : next_after_fail1585:;
    7536                 :             :                           }
    7537                 :             :                         }
    7538                 :             :                     }
    7539                 :             :                 }
    7540                 :             :               break;
    7541                 :             :             }
    7542                 :           0 :           case NE_EXPR:
    7543                 :           0 :             {
    7544                 :           0 :               tree _q30 = TREE_OPERAND (_q20, 0);
    7545                 :           0 :               tree _q31 = TREE_OPERAND (_q20, 1);
    7546                 :           0 :               if (integer_zerop (_q31))
    7547                 :             :                 {
    7548                 :           0 :                   if (integer_zerop (_q21))
    7549                 :             :                     {
    7550                 :           0 :                       if ((_p1 == _q30 && ! TREE_SIDE_EFFECTS (_p1)) || (operand_equal_p (_p1, _q30, 0) && types_match (_p1, _q30)))
    7551                 :             :                         {
    7552                 :           0 :                           {
    7553                 :           0 :                             tree captures[2] ATTRIBUTE_UNUSED = { _q30, _q22 };
    7554                 :           0 :                             if (TREE_SIDE_EFFECTS (_p0)) goto next_after_fail1586;
    7555                 :           0 :                             if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail1586;
    7556                 :           0 :                             {
    7557                 :           0 :                               tree _r;
    7558                 :           0 :                               _r =  build_zero_cst (type);
    7559                 :           0 :                               if (UNLIKELY (debug_dump)) generic_dump_logs ("match.pd", 988, __FILE__, __LINE__, true);
    7560                 :           0 :                               return _r;
    7561                 :             :                             }
    7562                 :           0 : next_after_fail1586:;
    7563                 :             :                           }
    7564                 :             :                         }
    7565                 :             :                     }
    7566                 :             :                 }
    7567                 :             :               break;
    7568                 :             :             }
    7569                 :             :           default:;
    7570                 :             :           }
    7571                 :             :         break;
    7572                 :             :       }
    7573                 :    65086815 :     default:;
    7574                 :             :     }
    7575                 :    65086815 :   switch (TREE_CODE (_p1))
    7576                 :             :     {
    7577                 :           0 :     case VEC_COND_EXPR:
    7578                 :           0 :       {
    7579                 :           0 :         tree _q30 = TREE_OPERAND (_p1, 0);
    7580                 :           0 :         tree _q31 = TREE_OPERAND (_p1, 1);
    7581                 :           0 :         tree _q32 = TREE_OPERAND (_p1, 2);
    7582                 :           0 :         switch (TREE_CODE (_q30))
    7583                 :             :           {
    7584                 :           0 :           case NE_EXPR:
    7585                 :           0 :             {
    7586                 :           0 :               tree _q40 = TREE_OPERAND (_q30, 0);
    7587                 :           0 :               tree _q41 = TREE_OPERAND (_q30, 1);
    7588                 :           0 :               if ((_q40 == _p0 && ! TREE_SIDE_EFFECTS (_q40)) || (operand_equal_p (_q40, _p0, 0) && types_match (_q40, _p0)))
    7589                 :             :                 {
    7590                 :           0 :                   if (integer_zerop (_q41))
    7591                 :             :                     {
    7592                 :           0 :                       if (integer_zerop (_q31))
    7593                 :             :                         {
    7594                 :           0 :                           {
    7595                 :           0 :                             tree captures[2] ATTRIBUTE_UNUSED = { _p0, _q32 };
    7596                 :           0 :                             if (TREE_SIDE_EFFECTS (_p1)) goto next_after_fail1587;
    7597                 :           0 :                             if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail1587;
    7598                 :           0 :                             {
    7599                 :           0 :                               tree _r;
    7600                 :           0 :                               _r =  build_zero_cst (type);
    7601                 :           0 :                               if (UNLIKELY (debug_dump)) generic_dump_logs ("match.pd", 988, __FILE__, __LINE__, true);
    7602                 :           0 :                               return _r;
    7603                 :             :                             }
    7604                 :           0 : next_after_fail1587:;
    7605                 :             :                           }
    7606                 :             :                         }
    7607                 :             :                     }
    7608                 :             :                 }
    7609                 :             :               break;
    7610                 :             :             }
    7611                 :             :           default:;
    7612                 :             :           }
    7613                 :             :         break;
    7614                 :             :       }
    7615                 :    65086815 :     default:;
    7616                 :             :     }
    7617                 :    65086815 :   switch (TREE_CODE (_p0))
    7618                 :             :     {
    7619                 :      819421 :     case RDIV_EXPR:
    7620                 :      819421 :       {
    7621                 :      819421 :         tree _q20 = TREE_OPERAND (_p0, 0);
    7622                 :      819421 :         tree _q21 = TREE_OPERAND (_p0, 1);
    7623                 :      819421 :         switch (TREE_CODE (_q20))
    7624                 :             :           {
    7625                 :       60253 :           case REAL_CST:
    7626                 :       60253 :             {
    7627                 :       60253 :               switch (TREE_CODE (_p1))
    7628                 :             :                 {
    7629                 :           1 :                 case REAL_CST:
    7630                 :           1 :                   {
    7631                 :           1 :                     {
    7632                 :           1 :                       tree captures[4] ATTRIBUTE_UNUSED = { _p0, _q20, _q21, _p1 };
    7633                 :           1 :                       if (flag_associative_math
    7634                 :           1 :  && single_use (captures[0])
    7635                 :             : )
    7636                 :             :                         {
    7637                 :           1 :                           {
    7638                 :           1 :  tree tem = const_binop (MULT_EXPR, type, captures[1], captures[3]);
    7639                 :           1 :                               if (tem
    7640                 :             : )
    7641                 :             :                                 {
    7642                 :           1 :                                   if (TREE_SIDE_EFFECTS (captures[1])) goto next_after_fail1588;
    7643                 :           1 :                                   if (TREE_SIDE_EFFECTS (captures[3])) goto next_after_fail1588;
    7644                 :           1 :                                   if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail1588;
    7645                 :           1 :                                   {
    7646                 :           1 :                                     tree res_op0;
    7647                 :           1 :                                     res_op0 =  tem;
    7648                 :           1 :                                     tree res_op1;
    7649                 :           1 :                                     res_op1 = captures[2];
    7650                 :           1 :                                     tree _r;
    7651                 :           1 :                                     _r = fold_build2_loc (loc, RDIV_EXPR, type, res_op0, res_op1);
    7652                 :           1 :                                     if (UNLIKELY (debug_dump)) generic_dump_logs ("match.pd", 989, __FILE__, __LINE__, true);
    7653                 :           1 :                                     return _r;
    7654                 :             :                                   }
    7655                 :           0 : next_after_fail1588:;
    7656                 :             :                                 }
    7657                 :             :                           }
    7658                 :             :                         }
    7659                 :             :                     }
    7660                 :           0 :                     break;
    7661                 :             :                   }
    7662                 :             :                 default:;
    7663                 :             :                 }
    7664                 :             :               break;
    7665                 :             :             }
    7666                 :             :           default:;
    7667                 :             :           }
    7668                 :             :         break;
    7669                 :             :       }
    7670                 :    65086814 :     default:;
    7671                 :             :     }
    7672                 :    65086814 : {
    7673                 :    65086814 :   tree _p0_pops[1];
    7674                 :    65086814 :   if (tree_nop_convert (_p0, _p0_pops))
    7675                 :             :     {
    7676                 :    22163383 :       tree _q20 = _p0_pops[0];
    7677                 :    22163383 :       switch (TREE_CODE (_q20))
    7678                 :             :         {
    7679                 :           4 :         case BIT_IOR_EXPR:
    7680                 :           4 :           {
    7681                 :           4 :             tree _q30 = TREE_OPERAND (_q20, 0);
    7682                 :           4 :             tree _q31 = TREE_OPERAND (_q20, 1);
    7683                 :           4 :             switch (TREE_CODE (_q30))
    7684                 :             :               {
    7685                 :           4 :               case NEGATE_EXPR:
    7686                 :           4 :                 {
    7687                 :           4 :                   tree _q40 = TREE_OPERAND (_q30, 0);
    7688                 :           4 :                   switch (TREE_CODE (_q40))
    7689                 :             :                     {
    7690                 :           0 :                     CASE_CONVERT:
    7691                 :           0 :                       {
    7692                 :           0 :                         tree _q50 = TREE_OPERAND (_q40, 0);
    7693                 :           0 :                         switch (TREE_CODE (_q50))
    7694                 :             :                           {
    7695                 :           0 :                           case LT_EXPR:
    7696                 :           0 :                             {
    7697                 :           0 :                               tree _q60 = TREE_OPERAND (_q50, 0);
    7698                 :           0 :                               tree _q61 = TREE_OPERAND (_q50, 1);
    7699                 :           0 :                               if (integer_zerop (_q61))
    7700                 :             :                                 {
    7701                 :           0 :                                   if (integer_onep (_q31))
    7702                 :             :                                     {
    7703                 :           0 :                                       {
    7704                 :           0 :                                         tree _p1_pops[1];
    7705                 :           0 :                                         if (tree_nop_convert (_p1, _p1_pops))
    7706                 :             :                                           {
    7707                 :           0 :                                             tree _q100 = _p1_pops[0];
    7708                 :           0 :                                             if ((_q100 == _q60 && ! TREE_SIDE_EFFECTS (_q100)) || (operand_equal_p (_q100, _q60, 0) && types_match (_q100, _q60)))
    7709                 :             :                                               {
    7710                 :           0 :                                                 {
    7711                 :           0 :                                                   tree captures[1] ATTRIBUTE_UNUSED = { _q60 };
    7712                 :           0 :                                                   tree res = generic_simplify_183 (loc, type, _p0, _p1, captures);
    7713                 :           0 :                                                   if (res) return res;
    7714                 :             :                                                 }
    7715                 :             :                                               }
    7716                 :             :                                           }
    7717                 :             :                                       }
    7718                 :           0 :                                       if ((_p1 == _q60 && ! TREE_SIDE_EFFECTS (_p1)) || (operand_equal_p (_p1, _q60, 0) && types_match (_p1, _q60)))
    7719                 :             :                                         {
    7720                 :           0 :                                           {
    7721                 :           0 :                                             tree captures[1] ATTRIBUTE_UNUSED = { _q60 };
    7722                 :           0 :                                             tree res = generic_simplify_183 (loc, type, _p0, _p1, captures);
    7723                 :           0 :                                             if (res) return res;
    7724                 :             :                                           }
    7725                 :             :                                         }
    7726                 :             :                                     }
    7727                 :             :                                 }
    7728                 :             :                               break;
    7729                 :             :                             }
    7730                 :             :                           default:;
    7731                 :             :                           }
    7732                 :             :                         break;
    7733                 :             :                       }
    7734                 :           4 :                     case LT_EXPR:
    7735                 :           4 :                       {
    7736                 :           4 :                         tree _q50 = TREE_OPERAND (_q40, 0);
    7737                 :           4 :                         tree _q51 = TREE_OPERAND (_q40, 1);
    7738                 :           4 :                         if (integer_zerop (_q51))
    7739                 :             :                           {
    7740                 :           4 :                             if (integer_onep (_q31))
    7741                 :             :                               {
    7742                 :           4 :                                 {
    7743                 :           4 :                                   tree _p1_pops[1];
    7744                 :           4 :                                   if (tree_nop_convert (_p1, _p1_pops))
    7745                 :             :                                     {
    7746                 :           4 :                                       tree _q90 = _p1_pops[0];
    7747                 :           4 :                                       if ((_q90 == _q50 && ! TREE_SIDE_EFFECTS (_q90)) || (operand_equal_p (_q90, _q50, 0) && types_match (_q90, _q50)))
    7748                 :             :                                         {
    7749                 :           4 :                                           {
    7750                 :           4 :                                             tree captures[1] ATTRIBUTE_UNUSED = { _q50 };
    7751                 :           4 :                                             tree res = generic_simplify_183 (loc, type, _p0, _p1, captures);
    7752                 :           4 :                                             if (res) return res;
    7753                 :             :                                           }
    7754                 :             :                                         }
    7755                 :             :                                     }
    7756                 :             :                                 }
    7757                 :           0 :                                 if ((_p1 == _q50 && ! TREE_SIDE_EFFECTS (_p1)) || (operand_equal_p (_p1, _q50, 0) && types_match (_p1, _q50)))
    7758                 :             :                                   {
    7759                 :           0 :                                     {
    7760                 :           0 :                                       tree captures[1] ATTRIBUTE_UNUSED = { _q50 };
    7761                 :           0 :                                       tree res = generic_simplify_183 (loc, type, _p0, _p1, captures);
    7762                 :           0 :                                       if (res) return res;
    7763                 :             :                                     }
    7764                 :             :                                   }
    7765                 :             :                               }
    7766                 :             :                           }
    7767                 :             :                         break;
    7768                 :             :                       }
    7769                 :             :                     default:;
    7770                 :             :                     }
    7771                 :             :                   break;
    7772                 :             :                 }
    7773                 :           0 :               default:;
    7774                 :             :               }
    7775                 :           0 :           {
    7776                 :           0 :             tree _q30_pops[1];
    7777                 :           0 :             if (tree_nop_convert (_q30, _q30_pops))
    7778                 :             :               {
    7779                 :           0 :                 tree _q40 = _q30_pops[0];
    7780                 :           0 :                 switch (TREE_CODE (_q40))
    7781                 :             :                   {
    7782                 :           0 :                   case NEGATE_EXPR:
    7783                 :           0 :                     {
    7784                 :           0 :                       tree _q50 = TREE_OPERAND (_q40, 0);
    7785                 :           0 :                       switch (TREE_CODE (_q50))
    7786                 :             :                         {
    7787                 :           0 :                         CASE_CONVERT:
    7788                 :           0 :                           {
    7789                 :           0 :                             tree _q60 = TREE_OPERAND (_q50, 0);
    7790                 :           0 :                             switch (TREE_CODE (_q60))
    7791                 :             :                               {
    7792                 :           0 :                               case LT_EXPR:
    7793                 :           0 :                                 {
    7794                 :           0 :                                   tree _q70 = TREE_OPERAND (_q60, 0);
    7795                 :           0 :                                   tree _q71 = TREE_OPERAND (_q60, 1);
    7796                 :           0 :                                   if (integer_zerop (_q71))
    7797                 :             :                                     {
    7798                 :           0 :                                       if (integer_onep (_q31))
    7799                 :             :                                         {
    7800                 :           0 :                                           {
    7801                 :           0 :                                             tree _p1_pops[1];
    7802                 :           0 :                                             if (tree_nop_convert (_p1, _p1_pops))
    7803                 :             :                                               {
    7804                 :           0 :                                                 tree _q110 = _p1_pops[0];
    7805                 :           0 :                                                 if ((_q110 == _q70 && ! TREE_SIDE_EFFECTS (_q110)) || (operand_equal_p (_q110, _q70, 0) && types_match (_q110, _q70)))
    7806                 :             :                                                   {
    7807                 :           0 :                                                     {
    7808                 :           0 :                                                       tree captures[1] ATTRIBUTE_UNUSED = { _q70 };
    7809                 :           0 :                                                       tree res = generic_simplify_183 (loc, type, _p0, _p1, captures);
    7810                 :           0 :                                                       if (res) return res;
    7811                 :             :                                                     }
    7812                 :             :                                                   }
    7813                 :             :                                               }
    7814                 :             :                                           }
    7815                 :           0 :                                           if ((_p1 == _q70 && ! TREE_SIDE_EFFECTS (_p1)) || (operand_equal_p (_p1, _q70, 0) && types_match (_p1, _q70)))
    7816                 :             :                                             {
    7817                 :           0 :                                               {
    7818                 :           0 :                                                 tree captures[1] ATTRIBUTE_UNUSED = { _q70 };
    7819                 :           0 :                                                 tree res = generic_simplify_183 (loc, type, _p0, _p1, captures);
    7820                 :           0 :                                                 if (res) return res;
    7821                 :             :                                               }
    7822                 :             :                                             }
    7823                 :             :                                         }
    7824                 :             :                                     }
    7825                 :             :                                   break;
    7826                 :             :                                 }
    7827                 :             :                               default:;
    7828                 :             :                               }
    7829                 :             :                             break;
    7830                 :             :                           }
    7831                 :           0 :                         case LT_EXPR:
    7832                 :           0 :                           {
    7833                 :           0 :                             tree _q60 = TREE_OPERAND (_q50, 0);
    7834                 :           0 :                             tree _q61 = TREE_OPERAND (_q50, 1);
    7835                 :           0 :                             if (integer_zerop (_q61))
    7836                 :             :                               {
    7837                 :           0 :                                 if (integer_onep (_q31))
    7838                 :             :                                   {
    7839                 :           0 :                                     {
    7840                 :           0 :                                       tree _p1_pops[1];
    7841                 :           0 :                                       if (tree_nop_convert (_p1, _p1_pops))
    7842                 :             :                                         {
    7843                 :           0 :                                           tree _q100 = _p1_pops[0];
    7844                 :           0 :                                           if ((_q100 == _q60 && ! TREE_SIDE_EFFECTS (_q100)) || (operand_equal_p (_q100, _q60, 0) && types_match (_q100, _q60)))
    7845                 :             :                                             {
    7846                 :           0 :                                               {
    7847                 :           0 :                                                 tree captures[1] ATTRIBUTE_UNUSED = { _q60 };
    7848                 :           0 :                                                 tree res = generic_simplify_183 (loc, type, _p0, _p1, captures);
    7849                 :           0 :                                                 if (res) return res;
    7850                 :             :                                               }
    7851                 :             :                                             }
    7852                 :             :                                         }
    7853                 :             :                                     }
    7854                 :           0 :                                     if ((_p1 == _q60 && ! TREE_SIDE_EFFECTS (_p1)) || (operand_equal_p (_p1, _q60, 0) && types_match (_p1, _q60)))
    7855                 :             :                                       {
    7856                 :           0 :                                         {
    7857                 :           0 :                                           tree captures[1] ATTRIBUTE_UNUSED = { _q60 };
    7858                 :           0 :                                           tree res = generic_simplify_183 (loc, type, _p0, _p1, captures);
    7859                 :           0 :                                           if (res) return res;
    7860                 :             :                                         }
    7861                 :             :                                       }
    7862                 :             :                                   }
    7863                 :             :                               }
    7864                 :             :                             break;
    7865                 :             :                           }
    7866                 :             :                         default:;
    7867                 :             :                         }
    7868                 :             :                       break;
    7869                 :             :                     }
    7870                 :             :                   default:;
    7871                 :             :                   }
    7872                 :             :               }
    7873                 :             :           }
    7874                 :           0 :             break;
    7875                 :             :           }
    7876                 :    22163379 :         default:;
    7877                 :             :         }
    7878                 :    22163379 :       switch (TREE_CODE (_p1))
    7879                 :             :         {
    7880                 :           0 :         case BIT_IOR_EXPR:
    7881                 :           0 :           {
    7882                 :           0 :             tree _q40 = TREE_OPERAND (_p1, 0);
    7883                 :           0 :             tree _q41 = TREE_OPERAND (_p1, 1);
    7884                 :           0 :             switch (TREE_CODE (_q40))
    7885                 :             :               {
    7886                 :           0 :               case NEGATE_EXPR:
    7887                 :           0 :                 {
    7888                 :           0 :                   tree _q50 = TREE_OPERAND (_q40, 0);
    7889                 :           0 :                   switch (TREE_CODE (_q50))
    7890                 :             :                     {
    7891                 :           0 :                     CASE_CONVERT:
    7892                 :           0 :                       {
    7893                 :           0 :                         tree _q60 = TREE_OPERAND (_q50, 0);
    7894                 :           0 :                         switch (TREE_CODE (_q60))
    7895                 :             :                           {
    7896                 :           0 :                           case LT_EXPR:
    7897                 :           0 :                             {
    7898                 :           0 :                               tree _q70 = TREE_OPERAND (_q60, 0);
    7899                 :           0 :                               tree _q71 = TREE_OPERAND (_q60, 1);
    7900                 :           0 :                               if ((_q70 == _q20 && ! TREE_SIDE_EFFECTS (_q70)) || (operand_equal_p (_q70, _q20, 0) && types_match (_q70, _q20)))
    7901                 :             :                                 {
    7902                 :           0 :                                   if (integer_zerop (_q71))
    7903                 :             :                                     {
    7904                 :           0 :                                       if (integer_onep (_q41))
    7905                 :             :                                         {
    7906                 :           0 :                                           {
    7907                 :           0 :                                             tree captures[1] ATTRIBUTE_UNUSED = { _q20 };
    7908                 :           0 :                                             tree res = generic_simplify_184 (loc, type, _p0, _p1, captures);
    7909                 :           0 :                                             if (res) return res;
    7910                 :             :                                           }
    7911                 :             :                                         }
    7912                 :             :                                     }
    7913                 :             :                                 }
    7914                 :             :                               break;
    7915                 :             :                             }
    7916                 :             :                           default:;
    7917                 :             :                           }
    7918                 :             :                         break;
    7919                 :             :                       }
    7920                 :           0 :                     case LT_EXPR:
    7921                 :           0 :                       {
    7922                 :           0 :                         tree _q60 = TREE_OPERAND (_q50, 0);
    7923                 :           0 :                         tree _q61 = TREE_OPERAND (_q50, 1);
    7924                 :           0 :                         if ((_q60 == _q20 && ! TREE_SIDE_EFFECTS (_q60)) || (operand_equal_p (_q60, _q20, 0) && types_match (_q60, _q20)))
    7925                 :             :                           {
    7926                 :           0 :                             if (integer_zerop (_q61))
    7927                 :             :                               {
    7928                 :           0 :                                 if (integer_onep (_q41))
    7929                 :             :                                   {
    7930                 :           0 :                                     {
    7931                 :           0 :                                       tree captures[1] ATTRIBUTE_UNUSED = { _q20 };
    7932                 :           0 :                                       tree res = generic_simplify_184 (loc, type, _p0, _p1, captures);
    7933                 :           0 :                                       if (res) return res;
    7934                 :             :                                     }
    7935                 :             :                                   }
    7936                 :             :                               }
    7937                 :             :                           }
    7938                 :             :                         break;
    7939                 :             :                       }
    7940                 :             :                     default:;
    7941                 :             :                     }
    7942                 :             :                   break;
    7943                 :             :                 }
    7944                 :           0 :               default:;
    7945                 :             :               }
    7946                 :           0 :           {
    7947                 :           0 :             tree _q40_pops[1];
    7948                 :           0 :             if (tree_nop_convert (_q40, _q40_pops))
    7949                 :             :               {
    7950                 :           0 :                 tree _q50 = _q40_pops[0];
    7951                 :           0 :                 switch (TREE_CODE (_q50))
    7952                 :             :                   {
    7953                 :           0 :                   case NEGATE_EXPR:
    7954                 :           0 :                     {
    7955                 :           0 :                       tree _q60 = TREE_OPERAND (_q50, 0);
    7956                 :           0 :                       switch (TREE_CODE (_q60))
    7957                 :             :                         {
    7958                 :           0 :                         CASE_CONVERT:
    7959                 :           0 :                           {
    7960                 :           0 :                             tree _q70 = TREE_OPERAND (_q60, 0);
    7961                 :           0 :                             switch (TREE_CODE (_q70))
    7962                 :             :                               {
    7963                 :           0 :                               case LT_EXPR:
    7964                 :           0 :                                 {
    7965                 :           0 :                                   tree _q80 = TREE_OPERAND (_q70, 0);
    7966                 :           0 :                                   tree _q81 = TREE_OPERAND (_q70, 1);
    7967                 :           0 :                                   if ((_q80 == _q20 && ! TREE_SIDE_EFFECTS (_q80)) || (operand_equal_p (_q80, _q20, 0) && types_match (_q80, _q20)))
    7968                 :             :                                     {
    7969                 :           0 :                                       if (integer_zerop (_q81))
    7970                 :             :                                         {
    7971                 :           0 :                                           if (integer_onep (_q41))
    7972                 :             :                                             {
    7973                 :           0 :                                               {
    7974                 :           0 :                                                 tree captures[1] ATTRIBUTE_UNUSED = { _q20 };
    7975                 :           0 :                                                 tree res = generic_simplify_184 (loc, type, _p0, _p1, captures);
    7976                 :           0 :                                                 if (res) return res;
    7977                 :             :                                               }
    7978                 :             :                                             }
    7979                 :             :                                         }
    7980                 :             :                                     }
    7981                 :             :                                   break;
    7982                 :             :                                 }
    7983                 :             :                               default:;
    7984                 :             :                               }
    7985                 :             :                             break;
    7986                 :             :                           }
    7987                 :           0 :                         case LT_EXPR:
    7988                 :           0 :                           {
    7989                 :           0 :                             tree _q70 = TREE_OPERAND (_q60, 0);
    7990                 :           0 :                             tree _q71 = TREE_OPERAND (_q60, 1);
    7991                 :           0 :                             if ((_q70 == _q20 && ! TREE_SIDE_EFFECTS (_q70)) || (operand_equal_p (_q70, _q20, 0) && types_match (_q70, _q20)))
    7992                 :             :                               {
    7993                 :           0 :                                 if (integer_zerop (_q71))
    7994                 :             :                                   {
    7995                 :           0 :                                     if (integer_onep (_q41))
    7996                 :             :                                       {
    7997                 :           0 :                                         {
    7998                 :           0 :                                           tree captures[1] ATTRIBUTE_UNUSED = { _q20 };
    7999                 :           0 :                                           tree res = generic_simplify_184 (loc, type, _p0, _p1, captures);
    8000                 :           0 :                                           if (res) return res;
    8001                 :             :                                         }
    8002                 :             :                                       }
    8003                 :             :                                   }
    8004                 :             :                               }
    8005                 :             :                             break;
    8006                 :             :                           }
    8007                 :             :                         default:;
    8008                 :             :                         }
    8009                 :             :                       break;
    8010                 :             :                     }
    8011                 :             :                   default:;
    8012                 :             :                   }
    8013                 :             :               }
    8014                 :             :           }
    8015                 :           0 :             break;
    8016                 :             :           }
    8017                 :    22163379 :         default:;
    8018                 :             :         }
    8019                 :    22163379 :     {
    8020                 :    22163379 :       tree _p1_pops[1];
    8021                 :    22163379 :       if (tree_nop_convert (_p1, _p1_pops))
    8022                 :             :         {
    8023                 :     2507878 :           tree _q40 = _p1_pops[0];
    8024                 :     2507878 :           switch (TREE_CODE (_q40))
    8025                 :             :             {
    8026                 :           0 :             case BIT_IOR_EXPR:
    8027                 :           0 :               {
    8028                 :           0 :                 tree _q50 = TREE_OPERAND (_q40, 0);
    8029                 :           0 :                 tree _q51 = TREE_OPERAND (_q40, 1);
    8030                 :           0 :                 switch (TREE_CODE (_q50))
    8031                 :             :                   {
    8032                 :           0 :                   case NEGATE_EXPR:
    8033                 :           0 :                     {
    8034                 :           0 :                       tree _q60 = TREE_OPERAND (_q50, 0);
    8035                 :           0 :                       switch (TREE_CODE (_q60))
    8036                 :             :                         {
    8037                 :           0 :                         CASE_CONVERT:
    8038                 :           0 :                           {
    8039                 :           0 :                             tree _q70 = TREE_OPERAND (_q60, 0);
    8040                 :           0 :                             switch (TREE_CODE (_q70))
    8041                 :             :                               {
    8042                 :           0 :                               case LT_EXPR:
    8043                 :           0 :                                 {
    8044                 :           0 :                                   tree _q80 = TREE_OPERAND (_q70, 0);
    8045                 :           0 :                                   tree _q81 = TREE_OPERAND (_q70, 1);
    8046                 :           0 :                                   if ((_q80 == _q20 && ! TREE_SIDE_EFFECTS (_q80)) || (operand_equal_p (_q80, _q20, 0) && types_match (_q80, _q20)))
    8047                 :             :                                     {
    8048                 :           0 :                                       if (integer_zerop (_q81))
    8049                 :             :                                         {
    8050                 :           0 :                                           if (integer_onep (_q51))
    8051                 :             :                                             {
    8052                 :           0 :                                               {
    8053                 :           0 :                                                 tree captures[1] ATTRIBUTE_UNUSED = { _q20 };
    8054                 :           0 :                                                 tree res = generic_simplify_184 (loc, type, _p0, _p1, captures);
    8055                 :           0 :                                                 if (res) return res;
    8056                 :             :                                               }
    8057                 :             :                                             }
    8058                 :             :                                         }
    8059                 :             :                                     }
    8060                 :             :                                   break;
    8061                 :             :                                 }
    8062                 :             :                               default:;
    8063                 :             :                               }
    8064                 :             :                             break;
    8065                 :             :                           }
    8066                 :           0 :                         case LT_EXPR:
    8067                 :           0 :                           {
    8068                 :           0 :                             tree _q70 = TREE_OPERAND (_q60, 0);
    8069                 :           0 :                             tree _q71 = TREE_OPERAND (_q60, 1);
    8070                 :           0 :                             if ((_q70 == _q20 && ! TREE_SIDE_EFFECTS (_q70)) || (operand_equal_p (_q70, _q20, 0) && types_match (_q70, _q20)))
    8071                 :             :                               {
    8072                 :           0 :                                 if (integer_zerop (_q71))
    8073                 :             :                                   {
    8074                 :           0 :                                     if (integer_onep (_q51))
    8075                 :             :                                       {
    8076                 :           0 :                                         {
    8077                 :           0 :                                           tree captures[1] ATTRIBUTE_UNUSED = { _q20 };
    8078                 :           0 :                                           tree res = generic_simplify_184 (loc, type, _p0, _p1, captures);
    8079                 :           0 :                                           if (res) return res;
    8080                 :             :                                         }
    8081                 :             :                                       }
    8082                 :             :                                   }
    8083                 :             :                               }
    8084                 :             :                             break;
    8085                 :             :                           }
    8086                 :             :                         default:;
    8087                 :             :                         }
    8088                 :             :                       break;
    8089                 :             :                     }
    8090                 :           0 :                   default:;
    8091                 :             :                   }
    8092                 :           0 :               {
    8093                 :           0 :                 tree _q50_pops[1];
    8094                 :           0 :                 if (tree_nop_convert (_q50, _q50_pops))
    8095                 :             :                   {
    8096                 :           0 :                     tree _q60 = _q50_pops[0];
    8097                 :           0 :                     switch (TREE_CODE (_q60))
    8098                 :             :                       {
    8099                 :           0 :                       case NEGATE_EXPR:
    8100                 :           0 :                         {
    8101                 :           0 :                           tree _q70 = TREE_OPERAND (_q60, 0);
    8102                 :           0 :                           switch (TREE_CODE (_q70))
    8103                 :             :                             {
    8104                 :           0 :                             CASE_CONVERT:
    8105                 :           0 :                               {
    8106                 :           0 :                                 tree _q80 = TREE_OPERAND (_q70, 0);
    8107                 :           0 :                                 switch (TREE_CODE (_q80))
    8108                 :             :                                   {
    8109                 :           0 :                                   case LT_EXPR:
    8110                 :           0 :                                     {
    8111                 :           0 :                                       tree _q90 = TREE_OPERAND (_q80, 0);
    8112                 :           0 :                                       tree _q91 = TREE_OPERAND (_q80, 1);
    8113                 :           0 :                                       if ((_q90 == _q20 && ! TREE_SIDE_EFFECTS (_q90)) || (operand_equal_p (_q90, _q20, 0) && types_match (_q90, _q20)))
    8114                 :             :                                         {
    8115                 :           0 :                                           if (integer_zerop (_q91))
    8116                 :             :                                             {
    8117                 :           0 :                                               if (integer_onep (_q51))
    8118                 :             :                                                 {
    8119                 :           0 :                                                   {
    8120                 :           0 :                                                     tree captures[1] ATTRIBUTE_UNUSED = { _q20 };
    8121                 :           0 :                                                     tree res = generic_simplify_184 (loc, type, _p0, _p1, captures);
    8122                 :           0 :                                                     if (res) return res;
    8123                 :             :                                                   }
    8124                 :             :                                                 }
    8125                 :             :                                             }
    8126                 :             :                                         }
    8127                 :             :                                       break;
    8128                 :             :                                     }
    8129                 :             :                                   default:;
    8130                 :             :                                   }
    8131                 :             :                                 break;
    8132                 :             :                               }
    8133                 :           0 :                             case LT_EXPR:
    8134                 :           0 :                               {
    8135                 :           0 :                                 tree _q80 = TREE_OPERAND (_q70, 0);
    8136                 :           0 :                                 tree _q81 = TREE_OPERAND (_q70, 1);
    8137                 :           0 :                                 if ((_q80 == _q20 && ! TREE_SIDE_EFFECTS (_q80)) || (operand_equal_p (_q80, _q20, 0) && types_match (_q80, _q20)))
    8138                 :             :                                   {
    8139                 :           0 :                                     if (integer_zerop (_q81))
    8140                 :             :                                       {
    8141                 :           0 :                                         if (integer_onep (_q51))
    8142                 :             :                                           {
    8143                 :           0 :                                             {
    8144                 :           0 :                                               tree captures[1] ATTRIBUTE_UNUSED = { _q20 };
    8145                 :           0 :                                               tree res = generic_simplify_184 (loc, type, _p0, _p1, captures);
    8146                 :           0 :                                               if (res) return res;
    8147                 :             :                                             }
    8148                 :             :                                           }
    8149                 :             :                                       }
    8150                 :             :                                   }
    8151                 :             :                                 break;
    8152                 :             :                               }
    8153                 :             :                             default:;
    8154                 :             :                             }
    8155                 :             :                           break;
    8156                 :             :                         }
    8157                 :             :                       default:;
    8158                 :             :                       }
    8159                 :             :                   }
    8160                 :             :               }
    8161                 :           0 :                 break;
    8162                 :             :               }
    8163                 :             :             default:;
    8164                 :             :             }
    8165                 :             :         }
    8166                 :             :     }
    8167                 :             :     }
    8168                 :             : }
    8169                 :    65086810 :   {
    8170                 :    65086810 :     tree _p1_pops[1];
    8171                 :    65086810 :     if (tree_nop_convert (_p1, _p1_pops))
    8172                 :             :       {
    8173                 :     7286340 :         tree _q30 = _p1_pops[0];
    8174                 :     7286340 :         switch (TREE_CODE (_q30))
    8175                 :             :           {
    8176                 :           0 :           case BIT_IOR_EXPR:
    8177                 :           0 :             {
    8178                 :           0 :               tree _q40 = TREE_OPERAND (_q30, 0);
    8179                 :           0 :               tree _q41 = TREE_OPERAND (_q30, 1);
    8180                 :           0 :               switch (TREE_CODE (_q40))
    8181                 :             :                 {
    8182                 :           0 :                 case NEGATE_EXPR:
    8183                 :           0 :                   {
    8184                 :           0 :                     tree _q50 = TREE_OPERAND (_q40, 0);
    8185                 :           0 :                     switch (TREE_CODE (_q50))
    8186                 :             :                       {
    8187                 :           0 :                       CASE_CONVERT:
    8188                 :           0 :                         {
    8189                 :           0 :                           tree _q60 = TREE_OPERAND (_q50, 0);
    8190                 :           0 :                           switch (TREE_CODE (_q60))
    8191                 :             :                             {
    8192                 :           0 :                             case LT_EXPR:
    8193                 :           0 :                               {
    8194                 :           0 :                                 tree _q70 = TREE_OPERAND (_q60, 0);
    8195                 :           0 :                                 tree _q71 = TREE_OPERAND (_q60, 1);
    8196                 :           0 :                                 if ((_q70 == _p0 && ! TREE_SIDE_EFFECTS (_q70)) || (operand_equal_p (_q70, _p0, 0) && types_match (_q70, _p0)))
    8197                 :             :                                   {
    8198                 :           0 :                                     if (integer_zerop (_q71))
    8199                 :             :                                       {
    8200                 :           0 :                                         if (integer_onep (_q41))
    8201                 :             :                                           {
    8202                 :           0 :                                             {
    8203                 :           0 :                                               tree captures[1] ATTRIBUTE_UNUSED = { _p0 };
    8204                 :           0 :                                               tree res = generic_simplify_184 (loc, type, _p0, _p1, captures);
    8205                 :           0 :                                               if (res) return res;
    8206                 :             :                                             }
    8207                 :             :                                           }
    8208                 :             :                                       }
    8209                 :             :                                   }
    8210                 :             :                                 break;
    8211                 :             :                               }
    8212                 :             :                             default:;
    8213                 :             :                             }
    8214                 :             :                           break;
    8215                 :             :                         }
    8216                 :             :                       default:;
    8217                 :             :                       }
    8218                 :             :                     break;
    8219                 :             :                   }
    8220                 :           0 :                 default:;
    8221                 :             :                 }
    8222                 :           0 :             {
    8223                 :           0 :               tree _q40_pops[1];
    8224                 :           0 :               if (tree_nop_convert (_q40, _q40_pops))
    8225                 :             :                 {
    8226                 :           0 :                   tree _q50 = _q40_pops[0];
    8227                 :           0 :                   switch (TREE_CODE (_q50))
    8228                 :             :                     {
    8229                 :           0 :                     case NEGATE_EXPR:
    8230                 :           0 :                       {
    8231                 :           0 :                         tree _q60 = TREE_OPERAND (_q50, 0);
    8232                 :           0 :                         switch (TREE_CODE (_q60))
    8233                 :             :                           {
    8234                 :           0 :                           CASE_CONVERT:
    8235                 :           0 :                             {
    8236                 :           0 :                               tree _q70 = TREE_OPERAND (_q60, 0);
    8237                 :           0 :                               switch (TREE_CODE (_q70))
    8238                 :             :                                 {
    8239                 :           0 :                                 case LT_EXPR:
    8240                 :           0 :                                   {
    8241                 :           0 :                                     tree _q80 = TREE_OPERAND (_q70, 0);
    8242                 :           0 :                                     tree _q81 = TREE_OPERAND (_q70, 1);
    8243                 :           0 :                                     if ((_q80 == _p0 && ! TREE_SIDE_EFFECTS (_q80)) || (operand_equal_p (_q80, _p0, 0) && types_match (_q80, _p0)))
    8244                 :             :                                       {
    8245                 :           0 :                                         if (integer_zerop (_q81))
    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                 :             :                           default:;
    8264                 :             :                           }
    8265                 :             :                         break;
    8266                 :             :                       }
    8267                 :             :                     default:;
    8268                 :             :                     }
    8269                 :             :                 }
    8270                 :             :             }
    8271                 :           0 :               break;
    8272                 :             :             }
    8273                 :             :           default:;
    8274                 :             :           }
    8275                 :             :       }
    8276                 :             :   }
    8277                 :    65086810 :   switch (TREE_CODE (_p0))
    8278                 :             :     {
    8279                 :         292 :     case BIT_IOR_EXPR:
    8280                 :         292 :       {
    8281                 :         292 :         tree _q20 = TREE_OPERAND (_p0, 0);
    8282                 :         292 :         tree _q21 = TREE_OPERAND (_p0, 1);
    8283                 :         292 :         switch (TREE_CODE (_q20))
    8284                 :             :           {
    8285                 :           1 :           case NEGATE_EXPR:
    8286                 :           1 :             {
    8287                 :           1 :               tree _q30 = TREE_OPERAND (_q20, 0);
    8288                 :           1 :               switch (TREE_CODE (_q30))
    8289                 :             :                 {
    8290                 :           0 :                 CASE_CONVERT:
    8291                 :           0 :                   {
    8292                 :           0 :                     tree _q40 = TREE_OPERAND (_q30, 0);
    8293                 :           0 :                     switch (TREE_CODE (_q40))
    8294                 :             :                       {
    8295                 :           0 :                       case LT_EXPR:
    8296                 :           0 :                         {
    8297                 :           0 :                           tree _q50 = TREE_OPERAND (_q40, 0);
    8298                 :           0 :                           tree _q51 = TREE_OPERAND (_q40, 1);
    8299                 :           0 :                           if (integer_zerop (_q51))
    8300                 :             :                             {
    8301                 :           0 :                               if (integer_onep (_q21))
    8302                 :             :                                 {
    8303                 :           0 :                                   {
    8304                 :           0 :                                     tree _p1_pops[1];
    8305                 :           0 :                                     if (tree_nop_convert (_p1, _p1_pops))
    8306                 :             :                                       {
    8307                 :           0 :                                         tree _q90 = _p1_pops[0];
    8308                 :           0 :                                         if ((_q90 == _q50 && ! TREE_SIDE_EFFECTS (_q90)) || (operand_equal_p (_q90, _q50, 0) && types_match (_q90, _q50)))
    8309                 :             :                                           {
    8310                 :           0 :                                             {
    8311                 :           0 :                                               tree captures[1] ATTRIBUTE_UNUSED = { _q50 };
    8312                 :           0 :                                               tree res = generic_simplify_183 (loc, type, _p0, _p1, captures);
    8313                 :           0 :                                               if (res) return res;
    8314                 :             :                                             }
    8315                 :             :                                           }
    8316                 :             :                                       }
    8317                 :             :                                   }
    8318                 :           0 :                                   if ((_p1 == _q50 && ! TREE_SIDE_EFFECTS (_p1)) || (operand_equal_p (_p1, _q50, 0) && types_match (_p1, _q50)))
    8319                 :             :                                     {
    8320                 :           0 :                                       {
    8321                 :           0 :                                         tree captures[1] ATTRIBUTE_UNUSED = { _q50 };
    8322                 :           0 :                                         tree res = generic_simplify_183 (loc, type, _p0, _p1, captures);
    8323                 :           0 :                                         if (res) return res;
    8324                 :             :                                       }
    8325                 :             :                                     }
    8326                 :             :                                 }
    8327                 :             :                             }
    8328                 :             :                           break;
    8329                 :             :                         }
    8330                 :             :                       default:;
    8331                 :             :                       }
    8332                 :             :                     break;
    8333                 :             :                   }
    8334                 :           1 :                 case LT_EXPR:
    8335                 :           1 :                   {
    8336                 :           1 :                     tree _q40 = TREE_OPERAND (_q30, 0);
    8337                 :           1 :                     tree _q41 = TREE_OPERAND (_q30, 1);
    8338                 :           1 :                     if (integer_zerop (_q41))
    8339                 :             :                       {
    8340                 :           1 :                         if (integer_onep (_q21))
    8341                 :             :                           {
    8342                 :           1 :                             {
    8343                 :           1 :                               tree _p1_pops[1];
    8344                 :           1 :                               if (tree_nop_convert (_p1, _p1_pops))
    8345                 :             :                                 {
    8346                 :           0 :                                   tree _q80 = _p1_pops[0];
    8347                 :           0 :                                   if ((_q80 == _q40 && ! TREE_SIDE_EFFECTS (_q80)) || (operand_equal_p (_q80, _q40, 0) && types_match (_q80, _q40)))
    8348                 :             :                                     {
    8349                 :           0 :                                       {
    8350                 :           0 :                                         tree captures[1] ATTRIBUTE_UNUSED = { _q40 };
    8351                 :           0 :                                         tree res = generic_simplify_183 (loc, type, _p0, _p1, captures);
    8352                 :           0 :                                         if (res) return res;
    8353                 :             :                                       }
    8354                 :             :                                     }
    8355                 :             :                                 }
    8356                 :             :                             }
    8357                 :           1 :                             if ((_p1 == _q40 && ! TREE_SIDE_EFFECTS (_p1)) || (operand_equal_p (_p1, _q40, 0) && types_match (_p1, _q40)))
    8358                 :             :                               {
    8359                 :           1 :                                 {
    8360                 :           1 :                                   tree captures[1] ATTRIBUTE_UNUSED = { _q40 };
    8361                 :           1 :                                   tree res = generic_simplify_183 (loc, type, _p0, _p1, captures);
    8362                 :           1 :                                   if (res) return res;
    8363                 :             :                                 }
    8364                 :             :                               }
    8365                 :             :                           }
    8366                 :             :                       }
    8367                 :             :                     break;
    8368                 :             :                   }
    8369                 :             :                 default:;
    8370                 :             :                 }
    8371                 :             :               break;
    8372                 :             :             }
    8373                 :         291 :           default:;
    8374                 :             :           }
    8375                 :         291 :       {
    8376                 :         291 :         tree _q20_pops[1];
    8377                 :         291 :         if (tree_nop_convert (_q20, _q20_pops))
    8378                 :             :           {
    8379                 :           1 :             tree _q30 = _q20_pops[0];
    8380                 :           1 :             switch (TREE_CODE (_q30))
    8381                 :             :               {
    8382                 :           1 :               case NEGATE_EXPR:
    8383                 :           1 :                 {
    8384                 :           1 :                   tree _q40 = TREE_OPERAND (_q30, 0);
    8385                 :           1 :                   switch (TREE_CODE (_q40))
    8386                 :             :                     {
    8387                 :           0 :                     CASE_CONVERT:
    8388                 :           0 :                       {
    8389                 :           0 :                         tree _q50 = TREE_OPERAND (_q40, 0);
    8390                 :           0 :                         switch (TREE_CODE (_q50))
    8391                 :             :                           {
    8392                 :           0 :                           case LT_EXPR:
    8393                 :           0 :                             {
    8394                 :           0 :                               tree _q60 = TREE_OPERAND (_q50, 0);
    8395                 :           0 :                               tree _q61 = TREE_OPERAND (_q50, 1);
    8396                 :           0 :                               if (integer_zerop (_q61))
    8397                 :             :                                 {
    8398                 :           0 :                                   if (integer_onep (_q21))
    8399                 :             :                                     {
    8400                 :           0 :                                       {
    8401                 :           0 :                                         tree _p1_pops[1];
    8402                 :           0 :                                         if (tree_nop_convert (_p1, _p1_pops))
    8403                 :             :                                           {
    8404                 :           0 :                                             tree _q100 = _p1_pops[0];
    8405                 :           0 :                                             if ((_q100 == _q60 && ! TREE_SIDE_EFFECTS (_q100)) || (operand_equal_p (_q100, _q60, 0) && types_match (_q100, _q60)))
    8406                 :             :                                               {
    8407                 :           0 :                                                 {
    8408                 :           0 :                                                   tree captures[1] ATTRIBUTE_UNUSED = { _q60 };
    8409                 :           0 :                                                   tree res = generic_simplify_183 (loc, type, _p0, _p1, captures);
    8410                 :           0 :                                                   if (res) return res;
    8411                 :             :                                                 }
    8412                 :             :                                               }
    8413                 :             :                                           }
    8414                 :             :                                       }
    8415                 :           0 :                                       if ((_p1 == _q60 && ! TREE_SIDE_EFFECTS (_p1)) || (operand_equal_p (_p1, _q60, 0) && types_match (_p1, _q60)))
    8416                 :             :                                         {
    8417                 :           0 :                                           {
    8418                 :           0 :                                             tree captures[1] ATTRIBUTE_UNUSED = { _q60 };
    8419                 :           0 :                                             tree res = generic_simplify_183 (loc, type, _p0, _p1, captures);
    8420                 :           0 :                                             if (res) return res;
    8421                 :             :                                           }
    8422                 :             :                                         }
    8423                 :             :                                     }
    8424                 :             :                                 }
    8425                 :             :                               break;
    8426                 :             :                             }
    8427                 :             :                           default:;
    8428                 :             :                           }
    8429                 :             :                         break;
    8430                 :             :                       }
    8431                 :           1 :                     case LT_EXPR:
    8432                 :           1 :                       {
    8433                 :           1 :                         tree _q50 = TREE_OPERAND (_q40, 0);
    8434                 :           1 :                         tree _q51 = TREE_OPERAND (_q40, 1);
    8435                 :           1 :                         if (integer_zerop (_q51))
    8436                 :             :                           {
    8437                 :           1 :                             if (integer_onep (_q21))
    8438                 :             :                               {
    8439                 :           1 :                                 {
    8440                 :           1 :                                   tree _p1_pops[1];
    8441                 :           1 :                                   if (tree_nop_convert (_p1, _p1_pops))
    8442                 :             :                                     {
    8443                 :           1 :                                       tree _q90 = _p1_pops[0];
    8444                 :           1 :                                       if ((_q90 == _q50 && ! TREE_SIDE_EFFECTS (_q90)) || (operand_equal_p (_q90, _q50, 0) && types_match (_q90, _q50)))
    8445                 :             :                                         {
    8446                 :           1 :                                           {
    8447                 :           1 :                                             tree captures[1] ATTRIBUTE_UNUSED = { _q50 };
    8448                 :           1 :                                             tree res = generic_simplify_183 (loc, type, _p0, _p1, captures);
    8449                 :           1 :                                             if (res) return res;
    8450                 :             :                                           }
    8451                 :             :                                         }
    8452                 :             :                                     }
    8453                 :             :                                 }
    8454                 :           0 :                                 if ((_p1 == _q50 && ! TREE_SIDE_EFFECTS (_p1)) || (operand_equal_p (_p1, _q50, 0) && types_match (_p1, _q50)))
    8455                 :             :                                   {
    8456                 :           0 :                                     {
    8457                 :           0 :                                       tree captures[1] ATTRIBUTE_UNUSED = { _q50 };
    8458                 :           0 :                                       tree res = generic_simplify_183 (loc, type, _p0, _p1, captures);
    8459                 :           0 :                                       if (res) return res;
    8460                 :             :                                     }
    8461                 :             :                                   }
    8462                 :             :                               }
    8463                 :             :                           }
    8464                 :             :                         break;
    8465                 :             :                       }
    8466                 :             :                     default:;
    8467                 :             :                     }
    8468                 :             :                   break;
    8469                 :             :                 }
    8470                 :             :               default:;
    8471                 :             :               }
    8472                 :             :           }
    8473                 :             :       }
    8474                 :         290 :         break;
    8475                 :             :       }
    8476                 :    65086808 :     default:;
    8477                 :             :     }
    8478                 :    65086808 :   switch (TREE_CODE (_p1))
    8479                 :             :     {
    8480                 :           0 :     case BIT_IOR_EXPR:
    8481                 :           0 :       {
    8482                 :           0 :         tree _q30 = TREE_OPERAND (_p1, 0);
    8483                 :           0 :         tree _q31 = TREE_OPERAND (_p1, 1);
    8484                 :           0 :         switch (TREE_CODE (_q30))
    8485                 :             :           {
    8486                 :           0 :           case NEGATE_EXPR:
    8487                 :           0 :             {
    8488                 :           0 :               tree _q40 = TREE_OPERAND (_q30, 0);
    8489                 :           0 :               switch (TREE_CODE (_q40))
    8490                 :             :                 {
    8491                 :           0 :                 CASE_CONVERT:
    8492                 :           0 :                   {
    8493                 :           0 :                     tree _q50 = TREE_OPERAND (_q40, 0);
    8494                 :           0 :                     switch (TREE_CODE (_q50))
    8495                 :             :                       {
    8496                 :           0 :                       case LT_EXPR:
    8497                 :           0 :                         {
    8498                 :           0 :                           tree _q60 = TREE_OPERAND (_q50, 0);
    8499                 :           0 :                           tree _q61 = TREE_OPERAND (_q50, 1);
    8500                 :           0 :                           if ((_q60 == _p0 && ! TREE_SIDE_EFFECTS (_q60)) || (operand_equal_p (_q60, _p0, 0) && types_match (_q60, _p0)))
    8501                 :             :                             {
    8502                 :           0 :                               if (integer_zerop (_q61))
    8503                 :             :                                 {
    8504                 :           0 :                                   if (integer_onep (_q31))
    8505                 :             :                                     {
    8506                 :           0 :                                       {
    8507                 :           0 :                                         tree captures[1] ATTRIBUTE_UNUSED = { _p0 };
    8508                 :           0 :                                         tree res = generic_simplify_184 (loc, type, _p0, _p1, captures);
    8509                 :           0 :                                         if (res) return res;
    8510                 :             :                                       }
    8511                 :             :                                     }
    8512                 :             :                                 }
    8513                 :             :                             }
    8514                 :             :                           break;
    8515                 :             :                         }
    8516                 :             :                       default:;
    8517                 :             :                       }
    8518                 :             :                     break;
    8519                 :             :                   }
    8520                 :           0 :                 case LT_EXPR:
    8521                 :           0 :                   {
    8522                 :           0 :                     tree _q50 = TREE_OPERAND (_q40, 0);
    8523                 :           0 :                     tree _q51 = TREE_OPERAND (_q40, 1);
    8524                 :           0 :                     if ((_q50 == _p0 && ! TREE_SIDE_EFFECTS (_q50)) || (operand_equal_p (_q50, _p0, 0) && types_match (_q50, _p0)))
    8525                 :             :                       {
    8526                 :           0 :                         if (integer_zerop (_q51))
    8527                 :             :                           {
    8528                 :           0 :                             if (integer_onep (_q31))
    8529                 :             :                               {
    8530                 :           0 :                                 {
    8531                 :           0 :                                   tree captures[1] ATTRIBUTE_UNUSED = { _p0 };
    8532                 :           0 :                                   tree res = generic_simplify_184 (loc, type, _p0, _p1, captures);
    8533                 :           0 :                                   if (res) return res;
    8534                 :             :                                 }
    8535                 :             :                               }
    8536                 :             :                           }
    8537                 :             :                       }
    8538                 :             :                     break;
    8539                 :             :                   }
    8540                 :             :                 default:;
    8541                 :             :                 }
    8542                 :             :               break;
    8543                 :             :             }
    8544                 :           0 :           default:;
    8545                 :             :           }
    8546                 :           0 :       {
    8547                 :           0 :         tree _q30_pops[1];
    8548                 :           0 :         if (tree_nop_convert (_q30, _q30_pops))
    8549                 :             :           {
    8550                 :           0 :             tree _q40 = _q30_pops[0];
    8551                 :           0 :             switch (TREE_CODE (_q40))
    8552                 :             :               {
    8553                 :           0 :               case NEGATE_EXPR:
    8554                 :           0 :                 {
    8555                 :           0 :                   tree _q50 = TREE_OPERAND (_q40, 0);
    8556                 :           0 :                   switch (TREE_CODE (_q50))
    8557                 :             :                     {
    8558                 :           0 :                     CASE_CONVERT:
    8559                 :           0 :                       {
    8560                 :           0 :                         tree _q60 = TREE_OPERAND (_q50, 0);
    8561                 :           0 :                         switch (TREE_CODE (_q60))
    8562                 :             :                           {
    8563                 :           0 :                           case LT_EXPR:
    8564                 :           0 :                             {
    8565                 :           0 :                               tree _q70 = TREE_OPERAND (_q60, 0);
    8566                 :           0 :                               tree _q71 = TREE_OPERAND (_q60, 1);
    8567                 :           0 :                               if ((_q70 == _p0 && ! TREE_SIDE_EFFECTS (_q70)) || (operand_equal_p (_q70, _p0, 0) && types_match (_q70, _p0)))
    8568                 :             :                                 {
    8569                 :           0 :                                   if (integer_zerop (_q71))
    8570                 :             :                                     {
    8571                 :           0 :                                       if (integer_onep (_q31))
    8572                 :             :                                         {
    8573                 :           0 :                                           {
    8574                 :           0 :                                             tree captures[1] ATTRIBUTE_UNUSED = { _p0 };
    8575                 :           0 :                                             tree res = generic_simplify_184 (loc, type, _p0, _p1, captures);
    8576                 :           0 :                                             if (res) return res;
    8577                 :             :                                           }
    8578                 :             :                                         }
    8579                 :             :                                     }
    8580                 :             :                                 }
    8581                 :             :                               break;
    8582                 :             :                             }
    8583                 :             :                           default:;
    8584                 :             :                           }
    8585                 :             :                         break;
    8586                 :             :                       }
    8587                 :           0 :                     case LT_EXPR:
    8588                 :           0 :                       {
    8589                 :           0 :                         tree _q60 = TREE_OPERAND (_q50, 0);
    8590                 :           0 :                         tree _q61 = TREE_OPERAND (_q50, 1);
    8591                 :           0 :                         if ((_q60 == _p0 && ! TREE_SIDE_EFFECTS (_q60)) || (operand_equal_p (_q60, _p0, 0) && types_match (_q60, _p0)))
    8592                 :             :                           {
    8593                 :           0 :                             if (integer_zerop (_q61))
    8594                 :             :                               {
    8595                 :           0 :                                 if (integer_onep (_q31))
    8596                 :             :                                   {
    8597                 :           0 :                                     {
    8598                 :           0 :                                       tree captures[1] ATTRIBUTE_UNUSED = { _p0 };
    8599                 :           0 :                                       tree res = generic_simplify_184 (loc, type, _p0, _p1, captures);
    8600                 :           0 :                                       if (res) return res;
    8601                 :             :                                     }
    8602                 :             :                                   }
    8603                 :             :                               }
    8604                 :             :                           }
    8605                 :             :                         break;
    8606                 :             :                       }
    8607                 :             :                     default:;
    8608                 :             :                     }
    8609                 :             :                   break;
    8610                 :             :                 }
    8611                 :             :               default:;
    8612                 :             :               }
    8613                 :             :           }
    8614                 :             :       }
    8615                 :           0 :         break;
    8616                 :             :       }
    8617                 :    65086808 :     default:;
    8618                 :             :     }
    8619                 :    65086808 : {
    8620                 :    65086808 :   tree _p1_pops[1];
    8621                 :    65086808 :   if (tree_nop_convert (_p1, _p1_pops))
    8622                 :             :     {
    8623                 :     7286339 :       tree _q30 = _p1_pops[0];
    8624                 :     7286339 :       switch (TREE_CODE (_q30))
    8625                 :             :         {
    8626                 :           0 :         case BIT_IOR_EXPR:
    8627                 :           0 :           {
    8628                 :           0 :             tree _q40 = TREE_OPERAND (_q30, 0);
    8629                 :           0 :             tree _q41 = TREE_OPERAND (_q30, 1);
    8630                 :           0 :             switch (TREE_CODE (_q40))
    8631                 :             :               {
    8632                 :           0 :               case NEGATE_EXPR:
    8633                 :           0 :                 {
    8634                 :           0 :                   tree _q50 = TREE_OPERAND (_q40, 0);
    8635                 :           0 :                   switch (TREE_CODE (_q50))
    8636                 :             :                     {
    8637                 :           0 :                     case LT_EXPR:
    8638                 :           0 :                       {
    8639                 :           0 :                         tree _q60 = TREE_OPERAND (_q50, 0);
    8640                 :           0 :                         tree _q61 = TREE_OPERAND (_q50, 1);
    8641                 :           0 :                         if ((_q60 == _p0 && ! TREE_SIDE_EFFECTS (_q60)) || (operand_equal_p (_q60, _p0, 0) && types_match (_q60, _p0)))
    8642                 :             :                           {
    8643                 :           0 :                             if (integer_zerop (_q61))
    8644                 :             :                               {
    8645                 :           0 :                                 if (integer_onep (_q41))
    8646                 :             :                                   {
    8647                 :           0 :                                     {
    8648                 :           0 :                                       tree captures[1] ATTRIBUTE_UNUSED = { _p0 };
    8649                 :           0 :                                       tree res = generic_simplify_184 (loc, type, _p0, _p1, captures);
    8650                 :           0 :                                       if (res) return res;
    8651                 :             :                                     }
    8652                 :             :                                   }
    8653                 :             :                               }
    8654                 :             :                           }
    8655                 :             :                         break;
    8656                 :             :                       }
    8657                 :             :                     default:;
    8658                 :             :                     }
    8659                 :             :                   break;
    8660                 :             :                 }
    8661                 :           0 :               default:;
    8662                 :             :               }
    8663                 :           0 :           {
    8664                 :           0 :             tree _q40_pops[1];
    8665                 :           0 :             if (tree_nop_convert (_q40, _q40_pops))
    8666                 :             :               {
    8667                 :           0 :                 tree _q50 = _q40_pops[0];
    8668                 :           0 :                 switch (TREE_CODE (_q50))
    8669                 :             :                   {
    8670                 :           0 :                   case NEGATE_EXPR:
    8671                 :           0 :                     {
    8672                 :           0 :                       tree _q60 = TREE_OPERAND (_q50, 0);
    8673                 :           0 :                       switch (TREE_CODE (_q60))
    8674                 :             :                         {
    8675                 :           0 :                         case LT_EXPR:
    8676                 :           0 :                           {
    8677                 :           0 :                             tree _q70 = TREE_OPERAND (_q60, 0);
    8678                 :           0 :                             tree _q71 = TREE_OPERAND (_q60, 1);
    8679                 :           0 :                             if ((_q70 == _p0 && ! TREE_SIDE_EFFECTS (_q70)) || (operand_equal_p (_q70, _p0, 0) && types_match (_q70, _p0)))
    8680                 :             :                               {
    8681                 :           0 :                                 if (integer_zerop (_q71))
    8682                 :             :                                   {
    8683                 :           0 :                                     if (integer_onep (_q41))
    8684                 :             :                                       {
    8685                 :           0 :                                         {
    8686                 :           0 :                                           tree captures[1] ATTRIBUTE_UNUSED = { _p0 };
    8687                 :           0 :                                           tree res = generic_simplify_184 (loc, type, _p0, _p1, captures);
    8688                 :           0 :                                           if (res) return res;
    8689                 :             :                                         }
    8690                 :             :                                       }
    8691                 :             :                                   }
    8692                 :             :                               }
    8693                 :             :                             break;
    8694                 :             :                           }
    8695                 :             :                         default:;
    8696                 :             :                         }
    8697                 :             :                       break;
    8698                 :             :                     }
    8699                 :             :                   default:;
    8700                 :             :                   }
    8701                 :             :               }
    8702                 :             :           }
    8703                 :           0 :             break;
    8704                 :             :           }
    8705                 :             :         default:;
    8706                 :             :         }
    8707                 :             :     }
    8708                 :             : }
    8709                 :    65086808 :   switch (TREE_CODE (_p0))
    8710                 :             :     {
    8711                 :    30588166 :     CASE_CONVERT:
    8712                 :    30588166 :       {
    8713                 :    30588166 :         tree _q20 = TREE_OPERAND (_p0, 0);
    8714                 :    30588166 :         switch (TREE_CODE (_q20))
    8715                 :             :           {
    8716                 :       73330 :           case NEGATE_EXPR:
    8717                 :       73330 :             {
    8718                 :       73330 :               tree _q30 = TREE_OPERAND (_q20, 0);
    8719                 :       73330 :               switch (TREE_CODE (_p1))
    8720                 :             :                 {
    8721                 :         335 :                 CASE_CONVERT:
    8722                 :         335 :                   {
    8723                 :         335 :                     tree _q50 = TREE_OPERAND (_p1, 0);
    8724                 :         335 :                     if (tree_negate_expr_p (_q50))
    8725                 :             :                       {
    8726                 :           0 :                         {
    8727                 :           0 :                           tree captures[2] ATTRIBUTE_UNUSED = { _q30, _q50 };
    8728                 :           0 :                           tree res = generic_simplify_185 (loc, type, _p0, _p1, captures);
    8729                 :           0 :                           if (res) return res;
    8730                 :             :                         }
    8731                 :             :                       }
    8732                 :             :                     break;
    8733                 :             :                   }
    8734                 :       73330 :                 default:;
    8735                 :             :                 }
    8736                 :       73330 :             if (tree_negate_expr_p (_p1))
    8737                 :             :               {
    8738                 :       72760 :                 {
    8739                 :       72760 :                   tree captures[2] ATTRIBUTE_UNUSED = { _q30, _p1 };
    8740                 :       72760 :                   tree res = generic_simplify_185 (loc, type, _p0, _p1, captures);
    8741                 :       72760 :                   if (res) return res;
    8742                 :             :                 }
    8743                 :             :               }
    8744                 :             :               break;
    8745                 :             :             }
    8746                 :           4 :           case LT_EXPR:
    8747                 :           4 :             {
    8748                 :           4 :               tree _q30 = TREE_OPERAND (_q20, 0);
    8749                 :           4 :               tree _q31 = TREE_OPERAND (_q20, 1);
    8750                 :           4 :               {
    8751                 :           4 :                 tree captures[4] ATTRIBUTE_UNUSED = { _q20, _q30, _q31, _p1 };
    8752                 :           4 :                 tree res = generic_simplify_186 (loc, type, _p0, _p1, captures, LT_EXPR);
    8753                 :           4 :                 if (res) return res;
    8754                 :             :               }
    8755                 :           4 :               break;
    8756                 :             :             }
    8757                 :           6 :           case LE_EXPR:
    8758                 :           6 :             {
    8759                 :           6 :               tree _q30 = TREE_OPERAND (_q20, 0);
    8760                 :           6 :               tree _q31 = TREE_OPERAND (_q20, 1);
    8761                 :           6 :               {
    8762                 :           6 :                 tree captures[4] ATTRIBUTE_UNUSED = { _q20, _q30, _q31, _p1 };
    8763                 :           6 :                 tree res = generic_simplify_186 (loc, type, _p0, _p1, captures, LE_EXPR);
    8764                 :           6 :                 if (res) return res;
    8765                 :             :               }
    8766                 :           6 :               break;
    8767                 :             :             }
    8768                 :           1 :           case EQ_EXPR:
    8769                 :           1 :             {
    8770                 :           1 :               tree _q30 = TREE_OPERAND (_q20, 0);
    8771                 :           1 :               tree _q31 = TREE_OPERAND (_q20, 1);
    8772                 :           1 :               {
    8773                 :           1 :                 tree captures[4] ATTRIBUTE_UNUSED = { _q20, _q30, _q31, _p1 };
    8774                 :           1 :                 tree res = generic_simplify_186 (loc, type, _p0, _p1, captures, EQ_EXPR);
    8775                 :           1 :                 if (res) return res;
    8776                 :             :               }
    8777                 :           1 :               break;
    8778                 :             :             }
    8779                 :        1157 :           case NE_EXPR:
    8780                 :        1157 :             {
    8781                 :        1157 :               tree _q30 = TREE_OPERAND (_q20, 0);
    8782                 :        1157 :               tree _q31 = TREE_OPERAND (_q20, 1);
    8783                 :        1157 :               {
    8784                 :        1157 :                 tree captures[4] ATTRIBUTE_UNUSED = { _q20, _q30, _q31, _p1 };
    8785                 :        1157 :                 tree res = generic_simplify_186 (loc, type, _p0, _p1, captures, NE_EXPR);
    8786                 :        1157 :                 if (res) return res;
    8787                 :             :               }
    8788                 :        1157 :               break;
    8789                 :             :             }
    8790                 :          19 :           case GE_EXPR:
    8791                 :          19 :             {
    8792                 :          19 :               tree _q30 = TREE_OPERAND (_q20, 0);
    8793                 :          19 :               tree _q31 = TREE_OPERAND (_q20, 1);
    8794                 :          19 :               {
    8795                 :          19 :                 tree captures[4] ATTRIBUTE_UNUSED = { _q20, _q30, _q31, _p1 };
    8796                 :          19 :                 tree res = generic_simplify_186 (loc, type, _p0, _p1, captures, GE_EXPR);
    8797                 :          19 :                 if (res) return res;
    8798                 :             :               }
    8799                 :          19 :               break;
    8800                 :             :             }
    8801                 :          19 :           case GT_EXPR:
    8802                 :          19 :             {
    8803                 :          19 :               tree _q30 = TREE_OPERAND (_q20, 0);
    8804                 :          19 :               tree _q31 = TREE_OPERAND (_q20, 1);
    8805                 :          19 :               {
    8806                 :          19 :                 tree captures[4] ATTRIBUTE_UNUSED = { _q20, _q30, _q31, _p1 };
    8807                 :          19 :                 tree res = generic_simplify_186 (loc, type, _p0, _p1, captures, GT_EXPR);
    8808                 :          19 :                 if (res) return res;
    8809                 :             :               }
    8810                 :          19 :               break;
    8811                 :             :             }
    8812                 :           0 :           case UNORDERED_EXPR:
    8813                 :           0 :             {
    8814                 :           0 :               tree _q30 = TREE_OPERAND (_q20, 0);
    8815                 :           0 :               tree _q31 = TREE_OPERAND (_q20, 1);
    8816                 :           0 :               {
    8817                 :           0 :                 tree captures[4] ATTRIBUTE_UNUSED = { _q20, _q30, _q31, _p1 };
    8818                 :           0 :                 tree res = generic_simplify_186 (loc, type, _p0, _p1, captures, UNORDERED_EXPR);
    8819                 :           0 :                 if (res) return res;
    8820                 :             :               }
    8821                 :           0 :               break;
    8822                 :             :             }
    8823                 :           0 :           case ORDERED_EXPR:
    8824                 :           0 :             {
    8825                 :           0 :               tree _q30 = TREE_OPERAND (_q20, 0);
    8826                 :           0 :               tree _q31 = TREE_OPERAND (_q20, 1);
    8827                 :           0 :               {
    8828                 :           0 :                 tree captures[4] ATTRIBUTE_UNUSED = { _q20, _q30, _q31, _p1 };
    8829                 :           0 :                 tree res = generic_simplify_186 (loc, type, _p0, _p1, captures, ORDERED_EXPR);
    8830                 :           0 :                 if (res) return res;
    8831                 :             :               }
    8832                 :           0 :               break;
    8833                 :             :             }
    8834                 :           0 :           case UNLT_EXPR:
    8835                 :           0 :             {
    8836                 :           0 :               tree _q30 = TREE_OPERAND (_q20, 0);
    8837                 :           0 :               tree _q31 = TREE_OPERAND (_q20, 1);
    8838                 :           0 :               {
    8839                 :           0 :                 tree captures[4] ATTRIBUTE_UNUSED = { _q20, _q30, _q31, _p1 };
    8840                 :           0 :                 tree res = generic_simplify_186 (loc, type, _p0, _p1, captures, UNLT_EXPR);
    8841                 :           0 :                 if (res) return res;
    8842                 :             :               }
    8843                 :           0 :               break;
    8844                 :             :             }
    8845                 :           0 :           case UNLE_EXPR:
    8846                 :           0 :             {
    8847                 :           0 :               tree _q30 = TREE_OPERAND (_q20, 0);
    8848                 :           0 :               tree _q31 = TREE_OPERAND (_q20, 1);
    8849                 :           0 :               {
    8850                 :           0 :                 tree captures[4] ATTRIBUTE_UNUSED = { _q20, _q30, _q31, _p1 };
    8851                 :           0 :                 tree res = generic_simplify_186 (loc, type, _p0, _p1, captures, UNLE_EXPR);
    8852                 :           0 :                 if (res) return res;
    8853                 :             :               }
    8854                 :           0 :               break;
    8855                 :             :             }
    8856                 :           0 :           case UNGT_EXPR:
    8857                 :           0 :             {
    8858                 :           0 :               tree _q30 = TREE_OPERAND (_q20, 0);
    8859                 :           0 :               tree _q31 = TREE_OPERAND (_q20, 1);
    8860                 :           0 :               {
    8861                 :           0 :                 tree captures[4] ATTRIBUTE_UNUSED = { _q20, _q30, _q31, _p1 };
    8862                 :           0 :                 tree res = generic_simplify_186 (loc, type, _p0, _p1, captures, UNGT_EXPR);
    8863                 :           0 :                 if (res) return res;
    8864                 :             :               }
    8865                 :           0 :               break;
    8866                 :             :             }
    8867                 :           0 :           case UNGE_EXPR:
    8868                 :           0 :             {
    8869                 :           0 :               tree _q30 = TREE_OPERAND (_q20, 0);
    8870                 :           0 :               tree _q31 = TREE_OPERAND (_q20, 1);
    8871                 :           0 :               {
    8872                 :           0 :                 tree captures[4] ATTRIBUTE_UNUSED = { _q20, _q30, _q31, _p1 };
    8873                 :           0 :                 tree res = generic_simplify_186 (loc, type, _p0, _p1, captures, UNGE_EXPR);
    8874                 :           0 :                 if (res) return res;
    8875                 :             :               }
    8876                 :           0 :               break;
    8877                 :             :             }
    8878                 :           0 :           case UNEQ_EXPR:
    8879                 :           0 :             {
    8880                 :           0 :               tree _q30 = TREE_OPERAND (_q20, 0);
    8881                 :           0 :               tree _q31 = TREE_OPERAND (_q20, 1);
    8882                 :           0 :               {
    8883                 :           0 :                 tree captures[4] ATTRIBUTE_UNUSED = { _q20, _q30, _q31, _p1 };
    8884                 :           0 :                 tree res = generic_simplify_186 (loc, type, _p0, _p1, captures, UNEQ_EXPR);
    8885                 :           0 :                 if (res) return res;
    8886                 :             :               }
    8887                 :           0 :               break;
    8888                 :             :             }
    8889                 :           0 :           case LTGT_EXPR:
    8890                 :           0 :             {
    8891                 :           0 :               tree _q30 = TREE_OPERAND (_q20, 0);
    8892                 :           0 :               tree _q31 = TREE_OPERAND (_q20, 1);
    8893                 :           0 :               {
    8894                 :           0 :                 tree captures[4] ATTRIBUTE_UNUSED = { _q20, _q30, _q31, _p1 };
    8895                 :           0 :                 tree res = generic_simplify_186 (loc, type, _p0, _p1, captures, LTGT_EXPR);
    8896                 :           0 :                 if (res) return res;
    8897                 :             :               }
    8898                 :           0 :               break;
    8899                 :             :             }
    8900                 :    30579373 :           default:;
    8901                 :             :           }
    8902                 :    30579373 :       if (tree_negate_expr_p (_q20))
    8903                 :             :         {
    8904                 :       80571 :           switch (TREE_CODE (_p1))
    8905                 :             :             {
    8906                 :        2502 :             CASE_CONVERT:
    8907                 :        2502 :               {
    8908                 :        2502 :                 tree _q40 = TREE_OPERAND (_p1, 0);
    8909                 :        2502 :                 switch (TREE_CODE (_q40))
    8910                 :             :                   {
    8911                 :           0 :                   case NEGATE_EXPR:
    8912                 :           0 :                     {
    8913                 :           0 :                       tree _q50 = TREE_OPERAND (_q40, 0);
    8914                 :           0 :                       {
    8915                 :           0 :                         tree captures[2] ATTRIBUTE_UNUSED = { _q50, _q20 };
    8916                 :           0 :                         tree res = generic_simplify_185 (loc, type, _p0, _p1, captures);
    8917                 :           0 :                         if (res) return res;
    8918                 :             :                       }
    8919                 :           0 :                       break;
    8920                 :             :                     }
    8921                 :             :                   default:;
    8922                 :             :                   }
    8923                 :             :                 break;
    8924                 :             :               }
    8925                 :           6 :             case NEGATE_EXPR:
    8926                 :           6 :               {
    8927                 :           6 :                 tree _q40 = TREE_OPERAND (_p1, 0);
    8928                 :           6 :                 {
    8929                 :           6 :                   tree captures[2] ATTRIBUTE_UNUSED = { _q40, _q20 };
    8930                 :           6 :                   tree res = generic_simplify_185 (loc, type, _p0, _p1, captures);
    8931                 :           6 :                   if (res) return res;
    8932                 :             :                 }
    8933                 :           0 :                 break;
    8934                 :             :               }
    8935                 :             :             default:;
    8936                 :             :             }
    8937                 :             :         }
    8938                 :             :         break;
    8939                 :             :       }
    8940                 :      443459 :     case NEGATE_EXPR:
    8941                 :      443459 :       {
    8942                 :      443459 :         tree _q20 = TREE_OPERAND (_p0, 0);
    8943                 :      443459 :         switch (TREE_CODE (_p1))
    8944                 :             :           {
    8945                 :      160872 :           CASE_CONVERT:
    8946                 :      160872 :             {
    8947                 :      160872 :               tree _q40 = TREE_OPERAND (_p1, 0);
    8948                 :      160872 :               if (tree_negate_expr_p (_q40))
    8949                 :             :                 {
    8950                 :           0 :                   {
    8951                 :           0 :                     tree captures[2] ATTRIBUTE_UNUSED = { _q20, _q40 };
    8952                 :           0 :                     tree res = generic_simplify_185 (loc, type, _p0, _p1, captures);
    8953                 :           0 :                     if (res) return res;
    8954                 :             :                   }
    8955                 :             :                 }
    8956                 :             :               break;
    8957                 :             :             }
    8958                 :      443459 :           default:;
    8959                 :             :           }
    8960                 :      443459 :       if (tree_negate_expr_p (_p1))
    8961                 :             :         {
    8962                 :       21447 :           {
    8963                 :       21447 :             tree captures[2] ATTRIBUTE_UNUSED = { _q20, _p1 };
    8964                 :       21447 :             tree res = generic_simplify_185 (loc, type, _p0, _p1, captures);
    8965                 :       21447 :             if (res) return res;
    8966                 :             :           }
    8967                 :             :         }
    8968                 :             :         break;
    8969                 :             :       }
    8970                 :    65056562 :     default:;
    8971                 :             :     }
    8972                 :    65056562 : if (tree_negate_expr_p (_p0))
    8973                 :             :   {
    8974                 :      678508 :     switch (TREE_CODE (_p1))
    8975                 :             :       {
    8976                 :      165282 :       CASE_CONVERT:
    8977                 :      165282 :         {
    8978                 :      165282 :           tree _q30 = TREE_OPERAND (_p1, 0);
    8979                 :      165282 :           switch (TREE_CODE (_q30))
    8980                 :             :             {
    8981                 :           0 :             case NEGATE_EXPR:
    8982                 :           0 :               {
    8983                 :           0 :                 tree _q40 = TREE_OPERAND (_q30, 0);
    8984                 :           0 :                 {
    8985                 :           0 :                   tree captures[2] ATTRIBUTE_UNUSED = { _q40, _p0 };
    8986                 :           0 :                   tree res = generic_simplify_185 (loc, type, _p0, _p1, captures);
    8987                 :           0 :                   if (res) return res;
    8988                 :             :                 }
    8989                 :           0 :                 break;
    8990                 :             :               }
    8991                 :             :             default:;
    8992                 :             :             }
    8993                 :             :           break;
    8994                 :             :         }
    8995                 :           6 :       case NEGATE_EXPR:
    8996                 :           6 :         {
    8997                 :           6 :           tree _q30 = TREE_OPERAND (_p1, 0);
    8998                 :           6 :           {
    8999                 :           6 :             tree captures[2] ATTRIBUTE_UNUSED = { _q30, _p0 };
    9000                 :           6 :             tree res = generic_simplify_185 (loc, type, _p0, _p1, captures);
    9001                 :           6 :             if (res) return res;
    9002                 :             :           }
    9003                 :           0 :           break;
    9004                 :             :         }
    9005                 :             :       default:;
    9006                 :             :       }
    9007                 :             :   }
    9008                 :    65056556 : if (tree_zero_one_valued_p (_p0))
    9009                 :             :   {
    9010                 :      174046 :     if (tree_zero_one_valued_p (_p1))
    9011                 :             :       {
    9012                 :        3129 :         {
    9013                 :        3129 :           tree captures[2] ATTRIBUTE_UNUSED = { _p0, _p1 };
    9014                 :        3129 :           if (INTEGRAL_TYPE_P (type)
    9015                 :             : )
    9016                 :             :             {
    9017                 :        3129 :               if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail1589;
    9018                 :        3129 :               {
    9019                 :        3129 :                 tree res_op0;
    9020                 :        3129 :                 res_op0 = captures[0];
    9021                 :        3129 :                 tree res_op1;
    9022                 :        3129 :                 res_op1 = captures[1];
    9023                 :        3129 :                 tree _r;
    9024                 :        3129 :                 _r = fold_build2_loc (loc, BIT_AND_EXPR, type, res_op0, res_op1);
    9025                 :        3129 :                 if (UNLIKELY (debug_dump)) generic_dump_logs ("match.pd", 990, __FILE__, __LINE__, true);
    9026                 :        3129 :                 return _r;
    9027                 :             :               }
    9028                 :           0 : next_after_fail1589:;
    9029                 :             :             }
    9030                 :             :         }
    9031                 :             :       }
    9032                 :             :   }
    9033                 :    65053427 :   switch (TREE_CODE (_p1))
    9034                 :             :     {
    9035                 :     7345631 :     CASE_CONVERT:
    9036                 :     7345631 :       {
    9037                 :     7345631 :         tree _q30 = TREE_OPERAND (_p1, 0);
    9038                 :     7345631 :         switch (TREE_CODE (_q30))
    9039                 :             :           {
    9040                 :           0 :           case LT_EXPR:
    9041                 :           0 :             {
    9042                 :           0 :               tree _q40 = TREE_OPERAND (_q30, 0);
    9043                 :           0 :               tree _q41 = TREE_OPERAND (_q30, 1);
    9044                 :           0 :               {
    9045                 :           0 :                 tree captures[4] ATTRIBUTE_UNUSED = { _q30, _q40, _q41, _p0 };
    9046                 :           0 :                 tree res = generic_simplify_187 (loc, type, _p0, _p1, captures, LT_EXPR);
    9047                 :           0 :                 if (res) return res;
    9048                 :             :               }
    9049                 :           0 :               break;
    9050                 :             :             }
    9051                 :           0 :           case LE_EXPR:
    9052                 :           0 :             {
    9053                 :           0 :               tree _q40 = TREE_OPERAND (_q30, 0);
    9054                 :           0 :               tree _q41 = TREE_OPERAND (_q30, 1);
    9055                 :           0 :               {
    9056                 :           0 :                 tree captures[4] ATTRIBUTE_UNUSED = { _q30, _q40, _q41, _p0 };
    9057                 :           0 :                 tree res = generic_simplify_187 (loc, type, _p0, _p1, captures, LE_EXPR);
    9058                 :           0 :                 if (res) return res;
    9059                 :             :               }
    9060                 :           0 :               break;
    9061                 :             :             }
    9062                 :           0 :           case EQ_EXPR:
    9063                 :           0 :             {
    9064                 :           0 :               tree _q40 = TREE_OPERAND (_q30, 0);
    9065                 :           0 :               tree _q41 = TREE_OPERAND (_q30, 1);
    9066                 :           0 :               {
    9067                 :           0 :                 tree captures[4] ATTRIBUTE_UNUSED = { _q30, _q40, _q41, _p0 };
    9068                 :           0 :                 tree res = generic_simplify_187 (loc, type, _p0, _p1, captures, EQ_EXPR);
    9069                 :           0 :                 if (res) return res;
    9070                 :             :               }
    9071                 :           0 :               break;
    9072                 :             :             }
    9073                 :           0 :           case NE_EXPR:
    9074                 :           0 :             {
    9075                 :           0 :               tree _q40 = TREE_OPERAND (_q30, 0);
    9076                 :           0 :               tree _q41 = TREE_OPERAND (_q30, 1);
    9077                 :           0 :               {
    9078                 :           0 :                 tree captures[4] ATTRIBUTE_UNUSED = { _q30, _q40, _q41, _p0 };
    9079                 :           0 :                 tree res = generic_simplify_187 (loc, type, _p0, _p1, captures, NE_EXPR);
    9080                 :           0 :                 if (res) return res;
    9081                 :             :               }
    9082                 :           0 :               break;
    9083                 :             :             }
    9084                 :           0 :           case GE_EXPR:
    9085                 :           0 :             {
    9086                 :           0 :               tree _q40 = TREE_OPERAND (_q30, 0);
    9087                 :           0 :               tree _q41 = TREE_OPERAND (_q30, 1);
    9088                 :           0 :               {
    9089                 :           0 :                 tree captures[4] ATTRIBUTE_UNUSED = { _q30, _q40, _q41, _p0 };
    9090                 :           0 :                 tree res = generic_simplify_187 (loc, type, _p0, _p1, captures, GE_EXPR);
    9091                 :           0 :                 if (res) return res;
    9092                 :             :               }
    9093                 :           0 :               break;
    9094                 :             :             }
    9095                 :           0 :           case GT_EXPR:
    9096                 :           0 :             {
    9097                 :           0 :               tree _q40 = TREE_OPERAND (_q30, 0);
    9098                 :           0 :               tree _q41 = TREE_OPERAND (_q30, 1);
    9099                 :           0 :               {
    9100                 :           0 :                 tree captures[4] ATTRIBUTE_UNUSED = { _q30, _q40, _q41, _p0 };
    9101                 :           0 :                 tree res = generic_simplify_187 (loc, type, _p0, _p1, captures, GT_EXPR);
    9102                 :           0 :                 if (res) return res;
    9103                 :             :               }
    9104                 :           0 :               break;
    9105                 :             :             }
    9106                 :           0 :           case UNORDERED_EXPR:
    9107                 :           0 :             {
    9108                 :           0 :               tree _q40 = TREE_OPERAND (_q30, 0);
    9109                 :           0 :               tree _q41 = TREE_OPERAND (_q30, 1);
    9110                 :           0 :               {
    9111                 :           0 :                 tree captures[4] ATTRIBUTE_UNUSED = { _q30, _q40, _q41, _p0 };
    9112                 :           0 :                 tree res = generic_simplify_187 (loc, type, _p0, _p1, captures, UNORDERED_EXPR);
    9113                 :           0 :                 if (res) return res;
    9114                 :             :               }
    9115                 :           0 :               break;
    9116                 :             :             }
    9117                 :           0 :           case ORDERED_EXPR:
    9118                 :           0 :             {
    9119                 :           0 :               tree _q40 = TREE_OPERAND (_q30, 0);
    9120                 :           0 :               tree _q41 = TREE_OPERAND (_q30, 1);
    9121                 :           0 :               {
    9122                 :           0 :                 tree captures[4] ATTRIBUTE_UNUSED = { _q30, _q40, _q41, _p0 };
    9123                 :           0 :                 tree res = generic_simplify_187 (loc, type, _p0, _p1, captures, ORDERED_EXPR);
    9124                 :           0 :                 if (res) return res;
    9125                 :             :               }
    9126                 :           0 :               break;
    9127                 :             :             }
    9128                 :           0 :           case UNLT_EXPR:
    9129                 :           0 :             {
    9130                 :           0 :               tree _q40 = TREE_OPERAND (_q30, 0);
    9131                 :           0 :               tree _q41 = TREE_OPERAND (_q30, 1);
    9132                 :           0 :               {
    9133                 :           0 :                 tree captures[4] ATTRIBUTE_UNUSED = { _q30, _q40, _q41, _p0 };
    9134                 :           0 :                 tree res = generic_simplify_187 (loc, type, _p0, _p1, captures, UNLT_EXPR);
    9135                 :           0 :                 if (res) return res;
    9136                 :             :               }
    9137                 :           0 :               break;
    9138                 :             :             }
    9139                 :           0 :           case UNLE_EXPR:
    9140                 :           0 :             {
    9141                 :           0 :               tree _q40 = TREE_OPERAND (_q30, 0);
    9142                 :           0 :               tree _q41 = TREE_OPERAND (_q30, 1);
    9143                 :           0 :               {
    9144                 :           0 :                 tree captures[4] ATTRIBUTE_UNUSED = { _q30, _q40, _q41, _p0 };
    9145                 :           0 :                 tree res = generic_simplify_187 (loc, type, _p0, _p1, captures, UNLE_EXPR);
    9146                 :           0 :                 if (res) return res;
    9147                 :             :               }
    9148                 :           0 :               break;
    9149                 :             :             }
    9150                 :           0 :           case UNGT_EXPR:
    9151                 :           0 :             {
    9152                 :           0 :               tree _q40 = TREE_OPERAND (_q30, 0);
    9153                 :           0 :               tree _q41 = TREE_OPERAND (_q30, 1);
    9154                 :           0 :               {
    9155                 :           0 :                 tree captures[4] ATTRIBUTE_UNUSED = { _q30, _q40, _q41, _p0 };
    9156                 :           0 :                 tree res = generic_simplify_187 (loc, type, _p0, _p1, captures, UNGT_EXPR);
    9157                 :           0 :                 if (res) return res;
    9158                 :             :               }
    9159                 :           0 :               break;
    9160                 :             :             }
    9161                 :           0 :           case UNGE_EXPR:
    9162                 :           0 :             {
    9163                 :           0 :               tree _q40 = TREE_OPERAND (_q30, 0);
    9164                 :           0 :               tree _q41 = TREE_OPERAND (_q30, 1);
    9165                 :           0 :               {
    9166                 :           0 :                 tree captures[4] ATTRIBUTE_UNUSED = { _q30, _q40, _q41, _p0 };
    9167                 :           0 :                 tree res = generic_simplify_187 (loc, type, _p0, _p1, captures, UNGE_EXPR);
    9168                 :           0 :                 if (res) return res;
    9169                 :             :               }
    9170                 :           0 :               break;
    9171                 :             :             }
    9172                 :           0 :           case UNEQ_EXPR:
    9173                 :           0 :             {
    9174                 :           0 :               tree _q40 = TREE_OPERAND (_q30, 0);
    9175                 :           0 :               tree _q41 = TREE_OPERAND (_q30, 1);
    9176                 :           0 :               {
    9177                 :           0 :                 tree captures[4] ATTRIBUTE_UNUSED = { _q30, _q40, _q41, _p0 };
    9178                 :           0 :                 tree res = generic_simplify_187 (loc, type, _p0, _p1, captures, UNEQ_EXPR);
    9179                 :           0 :                 if (res) return res;
    9180                 :             :               }
    9181                 :           0 :               break;
    9182                 :             :             }
    9183                 :           0 :           case LTGT_EXPR:
    9184                 :           0 :             {
    9185                 :           0 :               tree _q40 = TREE_OPERAND (_q30, 0);
    9186                 :           0 :               tree _q41 = TREE_OPERAND (_q30, 1);
    9187                 :           0 :               {
    9188                 :           0 :                 tree captures[4] ATTRIBUTE_UNUSED = { _q30, _q40, _q41, _p0 };
    9189                 :           0 :                 tree res = generic_simplify_187 (loc, type, _p0, _p1, captures, LTGT_EXPR);
    9190                 :           0 :                 if (res) return res;
    9191                 :             :               }
    9192                 :           0 :               break;
    9193                 :             :             }
    9194                 :             :           default:;
    9195                 :             :           }
    9196                 :             :         break;
    9197                 :             :       }
    9198                 :    65053427 :     default:;
    9199                 :             :     }
    9200                 :    65053427 :   switch (TREE_CODE (_p0))
    9201                 :             :     {
    9202                 :           3 :     case MIN_EXPR:
    9203                 :           3 :       {
    9204                 :           3 :         tree _q20 = TREE_OPERAND (_p0, 0);
    9205                 :           3 :         tree _q21 = TREE_OPERAND (_p0, 1);
    9206                 :           3 :         switch (TREE_CODE (_p1))
    9207                 :             :           {
    9208                 :           0 :           case MAX_EXPR:
    9209                 :           0 :             {
    9210                 :           0 :               tree _q50 = TREE_OPERAND (_p1, 0);
    9211                 :           0 :               tree _q51 = TREE_OPERAND (_p1, 1);
    9212                 :           0 :               if ((_q50 == _q20 && ! TREE_SIDE_EFFECTS (_q50)) || (operand_equal_p (_q50, _q20, 0) && types_match (_q50, _q20)))
    9213                 :             :                 {
    9214                 :           0 :                   if ((_q51 == _q21 && ! TREE_SIDE_EFFECTS (_q51)) || (operand_equal_p (_q51, _q21, 0) && types_match (_q51, _q21)))
    9215                 :             :                     {
    9216                 :           0 :                       {
    9217                 :           0 :                         tree captures[2] ATTRIBUTE_UNUSED = { _q20, _q21 };
    9218                 :           0 :                         if (!HONOR_NANS (captures[0])
    9219                 :             : )
    9220                 :             :                           {
    9221                 :           0 :                             if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail1590;
    9222                 :           0 :                             {
    9223                 :           0 :                               tree res_op0;
    9224                 :           0 :                               res_op0 = captures[0];
    9225                 :           0 :                               tree res_op1;
    9226                 :           0 :                               res_op1 = captures[1];
    9227                 :           0 :                               tree _r;
    9228                 :           0 :                               _r = fold_build2_loc (loc, MULT_EXPR, type, res_op0, res_op1);
    9229                 :           0 :                               if (UNLIKELY (debug_dump)) generic_dump_logs ("match.pd", 905, __FILE__, __LINE__, true);
    9230                 :           0 :                               return _r;
    9231                 :             :                             }
    9232                 :           0 : next_after_fail1590:;
    9233                 :             :                           }
    9234                 :             :                       }
    9235                 :             :                     }
    9236                 :             :                 }
    9237                 :           0 :               if ((_q50 == _q21 && ! TREE_SIDE_EFFECTS (_q50)) || (operand_equal_p (_q50, _q21, 0) && types_match (_q50, _q21)))
    9238                 :             :                 {
    9239                 :           0 :                   if ((_q51 == _q20 && ! TREE_SIDE_EFFECTS (_q51)) || (operand_equal_p (_q51, _q20, 0) && types_match (_q51, _q20)))
    9240                 :             :                     {
    9241                 :           0 :                       {
    9242                 :           0 :                         tree captures[2] ATTRIBUTE_UNUSED = { _q21, _q20 };
    9243                 :           0 :                         if (!HONOR_NANS (captures[0])
    9244                 :             : )
    9245                 :             :                           {
    9246                 :           0 :                             if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail1591;
    9247                 :           0 :                             {
    9248                 :           0 :                               tree res_op0;
    9249                 :           0 :                               res_op0 = captures[0];
    9250                 :           0 :                               tree res_op1;
    9251                 :           0 :                               res_op1 = captures[1];
    9252                 :           0 :                               tree _r;
    9253                 :           0 :                               _r = fold_build2_loc (loc, MULT_EXPR, type, res_op0, res_op1);
    9254                 :           0 :                               if (UNLIKELY (debug_dump)) generic_dump_logs ("match.pd", 905, __FILE__, __LINE__, true);
    9255                 :           0 :                               return _r;
    9256                 :             :                             }
    9257                 :           0 : next_after_fail1591:;
    9258                 :             :                           }
    9259                 :             :                       }
    9260                 :             :                     }
    9261                 :             :                 }
    9262                 :             :               break;
    9263                 :             :             }
    9264                 :             :           default:;
    9265                 :             :           }
    9266                 :             :         break;
    9267                 :             :       }
    9268                 :         136 :     case MAX_EXPR:
    9269                 :         136 :       {
    9270                 :         136 :         tree _q20 = TREE_OPERAND (_p0, 0);
    9271                 :         136 :         tree _q21 = TREE_OPERAND (_p0, 1);
    9272                 :         136 :         switch (TREE_CODE (_p1))
    9273                 :             :           {
    9274                 :           0 :           case MIN_EXPR:
    9275                 :           0 :             {
    9276                 :           0 :               tree _q50 = TREE_OPERAND (_p1, 0);
    9277                 :           0 :               tree _q51 = TREE_OPERAND (_p1, 1);
    9278                 :           0 :               if ((_q50 == _q20 && ! TREE_SIDE_EFFECTS (_q50)) || (operand_equal_p (_q50, _q20, 0) && types_match (_q50, _q20)))
    9279                 :             :                 {
    9280                 :           0 :                   if ((_q51 == _q21 && ! TREE_SIDE_EFFECTS (_q51)) || (operand_equal_p (_q51, _q21, 0) && types_match (_q51, _q21)))
    9281                 :             :                     {
    9282                 :           0 :                       {
    9283                 :           0 :                         tree captures[2] ATTRIBUTE_UNUSED = { _q20, _q21 };
    9284                 :           0 :                         if (!HONOR_NANS (captures[0])
    9285                 :             : )
    9286                 :             :                           {
    9287                 :           0 :                             if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail1592;
    9288                 :           0 :                             {
    9289                 :           0 :                               tree res_op0;
    9290                 :           0 :                               res_op0 = captures[0];
    9291                 :           0 :                               tree res_op1;
    9292                 :           0 :                               res_op1 = captures[1];
    9293                 :           0 :                               tree _r;
    9294                 :           0 :                               _r = fold_build2_loc (loc, MULT_EXPR, type, res_op0, res_op1);
    9295                 :           0 :                               if (UNLIKELY (debug_dump)) generic_dump_logs ("match.pd", 905, __FILE__, __LINE__, true);
    9296                 :           0 :                               return _r;
    9297                 :             :                             }
    9298                 :           0 : next_after_fail1592:;
    9299                 :             :                           }
    9300                 :             :                       }
    9301                 :             :                     }
    9302                 :             :                 }
    9303                 :           0 :               if ((_q50 == _q21 && ! TREE_SIDE_EFFECTS (_q50)) || (operand_equal_p (_q50, _q21, 0) && types_match (_q50, _q21)))
    9304                 :             :                 {
    9305                 :           0 :                   if ((_q51 == _q20 && ! TREE_SIDE_EFFECTS (_q51)) || (operand_equal_p (_q51, _q20, 0) && types_match (_q51, _q20)))
    9306                 :             :                     {
    9307                 :           0 :                       {
    9308                 :           0 :                         tree captures[2] ATTRIBUTE_UNUSED = { _q20, _q21 };
    9309                 :           0 :                         if (!HONOR_NANS (captures[0])
    9310                 :             : )
    9311                 :             :                           {
    9312                 :           0 :                             if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail1593;
    9313                 :           0 :                             {
    9314                 :           0 :                               tree res_op0;
    9315                 :           0 :                               res_op0 = captures[0];
    9316                 :           0 :                               tree res_op1;
    9317                 :           0 :                               res_op1 = captures[1];
    9318                 :           0 :                               tree _r;
    9319                 :           0 :                               _r = fold_build2_loc (loc, MULT_EXPR, type, res_op0, res_op1);
    9320                 :           0 :                               if (UNLIKELY (debug_dump)) generic_dump_logs ("match.pd", 905, __FILE__, __LINE__, true);
    9321                 :           0 :                               return _r;
    9322                 :             :                             }
    9323                 :           0 : next_after_fail1593:;
    9324                 :             :                           }
    9325                 :             :                       }
    9326                 :             :                     }
    9327                 :             :                 }
    9328                 :             :               break;
    9329                 :             :             }
    9330                 :             :           default:;
    9331                 :             :           }
    9332                 :             :         break;
    9333                 :             :       }
    9334                 :    30576239 :     CASE_CONVERT:
    9335                 :    30576239 :       {
    9336                 :    30576239 :         tree _q20 = TREE_OPERAND (_p0, 0);
    9337                 :    30576239 :         switch (TREE_CODE (_q20))
    9338                 :             :           {
    9339                 :          82 :           case BIT_AND_EXPR:
    9340                 :          82 :             {
    9341                 :          82 :               tree _q30 = TREE_OPERAND (_q20, 0);
    9342                 :          82 :               tree _q31 = TREE_OPERAND (_q20, 1);
    9343                 :          82 :               switch (TREE_CODE (_q30))
    9344                 :             :                 {
    9345                 :           0 :                 CASE_CONVERT:
    9346                 :           0 :                   {
    9347                 :           0 :                     tree _q40 = TREE_OPERAND (_q30, 0);
    9348                 :           0 :                     switch (TREE_CODE (_q40))
    9349                 :             :                       {
    9350                 :           0 :                       case RSHIFT_EXPR:
    9351                 :           0 :                         {
    9352                 :           0 :                           tree _q50 = TREE_OPERAND (_q40, 0);
    9353                 :           0 :                           tree _q51 = TREE_OPERAND (_q40, 1);
    9354                 :           0 :                           switch (TREE_CODE (_q51))
    9355                 :             :                             {
    9356                 :           0 :                             case INTEGER_CST:
    9357                 :           0 :                               {
    9358                 :           0 :                                 switch (TREE_CODE (_q31))
    9359                 :             :                                   {
    9360                 :           0 :                                   case INTEGER_CST:
    9361                 :           0 :                                     {
    9362                 :           0 :                                       switch (TREE_CODE (_p1))
    9363                 :             :                                         {
    9364                 :           0 :                                         case INTEGER_CST:
    9365                 :           0 :                                           {
    9366                 :           0 :                                             {
    9367                 :           0 :                                               tree captures[4] ATTRIBUTE_UNUSED = { _q50, _q51, _q31, _p1 };
    9368                 :           0 :                                               tree res = generic_simplify_188 (loc, type, _p0, _p1, captures);
    9369                 :           0 :                                               if (res) return res;
    9370                 :             :                                             }
    9371                 :           0 :                                             break;
    9372                 :             :                                           }
    9373                 :             :                                         default:;
    9374                 :             :                                         }
    9375                 :             :                                       break;
    9376                 :             :                                     }
    9377                 :             :                                   default:;
    9378                 :             :                                   }
    9379                 :             :                                 break;
    9380                 :             :                               }
    9381                 :             :                             default:;
    9382                 :             :                             }
    9383                 :             :                           break;
    9384                 :             :                         }
    9385                 :             :                       default:;
    9386                 :             :                       }
    9387                 :             :                     break;
    9388                 :             :                   }
    9389                 :             :                 default:;
    9390                 :             :                 }
    9391                 :             :               break;
    9392                 :             :             }
    9393                 :       22563 :           case EXACT_DIV_EXPR:
    9394                 :       22563 :             {
    9395                 :       22563 :               tree _q30 = TREE_OPERAND (_q20, 0);
    9396                 :       22563 :               tree _q31 = TREE_OPERAND (_q20, 1);
    9397                 :       22563 :               switch (TREE_CODE (_p1))
    9398                 :             :                 {
    9399                 :           0 :                 CASE_CONVERT:
    9400                 :           0 :                   {
    9401                 :           0 :                     tree _q60 = TREE_OPERAND (_p1, 0);
    9402                 :           0 :                     if ((_q60 == _q31 && ! TREE_SIDE_EFFECTS (_q60)) || operand_equal_p (_q60, _q31, 0))
    9403                 :             :                       {
    9404                 :           0 :                         {
    9405                 :           0 :                           tree captures[3] ATTRIBUTE_UNUSED = { _q30, _q31, _q31 };
    9406                 :           0 :                           tree res = generic_simplify_189 (loc, type, _p0, _p1, captures);
    9407                 :           0 :                           if (res) return res;
    9408                 :             :                         }
    9409                 :             :                       }
    9410                 :             :                     break;
    9411                 :             :                   }
    9412                 :       22563 :                 default:;
    9413                 :             :                 }
    9414                 :       22563 :               if ((_p1 == _q31 && ! TREE_SIDE_EFFECTS (_p1)) || operand_equal_p (_p1, _q31, 0))
    9415                 :             :                 {
    9416                 :       19669 :                   {
    9417                 :       19669 :                     tree captures[3] ATTRIBUTE_UNUSED = { _q30, _q31, _q31 };
    9418                 :       19669 :                     tree res = generic_simplify_189 (loc, type, _p0, _p1, captures);
    9419                 :       19669 :                     if (res) return res;
    9420                 :             :                   }
    9421                 :             :                 }
    9422                 :        2894 :               switch (TREE_CODE (_q31))
    9423                 :             :                 {
    9424                 :        2894 :                 case INTEGER_CST:
    9425                 :        2894 :                   {
    9426                 :        2894 :                     if (poly_int_tree_p (_p1))
    9427                 :             :                       {
    9428                 :        2894 :                         {
    9429                 :        2894 :                           tree captures[3] ATTRIBUTE_UNUSED = { _q30, _q31, _p1 };
    9430                 :        2894 :                           tree res = generic_simplify_190 (loc, type, _p0, _p1, captures);
    9431                 :        2894 :                           if (res) return res;
    9432                 :             :                         }
    9433                 :             :                       }
    9434                 :             :                     break;
    9435                 :             :                   }
    9436                 :             :                 default:;
    9437                 :             :                 }
    9438                 :             :               break;
    9439                 :             :             }
    9440                 :     1330628 :           case PLUS_EXPR:
    9441                 :     1330628 :             {
    9442                 :     1330628 :               tree _q30 = TREE_OPERAND (_q20, 0);
    9443                 :     1330628 :               tree _q31 = TREE_OPERAND (_q20, 1);
    9444                 :     1330628 :               switch (TREE_CODE (_q30))
    9445                 :             :                 {
    9446                 :      174266 :                 CASE_CONVERT:
    9447                 :      174266 :                   {
    9448                 :      174266 :                     tree _q40 = TREE_OPERAND (_q30, 0);
    9449                 :      174266 :                     switch (TREE_CODE (_q40))
    9450                 :             :                       {
    9451                 :           0 :                       case EXACT_DIV_EXPR:
    9452                 :           0 :                         {
    9453                 :           0 :                           tree _q50 = TREE_OPERAND (_q40, 0);
    9454                 :           0 :                           tree _q51 = TREE_OPERAND (_q40, 1);
    9455                 :           0 :                           switch (TREE_CODE (_q51))
    9456                 :             :                             {
    9457                 :           0 :                             case INTEGER_CST:
    9458                 :           0 :                               {
    9459                 :           0 :                                 if (poly_int_tree_p (_q31))
    9460                 :             :                                   {
    9461                 :           0 :                                     if (poly_int_tree_p (_p1))
    9462                 :             :                                       {
    9463                 :           0 :                                         {
    9464                 :           0 :                                           tree captures[4] ATTRIBUTE_UNUSED = { _q50, _q51, _q31, _p1 };
    9465                 :           0 :                                           tree res = generic_simplify_191 (loc, type, _p0, _p1, captures, PLUS_EXPR);
    9466                 :           0 :                                           if (res) return res;
    9467                 :             :                                         }
    9468                 :             :                                       }
    9469                 :             :                                   }
    9470                 :             :                                 break;
    9471                 :             :                               }
    9472                 :             :                             default:;
    9473                 :             :                             }
    9474                 :             :                           break;
    9475                 :             :                         }
    9476                 :             :                       default:;
    9477                 :             :                       }
    9478                 :             :                     break;
    9479                 :             :                   }
    9480                 :         112 :                 case EXACT_DIV_EXPR:
    9481                 :         112 :                   {
    9482                 :         112 :                     tree _q40 = TREE_OPERAND (_q30, 0);
    9483                 :         112 :                     tree _q41 = TREE_OPERAND (_q30, 1);
    9484                 :         112 :                     switch (TREE_CODE (_q41))
    9485                 :             :                       {
    9486                 :         112 :                       case INTEGER_CST:
    9487                 :         112 :                         {
    9488                 :         112 :                           if (poly_int_tree_p (_q31))
    9489                 :             :                             {
    9490                 :         112 :                               if (poly_int_tree_p (_p1))
    9491                 :             :                                 {
    9492                 :         112 :                                   {
    9493                 :         112 :                                     tree captures[4] ATTRIBUTE_UNUSED = { _q40, _q41, _q31, _p1 };
    9494                 :         112 :                                     tree res = generic_simplify_191 (loc, type, _p0, _p1, captures, PLUS_EXPR);
    9495                 :         112 :                                     if (res) return res;
    9496                 :             :                                   }
    9497                 :             :                                 }
    9498                 :             :                             }
    9499                 :             :                           break;
    9500                 :             :                         }
    9501                 :             :                       default:;
    9502                 :             :                       }
    9503                 :             :                     break;
    9504                 :             :                   }
    9505                 :             :                 default:;
    9506                 :             :                 }
    9507                 :             :               break;
    9508                 :             :             }
    9509                 :       99679 :           case MINUS_EXPR:
    9510                 :       99679 :             {
    9511                 :       99679 :               tree _q30 = TREE_OPERAND (_q20, 0);
    9512                 :       99679 :               tree _q31 = TREE_OPERAND (_q20, 1);
    9513                 :       99679 :               switch (TREE_CODE (_q30))
    9514                 :             :                 {
    9515                 :       25410 :                 CASE_CONVERT:
    9516                 :       25410 :                   {
    9517                 :       25410 :                     tree _q40 = TREE_OPERAND (_q30, 0);
    9518                 :       25410 :                     switch (TREE_CODE (_q40))
    9519                 :             :                       {
    9520                 :           0 :                       case EXACT_DIV_EXPR:
    9521                 :           0 :                         {
    9522                 :           0 :                           tree _q50 = TREE_OPERAND (_q40, 0);
    9523                 :           0 :                           tree _q51 = TREE_OPERAND (_q40, 1);
    9524                 :           0 :                           switch (TREE_CODE (_q51))
    9525                 :             :                             {
    9526                 :           0 :                             case INTEGER_CST:
    9527                 :           0 :                               {
    9528                 :           0 :                                 if (poly_int_tree_p (_q31))
    9529                 :             :                                   {
    9530                 :           0 :                                     if (poly_int_tree_p (_p1))
    9531                 :             :                                       {
    9532                 :           0 :                                         {
    9533                 :           0 :                                           tree captures[4] ATTRIBUTE_UNUSED = { _q50, _q51, _q31, _p1 };
    9534                 :           0 :                                           tree res = generic_simplify_191 (loc, type, _p0, _p1, captures, MINUS_EXPR);
    9535                 :           0 :                                           if (res) return res;
    9536                 :             :                                         }
    9537                 :             :                                       }
    9538                 :             :                                   }
    9539                 :             :                                 break;
    9540                 :             :                               }
    9541                 :             :                             default:;
    9542                 :             :                             }
    9543                 :             :                           break;
    9544                 :             :                         }
    9545                 :             :                       default:;
    9546                 :             :                       }
    9547                 :             :                     break;
    9548                 :             :                   }
    9549                 :           0 :                 case EXACT_DIV_EXPR:
    9550                 :           0 :                   {
    9551                 :           0 :                     tree _q40 = TREE_OPERAND (_q30, 0);
    9552                 :           0 :                     tree _q41 = TREE_OPERAND (_q30, 1);
    9553                 :           0 :                     switch (TREE_CODE (_q41))
    9554                 :             :                       {
    9555                 :           0 :                       case INTEGER_CST:
    9556                 :           0 :                         {
    9557                 :           0 :                           if (poly_int_tree_p (_q31))
    9558                 :             :                             {
    9559                 :           0 :                               if (poly_int_tree_p (_p1))
    9560                 :             :                                 {
    9561                 :           0 :                                   {
    9562                 :           0 :                                     tree captures[4] ATTRIBUTE_UNUSED = { _q40, _q41, _q31, _p1 };
    9563                 :           0 :                                     tree res = generic_simplify_191 (loc, type, _p0, _p1, captures, MINUS_EXPR);
    9564                 :           0 :                                     if (res) return res;
    9565                 :             :                                   }
    9566                 :             :                                 }
    9567                 :             :                             }
    9568                 :             :                           break;
    9569                 :             :                         }
    9570                 :             :                       default:;
    9571                 :             :                       }
    9572                 :             :                     break;
    9573                 :             :                   }
    9574                 :             :                 default:;
    9575                 :             :                 }
    9576                 :             :               break;
    9577                 :             :             }
    9578                 :             :           default:;
    9579                 :             :           }
    9580                 :             :         break;
    9581                 :             :       }
    9582                 :       32180 :     case BIT_AND_EXPR:
    9583                 :       32180 :       {
    9584                 :       32180 :         tree _q20 = TREE_OPERAND (_p0, 0);
    9585                 :       32180 :         tree _q21 = TREE_OPERAND (_p0, 1);
    9586                 :       32180 :         switch (TREE_CODE (_q20))
    9587                 :             :           {
    9588                 :         272 :           case RSHIFT_EXPR:
    9589                 :         272 :             {
    9590                 :         272 :               tree _q30 = TREE_OPERAND (_q20, 0);
    9591                 :         272 :               tree _q31 = TREE_OPERAND (_q20, 1);
    9592                 :         272 :               switch (TREE_CODE (_q31))
    9593                 :             :                 {
    9594                 :          11 :                 case INTEGER_CST:
    9595                 :          11 :                   {
    9596                 :          11 :                     switch (TREE_CODE (_q21))
    9597                 :             :                       {
    9598                 :          11 :                       case INTEGER_CST:
    9599                 :          11 :                         {
    9600                 :          11 :                           switch (TREE_CODE (_p1))
    9601                 :             :                             {
    9602                 :          11 :                             case INTEGER_CST:
    9603                 :          11 :                               {
    9604                 :          11 :                                 {
    9605                 :          11 :                                   tree captures[4] ATTRIBUTE_UNUSED = { _q30, _q31, _q21, _p1 };
    9606                 :          11 :                                   tree res = generic_simplify_188 (loc, type, _p0, _p1, captures);
    9607                 :          11 :                                   if (res) return res;
    9608                 :             :                                 }
    9609                 :           8 :                                 break;
    9610                 :             :                               }
    9611                 :             :                             default:;
    9612                 :             :                             }
    9613                 :             :                           break;
    9614                 :             :                         }
    9615                 :             :                       default:;
    9616                 :             :                       }
    9617                 :             :                     break;
    9618                 :             :                   }
    9619                 :             :                 default:;
    9620                 :             :                 }
    9621                 :             :               break;
    9622                 :             :             }
    9623                 :             :           default:;
    9624                 :             :           }
    9625                 :             :         break;
    9626                 :             :       }
    9627                 :      151161 :     case EXACT_DIV_EXPR:
    9628                 :      151161 :       {
    9629                 :      151161 :         tree _q20 = TREE_OPERAND (_p0, 0);
    9630                 :      151161 :         tree _q21 = TREE_OPERAND (_p0, 1);
    9631                 :      151161 :         switch (TREE_CODE (_p1))
    9632                 :             :           {
    9633                 :         102 :           CASE_CONVERT:
    9634                 :         102 :             {
    9635                 :         102 :               tree _q50 = TREE_OPERAND (_p1, 0);
    9636                 :         102 :               if ((_q50 == _q21 && ! TREE_SIDE_EFFECTS (_q50)) || operand_equal_p (_q50, _q21, 0))
    9637                 :             :                 {
    9638                 :           0 :                   {
    9639                 :           0 :                     tree captures[3] ATTRIBUTE_UNUSED = { _q20, _q21, _q21 };
    9640                 :           0 :                     tree res = generic_simplify_189 (loc, type, _p0, _p1, captures);
    9641                 :           0 :                     if (res) return res;
    9642                 :             :                   }
    9643                 :             :                 }
    9644                 :             :               break;
    9645                 :             :             }
    9646                 :      151161 :           default:;
    9647                 :             :           }
    9648                 :      151161 :         if ((_p1 == _q21 && ! TREE_SIDE_EFFECTS (_p1)) || operand_equal_p (_p1, _q21, 0))
    9649                 :             :           {
    9650                 :       16325 :             {
    9651                 :       16325 :               tree captures[3] ATTRIBUTE_UNUSED = { _q20, _q21, _q21 };
    9652                 :       16325 :               tree res = generic_simplify_189 (loc, type, _p0, _p1, captures);
    9653                 :       16325 :               if (res) return res;
    9654                 :             :             }
    9655                 :             :           }
    9656                 :      134836 :         switch (TREE_CODE (_q21))
    9657                 :             :           {
    9658                 :      134836 :           case INTEGER_CST:
    9659                 :      134836 :             {
    9660                 :      134836 :               if (poly_int_tree_p (_p1))
    9661                 :             :                 {
    9662                 :      134734 :                   {
    9663                 :      134734 :                     tree captures[3] ATTRIBUTE_UNUSED = { _q20, _q21, _p1 };
    9664                 :      134734 :                     tree res = generic_simplify_190 (loc, type, _p0, _p1, captures);
    9665                 :      134734 :                     if (res) return res;
    9666                 :             :                   }
    9667                 :             :                 }
    9668                 :             :               break;
    9669                 :             :             }
    9670                 :             :           default:;
    9671                 :             :           }
    9672                 :             :         break;
    9673                 :             :       }
    9674                 :     7164861 :     case PLUS_EXPR:
    9675                 :     7164861 :       {
    9676                 :     7164861 :         tree _q20 = TREE_OPERAND (_p0, 0);
    9677                 :     7164861 :         tree _q21 = TREE_OPERAND (_p0, 1);
    9678                 :     7164861 :         switch (TREE_CODE (_q20))
    9679                 :             :           {
    9680                 :     3313002 :           CASE_CONVERT:
    9681                 :     3313002 :             {
    9682                 :     3313002 :               tree _q30 = TREE_OPERAND (_q20, 0);
    9683                 :     3313002 :               switch (TREE_CODE (_q30))
    9684                 :             :                 {
    9685                 :        4258 :                 case EXACT_DIV_EXPR:
    9686                 :        4258 :                   {
    9687                 :        4258 :                     tree _q40 = TREE_OPERAND (_q30, 0);
    9688                 :        4258 :                     tree _q41 = TREE_OPERAND (_q30, 1);
    9689                 :        4258 :                     switch (TREE_CODE (_q41))
    9690                 :             :                       {
    9691                 :        4258 :                       case INTEGER_CST:
    9692                 :        4258 :                         {
    9693                 :        4258 :                           if (poly_int_tree_p (_q21))
    9694                 :             :                             {
    9695                 :        4258 :                               if (poly_int_tree_p (_p1))
    9696                 :             :                                 {
    9697                 :        4258 :                                   {
    9698                 :        4258 :                                     tree captures[4] ATTRIBUTE_UNUSED = { _q40, _q41, _q21, _p1 };
    9699                 :        4258 :                                     tree res = generic_simplify_191 (loc, type, _p0, _p1, captures, PLUS_EXPR);
    9700                 :        4258 :                                     if (res) return res;
    9701                 :             :                                   }
    9702                 :             :                                 }
    9703                 :             :                             }
    9704                 :             :                           break;
    9705                 :             :                         }
    9706                 :             :                       default:;
    9707                 :             :                       }
    9708                 :             :                     break;
    9709                 :             :                   }
    9710                 :             :                 default:;
    9711                 :             :                 }
    9712                 :             :               break;
    9713                 :             :             }
    9714                 :           0 :           case EXACT_DIV_EXPR:
    9715                 :           0 :             {
    9716                 :           0 :               tree _q30 = TREE_OPERAND (_q20, 0);
    9717                 :           0 :               tree _q31 = TREE_OPERAND (_q20, 1);
    9718                 :           0 :               switch (TREE_CODE (_q31))
    9719                 :             :                 {
    9720                 :           0 :                 case INTEGER_CST:
    9721                 :           0 :                   {
    9722                 :           0 :                     if (poly_int_tree_p (_q21))
    9723                 :             :                       {
    9724                 :           0 :                         if (poly_int_tree_p (_p1))
    9725                 :             :                           {
    9726                 :           0 :                             {
    9727                 :           0 :                               tree captures[4] ATTRIBUTE_UNUSED = { _q30, _q31, _q21, _p1 };
    9728                 :           0 :                               tree res = generic_simplify_191 (loc, type, _p0, _p1, captures, PLUS_EXPR);
    9729                 :           0 :                               if (res) return res;
    9730                 :             :                             }
    9731                 :             :                           }
    9732                 :             :                       }
    9733                 :             :                     break;
    9734                 :             :                   }
    9735                 :             :                 default:;
    9736                 :             :                 }
    9737                 :             :               break;
    9738                 :             :             }
    9739                 :             :           default:;
    9740                 :             :           }
    9741                 :             :         break;
    9742                 :             :       }
    9743                 :     1090351 :     case MINUS_EXPR:
    9744                 :     1090351 :       {
    9745                 :     1090351 :         tree _q20 = TREE_OPERAND (_p0, 0);
    9746                 :     1090351 :         tree _q21 = TREE_OPERAND (_p0, 1);
    9747                 :     1090351 :         switch (TREE_CODE (_q20))
    9748                 :             :           {
    9749                 :      252604 :           CASE_CONVERT:
    9750                 :      252604 :             {
    9751                 :      252604 :               tree _q30 = TREE_OPERAND (_q20, 0);
    9752                 :      252604 :               switch (TREE_CODE (_q30))
    9753                 :             :                 {
    9754                 :           0 :                 case EXACT_DIV_EXPR:
    9755                 :           0 :                   {
    9756                 :           0 :                     tree _q40 = TREE_OPERAND (_q30, 0);
    9757                 :           0 :                     tree _q41 = TREE_OPERAND (_q30, 1);
    9758                 :           0 :                     switch (TREE_CODE (_q41))
    9759                 :             :                       {
    9760                 :           0 :                       case INTEGER_CST:
    9761                 :           0 :                         {
    9762                 :           0 :                           if (poly_int_tree_p (_q21))
    9763                 :             :                             {
    9764                 :           0 :                               if (poly_int_tree_p (_p1))
    9765                 :             :                                 {
    9766                 :           0 :                                   {
    9767                 :           0 :                                     tree captures[4] ATTRIBUTE_UNUSED = { _q40, _q41, _q21, _p1 };
    9768                 :           0 :                                     tree res = generic_simplify_191 (loc, type, _p0, _p1, captures, MINUS_EXPR);
    9769                 :           0 :                                     if (res) return res;
    9770                 :             :                                   }
    9771                 :             :                                 }
    9772                 :             :                             }
    9773                 :             :                           break;
    9774                 :             :                         }
    9775                 :             :                       default:;
    9776                 :             :                       }
    9777                 :             :                     break;
    9778                 :             :                   }
    9779                 :             :                 default:;
    9780                 :             :                 }
    9781                 :             :               break;
    9782                 :             :             }
    9783                 :           0 :           case EXACT_DIV_EXPR:
    9784                 :           0 :             {
    9785                 :           0 :               tree _q30 = TREE_OPERAND (_q20, 0);
    9786                 :           0 :               tree _q31 = TREE_OPERAND (_q20, 1);
    9787                 :           0 :               switch (TREE_CODE (_q31))
    9788                 :             :                 {
    9789                 :           0 :                 case INTEGER_CST:
    9790                 :           0 :                   {
    9791                 :           0 :                     if (poly_int_tree_p (_q21))
    9792                 :             :                       {
    9793                 :           0 :                         if (poly_int_tree_p (_p1))
    9794                 :             :                           {
    9795                 :           0 :                             {
    9796                 :           0 :                               tree captures[4] ATTRIBUTE_UNUSED = { _q30, _q31, _q21, _p1 };
    9797                 :           0 :                               tree res = generic_simplify_191 (loc, type, _p0, _p1, captures, MINUS_EXPR);
    9798                 :           0 :                               if (res) return res;
    9799                 :             :                             }
    9800                 :             :                           }
    9801                 :             :                       }
    9802                 :             :                     break;
    9803                 :             :                   }
    9804                 :             :                 default:;
    9805                 :             :                 }
    9806                 :             :               break;
    9807                 :             :             }
    9808                 :             :           default:;
    9809                 :             :           }
    9810                 :             :         break;
    9811                 :             :       }
    9812                 :    64967507 :     default:;
    9813                 :             :     }
    9814                 :    64967507 :   if (integer_minus_onep (_p1))
    9815                 :             :     {
    9816                 :      255594 :       {
    9817                 :      255594 :         tree captures[1] ATTRIBUTE_UNUSED = { _p0 };
    9818                 :      255594 :         if (TREE_SIDE_EFFECTS (_p1)) goto next_after_fail1594;
    9819                 :      255594 :         if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail1594;
    9820                 :      255594 :         {
    9821                 :      255594 :           tree res_op0;
    9822                 :      255594 :           res_op0 = captures[0];
    9823                 :      255594 :           tree _r;
    9824                 :      255594 :           _r = fold_build1_loc (loc, NEGATE_EXPR, type, res_op0);
    9825                 :      255594 :           if (UNLIKELY (debug_dump)) generic_dump_logs ("match.pd", 991, __FILE__, __LINE__, true);
    9826                 :      255594 :           return _r;
    9827                 :             :         }
    9828                 :             : next_after_fail1594:;
    9829                 :             :       }
    9830                 :             :     }
    9831                 :    64711913 :   switch (TREE_CODE (_p0))
    9832                 :             :     {
    9833                 :     4868086 :     case MULT_EXPR:
    9834                 :     4868086 :       {
    9835                 :     4868086 :         tree _q20 = TREE_OPERAND (_p0, 0);
    9836                 :     4868086 :         tree _q21 = TREE_OPERAND (_p0, 1);
    9837                 :     4868086 :         switch (TREE_CODE (_q21))
    9838                 :             :           {
    9839                 :      100654 :           case INTEGER_CST:
    9840                 :      100654 :             {
    9841                 :      100654 :               {
    9842                 :      100654 :                 tree captures[4] ATTRIBUTE_UNUSED = { _p0, _q20, _q21, _p1 };
    9843                 :      100654 :                 tree res = generic_simplify_192 (loc, type, _p0, _p1, captures);
    9844                 :      100654 :                 if (res) return res;
    9845                 :             :               }
    9846                 :          30 :               break;
    9847                 :             :             }
    9848                 :             :           default:;
    9849                 :             :           }
    9850                 :             :         break;
    9851                 :             :       }
    9852                 :    64611289 :     default:;
    9853                 :             :     }
    9854                 :    64611289 :   switch (TREE_CODE (_p1))
    9855                 :             :     {
    9856                 :       23478 :     case MULT_EXPR:
    9857                 :       23478 :       {
    9858                 :       23478 :         tree _q30 = TREE_OPERAND (_p1, 0);
    9859                 :       23478 :         tree _q31 = TREE_OPERAND (_p1, 1);
    9860                 :       23478 :         switch (TREE_CODE (_q31))
    9861                 :             :           {
    9862                 :       17211 :           case INTEGER_CST:
    9863                 :       17211 :             {
    9864                 :       17211 :               {
    9865                 :       17211 :                 tree captures[4] ATTRIBUTE_UNUSED = { _p1, _q30, _q31, _p0 };
    9866                 :       17211 :                 tree res = generic_simplify_192 (loc, type, _p0, _p1, captures);
    9867                 :       17211 :                 if (res) return res;
    9868                 :             :               }
    9869                 :           0 :               break;
    9870                 :             :             }
    9871                 :             :           default:;
    9872                 :             :           }
    9873                 :             :         break;
    9874                 :             :       }
    9875                 :    64594078 :     default:;
    9876                 :             :     }
    9877                 :    64594078 :   switch (TREE_CODE (_p0))
    9878                 :             :     {
    9879                 :          36 :     case VEC_COND_EXPR:
    9880                 :          36 :       {
    9881                 :          36 :         tree _q20 = TREE_OPERAND (_p0, 0);
    9882                 :          36 :         tree _q21 = TREE_OPERAND (_p0, 1);
    9883                 :          36 :         tree _q22 = TREE_OPERAND (_p0, 2);
    9884                 :          36 :         switch (TREE_CODE (_p1))
    9885                 :             :           {
    9886                 :           0 :           case VEC_COND_EXPR:
    9887                 :           0 :             {
    9888                 :           0 :               tree _q60 = TREE_OPERAND (_p1, 0);
    9889                 :           0 :               tree _q61 = TREE_OPERAND (_p1, 1);
    9890                 :           0 :               tree _q62 = TREE_OPERAND (_p1, 2);
    9891                 :           0 :               if ((_q60 == _q20 && ! TREE_SIDE_EFFECTS (_q60)) || (operand_equal_p (_q60, _q20, 0) && types_match (_q60, _q20)))
    9892                 :             :                 {
    9893                 :           0 :                   {
    9894                 :           0 :                     tree captures[7] ATTRIBUTE_UNUSED = { _p0, _q20, _q21, _q22, _p1, _q61, _q62 };
    9895                 :           0 :                     if (VECTOR_TYPE_P (type)
    9896                 :           0 :  && (TREE_CODE_CLASS (MULT_EXPR) != tcc_comparison
    9897                 :             :  || types_match (type, TREE_TYPE (captures[2]))
    9898                 :             :  || expand_vec_cond_expr_p (type, TREE_TYPE (captures[1]))
    9899                 :             :  || (optimize_vectors_before_lowering_p ()
    9900                 :             :  && !expand_vec_cond_expr_p (TREE_TYPE (captures[2]), TREE_TYPE (captures[1]))))
    9901                 :             : )
    9902                 :             :                       {
    9903                 :           0 :                         if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail1595;
    9904                 :           0 :                         {
    9905                 :           0 :                           tree res_op0;
    9906                 :           0 :                           res_op0 = captures[1];
    9907                 :           0 :                           tree res_op1;
    9908                 :           0 :                           {
    9909                 :           0 :                             tree _o1[2], _r1;
    9910                 :           0 :                             _o1[0] = captures[2];
    9911                 :           0 :                             _o1[1] = captures[5];
    9912                 :           0 :                             _r1 = fold_build2_loc (loc, MULT_EXPR, TREE_TYPE (_o1[0]), _o1[0], _o1[1]);
    9913                 :           0 :                             if (EXPR_P (_r1))
    9914                 :           0 :                               goto next_after_fail1595;
    9915                 :           0 :                             res_op1 = _r1;
    9916                 :             :                           }
    9917                 :           0 :                           tree res_op2;
    9918                 :           0 :                           {
    9919                 :           0 :                             tree _o1[2], _r1;
    9920                 :           0 :                             _o1[0] = captures[3];
    9921                 :           0 :                             _o1[1] = captures[6];
    9922                 :           0 :                             _r1 = fold_build2_loc (loc, MULT_EXPR, TREE_TYPE (_o1[0]), _o1[0], _o1[1]);
    9923                 :           0 :                             if (EXPR_P (_r1))
    9924                 :           0 :                               goto next_after_fail1595;
    9925                 :           0 :                             res_op2 = _r1;
    9926                 :             :                           }
    9927                 :           0 :                           tree _r;
    9928                 :           0 :                           _r = fold_build3_loc (loc, VEC_COND_EXPR, type, res_op0, res_op1, res_op2);
    9929                 :           0 :                           if (UNLIKELY (debug_dump)) generic_dump_logs ("match.pd", 909, __FILE__, __LINE__, true);
    9930                 :           0 :                           return _r;
    9931                 :             :                         }
    9932                 :           0 : next_after_fail1595:;
    9933                 :             :                       }
    9934                 :             :                   }
    9935                 :             :                 }
    9936                 :             :               break;
    9937                 :             :             }
    9938                 :          36 :           default:;
    9939                 :             :           }
    9940                 :          36 :         {
    9941                 :          36 :           tree captures[5] ATTRIBUTE_UNUSED = { _p0, _q20, _q21, _q22, _p1 };
    9942                 :          36 :           if (VECTOR_TYPE_P (type)
    9943                 :          36 :  && (TREE_CODE_CLASS (MULT_EXPR) != tcc_comparison
    9944                 :             :  || types_match (type, TREE_TYPE (captures[2]))
    9945                 :             :  || expand_vec_cond_expr_p (type, TREE_TYPE (captures[1]))
    9946                 :             :  || (optimize_vectors_before_lowering_p ()
    9947                 :             :  && !expand_vec_cond_expr_p (TREE_TYPE (captures[2]), TREE_TYPE (captures[1]))))
    9948                 :             : )
    9949                 :             :             {
    9950                 :          36 :               if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail1596;
    9951                 :          36 :               {
    9952                 :          36 :                 if (! tree_invariant_p (captures[4])) goto next_after_fail1596;
    9953                 :           0 :                 tree res_op0;
    9954                 :           0 :                 res_op0 = captures[1];
    9955                 :           0 :                 tree res_op1;
    9956                 :           0 :                 {
    9957                 :           0 :                   tree _o1[2], _r1;
    9958                 :           0 :                   _o1[0] = captures[2];
    9959                 :           0 :                   _o1[1] = unshare_expr (captures[4]);
    9960                 :           0 :                   _r1 = fold_build2_loc (loc, MULT_EXPR, TREE_TYPE (_o1[0]), _o1[0], _o1[1]);
    9961                 :           0 :                   if (EXPR_P (_r1))
    9962                 :           0 :                     goto next_after_fail1596;
    9963                 :           0 :                   res_op1 = _r1;
    9964                 :             :                 }
    9965                 :           0 :                 tree res_op2;
    9966                 :           0 :                 {
    9967                 :           0 :                   tree _o1[2], _r1;
    9968                 :           0 :                   _o1[0] = captures[3];
    9969                 :           0 :                   _o1[1] = captures[4];
    9970                 :           0 :                   _r1 = fold_build2_loc (loc, MULT_EXPR, TREE_TYPE (_o1[0]), _o1[0], _o1[1]);
    9971                 :           0 :                   if (EXPR_P (_r1))
    9972                 :           0 :                     goto next_after_fail1596;
    9973                 :           0 :                   res_op2 = _r1;
    9974                 :             :                 }
    9975                 :           0 :                 tree _r;
    9976                 :           0 :                 _r = fold_build3_loc (loc, VEC_COND_EXPR, type, res_op0, res_op1, res_op2);
    9977                 :           0 :                 if (UNLIKELY (debug_dump)) generic_dump_logs ("match.pd", 910, __FILE__, __LINE__, true);
    9978                 :           0 :                 return _r;
    9979                 :             :               }
    9980                 :          36 : next_after_fail1596:;
    9981                 :             :             }
    9982                 :             :         }
    9983                 :          36 :         break;
    9984                 :             :       }
    9985                 :    64594078 :     default:;
    9986                 :             :     }
    9987                 :    64594078 :   switch (TREE_CODE (_p1))
    9988                 :             :     {
    9989                 :           0 :     case VEC_COND_EXPR:
    9990                 :           0 :       {
    9991                 :           0 :         tree _q30 = TREE_OPERAND (_p1, 0);
    9992                 :           0 :         tree _q31 = TREE_OPERAND (_p1, 1);
    9993                 :           0 :         tree _q32 = TREE_OPERAND (_p1, 2);
    9994                 :           0 :         {
    9995                 :           0 :           tree captures[5] ATTRIBUTE_UNUSED = { _p0, _p1, _q30, _q31, _q32 };
    9996                 :           0 :           if (VECTOR_TYPE_P (type)
    9997                 :           0 :  && (TREE_CODE_CLASS (MULT_EXPR) != tcc_comparison
    9998                 :             :  || types_match (type, TREE_TYPE (captures[3]))
    9999                 :             :  || expand_vec_cond_expr_p (type, TREE_TYPE (captures[2]))
   10000                 :             :  || (optimize_vectors_before_lowering_p ()
   10001                 :             :  && !expand_vec_cond_expr_p (TREE_TYPE (captures[3]), TREE_TYPE (captures[2]))))
   10002                 :             : )
   10003                 :             :             {
   10004                 :           0 :               if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail1597;
   10005                 :           0 :               {
   10006                 :           0 :                 if (! tree_invariant_p (captures[0])) goto next_after_fail1597;
   10007                 :           0 :                 tree res_op0;
   10008                 :           0 :                 res_op0 = captures[2];
   10009                 :           0 :                 tree res_op1;
   10010                 :           0 :                 {
   10011                 :           0 :                   tree _o1[2], _r1;
   10012                 :           0 :                   _o1[0] = unshare_expr (captures[0]);
   10013                 :           0 :                   _o1[1] = captures[3];
   10014                 :           0 :                   _r1 = fold_build2_loc (loc, MULT_EXPR, TREE_TYPE (_o1[0]), _o1[0], _o1[1]);
   10015                 :           0 :                   if (EXPR_P (_r1))
   10016                 :           0 :                     goto next_after_fail1597;
   10017                 :           0 :                   res_op1 = _r1;
   10018                 :             :                 }
   10019                 :           0 :                 tree res_op2;
   10020                 :           0 :                 {
   10021                 :           0 :                   tree _o1[2], _r1;
   10022                 :           0 :                   _o1[0] = captures[0];
   10023                 :           0 :                   _o1[1] = captures[4];
   10024                 :           0 :                   _r1 = fold_build2_loc (loc, MULT_EXPR, TREE_TYPE (_o1[0]), _o1[0], _o1[1]);
   10025                 :           0 :                   if (EXPR_P (_r1))
   10026                 :           0 :                     goto next_after_fail1597;
   10027                 :           0 :                   res_op2 = _r1;
   10028                 :             :                 }
   10029                 :           0 :                 tree _r;
   10030                 :           0 :                 _r = fold_build3_loc (loc, VEC_COND_EXPR, type, res_op0, res_op1, res_op2);
   10031                 :           0 :                 if (UNLIKELY (debug_dump)) generic_dump_logs ("match.pd", 911, __FILE__, __LINE__, true);
   10032                 :           0 :                 return _r;
   10033                 :             :               }
   10034                 :           0 : next_after_fail1597:;
   10035                 :             :             }
   10036                 :             :         }
   10037                 :           0 :         break;
   10038                 :             :       }
   10039                 :    64594078 :     default:;
   10040                 :             :     }
   10041                 :    64594078 :   switch (TREE_CODE (_p0))
   10042                 :             :     {
   10043                 :        2399 :     case REAL_CST:
   10044                 :        2399 :       {
   10045                 :        2399 :         switch (TREE_CODE (_p1))
   10046                 :             :           {
   10047                 :           0 :           case CALL_EXPR:
   10048                 :           0 :             switch (get_call_combined_fn (_p1))
   10049                 :             :               {
   10050                 :           0 :               case CFN_BUILT_IN_LDEXPF:
   10051                 :           0 :                 if (call_expr_nargs (_p1) == 2)
   10052                 :             :     {
   10053                 :           0 :                     tree _q30 = CALL_EXPR_ARG (_p1, 0);
   10054                 :           0 :                     tree _q31 = CALL_EXPR_ARG (_p1, 1);
   10055                 :           0 :                     {
   10056                 :           0 :                       tree captures[3] ATTRIBUTE_UNUSED = { _p0, _q30, _q31 };
   10057                 :           0 :                       tree res = generic_simplify_195 (loc, type, _p0, _p1, captures, CFN_BUILT_IN_LDEXPF);
   10058                 :           0 :                       if (res) return res;
   10059                 :             :                     }
   10060                 :             :                   }
   10061                 :             :                 break;
   10062                 :           0 :               case CFN_BUILT_IN_LDEXPL:
   10063                 :           0 :                 if (call_expr_nargs (_p1) == 2)
   10064                 :             :     {
   10065                 :           0 :                     tree _q30 = CALL_EXPR_ARG (_p1, 0);
   10066                 :           0 :                     tree _q31 = CALL_EXPR_ARG (_p1, 1);
   10067                 :           0 :                     {
   10068                 :           0 :                       tree captures[3] ATTRIBUTE_UNUSED = { _p0, _q30, _q31 };
   10069                 :           0 :                       tree res = generic_simplify_195 (loc, type, _p0, _p1, captures, CFN_BUILT_IN_LDEXPL);
   10070                 :           0 :                       if (res) return res;
   10071                 :             :                     }
   10072                 :             :                   }
   10073                 :             :                 break;
   10074                 :           0 :               case CFN_LDEXP:
   10075                 :           0 :                 if (call_expr_nargs (_p1) == 2)
   10076                 :             :     {
   10077                 :           0 :                     tree _q30 = CALL_EXPR_ARG (_p1, 0);
   10078                 :           0 :                     tree _q31 = CALL_EXPR_ARG (_p1, 1);
   10079                 :           0 :                     {
   10080                 :           0 :                       tree captures[3] ATTRIBUTE_UNUSED = { _p0, _q30, _q31 };
   10081                 :           0 :                       tree res = generic_simplify_195 (loc, type, _p0, _p1, captures, CFN_LDEXP);
   10082                 :           0 :                       if (res) return res;
   10083                 :             :                     }
   10084                 :             :                   }
   10085                 :             :                 break;
   10086                 :           0 :               case CFN_BUILT_IN_LDEXP:
   10087                 :           0 :                 if (call_expr_nargs (_p1) == 2)
   10088                 :             :     {
   10089                 :           0 :                     tree _q30 = CALL_EXPR_ARG (_p1, 0);
   10090                 :           0 :                     tree _q31 = CALL_EXPR_ARG (_p1, 1);
   10091                 :           0 :                     {
   10092                 :           0 :                       tree captures[3] ATTRIBUTE_UNUSED = { _p0, _q30, _q31 };
   10093                 :           0 :                       tree res = generic_simplify_195 (loc, type, _p0, _p1, captures, CFN_BUILT_IN_LDEXP);
   10094                 :           0 :                       if (res) return res;
   10095                 :             :                     }
   10096                 :             :                   }
   10097                 :             :                 break;
   10098                 :             :               default:;
   10099                 :             :               }
   10100                 :             :             break;
   10101                 :             :           default:;
   10102                 :             :           }
   10103                 :             :         break;
   10104                 :             :       }
   10105                 :     2493305 :     case CALL_EXPR:
   10106                 :     2493305 :       switch (get_call_combined_fn (_p0))
   10107                 :             :         {
   10108                 :          55 :         case CFN_BUILT_IN_SQRTF:
   10109                 :          55 :           if (call_expr_nargs (_p0) == 1)
   10110                 :             :     {
   10111                 :          55 :               tree _q20 = CALL_EXPR_ARG (_p0, 0);
   10112                 :          55 :               if ((_p1 == _p0 && ! TREE_SIDE_EFFECTS (_p1)) || (operand_equal_p (_p1, _p0, 0) && types_match (_p1, _p0)))
   10113                 :             :                 {
   10114                 :           0 :                   {
   10115                 :           0 :                     tree captures[2] ATTRIBUTE_UNUSED = { _p0, _q20 };
   10116                 :           0 :                     tree res = generic_simplify_193 (loc, type, _p0, _p1, captures, CFN_BUILT_IN_SQRTF);
   10117                 :           0 :                     if (res) return res;
   10118                 :             :                   }
   10119                 :             :                 }
   10120                 :          55 :               switch (TREE_CODE (_p1))
   10121                 :             :                 {
   10122                 :          13 :                 case CALL_EXPR:
   10123                 :          13 :                   switch (get_call_combined_fn (_p1))
   10124                 :             :                     {
   10125                 :          13 :                     case CFN_BUILT_IN_SQRTF:
   10126                 :          13 :                       if (call_expr_nargs (_p1) == 1)
   10127                 :             :     {
   10128                 :          13 :                           tree _q40 = CALL_EXPR_ARG (_p1, 0);
   10129                 :          13 :                           {
   10130                 :          13 :                             tree captures[4] ATTRIBUTE_UNUSED = { _p0, _q20, _p1, _q40 };
   10131                 :          13 :                             if (flag_unsafe_math_optimizations
   10132                 :             : )
   10133                 :             :                               {
   10134                 :          13 :                                 if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail1598;
   10135                 :          13 :                                 {
   10136                 :          13 :                                   tree res_op0;
   10137                 :          13 :                                   {
   10138                 :          13 :                                     tree _o1[2], _r1;
   10139                 :          13 :                                     _o1[0] = captures[1];
   10140                 :          13 :                                     _o1[1] = captures[3];
   10141                 :          13 :                                     _r1 = fold_build2_loc (loc, MULT_EXPR, TREE_TYPE (_o1[0]), _o1[0], _o1[1]);
   10142                 :          13 :                                     res_op0 = _r1;
   10143                 :             :                                   }
   10144                 :          13 :                                   tree _r;
   10145                 :          13 :                                   _r = maybe_build_call_expr_loc (loc, CFN_BUILT_IN_SQRTF, type, 1, res_op0);
   10146                 :          13 :                                   if (!_r)
   10147                 :           0 :                                     goto next_after_fail1598;
   10148                 :          13 :                                   if (UNLIKELY (debug_dump)) generic_dump_logs ("match.pd", 992, __FILE__, __LINE__, true);
   10149                 :          13 :                                   return _r;
   10150                 :             :                                 }
   10151                 :           0 : next_after_fail1598:;
   10152                 :             :                               }
   10153                 :             :                           }
   10154                 :             :                         }
   10155                 :             :                       break;
   10156                 :             :                     default:;
   10157                 :             :                     }
   10158                 :             :                   break;
   10159                 :             :                 default:;
   10160                 :             :                 }
   10161                 :             :             }
   10162                 :             :           break;
   10163                 :          48 :         case CFN_BUILT_IN_SQRTL:
   10164                 :          48 :           if (call_expr_nargs (_p0) == 1)
   10165                 :             :     {
   10166                 :          48 :               tree _q20 = CALL_EXPR_ARG (_p0, 0);
   10167                 :          48 :               if ((_p1 == _p0 && ! TREE_SIDE_EFFECTS (_p1)) || (operand_equal_p (_p1, _p0, 0) && types_match (_p1, _p0)))
   10168                 :             :                 {
   10169                 :           0 :                   {
   10170                 :           0 :                     tree captures[2] ATTRIBUTE_UNUSED = { _p0, _q20 };
   10171                 :           0 :                     tree res = generic_simplify_193 (loc, type, _p0, _p1, captures, CFN_BUILT_IN_SQRTL);
   10172                 :           0 :                     if (res) return res;
   10173                 :             :                   }
   10174                 :             :                 }
   10175                 :          48 :               switch (TREE_CODE (_p1))
   10176                 :             :                 {
   10177                 :          13 :                 case CALL_EXPR:
   10178                 :          13 :                   switch (get_call_combined_fn (_p1))
   10179                 :             :                     {
   10180                 :          13 :                     case CFN_BUILT_IN_SQRTL:
   10181                 :          13 :                       if (call_expr_nargs (_p1) == 1)
   10182                 :             :     {
   10183                 :          13 :                           tree _q40 = CALL_EXPR_ARG (_p1, 0);
   10184                 :          13 :                           {
   10185                 :          13 :                             tree captures[4] ATTRIBUTE_UNUSED = { _p0, _q20, _p1, _q40 };
   10186                 :          13 :                             if (flag_unsafe_math_optimizations
   10187                 :             : )
   10188                 :             :                               {
   10189                 :          13 :                                 if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail1599;
   10190                 :          13 :                                 {
   10191                 :          13 :                                   tree res_op0;
   10192                 :          13 :                                   {
   10193                 :          13 :                                     tree _o1[2], _r1;
   10194                 :          13 :                                     _o1[0] = captures[1];
   10195                 :          13 :                                     _o1[1] = captures[3];
   10196                 :          13 :                                     _r1 = fold_build2_loc (loc, MULT_EXPR, TREE_TYPE (_o1[0]), _o1[0], _o1[1]);
   10197                 :          13 :                                     res_op0 = _r1;
   10198                 :             :                                   }
   10199                 :          13 :                                   tree _r;
   10200                 :          13 :                                   _r = maybe_build_call_expr_loc (loc, CFN_BUILT_IN_SQRTL, type, 1, res_op0);
   10201                 :          13 :                                   if (!_r)
   10202                 :           0 :                                     goto next_after_fail1599;
   10203                 :          13 :                                   if (UNLIKELY (debug_dump)) generic_dump_logs ("match.pd", 992, __FILE__, __LINE__, true);
   10204                 :          13 :                                   return _r;
   10205                 :             :                                 }
   10206                 :           0 : next_after_fail1599:;
   10207                 :             :                               }
   10208                 :             :                           }
   10209                 :             :                         }
   10210                 :             :                       break;
   10211                 :             :                     default:;
   10212                 :             :                     }
   10213                 :             :                   break;
   10214                 :             :                 default:;
   10215                 :             :                 }
   10216                 :             :             }
   10217                 :             :           break;
   10218                 :         287 :         case CFN_BUILT_IN_EXP:
   10219                 :         287 :           if (call_expr_nargs (_p0) == 1)
   10220                 :             :     {
   10221                 :         287 :               tree _q20 = CALL_EXPR_ARG (_p0, 0);
   10222                 :         287 :               switch (TREE_CODE (_p1))
   10223                 :             :                 {
   10224                 :          81 :                 case CALL_EXPR:
   10225                 :          81 :                   switch (get_call_combined_fn (_p1))
   10226                 :             :                     {
   10227                 :          31 :                     case CFN_BUILT_IN_EXP:
   10228                 :          31 :                       if (call_expr_nargs (_p1) == 1)
   10229                 :             :     {
   10230                 :          31 :                           tree _q40 = CALL_EXPR_ARG (_p1, 0);
   10231                 :          31 :                           {
   10232                 :          31 :                             tree captures[4] ATTRIBUTE_UNUSED = { _p0, _q20, _p1, _q40 };
   10233                 :          31 :                             if (flag_unsafe_math_optimizations
   10234                 :             : )
   10235                 :             :                               {
   10236                 :          27 :                                 if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail1600;
   10237                 :          27 :                                 {
   10238                 :          27 :                                   tree res_op0;
   10239                 :          27 :                                   {
   10240                 :          27 :                                     tree _o1[2], _r1;
   10241                 :          27 :                                     _o1[0] = captures[1];
   10242                 :          27 :                                     _o1[1] = captures[3];
   10243                 :          27 :                                     _r1 = fold_build2_loc (loc, PLUS_EXPR, TREE_TYPE (_o1[0]), _o1[0], _o1[1]);
   10244                 :          27 :                                     res_op0 = _r1;
   10245                 :             :                                   }
   10246                 :          27 :                                   tree _r;
   10247                 :          27 :                                   _r = maybe_build_call_expr_loc (loc, CFN_BUILT_IN_EXP, type, 1, res_op0);
   10248                 :          27 :                                   if (!_r)
   10249                 :           0 :                                     goto next_after_fail1600;
   10250                 :          27 :                                   if (UNLIKELY (debug_dump)) generic_dump_logs ("match.pd", 993, __FILE__, __LINE__, true);
   10251                 :          27 :                                   return _r;
   10252                 :             :                                 }
   10253                 :           4 : next_after_fail1600:;
   10254                 :             :                               }
   10255                 :             :                           }
   10256                 :             :                         }
   10257                 :             :                       break;
   10258                 :           0 :                     case CFN_BUILT_IN_POW:
   10259                 :           0 :                       if (call_expr_nargs (_p1) == 2)
   10260                 :             :     {
   10261                 :           0 :                           tree _q40 = CALL_EXPR_ARG (_p1, 0);
   10262                 :           0 :                           tree _q41 = CALL_EXPR_ARG (_p1, 1);
   10263                 :           0 :                           switch (TREE_CODE (_q40))
   10264                 :             :                             {
   10265                 :           0 :                             case REAL_CST:
   10266                 :           0 :                               {
   10267                 :           0 :                                 {
   10268                 :           0 :                                   tree captures[5] ATTRIBUTE_UNUSED = { _p1, _q40, _q41, _p0, _q20 };
   10269                 :           0 :                                   if (flag_unsafe_math_optimizations
   10270                 :             : )
   10271                 :             :                                     {
   10272                 :           0 :                                       if (real_compare (GT_EXPR, TREE_REAL_CST_PTR (captures[1]), &dconst0)
   10273                 :           0 :  && real_isfinite (TREE_REAL_CST_PTR (captures[1]))
   10274                 :             : )
   10275                 :             :                                         {
   10276                 :           0 :                                           if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail1601;
   10277                 :           0 :                                           {
   10278                 :           0 :                                             tree res_op0;
   10279                 :           0 :                                             {
   10280                 :           0 :                                               tree _o1[2], _r1;
   10281                 :           0 :                                               {
   10282                 :           0 :                                                 tree _o2[2], _r2;
   10283                 :           0 :                                                 {
   10284                 :           0 :                                                   tree _o3[1], _r3;
   10285                 :           0 :                                                   _o3[0] = captures[1];
   10286                 :           0 :                                                   _r3 = maybe_build_call_expr_loc (loc, CFN_BUILT_IN_LOG, TREE_TYPE (_o3[0]), 1, _o3[0]);
   10287                 :           0 :                                                   if (!_r3)
   10288                 :           0 :                                                     goto next_after_fail1601;
   10289                 :           0 :                                                   _o2[0] = _r3;
   10290                 :             :                                                 }
   10291                 :           0 :                                                 _o2[1] = captures[2];
   10292                 :           0 :                                                 _r2 = fold_build2_loc (loc, MULT_EXPR, TREE_TYPE (_o2[0]), _o2[0], _o2[1]);
   10293                 :           0 :                                                 _o1[0] = _r2;
   10294                 :             :                                               }
   10295                 :           0 :                                               _o1[1] = captures[4];
   10296                 :           0 :                                               _r1 = fold_build2_loc (loc, PLUS_EXPR, TREE_TYPE (_o1[0]), _o1[0], _o1[1]);
   10297                 :           0 :                                               res_op0 = _r1;
   10298                 :             :                                             }
   10299                 :           0 :                                             tree _r;
   10300                 :           0 :                                             _r = maybe_build_call_expr_loc (loc, CFN_BUILT_IN_EXP, type, 1, res_op0);
   10301                 :           0 :                                             if (!_r)
   10302                 :           0 :                                               goto next_after_fail1601;
   10303                 :           0 :                                             if (UNLIKELY (debug_dump)) generic_dump_logs ("match.pd", 994, __FILE__, __LINE__, true);
   10304                 :           0 :                                             return _r;
   10305                 :             :                                           }
   10306                 :           0 : next_after_fail1601:;
   10307                 :             :                                         }
   10308                 :             :                                     }
   10309                 :             :                                 }
   10310                 :           0 :                                 break;
   10311                 :             :                               }
   10312                 :             :                             default:;
   10313                 :             :                             }
   10314                 :             :                         }
   10315                 :             :                       break;
   10316                 :             :                     default:;
   10317                 :             :                     }
   10318                 :             :                   break;
   10319                 :             :                 default:;
   10320                 :             :                 }
   10321                 :             :             }
   10322                 :             :           break;
   10323                 :         123 :         case CFN_BUILT_IN_POW:
   10324                 :         123 :           if (call_expr_nargs (_p0) == 2)
   10325                 :             :     {
   10326                 :         123 :               tree _q20 = CALL_EXPR_ARG (_p0, 0);
   10327                 :         123 :               tree _q21 = CALL_EXPR_ARG (_p0, 1);
   10328                 :         123 :               switch (TREE_CODE (_q20))
   10329                 :             :                 {
   10330                 :           1 :                 case REAL_CST:
   10331                 :           1 :                   {
   10332                 :           1 :                     switch (TREE_CODE (_p1))
   10333                 :             :                       {
   10334                 :           1 :                       case CALL_EXPR:
   10335                 :           1 :                         switch (get_call_combined_fn (_p1))
   10336                 :             :                           {
   10337                 :           0 :                           case CFN_BUILT_IN_EXP:
   10338                 :           0 :                             if (call_expr_nargs (_p1) == 1)
   10339                 :             :     {
   10340                 :           0 :                                 tree _q50 = CALL_EXPR_ARG (_p1, 0);
   10341                 :           0 :                                 {
   10342                 :           0 :                                   tree captures[5] ATTRIBUTE_UNUSED = { _p0, _q20, _q21, _p1, _q50 };
   10343                 :           0 :                                   if (flag_unsafe_math_optimizations
   10344                 :             : )
   10345                 :             :                                     {
   10346                 :           0 :                                       if (real_compare (GT_EXPR, TREE_REAL_CST_PTR (captures[1]), &dconst0)
   10347                 :           0 :  && real_isfinite (TREE_REAL_CST_PTR (captures[1]))
   10348                 :             : )
   10349                 :             :                                         {
   10350                 :           0 :                                           if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail1602;
   10351                 :           0 :                                           {
   10352                 :           0 :                                             tree res_op0;
   10353                 :           0 :                                             {
   10354                 :           0 :                                               tree _o1[2], _r1;
   10355                 :           0 :                                               {
   10356                 :           0 :                                                 tree _o2[2], _r2;
   10357                 :           0 :                                                 {
   10358                 :           0 :                                                   tree _o3[1], _r3;
   10359                 :           0 :                                                   _o3[0] = captures[1];
   10360                 :           0 :                                                   _r3 = maybe_build_call_expr_loc (loc, CFN_BUILT_IN_LOG, TREE_TYPE (_o3[0]), 1, _o3[0]);
   10361                 :           0 :                                                   if (!_r3)
   10362                 :           0 :                                                     goto next_after_fail1602;
   10363                 :           0 :                                                   _o2[0] = _r3;
   10364                 :             :                                                 }
   10365                 :           0 :                                                 _o2[1] = captures[2];
   10366                 :           0 :                                                 _r2 = fold_build2_loc (loc, MULT_EXPR, TREE_TYPE (_o2[0]), _o2[0], _o2[1]);
   10367                 :           0 :                                                 _o1[0] = _r2;
   10368                 :             :                                               }
   10369                 :           0 :                                               _o1[1] = captures[4];
   10370                 :           0 :                                               _r1 = fold_build2_loc (loc, PLUS_EXPR, TREE_TYPE (_o1[0]), _o1[0], _o1[1]);
   10371                 :           0 :                                               res_op0 = _r1;
   10372                 :             :                                             }
   10373                 :           0 :                                             tree _r;
   10374                 :           0 :                                             _r = maybe_build_call_expr_loc (loc, CFN_BUILT_IN_EXP, type, 1, res_op0);
   10375                 :           0 :                                             if (!_r)
   10376                 :           0 :                                               goto next_after_fail1602;
   10377                 :           0 :                                             if (UNLIKELY (debug_dump)) generic_dump_logs ("match.pd", 994, __FILE__, __LINE__, true);
   10378                 :           0 :                                             return _r;
   10379                 :             :                                           }
   10380                 :           0 : next_after_fail1602:;
   10381                 :             :                                         }
   10382                 :             :                                     }
   10383                 :             :                                 }
   10384                 :             :                               }
   10385                 :             :                             break;
   10386                 :           0 :                           case CFN_BUILT_IN_EXP2:
   10387                 :           0 :                             if (call_expr_nargs (_p1) == 1)
   10388                 :             :     {
   10389                 :           0 :                                 tree _q50 = CALL_EXPR_ARG (_p1, 0);
   10390                 :           0 :                                 {
   10391                 :           0 :                                   tree captures[5] ATTRIBUTE_UNUSED = { _p0, _q20, _q21, _p1, _q50 };
   10392                 :           0 :                                   if (flag_unsafe_math_optimizations
   10393                 :             : )
   10394                 :             :                                     {
   10395                 :           0 :                                       if (real_compare (GT_EXPR, TREE_REAL_CST_PTR (captures[1]), &dconst0)
   10396                 :           0 :  && real_isfinite (TREE_REAL_CST_PTR (captures[1]))
   10397                 :             : )
   10398                 :             :                                         {
   10399                 :           0 :                                           if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail1603;
   10400                 :           0 :                                           {
   10401                 :           0 :                                             tree res_op0;
   10402                 :           0 :                                             {
   10403                 :           0 :                                               tree _o1[2], _r1;
   10404                 :           0 :                                               {
   10405                 :           0 :                                                 tree _o2[2], _r2;
   10406                 :           0 :                                                 {
   10407                 :           0 :                                                   tree _o3[1], _r3;
   10408                 :           0 :                                                   _o3[0] = captures[1];
   10409                 :           0 :                                                   _r3 = maybe_build_call_expr_loc (loc, CFN_BUILT_IN_LOG2, TREE_TYPE (_o3[0]), 1, _o3[0]);
   10410                 :           0 :                                                   if (!_r3)
   10411                 :           0 :                                                     goto next_after_fail1603;
   10412                 :           0 :                                                   _o2[0] = _r3;
   10413                 :             :                                                 }
   10414                 :           0 :                                                 _o2[1] = captures[2];
   10415                 :           0 :                                                 _r2 = fold_build2_loc (loc, MULT_EXPR, TREE_TYPE (_o2[0]), _o2[0], _o2[1]);
   10416                 :           0 :                                                 _o1[0] = _r2;
   10417                 :             :                                               }
   10418                 :           0 :                                               _o1[1] = captures[4];
   10419                 :           0 :                                               _r1 = fold_build2_loc (loc, PLUS_EXPR, TREE_TYPE (_o1[0]), _o1[0], _o1[1]);
   10420                 :           0 :                                               res_op0 = _r1;
   10421                 :             :                                             }
   10422                 :           0 :                                             tree _r;
   10423                 :           0 :                                             _r = maybe_build_call_expr_loc (loc, CFN_BUILT_IN_EXP2, type, 1, res_op0);
   10424                 :           0 :                                             if (!_r)
   10425                 :           0 :                                               goto next_after_fail1603;
   10426                 :           0 :                                             if (UNLIKELY (debug_dump)) generic_dump_logs ("match.pd", 994, __FILE__, __LINE__, true);
   10427                 :           0 :                                             return _r;
   10428                 :             :                                           }
   10429                 :           0 : next_after_fail1603:;
   10430                 :             :                                         }
   10431                 :             :                                     }
   10432                 :             :                                 }
   10433                 :             :                               }
   10434                 :             :                             break;
   10435                 :           0 :                           case CFN_BUILT_IN_EXP10:
   10436                 :           0 :                             if (call_expr_nargs (_p1) == 1)
   10437                 :             :     {
   10438                 :           0 :                                 tree _q50 = CALL_EXPR_ARG (_p1, 0);
   10439                 :           0 :                                 {
   10440                 :           0 :                                   tree captures[5] ATTRIBUTE_UNUSED = { _p0, _q20, _q21, _p1, _q50 };
   10441                 :           0 :                                   if (flag_unsafe_math_optimizations
   10442                 :             : )
   10443                 :             :                                     {
   10444                 :           0 :                                       if (real_compare (GT_EXPR, TREE_REAL_CST_PTR (captures[1]), &dconst0)
   10445                 :           0 :  && real_isfinite (TREE_REAL_CST_PTR (captures[1]))
   10446                 :             : )
   10447                 :             :                                         {
   10448                 :           0 :                                           if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail1604;
   10449                 :           0 :                                           {
   10450                 :           0 :                                             tree res_op0;
   10451                 :           0 :                                             {
   10452                 :           0 :                                               tree _o1[2], _r1;
   10453                 :           0 :                                               {
   10454                 :           0 :                                                 tree _o2[2], _r2;
   10455                 :           0 :                                                 {
   10456                 :           0 :                                                   tree _o3[1], _r3;
   10457                 :           0 :                                                   _o3[0] = captures[1];
   10458                 :           0 :                                                   _r3 = maybe_build_call_expr_loc (loc, CFN_BUILT_IN_LOG10, TREE_TYPE (_o3[0]), 1, _o3[0]);
   10459                 :           0 :                                                   if (!_r3)
   10460                 :           0 :                                                     goto next_after_fail1604;
   10461                 :           0 :                                                   _o2[0] = _r3;
   10462                 :             :                                                 }
   10463                 :           0 :                                                 _o2[1] = captures[2];
   10464                 :           0 :                                                 _r2 = fold_build2_loc (loc, MULT_EXPR, TREE_TYPE (_o2[0]), _o2[0], _o2[1]);
   10465                 :           0 :                                                 _o1[0] = _r2;
   10466                 :             :                                               }
   10467                 :           0 :                                               _o1[1] = captures[4];
   10468                 :           0 :                                               _r1 = fold_build2_loc (loc, PLUS_EXPR, TREE_TYPE (_o1[0]), _o1[0], _o1[1]);
   10469                 :           0 :                                               res_op0 = _r1;
   10470                 :             :                                             }
   10471                 :           0 :                                             tree _r;
   10472                 :           0 :                                             _r = maybe_build_call_expr_loc (loc, CFN_BUILT_IN_EXP10, type, 1, res_op0);
   10473                 :           0 :                                             if (!_r)
   10474                 :           0 :                                               goto next_after_fail1604;
   10475                 :           0 :                                             if (UNLIKELY (debug_dump)) generic_dump_logs ("match.pd", 994, __FILE__, __LINE__, true);
   10476                 :           0 :                                             return _r;
   10477                 :             :                                           }
   10478                 :           0 : next_after_fail1604:;
   10479                 :             :                                         }
   10480                 :             :                                     }
   10481                 :             :                                 }
   10482                 :             :                               }
   10483                 :             :                             break;
   10484                 :           0 :                           case CFN_BUILT_IN_POW10:
   10485                 :           0 :                             if (call_expr_nargs (_p1) == 1)
   10486                 :             :     {
   10487                 :           0 :                                 tree _q50 = CALL_EXPR_ARG (_p1, 0);
   10488                 :           0 :                                 {
   10489                 :           0 :                                   tree captures[5] ATTRIBUTE_UNUSED = { _p0, _q20, _q21, _p1, _q50 };
   10490                 :           0 :                                   if (flag_unsafe_math_optimizations
   10491                 :             : )
   10492                 :             :                                     {
   10493                 :           0 :                                       if (real_compare (GT_EXPR, TREE_REAL_CST_PTR (captures[1]), &dconst0)
   10494                 :           0 :  && real_isfinite (TREE_REAL_CST_PTR (captures[1]))
   10495                 :             : )
   10496                 :             :                                         {
   10497                 :           0 :                                           if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail1605;
   10498                 :           0 :                                           {
   10499                 :           0 :                                             tree res_op0;
   10500                 :           0 :                                             {
   10501                 :           0 :                                               tree _o1[2], _r1;
   10502                 :           0 :                                               {
   10503                 :           0 :                                                 tree _o2[2], _r2;
   10504                 :           0 :                                                 {
   10505                 :           0 :                                                   tree _o3[1], _r3;
   10506                 :           0 :                                                   _o3[0] = captures[1];
   10507                 :           0 :                                                   _r3 = maybe_build_call_expr_loc (loc, CFN_BUILT_IN_LOG10, TREE_TYPE (_o3[0]), 1, _o3[0]);
   10508                 :           0 :                                                   if (!_r3)
   10509                 :           0 :                                                     goto next_after_fail1605;
   10510                 :           0 :                                                   _o2[0] = _r3;
   10511                 :             :                                                 }
   10512                 :           0 :                                                 _o2[1] = captures[2];
   10513                 :           0 :                                                 _r2 = fold_build2_loc (loc, MULT_EXPR, TREE_TYPE (_o2[0]), _o2[0], _o2[1]);
   10514                 :           0 :                                                 _o1[0] = _r2;
   10515                 :             :                                               }
   10516                 :           0 :                                               _o1[1] = captures[4];
   10517                 :           0 :                                               _r1 = fold_build2_loc (loc, PLUS_EXPR, TREE_TYPE (_o1[0]), _o1[0], _o1[1]);
   10518                 :           0 :                                               res_op0 = _r1;
   10519                 :             :                                             }
   10520                 :           0 :                                             tree _r;
   10521                 :           0 :                                             _r = maybe_build_call_expr_loc (loc, CFN_BUILT_IN_POW10, type, 1, res_op0);
   10522                 :           0 :                                             if (!_r)
   10523                 :           0 :                                               goto next_after_fail1605;
   10524                 :           0 :                                             if (UNLIKELY (debug_dump)) generic_dump_logs ("match.pd", 994, __FILE__, __LINE__, true);
   10525                 :           0 :                                             return _r;
   10526                 :             :                                           }
   10527                 :           0 : next_after_fail1605:;
   10528                 :             :                                         }
   10529                 :             :                                     }
   10530                 :             :                                 }
   10531                 :             :                               }
   10532                 :             :                             break;
   10533                 :             :                           default:;
   10534                 :             :                           }
   10535                 :             :                         break;
   10536                 :             :                       default:;
   10537                 :             :                       }
   10538                 :             :                     break;
   10539                 :             :                   }
   10540                 :         123 :                 default:;
   10541                 :             :                 }
   10542                 :         123 :               switch (TREE_CODE (_q21))
   10543                 :             :                 {
   10544                 :          12 :                 case REAL_CST:
   10545                 :          12 :                   {
   10546                 :          12 :                     if ((_p1 == _q20 && ! TREE_SIDE_EFFECTS (_p1)) || (operand_equal_p (_p1, _q20, 0) && types_match (_p1, _q20)))
   10547                 :             :                       {
   10548                 :           8 :                         {
   10549                 :           8 :                           tree captures[3] ATTRIBUTE_UNUSED = { _q20, _p0, _q21 };
   10550                 :           8 :                           tree res = generic_simplify_194 (loc, type, _p0, _p1, captures, CFN_BUILT_IN_POW);
   10551                 :           8 :                           if (res) return res;
   10552                 :             :                         }
   10553                 :             :                       }
   10554                 :             :                     break;
   10555                 :             :                   }
   10556                 :             :                 default:;
   10557                 :             :                 }
   10558                 :             :             }
   10559                 :             :           break;
   10560                 :          48 :         case CFN_BUILT_IN_EXP10F:
   10561                 :          48 :           if (call_expr_nargs (_p0) == 1)
   10562                 :             :     {
   10563                 :          48 :               tree _q20 = CALL_EXPR_ARG (_p0, 0);
   10564                 :          48 :               switch (TREE_CODE (_p1))
   10565                 :             :                 {
   10566                 :          24 :                 case CALL_EXPR:
   10567                 :          24 :                   switch (get_call_combined_fn (_p1))
   10568                 :             :                     {
   10569                 :          24 :                     case CFN_BUILT_IN_EXP10F:
   10570                 :          24 :                       if (call_expr_nargs (_p1) == 1)
   10571                 :             :     {
   10572                 :          24 :                           tree _q40 = CALL_EXPR_ARG (_p1, 0);
   10573                 :          24 :                           {
   10574                 :          24 :                             tree captures[4] ATTRIBUTE_UNUSED = { _p0, _q20, _p1, _q40 };
   10575                 :          24 :                             if (flag_unsafe_math_optimizations
   10576                 :             : )
   10577                 :             :                               {
   10578                 :          24 :                                 if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail1606;
   10579                 :          24 :                                 {
   10580                 :          24 :                                   tree res_op0;
   10581                 :          24 :                                   {
   10582                 :          24 :                                     tree _o1[2], _r1;
   10583                 :          24 :                                     _o1[0] = captures[1];
   10584                 :          24 :                                     _o1[1] = captures[3];
   10585                 :          24 :                                     _r1 = fold_build2_loc (loc, PLUS_EXPR, TREE_TYPE (_o1[0]), _o1[0], _o1[1]);
   10586                 :          24 :                                     res_op0 = _r1;
   10587                 :             :                                   }
   10588                 :          24 :                                   tree _r;
   10589                 :          24 :                                   _r = maybe_build_call_expr_loc (loc, CFN_BUILT_IN_EXP10F, type, 1, res_op0);
   10590                 :          24 :                                   if (!_r)
   10591                 :           0 :                                     goto next_after_fail1606;
   10592                 :          24 :                                   if (UNLIKELY (debug_dump)) generic_dump_logs ("match.pd", 993, __FILE__, __LINE__, true);
   10593                 :          24 :                                   return _r;
   10594                 :             :                                 }
   10595                 :           0 : next_after_fail1606:;
   10596                 :             :                               }
   10597                 :             :                           }
   10598                 :             :                         }
   10599                 :             :                       break;
   10600                 :           0 :                     case CFN_BUILT_IN_POWF:
   10601                 :           0 :                       if (call_expr_nargs (_p1) == 2)
   10602                 :             :     {
   10603                 :           0 :                           tree _q40 = CALL_EXPR_ARG (_p1, 0);
   10604                 :           0 :                           tree _q41 = CALL_EXPR_ARG (_p1, 1);
   10605                 :           0 :                           switch (TREE_CODE (_q40))
   10606                 :             :                             {
   10607                 :           0 :                             case REAL_CST:
   10608                 :           0 :                               {
   10609                 :           0 :                                 {
   10610                 :           0 :                                   tree captures[5] ATTRIBUTE_UNUSED = { _p1, _q40, _q41, _p0, _q20 };
   10611                 :           0 :                                   if (flag_unsafe_math_optimizations
   10612                 :             : )
   10613                 :             :                                     {
   10614                 :           0 :                                       if (real_compare (GT_EXPR, TREE_REAL_CST_PTR (captures[1]), &dconst0)
   10615                 :           0 :  && real_isfinite (TREE_REAL_CST_PTR (captures[1]))
   10616                 :             : )
   10617                 :             :                                         {
   10618                 :           0 :                                           if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail1607;
   10619                 :           0 :                                           {
   10620                 :           0 :                                             tree res_op0;
   10621                 :           0 :                                             {
   10622                 :           0 :                                               tree _o1[2], _r1;
   10623                 :           0 :                                               {
   10624                 :           0 :                                                 tree _o2[2], _r2;
   10625                 :           0 :                                                 {
   10626                 :           0 :                                                   tree _o3[1], _r3;
   10627                 :           0 :                                                   _o3[0] = captures[1];
   10628                 :           0 :                                                   _r3 = maybe_build_call_expr_loc (loc, CFN_BUILT_IN_LOG10F, TREE_TYPE (_o3[0]), 1, _o3[0]);
   10629                 :           0 :                                                   if (!_r3)
   10630                 :           0 :                                                     goto next_after_fail1607;
   10631                 :           0 :                                                   _o2[0] = _r3;
   10632                 :             :                                                 }
   10633                 :           0 :                                                 _o2[1] = captures[2];
   10634                 :           0 :                                                 _r2 = fold_build2_loc (loc, MULT_EXPR, TREE_TYPE (_o2[0]), _o2[0], _o2[1]);
   10635                 :           0 :                                                 _o1[0] = _r2;
   10636                 :             :                                               }
   10637                 :           0 :                                               _o1[1] = captures[4];
   10638                 :           0 :                                               _r1 = fold_build2_loc (loc, PLUS_EXPR, TREE_TYPE (_o1[0]), _o1[0], _o1[1]);
   10639                 :           0 :                                               res_op0 = _r1;
   10640                 :             :                                             }
   10641                 :           0 :                                             tree _r;
   10642                 :           0 :                                             _r = maybe_build_call_expr_loc (loc, CFN_BUILT_IN_EXP10F, type, 1, res_op0);
   10643                 :           0 :                                             if (!_r)
   10644                 :           0 :                                               goto next_after_fail1607;
   10645                 :           0 :                                             if (UNLIKELY (debug_dump)) generic_dump_logs ("match.pd", 994, __FILE__, __LINE__, true);
   10646                 :           0 :                                             return _r;
   10647                 :             :                                           }
   10648                 :           0 : next_after_fail1607:;
   10649                 :             :                                         }
   10650                 :             :                                     }
   10651                 :             :                                 }
   10652                 :           0 :                                 break;
   10653                 :             :                               }
   10654                 :             :                             default:;
   10655                 :             :                             }
   10656                 :             :                         }
   10657                 :             :                       break;
   10658                 :             :                     default:;
   10659                 :             :                     }
   10660                 :             :                   break;
   10661                 :             :                 default:;
   10662                 :             :                 }
   10663                 :             :             }
   10664                 :             :           break;
   10665                 :          48 :         case CFN_BUILT_IN_EXP10L:
   10666                 :          48 :           if (call_expr_nargs (_p0) == 1)
   10667                 :             :     {
   10668                 :          48 :               tree _q20 = CALL_EXPR_ARG (_p0, 0);
   10669                 :          48 :               switch (TREE_CODE (_p1))
   10670                 :             :                 {
   10671                 :          24 :                 case CALL_EXPR:
   10672                 :          24 :                   switch (get_call_combined_fn (_p1))
   10673                 :             :                     {
   10674                 :          24 :                     case CFN_BUILT_IN_EXP10L:
   10675                 :          24 :                       if (call_expr_nargs (_p1) == 1)
   10676                 :             :     {
   10677                 :          24 :                           tree _q40 = CALL_EXPR_ARG (_p1, 0);
   10678                 :          24 :                           {
   10679                 :          24 :                             tree captures[4] ATTRIBUTE_UNUSED = { _p0, _q20, _p1, _q40 };
   10680                 :          24 :                             if (flag_unsafe_math_optimizations
   10681                 :             : )
   10682                 :             :                               {
   10683                 :          24 :                                 if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail1608;
   10684                 :          24 :                                 {
   10685                 :          24 :                                   tree res_op0;
   10686                 :          24 :                                   {
   10687                 :          24 :                                     tree _o1[2], _r1;
   10688                 :          24 :                                     _o1[0] = captures[1];
   10689                 :          24 :                                     _o1[1] = captures[3];
   10690                 :          24 :                                     _r1 = fold_build2_loc (loc, PLUS_EXPR, TREE_TYPE (_o1[0]), _o1[0], _o1[1]);
   10691                 :          24 :                                     res_op0 = _r1;
   10692                 :             :                                   }
   10693                 :          24 :                                   tree _r;
   10694                 :          24 :                                   _r = maybe_build_call_expr_loc (loc, CFN_BUILT_IN_EXP10L, type, 1, res_op0);
   10695                 :          24 :                                   if (!_r)
   10696                 :           0 :                                     goto next_after_fail1608;
   10697                 :          24 :                                   if (UNLIKELY (debug_dump)) generic_dump_logs ("match.pd", 993, __FILE__, __LINE__, true);
   10698                 :          24 :                                   return _r;
   10699                 :             :                                 }
   10700                 :           0 : next_after_fail1608:;
   10701                 :             :                               }
   10702                 :             :                           }
   10703                 :             :                         }
   10704                 :             :                       break;
   10705                 :           0 :                     case CFN_BUILT_IN_POWL:
   10706                 :           0 :                       if (call_expr_nargs (_p1) == 2)
   10707                 :             :     {
   10708                 :           0 :                           tree _q40 = CALL_EXPR_ARG (_p1, 0);
   10709                 :           0 :                           tree _q41 = CALL_EXPR_ARG (_p1, 1);
   10710                 :           0 :                           switch (TREE_CODE (_q40))
   10711                 :             :                             {
   10712                 :           0 :                             case REAL_CST:
   10713                 :           0 :                               {
   10714                 :           0 :                                 {
   10715                 :           0 :                                   tree captures[5] ATTRIBUTE_UNUSED = { _p1, _q40, _q41, _p0, _q20 };
   10716                 :           0 :                                   if (flag_unsafe_math_optimizations
   10717                 :             : )
   10718                 :             :                                     {
   10719                 :           0 :                                       if (real_compare (GT_EXPR, TREE_REAL_CST_PTR (captures[1]), &dconst0)
   10720                 :           0 :  && real_isfinite (TREE_REAL_CST_PTR (captures[1]))
   10721                 :             : )
   10722                 :             :                                         {
   10723                 :           0 :                                           if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail1609;
   10724                 :           0 :                                           {
   10725                 :           0 :                                             tree res_op0;
   10726                 :           0 :                                             {
   10727                 :           0 :                                               tree _o1[2], _r1;
   10728                 :           0 :                                               {
   10729                 :           0 :                                                 tree _o2[2], _r2;
   10730                 :           0 :                                                 {
   10731                 :           0 :                                                   tree _o3[1], _r3;
   10732                 :           0 :                                                   _o3[0] = captures[1];
   10733                 :           0 :                                                   _r3 = maybe_build_call_expr_loc (loc, CFN_BUILT_IN_LOG10L, TREE_TYPE (_o3[0]), 1, _o3[0]);
   10734                 :           0 :                                                   if (!_r3)
   10735                 :           0 :                                                     goto next_after_fail1609;
   10736                 :           0 :                                                   _o2[0] = _r3;
   10737                 :             :                                                 }
   10738                 :           0 :                                                 _o2[1] = captures[2];
   10739                 :           0 :                                                 _r2 = fold_build2_loc (loc, MULT_EXPR, TREE_TYPE (_o2[0]), _o2[0], _o2[1]);
   10740                 :           0 :                                                 _o1[0] = _r2;
   10741                 :             :                                               }
   10742                 :           0 :                                               _o1[1] = captures[4];
   10743                 :           0 :                                               _r1 = fold_build2_loc (loc, PLUS_EXPR, TREE_TYPE (_o1[0]), _o1[0], _o1[1]);
   10744                 :           0 :                                               res_op0 = _r1;
   10745                 :             :                                             }
   10746                 :           0 :                                             tree _r;
   10747                 :           0 :                                             _r = maybe_build_call_expr_loc (loc, CFN_BUILT_IN_EXP10L, type, 1, res_op0);
   10748                 :           0 :                                             if (!_r)
   10749                 :           0 :                                               goto next_after_fail1609;
   10750                 :           0 :                                             if (UNLIKELY (debug_dump)) generic_dump_logs ("match.pd", 994, __FILE__, __LINE__, true);
   10751                 :           0 :                                             return _r;
   10752                 :             :                                           }
   10753                 :           0 : next_after_fail1609:;
   10754                 :             :                                         }
   10755                 :             :                                     }
   10756                 :             :                                 }
   10757                 :           0 :                                 break;
   10758                 :             :                               }
   10759                 :             :                             default:;
   10760                 :             :                             }
   10761                 :             :                         }
   10762                 :             :                       break;
   10763                 :             :                     default:;
   10764                 :             :                     }
   10765                 :             :                   break;
   10766                 :             :                 default:;
   10767                 :             :                 }
   10768                 :             :             }
   10769                 :             :           break;
   10770                 :          18 :         case CFN_BUILT_IN_CBRT:
   10771                 :          18 :           if (call_expr_nargs (_p0) == 1)
   10772                 :             :     {
   10773                 :          18 :               tree _q20 = CALL_EXPR_ARG (_p0, 0);
   10774                 :          18 :               switch (TREE_CODE (_p1))
   10775                 :             :                 {
   10776                 :          14 :                 case CALL_EXPR:
   10777                 :          14 :                   switch (get_call_combined_fn (_p1))
   10778                 :             :                     {
   10779                 :          14 :                     case CFN_BUILT_IN_CBRT:
   10780                 :          14 :                       if (call_expr_nargs (_p1) == 1)
   10781                 :             :     {
   10782                 :          14 :                           tree _q40 = CALL_EXPR_ARG (_p1, 0);
   10783                 :          14 :                           {
   10784                 :          14 :                             tree captures[4] ATTRIBUTE_UNUSED = { _p0, _q20, _p1, _q40 };
   10785                 :          14 :                             if (flag_unsafe_math_optimizations
   10786                 :             : )
   10787                 :             :                               {
   10788                 :          12 :                                 if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail1610;
   10789                 :          12 :                                 {
   10790                 :          12 :                                   tree res_op0;
   10791                 :          12 :                                   {
   10792                 :          12 :                                     tree _o1[2], _r1;
   10793                 :          12 :                                     _o1[0] = captures[1];
   10794                 :          12 :                                     _o1[1] = captures[3];
   10795                 :          12 :                                     _r1 = fold_build2_loc (loc, MULT_EXPR, TREE_TYPE (_o1[0]), _o1[0], _o1[1]);
   10796                 :          12 :                                     res_op0 = _r1;
   10797                 :             :                                   }
   10798                 :          12 :                                   tree _r;
   10799                 :          12 :                                   _r = maybe_build_call_expr_loc (loc, CFN_BUILT_IN_CBRT, type, 1, res_op0);
   10800                 :          12 :                                   if (!_r)
   10801                 :           0 :                                     goto next_after_fail1610;
   10802                 :          12 :                                   if (UNLIKELY (debug_dump)) generic_dump_logs ("match.pd", 992, __FILE__, __LINE__, true);
   10803                 :          12 :                                   return _r;
   10804                 :             :                                 }
   10805                 :           2 : next_after_fail1610:;
   10806                 :             :                               }
   10807                 :             :                           }
   10808                 :             :                         }
   10809                 :             :                       break;
   10810                 :             :                     default:;
   10811                 :             :                     }
   10812                 :             :                   break;
   10813                 :             :                 default:;
   10814                 :             :                 }
   10815                 :             :             }
   10816                 :             :           break;
   10817                 :          48 :         case CFN_BUILT_IN_EXP2:
   10818                 :          48 :           if (call_expr_nargs (_p0) == 1)
   10819                 :             :     {
   10820                 :          48 :               tree _q20 = CALL_EXPR_ARG (_p0, 0);
   10821                 :          48 :               switch (TREE_CODE (_p1))
   10822                 :             :                 {
   10823                 :          24 :                 case CALL_EXPR:
   10824                 :          24 :                   switch (get_call_combined_fn (_p1))
   10825                 :             :                     {
   10826                 :           0 :                     case CFN_BUILT_IN_POW:
   10827                 :           0 :                       if (call_expr_nargs (_p1) == 2)
   10828                 :             :     {
   10829                 :           0 :                           tree _q40 = CALL_EXPR_ARG (_p1, 0);
   10830                 :           0 :                           tree _q41 = CALL_EXPR_ARG (_p1, 1);
   10831                 :           0 :                           switch (TREE_CODE (_q40))
   10832                 :             :                             {
   10833                 :           0 :                             case REAL_CST:
   10834                 :           0 :                               {
   10835                 :           0 :                                 {
   10836                 :           0 :                                   tree captures[5] ATTRIBUTE_UNUSED = { _p1, _q40, _q41, _p0, _q20 };
   10837                 :           0 :                                   if (flag_unsafe_math_optimizations
   10838                 :             : )
   10839                 :             :                                     {
   10840                 :           0 :                                       if (real_compare (GT_EXPR, TREE_REAL_CST_PTR (captures[1]), &dconst0)
   10841                 :           0 :  && real_isfinite (TREE_REAL_CST_PTR (captures[1]))
   10842                 :             : )
   10843                 :             :                                         {
   10844                 :           0 :                                           if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail1611;
   10845                 :           0 :                                           {
   10846                 :           0 :                                             tree res_op0;
   10847                 :           0 :                                             {
   10848                 :           0 :                                               tree _o1[2], _r1;
   10849                 :           0 :                                               {
   10850                 :           0 :                                                 tree _o2[2], _r2;
   10851                 :           0 :                                                 {
   10852                 :           0 :                                                   tree _o3[1], _r3;
   10853                 :           0 :                                                   _o3[0] = captures[1];
   10854                 :           0 :                                                   _r3 = maybe_build_call_expr_loc (loc, CFN_BUILT_IN_LOG2, TREE_TYPE (_o3[0]), 1, _o3[0]);
   10855                 :           0 :                                                   if (!_r3)
   10856                 :           0 :                                                     goto next_after_fail1611;
   10857                 :           0 :                                                   _o2[0] = _r3;
   10858                 :             :                                                 }
   10859                 :           0 :                                                 _o2[1] = captures[2];
   10860                 :           0 :                                                 _r2 = fold_build2_loc (loc, MULT_EXPR, TREE_TYPE (_o2[0]), _o2[0], _o2[1]);
   10861                 :           0 :                                                 _o1[0] = _r2;
   10862                 :             :                                               }
   10863                 :           0 :                                               _o1[1] = captures[4];
   10864                 :           0 :                                               _r1 = fold_build2_loc (loc, PLUS_EXPR, TREE_TYPE (_o1[0]), _o1[0], _o1[1]);
   10865                 :           0 :                                               res_op0 = _r1;
   10866                 :             :                                             }
   10867                 :           0 :                                             tree _r;
   10868                 :           0 :                                             _r = maybe_build_call_expr_loc (loc, CFN_BUILT_IN_EXP2, type, 1, res_op0);
   10869                 :           0 :                                             if (!_r)
   10870                 :           0 :                                               goto next_after_fail1611;
   10871                 :           0 :                                             if (UNLIKELY (debug_dump)) generic_dump_logs ("match.pd", 994, __FILE__, __LINE__, true);
   10872                 :           0 :                                             return _r;
   10873                 :             :                                           }
   10874                 :           0 : next_after_fail1611:;
   10875                 :             :                                         }
   10876                 :             :                                     }
   10877                 :             :                                 }
   10878                 :           0 :                                 break;
   10879                 :             :                               }
   10880                 :             :                             default:;
   10881                 :             :                             }
   10882                 :             :                         }
   10883                 :             :                       break;
   10884                 :          24 :                     case CFN_BUILT_IN_EXP2:
   10885                 :          24 :                       if (call_expr_nargs (_p1) == 1)
   10886                 :             :     {
   10887                 :          24 :                           tree _q40 = CALL_EXPR_ARG (_p1, 0);
   10888                 :          24 :                           {
   10889                 :          24 :                             tree captures[4] ATTRIBUTE_UNUSED = { _p0, _q20, _p1, _q40 };
   10890                 :          24 :                             if (flag_unsafe_math_optimizations
   10891                 :             : )
   10892                 :             :                               {
   10893                 :          24 :                                 if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail1612;
   10894                 :          24 :                                 {
   10895                 :          24 :                                   tree res_op0;
   10896                 :          24 :                                   {
   10897                 :          24 :                                     tree _o1[2], _r1;
   10898                 :          24 :                                     _o1[0] = captures[1];
   10899                 :          24 :                                     _o1[1] = captures[3];
   10900                 :          24 :                                     _r1 = fold_build2_loc (loc, PLUS_EXPR, TREE_TYPE (_o1[0]), _o1[0], _o1[1]);
   10901                 :          24 :                                     res_op0 = _r1;
   10902                 :             :                                   }
   10903                 :          24 :                                   tree _r;
   10904                 :          24 :                                   _r = maybe_build_call_expr_loc (loc, CFN_BUILT_IN_EXP2, type, 1, res_op0);
   10905                 :          24 :                                   if (!_r)
   10906                 :           0 :                                     goto next_after_fail1612;
   10907                 :          24 :                                   if (UNLIKELY (debug_dump)) generic_dump_logs ("match.pd", 993, __FILE__, __LINE__, true);
   10908                 :          24 :                                   return _r;
   10909                 :             :                                 }
   10910                 :           0 : next_after_fail1612:;
   10911                 :             :                               }
   10912                 :             :                           }
   10913                 :             :                         }
   10914                 :             :                       break;
   10915                 :             :                     default:;
   10916                 :             :                     }
   10917                 :             :                   break;
   10918                 :             :                 default:;
   10919                 :             :                 }
   10920                 :             :             }
   10921                 :             :           break;
   10922                 :          66 :         case CFN_BUILT_IN_EXPF:
   10923                 :          66 :           if (call_expr_nargs (_p0) == 1)
   10924                 :             :     {
   10925                 :          66 :               tree _q20 = CALL_EXPR_ARG (_p0, 0);
   10926                 :          66 :               switch (TREE_CODE (_p1))
   10927                 :             :                 {
   10928                 :          36 :                 case CALL_EXPR:
   10929                 :          36 :                   switch (get_call_combined_fn (_p1))
   10930                 :             :                     {
   10931                 :          29 :                     case CFN_BUILT_IN_EXPF:
   10932                 :          29 :                       if (call_expr_nargs (_p1) == 1)
   10933                 :             :     {
   10934                 :          29 :                           tree _q40 = CALL_EXPR_ARG (_p1, 0);
   10935                 :          29 :                           {
   10936                 :          29 :                             tree captures[4] ATTRIBUTE_UNUSED = { _p0, _q20, _p1, _q40 };
   10937                 :          29 :                             if (flag_unsafe_math_optimizations
   10938                 :             : )
   10939                 :             :                               {
   10940                 :          25 :                                 if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail1613;
   10941                 :          25 :                                 {
   10942                 :          25 :                                   tree res_op0;
   10943                 :          25 :                                   {
   10944                 :          25 :                                     tree _o1[2], _r1;
   10945                 :          25 :                                     _o1[0] = captures[1];
   10946                 :          25 :                                     _o1[1] = captures[3];
   10947                 :          25 :                                     _r1 = fold_build2_loc (loc, PLUS_EXPR, TREE_TYPE (_o1[0]), _o1[0], _o1[1]);
   10948                 :          25 :                                     res_op0 = _r1;
   10949                 :             :                                   }
   10950                 :          25 :                                   tree _r;
   10951                 :          25 :                                   _r = maybe_build_call_expr_loc (loc, CFN_BUILT_IN_EXPF, type, 1, res_op0);
   10952                 :          25 :                                   if (!_r)
   10953                 :           0 :                                     goto next_after_fail1613;
   10954                 :          25 :                                   if (UNLIKELY (debug_dump)) generic_dump_logs ("match.pd", 993, __FILE__, __LINE__, true);
   10955                 :          25 :                                   return _r;
   10956                 :             :                                 }
   10957                 :           4 : next_after_fail1613:;
   10958                 :             :                               }
   10959                 :             :                           }
   10960                 :             :                         }
   10961                 :             :                       break;
   10962                 :           0 :                     case CFN_BUILT_IN_POWF:
   10963                 :           0 :                       if (call_expr_nargs (_p1) == 2)
   10964                 :             :     {
   10965                 :           0 :                           tree _q40 = CALL_EXPR_ARG (_p1, 0);
   10966                 :           0 :                           tree _q41 = CALL_EXPR_ARG (_p1, 1);
   10967                 :           0 :                           switch (TREE_CODE (_q40))
   10968                 :             :                             {
   10969                 :           0 :                             case REAL_CST:
   10970                 :           0 :                               {
   10971                 :           0 :                                 {
   10972                 :           0 :                                   tree captures[5] ATTRIBUTE_UNUSED = { _p1, _q40, _q41, _p0, _q20 };
   10973                 :           0 :                                   if (flag_unsafe_math_optimizations
   10974                 :             : )
   10975                 :             :                                     {
   10976                 :           0 :                                       if (real_compare (GT_EXPR, TREE_REAL_CST_PTR (captures[1]), &dconst0)
   10977                 :           0 :  && real_isfinite (TREE_REAL_CST_PTR (captures[1]))
   10978                 :             : )
   10979                 :             :                                         {
   10980                 :           0 :                                           if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail1614;
   10981                 :           0 :                                           {
   10982                 :           0 :                                             tree res_op0;
   10983                 :           0 :                                             {
   10984                 :           0 :                                               tree _o1[2], _r1;
   10985                 :           0 :                                               {
   10986                 :           0 :                                                 tree _o2[2], _r2;
   10987                 :           0 :                                                 {
   10988                 :           0 :                                                   tree _o3[1], _r3;
   10989                 :           0 :                                                   _o3[0] = captures[1];
   10990                 :           0 :                                                   _r3 = maybe_build_call_expr_loc (loc, CFN_BUILT_IN_LOGF, TREE_TYPE (_o3[0]), 1, _o3[0]);
   10991                 :           0 :                                                   if (!_r3)
   10992                 :           0 :                                                     goto next_after_fail1614;
   10993                 :           0 :                                                   _o2[0] = _r3;
   10994                 :             :                                                 }
   10995                 :           0 :                                                 _o2[1] = captures[2];
   10996                 :           0 :                                                 _r2 = fold_build2_loc (loc, MULT_EXPR, TREE_TYPE (_o2[0]), _o2[0], _o2[1]);
   10997                 :           0 :                                                 _o1[0] = _r2;
   10998                 :             :                                               }
   10999                 :           0 :                                               _o1[1] = captures[4];
   11000                 :           0 :                                               _r1 = fold_build2_loc (loc, PLUS_EXPR, TREE_TYPE (_o1[0]), _o1[0], _o1[1]);
   11001                 :           0 :                                               res_op0 = _r1;
   11002                 :             :                                             }
   11003                 :           0 :                                             tree _r;
   11004                 :           0 :                                             _r = maybe_build_call_expr_loc (loc, CFN_BUILT_IN_EXPF, type, 1, res_op0);
   11005                 :           0 :                                             if (!_r)
   11006                 :           0 :                                               goto next_after_fail1614;
   11007                 :           0 :                                             if (UNLIKELY (debug_dump)) generic_dump_logs ("match.pd", 994, __FILE__, __LINE__, true);
   11008                 :           0 :                                             return _r;
   11009                 :             :                                           }
   11010                 :           0 : next_after_fail1614:;
   11011                 :             :                                         }
   11012                 :             :                                     }
   11013                 :             :                                 }
   11014                 :           0 :                                 break;
   11015                 :             :                               }
   11016                 :             :                             default:;
   11017                 :             :                             }
   11018                 :             :                         }
   11019                 :             :                       break;
   11020                 :             :                     default:;
   11021                 :             :                     }
   11022                 :             :                   break;
   11023                 :             :                 default:;
   11024                 :             :                 }
   11025                 :             :             }
   11026                 :             :           break;
   11027                 :          59 :         case CFN_BUILT_IN_EXPL:
   11028                 :          59 :           if (call_expr_nargs (_p0) == 1)
   11029                 :             :     {
   11030                 :          59 :               tree _q20 = CALL_EXPR_ARG (_p0, 0);
   11031                 :          59 :               switch (TREE_CODE (_p1))
   11032                 :             :                 {
   11033                 :          29 :                 case CALL_EXPR:
   11034                 :          29 :                   switch (get_call_combined_fn (_p1))
   11035                 :             :                     {
   11036                 :          29 :                     case CFN_BUILT_IN_EXPL:
   11037                 :          29 :                       if (call_expr_nargs (_p1) == 1)
   11038                 :             :     {
   11039                 :          29 :                           tree _q40 = CALL_EXPR_ARG (_p1, 0);
   11040                 :          29 :                           {
   11041                 :          29 :                             tree captures[4] ATTRIBUTE_UNUSED = { _p0, _q20, _p1, _q40 };
   11042                 :          29 :                             if (flag_unsafe_math_optimizations
   11043                 :             : )
   11044                 :             :                               {
   11045                 :          25 :                                 if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail1615;
   11046                 :          25 :                                 {
   11047                 :          25 :                                   tree res_op0;
   11048                 :          25 :                                   {
   11049                 :          25 :                                     tree _o1[2], _r1;
   11050                 :          25 :                                     _o1[0] = captures[1];
   11051                 :          25 :                                     _o1[1] = captures[3];
   11052                 :          25 :                                     _r1 = fold_build2_loc (loc, PLUS_EXPR, TREE_TYPE (_o1[0]), _o1[0], _o1[1]);
   11053                 :          25 :                                     res_op0 = _r1;
   11054                 :             :                                   }
   11055                 :          25 :                                   tree _r;
   11056                 :          25 :                                   _r = maybe_build_call_expr_loc (loc, CFN_BUILT_IN_EXPL, type, 1, res_op0);
   11057                 :          25 :                                   if (!_r)
   11058                 :           0 :                                     goto next_after_fail1615;
   11059                 :          25 :                                   if (UNLIKELY (debug_dump)) generic_dump_logs ("match.pd", 993, __FILE__, __LINE__, true);
   11060                 :          25 :                                   return _r;
   11061                 :             :                                 }
   11062                 :           4 : next_after_fail1615:;
   11063                 :             :                               }
   11064                 :             :                           }
   11065                 :             :                         }
   11066                 :             :                       break;
   11067                 :           0 :                     case CFN_BUILT_IN_POWL:
   11068                 :           0 :                       if (call_expr_nargs (_p1) == 2)
   11069                 :             :     {
   11070                 :           0 :                           tree _q40 = CALL_EXPR_ARG (_p1, 0);
   11071                 :           0 :                           tree _q41 = CALL_EXPR_ARG (_p1, 1);
   11072                 :           0 :                           switch (TREE_CODE (_q40))
   11073                 :             :                             {
   11074                 :           0 :                             case REAL_CST:
   11075                 :           0 :                               {
   11076                 :           0 :                                 {
   11077                 :           0 :                                   tree captures[5] ATTRIBUTE_UNUSED = { _p1, _q40, _q41, _p0, _q20 };
   11078                 :           0 :                                   if (flag_unsafe_math_optimizations
   11079                 :             : )
   11080                 :             :                                     {
   11081                 :           0 :                                       if (real_compare (GT_EXPR, TREE_REAL_CST_PTR (captures[1]), &dconst0)
   11082                 :           0 :  && real_isfinite (TREE_REAL_CST_PTR (captures[1]))
   11083                 :             : )
   11084                 :             :                                         {
   11085                 :           0 :                                           if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail1616;
   11086                 :           0 :                                           {
   11087                 :           0 :                                             tree res_op0;
   11088                 :           0 :                                             {
   11089                 :           0 :                                               tree _o1[2], _r1;
   11090                 :           0 :                                               {
   11091                 :           0 :                                                 tree _o2[2], _r2;
   11092                 :           0 :                                                 {
   11093                 :           0 :                                                   tree _o3[1], _r3;
   11094                 :           0 :                                                   _o3[0] = captures[1];
   11095                 :           0 :                                                   _r3 = maybe_build_call_expr_loc (loc, CFN_BUILT_IN_LOGL, TREE_TYPE (_o3[0]), 1, _o3[0]);
   11096                 :           0 :                                                   if (!_r3)
   11097                 :           0 :                                                     goto next_after_fail1616;
   11098                 :           0 :                                                   _o2[0] = _r3;
   11099                 :             :                                                 }
   11100                 :           0 :                                                 _o2[1] = captures[2];
   11101                 :           0 :                                                 _r2 = fold_build2_loc (loc, MULT_EXPR, TREE_TYPE (_o2[0]), _o2[0], _o2[1]);
   11102                 :           0 :                                                 _o1[0] = _r2;
   11103                 :             :                                               }
   11104                 :           0 :                                               _o1[1] = captures[4];
   11105                 :           0 :                                               _r1 = fold_build2_loc (loc, PLUS_EXPR, TREE_TYPE (_o1[0]), _o1[0], _o1[1]);
   11106                 :           0 :                                               res_op0 = _r1;
   11107                 :             :                                             }
   11108                 :           0 :                                             tree _r;
   11109                 :           0 :                                             _r = maybe_build_call_expr_loc (loc, CFN_BUILT_IN_EXPL, type, 1, res_op0);
   11110                 :           0 :                                             if (!_r)
   11111                 :           0 :                                               goto next_after_fail1616;
   11112                 :           0 :                                             if (UNLIKELY (debug_dump)) generic_dump_logs ("match.pd", 994, __FILE__, __LINE__, true);
   11113                 :           0 :                                             return _r;
   11114                 :             :                                           }
   11115                 :           0 : next_after_fail1616:;
   11116                 :             :                                         }
   11117                 :             :                                     }
   11118                 :             :                                 }
   11119                 :           0 :                                 break;
   11120                 :             :                               }
   11121                 :             :                             default:;
   11122                 :             :                             }
   11123                 :             :                         }
   11124                 :             :                       break;
   11125                 :             :                     default:;
   11126                 :             :                     }
   11127                 :             :                   break;
   11128                 :             :                 default:;
   11129                 :             :                 }
   11130                 :             :             }
   11131                 :             :           break;
   11132                 :          19 :         case CFN_BUILT_IN_POWF:
   11133                 :          19 :           if (call_expr_nargs (_p0) == 2)
   11134                 :             :     {
   11135                 :          19 :               tree _q20 = CALL_EXPR_ARG (_p0, 0);
   11136                 :          19 :               tree _q21 = CALL_EXPR_ARG (_p0, 1);
   11137                 :          19 :               switch (TREE_CODE (_q20))
   11138                 :             :                 {
   11139                 :           0 :                 case REAL_CST:
   11140                 :           0 :                   {
   11141                 :           0 :                     switch (TREE_CODE (_p1))
   11142                 :             :                       {
   11143                 :           0 :                       case CALL_EXPR:
   11144                 :           0 :                         switch (get_call_combined_fn (_p1))
   11145                 :             :                           {
   11146                 :           0 :                           case CFN_BUILT_IN_EXP10F:
   11147                 :           0 :                             if (call_expr_nargs (_p1) == 1)
   11148                 :             :     {
   11149                 :           0 :                                 tree _q50 = CALL_EXPR_ARG (_p1, 0);
   11150                 :           0 :                                 {
   11151                 :           0 :                                   tree captures[5] ATTRIBUTE_UNUSED = { _p0, _q20, _q21, _p1, _q50 };
   11152                 :           0 :                                   if (flag_unsafe_math_optimizations
   11153                 :             : )
   11154                 :             :                                     {
   11155                 :           0 :                                       if (real_compare (GT_EXPR, TREE_REAL_CST_PTR (captures[1]), &dconst0)
   11156                 :           0 :  && real_isfinite (TREE_REAL_CST_PTR (captures[1]))
   11157                 :             : )
   11158                 :             :                                         {
   11159                 :           0 :                                           if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail1617;
   11160                 :           0 :                                           {
   11161                 :           0 :                                             tree res_op0;
   11162                 :           0 :                                             {
   11163                 :           0 :                                               tree _o1[2], _r1;
   11164                 :           0 :                                               {
   11165                 :           0 :                                                 tree _o2[2], _r2;
   11166                 :           0 :                                                 {
   11167                 :           0 :                                                   tree _o3[1], _r3;
   11168                 :           0 :                                                   _o3[0] = captures[1];
   11169                 :           0 :                                                   _r3 = maybe_build_call_expr_loc (loc, CFN_BUILT_IN_LOG10F, TREE_TYPE (_o3[0]), 1, _o3[0]);
   11170                 :           0 :                                                   if (!_r3)
   11171                 :           0 :                                                     goto next_after_fail1617;
   11172                 :           0 :                                                   _o2[0] = _r3;
   11173                 :             :                                                 }
   11174                 :           0 :                                                 _o2[1] = captures[2];
   11175                 :           0 :                                                 _r2 = fold_build2_loc (loc, MULT_EXPR, TREE_TYPE (_o2[0]), _o2[0], _o2[1]);
   11176                 :           0 :                                                 _o1[0] = _r2;
   11177                 :             :                                               }
   11178                 :           0 :                                               _o1[1] = captures[4];
   11179                 :           0 :                                               _r1 = fold_build2_loc (loc, PLUS_EXPR, TREE_TYPE (_o1[0]), _o1[0], _o1[1]);
   11180                 :           0 :                                               res_op0 = _r1;
   11181                 :             :                                             }
   11182                 :           0 :                                             tree _r;
   11183                 :           0 :                                             _r = maybe_build_call_expr_loc (loc, CFN_BUILT_IN_EXP10F, type, 1, res_op0);
   11184                 :           0 :                                             if (!_r)
   11185                 :           0 :                                               goto next_after_fail1617;
   11186                 :           0 :                                             if (UNLIKELY (debug_dump)) generic_dump_logs ("match.pd", 994, __FILE__, __LINE__, true);
   11187                 :           0 :                                             return _r;
   11188                 :             :                                           }
   11189                 :           0 : next_after_fail1617:;
   11190                 :             :                                         }
   11191                 :             :                                     }
   11192                 :             :                                 }
   11193                 :             :                               }
   11194                 :             :                             break;
   11195                 :           0 :                           case CFN_BUILT_IN_EXPF:
   11196                 :           0 :                             if (call_expr_nargs (_p1) == 1)
   11197                 :             :     {
   11198                 :           0 :                                 tree _q50 = CALL_EXPR_ARG (_p1, 0);
   11199                 :           0 :                                 {
   11200                 :           0 :                                   tree captures[5] ATTRIBUTE_UNUSED = { _p0, _q20, _q21, _p1, _q50 };
   11201                 :           0 :                                   if (flag_unsafe_math_optimizations
   11202                 :             : )
   11203                 :             :                                     {
   11204                 :           0 :                                       if (real_compare (GT_EXPR, TREE_REAL_CST_PTR (captures[1]), &dconst0)
   11205                 :           0 :  && real_isfinite (TREE_REAL_CST_PTR (captures[1]))
   11206                 :             : )
   11207                 :             :                                         {
   11208                 :           0 :                                           if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail1618;
   11209                 :           0 :                                           {
   11210                 :           0 :                                             tree res_op0;
   11211                 :           0 :                                             {
   11212                 :           0 :                                               tree _o1[2], _r1;
   11213                 :           0 :                                               {
   11214                 :           0 :                                                 tree _o2[2], _r2;
   11215                 :           0 :                                                 {
   11216                 :           0 :                                                   tree _o3[1], _r3;
   11217                 :           0 :                                                   _o3[0] = captures[1];
   11218                 :           0 :                                                   _r3 = maybe_build_call_expr_loc (loc, CFN_BUILT_IN_LOGF, TREE_TYPE (_o3[0]), 1, _o3[0]);
   11219                 :           0 :                                                   if (!_r3)
   11220                 :           0 :                                                     goto next_after_fail1618;
   11221                 :           0 :                                                   _o2[0] = _r3;
   11222                 :             :                                                 }
   11223                 :           0 :                                                 _o2[1] = captures[2];
   11224                 :           0 :                                                 _r2 = fold_build2_loc (loc, MULT_EXPR, TREE_TYPE (_o2[0]), _o2[0], _o2[1]);
   11225                 :           0 :                                                 _o1[0] = _r2;
   11226                 :             :                                               }
   11227                 :           0 :                                               _o1[1] = captures[4];
   11228                 :           0 :                                               _r1 = fold_build2_loc (loc, PLUS_EXPR, TREE_TYPE (_o1[0]), _o1[0], _o1[1]);
   11229                 :           0 :                                               res_op0 = _r1;
   11230                 :             :                                             }
   11231                 :           0 :                                             tree _r;
   11232                 :           0 :                                             _r = maybe_build_call_expr_loc (loc, CFN_BUILT_IN_EXPF, type, 1, res_op0);
   11233                 :           0 :                                             if (!_r)
   11234                 :           0 :                                               goto next_after_fail1618;
   11235                 :           0 :                                             if (UNLIKELY (debug_dump)) generic_dump_logs ("match.pd", 994, __FILE__, __LINE__, true);
   11236                 :           0 :                                             return _r;
   11237                 :             :                                           }
   11238                 :           0 : next_after_fail1618:;
   11239                 :             :                                         }
   11240                 :             :                                     }
   11241                 :             :                                 }
   11242                 :             :                               }
   11243                 :             :                             break;
   11244                 :           0 :                           case CFN_BUILT_IN_POW10F:
   11245                 :           0 :                             if (call_expr_nargs (_p1) == 1)
   11246                 :             :     {
   11247                 :           0 :                                 tree _q50 = CALL_EXPR_ARG (_p1, 0);
   11248                 :           0 :                                 {
   11249                 :           0 :                                   tree captures[5] ATTRIBUTE_UNUSED = { _p0, _q20, _q21, _p1, _q50 };
   11250                 :           0 :                                   if (flag_unsafe_math_optimizations
   11251                 :             : )
   11252                 :             :                                     {
   11253                 :           0 :                                       if (real_compare (GT_EXPR, TREE_REAL_CST_PTR (captures[1]), &dconst0)
   11254                 :           0 :  && real_isfinite (TREE_REAL_CST_PTR (captures[1]))
   11255                 :             : )
   11256                 :             :                                         {
   11257                 :           0 :                                           if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail1619;
   11258                 :           0 :                                           {
   11259                 :           0 :                                             tree res_op0;
   11260                 :           0 :                                             {
   11261                 :           0 :                                               tree _o1[2], _r1;
   11262                 :           0 :                                               {
   11263                 :           0 :                                                 tree _o2[2], _r2;
   11264                 :           0 :                                                 {
   11265                 :           0 :                                                   tree _o3[1], _r3;
   11266                 :           0 :                                                   _o3[0] = captures[1];
   11267                 :           0 :                                                   _r3 = maybe_build_call_expr_loc (loc, CFN_BUILT_IN_LOG10F, TREE_TYPE (_o3[0]), 1, _o3[0]);
   11268                 :           0 :                                                   if (!_r3)
   11269                 :           0 :                                                     goto next_after_fail1619;
   11270                 :           0 :                                                   _o2[0] = _r3;
   11271                 :             :                                                 }
   11272                 :           0 :                                                 _o2[1] = captures[2];
   11273                 :           0 :                                                 _r2 = fold_build2_loc (loc, MULT_EXPR, TREE_TYPE (_o2[0]), _o2[0], _o2[1]);
   11274                 :           0 :                                                 _o1[0] = _r2;
   11275                 :             :                                               }
   11276                 :           0 :                                               _o1[1] = captures[4];
   11277                 :           0 :                                               _r1 = fold_build2_loc (loc, PLUS_EXPR, TREE_TYPE (_o1[0]), _o1[0], _o1[1]);
   11278                 :           0 :                                               res_op0 = _r1;
   11279                 :             :                                             }
   11280                 :           0 :                                             tree _r;
   11281                 :           0 :                                             _r = maybe_build_call_expr_loc (loc, CFN_BUILT_IN_POW10F, type, 1, res_op0);
   11282                 :           0 :                                             if (!_r)
   11283                 :           0 :                                               goto next_after_fail1619;
   11284                 :           0 :                                             if (UNLIKELY (debug_dump)) generic_dump_logs ("match.pd", 994, __FILE__, __LINE__, true);
   11285                 :           0 :                                             return _r;
   11286                 :             :                                           }
   11287                 :           0 : next_after_fail1619:;
   11288                 :             :                                         }
   11289                 :             :                                     }
   11290                 :             :                                 }
   11291                 :             :                               }
   11292                 :             :                             break;
   11293                 :           0 :                           case CFN_BUILT_IN_EXP2F:
   11294                 :           0 :                             if (call_expr_nargs (_p1) == 1)
   11295                 :             :     {
   11296                 :           0 :                                 tree _q50 = CALL_EXPR_ARG (_p1, 0);
   11297                 :           0 :                                 {
   11298                 :           0 :                                   tree captures[5] ATTRIBUTE_UNUSED = { _p0, _q20, _q21, _p1, _q50 };
   11299                 :           0 :                                   if (flag_unsafe_math_optimizations
   11300                 :             : )
   11301                 :             :                                     {
   11302                 :           0 :                                       if (real_compare (GT_EXPR, TREE_REAL_CST_PTR (captures[1]), &dconst0)
   11303                 :           0 :  && real_isfinite (TREE_REAL_CST_PTR (captures[1]))
   11304                 :             : )
   11305                 :             :                                         {
   11306                 :           0 :                                           if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail1620;
   11307                 :           0 :                                           {
   11308                 :           0 :                                             tree res_op0;
   11309                 :           0 :                                             {
   11310                 :           0 :                                               tree _o1[2], _r1;
   11311                 :           0 :                                               {
   11312                 :           0 :                                                 tree _o2[2], _r2;
   11313                 :           0 :                                                 {
   11314                 :           0 :                                                   tree _o3[1], _r3;
   11315                 :           0 :                                                   _o3[0] = captures[1];
   11316                 :           0 :                                                   _r3 = maybe_build_call_expr_loc (loc, CFN_BUILT_IN_LOG2F, TREE_TYPE (_o3[0]), 1, _o3[0]);
   11317                 :           0 :                                                   if (!_r3)
   11318                 :           0 :                                                     goto next_after_fail1620;
   11319                 :           0 :                                                   _o2[0] = _r3;
   11320                 :             :                                                 }
   11321                 :           0 :                                                 _o2[1] = captures[2];
   11322                 :           0 :                                                 _r2 = fold_build2_loc (loc, MULT_EXPR, TREE_TYPE (_o2[0]), _o2[0], _o2[1]);
   11323                 :           0 :                                                 _o1[0] = _r2;
   11324                 :             :                                               }
   11325                 :           0 :                                               _o1[1] = captures[4];
   11326                 :           0 :                                               _r1 = fold_build2_loc (loc, PLUS_EXPR, TREE_TYPE (_o1[0]), _o1[0], _o1[1]);
   11327                 :           0 :                                               res_op0 = _r1;
   11328                 :             :                                             }
   11329                 :           0 :                                             tree _r;
   11330                 :           0 :                                             _r = maybe_build_call_expr_loc (loc, CFN_BUILT_IN_EXP2F, type, 1, res_op0);
   11331                 :           0 :                                             if (!_r)
   11332                 :           0 :                                               goto next_after_fail1620;
   11333                 :           0 :                                             if (UNLIKELY (debug_dump)) generic_dump_logs ("match.pd", 994, __FILE__, __LINE__, true);
   11334                 :           0 :                                             return _r;
   11335                 :             :                                           }
   11336                 :           0 : next_after_fail1620:;
   11337                 :             :                                         }
   11338                 :             :                                     }
   11339                 :             :                                 }
   11340                 :             :                               }
   11341                 :             :                             break;
   11342                 :             :                           default:;
   11343                 :             :                           }
   11344                 :             :                         break;
   11345                 :             :                       default:;
   11346                 :             :                       }
   11347                 :             :                     break;
   11348                 :             :                   }
   11349                 :          19 :                 default:;
   11350                 :             :                 }
   11351                 :          19 :               switch (TREE_CODE (_q21))
   11352                 :             :                 {
   11353                 :           5 :                 case REAL_CST:
   11354                 :           5 :                   {
   11355                 :           5 :                     if ((_p1 == _q20 && ! TREE_SIDE_EFFECTS (_p1)) || (operand_equal_p (_p1, _q20, 0) && types_match (_p1, _q20)))
   11356                 :             :                       {
   11357                 :           0 :                         {
   11358                 :           0 :                           tree captures[3] ATTRIBUTE_UNUSED = { _q20, _p0, _q21 };
   11359                 :           0 :                           tree res = generic_simplify_194 (loc, type, _p0, _p1, captures, CFN_BUILT_IN_POWF);
   11360                 :           0 :                           if (res) return res;
   11361                 :             :                         }
   11362                 :             :                       }
   11363                 :             :                     break;
   11364                 :             :                   }
   11365                 :             :                 default:;
   11366                 :             :                 }
   11367                 :             :             }
   11368                 :             :           break;
   11369                 :          12 :         case CFN_BUILT_IN_POWL:
   11370                 :          12 :           if (call_expr_nargs (_p0) == 2)
   11371                 :             :     {
   11372                 :          12 :               tree _q20 = CALL_EXPR_ARG (_p0, 0);
   11373                 :          12 :               tree _q21 = CALL_EXPR_ARG (_p0, 1);
   11374                 :          12 :               switch (TREE_CODE (_q20))
   11375                 :             :                 {
   11376                 :           0 :                 case REAL_CST:
   11377                 :           0 :                   {
   11378                 :           0 :                     switch (TREE_CODE (_p1))
   11379                 :             :                       {
   11380                 :           0 :                       case CALL_EXPR:
   11381                 :           0 :                         switch (get_call_combined_fn (_p1))
   11382                 :             :                           {
   11383                 :           0 :                           case CFN_BUILT_IN_EXP10L:
   11384                 :           0 :                             if (call_expr_nargs (_p1) == 1)
   11385                 :             :     {
   11386                 :           0 :                                 tree _q50 = CALL_EXPR_ARG (_p1, 0);
   11387                 :           0 :                                 {
   11388                 :           0 :                                   tree captures[5] ATTRIBUTE_UNUSED = { _p0, _q20, _q21, _p1, _q50 };
   11389                 :           0 :                                   if (flag_unsafe_math_optimizations
   11390                 :             : )
   11391                 :             :                                     {
   11392                 :           0 :                                       if (real_compare (GT_EXPR, TREE_REAL_CST_PTR (captures[1]), &dconst0)
   11393                 :           0 :  && real_isfinite (TREE_REAL_CST_PTR (captures[1]))
   11394                 :             : )
   11395                 :             :                                         {
   11396                 :           0 :                                           if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail1621;
   11397                 :           0 :                                           {
   11398                 :           0 :                                             tree res_op0;
   11399                 :           0 :                                             {
   11400                 :           0 :                                               tree _o1[2], _r1;
   11401                 :           0 :                                               {
   11402                 :           0 :                                                 tree _o2[2], _r2;
   11403                 :           0 :                                                 {
   11404                 :           0 :                                                   tree _o3[1], _r3;
   11405                 :           0 :                                                   _o3[0] = captures[1];
   11406                 :           0 :                                                   _r3 = maybe_build_call_expr_loc (loc, CFN_BUILT_IN_LOG10L, TREE_TYPE (_o3[0]), 1, _o3[0]);
   11407                 :           0 :                                                   if (!_r3)
   11408                 :           0 :                                                     goto next_after_fail1621;
   11409                 :           0 :                                                   _o2[0] = _r3;
   11410                 :             :                                                 }
   11411                 :           0 :                                                 _o2[1] = captures[2];
   11412                 :           0 :                                                 _r2 = fold_build2_loc (loc, MULT_EXPR, TREE_TYPE (_o2[0]), _o2[0], _o2[1]);
   11413                 :           0 :                                                 _o1[0] = _r2;
   11414                 :             :                                               }
   11415                 :           0 :                                               _o1[1] = captures[4];
   11416                 :           0 :                                               _r1 = fold_build2_loc (loc, PLUS_EXPR, TREE_TYPE (_o1[0]), _o1[0], _o1[1]);
   11417                 :           0 :                                               res_op0 = _r1;
   11418                 :             :                                             }
   11419                 :           0 :                                             tree _r;
   11420                 :           0 :                                             _r = maybe_build_call_expr_loc (loc, CFN_BUILT_IN_EXP10L, type, 1, res_op0);
   11421                 :           0 :                                             if (!_r)
   11422                 :           0 :                                               goto next_after_fail1621;
   11423                 :           0 :                                             if (UNLIKELY (debug_dump)) generic_dump_logs ("match.pd", 994, __FILE__, __LINE__, true);
   11424                 :           0 :                                             return _r;
   11425                 :             :                                           }
   11426                 :           0 : next_after_fail1621:;
   11427                 :             :                                         }
   11428                 :             :                                     }
   11429                 :             :                                 }
   11430                 :             :                               }
   11431                 :             :                             break;
   11432                 :           0 :                           case CFN_BUILT_IN_EXPL:
   11433                 :           0 :                             if (call_expr_nargs (_p1) == 1)
   11434                 :             :     {
   11435                 :           0 :                                 tree _q50 = CALL_EXPR_ARG (_p1, 0);
   11436                 :           0 :                                 {
   11437                 :           0 :                                   tree captures[5] ATTRIBUTE_UNUSED = { _p0, _q20, _q21, _p1, _q50 };
   11438                 :           0 :                                   if (flag_unsafe_math_optimizations
   11439                 :             : )
   11440                 :             :                                     {
   11441                 :           0 :                                       if (real_compare (GT_EXPR, TREE_REAL_CST_PTR (captures[1]), &dconst0)
   11442                 :           0 :  && real_isfinite (TREE_REAL_CST_PTR (captures[1]))
   11443                 :             : )
   11444                 :             :                                         {
   11445                 :           0 :                                           if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail1622;
   11446                 :           0 :                                           {
   11447                 :           0 :                                             tree res_op0;
   11448                 :           0 :                                             {
   11449                 :           0 :                                               tree _o1[2], _r1;
   11450                 :           0 :                                               {
   11451                 :           0 :                                                 tree _o2[2], _r2;
   11452                 :           0 :                                                 {
   11453                 :           0 :                                                   tree _o3[1], _r3;
   11454                 :           0 :                                                   _o3[0] = captures[1];
   11455                 :           0 :                                                   _r3 = maybe_build_call_expr_loc (loc, CFN_BUILT_IN_LOGL, TREE_TYPE (_o3[0]), 1, _o3[0]);
   11456                 :           0 :                                                   if (!_r3)
   11457                 :           0 :                                                     goto next_after_fail1622;
   11458                 :           0 :                                                   _o2[0] = _r3;
   11459                 :             :                                                 }
   11460                 :           0 :                                                 _o2[1] = captures[2];
   11461                 :           0 :                                                 _r2 = fold_build2_loc (loc, MULT_EXPR, TREE_TYPE (_o2[0]), _o2[0], _o2[1]);
   11462                 :           0 :                                                 _o1[0] = _r2;
   11463                 :             :                                               }
   11464                 :           0 :                                               _o1[1] = captures[4];
   11465                 :           0 :                                               _r1 = fold_build2_loc (loc, PLUS_EXPR, TREE_TYPE (_o1[0]), _o1[0], _o1[1]);
   11466                 :           0 :                                               res_op0 = _r1;
   11467                 :             :                                             }
   11468                 :           0 :                                             tree _r;
   11469                 :           0 :                                             _r = maybe_build_call_expr_loc (loc, CFN_BUILT_IN_EXPL, type, 1, res_op0);
   11470                 :           0 :                                             if (!_r)
   11471                 :           0 :                                               goto next_after_fail1622;
   11472                 :           0 :                                             if (UNLIKELY (debug_dump)) generic_dump_logs ("match.pd", 994, __FILE__, __LINE__, true);
   11473                 :           0 :                                             return _r;
   11474                 :             :                                           }
   11475                 :           0 : next_after_fail1622:;
   11476                 :             :                                         }
   11477                 :             :                                     }
   11478                 :             :                                 }
   11479                 :             :                               }
   11480                 :             :                             break;
   11481                 :           0 :                           case CFN_BUILT_IN_POW10L:
   11482                 :           0 :                             if (call_expr_nargs (_p1) == 1)
   11483                 :             :     {
   11484                 :           0 :                                 tree _q50 = CALL_EXPR_ARG (_p1, 0);
   11485                 :           0 :                                 {
   11486                 :           0 :                                   tree captures[5] ATTRIBUTE_UNUSED = { _p0, _q20, _q21, _p1, _q50 };
   11487                 :           0 :                                   if (flag_unsafe_math_optimizations
   11488                 :             : )
   11489                 :             :                                     {
   11490                 :           0 :                                       if (real_compare (GT_EXPR, TREE_REAL_CST_PTR (captures[1]), &dconst0)
   11491                 :           0 :  && real_isfinite (TREE_REAL_CST_PTR (captures[1]))
   11492                 :             : )
   11493                 :             :                                         {
   11494                 :           0 :                                           if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail1623;
   11495                 :           0 :                                           {
   11496                 :           0 :                                             tree res_op0;
   11497                 :           0 :                                             {
   11498                 :           0 :                                               tree _o1[2], _r1;
   11499                 :           0 :                                               {
   11500                 :           0 :                                                 tree _o2[2], _r2;
   11501                 :           0 :                                                 {
   11502                 :           0 :                                                   tree _o3[1], _r3;
   11503                 :           0 :                                                   _o3[0] = captures[1];
   11504                 :           0 :                                                   _r3 = maybe_build_call_expr_loc (loc, CFN_BUILT_IN_LOG10L, TREE_TYPE (_o3[0]), 1, _o3[0]);
   11505                 :           0 :                                                   if (!_r3)
   11506                 :           0 :                                                     goto next_after_fail1623;
   11507                 :           0 :                                                   _o2[0] = _r3;
   11508                 :             :                                                 }
   11509                 :           0 :                                                 _o2[1] = captures[2];
   11510                 :           0 :                                                 _r2 = fold_build2_loc (loc, MULT_EXPR, TREE_TYPE (_o2[0]), _o2[0], _o2[1]);
   11511                 :           0 :                                                 _o1[0] = _r2;
   11512                 :             :                                               }
   11513                 :           0 :                                               _o1[1] = captures[4];
   11514                 :           0 :                                               _r1 = fold_build2_loc (loc, PLUS_EXPR, TREE_TYPE (_o1[0]), _o1[0], _o1[1]);
   11515                 :           0 :                                               res_op0 = _r1;
   11516                 :             :                                             }
   11517                 :           0 :                                             tree _r;
   11518                 :           0 :                                             _r = maybe_build_call_expr_loc (loc, CFN_BUILT_IN_POW10L, type, 1, res_op0);
   11519                 :           0 :                                             if (!_r)
   11520                 :           0 :                                               goto next_after_fail1623;
   11521                 :           0 :                                             if (UNLIKELY (debug_dump)) generic_dump_logs ("match.pd", 994, __FILE__, __LINE__, true);
   11522                 :           0 :                                             return _r;
   11523                 :             :                                           }
   11524                 :           0 : next_after_fail1623:;
   11525                 :             :                                         }
   11526                 :             :                                     }
   11527                 :             :                                 }
   11528                 :             :                               }
   11529                 :             :                             break;
   11530                 :           0 :                           case CFN_BUILT_IN_EXP2L:
   11531                 :           0 :                             if (call_expr_nargs (_p1) == 1)
   11532                 :             :     {
   11533                 :           0 :                                 tree _q50 = CALL_EXPR_ARG (_p1, 0);
   11534                 :           0 :                                 {
   11535                 :           0 :                                   tree captures[5] ATTRIBUTE_UNUSED = { _p0, _q20, _q21, _p1, _q50 };
   11536                 :           0 :                                   if (flag_unsafe_math_optimizations
   11537                 :             : )
   11538                 :             :                                     {
   11539                 :           0 :                                       if (real_compare (GT_EXPR, TREE_REAL_CST_PTR (captures[1]), &dconst0)
   11540                 :           0 :  && real_isfinite (TREE_REAL_CST_PTR (captures[1]))
   11541                 :             : )
   11542                 :             :                                         {
   11543                 :           0 :                                           if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail1624;
   11544                 :           0 :                                           {
   11545                 :           0 :                                             tree res_op0;
   11546                 :           0 :                                             {
   11547                 :           0 :                                               tree _o1[2], _r1;
   11548                 :           0 :                                               {
   11549                 :           0 :                                                 tree _o2[2], _r2;
   11550                 :           0 :                                                 {
   11551                 :           0 :                                                   tree _o3[1], _r3;
   11552                 :           0 :                                                   _o3[0] = captures[1];
   11553                 :           0 :                                                   _r3 = maybe_build_call_expr_loc (loc, CFN_BUILT_IN_LOG2L, TREE_TYPE (_o3[0]), 1, _o3[0]);
   11554                 :           0 :                                                   if (!_r3)
   11555                 :           0 :                                                     goto next_after_fail1624;
   11556                 :           0 :                                                   _o2[0] = _r3;
   11557                 :             :                                                 }
   11558                 :           0 :                                                 _o2[1] = captures[2];
   11559                 :           0 :                                                 _r2 = fold_build2_loc (loc, MULT_EXPR, TREE_TYPE (_o2[0]), _o2[0], _o2[1]);
   11560                 :           0 :                                                 _o1[0] = _r2;
   11561                 :             :                                               }
   11562                 :           0 :                                               _o1[1] = captures[4];
   11563                 :           0 :                                               _r1 = fold_build2_loc (loc, PLUS_EXPR, TREE_TYPE (_o1[0]), _o1[0], _o1[1]);
   11564                 :           0 :                                               res_op0 = _r1;
   11565                 :             :                                             }
   11566                 :           0 :                                             tree _r;
   11567                 :           0 :                                             _r = maybe_build_call_expr_loc (loc, CFN_BUILT_IN_EXP2L, type, 1, res_op0);
   11568                 :           0 :                                             if (!_r)
   11569                 :           0 :                                               goto next_after_fail1624;
   11570                 :           0 :                                             if (UNLIKELY (debug_dump)) generic_dump_logs ("match.pd", 994, __FILE__, __LINE__, true);
   11571                 :           0 :                                             return _r;
   11572                 :             :                                           }
   11573                 :           0 : next_after_fail1624:;
   11574                 :             :                                         }
   11575                 :             :                                     }
   11576                 :             :                                 }
   11577                 :             :                               }
   11578                 :             :                             break;
   11579                 :             :                           default:;
   11580                 :             :                           }
   11581                 :             :                         break;
   11582                 :             :                       default:;
   11583                 :             :                       }
   11584                 :             :                     break;
   11585                 :             :                   }
   11586                 :          12 :                 default:;
   11587                 :             :                 }
   11588                 :          12 :               switch (TREE_CODE (_q21))
   11589                 :             :                 {
   11590                 :           0 :                 case REAL_CST:
   11591                 :           0 :                   {
   11592                 :           0 :                     if ((_p1 == _q20 && ! TREE_SIDE_EFFECTS (_p1)) || (operand_equal_p (_p1, _q20, 0) && types_match (_p1, _q20)))
   11593                 :             :                       {
   11594                 :           0 :                         {
   11595                 :           0 :                           tree captures[3] ATTRIBUTE_UNUSED = { _q20, _p0, _q21 };
   11596                 :           0 :                           tree res = generic_simplify_194 (loc, type, _p0, _p1, captures, CFN_BUILT_IN_POWL);
   11597                 :           0 :                           if (res) return res;
   11598                 :             :                         }
   11599                 :             :                       }
   11600                 :             :                     break;
   11601                 :             :                   }
   11602                 :             :                 default:;
   11603                 :             :                 }
   11604                 :             :             }
   11605                 :             :           break;
   11606                 :       20372 :         case CFN_BUILT_IN_SQRT:
   11607                 :       20372 :           if (call_expr_nargs (_p0) == 1)
   11608                 :             :     {
   11609                 :       20372 :               tree _q20 = CALL_EXPR_ARG (_p0, 0);
   11610                 :       20372 :               if ((_p1 == _p0 && ! TREE_SIDE_EFFECTS (_p1)) || (operand_equal_p (_p1, _p0, 0) && types_match (_p1, _p0)))
   11611                 :             :                 {
   11612                 :           2 :                   {
   11613                 :           2 :                     tree captures[2] ATTRIBUTE_UNUSED = { _p0, _q20 };
   11614                 :           2 :                     tree res = generic_simplify_193 (loc, type, _p0, _p1, captures, CFN_BUILT_IN_SQRT);
   11615                 :           2 :                     if (res) return res;
   11616                 :             :                   }
   11617                 :             :                 }
   11618                 :       20370 :               switch (TREE_CODE (_p1))
   11619                 :             :                 {
   11620                 :         100 :                 case CALL_EXPR:
   11621                 :         100 :                   switch (get_call_combined_fn (_p1))
   11622                 :             :                     {
   11623                 :          37 :                     case CFN_BUILT_IN_SQRT:
   11624                 :          37 :                       if (call_expr_nargs (_p1) == 1)
   11625                 :             :     {
   11626                 :          37 :                           tree _q40 = CALL_EXPR_ARG (_p1, 0);
   11627                 :          37 :                           {
   11628                 :          37 :                             tree captures[4] ATTRIBUTE_UNUSED = { _p0, _q20, _p1, _q40 };
   11629                 :          37 :                             if (flag_unsafe_math_optimizations
   11630                 :             : )
   11631                 :             :                               {
   11632                 :          15 :                                 if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail1625;
   11633                 :          15 :                                 {
   11634                 :          15 :                                   tree res_op0;
   11635                 :          15 :                                   {
   11636                 :          15 :                                     tree _o1[2], _r1;
   11637                 :          15 :                                     _o1[0] = captures[1];
   11638                 :          15 :                                     _o1[1] = captures[3];
   11639                 :          15 :                                     _r1 = fold_build2_loc (loc, MULT_EXPR, TREE_TYPE (_o1[0]), _o1[0], _o1[1]);
   11640                 :          15 :                                     res_op0 = _r1;
   11641                 :             :                                   }
   11642                 :          15 :                                   tree _r;
   11643                 :          15 :                                   _r = maybe_build_call_expr_loc (loc, CFN_BUILT_IN_SQRT, type, 1, res_op0);
   11644                 :          15 :                                   if (!_r)
   11645                 :           0 :                                     goto next_after_fail1625;
   11646                 :          15 :                                   if (UNLIKELY (debug_dump)) generic_dump_logs ("match.pd", 992, __FILE__, __LINE__, true);
   11647                 :          15 :                                   return _r;
   11648                 :             :                                 }
   11649                 :          22 : next_after_fail1625:;
   11650                 :             :                               }
   11651                 :             :                           }
   11652                 :             :                         }
   11653                 :             :                       break;
   11654                 :             :                     default:;
   11655                 :             :                     }
   11656                 :             :                   break;
   11657                 :             :                 default:;
   11658                 :             :                 }
   11659                 :             :             }
   11660                 :             :           break;
   11661                 :           5 :         case CFN_BUILT_IN_LDEXPF:
   11662                 :           5 :           if (call_expr_nargs (_p0) == 2)
   11663                 :             :     {
   11664                 :           5 :               tree _q20 = CALL_EXPR_ARG (_p0, 0);
   11665                 :           5 :               tree _q21 = CALL_EXPR_ARG (_p0, 1);
   11666                 :           5 :               switch (TREE_CODE (_p1))
   11667                 :             :                 {
   11668                 :           2 :                 case REAL_CST:
   11669                 :           2 :                   {
   11670                 :           2 :                     {
   11671                 :           2 :                       tree captures[3] ATTRIBUTE_UNUSED = { _p1, _q20, _q21 };
   11672                 :           2 :                       tree res = generic_simplify_195 (loc, type, _p0, _p1, captures, CFN_BUILT_IN_LDEXPF);
   11673                 :           2 :                       if (res) return res;
   11674                 :             :                     }
   11675                 :           1 :                     break;
   11676                 :             :                   }
   11677                 :           4 :                 default:;
   11678                 :             :                 }
   11679                 :           4 :               switch (TREE_CODE (_q20))
   11680                 :             :                 {
   11681                 :           3 :                 case REAL_CST:
   11682                 :           3 :                   {
   11683                 :           3 :                     {
   11684                 :           3 :                       tree captures[3] ATTRIBUTE_UNUSED = { _p1, _q20, _q21 };
   11685                 :           3 :                       tree res = generic_simplify_196 (loc, type, _p0, _p1, captures, CFN_BUILT_IN_LDEXPF);
   11686                 :           3 :                       if (res) return res;
   11687                 :             :                     }
   11688                 :           0 :                     break;
   11689                 :             :                   }
   11690                 :             :                 default:;
   11691                 :             :                 }
   11692                 :             :             }
   11693                 :             :           break;
   11694                 :           5 :         case CFN_BUILT_IN_LDEXPL:
   11695                 :           5 :           if (call_expr_nargs (_p0) == 2)
   11696                 :             :     {
   11697                 :           5 :               tree _q20 = CALL_EXPR_ARG (_p0, 0);
   11698                 :           5 :               tree _q21 = CALL_EXPR_ARG (_p0, 1);
   11699                 :           5 :               switch (TREE_CODE (_p1))
   11700                 :             :                 {
   11701                 :           2 :                 case REAL_CST:
   11702                 :           2 :                   {
   11703                 :           2 :                     {
   11704                 :           2 :                       tree captures[3] ATTRIBUTE_UNUSED = { _p1, _q20, _q21 };
   11705                 :           2 :                       tree res = generic_simplify_195 (loc, type, _p0, _p1, captures, CFN_BUILT_IN_LDEXPL);
   11706                 :           2 :                       if (res) return res;
   11707                 :             :                     }
   11708                 :           1 :                     break;
   11709                 :             :                   }
   11710                 :           4 :                 default:;
   11711                 :             :                 }
   11712                 :           4 :               switch (TREE_CODE (_q20))
   11713                 :             :                 {
   11714                 :           3 :                 case REAL_CST:
   11715                 :           3 :                   {
   11716                 :           3 :                     {
   11717                 :           3 :                       tree captures[3] ATTRIBUTE_UNUSED = { _p1, _q20, _q21 };
   11718                 :           3 :                       tree res = generic_simplify_196 (loc, type, _p0, _p1, captures, CFN_BUILT_IN_LDEXPL);
   11719                 :           3 :                       if (res) return res;
   11720                 :             :                     }
   11721                 :           0 :                     break;
   11722                 :             :                   }
   11723                 :             :                 default:;
   11724                 :             :                 }
   11725                 :             :             }
   11726                 :             :           break;
   11727                 :           4 :         case CFN_BUILT_IN_SQRTF128:
   11728                 :           4 :           if (call_expr_nargs (_p0) == 1)
   11729                 :             :     {
   11730                 :           4 :               tree _q20 = CALL_EXPR_ARG (_p0, 0);
   11731                 :           4 :               if ((_p1 == _p0 && ! TREE_SIDE_EFFECTS (_p1)) || (operand_equal_p (_p1, _p0, 0) && types_match (_p1, _p0)))
   11732                 :             :                 {
   11733                 :           0 :                   {
   11734                 :           0 :                     tree captures[2] ATTRIBUTE_UNUSED = { _p0, _q20 };
   11735                 :           0 :                     tree res = generic_simplify_193 (loc, type, _p0, _p1, captures, CFN_BUILT_IN_SQRTF128);
   11736                 :           0 :                     if (res) return res;
   11737                 :             :                   }
   11738                 :             :                 }
   11739                 :             :             }
   11740                 :             :           break;
   11741                 :           0 :         case CFN_BUILT_IN_SQRTF32X:
   11742                 :           0 :           if (call_expr_nargs (_p0) == 1)
   11743                 :             :     {
   11744                 :           0 :               tree _q20 = CALL_EXPR_ARG (_p0, 0);
   11745                 :           0 :               if ((_p1 == _p0 && ! TREE_SIDE_EFFECTS (_p1)) || (operand_equal_p (_p1, _p0, 0) && types_match (_p1, _p0)))
   11746                 :             :                 {
   11747                 :           0 :                   {
   11748                 :           0 :                     tree captures[2] ATTRIBUTE_UNUSED = { _p0, _q20 };
   11749                 :           0 :                     tree res = generic_simplify_193 (loc, type, _p0, _p1, captures, CFN_BUILT_IN_SQRTF32X);
   11750                 :           0 :                     if (res) return res;
   11751                 :             :                   }
   11752                 :             :                 }
   11753                 :             :             }
   11754                 :             :           break;
   11755                 :           0 :         case CFN_BUILT_IN_SQRTF64X:
   11756                 :           0 :           if (call_expr_nargs (_p0) == 1)
   11757                 :             :     {
   11758                 :           0 :               tree _q20 = CALL_EXPR_ARG (_p0, 0);
   11759                 :           0 :               if ((_p1 == _p0 && ! TREE_SIDE_EFFECTS (_p1)) || (operand_equal_p (_p1, _p0, 0) && types_match (_p1, _p0)))
   11760                 :             :                 {
   11761                 :           0 :                   {
   11762                 :           0 :                     tree captures[2] ATTRIBUTE_UNUSED = { _p0, _q20 };
   11763                 :           0 :                     tree res = generic_simplify_193 (loc, type, _p0, _p1, captures, CFN_BUILT_IN_SQRTF64X);
   11764                 :           0 :                     if (res) return res;
   11765                 :             :                   }
   11766                 :             :                 }
   11767                 :             :             }
   11768                 :             :           break;
   11769                 :           0 :         case CFN_BUILT_IN_SQRTF16:
   11770                 :           0 :           if (call_expr_nargs (_p0) == 1)
   11771                 :             :     {
   11772                 :           0 :               tree _q20 = CALL_EXPR_ARG (_p0, 0);
   11773                 :           0 :               if ((_p1 == _p0 && ! TREE_SIDE_EFFECTS (_p1)) || (operand_equal_p (_p1, _p0, 0) && types_match (_p1, _p0)))
   11774                 :             :                 {
   11775                 :           0 :                   {
   11776                 :           0 :                     tree captures[2] ATTRIBUTE_UNUSED = { _p0, _q20 };
   11777                 :           0 :                     tree res = generic_simplify_193 (loc, type, _p0, _p1, captures, CFN_BUILT_IN_SQRTF16);
   11778                 :           0 :                     if (res) return res;
   11779                 :             :                   }
   11780                 :             :                 }
   11781                 :             :             }
   11782                 :             :           break;
   11783                 :           0 :         case CFN_BUILT_IN_SQRTF32:
   11784                 :           0 :           if (call_expr_nargs (_p0) == 1)
   11785                 :             :     {
   11786                 :           0 :               tree _q20 = CALL_EXPR_ARG (_p0, 0);
   11787                 :           0 :               if ((_p1 == _p0 && ! TREE_SIDE_EFFECTS (_p1)) || (operand_equal_p (_p1, _p0, 0) && types_match (_p1, _p0)))
   11788                 :             :                 {
   11789                 :           0 :                   {
   11790                 :           0 :                     tree captures[2] ATTRIBUTE_UNUSED = { _p0, _q20 };
   11791                 :           0 :                     tree res = generic_simplify_193 (loc, type, _p0, _p1, captures, CFN_BUILT_IN_SQRTF32);
   11792                 :           0 :                     if (res) return res;
   11793                 :             :                   }
   11794                 :             :                 }
   11795                 :             :             }
   11796                 :             :           break;
   11797                 :           0 :         case CFN_BUILT_IN_SQRTF64:
   11798                 :           0 :           if (call_expr_nargs (_p0) == 1)
   11799                 :             :     {
   11800                 :           0 :               tree _q20 = CALL_EXPR_ARG (_p0, 0);
   11801                 :           0 :               if ((_p1 == _p0 && ! TREE_SIDE_EFFECTS (_p1)) || (operand_equal_p (_p1, _p0, 0) && types_match (_p1, _p0)))
   11802                 :             :                 {
   11803                 :           0 :                   {
   11804                 :           0 :                     tree captures[2] ATTRIBUTE_UNUSED = { _p0, _q20 };
   11805                 :           0 :                     tree res = generic_simplify_193 (loc, type, _p0, _p1, captures, CFN_BUILT_IN_SQRTF64);
   11806                 :           0 :                     if (res) return res;
   11807                 :             :                   }
   11808                 :             :                 }
   11809                 :             :             }
   11810                 :             :           break;
   11811                 :           0 :         case CFN_EXP:
   11812                 :           0 :           if (call_expr_nargs (_p0) == 1)
   11813                 :             :     {
   11814                 :           0 :               tree _q20 = CALL_EXPR_ARG (_p0, 0);
   11815                 :           0 :               switch (TREE_CODE (_p1))
   11816                 :             :                 {
   11817                 :           0 :                 case CALL_EXPR:
   11818                 :           0 :                   switch (get_call_combined_fn (_p1))
   11819                 :             :                     {
   11820                 :           0 :                     case CFN_EXP:
   11821                 :           0 :                       if (call_expr_nargs (_p1) == 1)
   11822                 :             :     {
   11823                 :           0 :                           tree _q40 = CALL_EXPR_ARG (_p1, 0);
   11824                 :           0 :                           {
   11825                 :           0 :                             tree captures[4] ATTRIBUTE_UNUSED = { _p0, _q20, _p1, _q40 };
   11826                 :           0 :                             if (flag_unsafe_math_optimizations
   11827                 :             : )
   11828                 :             :                               {
   11829                 :           0 :                                 if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail1626;
   11830                 :           0 :                                 {
   11831                 :           0 :                                   tree res_op0;
   11832                 :           0 :                                   {
   11833                 :           0 :                                     tree _o1[2], _r1;
   11834                 :           0 :                                     _o1[0] = captures[1];
   11835                 :           0 :                                     _o1[1] = captures[3];
   11836                 :           0 :                                     _r1 = fold_build2_loc (loc, PLUS_EXPR, TREE_TYPE (_o1[0]), _o1[0], _o1[1]);
   11837                 :           0 :                                     res_op0 = _r1;
   11838                 :             :                                   }
   11839                 :           0 :                                   tree _r;
   11840                 :           0 :                                   _r = maybe_build_call_expr_loc (loc, CFN_EXP, type, 1, res_op0);
   11841                 :           0 :                                   if (!_r)
   11842                 :           0 :                                     goto next_after_fail1626;
   11843                 :           0 :                                   if (UNLIKELY (debug_dump)) generic_dump_logs ("match.pd", 993, __FILE__, __LINE__, true);
   11844                 :           0 :                                   return _r;
   11845                 :             :                                 }
   11846                 :           0 : next_after_fail1626:;
   11847                 :             :                               }
   11848                 :             :                           }
   11849                 :             :                         }
   11850                 :             :                       break;
   11851                 :           0 :                     case CFN_POW:
   11852                 :           0 :                       if (call_expr_nargs (_p1) == 2)
   11853                 :             :     {
   11854                 :           0 :                           tree _q40 = CALL_EXPR_ARG (_p1, 0);
   11855                 :           0 :                           tree _q41 = CALL_EXPR_ARG (_p1, 1);
   11856                 :           0 :                           switch (TREE_CODE (_q40))
   11857                 :             :                             {
   11858                 :           0 :                             case REAL_CST:
   11859                 :           0 :                               {
   11860                 :           0 :                                 {
   11861                 :           0 :                                   tree captures[5] ATTRIBUTE_UNUSED = { _p1, _q40, _q41, _p0, _q20 };
   11862                 :           0 :                                   if (flag_unsafe_math_optimizations
   11863                 :             : )
   11864                 :             :                                     {
   11865                 :           0 :                                       if (real_compare (GT_EXPR, TREE_REAL_CST_PTR (captures[1]), &dconst0)
   11866                 :           0 :  && real_isfinite (TREE_REAL_CST_PTR (captures[1]))
   11867                 :             : )
   11868                 :             :                                         {
   11869                 :           0 :                                           if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail1627;
   11870                 :           0 :                                           {
   11871                 :           0 :                                             tree res_op0;
   11872                 :           0 :                                             {
   11873                 :           0 :                                               tree _o1[2], _r1;
   11874                 :           0 :                                               {
   11875                 :           0 :                                                 tree _o2[2], _r2;
   11876                 :           0 :                                                 {
   11877                 :           0 :                                                   tree _o3[1], _r3;
   11878                 :           0 :                                                   _o3[0] = captures[1];
   11879                 :           0 :                                                   _r3 = maybe_build_call_expr_loc (loc, CFN_LOG, TREE_TYPE (_o3[0]), 1, _o3[0]);
   11880                 :           0 :                                                   if (!_r3)
   11881                 :           0 :                                                     goto next_after_fail1627;
   11882                 :           0 :                                                   _o2[0] = _r3;
   11883                 :             :                                                 }
   11884                 :           0 :                                                 _o2[1] = captures[2];
   11885                 :           0 :                                                 _r2 = fold_build2_loc (loc, MULT_EXPR, TREE_TYPE (_o2[0]), _o2[0], _o2[1]);
   11886                 :           0 :                                                 _o1[0] = _r2;
   11887                 :             :                                               }
   11888                 :           0 :                                               _o1[1] = captures[4];
   11889                 :           0 :                                               _r1 = fold_build2_loc (loc, PLUS_EXPR, TREE_TYPE (_o1[0]), _o1[0], _o1[1]);
   11890                 :           0 :                                               res_op0 = _r1;
   11891                 :             :                                             }
   11892                 :           0 :                                             tree _r;
   11893                 :           0 :                                             _r = maybe_build_call_expr_loc (loc, CFN_EXP, type, 1, res_op0);
   11894                 :           0 :                                             if (!_r)
   11895                 :           0 :                                               goto next_after_fail1627;
   11896                 :           0 :                                             if (UNLIKELY (debug_dump)) generic_dump_logs ("match.pd", 994, __FILE__, __LINE__, true);
   11897                 :           0 :                                             return _r;
   11898                 :             :                                           }
   11899                 :           0 : next_after_fail1627:;
   11900                 :             :                                         }
   11901                 :             :                                     }
   11902                 :             :                                 }
   11903                 :           0 :                                 break;
   11904                 :             :                               }
   11905                 :             :                             default:;
   11906                 :             :                             }
   11907                 :             :                         }
   11908                 :             :                       break;
   11909                 :             :                     default:;
   11910                 :             :                     }
   11911                 :             :                   break;
   11912                 :             :                 default:;
   11913                 :             :                 }
   11914                 :             :             }
   11915                 :             :           break;
   11916                 :           0 :         case CFN_POW:
   11917                 :           0 :           if (call_expr_nargs (_p0) == 2)
   11918                 :             :     {
   11919                 :           0 :               tree _q20 = CALL_EXPR_ARG (_p0, 0);
   11920                 :           0 :               tree _q21 = CALL_EXPR_ARG (_p0, 1);
   11921                 :           0 :               switch (TREE_CODE (_q20))
   11922                 :             :                 {
   11923                 :           0 :                 case REAL_CST:
   11924                 :           0 :                   {
   11925                 :           0 :                     switch (TREE_CODE (_p1))
   11926                 :             :                       {
   11927                 :           0 :                       case CALL_EXPR:
   11928                 :           0 :                         switch (get_call_combined_fn (_p1))
   11929                 :             :                           {
   11930                 :           0 :                           case CFN_EXP:
   11931                 :           0 :                             if (call_expr_nargs (_p1) == 1)
   11932                 :             :     {
   11933                 :           0 :                                 tree _q50 = CALL_EXPR_ARG (_p1, 0);
   11934                 :           0 :                                 {
   11935                 :           0 :                                   tree captures[5] ATTRIBUTE_UNUSED = { _p0, _q20, _q21, _p1, _q50 };
   11936                 :           0 :                                   if (flag_unsafe_math_optimizations
   11937                 :             : )
   11938                 :             :                                     {
   11939                 :           0 :                                       if (real_compare (GT_EXPR, TREE_REAL_CST_PTR (captures[1]), &dconst0)
   11940                 :           0 :  && real_isfinite (TREE_REAL_CST_PTR (captures[1]))
   11941                 :             : )
   11942                 :             :                                         {
   11943                 :           0 :                                           if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail1628;
   11944                 :           0 :                                           {
   11945                 :           0 :                                             tree res_op0;
   11946                 :           0 :                                             {
   11947                 :           0 :                                               tree _o1[2], _r1;
   11948                 :           0 :                                               {
   11949                 :           0 :                                                 tree _o2[2], _r2;
   11950                 :           0 :                                                 {
   11951                 :           0 :                                                   tree _o3[1], _r3;
   11952                 :           0 :                                                   _o3[0] = captures[1];
   11953                 :           0 :                                                   _r3 = maybe_build_call_expr_loc (loc, CFN_LOG, TREE_TYPE (_o3[0]), 1, _o3[0]);
   11954                 :           0 :                                                   if (!_r3)
   11955                 :           0 :                                                     goto next_after_fail1628;
   11956                 :           0 :                                                   _o2[0] = _r3;
   11957                 :             :                                                 }
   11958                 :           0 :                                                 _o2[1] = captures[2];
   11959                 :           0 :                                                 _r2 = fold_build2_loc (loc, MULT_EXPR, TREE_TYPE (_o2[0]), _o2[0], _o2[1]);
   11960                 :           0 :                                                 _o1[0] = _r2;
   11961                 :             :                                               }
   11962                 :           0 :                                               _o1[1] = captures[4];
   11963                 :           0 :                                               _r1 = fold_build2_loc (loc, PLUS_EXPR, TREE_TYPE (_o1[0]), _o1[0], _o1[1]);
   11964                 :           0 :                                               res_op0 = _r1;
   11965                 :             :                                             }
   11966                 :           0 :                                             tree _r;
   11967                 :           0 :                                             _r = maybe_build_call_expr_loc (loc, CFN_EXP, type, 1, res_op0);
   11968                 :           0 :                                             if (!_r)
   11969                 :           0 :                                               goto next_after_fail1628;
   11970                 :           0 :                                             if (UNLIKELY (debug_dump)) generic_dump_logs ("match.pd", 994, __FILE__, __LINE__, true);
   11971                 :           0 :                                             return _r;
   11972                 :             :                                           }
   11973                 :           0 : next_after_fail1628:;
   11974                 :             :                                         }
   11975                 :             :                                     }
   11976                 :             :                                 }
   11977                 :             :                               }
   11978                 :             :                             break;
   11979                 :           0 :                           case CFN_EXP2:
   11980                 :           0 :                             if (call_expr_nargs (_p1) == 1)
   11981                 :             :     {
   11982                 :           0 :                                 tree _q50 = CALL_EXPR_ARG (_p1, 0);
   11983                 :           0 :                                 {
   11984                 :           0 :                                   tree captures[5] ATTRIBUTE_UNUSED = { _p0, _q20, _q21, _p1, _q50 };
   11985                 :           0 :                                   if (flag_unsafe_math_optimizations
   11986                 :             : )
   11987                 :             :                                     {
   11988                 :           0 :                                       if (real_compare (GT_EXPR, TREE_REAL_CST_PTR (captures[1]), &dconst0)
   11989                 :           0 :  && real_isfinite (TREE_REAL_CST_PTR (captures[1]))
   11990                 :             : )
   11991                 :             :                                         {
   11992                 :           0 :                                           if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail1629;
   11993                 :           0 :                                           {
   11994                 :           0 :                                             tree res_op0;
   11995                 :           0 :                                             {
   11996                 :           0 :                                               tree _o1[2], _r1;
   11997                 :           0 :                                               {
   11998                 :           0 :                                                 tree _o2[2], _r2;
   11999                 :           0 :                                                 {
   12000                 :           0 :                                                   tree _o3[1], _r3;
   12001                 :           0 :                                                   _o3[0] = captures[1];
   12002                 :           0 :                                                   _r3 = maybe_build_call_expr_loc (loc, CFN_LOG2, TREE_TYPE (_o3[0]), 1, _o3[0]);
   12003                 :           0 :                                                   if (!_r3)
   12004                 :           0 :                                                     goto next_after_fail1629;
   12005                 :           0 :                                                   _o2[0] = _r3;
   12006                 :             :                                                 }
   12007                 :           0 :                                                 _o2[1] = captures[2];
   12008                 :           0 :                                                 _r2 = fold_build2_loc (loc, MULT_EXPR, TREE_TYPE (_o2[0]), _o2[0], _o2[1]);
   12009                 :           0 :                                                 _o1[0] = _r2;
   12010                 :             :                                               }
   12011                 :           0 :                                               _o1[1] = captures[4];
   12012                 :           0 :                                               _r1 = fold_build2_loc (loc, PLUS_EXPR, TREE_TYPE (_o1[0]), _o1[0], _o1[1]);
   12013                 :           0 :                                               res_op0 = _r1;
   12014                 :             :                                             }
   12015                 :           0 :                                             tree _r;
   12016                 :           0 :                                             _r = maybe_build_call_expr_loc (loc, CFN_EXP2, type, 1, res_op0);
   12017                 :           0 :                                             if (!_r)
   12018                 :           0 :                                               goto next_after_fail1629;
   12019                 :           0 :                                             if (UNLIKELY (debug_dump)) generic_dump_logs ("match.pd", 994, __FILE__, __LINE__, true);
   12020                 :           0 :                                             return _r;
   12021                 :             :                                           }
   12022                 :           0 : next_after_fail1629:;
   12023                 :             :                                         }
   12024                 :             :                                     }
   12025                 :             :                                 }
   12026                 :             :                               }
   12027                 :             :                             break;
   12028                 :           0 :                           case CFN_EXP10:
   12029                 :           0 :                             if (call_expr_nargs (_p1) == 1)
   12030                 :             :     {
   12031                 :           0 :                                 tree _q50 = CALL_EXPR_ARG (_p1, 0);
   12032                 :           0 :                                 {
   12033                 :           0 :                                   tree captures[5] ATTRIBUTE_UNUSED = { _p0, _q20, _q21, _p1, _q50 };
   12034                 :           0 :                                   if (flag_unsafe_math_optimizations
   12035                 :             : )
   12036                 :             :                                     {
   12037                 :           0 :                                       if (real_compare (GT_EXPR, TREE_REAL_CST_PTR (captures[1]), &dconst0)
   12038                 :           0 :  && real_isfinite (TREE_REAL_CST_PTR (captures[1]))
   12039                 :             : )
   12040                 :             :                                         {
   12041                 :           0 :                                           if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail1630;
   12042                 :           0 :                                           {
   12043                 :           0 :                                             tree res_op0;
   12044                 :           0 :                                             {
   12045                 :           0 :                                               tree _o1[2], _r1;
   12046                 :           0 :                                               {
   12047                 :           0 :                                                 tree _o2[2], _r2;
   12048                 :           0 :                                                 {
   12049                 :           0 :                                                   tree _o3[1], _r3;
   12050                 :           0 :                                                   _o3[0] = captures[1];
   12051                 :           0 :                                                   _r3 = maybe_build_call_expr_loc (loc, CFN_LOG10, TREE_TYPE (_o3[0]), 1, _o3[0]);
   12052                 :           0 :                                                   if (!_r3)
   12053                 :           0 :                                                     goto next_after_fail1630;
   12054                 :           0 :                                                   _o2[0] = _r3;
   12055                 :             :                                                 }
   12056                 :           0 :                                                 _o2[1] = captures[2];
   12057                 :           0 :                                                 _r2 = fold_build2_loc (loc, MULT_EXPR, TREE_TYPE (_o2[0]), _o2[0], _o2[1]);
   12058                 :           0 :                                                 _o1[0] = _r2;
   12059                 :             :                                               }
   12060                 :           0 :                                               _o1[1] = captures[4];
   12061                 :           0 :                                               _r1 = fold_build2_loc (loc, PLUS_EXPR, TREE_TYPE (_o1[0]), _o1[0], _o1[1]);
   12062                 :           0 :                                               res_op0 = _r1;
   12063                 :             :                                             }
   12064                 :           0 :                                             tree _r;
   12065                 :           0 :                                             _r = maybe_build_call_expr_loc (loc, CFN_EXP10, type, 1, res_op0);
   12066                 :           0 :                                             if (!_r)
   12067                 :           0 :                                               goto next_after_fail1630;
   12068                 :           0 :                                             if (UNLIKELY (debug_dump)) generic_dump_logs ("match.pd", 994, __FILE__, __LINE__, true);
   12069                 :           0 :                                             return _r;
   12070                 :             :                                           }
   12071                 :           0 : next_after_fail1630:;
   12072                 :             :                                         }
   12073                 :             :                                     }
   12074                 :             :                                 }
   12075                 :             :                               }
   12076                 :             :                             break;
   12077                 :             :                           default:;
   12078                 :             :                           }
   12079                 :             :                         break;
   12080                 :             :                       default:;
   12081                 :             :                       }
   12082                 :             :                     break;
   12083                 :             :                   }
   12084                 :           0 :                 default:;
   12085                 :             :                 }
   12086                 :           0 :               switch (TREE_CODE (_q21))
   12087                 :             :                 {
   12088                 :           0 :                 case REAL_CST:
   12089                 :           0 :                   {
   12090                 :           0 :                     if ((_p1 == _q20 && ! TREE_SIDE_EFFECTS (_p1)) || (operand_equal_p (_p1, _q20, 0) && types_match (_p1, _q20)))
   12091                 :             :                       {
   12092                 :           0 :                         {
   12093                 :           0 :                           tree captures[3] ATTRIBUTE_UNUSED = { _q20, _p0, _q21 };
   12094                 :           0 :                           tree res = generic_simplify_194 (loc, type, _p0, _p1, captures, CFN_POW);
   12095                 :           0 :                           if (res) return res;
   12096                 :             :                         }
   12097                 :             :                       }
   12098                 :             :                     break;
   12099                 :             :                   }
   12100                 :             :                 default:;
   12101                 :             :                 }
   12102                 :             :             }
   12103                 :             :           break;
   12104                 :          24 :         case CFN_BUILT_IN_POW10F:
   12105                 :          24 :           if (call_expr_nargs (_p0) == 1)
   12106                 :             :     {
   12107                 :          24 :               tree _q20 = CALL_EXPR_ARG (_p0, 0);
   12108                 :          24 :               switch (TREE_CODE (_p1))
   12109                 :             :                 {
   12110                 :          12 :                 case CALL_EXPR:
   12111                 :          12 :                   switch (get_call_combined_fn (_p1))
   12112                 :             :                     {
   12113                 :           0 :                     case CFN_BUILT_IN_POWF:
   12114                 :           0 :                       if (call_expr_nargs (_p1) == 2)
   12115                 :             :     {
   12116                 :           0 :                           tree _q40 = CALL_EXPR_ARG (_p1, 0);
   12117                 :           0 :                           tree _q41 = CALL_EXPR_ARG (_p1, 1);
   12118                 :           0 :                           switch (TREE_CODE (_q40))
   12119                 :             :                             {
   12120                 :           0 :                             case REAL_CST:
   12121                 :           0 :                               {
   12122                 :           0 :                                 {
   12123                 :           0 :                                   tree captures[5] ATTRIBUTE_UNUSED = { _p1, _q40, _q41, _p0, _q20 };
   12124                 :           0 :                                   if (flag_unsafe_math_optimizations
   12125                 :             : )
   12126                 :             :                                     {
   12127                 :           0 :                                       if (real_compare (GT_EXPR, TREE_REAL_CST_PTR (captures[1]), &dconst0)
   12128                 :           0 :  && real_isfinite (TREE_REAL_CST_PTR (captures[1]))
   12129                 :             : )
   12130                 :             :                                         {
   12131                 :           0 :                                           if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail1631;
   12132                 :           0 :                                           {
   12133                 :           0 :                                             tree res_op0;
   12134                 :           0 :                                             {
   12135                 :           0 :                                               tree _o1[2], _r1;
   12136                 :           0 :                                               {
   12137                 :           0 :                                                 tree _o2[2], _r2;
   12138                 :           0 :                                                 {
   12139                 :           0 :                                                   tree _o3[1], _r3;
   12140                 :           0 :                                                   _o3[0] = captures[1];
   12141                 :           0 :                                                   _r3 = maybe_build_call_expr_loc (loc, CFN_BUILT_IN_LOG10F, TREE_TYPE (_o3[0]), 1, _o3[0]);
   12142                 :           0 :                                                   if (!_r3)
   12143                 :           0 :                                                     goto next_after_fail1631;
   12144                 :           0 :                                                   _o2[0] = _r3;
   12145                 :             :                                                 }
   12146                 :           0 :                                                 _o2[1] = captures[2];
   12147                 :           0 :                                                 _r2 = fold_build2_loc (loc, MULT_EXPR, TREE_TYPE (_o2[0]), _o2[0], _o2[1]);
   12148                 :           0 :                                                 _o1[0] = _r2;
   12149                 :             :                                               }
   12150                 :           0 :                                               _o1[1] = captures[4];
   12151                 :           0 :                                               _r1 = fold_build2_loc (loc, PLUS_EXPR, TREE_TYPE (_o1[0]), _o1[0], _o1[1]);
   12152                 :           0 :                                               res_op0 = _r1;
   12153                 :             :                                             }
   12154                 :           0 :                                             tree _r;
   12155                 :           0 :                                             _r = maybe_build_call_expr_loc (loc, CFN_BUILT_IN_POW10F, type, 1, res_op0);
   12156                 :           0 :                                             if (!_r)
   12157                 :           0 :                                               goto next_after_fail1631;
   12158                 :           0 :                                             if (UNLIKELY (debug_dump)) generic_dump_logs ("match.pd", 994, __FILE__, __LINE__, true);
   12159                 :           0 :                                             return _r;
   12160                 :             :                                           }
   12161                 :           0 : next_after_fail1631:;
   12162                 :             :                                         }
   12163                 :             :                                     }
   12164                 :             :                                 }
   12165                 :           0 :                                 break;
   12166                 :             :                               }
   12167                 :             :                             default:;
   12168                 :             :                             }
   12169                 :             :                         }
   12170                 :             :                       break;
   12171                 :          12 :                     case CFN_BUILT_IN_POW10F:
   12172                 :          12 :                       if (call_expr_nargs (_p1) == 1)
   12173                 :             :     {
   12174                 :          12 :                           tree _q40 = CALL_EXPR_ARG (_p1, 0);
   12175                 :          12 :                           {
   12176                 :          12 :                             tree captures[4] ATTRIBUTE_UNUSED = { _p0, _q20, _p1, _q40 };
   12177                 :          12 :                             if (flag_unsafe_math_optimizations
   12178                 :             : )
   12179                 :             :                               {
   12180                 :          12 :                                 if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail1632;
   12181                 :          12 :                                 {
   12182                 :          12 :                                   tree res_op0;
   12183                 :          12 :                                   {
   12184                 :          12 :                                     tree _o1[2], _r1;
   12185                 :          12 :                                     _o1[0] = captures[1];
   12186                 :          12 :                                     _o1[1] = captures[3];
   12187                 :          12 :                                     _r1 = fold_build2_loc (loc, PLUS_EXPR, TREE_TYPE (_o1[0]), _o1[0], _o1[1]);
   12188                 :          12 :                                     res_op0 = _r1;
   12189                 :             :                                   }
   12190                 :          12 :                                   tree _r;
   12191                 :          12 :                                   _r = maybe_build_call_expr_loc (loc, CFN_BUILT_IN_POW10F, type, 1, res_op0);
   12192                 :          12 :                                   if (!_r)
   12193                 :          12 :                                     goto next_after_fail1632;
   12194                 :           0 :                                   if (UNLIKELY (debug_dump)) generic_dump_logs ("match.pd", 993, __FILE__, __LINE__, true);
   12195                 :           0 :                                   return _r;
   12196                 :             :                                 }
   12197                 :          12 : next_after_fail1632:;
   12198                 :             :                               }
   12199                 :             :                           }
   12200                 :             :                         }
   12201                 :             :                       break;
   12202                 :             :                     default:;
   12203                 :             :                     }
   12204                 :             :                   break;
   12205                 :             :                 default:;
   12206                 :             :                 }
   12207                 :             :             }
   12208                 :             :           break;
   12209                 :          24 :         case CFN_BUILT_IN_POW10L:
   12210                 :          24 :           if (call_expr_nargs (_p0) == 1)
   12211                 :             :     {
   12212                 :          24 :               tree _q20 = CALL_EXPR_ARG (_p0, 0);
   12213                 :          24 :               switch (TREE_CODE (_p1))
   12214                 :             :                 {
   12215                 :          12 :                 case CALL_EXPR:
   12216                 :          12 :                   switch (get_call_combined_fn (_p1))
   12217                 :             :                     {
   12218                 :           0 :                     case CFN_BUILT_IN_POWL:
   12219                 :           0 :                       if (call_expr_nargs (_p1) == 2)
   12220                 :             :     {
   12221                 :           0 :                           tree _q40 = CALL_EXPR_ARG (_p1, 0);
   12222                 :           0 :                           tree _q41 = CALL_EXPR_ARG (_p1, 1);
   12223                 :           0 :                           switch (TREE_CODE (_q40))
   12224                 :             :                             {
   12225                 :           0 :                             case REAL_CST:
   12226                 :           0 :                               {
   12227                 :           0 :                                 {
   12228                 :           0 :                                   tree captures[5] ATTRIBUTE_UNUSED = { _p1, _q40, _q41, _p0, _q20 };
   12229                 :           0 :                                   if (flag_unsafe_math_optimizations
   12230                 :             : )
   12231                 :             :                                     {
   12232                 :           0 :                                       if (real_compare (GT_EXPR, TREE_REAL_CST_PTR (captures[1]), &dconst0)
   12233                 :           0 :  && real_isfinite (TREE_REAL_CST_PTR (captures[1]))
   12234                 :             : )
   12235                 :             :                                         {
   12236                 :           0 :                                           if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail1633;
   12237                 :           0 :                                           {
   12238                 :           0 :                                             tree res_op0;
   12239                 :           0 :                                             {
   12240                 :           0 :                                               tree _o1[2], _r1;
   12241                 :           0 :                                               {
   12242                 :           0 :                                                 tree _o2[2], _r2;
   12243                 :           0 :                                                 {
   12244                 :           0 :                                                   tree _o3[1], _r3;
   12245                 :           0 :                                                   _o3[0] = captures[1];
   12246                 :           0 :                                                   _r3 = maybe_build_call_expr_loc (loc, CFN_BUILT_IN_LOG10L, TREE_TYPE (_o3[0]), 1, _o3[0]);
   12247                 :           0 :                                                   if (!_r3)
   12248                 :           0 :                                                     goto next_after_fail1633;
   12249                 :           0 :                                                   _o2[0] = _r3;
   12250                 :             :                                                 }
   12251                 :           0 :                                                 _o2[1] = captures[2];
   12252                 :           0 :                                                 _r2 = fold_build2_loc (loc, MULT_EXPR, TREE_TYPE (_o2[0]), _o2[0], _o2[1]);
   12253                 :           0 :                                                 _o1[0] = _r2;
   12254                 :             :                                               }
   12255                 :           0 :                                               _o1[1] = captures[4];
   12256                 :           0 :                                               _r1 = fold_build2_loc (loc, PLUS_EXPR, TREE_TYPE (_o1[0]), _o1[0], _o1[1]);
   12257                 :           0 :                                               res_op0 = _r1;
   12258                 :             :                                             }
   12259                 :           0 :                                             tree _r;
   12260                 :           0 :                                             _r = maybe_build_call_expr_loc (loc, CFN_BUILT_IN_POW10L, type, 1, res_op0);
   12261                 :           0 :                                             if (!_r)
   12262                 :           0 :                                               goto next_after_fail1633;
   12263                 :           0 :                                             if (UNLIKELY (debug_dump)) generic_dump_logs ("match.pd", 994, __FILE__, __LINE__, true);
   12264                 :           0 :                                             return _r;
   12265                 :             :                                           }
   12266                 :           0 : next_after_fail1633:;
   12267                 :             :                                         }
   12268                 :             :                                     }
   12269                 :             :                                 }
   12270                 :           0 :                                 break;
   12271                 :             :                               }
   12272                 :             :                             default:;
   12273                 :             :                             }
   12274                 :             :                         }
   12275                 :             :                       break;
   12276                 :          12 :                     case CFN_BUILT_IN_POW10L:
   12277                 :          12 :                       if (call_expr_nargs (_p1) == 1)
   12278                 :             :     {
   12279                 :          12 :                           tree _q40 = CALL_EXPR_ARG (_p1, 0);
   12280                 :          12 :                           {
   12281                 :          12 :                             tree captures[4] ATTRIBUTE_UNUSED = { _p0, _q20, _p1, _q40 };
   12282                 :          12 :                             if (flag_unsafe_math_optimizations
   12283                 :             : )
   12284                 :             :                               {
   12285                 :          12 :                                 if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail1634;
   12286                 :          12 :                                 {
   12287                 :          12 :                                   tree res_op0;
   12288                 :          12 :                                   {
   12289                 :          12 :                                     tree _o1[2], _r1;
   12290                 :          12 :                                     _o1[0] = captures[1];
   12291                 :          12 :                                     _o1[1] = captures[3];
   12292                 :          12 :                                     _r1 = fold_build2_loc (loc, PLUS_EXPR, TREE_TYPE (_o1[0]), _o1[0], _o1[1]);
   12293                 :          12 :                                     res_op0 = _r1;
   12294                 :             :                                   }
   12295                 :          12 :                                   tree _r;
   12296                 :          12 :                                   _r = maybe_build_call_expr_loc (loc, CFN_BUILT_IN_POW10L, type, 1, res_op0);
   12297                 :          12 :                                   if (!_r)
   12298                 :          12 :                                     goto next_after_fail1634;
   12299                 :           0 :                                   if (UNLIKELY (debug_dump)) generic_dump_logs ("match.pd", 993, __FILE__, __LINE__, true);
   12300                 :           0 :                                   return _r;
   12301                 :             :                                 }
   12302                 :          12 : next_after_fail1634:;
   12303                 :             :                               }
   12304                 :             :                           }
   12305                 :             :                         }
   12306                 :             :                       break;
   12307                 :             :                     default:;
   12308                 :             :                     }
   12309                 :             :                   break;
   12310                 :             :                 default:;
   12311                 :             :                 }
   12312                 :             :             }
   12313                 :             :           break;
   12314                 :           0 :         case CFN_BUILT_IN_SQRTF128X:
   12315                 :           0 :           if (call_expr_nargs (_p0) == 1)
   12316                 :             :     {
   12317                 :           0 :               tree _q20 = CALL_EXPR_ARG (_p0, 0);
   12318                 :           0 :               if ((_p1 == _p0 && ! TREE_SIDE_EFFECTS (_p1)) || (operand_equal_p (_p1, _p0, 0) && types_match (_p1, _p0)))
   12319                 :             :                 {
   12320                 :           0 :                   {
   12321                 :           0 :                     tree captures[2] ATTRIBUTE_UNUSED = { _p0, _q20 };
   12322                 :           0 :                     tree res = generic_simplify_193 (loc, type, _p0, _p1, captures, CFN_BUILT_IN_SQRTF128X);
   12323                 :           0 :                     if (res) return res;
   12324                 :             :                   }
   12325                 :             :                 }
   12326                 :             :             }
   12327                 :             :           break;
   12328                 :           0 :         case CFN_EXP2:
   12329                 :           0 :           if (call_expr_nargs (_p0) == 1)
   12330                 :             :     {
   12331                 :           0 :               tree _q20 = CALL_EXPR_ARG (_p0, 0);
   12332                 :           0 :               switch (TREE_CODE (_p1))
   12333                 :             :                 {
   12334                 :           0 :                 case CALL_EXPR:
   12335                 :           0 :                   switch (get_call_combined_fn (_p1))
   12336                 :             :                     {
   12337                 :           0 :                     case CFN_POW:
   12338                 :           0 :                       if (call_expr_nargs (_p1) == 2)
   12339                 :             :     {
   12340                 :           0 :                           tree _q40 = CALL_EXPR_ARG (_p1, 0);
   12341                 :           0 :                           tree _q41 = CALL_EXPR_ARG (_p1, 1);
   12342                 :           0 :                           switch (TREE_CODE (_q40))
   12343                 :             :                             {
   12344                 :           0 :                             case REAL_CST:
   12345                 :           0 :                               {
   12346                 :           0 :                                 {
   12347                 :           0 :                                   tree captures[5] ATTRIBUTE_UNUSED = { _p1, _q40, _q41, _p0, _q20 };
   12348                 :           0 :                                   if (flag_unsafe_math_optimizations
   12349                 :             : )
   12350                 :             :                                     {
   12351                 :           0 :                                       if (real_compare (GT_EXPR, TREE_REAL_CST_PTR (captures[1]), &dconst0)
   12352                 :           0 :  && real_isfinite (TREE_REAL_CST_PTR (captures[1]))
   12353                 :             : )
   12354                 :             :                                         {
   12355                 :           0 :                                           if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail1635;
   12356                 :           0 :                                           {
   12357                 :           0 :                                             tree res_op0;
   12358                 :           0 :                                             {
   12359                 :           0 :                                               tree _o1[2], _r1;
   12360                 :           0 :                                               {
   12361                 :           0 :                                                 tree _o2[2], _r2;
   12362                 :           0 :                                                 {
   12363                 :           0 :                                                   tree _o3[1], _r3;
   12364                 :           0 :                                                   _o3[0] = captures[1];
   12365                 :           0 :                                                   _r3 = maybe_build_call_expr_loc (loc, CFN_LOG2, TREE_TYPE (_o3[0]), 1, _o3[0]);
   12366                 :           0 :                                                   if (!_r3)
   12367                 :           0 :                                                     goto next_after_fail1635;
   12368                 :           0 :                                                   _o2[0] = _r3;
   12369                 :             :                                                 }
   12370                 :           0 :                                                 _o2[1] = captures[2];
   12371                 :           0 :                                                 _r2 = fold_build2_loc (loc, MULT_EXPR, TREE_TYPE (_o2[0]), _o2[0], _o2[1]);
   12372                 :           0 :                                                 _o1[0] = _r2;
   12373                 :             :                                               }
   12374                 :           0 :                                               _o1[1] = captures[4];
   12375                 :           0 :                                               _r1 = fold_build2_loc (loc, PLUS_EXPR, TREE_TYPE (_o1[0]), _o1[0], _o1[1]);
   12376                 :           0 :                                               res_op0 = _r1;
   12377                 :             :                                             }
   12378                 :           0 :                                             tree _r;
   12379                 :           0 :                                             _r = maybe_build_call_expr_loc (loc, CFN_EXP2, type, 1, res_op0);
   12380                 :           0 :                                             if (!_r)
   12381                 :           0 :                                               goto next_after_fail1635;
   12382                 :           0 :                                             if (UNLIKELY (debug_dump)) generic_dump_logs ("match.pd", 994, __FILE__, __LINE__, true);
   12383                 :           0 :                                             return _r;
   12384                 :             :                                           }
   12385                 :           0 : next_after_fail1635:;
   12386                 :             :                                         }
   12387                 :             :                                     }
   12388                 :             :                                 }
   12389                 :           0 :                                 break;
   12390                 :             :                               }
   12391                 :             :                             default:;
   12392                 :             :                             }
   12393                 :             :                         }
   12394                 :             :                       break;
   12395                 :           0 :                     case CFN_EXP2:
   12396                 :           0 :                       if (call_expr_nargs (_p1) == 1)
   12397                 :             :     {
   12398                 :           0 :                           tree _q40 = CALL_EXPR_ARG (_p1, 0);
   12399                 :           0 :                           {
   12400                 :           0 :                             tree captures[4] ATTRIBUTE_UNUSED = { _p0, _q20, _p1, _q40 };
   12401                 :           0 :                             if (flag_unsafe_math_optimizations
   12402                 :             : )
   12403                 :             :                               {
   12404                 :           0 :                                 if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail1636;
   12405                 :           0 :                                 {
   12406                 :           0 :                                   tree res_op0;
   12407                 :           0 :                                   {
   12408                 :           0 :                                     tree _o1[2], _r1;
   12409                 :           0 :                                     _o1[0] = captures[1];
   12410                 :           0 :                                     _o1[1] = captures[3];
   12411                 :           0 :                                     _r1 = fold_build2_loc (loc, PLUS_EXPR, TREE_TYPE (_o1[0]), _o1[0], _o1[1]);
   12412                 :           0 :                                     res_op0 = _r1;
   12413                 :             :                                   }
   12414                 :           0 :                                   tree _r;
   12415                 :           0 :                                   _r = maybe_build_call_expr_loc (loc, CFN_EXP2, type, 1, res_op0);
   12416                 :           0 :                                   if (!_r)
   12417                 :           0 :                                     goto next_after_fail1636;
   12418                 :           0 :                                   if (UNLIKELY (debug_dump)) generic_dump_logs ("match.pd", 993, __FILE__, __LINE__, true);
   12419                 :           0 :                                   return _r;
   12420                 :             :                                 }
   12421                 :           0 : next_after_fail1636:;
   12422                 :             :                               }
   12423                 :             :                           }
   12424                 :             :                         }
   12425                 :             :                       break;
   12426                 :             :                     default:;
   12427                 :             :                     }
   12428                 :             :                   break;
   12429                 :             :                 default:;
   12430                 :             :                 }
   12431                 :             :             }
   12432                 :             :           break;
   12433                 :           0 :         case CFN_SQRT:
   12434                 :           0 :           if (call_expr_nargs (_p0) == 1)
   12435                 :             :     {
   12436                 :           0 :               tree _q20 = CALL_EXPR_ARG (_p0, 0);
   12437                 :           0 :               if ((_p1 == _p0 && ! TREE_SIDE_EFFECTS (_p1)) || (operand_equal_p (_p1, _p0, 0) && types_match (_p1, _p0)))
   12438                 :             :                 {
   12439                 :           0 :                   {
   12440                 :           0 :                     tree captures[2] ATTRIBUTE_UNUSED = { _p0, _q20 };
   12441                 :           0 :                     tree res = generic_simplify_193 (loc, type, _p0, _p1, captures, CFN_SQRT);
   12442                 :           0 :                     if (res) return res;
   12443                 :             :                   }
   12444                 :             :                 }
   12445                 :           0 :               switch (TREE_CODE (_p1))
   12446                 :             :                 {
   12447                 :           0 :                 case CALL_EXPR:
   12448                 :           0 :                   switch (get_call_combined_fn (_p1))
   12449                 :             :                     {
   12450                 :           0 :                     case CFN_SQRT:
   12451                 :           0 :                       if (call_expr_nargs (_p1) == 1)
   12452                 :             :     {
   12453                 :           0 :                           tree _q40 = CALL_EXPR_ARG (_p1, 0);
   12454                 :           0 :                           {
   12455                 :           0 :                             tree captures[4] ATTRIBUTE_UNUSED = { _p0, _q20, _p1, _q40 };
   12456                 :           0 :                             if (flag_unsafe_math_optimizations
   12457                 :             : )
   12458                 :             :                               {
   12459                 :           0 :                                 if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail1637;
   12460                 :           0 :                                 {
   12461                 :           0 :                                   tree res_op0;
   12462                 :           0 :                                   {
   12463                 :           0 :                                     tree _o1[2], _r1;
   12464                 :           0 :                                     _o1[0] = captures[1];
   12465                 :           0 :                                     _o1[1] = captures[3];
   12466                 :           0 :                                     _r1 = fold_build2_loc (loc, MULT_EXPR, TREE_TYPE (_o1[0]), _o1[0], _o1[1]);
   12467                 :           0 :                                     res_op0 = _r1;
   12468                 :             :                                   }
   12469                 :           0 :                                   tree _r;
   12470                 :           0 :                                   _r = maybe_build_call_expr_loc (loc, CFN_SQRT, type, 1, res_op0);
   12471                 :           0 :                                   if (!_r)
   12472                 :           0 :                                     goto next_after_fail1637;
   12473                 :           0 :                                   if (UNLIKELY (debug_dump)) generic_dump_logs ("match.pd", 992, __FILE__, __LINE__, true);
   12474                 :           0 :                                   return _r;
   12475                 :             :                                 }
   12476                 :           0 : next_after_fail1637:;
   12477                 :             :                               }
   12478                 :             :                           }
   12479                 :             :                         }
   12480                 :             :                       break;
   12481                 :             :                     default:;
   12482                 :             :                     }
   12483                 :             :                   break;
   12484                 :             :                 default:;
   12485                 :             :                 }
   12486                 :             :             }
   12487                 :             :           break;
   12488                 :           0 :         case CFN_EXP10:
   12489                 :           0 :           if (call_expr_nargs (_p0) == 1)
   12490                 :             :     {
   12491                 :           0 :               tree _q20 = CALL_EXPR_ARG (_p0, 0);
   12492                 :           0 :               switch (TREE_CODE (_p1))
   12493                 :             :                 {
   12494                 :           0 :                 case CALL_EXPR:
   12495                 :           0 :                   switch (get_call_combined_fn (_p1))
   12496                 :             :                     {
   12497                 :           0 :                     case CFN_POW:
   12498                 :           0 :                       if (call_expr_nargs (_p1) == 2)
   12499                 :             :     {
   12500                 :           0 :                           tree _q40 = CALL_EXPR_ARG (_p1, 0);
   12501                 :           0 :                           tree _q41 = CALL_EXPR_ARG (_p1, 1);
   12502                 :           0 :                           switch (TREE_CODE (_q40))
   12503                 :             :                             {
   12504                 :           0 :                             case REAL_CST:
   12505                 :           0 :                               {
   12506                 :           0 :                                 {
   12507                 :           0 :                                   tree captures[5] ATTRIBUTE_UNUSED = { _p1, _q40, _q41, _p0, _q20 };
   12508                 :           0 :                                   if (flag_unsafe_math_optimizations
   12509                 :             : )
   12510                 :             :                                     {
   12511                 :           0 :                                       if (real_compare (GT_EXPR, TREE_REAL_CST_PTR (captures[1]), &dconst0)
   12512                 :           0 :  && real_isfinite (TREE_REAL_CST_PTR (captures[1]))
   12513                 :             : )
   12514                 :             :                                         {
   12515                 :           0 :                                           if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail1638;
   12516                 :           0 :                                           {
   12517                 :           0 :                                             tree res_op0;
   12518                 :           0 :                                             {
   12519                 :           0 :                                               tree _o1[2], _r1;
   12520                 :           0 :                                               {
   12521                 :           0 :                                                 tree _o2[2], _r2;
   12522                 :           0 :                                                 {
   12523                 :           0 :                                                   tree _o3[1], _r3;
   12524                 :           0 :                                                   _o3[0] = captures[1];
   12525                 :           0 :                                                   _r3 = maybe_build_call_expr_loc (loc, CFN_LOG10, TREE_TYPE (_o3[0]), 1, _o3[0]);
   12526                 :           0 :                                                   if (!_r3)
   12527                 :           0 :                                                     goto next_after_fail1638;
   12528                 :           0 :                                                   _o2[0] = _r3;
   12529                 :             :                                                 }
   12530                 :           0 :                                                 _o2[1] = captures[2];
   12531                 :           0 :                                                 _r2 = fold_build2_loc (loc, MULT_EXPR, TREE_TYPE (_o2[0]), _o2[0], _o2[1]);
   12532                 :           0 :                                                 _o1[0] = _r2;
   12533                 :             :                                               }
   12534                 :           0 :                                               _o1[1] = captures[4];
   12535                 :           0 :                                               _r1 = fold_build2_loc (loc, PLUS_EXPR, TREE_TYPE (_o1[0]), _o1[0], _o1[1]);
   12536                 :           0 :                                               res_op0 = _r1;
   12537                 :             :                                             }
   12538                 :           0 :                                             tree _r;
   12539                 :           0 :                                             _r = maybe_build_call_expr_loc (loc, CFN_EXP10, type, 1, res_op0);
   12540                 :           0 :                                             if (!_r)
   12541                 :           0 :                                               goto next_after_fail1638;
   12542                 :           0 :                                             if (UNLIKELY (debug_dump)) generic_dump_logs ("match.pd", 994, __FILE__, __LINE__, true);
   12543                 :           0 :                                             return _r;
   12544                 :             :                                           }
   12545                 :           0 : next_after_fail1638:;
   12546                 :             :                                         }
   12547                 :             :                                     }
   12548                 :             :                                 }
   12549                 :           0 :                                 break;
   12550                 :             :                               }
   12551                 :             :                             default:;
   12552                 :             :                             }
   12553                 :             :                         }
   12554                 :             :                       break;
   12555                 :           0 :                     case CFN_EXP10:
   12556                 :           0 :                       if (call_expr_nargs (_p1) == 1)
   12557                 :             :     {
   12558                 :           0 :                           tree _q40 = CALL_EXPR_ARG (_p1, 0);
   12559                 :           0 :                           {
   12560                 :           0 :                             tree captures[4] ATTRIBUTE_UNUSED = { _p0, _q20, _p1, _q40 };
   12561                 :           0 :                             if (flag_unsafe_math_optimizations
   12562                 :             : )
   12563                 :             :                               {
   12564                 :           0 :                                 if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail1639;
   12565                 :           0 :                                 {
   12566                 :           0 :                                   tree res_op0;
   12567                 :           0 :                                   {
   12568                 :           0 :                                     tree _o1[2], _r1;
   12569                 :           0 :                                     _o1[0] = captures[1];
   12570                 :           0 :                                     _o1[1] = captures[3];
   12571                 :           0 :                                     _r1 = fold_build2_loc (loc, PLUS_EXPR, TREE_TYPE (_o1[0]), _o1[0], _o1[1]);
   12572                 :           0 :                                     res_op0 = _r1;
   12573                 :             :                                   }
   12574                 :           0 :                                   tree _r;
   12575                 :           0 :                                   _r = maybe_build_call_expr_loc (loc, CFN_EXP10, type, 1, res_op0);
   12576                 :           0 :                                   if (!_r)
   12577                 :           0 :                                     goto next_after_fail1639;
   12578                 :           0 :                                   if (UNLIKELY (debug_dump)) generic_dump_logs ("match.pd", 993, __FILE__, __LINE__, true);
   12579                 :           0 :                                   return _r;
   12580                 :             :                                 }
   12581                 :           0 : next_after_fail1639:;
   12582                 :             :                               }
   12583                 :             :                           }
   12584                 :             :                         }
   12585                 :             :                       break;
   12586                 :             :                     default:;
   12587                 :             :                     }
   12588                 :             :                   break;
   12589                 :             :                 default:;
   12590                 :             :                 }
   12591                 :             :             }
   12592                 :             :           break;
   12593                 :          12 :         case CFN_BUILT_IN_CBRTF:
   12594                 :          12 :           if (call_expr_nargs (_p0) == 1)
   12595                 :             :     {
   12596                 :          12 :               tree _q20 = CALL_EXPR_ARG (_p0, 0);
   12597                 :          12 :               switch (TREE_CODE (_p1))
   12598                 :             :                 {
   12599                 :          12 :                 case CALL_EXPR:
   12600                 :          12 :                   switch (get_call_combined_fn (_p1))
   12601                 :             :                     {
   12602                 :          12 :                     case CFN_BUILT_IN_CBRTF:
   12603                 :          12 :                       if (call_expr_nargs (_p1) == 1)
   12604                 :             :     {
   12605                 :          12 :                           tree _q40 = CALL_EXPR_ARG (_p1, 0);
   12606                 :          12 :                           {
   12607                 :          12 :                             tree captures[4] ATTRIBUTE_UNUSED = { _p0, _q20, _p1, _q40 };
   12608                 :          12 :                             if (flag_unsafe_math_optimizations
   12609                 :             : )
   12610                 :             :                               {
   12611                 :          12 :                                 if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail1640;
   12612                 :          12 :                                 {
   12613                 :          12 :                                   tree res_op0;
   12614                 :          12 :                                   {
   12615                 :          12 :                                     tree _o1[2], _r1;
   12616                 :          12 :                                     _o1[0] = captures[1];
   12617                 :          12 :                                     _o1[1] = captures[3];
   12618                 :          12 :                                     _r1 = fold_build2_loc (loc, MULT_EXPR, TREE_TYPE (_o1[0]), _o1[0], _o1[1]);
   12619                 :          12 :                                     res_op0 = _r1;
   12620                 :             :                                   }
   12621                 :          12 :                                   tree _r;
   12622                 :          12 :                                   _r = maybe_build_call_expr_loc (loc, CFN_BUILT_IN_CBRTF, type, 1, res_op0);
   12623                 :          12 :                                   if (!_r)
   12624                 :           0 :                                     goto next_after_fail1640;
   12625                 :          12 :                                   if (UNLIKELY (debug_dump)) generic_dump_logs ("match.pd", 992, __FILE__, __LINE__, true);
   12626                 :          12 :                                   return _r;
   12627                 :             :                                 }
   12628                 :           0 : next_after_fail1640:;
   12629                 :             :                               }
   12630                 :             :                           }
   12631                 :             :                         }
   12632                 :             :                       break;
   12633                 :             :                     default:;
   12634                 :             :                     }
   12635                 :             :                   break;
   12636                 :             :                 default:;
   12637                 :             :                 }
   12638                 :             :             }
   12639                 :             :           break;
   12640                 :          12 :         case CFN_BUILT_IN_CBRTL:
   12641                 :          12 :           if (call_expr_nargs (_p0) == 1)
   12642                 :             :     {
   12643                 :          12 :               tree _q20 = CALL_EXPR_ARG (_p0, 0);
   12644                 :          12 :               switch (TREE_CODE (_p1))
   12645                 :             :                 {
   12646                 :          12 :                 case CALL_EXPR:
   12647                 :          12 :                   switch (get_call_combined_fn (_p1))
   12648                 :             :                     {
   12649                 :          12 :                     case CFN_BUILT_IN_CBRTL:
   12650                 :          12 :                       if (call_expr_nargs (_p1) == 1)
   12651                 :             :     {
   12652                 :          12 :                           tree _q40 = CALL_EXPR_ARG (_p1, 0);
   12653                 :          12 :                           {
   12654                 :          12 :                             tree captures[4] ATTRIBUTE_UNUSED = { _p0, _q20, _p1, _q40 };
   12655                 :          12 :                             if (flag_unsafe_math_optimizations
   12656                 :             : )
   12657                 :             :                               {
   12658                 :          12 :                                 if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail1641;
   12659                 :          12 :                                 {
   12660                 :          12 :                                   tree res_op0;
   12661                 :          12 :                                   {
   12662                 :          12 :                                     tree _o1[2], _r1;
   12663                 :          12 :                                     _o1[0] = captures[1];
   12664                 :          12 :                                     _o1[1] = captures[3];
   12665                 :          12 :                                     _r1 = fold_build2_loc (loc, MULT_EXPR, TREE_TYPE (_o1[0]), _o1[0], _o1[1]);
   12666                 :          12 :                                     res_op0 = _r1;
   12667                 :             :                                   }
   12668                 :          12 :                                   tree _r;
   12669                 :          12 :                                   _r = maybe_build_call_expr_loc (loc, CFN_BUILT_IN_CBRTL, type, 1, res_op0);
   12670                 :          12 :                                   if (!_r)
   12671                 :           0 :                                     goto next_after_fail1641;
   12672                 :          12 :                                   if (UNLIKELY (debug_dump)) generic_dump_logs ("match.pd", 992, __FILE__, __LINE__, true);
   12673                 :          12 :                                   return _r;
   12674                 :             :                                 }
   12675                 :           0 : next_after_fail1641:;
   12676                 :             :                               }
   12677                 :             :                           }
   12678                 :             :                         }
   12679                 :             :                       break;
   12680                 :             :                     default:;
   12681                 :             :                     }
   12682                 :             :                   break;
   12683                 :             :                 default:;
   12684                 :             :                 }
   12685                 :             :             }
   12686                 :             :           break;
   12687                 :           0 :         case CFN_LDEXP:
   12688                 :           0 :           if (call_expr_nargs (_p0) == 2)
   12689                 :             :     {
   12690                 :           0 :               tree _q20 = CALL_EXPR_ARG (_p0, 0);
   12691                 :           0 :               tree _q21 = CALL_EXPR_ARG (_p0, 1);
   12692                 :           0 :               switch (TREE_CODE (_p1))
   12693                 :             :                 {
   12694                 :           0 :                 case REAL_CST:
   12695                 :           0 :                   {
   12696                 :           0 :                     {
   12697                 :           0 :                       tree captures[3] ATTRIBUTE_UNUSED = { _p1, _q20, _q21 };
   12698                 :           0 :                       tree res = generic_simplify_195 (loc, type, _p0, _p1, captures, CFN_LDEXP);
   12699                 :           0 :                       if (res) return res;
   12700                 :             :                     }
   12701                 :           0 :                     break;
   12702                 :             :                   }
   12703                 :           0 :                 default:;
   12704                 :             :                 }
   12705                 :           0 :               switch (TREE_CODE (_q20))
   12706                 :             :                 {
   12707                 :           0 :                 case REAL_CST:
   12708                 :           0 :                   {
   12709                 :           0 :                     {
   12710                 :           0 :                       tree captures[3] ATTRIBUTE_UNUSED = { _p1, _q20, _q21 };
   12711                 :           0 :                       tree res = generic_simplify_196 (loc, type, _p0, _p1, captures, CFN_LDEXP);
   12712                 :           0 :                       if (res) return res;
   12713                 :             :                     }
   12714                 :           0 :                     break;
   12715                 :             :                   }
   12716                 :             :                 default:;
   12717                 :             :                 }
   12718                 :             :             }
   12719                 :             :           break;
   12720                 :          48 :         case CFN_BUILT_IN_EXP10:
   12721                 :          48 :           if (call_expr_nargs (_p0) == 1)
   12722                 :             :     {
   12723                 :          48 :               tree _q20 = CALL_EXPR_ARG (_p0, 0);
   12724                 :          48 :               switch (TREE_CODE (_p1))
   12725                 :             :                 {
   12726                 :          24 :                 case CALL_EXPR:
   12727                 :          24 :                   switch (get_call_combined_fn (_p1))
   12728                 :             :                     {
   12729                 :           0 :                     case CFN_BUILT_IN_POW:
   12730                 :           0 :                       if (call_expr_nargs (_p1) == 2)
   12731                 :             :     {
   12732                 :           0 :                           tree _q40 = CALL_EXPR_ARG (_p1, 0);
   12733                 :           0 :                           tree _q41 = CALL_EXPR_ARG (_p1, 1);
   12734                 :           0 :                           switch (TREE_CODE (_q40))
   12735                 :             :                             {
   12736                 :           0 :                             case REAL_CST:
   12737                 :           0 :                               {
   12738                 :           0 :                                 {
   12739                 :           0 :                                   tree captures[5] ATTRIBUTE_UNUSED = { _p1, _q40, _q41, _p0, _q20 };
   12740                 :           0 :                                   if (flag_unsafe_math_optimizations
   12741                 :             : )
   12742                 :             :                                     {
   12743                 :           0 :                                       if (real_compare (GT_EXPR, TREE_REAL_CST_PTR (captures[1]), &dconst0)
   12744                 :           0 :  && real_isfinite (TREE_REAL_CST_PTR (captures[1]))
   12745                 :             : )
   12746                 :             :                                         {
   12747                 :           0 :                                           if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail1642;
   12748                 :           0 :                                           {
   12749                 :           0 :                                             tree res_op0;
   12750                 :           0 :                                             {
   12751                 :           0 :                                               tree _o1[2], _r1;
   12752                 :           0 :                                               {
   12753                 :           0 :                                                 tree _o2[2], _r2;
   12754                 :           0 :                                                 {
   12755                 :           0 :                                                   tree _o3[1], _r3;
   12756                 :           0 :                                                   _o3[0] = captures[1];
   12757                 :           0 :                                                   _r3 = maybe_build_call_expr_loc (loc, CFN_BUILT_IN_LOG10, TREE_TYPE (_o3[0]), 1, _o3[0]);
   12758                 :           0 :                                                   if (!_r3)
   12759                 :           0 :                                                     goto next_after_fail1642;
   12760                 :           0 :                                                   _o2[0] = _r3;
   12761                 :             :                                                 }
   12762                 :           0 :                                                 _o2[1] = captures[2];
   12763                 :           0 :                                                 _r2 = fold_build2_loc (loc, MULT_EXPR, TREE_TYPE (_o2[0]), _o2[0], _o2[1]);
   12764                 :           0 :                                                 _o1[0] = _r2;
   12765                 :             :                                               }
   12766                 :           0 :                                               _o1[1] = captures[4];
   12767                 :           0 :                                               _r1 = fold_build2_loc (loc, PLUS_EXPR, TREE_TYPE (_o1[0]), _o1[0], _o1[1]);
   12768                 :           0 :                                               res_op0 = _r1;
   12769                 :             :                                             }
   12770                 :           0 :                                             tree _r;
   12771                 :           0 :                                             _r = maybe_build_call_expr_loc (loc, CFN_BUILT_IN_EXP10, type, 1, res_op0);
   12772                 :           0 :                                             if (!_r)
   12773                 :           0 :                                               goto next_after_fail1642;
   12774                 :           0 :                                             if (UNLIKELY (debug_dump)) generic_dump_logs ("match.pd", 994, __FILE__, __LINE__, true);
   12775                 :           0 :                                             return _r;
   12776                 :             :                                           }
   12777                 :           0 : next_after_fail1642:;
   12778                 :             :                                         }
   12779                 :             :                                     }
   12780                 :             :                                 }
   12781                 :           0 :                                 break;
   12782                 :             :                               }
   12783                 :             :                             default:;
   12784                 :             :                             }
   12785                 :             :                         }
   12786                 :             :                       break;
   12787                 :          24 :                     case CFN_BUILT_IN_EXP10:
   12788                 :          24 :                       if (call_expr_nargs (_p1) == 1)
   12789                 :             :     {
   12790                 :          24 :                           tree _q40 = CALL_EXPR_ARG (_p1, 0);
   12791                 :          24 :                           {
   12792                 :          24 :                             tree captures[4] ATTRIBUTE_UNUSED = { _p0, _q20, _p1, _q40 };
   12793                 :          24 :                             if (flag_unsafe_math_optimizations
   12794                 :             : )
   12795                 :             :                               {
   12796                 :          24 :                                 if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail1643;
   12797                 :          24 :                                 {
   12798                 :          24 :                                   tree res_op0;
   12799                 :          24 :                                   {
   12800                 :          24 :                                     tree _o1[2], _r1;
   12801                 :          24 :                                     _o1[0] = captures[1];
   12802                 :          24 :                                     _o1[1] = captures[3];
   12803                 :          24 :                                     _r1 = fold_build2_loc (loc, PLUS_EXPR, TREE_TYPE (_o1[0]), _o1[0], _o1[1]);
   12804                 :          24 :                                     res_op0 = _r1;
   12805                 :             :                                   }
   12806                 :          24 :                                   tree _r;
   12807                 :          24 :                                   _r = maybe_build_call_expr_loc (loc, CFN_BUILT_IN_EXP10, type, 1, res_op0);
   12808                 :          24 :                                   if (!_r)
   12809                 :           0 :                                     goto next_after_fail1643;
   12810                 :          24 :                                   if (UNLIKELY (debug_dump)) generic_dump_logs ("match.pd", 993, __FILE__, __LINE__, true);
   12811                 :          24 :                                   return _r;
   12812                 :             :                                 }
   12813                 :           0 : next_after_fail1643:;
   12814                 :             :                               }
   12815                 :             :                           }
   12816                 :             :                         }
   12817                 :             :                       break;
   12818                 :             :                     default:;
   12819                 :             :                     }
   12820                 :             :                   break;
   12821                 :             :                 default:;
   12822                 :             :                 }
   12823                 :             :             }
   12824                 :             :           break;
   12825                 :          48 :         case CFN_BUILT_IN_EXP2F:
   12826                 :          48 :           if (call_expr_nargs (_p0) == 1)
   12827                 :             :     {
   12828                 :          48 :               tree _q20 = CALL_EXPR_ARG (_p0, 0);
   12829                 :          48 :               switch (TREE_CODE (_p1))
   12830                 :             :                 {
   12831                 :          24 :                 case CALL_EXPR:
   12832                 :          24 :                   switch (get_call_combined_fn (_p1))
   12833                 :             :                     {
   12834                 :           0 :                     case CFN_BUILT_IN_POWF:
   12835                 :           0 :                       if (call_expr_nargs (_p1) == 2)
   12836                 :             :     {
   12837                 :           0 :                           tree _q40 = CALL_EXPR_ARG (_p1, 0);
   12838                 :           0 :                           tree _q41 = CALL_EXPR_ARG (_p1, 1);
   12839                 :           0 :                           switch (TREE_CODE (_q40))
   12840                 :             :                             {
   12841                 :           0 :                             case REAL_CST:
   12842                 :           0 :                               {
   12843                 :           0 :                                 {
   12844                 :           0 :                                   tree captures[5] ATTRIBUTE_UNUSED = { _p1, _q40, _q41, _p0, _q20 };
   12845                 :           0 :                                   if (flag_unsafe_math_optimizations
   12846                 :             : )
   12847                 :             :                                     {
   12848                 :           0 :                                       if (real_compare (GT_EXPR, TREE_REAL_CST_PTR (captures[1]), &dconst0)
   12849                 :           0 :  && real_isfinite (TREE_REAL_CST_PTR (captures[1]))
   12850                 :             : )
   12851                 :             :                                         {
   12852                 :           0 :                                           if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail1644;
   12853                 :           0 :                                           {
   12854                 :           0 :                                             tree res_op0;
   12855                 :           0 :                                             {
   12856                 :           0 :                                               tree _o1[2], _r1;
   12857                 :           0 :                                               {
   12858                 :           0 :                                                 tree _o2[2], _r2;
   12859                 :           0 :                                                 {
   12860                 :           0 :                                                   tree _o3[1], _r3;
   12861                 :           0 :                                                   _o3[0] = captures[1];
   12862                 :           0 :                                                   _r3 = maybe_build_call_expr_loc (loc, CFN_BUILT_IN_LOG2F, TREE_TYPE (_o3[0]), 1, _o3[0]);
   12863                 :           0 :                                                   if (!_r3)
   12864                 :           0 :                                                     goto next_after_fail1644;
   12865                 :           0 :                                                   _o2[0] = _r3;
   12866                 :             :                                                 }
   12867                 :           0 :                                                 _o2[1] = captures[2];
   12868                 :           0 :                                                 _r2 = fold_build2_loc (loc, MULT_EXPR, TREE_TYPE (_o2[0]), _o2[0], _o2[1]);
   12869                 :           0 :                                                 _o1[0] = _r2;
   12870                 :             :                                               }
   12871                 :           0 :                                               _o1[1] = captures[4];
   12872                 :           0 :                                               _r1 = fold_build2_loc (loc, PLUS_EXPR, TREE_TYPE (_o1[0]), _o1[0], _o1[1]);
   12873                 :           0 :                                               res_op0 = _r1;
   12874                 :             :                                             }
   12875                 :           0 :                                             tree _r;
   12876                 :           0 :                                             _r = maybe_build_call_expr_loc (loc, CFN_BUILT_IN_EXP2F, type, 1, res_op0);
   12877                 :           0 :                                             if (!_r)
   12878                 :           0 :                                               goto next_after_fail1644;
   12879                 :           0 :                                             if (UNLIKELY (debug_dump)) generic_dump_logs ("match.pd", 994, __FILE__, __LINE__, true);
   12880                 :           0 :                                             return _r;
   12881                 :             :                                           }
   12882                 :           0 : next_after_fail1644:;
   12883                 :             :                                         }
   12884                 :             :                                     }
   12885                 :             :                                 }
   12886                 :           0 :                                 break;
   12887                 :             :                               }
   12888                 :             :                             default:;
   12889                 :             :                             }
   12890                 :             :                         }
   12891                 :             :                       break;
   12892                 :          24 :                     case CFN_BUILT_IN_EXP2F:
   12893                 :          24 :                       if (call_expr_nargs (_p1) == 1)
   12894                 :             :     {
   12895                 :          24 :                           tree _q40 = CALL_EXPR_ARG (_p1, 0);
   12896                 :          24 :                           {
   12897                 :          24 :                             tree captures[4] ATTRIBUTE_UNUSED = { _p0, _q20, _p1, _q40 };
   12898                 :          24 :                             if (flag_unsafe_math_optimizations
   12899                 :             : )
   12900                 :             :                               {
   12901                 :          24 :                                 if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail1645;
   12902                 :          24 :                                 {
   12903                 :          24 :                                   tree res_op0;
   12904                 :          24 :                                   {
   12905                 :          24 :                                     tree _o1[2], _r1;
   12906                 :          24 :                                     _o1[0] = captures[1];
   12907                 :          24 :                                     _o1[1] = captures[3];
   12908                 :          24 :                                     _r1 = fold_build2_loc (loc, PLUS_EXPR, TREE_TYPE (_o1[0]), _o1[0], _o1[1]);
   12909                 :          24 :                                     res_op0 = _r1;
   12910                 :             :                                   }
   12911                 :          24 :                                   tree _r;
   12912                 :          24 :                                   _r = maybe_build_call_expr_loc (loc, CFN_BUILT_IN_EXP2F, type, 1, res_op0);
   12913                 :          24 :                                   if (!_r)
   12914                 :           0 :                                     goto next_after_fail1645;
   12915                 :          24 :                                   if (UNLIKELY (debug_dump)) generic_dump_logs ("match.pd", 993, __FILE__, __LINE__, true);
   12916                 :          24 :                                   return _r;
   12917                 :             :                                 }
   12918                 :           0 : next_after_fail1645:;
   12919                 :             :                               }
   12920                 :             :                           }
   12921                 :             :                         }
   12922                 :             :                       break;
   12923                 :             :                     default:;
   12924                 :             :                     }
   12925                 :             :                   break;
   12926                 :             :                 default:;
   12927                 :             :                 }
   12928                 :             :             }
   12929                 :             :           break;
   12930                 :          48 :         case CFN_BUILT_IN_EXP2L:
   12931                 :          48 :           if (call_expr_nargs (_p0) == 1)
   12932                 :             :     {
   12933                 :          48 :               tree _q20 = CALL_EXPR_ARG (_p0, 0);
   12934                 :          48 :               switch (TREE_CODE (_p1))
   12935                 :             :                 {
   12936                 :          24 :                 case CALL_EXPR:
   12937                 :          24 :                   switch (get_call_combined_fn (_p1))
   12938                 :             :                     {
   12939                 :           0 :                     case CFN_BUILT_IN_POWL:
   12940                 :           0 :                       if (call_expr_nargs (_p1) == 2)
   12941                 :             :     {
   12942                 :           0 :                           tree _q40 = CALL_EXPR_ARG (_p1, 0);
   12943                 :           0 :                           tree _q41 = CALL_EXPR_ARG (_p1, 1);
   12944                 :           0 :                           switch (TREE_CODE (_q40))
   12945                 :             :                             {
   12946                 :           0 :                             case REAL_CST:
   12947                 :           0 :                               {
   12948                 :           0 :                                 {
   12949                 :           0 :                                   tree captures[5] ATTRIBUTE_UNUSED = { _p1, _q40, _q41, _p0, _q20 };
   12950                 :           0 :                                   if (flag_unsafe_math_optimizations
   12951                 :             : )
   12952                 :             :                                     {
   12953                 :           0 :                                       if (real_compare (GT_EXPR, TREE_REAL_CST_PTR (captures[1]), &dconst0)
   12954                 :           0 :  && real_isfinite (TREE_REAL_CST_PTR (captures[1]))
   12955                 :             : )
   12956                 :             :                                         {
   12957                 :           0 :                                           if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail1646;
   12958                 :           0 :                                           {
   12959                 :           0 :                                             tree res_op0;
   12960                 :           0 :                                             {
   12961                 :           0 :                                               tree _o1[2], _r1;
   12962                 :           0 :                                               {
   12963                 :           0 :                                                 tree _o2[2], _r2;
   12964                 :           0 :                                                 {
   12965                 :           0 :                                                   tree _o3[1], _r3;
   12966                 :           0 :                                                   _o3[0] = captures[1];
   12967                 :           0 :                                                   _r3 = maybe_build_call_expr_loc (loc, CFN_BUILT_IN_LOG2L, TREE_TYPE (_o3[0]), 1, _o3[0]);
   12968                 :           0 :                                                   if (!_r3)
   12969                 :           0 :                                                     goto next_after_fail1646;
   12970                 :           0 :                                                   _o2[0] = _r3;
   12971                 :             :                                                 }
   12972                 :           0 :                                                 _o2[1] = captures[2];
   12973                 :           0 :                                                 _r2 = fold_build2_loc (loc, MULT_EXPR, TREE_TYPE (_o2[0]), _o2[0], _o2[1]);
   12974                 :           0 :                                                 _o1[0] = _r2;
   12975                 :             :                                               }
   12976                 :           0 :                                               _o1[1] = captures[4];
   12977                 :           0 :                                               _r1 = fold_build2_loc (loc, PLUS_EXPR, TREE_TYPE (_o1[0]), _o1[0], _o1[1]);
   12978                 :           0 :                                               res_op0 = _r1;
   12979                 :             :                                             }
   12980                 :           0 :                                             tree _r;
   12981                 :           0 :                                             _r = maybe_build_call_expr_loc (loc, CFN_BUILT_IN_EXP2L, type, 1, res_op0);
   12982                 :           0 :                                             if (!_r)
   12983                 :           0 :                                               goto next_after_fail1646;
   12984                 :           0 :                                             if (UNLIKELY (debug_dump)) generic_dump_logs ("match.pd", 994, __FILE__, __LINE__, true);
   12985                 :           0 :                                             return _r;
   12986                 :             :                                           }
   12987                 :           0 : next_after_fail1646:;
   12988                 :             :                                         }
   12989                 :             :                                     }
   12990                 :             :                                 }
   12991                 :           0 :                                 break;
   12992                 :             :                               }
   12993                 :             :                             default:;
   12994                 :             :                             }
   12995                 :             :                         }
   12996                 :             :                       break;
   12997                 :          24 :                     case CFN_BUILT_IN_EXP2L:
   12998                 :          24 :                       if (call_expr_nargs (_p1) == 1)
   12999                 :             :     {
   13000                 :          24 :                           tree _q40 = CALL_EXPR_ARG (_p1, 0);
   13001                 :          24 :                           {
   13002                 :          24 :                             tree captures[4] ATTRIBUTE_UNUSED = { _p0, _q20, _p1, _q40 };
   13003                 :          24 :                             if (flag_unsafe_math_optimizations
   13004                 :             : )
   13005                 :             :                               {
   13006                 :          24 :                                 if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail1647;
   13007                 :          24 :                                 {
   13008                 :          24 :                                   tree res_op0;
   13009                 :          24 :                                   {
   13010                 :          24 :                                     tree _o1[2], _r1;
   13011                 :          24 :                                     _o1[0] = captures[1];
   13012                 :          24 :                                     _o1[1] = captures[3];
   13013                 :          24 :                                     _r1 = fold_build2_loc (loc, PLUS_EXPR, TREE_TYPE (_o1[0]), _o1[0], _o1[1]);
   13014                 :          24 :                                     res_op0 = _r1;
   13015                 :             :                                   }
   13016                 :          24 :                                   tree _r;
   13017                 :          24 :                                   _r = maybe_build_call_expr_loc (loc, CFN_BUILT_IN_EXP2L, type, 1, res_op0);
   13018                 :          24 :                                   if (!_r)
   13019                 :           0 :                                     goto next_after_fail1647;
   13020                 :          24 :                                   if (UNLIKELY (debug_dump)) generic_dump_logs ("match.pd", 993, __FILE__, __LINE__, true);
   13021                 :          24 :                                   return _r;
   13022                 :             :                                 }
   13023                 :           0 : next_after_fail1647:;
   13024                 :             :                               }
   13025                 :             :                           }
   13026                 :             :                         }
   13027                 :             :                       break;
   13028                 :             :                     default:;
   13029                 :             :                     }
   13030                 :             :                   break;
   13031                 :             :                 default:;
   13032                 :             :                 }
   13033                 :             :             }
   13034                 :             :           break;
   13035                 :           5 :         case CFN_BUILT_IN_LDEXP:
   13036                 :           5 :           if (call_expr_nargs (_p0) == 2)
   13037                 :             :     {
   13038                 :           5 :               tree _q20 = CALL_EXPR_ARG (_p0, 0);
   13039                 :           5 :               tree _q21 = CALL_EXPR_ARG (_p0, 1);
   13040                 :           5 :               switch (TREE_CODE (_p1))
   13041                 :             :                 {
   13042                 :           2 :                 case REAL_CST:
   13043                 :           2 :                   {
   13044                 :           2 :                     {
   13045                 :           2 :                       tree captures[3] ATTRIBUTE_UNUSED = { _p1, _q20, _q21 };
   13046                 :           2 :                       tree res = generic_simplify_195 (loc, type, _p0, _p1, captures, CFN_BUILT_IN_LDEXP);
   13047                 :           2 :                       if (res) return res;
   13048                 :             :                     }
   13049                 :           1 :                     break;
   13050                 :             :                   }
   13051                 :           4 :                 default:;
   13052                 :             :                 }
   13053                 :           4 :               switch (TREE_CODE (_q20))
   13054                 :             :                 {
   13055                 :           3 :                 case REAL_CST:
   13056                 :           3 :                   {
   13057                 :           3 :                     {
   13058                 :           3 :                       tree captures[3] ATTRIBUTE_UNUSED = { _p1, _q20, _q21 };
   13059                 :           3 :                       tree res = generic_simplify_196 (loc, type, _p0, _p1, captures, CFN_BUILT_IN_LDEXP);
   13060                 :           3 :                       if (res) return res;
   13061                 :             :                     }
   13062                 :           0 :                     break;
   13063                 :             :                   }
   13064                 :             :                 default:;
   13065                 :             :                 }
   13066                 :             :             }
   13067                 :             :           break;
   13068                 :          24 :         case CFN_BUILT_IN_POW10:
   13069                 :          24 :           if (call_expr_nargs (_p0) == 1)
   13070                 :             :     {
   13071                 :          24 :               tree _q20 = CALL_EXPR_ARG (_p0, 0);
   13072                 :          24 :               switch (TREE_CODE (_p1))
   13073                 :             :                 {
   13074                 :          12 :                 case CALL_EXPR:
   13075                 :          12 :                   switch (get_call_combined_fn (_p1))
   13076                 :             :                     {
   13077                 :           0 :                     case CFN_BUILT_IN_POW:
   13078                 :           0 :                       if (call_expr_nargs (_p1) == 2)
   13079                 :             :     {
   13080                 :           0 :                           tree _q40 = CALL_EXPR_ARG (_p1, 0);
   13081                 :           0 :                           tree _q41 = CALL_EXPR_ARG (_p1, 1);
   13082                 :           0 :                           switch (TREE_CODE (_q40))
   13083                 :             :                             {
   13084                 :           0 :                             case REAL_CST:
   13085                 :           0 :                               {
   13086                 :           0 :                                 {
   13087                 :           0 :                                   tree captures[5] ATTRIBUTE_UNUSED = { _p1, _q40, _q41, _p0, _q20 };
   13088                 :           0 :                                   if (flag_unsafe_math_optimizations
   13089                 :             : )
   13090                 :             :                                     {
   13091                 :           0 :                                       if (real_compare (GT_EXPR, TREE_REAL_CST_PTR (captures[1]), &dconst0)
   13092                 :           0 :  && real_isfinite (TREE_REAL_CST_PTR (captures[1]))
   13093                 :             : )
   13094                 :             :                                         {
   13095                 :           0 :                                           if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail1648;
   13096                 :           0 :                                           {
   13097                 :           0 :                                             tree res_op0;
   13098                 :           0 :                                             {
   13099                 :           0 :                                               tree _o1[2], _r1;
   13100                 :           0 :                                               {
   13101                 :           0 :                                                 tree _o2[2], _r2;
   13102                 :           0 :                                                 {
   13103                 :           0 :                                                   tree _o3[1], _r3;
   13104                 :           0 :                                                   _o3[0] = captures[1];
   13105                 :           0 :                                                   _r3 = maybe_build_call_expr_loc (loc, CFN_BUILT_IN_LOG10, TREE_TYPE (_o3[0]), 1, _o3[0]);
   13106                 :           0 :                                                   if (!_r3)
   13107                 :           0 :                                                     goto next_after_fail1648;
   13108                 :           0 :                                                   _o2[0] = _r3;
   13109                 :             :                                                 }
   13110                 :           0 :                                                 _o2[1] = captures[2];
   13111                 :           0 :                                                 _r2 = fold_build2_loc (loc, MULT_EXPR, TREE_TYPE (_o2[0]), _o2[0], _o2[1]);
   13112                 :           0 :                                                 _o1[0] = _r2;
   13113                 :             :                                               }
   13114                 :           0 :                                               _o1[1] = captures[4];
   13115                 :           0 :                                               _r1 = fold_build2_loc (loc, PLUS_EXPR, TREE_TYPE (_o1[0]), _o1[0], _o1[1]);
   13116                 :           0 :                                               res_op0 = _r1;
   13117                 :             :                                             }
   13118                 :           0 :                                             tree _r;
   13119                 :           0 :                                             _r = maybe_build_call_expr_loc (loc, CFN_BUILT_IN_POW10, type, 1, res_op0);
   13120                 :           0 :                                             if (!_r)
   13121                 :           0 :                                               goto next_after_fail1648;
   13122                 :           0 :                                             if (UNLIKELY (debug_dump)) generic_dump_logs ("match.pd", 994, __FILE__, __LINE__, true);
   13123                 :           0 :                                             return _r;
   13124                 :             :                                           }
   13125                 :           0 : next_after_fail1648:;
   13126                 :             :                                         }
   13127                 :             :                                     }
   13128                 :             :                                 }
   13129                 :           0 :                                 break;
   13130                 :             :                               }
   13131                 :             :                             default:;
   13132                 :             :                             }
   13133                 :             :                         }
   13134                 :             :                       break;
   13135                 :          12 :                     case CFN_BUILT_IN_POW10:
   13136                 :          12 :                       if (call_expr_nargs (_p1) == 1)
   13137                 :             :     {
   13138                 :          12 :                           tree _q40 = CALL_EXPR_ARG (_p1, 0);
   13139                 :          12 :                           {
   13140                 :          12 :                             tree captures[4] ATTRIBUTE_UNUSED = { _p0, _q20, _p1, _q40 };
   13141                 :          12 :                             if (flag_unsafe_math_optimizations
   13142                 :             : )
   13143                 :             :                               {
   13144                 :          12 :                                 if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail1649;
   13145                 :          12 :                                 {
   13146                 :          12 :                                   tree res_op0;
   13147                 :          12 :                                   {
   13148                 :          12 :                                     tree _o1[2], _r1;
   13149                 :          12 :                                     _o1[0] = captures[1];
   13150                 :          12 :                                     _o1[1] = captures[3];
   13151                 :          12 :                                     _r1 = fold_build2_loc (loc, PLUS_EXPR, TREE_TYPE (_o1[0]), _o1[0], _o1[1]);
   13152                 :          12 :                                     res_op0 = _r1;
   13153                 :             :                                   }
   13154                 :          12 :                                   tree _r;
   13155                 :          12 :                                   _r = maybe_build_call_expr_loc (loc, CFN_BUILT_IN_POW10, type, 1, res_op0);
   13156                 :          12 :                                   if (!_r)
   13157                 :          12 :                                     goto next_after_fail1649;
   13158                 :           0 :                                   if (UNLIKELY (debug_dump)) generic_dump_logs ("match.pd", 993, __FILE__, __LINE__, true);
   13159                 :           0 :                                   return _r;
   13160                 :             :                                 }
   13161                 :          12 : next_after_fail1649:;
   13162                 :             :                               }
   13163                 :             :                           }
   13164                 :             :                         }
   13165                 :             :                       break;
   13166                 :             :                     default:;
   13167                 :             :                     }
   13168                 :             :                   break;
   13169                 :             :                 default:;
   13170                 :             :                 }
   13171                 :             :             }
   13172                 :             :           break;
   13173                 :             :         default:;
   13174                 :             :         }
   13175                 :             :       break;
   13176                 :    64593758 :     default:;
   13177                 :             :     }
   13178                 :    64593758 :   switch (TREE_CODE (_p1))
   13179                 :             :     {
   13180                 :      927852 :     case CALL_EXPR:
   13181                 :      927852 :       switch (get_call_combined_fn (_p1))
   13182                 :             :         {
   13183                 :           0 :         case CFN_BUILT_IN_LDEXPF:
   13184                 :           0 :           if (call_expr_nargs (_p1) == 2)
   13185                 :             :     {
   13186                 :           0 :               tree _q30 = CALL_EXPR_ARG (_p1, 0);
   13187                 :           0 :               tree _q31 = CALL_EXPR_ARG (_p1, 1);
   13188                 :           0 :               switch (TREE_CODE (_q30))
   13189                 :             :                 {
   13190                 :           0 :                 case REAL_CST:
   13191                 :           0 :                   {
   13192                 :           0 :                     {
   13193                 :           0 :                       tree captures[3] ATTRIBUTE_UNUSED = { _p0, _q30, _q31 };
   13194                 :           0 :                       tree res = generic_simplify_196 (loc, type, _p0, _p1, captures, CFN_BUILT_IN_LDEXPF);
   13195                 :           0 :                       if (res) return res;
   13196                 :             :                     }
   13197                 :           0 :                     break;
   13198                 :             :                   }
   13199                 :             :                 default:;
   13200                 :             :                 }
   13201                 :             :             }
   13202                 :             :           break;
   13203                 :           0 :         case CFN_BUILT_IN_LDEXPL:
   13204                 :           0 :           if (call_expr_nargs (_p1) == 2)
   13205                 :             :     {
   13206                 :           0 :               tree _q30 = CALL_EXPR_ARG (_p1, 0);
   13207                 :           0 :               tree _q31 = CALL_EXPR_ARG (_p1, 1);
   13208                 :           0 :               switch (TREE_CODE (_q30))
   13209                 :             :                 {
   13210                 :           0 :                 case REAL_CST:
   13211                 :           0 :                   {
   13212                 :           0 :                     {
   13213                 :           0 :                       tree captures[3] ATTRIBUTE_UNUSED = { _p0, _q30, _q31 };
   13214                 :           0 :                       tree res = generic_simplify_196 (loc, type, _p0, _p1, captures, CFN_BUILT_IN_LDEXPL);
   13215                 :           0 :                       if (res) return res;
   13216                 :             :                     }
   13217                 :           0 :                     break;
   13218                 :             :                   }
   13219                 :             :                 default:;
   13220                 :             :                 }
   13221                 :             :             }
   13222                 :             :           break;
   13223                 :           0 :         case CFN_LDEXP:
   13224                 :           0 :           if (call_expr_nargs (_p1) == 2)
   13225                 :             :     {
   13226                 :           0 :               tree _q30 = CALL_EXPR_ARG (_p1, 0);
   13227                 :           0 :               tree _q31 = CALL_EXPR_ARG (_p1, 1);
   13228                 :           0 :               switch (TREE_CODE (_q30))
   13229                 :             :                 {
   13230                 :           0 :                 case REAL_CST:
   13231                 :           0 :                   {
   13232                 :           0 :                     {
   13233                 :           0 :                       tree captures[3] ATTRIBUTE_UNUSED = { _p0, _q30, _q31 };
   13234                 :           0 :                       tree res = generic_simplify_196 (loc, type, _p0, _p1, captures, CFN_LDEXP);
   13235                 :           0 :                       if (res) return res;
   13236                 :             :                     }
   13237                 :           0 :                     break;
   13238                 :             :                   }
   13239                 :             :                 default:;
   13240                 :             :                 }
   13241                 :             :             }
   13242                 :             :           break;
   13243                 :           0 :         case CFN_BUILT_IN_LDEXP:
   13244                 :           0 :           if (call_expr_nargs (_p1) == 2)
   13245                 :             :     {
   13246                 :           0 :               tree _q30 = CALL_EXPR_ARG (_p1, 0);
   13247                 :           0 :               tree _q31 = CALL_EXPR_ARG (_p1, 1);
   13248                 :           0 :               switch (TREE_CODE (_q30))
   13249                 :             :                 {
   13250                 :           0 :                 case REAL_CST:
   13251                 :           0 :                   {
   13252                 :           0 :                     {
   13253                 :           0 :                       tree captures[3] ATTRIBUTE_UNUSED = { _p0, _q30, _q31 };
   13254                 :           0 :                       tree res = generic_simplify_196 (loc, type, _p0, _p1, captures, CFN_BUILT_IN_LDEXP);
   13255                 :           0 :                       if (res) return res;
   13256                 :             :                     }
   13257                 :           0 :                     break;
   13258                 :             :                   }
   13259                 :             :                 default:;
   13260                 :             :                 }
   13261                 :             :             }
   13262                 :             :           break;
   13263                 :             :         default:;
   13264                 :             :         }
   13265                 :             :       break;
   13266                 :    64593758 :     default:;
   13267                 :             :     }
   13268                 :    64593758 :   switch (TREE_CODE (_p0))
   13269                 :             :     {
   13270                 :     2492985 :     case CALL_EXPR:
   13271                 :     2492985 :       switch (get_call_combined_fn (_p0))
   13272                 :             :         {
   13273                 :          29 :         case CFN_BUILT_IN_COS:
   13274                 :          29 :           if (call_expr_nargs (_p0) == 1)
   13275                 :             :     {
   13276                 :          29 :               tree _q20 = CALL_EXPR_ARG (_p0, 0);
   13277                 :          29 :               switch (TREE_CODE (_p1))
   13278                 :             :                 {
   13279                 :           4 :                 case CALL_EXPR:
   13280                 :           4 :                   switch (get_call_combined_fn (_p1))
   13281                 :             :                     {
   13282                 :           2 :                     case CFN_BUILT_IN_TAN:
   13283                 :           2 :                       if (call_expr_nargs (_p1) == 1)
   13284                 :             :     {
   13285                 :           2 :                           tree _q40 = CALL_EXPR_ARG (_p1, 0);
   13286                 :           2 :                           if ((_q40 == _q20 && ! TREE_SIDE_EFFECTS (_q40)) || (operand_equal_p (_q40, _q20, 0) && types_match (_q40, _q20)))
   13287                 :             :                             {
   13288                 :           2 :                               {
   13289                 :           2 :                                 tree captures[3] ATTRIBUTE_UNUSED = { _p1, _q20, _p0 };
   13290                 :           2 :                                 tree res = generic_simplify_197 (loc, type, _p0, _p1, captures, CFN_BUILT_IN_TAN, CFN_BUILT_IN_COS, CFN_BUILT_IN_SIN);
   13291                 :           2 :                                 if (res) return res;
   13292                 :             :                               }
   13293                 :             :                             }
   13294                 :             :                         }
   13295                 :             :                       break;
   13296                 :             :                     default:;
   13297                 :             :                     }
   13298                 :             :                   break;
   13299                 :             :                 default:;
   13300                 :             :                 }
   13301                 :             :             }
   13302                 :             :           break;
   13303                 :           2 :         case CFN_BUILT_IN_TAN:
   13304                 :           2 :           if (call_expr_nargs (_p0) == 1)
   13305                 :             :     {
   13306                 :           2 :               tree _q20 = CALL_EXPR_ARG (_p0, 0);
   13307                 :           2 :               switch (TREE_CODE (_p1))
   13308                 :             :                 {
   13309                 :           2 :                 case CALL_EXPR:
   13310                 :           2 :                   switch (get_call_combined_fn (_p1))
   13311                 :             :                     {
   13312                 :           2 :                     case CFN_BUILT_IN_COS:
   13313                 :           2 :                       if (call_expr_nargs (_p1) == 1)
   13314                 :             :     {
   13315                 :           2 :                           tree _q40 = CALL_EXPR_ARG (_p1, 0);
   13316                 :           2 :                           if ((_q40 == _q20 && ! TREE_SIDE_EFFECTS (_q40)) || (operand_equal_p (_q40, _q20, 0) && types_match (_q40, _q20)))
   13317                 :             :                             {
   13318                 :           2 :                               {
   13319                 :           2 :                                 tree captures[3] ATTRIBUTE_UNUSED = { _p0, _q20, _p1 };
   13320                 :           2 :                                 tree res = generic_simplify_197 (loc, type, _p0, _p1, captures, CFN_BUILT_IN_TAN, CFN_BUILT_IN_COS, CFN_BUILT_IN_SIN);
   13321                 :           2 :                                 if (res) return res;
   13322                 :             :                               }
   13323                 :             :                             }
   13324                 :             :                         }
   13325                 :             :                       break;
   13326                 :             :                     default:;
   13327                 :             :                     }
   13328                 :             :                   break;
   13329                 :             :                 default:;
   13330                 :             :                 }
   13331                 :             :             }
   13332                 :             :           break;
   13333                 :          18 :         case CFN_BUILT_IN_COSF:
   13334                 :          18 :           if (call_expr_nargs (_p0) == 1)
   13335                 :             :     {
   13336                 :          18 :               tree _q20 = CALL_EXPR_ARG (_p0, 0);
   13337                 :          18 :               switch (TREE_CODE (_p1))
   13338                 :             :                 {
   13339                 :           9 :                 case CALL_EXPR:
   13340                 :           9 :                   switch (get_call_combined_fn (_p1))
   13341                 :             :                     {
   13342                 :           2 :                     case CFN_BUILT_IN_TANF:
   13343                 :           2 :                       if (call_expr_nargs (_p1) == 1)
   13344                 :             :     {
   13345                 :           2 :                           tree _q40 = CALL_EXPR_ARG (_p1, 0);
   13346                 :           2 :                           if ((_q40 == _q20 && ! TREE_SIDE_EFFECTS (_q40)) || (operand_equal_p (_q40, _q20, 0) && types_match (_q40, _q20)))
   13347                 :             :                             {
   13348                 :           2 :                               {
   13349                 :           2 :                                 tree captures[3] ATTRIBUTE_UNUSED = { _p1, _q20, _p0 };
   13350                 :           2 :                                 tree res = generic_simplify_197 (loc, type, _p0, _p1, captures, CFN_BUILT_IN_TANF, CFN_BUILT_IN_COSF, CFN_BUILT_IN_SINF);
   13351                 :           2 :                                 if (res) return res;
   13352                 :             :                               }
   13353                 :             :                             }
   13354                 :             :                         }
   13355                 :             :                       break;
   13356                 :             :                     default:;
   13357                 :             :                     }
   13358                 :             :                   break;
   13359                 :             :                 default:;
   13360                 :             :                 }
   13361                 :             :             }
   13362                 :             :           break;
   13363                 :           2 :         case CFN_BUILT_IN_COSL:
   13364                 :           2 :           if (call_expr_nargs (_p0) == 1)
   13365                 :             :     {
   13366                 :           2 :               tree _q20 = CALL_EXPR_ARG (_p0, 0);
   13367                 :           2 :               switch (TREE_CODE (_p1))
   13368                 :             :                 {
   13369                 :           2 :                 case CALL_EXPR:
   13370                 :           2 :                   switch (get_call_combined_fn (_p1))
   13371                 :             :                     {
   13372                 :           2 :                     case CFN_BUILT_IN_TANL:
   13373                 :           2 :                       if (call_expr_nargs (_p1) == 1)
   13374                 :             :     {
   13375                 :           2 :                           tree _q40 = CALL_EXPR_ARG (_p1, 0);
   13376                 :           2 :                           if ((_q40 == _q20 && ! TREE_SIDE_EFFECTS (_q40)) || (operand_equal_p (_q40, _q20, 0) && types_match (_q40, _q20)))
   13377                 :             :                             {
   13378                 :           2 :                               {
   13379                 :           2 :                                 tree captures[3] ATTRIBUTE_UNUSED = { _p1, _q20, _p0 };
   13380                 :           2 :                                 tree res = generic_simplify_197 (loc, type, _p0, _p1, captures, CFN_BUILT_IN_TANL, CFN_BUILT_IN_COSL, CFN_BUILT_IN_SINL);
   13381                 :           2 :                                 if (res) return res;
   13382                 :             :                               }
   13383                 :             :                             }
   13384                 :             :                         }
   13385                 :             :                       break;
   13386                 :             :                     default:;
   13387                 :             :                     }
   13388                 :             :                   break;
   13389                 :             :                 default:;
   13390                 :             :                 }
   13391                 :             :             }
   13392                 :             :           break;
   13393                 :           2 :         case CFN_BUILT_IN_TANF:
   13394                 :           2 :           if (call_expr_nargs (_p0) == 1)
   13395                 :             :     {
   13396                 :           2 :               tree _q20 = CALL_EXPR_ARG (_p0, 0);
   13397                 :           2 :               switch (TREE_CODE (_p1))
   13398                 :             :                 {
   13399                 :           2 :                 case CALL_EXPR:
   13400                 :           2 :                   switch (get_call_combined_fn (_p1))
   13401                 :             :                     {
   13402                 :           2 :                     case CFN_BUILT_IN_COSF:
   13403                 :           2 :                       if (call_expr_nargs (_p1) == 1)
   13404                 :             :     {
   13405                 :           2 :                           tree _q40 = CALL_EXPR_ARG (_p1, 0);
   13406                 :           2 :                           if ((_q40 == _q20 && ! TREE_SIDE_EFFECTS (_q40)) || (operand_equal_p (_q40, _q20, 0) && types_match (_q40, _q20)))
   13407                 :             :                             {
   13408                 :           2 :                               {
   13409                 :           2 :                                 tree captures[3] ATTRIBUTE_UNUSED = { _p0, _q20, _p1 };
   13410                 :           2 :                                 tree res = generic_simplify_197 (loc, type, _p0, _p1, captures, CFN_BUILT_IN_TANF, CFN_BUILT_IN_COSF, CFN_BUILT_IN_SINF);
   13411                 :           2 :                                 if (res) return res;
   13412                 :             :                               }
   13413                 :             :                             }
   13414                 :             :                         }
   13415                 :             :                       break;
   13416                 :             :                     default:;
   13417                 :             :                     }
   13418                 :             :                   break;
   13419                 :             :                 default:;
   13420                 :             :                 }
   13421                 :             :             }
   13422                 :             :           break;
   13423                 :           2 :         case CFN_BUILT_IN_TANL:
   13424                 :           2 :           if (call_expr_nargs (_p0) == 1)
   13425                 :             :     {
   13426                 :           2 :               tree _q20 = CALL_EXPR_ARG (_p0, 0);
   13427                 :           2 :               switch (TREE_CODE (_p1))
   13428                 :             :                 {
   13429                 :           2 :                 case CALL_EXPR:
   13430                 :           2 :                   switch (get_call_combined_fn (_p1))
   13431                 :             :                     {
   13432                 :           2 :                     case CFN_BUILT_IN_COSL:
   13433                 :           2 :                       if (call_expr_nargs (_p1) == 1)
   13434                 :             :     {
   13435                 :           2 :                           tree _q40 = CALL_EXPR_ARG (_p1, 0);
   13436                 :           2 :                           if ((_q40 == _q20 && ! TREE_SIDE_EFFECTS (_q40)) || (operand_equal_p (_q40, _q20, 0) && types_match (_q40, _q20)))
   13437                 :             :                             {
   13438                 :           2 :                               {
   13439                 :           2 :                                 tree captures[3] ATTRIBUTE_UNUSED = { _p0, _q20, _p1 };
   13440                 :           2 :                                 tree res = generic_simplify_197 (loc, type, _p0, _p1, captures, CFN_BUILT_IN_TANL, CFN_BUILT_IN_COSL, CFN_BUILT_IN_SINL);
   13441                 :           2 :                                 if (res) return res;
   13442                 :             :                               }
   13443                 :             :                             }
   13444                 :             :                         }
   13445                 :             :                       break;
   13446                 :             :                     default:;
   13447                 :             :                     }
   13448                 :             :                   break;
   13449                 :             :                 default:;
   13450                 :             :                 }
   13451                 :             :             }
   13452                 :             :           break;
   13453                 :           0 :         case CFN_COS:
   13454                 :           0 :           if (call_expr_nargs (_p0) == 1)
   13455                 :             :     {
   13456                 :           0 :               tree _q20 = CALL_EXPR_ARG (_p0, 0);
   13457                 :           0 :               switch (TREE_CODE (_p1))
   13458                 :             :                 {
   13459                 :           0 :                 case CALL_EXPR:
   13460                 :           0 :                   switch (get_call_combined_fn (_p1))
   13461                 :             :                     {
   13462                 :           0 :                     case CFN_TAN:
   13463                 :           0 :                       if (call_expr_nargs (_p1) == 1)
   13464                 :             :     {
   13465                 :           0 :                           tree _q40 = CALL_EXPR_ARG (_p1, 0);
   13466                 :           0 :                           if ((_q40 == _q20 && ! TREE_SIDE_EFFECTS (_q40)) || (operand_equal_p (_q40, _q20, 0) && types_match (_q40, _q20)))
   13467                 :             :                             {
   13468                 :           0 :                               {
   13469                 :           0 :                                 tree captures[3] ATTRIBUTE_UNUSED = { _p1, _q20, _p0 };
   13470                 :           0 :                                 tree res = generic_simplify_197 (loc, type, _p0, _p1, captures, CFN_TAN, CFN_COS, CFN_SIN);
   13471                 :           0 :                                 if (res) return res;
   13472                 :             :                               }
   13473                 :             :                             }
   13474                 :             :                         }
   13475                 :             :                       break;
   13476                 :             :                     default:;
   13477                 :             :                     }
   13478                 :             :                   break;
   13479                 :             :                 default:;
   13480                 :             :                 }
   13481                 :             :             }
   13482                 :             :           break;
   13483                 :           0 :         case CFN_TAN:
   13484                 :           0 :           if (call_expr_nargs (_p0) == 1)
   13485                 :             :     {
   13486                 :           0 :               tree _q20 = CALL_EXPR_ARG (_p0, 0);
   13487                 :           0 :               switch (TREE_CODE (_p1))
   13488                 :             :                 {
   13489                 :           0 :                 case CALL_EXPR:
   13490                 :           0 :                   switch (get_call_combined_fn (_p1))
   13491                 :             :                     {
   13492                 :           0 :                     case CFN_COS:
   13493                 :           0 :                       if (call_expr_nargs (_p1) == 1)
   13494                 :             :     {
   13495                 :           0 :                           tree _q40 = CALL_EXPR_ARG (_p1, 0);
   13496                 :           0 :                           if ((_q40 == _q20 && ! TREE_SIDE_EFFECTS (_q40)) || (operand_equal_p (_q40, _q20, 0) && types_match (_q40, _q20)))
   13497                 :             :                             {
   13498                 :           0 :                               {
   13499                 :           0 :                                 tree captures[3] ATTRIBUTE_UNUSED = { _p0, _q20, _p1 };
   13500                 :           0 :                                 tree res = generic_simplify_197 (loc, type, _p0, _p1, captures, CFN_TAN, CFN_COS, CFN_SIN);
   13501                 :           0 :                                 if (res) return res;
   13502                 :             :                               }
   13503                 :             :                             }
   13504                 :             :                         }
   13505                 :             :                       break;
   13506                 :             :                     default:;
   13507                 :             :                     }
   13508                 :             :                   break;
   13509                 :             :                 default:;
   13510                 :             :                 }
   13511                 :             :             }
   13512                 :             :           break;
   13513                 :             :         default:;
   13514                 :             :         }
   13515                 :             :       break;
   13516                 :    64593746 :     default:;
   13517                 :             :     }
   13518                 :    64593746 :   switch (TREE_CODE (_p1))
   13519                 :             :     {
   13520                 :      927840 :     case CALL_EXPR:
   13521                 :      927840 :       switch (get_call_combined_fn (_p1))
   13522                 :             :         {
   13523                 :          59 :         case CFN_BUILT_IN_POW:
   13524                 :          59 :           if (call_expr_nargs (_p1) == 2)
   13525                 :             :     {
   13526                 :          59 :               tree _q30 = CALL_EXPR_ARG (_p1, 0);
   13527                 :          59 :               tree _q31 = CALL_EXPR_ARG (_p1, 1);
   13528                 :          59 :               if ((_q30 == _p0 && ! TREE_SIDE_EFFECTS (_q30)) || (operand_equal_p (_q30, _p0, 0) && types_match (_q30, _p0)))
   13529                 :             :                 {
   13530                 :           0 :                   switch (TREE_CODE (_q31))
   13531                 :             :                     {
   13532                 :           0 :                     case REAL_CST:
   13533                 :           0 :                       {
   13534                 :           0 :                         {
   13535                 :           0 :                           tree captures[3] ATTRIBUTE_UNUSED = { _p0, _p1, _q31 };
   13536                 :           0 :                           tree res = generic_simplify_194 (loc, type, _p0, _p1, captures, CFN_BUILT_IN_POW);
   13537                 :           0 :                           if (res) return res;
   13538                 :             :                         }
   13539                 :           0 :                         break;
   13540                 :             :                       }
   13541                 :             :                     default:;
   13542                 :             :                     }
   13543                 :             :                 }
   13544                 :             :             }
   13545                 :             :           break;
   13546                 :          23 :         case CFN_BUILT_IN_POWF:
   13547                 :          23 :           if (call_expr_nargs (_p1) == 2)
   13548                 :             :     {
   13549                 :          23 :               tree _q30 = CALL_EXPR_ARG (_p1, 0);
   13550                 :          23 :               tree _q31 = CALL_EXPR_ARG (_p1, 1);
   13551                 :          23 :               if ((_q30 == _p0 && ! TREE_SIDE_EFFECTS (_q30)) || (operand_equal_p (_q30, _p0, 0) && types_match (_q30, _p0)))
   13552                 :             :                 {
   13553                 :           0 :                   switch (TREE_CODE (_q31))
   13554                 :             :                     {
   13555                 :           0 :                     case REAL_CST:
   13556                 :           0 :                       {
   13557                 :           0 :                         {
   13558                 :           0 :                           tree captures[3] ATTRIBUTE_UNUSED = { _p0, _p1, _q31 };
   13559                 :           0 :                           tree res = generic_simplify_194 (loc, type, _p0, _p1, captures, CFN_BUILT_IN_POWF);
   13560                 :           0 :                           if (res) return res;
   13561                 :             :                         }
   13562                 :           0 :                         break;
   13563                 :             :                       }
   13564                 :             :                     default:;
   13565                 :             :                     }
   13566                 :             :                 }
   13567                 :             :             }
   13568                 :             :           break;
   13569                 :          12 :         case CFN_BUILT_IN_POWL:
   13570                 :          12 :           if (call_expr_nargs (_p1) == 2)
   13571                 :             :     {
   13572                 :          12 :               tree _q30 = CALL_EXPR_ARG (_p1, 0);
   13573                 :          12 :               tree _q31 = CALL_EXPR_ARG (_p1, 1);
   13574                 :          12 :               if ((_q30 == _p0 && ! TREE_SIDE_EFFECTS (_q30)) || (operand_equal_p (_q30, _p0, 0) && types_match (_q30, _p0)))
   13575                 :             :                 {
   13576                 :           0 :                   switch (TREE_CODE (_q31))
   13577                 :             :                     {
   13578                 :           0 :                     case REAL_CST:
   13579                 :           0 :                       {
   13580                 :           0 :                         {
   13581                 :           0 :                           tree captures[3] ATTRIBUTE_UNUSED = { _p0, _p1, _q31 };
   13582                 :           0 :                           tree res = generic_simplify_194 (loc, type, _p0, _p1, captures, CFN_BUILT_IN_POWL);
   13583                 :           0 :                           if (res) return res;
   13584                 :             :                         }
   13585                 :           0 :                         break;
   13586                 :             :                       }
   13587                 :             :                     default:;
   13588                 :             :                     }
   13589                 :             :                 }
   13590                 :             :             }
   13591                 :             :           break;
   13592                 :           0 :         case CFN_POW:
   13593                 :           0 :           if (call_expr_nargs (_p1) == 2)
   13594                 :             :     {
   13595                 :           0 :               tree _q30 = CALL_EXPR_ARG (_p1, 0);
   13596                 :           0 :               tree _q31 = CALL_EXPR_ARG (_p1, 1);
   13597                 :           0 :               if ((_q30 == _p0 && ! TREE_SIDE_EFFECTS (_q30)) || (operand_equal_p (_q30, _p0, 0) && types_match (_q30, _p0)))
   13598                 :             :                 {
   13599                 :           0 :                   switch (TREE_CODE (_q31))
   13600                 :             :                     {
   13601                 :           0 :                     case REAL_CST:
   13602                 :           0 :                       {
   13603                 :           0 :                         {
   13604                 :           0 :                           tree captures[3] ATTRIBUTE_UNUSED = { _p0, _p1, _q31 };
   13605                 :           0 :                           tree res = generic_simplify_194 (loc, type, _p0, _p1, captures, CFN_POW);
   13606                 :           0 :                           if (res) return res;
   13607                 :             :                         }
   13608                 :           0 :                         break;
   13609                 :             :                       }
   13610                 :             :                     default:;
   13611                 :             :                     }
   13612                 :             :                 }
   13613                 :             :             }
   13614                 :             :           break;
   13615                 :             :         default:;
   13616                 :             :         }
   13617                 :             :       break;
   13618                 :    64593746 :     default:;
   13619                 :             :     }
   13620                 :    64593746 :   switch (TREE_CODE (_p0))
   13621                 :             :     {
   13622                 :           1 :     case VEC_PERM_EXPR:
   13623                 :           1 :       {
   13624                 :           1 :         tree _q20 = TREE_OPERAND (_p0, 0);
   13625                 :           1 :         tree _q21 = TREE_OPERAND (_p0, 1);
   13626                 :           1 :         tree _q22 = TREE_OPERAND (_p0, 2);
   13627                 :           1 :         if ((_q21 == _q20 && ! TREE_SIDE_EFFECTS (_q21)) || (operand_equal_p (_q21, _q20, 0) && types_match (_q21, _q20)))
   13628                 :             :           {
   13629                 :           1 :             switch (TREE_CODE (_p1))
   13630                 :             :               {
   13631                 :           0 :               case VEC_PERM_EXPR:
   13632                 :           0 :                 {
   13633                 :           0 :                   tree _q60 = TREE_OPERAND (_p1, 0);
   13634                 :           0 :                   tree _q61 = TREE_OPERAND (_p1, 1);
   13635                 :           0 :                   tree _q62 = TREE_OPERAND (_p1, 2);
   13636                 :           0 :                   if ((_q61 == _q60 && ! TREE_SIDE_EFFECTS (_q61)) || (operand_equal_p (_q61, _q60, 0) && types_match (_q61, _q60)))
   13637                 :             :                     {
   13638                 :           0 :                       if ((_q62 == _q22 && ! TREE_SIDE_EFFECTS (_q62)) || (operand_equal_p (_q62, _q22, 0) && types_match (_q62, _q22)))
   13639                 :             :                         {
   13640                 :           0 :                           {
   13641                 :           0 :                             tree captures[4] ATTRIBUTE_UNUSED = { _q20, _q22, _q60 };
   13642                 :           0 :                             if (VECTOR_INTEGER_TYPE_P (type)
   13643                 :             : )
   13644                 :             :                               {
   13645                 :           0 :                                 if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail1650;
   13646                 :           0 :                                 {
   13647                 :           0 :                                   tree res_op0;
   13648                 :           0 :                                   {
   13649                 :           0 :                                     tree _o1[2], _r1;
   13650                 :           0 :                                     _o1[0] = captures[0];
   13651                 :           0 :                                     _o1[1] = captures[2];
   13652                 :           0 :                                     _r1 = fold_build2_loc (loc, MULT_EXPR, TREE_TYPE (_o1[0]), _o1[0], _o1[1]);
   13653                 :           0 :                                     captures[3] = _r1;
   13654                 :             :                                   }
   13655                 :           0 :                                   res_op0 = unshare_expr (captures[3]);
   13656                 :           0 :                                   tree res_op1;
   13657                 :           0 :                                   res_op1 = captures[3];
   13658                 :           0 :                                   tree res_op2;
   13659                 :           0 :                                   res_op2 = captures[1];
   13660                 :           0 :                                   tree _r;
   13661                 :           0 :                                   _r = fold_build3_loc (loc, VEC_PERM_EXPR, type, res_op0, res_op1, res_op2);
   13662                 :           0 :                                   if (UNLIKELY (debug_dump)) generic_dump_logs ("match.pd", 912, __FILE__, __LINE__, true);
   13663                 :           0 :                                   return _r;
   13664                 :             :                                 }
   13665                 :           0 : next_after_fail1650:;
   13666                 :             :                               }
   13667                 :             :                           }
   13668                 :             :                         }
   13669                 :             :                     }
   13670                 :             :                   break;
   13671                 :             :                 }
   13672                 :           1 :               default:;
   13673                 :             :               }
   13674                 :           1 :             switch (TREE_CODE (_q22))
   13675                 :             :               {
   13676                 :           0 :               case VECTOR_CST:
   13677                 :           0 :                 {
   13678                 :           0 :                   switch (TREE_CODE (_p1))
   13679                 :             :                     {
   13680                 :           0 :                     case VEC_PERM_EXPR:
   13681                 :           0 :                       {
   13682                 :           0 :                         tree _q60 = TREE_OPERAND (_p1, 0);
   13683                 :           0 :                         tree _q61 = TREE_OPERAND (_p1, 1);
   13684                 :           0 :                         tree _q62 = TREE_OPERAND (_p1, 2);
   13685                 :           0 :                         if ((_q61 == _q60 && ! TREE_SIDE_EFFECTS (_q61)) || (operand_equal_p (_q61, _q60, 0) && types_match (_q61, _q60)))
   13686                 :             :                           {
   13687                 :           0 :                             if ((_q62 == _q22 && ! TREE_SIDE_EFFECTS (_q62)) || (operand_equal_p (_q62, _q22, 0) && types_match (_q62, _q22)))
   13688                 :             :                               {
   13689                 :           0 :                                 switch (TREE_CODE (_q62))
   13690                 :             :                                   {
   13691                 :           0 :                                   case VECTOR_CST:
   13692                 :           0 :                                     {
   13693                 :           0 :                                       {
   13694                 :           0 :                                         tree captures[4] ATTRIBUTE_UNUSED = { _q20, _q22, _q60 };
   13695                 :           0 :                                         tree res = generic_simplify_39 (loc, type, _p0, _p1, captures, MULT_EXPR);
   13696                 :           0 :                                         if (res) return res;
   13697                 :             :                                       }
   13698                 :           0 :                                       break;
   13699                 :             :                                     }
   13700                 :             :                                   default:;
   13701                 :             :                                   }
   13702                 :             :                               }
   13703                 :             :                           }
   13704                 :             :                         break;
   13705                 :             :                       }
   13706                 :             :                     default:;
   13707                 :             :                     }
   13708                 :             :                   break;
   13709                 :             :                 }
   13710                 :             :               default:;
   13711                 :             :               }
   13712                 :             :           }
   13713                 :             :         break;
   13714                 :             :       }
   13715                 :     2492973 :     case CALL_EXPR:
   13716                 :     2492973 :       switch (get_call_combined_fn (_p0))
   13717                 :             :         {
   13718                 :         115 :         case CFN_BUILT_IN_POW:
   13719                 :         115 :           if (call_expr_nargs (_p0) == 2)
   13720                 :             :     {
   13721                 :         115 :               tree _q20 = CALL_EXPR_ARG (_p0, 0);
   13722                 :         115 :               tree _q21 = CALL_EXPR_ARG (_p0, 1);
   13723                 :         115 :               switch (TREE_CODE (_p1))
   13724                 :             :                 {
   13725                 :          80 :                 case CALL_EXPR:
   13726                 :          80 :                   switch (get_call_combined_fn (_p1))
   13727                 :             :                     {
   13728                 :          20 :                     case CFN_BUILT_IN_POW:
   13729                 :          20 :                       if (call_expr_nargs (_p1) == 2)
   13730                 :             :     {
   13731                 :          20 :                           tree _q50 = CALL_EXPR_ARG (_p1, 0);
   13732                 :          20 :                           tree _q51 = CALL_EXPR_ARG (_p1, 1);
   13733                 :          20 :                           if ((_q50 == _q20 && ! TREE_SIDE_EFFECTS (_q50)) || (operand_equal_p (_q50, _q20, 0) && types_match (_q50, _q20)))
   13734                 :             :                             {
   13735                 :          14 :                               {
   13736                 :          14 :                                 tree captures[5] ATTRIBUTE_UNUSED = { _p0, _q20, _q21, _p1, _q51 };
   13737                 :          14 :                                 tree res = generic_simplify_198 (loc, type, _p0, _p1, captures, CFN_BUILT_IN_POW);
   13738                 :          14 :                                 if (res) return res;
   13739                 :             :                               }
   13740                 :             :                             }
   13741                 :           6 :                           if ((_q51 == _q21 && ! TREE_SIDE_EFFECTS (_q51)) || (operand_equal_p (_q51, _q21, 0) && types_match (_q51, _q21)))
   13742                 :             :                             {
   13743                 :           2 :                               {
   13744                 :           2 :                                 tree captures[5] ATTRIBUTE_UNUSED = { _p0, _q20, _q21, _p1, _q50 };
   13745                 :           2 :                                 tree res = generic_simplify_199 (loc, type, _p0, _p1, captures, CFN_BUILT_IN_POW);
   13746                 :           2 :                                 if (res) return res;
   13747                 :             :                               }
   13748                 :             :                             }
   13749                 :             :                         }
   13750                 :             :                       break;
   13751                 :             :                     default:;
   13752                 :             :                     }
   13753                 :             :                   break;
   13754                 :             :                 default:;
   13755                 :             :                 }
   13756                 :             :             }
   13757                 :             :           break;
   13758                 :          19 :         case CFN_BUILT_IN_POWF:
   13759                 :          19 :           if (call_expr_nargs (_p0) == 2)
   13760                 :             :     {
   13761                 :          19 :               tree _q20 = CALL_EXPR_ARG (_p0, 0);
   13762                 :          19 :               tree _q21 = CALL_EXPR_ARG (_p0, 1);
   13763                 :          19 :               switch (TREE_CODE (_p1))
   13764                 :             :                 {
   13765                 :          13 :                 case CALL_EXPR:
   13766                 :          13 :                   switch (get_call_combined_fn (_p1))
   13767                 :             :                     {
   13768                 :          13 :                     case CFN_BUILT_IN_POWF:
   13769                 :          13 :                       if (call_expr_nargs (_p1) == 2)
   13770                 :             :     {
   13771                 :          13 :                           tree _q50 = CALL_EXPR_ARG (_p1, 0);
   13772                 :          13 :                           tree _q51 = CALL_EXPR_ARG (_p1, 1);
   13773                 :          13 :                           if ((_q50 == _q20 && ! TREE_SIDE_EFFECTS (_q50)) || (operand_equal_p (_q50, _q20, 0) && types_match (_q50, _q20)))
   13774                 :             :                             {
   13775                 :          12 :                               {
   13776                 :          12 :                                 tree captures[5] ATTRIBUTE_UNUSED = { _p0, _q20, _q21, _p1, _q51 };
   13777                 :          12 :                                 tree res = generic_simplify_198 (loc, type, _p0, _p1, captures, CFN_BUILT_IN_POWF);
   13778                 :          12 :                                 if (res) return res;
   13779                 :             :                               }
   13780                 :             :                             }
   13781                 :           1 :                           if ((_q51 == _q21 && ! TREE_SIDE_EFFECTS (_q51)) || (operand_equal_p (_q51, _q21, 0) && types_match (_q51, _q21)))
   13782                 :             :                             {
   13783                 :           0 :                               {
   13784                 :           0 :                                 tree captures[5] ATTRIBUTE_UNUSED = { _p0, _q20, _q21, _p1, _q50 };
   13785                 :           0 :                                 tree res = generic_simplify_199 (loc, type, _p0, _p1, captures, CFN_BUILT_IN_POWF);
   13786                 :           0 :                                 if (res) return res;
   13787                 :             :                               }
   13788                 :             :                             }
   13789                 :             :                         }
   13790                 :             :                       break;
   13791                 :             :                     default:;
   13792                 :             :                     }
   13793                 :             :                   break;
   13794                 :             :                 default:;
   13795                 :             :                 }
   13796                 :             :             }
   13797                 :             :           break;
   13798                 :          35 :         case CFN_BUILT_IN_POWI:
   13799                 :          35 :           if (call_expr_nargs (_p0) == 2)
   13800                 :             :     {
   13801                 :          35 :               tree _q20 = CALL_EXPR_ARG (_p0, 0);
   13802                 :          35 :               tree _q21 = CALL_EXPR_ARG (_p0, 1);
   13803                 :          35 :               switch (TREE_CODE (_p1))
   13804                 :             :                 {
   13805                 :           0 :                 case CALL_EXPR:
   13806                 :           0 :                   switch (get_call_combined_fn (_p1))
   13807                 :             :                     {
   13808                 :           0 :                     case CFN_BUILT_IN_POWI:
   13809                 :           0 :                       if (call_expr_nargs (_p1) == 2)
   13810                 :             :     {
   13811                 :           0 :                           tree _q50 = CALL_EXPR_ARG (_p1, 0);
   13812                 :           0 :                           tree _q51 = CALL_EXPR_ARG (_p1, 1);
   13813                 :           0 :                           if ((_q51 == _q21 && ! TREE_SIDE_EFFECTS (_q51)) || (operand_equal_p (_q51, _q21, 0) && types_match (_q51, _q21)))
   13814                 :             :                             {
   13815                 :           0 :                               {
   13816                 :           0 :                                 tree captures[5] ATTRIBUTE_UNUSED = { _p0, _q20, _q21, _p1, _q50 };
   13817                 :           0 :                                 if (flag_unsafe_math_optimizations && canonicalize_math_p ()
   13818                 :             : )
   13819                 :             :                                   {
   13820                 :           0 :                                     if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail1651;
   13821                 :           0 :                                     {
   13822                 :           0 :                                       tree res_op0;
   13823                 :           0 :                                       {
   13824                 :           0 :                                         tree _o1[2], _r1;
   13825                 :           0 :                                         _o1[0] = captures[1];
   13826                 :           0 :                                         _o1[1] = captures[4];
   13827                 :           0 :                                         _r1 = fold_build2_loc (loc, MULT_EXPR, TREE_TYPE (_o1[0]), _o1[0], _o1[1]);
   13828                 :           0 :                                         res_op0 = _r1;
   13829                 :             :                                       }
   13830                 :           0 :                                       tree res_op1;
   13831                 :           0 :                                       res_op1 = captures[2];
   13832                 :           0 :                                       tree _r;
   13833                 :           0 :                                       _r = maybe_build_call_expr_loc (loc, CFN_BUILT_IN_POWI, type, 2, res_op0, res_op1);
   13834                 :           0 :                                       if (!_r)
   13835                 :           0 :                                         goto next_after_fail1651;
   13836                 :           0 :                                       if (UNLIKELY (debug_dump)) generic_dump_logs ("match.pd", 995, __FILE__, __LINE__, true);
   13837                 :           0 :                                       return _r;
   13838                 :             :                                     }
   13839                 :           0 : next_after_fail1651:;
   13840                 :             :                                   }
   13841                 :             :                               }
   13842                 :             :                             }
   13843                 :             :                         }
   13844                 :             :                       break;
   13845                 :             :                     default:;
   13846                 :             :                     }
   13847                 :             :                   break;
   13848                 :             :                 default:;
   13849                 :             :                 }
   13850                 :             :             }
   13851                 :             :           break;
   13852                 :          12 :         case CFN_BUILT_IN_POWL:
   13853                 :          12 :           if (call_expr_nargs (_p0) == 2)
   13854                 :             :     {
   13855                 :          12 :               tree _q20 = CALL_EXPR_ARG (_p0, 0);
   13856                 :          12 :               tree _q21 = CALL_EXPR_ARG (_p0, 1);
   13857                 :          12 :               switch (TREE_CODE (_p1))
   13858                 :             :                 {
   13859                 :          12 :                 case CALL_EXPR:
   13860                 :          12 :                   switch (get_call_combined_fn (_p1))
   13861                 :             :                     {
   13862                 :          12 :                     case CFN_BUILT_IN_POWL:
   13863                 :          12 :                       if (call_expr_nargs (_p1) == 2)
   13864                 :             :     {
   13865                 :          12 :                           tree _q50 = CALL_EXPR_ARG (_p1, 0);
   13866                 :          12 :                           tree _q51 = CALL_EXPR_ARG (_p1, 1);
   13867                 :          12 :                           if ((_q50 == _q20 && ! TREE_SIDE_EFFECTS (_q50)) || (operand_equal_p (_q50, _q20, 0) && types_match (_q50, _q20)))
   13868                 :             :                             {
   13869                 :          12 :                               {
   13870                 :          12 :                                 tree captures[5] ATTRIBUTE_UNUSED = { _p0, _q20, _q21, _p1, _q51 };
   13871                 :          12 :                                 tree res = generic_simplify_198 (loc, type, _p0, _p1, captures, CFN_BUILT_IN_POWL);
   13872                 :          12 :                                 if (res) return res;
   13873                 :             :                               }
   13874                 :             :                             }
   13875                 :           0 :                           if ((_q51 == _q21 && ! TREE_SIDE_EFFECTS (_q51)) || (operand_equal_p (_q51, _q21, 0) && types_match (_q51, _q21)))
   13876                 :             :                             {
   13877                 :           0 :                               {
   13878                 :           0 :                                 tree captures[5] ATTRIBUTE_UNUSED = { _p0, _q20, _q21, _p1, _q50 };
   13879                 :           0 :                                 tree res = generic_simplify_199 (loc, type, _p0, _p1, captures, CFN_BUILT_IN_POWL);
   13880                 :           0 :                                 if (res) return res;
   13881                 :             :                               }
   13882                 :             :                             }
   13883                 :             :                         }
   13884                 :             :                       break;
   13885                 :             :                     default:;
   13886                 :             :                     }
   13887                 :             :                   break;
   13888                 :             :                 default:;
   13889                 :             :                 }
   13890                 :             :             }
   13891                 :             :           break;
   13892                 :           0 :         case CFN_POW:
   13893                 :           0 :           if (call_expr_nargs (_p0) == 2)
   13894                 :             :     {
   13895                 :           0 :               tree _q20 = CALL_EXPR_ARG (_p0, 0);
   13896                 :           0 :               tree _q21 = CALL_EXPR_ARG (_p0, 1);
   13897                 :           0 :               switch (TREE_CODE (_p1))
   13898                 :             :                 {
   13899                 :           0 :                 case CALL_EXPR:
   13900                 :           0 :                   switch (get_call_combined_fn (_p1))
   13901                 :             :                     {
   13902                 :           0 :                     case CFN_POW:
   13903                 :           0 :                       if (call_expr_nargs (_p1) == 2)
   13904                 :             :     {
   13905                 :           0 :                           tree _q50 = CALL_EXPR_ARG (_p1, 0);
   13906                 :           0 :                           tree _q51 = CALL_EXPR_ARG (_p1, 1);
   13907                 :           0 :                           if ((_q50 == _q20 && ! TREE_SIDE_EFFECTS (_q50)) || (operand_equal_p (_q50, _q20, 0) && types_match (_q50, _q20)))
   13908                 :             :                             {
   13909                 :           0 :                               {
   13910                 :           0 :                                 tree captures[5] ATTRIBUTE_UNUSED = { _p0, _q20, _q21, _p1, _q51 };
   13911                 :           0 :                                 tree res = generic_simplify_198 (loc, type, _p0, _p1, captures, CFN_POW);
   13912                 :           0 :                                 if (res) return res;
   13913                 :             :                               }
   13914                 :             :                             }
   13915                 :           0 :                           if ((_q51 == _q21 && ! TREE_SIDE_EFFECTS (_q51)) || (operand_equal_p (_q51, _q21, 0) && types_match (_q51, _q21)))
   13916                 :             :                             {
   13917                 :           0 :                               {
   13918                 :           0 :                                 tree captures[5] ATTRIBUTE_UNUSED = { _p0, _q20, _q21, _p1, _q50 };
   13919                 :           0 :                                 tree res = generic_simplify_199 (loc, type, _p0, _p1, captures, CFN_POW);
   13920                 :           0 :                                 if (res) return res;
   13921                 :             :                               }
   13922                 :             :                             }
   13923                 :             :                         }
   13924                 :             :                       break;
   13925                 :             :                     default:;
   13926                 :             :                     }
   13927                 :             :                   break;
   13928                 :             :                 default:;
   13929                 :             :                 }
   13930                 :             :             }
   13931                 :             :           break;
   13932                 :          14 :         case CFN_BUILT_IN_POWIF:
   13933                 :          14 :           if (call_expr_nargs (_p0) == 2)
   13934                 :             :     {
   13935                 :          14 :               tree _q20 = CALL_EXPR_ARG (_p0, 0);
   13936                 :          14 :               tree _q21 = CALL_EXPR_ARG (_p0, 1);
   13937                 :          14 :               switch (TREE_CODE (_p1))
   13938                 :             :                 {
   13939                 :           0 :                 case CALL_EXPR:
   13940                 :           0 :                   switch (get_call_combined_fn (_p1))
   13941                 :             :                     {
   13942                 :           0 :                     case CFN_BUILT_IN_POWIF:
   13943                 :           0 :                       if (call_expr_nargs (_p1) == 2)
   13944                 :             :     {
   13945                 :           0 :                           tree _q50 = CALL_EXPR_ARG (_p1, 0);
   13946                 :           0 :                           tree _q51 = CALL_EXPR_ARG (_p1, 1);
   13947                 :           0 :                           if ((_q51 == _q21 && ! TREE_SIDE_EFFECTS (_q51)) || (operand_equal_p (_q51, _q21, 0) && types_match (_q51, _q21)))
   13948                 :             :                             {
   13949                 :           0 :                               {
   13950                 :           0 :                                 tree captures[5] ATTRIBUTE_UNUSED = { _p0, _q20, _q21, _p1, _q50 };
   13951                 :           0 :                                 if (flag_unsafe_math_optimizations && canonicalize_math_p ()
   13952                 :             : )
   13953                 :             :                                   {
   13954                 :           0 :                                     if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail1652;
   13955                 :           0 :                                     {
   13956                 :           0 :                                       tree res_op0;
   13957                 :           0 :                                       {
   13958                 :           0 :                                         tree _o1[2], _r1;
   13959                 :           0 :                                         _o1[0] = captures[1];
   13960                 :           0 :                                         _o1[1] = captures[4];
   13961                 :           0 :                                         _r1 = fold_build2_loc (loc, MULT_EXPR, TREE_TYPE (_o1[0]), _o1[0], _o1[1]);
   13962                 :           0 :                                         res_op0 = _r1;
   13963                 :             :                                       }
   13964                 :           0 :                                       tree res_op1;
   13965                 :           0 :                                       res_op1 = captures[2];
   13966                 :           0 :                                       tree _r;
   13967                 :           0 :                                       _r = maybe_build_call_expr_loc (loc, CFN_BUILT_IN_POWIF, type, 2, res_op0, res_op1);
   13968                 :           0 :                                       if (!_r)
   13969                 :           0 :                                         goto next_after_fail1652;
   13970                 :           0 :                                       if (UNLIKELY (debug_dump)) generic_dump_logs ("match.pd", 995, __FILE__, __LINE__, true);
   13971                 :           0 :                                       return _r;
   13972                 :             :                                     }
   13973                 :           0 : next_after_fail1652:;
   13974                 :             :                                   }
   13975                 :             :                               }
   13976                 :             :                             }
   13977                 :             :                         }
   13978                 :             :                       break;
   13979                 :             :                     default:;
   13980                 :             :                     }
   13981                 :             :                   break;
   13982                 :             :                 default:;
   13983                 :             :                 }
   13984                 :             :             }
   13985                 :             :           break;
   13986                 :           5 :         case CFN_BUILT_IN_POWIL:
   13987                 :           5 :           if (call_expr_nargs (_p0) == 2)
   13988                 :             :     {
   13989                 :           5 :               tree _q20 = CALL_EXPR_ARG (_p0, 0);
   13990                 :           5 :               tree _q21 = CALL_EXPR_ARG (_p0, 1);
   13991                 :           5 :               switch (TREE_CODE (_p1))
   13992                 :             :                 {
   13993                 :           0 :                 case CALL_EXPR:
   13994                 :           0 :                   switch (get_call_combined_fn (_p1))
   13995                 :             :                     {
   13996                 :           0 :                     case CFN_BUILT_IN_POWIL:
   13997                 :           0 :                       if (call_expr_nargs (_p1) == 2)
   13998                 :             :     {
   13999                 :           0 :                           tree _q50 = CALL_EXPR_ARG (_p1, 0);
   14000                 :           0 :                           tree _q51 = CALL_EXPR_ARG (_p1, 1);
   14001                 :           0 :                           if ((_q51 == _q21 && ! TREE_SIDE_EFFECTS (_q51)) || (operand_equal_p (_q51, _q21, 0) && types_match (_q51, _q21)))
   14002                 :             :                             {
   14003                 :           0 :                               {
   14004                 :           0 :                                 tree captures[5] ATTRIBUTE_UNUSED = { _p0, _q20, _q21, _p1, _q50 };
   14005                 :           0 :                                 if (flag_unsafe_math_optimizations && canonicalize_math_p ()
   14006                 :             : )
   14007                 :             :                                   {
   14008                 :           0 :                                     if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail1653;
   14009                 :           0 :                                     {
   14010                 :           0 :                                       tree res_op0;
   14011                 :           0 :                                       {
   14012                 :           0 :                                         tree _o1[2], _r1;
   14013                 :           0 :                                         _o1[0] = captures[1];
   14014                 :           0 :                                         _o1[1] = captures[4];
   14015                 :           0 :                                         _r1 = fold_build2_loc (loc, MULT_EXPR, TREE_TYPE (_o1[0]), _o1[0], _o1[1]);
   14016                 :           0 :                                         res_op0 = _r1;
   14017                 :             :                                       }
   14018                 :           0 :                                       tree res_op1;
   14019                 :           0 :                                       res_op1 = captures[2];
   14020                 :           0 :                                       tree _r;
   14021                 :           0 :                                       _r = maybe_build_call_expr_loc (loc, CFN_BUILT_IN_POWIL, type, 2, res_op0, res_op1);
   14022                 :           0 :                                       if (!_r)
   14023                 :           0 :                                         goto next_after_fail1653;
   14024                 :           0 :                                       if (UNLIKELY (debug_dump)) generic_dump_logs ("match.pd", 995, __FILE__, __LINE__, true);
   14025                 :           0 :                                       return _r;
   14026                 :             :                                     }
   14027                 :           0 : next_after_fail1653:;
   14028                 :             :                                   }
   14029                 :             :                               }
   14030                 :             :                             }
   14031                 :             :                         }
   14032                 :             :                       break;
   14033                 :             :                     default:;
   14034                 :             :                     }
   14035                 :             :                   break;
   14036                 :             :                 default:;
   14037                 :             :                 }
   14038                 :             :             }
   14039                 :             :           break;
   14040                 :             :         default:;
   14041                 :             :         }
   14042                 :             :       break;
   14043                 :             :     default:;
   14044                 :             :     }
   14045                 :             :   return NULL_TREE;
   14046                 :             : }
   14047                 :             : #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.