LCOV - code coverage report
Current view: top level - /mnt/build/buildbot/bld/build-lcov/gcc - gimple-match-2.cc (source / functions) Coverage Total Hit
Test: gcc.info Lines: 43.6 % 13745 5987
Test Date: 2024-04-20 14:03:02 Functions: 77.0 % 100 77
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 "gimple-match-auto.h"
       8                 :             : 
       9                 :             : bool
      10                 :   186912679 : gimple_with_possible_nonzero_bits (tree t, tree (*valueize)(tree) ATTRIBUTE_UNUSED)
      11                 :             : {
      12                 :   186912679 :   const tree type = TREE_TYPE (t);
      13                 :   186912679 :   const bool debug_dump = dump_file && (dump_flags & TDF_FOLDING);
      14                 :   186912679 :   switch (TREE_CODE (t))
      15                 :             :     {
      16                 :        4625 :     case INTEGER_CST:
      17                 :        4625 :       {
      18                 :        4625 :         {
      19                 :        4625 :           tree captures[1] ATTRIBUTE_UNUSED = { t };
      20                 :        4625 :           {
      21                 :        4625 :             if (UNLIKELY (debug_dump)) gimple_dump_logs ("match.pd", 27, __FILE__, __LINE__, false);
      22                 :        4625 :             return true;
      23                 :             :           }
      24                 :             :         }
      25                 :   180414018 :         break;
      26                 :             :       }
      27                 :   180414018 :     case SSA_NAME:
      28                 :   180414018 :       {
      29                 :   180414018 :         {
      30                 :   180414018 :           tree captures[1] ATTRIBUTE_UNUSED = { t };
      31                 :   180414018 :           if (INTEGRAL_TYPE_P (TREE_TYPE (captures[0])) || POINTER_TYPE_P (TREE_TYPE (captures[0]))
      32                 :             : )
      33                 :             :             {
      34                 :   173821360 :               {
      35                 :   173821360 :                 if (UNLIKELY (debug_dump)) gimple_dump_logs ("match.pd", 28, __FILE__, __LINE__, false);
      36                 :   173821360 :                 return true;
      37                 :             :               }
      38                 :             :             }
      39                 :             :         }
      40                 :             :         break;
      41                 :             :       }
      42                 :             :     default:;
      43                 :             :     }
      44                 :             :   return false;
      45                 :             : }
      46                 :             : 
      47                 :             : bool
      48                 :   360697569 : gimple_with_certain_nonzero_bits2 (tree t, tree *res_ops, tree (*valueize)(tree) ATTRIBUTE_UNUSED)
      49                 :             : {
      50                 :   360697569 :   const tree type = TREE_TYPE (t);
      51                 :   360697569 :   const bool debug_dump = dump_file && (dump_flags & TDF_FOLDING);
      52                 :   360697569 :   switch (TREE_CODE (t))
      53                 :             :     {
      54                 :   208282710 :     case SSA_NAME:
      55                 :   208282710 :       if (gimple *_d1 = get_def (valueize, t))
      56                 :             :         {
      57                 :    68939539 :           if (gassign *_a1 = dyn_cast <gassign *> (_d1))
      58                 :    80616519 :             switch (gimple_assign_rhs_code (_a1))
      59                 :             :               {
      60                 :      979085 :               case BIT_IOR_EXPR:
      61                 :      979085 :                 {
      62                 :      979085 :                   tree _p0 = gimple_assign_rhs1 (_a1);
      63                 :      979085 :                   _p0 = do_valueize (valueize, _p0);
      64                 :      979085 :                   tree _p1 = gimple_assign_rhs2 (_a1);
      65                 :      979085 :                   _p1 = do_valueize (valueize, _p1);
      66                 :      979085 :                   if (tree_swap_operands_p (_p0, _p1))
      67                 :       63149 :                     std::swap (_p0, _p1);
      68                 :      979085 :                   switch (TREE_CODE (_p1))
      69                 :             :                     {
      70                 :       11250 :                     case INTEGER_CST:
      71                 :       11250 :                       {
      72                 :       11250 :                         {
      73                 :       11250 :                           tree captures[2] ATTRIBUTE_UNUSED = { _p1, _p0 };
      74                 :       11250 :                           {
      75                 :       11250 :                             res_ops[0] = captures[0];
      76                 :       11250 :                             if (UNLIKELY (debug_dump)) gimple_dump_logs ("match.pd", 31, __FILE__, __LINE__, false);
      77                 :       11250 :                             return true;
      78                 :             :                           }
      79                 :             :                         }
      80                 :             :                         break;
      81                 :             :                       }
      82                 :             :                     default:;
      83                 :             :                     }
      84                 :   360697569 :                   break;
      85                 :             :                 }
      86                 :             :               default:;
      87                 :             :               }
      88                 :             :         }
      89                 :             :       break;
      90                 :   142105838 :     case INTEGER_CST:
      91                 :   142105838 :       {
      92                 :   142105838 :         {
      93                 :   142105838 :           tree captures[1] ATTRIBUTE_UNUSED = { t };
      94                 :   142105838 :           {
      95                 :   142105838 :             res_ops[0] = captures[0];
      96                 :   142105838 :             if (UNLIKELY (debug_dump)) gimple_dump_logs ("match.pd", 32, __FILE__, __LINE__, false);
      97                 :             :             return true;
      98                 :             :           }
      99                 :             :         }
     100                 :             :         break;
     101                 :             :       }
     102                 :             :     default:;
     103                 :             :     }
     104                 :             :   return false;
     105                 :             : }
     106                 :             : 
     107                 :             : bool
     108                 :        3361 : gimple_float_value_p (tree t, tree (*valueize)(tree) ATTRIBUTE_UNUSED)
     109                 :             : {
     110                 :        3361 :   const tree type = TREE_TYPE (t);
     111                 :        3361 :   const bool debug_dump = dump_file && (dump_flags & TDF_FOLDING);
     112                 :        3361 :   {
     113                 :        3361 :     tree captures[1] ATTRIBUTE_UNUSED = { t };
     114                 :        3361 :     if (TYPE_MAIN_VARIANT (TREE_TYPE (captures[0])) == float_type_node
     115                 :             : )
     116                 :             :       {
     117                 :        2698 :         {
     118                 :        2698 :           if (UNLIKELY (debug_dump)) gimple_dump_logs ("match.pd", 45, __FILE__, __LINE__, false);
     119                 :        2698 :           return true;
     120                 :             :         }
     121                 :             :       }
     122                 :             :   }
     123                 :             :   return false;
     124                 :             : }
     125                 :             : 
     126                 :             : bool
     127                 :       14785 : gimple_bitwise_induction_p (tree t, tree *res_ops, tree (*valueize)(tree) ATTRIBUTE_UNUSED)
     128                 :             : {
     129                 :       14785 :   const tree type = TREE_TYPE (t);
     130                 :       14785 :   const bool debug_dump = dump_file && (dump_flags & TDF_FOLDING);
     131                 :       14785 :   switch (TREE_CODE (t))
     132                 :             :     {
     133                 :       14785 :     case SSA_NAME:
     134                 :       14785 :       if (gimple *_d1 = get_def (valueize, t))
     135                 :             :         {
     136                 :       14785 :           if (gassign *_a1 = dyn_cast <gassign *> (_d1))
     137                 :        8856 :             switch (gimple_assign_rhs_code (_a1))
     138                 :             :               {
     139                 :        1318 :               case BIT_AND_EXPR:
     140                 :        1318 :               case BIT_IOR_EXPR:
     141                 :        1318 :               case BIT_XOR_EXPR:
     142                 :        1318 :                 {
     143                 :        1318 :                   tree _p0 = gimple_assign_rhs1 (_a1);
     144                 :        1318 :                   _p0 = do_valueize (valueize, _p0);
     145                 :        1318 :                   tree _p1 = gimple_assign_rhs2 (_a1);
     146                 :        1318 :                   _p1 = do_valueize (valueize, _p1);
     147                 :        1318 :                   if (tree_swap_operands_p (_p0, _p1))
     148                 :          10 :                     std::swap (_p0, _p1);
     149                 :        1318 :                   {
     150                 :        1318 :                     tree _p0_pops[1];
     151                 :        1318 :                     if (gimple_nop_convert (_p0, _p0_pops, valueize))
     152                 :             :                       {
     153                 :          34 :                         tree _q20 = _p0_pops[0];
     154                 :          34 :                         switch (TREE_CODE (_q20))
     155                 :             :                           {
     156                 :          34 :                           case SSA_NAME:
     157                 :          34 :                             if (gimple *_d2 = get_def (valueize, _q20))
     158                 :             :                               {
     159                 :          34 :                                 if (gassign *_a2 = dyn_cast <gassign *> (_d2))
     160                 :          46 :                                   switch (gimple_assign_rhs_code (_a2))
     161                 :             :                                     {
     162                 :           0 :                                     case BIT_NOT_EXPR:
     163                 :           0 :                                       {
     164                 :           0 :                                         tree _q30 = gimple_assign_rhs1 (_a2);
     165                 :           0 :                                         _q30 = do_valueize (valueize, _q30);
     166                 :           0 :                                         switch (TREE_CODE (_q30))
     167                 :             :                                           {
     168                 :           0 :                                           case SSA_NAME:
     169                 :           0 :                                             if (gimple *_d3 = get_def (valueize, _q30))
     170                 :             :                                               {
     171                 :           0 :                                                 if (gassign *_a3 = dyn_cast <gassign *> (_d3))
     172                 :           0 :                                                   switch (gimple_assign_rhs_code (_a3))
     173                 :             :                                                     {
     174                 :           0 :                                                     CASE_CONVERT:
     175                 :           0 :                                                       {
     176                 :           0 :                                                         tree _q40 = gimple_assign_rhs1 (_a3);
     177                 :           0 :                                                         _q40 = do_valueize (valueize, _q40);
     178                 :           0 :                                                         switch (TREE_CODE (_q40))
     179                 :             :                                                           {
     180                 :           0 :                                                           case SSA_NAME:
     181                 :           0 :                                                             if (gimple *_d4 = get_def (valueize, _q40))
     182                 :             :                                                               {
     183                 :           0 :                                                                 if (gassign *_a4 = dyn_cast <gassign *> (_d4))
     184                 :           0 :                                                                   switch (gimple_assign_rhs_code (_a4))
     185                 :             :                                                                     {
     186                 :           0 :                                                                     case LSHIFT_EXPR:
     187                 :           0 :                                                                       {
     188                 :           0 :                                                                         tree _q50 = gimple_assign_rhs1 (_a4);
     189                 :           0 :                                                                         _q50 = do_valueize (valueize, _q50);
     190                 :           0 :                                                                         tree _q51 = gimple_assign_rhs2 (_a4);
     191                 :           0 :                                                                         _q51 = do_valueize (valueize, _q51);
     192                 :           0 :                                                                         if (integer_onep (_q50))
     193                 :             :                                                                           {
     194                 :           0 :                                                                             {
     195                 :           0 :                                                                               tree captures[4] ATTRIBUTE_UNUSED = { _q20, _q51, _p1, _q50 };
     196                 :           0 :                                                                               {
     197                 :           0 :                                                                                 res_ops[0] = captures[0];
     198                 :           0 :                                                                                 res_ops[1] = captures[1];
     199                 :           0 :                                                                                 res_ops[2] = captures[2];
     200                 :           0 :                                                                                 if (UNLIKELY (debug_dump)) gimple_dump_logs ("match.pd", 52, __FILE__, __LINE__, false);
     201                 :           0 :                                                                                 return true;
     202                 :             :                                                                               }
     203                 :             :                                                                             }
     204                 :             :                                                                           }
     205                 :             :                                                                         break;
     206                 :             :                                                                       }
     207                 :             :                                                                     default:;
     208                 :             :                                                                     }
     209                 :             :                                                               }
     210                 :             :                                                             break;
     211                 :             :                                                           default:;
     212                 :             :                                                           }
     213                 :             :                                                         break;
     214                 :             :                                                       }
     215                 :           0 :                                                     case LSHIFT_EXPR:
     216                 :           0 :                                                       {
     217                 :           0 :                                                         tree _q40 = gimple_assign_rhs1 (_a3);
     218                 :           0 :                                                         _q40 = do_valueize (valueize, _q40);
     219                 :           0 :                                                         tree _q41 = gimple_assign_rhs2 (_a3);
     220                 :           0 :                                                         _q41 = do_valueize (valueize, _q41);
     221                 :           0 :                                                         if (integer_onep (_q40))
     222                 :             :                                                           {
     223                 :           0 :                                                             {
     224                 :           0 :                                                               tree captures[4] ATTRIBUTE_UNUSED = { _q20, _q41, _p1, _q40 };
     225                 :           0 :                                                               {
     226                 :           0 :                                                                 res_ops[0] = captures[0];
     227                 :           0 :                                                                 res_ops[1] = captures[1];
     228                 :           0 :                                                                 res_ops[2] = captures[2];
     229                 :           0 :                                                                 if (UNLIKELY (debug_dump)) gimple_dump_logs ("match.pd", 52, __FILE__, __LINE__, false);
     230                 :           0 :                                                                 return true;
     231                 :             :                                                               }
     232                 :             :                                                             }
     233                 :             :                                                           }
     234                 :             :                                                         break;
     235                 :             :                                                       }
     236                 :             :                                                     default:;
     237                 :             :                                                     }
     238                 :             :                                               }
     239                 :             :                                             break;
     240                 :             :                                           default:;
     241                 :             :                                           }
     242                 :             :                                         break;
     243                 :             :                                       }
     244                 :           0 :                                     CASE_CONVERT:
     245                 :           0 :                                       {
     246                 :           0 :                                         tree _q30 = gimple_assign_rhs1 (_a2);
     247                 :           0 :                                         _q30 = do_valueize (valueize, _q30);
     248                 :           0 :                                         switch (TREE_CODE (_q30))
     249                 :             :                                           {
     250                 :           0 :                                           case SSA_NAME:
     251                 :           0 :                                             if (gimple *_d3 = get_def (valueize, _q30))
     252                 :             :                                               {
     253                 :           0 :                                                 if (gassign *_a3 = dyn_cast <gassign *> (_d3))
     254                 :           0 :                                                   switch (gimple_assign_rhs_code (_a3))
     255                 :             :                                                     {
     256                 :           0 :                                                     case LSHIFT_EXPR:
     257                 :           0 :                                                       {
     258                 :           0 :                                                         tree _q40 = gimple_assign_rhs1 (_a3);
     259                 :           0 :                                                         _q40 = do_valueize (valueize, _q40);
     260                 :           0 :                                                         tree _q41 = gimple_assign_rhs2 (_a3);
     261                 :           0 :                                                         _q41 = do_valueize (valueize, _q41);
     262                 :           0 :                                                         if (integer_onep (_q40))
     263                 :             :                                                           {
     264                 :           0 :                                                             {
     265                 :           0 :                                                               tree captures[4] ATTRIBUTE_UNUSED = { _q20, _q41, _p1, _q40 };
     266                 :           0 :                                                               {
     267                 :           0 :                                                                 res_ops[0] = captures[0];
     268                 :           0 :                                                                 res_ops[1] = captures[1];
     269                 :           0 :                                                                 res_ops[2] = captures[2];
     270                 :           0 :                                                                 if (UNLIKELY (debug_dump)) gimple_dump_logs ("match.pd", 52, __FILE__, __LINE__, false);
     271                 :           0 :                                                                 return true;
     272                 :             :                                                               }
     273                 :             :                                                             }
     274                 :             :                                                           }
     275                 :             :                                                         break;
     276                 :             :                                                       }
     277                 :             :                                                     default:;
     278                 :             :                                                     }
     279                 :             :                                               }
     280                 :             :                                             break;
     281                 :             :                                           default:;
     282                 :             :                                           }
     283                 :             :                                         break;
     284                 :             :                                       }
     285                 :          17 :                                     case LSHIFT_EXPR:
     286                 :          17 :                                       {
     287                 :          17 :                                         tree _q30 = gimple_assign_rhs1 (_a2);
     288                 :          17 :                                         _q30 = do_valueize (valueize, _q30);
     289                 :          17 :                                         tree _q31 = gimple_assign_rhs2 (_a2);
     290                 :          17 :                                         _q31 = do_valueize (valueize, _q31);
     291                 :          17 :                                         if (integer_onep (_q30))
     292                 :             :                                           {
     293                 :           5 :                                             {
     294                 :           5 :                                               tree captures[4] ATTRIBUTE_UNUSED = { _q20, _q31, _p1, _q30 };
     295                 :           5 :                                               {
     296                 :           5 :                                                 res_ops[0] = captures[0];
     297                 :           5 :                                                 res_ops[1] = captures[1];
     298                 :           5 :                                                 res_ops[2] = captures[2];
     299                 :           5 :                                                 if (UNLIKELY (debug_dump)) gimple_dump_logs ("match.pd", 52, __FILE__, __LINE__, false);
     300                 :           5 :                                                 return true;
     301                 :             :                                               }
     302                 :             :                                             }
     303                 :             :                                           }
     304                 :             :                                         break;
     305                 :             :                                       }
     306                 :             :                                     default:;
     307                 :             :                                     }
     308                 :             :                               }
     309                 :             :                             break;
     310                 :             :                           default:;
     311                 :             :                           }
     312                 :             : }
     313                 :             :                   }
     314                 :        1313 :                   {
     315                 :        1313 :                     tree _p1_pops[1];
     316                 :        1313 :                     if (gimple_nop_convert (_p1, _p1_pops, valueize))
     317                 :             :                       {
     318                 :           3 :                         tree _q30 = _p1_pops[0];
     319                 :           3 :                         switch (TREE_CODE (_q30))
     320                 :             :                           {
     321                 :           3 :                           case SSA_NAME:
     322                 :           3 :                             if (gimple *_d2 = get_def (valueize, _q30))
     323                 :             :                               {
     324                 :           3 :                                 if (gassign *_a2 = dyn_cast <gassign *> (_d2))
     325                 :           3 :                                   switch (gimple_assign_rhs_code (_a2))
     326                 :             :                                     {
     327                 :           0 :                                     case BIT_NOT_EXPR:
     328                 :           0 :                                       {
     329                 :           0 :                                         tree _q40 = gimple_assign_rhs1 (_a2);
     330                 :           0 :                                         _q40 = do_valueize (valueize, _q40);
     331                 :           0 :                                         switch (TREE_CODE (_q40))
     332                 :             :                                           {
     333                 :           0 :                                           case SSA_NAME:
     334                 :           0 :                                             if (gimple *_d3 = get_def (valueize, _q40))
     335                 :             :                                               {
     336                 :           0 :                                                 if (gassign *_a3 = dyn_cast <gassign *> (_d3))
     337                 :           0 :                                                   switch (gimple_assign_rhs_code (_a3))
     338                 :             :                                                     {
     339                 :           0 :                                                     CASE_CONVERT:
     340                 :           0 :                                                       {
     341                 :           0 :                                                         tree _q50 = gimple_assign_rhs1 (_a3);
     342                 :           0 :                                                         _q50 = do_valueize (valueize, _q50);
     343                 :           0 :                                                         switch (TREE_CODE (_q50))
     344                 :             :                                                           {
     345                 :           0 :                                                           case SSA_NAME:
     346                 :           0 :                                                             if (gimple *_d4 = get_def (valueize, _q50))
     347                 :             :                                                               {
     348                 :           0 :                                                                 if (gassign *_a4 = dyn_cast <gassign *> (_d4))
     349                 :           0 :                                                                   switch (gimple_assign_rhs_code (_a4))
     350                 :             :                                                                     {
     351                 :           0 :                                                                     case LSHIFT_EXPR:
     352                 :           0 :                                                                       {
     353                 :           0 :                                                                         tree _q60 = gimple_assign_rhs1 (_a4);
     354                 :           0 :                                                                         _q60 = do_valueize (valueize, _q60);
     355                 :           0 :                                                                         tree _q61 = gimple_assign_rhs2 (_a4);
     356                 :           0 :                                                                         _q61 = do_valueize (valueize, _q61);
     357                 :           0 :                                                                         if (integer_onep (_q60))
     358                 :             :                                                                           {
     359                 :           0 :                                                                             {
     360                 :           0 :                                                                               tree captures[4] ATTRIBUTE_UNUSED = { _q30, _q61, _p0, _q60 };
     361                 :           0 :                                                                               {
     362                 :           0 :                                                                                 res_ops[0] = captures[0];
     363                 :           0 :                                                                                 res_ops[1] = captures[1];
     364                 :           0 :                                                                                 res_ops[2] = captures[2];
     365                 :           0 :                                                                                 if (UNLIKELY (debug_dump)) gimple_dump_logs ("match.pd", 52, __FILE__, __LINE__, false);
     366                 :           0 :                                                                                 return true;
     367                 :             :                                                                               }
     368                 :             :                                                                             }
     369                 :             :                                                                           }
     370                 :             :                                                                         break;
     371                 :             :                                                                       }
     372                 :             :                                                                     default:;
     373                 :             :                                                                     }
     374                 :             :                                                               }
     375                 :             :                                                             break;
     376                 :             :                                                           default:;
     377                 :             :                                                           }
     378                 :             :                                                         break;
     379                 :             :                                                       }
     380                 :           0 :                                                     case LSHIFT_EXPR:
     381                 :           0 :                                                       {
     382                 :           0 :                                                         tree _q50 = gimple_assign_rhs1 (_a3);
     383                 :           0 :                                                         _q50 = do_valueize (valueize, _q50);
     384                 :           0 :                                                         tree _q51 = gimple_assign_rhs2 (_a3);
     385                 :           0 :                                                         _q51 = do_valueize (valueize, _q51);
     386                 :           0 :                                                         if (integer_onep (_q50))
     387                 :             :                                                           {
     388                 :           0 :                                                             {
     389                 :           0 :                                                               tree captures[4] ATTRIBUTE_UNUSED = { _q30, _q51, _p0, _q50 };
     390                 :           0 :                                                               {
     391                 :           0 :                                                                 res_ops[0] = captures[0];
     392                 :           0 :                                                                 res_ops[1] = captures[1];
     393                 :           0 :                                                                 res_ops[2] = captures[2];
     394                 :           0 :                                                                 if (UNLIKELY (debug_dump)) gimple_dump_logs ("match.pd", 52, __FILE__, __LINE__, false);
     395                 :           0 :                                                                 return true;
     396                 :             :                                                               }
     397                 :             :                                                             }
     398                 :             :                                                           }
     399                 :             :                                                         break;
     400                 :             :                                                       }
     401                 :             :                                                     default:;
     402                 :             :                                                     }
     403                 :             :                                               }
     404                 :             :                                             break;
     405                 :             :                                           default:;
     406                 :             :                                           }
     407                 :             :                                         break;
     408                 :             :                                       }
     409                 :           0 :                                     CASE_CONVERT:
     410                 :           0 :                                       {
     411                 :           0 :                                         tree _q40 = gimple_assign_rhs1 (_a2);
     412                 :           0 :                                         _q40 = do_valueize (valueize, _q40);
     413                 :           0 :                                         switch (TREE_CODE (_q40))
     414                 :             :                                           {
     415                 :           0 :                                           case SSA_NAME:
     416                 :           0 :                                             if (gimple *_d3 = get_def (valueize, _q40))
     417                 :             :                                               {
     418                 :           0 :                                                 if (gassign *_a3 = dyn_cast <gassign *> (_d3))
     419                 :           0 :                                                   switch (gimple_assign_rhs_code (_a3))
     420                 :             :                                                     {
     421                 :           0 :                                                     case LSHIFT_EXPR:
     422                 :           0 :                                                       {
     423                 :           0 :                                                         tree _q50 = gimple_assign_rhs1 (_a3);
     424                 :           0 :                                                         _q50 = do_valueize (valueize, _q50);
     425                 :           0 :                                                         tree _q51 = gimple_assign_rhs2 (_a3);
     426                 :           0 :                                                         _q51 = do_valueize (valueize, _q51);
     427                 :           0 :                                                         if (integer_onep (_q50))
     428                 :             :                                                           {
     429                 :           0 :                                                             {
     430                 :           0 :                                                               tree captures[4] ATTRIBUTE_UNUSED = { _q30, _q51, _p0, _q50 };
     431                 :           0 :                                                               {
     432                 :           0 :                                                                 res_ops[0] = captures[0];
     433                 :           0 :                                                                 res_ops[1] = captures[1];
     434                 :           0 :                                                                 res_ops[2] = captures[2];
     435                 :           0 :                                                                 if (UNLIKELY (debug_dump)) gimple_dump_logs ("match.pd", 52, __FILE__, __LINE__, false);
     436                 :           0 :                                                                 return true;
     437                 :             :                                                               }
     438                 :             :                                                             }
     439                 :             :                                                           }
     440                 :             :                                                         break;
     441                 :             :                                                       }
     442                 :             :                                                     default:;
     443                 :             :                                                     }
     444                 :             :                                               }
     445                 :             :                                             break;
     446                 :             :                                           default:;
     447                 :             :                                           }
     448                 :             :                                         break;
     449                 :             :                                       }
     450                 :           3 :                                     case LSHIFT_EXPR:
     451                 :           3 :                                       {
     452                 :           3 :                                         tree _q40 = gimple_assign_rhs1 (_a2);
     453                 :           3 :                                         _q40 = do_valueize (valueize, _q40);
     454                 :           3 :                                         tree _q41 = gimple_assign_rhs2 (_a2);
     455                 :           3 :                                         _q41 = do_valueize (valueize, _q41);
     456                 :           3 :                                         if (integer_onep (_q40))
     457                 :             :                                           {
     458                 :           3 :                                             {
     459                 :           3 :                                               tree captures[4] ATTRIBUTE_UNUSED = { _q30, _q41, _p0, _q40 };
     460                 :           3 :                                               {
     461                 :           3 :                                                 res_ops[0] = captures[0];
     462                 :           3 :                                                 res_ops[1] = captures[1];
     463                 :           3 :                                                 res_ops[2] = captures[2];
     464                 :           3 :                                                 if (UNLIKELY (debug_dump)) gimple_dump_logs ("match.pd", 52, __FILE__, __LINE__, false);
     465                 :           3 :                                                 return true;
     466                 :             :                                               }
     467                 :             :                                             }
     468                 :             :                                           }
     469                 :             :                                         break;
     470                 :             :                                       }
     471                 :             :                                     default:;
     472                 :             :                                     }
     473                 :             :                               }
     474                 :             :                             break;
     475                 :             :                           default:;
     476                 :             :                           }
     477                 :             : }
     478                 :             :                   }
     479                 :        1310 :                   switch (TREE_CODE (_p0))
     480                 :             :                     {
     481                 :        1310 :                     case SSA_NAME:
     482                 :        1310 :                       if (gimple *_d2 = get_def (valueize, _p0))
     483                 :             :                         {
     484                 :        1310 :                           if (gassign *_a2 = dyn_cast <gassign *> (_d2))
     485                 :        1299 :                             switch (gimple_assign_rhs_code (_a2))
     486                 :             :                               {
     487                 :          24 :                               case BIT_NOT_EXPR:
     488                 :          24 :                                 {
     489                 :          24 :                                   tree _q20 = gimple_assign_rhs1 (_a2);
     490                 :          24 :                                   _q20 = do_valueize (valueize, _q20);
     491                 :          24 :                                   switch (TREE_CODE (_q20))
     492                 :             :                                     {
     493                 :          24 :                                     case SSA_NAME:
     494                 :          24 :                                       if (gimple *_d3 = get_def (valueize, _q20))
     495                 :             :                                         {
     496                 :          24 :                                           if (gassign *_a3 = dyn_cast <gassign *> (_d3))
     497                 :          24 :                                             switch (gimple_assign_rhs_code (_a3))
     498                 :             :                                               {
     499                 :           8 :                                               CASE_CONVERT:
     500                 :           8 :                                                 {
     501                 :           8 :                                                   tree _q30 = gimple_assign_rhs1 (_a3);
     502                 :           8 :                                                   _q30 = do_valueize (valueize, _q30);
     503                 :           8 :                                                   switch (TREE_CODE (_q30))
     504                 :             :                                                     {
     505                 :           8 :                                                     case SSA_NAME:
     506                 :           8 :                                                       if (gimple *_d4 = get_def (valueize, _q30))
     507                 :             :                                                         {
     508                 :           8 :                                                           if (gassign *_a4 = dyn_cast <gassign *> (_d4))
     509                 :           8 :                                                             switch (gimple_assign_rhs_code (_a4))
     510                 :             :                                                               {
     511                 :           8 :                                                               case LSHIFT_EXPR:
     512                 :           8 :                                                                 {
     513                 :           8 :                                                                   tree _q40 = gimple_assign_rhs1 (_a4);
     514                 :           8 :                                                                   _q40 = do_valueize (valueize, _q40);
     515                 :           8 :                                                                   tree _q41 = gimple_assign_rhs2 (_a4);
     516                 :           8 :                                                                   _q41 = do_valueize (valueize, _q41);
     517                 :           8 :                                                                   if (integer_onep (_q40))
     518                 :             :                                                                     {
     519                 :           8 :                                                                       {
     520                 :           8 :                                                                         tree captures[4] ATTRIBUTE_UNUSED = { _p0, _q41, _p1, _q40 };
     521                 :           8 :                                                                         {
     522                 :           8 :                                                                           res_ops[0] = captures[0];
     523                 :           8 :                                                                           res_ops[1] = captures[1];
     524                 :           8 :                                                                           res_ops[2] = captures[2];
     525                 :           8 :                                                                           if (UNLIKELY (debug_dump)) gimple_dump_logs ("match.pd", 52, __FILE__, __LINE__, false);
     526                 :           8 :                                                                           return true;
     527                 :             :                                                                         }
     528                 :             :                                                                       }
     529                 :             :                                                                     }
     530                 :             :                                                                   break;
     531                 :             :                                                                 }
     532                 :             :                                                               default:;
     533                 :             :                                                               }
     534                 :             :                                                         }
     535                 :             :                                                       break;
     536                 :             :                                                     default:;
     537                 :             :                                                     }
     538                 :             :                                                   break;
     539                 :             :                                                 }
     540                 :          16 :                                               case LSHIFT_EXPR:
     541                 :          16 :                                                 {
     542                 :          16 :                                                   tree _q30 = gimple_assign_rhs1 (_a3);
     543                 :          16 :                                                   _q30 = do_valueize (valueize, _q30);
     544                 :          16 :                                                   tree _q31 = gimple_assign_rhs2 (_a3);
     545                 :          16 :                                                   _q31 = do_valueize (valueize, _q31);
     546                 :          16 :                                                   if (integer_onep (_q30))
     547                 :             :                                                     {
     548                 :          16 :                                                       {
     549                 :          16 :                                                         tree captures[4] ATTRIBUTE_UNUSED = { _p0, _q31, _p1, _q30 };
     550                 :          16 :                                                         {
     551                 :          16 :                                                           res_ops[0] = captures[0];
     552                 :          16 :                                                           res_ops[1] = captures[1];
     553                 :          16 :                                                           res_ops[2] = captures[2];
     554                 :          16 :                                                           if (UNLIKELY (debug_dump)) gimple_dump_logs ("match.pd", 52, __FILE__, __LINE__, false);
     555                 :          16 :                                                           return true;
     556                 :             :                                                         }
     557                 :             :                                                       }
     558                 :             :                                                     }
     559                 :             :                                                   break;
     560                 :             :                                                 }
     561                 :             :                                               default:;
     562                 :             :                                               }
     563                 :             :                                         }
     564                 :             :                                       break;
     565                 :             :                                     default:;
     566                 :             :                                     }
     567                 :             :                                   break;
     568                 :             :                                 }
     569                 :             :                               default:;
     570                 :             :                               }
     571                 :             :                         }
     572                 :             :                       break;
     573                 :        1286 :                     default:;
     574                 :             :                     }
     575                 :        1286 :                   switch (TREE_CODE (_p1))
     576                 :             :                     {
     577                 :        1260 :                     case SSA_NAME:
     578                 :        1260 :                       if (gimple *_d2 = get_def (valueize, _p1))
     579                 :             :                         {
     580                 :        1260 :                           if (gassign *_a2 = dyn_cast <gassign *> (_d2))
     581                 :         346 :                             switch (gimple_assign_rhs_code (_a2))
     582                 :             :                               {
     583                 :           0 :                               case BIT_NOT_EXPR:
     584                 :           0 :                                 {
     585                 :           0 :                                   tree _q30 = gimple_assign_rhs1 (_a2);
     586                 :           0 :                                   _q30 = do_valueize (valueize, _q30);
     587                 :           0 :                                   switch (TREE_CODE (_q30))
     588                 :             :                                     {
     589                 :           0 :                                     case SSA_NAME:
     590                 :           0 :                                       if (gimple *_d3 = get_def (valueize, _q30))
     591                 :             :                                         {
     592                 :           0 :                                           if (gassign *_a3 = dyn_cast <gassign *> (_d3))
     593                 :           0 :                                             switch (gimple_assign_rhs_code (_a3))
     594                 :             :                                               {
     595                 :           0 :                                               CASE_CONVERT:
     596                 :           0 :                                                 {
     597                 :           0 :                                                   tree _q40 = gimple_assign_rhs1 (_a3);
     598                 :           0 :                                                   _q40 = do_valueize (valueize, _q40);
     599                 :           0 :                                                   switch (TREE_CODE (_q40))
     600                 :             :                                                     {
     601                 :           0 :                                                     case SSA_NAME:
     602                 :           0 :                                                       if (gimple *_d4 = get_def (valueize, _q40))
     603                 :             :                                                         {
     604                 :           0 :                                                           if (gassign *_a4 = dyn_cast <gassign *> (_d4))
     605                 :           0 :                                                             switch (gimple_assign_rhs_code (_a4))
     606                 :             :                                                               {
     607                 :           0 :                                                               case LSHIFT_EXPR:
     608                 :           0 :                                                                 {
     609                 :           0 :                                                                   tree _q50 = gimple_assign_rhs1 (_a4);
     610                 :           0 :                                                                   _q50 = do_valueize (valueize, _q50);
     611                 :           0 :                                                                   tree _q51 = gimple_assign_rhs2 (_a4);
     612                 :           0 :                                                                   _q51 = do_valueize (valueize, _q51);
     613                 :           0 :                                                                   if (integer_onep (_q50))
     614                 :             :                                                                     {
     615                 :           0 :                                                                       {
     616                 :           0 :                                                                         tree captures[4] ATTRIBUTE_UNUSED = { _p1, _q51, _p0, _q50 };
     617                 :           0 :                                                                         {
     618                 :           0 :                                                                           res_ops[0] = captures[0];
     619                 :           0 :                                                                           res_ops[1] = captures[1];
     620                 :           0 :                                                                           res_ops[2] = captures[2];
     621                 :           0 :                                                                           if (UNLIKELY (debug_dump)) gimple_dump_logs ("match.pd", 52, __FILE__, __LINE__, false);
     622                 :           0 :                                                                           return true;
     623                 :             :                                                                         }
     624                 :             :                                                                       }
     625                 :             :                                                                     }
     626                 :             :                                                                   break;
     627                 :             :                                                                 }
     628                 :             :                                                               default:;
     629                 :             :                                                               }
     630                 :             :                                                         }
     631                 :             :                                                       break;
     632                 :             :                                                     default:;
     633                 :             :                                                     }
     634                 :             :                                                   break;
     635                 :             :                                                 }
     636                 :           0 :                                               case LSHIFT_EXPR:
     637                 :           0 :                                                 {
     638                 :           0 :                                                   tree _q40 = gimple_assign_rhs1 (_a3);
     639                 :           0 :                                                   _q40 = do_valueize (valueize, _q40);
     640                 :           0 :                                                   tree _q41 = gimple_assign_rhs2 (_a3);
     641                 :           0 :                                                   _q41 = do_valueize (valueize, _q41);
     642                 :           0 :                                                   if (integer_onep (_q40))
     643                 :             :                                                     {
     644                 :           0 :                                                       {
     645                 :           0 :                                                         tree captures[4] ATTRIBUTE_UNUSED = { _p1, _q41, _p0, _q40 };
     646                 :           0 :                                                         {
     647                 :           0 :                                                           res_ops[0] = captures[0];
     648                 :           0 :                                                           res_ops[1] = captures[1];
     649                 :           0 :                                                           res_ops[2] = captures[2];
     650                 :           0 :                                                           if (UNLIKELY (debug_dump)) gimple_dump_logs ("match.pd", 52, __FILE__, __LINE__, false);
     651                 :           0 :                                                           return true;
     652                 :             :                                                         }
     653                 :             :                                                       }
     654                 :             :                                                     }
     655                 :             :                                                   break;
     656                 :             :                                                 }
     657                 :             :                                               default:;
     658                 :             :                                               }
     659                 :             :                                         }
     660                 :             :                                       break;
     661                 :             :                                     default:;
     662                 :             :                                     }
     663                 :             :                                   break;
     664                 :             :                                 }
     665                 :             :                               default:;
     666                 :             :                               }
     667                 :             :                         }
     668                 :             :                       break;
     669                 :        1286 :                     default:;
     670                 :             :                     }
     671                 :        1286 :                   switch (TREE_CODE (_p0))
     672                 :             :                     {
     673                 :        1286 :                     case SSA_NAME:
     674                 :        1286 :                       if (gimple *_d2 = get_def (valueize, _p0))
     675                 :             :                         {
     676                 :        1286 :                           if (gassign *_a2 = dyn_cast <gassign *> (_d2))
     677                 :        1275 :                             switch (gimple_assign_rhs_code (_a2))
     678                 :             :                               {
     679                 :         719 :                               CASE_CONVERT:
     680                 :         719 :                                 {
     681                 :         719 :                                   tree _q20 = gimple_assign_rhs1 (_a2);
     682                 :         719 :                                   _q20 = do_valueize (valueize, _q20);
     683                 :         719 :                                   switch (TREE_CODE (_q20))
     684                 :             :                                     {
     685                 :         719 :                                     case SSA_NAME:
     686                 :         719 :                                       if (gimple *_d3 = get_def (valueize, _q20))
     687                 :             :                                         {
     688                 :         719 :                                           if (gassign *_a3 = dyn_cast <gassign *> (_d3))
     689                 :         743 :                                             switch (gimple_assign_rhs_code (_a3))
     690                 :             :                                               {
     691                 :         247 :                                               case LSHIFT_EXPR:
     692                 :         247 :                                                 {
     693                 :         247 :                                                   tree _q30 = gimple_assign_rhs1 (_a3);
     694                 :         247 :                                                   _q30 = do_valueize (valueize, _q30);
     695                 :         247 :                                                   tree _q31 = gimple_assign_rhs2 (_a3);
     696                 :         247 :                                                   _q31 = do_valueize (valueize, _q31);
     697                 :         247 :                                                   if (integer_onep (_q30))
     698                 :             :                                                     {
     699                 :          22 :                                                       {
     700                 :          22 :                                                         tree captures[4] ATTRIBUTE_UNUSED = { _p0, _q31, _p1, _q30 };
     701                 :          22 :                                                         {
     702                 :          22 :                                                           res_ops[0] = captures[0];
     703                 :          22 :                                                           res_ops[1] = captures[1];
     704                 :          22 :                                                           res_ops[2] = captures[2];
     705                 :          22 :                                                           if (UNLIKELY (debug_dump)) gimple_dump_logs ("match.pd", 52, __FILE__, __LINE__, false);
     706                 :          22 :                                                           return true;
     707                 :             :                                                         }
     708                 :             :                                                       }
     709                 :             :                                                     }
     710                 :             :                                                   break;
     711                 :             :                                                 }
     712                 :             :                                               default:;
     713                 :             :                                               }
     714                 :             :                                         }
     715                 :             :                                       break;
     716                 :             :                                     default:;
     717                 :             :                                     }
     718                 :             :                                   break;
     719                 :             :                                 }
     720                 :             :                               default:;
     721                 :             :                               }
     722                 :             :                         }
     723                 :             :                       break;
     724                 :        1264 :                     default:;
     725                 :             :                     }
     726                 :        1264 :                   switch (TREE_CODE (_p1))
     727                 :             :                     {
     728                 :        1238 :                     case SSA_NAME:
     729                 :        1238 :                       if (gimple *_d2 = get_def (valueize, _p1))
     730                 :             :                         {
     731                 :        1238 :                           if (gassign *_a2 = dyn_cast <gassign *> (_d2))
     732                 :         346 :                             switch (gimple_assign_rhs_code (_a2))
     733                 :             :                               {
     734                 :          75 :                               CASE_CONVERT:
     735                 :          75 :                                 {
     736                 :          75 :                                   tree _q30 = gimple_assign_rhs1 (_a2);
     737                 :          75 :                                   _q30 = do_valueize (valueize, _q30);
     738                 :          75 :                                   switch (TREE_CODE (_q30))
     739                 :             :                                     {
     740                 :          75 :                                     case SSA_NAME:
     741                 :          75 :                                       if (gimple *_d3 = get_def (valueize, _q30))
     742                 :             :                                         {
     743                 :          75 :                                           if (gassign *_a3 = dyn_cast <gassign *> (_d3))
     744                 :         113 :                                             switch (gimple_assign_rhs_code (_a3))
     745                 :             :                                               {
     746                 :          10 :                                               case LSHIFT_EXPR:
     747                 :          10 :                                                 {
     748                 :          10 :                                                   tree _q40 = gimple_assign_rhs1 (_a3);
     749                 :          10 :                                                   _q40 = do_valueize (valueize, _q40);
     750                 :          10 :                                                   tree _q41 = gimple_assign_rhs2 (_a3);
     751                 :          10 :                                                   _q41 = do_valueize (valueize, _q41);
     752                 :          10 :                                                   if (integer_onep (_q40))
     753                 :             :                                                     {
     754                 :           0 :                                                       {
     755                 :           0 :                                                         tree captures[4] ATTRIBUTE_UNUSED = { _p1, _q41, _p0, _q40 };
     756                 :           0 :                                                         {
     757                 :           0 :                                                           res_ops[0] = captures[0];
     758                 :           0 :                                                           res_ops[1] = captures[1];
     759                 :           0 :                                                           res_ops[2] = captures[2];
     760                 :           0 :                                                           if (UNLIKELY (debug_dump)) gimple_dump_logs ("match.pd", 52, __FILE__, __LINE__, false);
     761                 :           0 :                                                           return true;
     762                 :             :                                                         }
     763                 :             :                                                       }
     764                 :             :                                                     }
     765                 :             :                                                   break;
     766                 :             :                                                 }
     767                 :             :                                               default:;
     768                 :             :                                               }
     769                 :             :                                         }
     770                 :             :                                       break;
     771                 :             :                                     default:;
     772                 :             :                                     }
     773                 :             :                                   break;
     774                 :             :                                 }
     775                 :             :                               default:;
     776                 :             :                               }
     777                 :             :                         }
     778                 :             :                       break;
     779                 :        1264 :                     default:;
     780                 :             :                     }
     781                 :        1264 :                   switch (TREE_CODE (_p0))
     782                 :             :                     {
     783                 :        1264 :                     case SSA_NAME:
     784                 :        1264 :                       if (gimple *_d2 = get_def (valueize, _p0))
     785                 :             :                         {
     786                 :        1264 :                           if (gassign *_a2 = dyn_cast <gassign *> (_d2))
     787                 :        1253 :                             switch (gimple_assign_rhs_code (_a2))
     788                 :             :                               {
     789                 :         106 :                               case LSHIFT_EXPR:
     790                 :         106 :                                 {
     791                 :         106 :                                   tree _q20 = gimple_assign_rhs1 (_a2);
     792                 :         106 :                                   _q20 = do_valueize (valueize, _q20);
     793                 :         106 :                                   tree _q21 = gimple_assign_rhs2 (_a2);
     794                 :         106 :                                   _q21 = do_valueize (valueize, _q21);
     795                 :         106 :                                   if (integer_onep (_q20))
     796                 :             :                                     {
     797                 :          30 :                                       {
     798                 :          30 :                                         tree captures[4] ATTRIBUTE_UNUSED = { _p0, _q21, _p1, _q20 };
     799                 :          30 :                                         {
     800                 :          30 :                                           res_ops[0] = captures[0];
     801                 :          30 :                                           res_ops[1] = captures[1];
     802                 :          30 :                                           res_ops[2] = captures[2];
     803                 :          30 :                                           if (UNLIKELY (debug_dump)) gimple_dump_logs ("match.pd", 52, __FILE__, __LINE__, false);
     804                 :          30 :                                           return true;
     805                 :             :                                         }
     806                 :             :                                       }
     807                 :             :                                     }
     808                 :             :                                   break;
     809                 :             :                                 }
     810                 :             :                               default:;
     811                 :             :                               }
     812                 :             :                         }
     813                 :             :                       break;
     814                 :        1234 :                     default:;
     815                 :             :                     }
     816                 :        1234 :                   switch (TREE_CODE (_p1))
     817                 :             :                     {
     818                 :        1208 :                     case SSA_NAME:
     819                 :        1208 :                       if (gimple *_d2 = get_def (valueize, _p1))
     820                 :             :                         {
     821                 :        1208 :                           if (gassign *_a2 = dyn_cast <gassign *> (_d2))
     822                 :         346 :                             switch (gimple_assign_rhs_code (_a2))
     823                 :             :                               {
     824                 :           1 :                               case LSHIFT_EXPR:
     825                 :           1 :                                 {
     826                 :           1 :                                   tree _q30 = gimple_assign_rhs1 (_a2);
     827                 :           1 :                                   _q30 = do_valueize (valueize, _q30);
     828                 :           1 :                                   tree _q31 = gimple_assign_rhs2 (_a2);
     829                 :           1 :                                   _q31 = do_valueize (valueize, _q31);
     830                 :           1 :                                   if (integer_onep (_q30))
     831                 :             :                                     {
     832                 :           0 :                                       {
     833                 :           0 :                                         tree captures[4] ATTRIBUTE_UNUSED = { _p1, _q31, _p0, _q30 };
     834                 :           0 :                                         {
     835                 :           0 :                                           res_ops[0] = captures[0];
     836                 :           0 :                                           res_ops[1] = captures[1];
     837                 :           0 :                                           res_ops[2] = captures[2];
     838                 :           0 :                                           if (UNLIKELY (debug_dump)) gimple_dump_logs ("match.pd", 52, __FILE__, __LINE__, false);
     839                 :           0 :                                           return true;
     840                 :             :                                         }
     841                 :             :                                       }
     842                 :             :                                     }
     843                 :             :                                   break;
     844                 :             :                                 }
     845                 :             :                               default:;
     846                 :             :                               }
     847                 :             :                         }
     848                 :             :                       break;
     849                 :             :                     default:;
     850                 :             :                     }
     851                 :       14785 :                   break;
     852                 :             :                 }
     853                 :          12 :               case BIT_NOT_EXPR:
     854                 :          12 :                 {
     855                 :          12 :                   tree _p0 = gimple_assign_rhs1 (_a1);
     856                 :          12 :                   _p0 = do_valueize (valueize, _p0);
     857                 :          12 :                   switch (TREE_CODE (_p0))
     858                 :             :                     {
     859                 :          12 :                     case SSA_NAME:
     860                 :          12 :                       if (gimple *_d2 = get_def (valueize, _p0))
     861                 :             :                         {
     862                 :          12 :                           if (gassign *_a2 = dyn_cast <gassign *> (_d2))
     863                 :          12 :                             switch (gimple_assign_rhs_code (_a2))
     864                 :             :                               {
     865                 :          12 :                               case BIT_XOR_EXPR:
     866                 :          12 :                                 {
     867                 :          12 :                                   tree _q20 = gimple_assign_rhs1 (_a2);
     868                 :          12 :                                   _q20 = do_valueize (valueize, _q20);
     869                 :          12 :                                   tree _q21 = gimple_assign_rhs2 (_a2);
     870                 :          12 :                                   _q21 = do_valueize (valueize, _q21);
     871                 :          12 :                                   if (tree_swap_operands_p (_q20, _q21))
     872                 :           0 :                                     std::swap (_q20, _q21);
     873                 :          12 :                                   switch (TREE_CODE (_q20))
     874                 :             :                                     {
     875                 :          12 :                                     case SSA_NAME:
     876                 :          12 :                                       if (gimple *_d3 = get_def (valueize, _q20))
     877                 :             :                                         {
     878                 :          12 :                                           if (gassign *_a3 = dyn_cast <gassign *> (_d3))
     879                 :          12 :                                             switch (gimple_assign_rhs_code (_a3))
     880                 :             :                                               {
     881                 :           4 :                                               CASE_CONVERT:
     882                 :           4 :                                                 {
     883                 :           4 :                                                   tree _q30 = gimple_assign_rhs1 (_a3);
     884                 :           4 :                                                   _q30 = do_valueize (valueize, _q30);
     885                 :           4 :                                                   switch (TREE_CODE (_q30))
     886                 :             :                                                     {
     887                 :           4 :                                                     case SSA_NAME:
     888                 :           4 :                                                       if (gimple *_d4 = get_def (valueize, _q30))
     889                 :             :                                                         {
     890                 :           4 :                                                           if (gassign *_a4 = dyn_cast <gassign *> (_d4))
     891                 :           4 :                                                             switch (gimple_assign_rhs_code (_a4))
     892                 :             :                                                               {
     893                 :           4 :                                                               case LSHIFT_EXPR:
     894                 :           4 :                                                                 {
     895                 :           4 :                                                                   tree _q40 = gimple_assign_rhs1 (_a4);
     896                 :           4 :                                                                   _q40 = do_valueize (valueize, _q40);
     897                 :           4 :                                                                   tree _q41 = gimple_assign_rhs2 (_a4);
     898                 :           4 :                                                                   _q41 = do_valueize (valueize, _q41);
     899                 :           4 :                                                                   if (integer_onep (_q40))
     900                 :             :                                                                     {
     901                 :           4 :                                                                       {
     902                 :           4 :                                                                         tree captures[4] ATTRIBUTE_UNUSED = { _p0, _q41, _q21, _q40 };
     903                 :           4 :                                                                         {
     904                 :           4 :                                                                           res_ops[0] = captures[0];
     905                 :           4 :                                                                           res_ops[1] = captures[1];
     906                 :           4 :                                                                           res_ops[2] = captures[2];
     907                 :           4 :                                                                           if (UNLIKELY (debug_dump)) gimple_dump_logs ("match.pd", 53, __FILE__, __LINE__, false);
     908                 :           4 :                                                                           return true;
     909                 :             :                                                                         }
     910                 :             :                                                                       }
     911                 :             :                                                                     }
     912                 :             :                                                                   break;
     913                 :             :                                                                 }
     914                 :             :                                                               default:;
     915                 :             :                                                               }
     916                 :             :                                                         }
     917                 :             :                                                       break;
     918                 :             :                                                     default:;
     919                 :             :                                                     }
     920                 :             :                                                   break;
     921                 :             :                                                 }
     922                 :           8 :                                               case LSHIFT_EXPR:
     923                 :           8 :                                                 {
     924                 :           8 :                                                   tree _q30 = gimple_assign_rhs1 (_a3);
     925                 :           8 :                                                   _q30 = do_valueize (valueize, _q30);
     926                 :           8 :                                                   tree _q31 = gimple_assign_rhs2 (_a3);
     927                 :           8 :                                                   _q31 = do_valueize (valueize, _q31);
     928                 :           8 :                                                   if (integer_onep (_q30))
     929                 :             :                                                     {
     930                 :           8 :                                                       {
     931                 :           8 :                                                         tree captures[4] ATTRIBUTE_UNUSED = { _p0, _q31, _q21, _q30 };
     932                 :           8 :                                                         {
     933                 :           8 :                                                           res_ops[0] = captures[0];
     934                 :           8 :                                                           res_ops[1] = captures[1];
     935                 :           8 :                                                           res_ops[2] = captures[2];
     936                 :           8 :                                                           if (UNLIKELY (debug_dump)) gimple_dump_logs ("match.pd", 53, __FILE__, __LINE__, false);
     937                 :           8 :                                                           return true;
     938                 :             :                                                         }
     939                 :             :                                                       }
     940                 :             :                                                     }
     941                 :             :                                                   break;
     942                 :             :                                                 }
     943                 :             :                                               default:;
     944                 :             :                                               }
     945                 :             :                                         }
     946                 :             :                                       break;
     947                 :             :                                     default:;
     948                 :             :                                     }
     949                 :           0 :                                   break;
     950                 :             :                                 }
     951                 :             :                               default:;
     952                 :             :                               }
     953                 :             :                         }
     954                 :             :                       break;
     955                 :           0 :                     default:;
     956                 :             :                     }
     957                 :           0 :                 {
     958                 :           0 :                   tree _p0_pops[1];
     959                 :           0 :                   if (gimple_nop_convert (_p0, _p0_pops, valueize))
     960                 :             :                     {
     961                 :           0 :                       tree _q20 = _p0_pops[0];
     962                 :           0 :                       switch (TREE_CODE (_q20))
     963                 :             :                         {
     964                 :           0 :                         case SSA_NAME:
     965                 :           0 :                           if (gimple *_d2 = get_def (valueize, _q20))
     966                 :             :                             {
     967                 :           0 :                               if (gassign *_a2 = dyn_cast <gassign *> (_d2))
     968                 :           0 :                                 switch (gimple_assign_rhs_code (_a2))
     969                 :             :                                   {
     970                 :           0 :                                   case BIT_XOR_EXPR:
     971                 :           0 :                                     {
     972                 :           0 :                                       tree _q30 = gimple_assign_rhs1 (_a2);
     973                 :           0 :                                       _q30 = do_valueize (valueize, _q30);
     974                 :           0 :                                       tree _q31 = gimple_assign_rhs2 (_a2);
     975                 :           0 :                                       _q31 = do_valueize (valueize, _q31);
     976                 :           0 :                                       if (tree_swap_operands_p (_q30, _q31))
     977                 :           0 :                                         std::swap (_q30, _q31);
     978                 :           0 :                                       switch (TREE_CODE (_q30))
     979                 :             :                                         {
     980                 :           0 :                                         case SSA_NAME:
     981                 :           0 :                                           if (gimple *_d3 = get_def (valueize, _q30))
     982                 :             :                                             {
     983                 :           0 :                                               if (gassign *_a3 = dyn_cast <gassign *> (_d3))
     984                 :           0 :                                                 switch (gimple_assign_rhs_code (_a3))
     985                 :             :                                                   {
     986                 :           0 :                                                   CASE_CONVERT:
     987                 :           0 :                                                     {
     988                 :           0 :                                                       tree _q40 = gimple_assign_rhs1 (_a3);
     989                 :           0 :                                                       _q40 = do_valueize (valueize, _q40);
     990                 :           0 :                                                       switch (TREE_CODE (_q40))
     991                 :             :                                                         {
     992                 :           0 :                                                         case SSA_NAME:
     993                 :           0 :                                                           if (gimple *_d4 = get_def (valueize, _q40))
     994                 :             :                                                             {
     995                 :           0 :                                                               if (gassign *_a4 = dyn_cast <gassign *> (_d4))
     996                 :           0 :                                                                 switch (gimple_assign_rhs_code (_a4))
     997                 :             :                                                                   {
     998                 :           0 :                                                                   case LSHIFT_EXPR:
     999                 :           0 :                                                                     {
    1000                 :           0 :                                                                       tree _q50 = gimple_assign_rhs1 (_a4);
    1001                 :           0 :                                                                       _q50 = do_valueize (valueize, _q50);
    1002                 :           0 :                                                                       tree _q51 = gimple_assign_rhs2 (_a4);
    1003                 :           0 :                                                                       _q51 = do_valueize (valueize, _q51);
    1004                 :           0 :                                                                       if (integer_onep (_q50))
    1005                 :             :                                                                         {
    1006                 :           0 :                                                                           {
    1007                 :           0 :                                                                             tree captures[4] ATTRIBUTE_UNUSED = { _q20, _q51, _q31, _q50 };
    1008                 :           0 :                                                                             {
    1009                 :           0 :                                                                               res_ops[0] = captures[0];
    1010                 :           0 :                                                                               res_ops[1] = captures[1];
    1011                 :           0 :                                                                               res_ops[2] = captures[2];
    1012                 :           0 :                                                                               if (UNLIKELY (debug_dump)) gimple_dump_logs ("match.pd", 53, __FILE__, __LINE__, false);
    1013                 :           0 :                                                                               return true;
    1014                 :             :                                                                             }
    1015                 :             :                                                                           }
    1016                 :             :                                                                         }
    1017                 :             :                                                                       break;
    1018                 :             :                                                                     }
    1019                 :             :                                                                   default:;
    1020                 :             :                                                                   }
    1021                 :             :                                                             }
    1022                 :             :                                                           break;
    1023                 :             :                                                         default:;
    1024                 :             :                                                         }
    1025                 :             :                                                       break;
    1026                 :             :                                                     }
    1027                 :           0 :                                                   case LSHIFT_EXPR:
    1028                 :           0 :                                                     {
    1029                 :           0 :                                                       tree _q40 = gimple_assign_rhs1 (_a3);
    1030                 :           0 :                                                       _q40 = do_valueize (valueize, _q40);
    1031                 :           0 :                                                       tree _q41 = gimple_assign_rhs2 (_a3);
    1032                 :           0 :                                                       _q41 = do_valueize (valueize, _q41);
    1033                 :           0 :                                                       if (integer_onep (_q40))
    1034                 :             :                                                         {
    1035                 :           0 :                                                           {
    1036                 :           0 :                                                             tree captures[4] ATTRIBUTE_UNUSED = { _q20, _q41, _q31, _q40 };
    1037                 :           0 :                                                             {
    1038                 :           0 :                                                               res_ops[0] = captures[0];
    1039                 :           0 :                                                               res_ops[1] = captures[1];
    1040                 :           0 :                                                               res_ops[2] = captures[2];
    1041                 :           0 :                                                               if (UNLIKELY (debug_dump)) gimple_dump_logs ("match.pd", 53, __FILE__, __LINE__, false);
    1042                 :           0 :                                                               return true;
    1043                 :             :                                                             }
    1044                 :             :                                                           }
    1045                 :             :                                                         }
    1046                 :             :                                                       break;
    1047                 :             :                                                     }
    1048                 :             :                                                   default:;
    1049                 :             :                                                   }
    1050                 :             :                                             }
    1051                 :             :                                           break;
    1052                 :             :                                         default:;
    1053                 :             :                                         }
    1054                 :           0 :                                       break;
    1055                 :             :                                     }
    1056                 :             :                                   default:;
    1057                 :             :                                   }
    1058                 :             :                             }
    1059                 :             :                           break;
    1060                 :             :                         default:;
    1061                 :             :                         }
    1062                 :             : }
    1063                 :             :                 }
    1064                 :           0 :                   break;
    1065                 :             :                 }
    1066                 :             :               default:;
    1067                 :             :               }
    1068                 :             :         }
    1069                 :             :       break;
    1070                 :             :     default:;
    1071                 :             :     }
    1072                 :             :   return false;
    1073                 :             : }
    1074                 :             : 
    1075                 :             : bool
    1076                 :           7 : gimple_simplify_142 (gimple_match_op *res_op, gimple_seq *seq,
    1077                 :             :                  tree (*valueize)(tree) ATTRIBUTE_UNUSED,
    1078                 :             :                  const tree ARG_UNUSED (type), tree *ARG_UNUSED (captures),
    1079                 :             :  const enum tree_code ARG_UNUSED (cmp),
    1080                 :             :  const enum tree_code ARG_UNUSED (icmp))
    1081                 :             : {
    1082                 :           7 :   const bool debug_dump = dump_file && (dump_flags & TDF_FOLDING);
    1083                 :           7 :   if (integer_zerop (captures[5])
    1084                 :           7 :  && invert_tree_comparison (cmp, HONOR_NANS (captures[2])) == icmp
    1085                 :             : )
    1086                 :             :     {
    1087                 :           0 :       if (integer_onep (captures[4])
    1088                 :             : )
    1089                 :             :         {
    1090                 :           0 :           gimple_seq *lseq = seq;
    1091                 :           0 :           if (lseq
    1092                 :           0 :               && (!single_use (captures[0])
    1093                 :           0 :                   || !single_use (captures[7])))
    1094                 :           0 :             lseq = NULL;
    1095                 :           0 :           if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail329;
    1096                 :           0 :           {
    1097                 :           0 :             res_op->set_op (BIT_AND_EXPR, type, 2);
    1098                 :           0 :             {
    1099                 :           0 :               tree _o1[3], _r1;
    1100                 :           0 :               _o1[0] = captures[1];
    1101                 :           0 :               _o1[1] = captures[6];
    1102                 :           0 :               _o1[2] = captures[9];
    1103                 :           0 :               gimple_match_op tem_op (res_op->cond.any_else (), VEC_COND_EXPR, TREE_TYPE (_o1[1]), _o1[0], _o1[1], _o1[2]);
    1104                 :           0 :               tem_op.resimplify (lseq, valueize);
    1105                 :           0 :               _r1 = maybe_push_res_to_seq (&tem_op, lseq);
    1106                 :           0 :               if (!_r1) goto next_after_fail329;
    1107                 :           0 :               res_op->ops[0] = _r1;
    1108                 :             :             }
    1109                 :           0 :             res_op->ops[1] = captures[4];
    1110                 :           0 :             res_op->resimplify (lseq, valueize);
    1111                 :           0 :             if (UNLIKELY (debug_dump)) gimple_dump_logs ("match.pd", 202, __FILE__, __LINE__, true);
    1112                 :           0 :             return true;
    1113                 :             :           }
    1114                 :             : next_after_fail329:;
    1115                 :             :         }
    1116                 :             :       else
    1117                 :             :         {
    1118                 :           0 :           if (integer_minus_onep (captures[4])
    1119                 :             : )
    1120                 :             :             {
    1121                 :           0 :               gimple_seq *lseq = seq;
    1122                 :           0 :               if (lseq
    1123                 :           0 :                   && (!single_use (captures[0])
    1124                 :           0 :                       || !single_use (captures[7])))
    1125                 :           0 :                 lseq = NULL;
    1126                 :           0 :               if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail330;
    1127                 :           0 :               {
    1128                 :           0 :                 res_op->set_op (VEC_COND_EXPR, type, 3);
    1129                 :           0 :                 res_op->ops[0] = captures[1];
    1130                 :           0 :                 res_op->ops[1] = captures[6];
    1131                 :           0 :                 res_op->ops[2] = captures[9];
    1132                 :           0 :                 res_op->resimplify (lseq, valueize);
    1133                 :           0 :                 if (UNLIKELY (debug_dump)) gimple_dump_logs ("match.pd", 203, __FILE__, __LINE__, true);
    1134                 :           0 :                 return true;
    1135                 :             :               }
    1136                 :           0 : next_after_fail330:;
    1137                 :             :             }
    1138                 :             :         }
    1139                 :             :     }
    1140                 :             :   else
    1141                 :             :     {
    1142                 :           7 :       if (integer_zerop (captures[4])
    1143                 :           7 :  && invert_tree_comparison (cmp, HONOR_NANS (captures[2])) == icmp
    1144                 :             : )
    1145                 :             :         {
    1146                 :           0 :           if (integer_onep (captures[5])
    1147                 :             : )
    1148                 :             :             {
    1149                 :           0 :               gimple_seq *lseq = seq;
    1150                 :           0 :               if (lseq
    1151                 :           0 :                   && (!single_use (captures[0])
    1152                 :           0 :                       || !single_use (captures[7])))
    1153                 :           0 :                 lseq = NULL;
    1154                 :           0 :               if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail331;
    1155                 :           0 :               {
    1156                 :           0 :                 res_op->set_op (BIT_AND_EXPR, type, 2);
    1157                 :           0 :                 {
    1158                 :           0 :                   tree _o1[3], _r1;
    1159                 :           0 :                   _o1[0] = captures[1];
    1160                 :           0 :                   _o1[1] = captures[9];
    1161                 :           0 :                   _o1[2] = captures[6];
    1162                 :           0 :                   gimple_match_op tem_op (res_op->cond.any_else (), VEC_COND_EXPR, TREE_TYPE (_o1[1]), _o1[0], _o1[1], _o1[2]);
    1163                 :           0 :                   tem_op.resimplify (lseq, valueize);
    1164                 :           0 :                   _r1 = maybe_push_res_to_seq (&tem_op, lseq);
    1165                 :           0 :                   if (!_r1) goto next_after_fail331;
    1166                 :           0 :                   res_op->ops[0] = _r1;
    1167                 :             :                 }
    1168                 :           0 :                 res_op->ops[1] = captures[5];
    1169                 :           0 :                 res_op->resimplify (lseq, valueize);
    1170                 :           0 :                 if (UNLIKELY (debug_dump)) gimple_dump_logs ("match.pd", 204, __FILE__, __LINE__, true);
    1171                 :           0 :                 return true;
    1172                 :             :               }
    1173                 :             : next_after_fail331:;
    1174                 :             :             }
    1175                 :             :           else
    1176                 :             :             {
    1177                 :           0 :               if (integer_minus_onep (captures[5])
    1178                 :             : )
    1179                 :             :                 {
    1180                 :           0 :                   gimple_seq *lseq = seq;
    1181                 :           0 :                   if (lseq
    1182                 :           0 :                       && (!single_use (captures[0])
    1183                 :           0 :                           || !single_use (captures[7])))
    1184                 :           0 :                     lseq = NULL;
    1185                 :           0 :                   if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail332;
    1186                 :           0 :                   {
    1187                 :           0 :                     res_op->set_op (VEC_COND_EXPR, type, 3);
    1188                 :           0 :                     res_op->ops[0] = captures[1];
    1189                 :           0 :                     res_op->ops[1] = captures[9];
    1190                 :           0 :                     res_op->ops[2] = captures[6];
    1191                 :           0 :                     res_op->resimplify (lseq, valueize);
    1192                 :           0 :                     if (UNLIKELY (debug_dump)) gimple_dump_logs ("match.pd", 205, __FILE__, __LINE__, true);
    1193                 :           0 :                     return true;
    1194                 :             :                   }
    1195                 :           0 : next_after_fail332:;
    1196                 :             :                 }
    1197                 :             :             }
    1198                 :             :         }
    1199                 :             :     }
    1200                 :             :   return false;
    1201                 :             : }
    1202                 :             : 
    1203                 :             : bool
    1204                 :           0 : gimple_simplify_162 (gimple_match_op *res_op, gimple_seq *seq,
    1205                 :             :                  tree (*valueize)(tree) ATTRIBUTE_UNUSED,
    1206                 :             :                  const tree ARG_UNUSED (type), tree *ARG_UNUSED (captures))
    1207                 :             : {
    1208                 :           0 :   const bool debug_dump = dump_file && (dump_flags & TDF_FOLDING);
    1209                 :           0 :   gimple_seq *lseq = seq;
    1210                 :           0 :   if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail384;
    1211                 :           0 :   {
    1212                 :           0 :     tree tem;
    1213                 :           0 :     tem = captures[1];
    1214                 :           0 :     res_op->set_value (tem);
    1215                 :           0 :     if (UNLIKELY (debug_dump)) gimple_dump_logs ("match.pd", 230, __FILE__, __LINE__, true);
    1216                 :             :     return true;
    1217                 :             :   }
    1218                 :           0 : next_after_fail384:;
    1219                 :           0 :   return false;
    1220                 :             : }
    1221                 :             : 
    1222                 :             : bool
    1223                 :           0 : gimple_simplify_165 (gimple_match_op *res_op, gimple_seq *seq,
    1224                 :             :                  tree (*valueize)(tree) ATTRIBUTE_UNUSED,
    1225                 :             :                  const tree ARG_UNUSED (type), tree *ARG_UNUSED (captures))
    1226                 :             : {
    1227                 :           0 :   const bool debug_dump = dump_file && (dump_flags & TDF_FOLDING);
    1228                 :           0 :   if (!tree_expr_maybe_nan_p (captures[0]) && !HONOR_SIGNED_ZEROS (type)
    1229                 :             : )
    1230                 :             :     {
    1231                 :           0 :       gimple_seq *lseq = seq;
    1232                 :           0 :       if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail387;
    1233                 :           0 :       {
    1234                 :           0 :         res_op->set_op (NOP_EXPR, type, 1);
    1235                 :           0 :         {
    1236                 :           0 :           tree _o1[1], _r1;
    1237                 :           0 :           _o1[0] = captures[0];
    1238                 :           0 :           gimple_match_op tem_op (res_op->cond.any_else (), ABS_EXPR, TREE_TYPE (_o1[0]), _o1[0]);
    1239                 :           0 :           tem_op.resimplify (lseq, valueize);
    1240                 :           0 :           _r1 = maybe_push_res_to_seq (&tem_op, lseq);
    1241                 :           0 :           if (!_r1) goto next_after_fail387;
    1242                 :           0 :           res_op->ops[0] = _r1;
    1243                 :             :         }
    1244                 :           0 :         res_op->resimplify (lseq, valueize);
    1245                 :           0 :         if (UNLIKELY (debug_dump)) gimple_dump_logs ("match.pd", 232, __FILE__, __LINE__, true);
    1246                 :           0 :         return true;
    1247                 :             :       }
    1248                 :             : next_after_fail387:;
    1249                 :             :     }
    1250                 :             :   return false;
    1251                 :             : }
    1252                 :             : 
    1253                 :             : bool
    1254                 :           0 : gimple_simplify_169 (gimple_match_op *res_op, gimple_seq *seq,
    1255                 :             :                  tree (*valueize)(tree) ATTRIBUTE_UNUSED,
    1256                 :             :                  const tree ARG_UNUSED (type), tree *ARG_UNUSED (captures))
    1257                 :             : {
    1258                 :           0 :   const bool debug_dump = dump_file && (dump_flags & TDF_FOLDING);
    1259                 :           0 :   if (!tree_expr_maybe_nan_p (captures[0]) && !HONOR_SIGNED_ZEROS (type)
    1260                 :             : )
    1261                 :             :     {
    1262                 :           0 :       gimple_seq *lseq = seq;
    1263                 :           0 :       if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail391;
    1264                 :           0 :       {
    1265                 :           0 :         res_op->set_op (NOP_EXPR, type, 1);
    1266                 :           0 :         {
    1267                 :           0 :           tree _o1[1], _r1;
    1268                 :           0 :           _o1[0] = captures[0];
    1269                 :           0 :           gimple_match_op tem_op (res_op->cond.any_else (), ABS_EXPR, TREE_TYPE (_o1[0]), _o1[0]);
    1270                 :           0 :           tem_op.resimplify (lseq, valueize);
    1271                 :           0 :           _r1 = maybe_push_res_to_seq (&tem_op, lseq);
    1272                 :           0 :           if (!_r1) goto next_after_fail391;
    1273                 :           0 :           res_op->ops[0] = _r1;
    1274                 :             :         }
    1275                 :           0 :         res_op->resimplify (lseq, valueize);
    1276                 :           0 :         if (UNLIKELY (debug_dump)) gimple_dump_logs ("match.pd", 232, __FILE__, __LINE__, true);
    1277                 :           0 :         return true;
    1278                 :             :       }
    1279                 :             : next_after_fail391:;
    1280                 :             :     }
    1281                 :             :   return false;
    1282                 :             : }
    1283                 :             : 
    1284                 :             : bool
    1285                 :           0 : gimple_simplify_174 (gimple_match_op *res_op, gimple_seq *seq,
    1286                 :             :                  tree (*valueize)(tree) ATTRIBUTE_UNUSED,
    1287                 :             :                  const tree ARG_UNUSED (type), tree *ARG_UNUSED (captures))
    1288                 :             : {
    1289                 :           0 :   const bool debug_dump = dump_file && (dump_flags & TDF_FOLDING);
    1290                 :           0 :   if (!tree_expr_maybe_nan_p (captures[0]) && !HONOR_SIGNED_ZEROS (type)
    1291                 :             : )
    1292                 :             :     {
    1293                 :           0 :       gimple_seq *lseq = seq;
    1294                 :           0 :       if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail396;
    1295                 :           0 :       {
    1296                 :           0 :         res_op->set_op (NOP_EXPR, type, 1);
    1297                 :           0 :         {
    1298                 :           0 :           tree _o1[1], _r1;
    1299                 :           0 :           _o1[0] = captures[0];
    1300                 :           0 :           gimple_match_op tem_op (res_op->cond.any_else (), ABS_EXPR, TREE_TYPE (_o1[0]), _o1[0]);
    1301                 :           0 :           tem_op.resimplify (lseq, valueize);
    1302                 :           0 :           _r1 = maybe_push_res_to_seq (&tem_op, lseq);
    1303                 :           0 :           if (!_r1) goto next_after_fail396;
    1304                 :           0 :           res_op->ops[0] = _r1;
    1305                 :             :         }
    1306                 :           0 :         res_op->resimplify (lseq, valueize);
    1307                 :           0 :         if (UNLIKELY (debug_dump)) gimple_dump_logs ("match.pd", 233, __FILE__, __LINE__, true);
    1308                 :           0 :         return true;
    1309                 :             :       }
    1310                 :             : next_after_fail396:;
    1311                 :             :     }
    1312                 :             :   return false;
    1313                 :             : }
    1314                 :             : 
    1315                 :             : bool
    1316                 :           0 : gimple_simplify_179 (gimple_match_op *res_op, gimple_seq *seq,
    1317                 :             :                  tree (*valueize)(tree) ATTRIBUTE_UNUSED,
    1318                 :             :                  const tree ARG_UNUSED (type), tree *ARG_UNUSED (captures))
    1319                 :             : {
    1320                 :           0 :   const bool debug_dump = dump_file && (dump_flags & TDF_FOLDING);
    1321                 :           0 :   if (!tree_expr_maybe_nan_p (captures[0]) && !HONOR_SIGNED_ZEROS (type)
    1322                 :             : )
    1323                 :             :     {
    1324                 :           0 :       gimple_seq *lseq = seq;
    1325                 :           0 :       if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail401;
    1326                 :           0 :       {
    1327                 :           0 :         res_op->set_op (NOP_EXPR, type, 1);
    1328                 :           0 :         {
    1329                 :           0 :           tree _o1[1], _r1;
    1330                 :           0 :           _o1[0] = captures[0];
    1331                 :           0 :           gimple_match_op tem_op (res_op->cond.any_else (), ABS_EXPR, TREE_TYPE (_o1[0]), _o1[0]);
    1332                 :           0 :           tem_op.resimplify (lseq, valueize);
    1333                 :           0 :           _r1 = maybe_push_res_to_seq (&tem_op, lseq);
    1334                 :           0 :           if (!_r1) goto next_after_fail401;
    1335                 :           0 :           res_op->ops[0] = _r1;
    1336                 :             :         }
    1337                 :           0 :         res_op->resimplify (lseq, valueize);
    1338                 :           0 :         if (UNLIKELY (debug_dump)) gimple_dump_logs ("match.pd", 233, __FILE__, __LINE__, true);
    1339                 :           0 :         return true;
    1340                 :             :       }
    1341                 :             : next_after_fail401:;
    1342                 :             :     }
    1343                 :             :   return false;
    1344                 :             : }
    1345                 :             : 
    1346                 :             : bool
    1347                 :           0 : gimple_simplify_189 (gimple_match_op *res_op, gimple_seq *seq,
    1348                 :             :                  tree (*valueize)(tree) ATTRIBUTE_UNUSED,
    1349                 :             :                  const tree ARG_UNUSED (type), tree *ARG_UNUSED (captures))
    1350                 :             : {
    1351                 :           0 :   const bool debug_dump = dump_file && (dump_flags & TDF_FOLDING);
    1352                 :           0 :   gimple_seq *lseq = seq;
    1353                 :           0 :   if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail411;
    1354                 :           0 :   {
    1355                 :           0 :     tree tem;
    1356                 :           0 :     tem =  build_zero_cst (type);
    1357                 :           0 :     res_op->set_value (tem);
    1358                 :           0 :     if (UNLIKELY (debug_dump)) gimple_dump_logs ("match.pd", 239, __FILE__, __LINE__, true);
    1359                 :             :     return true;
    1360                 :             :   }
    1361                 :           0 : next_after_fail411:;
    1362                 :           0 :   return false;
    1363                 :             : }
    1364                 :             : 
    1365                 :             : bool
    1366                 :        5146 : gimple_simplify_196 (gimple_match_op *res_op, gimple_seq *seq,
    1367                 :             :                  tree (*valueize)(tree) ATTRIBUTE_UNUSED,
    1368                 :             :                  const tree ARG_UNUSED (type), tree *ARG_UNUSED (captures),
    1369                 :             :  const enum tree_code ARG_UNUSED (op))
    1370                 :             : {
    1371                 :        5146 :   const bool debug_dump = dump_file && (dump_flags & TDF_FOLDING);
    1372                 :        5146 :   if (tree_nop_conversion_p (type, TREE_TYPE (captures[2]))
    1373                 :        5146 :  && tree_nop_conversion_p (TREE_TYPE (captures[0]), TREE_TYPE (captures[2]))
    1374                 :             : )
    1375                 :             :     {
    1376                 :        5107 :       {
    1377                 :        5107 :  wi::overflow_type overflow;
    1378                 :        5107 :  wide_int mul = wi::mul (wi::to_wide (captures[1]), wi::to_wide (captures[2]),
    1379                 :       10214 :  TYPE_SIGN (type), &overflow);
    1380                 :        5107 :           if (types_match (type, TREE_TYPE (captures[2]))
    1381                 :        5107 :  && types_match (TREE_TYPE (captures[0]), TREE_TYPE (captures[2])) && !overflow
    1382                 :             : )
    1383                 :             :             {
    1384                 :          13 :               gimple_seq *lseq = seq;
    1385                 :          13 :               if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail420;
    1386                 :          13 :               {
    1387                 :          13 :                 res_op->set_op (op, type, 2);
    1388                 :          13 :                 res_op->ops[0] = captures[0];
    1389                 :          13 :                 res_op->ops[1] =  wide_int_to_tree (type, mul);
    1390                 :          13 :                 res_op->resimplify (lseq, valueize);
    1391                 :          13 :                 if (UNLIKELY (debug_dump)) gimple_dump_logs ("match.pd", 245, __FILE__, __LINE__, true);
    1392                 :          13 :                 return true;
    1393                 :             :               }
    1394                 :           0 : next_after_fail420:;
    1395                 :             :             }
    1396                 :             :           else
    1397                 :             :             {
    1398                 :        5094 :               {
    1399                 :        5094 :  tree utype = unsigned_type_for (type);
    1400                 :        5094 :                   gimple_seq *lseq = seq;
    1401                 :        5094 :                   if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail421;
    1402                 :        5094 :                   {
    1403                 :        5094 :                     res_op->set_op (NOP_EXPR, type, 1);
    1404                 :        5094 :                     {
    1405                 :        5094 :                       tree _o1[2], _r1;
    1406                 :        5094 :                       {
    1407                 :        5094 :                         tree _o2[1], _r2;
    1408                 :        5094 :                         _o2[0] = captures[0];
    1409                 :        5094 :                         if (utype != TREE_TYPE (_o2[0])
    1410                 :        5094 :                             && !useless_type_conversion_p (utype, TREE_TYPE (_o2[0])))
    1411                 :             :                           {
    1412                 :        5094 :                             gimple_match_op tem_op (res_op->cond.any_else (), NOP_EXPR, utype, _o2[0]);
    1413                 :        5094 :                             tem_op.resimplify (lseq, valueize);
    1414                 :        5094 :                             _r2 = maybe_push_res_to_seq (&tem_op, lseq);
    1415                 :        5094 :                             if (!_r2) goto next_after_fail421;
    1416                 :             :                           }
    1417                 :             :                         else
    1418                 :             :                           _r2 = _o2[0];
    1419                 :        3387 :                         _o1[0] = _r2;
    1420                 :             :                       }
    1421                 :        3387 :                       {
    1422                 :        3387 :                         tree _o2[2], _r2;
    1423                 :        3387 :                         {
    1424                 :        3387 :                           tree _o3[1], _r3;
    1425                 :        3387 :                           _o3[0] = captures[1];
    1426                 :        3387 :                           if (utype != TREE_TYPE (_o3[0])
    1427                 :        3387 :                               && !useless_type_conversion_p (utype, TREE_TYPE (_o3[0])))
    1428                 :             :                             {
    1429                 :        3387 :                               gimple_match_op tem_op (res_op->cond.any_else (), NOP_EXPR, utype, _o3[0]);
    1430                 :        3387 :                               tem_op.resimplify (lseq, valueize);
    1431                 :        3387 :                               _r3 = maybe_push_res_to_seq (&tem_op, lseq);
    1432                 :        3387 :                               if (!_r3) goto next_after_fail421;
    1433                 :             :                             }
    1434                 :             :                           else
    1435                 :             :                             _r3 = _o3[0];
    1436                 :        3387 :                           _o2[0] = _r3;
    1437                 :             :                         }
    1438                 :        3387 :                         {
    1439                 :        3387 :                           tree _o3[1], _r3;
    1440                 :        3387 :                           _o3[0] = captures[2];
    1441                 :        3387 :                           if (utype != TREE_TYPE (_o3[0])
    1442                 :        3387 :                               && !useless_type_conversion_p (utype, TREE_TYPE (_o3[0])))
    1443                 :             :                             {
    1444                 :         721 :                               gimple_match_op tem_op (res_op->cond.any_else (), NOP_EXPR, utype, _o3[0]);
    1445                 :         721 :                               tem_op.resimplify (lseq, valueize);
    1446                 :         721 :                               _r3 = maybe_push_res_to_seq (&tem_op, lseq);
    1447                 :         721 :                               if (!_r3) goto next_after_fail421;
    1448                 :             :                             }
    1449                 :             :                           else
    1450                 :             :                             _r3 = _o3[0];
    1451                 :        3387 :                           _o2[1] = _r3;
    1452                 :             :                         }
    1453                 :        3387 :                         gimple_match_op tem_op (res_op->cond.any_else (), MULT_EXPR, TREE_TYPE (_o2[0]), _o2[0], _o2[1]);
    1454                 :        3387 :                         tem_op.resimplify (lseq, valueize);
    1455                 :        3387 :                         _r2 = maybe_push_res_to_seq (&tem_op, lseq);
    1456                 :        3387 :                         if (!_r2) goto next_after_fail421;
    1457                 :        3387 :                         _o1[1] = _r2;
    1458                 :             :                       }
    1459                 :        3387 :                       gimple_match_op tem_op (res_op->cond.any_else (), op, TREE_TYPE (_o1[0]), _o1[0], _o1[1]);
    1460                 :        3387 :                       tem_op.resimplify (lseq, valueize);
    1461                 :        3387 :                       _r1 = maybe_push_res_to_seq (&tem_op, lseq);
    1462                 :        3387 :                       if (!_r1) goto next_after_fail421;
    1463                 :        3021 :                       res_op->ops[0] = _r1;
    1464                 :             :                     }
    1465                 :        3021 :                     res_op->resimplify (lseq, valueize);
    1466                 :        3021 :                     if (UNLIKELY (debug_dump)) gimple_dump_logs ("match.pd", 246, __FILE__, __LINE__, true);
    1467                 :        3021 :                     return true;
    1468                 :             :                   }
    1469                 :        2073 : next_after_fail421:;
    1470                 :             :               }
    1471                 :             :             }
    1472                 :        5107 :       }
    1473                 :             :     }
    1474                 :             :   return false;
    1475                 :             : }
    1476                 :             : 
    1477                 :             : bool
    1478                 :       11372 : gimple_simplify_221 (gimple_match_op *res_op, gimple_seq *seq,
    1479                 :             :                  tree (*valueize)(tree) ATTRIBUTE_UNUSED,
    1480                 :             :                  const tree ARG_UNUSED (type), tree *ARG_UNUSED (captures),
    1481                 :             :  const enum tree_code ARG_UNUSED (cmp),
    1482                 :             :  const enum tree_code ARG_UNUSED (ocmp))
    1483                 :             : {
    1484                 :       11372 :   const bool debug_dump = dump_file && (dump_flags & TDF_FOLDING);
    1485                 :       11372 :   if (TYPE_UNSIGNED (TREE_TYPE (captures[0]))
    1486                 :         426 :  && TREE_CODE (TREE_TYPE (captures[0])) != COMPLEX_TYPE
    1487                 :       11714 :  && (VECTOR_TYPE_P (type) || !VECTOR_TYPE_P (TREE_TYPE (captures[0])))
    1488                 :             : )
    1489                 :             :     {
    1490                 :         342 :       gimple_seq *lseq = seq;
    1491                 :         342 :       if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail462;
    1492                 :         342 :       {
    1493                 :         342 :         res_op->set_op (ocmp, type, 2);
    1494                 :         342 :         res_op->ops[0] = captures[0];
    1495                 :         342 :         res_op->ops[1] = captures[1];
    1496                 :         342 :         res_op->resimplify (lseq, valueize);
    1497                 :         342 :         if (UNLIKELY (debug_dump)) gimple_dump_logs ("match.pd", 285, __FILE__, __LINE__, true);
    1498                 :         342 :         return true;
    1499                 :             :       }
    1500                 :           0 : next_after_fail462:;
    1501                 :             :     }
    1502                 :             :   return false;
    1503                 :             : }
    1504                 :             : 
    1505                 :             : bool
    1506                 :        2152 : gimple_simplify_228 (gimple_match_op *res_op, gimple_seq *seq,
    1507                 :             :                  tree (*valueize)(tree) ATTRIBUTE_UNUSED,
    1508                 :             :                  const tree ARG_UNUSED (type), tree *ARG_UNUSED (captures),
    1509                 :             :  const enum tree_code ARG_UNUSED (cmp),
    1510                 :             :  const enum tree_code ARG_UNUSED (icmp))
    1511                 :             : {
    1512                 :        2152 :   const bool debug_dump = dump_file && (dump_flags & TDF_FOLDING);
    1513                 :        2152 :   {
    1514                 :        2152 :  int c1 = wi::clz (wi::to_wide (captures[0]));
    1515                 :        2152 :  int c2 = wi::clz (wi::to_wide (captures[2]));
    1516                 :        2152 :       if (c1 < c2
    1517                 :             : )
    1518                 :             :         {
    1519                 :           0 :           gimple_seq *lseq = seq;
    1520                 :           0 :           if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail471;
    1521                 :           0 :           {
    1522                 :           0 :             tree tem;
    1523                 :           0 :             tem =  constant_boolean_node (cmp == NE_EXPR ? false : true, type);
    1524                 :           0 :             res_op->set_value (tem);
    1525                 :           0 :             if (UNLIKELY (debug_dump)) gimple_dump_logs ("match.pd", 294, __FILE__, __LINE__, true);
    1526                 :           0 :             return true;
    1527                 :             :           }
    1528                 :           0 : next_after_fail471:;
    1529                 :             :         }
    1530                 :             :       else
    1531                 :             :         {
    1532                 :        2152 :           gimple_seq *lseq = seq;
    1533                 :        2152 :           if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail472;
    1534                 :        2152 :           {
    1535                 :        2152 :             res_op->set_op (icmp, type, 2);
    1536                 :        2152 :             res_op->ops[0] = captures[1];
    1537                 :        2152 :             res_op->ops[1] =  build_int_cst (TREE_TYPE (captures[1]), c1 - c2);
    1538                 :        2152 :             res_op->resimplify (lseq, valueize);
    1539                 :        2152 :             if (UNLIKELY (debug_dump)) gimple_dump_logs ("match.pd", 295, __FILE__, __LINE__, true);
    1540                 :        2152 :             return true;
    1541                 :             :           }
    1542                 :           0 : next_after_fail472:;
    1543                 :             :         }
    1544                 :             :   }
    1545                 :             :   return false;
    1546                 :             : }
    1547                 :             : 
    1548                 :             : bool
    1549                 :          16 : gimple_simplify_236 (gimple_match_op *res_op, gimple_seq *seq,
    1550                 :             :                  tree (*valueize)(tree) ATTRIBUTE_UNUSED,
    1551                 :             :                  const tree ARG_UNUSED (type), tree *ARG_UNUSED (captures),
    1552                 :             :  const enum tree_code ARG_UNUSED (rotate),
    1553                 :             :  const enum tree_code ARG_UNUSED (invrot),
    1554                 :             :  const enum tree_code ARG_UNUSED (cmp))
    1555                 :             : {
    1556                 :          16 :   const bool debug_dump = dump_file && (dump_flags & TDF_FOLDING);
    1557                 :          16 :   gimple_seq *lseq = seq;
    1558                 :          16 :   if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail489;
    1559                 :          16 :   {
    1560                 :          16 :     res_op->set_op (cmp, type, 2);
    1561                 :          16 :     res_op->ops[0] = captures[0];
    1562                 :          16 :     res_op->ops[1] =  const_binop (invrot, TREE_TYPE (captures[0]), captures[2], captures[1]);
    1563                 :          16 :     res_op->resimplify (lseq, valueize);
    1564                 :          16 :     if (UNLIKELY (debug_dump)) gimple_dump_logs ("match.pd", 312, __FILE__, __LINE__, true);
    1565                 :             :     return true;
    1566                 :             :   }
    1567                 :           0 : next_after_fail489:;
    1568                 :           0 :   return false;
    1569                 :             : }
    1570                 :             : 
    1571                 :             : bool
    1572                 :        1619 : gimple_simplify_241 (gimple_match_op *res_op, gimple_seq *seq,
    1573                 :             :                  tree (*valueize)(tree) ATTRIBUTE_UNUSED,
    1574                 :             :                  const tree ARG_UNUSED (type), tree *ARG_UNUSED (captures),
    1575                 :             :  const enum tree_code ARG_UNUSED (cmp),
    1576                 :             :  const enum tree_code ARG_UNUSED (icmp),
    1577                 :             :  const enum tree_code ARG_UNUSED (ncmp))
    1578                 :             : {
    1579                 :        1619 :   const bool debug_dump = dump_file && (dump_flags & TDF_FOLDING);
    1580                 :        1619 :   if (types_match (type, TREE_TYPE (captures[0]))
    1581                 :             : )
    1582                 :             :     {
    1583                 :        1141 :       gimple_seq *lseq = seq;
    1584                 :        1141 :       if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail494;
    1585                 :        1141 :       {
    1586                 :        1141 :         res_op->set_op (cmp, type, 2);
    1587                 :        1141 :         res_op->ops[0] = captures[1];
    1588                 :        1141 :         res_op->ops[1] = captures[2];
    1589                 :        1141 :         res_op->resimplify (lseq, valueize);
    1590                 :        1141 :         if (UNLIKELY (debug_dump)) gimple_dump_logs ("match.pd", 317, __FILE__, __LINE__, true);
    1591                 :        1141 :         return true;
    1592                 :             :       }
    1593                 :           0 : next_after_fail494:;
    1594                 :             :     }
    1595                 :             :   return false;
    1596                 :             : }
    1597                 :             : 
    1598                 :             : bool
    1599                 :       42514 : gimple_simplify_246 (gimple_match_op *res_op, gimple_seq *seq,
    1600                 :             :                  tree (*valueize)(tree) ATTRIBUTE_UNUSED,
    1601                 :             :                  const tree ARG_UNUSED (type), tree *ARG_UNUSED (captures),
    1602                 :             :  const enum tree_code ARG_UNUSED (cmp))
    1603                 :             : {
    1604                 :       42514 :   const bool debug_dump = dump_file && (dump_flags & TDF_FOLDING);
    1605                 :       85028 :   if (INTEGRAL_TYPE_P (TREE_TYPE (captures[0]))
    1606                 :       85028 :  && TYPE_OVERFLOW_UNDEFINED (TREE_TYPE (captures[0]))
    1607                 :       87631 :  && wi::to_wide (captures[1]) != 0
    1608                 :             : )
    1609                 :             :     {
    1610                 :        2603 :       {
    1611                 :        2603 :  widest_int quot;
    1612                 :        2603 :           if (wi::multiple_of_p (wi::to_widest (captures[2]), wi::to_widest (captures[1]),
    1613                 :        2603 :  TYPE_SIGN (TREE_TYPE (captures[0])), &quot)
    1614                 :             : )
    1615                 :             :             {
    1616                 :        2586 :               gimple_seq *lseq = seq;
    1617                 :        2586 :               if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail502;
    1618                 :        2586 :               {
    1619                 :        2586 :                 res_op->set_op (cmp, type, 2);
    1620                 :        2586 :                 res_op->ops[0] = captures[0];
    1621                 :        2586 :                 res_op->ops[1] =  wide_int_to_tree (TREE_TYPE (captures[0]), quot);
    1622                 :        2586 :                 res_op->resimplify (lseq, valueize);
    1623                 :        2586 :                 if (UNLIKELY (debug_dump)) gimple_dump_logs ("match.pd", 324, __FILE__, __LINE__, true);
    1624                 :        2586 :                 return true;
    1625                 :             :               }
    1626                 :           0 : next_after_fail502:;
    1627                 :             :             }
    1628                 :             :           else
    1629                 :             :             {
    1630                 :          17 :               gimple_seq *lseq = seq;
    1631                 :          17 :               if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail503;
    1632                 :          17 :               {
    1633                 :          17 :                 tree tem;
    1634                 :          17 :                 tem =  constant_boolean_node (cmp == NE_EXPR, type);
    1635                 :          17 :                 res_op->set_value (tem);
    1636                 :          17 :                 if (UNLIKELY (debug_dump)) gimple_dump_logs ("match.pd", 325, __FILE__, __LINE__, true);
    1637                 :          17 :                 return true;
    1638                 :             :               }
    1639                 :           0 : next_after_fail503:;
    1640                 :             :             }
    1641                 :        2603 :       }
    1642                 :             :     }
    1643                 :             :   else
    1644                 :             :     {
    1645                 :       79822 :       if (INTEGRAL_TYPE_P (TREE_TYPE (captures[0]))
    1646                 :       39911 :  && TYPE_OVERFLOW_WRAPS (TREE_TYPE (captures[0]))
    1647                 :       79822 :  && (wi::bit_and (wi::to_wide (captures[1]), 1) == 1)
    1648                 :             : )
    1649                 :             :         {
    1650                 :         929 :           gimple_seq *lseq = seq;
    1651                 :         929 :           if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail504;
    1652                 :         929 :           {
    1653                 :         929 :             res_op->set_op (cmp, type, 2);
    1654                 :         929 :             res_op->ops[0] = captures[0];
    1655                 :         929 :  tree itype = TREE_TYPE (captures[0]);
    1656                 :         929 :  int p = TYPE_PRECISION (itype);
    1657                 :         929 :  wide_int m = wi::one (p + 1) << p;
    1658                 :         929 :  wide_int a = wide_int::from (wi::to_wide (captures[1]), p + 1, UNSIGNED);
    1659                 :         929 :  wide_int i = wide_int::from (wi::mod_inv (a, m),
    1660                 :        2787 :  p, TYPE_SIGN (itype));     res_op->ops[1] = 
    1661                 :         929 :  wide_int_to_tree (itype, wi::mul (i, wi::to_wide (captures[2])));
    1662                 :         929 :             res_op->resimplify (lseq, valueize);
    1663                 :         929 :             if (UNLIKELY (debug_dump)) gimple_dump_logs ("match.pd", 326, __FILE__, __LINE__, true);
    1664                 :         929 :             return true;
    1665                 :         929 :           }
    1666                 :           0 : next_after_fail504:;
    1667                 :             :         }
    1668                 :             :     }
    1669                 :             :   return false;
    1670                 :             : }
    1671                 :             : 
    1672                 :             : bool
    1673                 :        2416 : gimple_simplify_257 (gimple_match_op *res_op, gimple_seq *seq,
    1674                 :             :                  tree (*valueize)(tree) ATTRIBUTE_UNUSED,
    1675                 :             :                  const tree ARG_UNUSED (type), tree *ARG_UNUSED (captures),
    1676                 :             :  const enum tree_code ARG_UNUSED (cmp),
    1677                 :             :  const enum tree_code ARG_UNUSED (icmp))
    1678                 :             : {
    1679                 :        2416 :   const bool debug_dump = dump_file && (dump_flags & TDF_FOLDING);
    1680                 :        2416 :   if (SCALAR_FLOAT_TYPE_P (TREE_TYPE (captures[0]))
    1681                 :        2416 :  && ! DECIMAL_FLOAT_TYPE_P (TREE_TYPE (captures[0]))
    1682                 :             : )
    1683                 :             :     {
    1684                 :        2020 :       {
    1685                 :        2020 :  format_helper fmt (REAL_MODE_FORMAT (TYPE_MODE (TREE_TYPE (captures[0]))));
    1686                 :        2020 :  tree type1 = TREE_TYPE (captures[1]);
    1687                 :        2020 :  bool type1_signed_p = TYPE_SIGN (type1) == SIGNED;
    1688                 :        2020 :  tree type2 = TREE_TYPE (captures[2]);
    1689                 :        2020 :  bool type2_signed_p = TYPE_SIGN (type2) == SIGNED;
    1690                 :        2020 :           if (fmt.can_represent_integral_type_p (type1)
    1691                 :        2020 :  && fmt.can_represent_integral_type_p (type2)
    1692                 :             : )
    1693                 :             :             {
    1694                 :         346 :               if (cmp == ORDERED_EXPR || cmp == UNORDERED_EXPR
    1695                 :             : )
    1696                 :             :                 {
    1697                 :           4 :                   gimple_seq *lseq = seq;
    1698                 :           4 :                   if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail548;
    1699                 :           4 :                   {
    1700                 :           4 :                     tree tem;
    1701                 :           4 :                     tem =  constant_boolean_node (cmp == ORDERED_EXPR, type);
    1702                 :           4 :                     res_op->set_value (tem);
    1703                 :           4 :                     if (UNLIKELY (debug_dump)) gimple_dump_logs ("match.pd", 369, __FILE__, __LINE__, true);
    1704                 :         196 :                     return true;
    1705                 :             :                   }
    1706                 :           0 : next_after_fail548:;
    1707                 :             :                 }
    1708                 :             :               else
    1709                 :             :                 {
    1710                 :         342 :                   if (TYPE_PRECISION (type1) > TYPE_PRECISION (type2)
    1711                 :         342 :  && type1_signed_p >= type2_signed_p
    1712                 :             : )
    1713                 :             :                     {
    1714                 :           0 :                       gimple_seq *lseq = seq;
    1715                 :           0 :                       if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail549;
    1716                 :           0 :                       {
    1717                 :           0 :                         res_op->set_op (icmp, type, 2);
    1718                 :           0 :                         res_op->ops[0] = captures[1];
    1719                 :           0 :                         {
    1720                 :           0 :                           tree _o1[1], _r1;
    1721                 :           0 :                           _o1[0] = captures[2];
    1722                 :           0 :                           if (TREE_TYPE (res_op->ops[0]) != TREE_TYPE (_o1[0])
    1723                 :           0 :                               && !useless_type_conversion_p (TREE_TYPE (res_op->ops[0]), TREE_TYPE (_o1[0])))
    1724                 :             :                             {
    1725                 :           0 :                               gimple_match_op tem_op (res_op->cond.any_else (), NOP_EXPR, TREE_TYPE (res_op->ops[0]), _o1[0]);
    1726                 :           0 :                               tem_op.resimplify (lseq, valueize);
    1727                 :           0 :                               _r1 = maybe_push_res_to_seq (&tem_op, lseq);
    1728                 :           0 :                               if (!_r1) goto next_after_fail549;
    1729                 :             :                             }
    1730                 :             :                           else
    1731                 :             :                             _r1 = _o1[0];
    1732                 :           0 :                           res_op->ops[1] = _r1;
    1733                 :             :                         }
    1734                 :           0 :                         res_op->resimplify (lseq, valueize);
    1735                 :           0 :                         if (UNLIKELY (debug_dump)) gimple_dump_logs ("match.pd", 370, __FILE__, __LINE__, true);
    1736                 :           0 :                         return true;
    1737                 :             :                       }
    1738                 :        1824 : next_after_fail549:;
    1739                 :             :                     }
    1740                 :             :                   else
    1741                 :             :                     {
    1742                 :         342 :                       if (TYPE_PRECISION (type1) < TYPE_PRECISION (type2)
    1743                 :         342 :  && type1_signed_p <= type2_signed_p
    1744                 :             : )
    1745                 :             :                         {
    1746                 :           0 :                           gimple_seq *lseq = seq;
    1747                 :           0 :                           if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail550;
    1748                 :           0 :                           {
    1749                 :           0 :                             res_op->set_op (icmp, type, 2);
    1750                 :           0 :                             {
    1751                 :           0 :                               tree _o1[1], _r1;
    1752                 :           0 :                               _o1[0] = captures[1];
    1753                 :           0 :                               if (type2 != TREE_TYPE (_o1[0])
    1754                 :           0 :                                   && !useless_type_conversion_p (type2, TREE_TYPE (_o1[0])))
    1755                 :             :                                 {
    1756                 :           0 :                                   gimple_match_op tem_op (res_op->cond.any_else (), NOP_EXPR, type2, _o1[0]);
    1757                 :           0 :                                   tem_op.resimplify (lseq, valueize);
    1758                 :           0 :                                   _r1 = maybe_push_res_to_seq (&tem_op, lseq);
    1759                 :           0 :                                   if (!_r1) goto next_after_fail550;
    1760                 :             :                                 }
    1761                 :             :                               else
    1762                 :             :                                 _r1 = _o1[0];
    1763                 :           0 :                               res_op->ops[0] = _r1;
    1764                 :             :                             }
    1765                 :           0 :                             res_op->ops[1] = captures[2];
    1766                 :           0 :                             res_op->resimplify (lseq, valueize);
    1767                 :           0 :                             if (UNLIKELY (debug_dump)) gimple_dump_logs ("match.pd", 371, __FILE__, __LINE__, true);
    1768                 :           0 :                             return true;
    1769                 :             :                           }
    1770                 :        1824 : next_after_fail550:;
    1771                 :             :                         }
    1772                 :             :                       else
    1773                 :             :                         {
    1774                 :         342 :                           if (TYPE_PRECISION (type1) == TYPE_PRECISION (type2)
    1775                 :         342 :  && type1_signed_p == type2_signed_p
    1776                 :             : )
    1777                 :             :                             {
    1778                 :         192 :                               gimple_seq *lseq = seq;
    1779                 :         192 :                               if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail551;
    1780                 :         192 :                               {
    1781                 :         192 :                                 res_op->set_op (icmp, type, 2);
    1782                 :         192 :                                 res_op->ops[0] = captures[1];
    1783                 :         192 :                                 res_op->ops[1] = captures[2];
    1784                 :         192 :                                 res_op->resimplify (lseq, valueize);
    1785                 :         192 :                                 if (UNLIKELY (debug_dump)) gimple_dump_logs ("match.pd", 372, __FILE__, __LINE__, true);
    1786                 :         192 :                                 return true;
    1787                 :             :                               }
    1788                 :           0 : next_after_fail551:;
    1789                 :             :                             }
    1790                 :             :                         }
    1791                 :             :                     }
    1792                 :             :                 }
    1793                 :             :             }
    1794                 :             :       }
    1795                 :             :     }
    1796                 :             :   return false;
    1797                 :             : }
    1798                 :             : 
    1799                 :             : bool
    1800                 :        3809 : gimple_simplify_270 (gimple_match_op *res_op, gimple_seq *seq,
    1801                 :             :                  tree (*valueize)(tree) ATTRIBUTE_UNUSED,
    1802                 :             :                  const tree ARG_UNUSED (type), tree *ARG_UNUSED (captures),
    1803                 :             :  const enum tree_code ARG_UNUSED (cmp))
    1804                 :             : {
    1805                 :        3809 :   const bool debug_dump = dump_file && (dump_flags & TDF_FOLDING);
    1806                 :        3809 :   gimple_seq *lseq = seq;
    1807                 :        3809 :   if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail585;
    1808                 :        3809 :   {
    1809                 :        3809 :     res_op->set_op (cmp, type, 2);
    1810                 :        3809 :     {
    1811                 :        3809 :       tree _o1[2], _r1;
    1812                 :        3809 :       _o1[0] = captures[0];
    1813                 :        3809 :       {
    1814                 :        3809 :         tree _o2[1], _r2;
    1815                 :        3809 :         _o2[0] = captures[1];
    1816                 :        3809 :         gimple_match_op tem_op (res_op->cond.any_else (), BIT_NOT_EXPR, TREE_TYPE (_o2[0]), _o2[0]);
    1817                 :        3809 :         tem_op.resimplify (NULL, valueize);
    1818                 :        3809 :         _r2 = maybe_push_res_to_seq (&tem_op, NULL);
    1819                 :        3809 :         if (!_r2) goto next_after_fail585;
    1820                 :        2294 :         _o1[1] = _r2;
    1821                 :             :       }
    1822                 :        2294 :       gimple_match_op tem_op (res_op->cond.any_else (), BIT_AND_EXPR, TREE_TYPE (_o1[0]), _o1[0], _o1[1]);
    1823                 :        2294 :       tem_op.resimplify (lseq, valueize);
    1824                 :        2294 :       _r1 = maybe_push_res_to_seq (&tem_op, lseq);
    1825                 :        2294 :       if (!_r1) goto next_after_fail585;
    1826                 :        2250 :       res_op->ops[0] = _r1;
    1827                 :             :     }
    1828                 :        2250 :     res_op->ops[1] =  build_zero_cst (TREE_TYPE (captures[0]));
    1829                 :        2250 :     res_op->resimplify (lseq, valueize);
    1830                 :        2250 :     if (UNLIKELY (debug_dump)) gimple_dump_logs ("match.pd", 399, __FILE__, __LINE__, true);
    1831                 :             :     return true;
    1832                 :             :   }
    1833                 :             : next_after_fail585:;
    1834                 :             :   return false;
    1835                 :             : }
    1836                 :             : 
    1837                 :             : bool
    1838                 :          70 : gimple_simplify_275 (gimple_match_op *res_op, gimple_seq *seq,
    1839                 :             :                  tree (*valueize)(tree) ATTRIBUTE_UNUSED,
    1840                 :             :                  const tree ARG_UNUSED (type), tree *ARG_UNUSED (captures),
    1841                 :             :  const enum tree_code ARG_UNUSED (sgncmp),
    1842                 :             :  const enum tree_code ARG_UNUSED (cmp),
    1843                 :             :  const enum tree_code ARG_UNUSED (ncmp))
    1844                 :             : {
    1845                 :          70 :   const bool debug_dump = dump_file && (dump_flags & TDF_FOLDING);
    1846                 :         140 :   if (ANY_INTEGRAL_TYPE_P (TREE_TYPE (captures[0]))
    1847                 :          70 :  && !TYPE_UNSIGNED (TREE_TYPE (captures[0]))
    1848                 :         140 :  && types_match (captures[0], captures[2])
    1849                 :             : )
    1850                 :             :     {
    1851                 :          70 :       gimple_seq *lseq = seq;
    1852                 :          70 :       if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail590;
    1853                 :          70 :       {
    1854                 :          70 :         res_op->set_op (ncmp, type, 2);
    1855                 :          70 :         {
    1856                 :          70 :           tree _o1[2], _r1;
    1857                 :          70 :           _o1[0] = captures[0];
    1858                 :          70 :           _o1[1] = captures[2];
    1859                 :          70 :           gimple_match_op tem_op (res_op->cond.any_else (), BIT_XOR_EXPR, TREE_TYPE (_o1[0]), _o1[0], _o1[1]);
    1860                 :          70 :           tem_op.resimplify (lseq, valueize);
    1861                 :          70 :           _r1 = maybe_push_res_to_seq (&tem_op, lseq);
    1862                 :          70 :           if (!_r1) goto next_after_fail590;
    1863                 :          31 :           res_op->ops[0] = _r1;
    1864                 :             :         }
    1865                 :          31 :         res_op->ops[1] = captures[1];
    1866                 :          31 :         res_op->resimplify (lseq, valueize);
    1867                 :          31 :         if (UNLIKELY (debug_dump)) gimple_dump_logs ("match.pd", 404, __FILE__, __LINE__, true);
    1868                 :          31 :         return true;
    1869                 :             :       }
    1870                 :             : next_after_fail590:;
    1871                 :             :     }
    1872                 :             :   return false;
    1873                 :             : }
    1874                 :             : 
    1875                 :             : bool
    1876                 :     1092896 : gimple_simplify_280 (gimple_match_op *res_op, gimple_seq *seq,
    1877                 :             :                  tree (*valueize)(tree) ATTRIBUTE_UNUSED,
    1878                 :             :                  const tree ARG_UNUSED (type), tree *ARG_UNUSED (captures),
    1879                 :             :  const enum tree_code ARG_UNUSED (cmp),
    1880                 :             :  const enum tree_code ARG_UNUSED (ncmp))
    1881                 :             : {
    1882                 :     1092896 :   const bool debug_dump = dump_file && (dump_flags & TDF_FOLDING);
    1883                 :     1945257 :   if (INTEGRAL_TYPE_P (TREE_TYPE (captures[1]))
    1884                 :     1092896 :  && type_has_mode_precision_p (TREE_TYPE (captures[1]))
    1885                 :     1092558 :  && element_precision (captures[0]) >= element_precision (captures[1])
    1886                 :     2185792 :  && wi::only_sign_bit_p (wi::to_wide (captures[2]), element_precision (captures[1]))
    1887                 :             : )
    1888                 :             :     {
    1889                 :        3964 :       {
    1890                 :        3964 :  tree stype = signed_type_for (TREE_TYPE (captures[1]));
    1891                 :        3964 :           gimple_seq *lseq = seq;
    1892                 :        3964 :           if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail595;
    1893                 :        3964 :           {
    1894                 :        3964 :             res_op->set_op (ncmp, type, 2);
    1895                 :        3964 :             {
    1896                 :        3964 :               tree _o1[1], _r1;
    1897                 :        3964 :               _o1[0] = captures[1];
    1898                 :        3964 :               if (stype != TREE_TYPE (_o1[0])
    1899                 :        3964 :                   && !useless_type_conversion_p (stype, TREE_TYPE (_o1[0])))
    1900                 :             :                 {
    1901                 :        3940 :                   gimple_match_op tem_op (res_op->cond.any_else (), NOP_EXPR, stype, _o1[0]);
    1902                 :        3940 :                   tem_op.resimplify (lseq, valueize);
    1903                 :        3940 :                   _r1 = maybe_push_res_to_seq (&tem_op, lseq);
    1904                 :        3940 :                   if (!_r1) goto next_after_fail595;
    1905                 :             :                 }
    1906                 :             :               else
    1907                 :             :                 _r1 = _o1[0];
    1908                 :        1503 :               res_op->ops[0] = _r1;
    1909                 :             :             }
    1910                 :        1503 :             res_op->ops[1] =  build_zero_cst (stype);
    1911                 :        1503 :             res_op->resimplify (lseq, valueize);
    1912                 :        1503 :             if (UNLIKELY (debug_dump)) gimple_dump_logs ("match.pd", 407, __FILE__, __LINE__, true);
    1913                 :        1503 :             return true;
    1914                 :             :           }
    1915                 :             : next_after_fail595:;
    1916                 :             :       }
    1917                 :             :     }
    1918                 :             :   return false;
    1919                 :             : }
    1920                 :             : 
    1921                 :             : bool
    1922                 :           0 : gimple_simplify_286 (gimple_match_op *res_op, gimple_seq *seq,
    1923                 :             :                  tree (*valueize)(tree) ATTRIBUTE_UNUSED,
    1924                 :             :                  const tree ARG_UNUSED (type), tree *ARG_UNUSED (captures),
    1925                 :             :  const enum tree_code ARG_UNUSED (cmp))
    1926                 :             : {
    1927                 :           0 :   const bool debug_dump = dump_file && (dump_flags & TDF_FOLDING);
    1928                 :           0 :   if (INTEGRAL_TYPE_P (TREE_TYPE (captures[2]))
    1929                 :           0 :  && INTEGRAL_TYPE_P (TREE_TYPE (captures[1]))
    1930                 :           0 :  && TYPE_UNSIGNED (TREE_TYPE (captures[2]))
    1931                 :           0 :  && (TYPE_PRECISION (TREE_TYPE (captures[1]))
    1932                 :           0 :  >= 2 * TYPE_PRECISION (TREE_TYPE (captures[2])))
    1933                 :           0 :  && tree_fits_uhwi_p (captures[4])
    1934                 :           0 :  && tree_to_uhwi (captures[4]) == TYPE_PRECISION (TREE_TYPE (captures[2]))
    1935                 :           0 :  && types_match (captures[2], captures[3])
    1936                 :           0 :  && type_has_mode_precision_p (TREE_TYPE (captures[2]))
    1937                 :           0 :  && (optab_handler (umulv4_optab, TYPE_MODE (TREE_TYPE (captures[2])))
    1938                 :             :  != CODE_FOR_nothing)
    1939                 :             : )
    1940                 :             :     {
    1941                 :           0 :       {
    1942                 :           0 :  tree t = TREE_TYPE (captures[2]), cpx = build_complex_type (t);
    1943                 :           0 :           gimple_seq *lseq = seq;
    1944                 :           0 :           if (lseq
    1945                 :           0 :               && (!single_use (captures[0])))
    1946                 :           0 :             lseq = NULL;
    1947                 :           0 :           if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail619;
    1948                 :           0 :           {
    1949                 :           0 :             res_op->set_op (cmp, type, 2);
    1950                 :           0 :             {
    1951                 :           0 :               tree _o1[1], _r1;
    1952                 :           0 :               {
    1953                 :           0 :                 tree _o2[2], _r2;
    1954                 :           0 :                 _o2[0] = captures[2];
    1955                 :           0 :                 _o2[1] = captures[3];
    1956                 :           0 :                 gimple_match_op tem_op (res_op->cond.any_else (), CFN_MUL_OVERFLOW, cpx, _o2[0], _o2[1]);
    1957                 :           0 :                 tem_op.resimplify (lseq, valueize);
    1958                 :           0 :                 _r2 = maybe_push_res_to_seq (&tem_op, lseq);
    1959                 :           0 :                 if (!_r2) goto next_after_fail619;
    1960                 :           0 :                 _o1[0] = _r2;
    1961                 :             :               }
    1962                 :           0 :               gimple_match_op tem_op (res_op->cond.any_else (), IMAGPART_EXPR, TREE_TYPE (TREE_TYPE (_o1[0])), _o1[0]);
    1963                 :           0 :               tem_op.resimplify (lseq, valueize);
    1964                 :           0 :               _r1 = maybe_push_res_to_seq (&tem_op, lseq);
    1965                 :           0 :               if (!_r1) goto next_after_fail619;
    1966                 :           0 :               res_op->ops[0] = _r1;
    1967                 :             :             }
    1968                 :           0 :             res_op->ops[1] =  build_zero_cst (t);
    1969                 :           0 :             res_op->resimplify (lseq, valueize);
    1970                 :           0 :             if (UNLIKELY (debug_dump)) gimple_dump_logs ("match.pd", 423, __FILE__, __LINE__, true);
    1971                 :           0 :             return true;
    1972                 :             :           }
    1973                 :             : next_after_fail619:;
    1974                 :             :       }
    1975                 :             :     }
    1976                 :             :   return false;
    1977                 :             : }
    1978                 :             : 
    1979                 :             : bool
    1980                 :          23 : gimple_simplify_290 (gimple_match_op *res_op, gimple_seq *seq,
    1981                 :             :                  tree (*valueize)(tree) ATTRIBUTE_UNUSED,
    1982                 :             :                  const tree ARG_UNUSED (type), tree *ARG_UNUSED (captures),
    1983                 :             :  const enum tree_code ARG_UNUSED (op),
    1984                 :             :  const combined_fn ARG_UNUSED (ctz))
    1985                 :             : {
    1986                 :          23 :   const bool debug_dump = dump_file && (dump_flags & TDF_FOLDING);
    1987                 :          23 :   {
    1988                 :          23 :  tree type0 = TREE_TYPE (captures[1]);
    1989                 :          23 :  int prec = TYPE_PRECISION (type0);
    1990                 :          46 :       if (prec <= MAX_FIXED_MODE_SIZE
    1991                 :             : )
    1992                 :             :         {
    1993                 :          23 :           if (tree_int_cst_sgn (captures[2]) < 0 || wi::to_widest (captures[2]) >= prec
    1994                 :             : )
    1995                 :             :             {
    1996                 :           0 :               gimple_seq *lseq = seq;
    1997                 :           0 :               if (lseq
    1998                 :             :                   && (!single_use (captures[0])))
    1999                 :             :                 lseq = NULL;
    2000                 :           0 :               if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail626;
    2001                 :           0 :               {
    2002                 :           0 :                 tree tem;
    2003                 :           0 :                 tem =  constant_boolean_node (op == EQ_EXPR ? false : true, type);
    2004                 :           0 :                 res_op->set_value (tem);
    2005                 :           0 :                 if (UNLIKELY (debug_dump)) gimple_dump_logs ("match.pd", 430, __FILE__, __LINE__, true);
    2006                 :           6 :                 return true;
    2007                 :             :               }
    2008                 :           0 : next_after_fail626:;
    2009                 :             :             }
    2010                 :             :           else
    2011                 :             :             {
    2012                 :          23 :               gimple_seq *lseq = seq;
    2013                 :          23 :               if (lseq
    2014                 :           9 :                   && (!single_use (captures[0])))
    2015                 :          20 :                 lseq = NULL;
    2016                 :          23 :               if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail627;
    2017                 :          23 :               {
    2018                 :          23 :                 res_op->set_op (op, type, 2);
    2019                 :          23 :                 {
    2020                 :          23 :                   tree _o1[2], _r1;
    2021                 :          23 :                   _o1[0] = captures[1];
    2022                 :          23 :                   _o1[1] =  wide_int_to_tree (type0,
    2023                 :          23 :  wi::mask (tree_to_uhwi (captures[2]) + 1,
    2024                 :             :  false, prec));
    2025                 :          23 :                   gimple_match_op tem_op (res_op->cond.any_else (), BIT_AND_EXPR, TREE_TYPE (_o1[0]), _o1[0], _o1[1]);
    2026                 :          23 :                   tem_op.resimplify (lseq, valueize);
    2027                 :          23 :                   _r1 = maybe_push_res_to_seq (&tem_op, lseq);
    2028                 :          23 :                   if (!_r1) goto next_after_fail627;
    2029                 :           6 :                   res_op->ops[0] = _r1;
    2030                 :             :                 }
    2031                 :           6 :                 res_op->ops[1] =  wide_int_to_tree (type0,
    2032                 :           6 :  wi::shifted_mask (tree_to_uhwi (captures[2]), 1,
    2033                 :             :  false, prec));
    2034                 :           6 :                 res_op->resimplify (lseq, valueize);
    2035                 :           6 :                 if (UNLIKELY (debug_dump)) gimple_dump_logs ("match.pd", 431, __FILE__, __LINE__, true);
    2036                 :           6 :                 return true;
    2037                 :             :               }
    2038                 :          17 : next_after_fail627:;
    2039                 :             :             }
    2040                 :             :         }
    2041                 :             :   }
    2042                 :          17 :   return false;
    2043                 :             : }
    2044                 :             : 
    2045                 :             : bool
    2046                 :           0 : gimple_simplify_299 (gimple_match_op *res_op, gimple_seq *seq,
    2047                 :             :                  tree (*valueize)(tree) ATTRIBUTE_UNUSED,
    2048                 :             :                  const tree ARG_UNUSED (type), tree *ARG_UNUSED (captures),
    2049                 :             :  const combined_fn ARG_UNUSED (copysigns))
    2050                 :             : {
    2051                 :           0 :   const bool debug_dump = dump_file && (dump_flags & TDF_FOLDING);
    2052                 :           0 :   gimple_seq *lseq = seq;
    2053                 :           0 :   if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail641;
    2054                 :           0 :   {
    2055                 :           0 :     res_op->set_op (copysigns, type, 2);
    2056                 :           0 :     res_op->ops[0] = captures[0];
    2057                 :           0 :     res_op->ops[1] = captures[2];
    2058                 :           0 :     res_op->resimplify (lseq, valueize);
    2059                 :           0 :     if (UNLIKELY (debug_dump)) gimple_dump_logs ("match.pd", 445, __FILE__, __LINE__, true);
    2060                 :             :     return true;
    2061                 :             :   }
    2062                 :           0 : next_after_fail641:;
    2063                 :           0 :   return false;
    2064                 :             : }
    2065                 :             : 
    2066                 :             : bool
    2067                 :         782 : gimple_simplify_306 (gimple_match_op *res_op, gimple_seq *seq,
    2068                 :             :                  tree (*valueize)(tree) ATTRIBUTE_UNUSED,
    2069                 :             :                  const tree ARG_UNUSED (type), tree *ARG_UNUSED (captures),
    2070                 :             :  const enum tree_code ARG_UNUSED (div))
    2071                 :             : {
    2072                 :         782 :   const bool debug_dump = dump_file && (dump_flags & TDF_FOLDING);
    2073                 :         782 :   if (!TYPE_UNSIGNED (type)
    2074                 :             : )
    2075                 :             :     {
    2076                 :         361 :       gimple_seq *lseq = seq;
    2077                 :         361 :       if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail650;
    2078                 :         361 :       {
    2079                 :         361 :         res_op->set_op (NEGATE_EXPR, type, 1);
    2080                 :         361 :         res_op->ops[0] = captures[0];
    2081                 :         361 :         res_op->resimplify (lseq, valueize);
    2082                 :         361 :         if (UNLIKELY (debug_dump)) gimple_dump_logs ("match.pd", 452, __FILE__, __LINE__, true);
    2083                 :         361 :         return true;
    2084                 :             :       }
    2085                 :           0 : next_after_fail650:;
    2086                 :             :     }
    2087                 :             :   return false;
    2088                 :             : }
    2089                 :             : 
    2090                 :             : bool
    2091                 :        7907 : gimple_simplify_312 (gimple_match_op *res_op, gimple_seq *seq,
    2092                 :             :                  tree (*valueize)(tree) ATTRIBUTE_UNUSED,
    2093                 :             :                  const tree ARG_UNUSED (type), tree *ARG_UNUSED (captures),
    2094                 :             :  const enum tree_code ARG_UNUSED (div))
    2095                 :             : {
    2096                 :        7907 :   const bool debug_dump = dump_file && (dump_flags & TDF_FOLDING);
    2097                 :        7907 :   if (integer_pow2p (captures[2])
    2098                 :         276 :  && tree_int_cst_sgn (captures[2]) > 0
    2099                 :         276 :  && tree_nop_conversion_p (type, TREE_TYPE (captures[0]))
    2100                 :       15814 :  && wi::to_wide (captures[2]) + wi::to_wide (captures[1]) == 0
    2101                 :             : )
    2102                 :             :     {
    2103                 :          39 :       gimple_seq *lseq = seq;
    2104                 :          39 :       if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail657;
    2105                 :          39 :       {
    2106                 :          39 :         res_op->set_op (RSHIFT_EXPR, type, 2);
    2107                 :          39 :         {
    2108                 :          39 :           tree _o1[1], _r1;
    2109                 :          39 :           _o1[0] = captures[0];
    2110                 :          39 :           if (type != TREE_TYPE (_o1[0])
    2111                 :          39 :               && !useless_type_conversion_p (type, TREE_TYPE (_o1[0])))
    2112                 :             :             {
    2113                 :           0 :               gimple_match_op tem_op (res_op->cond.any_else (), NOP_EXPR, type, _o1[0]);
    2114                 :           0 :               tem_op.resimplify (lseq, valueize);
    2115                 :           0 :               _r1 = maybe_push_res_to_seq (&tem_op, lseq);
    2116                 :           0 :               if (!_r1) goto next_after_fail657;
    2117                 :             :             }
    2118                 :             :           else
    2119                 :             :             _r1 = _o1[0];
    2120                 :          39 :           res_op->ops[0] = _r1;
    2121                 :             :         }
    2122                 :          39 :         res_op->ops[1] =  build_int_cst (integer_type_node,
    2123                 :          39 :  wi::exact_log2 (wi::to_wide (captures[2])));
    2124                 :          39 :         res_op->resimplify (lseq, valueize);
    2125                 :          39 :         if (UNLIKELY (debug_dump)) gimple_dump_logs ("match.pd", 459, __FILE__, __LINE__, true);
    2126                 :          39 :         return true;
    2127                 :             :       }
    2128                 :             : next_after_fail657:;
    2129                 :             :     }
    2130                 :             :   return false;
    2131                 :             : }
    2132                 :             : 
    2133                 :             : bool
    2134                 :         290 : gimple_simplify_321 (gimple_match_op *res_op, gimple_seq *seq,
    2135                 :             :                  tree (*valueize)(tree) ATTRIBUTE_UNUSED,
    2136                 :             :                  const tree ARG_UNUSED (type), tree *ARG_UNUSED (captures),
    2137                 :             :  const enum tree_code ARG_UNUSED (mod))
    2138                 :             : {
    2139                 :         290 :   const bool debug_dump = dump_file && (dump_flags & TDF_FOLDING);
    2140                 :         290 :   if (!TYPE_UNSIGNED (type)
    2141                 :             : )
    2142                 :             :     {
    2143                 :          30 :       gimple_seq *lseq = seq;
    2144                 :          30 :       if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail669;
    2145                 :          30 :       {
    2146                 :          30 :         tree tem;
    2147                 :          30 :         tem =  build_zero_cst (type);
    2148                 :          30 :         res_op->set_value (tem);
    2149                 :          30 :         if (UNLIKELY (debug_dump)) gimple_dump_logs ("match.pd", 471, __FILE__, __LINE__, true);
    2150                 :          30 :         return true;
    2151                 :             :       }
    2152                 :           0 : next_after_fail669:;
    2153                 :             :     }
    2154                 :             :   return false;
    2155                 :             : }
    2156                 :             : 
    2157                 :             : bool
    2158                 :          48 : gimple_simplify_326 (gimple_match_op *res_op, gimple_seq *seq,
    2159                 :             :                  tree (*valueize)(tree) ATTRIBUTE_UNUSED,
    2160                 :             :                  const tree ARG_UNUSED (type), tree *ARG_UNUSED (captures))
    2161                 :             : {
    2162                 :          48 :   const bool debug_dump = dump_file && (dump_flags & TDF_FOLDING);
    2163                 :           0 :   if (FLOAT_TYPE_P (type)
    2164                 :          48 :  && ! HONOR_NANS (type)
    2165                 :          48 :  && ! HONOR_INFINITIES (type)
    2166                 :             : )
    2167                 :             :     {
    2168                 :           0 :       gimple_seq *lseq = seq;
    2169                 :           0 :       if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail674;
    2170                 :           0 :       {
    2171                 :           0 :         tree tem;
    2172                 :           0 :         tem =  build_minus_one_cst (type);
    2173                 :           0 :         res_op->set_value (tem);
    2174                 :           0 :         if (UNLIKELY (debug_dump)) gimple_dump_logs ("match.pd", 476, __FILE__, __LINE__, true);
    2175                 :           0 :         return true;
    2176                 :             :       }
    2177                 :           0 : next_after_fail674:;
    2178                 :             :     }
    2179                 :             :   return false;
    2180                 :             : }
    2181                 :             : 
    2182                 :             : bool
    2183                 :           0 : gimple_simplify_333 (gimple_match_op *res_op, gimple_seq *seq,
    2184                 :             :                  tree (*valueize)(tree) ATTRIBUTE_UNUSED,
    2185                 :             :                  const tree ARG_UNUSED (type), tree *ARG_UNUSED (captures),
    2186                 :             :  const combined_fn ARG_UNUSED (TAN),
    2187                 :             :  const combined_fn ARG_UNUSED (SIN),
    2188                 :             :  const combined_fn ARG_UNUSED (COS))
    2189                 :             : {
    2190                 :           0 :   const bool debug_dump = dump_file && (dump_flags & TDF_FOLDING);
    2191                 :           0 :   if (flag_unsafe_math_optimizations && canonicalize_math_p ()
    2192                 :             : )
    2193                 :             :     {
    2194                 :           0 :       if (! HONOR_NANS (captures[1])
    2195                 :           0 :  && ! HONOR_INFINITIES (captures[1])
    2196                 :             : )
    2197                 :             :         {
    2198                 :           0 :           gimple_seq *lseq = seq;
    2199                 :           0 :           if (lseq
    2200                 :           0 :               && (!single_use (captures[0])
    2201                 :           0 :                   || !single_use (captures[2])))
    2202                 :           0 :             lseq = NULL;
    2203                 :           0 :           if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail683;
    2204                 :           0 :           {
    2205                 :           0 :             res_op->set_op (RDIV_EXPR, type, 2);
    2206                 :           0 :             res_op->ops[0] =  build_one_cst (type);
    2207                 :           0 :             {
    2208                 :           0 :               tree _o1[1], _r1;
    2209                 :           0 :               _o1[0] = captures[1];
    2210                 :           0 :               gimple_match_op tem_op (res_op->cond.any_else (), COS, TREE_TYPE (_o1[0]), _o1[0]);
    2211                 :           0 :               tem_op.resimplify (lseq, valueize);
    2212                 :           0 :               _r1 = maybe_push_res_to_seq (&tem_op, lseq);
    2213                 :           0 :               if (!_r1) goto next_after_fail683;
    2214                 :           0 :               res_op->ops[1] = _r1;
    2215                 :             :             }
    2216                 :           0 :             res_op->resimplify (lseq, valueize);
    2217                 :           0 :             if (UNLIKELY (debug_dump)) gimple_dump_logs ("match.pd", 485, __FILE__, __LINE__, true);
    2218                 :           0 :             return true;
    2219                 :             :           }
    2220                 :             : next_after_fail683:;
    2221                 :             :         }
    2222                 :             :     }
    2223                 :             :   return false;
    2224                 :             : }
    2225                 :             : 
    2226                 :             : bool
    2227                 :        2174 : gimple_simplify_342 (gimple_match_op *res_op, gimple_seq *seq,
    2228                 :             :                  tree (*valueize)(tree) ATTRIBUTE_UNUSED,
    2229                 :             :                  const tree ARG_UNUSED (type), tree *ARG_UNUSED (captures),
    2230                 :             :  const enum tree_code ARG_UNUSED (op))
    2231                 :             : {
    2232                 :        2174 :   const bool debug_dump = dump_file && (dump_flags & TDF_FOLDING);
    2233                 :        4348 :   if (ANY_INTEGRAL_TYPE_P (TREE_TYPE (captures[0]))
    2234                 :        4348 :  && TYPE_OVERFLOW_UNDEFINED (TREE_TYPE (captures[0]))
    2235                 :             : )
    2236                 :             :     {
    2237                 :         390 :       gimple_seq *lseq = seq;
    2238                 :         390 :       if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail694;
    2239                 :         390 :       {
    2240                 :         390 :         res_op->set_op (op, type, 2);
    2241                 :         390 :         res_op->ops[0] = captures[0];
    2242                 :         390 :         res_op->ops[1] = captures[2];
    2243                 :         390 :         res_op->resimplify (lseq, valueize);
    2244                 :         390 :         if (UNLIKELY (debug_dump)) gimple_dump_logs ("match.pd", 496, __FILE__, __LINE__, true);
    2245                 :         390 :         return true;
    2246                 :             :       }
    2247                 :           0 : next_after_fail694:;
    2248                 :             :     }
    2249                 :             :   return false;
    2250                 :             : }
    2251                 :             : 
    2252                 :             : bool
    2253                 :     7868319 : gimple_simplify_347 (gimple_match_op *res_op, gimple_seq *seq,
    2254                 :             :                  tree (*valueize)(tree) ATTRIBUTE_UNUSED,
    2255                 :             :                  const tree ARG_UNUSED (type), tree *ARG_UNUSED (captures),
    2256                 :             :  const enum tree_code ARG_UNUSED (cmp),
    2257                 :             :  const enum tree_code ARG_UNUSED (acmp))
    2258                 :             : {
    2259                 :     7868319 :   const bool debug_dump = dump_file && (dump_flags & TDF_FOLDING);
    2260                 :     7868319 :   {
    2261                 :     7868319 :  tree cst = uniform_integer_cst_p (captures[1]);
    2262                 :     7868319 :       if (tree_int_cst_sgn (cst) == 1
    2263                 :             : )
    2264                 :             :         {
    2265                 :      635025 :           gimple_seq *lseq = seq;
    2266                 :      635025 :           if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail700;
    2267                 :      635025 :           {
    2268                 :      635025 :             res_op->set_op (acmp, type, 2);
    2269                 :      635025 :             res_op->ops[0] = captures[0];
    2270                 :      635025 :             res_op->ops[1] =  build_uniform_cst (TREE_TYPE (captures[1]),
    2271                 :      635025 :  wide_int_to_tree (TREE_TYPE (cst),
    2272                 :      635025 :  wi::to_wide (cst) - 1));
    2273                 :      635025 :             res_op->resimplify (lseq, valueize);
    2274                 :      635025 :             if (UNLIKELY (debug_dump)) gimple_dump_logs ("match.pd", 502, __FILE__, __LINE__, true);
    2275                 :      635025 :             return true;
    2276                 :             :           }
    2277                 :           0 : next_after_fail700:;
    2278                 :             :         }
    2279                 :             :   }
    2280                 :             :   return false;
    2281                 :             : }
    2282                 :             : 
    2283                 :             : bool
    2284                 :       14508 : gimple_simplify_354 (gimple_match_op *res_op, gimple_seq *seq,
    2285                 :             :                  tree (*valueize)(tree) ATTRIBUTE_UNUSED,
    2286                 :             :                  const tree ARG_UNUSED (type), tree *ARG_UNUSED (captures),
    2287                 :             :  const enum tree_code ARG_UNUSED (cmp))
    2288                 :             : {
    2289                 :       14508 :   const bool debug_dump = dump_file && (dump_flags & TDF_FOLDING);
    2290                 :       14508 :   if (single_use (captures[0])
    2291                 :         179 :  && ANY_INTEGRAL_TYPE_P (TREE_TYPE (captures[1]))
    2292                 :       14673 :  && TYPE_UNSIGNED (TREE_TYPE (captures[1]))
    2293                 :             : )
    2294                 :             :     {
    2295                 :         127 :       gimple_seq *lseq = seq;
    2296                 :         127 :       if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail739;
    2297                 :         127 :       {
    2298                 :         127 :         res_op->set_op (cmp, type, 2);
    2299                 :         127 :         res_op->ops[0] = captures[2];
    2300                 :         127 :         res_op->ops[1] = captures[1];
    2301                 :         127 :         res_op->resimplify (lseq, valueize);
    2302                 :         127 :         if (UNLIKELY (debug_dump)) gimple_dump_logs ("match.pd", 524, __FILE__, __LINE__, true);
    2303                 :         127 :         return true;
    2304                 :             :       }
    2305                 :           0 : next_after_fail739:;
    2306                 :             :     }
    2307                 :             :   return false;
    2308                 :             : }
    2309                 :             : 
    2310                 :             : bool
    2311                 :     1123085 : gimple_simplify_360 (gimple_match_op *res_op, gimple_seq *seq,
    2312                 :             :                  tree (*valueize)(tree) ATTRIBUTE_UNUSED,
    2313                 :             :                  const tree ARG_UNUSED (type), tree *ARG_UNUSED (captures),
    2314                 :             :  const enum tree_code ARG_UNUSED (op),
    2315                 :             :  const enum tree_code ARG_UNUSED (rop),
    2316                 :             :  const enum tree_code ARG_UNUSED (cmp))
    2317                 :             : {
    2318                 :     1123085 :   const bool debug_dump = dump_file && (dump_flags & TDF_FOLDING);
    2319                 :     2246170 :   if (!TREE_OVERFLOW (captures[2]) && !TREE_OVERFLOW (captures[3])
    2320                 :     2246170 :  && TYPE_OVERFLOW_UNDEFINED (TREE_TYPE (captures[1]))
    2321                 :             : )
    2322                 :             :     {
    2323                 :      388118 :       {
    2324                 :      388118 :  tree res = int_const_binop (rop, captures[3], captures[2]);
    2325                 :      388118 :           if (TREE_OVERFLOW (res)
    2326                 :             : )
    2327                 :             :             {
    2328                 :           2 :               gimple_seq *lseq = seq;
    2329                 :           2 :               if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail746;
    2330                 :           2 :               {
    2331                 :           2 :                 tree tem;
    2332                 :           2 :  fold_overflow_warning (("assuming signed overflow does not occur "
    2333                 :             :  "when simplifying conditional to constant"),
    2334                 :             :  WARN_STRICT_OVERFLOW_CONDITIONAL);
    2335                 :           2 :  bool less = cmp == LE_EXPR || cmp == LT_EXPR;
    2336                 :           2 :  bool ovf_high = wi::lt_p (wi::to_wide (captures[2]), 0,
    2337                 :           2 :  TYPE_SIGN (TREE_TYPE (captures[2])))
    2338                 :           2 :  != (op == MINUS_EXPR);         tem = 
    2339                 :           2 :  constant_boolean_node (less == ovf_high, type);
    2340                 :           2 :                 res_op->set_value (tem);
    2341                 :           2 :                 if (UNLIKELY (debug_dump)) gimple_dump_logs ("match.pd", 531, __FILE__, __LINE__, true);
    2342                 :           2 :                 return true;
    2343                 :             :               }
    2344                 :           0 : next_after_fail746:;
    2345                 :             :             }
    2346                 :             :           else
    2347                 :             :             {
    2348                 :      388116 :               if (single_use (captures[0])
    2349                 :             : )
    2350                 :             :                 {
    2351                 :       32486 :                   {
    2352                 :       32486 :  fold_overflow_warning (("assuming signed overflow does not occur "
    2353                 :             :  "when changing X +- C1 cmp C2 to "
    2354                 :             :  "X cmp C2 -+ C1"),
    2355                 :             :  WARN_STRICT_OVERFLOW_COMPARISON);
    2356                 :       32486 :                       gimple_seq *lseq = seq;
    2357                 :       32486 :                       if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail747;
    2358                 :       32486 :                       {
    2359                 :       32486 :                         res_op->set_op (cmp, type, 2);
    2360                 :       32486 :                         res_op->ops[0] = captures[1];
    2361                 :       32486 :                         res_op->ops[1] =  res;
    2362                 :       32486 :                         res_op->resimplify (lseq, valueize);
    2363                 :       32486 :                         if (UNLIKELY (debug_dump)) gimple_dump_logs ("match.pd", 532, __FILE__, __LINE__, true);
    2364                 :       32486 :                         return true;
    2365                 :             :                       }
    2366                 :           0 : next_after_fail747:;
    2367                 :             :                   }
    2368                 :             :                 }
    2369                 :             :             }
    2370                 :             :       }
    2371                 :             :     }
    2372                 :             :   return false;
    2373                 :             : }
    2374                 :             : 
    2375                 :             : bool
    2376                 :           8 : gimple_simplify_367 (gimple_match_op *res_op, gimple_seq *seq,
    2377                 :             :                  tree (*valueize)(tree) ATTRIBUTE_UNUSED,
    2378                 :             :                  const tree ARG_UNUSED (type), tree *ARG_UNUSED (captures),
    2379                 :             :  const enum tree_code ARG_UNUSED (cmp),
    2380                 :             :  const enum tree_code ARG_UNUSED (out))
    2381                 :             : {
    2382                 :           8 :   const bool debug_dump = dump_file && (dump_flags & TDF_FOLDING);
    2383                 :           8 :   if (TYPE_UNSIGNED (TREE_TYPE (captures[1]))
    2384                 :           8 :  && types_match (TREE_TYPE (captures[1]), TREE_TYPE (captures[2]))
    2385                 :             : )
    2386                 :             :     {
    2387                 :           8 :       gimple_seq *lseq = seq;
    2388                 :           8 :       if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail758;
    2389                 :           8 :       {
    2390                 :           8 :         res_op->set_op (out, type, 2);
    2391                 :           8 :         {
    2392                 :           8 :           tree _o1[1], _r1;
    2393                 :           8 :           _o1[0] = captures[0];
    2394                 :           8 :           gimple_match_op tem_op (res_op->cond.any_else (), IMAGPART_EXPR, TREE_TYPE (TREE_TYPE (_o1[0])), _o1[0]);
    2395                 :           8 :           tem_op.resimplify (lseq, valueize);
    2396                 :           8 :           _r1 = maybe_push_res_to_seq (&tem_op, lseq);
    2397                 :           8 :           if (!_r1) goto next_after_fail758;
    2398                 :           4 :           res_op->ops[0] = _r1;
    2399                 :             :         }
    2400                 :           4 :         res_op->ops[1] =  build_zero_cst (TREE_TYPE (captures[1]));
    2401                 :           4 :         res_op->resimplify (lseq, valueize);
    2402                 :           4 :         if (UNLIKELY (debug_dump)) gimple_dump_logs ("match.pd", 526, __FILE__, __LINE__, true);
    2403                 :           4 :         return true;
    2404                 :             :       }
    2405                 :             : next_after_fail758:;
    2406                 :             :     }
    2407                 :             :   return false;
    2408                 :             : }
    2409                 :             : 
    2410                 :             : bool
    2411                 :     3941688 : gimple_simplify_373 (gimple_match_op *res_op, gimple_seq *seq,
    2412                 :             :                  tree (*valueize)(tree) ATTRIBUTE_UNUSED,
    2413                 :             :                  const tree ARG_UNUSED (type), tree *ARG_UNUSED (captures),
    2414                 :             :  const enum tree_code ARG_UNUSED (shift))
    2415                 :             : {
    2416                 :     3941688 :   const bool debug_dump = dump_file && (dump_flags & TDF_FOLDING);
    2417                 :     3941688 :   if ((
    2418                 :             : 1
    2419                 :             :  || !sanitize_flags_p (SANITIZE_SHIFT_EXPONENT))
    2420                 :     3941688 :  && (TYPE_UNSIGNED (type)
    2421                 :     1144644 :  || shift == LSHIFT_EXPR
    2422                 :      638604 :  || tree_expr_nonnegative_p (captures[0]))
    2423                 :     7270309 :  && wi::ges_p (wi::to_wide (uniform_integer_cst_p (captures[1])),
    2424                 :     7270168 :  element_precision (type))
    2425                 :             : )
    2426                 :             :     {
    2427                 :         141 :       gimple_seq *lseq = seq;
    2428                 :         141 :       if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail768;
    2429                 :         141 :       {
    2430                 :         141 :         tree tem;
    2431                 :         141 :         tem =  build_zero_cst (type);
    2432                 :         141 :         res_op->set_value (tem);
    2433                 :         141 :         if (UNLIKELY (debug_dump)) gimple_dump_logs ("match.pd", 549, __FILE__, __LINE__, true);
    2434                 :         141 :         return true;
    2435                 :             :       }
    2436                 :           0 : next_after_fail768:;
    2437                 :             :     }
    2438                 :             :   return false;
    2439                 :             : }
    2440                 :             : 
    2441                 :             : bool
    2442                 :        4310 : gimple_simplify_376 (gimple_match_op *res_op, gimple_seq *seq,
    2443                 :             :                  tree (*valueize)(tree) ATTRIBUTE_UNUSED,
    2444                 :             :                  const tree ARG_UNUSED (type), tree *ARG_UNUSED (captures),
    2445                 :             :  const enum tree_code ARG_UNUSED (shiftrotate))
    2446                 :             : {
    2447                 :        4310 :   const bool debug_dump = dump_file && (dump_flags & TDF_FOLDING);
    2448                 :        4310 :   gimple_seq *lseq = seq;
    2449                 :        4310 :   if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail771;
    2450                 :        4310 :   {
    2451                 :        4310 :     tree tem;
    2452                 :        4310 :     tem = captures[0];
    2453                 :        4310 :     res_op->set_value (tem);
    2454                 :        4310 :     if (UNLIKELY (debug_dump)) gimple_dump_logs ("match.pd", 552, __FILE__, __LINE__, true);
    2455                 :             :     return true;
    2456                 :             :   }
    2457                 :           0 : next_after_fail771:;
    2458                 :           0 :   return false;
    2459                 :             : }
    2460                 :             : 
    2461                 :             : bool
    2462                 :        9338 : gimple_simplify_381 (gimple_match_op *res_op, gimple_seq *seq,
    2463                 :             :                  tree (*valueize)(tree) ATTRIBUTE_UNUSED,
    2464                 :             :                  const tree ARG_UNUSED (type), tree *ARG_UNUSED (captures),
    2465                 :             :  const enum tree_code ARG_UNUSED (bit_op),
    2466                 :             :  const enum tree_code ARG_UNUSED (shift))
    2467                 :             : {
    2468                 :        9338 :   const bool debug_dump = dump_file && (dump_flags & TDF_FOLDING);
    2469                 :        9338 :   if (tree_nop_conversion_p (type, TREE_TYPE (captures[2]))
    2470                 :             : )
    2471                 :             :     {
    2472                 :        1477 :       {
    2473                 :        1477 :  tree mask = int_const_binop (shift, fold_convert (type, captures[3]), captures[4]);
    2474                 :        1477 :           if (mask
    2475                 :             : )
    2476                 :             :             {
    2477                 :        1477 :               gimple_seq *lseq = seq;
    2478                 :        1477 :               if (lseq
    2479                 :         578 :                   && (!single_use (captures[0])
    2480                 :         274 :                       || !single_use (captures[1])))
    2481                 :        1294 :                 lseq = NULL;
    2482                 :        1477 :               if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail779;
    2483                 :        1477 :               {
    2484                 :        1477 :                 res_op->set_op (bit_op, type, 2);
    2485                 :        1477 :                 {
    2486                 :        1477 :                   tree _o1[2], _r1;
    2487                 :        1477 :                   {
    2488                 :        1477 :                     tree _o2[1], _r2;
    2489                 :        1477 :                     _o2[0] = captures[2];
    2490                 :        1477 :                     if (type != TREE_TYPE (_o2[0])
    2491                 :        1477 :                         && !useless_type_conversion_p (type, TREE_TYPE (_o2[0])))
    2492                 :             :                       {
    2493                 :        1477 :                         gimple_match_op tem_op (res_op->cond.any_else (), NOP_EXPR, type, _o2[0]);
    2494                 :        1477 :                         tem_op.resimplify (lseq, valueize);
    2495                 :        1477 :                         _r2 = maybe_push_res_to_seq (&tem_op, lseq);
    2496                 :        1477 :                         if (!_r2) goto next_after_fail779;
    2497                 :             :                       }
    2498                 :             :                     else
    2499                 :             :                       _r2 = _o2[0];
    2500                 :         284 :                     _o1[0] = _r2;
    2501                 :             :                   }
    2502                 :         284 :                   _o1[1] = captures[4];
    2503                 :         284 :                   gimple_match_op tem_op (res_op->cond.any_else (), shift, TREE_TYPE (_o1[0]), _o1[0], _o1[1]);
    2504                 :         284 :                   tem_op.resimplify (lseq, valueize);
    2505                 :         284 :                   _r1 = maybe_push_res_to_seq (&tem_op, lseq);
    2506                 :         284 :                   if (!_r1) goto next_after_fail779;
    2507                 :         183 :                   res_op->ops[0] = _r1;
    2508                 :             :                 }
    2509                 :         183 :                 res_op->ops[1] =  mask;
    2510                 :         183 :                 res_op->resimplify (lseq, valueize);
    2511                 :         183 :                 if (UNLIKELY (debug_dump)) gimple_dump_logs ("match.pd", 559, __FILE__, __LINE__, true);
    2512                 :         183 :                 return true;
    2513                 :             :               }
    2514                 :             : next_after_fail779:;
    2515                 :             :             }
    2516                 :             :       }
    2517                 :             :     }
    2518                 :             :   return false;
    2519                 :             : }
    2520                 :             : 
    2521                 :             : bool
    2522                 :       16531 : gimple_simplify_386 (gimple_match_op *res_op, gimple_seq *seq,
    2523                 :             :                  tree (*valueize)(tree) ATTRIBUTE_UNUSED,
    2524                 :             :                  const tree ARG_UNUSED (type), tree *ARG_UNUSED (captures),
    2525                 :             :  const enum tree_code ARG_UNUSED (bitop))
    2526                 :             : {
    2527                 :       16531 :   const bool debug_dump = dump_file && (dump_flags & TDF_FOLDING);
    2528                 :       16531 :   if (1
    2529                 :       16531 :  && TREE_CODE (captures[3]) != INTEGER_CST
    2530                 :        9378 :  && tree_nop_conversion_p (type, TREE_TYPE (captures[0]))
    2531                 :        7340 :  && types_match (type, captures[2])
    2532                 :        5722 :  && !POINTER_TYPE_P (TREE_TYPE (captures[2]))
    2533                 :       21120 :  && TREE_CODE (TREE_TYPE (captures[2])) != OFFSET_TYPE
    2534                 :             : )
    2535                 :             :     {
    2536                 :        4557 :       gimple_seq *lseq = seq;
    2537                 :        4557 :       if (lseq
    2538                 :        2254 :           && (!single_use (captures[0])
    2539                 :        2122 :               || !single_use (captures[1])))
    2540                 :        2725 :         lseq = NULL;
    2541                 :        4557 :       if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail789;
    2542                 :        4557 :       {
    2543                 :        4557 :         res_op->set_op (bitop, type, 2);
    2544                 :        4557 :         res_op->ops[0] = captures[2];
    2545                 :        4557 :         {
    2546                 :        4557 :           tree _o1[1], _r1;
    2547                 :        4557 :           _o1[0] = captures[3];
    2548                 :        4557 :           if (type != TREE_TYPE (_o1[0])
    2549                 :        4557 :               && !useless_type_conversion_p (type, TREE_TYPE (_o1[0])))
    2550                 :             :             {
    2551                 :        4557 :               gimple_match_op tem_op (res_op->cond.any_else (), NOP_EXPR, type, _o1[0]);
    2552                 :        4557 :               tem_op.resimplify (lseq, valueize);
    2553                 :        4557 :               _r1 = maybe_push_res_to_seq (&tem_op, lseq);
    2554                 :        4557 :               if (!_r1) goto next_after_fail789;
    2555                 :             :             }
    2556                 :             :           else
    2557                 :             :             _r1 = _o1[0];
    2558                 :        2080 :           res_op->ops[1] = _r1;
    2559                 :             :         }
    2560                 :        2080 :         res_op->resimplify (lseq, valueize);
    2561                 :        2080 :         if (UNLIKELY (debug_dump)) gimple_dump_logs ("match.pd", 568, __FILE__, __LINE__, true);
    2562                 :        2080 :         return true;
    2563                 :             :       }
    2564                 :             : next_after_fail789:;
    2565                 :             :     }
    2566                 :             :   return false;
    2567                 :             : }
    2568                 :             : 
    2569                 :             : bool
    2570                 :      285178 : gimple_simplify_393 (gimple_match_op *res_op, gimple_seq *seq,
    2571                 :             :                  tree (*valueize)(tree) ATTRIBUTE_UNUSED,
    2572                 :             :                  const tree ARG_UNUSED (type), tree *ARG_UNUSED (captures),
    2573                 :             :  const enum tree_code ARG_UNUSED (op))
    2574                 :             : {
    2575                 :      285178 :   const bool debug_dump = dump_file && (dump_flags & TDF_FOLDING);
    2576                 :      285178 :   if (INTEGRAL_TYPE_P (type)
    2577                 :      185305 :  && op != MULT_EXPR
    2578                 :      185305 :  && op != RDIV_EXPR
    2579                 :      143288 :  && INTEGRAL_TYPE_P (TREE_TYPE (captures[2]))
    2580                 :      110567 :  && INTEGRAL_TYPE_P (TREE_TYPE (captures[1]))
    2581                 :      110567 :  && type_has_mode_precision_p (TREE_TYPE (captures[2]))
    2582                 :       73627 :  && type_has_mode_precision_p (TREE_TYPE (captures[4]))
    2583                 :       72389 :  && type_has_mode_precision_p (type)
    2584                 :       70161 :  && TYPE_PRECISION (TREE_TYPE (captures[1])) > TYPE_PRECISION (TREE_TYPE (captures[2]))
    2585                 :       17142 :  && types_match (captures[2], type)
    2586                 :      288861 :  && (types_match (captures[2], captures[4])
    2587                 :        2154 :  || poly_int_tree_p (captures[3]))
    2588                 :             : )
    2589                 :             :     {
    2590                 :        1529 :       if (TYPE_OVERFLOW_WRAPS (TREE_TYPE (captures[2]))
    2591                 :             : )
    2592                 :             :         {
    2593                 :         201 :           gimple_seq *lseq = seq;
    2594                 :         201 :           if (lseq
    2595                 :         162 :               && (!single_use (captures[0])))
    2596                 :         196 :             lseq = NULL;
    2597                 :         201 :           if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail797;
    2598                 :         201 :           {
    2599                 :         201 :             res_op->set_op (op, type, 2);
    2600                 :         201 :             res_op->ops[0] = captures[2];
    2601                 :         201 :             {
    2602                 :         201 :               tree _o1[1], _r1;
    2603                 :         201 :               _o1[0] = captures[4];
    2604                 :         201 :               if (type != TREE_TYPE (_o1[0])
    2605                 :         201 :                   && !useless_type_conversion_p (type, TREE_TYPE (_o1[0])))
    2606                 :             :                 {
    2607                 :           0 :                   gimple_match_op tem_op (res_op->cond.any_else (), NOP_EXPR, type, _o1[0]);
    2608                 :           0 :                   tem_op.resimplify (lseq, valueize);
    2609                 :           0 :                   _r1 = maybe_push_res_to_seq (&tem_op, lseq);
    2610                 :           0 :                   if (!_r1) goto next_after_fail797;
    2611                 :             :                 }
    2612                 :             :               else
    2613                 :             :                 _r1 = _o1[0];
    2614                 :         201 :               res_op->ops[1] = _r1;
    2615                 :             :             }
    2616                 :         201 :             res_op->resimplify (lseq, valueize);
    2617                 :         201 :             if (UNLIKELY (debug_dump)) gimple_dump_logs ("match.pd", 576, __FILE__, __LINE__, true);
    2618                 :         201 :             return true;
    2619                 :             :           }
    2620                 :             : next_after_fail797:;
    2621                 :             :         }
    2622                 :             :       else
    2623                 :             :         {
    2624                 :        1328 :           {
    2625                 :        1328 :  tree utype = unsigned_type_for (TREE_TYPE (captures[2]));
    2626                 :        1328 :               gimple_seq *lseq = seq;
    2627                 :        1328 :               if (lseq
    2628                 :         555 :                   && (!single_use (captures[0])))
    2629                 :        1324 :                 lseq = NULL;
    2630                 :        1328 :               if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail798;
    2631                 :        1328 :               {
    2632                 :        1328 :                 res_op->set_op (NOP_EXPR, type, 1);
    2633                 :        1328 :                 {
    2634                 :        1328 :                   tree _o1[2], _r1;
    2635                 :        1328 :                   {
    2636                 :        1328 :                     tree _o2[1], _r2;
    2637                 :        1328 :                     _o2[0] = captures[2];
    2638                 :        1328 :                     if (utype != TREE_TYPE (_o2[0])
    2639                 :        1328 :                         && !useless_type_conversion_p (utype, TREE_TYPE (_o2[0])))
    2640                 :             :                       {
    2641                 :        1328 :                         gimple_match_op tem_op (res_op->cond.any_else (), NOP_EXPR, utype, _o2[0]);
    2642                 :        1328 :                         tem_op.resimplify (lseq, valueize);
    2643                 :        1328 :                         _r2 = maybe_push_res_to_seq (&tem_op, lseq);
    2644                 :        1328 :                         if (!_r2) goto next_after_fail798;
    2645                 :             :                       }
    2646                 :             :                     else
    2647                 :             :                       _r2 = _o2[0];
    2648                 :        1038 :                     _o1[0] = _r2;
    2649                 :             :                   }
    2650                 :        1038 :                   {
    2651                 :        1038 :                     tree _o2[1], _r2;
    2652                 :        1038 :                     _o2[0] = captures[4];
    2653                 :        1038 :                     if (utype != TREE_TYPE (_o2[0])
    2654                 :        1038 :                         && !useless_type_conversion_p (utype, TREE_TYPE (_o2[0])))
    2655                 :             :                       {
    2656                 :        1038 :                         gimple_match_op tem_op (res_op->cond.any_else (), NOP_EXPR, utype, _o2[0]);
    2657                 :        1038 :                         tem_op.resimplify (lseq, valueize);
    2658                 :        1038 :                         _r2 = maybe_push_res_to_seq (&tem_op, lseq);
    2659                 :        1038 :                         if (!_r2) goto next_after_fail798;
    2660                 :             :                       }
    2661                 :             :                     else
    2662                 :             :                       _r2 = _o2[0];
    2663                 :        1038 :                     _o1[1] = _r2;
    2664                 :             :                   }
    2665                 :        1038 :                   gimple_match_op tem_op (res_op->cond.any_else (), op, TREE_TYPE (_o1[0]), _o1[0], _o1[1]);
    2666                 :        1038 :                   tem_op.resimplify (lseq, valueize);
    2667                 :        1038 :                   _r1 = maybe_push_res_to_seq (&tem_op, lseq);
    2668                 :        1038 :                   if (!_r1) goto next_after_fail798;
    2669                 :           4 :                   res_op->ops[0] = _r1;
    2670                 :             :                 }
    2671                 :           4 :                 res_op->resimplify (lseq, valueize);
    2672                 :           4 :                 if (UNLIKELY (debug_dump)) gimple_dump_logs ("match.pd", 577, __FILE__, __LINE__, true);
    2673                 :           4 :                 return true;
    2674                 :             :               }
    2675                 :             : next_after_fail798:;
    2676                 :             :           }
    2677                 :             :         }
    2678                 :             :     }
    2679                 :             :   else
    2680                 :             :     {
    2681                 :      234590 :       if (FLOAT_TYPE_P (type)
    2682                 :      332726 :  && DECIMAL_FLOAT_TYPE_P (TREE_TYPE (captures[0]))
    2683                 :       49068 :  == DECIMAL_FLOAT_TYPE_P (type)
    2684                 :             : )
    2685                 :             :         {
    2686                 :       49068 :           {
    2687                 :       49068 :  tree arg0 = strip_float_extensions (captures[2]);
    2688                 :       49068 :  tree arg1 = strip_float_extensions (captures[4]);
    2689                 :       49068 :  tree itype = TREE_TYPE (captures[0]);
    2690                 :       49068 :  tree ty1 = TREE_TYPE (arg0);
    2691                 :       49068 :  tree ty2 = TREE_TYPE (arg1);
    2692                 :       49068 :  enum tree_code code = TREE_CODE (itype);
    2693                 :           9 :               if (FLOAT_TYPE_P (ty1)
    2694                 :       49077 :  && FLOAT_TYPE_P (ty2)
    2695                 :             : )
    2696                 :             :                 {
    2697                 :       49068 :                   {
    2698                 :       49068 :  tree newtype = type;
    2699                 :       49068 :  if (TYPE_MODE (ty1) == SDmode
    2700                 :       49068 :  || TYPE_MODE (ty2) == SDmode
    2701                 :       98136 :  || TYPE_MODE (type) == SDmode)
    2702                 :           0 :  newtype = dfloat32_type_node;
    2703                 :       49068 :  if (TYPE_MODE (ty1) == DDmode
    2704                 :       49068 :  || TYPE_MODE (ty2) == DDmode
    2705                 :       98136 :  || TYPE_MODE (type) == DDmode)
    2706                 :           0 :  newtype = dfloat64_type_node;
    2707                 :       49068 :  if (TYPE_MODE (ty1) == TDmode
    2708                 :       49068 :  || TYPE_MODE (ty2) == TDmode
    2709                 :       98136 :  || TYPE_MODE (type) == TDmode)
    2710                 :           0 :  newtype = dfloat128_type_node;
    2711                 :       49068 :                       if ((newtype == dfloat32_type_node
    2712                 :       49068 :  || newtype == dfloat64_type_node
    2713                 :       49068 :  || newtype == dfloat128_type_node)
    2714                 :           0 :  && newtype == type
    2715                 :       49068 :  && types_match (newtype, type)
    2716                 :             : )
    2717                 :             :                         {
    2718                 :           0 :                           gimple_seq *lseq = seq;
    2719                 :           0 :                           if (lseq
    2720                 :           0 :                               && (!single_use (captures[0])))
    2721                 :           0 :                             lseq = NULL;
    2722                 :           0 :                           if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail799;
    2723                 :           0 :                           {
    2724                 :           0 :                             res_op->set_op (op, type, 2);
    2725                 :           0 :                             {
    2726                 :           0 :                               tree _o1[1], _r1;
    2727                 :           0 :                               _o1[0] = captures[2];
    2728                 :           0 :                               if (newtype != TREE_TYPE (_o1[0])
    2729                 :           0 :                                   && !useless_type_conversion_p (newtype, TREE_TYPE (_o1[0])))
    2730                 :             :                                 {
    2731                 :           0 :                                   gimple_match_op tem_op (res_op->cond.any_else (), NOP_EXPR, newtype, _o1[0]);
    2732                 :           0 :                                   tem_op.resimplify (lseq, valueize);
    2733                 :           0 :                                   _r1 = maybe_push_res_to_seq (&tem_op, lseq);
    2734                 :           0 :                                   if (!_r1) goto next_after_fail799;
    2735                 :             :                                 }
    2736                 :             :                               else
    2737                 :             :                                 _r1 = _o1[0];
    2738                 :           0 :                               res_op->ops[0] = _r1;
    2739                 :             :                             }
    2740                 :           0 :                             {
    2741                 :           0 :                               tree _o1[1], _r1;
    2742                 :           0 :                               _o1[0] = captures[4];
    2743                 :           0 :                               if (newtype != TREE_TYPE (_o1[0])
    2744                 :           0 :                                   && !useless_type_conversion_p (newtype, TREE_TYPE (_o1[0])))
    2745                 :             :                                 {
    2746                 :           0 :                                   gimple_match_op tem_op (res_op->cond.any_else (), NOP_EXPR, newtype, _o1[0]);
    2747                 :           0 :                                   tem_op.resimplify (lseq, valueize);
    2748                 :           0 :                                   _r1 = maybe_push_res_to_seq (&tem_op, lseq);
    2749                 :           0 :                                   if (!_r1) goto next_after_fail799;
    2750                 :             :                                 }
    2751                 :             :                               else
    2752                 :             :                                 _r1 = _o1[0];
    2753                 :           0 :                               res_op->ops[1] = _r1;
    2754                 :             :                             }
    2755                 :           0 :                             res_op->resimplify (lseq, valueize);
    2756                 :           0 :                             if (UNLIKELY (debug_dump)) gimple_dump_logs ("match.pd", 578, __FILE__, __LINE__, true);
    2757                 :           0 :                             return true;
    2758                 :             :                           }
    2759                 :             : next_after_fail799:;
    2760                 :             :                         }
    2761                 :             :                       else
    2762                 :             :                         {
    2763                 :       49068 :                           {
    2764                 :       49068 :  if (element_precision (ty1) > element_precision (newtype))
    2765                 :           0 :  newtype = ty1;
    2766                 :       49068 :  if (element_precision (ty2) > element_precision (newtype))
    2767                 :           0 :  newtype = ty2;
    2768                 :       49068 :                               if (element_precision (newtype) < element_precision (itype)
    2769                 :       49046 :  && (!VECTOR_MODE_P (TYPE_MODE (newtype))
    2770                 :           9 :  || target_supports_op_p (newtype, op, optab_default))
    2771                 :       49046 :  && (flag_unsafe_math_optimizations
    2772                 :       49044 :  || (element_precision (newtype) == element_precision (type)
    2773                 :       49044 :  && real_can_shorten_arithmetic (element_mode (itype),
    2774                 :             :  element_mode (type))
    2775                 :        5820 :  && !excess_precision_type (newtype)))
    2776                 :       49119 :  && !types_match (itype, newtype)
    2777                 :             : )
    2778                 :             :                                 {
    2779                 :          51 :                                   gimple_seq *lseq = seq;
    2780                 :          51 :                                   if (lseq
    2781                 :          18 :                                       && (!single_use (captures[0])))
    2782                 :          41 :                                     lseq = NULL;
    2783                 :          51 :                                   if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail800;
    2784                 :          51 :                                   {
    2785                 :          51 :                                     res_op->set_op (NOP_EXPR, type, 1);
    2786                 :          51 :                                     {
    2787                 :          51 :                                       tree _o1[2], _r1;
    2788                 :          51 :                                       {
    2789                 :          51 :                                         tree _o2[1], _r2;
    2790                 :          51 :                                         _o2[0] = captures[2];
    2791                 :          51 :                                         if (newtype != TREE_TYPE (_o2[0])
    2792                 :          51 :                                             && !useless_type_conversion_p (newtype, TREE_TYPE (_o2[0])))
    2793                 :             :                                           {
    2794                 :           0 :                                             gimple_match_op tem_op (res_op->cond.any_else (), NOP_EXPR, newtype, _o2[0]);
    2795                 :           0 :                                             tem_op.resimplify (lseq, valueize);
    2796                 :           0 :                                             _r2 = maybe_push_res_to_seq (&tem_op, lseq);
    2797                 :           0 :                                             if (!_r2) goto next_after_fail800;
    2798                 :             :                                           }
    2799                 :             :                                         else
    2800                 :             :                                           _r2 = _o2[0];
    2801                 :          51 :                                         _o1[0] = _r2;
    2802                 :             :                                       }
    2803                 :          51 :                                       {
    2804                 :          51 :                                         tree _o2[1], _r2;
    2805                 :          51 :                                         _o2[0] = captures[4];
    2806                 :          51 :                                         if (newtype != TREE_TYPE (_o2[0])
    2807                 :          51 :                                             && !useless_type_conversion_p (newtype, TREE_TYPE (_o2[0])))
    2808                 :             :                                           {
    2809                 :           0 :                                             gimple_match_op tem_op (res_op->cond.any_else (), NOP_EXPR, newtype, _o2[0]);
    2810                 :           0 :                                             tem_op.resimplify (lseq, valueize);
    2811                 :           0 :                                             _r2 = maybe_push_res_to_seq (&tem_op, lseq);
    2812                 :           0 :                                             if (!_r2) goto next_after_fail800;
    2813                 :             :                                           }
    2814                 :             :                                         else
    2815                 :             :                                           _r2 = _o2[0];
    2816                 :          51 :                                         _o1[1] = _r2;
    2817                 :             :                                       }
    2818                 :          51 :                                       gimple_match_op tem_op (res_op->cond.any_else (), op, TREE_TYPE (_o1[0]), _o1[0], _o1[1]);
    2819                 :          51 :                                       tem_op.resimplify (lseq, valueize);
    2820                 :          51 :                                       _r1 = maybe_push_res_to_seq (&tem_op, lseq);
    2821                 :          51 :                                       if (!_r1) goto next_after_fail800;
    2822                 :          10 :                                       res_op->ops[0] = _r1;
    2823                 :             :                                     }
    2824                 :          10 :                                     res_op->resimplify (lseq, valueize);
    2825                 :          10 :                                     if (UNLIKELY (debug_dump)) gimple_dump_logs ("match.pd", 579, __FILE__, __LINE__, true);
    2826                 :          10 :                                     return true;
    2827                 :             :                                   }
    2828                 :             : next_after_fail800:;
    2829                 :             :                                 }
    2830                 :             :                           }
    2831                 :             :                         }
    2832                 :             :                   }
    2833                 :             :                 }
    2834                 :             :           }
    2835                 :             :         }
    2836                 :             :     }
    2837                 :             :   return false;
    2838                 :             : }
    2839                 :             : 
    2840                 :             : bool
    2841                 :        9537 : gimple_simplify_428 (gimple_match_op *res_op, gimple_seq *seq,
    2842                 :             :                  tree (*valueize)(tree) ATTRIBUTE_UNUSED,
    2843                 :             :                  const tree ARG_UNUSED (type), tree *ARG_UNUSED (captures))
    2844                 :             : {
    2845                 :        9537 :   const bool debug_dump = dump_file && (dump_flags & TDF_FOLDING);
    2846                 :       17621 :   if (INTEGRAL_TYPE_P (TREE_TYPE (captures[0]))
    2847                 :       36695 :  && wi::bit_and_not (get_nonzero_bits (captures[0]), wi::to_wide (captures[2])) == 0
    2848                 :             : )
    2849                 :             :     {
    2850                 :           2 :       gimple_seq *lseq = seq;
    2851                 :           2 :       if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail846;
    2852                 :           2 :       {
    2853                 :           2 :         tree tem;
    2854                 :           2 :         tem = captures[0];
    2855                 :           2 :         res_op->set_value (tem);
    2856                 :           2 :         if (UNLIKELY (debug_dump)) gimple_dump_logs ("match.pd", 612, __FILE__, __LINE__, true);
    2857                 :           2 :         return true;
    2858                 :             :       }
    2859                 :           0 : next_after_fail846:;
    2860                 :             :     }
    2861                 :             :   return false;
    2862                 :             : }
    2863                 :             : 
    2864                 :             : bool
    2865                 :           1 : gimple_simplify_431 (gimple_match_op *res_op, gimple_seq *seq,
    2866                 :             :                  tree (*valueize)(tree) ATTRIBUTE_UNUSED,
    2867                 :             :                  const tree ARG_UNUSED (type), tree *ARG_UNUSED (captures))
    2868                 :             : {
    2869                 :           1 :   const bool debug_dump = dump_file && (dump_flags & TDF_FOLDING);
    2870                 :           1 :   gimple_seq *lseq = seq;
    2871                 :           1 :   if (lseq
    2872                 :           1 :       && (!single_use (captures[0])
    2873                 :           1 :           || !single_use (captures[3])))
    2874                 :           0 :     lseq = NULL;
    2875                 :           1 :   if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail849;
    2876                 :           1 :   {
    2877                 :           1 :     res_op->set_op (BIT_NOT_EXPR, type, 1);
    2878                 :           1 :     {
    2879                 :           1 :       tree _o1[2], _r1;
    2880                 :           1 :       _o1[0] = captures[1];
    2881                 :           1 :       _o1[1] = captures[2];
    2882                 :           1 :       gimple_match_op tem_op (res_op->cond.any_else (), BIT_XOR_EXPR, TREE_TYPE (_o1[0]), _o1[0], _o1[1]);
    2883                 :           1 :       tem_op.resimplify (lseq, valueize);
    2884                 :           1 :       _r1 = maybe_push_res_to_seq (&tem_op, lseq);
    2885                 :           1 :       if (!_r1) goto next_after_fail849;
    2886                 :           1 :       res_op->ops[0] = _r1;
    2887                 :             :     }
    2888                 :           1 :     res_op->resimplify (lseq, valueize);
    2889                 :           1 :     if (UNLIKELY (debug_dump)) gimple_dump_logs ("match.pd", 615, __FILE__, __LINE__, true);
    2890                 :             :     return true;
    2891                 :             :   }
    2892                 :             : next_after_fail849:;
    2893                 :             :   return false;
    2894                 :             : }
    2895                 :             : 
    2896                 :             : bool
    2897                 :       53185 : gimple_simplify_438 (gimple_match_op *res_op, gimple_seq *seq,
    2898                 :             :                  tree (*valueize)(tree) ATTRIBUTE_UNUSED,
    2899                 :             :                  const tree ARG_UNUSED (type), tree *ARG_UNUSED (captures),
    2900                 :             :  const enum tree_code ARG_UNUSED (shift))
    2901                 :             : {
    2902                 :       53185 :   const bool debug_dump = dump_file && (dump_flags & TDF_FOLDING);
    2903                 :       53185 :   if (tree_nop_conversion_p (TREE_TYPE (captures[0]), TREE_TYPE (captures[1]))
    2904                 :        1061 :  && TYPE_PRECISION (type) <= HOST_BITS_PER_WIDE_INT
    2905                 :        1061 :  && tree_fits_uhwi_p (captures[4])
    2906                 :        1061 :  && tree_to_uhwi (captures[4]) > 0
    2907                 :       54246 :  && tree_to_uhwi (captures[4]) < TYPE_PRECISION (type)
    2908                 :             : )
    2909                 :             :     {
    2910                 :        1061 :       {
    2911                 :        1061 :  unsigned int shiftc = tree_to_uhwi (captures[4]);
    2912                 :        1061 :  unsigned HOST_WIDE_INT mask = TREE_INT_CST_LOW (captures[5]);
    2913                 :        1061 :  unsigned HOST_WIDE_INT newmask, zerobits = 0;
    2914                 :        1061 :  tree shift_type = TREE_TYPE (captures[2]);
    2915                 :        1061 :  unsigned int prec;
    2916                 :        1061 :  if (shift == LSHIFT_EXPR)
    2917                 :           2 :  zerobits = ((HOST_WIDE_INT_1U << shiftc) - 1);
    2918                 :        1059 :  else if (shift == RSHIFT_EXPR
    2919                 :        1059 :  && type_has_mode_precision_p (shift_type))
    2920                 :             :  {
    2921                 :        1059 :  prec = TYPE_PRECISION (TREE_TYPE (captures[2]));
    2922                 :        1059 :  tree arg00 = captures[3];
    2923                 :        1059 :  if (captures[2] != captures[3]
    2924                 :        1059 :  && TYPE_UNSIGNED (TREE_TYPE (captures[3])))
    2925                 :             :  {
    2926                 :           0 :  tree inner_type = TREE_TYPE (captures[3]);
    2927                 :           0 :  if (type_has_mode_precision_p (inner_type)
    2928                 :           0 :  && TYPE_PRECISION (inner_type) < prec)
    2929                 :             :  {
    2930                 :           0 :  prec = TYPE_PRECISION (inner_type);
    2931                 :           0 :  if (shiftc < prec)
    2932                 :           0 :  shift_type = inner_type;
    2933                 :             :  }
    2934                 :             :  }
    2935                 :        1059 :  zerobits = HOST_WIDE_INT_M1U;
    2936                 :        1059 :  if (shiftc < prec)
    2937                 :             :  {
    2938                 :        1059 :  zerobits >>= HOST_BITS_PER_WIDE_INT - shiftc;
    2939                 :        1059 :  zerobits <<= prec - shiftc;
    2940                 :             :  }
    2941                 :        1059 :  if (!TYPE_UNSIGNED (TREE_TYPE (captures[2]))
    2942                 :        1059 :  && prec == TYPE_PRECISION (TREE_TYPE (captures[2])))
    2943                 :             :  {
    2944                 :         117 :  if ((mask & zerobits) == 0)
    2945                 :          12 :  shift_type = unsigned_type_for (TREE_TYPE (captures[2]));
    2946                 :             :  else
    2947                 :             :  zerobits = 0;
    2948                 :             :  }
    2949                 :             :  }
    2950                 :        1061 :           if ((mask & zerobits) == mask
    2951                 :             : )
    2952                 :             :             {
    2953                 :           0 :               gimple_seq *lseq = seq;
    2954                 :           0 :               if (lseq
    2955                 :             :                   && (!single_use (captures[0])
    2956                 :             :                       || !single_use (captures[1])))
    2957                 :           0 :                 lseq = NULL;
    2958                 :           0 :               if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail858;
    2959                 :           0 :               {
    2960                 :           0 :                 tree tem;
    2961                 :           0 :                 tem =  build_int_cst (type, 0);
    2962                 :           0 :                 res_op->set_value (tem);
    2963                 :           0 :                 if (UNLIKELY (debug_dump)) gimple_dump_logs ("match.pd", 620, __FILE__, __LINE__, true);
    2964                 :           0 :                 return true;
    2965                 :             :               }
    2966                 :           0 : next_after_fail858:;
    2967                 :             :             }
    2968                 :             :           else
    2969                 :             :             {
    2970                 :        1061 :               {
    2971                 :        1061 :  newmask = mask | zerobits;
    2972                 :        1061 :                   if (newmask != mask && (newmask & (newmask + 1)) == 0
    2973                 :             : )
    2974                 :             :                     {
    2975                 :             :                       {
    2976                 :           6 :  for (prec = BITS_PER_UNIT;
    2977                 :           8 :  prec < HOST_BITS_PER_WIDE_INT; prec <<= 1)
    2978                 :           6 :  if (newmask == (HOST_WIDE_INT_1U << prec) - 1)
    2979                 :             :  break;
    2980                 :           2 :                           if (prec < HOST_BITS_PER_WIDE_INT
    2981                 :           2 :  || newmask == HOST_WIDE_INT_M1U
    2982                 :             : )
    2983                 :             :                             {
    2984                 :           2 :                               {
    2985                 :           2 :  tree newmaskt = build_int_cst_type (TREE_TYPE (captures[5]), newmask);
    2986                 :           2 :                                   if (!tree_int_cst_equal (newmaskt, captures[5])
    2987                 :             : )
    2988                 :             :                                     {
    2989                 :           2 :                                       if (shift_type != TREE_TYPE (captures[2])
    2990                 :             : )
    2991                 :             :                                         {
    2992                 :           2 :                                           gimple_seq *lseq = seq;
    2993                 :           2 :                                           if (lseq
    2994                 :           0 :                                               && (!single_use (captures[0])
    2995                 :           0 :                                                   || !single_use (captures[1])))
    2996                 :           2 :                                             lseq = NULL;
    2997                 :           2 :                                           if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail859;
    2998                 :           2 :                                           {
    2999                 :           2 :                                             res_op->set_op (BIT_AND_EXPR, type, 2);
    3000                 :           2 :                                             {
    3001                 :           2 :                                               tree _o1[1], _r1;
    3002                 :           2 :                                               {
    3003                 :           2 :                                                 tree _o2[2], _r2;
    3004                 :           2 :                                                 {
    3005                 :           2 :                                                   tree _o3[1], _r3;
    3006                 :           2 :                                                   _o3[0] = captures[2];
    3007                 :           2 :                                                   if (shift_type != TREE_TYPE (_o3[0])
    3008                 :           2 :                                                       && !useless_type_conversion_p (shift_type, TREE_TYPE (_o3[0])))
    3009                 :             :                                                     {
    3010                 :           2 :                                                       gimple_match_op tem_op (res_op->cond.any_else (), NOP_EXPR, shift_type, _o3[0]);
    3011                 :           2 :                                                       tem_op.resimplify (lseq, valueize);
    3012                 :           2 :                                                       _r3 = maybe_push_res_to_seq (&tem_op, lseq);
    3013                 :           2 :                                                       if (!_r3) goto next_after_fail859;
    3014                 :             :                                                     }
    3015                 :             :                                                   else
    3016                 :             :                                                     _r3 = _o3[0];
    3017                 :           2 :                                                   _o2[0] = _r3;
    3018                 :             :                                                 }
    3019                 :           2 :                                                 _o2[1] = captures[4];
    3020                 :           2 :                                                 gimple_match_op tem_op (res_op->cond.any_else (), shift, shift_type, _o2[0], _o2[1]);
    3021                 :           2 :                                                 tem_op.resimplify (lseq, valueize);
    3022                 :           2 :                                                 _r2 = maybe_push_res_to_seq (&tem_op, lseq);
    3023                 :           2 :                                                 if (!_r2) goto next_after_fail859;
    3024                 :           0 :                                                 _o1[0] = _r2;
    3025                 :             :                                               }
    3026                 :           0 :                                               if (type != TREE_TYPE (_o1[0])
    3027                 :           0 :                                                   && !useless_type_conversion_p (type, TREE_TYPE (_o1[0])))
    3028                 :             :                                                 {
    3029                 :           0 :                                                   gimple_match_op tem_op (res_op->cond.any_else (), NOP_EXPR, type, _o1[0]);
    3030                 :           0 :                                                   tem_op.resimplify (lseq, valueize);
    3031                 :           0 :                                                   _r1 = maybe_push_res_to_seq (&tem_op, lseq);
    3032                 :           0 :                                                   if (!_r1) goto next_after_fail859;
    3033                 :             :                                                 }
    3034                 :             :                                               else
    3035                 :             :                                                 _r1 = _o1[0];
    3036                 :           0 :                                               res_op->ops[0] = _r1;
    3037                 :             :                                             }
    3038                 :           0 :                                             res_op->ops[1] =  newmaskt;
    3039                 :           0 :                                             res_op->resimplify (lseq, valueize);
    3040                 :           0 :                                             if (UNLIKELY (debug_dump)) gimple_dump_logs ("match.pd", 621, __FILE__, __LINE__, true);
    3041                 :           0 :                                             return true;
    3042                 :             :                                           }
    3043                 :             : next_after_fail859:;
    3044                 :             :                                         }
    3045                 :             :                                       else
    3046                 :             :                                         {
    3047                 :           0 :                                           gimple_seq *lseq = seq;
    3048                 :           0 :                                           if (lseq
    3049                 :           0 :                                               && (!single_use (captures[0])
    3050                 :           0 :                                                   || !single_use (captures[1])))
    3051                 :           0 :                                             lseq = NULL;
    3052                 :           0 :                                           if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail860;
    3053                 :           0 :                                           {
    3054                 :           0 :                                             res_op->set_op (BIT_AND_EXPR, type, 2);
    3055                 :           0 :                                             res_op->ops[0] = captures[0];
    3056                 :           0 :                                             res_op->ops[1] =  newmaskt;
    3057                 :           0 :                                             res_op->resimplify (lseq, valueize);
    3058                 :           0 :                                             if (UNLIKELY (debug_dump)) gimple_dump_logs ("match.pd", 622, __FILE__, __LINE__, true);
    3059                 :           0 :                                             return true;
    3060                 :             :                                           }
    3061                 :           0 : next_after_fail860:;
    3062                 :             :                                         }
    3063                 :             :                                     }
    3064                 :             :                               }
    3065                 :             :                             }
    3066                 :             :                       }
    3067                 :             :                     }
    3068                 :             :               }
    3069                 :             :             }
    3070                 :             :       }
    3071                 :             :     }
    3072                 :             :   return false;
    3073                 :             : }
    3074                 :             : 
    3075                 :             : bool
    3076                 :           1 : gimple_simplify_459 (gimple_match_op *res_op, gimple_seq *seq,
    3077                 :             :                  tree (*valueize)(tree) ATTRIBUTE_UNUSED,
    3078                 :             :                  const tree ARG_UNUSED (type), tree *ARG_UNUSED (captures))
    3079                 :             : {
    3080                 :           1 :   const bool debug_dump = dump_file && (dump_flags & TDF_FOLDING);
    3081                 :           1 :   if ((wi::to_wide (captures[2]) & 1) != 0
    3082                 :             : )
    3083                 :             :     {
    3084                 :           0 :       gimple_seq *lseq = seq;
    3085                 :           0 :       if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail920;
    3086                 :           0 :       {
    3087                 :           0 :         tree tem;
    3088                 :           0 :         tem = captures[0];
    3089                 :           0 :         res_op->set_value (tem);
    3090                 :           0 :         if (UNLIKELY (debug_dump)) gimple_dump_logs ("match.pd", 648, __FILE__, __LINE__, true);
    3091                 :           0 :         return true;
    3092                 :             :       }
    3093                 :           0 : next_after_fail920:;
    3094                 :             :     }
    3095                 :             :   else
    3096                 :             :     {
    3097                 :           1 :       gimple_seq *lseq = seq;
    3098                 :           1 :       if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail921;
    3099                 :           1 :       {
    3100                 :           1 :         tree tem;
    3101                 :           1 :         tem =  build_zero_cst (type);
    3102                 :           1 :         res_op->set_value (tem);
    3103                 :           1 :         if (UNLIKELY (debug_dump)) gimple_dump_logs ("match.pd", 649, __FILE__, __LINE__, true);
    3104                 :           1 :         return true;
    3105                 :             :       }
    3106                 :           0 : next_after_fail921:;
    3107                 :             :     }
    3108                 :             :   return false;
    3109                 :             : }
    3110                 :             : 
    3111                 :             : bool
    3112                 :           2 : gimple_simplify_462 (gimple_match_op *res_op, gimple_seq *seq,
    3113                 :             :                  tree (*valueize)(tree) ATTRIBUTE_UNUSED,
    3114                 :             :                  const tree ARG_UNUSED (type), tree *ARG_UNUSED (captures))
    3115                 :             : {
    3116                 :           2 :   const bool debug_dump = dump_file && (dump_flags & TDF_FOLDING);
    3117                 :           2 :   gimple_seq *lseq = seq;
    3118                 :           2 :   if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail925;
    3119                 :           2 :   {
    3120                 :           2 :     tree tem;
    3121                 :           2 :     tem = captures[1];
    3122                 :           2 :     res_op->set_value (tem);
    3123                 :           2 :     if (UNLIKELY (debug_dump)) gimple_dump_logs ("match.pd", 650, __FILE__, __LINE__, true);
    3124                 :             :     return true;
    3125                 :             :   }
    3126                 :           0 : next_after_fail925:;
    3127                 :           0 :   return false;
    3128                 :             : }
    3129                 :             : 
    3130                 :             : bool
    3131                 :         203 : gimple_simplify_465 (gimple_match_op *res_op, gimple_seq *seq,
    3132                 :             :                  tree (*valueize)(tree) ATTRIBUTE_UNUSED,
    3133                 :             :                  const tree ARG_UNUSED (type), tree *ARG_UNUSED (captures))
    3134                 :             : {
    3135                 :         203 :   const bool debug_dump = dump_file && (dump_flags & TDF_FOLDING);
    3136                 :         203 :   gimple_seq *lseq = seq;
    3137                 :         203 :   if (lseq
    3138                 :          95 :       && (!single_use (captures[0])))
    3139                 :         134 :     lseq = NULL;
    3140                 :         203 :   if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail929;
    3141                 :         203 :   {
    3142                 :         203 :     res_op->set_op (BIT_IOR_EXPR, type, 2);
    3143                 :         203 :     res_op->ops[0] = captures[1];
    3144                 :         203 :     {
    3145                 :         203 :       tree _o1[1], _r1;
    3146                 :         203 :       _o1[0] = captures[2];
    3147                 :         203 :       gimple_match_op tem_op (res_op->cond.any_else (), BIT_NOT_EXPR, TREE_TYPE (_o1[0]), _o1[0]);
    3148                 :         203 :       tem_op.resimplify (lseq, valueize);
    3149                 :         203 :       _r1 = maybe_push_res_to_seq (&tem_op, lseq);
    3150                 :         203 :       if (!_r1) goto next_after_fail929;
    3151                 :          99 :       res_op->ops[1] = _r1;
    3152                 :             :     }
    3153                 :          99 :     res_op->resimplify (lseq, valueize);
    3154                 :          99 :     if (UNLIKELY (debug_dump)) gimple_dump_logs ("match.pd", 654, __FILE__, __LINE__, true);
    3155                 :             :     return true;
    3156                 :             :   }
    3157                 :             : next_after_fail929:;
    3158                 :             :   return false;
    3159                 :             : }
    3160                 :             : 
    3161                 :             : bool
    3162                 :        1086 : gimple_simplify_469 (gimple_match_op *res_op, gimple_seq *seq,
    3163                 :             :                  tree (*valueize)(tree) ATTRIBUTE_UNUSED,
    3164                 :             :                  const tree ARG_UNUSED (type), tree *ARG_UNUSED (captures))
    3165                 :             : {
    3166                 :        1086 :   const bool debug_dump = dump_file && (dump_flags & TDF_FOLDING);
    3167                 :        1086 :   if (element_precision (type) <= element_precision (TREE_TYPE (captures[0]))
    3168                 :        1086 :  || !TYPE_UNSIGNED (TREE_TYPE (captures[0]))
    3169                 :             : )
    3170                 :             :     {
    3171                 :         427 :       gimple_seq *lseq = seq;
    3172                 :         427 :       if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail933;
    3173                 :         427 :       {
    3174                 :         427 :         res_op->set_op (NOP_EXPR, type, 1);
    3175                 :         427 :         {
    3176                 :         427 :           tree _o1[1], _r1;
    3177                 :         427 :           _o1[0] = captures[0];
    3178                 :         427 :           gimple_match_op tem_op (res_op->cond.any_else (), NEGATE_EXPR, TREE_TYPE (_o1[0]), _o1[0]);
    3179                 :         427 :           tem_op.resimplify (lseq, valueize);
    3180                 :         427 :           _r1 = maybe_push_res_to_seq (&tem_op, lseq);
    3181                 :         427 :           if (!_r1) goto next_after_fail933;
    3182                 :          67 :           res_op->ops[0] = _r1;
    3183                 :             :         }
    3184                 :          67 :         res_op->resimplify (lseq, valueize);
    3185                 :          67 :         if (UNLIKELY (debug_dump)) gimple_dump_logs ("match.pd", 658, __FILE__, __LINE__, true);
    3186                 :          67 :         return true;
    3187                 :             :       }
    3188                 :             : next_after_fail933:;
    3189                 :             :     }
    3190                 :             :   return false;
    3191                 :             : }
    3192                 :             : 
    3193                 :             : bool
    3194                 :           2 : gimple_simplify_473 (gimple_match_op *res_op, gimple_seq *seq,
    3195                 :             :                  tree (*valueize)(tree) ATTRIBUTE_UNUSED,
    3196                 :             :                  const tree ARG_UNUSED (type), tree *ARG_UNUSED (captures))
    3197                 :             : {
    3198                 :           2 :   const bool debug_dump = dump_file && (dump_flags & TDF_FOLDING);
    3199                 :           2 :   if (tree_nop_conversion_p (type, TREE_TYPE (captures[0]))
    3200                 :             : )
    3201                 :             :     {
    3202                 :           2 :       gimple_seq *lseq = seq;
    3203                 :           2 :       if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail937;
    3204                 :           2 :       {
    3205                 :           2 :         res_op->set_op (NOP_EXPR, type, 1);
    3206                 :           2 :         {
    3207                 :           2 :           tree _o1[2], _r1;
    3208                 :           2 :           _o1[0] = captures[0];
    3209                 :           2 :           _o1[1] = captures[1];
    3210                 :           2 :           gimple_match_op tem_op (res_op->cond.any_else (), BIT_XOR_EXPR, TREE_TYPE (_o1[0]), _o1[0], _o1[1]);
    3211                 :           2 :           tem_op.resimplify (lseq, valueize);
    3212                 :           2 :           _r1 = maybe_push_res_to_seq (&tem_op, lseq);
    3213                 :           2 :           if (!_r1) goto next_after_fail937;
    3214                 :           0 :           res_op->ops[0] = _r1;
    3215                 :             :         }
    3216                 :           0 :         res_op->resimplify (lseq, valueize);
    3217                 :           0 :         if (UNLIKELY (debug_dump)) gimple_dump_logs ("match.pd", 662, __FILE__, __LINE__, true);
    3218                 :           0 :         return true;
    3219                 :             :       }
    3220                 :             : next_after_fail937:;
    3221                 :             :     }
    3222                 :             :   return false;
    3223                 :             : }
    3224                 :             : 
    3225                 :             : bool
    3226                 :        3241 : gimple_simplify_479 (gimple_match_op *res_op, gimple_seq *seq,
    3227                 :             :                  tree (*valueize)(tree) ATTRIBUTE_UNUSED,
    3228                 :             :                  const tree ARG_UNUSED (type), tree *ARG_UNUSED (captures),
    3229                 :             :  const enum tree_code ARG_UNUSED (minmax))
    3230                 :             : {
    3231                 :        3241 :   const bool debug_dump = dump_file && (dump_flags & TDF_FOLDING);
    3232                 :        3241 :   gimple_seq *lseq = seq;
    3233                 :        3241 :   if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail944;
    3234                 :        3241 :   {
    3235                 :        3241 :     tree tem;
    3236                 :        3241 :     tem = captures[0];
    3237                 :        3241 :     res_op->set_value (tem);
    3238                 :        3241 :     if (UNLIKELY (debug_dump)) gimple_dump_logs ("match.pd", 667, __FILE__, __LINE__, true);
    3239                 :             :     return true;
    3240                 :             :   }
    3241                 :           0 : next_after_fail944:;
    3242                 :           0 :   return false;
    3243                 :             : }
    3244                 :             : 
    3245                 :             : bool
    3246                 :          12 : gimple_simplify_482 (gimple_match_op *res_op, gimple_seq *seq,
    3247                 :             :                  tree (*valueize)(tree) ATTRIBUTE_UNUSED,
    3248                 :             :                  const tree ARG_UNUSED (type), tree *ARG_UNUSED (captures))
    3249                 :             : {
    3250                 :          12 :   const bool debug_dump = dump_file && (dump_flags & TDF_FOLDING);
    3251                 :          12 :   gimple_seq *lseq = seq;
    3252                 :          12 :   if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail947;
    3253                 :          12 :   {
    3254                 :          12 :     tree tem;
    3255                 :          12 :     tem = captures[1];
    3256                 :          12 :     res_op->set_value (tem);
    3257                 :          12 :     if (UNLIKELY (debug_dump)) gimple_dump_logs ("match.pd", 669, __FILE__, __LINE__, true);
    3258                 :             :     return true;
    3259                 :             :   }
    3260                 :           0 : next_after_fail947:;
    3261                 :           0 :   return false;
    3262                 :             : }
    3263                 :             : 
    3264                 :             : bool
    3265                 :         181 : gimple_simplify_487 (gimple_match_op *res_op, gimple_seq *seq,
    3266                 :             :                  tree (*valueize)(tree) ATTRIBUTE_UNUSED,
    3267                 :             :                  const tree ARG_UNUSED (type), tree *ARG_UNUSED (captures),
    3268                 :             :  const enum tree_code ARG_UNUSED (minmax),
    3269                 :             :  const enum tree_code ARG_UNUSED (cmp))
    3270                 :             : {
    3271                 :         181 :   const bool debug_dump = dump_file && (dump_flags & TDF_FOLDING);
    3272                 :         181 :   {
    3273                 :         181 :  poly_int64 off0, off1;
    3274                 :         181 :  tree base0, base1;
    3275                 :         181 :  int equal = address_compare (cmp, TREE_TYPE (captures[0]), captures[1], captures[3], base0, base1,
    3276                 :             :  off0, off1,
    3277                 :             : 
    3278                 :             : );
    3279                 :         181 :       if (equal == 1
    3280                 :             : )
    3281                 :             :         {
    3282                 :           7 :           if (minmax == MIN_EXPR
    3283                 :             : )
    3284                 :             :             {
    3285                 :           3 :               if (known_le (off0, off1)
    3286                 :             : )
    3287                 :             :                 {
    3288                 :           1 :                   gimple_seq *lseq = seq;
    3289                 :           1 :                   if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail961;
    3290                 :           1 :                   {
    3291                 :           1 :                     tree tem;
    3292                 :           1 :                     tem = captures[0];
    3293                 :           1 :                     res_op->set_value (tem);
    3294                 :           1 :                     if (UNLIKELY (debug_dump)) gimple_dump_logs ("match.pd", 671, __FILE__, __LINE__, true);
    3295                 :           7 :                     return true;
    3296                 :             :                   }
    3297                 :           0 : next_after_fail961:;
    3298                 :             :                 }
    3299                 :             :               else
    3300                 :             :                 {
    3301                 :           2 :                   if (known_gt (off0, off1)
    3302                 :             : )
    3303                 :             :                     {
    3304                 :           2 :                       gimple_seq *lseq = seq;
    3305                 :           2 :                       if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail962;
    3306                 :           2 :                       {
    3307                 :           2 :                         tree tem;
    3308                 :           2 :                         tem = captures[2];
    3309                 :           2 :                         res_op->set_value (tem);
    3310                 :           2 :                         if (UNLIKELY (debug_dump)) gimple_dump_logs ("match.pd", 672, __FILE__, __LINE__, true);
    3311                 :           2 :                         return true;
    3312                 :             :                       }
    3313                 :           0 : next_after_fail962:;
    3314                 :             :                     }
    3315                 :             :                 }
    3316                 :             :             }
    3317                 :             :           else
    3318                 :             :             {
    3319                 :           4 :               if (known_ge (off0, off1)
    3320                 :             : )
    3321                 :             :                 {
    3322                 :           2 :                   gimple_seq *lseq = seq;
    3323                 :           2 :                   if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail963;
    3324                 :           2 :                   {
    3325                 :           2 :                     tree tem;
    3326                 :           2 :                     tem = captures[0];
    3327                 :           2 :                     res_op->set_value (tem);
    3328                 :           2 :                     if (UNLIKELY (debug_dump)) gimple_dump_logs ("match.pd", 673, __FILE__, __LINE__, true);
    3329                 :           2 :                     return true;
    3330                 :             :                   }
    3331                 :           0 : next_after_fail963:;
    3332                 :             :                 }
    3333                 :             :               else
    3334                 :             :                 {
    3335                 :           2 :                   if (known_lt (off0, off1)
    3336                 :             : )
    3337                 :             :                     {
    3338                 :           2 :                       gimple_seq *lseq = seq;
    3339                 :           2 :                       if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail964;
    3340                 :           2 :                       {
    3341                 :           2 :                         tree tem;
    3342                 :           2 :                         tem = captures[2];
    3343                 :           2 :                         res_op->set_value (tem);
    3344                 :           2 :                         if (UNLIKELY (debug_dump)) gimple_dump_logs ("match.pd", 674, __FILE__, __LINE__, true);
    3345                 :           2 :                         return true;
    3346                 :             :                       }
    3347                 :           0 : next_after_fail964:;
    3348                 :             :                     }
    3349                 :             :                 }
    3350                 :             :             }
    3351                 :             :         }
    3352                 :             :   }
    3353                 :         174 :   return false;
    3354                 :             : }
    3355                 :             : 
    3356                 :             : bool
    3357                 :       39662 : gimple_simplify_505 (gimple_match_op *res_op, gimple_seq *seq,
    3358                 :             :                  tree (*valueize)(tree) ATTRIBUTE_UNUSED,
    3359                 :             :                  const tree ARG_UNUSED (type), tree *ARG_UNUSED (captures),
    3360                 :             :  const enum tree_code ARG_UNUSED (cmp))
    3361                 :             : {
    3362                 :       39662 :   const bool debug_dump = dump_file && (dump_flags & TDF_FOLDING);
    3363                 :       39662 :   {
    3364                 :       39662 :  tree from_type = TREE_TYPE (captures[0]);
    3365                 :       39662 :  tree c1_type = TREE_TYPE (captures[1]), c2_type = TREE_TYPE (captures[2]);
    3366                 :       39662 :  enum tree_code code = ERROR_MARK;
    3367                 :       39662 :  if (INTEGRAL_TYPE_P (from_type)
    3368                 :       39244 :  && int_fits_type_p (captures[2], from_type)
    3369                 :       36590 :  && (types_match (c1_type, from_type)
    3370                 :        2228 :  || (TYPE_PRECISION (c1_type) > TYPE_PRECISION (from_type)
    3371                 :         130 :  && (TYPE_UNSIGNED (from_type)
    3372                 :          58 :  || TYPE_SIGN (c1_type) == TYPE_SIGN (from_type))))
    3373                 :       74135 :  && (types_match (c2_type, from_type)
    3374                 :        2017 :  || (TYPE_PRECISION (c2_type) > TYPE_PRECISION (from_type)
    3375                 :         284 :  && (TYPE_UNSIGNED (from_type)
    3376                 :         160 :  || TYPE_SIGN (c2_type) == TYPE_SIGN (from_type)))))
    3377                 :             :  {
    3378                 :       32660 :  if (cmp != EQ_EXPR)
    3379                 :       32627 :  code = minmax_from_comparison (cmp, captures[0], captures[1], captures[0], captures[2]);
    3380                 :          33 :  else if (int_fits_type_p (captures[1], from_type))
    3381                 :             :  code = EQ_EXPR;
    3382                 :             :  }
    3383                 :       32627 :       if (code == MAX_EXPR
    3384                 :             : )
    3385                 :             :         {
    3386                 :        2444 :           gimple_seq *lseq = seq;
    3387                 :        2444 :           if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail982;
    3388                 :        2444 :           {
    3389                 :        2444 :             res_op->set_op (NOP_EXPR, type, 1);
    3390                 :        2444 :             {
    3391                 :        2444 :               tree _o1[2], _r1;
    3392                 :        2444 :               _o1[0] = captures[0];
    3393                 :        2444 :               {
    3394                 :        2444 :                 tree _o2[1], _r2;
    3395                 :        2444 :                 _o2[0] = captures[2];
    3396                 :        2444 :                 if (TREE_TYPE (_o1[0]) != TREE_TYPE (_o2[0])
    3397                 :        2444 :                     && !useless_type_conversion_p (TREE_TYPE (_o1[0]), TREE_TYPE (_o2[0])))
    3398                 :             :                   {
    3399                 :          28 :                     gimple_match_op tem_op (res_op->cond.any_else (), NOP_EXPR, TREE_TYPE (_o1[0]), _o2[0]);
    3400                 :          28 :                     tem_op.resimplify (lseq, valueize);
    3401                 :          28 :                     _r2 = maybe_push_res_to_seq (&tem_op, lseq);
    3402                 :          28 :                     if (!_r2) goto next_after_fail982;
    3403                 :             :                   }
    3404                 :             :                 else
    3405                 :             :                   _r2 = _o2[0];
    3406                 :        2444 :                 _o1[1] = _r2;
    3407                 :             :               }
    3408                 :        2444 :               gimple_match_op tem_op (res_op->cond.any_else (), MAX_EXPR, TREE_TYPE (_o1[0]), _o1[0], _o1[1]);
    3409                 :        2444 :               tem_op.resimplify (lseq, valueize);
    3410                 :        2444 :               _r1 = maybe_push_res_to_seq (&tem_op, lseq);
    3411                 :        2444 :               if (!_r1) goto next_after_fail982;
    3412                 :        2442 :               res_op->ops[0] = _r1;
    3413                 :             :             }
    3414                 :        2442 :             res_op->resimplify (lseq, valueize);
    3415                 :        2442 :             if (UNLIKELY (debug_dump)) gimple_dump_logs ("match.pd", 692, __FILE__, __LINE__, true);
    3416                 :        2442 :             return true;
    3417                 :             :           }
    3418                 :             : next_after_fail982:;
    3419                 :             :         }
    3420                 :             :       else
    3421                 :             :         {
    3422                 :       37218 :           if (code == MIN_EXPR
    3423                 :             : )
    3424                 :             :             {
    3425                 :         357 :               gimple_seq *lseq = seq;
    3426                 :         357 :               if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail983;
    3427                 :         357 :               {
    3428                 :         357 :                 res_op->set_op (NOP_EXPR, type, 1);
    3429                 :         357 :                 {
    3430                 :         357 :                   tree _o1[2], _r1;
    3431                 :         357 :                   _o1[0] = captures[0];
    3432                 :         357 :                   {
    3433                 :         357 :                     tree _o2[1], _r2;
    3434                 :         357 :                     _o2[0] = captures[2];
    3435                 :         357 :                     if (TREE_TYPE (_o1[0]) != TREE_TYPE (_o2[0])
    3436                 :         357 :                         && !useless_type_conversion_p (TREE_TYPE (_o1[0]), TREE_TYPE (_o2[0])))
    3437                 :             :                       {
    3438                 :           3 :                         gimple_match_op tem_op (res_op->cond.any_else (), NOP_EXPR, TREE_TYPE (_o1[0]), _o2[0]);
    3439                 :           3 :                         tem_op.resimplify (lseq, valueize);
    3440                 :           3 :                         _r2 = maybe_push_res_to_seq (&tem_op, lseq);
    3441                 :           3 :                         if (!_r2) goto next_after_fail983;
    3442                 :             :                       }
    3443                 :             :                     else
    3444                 :             :                       _r2 = _o2[0];
    3445                 :         357 :                     _o1[1] = _r2;
    3446                 :             :                   }
    3447                 :         357 :                   gimple_match_op tem_op (res_op->cond.any_else (), MIN_EXPR, TREE_TYPE (_o1[0]), _o1[0], _o1[1]);
    3448                 :         357 :                   tem_op.resimplify (lseq, valueize);
    3449                 :         357 :                   _r1 = maybe_push_res_to_seq (&tem_op, lseq);
    3450                 :         357 :                   if (!_r1) goto next_after_fail983;
    3451                 :         355 :                   res_op->ops[0] = _r1;
    3452                 :             :                 }
    3453                 :         355 :                 res_op->resimplify (lseq, valueize);
    3454                 :         355 :                 if (UNLIKELY (debug_dump)) gimple_dump_logs ("match.pd", 693, __FILE__, __LINE__, true);
    3455                 :         355 :                 return true;
    3456                 :             :               }
    3457                 :             : next_after_fail983:;
    3458                 :             :             }
    3459                 :             :           else
    3460                 :             :             {
    3461                 :       36861 :               if (code == EQ_EXPR
    3462                 :             : )
    3463                 :             :                 {
    3464                 :          33 :                   gimple_seq *lseq = seq;
    3465                 :          33 :                   if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail984;
    3466                 :          33 :                   {
    3467                 :          33 :                     res_op->set_op (NOP_EXPR, type, 1);
    3468                 :          33 :                     {
    3469                 :          33 :                       tree _o1[3], _r1;
    3470                 :          33 :                       {
    3471                 :          33 :                         tree _o2[2], _r2;
    3472                 :          33 :                         _o2[0] = captures[0];
    3473                 :          33 :                         {
    3474                 :          33 :                           tree _o3[1], _r3;
    3475                 :          33 :                           _o3[0] = captures[1];
    3476                 :          33 :                           if (TREE_TYPE (_o2[0]) != TREE_TYPE (_o3[0])
    3477                 :          33 :                               && !useless_type_conversion_p (TREE_TYPE (_o2[0]), TREE_TYPE (_o3[0])))
    3478                 :             :                             {
    3479                 :           2 :                               gimple_match_op tem_op (res_op->cond.any_else (), NOP_EXPR, TREE_TYPE (_o2[0]), _o3[0]);
    3480                 :           2 :                               tem_op.resimplify (lseq, valueize);
    3481                 :           2 :                               _r3 = maybe_push_res_to_seq (&tem_op, lseq);
    3482                 :           2 :                               if (!_r3) goto next_after_fail984;
    3483                 :             :                             }
    3484                 :             :                           else
    3485                 :             :                             _r3 = _o3[0];
    3486                 :          33 :                           _o2[1] = _r3;
    3487                 :             :                         }
    3488                 :          33 :                         gimple_match_op tem_op (res_op->cond.any_else (), EQ_EXPR, boolean_type_node, _o2[0], _o2[1]);
    3489                 :          33 :                         tem_op.resimplify (lseq, valueize);
    3490                 :          33 :                         _r2 = maybe_push_res_to_seq (&tem_op, lseq);
    3491                 :          33 :                         if (!_r2) goto next_after_fail984;
    3492                 :          33 :                         _o1[0] = _r2;
    3493                 :             :                       }
    3494                 :          33 :                       {
    3495                 :          33 :                         tree _o2[1], _r2;
    3496                 :          33 :                         _o2[0] = captures[1];
    3497                 :          33 :                         if (from_type != TREE_TYPE (_o2[0])
    3498                 :          33 :                             && !useless_type_conversion_p (from_type, TREE_TYPE (_o2[0])))
    3499                 :             :                           {
    3500                 :           2 :                             gimple_match_op tem_op (res_op->cond.any_else (), NOP_EXPR, from_type, _o2[0]);
    3501                 :           2 :                             tem_op.resimplify (lseq, valueize);
    3502                 :           2 :                             _r2 = maybe_push_res_to_seq (&tem_op, lseq);
    3503                 :           2 :                             if (!_r2) goto next_after_fail984;
    3504                 :             :                           }
    3505                 :             :                         else
    3506                 :             :                           _r2 = _o2[0];
    3507                 :          33 :                         _o1[1] = _r2;
    3508                 :             :                       }
    3509                 :          33 :                       {
    3510                 :          33 :                         tree _o2[1], _r2;
    3511                 :          33 :                         _o2[0] = captures[2];
    3512                 :          33 :                         if (from_type != TREE_TYPE (_o2[0])
    3513                 :          33 :                             && !useless_type_conversion_p (from_type, TREE_TYPE (_o2[0])))
    3514                 :             :                           {
    3515                 :           7 :                             gimple_match_op tem_op (res_op->cond.any_else (), NOP_EXPR, from_type, _o2[0]);
    3516                 :           7 :                             tem_op.resimplify (lseq, valueize);
    3517                 :           7 :                             _r2 = maybe_push_res_to_seq (&tem_op, lseq);
    3518                 :           7 :                             if (!_r2) goto next_after_fail984;
    3519                 :             :                           }
    3520                 :             :                         else
    3521                 :             :                           _r2 = _o2[0];
    3522                 :          33 :                         _o1[2] = _r2;
    3523                 :             :                       }
    3524                 :          33 :                       gimple_match_op tem_op (res_op->cond.any_else (), COND_EXPR, TREE_TYPE (_o1[1]), _o1[0], _o1[1], _o1[2]);
    3525                 :          33 :                       tem_op.resimplify (lseq, valueize);
    3526                 :          33 :                       _r1 = maybe_push_res_to_seq (&tem_op, lseq);
    3527                 :          33 :                       if (!_r1) goto next_after_fail984;
    3528                 :          33 :                       res_op->ops[0] = _r1;
    3529                 :             :                     }
    3530                 :          33 :                     res_op->resimplify (lseq, valueize);
    3531                 :          33 :                     if (UNLIKELY (debug_dump)) gimple_dump_logs ("match.pd", 694, __FILE__, __LINE__, true);
    3532                 :          33 :                     return true;
    3533                 :             :                   }
    3534                 :             : next_after_fail984:;
    3535                 :             :                 }
    3536                 :             :             }
    3537                 :             :         }
    3538                 :             :   }
    3539                 :             :   return false;
    3540                 :             : }
    3541                 :             : 
    3542                 :             : bool
    3543                 :           0 : gimple_simplify_529 (gimple_match_op *res_op, gimple_seq *seq,
    3544                 :             :                  tree (*valueize)(tree) ATTRIBUTE_UNUSED,
    3545                 :             :                  const tree ARG_UNUSED (type), tree *ARG_UNUSED (captures))
    3546                 :             : {
    3547                 :           0 :   const bool debug_dump = dump_file && (dump_flags & TDF_FOLDING);
    3548                 :           0 :   if (TYPE_UNSIGNED (type)
    3549                 :             : )
    3550                 :             :     {
    3551                 :           0 :       gimple_seq *lseq = seq;
    3552                 :           0 :       if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail1058;
    3553                 :           0 :       {
    3554                 :           0 :         res_op->set_op (COND_EXPR, type, 3);
    3555                 :           0 :         {
    3556                 :           0 :           tree _o1[2], _r1;
    3557                 :           0 :           _o1[0] = captures[0];
    3558                 :           0 :           _o1[1] = captures[1];
    3559                 :           0 :           gimple_match_op tem_op (res_op->cond.any_else (), GE_EXPR, boolean_type_node, _o1[0], _o1[1]);
    3560                 :           0 :           tem_op.resimplify (lseq, valueize);
    3561                 :           0 :           _r1 = maybe_push_res_to_seq (&tem_op, lseq);
    3562                 :           0 :           if (!_r1) goto next_after_fail1058;
    3563                 :           0 :           res_op->ops[0] = _r1;
    3564                 :             :         }
    3565                 :           0 :         {
    3566                 :           0 :           tree _o1[1], _r1;
    3567                 :           0 :           _o1[0] = captures[0];
    3568                 :           0 :           gimple_match_op tem_op (res_op->cond.any_else (), NEGATE_EXPR, TREE_TYPE (_o1[0]), _o1[0]);
    3569                 :           0 :           tem_op.resimplify (lseq, valueize);
    3570                 :           0 :           _r1 = maybe_push_res_to_seq (&tem_op, lseq);
    3571                 :           0 :           if (!_r1) goto next_after_fail1058;
    3572                 :           0 :           res_op->ops[1] = _r1;
    3573                 :             :         }
    3574                 :           0 :         res_op->ops[2] = captures[2];
    3575                 :           0 :         res_op->resimplify (lseq, valueize);
    3576                 :           0 :         if (UNLIKELY (debug_dump)) gimple_dump_logs ("match.pd", 724, __FILE__, __LINE__, true);
    3577                 :           0 :         return true;
    3578                 :             :       }
    3579                 :             : next_after_fail1058:;
    3580                 :             :     }
    3581                 :             :   return false;
    3582                 :             : }
    3583                 :             : 
    3584                 :             : bool
    3585                 :           0 : gimple_simplify_535 (gimple_match_op *res_op, gimple_seq *seq,
    3586                 :             :                  tree (*valueize)(tree) ATTRIBUTE_UNUSED,
    3587                 :             :                  const tree ARG_UNUSED (type), tree *ARG_UNUSED (captures),
    3588                 :             :  const enum tree_code ARG_UNUSED (cmp))
    3589                 :             : {
    3590                 :           0 :   const bool debug_dump = dump_file && (dump_flags & TDF_FOLDING);
    3591                 :           0 :   if (!HONOR_SIGNED_ZEROS (type)
    3592                 :           0 :  && bitwise_equal_p (captures[0], captures[2])
    3593                 :             : )
    3594                 :             :     {
    3595                 :           0 :       gimple_seq *lseq = seq;
    3596                 :           0 :       if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail1064;
    3597                 :           0 :       {
    3598                 :           0 :         tree tem;
    3599                 :           0 :         tem = captures[1];
    3600                 :           0 :         res_op->set_value (tem);
    3601                 :           0 :         if (UNLIKELY (debug_dump)) gimple_dump_logs ("match.pd", 726, __FILE__, __LINE__, true);
    3602                 :           0 :         return true;
    3603                 :             :       }
    3604                 :           0 : next_after_fail1064:;
    3605                 :             :     }
    3606                 :             :   return false;
    3607                 :             : }
    3608                 :             : 
    3609                 :             : bool
    3610                 :           0 : gimple_simplify_542 (gimple_match_op *res_op, gimple_seq *seq,
    3611                 :             :                  tree (*valueize)(tree) ATTRIBUTE_UNUSED,
    3612                 :             :                  const tree ARG_UNUSED (type), tree *ARG_UNUSED (captures),
    3613                 :             :  const enum tree_code ARG_UNUSED (cmp))
    3614                 :             : {
    3615                 :           0 :   const bool debug_dump = dump_file && (dump_flags & TDF_FOLDING);
    3616                 :           0 :   if (!HONOR_SIGNED_ZEROS (type)
    3617                 :           0 :  && bitwise_equal_p (captures[0], captures[1])
    3618                 :             : )
    3619                 :             :     {
    3620                 :           0 :       gimple_seq *lseq = seq;
    3621                 :           0 :       if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail1072;
    3622                 :           0 :       {
    3623                 :           0 :         tree tem;
    3624                 :           0 :         tem = captures[1];
    3625                 :           0 :         res_op->set_value (tem);
    3626                 :           0 :         if (UNLIKELY (debug_dump)) gimple_dump_logs ("match.pd", 729, __FILE__, __LINE__, true);
    3627                 :           0 :         return true;
    3628                 :             :       }
    3629                 :           0 : next_after_fail1072:;
    3630                 :             :     }
    3631                 :             :   return false;
    3632                 :             : }
    3633                 :             : 
    3634                 :             : bool
    3635                 :           1 : gimple_simplify_550 (gimple_match_op *res_op, gimple_seq *seq,
    3636                 :             :                  tree (*valueize)(tree) ATTRIBUTE_UNUSED,
    3637                 :             :                  const tree ARG_UNUSED (type), tree *ARG_UNUSED (captures),
    3638                 :             :  const enum tree_code ARG_UNUSED (cmp))
    3639                 :             : {
    3640                 :           1 :   const bool debug_dump = dump_file && (dump_flags & TDF_FOLDING);
    3641                 :           1 :   if (!HONOR_SIGNED_ZEROS (type)
    3642                 :           1 :  && !TYPE_UNSIGNED (type)
    3643                 :             : )
    3644                 :             :     {
    3645                 :           1 :       gimple_seq *lseq = seq;
    3646                 :           1 :       if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail1084;
    3647                 :           1 :       {
    3648                 :           1 :         res_op->set_op (ABS_EXPR, type, 1);
    3649                 :           1 :         res_op->ops[0] = captures[0];
    3650                 :           1 :         res_op->resimplify (lseq, valueize);
    3651                 :           1 :         if (UNLIKELY (debug_dump)) gimple_dump_logs ("match.pd", 737, __FILE__, __LINE__, true);
    3652                 :           1 :         return true;
    3653                 :             :       }
    3654                 :           0 : next_after_fail1084:;
    3655                 :             :     }
    3656                 :             :   return false;
    3657                 :             : }
    3658                 :             : 
    3659                 :             : bool
    3660                 :        3258 : gimple_simplify_555 (gimple_match_op *res_op, gimple_seq *seq,
    3661                 :             :                  tree (*valueize)(tree) ATTRIBUTE_UNUSED,
    3662                 :             :                  const tree ARG_UNUSED (type), tree *ARG_UNUSED (captures))
    3663                 :             : {
    3664                 :        3258 :   const bool debug_dump = dump_file && (dump_flags & TDF_FOLDING);
    3665                 :        3258 :   if (integer_pow2p (captures[1])
    3666                 :        3258 :  && !TYPE_UNSIGNED (TREE_TYPE (captures[0]))
    3667                 :             : )
    3668                 :             :     {
    3669                 :           1 :       {
    3670                 :           1 :  int shift = element_precision (captures[0]) - wi::exact_log2 (wi::to_wide (captures[1])) - 1;
    3671                 :           1 :           if (shift >= 0
    3672                 :             : )
    3673                 :             :             {
    3674                 :           1 :               gimple_seq *lseq = seq;
    3675                 :           1 :               if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail1093;
    3676                 :           1 :               {
    3677                 :           1 :                 res_op->set_op (BIT_AND_EXPR, type, 2);
    3678                 :           1 :                 {
    3679                 :           1 :                   tree _o1[1], _r1;
    3680                 :           1 :                   {
    3681                 :           1 :                     tree _o2[2], _r2;
    3682                 :           1 :                     _o2[0] = captures[0];
    3683                 :           1 :                     _o2[1] =  build_int_cst (integer_type_node, shift);
    3684                 :           1 :                     gimple_match_op tem_op (res_op->cond.any_else (), RSHIFT_EXPR, TREE_TYPE (_o2[0]), _o2[0], _o2[1]);
    3685                 :           1 :                     tem_op.resimplify (lseq, valueize);
    3686                 :           1 :                     _r2 = maybe_push_res_to_seq (&tem_op, lseq);
    3687                 :           1 :                     if (!_r2) goto next_after_fail1093;
    3688                 :           0 :                     _o1[0] = _r2;
    3689                 :             :                   }
    3690                 :           0 :                   if (type != TREE_TYPE (_o1[0])
    3691                 :           0 :                       && !useless_type_conversion_p (type, TREE_TYPE (_o1[0])))
    3692                 :             :                     {
    3693                 :           0 :                       gimple_match_op tem_op (res_op->cond.any_else (), NOP_EXPR, type, _o1[0]);
    3694                 :           0 :                       tem_op.resimplify (lseq, valueize);
    3695                 :           0 :                       _r1 = maybe_push_res_to_seq (&tem_op, lseq);
    3696                 :           0 :                       if (!_r1) goto next_after_fail1093;
    3697                 :             :                     }
    3698                 :             :                   else
    3699                 :             :                     _r1 = _o1[0];
    3700                 :           0 :                   res_op->ops[0] = _r1;
    3701                 :             :                 }
    3702                 :           0 :                 res_op->ops[1] = captures[1];
    3703                 :           0 :                 res_op->resimplify (lseq, valueize);
    3704                 :           0 :                 if (UNLIKELY (debug_dump)) gimple_dump_logs ("match.pd", 746, __FILE__, __LINE__, true);
    3705                 :           0 :                 return true;
    3706                 :             :               }
    3707                 :             : next_after_fail1093:;
    3708                 :             :             }
    3709                 :             :           else
    3710                 :             :             {
    3711                 :           0 :               gimple_seq *lseq = seq;
    3712                 :           0 :               if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail1094;
    3713                 :           0 :               {
    3714                 :           0 :                 res_op->set_op (BIT_AND_EXPR, type, 2);
    3715                 :           0 :                 {
    3716                 :           0 :                   tree _o1[1], _r1;
    3717                 :           0 :                   _o1[0] = captures[0];
    3718                 :           0 :                   if (type != TREE_TYPE (_o1[0])
    3719                 :           0 :                       && !useless_type_conversion_p (type, TREE_TYPE (_o1[0])))
    3720                 :             :                     {
    3721                 :           0 :                       gimple_match_op tem_op (res_op->cond.any_else (), NOP_EXPR, type, _o1[0]);
    3722                 :           0 :                       tem_op.resimplify (lseq, valueize);
    3723                 :           0 :                       _r1 = maybe_push_res_to_seq (&tem_op, lseq);
    3724                 :           0 :                       if (!_r1) goto next_after_fail1094;
    3725                 :             :                     }
    3726                 :             :                   else
    3727                 :             :                     _r1 = _o1[0];
    3728                 :           0 :                   res_op->ops[0] = _r1;
    3729                 :             :                 }
    3730                 :           0 :                 res_op->ops[1] = captures[1];
    3731                 :           0 :                 res_op->resimplify (lseq, valueize);
    3732                 :           0 :                 if (UNLIKELY (debug_dump)) gimple_dump_logs ("match.pd", 747, __FILE__, __LINE__, true);
    3733                 :           0 :                 return true;
    3734                 :             :               }
    3735                 :             : next_after_fail1094:;
    3736                 :             :             }
    3737                 :             :       }
    3738                 :             :     }
    3739                 :             :   return false;
    3740                 :             : }
    3741                 :             : 
    3742                 :             : bool
    3743                 :           4 : gimple_simplify_568 (gimple_match_op *res_op, gimple_seq *seq,
    3744                 :             :                  tree (*valueize)(tree) ATTRIBUTE_UNUSED,
    3745                 :             :                  const tree ARG_UNUSED (type), tree *ARG_UNUSED (captures),
    3746                 :             :  const enum tree_code ARG_UNUSED (rotate))
    3747                 :             : {
    3748                 :           4 :   const bool debug_dump = dump_file && (dump_flags & TDF_FOLDING);
    3749                 :           4 :   gimple_seq *lseq = seq;
    3750                 :           4 :   if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail1108;
    3751                 :           4 :   {
    3752                 :           4 :     tree tem;
    3753                 :           4 :     tem = captures[0];
    3754                 :           4 :     res_op->set_value (tem);
    3755                 :           4 :     if (UNLIKELY (debug_dump)) gimple_dump_logs ("match.pd", 756, __FILE__, __LINE__, true);
    3756                 :             :     return true;
    3757                 :             :   }
    3758                 :           0 : next_after_fail1108:;
    3759                 :           0 :   return false;
    3760                 :             : }
    3761                 :             : 
    3762                 :             : bool
    3763                 :          27 : gimple_simplify_573 (gimple_match_op *res_op, gimple_seq *seq,
    3764                 :             :                  tree (*valueize)(tree) ATTRIBUTE_UNUSED,
    3765                 :             :                  const tree ARG_UNUSED (type), tree *ARG_UNUSED (captures),
    3766                 :             :  const enum tree_code ARG_UNUSED (bitop),
    3767                 :             :  const combined_fn ARG_UNUSED (bswap))
    3768                 :             : {
    3769                 :          27 :   const bool debug_dump = dump_file && (dump_flags & TDF_FOLDING);
    3770                 :          27 :   gimple_seq *lseq = seq;
    3771                 :          27 :   if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail1115;
    3772                 :          27 :   {
    3773                 :          27 :     res_op->set_op (bitop, type, 2);
    3774                 :          27 :     res_op->ops[0] = captures[0];
    3775                 :          27 :     {
    3776                 :          27 :       tree _o1[1], _r1;
    3777                 :          27 :       _o1[0] = captures[1];
    3778                 :          27 :       gimple_match_op tem_op (res_op->cond.any_else (), bswap, TREE_TYPE (_o1[0]), _o1[0]);
    3779                 :          27 :       tem_op.resimplify (lseq, valueize);
    3780                 :          27 :       _r1 = maybe_push_res_to_seq (&tem_op, lseq);
    3781                 :          27 :       if (!_r1) goto next_after_fail1115;
    3782                 :          27 :       res_op->ops[1] = _r1;
    3783                 :             :     }
    3784                 :          27 :     res_op->resimplify (lseq, valueize);
    3785                 :          27 :     if (UNLIKELY (debug_dump)) gimple_dump_logs ("match.pd", 763, __FILE__, __LINE__, true);
    3786                 :             :     return true;
    3787                 :             :   }
    3788                 :             : next_after_fail1115:;
    3789                 :             :   return false;
    3790                 :             : }
    3791                 :             : 
    3792                 :             : bool
    3793                 :         384 : gimple_simplify_582 (gimple_match_op *res_op, gimple_seq *seq,
    3794                 :             :                  tree (*valueize)(tree) ATTRIBUTE_UNUSED,
    3795                 :             :                  const tree ARG_UNUSED (type), tree *ARG_UNUSED (captures),
    3796                 :             :  const combined_fn ARG_UNUSED (uncond_op),
    3797                 :             :  const combined_fn ARG_UNUSED (cond_op))
    3798                 :             : {
    3799                 :         384 :   const bool debug_dump = dump_file && (dump_flags & TDF_FOLDING);
    3800                 :         384 :   {
    3801                 :         384 :  tree op_type = TREE_TYPE (captures[1]);
    3802                 :         384 :       if (vectorized_internal_fn_supported_p (as_internal_fn (cond_op), op_type)
    3803                 :         384 :  && is_truth_type_for (op_type, TREE_TYPE (captures[0]))
    3804                 :         768 :  && single_use (captures[1])
    3805                 :             : )
    3806                 :             :         {
    3807                 :         384 :           gimple_seq *lseq = seq;
    3808                 :         384 :           if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail1124;
    3809                 :         384 :           {
    3810                 :         384 :             res_op->set_op (VIEW_CONVERT_EXPR, type, 1);
    3811                 :         384 :             {
    3812                 :         384 :               tree _o1[5], _r1;
    3813                 :         384 :               _o1[0] = captures[0];
    3814                 :         384 :               _o1[1] = captures[2];
    3815                 :         384 :               _o1[2] = captures[3];
    3816                 :         384 :               _o1[3] = captures[4];
    3817                 :         384 :               {
    3818                 :         384 :                 tree _o2[1], _r2;
    3819                 :         384 :                 _o2[0] = captures[5];
    3820                 :         384 :                 gimple_match_op tem_op (res_op->cond.any_else (), VIEW_CONVERT_EXPR, op_type, _o2[0]);
    3821                 :         384 :                 tem_op.resimplify (lseq, valueize);
    3822                 :         384 :                 _r2 = maybe_push_res_to_seq (&tem_op, lseq);
    3823                 :         384 :                 if (!_r2) goto next_after_fail1124;
    3824                 :         384 :                 _o1[4] = _r2;
    3825                 :             :               }
    3826                 :         384 :               gimple_match_op tem_op (res_op->cond.any_else (), cond_op, TREE_TYPE (_o1[1]), _o1[0], _o1[1], _o1[2], _o1[3], _o1[4]);
    3827                 :         384 :               tem_op.resimplify (lseq, valueize);
    3828                 :         384 :               _r1 = maybe_push_res_to_seq (&tem_op, lseq);
    3829                 :         384 :               if (!_r1) goto next_after_fail1124;
    3830                 :         136 :               res_op->ops[0] = _r1;
    3831                 :             :             }
    3832                 :         136 :             res_op->resimplify (lseq, valueize);
    3833                 :         136 :             if (UNLIKELY (debug_dump)) gimple_dump_logs ("match.pd", 767, __FILE__, __LINE__, true);
    3834                 :         136 :             return true;
    3835                 :             :           }
    3836                 :             : next_after_fail1124:;
    3837                 :             :         }
    3838                 :             :   }
    3839                 :             :   return false;
    3840                 :             : }
    3841                 :             : 
    3842                 :             : bool
    3843                 :           0 : gimple_simplify_593 (gimple_match_op *res_op, gimple_seq *seq,
    3844                 :             :                  tree (*valueize)(tree) ATTRIBUTE_UNUSED,
    3845                 :             :                  const tree ARG_UNUSED (type), tree *ARG_UNUSED (captures),
    3846                 :             :  const combined_fn ARG_UNUSED (cond_op))
    3847                 :             : {
    3848                 :           0 :   const bool debug_dump = dump_file && (dump_flags & TDF_FOLDING);
    3849                 :           0 :   gimple_seq *lseq = seq;
    3850                 :           0 :   if (lseq
    3851                 :           0 :       && (!single_use (captures[1])))
    3852                 :           0 :     lseq = NULL;
    3853                 :           0 :   if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail1135;
    3854                 :           0 :   {
    3855                 :           0 :     res_op->set_op (cond_op, type, 5);
    3856                 :           0 :     {
    3857                 :           0 :       tree _o1[2], _r1;
    3858                 :           0 :       _o1[0] = captures[2];
    3859                 :           0 :       _o1[1] = captures[0];
    3860                 :           0 :       gimple_match_op tem_op (res_op->cond.any_else (), BIT_AND_EXPR, TREE_TYPE (_o1[0]), _o1[0], _o1[1]);
    3861                 :           0 :       tem_op.resimplify (lseq, valueize);
    3862                 :           0 :       _r1 = maybe_push_res_to_seq (&tem_op, lseq);
    3863                 :           0 :       if (!_r1) goto next_after_fail1135;
    3864                 :           0 :       res_op->ops[0] = _r1;
    3865                 :             :     }
    3866                 :           0 :     res_op->ops[1] = captures[3];
    3867                 :           0 :     res_op->ops[2] = captures[4];
    3868                 :           0 :     res_op->ops[3] = captures[5];
    3869                 :           0 :     res_op->ops[4] = captures[6];
    3870                 :           0 :     res_op->resimplify (lseq, valueize);
    3871                 :           0 :     if (UNLIKELY (debug_dump)) gimple_dump_logs ("match.pd", 778, __FILE__, __LINE__, true);
    3872                 :             :     return true;
    3873                 :             :   }
    3874                 :             : next_after_fail1135:;
    3875                 :             :   return false;
    3876                 :             : }
    3877                 :             : 
    3878                 :             : bool
    3879                 :          58 : gimple_simplify_602 (gimple_match_op *res_op, gimple_seq *seq,
    3880                 :             :                  tree (*valueize)(tree) ATTRIBUTE_UNUSED,
    3881                 :             :                  const tree ARG_UNUSED (type), tree *ARG_UNUSED (captures),
    3882                 :             :  const combined_fn ARG_UNUSED (sinhs),
    3883                 :             :  const combined_fn ARG_UNUSED (atanhs),
    3884                 :             :  const combined_fn ARG_UNUSED (sqrts))
    3885                 :             : {
    3886                 :          58 :   const bool debug_dump = dump_file && (dump_flags & TDF_FOLDING);
    3887                 :          58 :   if (!flag_errno_math
    3888                 :             : )
    3889                 :             :     {
    3890                 :          30 :       {
    3891                 :          30 :  tree t_one = build_one_cst (type);
    3892                 :          30 :           gimple_seq *lseq = seq;
    3893                 :          30 :           if (lseq
    3894                 :          15 :               && (!single_use (captures[0])))
    3895                 :          27 :             lseq = NULL;
    3896                 :          30 :           if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail1144;
    3897                 :          30 :           {
    3898                 :          30 :             res_op->set_op (RDIV_EXPR, type, 2);
    3899                 :          30 :             res_op->ops[0] = captures[1];
    3900                 :          30 :             {
    3901                 :          30 :               tree _o1[1], _r1;
    3902                 :          30 :               {
    3903                 :          30 :                 tree _o2[2], _r2;
    3904                 :          30 :                 {
    3905                 :          30 :                   tree _o3[2], _r3;
    3906                 :          30 :                   _o3[0] =  t_one;
    3907                 :          30 :                   _o3[1] = captures[1];
    3908                 :          30 :                   gimple_match_op tem_op (res_op->cond.any_else (), MINUS_EXPR, TREE_TYPE (_o3[0]), _o3[0], _o3[1]);
    3909                 :          30 :                   tem_op.resimplify (lseq, valueize);
    3910                 :          30 :                   _r3 = maybe_push_res_to_seq (&tem_op, lseq);
    3911                 :          30 :                   if (!_r3) goto next_after_fail1144;
    3912                 :           3 :                   _o2[0] = _r3;
    3913                 :             :                 }
    3914                 :           3 :                 {
    3915                 :           3 :                   tree _o3[2], _r3;
    3916                 :           3 :                   _o3[0] =  t_one;
    3917                 :           3 :                   _o3[1] = captures[1];
    3918                 :           3 :                   gimple_match_op tem_op (res_op->cond.any_else (), PLUS_EXPR, TREE_TYPE (_o3[0]), _o3[0], _o3[1]);
    3919                 :           3 :                   tem_op.resimplify (lseq, valueize);
    3920                 :           3 :                   _r3 = maybe_push_res_to_seq (&tem_op, lseq);
    3921                 :           3 :                   if (!_r3) goto next_after_fail1144;
    3922                 :           3 :                   _o2[1] = _r3;
    3923                 :             :                 }
    3924                 :           3 :                 gimple_match_op tem_op (res_op->cond.any_else (), MULT_EXPR, TREE_TYPE (_o2[0]), _o2[0], _o2[1]);
    3925                 :           3 :                 tem_op.resimplify (lseq, valueize);
    3926                 :           3 :                 _r2 = maybe_push_res_to_seq (&tem_op, lseq);
    3927                 :           3 :                 if (!_r2) goto next_after_fail1144;
    3928                 :           3 :                 _o1[0] = _r2;
    3929                 :             :               }
    3930                 :           3 :               gimple_match_op tem_op (res_op->cond.any_else (), sqrts, TREE_TYPE (_o1[0]), _o1[0]);
    3931                 :           3 :               tem_op.resimplify (lseq, valueize);
    3932                 :           3 :               _r1 = maybe_push_res_to_seq (&tem_op, lseq);
    3933                 :           3 :               if (!_r1) goto next_after_fail1144;
    3934                 :           3 :               res_op->ops[1] = _r1;
    3935                 :             :             }
    3936                 :           3 :             res_op->resimplify (lseq, valueize);
    3937                 :           3 :             if (UNLIKELY (debug_dump)) gimple_dump_logs ("match.pd", 787, __FILE__, __LINE__, true);
    3938                 :           3 :             return true;
    3939                 :             :           }
    3940                 :             : next_after_fail1144:;
    3941                 :             :       }
    3942                 :             :     }
    3943                 :             :   return false;
    3944                 :             : }
    3945                 :             : 
    3946                 :             : bool
    3947                 :         298 : gimple_simplify_620 (gimple_match_op *res_op, gimple_seq *seq,
    3948                 :             :                  tree (*valueize)(tree) ATTRIBUTE_UNUSED,
    3949                 :             :                  const tree ARG_UNUSED (type), tree *ARG_UNUSED (captures),
    3950                 :             :  const combined_fn ARG_UNUSED (fmas))
    3951                 :             : {
    3952                 :         298 :   const bool debug_dump = dump_file && (dump_flags & TDF_FOLDING);
    3953                 :         298 :   if (canonicalize_math_after_vectorization_p ()
    3954                 :             : )
    3955                 :             :     {
    3956                 :           0 :       gimple_seq *lseq = seq;
    3957                 :           0 :       if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail1162;
    3958                 :           0 :       {
    3959                 :           0 :         res_op->set_op (CFN_FNMS, type, 3);
    3960                 :           0 :         res_op->ops[0] = captures[0];
    3961                 :           0 :         res_op->ops[1] = captures[1];
    3962                 :           0 :         res_op->ops[2] = captures[2];
    3963                 :           0 :         res_op->resimplify (lseq, valueize);
    3964                 :           0 :         if (UNLIKELY (debug_dump)) gimple_dump_logs ("match.pd", 805, __FILE__, __LINE__, true);
    3965                 :           0 :         return true;
    3966                 :             :       }
    3967                 :           0 : next_after_fail1162:;
    3968                 :             :     }
    3969                 :             :   return false;
    3970                 :             : }
    3971                 :             : 
    3972                 :             : bool
    3973                 :        1772 : gimple_simplify_628 (gimple_match_op *res_op, gimple_seq *seq,
    3974                 :             :                  tree (*valueize)(tree) ATTRIBUTE_UNUSED,
    3975                 :             :                  const tree ARG_UNUSED (type), tree *ARG_UNUSED (captures),
    3976                 :             :  const combined_fn ARG_UNUSED (CTZ))
    3977                 :             : {
    3978                 :        1772 :   const bool debug_dump = dump_file && (dump_flags & TDF_FOLDING);
    3979                 :        3544 :   if (INTEGRAL_TYPE_P (TREE_TYPE (captures[0]))
    3980                 :        1772 :  && INTEGRAL_TYPE_P (TREE_TYPE (captures[1]))
    3981                 :        3544 :  && TYPE_PRECISION (TREE_TYPE (captures[0])) > TYPE_PRECISION (TREE_TYPE (captures[1]))
    3982                 :             : )
    3983                 :             :     {
    3984                 :         408 :       {
    3985                 :         408 :  combined_fn cfn = CFN_LAST;
    3986                 :         408 :  tree type0 = TREE_TYPE (captures[1]);
    3987                 :         408 :  if (TREE_CODE (type0) == BITINT_TYPE)
    3988                 :             :  {
    3989                 :          12 :  if (TYPE_PRECISION (type0) > MAX_FIXED_MODE_SIZE)
    3990                 :             :  cfn = CFN_CTZ;
    3991                 :             :  else
    3992                 :           0 :  type0
    3993                 :           0 :  = build_nonstandard_integer_type (TYPE_PRECISION (type0),
    3994                 :             :  1);
    3995                 :             :  }
    3996                 :         408 :  type0 = unsigned_type_for (type0);
    3997                 :         408 :  if (cfn == CFN_LAST
    3998                 :         408 :  && direct_internal_fn_supported_p (IFN_CTZ, type0,
    3999                 :             :  OPTIMIZE_FOR_BOTH))
    4000                 :             :  cfn = CFN_CTZ;
    4001                 :         382 :  if (cfn == CFN_LAST
    4002                 :         376 :  && TYPE_PRECISION (TREE_TYPE (captures[0])) > BITS_PER_WORD
    4003                 :         382 :  && !direct_internal_fn_supported_p (IFN_CTZ,
    4004                 :           0 :  TREE_TYPE (captures[0]),
    4005                 :             :  OPTIMIZE_FOR_BOTH))
    4006                 :             :  {
    4007                 :           0 :  if (TYPE_PRECISION (type0)
    4008                 :           0 :  == TYPE_PRECISION (unsigned_type_node))
    4009                 :             :  cfn = CFN_BUILT_IN_CTZ;
    4010                 :           0 :  else if (TYPE_PRECISION (type0)
    4011                 :           0 :  == TYPE_PRECISION (long_long_unsigned_type_node))
    4012                 :             :  cfn = CFN_BUILT_IN_CTZLL;
    4013                 :             :  }
    4014                 :         408 :           if (cfn == CFN_CTZ
    4015                 :             : )
    4016                 :             :             {
    4017                 :          32 :               gimple_seq *lseq = seq;
    4018                 :          32 :               if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail1170;
    4019                 :          32 :               {
    4020                 :          32 :                 res_op->set_op (CFN_CTZ, type, 1);
    4021                 :          32 :                 {
    4022                 :          32 :                   tree _o1[1], _r1;
    4023                 :          32 :                   _o1[0] = captures[1];
    4024                 :          32 :                   if (type0 != TREE_TYPE (_o1[0])
    4025                 :          32 :                       && !useless_type_conversion_p (type0, TREE_TYPE (_o1[0])))
    4026                 :             :                     {
    4027                 :          11 :                       gimple_match_op tem_op (res_op->cond.any_else (), NOP_EXPR, type0, _o1[0]);
    4028                 :          11 :                       tem_op.resimplify (lseq, valueize);
    4029                 :          11 :                       _r1 = maybe_push_res_to_seq (&tem_op, lseq);
    4030                 :          11 :                       if (!_r1) goto next_after_fail1170;
    4031                 :             :                     }
    4032                 :             :                   else
    4033                 :             :                     _r1 = _o1[0];
    4034                 :          27 :                   res_op->ops[0] = _r1;
    4035                 :             :                 }
    4036                 :          27 :                 res_op->resimplify (lseq, valueize);
    4037                 :          27 :                 if (UNLIKELY (debug_dump)) gimple_dump_logs ("match.pd", 813, __FILE__, __LINE__, true);
    4038                 :          27 :                 return true;
    4039                 :             :               }
    4040                 :             : next_after_fail1170:;
    4041                 :             :             }
    4042                 :             :           else
    4043                 :             :             {
    4044                 :         376 :               if (cfn == CFN_BUILT_IN_CTZ
    4045                 :             : )
    4046                 :             :                 {
    4047                 :           0 :                   gimple_seq *lseq = seq;
    4048                 :           0 :                   if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail1171;
    4049                 :           0 :                   {
    4050                 :           0 :                     res_op->set_op (CFN_BUILT_IN_CTZ, type, 1);
    4051                 :           0 :                     {
    4052                 :           0 :                       tree _o1[1], _r1;
    4053                 :           0 :                       _o1[0] = captures[1];
    4054                 :           0 :                       if (type0 != TREE_TYPE (_o1[0])
    4055                 :           0 :                           && !useless_type_conversion_p (type0, TREE_TYPE (_o1[0])))
    4056                 :             :                         {
    4057                 :           0 :                           gimple_match_op tem_op (res_op->cond.any_else (), NOP_EXPR, type0, _o1[0]);
    4058                 :           0 :                           tem_op.resimplify (lseq, valueize);
    4059                 :           0 :                           _r1 = maybe_push_res_to_seq (&tem_op, lseq);
    4060                 :           0 :                           if (!_r1) goto next_after_fail1171;
    4061                 :             :                         }
    4062                 :             :                       else
    4063                 :             :                         _r1 = _o1[0];
    4064                 :           0 :                       res_op->ops[0] = _r1;
    4065                 :             :                     }
    4066                 :           0 :                     res_op->resimplify (lseq, valueize);
    4067                 :           0 :                     if (UNLIKELY (debug_dump)) gimple_dump_logs ("match.pd", 814, __FILE__, __LINE__, true);
    4068                 :           0 :                     return true;
    4069                 :             :                   }
    4070                 :             : next_after_fail1171:;
    4071                 :             :                 }
    4072                 :             :               else
    4073                 :             :                 {
    4074                 :         376 :                   if (cfn == CFN_BUILT_IN_CTZLL
    4075                 :             : )
    4076                 :             :                     {
    4077                 :           0 :                       gimple_seq *lseq = seq;
    4078                 :           0 :                       if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail1172;
    4079                 :           0 :                       {
    4080                 :           0 :                         res_op->set_op (CFN_BUILT_IN_CTZLL, type, 1);
    4081                 :           0 :                         {
    4082                 :           0 :                           tree _o1[1], _r1;
    4083                 :           0 :                           _o1[0] = captures[1];
    4084                 :           0 :                           if (type0 != TREE_TYPE (_o1[0])
    4085                 :           0 :                               && !useless_type_conversion_p (type0, TREE_TYPE (_o1[0])))
    4086                 :             :                             {
    4087                 :           0 :                               gimple_match_op tem_op (res_op->cond.any_else (), NOP_EXPR, type0, _o1[0]);
    4088                 :           0 :                               tem_op.resimplify (lseq, valueize);
    4089                 :           0 :                               _r1 = maybe_push_res_to_seq (&tem_op, lseq);
    4090                 :           0 :                               if (!_r1) goto next_after_fail1172;
    4091                 :             :                             }
    4092                 :             :                           else
    4093                 :             :                             _r1 = _o1[0];
    4094                 :           0 :                           res_op->ops[0] = _r1;
    4095                 :             :                         }
    4096                 :           0 :                         res_op->resimplify (lseq, valueize);
    4097                 :           0 :                         if (UNLIKELY (debug_dump)) gimple_dump_logs ("match.pd", 815, __FILE__, __LINE__, true);
    4098                 :           0 :                         return true;
    4099                 :             :                       }
    4100                 :             : next_after_fail1172:;
    4101                 :             :                     }
    4102                 :             :                 }
    4103                 :             :             }
    4104                 :             :       }
    4105                 :             :     }
    4106                 :             :   return false;
    4107                 :             : }
    4108                 :             : 
    4109                 :             : bool
    4110                 :          49 : gimple_simplify_646 (gimple_match_op *res_op, gimple_seq *seq,
    4111                 :             :                  tree (*valueize)(tree) ATTRIBUTE_UNUSED,
    4112                 :             :                  const tree ARG_UNUSED (type), tree *ARG_UNUSED (captures),
    4113                 :             :  const combined_fn ARG_UNUSED (reduc))
    4114                 :             : {
    4115                 :          49 :   const bool debug_dump = dump_file && (dump_flags & TDF_FOLDING);
    4116                 :          49 :   {
    4117                 :          49 :  tree ctor = (TREE_CODE (captures[0]) == SSA_NAME
    4118                 :          49 :  ? gimple_assign_rhs1 (SSA_NAME_DEF_STMT (captures[0])) : captures[0]);
    4119                 :          49 :  tree elt = ctor_single_nonzero_element (ctor);
    4120                 :          49 :       if (elt
    4121                 :           4 :  && !HONOR_SNANS (type)
    4122                 :          53 :  && !HONOR_SIGNED_ZEROS (type)
    4123                 :             : )
    4124                 :             :         {
    4125                 :           4 :           gimple_seq *lseq = seq;
    4126                 :           4 :           if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail1197;
    4127                 :           4 :           {
    4128                 :           4 :             tree tem;
    4129                 :           4 :             tem =  elt;
    4130                 :           4 :             res_op->set_value (tem);
    4131                 :           4 :             if (UNLIKELY (debug_dump)) gimple_dump_logs ("match.pd", 836, __FILE__, __LINE__, true);
    4132                 :           4 :             return true;
    4133                 :             :           }
    4134                 :           0 : next_after_fail1197:;
    4135                 :             :         }
    4136                 :             :   }
    4137                 :             :   return false;
    4138                 :             : }
    4139                 :             : 
    4140                 :             : bool
    4141                 :        3926 : gimple_simplify_CFN_BUILT_IN_COS (gimple_match_op *res_op, gimple_seq *seq,
    4142                 :             :                  tree (*valueize)(tree) ATTRIBUTE_UNUSED,
    4143                 :             :                  code_helper ARG_UNUSED (code), tree ARG_UNUSED (type), tree _p0)
    4144                 :             : {
    4145                 :        3926 :   const bool debug_dump = dump_file && (dump_flags & TDF_FOLDING);
    4146                 :        3926 :   switch (TREE_CODE (_p0))
    4147                 :             :     {
    4148                 :        3721 :     case SSA_NAME:
    4149                 :        3721 :       if (gimple *_d1 = get_def (valueize, _p0))
    4150                 :             :         {
    4151                 :        2084 :           if (gassign *_a1 = dyn_cast <gassign *> (_d1))
    4152                 :        1415 :             switch (gimple_assign_rhs_code (_a1))
    4153                 :             :               {
    4154                 :          28 :               case NEGATE_EXPR:
    4155                 :          28 :                 {
    4156                 :          28 :                   tree _q20 = gimple_assign_rhs1 (_a1);
    4157                 :          28 :                   _q20 = do_valueize (valueize, _q20);
    4158                 :          28 :                   {
    4159                 :          28 :                     tree captures[1] ATTRIBUTE_UNUSED = { _q20 };
    4160                 :          28 :                     const combined_fn coss = CFN_BUILT_IN_COS;
    4161                 :          28 :                     gimple_seq *lseq = seq;
    4162                 :          28 :                     if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail1230;
    4163                 :          28 :                     {
    4164                 :          28 :                       res_op->set_op (coss, type, 1);
    4165                 :          28 :                       res_op->ops[0] = captures[0];
    4166                 :          28 :                       res_op->resimplify (lseq, valueize);
    4167                 :          28 :                       if (UNLIKELY (debug_dump)) gimple_dump_logs ("match.pd", 860, __FILE__, __LINE__, true);
    4168                 :          28 :                       return true;
    4169                 :             :                     }
    4170                 :           0 : next_after_fail1230:;
    4171                 :             :                   }
    4172                 :           0 :                   break;
    4173                 :             :                 }
    4174                 :           6 :               case ABS_EXPR:
    4175                 :           6 :                 {
    4176                 :           6 :                   tree _q20 = gimple_assign_rhs1 (_a1);
    4177                 :           6 :                   _q20 = do_valueize (valueize, _q20);
    4178                 :           6 :                   {
    4179                 :           6 :                     tree captures[1] ATTRIBUTE_UNUSED = { _q20 };
    4180                 :           6 :                     const combined_fn coss = CFN_BUILT_IN_COS;
    4181                 :           6 :                     gimple_seq *lseq = seq;
    4182                 :           6 :                     if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail1231;
    4183                 :           6 :                     {
    4184                 :           6 :                       res_op->set_op (coss, type, 1);
    4185                 :           6 :                       res_op->ops[0] = captures[0];
    4186                 :           6 :                       res_op->resimplify (lseq, valueize);
    4187                 :           6 :                       if (UNLIKELY (debug_dump)) gimple_dump_logs ("match.pd", 860, __FILE__, __LINE__, true);
    4188                 :           6 :                       return true;
    4189                 :             :                     }
    4190                 :           0 : next_after_fail1231:;
    4191                 :             :                   }
    4192                 :           0 :                   break;
    4193                 :             :                 }
    4194                 :             :               default:;
    4195                 :             :               }
    4196                 :         919 :           else if (gcall *_c1 = dyn_cast <gcall *> (_d1))
    4197                 :         201 :             switch (gimple_call_combined_fn (_c1))
    4198                 :             :               {
    4199                 :          12 :               case CFN_BUILT_IN_ATAN:
    4200                 :          12 :                 if (gimple_call_num_args (_c1) == 1)
    4201                 :             :                   {
    4202                 :          12 :                     tree _q20 = gimple_call_arg (_c1, 0);
    4203                 :          12 :                     _q20 = do_valueize (valueize, _q20);
    4204                 :          12 :                     {
    4205                 :          12 :                       tree captures[2] ATTRIBUTE_UNUSED = { _p0, _q20 };
    4206                 :          12 :                       if (gimple_simplify_399 (res_op, seq, valueize, type, captures, CFN_BUILT_IN_COS, CFN_BUILT_IN_ATAN, CFN_BUILT_IN_SQRT, CFN_BUILT_IN_COPYSIGN))
    4207                 :           2 :                         return true;
    4208                 :             :                     }
    4209                 :             :                   }
    4210                 :             :                 break;
    4211                 :           4 :               case CFN_BUILT_IN_COPYSIGN:
    4212                 :           4 :                 if (gimple_call_num_args (_c1) == 2)
    4213                 :             :                   {
    4214                 :           4 :                     tree _q20 = gimple_call_arg (_c1, 0);
    4215                 :           4 :                     _q20 = do_valueize (valueize, _q20);
    4216                 :           4 :                     tree _q21 = gimple_call_arg (_c1, 1);
    4217                 :           4 :                     _q21 = do_valueize (valueize, _q21);
    4218                 :           4 :                     {
    4219                 :           4 :                       tree captures[2] ATTRIBUTE_UNUSED = { _q20, _q21 };
    4220                 :           4 :                       if (gimple_simplify_398 (res_op, seq, valueize, type, captures, CFN_BUILT_IN_COPYSIGN, CFN_BUILT_IN_COS))
    4221                 :           4 :                         return true;
    4222                 :             :                     }
    4223                 :             :                   }
    4224                 :             :                 break;
    4225                 :           0 :               case CFN_BUILT_IN_COPYSIGNF:
    4226                 :           0 :                 if (gimple_call_num_args (_c1) == 2)
    4227                 :             :                   {
    4228                 :           0 :                     tree _q20 = gimple_call_arg (_c1, 0);
    4229                 :           0 :                     _q20 = do_valueize (valueize, _q20);
    4230                 :           0 :                     tree _q21 = gimple_call_arg (_c1, 1);
    4231                 :           0 :                     _q21 = do_valueize (valueize, _q21);
    4232                 :           0 :                     {
    4233                 :           0 :                       tree captures[2] ATTRIBUTE_UNUSED = { _q20, _q21 };
    4234                 :           0 :                       if (gimple_simplify_398 (res_op, seq, valueize, type, captures, CFN_BUILT_IN_COPYSIGNF, CFN_BUILT_IN_COS))
    4235                 :           0 :                         return true;
    4236                 :             :                     }
    4237                 :             :                   }
    4238                 :             :                 break;
    4239                 :           0 :               case CFN_BUILT_IN_COPYSIGNL:
    4240                 :           0 :                 if (gimple_call_num_args (_c1) == 2)
    4241                 :             :                   {
    4242                 :           0 :                     tree _q20 = gimple_call_arg (_c1, 0);
    4243                 :           0 :                     _q20 = do_valueize (valueize, _q20);
    4244                 :           0 :                     tree _q21 = gimple_call_arg (_c1, 1);
    4245                 :           0 :                     _q21 = do_valueize (valueize, _q21);
    4246                 :           0 :                     {
    4247                 :           0 :                       tree captures[2] ATTRIBUTE_UNUSED = { _q20, _q21 };
    4248                 :           0 :                       if (gimple_simplify_398 (res_op, seq, valueize, type, captures, CFN_BUILT_IN_COPYSIGNL, CFN_BUILT_IN_COS))
    4249                 :           0 :                         return true;
    4250                 :             :                     }
    4251                 :             :                   }
    4252                 :             :                 break;
    4253                 :           4 :               case CFN_COPYSIGN:
    4254                 :           4 :                 if (gimple_call_num_args (_c1) == 2)
    4255                 :             :                   {
    4256                 :           4 :                     tree _q20 = gimple_call_arg (_c1, 0);
    4257                 :           4 :                     _q20 = do_valueize (valueize, _q20);
    4258                 :           4 :                     tree _q21 = gimple_call_arg (_c1, 1);
    4259                 :           4 :                     _q21 = do_valueize (valueize, _q21);
    4260                 :           4 :                     {
    4261                 :           4 :                       tree captures[2] ATTRIBUTE_UNUSED = { _q20, _q21 };
    4262                 :           4 :                       if (gimple_simplify_398 (res_op, seq, valueize, type, captures, CFN_COPYSIGN, CFN_BUILT_IN_COS))
    4263                 :           4 :                         return true;
    4264                 :             :                     }
    4265                 :             :                   }
    4266                 :             :                 break;
    4267                 :             :               default:;
    4268                 :             :               }
    4269                 :             :         }
    4270                 :             :       break;
    4271                 :             :     default:;
    4272                 :             :     }
    4273                 :             :   return false;
    4274                 :             : }
    4275                 :             : 
    4276                 :             : bool
    4277                 :     7502380 : gimple_simplify_NEGATE_EXPR (gimple_match_op *res_op, gimple_seq *seq,
    4278                 :             :                  tree (*valueize)(tree) ATTRIBUTE_UNUSED,
    4279                 :             :                  code_helper ARG_UNUSED (code), tree ARG_UNUSED (type), tree _p0)
    4280                 :             : {
    4281                 :     7502380 :   const bool debug_dump = dump_file && (dump_flags & TDF_FOLDING);
    4282                 :     7502380 :   switch (TREE_CODE (_p0))
    4283                 :             :     {
    4284                 :     7463837 :     case SSA_NAME:
    4285                 :     7463837 :       if (gimple *_d1 = get_def (valueize, _p0))
    4286                 :             :         {
    4287                 :     6942742 :           if (gassign *_a1 = dyn_cast <gassign *> (_d1))
    4288                 :     7306674 :             switch (gimple_assign_rhs_code (_a1))
    4289                 :             :               {
    4290                 :        5847 :               case ABS_EXPR:
    4291                 :        5847 :                 {
    4292                 :        5847 :                   tree _q20 = gimple_assign_rhs1 (_a1);
    4293                 :        5847 :                   _q20 = do_valueize (valueize, _q20);
    4294                 :        5847 :                   {
    4295                 :        5847 :                     tree captures[1] ATTRIBUTE_UNUSED = { _q20 };
    4296                 :        5847 :                     if (direct_internal_fn_supported_p (IFN_COPYSIGN, type,
    4297                 :             :  OPTIMIZE_FOR_BOTH)
    4298                 :             : )
    4299                 :             :                       {
    4300                 :        2518 :                         gimple_seq *lseq = seq;
    4301                 :        2518 :                         if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail1244;
    4302                 :        2518 :                         {
    4303                 :        2518 :                           res_op->set_op (CFN_COPYSIGN, type, 2);
    4304                 :        2518 :                           res_op->ops[0] = captures[0];
    4305                 :        2518 :                           res_op->ops[1] =  build_minus_one_cst (type);
    4306                 :        2518 :                           res_op->resimplify (lseq, valueize);
    4307                 :        2518 :                           if (UNLIKELY (debug_dump)) gimple_dump_logs ("match.pd", 861, __FILE__, __LINE__, true);
    4308                 :        2518 :                           return true;
    4309                 :             :                         }
    4310                 :           0 : next_after_fail1244:;
    4311                 :             :                       }
    4312                 :             :                   }
    4313                 :             :                   break;
    4314                 :             :                 }
    4315                 :      685298 :               case PLUS_EXPR:
    4316                 :      685298 :                 {
    4317                 :      685298 :                   tree _q20 = gimple_assign_rhs1 (_a1);
    4318                 :      685298 :                   _q20 = do_valueize (valueize, _q20);
    4319                 :      685298 :                   tree _q21 = gimple_assign_rhs2 (_a1);
    4320                 :      685298 :                   _q21 = do_valueize (valueize, _q21);
    4321                 :      685298 :                   if (tree_swap_operands_p (_q20, _q21))
    4322                 :       34101 :                     std::swap (_q20, _q21);
    4323                 :      685298 :                   if (gimple_negate_expr_p (_q21, valueize))
    4324                 :             :                     {
    4325                 :      364654 :                       {
    4326                 :      364654 :                         tree captures[2] ATTRIBUTE_UNUSED = { _q20, _q21 };
    4327                 :      364654 :                         if (gimple_simplify_409 (res_op, seq, valueize, type, captures))
    4328                 :      360641 :                           return true;
    4329                 :             :                       }
    4330                 :             :                     }
    4331                 :      324657 :                   if (gimple_negate_expr_p (_q20, valueize))
    4332                 :             :                     {
    4333                 :        3691 :                       {
    4334                 :        3691 :                         tree captures[2] ATTRIBUTE_UNUSED = { _q21, _q20 };
    4335                 :        3691 :                         if (gimple_simplify_409 (res_op, seq, valueize, type, captures))
    4336                 :        1686 :                           return true;
    4337                 :             :                       }
    4338                 :             :                     }
    4339                 :     6945675 :                   break;
    4340                 :             :                 }
    4341                 :      216366 :               case MINUS_EXPR:
    4342                 :      216366 :                 {
    4343                 :      216366 :                   tree _q20 = gimple_assign_rhs1 (_a1);
    4344                 :      216366 :                   _q20 = do_valueize (valueize, _q20);
    4345                 :      216366 :                   tree _q21 = gimple_assign_rhs2 (_a1);
    4346                 :      216366 :                   _q21 = do_valueize (valueize, _q21);
    4347                 :      216366 :                   {
    4348                 :      216366 :                     tree captures[2] ATTRIBUTE_UNUSED = { _q20, _q21 };
    4349                 :      216366 :                     if ((ANY_INTEGRAL_TYPE_P (type) && !TYPE_OVERFLOW_SANITIZED (type))
    4350                 :      302702 :  || (FLOAT_TYPE_P (type)
    4351                 :       86336 :  && !HONOR_SIGN_DEPENDENT_ROUNDING (type)
    4352                 :       86336 :  && !HONOR_SIGNED_ZEROS (type))
    4353                 :             : )
    4354                 :             :                       {
    4355                 :      133421 :                         gimple_seq *lseq = seq;
    4356                 :      133421 :                         if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail1245;
    4357                 :      133421 :                         {
    4358                 :      133421 :                           res_op->set_op (MINUS_EXPR, type, 2);
    4359                 :      133421 :                           res_op->ops[0] = captures[1];
    4360                 :      133421 :                           res_op->ops[1] = captures[0];
    4361                 :      133421 :                           res_op->resimplify (lseq, valueize);
    4362                 :      133421 :                           if (UNLIKELY (debug_dump)) gimple_dump_logs ("match.pd", 862, __FILE__, __LINE__, true);
    4363                 :      133421 :                           return true;
    4364                 :             :                         }
    4365                 :           0 : next_after_fail1245:;
    4366                 :             :                       }
    4367                 :             :                   }
    4368                 :       82945 :                   break;
    4369                 :             :                 }
    4370                 :        3817 :               case POINTER_DIFF_EXPR:
    4371                 :        3817 :                 {
    4372                 :        3817 :                   tree _q20 = gimple_assign_rhs1 (_a1);
    4373                 :        3817 :                   _q20 = do_valueize (valueize, _q20);
    4374                 :        3817 :                   tree _q21 = gimple_assign_rhs2 (_a1);
    4375                 :        3817 :                   _q21 = do_valueize (valueize, _q21);
    4376                 :        3817 :                   {
    4377                 :        3817 :                     tree captures[2] ATTRIBUTE_UNUSED = { _q20, _q21 };
    4378                 :        3817 :                     if (TYPE_OVERFLOW_UNDEFINED (type)
    4379                 :             : )
    4380                 :             :                       {
    4381                 :        3817 :                         gimple_seq *lseq = seq;
    4382                 :        3817 :                         if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail1246;
    4383                 :        3817 :                         {
    4384                 :        3817 :                           res_op->set_op (POINTER_DIFF_EXPR, type, 2);
    4385                 :        3817 :                           res_op->ops[0] = captures[1];
    4386                 :        3817 :                           res_op->ops[1] = captures[0];
    4387                 :        3817 :                           res_op->resimplify (lseq, valueize);
    4388                 :        3817 :                           if (UNLIKELY (debug_dump)) gimple_dump_logs ("match.pd", 863, __FILE__, __LINE__, true);
    4389                 :        3817 :                           return true;
    4390                 :             :                         }
    4391                 :           0 : next_after_fail1246:;
    4392                 :             :                       }
    4393                 :             :                   }
    4394                 :           0 :                   break;
    4395                 :             :                 }
    4396                 :      329942 :               case MULT_EXPR:
    4397                 :      329942 :                 {
    4398                 :      329942 :                   tree _q20 = gimple_assign_rhs1 (_a1);
    4399                 :      329942 :                   _q20 = do_valueize (valueize, _q20);
    4400                 :      329942 :                   tree _q21 = gimple_assign_rhs2 (_a1);
    4401                 :      329942 :                   _q21 = do_valueize (valueize, _q21);
    4402                 :      329942 :                   if (tree_swap_operands_p (_q20, _q21))
    4403                 :       22504 :                     std::swap (_q20, _q21);
    4404                 :      329942 :                   if (gimple_negate_expr_p (_q21, valueize))
    4405                 :             :                     {
    4406                 :      101464 :                       {
    4407                 :      101464 :                         tree captures[3] ATTRIBUTE_UNUSED = { _p0, _q20, _q21 };
    4408                 :      101464 :                         if (gimple_simplify_410 (res_op, seq, valueize, type, captures))
    4409                 :        9013 :                           return true;
    4410                 :             :                       }
    4411                 :             :                     }
    4412                 :      320929 :                   if (gimple_negate_expr_p (_q20, valueize))
    4413                 :             :                     {
    4414                 :        4564 :                       {
    4415                 :        4564 :                         tree captures[3] ATTRIBUTE_UNUSED = { _p0, _q21, _q20 };
    4416                 :        4564 :                         if (gimple_simplify_410 (res_op, seq, valueize, type, captures))
    4417                 :        1713 :                           return true;
    4418                 :             :                       }
    4419                 :             :                     }
    4420                 :     6945675 :                   break;
    4421                 :             :                 }
    4422                 :       45165 :               case RDIV_EXPR:
    4423                 :       45165 :                 {
    4424                 :       45165 :                   tree _q20 = gimple_assign_rhs1 (_a1);
    4425                 :       45165 :                   _q20 = do_valueize (valueize, _q20);
    4426                 :       45165 :                   tree _q21 = gimple_assign_rhs2 (_a1);
    4427                 :       45165 :                   _q21 = do_valueize (valueize, _q21);
    4428                 :       45165 :                   if (gimple_negate_expr_p (_q21, valueize))
    4429                 :             :                     {
    4430                 :         124 :                       {
    4431                 :         124 :                         tree captures[3] ATTRIBUTE_UNUSED = { _p0, _q20, _q21 };
    4432                 :         124 :                         if (! HONOR_SIGN_DEPENDENT_ROUNDING (type)
    4433                 :         124 :  && single_use (captures[0])
    4434                 :             : )
    4435                 :             :                           {
    4436                 :           1 :                             gimple_seq *lseq = seq;
    4437                 :           1 :                             if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail1247;
    4438                 :           1 :                             {
    4439                 :           1 :                               res_op->set_op (RDIV_EXPR, type, 2);
    4440                 :           1 :                               res_op->ops[0] = captures[1];
    4441                 :           1 :                               {
    4442                 :           1 :                                 tree _o1[1], _r1;
    4443                 :           1 :                                 _o1[0] = captures[2];
    4444                 :           1 :                                 gimple_match_op tem_op (res_op->cond.any_else (), NEGATE_EXPR, TREE_TYPE (_o1[0]), _o1[0]);
    4445                 :           1 :                                 tem_op.resimplify (lseq, valueize);
    4446                 :           1 :                                 _r1 = maybe_push_res_to_seq (&tem_op, lseq);
    4447                 :           1 :                                 if (!_r1) goto next_after_fail1247;
    4448                 :           1 :                                 res_op->ops[1] = _r1;
    4449                 :             :                               }
    4450                 :           1 :                               res_op->resimplify (lseq, valueize);
    4451                 :           1 :                               if (UNLIKELY (debug_dump)) gimple_dump_logs ("match.pd", 864, __FILE__, __LINE__, true);
    4452                 :           1 :                               return true;
    4453                 :             :                             }
    4454                 :         123 : next_after_fail1247:;
    4455                 :             :                           }
    4456                 :             :                       }
    4457                 :             :                     }
    4458                 :       45164 :                   if (gimple_negate_expr_p (_q20, valueize))
    4459                 :             :                     {
    4460                 :        2713 :                       {
    4461                 :        2713 :                         tree captures[3] ATTRIBUTE_UNUSED = { _p0, _q20, _q21 };
    4462                 :        2713 :                         if (! HONOR_SIGN_DEPENDENT_ROUNDING (type)
    4463                 :        2713 :  && single_use (captures[0])
    4464                 :             : )
    4465                 :             :                           {
    4466                 :         242 :                             gimple_seq *lseq = seq;
    4467                 :         242 :                             if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail1248;
    4468                 :         242 :                             {
    4469                 :         242 :                               res_op->set_op (RDIV_EXPR, type, 2);
    4470                 :         242 :                               {
    4471                 :         242 :                                 tree _o1[1], _r1;
    4472                 :         242 :                                 _o1[0] = captures[1];
    4473                 :         242 :                                 gimple_match_op tem_op (res_op->cond.any_else (), NEGATE_EXPR, TREE_TYPE (_o1[0]), _o1[0]);
    4474                 :         242 :                                 tem_op.resimplify (lseq, valueize);
    4475                 :         242 :                                 _r1 = maybe_push_res_to_seq (&tem_op, lseq);
    4476                 :         242 :                                 if (!_r1) goto next_after_fail1248;
    4477                 :         242 :                                 res_op->ops[0] = _r1;
    4478                 :             :                               }
    4479                 :         242 :                               res_op->ops[1] = captures[2];
    4480                 :         242 :                               res_op->resimplify (lseq, valueize);
    4481                 :         242 :                               if (UNLIKELY (debug_dump)) gimple_dump_logs ("match.pd", 865, __FILE__, __LINE__, true);
    4482                 :         242 :                               return true;
    4483                 :             :                             }
    4484                 :        2471 : next_after_fail1248:;
    4485                 :             :                           }
    4486                 :             :                       }
    4487                 :             :                     }
    4488                 :             :                   break;
    4489                 :             :                 }
    4490                 :     2175636 :               CASE_CONVERT:
    4491                 :     2175636 :                 {
    4492                 :     2175636 :                   tree _q20 = gimple_assign_rhs1 (_a1);
    4493                 :     2175636 :                   _q20 = do_valueize (valueize, _q20);
    4494                 :     2175636 :                   switch (TREE_CODE (_q20))
    4495                 :             :                     {
    4496                 :     2167122 :                     case SSA_NAME:
    4497                 :     2167122 :                       if (gimple *_d2 = get_def (valueize, _q20))
    4498                 :             :                         {
    4499                 :     2160458 :                           if (gassign *_a2 = dyn_cast <gassign *> (_d2))
    4500                 :     1757529 :                             switch (gimple_assign_rhs_code (_a2))
    4501                 :             :                               {
    4502                 :       51977 :                               case RSHIFT_EXPR:
    4503                 :       51977 :                                 {
    4504                 :       51977 :                                   tree _q30 = gimple_assign_rhs1 (_a2);
    4505                 :       51977 :                                   _q30 = do_valueize (valueize, _q30);
    4506                 :       51977 :                                   tree _q31 = gimple_assign_rhs2 (_a2);
    4507                 :       51977 :                                   _q31 = do_valueize (valueize, _q31);
    4508                 :       51977 :                                   switch (TREE_CODE (_q31))
    4509                 :             :                                     {
    4510                 :       51623 :                                     case INTEGER_CST:
    4511                 :       51623 :                                       {
    4512                 :       51623 :                                         {
    4513                 :       51623 :                                           tree captures[2] ATTRIBUTE_UNUSED = { _q30, _q31 };
    4514                 :       51623 :                                           if (gimple_simplify_411 (res_op, seq, valueize, type, captures))
    4515                 :          19 :                                             return true;
    4516                 :             :                                         }
    4517                 :       51604 :                                         break;
    4518                 :             :                                       }
    4519                 :             :                                     default:;
    4520                 :             :                                     }
    4521                 :             :                                   break;
    4522                 :             :                                 }
    4523                 :        2795 :                               case NEGATE_EXPR:
    4524                 :        2795 :                                 {
    4525                 :        2795 :                                   tree _q30 = gimple_assign_rhs1 (_a2);
    4526                 :        2795 :                                   _q30 = do_valueize (valueize, _q30);
    4527                 :        2795 :                                   {
    4528                 :        2795 :                                     tree captures[1] ATTRIBUTE_UNUSED = { _q30 };
    4529                 :        2795 :                                     if (!TYPE_SATURATING (type)
    4530                 :             : )
    4531                 :             :                                       {
    4532                 :        2795 :                                         if (INTEGRAL_TYPE_P (type)
    4533                 :        2152 :  && (TYPE_PRECISION (type) <= TYPE_PRECISION (TREE_TYPE (captures[0]))
    4534                 :        1301 :  || (!TYPE_UNSIGNED (TREE_TYPE (captures[0]))
    4535                 :        2006 :  && TYPE_OVERFLOW_UNDEFINED (TREE_TYPE (captures[0]))))
    4536                 :        1835 :  && !TYPE_OVERFLOW_SANITIZED (type)
    4537                 :        5633 :  && !TYPE_OVERFLOW_SANITIZED (TREE_TYPE (captures[0]))
    4538                 :             : )
    4539                 :             :                                           {
    4540                 :        1835 :                                             gimple_seq *lseq = seq;
    4541                 :        1835 :                                             if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail1249;
    4542                 :        1835 :                                             {
    4543                 :        1835 :                                               res_op->set_op (NOP_EXPR, type, 1);
    4544                 :        1835 :                                               res_op->ops[0] = captures[0];
    4545                 :        1835 :                                               res_op->resimplify (lseq, valueize);
    4546                 :        1835 :                                               if (UNLIKELY (debug_dump)) gimple_dump_logs ("match.pd", 866, __FILE__, __LINE__, true);
    4547                 :        1835 :                                               return true;
    4548                 :             :                                             }
    4549                 :           0 : next_after_fail1249:;
    4550                 :             :                                           }
    4551                 :             :                                       }
    4552                 :             :                                   }
    4553                 :             :                                   break;
    4554                 :             :                                 }
    4555                 :             :                               default:;
    4556                 :             :                               }
    4557                 :             :                         }
    4558                 :             :                       break;
    4559                 :     2173782 :                     default:;
    4560                 :             :                     }
    4561                 :     2173782 :                 {
    4562                 :     2173782 :                   tree _q20_pops[1];
    4563                 :     2173782 :                   if (gimple_logical_inverted_value (_q20, _q20_pops, valueize))
    4564                 :             :                     {
    4565                 :       11807 :                       tree _q30 = _q20_pops[0];
    4566                 :       11807 :                       {
    4567                 :       11807 :                         tree captures[3] ATTRIBUTE_UNUSED = { _p0, _q20, _q30 };
    4568                 :       11807 :                         if (INTEGRAL_TYPE_P (type)
    4569                 :       11807 :  && TREE_CODE (type) != BOOLEAN_TYPE
    4570                 :       11807 :  && TYPE_PRECISION (type) > 1
    4571                 :       11807 :  && TREE_CODE (captures[2]) == SSA_NAME
    4572                 :       23614 :  && ssa_name_has_boolean_range (captures[2])
    4573                 :             : )
    4574                 :             :                           {
    4575                 :         443 :                             gimple_seq *lseq = seq;
    4576                 :         443 :                             if (lseq
    4577                 :         395 :                                 && (!single_use (captures[0])
    4578                 :         395 :                                     || !single_use (captures[1])))
    4579                 :          48 :                               lseq = NULL;
    4580                 :         443 :                             if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail1250;
    4581                 :         443 :                             {
    4582                 :         443 :                               res_op->set_op (PLUS_EXPR, type, 2);
    4583                 :         443 :                               {
    4584                 :         443 :                                 tree _o1[1], _r1;
    4585                 :         443 :                                 _o1[0] = captures[2];
    4586                 :         443 :                                 if (type != TREE_TYPE (_o1[0])
    4587                 :         443 :                                     && !useless_type_conversion_p (type, TREE_TYPE (_o1[0])))
    4588                 :             :                                   {
    4589                 :         443 :                                     gimple_match_op tem_op (res_op->cond.any_else (), NOP_EXPR, type, _o1[0]);
    4590                 :         443 :                                     tem_op.resimplify (lseq, valueize);
    4591                 :         443 :                                     _r1 = maybe_push_res_to_seq (&tem_op, lseq);
    4592                 :         443 :                                     if (!_r1) goto next_after_fail1250;
    4593                 :             :                                   }
    4594                 :             :                                 else
    4595                 :             :                                   _r1 = _o1[0];
    4596                 :         397 :                                 res_op->ops[0] = _r1;
    4597                 :             :                               }
    4598                 :         397 :                               res_op->ops[1] =  build_all_ones_cst (type);
    4599                 :         397 :                               res_op->resimplify (lseq, valueize);
    4600                 :         397 :                               if (UNLIKELY (debug_dump)) gimple_dump_logs ("match.pd", 867, __FILE__, __LINE__, true);
    4601                 :         397 :                               return true;
    4602                 :             :                             }
    4603                 :       11410 : next_after_fail1250:;
    4604                 :             :                           }
    4605                 :             :                       }
    4606                 :             : }
    4607                 :             :                 }
    4608                 :     2173385 :                 if (gimple_negate_expr_p (_q20, valueize))
    4609                 :             :                   {
    4610                 :        6425 :                     {
    4611                 :        6425 :                       tree captures[1] ATTRIBUTE_UNUSED = { _q20 };
    4612                 :        6425 :                       if (!TYPE_SATURATING (type)
    4613                 :             : )
    4614                 :             :                         {
    4615                 :        6425 :                           if (SCALAR_FLOAT_TYPE_P (type)
    4616                 :        7068 :  && ((DECIMAL_FLOAT_TYPE_P (type)
    4617                 :         643 :  == DECIMAL_FLOAT_TYPE_P (TREE_TYPE (captures[0]))
    4618                 :         643 :  && TYPE_PRECISION (type) >= TYPE_PRECISION (TREE_TYPE (captures[0])))
    4619                 :          16 :  || !HONOR_SIGN_DEPENDENT_ROUNDING (type))
    4620                 :             : )
    4621                 :             :                             {
    4622                 :         633 :                               gimple_seq *lseq = seq;
    4623                 :         633 :                               if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail1251;
    4624                 :         633 :                               {
    4625                 :         633 :                                 res_op->set_op (NOP_EXPR, type, 1);
    4626                 :         633 :                                 {
    4627                 :         633 :                                   tree _o1[1], _r1;
    4628                 :         633 :                                   _o1[0] = captures[0];
    4629                 :         633 :                                   gimple_match_op tem_op (res_op->cond.any_else (), NEGATE_EXPR, TREE_TYPE (_o1[0]), _o1[0]);
    4630                 :         633 :                                   tem_op.resimplify (lseq, valueize);
    4631                 :         633 :                                   _r1 = maybe_push_res_to_seq (&tem_op, lseq);
    4632                 :         633 :                                   if (!_r1) goto next_after_fail1251;
    4633                 :         633 :                                   res_op->ops[0] = _r1;
    4634                 :             :                                 }
    4635                 :         633 :                                 res_op->resimplify (lseq, valueize);
    4636                 :         633 :                                 if (UNLIKELY (debug_dump)) gimple_dump_logs ("match.pd", 868, __FILE__, __LINE__, true);
    4637                 :         633 :                                 return true;
    4638                 :             :                               }
    4639                 :             : next_after_fail1251:;
    4640                 :             :                             }
    4641                 :             :                         }
    4642                 :             :                     }
    4643                 :             :                   }
    4644                 :             :                   break;
    4645                 :             :                 }
    4646                 :       69490 :               case RSHIFT_EXPR:
    4647                 :       69490 :                 {
    4648                 :       69490 :                   tree _q20 = gimple_assign_rhs1 (_a1);
    4649                 :       69490 :                   _q20 = do_valueize (valueize, _q20);
    4650                 :       69490 :                   tree _q21 = gimple_assign_rhs2 (_a1);
    4651                 :       69490 :                   _q21 = do_valueize (valueize, _q21);
    4652                 :       69490 :                   switch (TREE_CODE (_q21))
    4653                 :             :                     {
    4654                 :       68753 :                     case INTEGER_CST:
    4655                 :       68753 :                       {
    4656                 :       68753 :                         {
    4657                 :       68753 :                           tree captures[2] ATTRIBUTE_UNUSED = { _q20, _q21 };
    4658                 :       68753 :                           if (gimple_simplify_411 (res_op, seq, valueize, type, captures))
    4659                 :         162 :                             return true;
    4660                 :             :                         }
    4661                 :       68591 :                         break;
    4662                 :             :                       }
    4663                 :             :                     default:;
    4664                 :             :                     }
    4665                 :             :                   break;
    4666                 :             :                 }
    4667                 :        1886 :               case BIT_NOT_EXPR:
    4668                 :        1886 :                 {
    4669                 :        1886 :                   tree _q20 = gimple_assign_rhs1 (_a1);
    4670                 :        1886 :                   _q20 = do_valueize (valueize, _q20);
    4671                 :        1886 :                   {
    4672                 :        1886 :                     tree captures[1] ATTRIBUTE_UNUSED = { _q20 };
    4673                 :        1886 :                     if (gimple_simplify_412 (res_op, seq, valueize, type, captures))
    4674                 :        1886 :                       return true;
    4675                 :             :                   }
    4676                 :           0 :                   break;
    4677                 :             :                 }
    4678                 :       36313 :               case NEGATE_EXPR:
    4679                 :       36313 :                 {
    4680                 :       36313 :                   tree _q20 = gimple_assign_rhs1 (_a1);
    4681                 :       36313 :                   _q20 = do_valueize (valueize, _q20);
    4682                 :       36313 :                   {
    4683                 :       36313 :                     tree captures[1] ATTRIBUTE_UNUSED = { _q20 };
    4684                 :       36313 :                     if (gimple_simplify_413 (res_op, seq, valueize, type, captures))
    4685                 :       36313 :                       return true;
    4686                 :             :                   }
    4687                 :           0 :                   break;
    4688                 :             :                 }
    4689                 :        1275 :               case VEC_COND_EXPR:
    4690                 :        1275 :                 {
    4691                 :        1275 :                   tree _q20 = gimple_assign_rhs1 (_a1);
    4692                 :        1275 :                   _q20 = do_valueize (valueize, _q20);
    4693                 :        1275 :                   tree _q21 = gimple_assign_rhs2 (_a1);
    4694                 :        1275 :                   _q21 = do_valueize (valueize, _q21);
    4695                 :        1275 :                   tree _q22 = gimple_assign_rhs3 (_a1);
    4696                 :        1275 :                   _q22 = do_valueize (valueize, _q22);
    4697                 :        1275 :                   {
    4698                 :        1275 :                     tree captures[4] ATTRIBUTE_UNUSED = { _p0, _q20, _q21, _q22 };
    4699                 :        1275 :                     gimple_seq *lseq = seq;
    4700                 :        1275 :                     if (lseq
    4701                 :         228 :                         && (!single_use (captures[0])))
    4702                 :        1047 :                       lseq = NULL;
    4703                 :        1275 :                     if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail1252;
    4704                 :        1275 :                     {
    4705                 :        1275 :                       res_op->set_op (VEC_COND_EXPR, type, 3);
    4706                 :        1275 :                       res_op->ops[0] = captures[1];
    4707                 :        1275 :                       {
    4708                 :        1275 :                         tree _o1[1], _r1;
    4709                 :        1275 :                         _o1[0] = captures[2];
    4710                 :        1275 :                         gimple_match_op tem_op (res_op->cond.any_else (), NEGATE_EXPR, TREE_TYPE (_o1[0]), _o1[0]);
    4711                 :        1275 :                         tem_op.resimplify (NULL, valueize);
    4712                 :        1275 :                         _r1 = maybe_push_res_to_seq (&tem_op, NULL);
    4713                 :        1275 :                         if (!_r1) goto next_after_fail1252;
    4714                 :        1023 :                         res_op->ops[1] = _r1;
    4715                 :             :                       }
    4716                 :        1023 :                       {
    4717                 :        1023 :                         tree _o1[1], _r1;
    4718                 :        1023 :                         _o1[0] = captures[3];
    4719                 :        1023 :                         gimple_match_op tem_op (res_op->cond.any_else (), NEGATE_EXPR, TREE_TYPE (_o1[0]), _o1[0]);
    4720                 :        1023 :                         tem_op.resimplify (NULL, valueize);
    4721                 :        1023 :                         _r1 = maybe_push_res_to_seq (&tem_op, NULL);
    4722                 :        1023 :                         if (!_r1) goto next_after_fail1252;
    4723                 :        1023 :                         res_op->ops[2] = _r1;
    4724                 :             :                       }
    4725                 :        1023 :                       res_op->resimplify (lseq, valueize);
    4726                 :        1023 :                       if (UNLIKELY (debug_dump)) gimple_dump_logs ("match.pd", 842, __FILE__, __LINE__, true);
    4727                 :        1023 :                       return true;
    4728                 :             :                     }
    4729                 :         252 : next_after_fail1252:;
    4730                 :             :                   }
    4731                 :         252 :                   break;
    4732                 :             :                 }
    4733                 :             :               default:;
    4734                 :             :               }
    4735                 :     1243112 :           else if (gcall *_c1 = dyn_cast <gcall *> (_d1))
    4736                 :      160942 :             switch (gimple_call_combined_fn (_c1))
    4737                 :             :               {
    4738                 :          60 :               case CFN_BUILT_IN_FMA:
    4739                 :          60 :                 if (gimple_call_num_args (_c1) == 3)
    4740                 :             :                   {
    4741                 :          60 :                     tree _q20 = gimple_call_arg (_c1, 0);
    4742                 :          60 :                     _q20 = do_valueize (valueize, _q20);
    4743                 :          60 :                     tree _q21 = gimple_call_arg (_c1, 1);
    4744                 :          60 :                     _q21 = do_valueize (valueize, _q21);
    4745                 :          60 :                     tree _q22 = gimple_call_arg (_c1, 2);
    4746                 :          60 :                     _q22 = do_valueize (valueize, _q22);
    4747                 :          60 :                     if (tree_swap_operands_p (_q20, _q21))
    4748                 :           2 :                       std::swap (_q20, _q21);
    4749                 :          60 :                     {
    4750                 :          60 :                       tree captures[4] ATTRIBUTE_UNUSED = { _p0, _q20, _q21, _q22 };
    4751                 :          60 :                       if (gimple_simplify_414 (res_op, seq, valueize, type, captures, CFN_BUILT_IN_FMA))
    4752                 :          16 :                         return true;
    4753                 :             :                     }
    4754                 :             :                   }
    4755                 :             :                 break;
    4756                 :          60 :               case CFN_BUILT_IN_FMAF:
    4757                 :          60 :                 if (gimple_call_num_args (_c1) == 3)
    4758                 :             :                   {
    4759                 :          60 :                     tree _q20 = gimple_call_arg (_c1, 0);
    4760                 :          60 :                     _q20 = do_valueize (valueize, _q20);
    4761                 :          60 :                     tree _q21 = gimple_call_arg (_c1, 1);
    4762                 :          60 :                     _q21 = do_valueize (valueize, _q21);
    4763                 :          60 :                     tree _q22 = gimple_call_arg (_c1, 2);
    4764                 :          60 :                     _q22 = do_valueize (valueize, _q22);
    4765                 :          60 :                     if (tree_swap_operands_p (_q20, _q21))
    4766                 :           2 :                       std::swap (_q20, _q21);
    4767                 :          60 :                     {
    4768                 :          60 :                       tree captures[4] ATTRIBUTE_UNUSED = { _p0, _q20, _q21, _q22 };
    4769                 :          60 :                       if (gimple_simplify_414 (res_op, seq, valueize, type, captures, CFN_BUILT_IN_FMAF))
    4770                 :          16 :                         return true;
    4771                 :             :                     }
    4772                 :             :                   }
    4773                 :             :                 break;
    4774                 :           0 :               case CFN_BUILT_IN_FMAL:
    4775                 :           0 :                 if (gimple_call_num_args (_c1) == 3)
    4776                 :             :                   {
    4777                 :           0 :                     tree _q20 = gimple_call_arg (_c1, 0);
    4778                 :           0 :                     _q20 = do_valueize (valueize, _q20);
    4779                 :           0 :                     tree _q21 = gimple_call_arg (_c1, 1);
    4780                 :           0 :                     _q21 = do_valueize (valueize, _q21);
    4781                 :           0 :                     tree _q22 = gimple_call_arg (_c1, 2);
    4782                 :           0 :                     _q22 = do_valueize (valueize, _q22);
    4783                 :           0 :                     if (tree_swap_operands_p (_q20, _q21))
    4784                 :           0 :                       std::swap (_q20, _q21);
    4785                 :           0 :                     {
    4786                 :           0 :                       tree captures[4] ATTRIBUTE_UNUSED = { _p0, _q20, _q21, _q22 };
    4787                 :           0 :                       if (gimple_simplify_414 (res_op, seq, valueize, type, captures, CFN_BUILT_IN_FMAL))
    4788                 :           0 :                         return true;
    4789                 :             :                     }
    4790                 :             :                   }
    4791                 :             :                 break;
    4792                 :         345 :               case CFN_FMA:
    4793                 :         345 :                 if (gimple_call_num_args (_c1) == 3)
    4794                 :             :                   {
    4795                 :         345 :                     tree _q20 = gimple_call_arg (_c1, 0);
    4796                 :         345 :                     _q20 = do_valueize (valueize, _q20);
    4797                 :         345 :                     tree _q21 = gimple_call_arg (_c1, 1);
    4798                 :         345 :                     _q21 = do_valueize (valueize, _q21);
    4799                 :         345 :                     tree _q22 = gimple_call_arg (_c1, 2);
    4800                 :         345 :                     _q22 = do_valueize (valueize, _q22);
    4801                 :         345 :                     if (tree_swap_operands_p (_q20, _q21))
    4802                 :           0 :                       std::swap (_q20, _q21);
    4803                 :         345 :                     {
    4804                 :         345 :                       tree captures[4] ATTRIBUTE_UNUSED = { _p0, _q20, _q21, _q22 };
    4805                 :         345 :                       if (gimple_simplify_414 (res_op, seq, valueize, type, captures, CFN_FMA))
    4806                 :         345 :                         return true;
    4807                 :             :                     }
    4808                 :             :                   }
    4809                 :             :                 break;
    4810                 :         336 :               case CFN_FMS:
    4811                 :         336 :                 if (gimple_call_num_args (_c1) == 3)
    4812                 :             :                   {
    4813                 :         336 :                     tree _q20 = gimple_call_arg (_c1, 0);
    4814                 :         336 :                     _q20 = do_valueize (valueize, _q20);
    4815                 :         336 :                     tree _q21 = gimple_call_arg (_c1, 1);
    4816                 :         336 :                     _q21 = do_valueize (valueize, _q21);
    4817                 :         336 :                     tree _q22 = gimple_call_arg (_c1, 2);
    4818                 :         336 :                     _q22 = do_valueize (valueize, _q22);
    4819                 :         336 :                     if (tree_swap_operands_p (_q20, _q21))
    4820                 :           0 :                       std::swap (_q20, _q21);
    4821                 :         336 :                     {
    4822                 :         336 :                       tree captures[4] ATTRIBUTE_UNUSED = { _p0, _q20, _q21, _q22 };
    4823                 :         336 :                       if (canonicalize_math_after_vectorization_p ()
    4824                 :             : )
    4825                 :             :                         {
    4826                 :         336 :                           if (single_use (captures[0])
    4827                 :             : )
    4828                 :             :                             {
    4829                 :         336 :                               gimple_seq *lseq = seq;
    4830                 :         336 :                               if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail1253;
    4831                 :         336 :                               {
    4832                 :         336 :                                 res_op->set_op (CFN_FNMA, type, 3);
    4833                 :         336 :                                 res_op->ops[0] = captures[1];
    4834                 :         336 :                                 res_op->ops[1] = captures[2];
    4835                 :         336 :                                 res_op->ops[2] = captures[3];
    4836                 :         336 :                                 res_op->resimplify (lseq, valueize);
    4837                 :         336 :                                 if (UNLIKELY (debug_dump)) gimple_dump_logs ("match.pd", 869, __FILE__, __LINE__, true);
    4838                 :         336 :                                 return true;
    4839                 :             :                               }
    4840                 :           0 : next_after_fail1253:;
    4841                 :             :                             }
    4842                 :             :                         }
    4843                 :             :                     }
    4844                 :             :                   }
    4845                 :             :                 break;
    4846                 :         336 :               case CFN_FNMA:
    4847                 :         336 :                 if (gimple_call_num_args (_c1) == 3)
    4848                 :             :                   {
    4849                 :         336 :                     tree _q20 = gimple_call_arg (_c1, 0);
    4850                 :         336 :                     _q20 = do_valueize (valueize, _q20);
    4851                 :         336 :                     tree _q21 = gimple_call_arg (_c1, 1);
    4852                 :         336 :                     _q21 = do_valueize (valueize, _q21);
    4853                 :         336 :                     tree _q22 = gimple_call_arg (_c1, 2);
    4854                 :         336 :                     _q22 = do_valueize (valueize, _q22);
    4855                 :         336 :                     if (tree_swap_operands_p (_q20, _q21))
    4856                 :           0 :                       std::swap (_q20, _q21);
    4857                 :         336 :                     {
    4858                 :         336 :                       tree captures[4] ATTRIBUTE_UNUSED = { _p0, _q20, _q21, _q22 };
    4859                 :         336 :                       if (canonicalize_math_after_vectorization_p ()
    4860                 :             : )
    4861                 :             :                         {
    4862                 :         336 :                           if (single_use (captures[0])
    4863                 :             : )
    4864                 :             :                             {
    4865                 :         336 :                               gimple_seq *lseq = seq;
    4866                 :         336 :                               if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail1254;
    4867                 :         336 :                               {
    4868                 :         336 :                                 res_op->set_op (CFN_FMS, type, 3);
    4869                 :         336 :                                 res_op->ops[0] = captures[1];
    4870                 :         336 :                                 res_op->ops[1] = captures[2];
    4871                 :         336 :                                 res_op->ops[2] = captures[3];
    4872                 :         336 :                                 res_op->resimplify (lseq, valueize);
    4873                 :         336 :                                 if (UNLIKELY (debug_dump)) gimple_dump_logs ("match.pd", 870, __FILE__, __LINE__, true);
    4874                 :         336 :                                 return true;
    4875                 :             :                               }
    4876                 :           0 : next_after_fail1254:;
    4877                 :             :                             }
    4878                 :             :                         }
    4879                 :             :                     }
    4880                 :             :                   }
    4881                 :             :                 break;
    4882                 :         336 :               case CFN_FNMS:
    4883                 :         336 :                 if (gimple_call_num_args (_c1) == 3)
    4884                 :             :                   {
    4885                 :         336 :                     tree _q20 = gimple_call_arg (_c1, 0);
    4886                 :         336 :                     _q20 = do_valueize (valueize, _q20);
    4887                 :         336 :                     tree _q21 = gimple_call_arg (_c1, 1);
    4888                 :         336 :                     _q21 = do_valueize (valueize, _q21);
    4889                 :         336 :                     tree _q22 = gimple_call_arg (_c1, 2);
    4890                 :         336 :                     _q22 = do_valueize (valueize, _q22);
    4891                 :         336 :                     if (tree_swap_operands_p (_q20, _q21))
    4892                 :           0 :                       std::swap (_q20, _q21);
    4893                 :         336 :                     {
    4894                 :         336 :                       tree captures[4] ATTRIBUTE_UNUSED = { _p0, _q20, _q21, _q22 };
    4895                 :         336 :                       if (canonicalize_math_after_vectorization_p ()
    4896                 :             : )
    4897                 :             :                         {
    4898                 :         336 :                           if (single_use (captures[0])
    4899                 :             : )
    4900                 :             :                             {
    4901                 :         336 :                               gimple_seq *lseq = seq;
    4902                 :         336 :                               if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail1255;
    4903                 :         336 :                               {
    4904                 :         336 :                                 res_op->set_op (CFN_FMA, type, 3);
    4905                 :         336 :                                 res_op->ops[0] = captures[1];
    4906                 :         336 :                                 res_op->ops[1] = captures[2];
    4907                 :         336 :                                 res_op->ops[2] = captures[3];
    4908                 :         336 :                                 res_op->resimplify (lseq, valueize);
    4909                 :         336 :                                 if (UNLIKELY (debug_dump)) gimple_dump_logs ("match.pd", 871, __FILE__, __LINE__, true);
    4910                 :         336 :                                 return true;
    4911                 :             :                               }
    4912                 :           0 : next_after_fail1255:;
    4913                 :             :                             }
    4914                 :             :                         }
    4915                 :             :                     }
    4916                 :             :                   }
    4917                 :             :                 break;
    4918                 :             :               default:;
    4919                 :             :               }
    4920                 :             :         }
    4921                 :             :       break;
    4922                 :     6945675 :     default:;
    4923                 :             :     }
    4924                 :     6945675 : {
    4925                 :     6945675 :   tree _p0_pops[1];
    4926                 :     6945675 :   if (gimple_nop_convert (_p0, _p0_pops, valueize))
    4927                 :             :     {
    4928                 :     1151471 :       tree _q20 = _p0_pops[0];
    4929                 :     1151471 :       switch (TREE_CODE (_q20))
    4930                 :             :         {
    4931                 :     1142997 :         case SSA_NAME:
    4932                 :     1142997 :           if (gimple *_d1 = get_def (valueize, _q20))
    4933                 :             :             {
    4934                 :     1137847 :               if (gassign *_a1 = dyn_cast <gassign *> (_d1))
    4935                 :     1180173 :                 switch (gimple_assign_rhs_code (_a1))
    4936                 :             :                   {
    4937                 :         385 :                   case BIT_NOT_EXPR:
    4938                 :         385 :                     {
    4939                 :         385 :                       tree _q30 = gimple_assign_rhs1 (_a1);
    4940                 :         385 :                       _q30 = do_valueize (valueize, _q30);
    4941                 :         385 :                       {
    4942                 :         385 :                         tree captures[1] ATTRIBUTE_UNUSED = { _q30 };
    4943                 :         385 :                         if (gimple_simplify_412 (res_op, seq, valueize, type, captures))
    4944                 :         104 :                           return true;
    4945                 :             :                       }
    4946                 :         281 :                       break;
    4947                 :             :                     }
    4948                 :           2 :                   case NEGATE_EXPR:
    4949                 :           2 :                     {
    4950                 :           2 :                       tree _q30 = gimple_assign_rhs1 (_a1);
    4951                 :           2 :                       _q30 = do_valueize (valueize, _q30);
    4952                 :           2 :                       {
    4953                 :           2 :                         tree captures[1] ATTRIBUTE_UNUSED = { _q30 };
    4954                 :           2 :                         if (gimple_simplify_413 (res_op, seq, valueize, type, captures))
    4955                 :           2 :                           return true;
    4956                 :             :                       }
    4957                 :           0 :                       break;
    4958                 :             :                     }
    4959                 :             :                   default:;
    4960                 :             :                   }
    4961                 :             :             }
    4962                 :             :           break;
    4963                 :             :         default:;
    4964                 :             :         }
    4965                 :             : }
    4966                 :             : }
    4967                 :     6945569 : {
    4968                 :     6945569 :   tree _p0_pops[1];
    4969                 :     6945569 :   if (gimple_logical_inverted_value (_p0, _p0_pops, valueize))
    4970                 :             :     {
    4971                 :           0 :       tree _q20 = _p0_pops[0];
    4972                 :           0 :       {
    4973                 :           0 :         tree captures[3] ATTRIBUTE_UNUSED = { _p0, _p0, _q20 };
    4974                 :           0 :         if (INTEGRAL_TYPE_P (type)
    4975                 :           0 :  && TREE_CODE (type) != BOOLEAN_TYPE
    4976                 :           0 :  && TYPE_PRECISION (type) > 1
    4977                 :           0 :  && TREE_CODE (captures[2]) == SSA_NAME
    4978                 :           0 :  && ssa_name_has_boolean_range (captures[2])
    4979                 :             : )
    4980                 :             :           {
    4981                 :           0 :             gimple_seq *lseq = seq;
    4982                 :           0 :             if (lseq
    4983                 :           0 :                 && (!single_use (captures[0])
    4984                 :             :                     || !single_use (captures[1])))
    4985                 :             :               lseq = NULL;
    4986                 :           0 :             if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail1256;
    4987                 :           0 :             {
    4988                 :           0 :               res_op->set_op (PLUS_EXPR, type, 2);
    4989                 :           0 :               {
    4990                 :           0 :                 tree _o1[1], _r1;
    4991                 :           0 :                 _o1[0] = captures[2];
    4992                 :           0 :                 if (type != TREE_TYPE (_o1[0])
    4993                 :           0 :                     && !useless_type_conversion_p (type, TREE_TYPE (_o1[0])))
    4994                 :             :                   {
    4995                 :           0 :                     gimple_match_op tem_op (res_op->cond.any_else (), NOP_EXPR, type, _o1[0]);
    4996                 :           0 :                     tem_op.resimplify (lseq, valueize);
    4997                 :           0 :                     _r1 = maybe_push_res_to_seq (&tem_op, lseq);
    4998                 :           0 :                     if (!_r1) goto next_after_fail1256;
    4999                 :             :                   }
    5000                 :             :                 else
    5001                 :             :                   _r1 = _o1[0];
    5002                 :           0 :                 res_op->ops[0] = _r1;
    5003                 :             :               }
    5004                 :           0 :               res_op->ops[1] =  build_all_ones_cst (type);
    5005                 :           0 :               res_op->resimplify (lseq, valueize);
    5006                 :           0 :               if (UNLIKELY (debug_dump)) gimple_dump_logs ("match.pd", 867, __FILE__, __LINE__, true);
    5007                 :           0 :               return true;
    5008                 :             :             }
    5009                 :           0 : next_after_fail1256:;
    5010                 :             :           }
    5011                 :             :       }
    5012                 :             : }
    5013                 :             : }
    5014                 :     6945569 :   {
    5015                 :     6945569 :     tree captures[1] ATTRIBUTE_UNUSED = { _p0 };
    5016                 :     6945569 :     if (gimple_simplify_397 (res_op, seq, valueize, type, captures))
    5017                 :           0 :       return true;
    5018                 :             :   }
    5019                 :     6945569 :   return false;
    5020                 :             : }
    5021                 :             : 
    5022                 :             : bool
    5023                 :           0 : gimple_simplify_CFN_LOG (gimple_match_op *res_op, gimple_seq *seq,
    5024                 :             :                  tree (*valueize)(tree) ATTRIBUTE_UNUSED,
    5025                 :             :                  code_helper ARG_UNUSED (code), tree ARG_UNUSED (type), tree _p0)
    5026                 :             : {
    5027                 :           0 :   const bool debug_dump = dump_file && (dump_flags & TDF_FOLDING);
    5028                 :           0 :   switch (TREE_CODE (_p0))
    5029                 :             :     {
    5030                 :           0 :     case SSA_NAME:
    5031                 :           0 :       if (gimple *_d1 = get_def (valueize, _p0))
    5032                 :             :         {
    5033                 :           0 :           if (gcall *_c1 = dyn_cast <gcall *> (_d1))
    5034                 :           0 :             switch (gimple_call_combined_fn (_c1))
    5035                 :             :               {
    5036                 :           0 :               case CFN_EXP:
    5037                 :           0 :                 if (gimple_call_num_args (_c1) == 1)
    5038                 :             :                   {
    5039                 :           0 :                     tree _q20 = gimple_call_arg (_c1, 0);
    5040                 :           0 :                     _q20 = do_valueize (valueize, _q20);
    5041                 :           0 :                     {
    5042                 :           0 :                       tree captures[1] ATTRIBUTE_UNUSED = { _q20 };
    5043                 :           0 :                       if (flag_unsafe_math_optimizations
    5044                 :             : )
    5045                 :             :                         {
    5046                 :           0 :                           gimple_seq *lseq = seq;
    5047                 :           0 :                           if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail1376;
    5048                 :           0 :                           {
    5049                 :           0 :                             tree tem;
    5050                 :           0 :                             tem = captures[0];
    5051                 :           0 :                             res_op->set_value (tem);
    5052                 :           0 :                             if (UNLIKELY (debug_dump)) gimple_dump_logs ("match.pd", 905, __FILE__, __LINE__, true);
    5053                 :           0 :                             return true;
    5054                 :             :                           }
    5055                 :           0 : next_after_fail1376:;
    5056                 :             :                         }
    5057                 :             :                     }
    5058                 :             :                   }
    5059                 :             :                 break;
    5060                 :           0 :               case CFN_POW:
    5061                 :           0 :                 if (gimple_call_num_args (_c1) == 2)
    5062                 :             :                   {
    5063                 :           0 :                     tree _q20 = gimple_call_arg (_c1, 0);
    5064                 :           0 :                     _q20 = do_valueize (valueize, _q20);
    5065                 :           0 :                     tree _q21 = gimple_call_arg (_c1, 1);
    5066                 :           0 :                     _q21 = do_valueize (valueize, _q21);
    5067                 :           0 :                     {
    5068                 :           0 :                       tree captures[2] ATTRIBUTE_UNUSED = { _q20, _q21 };
    5069                 :           0 :                       if (gimple_simplify_599 (res_op, seq, valueize, type, captures, CFN_LOG, CFN_POW))
    5070                 :           0 :                         return true;
    5071                 :             :                     }
    5072                 :             :                   }
    5073                 :             :                 break;
    5074                 :           0 :               case CFN_EXP2:
    5075                 :           0 :                 if (gimple_call_num_args (_c1) == 1)
    5076                 :             :                   {
    5077                 :           0 :                     tree _q20 = gimple_call_arg (_c1, 0);
    5078                 :           0 :                     _q20 = do_valueize (valueize, _q20);
    5079                 :           0 :                     {
    5080                 :           0 :                       tree captures[1] ATTRIBUTE_UNUSED = { _q20 };
    5081                 :           0 :                       if (flag_unsafe_math_optimizations
    5082                 :             : )
    5083                 :             :                         {
    5084                 :           0 :                           if (SCALAR_FLOAT_TYPE_P (type)
    5085                 :             : )
    5086                 :             :                             {
    5087                 :           0 :                               {
    5088                 :           0 :  tree x;
    5089                 :           0 :  switch (CFN_EXP2)
    5090                 :             :  {
    5091                 :             :  CASE_CFN_EXP:
    5092                 :             :  x = build_real_truncate (type, dconst_e ());
    5093                 :             :  break;
    5094                 :           0 :  CASE_CFN_EXP2:
    5095                 :           0 :  x = build_real (type, dconst2);
    5096                 :           0 :  break;
    5097                 :             :  CASE_CFN_EXP10:
    5098                 :             :  CASE_CFN_POW10:
    5099                 :             :  {
    5100                 :             :  REAL_VALUE_TYPE dconst10;
    5101                 :             :  real_from_integer (&dconst10, VOIDmode, 10, SIGNED);
    5102                 :             :  x = build_real (type, dconst10);
    5103                 :             :  }
    5104                 :             :  break;
    5105                 :             :  default:
    5106                 :             :  gcc_unreachable ();
    5107                 :             :  }
    5108                 :           0 :                                   gimple_seq *lseq = seq;
    5109                 :           0 :                                   if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail1377;
    5110                 :           0 :                                   {
    5111                 :           0 :                                     res_op->set_op (MULT_EXPR, type, 2);
    5112                 :           0 :                                     {
    5113                 :           0 :                                       tree _o1[1], _r1;
    5114                 :           0 :                                       _o1[0] =  x;
    5115                 :           0 :                                       gimple_match_op tem_op (res_op->cond.any_else (), CFN_LOG, TREE_TYPE (_o1[0]), _o1[0]);
    5116                 :           0 :                                       tem_op.resimplify (lseq, valueize);
    5117                 :           0 :                                       _r1 = maybe_push_res_to_seq (&tem_op, lseq);
    5118                 :           0 :                                       if (!_r1) goto next_after_fail1377;
    5119                 :           0 :                                       res_op->ops[0] = _r1;
    5120                 :             :                                     }
    5121                 :           0 :                                     res_op->ops[1] = captures[0];
    5122                 :           0 :                                     res_op->resimplify (lseq, valueize);
    5123                 :           0 :                                     if (UNLIKELY (debug_dump)) gimple_dump_logs ("match.pd", 904, __FILE__, __LINE__, true);
    5124                 :           0 :                                     return true;
    5125                 :             :                                   }
    5126                 :             : next_after_fail1377:;
    5127                 :             :                               }
    5128                 :             :                             }
    5129                 :             :                         }
    5130                 :             :                     }
    5131                 :             :                   }
    5132                 :             :                 break;
    5133                 :           0 :               case CFN_SQRT:
    5134                 :           0 :                 if (gimple_call_num_args (_c1) == 1)
    5135                 :             :                   {
    5136                 :           0 :                     tree _q20 = gimple_call_arg (_c1, 0);
    5137                 :           0 :                     _q20 = do_valueize (valueize, _q20);
    5138                 :           0 :                     {
    5139                 :           0 :                       tree captures[1] ATTRIBUTE_UNUSED = { _q20 };
    5140                 :           0 :                       if (flag_unsafe_math_optimizations
    5141                 :             : )
    5142                 :             :                         {
    5143                 :           0 :                           if (SCALAR_FLOAT_TYPE_P (type)
    5144                 :             : )
    5145                 :             :                             {
    5146                 :           0 :                               {
    5147                 :           0 :  tree x;
    5148                 :           0 :  switch (CFN_SQRT)
    5149                 :             :  {
    5150                 :           0 :  CASE_CFN_SQRT:
    5151                 :           0 :  x = build_real (type, dconsthalf);
    5152                 :           0 :  break;
    5153                 :             :  CASE_CFN_CBRT:
    5154                 :             :  x = build_real_truncate (type, dconst_third ());
    5155                 :             :  break;
    5156                 :             :  default:
    5157                 :             :  gcc_unreachable ();
    5158                 :             :  }
    5159                 :           0 :                                   gimple_seq *lseq = seq;
    5160                 :           0 :                                   if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail1378;
    5161                 :           0 :                                   {
    5162                 :           0 :                                     res_op->set_op (MULT_EXPR, type, 2);
    5163                 :           0 :                                     res_op->ops[0] =  x;
    5164                 :           0 :                                     {
    5165                 :           0 :                                       tree _o1[1], _r1;
    5166                 :           0 :                                       _o1[0] = captures[0];
    5167                 :           0 :                                       gimple_match_op tem_op (res_op->cond.any_else (), CFN_LOG, TREE_TYPE (_o1[0]), _o1[0]);
    5168                 :           0 :                                       tem_op.resimplify (lseq, valueize);
    5169                 :           0 :                                       _r1 = maybe_push_res_to_seq (&tem_op, lseq);
    5170                 :           0 :                                       if (!_r1) goto next_after_fail1378;
    5171                 :           0 :                                       res_op->ops[1] = _r1;
    5172                 :             :                                     }
    5173                 :           0 :                                     res_op->resimplify (lseq, valueize);
    5174                 :           0 :                                     if (UNLIKELY (debug_dump)) gimple_dump_logs ("match.pd", 903, __FILE__, __LINE__, true);
    5175                 :           0 :                                     return true;
    5176                 :             :                                   }
    5177                 :             : next_after_fail1378:;
    5178                 :             :                               }
    5179                 :             :                             }
    5180                 :             :                         }
    5181                 :             :                     }
    5182                 :             :                   }
    5183                 :             :                 break;
    5184                 :           0 :               case CFN_EXP10:
    5185                 :           0 :                 if (gimple_call_num_args (_c1) == 1)
    5186                 :             :                   {
    5187                 :           0 :                     tree _q20 = gimple_call_arg (_c1, 0);
    5188                 :           0 :                     _q20 = do_valueize (valueize, _q20);
    5189                 :           0 :                     {
    5190                 :           0 :                       tree captures[1] ATTRIBUTE_UNUSED = { _q20 };
    5191                 :           0 :                       if (flag_unsafe_math_optimizations
    5192                 :             : )
    5193                 :             :                         {
    5194                 :           0 :                           if (SCALAR_FLOAT_TYPE_P (type)
    5195                 :             : )
    5196                 :             :                             {
    5197                 :           0 :                               {
    5198                 :           0 :  tree x;
    5199                 :           0 :  switch (CFN_EXP10)
    5200                 :             :  {
    5201                 :             :  CASE_CFN_EXP:
    5202                 :             :  x = build_real_truncate (type, dconst_e ());
    5203                 :             :  break;
    5204                 :             :  CASE_CFN_EXP2:
    5205                 :             :  x = build_real (type, dconst2);
    5206                 :             :  break;
    5207                 :           0 :  CASE_CFN_EXP10:
    5208                 :           0 :  CASE_CFN_POW10:
    5209                 :           0 :  {
    5210                 :           0 :  REAL_VALUE_TYPE dconst10;
    5211                 :           0 :  real_from_integer (&dconst10, VOIDmode, 10, SIGNED);
    5212                 :           0 :  x = build_real (type, dconst10);
    5213                 :             :  }
    5214                 :           0 :  break;
    5215                 :             :  default:
    5216                 :             :  gcc_unreachable ();
    5217                 :             :  }
    5218                 :           0 :                                   gimple_seq *lseq = seq;
    5219                 :           0 :                                   if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail1379;
    5220                 :           0 :                                   {
    5221                 :           0 :                                     res_op->set_op (MULT_EXPR, type, 2);
    5222                 :           0 :                                     {
    5223                 :           0 :                                       tree _o1[1], _r1;
    5224                 :           0 :                                       _o1[0] =  x;
    5225                 :           0 :                                       gimple_match_op tem_op (res_op->cond.any_else (), CFN_LOG, TREE_TYPE (_o1[0]), _o1[0]);
    5226                 :           0 :                                       tem_op.resimplify (lseq, valueize);
    5227                 :           0 :                                       _r1 = maybe_push_res_to_seq (&tem_op, lseq);
    5228                 :           0 :                                       if (!_r1) goto next_after_fail1379;
    5229                 :           0 :                                       res_op->ops[0] = _r1;
    5230                 :             :                                     }
    5231                 :           0 :                                     res_op->ops[1] = captures[0];
    5232                 :           0 :                                     res_op->resimplify (lseq, valueize);
    5233                 :           0 :                                     if (UNLIKELY (debug_dump)) gimple_dump_logs ("match.pd", 904, __FILE__, __LINE__, true);
    5234                 :           0 :                                     return true;
    5235                 :             :                                   }
    5236                 :             : next_after_fail1379:;
    5237                 :             :                               }
    5238                 :             :                             }
    5239                 :             :                         }
    5240                 :             :                     }
    5241                 :             :                   }
    5242                 :             :                 break;
    5243                 :             :               default:;
    5244                 :             :               }
    5245                 :             :         }
    5246                 :             :       break;
    5247                 :             :     default:;
    5248                 :             :     }
    5249                 :             :   return false;
    5250                 :             : }
    5251                 :             : 
    5252                 :             : bool
    5253                 :        1125 : gimple_simplify_CFN_BUILT_IN_LOG10F (gimple_match_op *res_op, gimple_seq *seq,
    5254                 :             :                  tree (*valueize)(tree) ATTRIBUTE_UNUSED,
    5255                 :             :                  code_helper ARG_UNUSED (code), tree ARG_UNUSED (type), tree _p0)
    5256                 :             : {
    5257                 :        1125 :   const bool debug_dump = dump_file && (dump_flags & TDF_FOLDING);
    5258                 :        1125 :   switch (TREE_CODE (_p0))
    5259                 :             :     {
    5260                 :         718 :     case SSA_NAME:
    5261                 :         718 :       if (gimple *_d1 = get_def (valueize, _p0))
    5262                 :             :         {
    5263                 :         457 :           if (gcall *_c1 = dyn_cast <gcall *> (_d1))
    5264                 :          84 :             switch (gimple_call_combined_fn (_c1))
    5265                 :             :               {
    5266                 :          12 :               case CFN_BUILT_IN_SQRTF:
    5267                 :          12 :                 if (gimple_call_num_args (_c1) == 1)
    5268                 :             :                   {
    5269                 :          12 :                     tree _q20 = gimple_call_arg (_c1, 0);
    5270                 :          12 :                     _q20 = do_valueize (valueize, _q20);
    5271                 :          12 :                     {
    5272                 :          12 :                       tree captures[1] ATTRIBUTE_UNUSED = { _q20 };
    5273                 :          12 :                       if (flag_unsafe_math_optimizations
    5274                 :             : )
    5275                 :             :                         {
    5276                 :          12 :                           if (SCALAR_FLOAT_TYPE_P (type)
    5277                 :             : )
    5278                 :             :                             {
    5279                 :          12 :                               {
    5280                 :          12 :  tree x;
    5281                 :          12 :  switch (CFN_BUILT_IN_SQRTF)
    5282                 :             :  {
    5283                 :          12 :  CASE_CFN_SQRT:
    5284                 :          12 :  x = build_real (type, dconsthalf);
    5285                 :          12 :  break;
    5286                 :             :  CASE_CFN_CBRT:
    5287                 :             :  x = build_real_truncate (type, dconst_third ());
    5288                 :             :  break;
    5289                 :             :  default:
    5290                 :             :  gcc_unreachable ();
    5291                 :             :  }
    5292                 :          12 :                                   gimple_seq *lseq = seq;
    5293                 :          12 :                                   if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail1402;
    5294                 :          12 :                                   {
    5295                 :          12 :                                     res_op->set_op (MULT_EXPR, type, 2);
    5296                 :          12 :                                     res_op->ops[0] =  x;
    5297                 :          12 :                                     {
    5298                 :          12 :                                       tree _o1[1], _r1;
    5299                 :          12 :                                       _o1[0] = captures[0];
    5300                 :          12 :                                       gimple_match_op tem_op (res_op->cond.any_else (), CFN_BUILT_IN_LOG10F, TREE_TYPE (_o1[0]), _o1[0]);
    5301                 :          12 :                                       tem_op.resimplify (lseq, valueize);
    5302                 :          12 :                                       _r1 = maybe_push_res_to_seq (&tem_op, lseq);
    5303                 :          12 :                                       if (!_r1) goto next_after_fail1402;
    5304                 :           6 :                                       res_op->ops[1] = _r1;
    5305                 :             :                                     }
    5306                 :           6 :                                     res_op->resimplify (lseq, valueize);
    5307                 :           6 :                                     if (UNLIKELY (debug_dump)) gimple_dump_logs ("match.pd", 903, __FILE__, __LINE__, true);
    5308                 :           6 :                                     return true;
    5309                 :             :                                   }
    5310                 :             : next_after_fail1402:;
    5311                 :             :                               }
    5312                 :             :                             }
    5313                 :             :                         }
    5314                 :             :                     }
    5315                 :             :                   }
    5316                 :             :                 break;
    5317                 :          12 :               case CFN_BUILT_IN_EXP10F:
    5318                 :          12 :                 if (gimple_call_num_args (_c1) == 1)
    5319                 :             :                   {
    5320                 :          12 :                     tree _q20 = gimple_call_arg (_c1, 0);
    5321                 :          12 :                     _q20 = do_valueize (valueize, _q20);
    5322                 :          12 :                     {
    5323                 :          12 :                       tree captures[1] ATTRIBUTE_UNUSED = { _q20 };
    5324                 :          12 :                       if (flag_unsafe_math_optimizations
    5325                 :             : )
    5326                 :             :                         {
    5327                 :          12 :                           gimple_seq *lseq = seq;
    5328                 :          12 :                           if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail1403;
    5329                 :          12 :                           {
    5330                 :          12 :                             tree tem;
    5331                 :          12 :                             tem = captures[0];
    5332                 :          12 :                             res_op->set_value (tem);
    5333                 :          12 :                             if (UNLIKELY (debug_dump)) gimple_dump_logs ("match.pd", 905, __FILE__, __LINE__, true);
    5334                 :          12 :                             return true;
    5335                 :             :                           }
    5336                 :           0 : next_after_fail1403:;
    5337                 :             :                         }
    5338                 :             :                     }
    5339                 :             :                   }
    5340                 :             :                 break;
    5341                 :          12 :               case CFN_BUILT_IN_EXPF:
    5342                 :          12 :                 if (gimple_call_num_args (_c1) == 1)
    5343                 :             :                   {
    5344                 :          12 :                     tree _q20 = gimple_call_arg (_c1, 0);
    5345                 :          12 :                     _q20 = do_valueize (valueize, _q20);
    5346                 :          12 :                     {
    5347                 :          12 :                       tree captures[1] ATTRIBUTE_UNUSED = { _q20 };
    5348                 :          12 :                       if (flag_unsafe_math_optimizations
    5349                 :             : )
    5350                 :             :                         {
    5351                 :          12 :                           if (SCALAR_FLOAT_TYPE_P (type)
    5352                 :             : )
    5353                 :             :                             {
    5354                 :          12 :                               {
    5355                 :          12 :  tree x;
    5356                 :          12 :  switch (CFN_BUILT_IN_EXPF)
    5357                 :             :  {
    5358                 :          12 :  CASE_CFN_EXP:
    5359                 :          12 :  x = build_real_truncate (type, dconst_e ());
    5360                 :          12 :  break;
    5361                 :             :  CASE_CFN_EXP2:
    5362                 :             :  x = build_real (type, dconst2);
    5363                 :             :  break;
    5364                 :             :  CASE_CFN_EXP10:
    5365                 :             :  CASE_CFN_POW10:
    5366                 :             :  {
    5367                 :             :  REAL_VALUE_TYPE dconst10;
    5368                 :             :  real_from_integer (&dconst10, VOIDmode, 10, SIGNED);
    5369                 :             :  x = build_real (type, dconst10);
    5370                 :             :  }
    5371                 :             :  break;
    5372                 :             :  default:
    5373                 :             :  gcc_unreachable ();
    5374                 :             :  }
    5375                 :          12 :                                   gimple_seq *lseq = seq;
    5376                 :          12 :                                   if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail1404;
    5377                 :          12 :                                   {
    5378                 :          12 :                                     res_op->set_op (MULT_EXPR, type, 2);
    5379                 :          12 :                                     {
    5380                 :          12 :                                       tree _o1[1], _r1;
    5381                 :          12 :                                       _o1[0] =  x;
    5382                 :          12 :                                       gimple_match_op tem_op (res_op->cond.any_else (), CFN_BUILT_IN_LOG10F, TREE_TYPE (_o1[0]), _o1[0]);
    5383                 :          12 :                                       tem_op.resimplify (lseq, valueize);
    5384                 :          12 :                                       _r1 = maybe_push_res_to_seq (&tem_op, lseq);
    5385                 :          12 :                                       if (!_r1) goto next_after_fail1404;
    5386                 :          12 :                                       res_op->ops[0] = _r1;
    5387                 :             :                                     }
    5388                 :          12 :                                     res_op->ops[1] = captures[0];
    5389                 :          12 :                                     res_op->resimplify (lseq, valueize);
    5390                 :          12 :                                     if (UNLIKELY (debug_dump)) gimple_dump_logs ("match.pd", 904, __FILE__, __LINE__, true);
    5391                 :          12 :                                     return true;
    5392                 :             :                                   }
    5393                 :             : next_after_fail1404:;
    5394                 :             :                               }
    5395                 :             :                             }
    5396                 :             :                         }
    5397                 :             :                     }
    5398                 :             :                   }
    5399                 :             :                 break;
    5400                 :          12 :               case CFN_BUILT_IN_POWF:
    5401                 :          12 :                 if (gimple_call_num_args (_c1) == 2)
    5402                 :             :                   {
    5403                 :          12 :                     tree _q20 = gimple_call_arg (_c1, 0);
    5404                 :          12 :                     _q20 = do_valueize (valueize, _q20);
    5405                 :          12 :                     tree _q21 = gimple_call_arg (_c1, 1);
    5406                 :          12 :                     _q21 = do_valueize (valueize, _q21);
    5407                 :          12 :                     {
    5408                 :          12 :                       tree captures[2] ATTRIBUTE_UNUSED = { _q20, _q21 };
    5409                 :          12 :                       if (gimple_simplify_599 (res_op, seq, valueize, type, captures, CFN_BUILT_IN_LOG10F, CFN_BUILT_IN_POWF))
    5410                 :           6 :                         return true;
    5411                 :             :                     }
    5412                 :             :                   }
    5413                 :             :                 break;
    5414                 :          12 :               case CFN_BUILT_IN_POW10F:
    5415                 :          12 :                 if (gimple_call_num_args (_c1) == 1)
    5416                 :             :                   {
    5417                 :          12 :                     tree _q20 = gimple_call_arg (_c1, 0);
    5418                 :          12 :                     _q20 = do_valueize (valueize, _q20);
    5419                 :          12 :                     {
    5420                 :          12 :                       tree captures[1] ATTRIBUTE_UNUSED = { _q20 };
    5421                 :          12 :                       if (flag_unsafe_math_optimizations
    5422                 :             : )
    5423                 :             :                         {
    5424                 :          12 :                           gimple_seq *lseq = seq;
    5425                 :          12 :                           if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail1405;
    5426                 :          12 :                           {
    5427                 :          12 :                             tree tem;
    5428                 :          12 :                             tem = captures[0];
    5429                 :          12 :                             res_op->set_value (tem);
    5430                 :          12 :                             if (UNLIKELY (debug_dump)) gimple_dump_logs ("match.pd", 905, __FILE__, __LINE__, true);
    5431                 :          12 :                             return true;
    5432                 :             :                           }
    5433                 :           0 : next_after_fail1405:;
    5434                 :             :                         }
    5435                 :             :                     }
    5436                 :             :                   }
    5437                 :             :                 break;
    5438                 :          12 :               case CFN_BUILT_IN_CBRTF:
    5439                 :          12 :                 if (gimple_call_num_args (_c1) == 1)
    5440                 :             :                   {
    5441                 :          12 :                     tree _q20 = gimple_call_arg (_c1, 0);
    5442                 :          12 :                     _q20 = do_valueize (valueize, _q20);
    5443                 :          12 :                     {
    5444                 :          12 :                       tree captures[1] ATTRIBUTE_UNUSED = { _q20 };
    5445                 :          12 :                       if (flag_unsafe_math_optimizations
    5446                 :             : )
    5447                 :             :                         {
    5448                 :          12 :                           if (SCALAR_FLOAT_TYPE_P (type)
    5449                 :             : )
    5450                 :             :                             {
    5451                 :          12 :                               {
    5452                 :          12 :  tree x;
    5453                 :          12 :  switch (CFN_BUILT_IN_CBRTF)
    5454                 :             :  {
    5455                 :             :  CASE_CFN_SQRT:
    5456                 :             :  x = build_real (type, dconsthalf);
    5457                 :             :  break;
    5458                 :          12 :  CASE_CFN_CBRT:
    5459                 :          12 :  x = build_real_truncate (type, dconst_third ());
    5460                 :          12 :  break;
    5461                 :             :  default:
    5462                 :             :  gcc_unreachable ();
    5463                 :             :  }
    5464                 :          12 :                                   gimple_seq *lseq = seq;
    5465                 :          12 :                                   if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail1406;
    5466                 :          12 :                                   {
    5467                 :          12 :                                     res_op->set_op (MULT_EXPR, type, 2);
    5468                 :          12 :                                     res_op->ops[0] =  x;
    5469                 :          12 :                                     {
    5470                 :          12 :                                       tree _o1[1], _r1;
    5471                 :          12 :                                       _o1[0] = captures[0];
    5472                 :          12 :                                       gimple_match_op tem_op (res_op->cond.any_else (), CFN_BUILT_IN_LOG10F, TREE_TYPE (_o1[0]), _o1[0]);
    5473                 :          12 :                                       tem_op.resimplify (lseq, valueize);
    5474                 :          12 :                                       _r1 = maybe_push_res_to_seq (&tem_op, lseq);
    5475                 :          12 :                                       if (!_r1) goto next_after_fail1406;
    5476                 :           6 :                                       res_op->ops[1] = _r1;
    5477                 :             :                                     }
    5478                 :           6 :                                     res_op->resimplify (lseq, valueize);
    5479                 :           6 :                                     if (UNLIKELY (debug_dump)) gimple_dump_logs ("match.pd", 903, __FILE__, __LINE__, true);
    5480                 :           6 :                                     return true;
    5481                 :             :                                   }
    5482                 :             : next_after_fail1406:;
    5483                 :             :                               }
    5484                 :             :                             }
    5485                 :             :                         }
    5486                 :             :                     }
    5487                 :             :                   }
    5488                 :             :                 break;
    5489                 :          12 :               case CFN_BUILT_IN_EXP2F:
    5490                 :          12 :                 if (gimple_call_num_args (_c1) == 1)
    5491                 :             :                   {
    5492                 :          12 :                     tree _q20 = gimple_call_arg (_c1, 0);
    5493                 :          12 :                     _q20 = do_valueize (valueize, _q20);
    5494                 :          12 :                     {
    5495                 :          12 :                       tree captures[1] ATTRIBUTE_UNUSED = { _q20 };
    5496                 :          12 :                       if (flag_unsafe_math_optimizations
    5497                 :             : )
    5498                 :             :                         {
    5499                 :          12 :                           if (SCALAR_FLOAT_TYPE_P (type)
    5500                 :             : )
    5501                 :             :                             {
    5502                 :          12 :                               {
    5503                 :          12 :  tree x;
    5504                 :          12 :  switch (CFN_BUILT_IN_EXP2F)
    5505                 :             :  {
    5506                 :             :  CASE_CFN_EXP:
    5507                 :             :  x = build_real_truncate (type, dconst_e ());
    5508                 :             :  break;
    5509                 :          12 :  CASE_CFN_EXP2:
    5510                 :          12 :  x = build_real (type, dconst2);
    5511                 :          12 :  break;
    5512                 :             :  CASE_CFN_EXP10:
    5513                 :             :  CASE_CFN_POW10:
    5514                 :             :  {
    5515                 :             :  REAL_VALUE_TYPE dconst10;
    5516                 :             :  real_from_integer (&dconst10, VOIDmode, 10, SIGNED);
    5517                 :             :  x = build_real (type, dconst10);
    5518                 :             :  }
    5519                 :             :  break;
    5520                 :             :  default:
    5521                 :             :  gcc_unreachable ();
    5522                 :             :  }
    5523                 :          12 :                                   gimple_seq *lseq = seq;
    5524                 :          12 :                                   if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail1407;
    5525                 :          12 :                                   {
    5526                 :          12 :                                     res_op->set_op (MULT_EXPR, type, 2);
    5527                 :          12 :                                     {
    5528                 :          12 :                                       tree _o1[1], _r1;
    5529                 :          12 :                                       _o1[0] =  x;
    5530                 :          12 :                                       gimple_match_op tem_op (res_op->cond.any_else (), CFN_BUILT_IN_LOG10F, TREE_TYPE (_o1[0]), _o1[0]);
    5531                 :          12 :                                       tem_op.resimplify (lseq, valueize);
    5532                 :          12 :                                       _r1 = maybe_push_res_to_seq (&tem_op, lseq);
    5533                 :          12 :                                       if (!_r1) goto next_after_fail1407;
    5534                 :          12 :                                       res_op->ops[0] = _r1;
    5535                 :             :                                     }
    5536                 :          12 :                                     res_op->ops[1] = captures[0];
    5537                 :          12 :                                     res_op->resimplify (lseq, valueize);
    5538                 :          12 :                                     if (UNLIKELY (debug_dump)) gimple_dump_logs ("match.pd", 904, __FILE__, __LINE__, true);
    5539                 :          12 :                                     return true;
    5540                 :             :                                   }
    5541                 :             : next_after_fail1407:;
    5542                 :             :                               }
    5543                 :             :                             }
    5544                 :             :                         }
    5545                 :             :                     }
    5546                 :             :                   }
    5547                 :             :                 break;
    5548                 :             :               default:;
    5549                 :             :               }
    5550                 :             :         }
    5551                 :             :       break;
    5552                 :             :     default:;
    5553                 :             :     }
    5554                 :             :   return false;
    5555                 :             : }
    5556                 :             : 
    5557                 :             : bool
    5558                 :         400 : gimple_simplify_CFN_BUILT_IN_EXP10 (gimple_match_op *res_op, gimple_seq *seq,
    5559                 :             :                  tree (*valueize)(tree) ATTRIBUTE_UNUSED,
    5560                 :             :                  code_helper ARG_UNUSED (code), tree ARG_UNUSED (type), tree _p0)
    5561                 :             : {
    5562                 :         400 :   const bool debug_dump = dump_file && (dump_flags & TDF_FOLDING);
    5563                 :         400 :   switch (TREE_CODE (_p0))
    5564                 :             :     {
    5565                 :         343 :     case SSA_NAME:
    5566                 :         343 :       if (gimple *_d1 = get_def (valueize, _p0))
    5567                 :             :         {
    5568                 :         215 :           if (gcall *_c1 = dyn_cast <gcall *> (_d1))
    5569                 :          27 :             switch (gimple_call_combined_fn (_c1))
    5570                 :             :               {
    5571                 :           6 :               case CFN_BUILT_IN_LOG10:
    5572                 :           6 :                 if (gimple_call_num_args (_c1) == 1)
    5573                 :             :                   {
    5574                 :           6 :                     tree _q20 = gimple_call_arg (_c1, 0);
    5575                 :           6 :                     _q20 = do_valueize (valueize, _q20);
    5576                 :           6 :                     {
    5577                 :           6 :                       tree captures[1] ATTRIBUTE_UNUSED = { _q20 };
    5578                 :           6 :                       if (flag_unsafe_math_optimizations
    5579                 :             : )
    5580                 :             :                         {
    5581                 :           6 :                           gimple_seq *lseq = seq;
    5582                 :           6 :                           if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail1433;
    5583                 :           6 :                           {
    5584                 :           6 :                             tree tem;
    5585                 :           6 :                             tem = captures[0];
    5586                 :           6 :                             res_op->set_value (tem);
    5587                 :           6 :                             if (UNLIKELY (debug_dump)) gimple_dump_logs ("match.pd", 906, __FILE__, __LINE__, true);
    5588                 :           6 :                             return true;
    5589                 :             :                           }
    5590                 :           0 : next_after_fail1433:;
    5591                 :             :                         }
    5592                 :             :                     }
    5593                 :             :                   }
    5594                 :             :                 break;
    5595                 :             :               default:;
    5596                 :             :               }
    5597                 :             :         }
    5598                 :             :       break;
    5599                 :             :     default:;
    5600                 :             :     }
    5601                 :             :   return false;
    5602                 :             : }
    5603                 :             : 
    5604                 :             : bool
    5605                 :       11706 : gimple_simplify_CFN_BUILT_IN_SQRTL (gimple_match_op *res_op, gimple_seq *seq,
    5606                 :             :                  tree (*valueize)(tree) ATTRIBUTE_UNUSED,
    5607                 :             :                  code_helper ARG_UNUSED (code), tree ARG_UNUSED (type), tree _p0)
    5608                 :             : {
    5609                 :       11706 :   const bool debug_dump = dump_file && (dump_flags & TDF_FOLDING);
    5610                 :       11706 :   switch (TREE_CODE (_p0))
    5611                 :             :     {
    5612                 :       11355 :     case SSA_NAME:
    5613                 :       11355 :       if (gimple *_d1 = get_def (valueize, _p0))
    5614                 :             :         {
    5615                 :        5130 :           if (gcall *_c1 = dyn_cast <gcall *> (_d1))
    5616                 :         112 :             switch (gimple_call_combined_fn (_c1))
    5617                 :             :               {
    5618                 :          12 :               case CFN_BUILT_IN_SQRTL:
    5619                 :          12 :                 if (gimple_call_num_args (_c1) == 1)
    5620                 :             :                   {
    5621                 :          12 :                     tree _q20 = gimple_call_arg (_c1, 0);
    5622                 :          12 :                     _q20 = do_valueize (valueize, _q20);
    5623                 :          12 :                     {
    5624                 :          12 :                       tree captures[1] ATTRIBUTE_UNUSED = { _q20 };
    5625                 :          12 :                       if (flag_unsafe_math_optimizations && canonicalize_math_p ()
    5626                 :             : )
    5627                 :             :                         {
    5628                 :          12 :                           gimple_seq *lseq = seq;
    5629                 :          12 :                           if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail1453;
    5630                 :          12 :                           {
    5631                 :          12 :                             res_op->set_op (CFN_BUILT_IN_POWL, type, 2);
    5632                 :          12 :                             res_op->ops[0] = captures[0];
    5633                 :          12 :                             res_op->ops[1] =  build_real (type, dconst_quarter ());
    5634                 :          12 :                             res_op->resimplify (lseq, valueize);
    5635                 :          12 :                             if (UNLIKELY (debug_dump)) gimple_dump_logs ("match.pd", 907, __FILE__, __LINE__, true);
    5636                 :          12 :                             return true;
    5637                 :             :                           }
    5638                 :           0 : next_after_fail1453:;
    5639                 :             :                         }
    5640                 :             :                     }
    5641                 :             :                   }
    5642                 :             :                 break;
    5643                 :          12 :               case CFN_BUILT_IN_EXP10L:
    5644                 :          12 :                 if (gimple_call_num_args (_c1) == 1)
    5645                 :             :                   {
    5646                 :          12 :                     tree _q20 = gimple_call_arg (_c1, 0);
    5647                 :          12 :                     _q20 = do_valueize (valueize, _q20);
    5648                 :          12 :                     {
    5649                 :          12 :                       tree captures[1] ATTRIBUTE_UNUSED = { _q20 };
    5650                 :          12 :                       if (flag_unsafe_math_optimizations
    5651                 :             : )
    5652                 :             :                         {
    5653                 :          12 :                           gimple_seq *lseq = seq;
    5654                 :          12 :                           if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail1454;
    5655                 :          12 :                           {
    5656                 :          12 :                             res_op->set_op (CFN_BUILT_IN_EXP10L, type, 1);
    5657                 :          12 :                             {
    5658                 :          12 :                               tree _o1[2], _r1;
    5659                 :          12 :                               _o1[0] = captures[0];
    5660                 :          12 :                               _o1[1] =  build_real (type, dconsthalf);
    5661                 :          12 :                               gimple_match_op tem_op (res_op->cond.any_else (), MULT_EXPR, TREE_TYPE (_o1[0]), _o1[0], _o1[1]);
    5662                 :          12 :                               tem_op.resimplify (lseq, valueize);
    5663                 :          12 :                               _r1 = maybe_push_res_to_seq (&tem_op, lseq);
    5664                 :          12 :                               if (!_r1) goto next_after_fail1454;
    5665                 :           6 :                               res_op->ops[0] = _r1;
    5666                 :             :                             }
    5667                 :           6 :                             res_op->resimplify (lseq, valueize);
    5668                 :           6 :                             if (UNLIKELY (debug_dump)) gimple_dump_logs ("match.pd", 908, __FILE__, __LINE__, true);
    5669                 :           6 :                             return true;
    5670                 :             :                           }
    5671                 :             : next_after_fail1454:;
    5672                 :             :                         }
    5673                 :             :                     }
    5674                 :             :                   }
    5675                 :             :                 break;
    5676                 :          14 :               case CFN_BUILT_IN_EXPL:
    5677                 :          14 :                 if (gimple_call_num_args (_c1) == 1)
    5678                 :             :                   {
    5679                 :          14 :                     tree _q20 = gimple_call_arg (_c1, 0);
    5680                 :          14 :                     _q20 = do_valueize (valueize, _q20);
    5681                 :          14 :                     {
    5682                 :          14 :                       tree captures[1] ATTRIBUTE_UNUSED = { _q20 };
    5683                 :          14 :                       if (flag_unsafe_math_optimizations
    5684                 :             : )
    5685                 :             :                         {
    5686                 :          14 :                           gimple_seq *lseq = seq;
    5687                 :          14 :                           if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail1455;
    5688                 :          14 :                           {
    5689                 :          14 :                             res_op->set_op (CFN_BUILT_IN_EXPL, type, 1);
    5690                 :          14 :                             {
    5691                 :          14 :                               tree _o1[2], _r1;
    5692                 :          14 :                               _o1[0] = captures[0];
    5693                 :          14 :                               _o1[1] =  build_real (type, dconsthalf);
    5694                 :          14 :                               gimple_match_op tem_op (res_op->cond.any_else (), MULT_EXPR, TREE_TYPE (_o1[0]), _o1[0], _o1[1]);
    5695                 :          14 :                               tem_op.resimplify (lseq, valueize);
    5696                 :          14 :                               _r1 = maybe_push_res_to_seq (&tem_op, lseq);
    5697                 :          14 :                               if (!_r1) goto next_after_fail1455;
    5698                 :           7 :                               res_op->ops[0] = _r1;
    5699                 :             :                             }
    5700                 :           7 :                             res_op->resimplify (lseq, valueize);
    5701                 :           7 :                             if (UNLIKELY (debug_dump)) gimple_dump_logs ("match.pd", 908, __FILE__, __LINE__, true);
    5702                 :           7 :                             return true;
    5703                 :             :                           }
    5704                 :             : next_after_fail1455:;
    5705                 :             :                         }
    5706                 :             :                     }
    5707                 :             :                   }
    5708                 :             :                 break;
    5709                 :          14 :               case CFN_BUILT_IN_POWL:
    5710                 :          14 :                 if (gimple_call_num_args (_c1) == 2)
    5711                 :             :                   {
    5712                 :          14 :                     tree _q20 = gimple_call_arg (_c1, 0);
    5713                 :          14 :                     _q20 = do_valueize (valueize, _q20);
    5714                 :          14 :                     tree _q21 = gimple_call_arg (_c1, 1);
    5715                 :          14 :                     _q21 = do_valueize (valueize, _q21);
    5716                 :          14 :                     {
    5717                 :          14 :                       tree captures[2] ATTRIBUTE_UNUSED = { _q20, _q21 };
    5718                 :          14 :                       if (flag_unsafe_math_optimizations && canonicalize_math_p ()
    5719                 :             : )
    5720                 :             :                         {
    5721                 :          14 :                           gimple_seq *lseq = seq;
    5722                 :          14 :                           if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail1456;
    5723                 :          14 :                           {
    5724                 :          14 :                             res_op->set_op (CFN_BUILT_IN_POWL, type, 2);
    5725                 :          14 :                             {
    5726                 :          14 :                               tree _o1[1], _r1;
    5727                 :          14 :                               _o1[0] = captures[0];
    5728                 :          14 :                               gimple_match_op tem_op (res_op->cond.any_else (), ABS_EXPR, TREE_TYPE (_o1[0]), _o1[0]);
    5729                 :          14 :                               tem_op.resimplify (lseq, valueize);
    5730                 :          14 :                               _r1 = maybe_push_res_to_seq (&tem_op, lseq);
    5731                 :          14 :                               if (!_r1) goto next_after_fail1456;
    5732                 :          13 :                               res_op->ops[0] = _r1;
    5733                 :             :                             }
    5734                 :          13 :                             {
    5735                 :          13 :                               tree _o1[2], _r1;
    5736                 :          13 :                               _o1[0] = captures[1];
    5737                 :          13 :                               _o1[1] =  build_real (type, dconsthalf);
    5738                 :          13 :                               gimple_match_op tem_op (res_op->cond.any_else (), MULT_EXPR, TREE_TYPE (_o1[0]), _o1[0], _o1[1]);
    5739                 :          13 :                               tem_op.resimplify (lseq, valueize);
    5740                 :          13 :                               _r1 = maybe_push_res_to_seq (&tem_op, lseq);
    5741                 :          13 :                               if (!_r1) goto next_after_fail1456;
    5742                 :           7 :                               res_op->ops[1] = _r1;
    5743                 :             :                             }
    5744                 :           7 :                             res_op->resimplify (lseq, valueize);
    5745                 :           7 :                             if (UNLIKELY (debug_dump)) gimple_dump_logs ("match.pd", 909, __FILE__, __LINE__, true);
    5746                 :           7 :                             return true;
    5747                 :             :                           }
    5748                 :           7 : next_after_fail1456:;
    5749                 :             :                         }
    5750                 :             :                     }
    5751                 :             :                   }
    5752                 :             :                 break;
    5753                 :          12 :               case CFN_BUILT_IN_POW10L:
    5754                 :          12 :                 if (gimple_call_num_args (_c1) == 1)
    5755                 :             :                   {
    5756                 :          12 :                     tree _q20 = gimple_call_arg (_c1, 0);
    5757                 :          12 :                     _q20 = do_valueize (valueize, _q20);
    5758                 :          12 :                     {
    5759                 :          12 :                       tree captures[1] ATTRIBUTE_UNUSED = { _q20 };
    5760                 :          12 :                       if (flag_unsafe_math_optimizations
    5761                 :             : )
    5762                 :             :                         {
    5763                 :          12 :                           gimple_seq *lseq = seq;
    5764                 :          12 :                           if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail1457;
    5765                 :          12 :                           {
    5766                 :          12 :                             res_op->set_op (CFN_BUILT_IN_POW10L, type, 1);
    5767                 :          12 :                             {
    5768                 :          12 :                               tree _o1[2], _r1;
    5769                 :          12 :                               _o1[0] = captures[0];
    5770                 :          12 :                               _o1[1] =  build_real (type, dconsthalf);
    5771                 :          12 :                               gimple_match_op tem_op (res_op->cond.any_else (), MULT_EXPR, TREE_TYPE (_o1[0]), _o1[0], _o1[1]);
    5772                 :          12 :                               tem_op.resimplify (lseq, valueize);
    5773                 :          12 :                               _r1 = maybe_push_res_to_seq (&tem_op, lseq);
    5774                 :          12 :                               if (!_r1) goto next_after_fail1457;
    5775                 :           6 :                               res_op->ops[0] = _r1;
    5776                 :             :                             }
    5777                 :           6 :                             res_op->resimplify (lseq, valueize);
    5778                 :           6 :                             if (UNLIKELY (debug_dump)) gimple_dump_logs ("match.pd", 908, __FILE__, __LINE__, true);
    5779                 :           6 :                             return true;
    5780                 :             :                           }
    5781                 :             : next_after_fail1457:;
    5782                 :             :                         }
    5783                 :             :                     }
    5784                 :             :                   }
    5785                 :             :                 break;
    5786                 :          12 :               case CFN_BUILT_IN_CBRTL:
    5787                 :          12 :                 if (gimple_call_num_args (_c1) == 1)
    5788                 :             :                   {
    5789                 :          12 :                     tree _q20 = gimple_call_arg (_c1, 0);
    5790                 :          12 :                     _q20 = do_valueize (valueize, _q20);
    5791                 :          12 :                     {
    5792                 :          12 :                       tree captures[1] ATTRIBUTE_UNUSED = { _q20 };
    5793                 :          12 :                       if (flag_unsafe_math_optimizations && canonicalize_math_p ()
    5794                 :             : )
    5795                 :             :                         {
    5796                 :          12 :                           gimple_seq *lseq = seq;
    5797                 :          12 :                           if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail1458;
    5798                 :          12 :                           {
    5799                 :          12 :                             res_op->set_op (CFN_BUILT_IN_POWL, type, 2);
    5800                 :          12 :                             res_op->ops[0] = captures[0];
    5801                 :          12 :                             res_op->ops[1] =  build_real_truncate (type, dconst_sixth ());
    5802                 :          12 :                             res_op->resimplify (lseq, valueize);
    5803                 :          12 :                             if (UNLIKELY (debug_dump)) gimple_dump_logs ("match.pd", 910, __FILE__, __LINE__, true);
    5804                 :          12 :                             return true;
    5805                 :             :                           }
    5806                 :           0 : next_after_fail1458:;
    5807                 :             :                         }
    5808                 :             :                     }
    5809                 :             :                   }
    5810                 :             :                 break;
    5811                 :          12 :               case CFN_BUILT_IN_EXP2L:
    5812                 :          12 :                 if (gimple_call_num_args (_c1) == 1)
    5813                 :             :                   {
    5814                 :          12 :                     tree _q20 = gimple_call_arg (_c1, 0);
    5815                 :          12 :                     _q20 = do_valueize (valueize, _q20);
    5816                 :          12 :                     {
    5817                 :          12 :                       tree captures[1] ATTRIBUTE_UNUSED = { _q20 };
    5818                 :          12 :                       if (flag_unsafe_math_optimizations
    5819                 :             : )
    5820                 :             :                         {
    5821                 :          12 :                           gimple_seq *lseq = seq;
    5822                 :          12 :                           if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail1459;
    5823                 :          12 :                           {
    5824                 :          12 :                             res_op->set_op (CFN_BUILT_IN_EXP2L, type, 1);
    5825                 :          12 :                             {
    5826                 :          12 :                               tree _o1[2], _r1;
    5827                 :          12 :                               _o1[0] = captures[0];
    5828                 :          12 :                               _o1[1] =  build_real (type, dconsthalf);
    5829                 :          12 :                               gimple_match_op tem_op (res_op->cond.any_else (), MULT_EXPR, TREE_TYPE (_o1[0]), _o1[0], _o1[1]);
    5830                 :          12 :                               tem_op.resimplify (lseq, valueize);
    5831                 :          12 :                               _r1 = maybe_push_res_to_seq (&tem_op, lseq);
    5832                 :          12 :                               if (!_r1) goto next_after_fail1459;
    5833                 :           6 :                               res_op->ops[0] = _r1;
    5834                 :             :                             }
    5835                 :           6 :                             res_op->resimplify (lseq, valueize);
    5836                 :           6 :                             if (UNLIKELY (debug_dump)) gimple_dump_logs ("match.pd", 908, __FILE__, __LINE__, true);
    5837                 :           6 :                             return true;
    5838                 :             :                           }
    5839                 :             : next_after_fail1459:;
    5840                 :             :                         }
    5841                 :             :                     }
    5842                 :             :                   }
    5843                 :             :                 break;
    5844                 :             :               default:;
    5845                 :             :               }
    5846                 :             :         }
    5847                 :             :       break;
    5848                 :             :     default:;
    5849                 :             :     }
    5850                 :             :   return false;
    5851                 :             : }
    5852                 :             : 
    5853                 :             : bool
    5854                 :         997 : gimple_simplify_CFN_BUILT_IN_TRUNCL (gimple_match_op *res_op, gimple_seq *seq,
    5855                 :             :                  tree (*valueize)(tree) ATTRIBUTE_UNUSED,
    5856                 :             :                  code_helper ARG_UNUSED (code), tree ARG_UNUSED (type), tree _p0)
    5857                 :             : {
    5858                 :         997 :   const bool debug_dump = dump_file && (dump_flags & TDF_FOLDING);
    5859                 :         997 :   switch (TREE_CODE (_p0))
    5860                 :             :     {
    5861                 :         963 :     case SSA_NAME:
    5862                 :         963 :       if (gimple *_d1 = get_def (valueize, _p0))
    5863                 :             :         {
    5864                 :         592 :           if (gassign *_a1 = dyn_cast <gassign *> (_d1))
    5865                 :         672 :             switch (gimple_assign_rhs_code (_a1))
    5866                 :             :               {
    5867                 :         110 :               CASE_CONVERT:
    5868                 :         110 :                 {
    5869                 :         110 :                   tree _q20 = gimple_assign_rhs1 (_a1);
    5870                 :         110 :                   _q20 = do_valueize (valueize, _q20);
    5871                 :         110 :                   if (gimple_double_value_p (_q20, valueize))
    5872                 :             :                     {
    5873                 :          36 :                       {
    5874                 :          36 :                         tree captures[1] ATTRIBUTE_UNUSED = { _q20 };
    5875                 :          36 :                         if (gimple_simplify_606 (res_op, seq, valueize, type, captures, CFN_BUILT_IN_TRUNCL, CFN_BUILT_IN_TRUNC))
    5876                 :          18 :                           return true;
    5877                 :             :                       }
    5878                 :             :                     }
    5879                 :          92 :                   if (gimple_float_value_p (_q20, valueize))
    5880                 :             :                     {
    5881                 :          72 :                       {
    5882                 :          72 :                         tree captures[1] ATTRIBUTE_UNUSED = { _q20 };
    5883                 :          72 :                         if (gimple_simplify_605 (res_op, seq, valueize, type, captures, CFN_BUILT_IN_TRUNCL, CFN_BUILT_IN_TRUNCF))
    5884                 :          36 :                           return true;
    5885                 :             :                       }
    5886                 :             :                     }
    5887                 :             :                   break;
    5888                 :             :                 }
    5889                 :             :               default:;
    5890                 :             :               }
    5891                 :         161 :           else if (gcall *_c1 = dyn_cast <gcall *> (_d1))
    5892                 :           0 :             switch (gimple_call_combined_fn (_c1))
    5893                 :             :               {
    5894                 :           0 :               case CFN_BUILT_IN_TRUNCL:
    5895                 :           0 :                 if (gimple_call_num_args (_c1) == 1)
    5896                 :             :                   {
    5897                 :           0 :                     tree _q20 = gimple_call_arg (_c1, 0);
    5898                 :           0 :                     _q20 = do_valueize (valueize, _q20);
    5899                 :           0 :                     {
    5900                 :           0 :                       tree captures[1] ATTRIBUTE_UNUSED = { _q20 };
    5901                 :           0 :                       if (gimple_simplify_603 (res_op, seq, valueize, type, captures, CFN_BUILT_IN_TRUNCL))
    5902                 :           0 :                         return true;
    5903                 :             :                     }
    5904                 :             :                   }
    5905                 :             :                 break;
    5906                 :             :               default:;
    5907                 :             :               }
    5908                 :             :         }
    5909                 :             :       break;
    5910                 :         943 :     default:;
    5911                 :             :     }
    5912                 :         943 : if (integer_valued_real_p (_p0))
    5913                 :             :   {
    5914                 :          10 :     {
    5915                 :          10 :       tree captures[1] ATTRIBUTE_UNUSED = { _p0 };
    5916                 :          10 :       if (gimple_simplify_604 (res_op, seq, valueize, type, captures, CFN_BUILT_IN_TRUNCL))
    5917                 :          10 :         return true;
    5918                 :             :     }
    5919                 :             :   }
    5920                 :             :   return false;
    5921                 :             : }
    5922                 :             : 
    5923                 :             : bool
    5924                 :         146 : gimple_simplify_CFN_BUILT_IN_FLOORF128 (gimple_match_op *res_op, gimple_seq *seq,
    5925                 :             :                  tree (*valueize)(tree) ATTRIBUTE_UNUSED,
    5926                 :             :                  code_helper ARG_UNUSED (code), tree ARG_UNUSED (type), tree _p0)
    5927                 :             : {
    5928                 :         146 :   const bool debug_dump = dump_file && (dump_flags & TDF_FOLDING);
    5929                 :         146 :   switch (TREE_CODE (_p0))
    5930                 :             :     {
    5931                 :         144 :     case SSA_NAME:
    5932                 :         144 :       if (gimple *_d1 = get_def (valueize, _p0))
    5933                 :             :         {
    5934                 :          94 :           if (gcall *_c1 = dyn_cast <gcall *> (_d1))
    5935                 :           0 :             switch (gimple_call_combined_fn (_c1))
    5936                 :             :               {
    5937                 :           0 :               case CFN_BUILT_IN_FLOORF128:
    5938                 :           0 :                 if (gimple_call_num_args (_c1) == 1)
    5939                 :             :                   {
    5940                 :           0 :                     tree _q20 = gimple_call_arg (_c1, 0);
    5941                 :           0 :                     _q20 = do_valueize (valueize, _q20);
    5942                 :           0 :                     {
    5943                 :           0 :                       tree captures[1] ATTRIBUTE_UNUSED = { _q20 };
    5944                 :           0 :                       if (gimple_simplify_603 (res_op, seq, valueize, type, captures, CFN_BUILT_IN_FLOORF128))
    5945                 :           0 :                         return true;
    5946                 :             :                     }
    5947                 :             :                   }
    5948                 :             :                 break;
    5949                 :             :               default:;
    5950                 :             :               }
    5951                 :             :         }
    5952                 :             :       break;
    5953                 :         146 :     default:;
    5954                 :             :     }
    5955                 :         146 : if (integer_valued_real_p (_p0))
    5956                 :             :   {
    5957                 :           0 :     {
    5958                 :           0 :       tree captures[1] ATTRIBUTE_UNUSED = { _p0 };
    5959                 :           0 :       if (gimple_simplify_604 (res_op, seq, valueize, type, captures, CFN_BUILT_IN_FLOORF128))
    5960                 :           0 :         return true;
    5961                 :             :     }
    5962                 :             :   }
    5963                 :         146 : if (tree_expr_nonnegative_p (_p0))
    5964                 :             :   {
    5965                 :           0 :     {
    5966                 :           0 :       tree captures[1] ATTRIBUTE_UNUSED = { _p0 };
    5967                 :           0 :       if (gimple_simplify_607 (res_op, seq, valueize, type, captures, CFN_BUILT_IN_FLOORF128, CFN_BUILT_IN_TRUNCF128))
    5968                 :           0 :         return true;
    5969                 :             :     }
    5970                 :             :   }
    5971                 :             :   return false;
    5972                 :             : }
    5973                 :             : 
    5974                 :             : bool
    5975                 :         887 : gimple_simplify_CFN_BUILT_IN_CEILL (gimple_match_op *res_op, gimple_seq *seq,
    5976                 :             :                  tree (*valueize)(tree) ATTRIBUTE_UNUSED,
    5977                 :             :                  code_helper ARG_UNUSED (code), tree ARG_UNUSED (type), tree _p0)
    5978                 :             : {
    5979                 :         887 :   const bool debug_dump = dump_file && (dump_flags & TDF_FOLDING);
    5980                 :         887 :   switch (TREE_CODE (_p0))
    5981                 :             :     {
    5982                 :         848 :     case SSA_NAME:
    5983                 :         848 :       if (gimple *_d1 = get_def (valueize, _p0))
    5984                 :             :         {
    5985                 :         498 :           if (gassign *_a1 = dyn_cast <gassign *> (_d1))
    5986                 :         534 :             switch (gimple_assign_rhs_code (_a1))
    5987                 :             :               {
    5988                 :         122 :               CASE_CONVERT:
    5989                 :         122 :                 {
    5990                 :         122 :                   tree _q20 = gimple_assign_rhs1 (_a1);
    5991                 :         122 :                   _q20 = do_valueize (valueize, _q20);
    5992                 :         122 :                   if (gimple_double_value_p (_q20, valueize))
    5993                 :             :                     {
    5994                 :          48 :                       {
    5995                 :          48 :                         tree captures[1] ATTRIBUTE_UNUSED = { _q20 };
    5996                 :          48 :                         if (gimple_simplify_606 (res_op, seq, valueize, type, captures, CFN_BUILT_IN_CEILL, CFN_BUILT_IN_CEIL))
    5997                 :          24 :                           return true;
    5998                 :             :                       }
    5999                 :             :                     }
    6000                 :          98 :                   if (gimple_float_value_p (_q20, valueize))
    6001                 :             :                     {
    6002                 :          72 :                       {
    6003                 :          72 :                         tree captures[1] ATTRIBUTE_UNUSED = { _q20 };
    6004                 :          72 :                         if (gimple_simplify_605 (res_op, seq, valueize, type, captures, CFN_BUILT_IN_CEILL, CFN_BUILT_IN_CEILF))
    6005                 :          36 :                           return true;
    6006                 :             :                       }
    6007                 :             :                     }
    6008                 :             :                   break;
    6009                 :             :                 }
    6010                 :             :               default:;
    6011                 :             :               }
    6012                 :         161 :           else if (gcall *_c1 = dyn_cast <gcall *> (_d1))
    6013                 :           0 :             switch (gimple_call_combined_fn (_c1))
    6014                 :             :               {
    6015                 :           0 :               case CFN_BUILT_IN_CEILL:
    6016                 :           0 :                 if (gimple_call_num_args (_c1) == 1)
    6017                 :             :                   {
    6018                 :           0 :                     tree _q20 = gimple_call_arg (_c1, 0);
    6019                 :           0 :                     _q20 = do_valueize (valueize, _q20);
    6020                 :           0 :                     {
    6021                 :           0 :                       tree captures[1] ATTRIBUTE_UNUSED = { _q20 };
    6022                 :           0 :                       if (gimple_simplify_603 (res_op, seq, valueize, type, captures, CFN_BUILT_IN_CEILL))
    6023                 :           0 :                         return true;
    6024                 :             :                     }
    6025                 :             :                   }
    6026                 :             :                 break;
    6027                 :             :               default:;
    6028                 :             :               }
    6029                 :             :         }
    6030                 :             :       break;
    6031                 :         827 :     default:;
    6032                 :             :     }
    6033                 :         827 : if (integer_valued_real_p (_p0))
    6034                 :             :   {
    6035                 :          70 :     {
    6036                 :          70 :       tree captures[1] ATTRIBUTE_UNUSED = { _p0 };
    6037                 :          70 :       if (gimple_simplify_604 (res_op, seq, valueize, type, captures, CFN_BUILT_IN_CEILL))
    6038                 :          70 :         return true;
    6039                 :             :     }
    6040                 :             :   }
    6041                 :             :   return false;
    6042                 :             : }
    6043                 :             : 
    6044                 :             : bool
    6045                 :           0 : gimple_simplify_CFN_BUILT_IN_ROUNDF32 (gimple_match_op *res_op, gimple_seq *seq,
    6046                 :             :                  tree (*valueize)(tree) ATTRIBUTE_UNUSED,
    6047                 :             :                  code_helper ARG_UNUSED (code), tree ARG_UNUSED (type), tree _p0)
    6048                 :             : {
    6049                 :           0 :   const bool debug_dump = dump_file && (dump_flags & TDF_FOLDING);
    6050                 :           0 :   switch (TREE_CODE (_p0))
    6051                 :             :     {
    6052                 :           0 :     case SSA_NAME:
    6053                 :           0 :       if (gimple *_d1 = get_def (valueize, _p0))
    6054                 :             :         {
    6055                 :           0 :           if (gcall *_c1 = dyn_cast <gcall *> (_d1))
    6056                 :           0 :             switch (gimple_call_combined_fn (_c1))
    6057                 :             :               {
    6058                 :           0 :               case CFN_BUILT_IN_ROUNDF32:
    6059                 :           0 :                 if (gimple_call_num_args (_c1) == 1)
    6060                 :             :                   {
    6061                 :           0 :                     tree _q20 = gimple_call_arg (_c1, 0);
    6062                 :           0 :                     _q20 = do_valueize (valueize, _q20);
    6063                 :           0 :                     {
    6064                 :           0 :                       tree captures[1] ATTRIBUTE_UNUSED = { _q20 };
    6065                 :           0 :                       if (gimple_simplify_603 (res_op, seq, valueize, type, captures, CFN_BUILT_IN_ROUNDF32))
    6066                 :           0 :                         return true;
    6067                 :             :                     }
    6068                 :             :                   }
    6069                 :             :                 break;
    6070                 :             :               default:;
    6071                 :             :               }
    6072                 :             :         }
    6073                 :             :       break;
    6074                 :           0 :     default:;
    6075                 :             :     }
    6076                 :           0 : if (integer_valued_real_p (_p0))
    6077                 :             :   {
    6078                 :           0 :     {
    6079                 :           0 :       tree captures[1] ATTRIBUTE_UNUSED = { _p0 };
    6080                 :           0 :       if (gimple_simplify_604 (res_op, seq, valueize, type, captures, CFN_BUILT_IN_ROUNDF32))
    6081                 :           0 :         return true;
    6082                 :             :     }
    6083                 :             :   }
    6084                 :             :   return false;
    6085                 :             : }
    6086                 :             : 
    6087                 :             : bool
    6088                 :        1408 : gimple_simplify_CFN_BUILT_IN_NEARBYINTF (gimple_match_op *res_op, gimple_seq *seq,
    6089                 :             :                  tree (*valueize)(tree) ATTRIBUTE_UNUSED,
    6090                 :             :                  code_helper ARG_UNUSED (code), tree ARG_UNUSED (type), tree _p0)
    6091                 :             : {
    6092                 :        1408 :   const bool debug_dump = dump_file && (dump_flags & TDF_FOLDING);
    6093                 :        1408 :   switch (TREE_CODE (_p0))
    6094                 :             :     {
    6095                 :        1285 :     case SSA_NAME:
    6096                 :        1285 :       if (gimple *_d1 = get_def (valueize, _p0))
    6097                 :             :         {
    6098                 :         798 :           if (gcall *_c1 = dyn_cast <gcall *> (_d1))
    6099                 :           0 :             switch (gimple_call_combined_fn (_c1))
    6100                 :             :               {
    6101                 :           0 :               case CFN_BUILT_IN_NEARBYINTF:
    6102                 :           0 :                 if (gimple_call_num_args (_c1) == 1)
    6103                 :             :                   {
    6104                 :           0 :                     tree _q20 = gimple_call_arg (_c1, 0);
    6105                 :           0 :                     _q20 = do_valueize (valueize, _q20);
    6106                 :           0 :                     {
    6107                 :           0 :                       tree captures[1] ATTRIBUTE_UNUSED = { _q20 };
    6108                 :           0 :                       if (gimple_simplify_603 (res_op, seq, valueize, type, captures, CFN_BUILT_IN_NEARBYINTF))
    6109                 :           0 :                         return true;
    6110                 :             :                     }
    6111                 :             :                   }
    6112                 :             :                 break;
    6113                 :             :               default:;
    6114                 :             :               }
    6115                 :             :         }
    6116                 :             :       break;
    6117                 :        1408 :     default:;
    6118                 :             :     }
    6119                 :        1408 : if (integer_valued_real_p (_p0))
    6120                 :             :   {
    6121                 :          51 :     {
    6122                 :          51 :       tree captures[1] ATTRIBUTE_UNUSED = { _p0 };
    6123                 :          51 :       if (gimple_simplify_604 (res_op, seq, valueize, type, captures, CFN_BUILT_IN_NEARBYINTF))
    6124                 :          51 :         return true;
    6125                 :             :     }
    6126                 :             :   }
    6127                 :             :   return false;
    6128                 :             : }
    6129                 :             : 
    6130                 :             : bool
    6131                 :           0 : gimple_simplify_CFN_BUILT_IN_NEARBYINTF128X (gimple_match_op *res_op, gimple_seq *seq,
    6132                 :             :                  tree (*valueize)(tree) ATTRIBUTE_UNUSED,
    6133                 :             :                  code_helper ARG_UNUSED (code), tree ARG_UNUSED (type), tree _p0)
    6134                 :             : {
    6135                 :           0 :   const bool debug_dump = dump_file && (dump_flags & TDF_FOLDING);
    6136                 :           0 :   switch (TREE_CODE (_p0))
    6137                 :             :     {
    6138                 :           0 :     case SSA_NAME:
    6139                 :           0 :       if (gimple *_d1 = get_def (valueize, _p0))
    6140                 :             :         {
    6141                 :           0 :           if (gcall *_c1 = dyn_cast <gcall *> (_d1))
    6142                 :           0 :             switch (gimple_call_combined_fn (_c1))
    6143                 :             :               {
    6144                 :           0 :               case CFN_BUILT_IN_NEARBYINTF128X:
    6145                 :           0 :                 if (gimple_call_num_args (_c1) == 1)
    6146                 :             :                   {
    6147                 :           0 :                     tree _q20 = gimple_call_arg (_c1, 0);
    6148                 :           0 :                     _q20 = do_valueize (valueize, _q20);
    6149                 :           0 :                     {
    6150                 :           0 :                       tree captures[1] ATTRIBUTE_UNUSED = { _q20 };
    6151                 :           0 :                       if (gimple_simplify_603 (res_op, seq, valueize, type, captures, CFN_BUILT_IN_NEARBYINTF128X))
    6152                 :           0 :                         return true;
    6153                 :             :                     }
    6154                 :             :                   }
    6155                 :             :                 break;
    6156                 :             :               default:;
    6157                 :             :               }
    6158                 :             :         }
    6159                 :             :       break;
    6160                 :           0 :     default:;
    6161                 :             :     }
    6162                 :           0 : if (integer_valued_real_p (_p0))
    6163                 :             :   {
    6164                 :           0 :     {
    6165                 :           0 :       tree captures[1] ATTRIBUTE_UNUSED = { _p0 };
    6166                 :           0 :       if (gimple_simplify_604 (res_op, seq, valueize, type, captures, CFN_BUILT_IN_NEARBYINTF128X))
    6167                 :           0 :         return true;
    6168                 :             :     }
    6169                 :             :   }
    6170                 :             :   return false;
    6171                 :             : }
    6172                 :             : 
    6173                 :             : bool
    6174                 :           0 : gimple_simplify_CFN_BUILT_IN_RINTF32X (gimple_match_op *res_op, gimple_seq *seq,
    6175                 :             :                  tree (*valueize)(tree) ATTRIBUTE_UNUSED,
    6176                 :             :                  code_helper ARG_UNUSED (code), tree ARG_UNUSED (type), tree _p0)
    6177                 :             : {
    6178                 :           0 :   const bool debug_dump = dump_file && (dump_flags & TDF_FOLDING);
    6179                 :           0 :   switch (TREE_CODE (_p0))
    6180                 :             :     {
    6181                 :           0 :     case SSA_NAME:
    6182                 :           0 :       if (gimple *_d1 = get_def (valueize, _p0))
    6183                 :             :         {
    6184                 :           0 :           if (gcall *_c1 = dyn_cast <gcall *> (_d1))
    6185                 :           0 :             switch (gimple_call_combined_fn (_c1))
    6186                 :             :               {
    6187                 :           0 :               case CFN_BUILT_IN_RINTF32X:
    6188                 :           0 :                 if (gimple_call_num_args (_c1) == 1)
    6189                 :             :                   {
    6190                 :           0 :                     tree _q20 = gimple_call_arg (_c1, 0);
    6191                 :           0 :                     _q20 = do_valueize (valueize, _q20);
    6192                 :           0 :                     {
    6193                 :           0 :                       tree captures[1] ATTRIBUTE_UNUSED = { _q20 };
    6194                 :           0 :                       if (gimple_simplify_603 (res_op, seq, valueize, type, captures, CFN_BUILT_IN_RINTF32X))
    6195                 :           0 :                         return true;
    6196                 :             :                     }
    6197                 :             :                   }
    6198                 :             :                 break;
    6199                 :             :               default:;
    6200                 :             :               }
    6201                 :             :         }
    6202                 :             :       break;
    6203                 :           0 :     default:;
    6204                 :             :     }
    6205                 :           0 : if (integer_valued_real_p (_p0))
    6206                 :             :   {
    6207                 :           0 :     {
    6208                 :           0 :       tree captures[1] ATTRIBUTE_UNUSED = { _p0 };
    6209                 :           0 :       if (gimple_simplify_604 (res_op, seq, valueize, type, captures, CFN_BUILT_IN_RINTF32X))
    6210                 :           0 :         return true;
    6211                 :             :     }
    6212                 :             :   }
    6213                 :             :   return false;
    6214                 :             : }
    6215                 :             : 
    6216                 :             : bool
    6217                 :         130 : gimple_simplify_CFN_BUILT_IN_LLFLOORL (gimple_match_op *res_op, gimple_seq *seq,
    6218                 :             :                  tree (*valueize)(tree) ATTRIBUTE_UNUSED,
    6219                 :             :                  code_helper ARG_UNUSED (code), tree ARG_UNUSED (type), tree _p0)
    6220                 :             : {
    6221                 :         130 :   const bool debug_dump = dump_file && (dump_flags & TDF_FOLDING);
    6222                 :         130 :   switch (TREE_CODE (_p0))
    6223                 :             :     {
    6224                 :          98 :     case SSA_NAME:
    6225                 :          98 :       if (gimple *_d1 = get_def (valueize, _p0))
    6226                 :             :         {
    6227                 :           0 :           if (gassign *_a1 = dyn_cast <gassign *> (_d1))
    6228                 :           0 :             switch (gimple_assign_rhs_code (_a1))
    6229                 :             :               {
    6230                 :           0 :               CASE_CONVERT:
    6231                 :           0 :                 {
    6232                 :           0 :                   tree _q20 = gimple_assign_rhs1 (_a1);
    6233                 :           0 :                   _q20 = do_valueize (valueize, _q20);
    6234                 :           0 :                   if (gimple_double_value_p (_q20, valueize))
    6235                 :             :                     {
    6236                 :           0 :                       {
    6237                 :           0 :                         tree captures[1] ATTRIBUTE_UNUSED = { _q20 };
    6238                 :           0 :                         if (gimple_simplify_610 (res_op, seq, valueize, type, captures, CFN_BUILT_IN_LLFLOORL, CFN_BUILT_IN_LLFLOOR))
    6239                 :           0 :                           return true;
    6240                 :             :                       }
    6241                 :             :                     }
    6242                 :           0 :                   if (gimple_float_value_p (_q20, valueize))
    6243                 :             :                     {
    6244                 :           0 :                       {
    6245                 :           0 :                         tree captures[1] ATTRIBUTE_UNUSED = { _q20 };
    6246                 :           0 :                         if (gimple_simplify_611 (res_op, seq, valueize, type, captures, CFN_BUILT_IN_LLFLOORL, CFN_BUILT_IN_LLFLOORF))
    6247                 :           0 :                           return true;
    6248                 :             :                       }
    6249                 :             :                     }
    6250                 :             :                   break;
    6251                 :             :                 }
    6252                 :             :               default:;
    6253                 :             :               }
    6254                 :             :         }
    6255                 :             :       break;
    6256                 :         130 :     default:;
    6257                 :             :     }
    6258                 :         130 : if (tree_expr_nonnegative_p (_p0))
    6259                 :             :   {
    6260                 :           6 :     {
    6261                 :           6 :       tree captures[1] ATTRIBUTE_UNUSED = { _p0 };
    6262                 :           6 :       if (gimple_simplify_612 (res_op, seq, valueize, type, captures, CFN_BUILT_IN_LLFLOORL))
    6263                 :           6 :         return true;
    6264                 :             :     }
    6265                 :             :   }
    6266                 :         124 : if (integer_valued_real_p (_p0))
    6267                 :             :   {
    6268                 :          20 :     {
    6269                 :          20 :       tree captures[1] ATTRIBUTE_UNUSED = { _p0 };
    6270                 :          20 :       if (gimple_simplify_613 (res_op, seq, valueize, type, captures, CFN_BUILT_IN_LLFLOORL))
    6271                 :          20 :         return true;
    6272                 :             :     }
    6273                 :             :   }
    6274                 :         104 :   {
    6275                 :         104 :     tree captures[1] ATTRIBUTE_UNUSED = { _p0 };
    6276                 :         104 :     if (gimple_simplify_615 (res_op, seq, valueize, type, captures, CFN_BUILT_IN_IFLOORL, CFN_BUILT_IN_LFLOORL, CFN_BUILT_IN_LLFLOORL))
    6277                 :         104 :       return true;
    6278                 :             :   }
    6279                 :           0 :   return false;
    6280                 :             : }
    6281                 :             : 
    6282                 :             : bool
    6283                 :        1243 : gimple_simplify_CFN_BUILT_IN_LRINTL (gimple_match_op *res_op, gimple_seq *seq,
    6284                 :             :                  tree (*valueize)(tree) ATTRIBUTE_UNUSED,
    6285                 :             :                  code_helper ARG_UNUSED (code), tree ARG_UNUSED (type), tree _p0)
    6286                 :             : {
    6287                 :        1243 :   const bool debug_dump = dump_file && (dump_flags & TDF_FOLDING);
    6288                 :        1243 :   switch (TREE_CODE (_p0))
    6289                 :             :     {
    6290                 :        1141 :     case SSA_NAME:
    6291                 :        1141 :       if (gimple *_d1 = get_def (valueize, _p0))
    6292                 :             :         {
    6293                 :         743 :           if (gassign *_a1 = dyn_cast <gassign *> (_d1))
    6294                 :         414 :             switch (gimple_assign_rhs_code (_a1))
    6295                 :             :               {
    6296                 :         384 :               CASE_CONVERT:
    6297                 :         384 :                 {
    6298                 :         384 :                   tree _q20 = gimple_assign_rhs1 (_a1);
    6299                 :         384 :                   _q20 = do_valueize (valueize, _q20);
    6300                 :         384 :                   if (gimple_double_value_p (_q20, valueize))
    6301                 :             :                     {
    6302                 :         144 :                       {
    6303                 :         144 :                         tree captures[1] ATTRIBUTE_UNUSED = { _q20 };
    6304                 :         144 :                         if (gimple_simplify_610 (res_op, seq, valueize, type, captures, CFN_BUILT_IN_LRINTL, CFN_BUILT_IN_LRINT))
    6305                 :         144 :                           return true;
    6306                 :             :                       }
    6307                 :             :                     }
    6308                 :         240 :                   if (gimple_float_value_p (_q20, valueize))
    6309                 :             :                     {
    6310                 :         240 :                       {
    6311                 :         240 :                         tree captures[1] ATTRIBUTE_UNUSED = { _q20 };
    6312                 :         240 :                         if (gimple_simplify_611 (res_op, seq, valueize, type, captures, CFN_BUILT_IN_LRINTL, CFN_BUILT_IN_LRINTF))
    6313                 :         240 :                           return true;
    6314                 :             :                       }
    6315                 :             :                     }
    6316                 :             :                   break;
    6317                 :             :                 }
    6318                 :             :               default:;
    6319                 :             :               }
    6320                 :             :         }
    6321                 :             :       break;
    6322                 :         859 :     default:;
    6323                 :             :     }
    6324                 :         859 : if (integer_valued_real_p (_p0))
    6325                 :             :   {
    6326                 :          42 :     {
    6327                 :          42 :       tree captures[1] ATTRIBUTE_UNUSED = { _p0 };
    6328                 :          42 :       if (gimple_simplify_616 (res_op, seq, valueize, type, captures, CFN_BUILT_IN_LRINTL))
    6329                 :          20 :         return true;
    6330                 :             :     }
    6331                 :             :   }
    6332                 :             :   return false;
    6333                 :             : }
    6334                 :             : 
    6335                 :             : bool
    6336                 :         124 : gimple_simplify_CFN_BUILT_IN_LLCEIL (gimple_match_op *res_op, gimple_seq *seq,
    6337                 :             :                  tree (*valueize)(tree) ATTRIBUTE_UNUSED,
    6338                 :             :                  code_helper ARG_UNUSED (code), tree ARG_UNUSED (type), tree _p0)
    6339                 :             : {
    6340                 :         124 :   const bool debug_dump = dump_file && (dump_flags & TDF_FOLDING);
    6341                 :         124 :   switch (TREE_CODE (_p0))
    6342                 :             :     {
    6343                 :          68 :     case SSA_NAME:
    6344                 :          68 :       if (gimple *_d1 = get_def (valueize, _p0))
    6345                 :             :         {
    6346                 :           0 :           if (gassign *_a1 = dyn_cast <gassign *> (_d1))
    6347                 :           0 :             switch (gimple_assign_rhs_code (_a1))
    6348                 :             :               {
    6349                 :           0 :               CASE_CONVERT:
    6350                 :           0 :                 {
    6351                 :           0 :                   tree _q20 = gimple_assign_rhs1 (_a1);
    6352                 :           0 :                   _q20 = do_valueize (valueize, _q20);
    6353                 :           0 :                   if (gimple_float_value_p (_q20, valueize))
    6354                 :             :                     {
    6355                 :           0 :                       {
    6356                 :           0 :                         tree captures[1] ATTRIBUTE_UNUSED = { _q20 };
    6357                 :           0 :                         if (gimple_simplify_611 (res_op, seq, valueize, type, captures, CFN_BUILT_IN_LLCEIL, CFN_BUILT_IN_LLCEILF))
    6358                 :           0 :                           return true;
    6359                 :             :                       }
    6360                 :             :                     }
    6361                 :             :                   break;
    6362                 :             :                 }
    6363                 :             :               default:;
    6364                 :             :               }
    6365                 :             :         }
    6366                 :             :       break;
    6367                 :         124 :     default:;
    6368                 :             :     }
    6369                 :         124 : if (integer_valued_real_p (_p0))
    6370                 :             :   {
    6371                 :          20 :     {
    6372                 :          20 :       tree captures[1] ATTRIBUTE_UNUSED = { _p0 };
    6373                 :          20 :       if (gimple_simplify_613 (res_op, seq, valueize, type, captures, CFN_BUILT_IN_LLCEIL))
    6374                 :          20 :         return true;
    6375                 :             :     }
    6376                 :             :   }
    6377                 :         104 :   {
    6378                 :         104 :     tree captures[1] ATTRIBUTE_UNUSED = { _p0 };
    6379                 :         104 :     if (gimple_simplify_615 (res_op, seq, valueize, type, captures, CFN_BUILT_IN_ICEIL, CFN_BUILT_IN_LCEIL, CFN_BUILT_IN_LLCEIL))
    6380                 :         104 :       return true;
    6381                 :             :   }
    6382                 :           0 :   return false;
    6383                 :             : }
    6384                 :             : 
    6385                 :             : bool
    6386                 :        1881 : gimple_simplify_CFN_BUILT_IN_LFLOORF (gimple_match_op *res_op, gimple_seq *seq,
    6387                 :             :                  tree (*valueize)(tree) ATTRIBUTE_UNUSED,
    6388                 :             :                  code_helper ARG_UNUSED (code), tree ARG_UNUSED (type), tree _p0)
    6389                 :             : {
    6390                 :        1881 :   const bool debug_dump = dump_file && (dump_flags & TDF_FOLDING);
    6391                 :        1881 :   if (tree_expr_nonnegative_p (_p0))
    6392                 :             :     {
    6393                 :           6 :       {
    6394                 :           6 :         tree captures[1] ATTRIBUTE_UNUSED = { _p0 };
    6395                 :           6 :         if (gimple_simplify_612 (res_op, seq, valueize, type, captures, CFN_BUILT_IN_LFLOORF))
    6396                 :           6 :           return true;
    6397                 :             :       }
    6398                 :             :     }
    6399                 :        1875 :   if (integer_valued_real_p (_p0))
    6400                 :             :     {
    6401                 :          20 :       {
    6402                 :          20 :         tree captures[1] ATTRIBUTE_UNUSED = { _p0 };
    6403                 :          20 :         if (gimple_simplify_613 (res_op, seq, valueize, type, captures, CFN_BUILT_IN_LFLOORF))
    6404                 :          20 :           return true;
    6405                 :             :       }
    6406                 :             :     }
    6407                 :             :   return false;
    6408                 :             : }
    6409                 :             : 
    6410                 :             : bool
    6411                 :          40 : gimple_simplify_CFN_ICEIL (gimple_match_op *res_op, gimple_seq *seq,
    6412                 :             :                  tree (*valueize)(tree) ATTRIBUTE_UNUSED,
    6413                 :             :                  code_helper ARG_UNUSED (code), tree ARG_UNUSED (type), tree _p0)
    6414                 :             : {
    6415                 :          40 :   const bool debug_dump = dump_file && (dump_flags & TDF_FOLDING);
    6416                 :          40 :   if (integer_valued_real_p (_p0))
    6417                 :             :     {
    6418                 :           0 :       {
    6419                 :           0 :         tree captures[1] ATTRIBUTE_UNUSED = { _p0 };
    6420                 :           0 :         if (gimple_simplify_613 (res_op, seq, valueize, type, captures, CFN_ICEIL))
    6421                 :           0 :           return true;
    6422                 :             :       }
    6423                 :             :     }
    6424                 :          40 :   {
    6425                 :          40 :     tree captures[1] ATTRIBUTE_UNUSED = { _p0 };
    6426                 :          40 :     if (gimple_simplify_614 (res_op, seq, valueize, type, captures, CFN_ICEIL, CFN_LCEIL, CFN_LLCEIL))
    6427                 :           0 :       return true;
    6428                 :             :   }
    6429                 :          40 :   return false;
    6430                 :             : }
    6431                 :             : 
    6432                 :             : bool
    6433                 :           0 : gimple_simplify_CFN_LLROUND (gimple_match_op *res_op, gimple_seq *seq,
    6434                 :             :                  tree (*valueize)(tree) ATTRIBUTE_UNUSED,
    6435                 :             :                  code_helper ARG_UNUSED (code), tree ARG_UNUSED (type), tree _p0)
    6436                 :             : {
    6437                 :           0 :   const bool debug_dump = dump_file && (dump_flags & TDF_FOLDING);
    6438                 :           0 :   if (integer_valued_real_p (_p0))
    6439                 :             :     {
    6440                 :           0 :       {
    6441                 :           0 :         tree captures[1] ATTRIBUTE_UNUSED = { _p0 };
    6442                 :           0 :         if (gimple_simplify_613 (res_op, seq, valueize, type, captures, CFN_LLROUND))
    6443                 :           0 :           return true;
    6444                 :             :       }
    6445                 :             :     }
    6446                 :           0 :   {
    6447                 :           0 :     tree captures[1] ATTRIBUTE_UNUSED = { _p0 };
    6448                 :           0 :     if (gimple_simplify_615 (res_op, seq, valueize, type, captures, CFN_IROUND, CFN_LROUND, CFN_LLROUND))
    6449                 :           0 :       return true;
    6450                 :             :   }
    6451                 :           0 :   return false;
    6452                 :             : }
    6453                 :             : 
    6454                 :             : bool
    6455                 :         814 : gimple_simplify_CFN_BUILT_IN_CPROJL (gimple_match_op *res_op, gimple_seq *seq,
    6456                 :             :                  tree (*valueize)(tree) ATTRIBUTE_UNUSED,
    6457                 :             :                  code_helper ARG_UNUSED (code), tree ARG_UNUSED (type), tree _p0)
    6458                 :             : {
    6459                 :         814 :   const bool debug_dump = dump_file && (dump_flags & TDF_FOLDING);
    6460                 :         814 :   {
    6461                 :         814 :     tree captures[1] ATTRIBUTE_UNUSED = { _p0 };
    6462                 :         814 :     if (!HONOR_INFINITIES (type)
    6463                 :             : )
    6464                 :             :       {
    6465                 :          21 :         gimple_seq *lseq = seq;
    6466                 :          21 :         if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail1495;
    6467                 :          21 :         {
    6468                 :          21 :           tree tem;
    6469                 :          21 :           tem = captures[0];
    6470                 :          21 :           res_op->set_value (tem);
    6471                 :          21 :           if (UNLIKELY (debug_dump)) gimple_dump_logs ("match.pd", 916, __FILE__, __LINE__, true);
    6472                 :          21 :           return true;
    6473                 :             :         }
    6474                 :           0 : next_after_fail1495:;
    6475                 :             :       }
    6476                 :             :   }
    6477                 :         793 :   switch (TREE_CODE (_p0))
    6478                 :             :     {
    6479                 :         736 :     case SSA_NAME:
    6480                 :         736 :       if (gimple *_d1 = get_def (valueize, _p0))
    6481                 :             :         {
    6482                 :         430 :           if (gassign *_a1 = dyn_cast <gassign *> (_d1))
    6483                 :         580 :             switch (gimple_assign_rhs_code (_a1))
    6484                 :             :               {
    6485                 :         280 :               case COMPLEX_EXPR:
    6486                 :         280 :                 {
    6487                 :         280 :                   tree _q20 = gimple_assign_rhs1 (_a1);
    6488                 :         280 :                   _q20 = do_valueize (valueize, _q20);
    6489                 :         280 :                   tree _q21 = gimple_assign_rhs2 (_a1);
    6490                 :         280 :                   _q21 = do_valueize (valueize, _q21);
    6491                 :         280 :                   switch (TREE_CODE (_q20))
    6492                 :             :                     {
    6493                 :          56 :                     case REAL_CST:
    6494                 :          56 :                       {
    6495                 :          56 :                         if (tree_expr_nonnegative_p (_q21))
    6496                 :             :                           {
    6497                 :          56 :                             {
    6498                 :          56 :                               tree captures[2] ATTRIBUTE_UNUSED = { _q20, _q21 };
    6499                 :          56 :                               if (real_isinf (TREE_REAL_CST_PTR (captures[0]))
    6500                 :             : )
    6501                 :             :                                 {
    6502                 :          56 :                                   gimple_seq *lseq = seq;
    6503                 :          56 :                                   if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail1496;
    6504                 :          56 :                                   {
    6505                 :          56 :                                     tree tem;
    6506                 :          56 :                                     tem =  build_complex_inf (type, false);
    6507                 :          56 :                                     res_op->set_value (tem);
    6508                 :          56 :                                     if (UNLIKELY (debug_dump)) gimple_dump_logs ("match.pd", 917, __FILE__, __LINE__, true);
    6509                 :          56 :                                     return true;
    6510                 :             :                                   }
    6511                 :           0 : next_after_fail1496:;
    6512                 :             :                                 }
    6513                 :             :                             }
    6514                 :             :                           }
    6515                 :             :                         break;
    6516                 :             :                       }
    6517                 :         224 :                     default:;
    6518                 :             :                     }
    6519                 :         224 :                   switch (TREE_CODE (_q21))
    6520                 :             :                     {
    6521                 :         224 :                     case REAL_CST:
    6522                 :         224 :                       {
    6523                 :         224 :                         {
    6524                 :         224 :                           tree captures[2] ATTRIBUTE_UNUSED = { _q20, _q21 };
    6525                 :         224 :                           if (real_isinf (TREE_REAL_CST_PTR (captures[1]))
    6526                 :             : )
    6527                 :             :                             {
    6528                 :         224 :                               gimple_seq *lseq = seq;
    6529                 :         224 :                               if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail1497;
    6530                 :         224 :                               {
    6531                 :         224 :                                 tree tem;
    6532                 :         224 :                                 tem =  build_complex_inf (type, TREE_REAL_CST_PTR (captures[1])->sign);
    6533                 :         224 :                                 res_op->set_value (tem);
    6534                 :         224 :                                 if (UNLIKELY (debug_dump)) gimple_dump_logs ("match.pd", 918, __FILE__, __LINE__, true);
    6535                 :         224 :                                 return true;
    6536                 :             :                               }
    6537                 :           0 : next_after_fail1497:;
    6538                 :             :                             }
    6539                 :             :                         }
    6540                 :           0 :                         break;
    6541                 :             :                       }
    6542                 :             :                     default:;
    6543                 :             :                     }
    6544                 :             :                   break;
    6545                 :             :                 }
    6546                 :             :               default:;
    6547                 :             :               }
    6548                 :             :         }
    6549                 :             :       break;
    6550                 :             :     default:;
    6551                 :             :     }
    6552                 :             :   return false;
    6553                 :             : }
    6554                 :             : 
    6555                 :             : bool
    6556                 :           0 : gimple_simplify_CFN_BUILT_IN_PARITYIMAX (gimple_match_op *res_op, gimple_seq *seq,
    6557                 :             :                  tree (*valueize)(tree) ATTRIBUTE_UNUSED,
    6558                 :             :                  code_helper ARG_UNUSED (code), tree ARG_UNUSED (type), tree _p0)
    6559                 :             : {
    6560                 :           0 :   const bool debug_dump = dump_file && (dump_flags & TDF_FOLDING);
    6561                 :           0 :   switch (TREE_CODE (_p0))
    6562                 :             :     {
    6563                 :           0 :     case SSA_NAME:
    6564                 :           0 :       if (gimple *_d1 = get_def (valueize, _p0))
    6565                 :             :         {
    6566                 :           0 :           if (gassign *_a1 = dyn_cast <gassign *> (_d1))
    6567                 :           0 :             switch (gimple_assign_rhs_code (_a1))
    6568                 :             :               {
    6569                 :           0 :               case BIT_NOT_EXPR:
    6570                 :           0 :                 {
    6571                 :           0 :                   tree _q20 = gimple_assign_rhs1 (_a1);
    6572                 :           0 :                   _q20 = do_valueize (valueize, _q20);
    6573                 :           0 :                   {
    6574                 :           0 :                     tree captures[1] ATTRIBUTE_UNUSED = { _q20 };
    6575                 :           0 :                     if (gimple_simplify_635 (res_op, seq, valueize, type, captures, CFN_BUILT_IN_PARITYIMAX))
    6576                 :           0 :                       return true;
    6577                 :             :                   }
    6578                 :           0 :                   break;
    6579                 :             :                 }
    6580                 :           0 :               CASE_CONVERT:
    6581                 :           0 :                 {
    6582                 :           0 :                   tree _q20 = gimple_assign_rhs1 (_a1);
    6583                 :           0 :                   _q20 = do_valueize (valueize, _q20);
    6584                 :           0 :                   switch (TREE_CODE (_q20))
    6585                 :             :                     {
    6586                 :           0 :                     case SSA_NAME:
    6587                 :           0 :                       if (gimple *_d2 = get_def (valueize, _q20))
    6588                 :             :                         {
    6589                 :           0 :                           if (gassign *_a2 = dyn_cast <gassign *> (_d2))
    6590                 :           0 :                             switch (gimple_assign_rhs_code (_a2))
    6591                 :             :                               {
    6592                 :           0 :                               case LROTATE_EXPR:
    6593                 :           0 :                                 {
    6594                 :           0 :                                   tree _q30 = gimple_assign_rhs1 (_a2);
    6595                 :           0 :                                   _q30 = do_valueize (valueize, _q30);
    6596                 :           0 :                                   tree _q31 = gimple_assign_rhs2 (_a2);
    6597                 :           0 :                                   _q31 = do_valueize (valueize, _q31);
    6598                 :           0 :                                   {
    6599                 :           0 :                                     tree captures[4] ATTRIBUTE_UNUSED = { _p0, _q20, _q30, _q31 };
    6600                 :           0 :                                     if (gimple_simplify_637 (res_op, seq, valueize, type, captures, LROTATE_EXPR, CFN_BUILT_IN_PARITYIMAX))
    6601                 :           0 :                                       return true;
    6602                 :             :                                   }
    6603                 :           0 :                                   break;
    6604                 :             :                                 }
    6605                 :           0 :                               case RROTATE_EXPR:
    6606                 :           0 :                                 {
    6607                 :           0 :                                   tree _q30 = gimple_assign_rhs1 (_a2);
    6608                 :           0 :                                   _q30 = do_valueize (valueize, _q30);
    6609                 :           0 :                                   tree _q31 = gimple_assign_rhs2 (_a2);
    6610                 :           0 :                                   _q31 = do_valueize (valueize, _q31);
    6611                 :           0 :                                   {
    6612                 :           0 :                                     tree captures[4] ATTRIBUTE_UNUSED = { _p0, _q20, _q30, _q31 };
    6613                 :           0 :                                     if (gimple_simplify_637 (res_op, seq, valueize, type, captures, RROTATE_EXPR, CFN_BUILT_IN_PARITYIMAX))
    6614                 :           0 :                                       return true;
    6615                 :             :                                   }
    6616                 :           0 :                                   break;
    6617                 :             :                                 }
    6618                 :             :                               default:;
    6619                 :             :                               }
    6620                 :           0 :                           else if (gcall *_c2 = dyn_cast <gcall *> (_d2))
    6621                 :           0 :                             switch (gimple_call_combined_fn (_c2))
    6622                 :             :                               {
    6623                 :           0 :                               case CFN_BUILT_IN_BSWAP128:
    6624                 :           0 :                                 if (gimple_call_num_args (_c2) == 1)
    6625                 :             :                                   {
    6626                 :           0 :                                     tree _q30 = gimple_call_arg (_c2, 0);
    6627                 :           0 :                                     _q30 = do_valueize (valueize, _q30);
    6628                 :           0 :                                     {
    6629                 :           0 :                                       tree captures[3] ATTRIBUTE_UNUSED = { _p0, _q20, _q30 };
    6630                 :           0 :                                       if (gimple_simplify_636 (res_op, seq, valueize, type, captures, CFN_BUILT_IN_BSWAP128, CFN_BUILT_IN_PARITYIMAX))
    6631                 :           0 :                                         return true;
    6632                 :             :                                     }
    6633                 :             :                                   }
    6634                 :             :                                 break;
    6635                 :           0 :                               case CFN_BUILT_IN_BSWAP16:
    6636                 :           0 :                                 if (gimple_call_num_args (_c2) == 1)
    6637                 :             :                                   {
    6638                 :           0 :                                     tree _q30 = gimple_call_arg (_c2, 0);
    6639                 :           0 :                                     _q30 = do_valueize (valueize, _q30);
    6640                 :           0 :                                     {
    6641                 :           0 :                                       tree captures[3] ATTRIBUTE_UNUSED = { _p0, _q20, _q30 };
    6642                 :           0 :                                       if (gimple_simplify_636 (res_op, seq, valueize, type, captures, CFN_BUILT_IN_BSWAP16, CFN_BUILT_IN_PARITYIMAX))
    6643                 :           0 :                                         return true;
    6644                 :             :                                     }
    6645                 :             :                                   }
    6646                 :             :                                 break;
    6647                 :           0 :                               case CFN_BUILT_IN_BSWAP32:
    6648                 :           0 :                                 if (gimple_call_num_args (_c2) == 1)
    6649                 :             :                                   {
    6650                 :           0 :                                     tree _q30 = gimple_call_arg (_c2, 0);
    6651                 :           0 :                                     _q30 = do_valueize (valueize, _q30);
    6652                 :           0 :                                     {
    6653                 :           0 :                                       tree captures[3] ATTRIBUTE_UNUSED = { _p0, _q20, _q30 };
    6654                 :           0 :                                       if (gimple_simplify_636 (res_op, seq, valueize, type, captures, CFN_BUILT_IN_BSWAP32, CFN_BUILT_IN_PARITYIMAX))
    6655                 :           0 :                                         return true;
    6656                 :             :                                     }
    6657                 :             :                                   }
    6658                 :             :                                 break;
    6659                 :           0 :                               case CFN_BUILT_IN_BSWAP64:
    6660                 :           0 :                                 if (gimple_call_num_args (_c2) == 1)
    6661                 :             :                                   {
    6662                 :           0 :                                     tree _q30 = gimple_call_arg (_c2, 0);
    6663                 :           0 :                                     _q30 = do_valueize (valueize, _q30);
    6664                 :           0 :                                     {
    6665                 :           0 :                                       tree captures[3] ATTRIBUTE_UNUSED = { _p0, _q20, _q30 };
    6666                 :           0 :                                       if (gimple_simplify_636 (res_op, seq, valueize, type, captures, CFN_BUILT_IN_BSWAP64, CFN_BUILT_IN_PARITYIMAX))
    6667                 :           0 :                                         return true;
    6668                 :             :                                     }
    6669                 :             :                                   }
    6670                 :             :                                 break;
    6671                 :             :                               default:;
    6672                 :             :                               }
    6673                 :             :                         }
    6674                 :             :                       break;
    6675                 :           0 :                     default:;
    6676                 :             :                     }
    6677                 :           0 :                   {
    6678                 :           0 :                     tree captures[2] ATTRIBUTE_UNUSED = { _p0, _q20 };
    6679                 :           0 :                     if (gimple_simplify_638 (res_op, seq, valueize, type, captures, CFN_BUILT_IN_PARITYIMAX))
    6680                 :           0 :                       return true;
    6681                 :             :                   }
    6682                 :           0 :                   break;
    6683                 :             :                 }
    6684                 :           0 :               case LROTATE_EXPR:
    6685                 :           0 :                 {
    6686                 :           0 :                   tree _q20 = gimple_assign_rhs1 (_a1);
    6687                 :           0 :                   _q20 = do_valueize (valueize, _q20);
    6688                 :           0 :                   tree _q21 = gimple_assign_rhs2 (_a1);
    6689                 :           0 :                   _q21 = do_valueize (valueize, _q21);
    6690                 :           0 :                   {
    6691                 :           0 :                     tree captures[4] ATTRIBUTE_UNUSED = { _p0, _p0, _q20, _q21 };
    6692                 :           0 :                     if (gimple_simplify_640 (res_op, seq, valueize, type, captures, LROTATE_EXPR, CFN_BUILT_IN_PARITYIMAX))
    6693                 :           0 :                       return true;
    6694                 :             :                   }
    6695                 :           0 :                   break;
    6696                 :             :                 }
    6697                 :           0 :               case RROTATE_EXPR:
    6698                 :           0 :                 {
    6699                 :           0 :                   tree _q20 = gimple_assign_rhs1 (_a1);
    6700                 :           0 :                   _q20 = do_valueize (valueize, _q20);
    6701                 :           0 :                   tree _q21 = gimple_assign_rhs2 (_a1);
    6702                 :           0 :                   _q21 = do_valueize (valueize, _q21);
    6703                 :           0 :                   {
    6704                 :           0 :                     tree captures[4] ATTRIBUTE_UNUSED = { _p0, _p0, _q20, _q21 };
    6705                 :           0 :                     if (gimple_simplify_640 (res_op, seq, valueize, type, captures, RROTATE_EXPR, CFN_BUILT_IN_PARITYIMAX))
    6706                 :           0 :                       return true;
    6707                 :             :                   }
    6708                 :           0 :                   break;
    6709                 :             :                 }
    6710                 :             :               default:;
    6711                 :             :               }
    6712                 :           0 :           else if (gcall *_c1 = dyn_cast <gcall *> (_d1))
    6713                 :           0 :             switch (gimple_call_combined_fn (_c1))
    6714                 :             :               {
    6715                 :           0 :               case CFN_BUILT_IN_BSWAP128:
    6716                 :           0 :                 if (gimple_call_num_args (_c1) == 1)
    6717                 :             :                   {
    6718                 :           0 :                     tree _q20 = gimple_call_arg (_c1, 0);
    6719                 :           0 :                     _q20 = do_valueize (valueize, _q20);
    6720                 :           0 :                     {
    6721                 :           0 :                       tree captures[3] ATTRIBUTE_UNUSED = { _p0, _p0, _q20 };
    6722                 :           0 :                       if (gimple_simplify_639 (res_op, seq, valueize, type, captures, CFN_BUILT_IN_BSWAP128, CFN_BUILT_IN_PARITYIMAX))
    6723                 :           0 :                         return true;
    6724                 :             :                     }
    6725                 :             :                   }
    6726                 :             :                 break;
    6727                 :           0 :               case CFN_BUILT_IN_BSWAP16:
    6728                 :           0 :                 if (gimple_call_num_args (_c1) == 1)
    6729                 :             :                   {
    6730                 :           0 :                     tree _q20 = gimple_call_arg (_c1, 0);
    6731                 :           0 :                     _q20 = do_valueize (valueize, _q20);
    6732                 :           0 :                     {
    6733                 :           0 :                       tree captures[3] ATTRIBUTE_UNUSED = { _p0, _p0, _q20 };
    6734                 :           0 :                       if (gimple_simplify_639 (res_op, seq, valueize, type, captures, CFN_BUILT_IN_BSWAP16, CFN_BUILT_IN_PARITYIMAX))
    6735                 :           0 :                         return true;
    6736                 :             :                     }
    6737                 :             :                   }
    6738                 :             :                 break;
    6739                 :           0 :               case CFN_BUILT_IN_BSWAP32:
    6740                 :           0 :                 if (gimple_call_num_args (_c1) == 1)
    6741                 :             :                   {
    6742                 :           0 :                     tree _q20 = gimple_call_arg (_c1, 0);
    6743                 :           0 :                     _q20 = do_valueize (valueize, _q20);
    6744                 :           0 :                     {
    6745                 :           0 :                       tree captures[3] ATTRIBUTE_UNUSED = { _p0, _p0, _q20 };
    6746                 :           0 :                       if (gimple_simplify_639 (res_op, seq, valueize, type, captures, CFN_BUILT_IN_BSWAP32, CFN_BUILT_IN_PARITYIMAX))
    6747                 :           0 :                         return true;
    6748                 :             :                     }
    6749                 :             :                   }
    6750                 :             :                 break;
    6751                 :           0 :               case CFN_BUILT_IN_BSWAP64:
    6752                 :           0 :                 if (gimple_call_num_args (_c1) == 1)
    6753                 :             :                   {
    6754                 :           0 :                     tree _q20 = gimple_call_arg (_c1, 0);
    6755                 :           0 :                     _q20 = do_valueize (valueize, _q20);
    6756                 :           0 :                     {
    6757                 :           0 :                       tree captures[3] ATTRIBUTE_UNUSED = { _p0, _p0, _q20 };
    6758                 :           0 :                       if (gimple_simplify_639 (res_op, seq, valueize, type, captures, CFN_BUILT_IN_BSWAP64, CFN_BUILT_IN_PARITYIMAX))
    6759                 :           0 :                         return true;
    6760                 :             :                     }
    6761                 :             :                   }
    6762                 :             :                 break;
    6763                 :             :               default:;
    6764                 :             :               }
    6765                 :             :         }
    6766                 :             :       break;
    6767                 :           0 :     default:;
    6768                 :             :     }
    6769                 :           0 :   {
    6770                 :           0 :     tree captures[1] ATTRIBUTE_UNUSED = { _p0 };
    6771                 :           0 :     if (gimple_simplify_634 (res_op, seq, valueize, type, captures, CFN_BUILT_IN_PARITYIMAX))
    6772                 :           0 :       return true;
    6773                 :             :   }
    6774                 :           0 :   return false;
    6775                 :             : }
    6776                 :             : 
    6777                 :             : bool
    6778                 :           0 : gimple_simplify_CFN_REDUC_FMAX (gimple_match_op *res_op, gimple_seq *seq,
    6779                 :             :                  tree (*valueize)(tree) ATTRIBUTE_UNUSED,
    6780                 :             :                  code_helper ARG_UNUSED (code), tree ARG_UNUSED (type), tree _p0)
    6781                 :             : {
    6782                 :           0 :   const bool debug_dump = dump_file && (dump_flags & TDF_FOLDING);
    6783                 :           0 :   switch (TREE_CODE (_p0))
    6784                 :             :     {
    6785                 :           0 :     case SSA_NAME:
    6786                 :           0 :       if (gimple *_d1 = get_def (valueize, _p0))
    6787                 :             :         {
    6788                 :           0 :           if (gcall *_c1 = dyn_cast <gcall *> (_d1))
    6789                 :           0 :             switch (gimple_call_combined_fn (_c1))
    6790                 :             :               {
    6791                 :           0 :               case CFN_FMAX:
    6792                 :           0 :                 if (gimple_call_num_args (_c1) == 2)
    6793                 :             :                   {
    6794                 :           0 :                     tree _q20 = gimple_call_arg (_c1, 0);
    6795                 :           0 :                     _q20 = do_valueize (valueize, _q20);
    6796                 :           0 :                     tree _q21 = gimple_call_arg (_c1, 1);
    6797                 :           0 :                     _q21 = do_valueize (valueize, _q21);
    6798                 :           0 :                     switch (TREE_CODE (_q21))
    6799                 :             :                       {
    6800                 :           0 :                       case VECTOR_CST:
    6801                 :           0 :                         {
    6802                 :           0 :                           {
    6803                 :           0 :                             tree captures[2] ATTRIBUTE_UNUSED = { _q20, _q21 };
    6804                 :           0 :                             gimple_seq *lseq = seq;
    6805                 :           0 :                             if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail1503;
    6806                 :           0 :                             {
    6807                 :           0 :                               res_op->set_op (CFN_FMAX, type, 2);
    6808                 :           0 :                               {
    6809                 :           0 :                                 tree _o1[1], _r1;
    6810                 :           0 :                                 _o1[0] = captures[0];
    6811                 :           0 :                                 gimple_match_op tem_op (res_op->cond.any_else (), CFN_REDUC_FMAX, type, _o1[0]);
    6812                 :           0 :                                 tem_op.resimplify (lseq, valueize);
    6813                 :           0 :                                 _r1 = maybe_push_res_to_seq (&tem_op, lseq);
    6814                 :           0 :                                 if (!_r1) goto next_after_fail1503;
    6815                 :           0 :                                 res_op->ops[0] = _r1;
    6816                 :             :                               }
    6817                 :           0 :                               {
    6818                 :           0 :                                 tree _o1[1], _r1;
    6819                 :           0 :                                 _o1[0] = captures[1];
    6820                 :           0 :                                 gimple_match_op tem_op (res_op->cond.any_else (), CFN_REDUC_FMAX, type, _o1[0]);
    6821                 :           0 :                                 tem_op.resimplify (lseq, valueize);
    6822                 :           0 :                                 _r1 = maybe_push_res_to_seq (&tem_op, lseq);
    6823                 :           0 :                                 if (!_r1) goto next_after_fail1503;
    6824                 :           0 :                                 res_op->ops[1] = _r1;
    6825                 :             :                               }
    6826                 :           0 :                               res_op->resimplify (lseq, valueize);
    6827                 :           0 :                               if (UNLIKELY (debug_dump)) gimple_dump_logs ("match.pd", 919, __FILE__, __LINE__, true);
    6828                 :           0 :                               return true;
    6829                 :             :                             }
    6830                 :           0 : next_after_fail1503:;
    6831                 :             :                           }
    6832                 :           0 :                           break;
    6833                 :             :                         }
    6834                 :             :                       default:;
    6835                 :             :                       }
    6836                 :             :                   }
    6837                 :             :                 break;
    6838                 :             :               default:;
    6839                 :             :               }
    6840                 :             :         }
    6841                 :             :       break;
    6842                 :             :     default:;
    6843                 :             :     }
    6844                 :             :   return false;
    6845                 :             : }
    6846                 :             : 
    6847                 :             : bool
    6848                 :    96986698 : gimple_simplify_PLUS_EXPR (gimple_match_op *res_op, gimple_seq *seq,
    6849                 :             :                  tree (*valueize)(tree) ATTRIBUTE_UNUSED,
    6850                 :             :                  code_helper ARG_UNUSED (code), tree ARG_UNUSED (type), tree _p0, tree _p1)
    6851                 :             : {
    6852                 :    96986698 :   const bool debug_dump = dump_file && (dump_flags & TDF_FOLDING);
    6853                 :    96986698 :   if (integer_zerop (_p1))
    6854                 :             :     {
    6855                 :     1451166 :       {
    6856                 :     1451166 :         tree captures[1] ATTRIBUTE_UNUSED = { _p0 };
    6857                 :     1451166 :         gimple_seq *lseq = seq;
    6858                 :     1451166 :         if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail1569;
    6859                 :     1451166 :         {
    6860                 :     1451166 :           tree tem;
    6861                 :     1451166 :           tem = captures[0];
    6862                 :     1451166 :           res_op->set_value (tem);
    6863                 :     1451166 :           if (UNLIKELY (debug_dump)) gimple_dump_logs ("match.pd", 920, __FILE__, __LINE__, true);
    6864                 :     1451166 :           return true;
    6865                 :             :         }
    6866                 :           0 : next_after_fail1569:;
    6867                 :             :       }
    6868                 :             :     }
    6869                 :    95535532 :   if (real_zerop (_p1))
    6870                 :             :     {
    6871                 :      604792 :       {
    6872                 :      604792 :         tree captures[2] ATTRIBUTE_UNUSED = { _p0, _p1 };
    6873                 :      604792 :         if (gimple_simplify_44 (res_op, seq, valueize, type, captures))
    6874                 :       15858 :           return true;
    6875                 :             :       }
    6876                 :             :     }
    6877                 :    95519674 :   switch (TREE_CODE (_p0))
    6878                 :             :     {
    6879                 :    93854744 :     case SSA_NAME:
    6880                 :    93854744 :       if (gimple *_d1 = get_def (valueize, _p0))
    6881                 :             :         {
    6882                 :    32387425 :           if (gassign *_a1 = dyn_cast <gassign *> (_d1))
    6883                 :    28784370 :             switch (gimple_assign_rhs_code (_a1))
    6884                 :             :               {
    6885                 :     5651944 :               case PLUS_EXPR:
    6886                 :     5651944 :                 {
    6887                 :     5651944 :                   tree _q20 = gimple_assign_rhs1 (_a1);
    6888                 :     5651944 :                   _q20 = do_valueize (valueize, _q20);
    6889                 :     5651944 :                   tree _q21 = gimple_assign_rhs2 (_a1);
    6890                 :     5651944 :                   _q21 = do_valueize (valueize, _q21);
    6891                 :     5651944 :                   if (tree_swap_operands_p (_q20, _q21))
    6892                 :      269948 :                     std::swap (_q20, _q21);
    6893                 :     5651944 :                   switch (TREE_CODE (_q21))
    6894                 :             :                     {
    6895                 :       40319 :                     case REAL_CST:
    6896                 :       40319 :                       {
    6897                 :       40319 :                         switch (TREE_CODE (_p1))
    6898                 :             :                           {
    6899                 :        6240 :                           case REAL_CST:
    6900                 :        6240 :                             {
    6901                 :        6240 :                               {
    6902                 :        6240 :                                 tree captures[4] ATTRIBUTE_UNUSED = { _p0, _q20, _q21, _p1 };
    6903                 :        6240 :                                 if (gimple_simplify_45 (res_op, seq, valueize, type, captures, PLUS_EXPR, PLUS_EXPR))
    6904                 :          19 :                                   return true;
    6905                 :             :                               }
    6906                 :        6221 :                               break;
    6907                 :             :                             }
    6908                 :             :                           default:;
    6909                 :             :                           }
    6910                 :             :                         break;
    6911                 :             :                       }
    6912                 :             :                     default:;
    6913                 :             :                     }
    6914                 :    95503833 :                   break;
    6915                 :             :                 }
    6916                 :     1027047 :               case MINUS_EXPR:
    6917                 :     1027047 :                 {
    6918                 :     1027047 :                   tree _q20 = gimple_assign_rhs1 (_a1);
    6919                 :     1027047 :                   _q20 = do_valueize (valueize, _q20);
    6920                 :     1027047 :                   tree _q21 = gimple_assign_rhs2 (_a1);
    6921                 :     1027047 :                   _q21 = do_valueize (valueize, _q21);
    6922                 :     1027047 :                   switch (TREE_CODE (_q21))
    6923                 :             :                     {
    6924                 :       29084 :                     case REAL_CST:
    6925                 :       29084 :                       {
    6926                 :       29084 :                         switch (TREE_CODE (_p1))
    6927                 :             :                           {
    6928                 :        5535 :                           case REAL_CST:
    6929                 :        5535 :                             {
    6930                 :        5535 :                               {
    6931                 :        5535 :                                 tree captures[4] ATTRIBUTE_UNUSED = { _p0, _q20, _q21, _p1 };
    6932                 :        5535 :                                 if (gimple_simplify_45 (res_op, seq, valueize, type, captures, PLUS_EXPR, MINUS_EXPR))
    6933                 :           4 :                                   return true;
    6934                 :             :                               }
    6935                 :        5531 :                               break;
    6936                 :             :                             }
    6937                 :             :                           default:;
    6938                 :             :                           }
    6939                 :             :                         break;
    6940                 :             :                       }
    6941                 :             :                     default:;
    6942                 :             :                     }
    6943                 :             :                   break;
    6944                 :             :                 }
    6945                 :       86987 :               case MAX_EXPR:
    6946                 :       86987 :                 {
    6947                 :       86987 :                   tree _q20 = gimple_assign_rhs1 (_a1);
    6948                 :       86987 :                   _q20 = do_valueize (valueize, _q20);
    6949                 :       86987 :                   tree _q21 = gimple_assign_rhs2 (_a1);
    6950                 :       86987 :                   _q21 = do_valueize (valueize, _q21);
    6951                 :       86987 :                   if (tree_swap_operands_p (_q20, _q21))
    6952                 :         174 :                     std::swap (_q20, _q21);
    6953                 :       86987 :                   if (integer_zerop (_q21))
    6954                 :             :                     {
    6955                 :       40057 :                       switch (TREE_CODE (_p1))
    6956                 :             :                         {
    6957                 :        8700 :                         case SSA_NAME:
    6958                 :        8700 :                           if (gimple *_d2 = get_def (valueize, _p1))
    6959                 :             :                             {
    6960                 :        8689 :                               if (gassign *_a2 = dyn_cast <gassign *> (_d2))
    6961                 :        8734 :                                 switch (gimple_assign_rhs_code (_a2))
    6962                 :             :                                   {
    6963                 :         405 :                                   case MAX_EXPR:
    6964                 :         405 :                                     {
    6965                 :         405 :                                       tree _q50 = gimple_assign_rhs1 (_a2);
    6966                 :         405 :                                       _q50 = do_valueize (valueize, _q50);
    6967                 :         405 :                                       tree _q51 = gimple_assign_rhs2 (_a2);
    6968                 :         405 :                                       _q51 = do_valueize (valueize, _q51);
    6969                 :         405 :                                       if (tree_swap_operands_p (_q50, _q51))
    6970                 :           0 :                                         std::swap (_q50, _q51);
    6971                 :         405 :                                       switch (TREE_CODE (_q50))
    6972                 :             :                                         {
    6973                 :         405 :                                         case SSA_NAME:
    6974                 :         405 :                                           if (gimple *_d3 = get_def (valueize, _q50))
    6975                 :             :                                             {
    6976                 :         405 :                                               if (gassign *_a3 = dyn_cast <gassign *> (_d3))
    6977                 :         217 :                                                 switch (gimple_assign_rhs_code (_a3))
    6978                 :             :                                                   {
    6979                 :          32 :                                                   case NEGATE_EXPR:
    6980                 :          32 :                                                     {
    6981                 :          32 :                                                       tree _q60 = gimple_assign_rhs1 (_a3);
    6982                 :          32 :                                                       _q60 = do_valueize (valueize, _q60);
    6983                 :          32 :                                                       if ((_q60 == _q20 && ! TREE_SIDE_EFFECTS (_q60)) || (operand_equal_p (_q60, _q20, 0) && types_match (_q60, _q20)))
    6984                 :             :                                                         {
    6985                 :          32 :                                                           if (integer_zerop (_q51))
    6986                 :             :                                                             {
    6987                 :          32 :                                                               {
    6988                 :          32 :                                                                 tree captures[1] ATTRIBUTE_UNUSED = { _q20 };
    6989                 :          32 :                                                                 if (gimple_simplify_46 (res_op, seq, valueize, type, captures))
    6990                 :          16 :                                                                   return true;
    6991                 :             :                                                               }
    6992                 :             :                                                             }
    6993                 :             :                                                         }
    6994                 :             :                                                       break;
    6995                 :             :                                                     }
    6996                 :             :                                                   default:;
    6997                 :             :                                                   }
    6998                 :             :                                             }
    6999                 :             :                                           break;
    7000                 :             :                                         default:;
    7001                 :             :                                         }
    7002                 :       86971 :                                       break;
    7003                 :             :                                     }
    7004                 :             :                                   default:;
    7005                 :             :                                   }
    7006                 :             :                             }
    7007                 :             :                           break;
    7008                 :             :                         default:;
    7009                 :             :                         }
    7010                 :             :                     }
    7011                 :       86971 :                   switch (TREE_CODE (_q20))
    7012                 :             :                     {
    7013                 :       86971 :                     case SSA_NAME:
    7014                 :       86971 :                       if (gimple *_d2 = get_def (valueize, _q20))
    7015                 :             :                         {
    7016                 :       85798 :                           if (gassign *_a2 = dyn_cast <gassign *> (_d2))
    7017                 :       82155 :                             switch (gimple_assign_rhs_code (_a2))
    7018                 :             :                               {
    7019                 :           0 :                               case NEGATE_EXPR:
    7020                 :           0 :                                 {
    7021                 :           0 :                                   tree _q30 = gimple_assign_rhs1 (_a2);
    7022                 :           0 :                                   _q30 = do_valueize (valueize, _q30);
    7023                 :           0 :                                   if (integer_zerop (_q21))
    7024                 :             :                                     {
    7025                 :           0 :                                       switch (TREE_CODE (_p1))
    7026                 :             :                                         {
    7027                 :           0 :                                         case SSA_NAME:
    7028                 :           0 :                                           if (gimple *_d3 = get_def (valueize, _p1))
    7029                 :             :                                             {
    7030                 :           0 :                                               if (gassign *_a3 = dyn_cast <gassign *> (_d3))
    7031                 :           0 :                                                 switch (gimple_assign_rhs_code (_a3))
    7032                 :             :                                                   {
    7033                 :           0 :                                                   case MAX_EXPR:
    7034                 :           0 :                                                     {
    7035                 :           0 :                                                       tree _q60 = gimple_assign_rhs1 (_a3);
    7036                 :           0 :                                                       _q60 = do_valueize (valueize, _q60);
    7037                 :           0 :                                                       tree _q61 = gimple_assign_rhs2 (_a3);
    7038                 :           0 :                                                       _q61 = do_valueize (valueize, _q61);
    7039                 :           0 :                                                       if (tree_swap_operands_p (_q60, _q61))
    7040                 :           0 :                                                         std::swap (_q60, _q61);
    7041                 :           0 :                                                       if ((_q60 == _q30 && ! TREE_SIDE_EFFECTS (_q60)) || (operand_equal_p (_q60, _q30, 0) && types_match (_q60, _q30)))
    7042                 :             :                                                         {
    7043                 :           0 :                                                           if (integer_zerop (_q61))
    7044                 :             :                                                             {
    7045                 :           0 :                                                               {
    7046                 :           0 :                                                                 tree captures[1] ATTRIBUTE_UNUSED = { _q30 };
    7047                 :           0 :                                                                 if (gimple_simplify_46 (res_op, seq, valueize, type, captures))
    7048                 :           0 :                                                                   return true;
    7049                 :             :                                                               }
    7050                 :             :                                                             }
    7051                 :             :                                                         }
    7052                 :    95503833 :                                                       break;
    7053                 :             :                                                     }
    7054                 :             :                                                   default:;
    7055                 :             :                                                   }
    7056                 :             :                                             }
    7057                 :             :                                           break;
    7058                 :             :                                         default:;
    7059                 :             :                                         }
    7060                 :             :                                     }
    7061                 :             :                                   break;
    7062                 :             :                                 }
    7063                 :             :                               default:;
    7064                 :             :                               }
    7065                 :             :                         }
    7066                 :             :                       break;
    7067                 :             :                     default:;
    7068                 :             :                     }
    7069                 :    95503833 :                   break;
    7070                 :             :                 }
    7071                 :     3197751 :               case MULT_EXPR:
    7072                 :     3197751 :                 {
    7073                 :     3197751 :                   tree _q20 = gimple_assign_rhs1 (_a1);
    7074                 :     3197751 :                   _q20 = do_valueize (valueize, _q20);
    7075                 :     3197751 :                   tree _q21 = gimple_assign_rhs2 (_a1);
    7076                 :     3197751 :                   _q21 = do_valueize (valueize, _q21);
    7077                 :     3197751 :                   if (tree_swap_operands_p (_q20, _q21))
    7078                 :      175133 :                     std::swap (_q20, _q21);
    7079                 :     3197751 :                   switch (TREE_CODE (_q20))
    7080                 :             :                     {
    7081                 :     3197375 :                     case SSA_NAME:
    7082                 :     3197375 :                       if (gimple *_d2 = get_def (valueize, _q20))
    7083                 :             :                         {
    7084                 :     3005623 :                           if (gassign *_a2 = dyn_cast <gassign *> (_d2))
    7085                 :     2661534 :                             switch (gimple_assign_rhs_code (_a2))
    7086                 :             :                               {
    7087                 :      570396 :                               case PLUS_EXPR:
    7088                 :      570396 :                                 {
    7089                 :      570396 :                                   tree _q30 = gimple_assign_rhs1 (_a2);
    7090                 :      570396 :                                   _q30 = do_valueize (valueize, _q30);
    7091                 :      570396 :                                   tree _q31 = gimple_assign_rhs2 (_a2);
    7092                 :      570396 :                                   _q31 = do_valueize (valueize, _q31);
    7093                 :      570396 :                                   if (tree_swap_operands_p (_q30, _q31))
    7094                 :       25629 :                                     std::swap (_q30, _q31);
    7095                 :      570396 :                                   switch (TREE_CODE (_q31))
    7096                 :             :                                     {
    7097                 :      337038 :                                     case INTEGER_CST:
    7098                 :      337038 :                                       {
    7099                 :      337038 :                                         switch (TREE_CODE (_q21))
    7100                 :             :                                           {
    7101                 :      161591 :                                           case INTEGER_CST:
    7102                 :      161591 :                                             {
    7103                 :      161591 :                                               switch (TREE_CODE (_p1))
    7104                 :             :                                                 {
    7105                 :      134031 :                                                 case INTEGER_CST:
    7106                 :      134031 :                                                   {
    7107                 :      134031 :                                                     {
    7108                 :      134031 :                                                       tree captures[6] ATTRIBUTE_UNUSED = { _p0, _q20, _q30, _q31, _q21, _p1 };
    7109                 :      134031 :                                                       {
    7110                 :      134031 :  bool overflowed = true;
    7111                 :      134031 :  wi::overflow_type ovf1;
    7112                 :      134031 :  wi::overflow_type ovf2;
    7113                 :      134031 :  wide_int mul = wi::mul (wi::to_wide (captures[3]), wi::to_wide (captures[4]),
    7114                 :      268062 :  TYPE_SIGN (type), &ovf1);
    7115                 :      402093 :  wide_int add = wi::add (mul, wi::to_wide (captures[5]),
    7116                 :      134031 :  TYPE_SIGN (type), &ovf2);
    7117                 :      134031 :  if (TYPE_OVERFLOW_UNDEFINED (type))
    7118                 :             :  {
    7119                 :       66218 :  value_range vr0;
    7120                 :       66194 :  if (ovf1 == wi::OVF_NONE && ovf2 == wi::OVF_NONE
    7121                 :       66194 :  && get_global_range_query ()->range_of_expr (vr0, captures[2])
    7122                 :      132412 :  && !vr0.varying_p () && !vr0.undefined_p ())
    7123                 :             :  {
    7124                 :       45177 :  wide_int wmin0 = vr0.lower_bound ();
    7125                 :       45177 :  wide_int wmax0 = vr0.upper_bound ();
    7126                 :       45177 :  wmin0 = wi::mul (wmin0, wi::to_wide (captures[4]), TYPE_SIGN (type), &ovf1);
    7127                 :       45177 :  wmax0 = wi::mul (wmax0, wi::to_wide (captures[4]), TYPE_SIGN (type), &ovf2);
    7128                 :       45177 :  if (ovf1 == wi::OVF_NONE && ovf2 == wi::OVF_NONE)
    7129                 :             :  {
    7130                 :       33867 :  wi::add (wmin0, mul, TYPE_SIGN (type), &ovf1);
    7131                 :       33867 :  wi::add (wmax0, mul, TYPE_SIGN (type), &ovf2);
    7132                 :       33867 :  if (ovf1 == wi::OVF_NONE && ovf2 == wi::OVF_NONE)
    7133                 :       45177 :  overflowed = false;
    7134                 :             :  }
    7135                 :       45177 :  }
    7136                 :       66218 :  }
    7137                 :             :  else
    7138                 :             :  overflowed = false;
    7139                 :       66218 :                                                           if (!overflowed
    7140                 :             : )
    7141                 :             :                                                             {
    7142                 :      101075 :                                                               gimple_seq *lseq = seq;
    7143                 :      101075 :                                                               if (lseq
    7144                 :       25068 :                                                                   && (!single_use (captures[0])
    7145                 :       13784 :                                                                       || !single_use (captures[1])))
    7146                 :       98942 :                                                                 lseq = NULL;
    7147                 :      101075 :                                                               if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail1570;
    7148                 :      101075 :                                                               {
    7149                 :      101075 :                                                                 res_op->set_op (PLUS_EXPR, type, 2);
    7150                 :      101075 :                                                                 {
    7151                 :      101075 :                                                                   tree _o1[2], _r1;
    7152                 :      101075 :                                                                   _o1[0] = captures[2];
    7153                 :      101075 :                                                                   _o1[1] = captures[4];
    7154                 :      101075 :                                                                   gimple_match_op tem_op (res_op->cond.any_else (), MULT_EXPR, TREE_TYPE (_o1[0]), _o1[0], _o1[1]);
    7155                 :      101075 :                                                                   tem_op.resimplify (lseq, valueize);
    7156                 :      101075 :                                                                   _r1 = maybe_push_res_to_seq (&tem_op, lseq);
    7157                 :      101075 :                                                                   if (!_r1) goto next_after_fail1570;
    7158                 :       14298 :                                                                   res_op->ops[0] = _r1;
    7159                 :             :                                                                 }
    7160                 :       14298 :                                                                 res_op->ops[1] =  wide_int_to_tree (type, add);
    7161                 :       14298 :                                                                 res_op->resimplify (lseq, valueize);
    7162                 :       14298 :                                                                 if (UNLIKELY (debug_dump)) gimple_dump_logs ("match.pd", 929, __FILE__, __LINE__, true);
    7163                 :       14298 :                                                                 return true;
    7164                 :             :                                                               }
    7165                 :      119733 : next_after_fail1570:;
    7166                 :             :                                                             }
    7167                 :      134031 :                                                       }
    7168                 :             :                                                     }
    7169                 :      119733 :                                                     break;
    7170                 :             :                                                   }
    7171                 :             :                                                 default:;
    7172                 :             :                                                 }
    7173                 :             :                                               break;
    7174                 :             :                                             }
    7175                 :             :                                           default:;
    7176                 :             :                                           }
    7177                 :             :                                         break;
    7178                 :             :                                       }
    7179                 :             :                                     default:;
    7180                 :             :                                     }
    7181                 :    95503833 :                                   break;
    7182                 :             :                                 }
    7183                 :             :                               default:;
    7184                 :             :                               }
    7185                 :             :                         }
    7186                 :             :                       break;
    7187                 :             :                     default:;
    7188                 :             :                     }
    7189                 :    95503833 :                   break;
    7190                 :             :                 }
    7191                 :      205773 :               case LSHIFT_EXPR:
    7192                 :      205773 :                 {
    7193                 :      205773 :                   tree _q20 = gimple_assign_rhs1 (_a1);
    7194                 :      205773 :                   _q20 = do_valueize (valueize, _q20);
    7195                 :      205773 :                   tree _q21 = gimple_assign_rhs2 (_a1);
    7196                 :      205773 :                   _q21 = do_valueize (valueize, _q21);
    7197                 :      205773 :                   switch (TREE_CODE (_p1))
    7198                 :             :                     {
    7199                 :      169814 :                     case SSA_NAME:
    7200                 :      169814 :                       if (gimple *_d2 = get_def (valueize, _p1))
    7201                 :             :                         {
    7202                 :      165754 :                           if (gassign *_a2 = dyn_cast <gassign *> (_d2))
    7203                 :      111500 :                             switch (gimple_assign_rhs_code (_a2))
    7204                 :             :                               {
    7205                 :        5400 :                               case LSHIFT_EXPR:
    7206                 :        5400 :                                 {
    7207                 :        5400 :                                   tree _q50 = gimple_assign_rhs1 (_a2);
    7208                 :        5400 :                                   _q50 = do_valueize (valueize, _q50);
    7209                 :        5400 :                                   tree _q51 = gimple_assign_rhs2 (_a2);
    7210                 :        5400 :                                   _q51 = do_valueize (valueize, _q51);
    7211                 :        5400 :                                   if ((_q51 == _q21 && ! TREE_SIDE_EFFECTS (_q51)) || (operand_equal_p (_q51, _q21, 0) && types_match (_q51, _q21)))
    7212                 :             :                                     {
    7213                 :        1645 :                                       {
    7214                 :        1645 :                                         tree captures[5] ATTRIBUTE_UNUSED = { _p0, _q20, _q21, _p1, _q50 };
    7215                 :        1645 :                                         if (gimple_simplify_47 (res_op, seq, valueize, type, captures, PLUS_EXPR))
    7216                 :          38 :                                           return true;
    7217                 :             :                                       }
    7218                 :             :                                     }
    7219                 :             :                                   break;
    7220                 :             :                                 }
    7221                 :             :                               default:;
    7222                 :             :                               }
    7223                 :             :                         }
    7224                 :             :                       break;
    7225                 :      205735 :                     default:;
    7226                 :             :                     }
    7227                 :      205735 :                   switch (TREE_CODE (_q21))
    7228                 :             :                     {
    7229                 :      158318 :                     case INTEGER_CST:
    7230                 :      158318 :                       {
    7231                 :      158318 :                         if ((_p1 == _q20 && ! TREE_SIDE_EFFECTS (_p1)) || (operand_equal_p (_p1, _q20, 0) && types_match (_p1, _q20)))
    7232                 :             :                           {
    7233                 :         240 :                             {
    7234                 :         240 :                               tree captures[3] ATTRIBUTE_UNUSED = { _q20, _p0, _q21 };
    7235                 :         240 :                               if (gimple_simplify_48 (res_op, seq, valueize, type, captures))
    7236                 :         108 :                                 return true;
    7237                 :             :                             }
    7238                 :             :                           }
    7239                 :             :                         break;
    7240                 :             :                       }
    7241                 :             :                     default:;
    7242                 :             :                     }
    7243                 :             :                   break;
    7244                 :             :                 }
    7245                 :      211171 :               case BIT_AND_EXPR:
    7246                 :      211171 :                 {
    7247                 :      211171 :                   tree _q20 = gimple_assign_rhs1 (_a1);
    7248                 :      211171 :                   _q20 = do_valueize (valueize, _q20);
    7249                 :      211171 :                   tree _q21 = gimple_assign_rhs2 (_a1);
    7250                 :      211171 :                   _q21 = do_valueize (valueize, _q21);
    7251                 :      211171 :                   if (tree_swap_operands_p (_q20, _q21))
    7252                 :        1852 :                     std::swap (_q20, _q21);
    7253                 :      211171 :                   switch (TREE_CODE (_p1))
    7254                 :             :                     {
    7255                 :      110150 :                     case SSA_NAME:
    7256                 :      110150 :                       if (gimple *_d2 = get_def (valueize, _p1))
    7257                 :             :                         {
    7258                 :       97953 :                           if (gassign *_a2 = dyn_cast <gassign *> (_d2))
    7259                 :       83029 :                             switch (gimple_assign_rhs_code (_a2))
    7260                 :             :                               {
    7261                 :       22859 :                               case BIT_AND_EXPR:
    7262                 :       22859 :                                 {
    7263                 :       22859 :                                   tree _q50 = gimple_assign_rhs1 (_a2);
    7264                 :       22859 :                                   _q50 = do_valueize (valueize, _q50);
    7265                 :       22859 :                                   tree _q51 = gimple_assign_rhs2 (_a2);
    7266                 :       22859 :                                   _q51 = do_valueize (valueize, _q51);
    7267                 :       22859 :                                   if (tree_swap_operands_p (_q50, _q51))
    7268                 :           9 :                                     std::swap (_q50, _q51);
    7269                 :       22859 :                                   {
    7270                 :       22859 :                                     tree captures[4] ATTRIBUTE_UNUSED = { _q20, _q21, _q50, _q51 };
    7271                 :       22859 :                                     if (gimple_simplify_5 (res_op, seq, valueize, type, captures, PLUS_EXPR))
    7272                 :           0 :                                       return true;
    7273                 :             :                                   }
    7274                 :       22859 :                                   {
    7275                 :       22859 :                                     tree captures[4] ATTRIBUTE_UNUSED = { _q20, _q21, _q51, _q50 };
    7276                 :       22859 :                                     if (gimple_simplify_5 (res_op, seq, valueize, type, captures, PLUS_EXPR))
    7277                 :           0 :                                       return true;
    7278                 :             :                                   }
    7279                 :       22859 :                                   {
    7280                 :       22859 :                                     tree captures[4] ATTRIBUTE_UNUSED = { _q21, _q20, _q50, _q51 };
    7281                 :       22859 :                                     if (gimple_simplify_5 (res_op, seq, valueize, type, captures, PLUS_EXPR))
    7282                 :           0 :                                       return true;
    7283                 :             :                                   }
    7284                 :       22859 :                                   {
    7285                 :       22859 :                                     tree captures[4] ATTRIBUTE_UNUSED = { _q21, _q20, _q51, _q50 };
    7286                 :       22859 :                                     if (gimple_simplify_5 (res_op, seq, valueize, type, captures, PLUS_EXPR))
    7287                 :           0 :                                       return true;
    7288                 :             :                                   }
    7289                 :       22859 :                                   break;
    7290                 :             :                                 }
    7291                 :             :                               default:;
    7292                 :             :                               }
    7293                 :             :                         }
    7294                 :             :                       break;
    7295                 :             :                     default:;
    7296                 :             :                     }
    7297                 :    95503833 :                   break;
    7298                 :             :                 }
    7299                 :        6872 :               case BIT_NOT_EXPR:
    7300                 :        6872 :                 {
    7301                 :        6872 :                   tree _q20 = gimple_assign_rhs1 (_a1);
    7302                 :        6872 :                   _q20 = do_valueize (valueize, _q20);
    7303                 :        6872 :                   {
    7304                 :        6872 :                     tree captures[2] ATTRIBUTE_UNUSED = { _q20, _p1 };
    7305                 :        6872 :                     if (gimple_simplify_49 (res_op, seq, valueize, type, captures))
    7306                 :        1358 :                       return true;
    7307                 :             :                   }
    7308                 :        5514 :                   break;
    7309                 :             :                 }
    7310                 :             :               default:;
    7311                 :             :               }
    7312                 :             :         }
    7313                 :             :       break;
    7314                 :    95503833 :     default:;
    7315                 :             :     }
    7316                 :    95503833 : if (real_zerop (_p0))
    7317                 :             :   {
    7318                 :           0 :     {
    7319                 :           0 :       tree captures[2] ATTRIBUTE_UNUSED = { _p1, _p0 };
    7320                 :           0 :       if (gimple_simplify_44 (res_op, seq, valueize, type, captures))
    7321                 :           0 :         return true;
    7322                 :             :     }
    7323                 :             :   }
    7324                 :    95503833 :   switch (TREE_CODE (_p1))
    7325                 :             :     {
    7326                 :    17851019 :     case SSA_NAME:
    7327                 :    17851019 :       if (gimple *_d1 = get_def (valueize, _p1))
    7328                 :             :         {
    7329                 :    12682914 :           if (gassign *_a1 = dyn_cast <gassign *> (_d1))
    7330                 :    10730341 :             switch (gimple_assign_rhs_code (_a1))
    7331                 :             :               {
    7332                 :       28309 :               case BIT_NOT_EXPR:
    7333                 :       28309 :                 {
    7334                 :       28309 :                   tree _q30 = gimple_assign_rhs1 (_a1);
    7335                 :       28309 :                   _q30 = do_valueize (valueize, _q30);
    7336                 :       28309 :                   {
    7337                 :       28309 :                     tree captures[2] ATTRIBUTE_UNUSED = { _q30, _p0 };
    7338                 :       28309 :                     if (gimple_simplify_49 (res_op, seq, valueize, type, captures))
    7339                 :        2614 :                       return true;
    7340                 :             :                   }
    7341                 :       25695 :                   break;
    7342                 :             :                 }
    7343                 :      141899 :               case BIT_AND_EXPR:
    7344                 :      141899 :                 {
    7345                 :      141899 :                   tree _q30 = gimple_assign_rhs1 (_a1);
    7346                 :      141899 :                   _q30 = do_valueize (valueize, _q30);
    7347                 :      141899 :                   tree _q31 = gimple_assign_rhs2 (_a1);
    7348                 :      141899 :                   _q31 = do_valueize (valueize, _q31);
    7349                 :      141899 :                   if (tree_swap_operands_p (_q30, _q31))
    7350                 :         348 :                     std::swap (_q30, _q31);
    7351                 :      141899 :                   if ((_q30 == _p0 && ! TREE_SIDE_EFFECTS (_q30)) || (operand_equal_p (_q30, _p0, 0) && types_match (_q30, _p0)))
    7352                 :             :                     {
    7353                 :         129 :                       if (integer_onep (_q31))
    7354                 :             :                         {
    7355                 :          25 :                           {
    7356                 :          25 :                             tree captures[3] ATTRIBUTE_UNUSED = { _p0, _p1, _q31 };
    7357                 :          25 :                             if (gimple_simplify_50 (res_op, seq, valueize, type, captures))
    7358                 :          25 :                               return true;
    7359                 :             :                           }
    7360                 :             :                         }
    7361                 :             :                     }
    7362                 :    95501194 :                   break;
    7363                 :             :                 }
    7364                 :             :               default:;
    7365                 :             :               }
    7366                 :             :         }
    7367                 :             :       break;
    7368                 :    95501194 :     default:;
    7369                 :             :     }
    7370                 :    95501194 :   switch (TREE_CODE (_p0))
    7371                 :             :     {
    7372                 :    93836264 :     case SSA_NAME:
    7373                 :    93836264 :       if (gimple *_d1 = get_def (valueize, _p0))
    7374                 :             :         {
    7375                 :    32370223 :           if (gassign *_a1 = dyn_cast <gassign *> (_d1))
    7376                 :    28767720 :             switch (gimple_assign_rhs_code (_a1))
    7377                 :             :               {
    7378                 :      211148 :               case BIT_AND_EXPR:
    7379                 :      211148 :                 {
    7380                 :      211148 :                   tree _q20 = gimple_assign_rhs1 (_a1);
    7381                 :      211148 :                   _q20 = do_valueize (valueize, _q20);
    7382                 :      211148 :                   tree _q21 = gimple_assign_rhs2 (_a1);
    7383                 :      211148 :                   _q21 = do_valueize (valueize, _q21);
    7384                 :      211148 :                   if (tree_swap_operands_p (_q20, _q21))
    7385                 :        1852 :                     std::swap (_q20, _q21);
    7386                 :      211148 :                   if (integer_onep (_q21))
    7387                 :             :                     {
    7388                 :       24322 :                       if ((_p1 == _q20 && ! TREE_SIDE_EFFECTS (_p1)) || (operand_equal_p (_p1, _q20, 0) && types_match (_p1, _q20)))
    7389                 :             :                         {
    7390                 :          34 :                           {
    7391                 :          34 :                             tree captures[3] ATTRIBUTE_UNUSED = { _q20, _p0, _q21 };
    7392                 :          34 :                             if (gimple_simplify_50 (res_op, seq, valueize, type, captures))
    7393                 :          34 :                               return true;
    7394                 :             :                           }
    7395                 :             :                         }
    7396                 :             :                     }
    7397                 :      211114 :                   switch (TREE_CODE (_p1))
    7398                 :             :                     {
    7399                 :      110093 :                     case SSA_NAME:
    7400                 :      110093 :                       if (gimple *_d2 = get_def (valueize, _p1))
    7401                 :             :                         {
    7402                 :       97898 :                           if (gassign *_a2 = dyn_cast <gassign *> (_d2))
    7403                 :       82965 :                             switch (gimple_assign_rhs_code (_a2))
    7404                 :             :                               {
    7405                 :         177 :                               case BIT_XOR_EXPR:
    7406                 :         177 :                                 {
    7407                 :         177 :                                   tree _q50 = gimple_assign_rhs1 (_a2);
    7408                 :         177 :                                   _q50 = do_valueize (valueize, _q50);
    7409                 :         177 :                                   tree _q51 = gimple_assign_rhs2 (_a2);
    7410                 :         177 :                                   _q51 = do_valueize (valueize, _q51);
    7411                 :         177 :                                   if (tree_swap_operands_p (_q50, _q51))
    7412                 :           2 :                                     std::swap (_q50, _q51);
    7413                 :         177 :                                   if ((_q50 == _q20 && ! TREE_SIDE_EFFECTS (_q50)) || (operand_equal_p (_q50, _q20, 0) && types_match (_q50, _q20)))
    7414                 :             :                                     {
    7415                 :          14 :                                       if ((_q51 == _q21 && ! TREE_SIDE_EFFECTS (_q51)) || (operand_equal_p (_q51, _q21, 0) && types_match (_q51, _q21)))
    7416                 :             :                                         {
    7417                 :           8 :                                           {
    7418                 :           8 :                                             tree captures[2] ATTRIBUTE_UNUSED = { _q20, _q21 };
    7419                 :           8 :                                             if (gimple_simplify_19 (res_op, seq, valueize, type, captures, PLUS_EXPR))
    7420                 :           8 :                                               return true;
    7421                 :             :                                           }
    7422                 :             :                                         }
    7423                 :             :                                     }
    7424                 :      211098 :                                   break;
    7425                 :             :                                 }
    7426                 :        1297 :                               case BIT_IOR_EXPR:
    7427                 :        1297 :                                 {
    7428                 :        1297 :                                   tree _q50 = gimple_assign_rhs1 (_a2);
    7429                 :        1297 :                                   _q50 = do_valueize (valueize, _q50);
    7430                 :        1297 :                                   tree _q51 = gimple_assign_rhs2 (_a2);
    7431                 :        1297 :                                   _q51 = do_valueize (valueize, _q51);
    7432                 :        1297 :                                   if (tree_swap_operands_p (_q50, _q51))
    7433                 :          82 :                                     std::swap (_q50, _q51);
    7434                 :        1297 :                                   if ((_q50 == _q20 && ! TREE_SIDE_EFFECTS (_q50)) || (operand_equal_p (_q50, _q20, 0) && types_match (_q50, _q20)))
    7435                 :             :                                     {
    7436                 :           8 :                                       if ((_q51 == _q21 && ! TREE_SIDE_EFFECTS (_q51)) || (operand_equal_p (_q51, _q21, 0) && types_match (_q51, _q21)))
    7437                 :             :                                         {
    7438                 :           8 :                                           {
    7439                 :           8 :                                             tree captures[2] ATTRIBUTE_UNUSED = { _q20, _q21 };
    7440                 :           8 :                                             if (gimple_simplify_51 (res_op, seq, valueize, type, captures))
    7441                 :           8 :                                               return true;
    7442                 :             :                                           }
    7443                 :             :                                         }
    7444                 :             :                                     }
    7445                 :      211098 :                                   break;
    7446                 :             :                                 }
    7447                 :             :                               default:;
    7448                 :             :                               }
    7449                 :             :                         }
    7450                 :             :                       break;
    7451                 :      211098 :                     default:;
    7452                 :             :                     }
    7453                 :      211098 :                   switch (TREE_CODE (_q21))
    7454                 :             :                     {
    7455                 :      196479 :                     case INTEGER_CST:
    7456                 :      196479 :                       {
    7457                 :      196479 :                         switch (TREE_CODE (_p1))
    7458                 :             :                           {
    7459                 :      101147 :                           case SSA_NAME:
    7460                 :      101147 :                             if (gimple *_d2 = get_def (valueize, _p1))
    7461                 :             :                               {
    7462                 :       91215 :                                 if (gassign *_a2 = dyn_cast <gassign *> (_d2))
    7463                 :       75585 :                                   switch (gimple_assign_rhs_code (_a2))
    7464                 :             :                                     {
    7465                 :        2612 :                                     CASE_CONVERT:
    7466                 :        2612 :                                       {
    7467                 :        2612 :                                         tree _q50 = gimple_assign_rhs1 (_a2);
    7468                 :        2612 :                                         _q50 = do_valueize (valueize, _q50);
    7469                 :        2612 :                                         switch (TREE_CODE (_q50))
    7470                 :             :                                           {
    7471                 :        2612 :                                           case SSA_NAME:
    7472                 :        2612 :                                             if (gimple *_d3 = get_def (valueize, _q50))
    7473                 :             :                                               {
    7474                 :        2593 :                                                 if (gassign *_a3 = dyn_cast <gassign *> (_d3))
    7475                 :         791 :                                                   switch (gimple_assign_rhs_code (_a3))
    7476                 :             :                                                     {
    7477                 :          32 :                                                     case BIT_AND_EXPR:
    7478                 :          32 :                                                       {
    7479                 :          32 :                                                         tree _q60 = gimple_assign_rhs1 (_a3);
    7480                 :          32 :                                                         _q60 = do_valueize (valueize, _q60);
    7481                 :          32 :                                                         tree _q61 = gimple_assign_rhs2 (_a3);
    7482                 :          32 :                                                         _q61 = do_valueize (valueize, _q61);
    7483                 :          32 :                                                         if (tree_swap_operands_p (_q60, _q61))
    7484                 :           0 :                                                           std::swap (_q60, _q61);
    7485                 :          32 :                                                         switch (TREE_CODE (_q61))
    7486                 :             :                                                           {
    7487                 :          32 :                                                           case INTEGER_CST:
    7488                 :          32 :                                                             {
    7489                 :          32 :                                                               {
    7490                 :          32 :                                                                 tree captures[6] ATTRIBUTE_UNUSED = { _p0, _q20, _q21, _q50, _q60, _q61 };
    7491                 :          32 :                                                                 if (gimple_simplify_11 (res_op, seq, valueize, type, captures, PLUS_EXPR))
    7492                 :           0 :                                                                   return true;
    7493                 :             :                                                               }
    7494                 :          32 :                                                               break;
    7495                 :             :                                                             }
    7496                 :             :                                                           default:;
    7497                 :             :                                                           }
    7498                 :    95432109 :                                                         break;
    7499                 :             :                                                       }
    7500                 :             :                                                     default:;
    7501                 :             :                                                     }
    7502                 :             :                                               }
    7503                 :             :                                             break;
    7504                 :             :                                           default:;
    7505                 :             :                                           }
    7506                 :             :                                         break;
    7507                 :             :                                       }
    7508                 :       22467 :                                     case BIT_AND_EXPR:
    7509                 :       22467 :                                       {
    7510                 :       22467 :                                         tree _q50 = gimple_assign_rhs1 (_a2);
    7511                 :       22467 :                                         _q50 = do_valueize (valueize, _q50);
    7512                 :       22467 :                                         tree _q51 = gimple_assign_rhs2 (_a2);
    7513                 :       22467 :                                         _q51 = do_valueize (valueize, _q51);
    7514                 :       22467 :                                         if (tree_swap_operands_p (_q50, _q51))
    7515                 :           5 :                                           std::swap (_q50, _q51);
    7516                 :       22467 :                                         switch (TREE_CODE (_q51))
    7517                 :             :                                           {
    7518                 :       22410 :                                           case INTEGER_CST:
    7519                 :       22410 :                                             {
    7520                 :       22410 :                                               {
    7521                 :       22410 :                                                 tree captures[6] ATTRIBUTE_UNUSED = { _p0, _q20, _q21, _p1, _q50, _q51 };
    7522                 :       22410 :                                                 if (gimple_simplify_11 (res_op, seq, valueize, type, captures, PLUS_EXPR))
    7523                 :         115 :                                                   return true;
    7524                 :             :                                               }
    7525                 :       22295 :                                               break;
    7526                 :             :                                             }
    7527                 :             :                                           default:;
    7528                 :             :                                           }
    7529                 :    95432109 :                                         break;
    7530                 :             :                                       }
    7531                 :             :                                     default:;
    7532                 :             :                                     }
    7533                 :             :                               }
    7534                 :             :                             break;
    7535                 :             :                           default:;
    7536                 :             :                           }
    7537                 :             :                         break;
    7538                 :             :                       }
    7539                 :             :                     default:;
    7540                 :             :                     }
    7541                 :    95432109 :                   break;
    7542                 :             :                 }
    7543                 :       19859 :               case BIT_XOR_EXPR:
    7544                 :       19859 :                 {
    7545                 :       19859 :                   tree _q20 = gimple_assign_rhs1 (_a1);
    7546                 :       19859 :                   _q20 = do_valueize (valueize, _q20);
    7547                 :       19859 :                   tree _q21 = gimple_assign_rhs2 (_a1);
    7548                 :       19859 :                   _q21 = do_valueize (valueize, _q21);
    7549                 :       19859 :                   if (tree_swap_operands_p (_q20, _q21))
    7550                 :        1198 :                     std::swap (_q20, _q21);
    7551                 :       19859 :                   switch (TREE_CODE (_p1))
    7552                 :             :                     {
    7553                 :       16614 :                     case SSA_NAME:
    7554                 :       16614 :                       if (gimple *_d2 = get_def (valueize, _p1))
    7555                 :             :                         {
    7556                 :       15377 :                           if (gassign *_a2 = dyn_cast <gassign *> (_d2))
    7557                 :       16108 :                             switch (gimple_assign_rhs_code (_a2))
    7558                 :             :                               {
    7559                 :          64 :                               case BIT_AND_EXPR:
    7560                 :          64 :                                 {
    7561                 :          64 :                                   tree _q50 = gimple_assign_rhs1 (_a2);
    7562                 :          64 :                                   _q50 = do_valueize (valueize, _q50);
    7563                 :          64 :                                   tree _q51 = gimple_assign_rhs2 (_a2);
    7564                 :          64 :                                   _q51 = do_valueize (valueize, _q51);
    7565                 :          64 :                                   if (tree_swap_operands_p (_q50, _q51))
    7566                 :           2 :                                     std::swap (_q50, _q51);
    7567                 :          64 :                                   if ((_q50 == _q20 && ! TREE_SIDE_EFFECTS (_q50)) || (operand_equal_p (_q50, _q20, 0) && types_match (_q50, _q20)))
    7568                 :             :                                     {
    7569                 :           8 :                                       if ((_q51 == _q21 && ! TREE_SIDE_EFFECTS (_q51)) || (operand_equal_p (_q51, _q21, 0) && types_match (_q51, _q21)))
    7570                 :             :                                         {
    7571                 :           8 :                                           {
    7572                 :           8 :                                             tree captures[2] ATTRIBUTE_UNUSED = { _q20, _q21 };
    7573                 :           8 :                                             if (gimple_simplify_19 (res_op, seq, valueize, type, captures, PLUS_EXPR))
    7574                 :           8 :                                               return true;
    7575                 :             :                                           }
    7576                 :             :                                         }
    7577                 :             :                                     }
    7578                 :    95432109 :                                   break;
    7579                 :             :                                 }
    7580                 :             :                               default:;
    7581                 :             :                               }
    7582                 :             :                         }
    7583                 :             :                       break;
    7584                 :             :                     default:;
    7585                 :             :                     }
    7586                 :    95432109 :                   break;
    7587                 :             :                 }
    7588                 :       12943 :               case BIT_IOR_EXPR:
    7589                 :       12943 :                 {
    7590                 :       12943 :                   tree _q20 = gimple_assign_rhs1 (_a1);
    7591                 :       12943 :                   _q20 = do_valueize (valueize, _q20);
    7592                 :       12943 :                   tree _q21 = gimple_assign_rhs2 (_a1);
    7593                 :       12943 :                   _q21 = do_valueize (valueize, _q21);
    7594                 :       12943 :                   if (tree_swap_operands_p (_q20, _q21))
    7595                 :         564 :                     std::swap (_q20, _q21);
    7596                 :       12943 :                   switch (TREE_CODE (_p1))
    7597                 :             :                     {
    7598                 :        4353 :                     case SSA_NAME:
    7599                 :        4353 :                       if (gimple *_d2 = get_def (valueize, _p1))
    7600                 :             :                         {
    7601                 :        4225 :                           if (gassign *_a2 = dyn_cast <gassign *> (_d2))
    7602                 :        4459 :                             switch (gimple_assign_rhs_code (_a2))
    7603                 :             :                               {
    7604                 :         161 :                               case BIT_AND_EXPR:
    7605                 :         161 :                                 {
    7606                 :         161 :                                   tree _q50 = gimple_assign_rhs1 (_a2);
    7607                 :         161 :                                   _q50 = do_valueize (valueize, _q50);
    7608                 :         161 :                                   tree _q51 = gimple_assign_rhs2 (_a2);
    7609                 :         161 :                                   _q51 = do_valueize (valueize, _q51);
    7610                 :         161 :                                   if (tree_swap_operands_p (_q50, _q51))
    7611                 :           2 :                                     std::swap (_q50, _q51);
    7612                 :         161 :                                   if ((_q50 == _q20 && ! TREE_SIDE_EFFECTS (_q50)) || (operand_equal_p (_q50, _q20, 0) && types_match (_q50, _q20)))
    7613                 :             :                                     {
    7614                 :           8 :                                       if ((_q51 == _q21 && ! TREE_SIDE_EFFECTS (_q51)) || (operand_equal_p (_q51, _q21, 0) && types_match (_q51, _q21)))
    7615                 :             :                                         {
    7616                 :           8 :                                           {
    7617                 :           8 :                                             tree captures[2] ATTRIBUTE_UNUSED = { _q20, _q21 };
    7618                 :           8 :                                             if (gimple_simplify_51 (res_op, seq, valueize, type, captures))
    7619                 :           8 :                                               return true;
    7620                 :             :                                           }
    7621                 :             :                                         }
    7622                 :             :                                     }
    7623                 :    95432109 :                                   break;
    7624                 :             :                                 }
    7625                 :             :                               default:;
    7626                 :             :                               }
    7627                 :             :                         }
    7628                 :             :                       break;
    7629                 :             :                     default:;
    7630                 :             :                     }
    7631                 :    95432109 :                   break;
    7632                 :             :                 }
    7633                 :     1027043 :               case MINUS_EXPR:
    7634                 :     1027043 :                 {
    7635                 :     1027043 :                   tree _q20 = gimple_assign_rhs1 (_a1);
    7636                 :     1027043 :                   _q20 = do_valueize (valueize, _q20);
    7637                 :     1027043 :                   tree _q21 = gimple_assign_rhs2 (_a1);
    7638                 :     1027043 :                   _q21 = do_valueize (valueize, _q21);
    7639                 :     1027043 :                   switch (TREE_CODE (_q20))
    7640                 :             :                     {
    7641                 :      973885 :                     case SSA_NAME:
    7642                 :      973885 :                       if (gimple *_d2 = get_def (valueize, _q20))
    7643                 :             :                         {
    7644                 :      918510 :                           if (gassign *_a2 = dyn_cast <gassign *> (_d2))
    7645                 :      975678 :                             switch (gimple_assign_rhs_code (_a2))
    7646                 :             :                               {
    7647                 :        2584 :                               case BIT_AND_EXPR:
    7648                 :        2584 :                                 {
    7649                 :        2584 :                                   tree _q30 = gimple_assign_rhs1 (_a2);
    7650                 :        2584 :                                   _q30 = do_valueize (valueize, _q30);
    7651                 :        2584 :                                   tree _q31 = gimple_assign_rhs2 (_a2);
    7652                 :        2584 :                                   _q31 = do_valueize (valueize, _q31);
    7653                 :        2584 :                                   if (tree_swap_operands_p (_q30, _q31))
    7654                 :           2 :                                     std::swap (_q30, _q31);
    7655                 :        2584 :                                   switch (TREE_CODE (_q21))
    7656                 :             :                                     {
    7657                 :        2584 :                                     case SSA_NAME:
    7658                 :        2584 :                                       if (gimple *_d3 = get_def (valueize, _q21))
    7659                 :             :                                         {
    7660                 :        2563 :                                           if (gassign *_a3 = dyn_cast <gassign *> (_d3))
    7661                 :        2477 :                                             switch (gimple_assign_rhs_code (_a3))
    7662                 :             :                                               {
    7663                 :           2 :                                               case BIT_IOR_EXPR:
    7664                 :           2 :                                                 {
    7665                 :           2 :                                                   tree _q60 = gimple_assign_rhs1 (_a3);
    7666                 :           2 :                                                   _q60 = do_valueize (valueize, _q60);
    7667                 :           2 :                                                   tree _q61 = gimple_assign_rhs2 (_a3);
    7668                 :           2 :                                                   _q61 = do_valueize (valueize, _q61);
    7669                 :           2 :                                                   if (tree_swap_operands_p (_q60, _q61))
    7670                 :           0 :                                                     std::swap (_q60, _q61);
    7671                 :           2 :                                                   if ((_q60 == _q30 && ! TREE_SIDE_EFFECTS (_q60)) || (operand_equal_p (_q60, _q30, 0) && types_match (_q60, _q30)))
    7672                 :             :                                                     {
    7673                 :           2 :                                                       if ((_q61 == _q31 && ! TREE_SIDE_EFFECTS (_q61)) || (operand_equal_p (_q61, _q31, 0) && types_match (_q61, _q31)))
    7674                 :             :                                                         {
    7675                 :           2 :                                                           if (integer_all_onesp (_p1))
    7676                 :             :                                                             {
    7677                 :           2 :                                                               {
    7678                 :           2 :                                                                 tree captures[3] ATTRIBUTE_UNUSED = { _p0, _q30, _q31 };
    7679                 :           2 :                                                                 if (gimple_simplify_52 (res_op, seq, valueize, type, captures))
    7680                 :           1 :                                                                   return true;
    7681                 :             :                                                               }
    7682                 :             :                                                             }
    7683                 :             :                                                         }
    7684                 :             :                                                     }
    7685                 :           1 :                                                   if ((_q60 == _q31 && ! TREE_SIDE_EFFECTS (_q60)) || (operand_equal_p (_q60, _q31, 0) && types_match (_q60, _q31)))
    7686                 :             :                                                     {
    7687                 :           0 :                                                       if ((_q61 == _q30 && ! TREE_SIDE_EFFECTS (_q61)) || (operand_equal_p (_q61, _q30, 0) && types_match (_q61, _q30)))
    7688                 :             :                                                         {
    7689                 :           0 :                                                           if (integer_all_onesp (_p1))
    7690                 :             :                                                             {
    7691                 :           0 :                                                               {
    7692                 :           0 :                                                                 tree captures[3] ATTRIBUTE_UNUSED = { _p0, _q31, _q30 };
    7693                 :           0 :                                                                 if (gimple_simplify_52 (res_op, seq, valueize, type, captures))
    7694                 :           0 :                                                                   return true;
    7695                 :             :                                                               }
    7696                 :             :                                                             }
    7697                 :             :                                                         }
    7698                 :             :                                                     }
    7699                 :     1027042 :                                                   break;
    7700                 :             :                                                 }
    7701                 :             :                                               default:;
    7702                 :             :                                               }
    7703                 :             :                                         }
    7704                 :             :                                       break;
    7705                 :             :                                     default:;
    7706                 :             :                                     }
    7707                 :     1027042 :                                   break;
    7708                 :             :                                 }
    7709                 :             :                               default:;
    7710                 :             :                               }
    7711                 :             :                         }
    7712                 :             :                       break;
    7713                 :     1027042 :                     default:;
    7714                 :             :                     }
    7715                 :     1027042 :                 {
    7716                 :     1027042 :                   tree _q20_pops[1];
    7717                 :     1027042 :                   if (gimple_nop_convert (_q20, _q20_pops, valueize))
    7718                 :             :                     {
    7719                 :       34435 :                       tree _q30 = _q20_pops[0];
    7720                 :       34435 :                       switch (TREE_CODE (_q30))
    7721                 :             :                         {
    7722                 :       34359 :                         case SSA_NAME:
    7723                 :       34359 :                           if (gimple *_d2 = get_def (valueize, _q30))
    7724                 :             :                             {
    7725                 :       33475 :                               if (gassign *_a2 = dyn_cast <gassign *> (_d2))
    7726                 :       38085 :                                 switch (gimple_assign_rhs_code (_a2))
    7727                 :             :                                   {
    7728                 :         164 :                                   case BIT_AND_EXPR:
    7729                 :         164 :                                     {
    7730                 :         164 :                                       tree _q40 = gimple_assign_rhs1 (_a2);
    7731                 :         164 :                                       _q40 = do_valueize (valueize, _q40);
    7732                 :         164 :                                       tree _q41 = gimple_assign_rhs2 (_a2);
    7733                 :         164 :                                       _q41 = do_valueize (valueize, _q41);
    7734                 :         164 :                                       if (tree_swap_operands_p (_q40, _q41))
    7735                 :           0 :                                         std::swap (_q40, _q41);
    7736                 :         164 :                                       {
    7737                 :         164 :                                         tree _q21_pops[1];
    7738                 :         164 :                                         if (gimple_nop_convert (_q21, _q21_pops, valueize))
    7739                 :             :                                           {
    7740                 :         164 :                                             tree _q70 = _q21_pops[0];
    7741                 :         164 :                                             switch (TREE_CODE (_q70))
    7742                 :             :                                               {
    7743                 :         164 :                                               case SSA_NAME:
    7744                 :         164 :                                                 if (gimple *_d3 = get_def (valueize, _q70))
    7745                 :             :                                                   {
    7746                 :         164 :                                                     if (gassign *_a3 = dyn_cast <gassign *> (_d3))
    7747                 :         164 :                                                       switch (gimple_assign_rhs_code (_a3))
    7748                 :             :                                                         {
    7749                 :           7 :                                                         case BIT_IOR_EXPR:
    7750                 :           7 :                                                           {
    7751                 :           7 :                                                             tree _q80 = gimple_assign_rhs1 (_a3);
    7752                 :           7 :                                                             _q80 = do_valueize (valueize, _q80);
    7753                 :           7 :                                                             tree _q81 = gimple_assign_rhs2 (_a3);
    7754                 :           7 :                                                             _q81 = do_valueize (valueize, _q81);
    7755                 :           7 :                                                             if (tree_swap_operands_p (_q80, _q81))
    7756                 :           0 :                                                               std::swap (_q80, _q81);
    7757                 :           7 :                                                             if ((_q80 == _q40 && ! TREE_SIDE_EFFECTS (_q80)) || (operand_equal_p (_q80, _q40, 0) && types_match (_q80, _q40)))
    7758                 :             :                                                               {
    7759                 :           5 :                                                                 if ((_q81 == _q41 && ! TREE_SIDE_EFFECTS (_q81)) || (operand_equal_p (_q81, _q41, 0) && types_match (_q81, _q41)))
    7760                 :             :                                                                   {
    7761                 :           5 :                                                                     if (integer_all_onesp (_p1))
    7762                 :             :                                                                       {
    7763                 :           5 :                                                                         {
    7764                 :           5 :                                                                           tree captures[3] ATTRIBUTE_UNUSED = { _p0, _q40, _q41 };
    7765                 :           5 :                                                                           if (gimple_simplify_52 (res_op, seq, valueize, type, captures))
    7766                 :           3 :                                                                             return true;
    7767                 :             :                                                                         }
    7768                 :             :                                                                       }
    7769                 :             :                                                                   }
    7770                 :             :                                                               }
    7771                 :           4 :                                                             if ((_q80 == _q41 && ! TREE_SIDE_EFFECTS (_q80)) || (operand_equal_p (_q80, _q41, 0) && types_match (_q80, _q41)))
    7772                 :             :                                                               {
    7773                 :           0 :                                                                 if ((_q81 == _q40 && ! TREE_SIDE_EFFECTS (_q81)) || (operand_equal_p (_q81, _q40, 0) && types_match (_q81, _q40)))
    7774                 :             :                                                                   {
    7775                 :           0 :                                                                     if (integer_all_onesp (_p1))
    7776                 :             :                                                                       {
    7777                 :           0 :                                                                         {
    7778                 :           0 :                                                                           tree captures[3] ATTRIBUTE_UNUSED = { _p0, _q41, _q40 };
    7779                 :           0 :                                                                           if (gimple_simplify_52 (res_op, seq, valueize, type, captures))
    7780                 :           0 :                                                                             return true;
    7781                 :             :                                                                         }
    7782                 :             :                                                                       }
    7783                 :             :                                                                   }
    7784                 :             :                                                               }
    7785                 :         161 :                                                             break;
    7786                 :             :                                                           }
    7787                 :             :                                                         default:;
    7788                 :             :                                                         }
    7789                 :             :                                                   }
    7790                 :             :                                                 break;
    7791                 :             :                                               default:;
    7792                 :             :                                               }
    7793                 :             : }
    7794                 :             :                                       }
    7795                 :         161 :                                       break;
    7796                 :             :                                     }
    7797                 :             :                                   default:;
    7798                 :             :                                   }
    7799                 :             :                             }
    7800                 :             :                           break;
    7801                 :             :                         default:;
    7802                 :             :                         }
    7803                 :             : }
    7804                 :             :                 }
    7805                 :     1027039 :                   {
    7806                 :     1027039 :                     tree _q21_pops[1];
    7807                 :     1027039 :                     if (gimple_nop_convert (_q21, _q21_pops, valueize))
    7808                 :             :                       {
    7809                 :       46705 :                         tree _q40 = _q21_pops[0];
    7810                 :       46705 :                         if ((_p1 == _q40 && ! TREE_SIDE_EFFECTS (_p1)) || (operand_equal_p (_p1, _q40, 0) && types_match (_p1, _q40)))
    7811                 :             :                           {
    7812                 :           0 :                             {
    7813                 :           0 :                               tree captures[2] ATTRIBUTE_UNUSED = { _q20, _q40 };
    7814                 :           0 :                               if (gimple_simplify_53 (res_op, seq, valueize, type, captures))
    7815                 :           0 :                                 return true;
    7816                 :             :                             }
    7817                 :             :                           }
    7818                 :             : }
    7819                 :             :                   }
    7820                 :     1027039 :                   if ((_p1 == _q21 && ! TREE_SIDE_EFFECTS (_p1)) || (operand_equal_p (_p1, _q21, 0) && types_match (_p1, _q21)))
    7821                 :             :                     {
    7822                 :       69392 :                       {
    7823                 :       69392 :                         tree captures[2] ATTRIBUTE_UNUSED = { _q20, _q21 };
    7824                 :       69392 :                         if (gimple_simplify_53 (res_op, seq, valueize, type, captures))
    7825                 :       68681 :                           return true;
    7826                 :             :                       }
    7827                 :             :                     }
    7828                 :             :                   break;
    7829                 :             :                 }
    7830                 :     3487842 :               CASE_CONVERT:
    7831                 :     3487842 :                 {
    7832                 :     3487842 :                   tree _q20 = gimple_assign_rhs1 (_a1);
    7833                 :     3487842 :                   _q20 = do_valueize (valueize, _q20);
    7834                 :     3487842 :                   switch (TREE_CODE (_q20))
    7835                 :             :                     {
    7836                 :     3207588 :                     case SSA_NAME:
    7837                 :     3207588 :                       if (gimple *_d2 = get_def (valueize, _q20))
    7838                 :             :                         {
    7839                 :     3007396 :                           if (gassign *_a2 = dyn_cast <gassign *> (_d2))
    7840                 :     2964384 :                             switch (gimple_assign_rhs_code (_a2))
    7841                 :             :                               {
    7842                 :       76893 :                               case BIT_AND_EXPR:
    7843                 :       76893 :                                 {
    7844                 :       76893 :                                   tree _q30 = gimple_assign_rhs1 (_a2);
    7845                 :       76893 :                                   _q30 = do_valueize (valueize, _q30);
    7846                 :       76893 :                                   tree _q31 = gimple_assign_rhs2 (_a2);
    7847                 :       76893 :                                   _q31 = do_valueize (valueize, _q31);
    7848                 :       76893 :                                   if (tree_swap_operands_p (_q30, _q31))
    7849                 :         124 :                                     std::swap (_q30, _q31);
    7850                 :       76893 :                                   switch (TREE_CODE (_q31))
    7851                 :             :                                     {
    7852                 :       74892 :                                     case INTEGER_CST:
    7853                 :       74892 :                                       {
    7854                 :       74892 :                                         switch (TREE_CODE (_p1))
    7855                 :             :                                           {
    7856                 :       34413 :                                           case SSA_NAME:
    7857                 :       34413 :                                             if (gimple *_d3 = get_def (valueize, _p1))
    7858                 :             :                                               {
    7859                 :       15821 :                                                 if (gassign *_a3 = dyn_cast <gassign *> (_d3))
    7860                 :       10694 :                                                   switch (gimple_assign_rhs_code (_a3))
    7861                 :             :                                                     {
    7862                 :        8811 :                                                     CASE_CONVERT:
    7863                 :        8811 :                                                       {
    7864                 :        8811 :                                                         tree _q60 = gimple_assign_rhs1 (_a3);
    7865                 :        8811 :                                                         _q60 = do_valueize (valueize, _q60);
    7866                 :        8811 :                                                         switch (TREE_CODE (_q60))
    7867                 :             :                                                           {
    7868                 :        8801 :                                                           case SSA_NAME:
    7869                 :        8801 :                                                             if (gimple *_d4 = get_def (valueize, _q60))
    7870                 :             :                                                               {
    7871                 :        8735 :                                                                 if (gassign *_a4 = dyn_cast <gassign *> (_d4))
    7872                 :        6393 :                                                                   switch (gimple_assign_rhs_code (_a4))
    7873                 :             :                                                                     {
    7874                 :        6086 :                                                                     case BIT_AND_EXPR:
    7875                 :        6086 :                                                                       {
    7876                 :        6086 :                                                                         tree _q70 = gimple_assign_rhs1 (_a4);
    7877                 :        6086 :                                                                         _q70 = do_valueize (valueize, _q70);
    7878                 :        6086 :                                                                         tree _q71 = gimple_assign_rhs2 (_a4);
    7879                 :        6086 :                                                                         _q71 = do_valueize (valueize, _q71);
    7880                 :        6086 :                                                                         if (tree_swap_operands_p (_q70, _q71))
    7881                 :           0 :                                                                           std::swap (_q70, _q71);
    7882                 :        6086 :                                                                         switch (TREE_CODE (_q71))
    7883                 :             :                                                                           {
    7884                 :        6086 :                                                                           case INTEGER_CST:
    7885                 :        6086 :                                                                             {
    7886                 :        6086 :                                                                               {
    7887                 :        6086 :                                                                                 tree captures[6] ATTRIBUTE_UNUSED = { _q20, _q30, _q31, _q60, _q70, _q71 };
    7888                 :        6086 :                                                                                 if (gimple_simplify_11 (res_op, seq, valueize, type, captures, PLUS_EXPR))
    7889                 :           0 :                                                                                   return true;
    7890                 :             :                                                                               }
    7891                 :        6086 :                                                                               break;
    7892                 :             :                                                                             }
    7893                 :             :                                                                           default:;
    7894                 :             :                                                                           }
    7895                 :    95432109 :                                                                         break;
    7896                 :             :                                                                       }
    7897                 :             :                                                                     default:;
    7898                 :             :                                                                     }
    7899                 :             :                                                               }
    7900                 :             :                                                             break;
    7901                 :             :                                                           default:;
    7902                 :             :                                                           }
    7903                 :             :                                                         break;
    7904                 :             :                                                       }
    7905                 :         160 :                                                     case BIT_AND_EXPR:
    7906                 :         160 :                                                       {
    7907                 :         160 :                                                         tree _q60 = gimple_assign_rhs1 (_a3);
    7908                 :         160 :                                                         _q60 = do_valueize (valueize, _q60);
    7909                 :         160 :                                                         tree _q61 = gimple_assign_rhs2 (_a3);
    7910                 :         160 :                                                         _q61 = do_valueize (valueize, _q61);
    7911                 :         160 :                                                         if (tree_swap_operands_p (_q60, _q61))
    7912                 :           0 :                                                           std::swap (_q60, _q61);
    7913                 :         160 :                                                         switch (TREE_CODE (_q61))
    7914                 :             :                                                           {
    7915                 :           4 :                                                           case INTEGER_CST:
    7916                 :           4 :                                                             {
    7917                 :           4 :                                                               {
    7918                 :           4 :                                                                 tree captures[6] ATTRIBUTE_UNUSED = { _q20, _q30, _q31, _p1, _q60, _q61 };
    7919                 :           4 :                                                                 if (gimple_simplify_11 (res_op, seq, valueize, type, captures, PLUS_EXPR))
    7920                 :           0 :                                                                   return true;
    7921                 :             :                                                               }
    7922                 :           4 :                                                               break;
    7923                 :             :                                                             }
    7924                 :             :                                                           default:;
    7925                 :             :                                                           }
    7926                 :    95432109 :                                                         break;
    7927                 :             :                                                       }
    7928                 :             :                                                     default:;
    7929                 :             :                                                     }
    7930                 :             :                                               }
    7931                 :             :                                             break;
    7932                 :             :                                           default:;
    7933                 :             :                                           }
    7934                 :             :                                         break;
    7935                 :             :                                       }
    7936                 :             :                                     default:;
    7937                 :             :                                     }
    7938                 :    95432109 :                                   break;
    7939                 :             :                                 }
    7940                 :        2356 :                               case NEGATE_EXPR:
    7941                 :        2356 :                                 {
    7942                 :        2356 :                                   tree _q30 = gimple_assign_rhs1 (_a2);
    7943                 :        2356 :                                   _q30 = do_valueize (valueize, _q30);
    7944                 :        2356 :                                   {
    7945                 :        2356 :                                     tree captures[2] ATTRIBUTE_UNUSED = { _p1, _q30 };
    7946                 :        2356 :                                     if (gimple_simplify_54 (res_op, seq, valueize, type, captures))
    7947                 :         219 :                                       return true;
    7948                 :             :                                   }
    7949                 :        2137 :                                   break;
    7950                 :             :                                 }
    7951                 :             :                               default:;
    7952                 :             :                               }
    7953                 :             :                         }
    7954                 :             :                       break;
    7955                 :             :                     default:;
    7956                 :             :                     }
    7957                 :             :                   break;
    7958                 :             :                 }
    7959                 :             :               default:;
    7960                 :             :               }
    7961                 :             :         }
    7962                 :             :       break;
    7963                 :    95432109 :     default:;
    7964                 :             :     }
    7965                 :    95432109 : {
    7966                 :    95432109 :   tree _p0_pops[1];
    7967                 :    95432109 :   if (gimple_nop_convert (_p0, _p0_pops, valueize))
    7968                 :             :     {
    7969                 :     2030905 :       tree _q20 = _p0_pops[0];
    7970                 :     2030905 :       switch (TREE_CODE (_q20))
    7971                 :             :         {
    7972                 :     1750702 :         case SSA_NAME:
    7973                 :     1750702 :           if (gimple *_d1 = get_def (valueize, _q20))
    7974                 :             :             {
    7975                 :     1622298 :               if (gassign *_a1 = dyn_cast <gassign *> (_d1))
    7976                 :     1491921 :                 switch (gimple_assign_rhs_code (_a1))
    7977                 :             :                   {
    7978                 :       18484 :                   case MINUS_EXPR:
    7979                 :       18484 :                     {
    7980                 :       18484 :                       tree _q30 = gimple_assign_rhs1 (_a1);
    7981                 :       18484 :                       _q30 = do_valueize (valueize, _q30);
    7982                 :       18484 :                       tree _q31 = gimple_assign_rhs2 (_a1);
    7983                 :       18484 :                       _q31 = do_valueize (valueize, _q31);
    7984                 :       18484 :                       switch (TREE_CODE (_q30))
    7985                 :             :                         {
    7986                 :       15589 :                         case SSA_NAME:
    7987                 :       15589 :                           if (gimple *_d2 = get_def (valueize, _q30))
    7988                 :             :                             {
    7989                 :       14773 :                               if (gassign *_a2 = dyn_cast <gassign *> (_d2))
    7990                 :       21454 :                                 switch (gimple_assign_rhs_code (_a2))
    7991                 :             :                                   {
    7992                 :           2 :                                   case BIT_AND_EXPR:
    7993                 :           2 :                                     {
    7994                 :           2 :                                       tree _q40 = gimple_assign_rhs1 (_a2);
    7995                 :           2 :                                       _q40 = do_valueize (valueize, _q40);
    7996                 :           2 :                                       tree _q41 = gimple_assign_rhs2 (_a2);
    7997                 :           2 :                                       _q41 = do_valueize (valueize, _q41);
    7998                 :           2 :                                       if (tree_swap_operands_p (_q40, _q41))
    7999                 :           0 :                                         std::swap (_q40, _q41);
    8000                 :           2 :                                       switch (TREE_CODE (_q31))
    8001                 :             :                                         {
    8002                 :           2 :                                         case SSA_NAME:
    8003                 :           2 :                                           if (gimple *_d3 = get_def (valueize, _q31))
    8004                 :             :                                             {
    8005                 :           2 :                                               if (gassign *_a3 = dyn_cast <gassign *> (_d3))
    8006                 :           2 :                                                 switch (gimple_assign_rhs_code (_a3))
    8007                 :             :                                                   {
    8008                 :           2 :                                                   case BIT_IOR_EXPR:
    8009                 :           2 :                                                     {
    8010                 :           2 :                                                       tree _q70 = gimple_assign_rhs1 (_a3);
    8011                 :           2 :                                                       _q70 = do_valueize (valueize, _q70);
    8012                 :           2 :                                                       tree _q71 = gimple_assign_rhs2 (_a3);
    8013                 :           2 :                                                       _q71 = do_valueize (valueize, _q71);
    8014                 :           2 :                                                       if (tree_swap_operands_p (_q70, _q71))
    8015                 :           0 :                                                         std::swap (_q70, _q71);
    8016                 :           2 :                                                       if ((_q70 == _q40 && ! TREE_SIDE_EFFECTS (_q70)) || (operand_equal_p (_q70, _q40, 0) && types_match (_q70, _q40)))
    8017                 :             :                                                         {
    8018                 :           2 :                                                           if ((_q71 == _q41 && ! TREE_SIDE_EFFECTS (_q71)) || (operand_equal_p (_q71, _q41, 0) && types_match (_q71, _q41)))
    8019                 :             :                                                             {
    8020                 :           2 :                                                               if (integer_all_onesp (_p1))
    8021                 :             :                                                                 {
    8022                 :           2 :                                                                   {
    8023                 :           2 :                                                                     tree captures[3] ATTRIBUTE_UNUSED = { _q20, _q40, _q41 };
    8024                 :           2 :                                                                     if (gimple_simplify_52 (res_op, seq, valueize, type, captures))
    8025                 :           1 :                                                                       return true;
    8026                 :             :                                                                   }
    8027                 :             :                                                                 }
    8028                 :             :                                                             }
    8029                 :             :                                                         }
    8030                 :           1 :                                                       if ((_q70 == _q41 && ! TREE_SIDE_EFFECTS (_q70)) || (operand_equal_p (_q70, _q41, 0) && types_match (_q70, _q41)))
    8031                 :             :                                                         {
    8032                 :           0 :                                                           if ((_q71 == _q40 && ! TREE_SIDE_EFFECTS (_q71)) || (operand_equal_p (_q71, _q40, 0) && types_match (_q71, _q40)))
    8033                 :             :                                                             {
    8034                 :           0 :                                                               if (integer_all_onesp (_p1))
    8035                 :             :                                                                 {
    8036                 :           0 :                                                                   {
    8037                 :           0 :                                                                     tree captures[3] ATTRIBUTE_UNUSED = { _q20, _q41, _q40 };
    8038                 :           0 :                                                                     if (gimple_simplify_52 (res_op, seq, valueize, type, captures))
    8039                 :           0 :                                                                       return true;
    8040                 :             :                                                                   }
    8041                 :             :                                                                 }
    8042                 :             :                                                             }
    8043                 :             :                                                         }
    8044                 :       18483 :                                                       break;
    8045                 :             :                                                     }
    8046                 :             :                                                   default:;
    8047                 :             :                                                   }
    8048                 :             :                                             }
    8049                 :             :                                           break;
    8050                 :             :                                         default:;
    8051                 :             :                                         }
    8052                 :       18483 :                                       break;
    8053                 :             :                                     }
    8054                 :             :                                   default:;
    8055                 :             :                                   }
    8056                 :             :                             }
    8057                 :             :                           break;
    8058                 :       18483 :                         default:;
    8059                 :             :                         }
    8060                 :       18483 :                     {
    8061                 :       18483 :                       tree _q30_pops[1];
    8062                 :       18483 :                       if (gimple_nop_convert (_q30, _q30_pops, valueize))
    8063                 :             :                         {
    8064                 :         337 :                           tree _q40 = _q30_pops[0];
    8065                 :         337 :                           switch (TREE_CODE (_q40))
    8066                 :             :                             {
    8067                 :         333 :                             case SSA_NAME:
    8068                 :         333 :                               if (gimple *_d2 = get_def (valueize, _q40))
    8069                 :             :                                 {
    8070                 :         333 :                                   if (gassign *_a2 = dyn_cast <gassign *> (_d2))
    8071                 :         208 :                                     switch (gimple_assign_rhs_code (_a2))
    8072                 :             :                                       {
    8073                 :           0 :                                       case BIT_AND_EXPR:
    8074                 :           0 :                                         {
    8075                 :           0 :                                           tree _q50 = gimple_assign_rhs1 (_a2);
    8076                 :           0 :                                           _q50 = do_valueize (valueize, _q50);
    8077                 :           0 :                                           tree _q51 = gimple_assign_rhs2 (_a2);
    8078                 :           0 :                                           _q51 = do_valueize (valueize, _q51);
    8079                 :           0 :                                           if (tree_swap_operands_p (_q50, _q51))
    8080                 :           0 :                                             std::swap (_q50, _q51);
    8081                 :           0 :                                           {
    8082                 :           0 :                                             tree _q31_pops[1];
    8083                 :           0 :                                             if (gimple_nop_convert (_q31, _q31_pops, valueize))
    8084                 :             :                                               {
    8085                 :           0 :                                                 tree _q80 = _q31_pops[0];
    8086                 :           0 :                                                 switch (TREE_CODE (_q80))
    8087                 :             :                                                   {
    8088                 :           0 :                                                   case SSA_NAME:
    8089                 :           0 :                                                     if (gimple *_d3 = get_def (valueize, _q80))
    8090                 :             :                                                       {
    8091                 :           0 :                                                         if (gassign *_a3 = dyn_cast <gassign *> (_d3))
    8092                 :           0 :                                                           switch (gimple_assign_rhs_code (_a3))
    8093                 :             :                                                             {
    8094                 :           0 :                                                             case BIT_IOR_EXPR:
    8095                 :           0 :                                                               {
    8096                 :           0 :                                                                 tree _q90 = gimple_assign_rhs1 (_a3);
    8097                 :           0 :                                                                 _q90 = do_valueize (valueize, _q90);
    8098                 :           0 :                                                                 tree _q91 = gimple_assign_rhs2 (_a3);
    8099                 :           0 :                                                                 _q91 = do_valueize (valueize, _q91);
    8100                 :           0 :                                                                 if (tree_swap_operands_p (_q90, _q91))
    8101                 :           0 :                                                                   std::swap (_q90, _q91);
    8102                 :           0 :                                                                 if ((_q90 == _q50 && ! TREE_SIDE_EFFECTS (_q90)) || (operand_equal_p (_q90, _q50, 0) && types_match (_q90, _q50)))
    8103                 :             :                                                                   {
    8104                 :           0 :                                                                     if ((_q91 == _q51 && ! TREE_SIDE_EFFECTS (_q91)) || (operand_equal_p (_q91, _q51, 0) && types_match (_q91, _q51)))
    8105                 :             :                                                                       {
    8106                 :           0 :                                                                         if (integer_all_onesp (_p1))
    8107                 :             :                                                                           {
    8108                 :           0 :                                                                             {
    8109                 :           0 :                                                                               tree captures[3] ATTRIBUTE_UNUSED = { _q20, _q50, _q51 };
    8110                 :           0 :                                                                               if (gimple_simplify_52 (res_op, seq, valueize, type, captures))
    8111                 :           0 :                                                                                 return true;
    8112                 :             :                                                                             }
    8113                 :             :                                                                           }
    8114                 :             :                                                                       }
    8115                 :             :                                                                   }
    8116                 :           0 :                                                                 if ((_q90 == _q51 && ! TREE_SIDE_EFFECTS (_q90)) || (operand_equal_p (_q90, _q51, 0) && types_match (_q90, _q51)))
    8117                 :             :                                                                   {
    8118                 :           0 :                                                                     if ((_q91 == _q50 && ! TREE_SIDE_EFFECTS (_q91)) || (operand_equal_p (_q91, _q50, 0) && types_match (_q91, _q50)))
    8119                 :             :                                                                       {
    8120                 :           0 :                                                                         if (integer_all_onesp (_p1))
    8121                 :             :                                                                           {
    8122                 :           0 :                                                                             {
    8123                 :           0 :                                                                               tree captures[3] ATTRIBUTE_UNUSED = { _q20, _q51, _q50 };
    8124                 :           0 :                                                                               if (gimple_simplify_52 (res_op, seq, valueize, type, captures))
    8125                 :           0 :                                                                                 return true;
    8126                 :             :                                                                             }
    8127                 :             :                                                                           }
    8128                 :             :                                                                       }
    8129                 :             :                                                                   }
    8130                 :           0 :                                                                 break;
    8131                 :             :                                                               }
    8132                 :             :                                                             default:;
    8133                 :             :                                                             }
    8134                 :             :                                                       }
    8135                 :             :                                                     break;
    8136                 :             :                                                   default:;
    8137                 :             :                                                   }
    8138                 :             : }
    8139                 :             :                                           }
    8140                 :           0 :                                           break;
    8141                 :             :                                         }
    8142                 :             :                                       default:;
    8143                 :             :                                       }
    8144                 :             :                                 }
    8145                 :             :                               break;
    8146                 :             :                             default:;
    8147                 :             :                             }
    8148                 :             : }
    8149                 :             :                     }
    8150                 :       18483 :                       break;
    8151                 :             :                     }
    8152                 :             :                   default:;
    8153                 :             :                   }
    8154                 :             :             }
    8155                 :             :           break;
    8156                 :             :         default:;
    8157                 :             :         }
    8158                 :             : }
    8159                 :             : }
    8160                 :    95432108 :   switch (TREE_CODE (_p1))
    8161                 :             :     {
    8162                 :    17844585 :     case SSA_NAME:
    8163                 :    17844585 :       if (gimple *_d1 = get_def (valueize, _p1))
    8164                 :             :         {
    8165                 :    12676516 :           if (gassign *_a1 = dyn_cast <gassign *> (_d1))
    8166                 :    10722744 :             switch (gimple_assign_rhs_code (_a1))
    8167                 :             :               {
    8168                 :     1389688 :               CASE_CONVERT:
    8169                 :     1389688 :                 {
    8170                 :     1389688 :                   tree _q30 = gimple_assign_rhs1 (_a1);
    8171                 :     1389688 :                   _q30 = do_valueize (valueize, _q30);
    8172                 :     1389688 :                   switch (TREE_CODE (_q30))
    8173                 :             :                     {
    8174                 :     1309397 :                     case SSA_NAME:
    8175                 :     1309397 :                       if (gimple *_d2 = get_def (valueize, _q30))
    8176                 :             :                         {
    8177                 :     1237975 :                           if (gassign *_a2 = dyn_cast <gassign *> (_d2))
    8178                 :     1117765 :                             switch (gimple_assign_rhs_code (_a2))
    8179                 :             :                               {
    8180                 :        1651 :                               case NEGATE_EXPR:
    8181                 :        1651 :                                 {
    8182                 :        1651 :                                   tree _q40 = gimple_assign_rhs1 (_a2);
    8183                 :        1651 :                                   _q40 = do_valueize (valueize, _q40);
    8184                 :        1651 :                                   {
    8185                 :        1651 :                                     tree captures[2] ATTRIBUTE_UNUSED = { _p0, _q40 };
    8186                 :        1651 :                                     if (gimple_simplify_54 (res_op, seq, valueize, type, captures))
    8187                 :         127 :                                       return true;
    8188                 :             :                                   }
    8189                 :        1524 :                                   break;
    8190                 :             :                                 }
    8191                 :             :                               default:;
    8192                 :             :                               }
    8193                 :             :                         }
    8194                 :             :                       break;
    8195                 :             :                     default:;
    8196                 :             :                     }
    8197                 :             :                   break;
    8198                 :             :                 }
    8199                 :       60455 :               case NEGATE_EXPR:
    8200                 :       60455 :                 {
    8201                 :       60455 :                   tree _q30 = gimple_assign_rhs1 (_a1);
    8202                 :       60455 :                   _q30 = do_valueize (valueize, _q30);
    8203                 :       60455 :                   {
    8204                 :       60455 :                     tree captures[2] ATTRIBUTE_UNUSED = { _p0, _q30 };
    8205                 :       60455 :                     if (gimple_simplify_54 (res_op, seq, valueize, type, captures))
    8206                 :       19789 :                       return true;
    8207                 :             :                   }
    8208                 :       40666 :                   break;
    8209                 :             :                 }
    8210                 :             :               default:;
    8211                 :             :               }
    8212                 :             :         }
    8213                 :             :       break;
    8214                 :    95412192 :     default:;
    8215                 :             :     }
    8216                 :    95412192 :   switch (TREE_CODE (_p0))
    8217                 :             :     {
    8218                 :    93747262 :     case SSA_NAME:
    8219                 :    93747262 :       if (gimple *_d1 = get_def (valueize, _p0))
    8220                 :             :         {
    8221                 :    32281314 :           if (gassign *_a1 = dyn_cast <gassign *> (_d1))
    8222                 :    28683315 :             switch (gimple_assign_rhs_code (_a1))
    8223                 :             :               {
    8224                 :      619518 :               case NEGATE_EXPR:
    8225                 :      619518 :                 {
    8226                 :      619518 :                   tree _q20 = gimple_assign_rhs1 (_a1);
    8227                 :      619518 :                   _q20 = do_valueize (valueize, _q20);
    8228                 :      619518 :                   {
    8229                 :      619518 :                     tree captures[2] ATTRIBUTE_UNUSED = { _p1, _q20 };
    8230                 :      619518 :                     if (gimple_simplify_54 (res_op, seq, valueize, type, captures))
    8231                 :       26811 :                       return true;
    8232                 :             :                   }
    8233                 :      592707 :                   break;
    8234                 :             :                 }
    8235                 :             :               default:;
    8236                 :             :               }
    8237                 :             :         }
    8238                 :             :       break;
    8239                 :    95385381 :     default:;
    8240                 :             :     }
    8241                 :    95385381 : {
    8242                 :    95385381 :   tree _p0_pops[1];
    8243                 :    95385381 :   if (gimple_nop_convert (_p0, _p0_pops, valueize))
    8244                 :             :     {
    8245                 :     2030303 :       tree _q20 = _p0_pops[0];
    8246                 :     2030303 :       switch (TREE_CODE (_q20))
    8247                 :             :         {
    8248                 :     1750100 :         case SSA_NAME:
    8249                 :     1750100 :           if (gimple *_d1 = get_def (valueize, _q20))
    8250                 :             :             {
    8251                 :     1621703 :               if (gassign *_a1 = dyn_cast <gassign *> (_d1))
    8252                 :     1491319 :                 switch (gimple_assign_rhs_code (_a1))
    8253                 :             :                   {
    8254                 :       18480 :                   case MINUS_EXPR:
    8255                 :       18480 :                     {
    8256                 :       18480 :                       tree _q30 = gimple_assign_rhs1 (_a1);
    8257                 :       18480 :                       _q30 = do_valueize (valueize, _q30);
    8258                 :       18480 :                       tree _q31 = gimple_assign_rhs2 (_a1);
    8259                 :       18480 :                       _q31 = do_valueize (valueize, _q31);
    8260                 :       18480 :                       {
    8261                 :       18480 :                         tree _q31_pops[1];
    8262                 :       18480 :                         if (gimple_nop_convert (_q31, _q31_pops, valueize))
    8263                 :             :                           {
    8264                 :        1085 :                             tree _q50 = _q31_pops[0];
    8265                 :        1085 :                             if ((_p1 == _q50 && ! TREE_SIDE_EFFECTS (_p1)) || (operand_equal_p (_p1, _q50, 0) && types_match (_p1, _q50)))
    8266                 :             :                               {
    8267                 :           2 :                                 {
    8268                 :           2 :                                   tree captures[2] ATTRIBUTE_UNUSED = { _q30, _q50 };
    8269                 :           2 :                                   if (gimple_simplify_53 (res_op, seq, valueize, type, captures))
    8270                 :           2 :                                     return true;
    8271                 :             :                                 }
    8272                 :             :                               }
    8273                 :             : }
    8274                 :             :                       }
    8275                 :       18478 :                       if ((_p1 == _q31 && ! TREE_SIDE_EFFECTS (_p1)) || (operand_equal_p (_p1, _q31, 0) && types_match (_p1, _q31)))
    8276                 :             :                         {
    8277                 :           0 :                           {
    8278                 :           0 :                             tree captures[2] ATTRIBUTE_UNUSED = { _q30, _q31 };
    8279                 :           0 :                             if (gimple_simplify_53 (res_op, seq, valueize, type, captures))
    8280                 :           0 :                               return true;
    8281                 :             :                           }
    8282                 :             :                         }
    8283                 :       18478 :                       if (CONSTANT_CLASS_P (_q31))
    8284                 :             :                         {
    8285                 :         204 :                           if (CONSTANT_CLASS_P (_p1))
    8286                 :             :                             {
    8287                 :         110 :                               {
    8288                 :         110 :                                 tree captures[3] ATTRIBUTE_UNUSED = { _q30, _q31, _p1 };
    8289                 :         110 :                                 if (gimple_simplify_55 (res_op, seq, valueize, type, captures, MINUS_EXPR, PLUS_EXPR, PLUS_EXPR))
    8290                 :          30 :                                   return true;
    8291                 :             :                               }
    8292                 :             :                             }
    8293                 :             :                         }
    8294                 :       18448 :                       if (CONSTANT_CLASS_P (_q30))
    8295                 :             :                         {
    8296                 :        2895 :                           if (CONSTANT_CLASS_P (_p1))
    8297                 :             :                             {
    8298                 :        2174 :                               {
    8299                 :        2174 :                                 tree captures[3] ATTRIBUTE_UNUSED = { _q30, _q31, _p1 };
    8300                 :        2174 :                                 if (gimple_simplify_56 (res_op, seq, valueize, type, captures, PLUS_EXPR))
    8301                 :        1557 :                                   return true;
    8302                 :             :                               }
    8303                 :             :                             }
    8304                 :             :                         }
    8305                 :             :                       break;
    8306                 :             :                     }
    8307                 :      149237 :                   case PLUS_EXPR:
    8308                 :      149237 :                     {
    8309                 :      149237 :                       tree _q30 = gimple_assign_rhs1 (_a1);
    8310                 :      149237 :                       _q30 = do_valueize (valueize, _q30);
    8311                 :      149237 :                       tree _q31 = gimple_assign_rhs2 (_a1);
    8312                 :      149237 :                       _q31 = do_valueize (valueize, _q31);
    8313                 :      149237 :                       if (tree_swap_operands_p (_q30, _q31))
    8314                 :       35186 :                         std::swap (_q30, _q31);
    8315                 :      149237 :                       if (CONSTANT_CLASS_P (_q31))
    8316                 :             :                         {
    8317                 :       43790 :                           if (CONSTANT_CLASS_P (_p1))
    8318                 :             :                             {
    8319                 :       26098 :                               {
    8320                 :       26098 :                                 tree captures[3] ATTRIBUTE_UNUSED = { _q30, _q31, _p1 };
    8321                 :       26098 :                                 if (gimple_simplify_55 (res_op, seq, valueize, type, captures, PLUS_EXPR, MINUS_EXPR, PLUS_EXPR))
    8322                 :        7299 :                                   return true;
    8323                 :             :                               }
    8324                 :             :                             }
    8325                 :             :                         }
    8326                 :    95376493 :                       break;
    8327                 :             :                     }
    8328                 :             :                   default:;
    8329                 :             :                   }
    8330                 :             :             }
    8331                 :             :           break;
    8332                 :             :         default:;
    8333                 :             :         }
    8334                 :             : }
    8335                 :             : }
    8336                 :    95376493 :   switch (TREE_CODE (_p1))
    8337                 :             :     {
    8338                 :    17804323 :     case SSA_NAME:
    8339                 :    17804323 :       if (gimple *_d1 = get_def (valueize, _p1))
    8340                 :             :         {
    8341                 :    12636307 :           if (gassign *_a1 = dyn_cast <gassign *> (_d1))
    8342                 :    10685663 :             switch (gimple_assign_rhs_code (_a1))
    8343                 :             :               {
    8344                 :      260462 :               case MINUS_EXPR:
    8345                 :      260462 :                 {
    8346                 :      260462 :                   tree _q30 = gimple_assign_rhs1 (_a1);
    8347                 :      260462 :                   _q30 = do_valueize (valueize, _q30);
    8348                 :      260462 :                   tree _q31 = gimple_assign_rhs2 (_a1);
    8349                 :      260462 :                   _q31 = do_valueize (valueize, _q31);
    8350                 :      260462 :                   {
    8351                 :      260462 :                     tree _q31_pops[1];
    8352                 :      260462 :                     if (gimple_nop_convert (_q31, _q31_pops, valueize))
    8353                 :             :                       {
    8354                 :       36455 :                         tree _q50 = _q31_pops[0];
    8355                 :       36455 :                         if ((_q50 == _p0 && ! TREE_SIDE_EFFECTS (_q50)) || (operand_equal_p (_q50, _p0, 0) && types_match (_q50, _p0)))
    8356                 :             :                           {
    8357                 :           0 :                             {
    8358                 :           0 :                               tree captures[2] ATTRIBUTE_UNUSED = { _q30, _p0 };
    8359                 :           0 :                               if (gimple_simplify_53 (res_op, seq, valueize, type, captures))
    8360                 :           0 :                                 return true;
    8361                 :             :                             }
    8362                 :             :                           }
    8363                 :             : }
    8364                 :             :                   }
    8365                 :      260462 :                   if ((_q31 == _p0 && ! TREE_SIDE_EFFECTS (_q31)) || (operand_equal_p (_q31, _p0, 0) && types_match (_q31, _p0)))
    8366                 :             :                     {
    8367                 :       23138 :                       {
    8368                 :       23138 :                         tree captures[2] ATTRIBUTE_UNUSED = { _q30, _p0 };
    8369                 :       23138 :                         if (gimple_simplify_53 (res_op, seq, valueize, type, captures))
    8370                 :       23098 :                           return true;
    8371                 :             :                       }
    8372                 :             :                     }
    8373                 :             :                   break;
    8374                 :             :                 }
    8375                 :             :               default:;
    8376                 :             :               }
    8377                 :             :         }
    8378                 :             :       break;
    8379                 :    95353395 :     default:;
    8380                 :             :     }
    8381                 :    95353395 : {
    8382                 :    95353395 :   tree _p1_pops[1];
    8383                 :    95353395 :   if (gimple_nop_convert (_p1, _p1_pops, valueize))
    8384                 :             :     {
    8385                 :      818716 :       tree _q30 = _p1_pops[0];
    8386                 :      818716 :       switch (TREE_CODE (_q30))
    8387                 :             :         {
    8388                 :      738425 :         case SSA_NAME:
    8389                 :      738425 :           if (gimple *_d1 = get_def (valueize, _q30))
    8390                 :             :             {
    8391                 :      695108 :               if (gassign *_a1 = dyn_cast <gassign *> (_d1))
    8392                 :      644455 :                 switch (gimple_assign_rhs_code (_a1))
    8393                 :             :                   {
    8394                 :       12842 :                   case MINUS_EXPR:
    8395                 :       12842 :                     {
    8396                 :       12842 :                       tree _q40 = gimple_assign_rhs1 (_a1);
    8397                 :       12842 :                       _q40 = do_valueize (valueize, _q40);
    8398                 :       12842 :                       tree _q41 = gimple_assign_rhs2 (_a1);
    8399                 :       12842 :                       _q41 = do_valueize (valueize, _q41);
    8400                 :       12842 :                       {
    8401                 :       12842 :                         tree _q41_pops[1];
    8402                 :       12842 :                         if (gimple_nop_convert (_q41, _q41_pops, valueize))
    8403                 :             :                           {
    8404                 :        2674 :                             tree _q60 = _q41_pops[0];
    8405                 :        2674 :                             if ((_q60 == _p0 && ! TREE_SIDE_EFFECTS (_q60)) || (operand_equal_p (_q60, _p0, 0) && types_match (_q60, _p0)))
    8406                 :             :                               {
    8407                 :          32 :                                 {
    8408                 :          32 :                                   tree captures[2] ATTRIBUTE_UNUSED = { _q40, _p0 };
    8409                 :          32 :                                   if (gimple_simplify_53 (res_op, seq, valueize, type, captures))
    8410                 :          32 :                                     return true;
    8411                 :             :                                 }
    8412                 :             :                               }
    8413                 :             : }
    8414                 :             :                       }
    8415                 :       12810 :                       if ((_q41 == _p0 && ! TREE_SIDE_EFFECTS (_q41)) || (operand_equal_p (_q41, _p0, 0) && types_match (_q41, _p0)))
    8416                 :             :                         {
    8417                 :           0 :                           {
    8418                 :           0 :                             tree captures[2] ATTRIBUTE_UNUSED = { _q40, _p0 };
    8419                 :           0 :                             if (gimple_simplify_53 (res_op, seq, valueize, type, captures))
    8420                 :           0 :                               return true;
    8421                 :             :                           }
    8422                 :             :                         }
    8423                 :             :                       break;
    8424                 :             :                     }
    8425                 :             :                   default:;
    8426                 :             :                   }
    8427                 :             :             }
    8428                 :             :           break;
    8429                 :             :         default:;
    8430                 :             :         }
    8431                 :             : }
    8432                 :             : }
    8433                 :    95353363 :   switch (TREE_CODE (_p0))
    8434                 :             :     {
    8435                 :    93688433 :     case SSA_NAME:
    8436                 :    93688433 :       if (gimple *_d1 = get_def (valueize, _p0))
    8437                 :             :         {
    8438                 :    32222506 :           if (gassign *_a1 = dyn_cast <gassign *> (_d1))
    8439                 :    28607837 :             switch (gimple_assign_rhs_code (_a1))
    8440                 :             :               {
    8441                 :     5649822 :               case PLUS_EXPR:
    8442                 :     5649822 :                 {
    8443                 :     5649822 :                   tree _q20 = gimple_assign_rhs1 (_a1);
    8444                 :     5649822 :                   _q20 = do_valueize (valueize, _q20);
    8445                 :     5649822 :                   tree _q21 = gimple_assign_rhs2 (_a1);
    8446                 :     5649822 :                   _q21 = do_valueize (valueize, _q21);
    8447                 :     5649822 :                   if (tree_swap_operands_p (_q20, _q21))
    8448                 :      268931 :                     std::swap (_q20, _q21);
    8449                 :     5649822 :                   switch (TREE_CODE (_p1))
    8450                 :             :                     {
    8451                 :     4036875 :                     case SSA_NAME:
    8452                 :     4036875 :                       if (gimple *_d2 = get_def (valueize, _p1))
    8453                 :             :                         {
    8454                 :     3565212 :                           if (gassign *_a2 = dyn_cast <gassign *> (_d2))
    8455                 :     2944008 :                             switch (gimple_assign_rhs_code (_a2))
    8456                 :             :                               {
    8457                 :       18917 :                               case MINUS_EXPR:
    8458                 :       18917 :                                 {
    8459                 :       18917 :                                   tree _q50 = gimple_assign_rhs1 (_a2);
    8460                 :       18917 :                                   _q50 = do_valueize (valueize, _q50);
    8461                 :       18917 :                                   tree _q51 = gimple_assign_rhs2 (_a2);
    8462                 :       18917 :                                   _q51 = do_valueize (valueize, _q51);
    8463                 :       18917 :                                   if ((_q51 == _q20 && ! TREE_SIDE_EFFECTS (_q51)) || (operand_equal_p (_q51, _q20, 0) && types_match (_q51, _q20)))
    8464                 :             :                                     {
    8465                 :         919 :                                       {
    8466                 :         919 :                                         tree captures[3] ATTRIBUTE_UNUSED = { _q20, _q21, _q50 };
    8467                 :         919 :                                         if (gimple_simplify_57 (res_op, seq, valueize, type, captures))
    8468                 :         919 :                                           return true;
    8469                 :             :                                       }
    8470                 :             :                                     }
    8471                 :       17998 :                                   if ((_q51 == _q21 && ! TREE_SIDE_EFFECTS (_q51)) || (operand_equal_p (_q51, _q21, 0) && types_match (_q51, _q21)))
    8472                 :             :                                     {
    8473                 :         109 :                                       {
    8474                 :         109 :                                         tree captures[3] ATTRIBUTE_UNUSED = { _q21, _q20, _q50 };
    8475                 :         109 :                                         if (gimple_simplify_57 (res_op, seq, valueize, type, captures))
    8476                 :         109 :                                           return true;
    8477                 :             :                                       }
    8478                 :             :                                     }
    8479                 :             :                                   break;
    8480                 :             :                                 }
    8481                 :             :                               default:;
    8482                 :             :                               }
    8483                 :             :                         }
    8484                 :             :                       break;
    8485                 :     5648794 :                     default:;
    8486                 :             :                     }
    8487                 :     5648794 :                   if (CONSTANT_CLASS_P (_q21))
    8488                 :             :                     {
    8489                 :     1420675 :                       if (CONSTANT_CLASS_P (_p1))
    8490                 :             :                         {
    8491                 :     1014286 :                           {
    8492                 :     1014286 :                             tree captures[3] ATTRIBUTE_UNUSED = { _q20, _q21, _p1 };
    8493                 :     1014286 :                             if (gimple_simplify_55 (res_op, seq, valueize, type, captures, PLUS_EXPR, MINUS_EXPR, PLUS_EXPR))
    8494                 :     1003915 :                               return true;
    8495                 :             :                           }
    8496                 :             :                         }
    8497                 :             :                     }
    8498                 :    94273525 :                   break;
    8499                 :             :                 }
    8500                 :      957740 :               case MINUS_EXPR:
    8501                 :      957740 :                 {
    8502                 :      957740 :                   tree _q20 = gimple_assign_rhs1 (_a1);
    8503                 :      957740 :                   _q20 = do_valueize (valueize, _q20);
    8504                 :      957740 :                   tree _q21 = gimple_assign_rhs2 (_a1);
    8505                 :      957740 :                   _q21 = do_valueize (valueize, _q21);
    8506                 :      957740 :                   switch (TREE_CODE (_p1))
    8507                 :             :                     {
    8508                 :      166830 :                     case SSA_NAME:
    8509                 :      166830 :                       if (gimple *_d2 = get_def (valueize, _p1))
    8510                 :             :                         {
    8511                 :      159659 :                           if (gassign *_a2 = dyn_cast <gassign *> (_d2))
    8512                 :      160694 :                             switch (gimple_assign_rhs_code (_a2))
    8513                 :             :                               {
    8514                 :        7006 :                               case PLUS_EXPR:
    8515                 :        7006 :                                 {
    8516                 :        7006 :                                   tree _q50 = gimple_assign_rhs1 (_a2);
    8517                 :        7006 :                                   _q50 = do_valueize (valueize, _q50);
    8518                 :        7006 :                                   tree _q51 = gimple_assign_rhs2 (_a2);
    8519                 :        7006 :                                   _q51 = do_valueize (valueize, _q51);
    8520                 :        7006 :                                   if (tree_swap_operands_p (_q50, _q51))
    8521                 :         377 :                                     std::swap (_q50, _q51);
    8522                 :        7006 :                                   if ((_q50 == _q21 && ! TREE_SIDE_EFFECTS (_q50)) || (operand_equal_p (_q50, _q21, 0) && types_match (_q50, _q21)))
    8523                 :             :                                     {
    8524                 :         395 :                                       {
    8525                 :         395 :                                         tree captures[3] ATTRIBUTE_UNUSED = { _q21, _q51, _q20 };
    8526                 :         395 :                                         if (gimple_simplify_57 (res_op, seq, valueize, type, captures))
    8527                 :         395 :                                           return true;
    8528                 :             :                                       }
    8529                 :             :                                     }
    8530                 :        6611 :                                   if ((_q51 == _q21 && ! TREE_SIDE_EFFECTS (_q51)) || (operand_equal_p (_q51, _q21, 0) && types_match (_q51, _q21)))
    8531                 :             :                                     {
    8532                 :         115 :                                       {
    8533                 :         115 :                                         tree captures[3] ATTRIBUTE_UNUSED = { _q21, _q50, _q20 };
    8534                 :         115 :                                         if (gimple_simplify_57 (res_op, seq, valueize, type, captures))
    8535                 :         115 :                                           return true;
    8536                 :             :                                       }
    8537                 :             :                                     }
    8538                 :      957172 :                                   break;
    8539                 :             :                                 }
    8540                 :        5866 :                               case MINUS_EXPR:
    8541                 :        5866 :                                 {
    8542                 :        5866 :                                   tree _q50 = gimple_assign_rhs1 (_a2);
    8543                 :        5866 :                                   _q50 = do_valueize (valueize, _q50);
    8544                 :        5866 :                                   tree _q51 = gimple_assign_rhs2 (_a2);
    8545                 :        5866 :                                   _q51 = do_valueize (valueize, _q51);
    8546                 :        5866 :                                   if ((_q51 == _q20 && ! TREE_SIDE_EFFECTS (_q51)) || (operand_equal_p (_q51, _q20, 0) && types_match (_q51, _q20)))
    8547                 :             :                                     {
    8548                 :          18 :                                       {
    8549                 :          18 :                                         tree captures[3] ATTRIBUTE_UNUSED = { _q20, _q21, _q50 };
    8550                 :          18 :                                         if (gimple_simplify_58 (res_op, seq, valueize, type, captures))
    8551                 :          18 :                                           return true;
    8552                 :             :                                       }
    8553                 :             :                                     }
    8554                 :        5848 :                                   if ((_q50 == _q21 && ! TREE_SIDE_EFFECTS (_q50)) || (operand_equal_p (_q50, _q21, 0) && types_match (_q50, _q21)))
    8555                 :             :                                     {
    8556                 :          50 :                                       {
    8557                 :          50 :                                         tree captures[3] ATTRIBUTE_UNUSED = { _q21, _q51, _q20 };
    8558                 :          50 :                                         if (gimple_simplify_58 (res_op, seq, valueize, type, captures))
    8559                 :          40 :                                           return true;
    8560                 :             :                                       }
    8561                 :             :                                     }
    8562                 :             :                                   break;
    8563                 :             :                                 }
    8564                 :             :                               default:;
    8565                 :             :                               }
    8566                 :             :                         }
    8567                 :             :                       break;
    8568                 :      957172 :                     default:;
    8569                 :             :                     }
    8570                 :      957172 :                   if (CONSTANT_CLASS_P (_q21))
    8571                 :             :                     {
    8572                 :       57194 :                       if (CONSTANT_CLASS_P (_p1))
    8573                 :             :                         {
    8574                 :       32184 :                           {
    8575                 :       32184 :                             tree captures[3] ATTRIBUTE_UNUSED = { _q20, _q21, _p1 };
    8576                 :       32184 :                             if (gimple_simplify_55 (res_op, seq, valueize, type, captures, MINUS_EXPR, PLUS_EXPR, PLUS_EXPR))
    8577                 :       26642 :                               return true;
    8578                 :             :                           }
    8579                 :             :                         }
    8580                 :             :                     }
    8581                 :      930530 :                   if (CONSTANT_CLASS_P (_q20))
    8582                 :             :                     {
    8583                 :       52532 :                       if (CONSTANT_CLASS_P (_p1))
    8584                 :             :                         {
    8585                 :       24566 :                           {
    8586                 :       24566 :                             tree captures[3] ATTRIBUTE_UNUSED = { _q20, _q21, _p1 };
    8587                 :       24566 :                             if (gimple_simplify_56 (res_op, seq, valueize, type, captures, PLUS_EXPR))
    8588                 :       23637 :                               return true;
    8589                 :             :                           }
    8590                 :             :                         }
    8591                 :             :                     }
    8592                 :             :                   break;
    8593                 :             :                 }
    8594                 :        8816 :               case POINTER_DIFF_EXPR:
    8595                 :        8816 :                 {
    8596                 :        8816 :                   tree _q20 = gimple_assign_rhs1 (_a1);
    8597                 :        8816 :                   _q20 = do_valueize (valueize, _q20);
    8598                 :        8816 :                   tree _q21 = gimple_assign_rhs2 (_a1);
    8599                 :        8816 :                   _q21 = do_valueize (valueize, _q21);
    8600                 :        8816 :                   switch (TREE_CODE (_p1))
    8601                 :             :                     {
    8602                 :        2086 :                     case SSA_NAME:
    8603                 :        2086 :                       if (gimple *_d2 = get_def (valueize, _p1))
    8604                 :             :                         {
    8605                 :        1818 :                           if (gassign *_a2 = dyn_cast <gassign *> (_d2))
    8606                 :        1020 :                             switch (gimple_assign_rhs_code (_a2))
    8607                 :             :                               {
    8608                 :         558 :                               case POINTER_DIFF_EXPR:
    8609                 :         558 :                                 {
    8610                 :         558 :                                   tree _q50 = gimple_assign_rhs1 (_a2);
    8611                 :         558 :                                   _q50 = do_valueize (valueize, _q50);
    8612                 :         558 :                                   tree _q51 = gimple_assign_rhs2 (_a2);
    8613                 :         558 :                                   _q51 = do_valueize (valueize, _q51);
    8614                 :         558 :                                   if ((_q51 == _q20 && ! TREE_SIDE_EFFECTS (_q51)) || (operand_equal_p (_q51, _q20, 0) && types_match (_q51, _q20)))
    8615                 :             :                                     {
    8616                 :          56 :                                       {
    8617                 :          56 :                                         tree captures[3] ATTRIBUTE_UNUSED = { _q20, _q21, _q50 };
    8618                 :          56 :                                         if (gimple_simplify_59 (res_op, seq, valueize, type, captures))
    8619                 :          56 :                                           return true;
    8620                 :             :                                       }
    8621                 :             :                                     }
    8622                 :         502 :                                   if ((_q50 == _q21 && ! TREE_SIDE_EFFECTS (_q50)) || (operand_equal_p (_q50, _q21, 0) && types_match (_q50, _q21)))
    8623                 :             :                                     {
    8624                 :          35 :                                       {
    8625                 :          35 :                                         tree captures[3] ATTRIBUTE_UNUSED = { _q21, _q51, _q20 };
    8626                 :          35 :                                         if (gimple_simplify_59 (res_op, seq, valueize, type, captures))
    8627                 :          35 :                                           return true;
    8628                 :             :                                       }
    8629                 :             :                                     }
    8630                 :             :                                   break;
    8631                 :             :                                 }
    8632                 :             :                               default:;
    8633                 :             :                               }
    8634                 :             :                         }
    8635                 :             :                       break;
    8636                 :             :                     default:;
    8637                 :             :                     }
    8638                 :             :                   break;
    8639                 :             :                 }
    8640                 :     3478816 :               CASE_CONVERT:
    8641                 :     3478816 :                 {
    8642                 :     3478816 :                   tree _q20 = gimple_assign_rhs1 (_a1);
    8643                 :     3478816 :                   _q20 = do_valueize (valueize, _q20);
    8644                 :     3478816 :                   switch (TREE_CODE (_q20))
    8645                 :             :                     {
    8646                 :     3199404 :                     case SSA_NAME:
    8647                 :     3199404 :                       if (gimple *_d2 = get_def (valueize, _q20))
    8648                 :             :                         {
    8649                 :     2999222 :                           if (gassign *_a2 = dyn_cast <gassign *> (_d2))
    8650                 :     2956226 :                             switch (gimple_assign_rhs_code (_a2))
    8651                 :             :                               {
    8652                 :      244401 :                               case PLUS_EXPR:
    8653                 :      244401 :                                 {
    8654                 :      244401 :                                   tree _q30 = gimple_assign_rhs1 (_a2);
    8655                 :      244401 :                                   _q30 = do_valueize (valueize, _q30);
    8656                 :      244401 :                                   tree _q31 = gimple_assign_rhs2 (_a2);
    8657                 :      244401 :                                   _q31 = do_valueize (valueize, _q31);
    8658                 :      244401 :                                   if (tree_swap_operands_p (_q30, _q31))
    8659                 :       38297 :                                     std::swap (_q30, _q31);
    8660                 :      244401 :                                   switch (TREE_CODE (_q31))
    8661                 :             :                                     {
    8662                 :      118801 :                                     case INTEGER_CST:
    8663                 :      118801 :                                       {
    8664                 :      118801 :                                         switch (TREE_CODE (_p1))
    8665                 :             :                                           {
    8666                 :       77284 :                                           case INTEGER_CST:
    8667                 :       77284 :                                             {
    8668                 :       77284 :                                               {
    8669                 :       77284 :                                                 tree captures[5] ATTRIBUTE_UNUSED = { _p0, _q20, _q30, _q31, _p1 };
    8670                 :       77284 :                                                 if (gimple_simplify_60 (res_op, seq, valueize, type, captures, PLUS_EXPR))
    8671                 :         748 :                                                   return true;
    8672                 :             :                                               }
    8673                 :       76536 :                                               break;
    8674                 :             :                                             }
    8675                 :             :                                           default:;
    8676                 :             :                                           }
    8677                 :             :                                         break;
    8678                 :             :                                       }
    8679                 :             :                                     default:;
    8680                 :             :                                     }
    8681                 :     3198655 :                                   break;
    8682                 :             :                                 }
    8683                 :       26058 :                               case MINUS_EXPR:
    8684                 :       26058 :                                 {
    8685                 :       26058 :                                   tree _q30 = gimple_assign_rhs1 (_a2);
    8686                 :       26058 :                                   _q30 = do_valueize (valueize, _q30);
    8687                 :       26058 :                                   tree _q31 = gimple_assign_rhs2 (_a2);
    8688                 :       26058 :                                   _q31 = do_valueize (valueize, _q31);
    8689                 :       26058 :                                   switch (TREE_CODE (_q31))
    8690                 :             :                                     {
    8691                 :         182 :                                     case INTEGER_CST:
    8692                 :         182 :                                       {
    8693                 :         182 :                                         switch (TREE_CODE (_p1))
    8694                 :             :                                           {
    8695                 :          91 :                                           case INTEGER_CST:
    8696                 :          91 :                                             {
    8697                 :          91 :                                               {
    8698                 :          91 :                                                 tree captures[5] ATTRIBUTE_UNUSED = { _p0, _q20, _q30, _q31, _p1 };
    8699                 :          91 :                                                 if (gimple_simplify_60 (res_op, seq, valueize, type, captures, MINUS_EXPR))
    8700                 :           1 :                                                   return true;
    8701                 :             :                                               }
    8702                 :          90 :                                               break;
    8703                 :             :                                             }
    8704                 :             :                                           default:;
    8705                 :             :                                           }
    8706                 :             :                                         break;
    8707                 :             :                                       }
    8708                 :             :                                     default:;
    8709                 :             :                                     }
    8710                 :             :                                   break;
    8711                 :             :                                 }
    8712                 :             :                               default:;
    8713                 :             :                               }
    8714                 :             :                         }
    8715                 :     3198655 :                         {
    8716                 :     3198655 :                           switch (TREE_CODE (_p1))
    8717                 :             :                             {
    8718                 :     1848955 :                             case INTEGER_CST:
    8719                 :     1848955 :                               {
    8720                 :     1848955 :                                 {
    8721                 :     1848955 :                                   tree captures[3] ATTRIBUTE_UNUSED = { _p0, _q20, _p1 };
    8722                 :     1848955 :                                   if (!TYPE_SATURATING (type)
    8723                 :             : )
    8724                 :             :                                     {
    8725                 :     1848955 :                                       if ((!FLOAT_TYPE_P (type) || flag_associative_math)
    8726                 :     3697910 :  && !FIXED_POINT_TYPE_P (type)
    8727                 :             : )
    8728                 :             :                                         {
    8729                 :     1848955 :                                           if (TREE_CODE (TREE_TYPE (captures[1])) == INTEGER_TYPE
    8730                 :     1542877 :  && TREE_CODE (type) == INTEGER_TYPE
    8731                 :     1542580 :  && TYPE_PRECISION (type) > TYPE_PRECISION (TREE_TYPE (captures[1]))
    8732                 :     2389611 :  && int_fits_type_p (captures[2], TREE_TYPE (captures[1]))
    8733                 :             : )
    8734                 :             :                                             {
    8735                 :      439581 :                                               {
    8736                 :      439581 :  wi::overflow_type min_ovf = wi::OVF_OVERFLOW,
    8737                 :      439581 :  max_ovf = wi::OVF_OVERFLOW;
    8738                 :      439581 :  tree inner_type = TREE_TYPE (captures[1]);
    8739                 :      439581 :  wide_int w1
    8740                 :      879162 :  = wide_int::from (wi::to_wide (captures[2]), TYPE_PRECISION (inner_type),
    8741                 :     1318743 :  TYPE_SIGN (inner_type));
    8742                 :      439581 :  value_range vr;
    8743                 :      439581 :  if (get_global_range_query ()->range_of_expr (vr, captures[1])
    8744                 :      439581 :  && !vr.varying_p () && !vr.undefined_p ())
    8745                 :             :  {
    8746                 :       91846 :  wide_int wmin0 = vr.lower_bound ();
    8747                 :       91846 :  wide_int wmax0 = vr.upper_bound ();
    8748                 :       91846 :  wi::add (wmin0, w1, TYPE_SIGN (inner_type), &min_ovf);
    8749                 :       91846 :  wi::add (wmax0, w1, TYPE_SIGN (inner_type), &max_ovf);
    8750                 :       91846 :  }
    8751                 :      439581 :                                                   if (min_ovf == wi::OVF_NONE && max_ovf == wi::OVF_NONE
    8752                 :             : )
    8753                 :             :                                                     {
    8754                 :       68743 :                                                       gimple_seq *lseq = seq;
    8755                 :       68743 :                                                       if (lseq
    8756                 :       28462 :                                                           && (!single_use (captures[0])))
    8757                 :       56731 :                                                         lseq = NULL;
    8758                 :       68743 :                                                       if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail1571;
    8759                 :       68743 :                                                       {
    8760                 :       68743 :                                                         res_op->set_op (NOP_EXPR, type, 1);
    8761                 :       68743 :                                                         {
    8762                 :       68743 :                                                           tree _o1[2], _r1;
    8763                 :       68743 :                                                           _o1[0] = captures[1];
    8764                 :       68743 :                                                           _o1[1] =  wide_int_to_tree (TREE_TYPE (captures[1]), w1);
    8765                 :       68743 :                                                           gimple_match_op tem_op (res_op->cond.any_else (), PLUS_EXPR, TREE_TYPE (_o1[0]), _o1[0], _o1[1]);
    8766                 :       68743 :                                                           tem_op.resimplify (lseq, valueize);
    8767                 :       68743 :                                                           _r1 = maybe_push_res_to_seq (&tem_op, lseq);
    8768                 :       68743 :                                                           if (!_r1) goto next_after_fail1571;
    8769                 :       17929 :                                                           res_op->ops[0] = _r1;
    8770                 :             :                                                         }
    8771                 :       17929 :                                                         res_op->resimplify (lseq, valueize);
    8772                 :       17929 :                                                         if (UNLIKELY (debug_dump)) gimple_dump_logs ("match.pd", 930, __FILE__, __LINE__, true);
    8773                 :       17929 :                                                         return true;
    8774                 :             :                                                       }
    8775                 :      421652 : next_after_fail1571:;
    8776                 :             :                                                     }
    8777                 :      439581 :                                               }
    8778                 :             :                                             }
    8779                 :             :                                         }
    8780                 :             :                                     }
    8781                 :             :                                 }
    8782                 :     1831026 :                                 break;
    8783                 :             :                               }
    8784                 :             :                             default:;
    8785                 :             :                             }
    8786                 :             :                         }
    8787                 :             :                       break;
    8788                 :     3460138 :                     default:;
    8789                 :             :                     }
    8790                 :     3460138 :                   switch (TREE_CODE (_p1))
    8791                 :             :                     {
    8792                 :     1418528 :                     case SSA_NAME:
    8793                 :     1418528 :                       if (gimple *_d2 = get_def (valueize, _p1))
    8794                 :             :                         {
    8795                 :     1186711 :                           if (gassign *_a2 = dyn_cast <gassign *> (_d2))
    8796                 :     1098935 :                             switch (gimple_assign_rhs_code (_a2))
    8797                 :             :                               {
    8798                 :      424216 :                               CASE_CONVERT:
    8799                 :      424216 :                                 {
    8800                 :      424216 :                                   tree _q40 = gimple_assign_rhs1 (_a2);
    8801                 :      424216 :                                   _q40 = do_valueize (valueize, _q40);
    8802                 :      424216 :                                   {
    8803                 :      424216 :                                     tree captures[2] ATTRIBUTE_UNUSED = { _q20, _q40 };
    8804                 :      424216 :                                     if (gimple_simplify_61 (res_op, seq, valueize, type, captures, PLUS_EXPR))
    8805                 :        4372 :                                       return true;
    8806                 :             :                                   }
    8807                 :      419844 :                                   break;
    8808                 :             :                                 }
    8809                 :             :                               default:;
    8810                 :             :                               }
    8811                 :             :                         }
    8812                 :             :                       break;
    8813                 :     3455766 :                     default:;
    8814                 :             :                     }
    8815                 :     3455766 :                   switch (TREE_CODE (_q20))
    8816                 :             :                     {
    8817                 :     3176354 :                     case SSA_NAME:
    8818                 :     3176354 :                       if (gimple *_d2 = get_def (valueize, _q20))
    8819                 :             :                         {
    8820                 :     2982022 :                           if (gassign *_a2 = dyn_cast <gassign *> (_d2))
    8821                 :     2942353 :                             switch (gimple_assign_rhs_code (_a2))
    8822                 :             :                               {
    8823                 :        2997 :                               case BIT_NOT_EXPR:
    8824                 :        2997 :                                 {
    8825                 :        2997 :                                   tree _q30 = gimple_assign_rhs1 (_a2);
    8826                 :        2997 :                                   _q30 = do_valueize (valueize, _q30);
    8827                 :        2997 :                                   switch (TREE_CODE (_p1))
    8828                 :             :                                     {
    8829                 :        1035 :                                     case SSA_NAME:
    8830                 :        1035 :                                       if (gimple *_d3 = get_def (valueize, _p1))
    8831                 :             :                                         {
    8832                 :        1011 :                                           if (gassign *_a3 = dyn_cast <gassign *> (_d3))
    8833                 :         758 :                                             switch (gimple_assign_rhs_code (_a3))
    8834                 :             :                                               {
    8835                 :         260 :                                               CASE_CONVERT:
    8836                 :         260 :                                                 {
    8837                 :         260 :                                                   tree _q50 = gimple_assign_rhs1 (_a3);
    8838                 :         260 :                                                   _q50 = do_valueize (valueize, _q50);
    8839                 :         260 :                                                   if ((_q50 == _q30 && ! TREE_SIDE_EFFECTS (_q50)) || (operand_equal_p (_q50, _q30, 0) && types_match (_q50, _q30)))
    8840                 :             :                                                     {
    8841                 :           0 :                                                       {
    8842                 :           0 :                                                         tree captures[1] ATTRIBUTE_UNUSED = { _q30 };
    8843                 :           0 :                                                         if (gimple_simplify_62 (res_op, seq, valueize, type, captures))
    8844                 :           0 :                                                           return true;
    8845                 :             :                                                       }
    8846                 :             :                                                     }
    8847                 :             :                                                   break;
    8848                 :             :                                                 }
    8849                 :             :                                               default:;
    8850                 :             :                                               }
    8851                 :             :                                         }
    8852                 :             :                                       break;
    8853                 :             :                                     default:;
    8854                 :             :                                     }
    8855                 :             :                                   break;
    8856                 :             :                                 }
    8857                 :             :                               default:;
    8858                 :             :                               }
    8859                 :             :                         }
    8860                 :             :                       break;
    8861                 :     3455766 :                     default:;
    8862                 :             :                     }
    8863                 :     3455766 :                   switch (TREE_CODE (_p1))
    8864                 :             :                     {
    8865                 :     1414156 :                     case SSA_NAME:
    8866                 :     1414156 :                       if (gimple *_d2 = get_def (valueize, _p1))
    8867                 :             :                         {
    8868                 :     1182339 :                           if (gassign *_a2 = dyn_cast <gassign *> (_d2))
    8869                 :     1094563 :                             switch (gimple_assign_rhs_code (_a2))
    8870                 :             :                               {
    8871                 :      419844 :                               CASE_CONVERT:
    8872                 :      419844 :                                 {
    8873                 :      419844 :                                   tree _q40 = gimple_assign_rhs1 (_a2);
    8874                 :      419844 :                                   _q40 = do_valueize (valueize, _q40);
    8875                 :      419844 :                                   switch (TREE_CODE (_q40))
    8876                 :             :                                     {
    8877                 :      417961 :                                     case SSA_NAME:
    8878                 :      417961 :                                       if (gimple *_d3 = get_def (valueize, _q40))
    8879                 :             :                                         {
    8880                 :      398014 :                                           if (gassign *_a3 = dyn_cast <gassign *> (_d3))
    8881                 :      337070 :                                             switch (gimple_assign_rhs_code (_a3))
    8882                 :             :                                               {
    8883                 :         252 :                                               case BIT_NOT_EXPR:
    8884                 :         252 :                                                 {
    8885                 :         252 :                                                   tree _q50 = gimple_assign_rhs1 (_a3);
    8886                 :         252 :                                                   _q50 = do_valueize (valueize, _q50);
    8887                 :         252 :                                                   if ((_q50 == _q20 && ! TREE_SIDE_EFFECTS (_q50)) || (operand_equal_p (_q50, _q20, 0) && types_match (_q50, _q20)))
    8888                 :             :                                                     {
    8889                 :           0 :                                                       {
    8890                 :           0 :                                                         tree captures[1] ATTRIBUTE_UNUSED = { _q20 };
    8891                 :           0 :                                                         if (gimple_simplify_62 (res_op, seq, valueize, type, captures))
    8892                 :           0 :                                                           return true;
    8893                 :             :                                                       }
    8894                 :             :                                                     }
    8895                 :             :                                                   break;
    8896                 :             :                                                 }
    8897                 :             :                                               default:;
    8898                 :             :                                               }
    8899                 :             :                                         }
    8900                 :             :                                       break;
    8901                 :             :                                     default:;
    8902                 :             :                                     }
    8903                 :             :                                   break;
    8904                 :             :                                 }
    8905                 :             :                               default:;
    8906                 :             :                               }
    8907                 :             :                         }
    8908                 :             :                       break;
    8909                 :             :                     default:;
    8910                 :             :                     }
    8911                 :             :                   break;
    8912                 :             :                 }
    8913                 :        5514 :               case BIT_NOT_EXPR:
    8914                 :        5514 :                 {
    8915                 :        5514 :                   tree _q20 = gimple_assign_rhs1 (_a1);
    8916                 :        5514 :                   _q20 = do_valueize (valueize, _q20);
    8917                 :        5514 :                   if ((_p1 == _q20 && ! TREE_SIDE_EFFECTS (_p1)) || (operand_equal_p (_p1, _q20, 0) && types_match (_p1, _q20)))
    8918                 :             :                     {
    8919                 :         830 :                       {
    8920                 :         830 :                         tree captures[1] ATTRIBUTE_UNUSED = { _q20 };
    8921                 :         830 :                         if (gimple_simplify_62 (res_op, seq, valueize, type, captures))
    8922                 :         830 :                           return true;
    8923                 :             :                       }
    8924                 :             :                     }
    8925                 :        4684 :                   if (integer_each_onep (_p1))
    8926                 :             :                     {
    8927                 :          77 :                       {
    8928                 :          77 :                         tree captures[1] ATTRIBUTE_UNUSED = { _q20 };
    8929                 :          77 :                         if (gimple_simplify_63 (res_op, seq, valueize, type, captures))
    8930                 :          77 :                           return true;
    8931                 :             :                       }
    8932                 :             :                     }
    8933                 :             :                   break;
    8934                 :             :                 }
    8935                 :             :               default:;
    8936                 :             :               }
    8937                 :             :         }
    8938                 :             :       break;
    8939                 :    94273525 :     default:;
    8940                 :             :     }
    8941                 :    94273525 :   switch (TREE_CODE (_p1))
    8942                 :             :     {
    8943                 :    17774304 :     case SSA_NAME:
    8944                 :    17774304 :       if (gimple *_d1 = get_def (valueize, _p1))
    8945                 :             :         {
    8946                 :    12606288 :           if (gassign *_a1 = dyn_cast <gassign *> (_d1))
    8947                 :    10655409 :             switch (gimple_assign_rhs_code (_a1))
    8948                 :             :               {
    8949                 :       25695 :               case BIT_NOT_EXPR:
    8950                 :       25695 :                 {
    8951                 :       25695 :                   tree _q30 = gimple_assign_rhs1 (_a1);
    8952                 :       25695 :                   _q30 = do_valueize (valueize, _q30);
    8953                 :       25695 :                   if ((_q30 == _p0 && ! TREE_SIDE_EFFECTS (_q30)) || (operand_equal_p (_q30, _p0, 0) && types_match (_q30, _p0)))
    8954                 :             :                     {
    8955                 :        5656 :                       {
    8956                 :        5656 :                         tree captures[1] ATTRIBUTE_UNUSED = { _p0 };
    8957                 :        5656 :                         if (gimple_simplify_62 (res_op, seq, valueize, type, captures))
    8958                 :        5656 :                           return true;
    8959                 :             :                       }
    8960                 :             :                     }
    8961                 :             :                   break;
    8962                 :             :                 }
    8963                 :             :               default:;
    8964                 :             :               }
    8965                 :             :         }
    8966                 :             :       break;
    8967                 :    94267869 :     default:;
    8968                 :             :     }
    8969                 :    94267869 :   switch (TREE_CODE (_p0))
    8970                 :             :     {
    8971                 :    92602939 :     case SSA_NAME:
    8972                 :    92602939 :       if (gimple *_d1 = get_def (valueize, _p0))
    8973                 :             :         {
    8974                 :    31137012 :           if (gassign *_a1 = dyn_cast <gassign *> (_d1))
    8975                 :    27522043 :             switch (gimple_assign_rhs_code (_a1))
    8976                 :             :               {
    8977                 :     3455514 :               CASE_CONVERT:
    8978                 :     3455514 :                 {
    8979                 :     3455514 :                   tree _q20 = gimple_assign_rhs1 (_a1);
    8980                 :     3455514 :                   _q20 = do_valueize (valueize, _q20);
    8981                 :     3455514 :                   switch (TREE_CODE (_q20))
    8982                 :             :                     {
    8983                 :     3176102 :                     case SSA_NAME:
    8984                 :     3176102 :                       if (gimple *_d2 = get_def (valueize, _q20))
    8985                 :             :                         {
    8986                 :     2981770 :                           if (gassign *_a2 = dyn_cast <gassign *> (_d2))
    8987                 :     2942101 :                             switch (gimple_assign_rhs_code (_a2))
    8988                 :             :                               {
    8989                 :        2997 :                               case BIT_NOT_EXPR:
    8990                 :        2997 :                                 {
    8991                 :        2997 :                                   tree _q30 = gimple_assign_rhs1 (_a2);
    8992                 :        2997 :                                   _q30 = do_valueize (valueize, _q30);
    8993                 :        2997 :                                   if (integer_each_onep (_p1))
    8994                 :             :                                     {
    8995                 :         242 :                                       {
    8996                 :         242 :                                         tree captures[1] ATTRIBUTE_UNUSED = { _q30 };
    8997                 :         242 :                                         if (gimple_simplify_63 (res_op, seq, valueize, type, captures))
    8998                 :          50 :                                           return true;
    8999                 :             :                                       }
    9000                 :             :                                     }
    9001                 :             :                                   break;
    9002                 :             :                                 }
    9003                 :             :                               default:;
    9004                 :             :                               }
    9005                 :             :                         }
    9006                 :             :                       break;
    9007                 :             :                     default:;
    9008                 :             :                     }
    9009                 :             :                   break;
    9010                 :             :                 }
    9011                 :     3170294 :               case MULT_EXPR:
    9012                 :     3170294 :                 {
    9013                 :     3170294 :                   tree _q20 = gimple_assign_rhs1 (_a1);
    9014                 :     3170294 :                   _q20 = do_valueize (valueize, _q20);
    9015                 :     3170294 :                   tree _q21 = gimple_assign_rhs2 (_a1);
    9016                 :     3170294 :                   _q21 = do_valueize (valueize, _q21);
    9017                 :     3170294 :                   if (tree_swap_operands_p (_q20, _q21))
    9018                 :      175022 :                     std::swap (_q20, _q21);
    9019                 :     3170294 :                   switch (TREE_CODE (_p1))
    9020                 :             :                     {
    9021                 :     1992301 :                     case SSA_NAME:
    9022                 :     1992301 :                       if (gimple *_d2 = get_def (valueize, _p1))
    9023                 :             :                         {
    9024                 :     1766399 :                           if (gassign *_a2 = dyn_cast <gassign *> (_d2))
    9025                 :     1347970 :                             switch (gimple_assign_rhs_code (_a2))
    9026                 :             :                               {
    9027                 :      357733 :                               case MULT_EXPR:
    9028                 :      357733 :                                 {
    9029                 :      357733 :                                   tree _q50 = gimple_assign_rhs1 (_a2);
    9030                 :      357733 :                                   _q50 = do_valueize (valueize, _q50);
    9031                 :      357733 :                                   tree _q51 = gimple_assign_rhs2 (_a2);
    9032                 :      357733 :                                   _q51 = do_valueize (valueize, _q51);
    9033                 :      357733 :                                   if (tree_swap_operands_p (_q50, _q51))
    9034                 :       15103 :                                     std::swap (_q50, _q51);
    9035                 :      357733 :                                   if ((_q50 == _q20 && ! TREE_SIDE_EFFECTS (_q50)) || (operand_equal_p (_q50, _q20, 0) && types_match (_q50, _q20)))
    9036                 :             :                                     {
    9037                 :       26949 :                                       {
    9038                 :       26949 :                                         tree captures[5] ATTRIBUTE_UNUSED = { _p0, _q20, _q21, _p1, _q51 };
    9039                 :       26949 :                                         if (gimple_simplify_64 (res_op, seq, valueize, type, captures, PLUS_EXPR))
    9040                 :        7668 :                                           return true;
    9041                 :             :                                       }
    9042                 :             :                                     }
    9043                 :      350065 :                                   if ((_q51 == _q20 && ! TREE_SIDE_EFFECTS (_q51)) || (operand_equal_p (_q51, _q20, 0) && types_match (_q51, _q20)))
    9044                 :             :                                     {
    9045                 :         471 :                                       {
    9046                 :         471 :                                         tree captures[5] ATTRIBUTE_UNUSED = { _p0, _q20, _q21, _p1, _q50 };
    9047                 :         471 :                                         if (gimple_simplify_64 (res_op, seq, valueize, type, captures, PLUS_EXPR))
    9048                 :           5 :                                           return true;
    9049                 :             :                                       }
    9050                 :             :                                     }
    9051                 :      350060 :                                   if ((_q50 == _q21 && ! TREE_SIDE_EFFECTS (_q50)) || (operand_equal_p (_q50, _q21, 0) && types_match (_q50, _q21)))
    9052                 :             :                                     {
    9053                 :        1234 :                                       {
    9054                 :        1234 :                                         tree captures[5] ATTRIBUTE_UNUSED = { _p0, _q21, _q20, _p1, _q51 };
    9055                 :        1234 :                                         if (gimple_simplify_64 (res_op, seq, valueize, type, captures, PLUS_EXPR))
    9056                 :           2 :                                           return true;
    9057                 :             :                                       }
    9058                 :             :                                     }
    9059                 :      350058 :                                   if ((_q51 == _q21 && ! TREE_SIDE_EFFECTS (_q51)) || (operand_equal_p (_q51, _q21, 0) && types_match (_q51, _q21)))
    9060                 :             :                                     {
    9061                 :       63352 :                                       {
    9062                 :       63352 :                                         tree captures[5] ATTRIBUTE_UNUSED = { _p0, _q21, _q20, _p1, _q50 };
    9063                 :       63352 :                                         if (gimple_simplify_64 (res_op, seq, valueize, type, captures, PLUS_EXPR))
    9064                 :        3798 :                                           return true;
    9065                 :             :                                       }
    9066                 :             :                                     }
    9067                 :    94256346 :                                   break;
    9068                 :             :                                 }
    9069                 :             :                               default:;
    9070                 :             :                               }
    9071                 :             :                         }
    9072                 :             :                       break;
    9073                 :             :                     default:;
    9074                 :             :                     }
    9075                 :    94256346 :                   break;
    9076                 :             :                 }
    9077                 :             :               default:;
    9078                 :             :               }
    9079                 :             :         }
    9080                 :             :       break;
    9081                 :    94256346 :     default:;
    9082                 :             :     }
    9083                 :    94256346 :   switch (TREE_CODE (_p1))
    9084                 :             :     {
    9085                 :    17757175 :     case SSA_NAME:
    9086                 :    17757175 :       if (gimple *_d1 = get_def (valueize, _p1))
    9087                 :             :         {
    9088                 :    12589159 :           if (gassign *_a1 = dyn_cast <gassign *> (_d1))
    9089                 :    10638280 :             switch (gimple_assign_rhs_code (_a1))
    9090                 :             :               {
    9091                 :     2048649 :               case MULT_EXPR:
    9092                 :     2048649 :                 {
    9093                 :     2048649 :                   tree _q30 = gimple_assign_rhs1 (_a1);
    9094                 :     2048649 :                   _q30 = do_valueize (valueize, _q30);
    9095                 :     2048649 :                   tree _q31 = gimple_assign_rhs2 (_a1);
    9096                 :     2048649 :                   _q31 = do_valueize (valueize, _q31);
    9097                 :     2048649 :                   if (tree_swap_operands_p (_q30, _q31))
    9098                 :       72823 :                     std::swap (_q30, _q31);
    9099                 :     2048649 :                   if ((_q30 == _p0 && ! TREE_SIDE_EFFECTS (_q30)) || (operand_equal_p (_q30, _p0, 0) && types_match (_q30, _p0)))
    9100                 :             :                     {
    9101                 :       11144 :                       {
    9102                 :       11144 :                         tree captures[3] ATTRIBUTE_UNUSED = { _p0, _p1, _q31 };
    9103                 :       11144 :                         if (gimple_simplify_65 (res_op, seq, valueize, type, captures, PLUS_EXPR))
    9104                 :        2297 :                           return true;
    9105                 :             :                       }
    9106                 :             :                     }
    9107                 :     2046352 :                   if ((_q31 == _p0 && ! TREE_SIDE_EFFECTS (_q31)) || (operand_equal_p (_q31, _p0, 0) && types_match (_q31, _p0)))
    9108                 :             :                     {
    9109                 :       17675 :                       {
    9110                 :       17675 :                         tree captures[3] ATTRIBUTE_UNUSED = { _p0, _p1, _q30 };
    9111                 :       17675 :                         if (gimple_simplify_65 (res_op, seq, valueize, type, captures, PLUS_EXPR))
    9112                 :          31 :                           return true;
    9113                 :             :                       }
    9114                 :             :                     }
    9115                 :    94254018 :                   break;
    9116                 :             :                 }
    9117                 :             :               default:;
    9118                 :             :               }
    9119                 :             :         }
    9120                 :             :       break;
    9121                 :    94254018 :     default:;
    9122                 :             :     }
    9123                 :    94254018 :   switch (TREE_CODE (_p0))
    9124                 :             :     {
    9125                 :    92589088 :     case SSA_NAME:
    9126                 :    92589088 :       if (gimple *_d1 = get_def (valueize, _p0))
    9127                 :             :         {
    9128                 :    31123219 :           if (gassign *_a1 = dyn_cast <gassign *> (_d1))
    9129                 :    27508305 :             switch (gimple_assign_rhs_code (_a1))
    9130                 :             :               {
    9131                 :     3158821 :               case MULT_EXPR:
    9132                 :     3158821 :                 {
    9133                 :     3158821 :                   tree _q20 = gimple_assign_rhs1 (_a1);
    9134                 :     3158821 :                   _q20 = do_valueize (valueize, _q20);
    9135                 :     3158821 :                   tree _q21 = gimple_assign_rhs2 (_a1);
    9136                 :     3158821 :                   _q21 = do_valueize (valueize, _q21);
    9137                 :     3158821 :                   if (tree_swap_operands_p (_q20, _q21))
    9138                 :      175021 :                     std::swap (_q20, _q21);
    9139                 :     3158821 :                   if ((_p1 == _q20 && ! TREE_SIDE_EFFECTS (_p1)) || (operand_equal_p (_p1, _q20, 0) && types_match (_p1, _q20)))
    9140                 :             :                     {
    9141                 :        3317 :                       {
    9142                 :        3317 :                         tree captures[3] ATTRIBUTE_UNUSED = { _p0, _q20, _q21 };
    9143                 :        3317 :                         if (gimple_simplify_66 (res_op, seq, valueize, type, captures, PLUS_EXPR))
    9144                 :         539 :                           return true;
    9145                 :             :                       }
    9146                 :             :                     }
    9147                 :     3158282 :                   if ((_p1 == _q21 && ! TREE_SIDE_EFFECTS (_p1)) || (operand_equal_p (_p1, _q21, 0) && types_match (_p1, _q21)))
    9148                 :             :                     {
    9149                 :      128557 :                       {
    9150                 :      128557 :                         tree captures[3] ATTRIBUTE_UNUSED = { _p0, _q21, _q20 };
    9151                 :      128557 :                         if (gimple_simplify_66 (res_op, seq, valueize, type, captures, PLUS_EXPR))
    9152                 :        4491 :                           return true;
    9153                 :             :                       }
    9154                 :             :                     }
    9155                 :     3153791 :                   switch (TREE_CODE (_q20))
    9156                 :             :                     {
    9157                 :     3153415 :                     case SSA_NAME:
    9158                 :     3153415 :                       if (gimple *_d2 = get_def (valueize, _q20))
    9159                 :             :                         {
    9160                 :     2962148 :                           if (gassign *_a2 = dyn_cast <gassign *> (_d2))
    9161                 :     2621732 :                             switch (gimple_assign_rhs_code (_a2))
    9162                 :             :                               {
    9163                 :       68296 :                               case MINUS_EXPR:
    9164                 :       68296 :                                 {
    9165                 :       68296 :                                   tree _q30 = gimple_assign_rhs1 (_a2);
    9166                 :       68296 :                                   _q30 = do_valueize (valueize, _q30);
    9167                 :       68296 :                                   tree _q31 = gimple_assign_rhs2 (_a2);
    9168                 :       68296 :                                   _q31 = do_valueize (valueize, _q31);
    9169                 :       68296 :                                   if (gimple_zero_one_valued_p (_q21, valueize))
    9170                 :             :                                     {
    9171                 :           0 :                                       if ((_p1 == _q31 && ! TREE_SIDE_EFFECTS (_p1)) || (operand_equal_p (_p1, _q31, 0) && types_match (_p1, _q31)))
    9172                 :             :                                         {
    9173                 :           0 :                                           {
    9174                 :           0 :                                             tree captures[3] ATTRIBUTE_UNUSED = { _q31, _q30, _q21 };
    9175                 :           0 :                                             if (gimple_simplify_67 (res_op, seq, valueize, type, captures))
    9176                 :           0 :                                               return true;
    9177                 :             :                                           }
    9178                 :             :                                         }
    9179                 :             :                                     }
    9180                 :             :                                   break;
    9181                 :             :                                 }
    9182                 :             :                               default:;
    9183                 :             :                               }
    9184                 :             :                         }
    9185                 :             :                       break;
    9186                 :     3153791 :                     default:;
    9187                 :             :                     }
    9188                 :     3153791 :                 if (gimple_zero_one_valued_p (_q20, valueize))
    9189                 :             :                   {
    9190                 :       14490 :                     switch (TREE_CODE (_q21))
    9191                 :             :                       {
    9192                 :         840 :                       case SSA_NAME:
    9193                 :         840 :                         if (gimple *_d2 = get_def (valueize, _q21))
    9194                 :             :                           {
    9195                 :         822 :                             if (gassign *_a2 = dyn_cast <gassign *> (_d2))
    9196                 :         188 :                               switch (gimple_assign_rhs_code (_a2))
    9197                 :             :                                 {
    9198                 :          18 :                                 case MINUS_EXPR:
    9199                 :          18 :                                   {
    9200                 :          18 :                                     tree _q40 = gimple_assign_rhs1 (_a2);
    9201                 :          18 :                                     _q40 = do_valueize (valueize, _q40);
    9202                 :          18 :                                     tree _q41 = gimple_assign_rhs2 (_a2);
    9203                 :          18 :                                     _q41 = do_valueize (valueize, _q41);
    9204                 :          18 :                                     if ((_p1 == _q41 && ! TREE_SIDE_EFFECTS (_p1)) || (operand_equal_p (_p1, _q41, 0) && types_match (_p1, _q41)))
    9205                 :             :                                       {
    9206                 :          18 :                                         {
    9207                 :          18 :                                           tree captures[3] ATTRIBUTE_UNUSED = { _q41, _q40, _q20 };
    9208                 :          18 :                                           if (gimple_simplify_67 (res_op, seq, valueize, type, captures))
    9209                 :          18 :                                             return true;
    9210                 :             :                                         }
    9211                 :             :                                       }
    9212                 :             :                                     break;
    9213                 :             :                                   }
    9214                 :             :                                 default:;
    9215                 :             :                                 }
    9216                 :             :                           }
    9217                 :             :                         break;
    9218                 :             :                       default:;
    9219                 :             :                       }
    9220                 :             :                   }
    9221                 :    94248970 :                   break;
    9222                 :             :                 }
    9223                 :             :               default:;
    9224                 :             :               }
    9225                 :             :         }
    9226                 :             :       break;
    9227                 :    94248970 :     default:;
    9228                 :             :     }
    9229                 :    94248970 :   switch (TREE_CODE (_p1))
    9230                 :             :     {
    9231                 :    17754261 :     case SSA_NAME:
    9232                 :    17754261 :       if (gimple *_d1 = get_def (valueize, _p1))
    9233                 :             :         {
    9234                 :    12586284 :           if (gassign *_a1 = dyn_cast <gassign *> (_d1))
    9235                 :    10635385 :             switch (gimple_assign_rhs_code (_a1))
    9236                 :             :               {
    9237                 :      109971 :               case LSHIFT_EXPR:
    9238                 :      109971 :                 {
    9239                 :      109971 :                   tree _q30 = gimple_assign_rhs1 (_a1);
    9240                 :      109971 :                   _q30 = do_valueize (valueize, _q30);
    9241                 :      109971 :                   tree _q31 = gimple_assign_rhs2 (_a1);
    9242                 :      109971 :                   _q31 = do_valueize (valueize, _q31);
    9243                 :      109971 :                   if ((_q30 == _p0 && ! TREE_SIDE_EFFECTS (_q30)) || (operand_equal_p (_q30, _p0, 0) && types_match (_q30, _p0)))
    9244                 :             :                     {
    9245                 :         439 :                       switch (TREE_CODE (_q31))
    9246                 :             :                         {
    9247                 :         439 :                         case INTEGER_CST:
    9248                 :         439 :                           {
    9249                 :         439 :                             {
    9250                 :         439 :                               tree captures[3] ATTRIBUTE_UNUSED = { _p0, _p1, _q31 };
    9251                 :         439 :                               if (gimple_simplify_48 (res_op, seq, valueize, type, captures))
    9252                 :           9 :                                 return true;
    9253                 :             :                             }
    9254                 :         430 :                             break;
    9255                 :             :                           }
    9256                 :             :                         default:;
    9257                 :             :                         }
    9258                 :             :                     }
    9259                 :             :                   break;
    9260                 :             :                 }
    9261                 :             :               default:;
    9262                 :             :               }
    9263                 :             :         }
    9264                 :             :       break;
    9265                 :    94248961 :     default:;
    9266                 :             :     }
    9267                 :    94248961 :   switch (TREE_CODE (_p0))
    9268                 :             :     {
    9269                 :    92584031 :     case SSA_NAME:
    9270                 :    92584031 :       if (gimple *_d1 = get_def (valueize, _p0))
    9271                 :             :         {
    9272                 :    31118162 :           if (gassign *_a1 = dyn_cast <gassign *> (_d1))
    9273                 :    27503256 :             switch (gimple_assign_rhs_code (_a1))
    9274                 :             :               {
    9275                 :      205615 :               case LSHIFT_EXPR:
    9276                 :      205615 :                 {
    9277                 :      205615 :                   tree _q20 = gimple_assign_rhs1 (_a1);
    9278                 :      205615 :                   _q20 = do_valueize (valueize, _q20);
    9279                 :      205615 :                   tree _q21 = gimple_assign_rhs2 (_a1);
    9280                 :      205615 :                   _q21 = do_valueize (valueize, _q21);
    9281                 :      205615 :                   switch (TREE_CODE (_q21))
    9282                 :             :                     {
    9283                 :      158210 :                     case INTEGER_CST:
    9284                 :      158210 :                       {
    9285                 :      158210 :                         switch (TREE_CODE (_p1))
    9286                 :             :                           {
    9287                 :      139260 :                           case SSA_NAME:
    9288                 :      139260 :                             if (gimple *_d2 = get_def (valueize, _p1))
    9289                 :             :                               {
    9290                 :      136997 :                                 if (gassign *_a2 = dyn_cast <gassign *> (_d2))
    9291                 :       83418 :                                   switch (gimple_assign_rhs_code (_a2))
    9292                 :             :                                     {
    9293                 :        3954 :                                     case LSHIFT_EXPR:
    9294                 :        3954 :                                       {
    9295                 :        3954 :                                         tree _q50 = gimple_assign_rhs1 (_a2);
    9296                 :        3954 :                                         _q50 = do_valueize (valueize, _q50);
    9297                 :        3954 :                                         tree _q51 = gimple_assign_rhs2 (_a2);
    9298                 :        3954 :                                         _q51 = do_valueize (valueize, _q51);
    9299                 :        3954 :                                         if ((_q50 == _q20 && ! TREE_SIDE_EFFECTS (_q50)) || (operand_equal_p (_q50, _q20, 0) && types_match (_q50, _q20)))
    9300                 :             :                                           {
    9301                 :         292 :                                             switch (TREE_CODE (_q51))
    9302                 :             :                                               {
    9303                 :         292 :                                               case INTEGER_CST:
    9304                 :         292 :                                                 {
    9305                 :         292 :                                                   {
    9306                 :         292 :                                                     tree captures[5] ATTRIBUTE_UNUSED = { _p0, _q20, _q21, _p1, _q51 };
    9307                 :         584 :                                                     if (ANY_INTEGRAL_TYPE_P (TREE_TYPE (captures[1]))
    9308                 :         292 :  && tree_fits_uhwi_p (captures[2])
    9309                 :         272 :  && tree_to_uhwi (captures[2]) < element_precision (type)
    9310                 :         272 :  && tree_fits_uhwi_p (captures[4])
    9311                 :         272 :  && tree_to_uhwi (captures[4]) < element_precision (type)
    9312                 :         564 :  && (INTEGRAL_TYPE_P (TREE_TYPE (captures[1]))
    9313                 :           0 :  || optab_handler (smul_optab,
    9314                 :           0 :  TYPE_MODE (type)) != CODE_FOR_nothing)
    9315                 :             : )
    9316                 :             :                                                       {
    9317                 :         272 :                                                         {
    9318                 :         272 :  tree t = type;
    9319                 :         272 :  if (!TYPE_OVERFLOW_WRAPS (t)) t = unsigned_type_for (t);
    9320                 :         272 :  unsigned int prec = element_precision (type);
    9321                 :         272 :  wide_int w = wi::set_bit_in_zero (tree_to_uhwi (captures[2]), prec);
    9322                 :         272 :  w += wi::set_bit_in_zero (tree_to_uhwi (captures[4]), prec);
    9323                 :         272 :  tree cst = wide_int_to_tree (VECTOR_TYPE_P (t) ? TREE_TYPE (t)
    9324                 :             :  : t, w);
    9325                 :         272 :  cst = build_uniform_cst (t, cst);
    9326                 :         272 :                                                             gimple_seq *lseq = seq;
    9327                 :         272 :                                                             if (lseq
    9328                 :         128 :                                                                 && (!single_use (captures[0])
    9329                 :          36 :                                                                     || !single_use (captures[3])))
    9330                 :         244 :                                                               lseq = NULL;
    9331                 :         272 :                                                             if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail1572;
    9332                 :         272 :                                                             {
    9333                 :         272 :                                                               res_op->set_op (NOP_EXPR, type, 1);
    9334                 :         272 :                                                               {
    9335                 :         272 :                                                                 tree _o1[2], _r1;
    9336                 :         272 :                                                                 {
    9337                 :         272 :                                                                   tree _o2[1], _r2;
    9338                 :         272 :                                                                   _o2[0] = captures[1];
    9339                 :         272 :                                                                   if (t != TREE_TYPE (_o2[0])
    9340                 :         272 :                                                                       && !useless_type_conversion_p (t, TREE_TYPE (_o2[0])))
    9341                 :             :                                                                     {
    9342                 :           2 :                                                                       gimple_match_op tem_op (res_op->cond.any_else (), NOP_EXPR, t, _o2[0]);
    9343                 :           2 :                                                                       tem_op.resimplify (lseq, valueize);
    9344                 :           2 :                                                                       _r2 = maybe_push_res_to_seq (&tem_op, lseq);
    9345                 :           2 :                                                                       if (!_r2) goto next_after_fail1572;
    9346                 :             :                                                                     }
    9347                 :             :                                                                   else
    9348                 :             :                                                                     _r2 = _o2[0];
    9349                 :         271 :                                                                   _o1[0] = _r2;
    9350                 :             :                                                                 }
    9351                 :         271 :                                                                 _o1[1] =  cst;
    9352                 :         271 :                                                                 gimple_match_op tem_op (res_op->cond.any_else (), MULT_EXPR, TREE_TYPE (_o1[0]), _o1[0], _o1[1]);
    9353                 :         271 :                                                                 tem_op.resimplify (lseq, valueize);
    9354                 :         271 :                                                                 _r1 = maybe_push_res_to_seq (&tem_op, lseq);
    9355                 :         271 :                                                                 if (!_r1) goto next_after_fail1572;
    9356                 :          28 :                                                                 res_op->ops[0] = _r1;
    9357                 :             :                                                               }
    9358                 :          28 :                                                               res_op->resimplify (lseq, valueize);
    9359                 :          28 :                                                               if (UNLIKELY (debug_dump)) gimple_dump_logs ("match.pd", 931, __FILE__, __LINE__, true);
    9360                 :          28 :                                                               return true;
    9361                 :             :                                                             }
    9362                 :         244 : next_after_fail1572:;
    9363                 :         272 :                                                         }
    9364                 :             :                                                       }
    9365                 :             :                                                   }
    9366                 :         264 :                                                   break;
    9367                 :             :                                                 }
    9368                 :             :                                               default:;
    9369                 :             :                                               }
    9370                 :             :                                           }
    9371                 :             :                                         break;
    9372                 :             :                                       }
    9373                 :             :                                     default:;
    9374                 :             :                                     }
    9375                 :             :                               }
    9376                 :             :                             break;
    9377                 :             :                           default:;
    9378                 :             :                           }
    9379                 :             :                         break;
    9380                 :             :                       }
    9381                 :             :                     default:;
    9382                 :             :                     }
    9383                 :             :                   break;
    9384                 :             :                 }
    9385                 :             :               default:;
    9386                 :             :               }
    9387                 :             :         }
    9388                 :             :       break;
    9389                 :    94248933 :     default:;
    9390                 :             :     }
    9391                 :    94248933 :   switch (TREE_CODE (_p1))
    9392                 :             :     {
    9393                 :    17754224 :     case SSA_NAME:
    9394                 :    17754224 :       if (gimple *_d1 = get_def (valueize, _p1))
    9395                 :             :         {
    9396                 :    12586247 :           if (gassign *_a1 = dyn_cast <gassign *> (_d1))
    9397                 :    10635348 :             switch (gimple_assign_rhs_code (_a1))
    9398                 :             :               {
    9399                 :     2046321 :               case MULT_EXPR:
    9400                 :     2046321 :                 {
    9401                 :     2046321 :                   tree _q30 = gimple_assign_rhs1 (_a1);
    9402                 :     2046321 :                   _q30 = do_valueize (valueize, _q30);
    9403                 :     2046321 :                   tree _q31 = gimple_assign_rhs2 (_a1);
    9404                 :     2046321 :                   _q31 = do_valueize (valueize, _q31);
    9405                 :     2046321 :                   if (tree_swap_operands_p (_q30, _q31))
    9406                 :       72791 :                     std::swap (_q30, _q31);
    9407                 :     2046321 :                   switch (TREE_CODE (_q30))
    9408                 :             :                     {
    9409                 :     2046321 :                     case SSA_NAME:
    9410                 :     2046321 :                       if (gimple *_d2 = get_def (valueize, _q30))
    9411                 :             :                         {
    9412                 :     1881614 :                           if (gassign *_a2 = dyn_cast <gassign *> (_d2))
    9413                 :     1915984 :                             switch (gimple_assign_rhs_code (_a2))
    9414                 :             :                               {
    9415                 :       28016 :                               case MINUS_EXPR:
    9416                 :       28016 :                                 {
    9417                 :       28016 :                                   tree _q40 = gimple_assign_rhs1 (_a2);
    9418                 :       28016 :                                   _q40 = do_valueize (valueize, _q40);
    9419                 :       28016 :                                   tree _q41 = gimple_assign_rhs2 (_a2);
    9420                 :       28016 :                                   _q41 = do_valueize (valueize, _q41);
    9421                 :       28016 :                                   if ((_q41 == _p0 && ! TREE_SIDE_EFFECTS (_q41)) || (operand_equal_p (_q41, _p0, 0) && types_match (_q41, _p0)))
    9422                 :             :                                     {
    9423                 :         302 :                                       if (gimple_zero_one_valued_p (_q31, valueize))
    9424                 :             :                                         {
    9425                 :           0 :                                           {
    9426                 :           0 :                                             tree captures[3] ATTRIBUTE_UNUSED = { _p0, _q40, _q31 };
    9427                 :           0 :                                             if (gimple_simplify_67 (res_op, seq, valueize, type, captures))
    9428                 :           0 :                                               return true;
    9429                 :             :                                           }
    9430                 :             :                                         }
    9431                 :             :                                     }
    9432                 :             :                                   break;
    9433                 :             :                                 }
    9434                 :             :                               default:;
    9435                 :             :                               }
    9436                 :             :                         }
    9437                 :             :                       break;
    9438                 :     2046321 :                     default:;
    9439                 :             :                     }
    9440                 :     2046321 :                 if (gimple_zero_one_valued_p (_q30, valueize))
    9441                 :             :                   {
    9442                 :        4836 :                     switch (TREE_CODE (_q31))
    9443                 :             :                       {
    9444                 :         878 :                       case SSA_NAME:
    9445                 :         878 :                         if (gimple *_d2 = get_def (valueize, _q31))
    9446                 :             :                           {
    9447                 :         800 :                             if (gassign *_a2 = dyn_cast <gassign *> (_d2))
    9448                 :         405 :                               switch (gimple_assign_rhs_code (_a2))
    9449                 :             :                                 {
    9450                 :           0 :                                 case MINUS_EXPR:
    9451                 :           0 :                                   {
    9452                 :           0 :                                     tree _q50 = gimple_assign_rhs1 (_a2);
    9453                 :           0 :                                     _q50 = do_valueize (valueize, _q50);
    9454                 :           0 :                                     tree _q51 = gimple_assign_rhs2 (_a2);
    9455                 :           0 :                                     _q51 = do_valueize (valueize, _q51);
    9456                 :           0 :                                     if ((_q51 == _p0 && ! TREE_SIDE_EFFECTS (_q51)) || (operand_equal_p (_q51, _p0, 0) && types_match (_q51, _p0)))
    9457                 :             :                                       {
    9458                 :           0 :                                         {
    9459                 :           0 :                                           tree captures[3] ATTRIBUTE_UNUSED = { _p0, _q50, _q30 };
    9460                 :           0 :                                           if (gimple_simplify_67 (res_op, seq, valueize, type, captures))
    9461                 :           0 :                                             return true;
    9462                 :             :                                         }
    9463                 :             :                                       }
    9464                 :             :                                     break;
    9465                 :             :                                   }
    9466                 :             :                                 default:;
    9467                 :             :                                 }
    9468                 :             :                           }
    9469                 :             :                         break;
    9470                 :             :                       default:;
    9471                 :             :                       }
    9472                 :             :                   }
    9473                 :    94248933 :                   break;
    9474                 :             :                 }
    9475                 :             :               default:;
    9476                 :             :               }
    9477                 :             :         }
    9478                 :             :       break;
    9479                 :    94248933 :     default:;
    9480                 :             :     }
    9481                 :    94248933 :   switch (TREE_CODE (_p0))
    9482                 :             :     {
    9483                 :    92584003 :     case SSA_NAME:
    9484                 :    92584003 :       if (gimple *_d1 = get_def (valueize, _p0))
    9485                 :             :         {
    9486                 :    31118134 :           if (gassign *_a1 = dyn_cast <gassign *> (_d1))
    9487                 :    27503228 :             switch (gimple_assign_rhs_code (_a1))
    9488                 :             :               {
    9489                 :     3153773 :               case MULT_EXPR:
    9490                 :     3153773 :                 {
    9491                 :     3153773 :                   tree _q20 = gimple_assign_rhs1 (_a1);
    9492                 :     3153773 :                   _q20 = do_valueize (valueize, _q20);
    9493                 :     3153773 :                   tree _q21 = gimple_assign_rhs2 (_a1);
    9494                 :     3153773 :                   _q21 = do_valueize (valueize, _q21);
    9495                 :     3153773 :                   if (tree_swap_operands_p (_q20, _q21))
    9496                 :      172913 :                     std::swap (_q20, _q21);
    9497                 :     3153773 :                   switch (TREE_CODE (_q20))
    9498                 :             :                     {
    9499                 :     3153397 :                     case SSA_NAME:
    9500                 :     3153397 :                       if (gimple *_d2 = get_def (valueize, _q20))
    9501                 :             :                         {
    9502                 :     2962130 :                           if (gassign *_a2 = dyn_cast <gassign *> (_d2))
    9503                 :     2621714 :                             switch (gimple_assign_rhs_code (_a2))
    9504                 :             :                               {
    9505                 :       45983 :                               case TRUNC_DIV_EXPR:
    9506                 :       45983 :                                 {
    9507                 :       45983 :                                   tree _q30 = gimple_assign_rhs1 (_a2);
    9508                 :       45983 :                                   _q30 = do_valueize (valueize, _q30);
    9509                 :       45983 :                                   tree _q31 = gimple_assign_rhs2 (_a2);
    9510                 :       45983 :                                   _q31 = do_valueize (valueize, _q31);
    9511                 :       45983 :                                   if ((_q21 == _q31 && ! TREE_SIDE_EFFECTS (_q21)) || (operand_equal_p (_q21, _q31, 0) && types_match (_q21, _q31)))
    9512                 :             :                                     {
    9513                 :        1929 :                                       switch (TREE_CODE (_p1))
    9514                 :             :                                         {
    9515                 :        1036 :                                         case SSA_NAME:
    9516                 :        1036 :                                           if (gimple *_d3 = get_def (valueize, _p1))
    9517                 :             :                                             {
    9518                 :        1011 :                                               if (gassign *_a3 = dyn_cast <gassign *> (_d3))
    9519                 :         945 :                                                 switch (gimple_assign_rhs_code (_a3))
    9520                 :             :                                                   {
    9521                 :         134 :                                                   case TRUNC_MOD_EXPR:
    9522                 :         134 :                                                     {
    9523                 :         134 :                                                       tree _q70 = gimple_assign_rhs1 (_a3);
    9524                 :         134 :                                                       _q70 = do_valueize (valueize, _q70);
    9525                 :         134 :                                                       tree _q71 = gimple_assign_rhs2 (_a3);
    9526                 :         134 :                                                       _q71 = do_valueize (valueize, _q71);
    9527                 :         134 :                                                       if ((_q70 == _q30 && ! TREE_SIDE_EFFECTS (_q70)) || (operand_equal_p (_q70, _q30, 0) && types_match (_q70, _q30)))
    9528                 :             :                                                         {
    9529                 :         122 :                                                           if ((_q71 == _q31 && ! TREE_SIDE_EFFECTS (_q71)) || (operand_equal_p (_q71, _q31, 0) && types_match (_q71, _q31)))
    9530                 :             :                                                             {
    9531                 :           0 :                                                               {
    9532                 :           0 :                                                                 tree captures[2] ATTRIBUTE_UNUSED = { _q30, _q31 };
    9533                 :           0 :                                                                 if (gimple_simplify_68 (res_op, seq, valueize, type, captures, TRUNC_DIV_EXPR, TRUNC_MOD_EXPR))
    9534                 :           0 :                                                                   return true;
    9535                 :             :                                                               }
    9536                 :             :                                                             }
    9537                 :             :                                                         }
    9538                 :             :                                                       break;
    9539                 :             :                                                     }
    9540                 :             :                                                   default:;
    9541                 :             :                                                   }
    9542                 :             :                                             }
    9543                 :             :                                           break;
    9544                 :             :                                         default:;
    9545                 :             :                                         }
    9546                 :             :                                     }
    9547                 :             :                                   break;
    9548                 :             :                                 }
    9549                 :           0 :                               case CEIL_DIV_EXPR:
    9550                 :           0 :                                 {
    9551                 :           0 :                                   tree _q30 = gimple_assign_rhs1 (_a2);
    9552                 :           0 :                                   _q30 = do_valueize (valueize, _q30);
    9553                 :           0 :                                   tree _q31 = gimple_assign_rhs2 (_a2);
    9554                 :           0 :                                   _q31 = do_valueize (valueize, _q31);
    9555                 :           0 :                                   if ((_q21 == _q31 && ! TREE_SIDE_EFFECTS (_q21)) || (operand_equal_p (_q21, _q31, 0) && types_match (_q21, _q31)))
    9556                 :             :                                     {
    9557                 :           0 :                                       switch (TREE_CODE (_p1))
    9558                 :             :                                         {
    9559                 :           0 :                                         case SSA_NAME:
    9560                 :           0 :                                           if (gimple *_d3 = get_def (valueize, _p1))
    9561                 :             :                                             {
    9562                 :           0 :                                               if (gassign *_a3 = dyn_cast <gassign *> (_d3))
    9563                 :           0 :                                                 switch (gimple_assign_rhs_code (_a3))
    9564                 :             :                                                   {
    9565                 :           0 :                                                   case CEIL_MOD_EXPR:
    9566                 :           0 :                                                     {
    9567                 :           0 :                                                       tree _q70 = gimple_assign_rhs1 (_a3);
    9568                 :           0 :                                                       _q70 = do_valueize (valueize, _q70);
    9569                 :           0 :                                                       tree _q71 = gimple_assign_rhs2 (_a3);
    9570                 :           0 :                                                       _q71 = do_valueize (valueize, _q71);
    9571                 :           0 :                                                       if ((_q70 == _q30 && ! TREE_SIDE_EFFECTS (_q70)) || (operand_equal_p (_q70, _q30, 0) && types_match (_q70, _q30)))
    9572                 :             :                                                         {
    9573                 :           0 :                                                           if ((_q71 == _q31 && ! TREE_SIDE_EFFECTS (_q71)) || (operand_equal_p (_q71, _q31, 0) && types_match (_q71, _q31)))
    9574                 :             :                                                             {
    9575                 :           0 :                                                               {
    9576                 :           0 :                                                                 tree captures[2] ATTRIBUTE_UNUSED = { _q30, _q31 };
    9577                 :           0 :                                                                 if (gimple_simplify_68 (res_op, seq, valueize, type, captures, CEIL_DIV_EXPR, CEIL_MOD_EXPR))
    9578                 :           0 :                                                                   return true;
    9579                 :             :                                                               }
    9580                 :             :                                                             }
    9581                 :             :                                                         }
    9582                 :             :                                                       break;
    9583                 :             :                                                     }
    9584                 :             :                                                   default:;
    9585                 :             :                                                   }
    9586                 :             :                                             }
    9587                 :             :                                           break;
    9588                 :             :                                         default:;
    9589                 :             :                                         }
    9590                 :             :                                     }
    9591                 :             :                                   break;
    9592                 :             :                                 }
    9593                 :           0 :                               case FLOOR_DIV_EXPR:
    9594                 :           0 :                                 {
    9595                 :           0 :                                   tree _q30 = gimple_assign_rhs1 (_a2);
    9596                 :           0 :                                   _q30 = do_valueize (valueize, _q30);
    9597                 :           0 :                                   tree _q31 = gimple_assign_rhs2 (_a2);
    9598                 :           0 :                                   _q31 = do_valueize (valueize, _q31);
    9599                 :           0 :                                   if ((_q21 == _q31 && ! TREE_SIDE_EFFECTS (_q21)) || (operand_equal_p (_q21, _q31, 0) && types_match (_q21, _q31)))
    9600                 :             :                                     {
    9601                 :           0 :                                       switch (TREE_CODE (_p1))
    9602                 :             :                                         {
    9603                 :           0 :                                         case SSA_NAME:
    9604                 :           0 :                                           if (gimple *_d3 = get_def (valueize, _p1))
    9605                 :             :                                             {
    9606                 :           0 :                                               if (gassign *_a3 = dyn_cast <gassign *> (_d3))
    9607                 :           0 :                                                 switch (gimple_assign_rhs_code (_a3))
    9608                 :             :                                                   {
    9609                 :           0 :                                                   case FLOOR_MOD_EXPR:
    9610                 :           0 :                                                     {
    9611                 :           0 :                                                       tree _q70 = gimple_assign_rhs1 (_a3);
    9612                 :           0 :                                                       _q70 = do_valueize (valueize, _q70);
    9613                 :           0 :                                                       tree _q71 = gimple_assign_rhs2 (_a3);
    9614                 :           0 :                                                       _q71 = do_valueize (valueize, _q71);
    9615                 :           0 :                                                       if ((_q70 == _q30 && ! TREE_SIDE_EFFECTS (_q70)) || (operand_equal_p (_q70, _q30, 0) && types_match (_q70, _q30)))
    9616                 :             :                                                         {
    9617                 :           0 :                                                           if ((_q71 == _q31 && ! TREE_SIDE_EFFECTS (_q71)) || (operand_equal_p (_q71, _q31, 0) && types_match (_q71, _q31)))
    9618                 :             :                                                             {
    9619                 :           0 :                                                               {
    9620                 :           0 :                                                                 tree captures[2] ATTRIBUTE_UNUSED = { _q30, _q31 };
    9621                 :           0 :                                                                 if (gimple_simplify_68 (res_op, seq, valueize, type, captures, FLOOR_DIV_EXPR, FLOOR_MOD_EXPR))
    9622                 :           0 :                                                                   return true;
    9623                 :             :                                                               }
    9624                 :             :                                                             }
    9625                 :             :                                                         }
    9626                 :             :                                                       break;
    9627                 :             :                                                     }
    9628                 :             :                                                   default:;
    9629                 :             :                                                   }
    9630                 :             :                                             }
    9631                 :             :                                           break;
    9632                 :             :                                         default:;
    9633                 :             :                                         }
    9634                 :             :                                     }
    9635                 :             :                                   break;
    9636                 :             :                                 }
    9637                 :           0 :                               case ROUND_DIV_EXPR:
    9638                 :           0 :                                 {
    9639                 :           0 :                                   tree _q30 = gimple_assign_rhs1 (_a2);
    9640                 :           0 :                                   _q30 = do_valueize (valueize, _q30);
    9641                 :           0 :                                   tree _q31 = gimple_assign_rhs2 (_a2);
    9642                 :           0 :                                   _q31 = do_valueize (valueize, _q31);
    9643                 :           0 :                                   if ((_q21 == _q31 && ! TREE_SIDE_EFFECTS (_q21)) || (operand_equal_p (_q21, _q31, 0) && types_match (_q21, _q31)))
    9644                 :             :                                     {
    9645                 :           0 :                                       switch (TREE_CODE (_p1))
    9646                 :             :                                         {
    9647                 :           0 :                                         case SSA_NAME:
    9648                 :           0 :                                           if (gimple *_d3 = get_def (valueize, _p1))
    9649                 :             :                                             {
    9650                 :           0 :                                               if (gassign *_a3 = dyn_cast <gassign *> (_d3))
    9651                 :           0 :                                                 switch (gimple_assign_rhs_code (_a3))
    9652                 :             :                                                   {
    9653                 :           0 :                                                   case ROUND_MOD_EXPR:
    9654                 :           0 :                                                     {
    9655                 :           0 :                                                       tree _q70 = gimple_assign_rhs1 (_a3);
    9656                 :           0 :                                                       _q70 = do_valueize (valueize, _q70);
    9657                 :           0 :                                                       tree _q71 = gimple_assign_rhs2 (_a3);
    9658                 :           0 :                                                       _q71 = do_valueize (valueize, _q71);
    9659                 :           0 :                                                       if ((_q70 == _q30 && ! TREE_SIDE_EFFECTS (_q70)) || (operand_equal_p (_q70, _q30, 0) && types_match (_q70, _q30)))
    9660                 :             :                                                         {
    9661                 :           0 :                                                           if ((_q71 == _q31 && ! TREE_SIDE_EFFECTS (_q71)) || (operand_equal_p (_q71, _q31, 0) && types_match (_q71, _q31)))
    9662                 :             :                                                             {
    9663                 :           0 :                                                               {
    9664                 :           0 :                                                                 tree captures[2] ATTRIBUTE_UNUSED = { _q30, _q31 };
    9665                 :           0 :                                                                 if (gimple_simplify_68 (res_op, seq, valueize, type, captures, ROUND_DIV_EXPR, ROUND_MOD_EXPR))
    9666                 :           0 :                                                                   return true;
    9667                 :             :                                                               }
    9668                 :             :                                                             }
    9669                 :             :                                                         }
    9670                 :             :                                                       break;
    9671                 :             :                                                     }
    9672                 :             :                                                   default:;
    9673                 :             :                                                   }
    9674                 :             :                                             }
    9675                 :             :                                           break;
    9676                 :             :                                         default:;
    9677                 :             :                                         }
    9678                 :             :                                     }
    9679                 :             :                                   break;
    9680                 :             :                                 }
    9681                 :             :                               default:;
    9682                 :             :                               }
    9683                 :             :                         }
    9684                 :             :                       break;
    9685                 :     3153773 :                     default:;
    9686                 :             :                     }
    9687                 :     3153773 :                   switch (TREE_CODE (_q21))
    9688                 :             :                     {
    9689                 :     1348984 :                     case SSA_NAME:
    9690                 :     1348984 :                       if (gimple *_d2 = get_def (valueize, _q21))
    9691                 :             :                         {
    9692                 :     1216543 :                           if (gassign *_a2 = dyn_cast <gassign *> (_d2))
    9693                 :     1215720 :                             switch (gimple_assign_rhs_code (_a2))
    9694                 :             :                               {
    9695                 :        5529 :                               case TRUNC_DIV_EXPR:
    9696                 :        5529 :                                 {
    9697                 :        5529 :                                   tree _q40 = gimple_assign_rhs1 (_a2);
    9698                 :        5529 :                                   _q40 = do_valueize (valueize, _q40);
    9699                 :        5529 :                                   tree _q41 = gimple_assign_rhs2 (_a2);
    9700                 :        5529 :                                   _q41 = do_valueize (valueize, _q41);
    9701                 :        5529 :                                   if ((_q41 == _q20 && ! TREE_SIDE_EFFECTS (_q41)) || (operand_equal_p (_q41, _q20, 0) && types_match (_q41, _q20)))
    9702                 :             :                                     {
    9703                 :         180 :                                       switch (TREE_CODE (_p1))
    9704                 :             :                                         {
    9705                 :         180 :                                         case SSA_NAME:
    9706                 :         180 :                                           if (gimple *_d3 = get_def (valueize, _p1))
    9707                 :             :                                             {
    9708                 :         148 :                                               if (gassign *_a3 = dyn_cast <gassign *> (_d3))
    9709                 :         160 :                                                 switch (gimple_assign_rhs_code (_a3))
    9710                 :             :                                                   {
    9711                 :          56 :                                                   case TRUNC_MOD_EXPR:
    9712                 :          56 :                                                     {
    9713                 :          56 :                                                       tree _q70 = gimple_assign_rhs1 (_a3);
    9714                 :          56 :                                                       _q70 = do_valueize (valueize, _q70);
    9715                 :          56 :                                                       tree _q71 = gimple_assign_rhs2 (_a3);
    9716                 :          56 :                                                       _q71 = do_valueize (valueize, _q71);
    9717                 :          56 :                                                       if ((_q70 == _q40 && ! TREE_SIDE_EFFECTS (_q70)) || (operand_equal_p (_q70, _q40, 0) && types_match (_q70, _q40)))
    9718                 :             :                                                         {
    9719                 :          56 :                                                           if ((_q71 == _q20 && ! TREE_SIDE_EFFECTS (_q71)) || (operand_equal_p (_q71, _q20, 0) && types_match (_q71, _q20)))
    9720                 :             :                                                             {
    9721                 :          56 :                                                               {
    9722                 :          56 :                                                                 tree captures[2] ATTRIBUTE_UNUSED = { _q40, _q20 };
    9723                 :          56 :                                                                 if (gimple_simplify_68 (res_op, seq, valueize, type, captures, TRUNC_DIV_EXPR, TRUNC_MOD_EXPR))
    9724                 :          56 :                                                                   return true;
    9725                 :             :                                                               }
    9726                 :             :                                                             }
    9727                 :             :                                                         }
    9728                 :             :                                                       break;
    9729                 :             :                                                     }
    9730                 :             :                                                   default:;
    9731                 :             :                                                   }
    9732                 :             :                                             }
    9733                 :             :                                           break;
    9734                 :             :                                         default:;
    9735                 :             :                                         }
    9736                 :             :                                     }
    9737                 :             :                                   break;
    9738                 :             :                                 }
    9739                 :           0 :                               case CEIL_DIV_EXPR:
    9740                 :           0 :                                 {
    9741                 :           0 :                                   tree _q40 = gimple_assign_rhs1 (_a2);
    9742                 :           0 :                                   _q40 = do_valueize (valueize, _q40);
    9743                 :           0 :                                   tree _q41 = gimple_assign_rhs2 (_a2);
    9744                 :           0 :                                   _q41 = do_valueize (valueize, _q41);
    9745                 :           0 :                                   if ((_q41 == _q20 && ! TREE_SIDE_EFFECTS (_q41)) || (operand_equal_p (_q41, _q20, 0) && types_match (_q41, _q20)))
    9746                 :             :                                     {
    9747                 :           0 :                                       switch (TREE_CODE (_p1))
    9748                 :             :                                         {
    9749                 :           0 :                                         case SSA_NAME:
    9750                 :           0 :                                           if (gimple *_d3 = get_def (valueize, _p1))
    9751                 :             :                                             {
    9752                 :           0 :                                               if (gassign *_a3 = dyn_cast <gassign *> (_d3))
    9753                 :           0 :                                                 switch (gimple_assign_rhs_code (_a3))
    9754                 :             :                                                   {
    9755                 :           0 :                                                   case CEIL_MOD_EXPR:
    9756                 :           0 :                                                     {
    9757                 :           0 :                                                       tree _q70 = gimple_assign_rhs1 (_a3);
    9758                 :           0 :                                                       _q70 = do_valueize (valueize, _q70);
    9759                 :           0 :                                                       tree _q71 = gimple_assign_rhs2 (_a3);
    9760                 :           0 :                                                       _q71 = do_valueize (valueize, _q71);
    9761                 :           0 :                                                       if ((_q70 == _q40 && ! TREE_SIDE_EFFECTS (_q70)) || (operand_equal_p (_q70, _q40, 0) && types_match (_q70, _q40)))
    9762                 :             :                                                         {
    9763                 :           0 :                                                           if ((_q71 == _q20 && ! TREE_SIDE_EFFECTS (_q71)) || (operand_equal_p (_q71, _q20, 0) && types_match (_q71, _q20)))
    9764                 :             :                                                             {
    9765                 :           0 :                                                               {
    9766                 :           0 :                                                                 tree captures[2] ATTRIBUTE_UNUSED = { _q40, _q20 };
    9767                 :           0 :                                                                 if (gimple_simplify_68 (res_op, seq, valueize, type, captures, CEIL_DIV_EXPR, CEIL_MOD_EXPR))
    9768                 :           0 :                                                                   return true;
    9769                 :             :                                                               }
    9770                 :             :                                                             }
    9771                 :             :                                                         }
    9772                 :             :                                                       break;
    9773                 :             :                                                     }
    9774                 :             :                                                   default:;
    9775                 :             :                                                   }
    9776                 :             :                                             }
    9777                 :             :                                           break;
    9778                 :             :                                         default:;
    9779                 :             :                                         }
    9780                 :             :                                     }
    9781                 :             :                                   break;
    9782                 :             :                                 }
    9783                 :           0 :                               case FLOOR_DIV_EXPR:
    9784                 :           0 :                                 {
    9785                 :           0 :                                   tree _q40 = gimple_assign_rhs1 (_a2);
    9786                 :           0 :                                   _q40 = do_valueize (valueize, _q40);
    9787                 :           0 :                                   tree _q41 = gimple_assign_rhs2 (_a2);
    9788                 :           0 :                                   _q41 = do_valueize (valueize, _q41);
    9789                 :           0 :                                   if ((_q41 == _q20 && ! TREE_SIDE_EFFECTS (_q41)) || (operand_equal_p (_q41, _q20, 0) && types_match (_q41, _q20)))
    9790                 :             :                                     {
    9791                 :           0 :                                       switch (TREE_CODE (_p1))
    9792                 :             :                                         {
    9793                 :           0 :                                         case SSA_NAME:
    9794                 :           0 :                                           if (gimple *_d3 = get_def (valueize, _p1))
    9795                 :             :                                             {
    9796                 :           0 :                                               if (gassign *_a3 = dyn_cast <gassign *> (_d3))
    9797                 :           0 :                                                 switch (gimple_assign_rhs_code (_a3))
    9798                 :             :                                                   {
    9799                 :           0 :                                                   case FLOOR_MOD_EXPR:
    9800                 :           0 :                                                     {
    9801                 :           0 :                                                       tree _q70 = gimple_assign_rhs1 (_a3);
    9802                 :           0 :                                                       _q70 = do_valueize (valueize, _q70);
    9803                 :           0 :                                                       tree _q71 = gimple_assign_rhs2 (_a3);
    9804                 :           0 :                                                       _q71 = do_valueize (valueize, _q71);
    9805                 :           0 :                                                       if ((_q70 == _q40 && ! TREE_SIDE_EFFECTS (_q70)) || (operand_equal_p (_q70, _q40, 0) && types_match (_q70, _q40)))
    9806                 :             :                                                         {
    9807                 :           0 :                                                           if ((_q71 == _q20 && ! TREE_SIDE_EFFECTS (_q71)) || (operand_equal_p (_q71, _q20, 0) && types_match (_q71, _q20)))
    9808                 :             :                                                             {
    9809                 :           0 :                                                               {
    9810                 :           0 :                                                                 tree captures[2] ATTRIBUTE_UNUSED = { _q40, _q20 };
    9811                 :           0 :                                                                 if (gimple_simplify_68 (res_op, seq, valueize, type, captures, FLOOR_DIV_EXPR, FLOOR_MOD_EXPR))
    9812                 :           0 :                                                                   return true;
    9813                 :             :                                                               }
    9814                 :             :                                                             }
    9815                 :             :                                                         }
    9816                 :             :                                                       break;
    9817                 :             :                                                     }
    9818                 :             :                                                   default:;
    9819                 :             :                                                   }
    9820                 :             :                                             }
    9821                 :             :                                           break;
    9822                 :             :                                         default:;
    9823                 :             :                                         }
    9824                 :             :                                     }
    9825                 :             :                                   break;
    9826                 :             :                                 }
    9827                 :           0 :                               case ROUND_DIV_EXPR:
    9828                 :           0 :                                 {
    9829                 :           0 :                                   tree _q40 = gimple_assign_rhs1 (_a2);
    9830                 :           0 :                                   _q40 = do_valueize (valueize, _q40);
    9831                 :           0 :                                   tree _q41 = gimple_assign_rhs2 (_a2);
    9832                 :           0 :                                   _q41 = do_valueize (valueize, _q41);
    9833                 :           0 :                                   if ((_q41 == _q20 && ! TREE_SIDE_EFFECTS (_q41)) || (operand_equal_p (_q41, _q20, 0) && types_match (_q41, _q20)))
    9834                 :             :                                     {
    9835                 :           0 :                                       switch (TREE_CODE (_p1))
    9836                 :             :                                         {
    9837                 :           0 :                                         case SSA_NAME:
    9838                 :           0 :                                           if (gimple *_d3 = get_def (valueize, _p1))
    9839                 :             :                                             {
    9840                 :           0 :                                               if (gassign *_a3 = dyn_cast <gassign *> (_d3))
    9841                 :           0 :                                                 switch (gimple_assign_rhs_code (_a3))
    9842                 :             :                                                   {
    9843                 :           0 :                                                   case ROUND_MOD_EXPR:
    9844                 :           0 :                                                     {
    9845                 :           0 :                                                       tree _q70 = gimple_assign_rhs1 (_a3);
    9846                 :           0 :                                                       _q70 = do_valueize (valueize, _q70);
    9847                 :           0 :                                                       tree _q71 = gimple_assign_rhs2 (_a3);
    9848                 :           0 :                                                       _q71 = do_valueize (valueize, _q71);
    9849                 :           0 :                                                       if ((_q70 == _q40 && ! TREE_SIDE_EFFECTS (_q70)) || (operand_equal_p (_q70, _q40, 0) && types_match (_q70, _q40)))
    9850                 :             :                                                         {
    9851                 :           0 :                                                           if ((_q71 == _q20 && ! TREE_SIDE_EFFECTS (_q71)) || (operand_equal_p (_q71, _q20, 0) && types_match (_q71, _q20)))
    9852                 :             :                                                             {
    9853                 :           0 :                                                               {
    9854                 :           0 :                                                                 tree captures[2] ATTRIBUTE_UNUSED = { _q40, _q20 };
    9855                 :           0 :                                                                 if (gimple_simplify_68 (res_op, seq, valueize, type, captures, ROUND_DIV_EXPR, ROUND_MOD_EXPR))
    9856                 :           0 :                                                                   return true;
    9857                 :             :                                                               }
    9858                 :             :                                                             }
    9859                 :             :                                                         }
    9860                 :             :                                                       break;
    9861                 :             :                                                     }
    9862                 :             :                                                   default:;
    9863                 :             :                                                   }
    9864                 :             :                                             }
    9865                 :             :                                           break;
    9866                 :             :                                         default:;
    9867                 :             :                                         }
    9868                 :             :                                     }
    9869                 :             :                                   break;
    9870                 :             :                                 }
    9871                 :             :                               default:;
    9872                 :             :                               }
    9873                 :             :                         }
    9874                 :             :                       break;
    9875                 :             :                     default:;
    9876                 :             :                     }
    9877                 :    94248877 :                   break;
    9878                 :             :                 }
    9879                 :       41142 :               case TRUNC_MOD_EXPR:
    9880                 :       41142 :                 {
    9881                 :       41142 :                   tree _q20 = gimple_assign_rhs1 (_a1);
    9882                 :       41142 :                   _q20 = do_valueize (valueize, _q20);
    9883                 :       41142 :                   tree _q21 = gimple_assign_rhs2 (_a1);
    9884                 :       41142 :                   _q21 = do_valueize (valueize, _q21);
    9885                 :       41142 :                   switch (TREE_CODE (_p1))
    9886                 :             :                     {
    9887                 :       21927 :                     case SSA_NAME:
    9888                 :       21927 :                       if (gimple *_d2 = get_def (valueize, _p1))
    9889                 :             :                         {
    9890                 :       21828 :                           if (gassign *_a2 = dyn_cast <gassign *> (_d2))
    9891                 :       15318 :                             switch (gimple_assign_rhs_code (_a2))
    9892                 :             :                               {
    9893                 :       13015 :                               case MULT_EXPR:
    9894                 :       13015 :                                 {
    9895                 :       13015 :                                   tree _q50 = gimple_assign_rhs1 (_a2);
    9896                 :       13015 :                                   _q50 = do_valueize (valueize, _q50);
    9897                 :       13015 :                                   tree _q51 = gimple_assign_rhs2 (_a2);
    9898                 :       13015 :                                   _q51 = do_valueize (valueize, _q51);
    9899                 :       13015 :                                   if (tree_swap_operands_p (_q50, _q51))
    9900                 :        1556 :                                     std::swap (_q50, _q51);
    9901                 :       13015 :                                   switch (TREE_CODE (_q50))
    9902                 :             :                                     {
    9903                 :       13015 :                                     case SSA_NAME:
    9904                 :       13015 :                                       if (gimple *_d3 = get_def (valueize, _q50))
    9905                 :             :                                         {
    9906                 :       13006 :                                           if (gassign *_a3 = dyn_cast <gassign *> (_d3))
    9907                 :       12429 :                                             switch (gimple_assign_rhs_code (_a3))
    9908                 :             :                                               {
    9909                 :         231 :                                               case TRUNC_DIV_EXPR:
    9910                 :         231 :                                                 {
    9911                 :         231 :                                                   tree _q60 = gimple_assign_rhs1 (_a3);
    9912                 :         231 :                                                   _q60 = do_valueize (valueize, _q60);
    9913                 :         231 :                                                   tree _q61 = gimple_assign_rhs2 (_a3);
    9914                 :         231 :                                                   _q61 = do_valueize (valueize, _q61);
    9915                 :         231 :                                                   if ((_q60 == _q20 && ! TREE_SIDE_EFFECTS (_q60)) || (operand_equal_p (_q60, _q20, 0) && types_match (_q60, _q20)))
    9916                 :             :                                                     {
    9917                 :         231 :                                                       if ((_q61 == _q21 && ! TREE_SIDE_EFFECTS (_q61)) || (operand_equal_p (_q61, _q21, 0) && types_match (_q61, _q21)))
    9918                 :             :                                                         {
    9919                 :         185 :                                                           if ((_q51 == _q21 && ! TREE_SIDE_EFFECTS (_q51)) || (operand_equal_p (_q51, _q21, 0) && types_match (_q51, _q21)))
    9920                 :             :                                                             {
    9921                 :           0 :                                                               {
    9922                 :           0 :                                                                 tree captures[2] ATTRIBUTE_UNUSED = { _q20, _q21 };
    9923                 :           0 :                                                                 if (gimple_simplify_68 (res_op, seq, valueize, type, captures, TRUNC_DIV_EXPR, TRUNC_MOD_EXPR))
    9924                 :           0 :                                                                   return true;
    9925                 :             :                                                               }
    9926                 :             :                                                             }
    9927                 :             :                                                         }
    9928                 :             :                                                     }
    9929                 :             :                                                   break;
    9930                 :             :                                                 }
    9931                 :             :                                               default:;
    9932                 :             :                                               }
    9933                 :             :                                         }
    9934                 :             :                                       break;
    9935                 :       13015 :                                     default:;
    9936                 :             :                                     }
    9937                 :       13015 :                                   if ((_q50 == _q21 && ! TREE_SIDE_EFFECTS (_q50)) || (operand_equal_p (_q50, _q21, 0) && types_match (_q50, _q21)))
    9938                 :             :                                     {
    9939                 :           0 :                                       switch (TREE_CODE (_q51))
    9940                 :             :                                         {
    9941                 :           0 :                                         case SSA_NAME:
    9942                 :           0 :                                           if (gimple *_d3 = get_def (valueize, _q51))
    9943                 :             :                                             {
    9944                 :           0 :                                               if (gassign *_a3 = dyn_cast <gassign *> (_d3))
    9945                 :           0 :                                                 switch (gimple_assign_rhs_code (_a3))
    9946                 :             :                                                   {
    9947                 :           0 :                                                   case TRUNC_DIV_EXPR:
    9948                 :           0 :                                                     {
    9949                 :           0 :                                                       tree _q70 = gimple_assign_rhs1 (_a3);
    9950                 :           0 :                                                       _q70 = do_valueize (valueize, _q70);
    9951                 :           0 :                                                       tree _q71 = gimple_assign_rhs2 (_a3);
    9952                 :           0 :                                                       _q71 = do_valueize (valueize, _q71);
    9953                 :           0 :                                                       if ((_q70 == _q20 && ! TREE_SIDE_EFFECTS (_q70)) || (operand_equal_p (_q70, _q20, 0) && types_match (_q70, _q20)))
    9954                 :             :                                                         {
    9955                 :           0 :                                                           if ((_q71 == _q21 && ! TREE_SIDE_EFFECTS (_q71)) || (operand_equal_p (_q71, _q21, 0) && types_match (_q71, _q21)))
    9956                 :             :                                                             {
    9957                 :           0 :                                                               {
    9958                 :           0 :                                                                 tree captures[2] ATTRIBUTE_UNUSED = { _q20, _q21 };
    9959                 :           0 :                                                                 if (gimple_simplify_68 (res_op, seq, valueize, type, captures, TRUNC_DIV_EXPR, TRUNC_MOD_EXPR))
    9960                 :           0 :                                                                   return true;
    9961                 :             :                                                               }
    9962                 :             :                                                             }
    9963                 :             :                                                         }
    9964                 :             :                                                       break;
    9965                 :             :                                                     }
    9966                 :             :                                                   default:;
    9967                 :             :                                                   }
    9968                 :             :                                             }
    9969                 :             :                                           break;
    9970                 :             :                                         default:;
    9971                 :             :                                         }
    9972                 :             :                                     }
    9973                 :    94248877 :                                   break;
    9974                 :             :                                 }
    9975                 :             :                               default:;
    9976                 :             :                               }
    9977                 :             :                         }
    9978                 :             :                       break;
    9979                 :             :                     default:;
    9980                 :             :                     }
    9981                 :             :                   break;
    9982                 :             :                 }
    9983                 :           0 :               case CEIL_MOD_EXPR:
    9984                 :           0 :                 {
    9985                 :           0 :                   tree _q20 = gimple_assign_rhs1 (_a1);
    9986                 :           0 :                   _q20 = do_valueize (valueize, _q20);
    9987                 :           0 :                   tree _q21 = gimple_assign_rhs2 (_a1);
    9988                 :           0 :                   _q21 = do_valueize (valueize, _q21);
    9989                 :           0 :                   switch (TREE_CODE (_p1))
    9990                 :             :                     {
    9991                 :           0 :                     case SSA_NAME:
    9992                 :           0 :                       if (gimple *_d2 = get_def (valueize, _p1))
    9993                 :             :                         {
    9994                 :           0 :                           if (gassign *_a2 = dyn_cast <gassign *> (_d2))
    9995                 :           0 :                             switch (gimple_assign_rhs_code (_a2))
    9996                 :             :                               {
    9997                 :           0 :                               case MULT_EXPR:
    9998                 :           0 :                                 {
    9999                 :           0 :                                   tree _q50 = gimple_assign_rhs1 (_a2);
   10000                 :           0 :                                   _q50 = do_valueize (valueize, _q50);
   10001                 :           0 :                                   tree _q51 = gimple_assign_rhs2 (_a2);
   10002                 :           0 :                                   _q51 = do_valueize (valueize, _q51);
   10003                 :           0 :                                   if (tree_swap_operands_p (_q50, _q51))
   10004                 :           0 :                                     std::swap (_q50, _q51);
   10005                 :           0 :                                   switch (TREE_CODE (_q50))
   10006                 :             :                                     {
   10007                 :           0 :                                     case SSA_NAME:
   10008                 :           0 :                                       if (gimple *_d3 = get_def (valueize, _q50))
   10009                 :             :                                         {
   10010                 :           0 :                                           if (gassign *_a3 = dyn_cast <gassign *> (_d3))
   10011                 :           0 :                                             switch (gimple_assign_rhs_code (_a3))
   10012                 :             :                                               {
   10013                 :           0 :                                               case CEIL_DIV_EXPR:
   10014                 :           0 :                                                 {
   10015                 :           0 :                                                   tree _q60 = gimple_assign_rhs1 (_a3);
   10016                 :           0 :                                                   _q60 = do_valueize (valueize, _q60);
   10017                 :           0 :                                                   tree _q61 = gimple_assign_rhs2 (_a3);
   10018                 :           0 :                                                   _q61 = do_valueize (valueize, _q61);
   10019                 :           0 :                                                   if ((_q60 == _q20 && ! TREE_SIDE_EFFECTS (_q60)) || (operand_equal_p (_q60, _q20, 0) && types_match (_q60, _q20)))
   10020                 :             :                                                     {
   10021                 :           0 :                                                       if ((_q61 == _q21 && ! TREE_SIDE_EFFECTS (_q61)) || (operand_equal_p (_q61, _q21, 0) && types_match (_q61, _q21)))
   10022                 :             :                                                         {
   10023                 :           0 :                                                           if ((_q51 == _q21 && ! TREE_SIDE_EFFECTS (_q51)) || (operand_equal_p (_q51, _q21, 0) && types_match (_q51, _q21)))
   10024                 :             :                                                             {
   10025                 :           0 :                                                               {
   10026                 :           0 :                                                                 tree captures[2] ATTRIBUTE_UNUSED = { _q20, _q21 };
   10027                 :           0 :                                                                 if (gimple_simplify_68 (res_op, seq, valueize, type, captures, CEIL_DIV_EXPR, CEIL_MOD_EXPR))
   10028                 :           0 :                                                                   return true;
   10029                 :             :                                                               }
   10030                 :             :                                                             }
   10031                 :             :                                                         }
   10032                 :             :                                                     }
   10033                 :             :                                                   break;
   10034                 :             :                                                 }
   10035                 :             :                                               default:;
   10036                 :             :                                               }
   10037                 :             :                                         }
   10038                 :             :                                       break;
   10039                 :           0 :                                     default:;
   10040                 :             :                                     }
   10041                 :           0 :                                   if ((_q50 == _q21 && ! TREE_SIDE_EFFECTS (_q50)) || (operand_equal_p (_q50, _q21, 0) && types_match (_q50, _q21)))
   10042                 :             :                                     {
   10043                 :           0 :                                       switch (TREE_CODE (_q51))
   10044                 :             :                                         {
   10045                 :           0 :                                         case SSA_NAME:
   10046                 :           0 :                                           if (gimple *_d3 = get_def (valueize, _q51))
   10047                 :             :                                             {
   10048                 :           0 :                                               if (gassign *_a3 = dyn_cast <gassign *> (_d3))
   10049                 :           0 :                                                 switch (gimple_assign_rhs_code (_a3))
   10050                 :             :                                                   {
   10051                 :           0 :                                                   case CEIL_DIV_EXPR:
   10052                 :           0 :                                                     {
   10053                 :           0 :                                                       tree _q70 = gimple_assign_rhs1 (_a3);
   10054                 :           0 :                                                       _q70 = do_valueize (valueize, _q70);
   10055                 :           0 :                                                       tree _q71 = gimple_assign_rhs2 (_a3);
   10056                 :           0 :                                                       _q71 = do_valueize (valueize, _q71);
   10057                 :           0 :                                                       if ((_q70 == _q20 && ! TREE_SIDE_EFFECTS (_q70)) || (operand_equal_p (_q70, _q20, 0) && types_match (_q70, _q20)))
   10058                 :             :                                                         {
   10059                 :           0 :                                                           if ((_q71 == _q21 && ! TREE_SIDE_EFFECTS (_q71)) || (operand_equal_p (_q71, _q21, 0) && types_match (_q71, _q21)))
   10060                 :             :                                                             {
   10061                 :           0 :                                                               {
   10062                 :           0 :                                                                 tree captures[2] ATTRIBUTE_UNUSED = { _q20, _q21 };
   10063                 :           0 :                                                                 if (gimple_simplify_68 (res_op, seq, valueize, type, captures, CEIL_DIV_EXPR, CEIL_MOD_EXPR))
   10064                 :           0 :                                                                   return true;
   10065                 :             :                                                               }
   10066                 :             :                                                             }
   10067                 :             :                                                         }
   10068                 :             :                                                       break;
   10069                 :             :                                                     }
   10070                 :             :                                                   default:;
   10071                 :             :                                                   }
   10072                 :             :                                             }
   10073                 :             :                                           break;
   10074                 :             :                                         default:;
   10075                 :             :                                         }
   10076                 :             :                                     }
   10077                 :    94248877 :                                   break;
   10078                 :             :                                 }
   10079                 :             :                               default:;
   10080                 :             :                               }
   10081                 :             :                         }
   10082                 :             :                       break;
   10083                 :             :                     default:;
   10084                 :             :                     }
   10085                 :             :                   break;
   10086                 :             :                 }
   10087                 :        1873 :               case FLOOR_MOD_EXPR:
   10088                 :        1873 :                 {
   10089                 :        1873 :                   tree _q20 = gimple_assign_rhs1 (_a1);
   10090                 :        1873 :                   _q20 = do_valueize (valueize, _q20);
   10091                 :        1873 :                   tree _q21 = gimple_assign_rhs2 (_a1);
   10092                 :        1873 :                   _q21 = do_valueize (valueize, _q21);
   10093                 :        1873 :                   switch (TREE_CODE (_p1))
   10094                 :             :                     {
   10095                 :         168 :                     case SSA_NAME:
   10096                 :         168 :                       if (gimple *_d2 = get_def (valueize, _p1))
   10097                 :             :                         {
   10098                 :         120 :                           if (gassign *_a2 = dyn_cast <gassign *> (_d2))
   10099                 :          36 :                             switch (gimple_assign_rhs_code (_a2))
   10100                 :             :                               {
   10101                 :           0 :                               case MULT_EXPR:
   10102                 :           0 :                                 {
   10103                 :           0 :                                   tree _q50 = gimple_assign_rhs1 (_a2);
   10104                 :           0 :                                   _q50 = do_valueize (valueize, _q50);
   10105                 :           0 :                                   tree _q51 = gimple_assign_rhs2 (_a2);
   10106                 :           0 :                                   _q51 = do_valueize (valueize, _q51);
   10107                 :           0 :                                   if (tree_swap_operands_p (_q50, _q51))
   10108                 :           0 :                                     std::swap (_q50, _q51);
   10109                 :           0 :                                   switch (TREE_CODE (_q50))
   10110                 :             :                                     {
   10111                 :           0 :                                     case SSA_NAME:
   10112                 :           0 :                                       if (gimple *_d3 = get_def (valueize, _q50))
   10113                 :             :                                         {
   10114                 :           0 :                                           if (gassign *_a3 = dyn_cast <gassign *> (_d3))
   10115                 :           0 :                                             switch (gimple_assign_rhs_code (_a3))
   10116                 :             :                                               {
   10117                 :           0 :                                               case FLOOR_DIV_EXPR:
   10118                 :           0 :                                                 {
   10119                 :           0 :                                                   tree _q60 = gimple_assign_rhs1 (_a3);
   10120                 :           0 :                                                   _q60 = do_valueize (valueize, _q60);
   10121                 :           0 :                                                   tree _q61 = gimple_assign_rhs2 (_a3);
   10122                 :           0 :                                                   _q61 = do_valueize (valueize, _q61);
   10123                 :           0 :                                                   if ((_q60 == _q20 && ! TREE_SIDE_EFFECTS (_q60)) || (operand_equal_p (_q60, _q20, 0) && types_match (_q60, _q20)))
   10124                 :             :                                                     {
   10125                 :           0 :                                                       if ((_q61 == _q21 && ! TREE_SIDE_EFFECTS (_q61)) || (operand_equal_p (_q61, _q21, 0) && types_match (_q61, _q21)))
   10126                 :             :                                                         {
   10127                 :           0 :                                                           if ((_q51 == _q21 && ! TREE_SIDE_EFFECTS (_q51)) || (operand_equal_p (_q51, _q21, 0) && types_match (_q51, _q21)))
   10128                 :             :                                                             {
   10129                 :           0 :                                                               {
   10130                 :           0 :                                                                 tree captures[2] ATTRIBUTE_UNUSED = { _q20, _q21 };
   10131                 :           0 :                                                                 if (gimple_simplify_68 (res_op, seq, valueize, type, captures, FLOOR_DIV_EXPR, FLOOR_MOD_EXPR))
   10132                 :           0 :                                                                   return true;
   10133                 :             :                                                               }
   10134                 :             :                                                             }
   10135                 :             :                                                         }
   10136                 :             :                                                     }
   10137                 :             :                                                   break;
   10138                 :             :                                                 }
   10139                 :             :                                               default:;
   10140                 :             :                                               }
   10141                 :             :                                         }
   10142                 :             :                                       break;
   10143                 :           0 :                                     default:;
   10144                 :             :                                     }
   10145                 :           0 :                                   if ((_q50 == _q21 && ! TREE_SIDE_EFFECTS (_q50)) || (operand_equal_p (_q50, _q21, 0) && types_match (_q50, _q21)))
   10146                 :             :                                     {
   10147                 :           0 :                                       switch (TREE_CODE (_q51))
   10148                 :             :                                         {
   10149                 :           0 :                                         case SSA_NAME:
   10150                 :           0 :                                           if (gimple *_d3 = get_def (valueize, _q51))
   10151                 :             :                                             {
   10152                 :           0 :                                               if (gassign *_a3 = dyn_cast <gassign *> (_d3))
   10153                 :           0 :                                                 switch (gimple_assign_rhs_code (_a3))
   10154                 :             :                                                   {
   10155                 :           0 :                                                   case FLOOR_DIV_EXPR:
   10156                 :           0 :                                                     {
   10157                 :           0 :                                                       tree _q70 = gimple_assign_rhs1 (_a3);
   10158                 :           0 :                                                       _q70 = do_valueize (valueize, _q70);
   10159                 :           0 :                                                       tree _q71 = gimple_assign_rhs2 (_a3);
   10160                 :           0 :                                                       _q71 = do_valueize (valueize, _q71);
   10161                 :           0 :                                                       if ((_q70 == _q20 && ! TREE_SIDE_EFFECTS (_q70)) || (operand_equal_p (_q70, _q20, 0) && types_match (_q70, _q20)))
   10162                 :             :                                                         {
   10163                 :           0 :                                                           if ((_q71 == _q21 && ! TREE_SIDE_EFFECTS (_q71)) || (operand_equal_p (_q71, _q21, 0) && types_match (_q71, _q21)))
   10164                 :             :                                                             {
   10165                 :           0 :                                                               {
   10166                 :           0 :                                                                 tree captures[2] ATTRIBUTE_UNUSED = { _q20, _q21 };
   10167                 :           0 :                                                                 if (gimple_simplify_68 (res_op, seq, valueize, type, captures, FLOOR_DIV_EXPR, FLOOR_MOD_EXPR))
   10168                 :           0 :                                                                   return true;
   10169                 :             :                                                               }
   10170                 :             :                                                             }
   10171                 :             :                                                         }
   10172                 :             :                                                       break;
   10173                 :             :                                                     }
   10174                 :             :                                                   default:;
   10175                 :             :                                                   }
   10176                 :             :                                             }
   10177                 :             :                                           break;
   10178                 :             :                                         default:;
   10179                 :             :                                         }
   10180                 :             :                                     }
   10181                 :    94248877 :                                   break;
   10182                 :             :                                 }
   10183                 :             :                               default:;
   10184                 :             :                               }
   10185                 :             :                         }
   10186                 :             :                       break;
   10187                 :             :                     default:;
   10188                 :             :                     }
   10189                 :             :                   break;
   10190                 :             :                 }
   10191                 :           0 :               case ROUND_MOD_EXPR:
   10192                 :           0 :                 {
   10193                 :           0 :                   tree _q20 = gimple_assign_rhs1 (_a1);
   10194                 :           0 :                   _q20 = do_valueize (valueize, _q20);
   10195                 :           0 :                   tree _q21 = gimple_assign_rhs2 (_a1);
   10196                 :           0 :                   _q21 = do_valueize (valueize, _q21);
   10197                 :           0 :                   switch (TREE_CODE (_p1))
   10198                 :             :                     {
   10199                 :           0 :                     case SSA_NAME:
   10200                 :           0 :                       if (gimple *_d2 = get_def (valueize, _p1))
   10201                 :             :                         {
   10202                 :           0 :                           if (gassign *_a2 = dyn_cast <gassign *> (_d2))
   10203                 :           0 :                             switch (gimple_assign_rhs_code (_a2))
   10204                 :             :                               {
   10205                 :           0 :                               case MULT_EXPR:
   10206                 :           0 :                                 {
   10207                 :           0 :                                   tree _q50 = gimple_assign_rhs1 (_a2);
   10208                 :           0 :                                   _q50 = do_valueize (valueize, _q50);
   10209                 :           0 :                                   tree _q51 = gimple_assign_rhs2 (_a2);
   10210                 :           0 :                                   _q51 = do_valueize (valueize, _q51);
   10211                 :           0 :                                   if (tree_swap_operands_p (_q50, _q51))
   10212                 :           0 :                                     std::swap (_q50, _q51);
   10213                 :           0 :                                   switch (TREE_CODE (_q50))
   10214                 :             :                                     {
   10215                 :           0 :                                     case SSA_NAME:
   10216                 :           0 :                                       if (gimple *_d3 = get_def (valueize, _q50))
   10217                 :             :                                         {
   10218                 :           0 :                                           if (gassign *_a3 = dyn_cast <gassign *> (_d3))
   10219                 :           0 :                                             switch (gimple_assign_rhs_code (_a3))
   10220                 :             :                                               {
   10221                 :           0 :                                               case ROUND_DIV_EXPR:
   10222                 :           0 :                                                 {
   10223                 :           0 :                                                   tree _q60 = gimple_assign_rhs1 (_a3);
   10224                 :           0 :                                                   _q60 = do_valueize (valueize, _q60);
   10225                 :           0 :                                                   tree _q61 = gimple_assign_rhs2 (_a3);
   10226                 :           0 :                                                   _q61 = do_valueize (valueize, _q61);
   10227                 :           0 :                                                   if ((_q60 == _q20 && ! TREE_SIDE_EFFECTS (_q60)) || (operand_equal_p (_q60, _q20, 0) && types_match (_q60, _q20)))
   10228                 :             :                                                     {
   10229                 :           0 :                                                       if ((_q61 == _q21 && ! TREE_SIDE_EFFECTS (_q61)) || (operand_equal_p (_q61, _q21, 0) && types_match (_q61, _q21)))
   10230                 :             :                                                         {
   10231                 :           0 :                                                           if ((_q51 == _q21 && ! TREE_SIDE_EFFECTS (_q51)) || (operand_equal_p (_q51, _q21, 0) && types_match (_q51, _q21)))
   10232                 :             :                                                             {
   10233                 :           0 :                                                               {
   10234                 :           0 :                                                                 tree captures[2] ATTRIBUTE_UNUSED = { _q20, _q21 };
   10235                 :           0 :                                                                 if (gimple_simplify_68 (res_op, seq, valueize, type, captures, ROUND_DIV_EXPR, ROUND_MOD_EXPR))
   10236                 :           0 :                                                                   return true;
   10237                 :             :                                                               }
   10238                 :             :                                                             }
   10239                 :             :                                                         }
   10240                 :             :                                                     }
   10241                 :             :                                                   break;
   10242                 :             :                                                 }
   10243                 :             :                                               default:;
   10244                 :             :                                               }
   10245                 :             :                                         }
   10246                 :             :                                       break;
   10247                 :           0 :                                     default:;
   10248                 :             :                                     }
   10249                 :           0 :                                   if ((_q50 == _q21 && ! TREE_SIDE_EFFECTS (_q50)) || (operand_equal_p (_q50, _q21, 0) && types_match (_q50, _q21)))
   10250                 :             :                                     {
   10251                 :           0 :                                       switch (TREE_CODE (_q51))
   10252                 :             :                                         {
   10253                 :           0 :                                         case SSA_NAME:
   10254                 :           0 :                                           if (gimple *_d3 = get_def (valueize, _q51))
   10255                 :             :                                             {
   10256                 :           0 :                                               if (gassign *_a3 = dyn_cast <gassign *> (_d3))
   10257                 :           0 :                                                 switch (gimple_assign_rhs_code (_a3))
   10258                 :             :                                                   {
   10259                 :           0 :                                                   case ROUND_DIV_EXPR:
   10260                 :           0 :                                                     {
   10261                 :           0 :                                                       tree _q70 = gimple_assign_rhs1 (_a3);
   10262                 :           0 :                                                       _q70 = do_valueize (valueize, _q70);
   10263                 :           0 :                                                       tree _q71 = gimple_assign_rhs2 (_a3);
   10264                 :           0 :                                                       _q71 = do_valueize (valueize, _q71);
   10265                 :           0 :                                                       if ((_q70 == _q20 && ! TREE_SIDE_EFFECTS (_q70)) || (operand_equal_p (_q70, _q20, 0) && types_match (_q70, _q20)))
   10266                 :             :                                                         {
   10267                 :           0 :                                                           if ((_q71 == _q21 && ! TREE_SIDE_EFFECTS (_q71)) || (operand_equal_p (_q71, _q21, 0) && types_match (_q71, _q21)))
   10268                 :             :                                                             {
   10269                 :           0 :                                                               {
   10270                 :           0 :                                                                 tree captures[2] ATTRIBUTE_UNUSED = { _q20, _q21 };
   10271                 :           0 :                                                                 if (gimple_simplify_68 (res_op, seq, valueize, type, captures, ROUND_DIV_EXPR, ROUND_MOD_EXPR))
   10272                 :           0 :                                                                   return true;
   10273                 :             :                                                               }
   10274                 :             :                                                             }
   10275                 :             :                                                         }
   10276                 :             :                                                       break;
   10277                 :             :                                                     }
   10278                 :             :                                                   default:;
   10279                 :             :                                                   }
   10280                 :             :                                             }
   10281                 :             :                                           break;
   10282                 :             :                                         default:;
   10283                 :             :                                         }
   10284                 :             :                                     }
   10285                 :    94248877 :                                   break;
   10286                 :             :                                 }
   10287                 :             :                               default:;
   10288                 :             :                               }
   10289                 :             :                         }
   10290                 :             :                       break;
   10291                 :             :                     default:;
   10292                 :             :                     }
   10293                 :             :                   break;
   10294                 :             :                 }
   10295                 :             :               default:;
   10296                 :             :               }
   10297                 :             :         }
   10298                 :             :       break;
   10299                 :    94248877 :     default:;
   10300                 :             :     }
   10301                 :    94248877 :   switch (TREE_CODE (_p1))
   10302                 :             :     {
   10303                 :     1165251 :     case REAL_CST:
   10304                 :     1165251 :       {
   10305                 :     1165251 :         {
   10306                 :     1165251 :           tree captures[2] ATTRIBUTE_UNUSED = { _p0, _p1 };
   10307                 :     1165251 :           if (REAL_VALUE_NEGATIVE (TREE_REAL_CST (captures[1]))
   10308                 :             : )
   10309                 :             :             {
   10310                 :       12691 :               {
   10311                 :       12691 :  tree tem = const_unop (NEGATE_EXPR, type, captures[1]);
   10312                 :       12691 :                   if (!TREE_OVERFLOW (tem) || !flag_trapping_math
   10313                 :             : )
   10314                 :             :                     {
   10315                 :       12691 :                       gimple_seq *lseq = seq;
   10316                 :       12691 :                       if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail1573;
   10317                 :       12691 :                       {
   10318                 :       12691 :                         res_op->set_op (MINUS_EXPR, type, 2);
   10319                 :       12691 :                         res_op->ops[0] = captures[0];
   10320                 :       12691 :                         res_op->ops[1] =  tem;
   10321                 :       12691 :                         res_op->resimplify (lseq, valueize);
   10322                 :       12691 :                         if (UNLIKELY (debug_dump)) gimple_dump_logs ("match.pd", 932, __FILE__, __LINE__, true);
   10323                 :       12691 :                         return true;
   10324                 :             :                       }
   10325                 :           0 : next_after_fail1573:;
   10326                 :             :                     }
   10327                 :             :               }
   10328                 :             :             }
   10329                 :             :         }
   10330                 :     1152560 :         break;
   10331                 :             :       }
   10332                 :    94236186 :     default:;
   10333                 :             :     }
   10334                 :    94236186 :   if ((_p1 == _p0 && ! TREE_SIDE_EFFECTS (_p1)) || (operand_equal_p (_p1, _p0, 0) && types_match (_p1, _p0)))
   10335                 :             :     {
   10336                 :       68481 :       {
   10337                 :       68481 :         tree captures[1] ATTRIBUTE_UNUSED = { _p0 };
   10338                 :       68481 :         if (SCALAR_FLOAT_TYPE_P (type)
   10339                 :             : )
   10340                 :             :           {
   10341                 :         561 :             gimple_seq *lseq = seq;
   10342                 :         561 :             if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail1574;
   10343                 :         561 :             {
   10344                 :         561 :               res_op->set_op (MULT_EXPR, type, 2);
   10345                 :         561 :               res_op->ops[0] = captures[0];
   10346                 :         561 :               res_op->ops[1] =  build_real (type, dconst2);
   10347                 :         561 :               res_op->resimplify (lseq, valueize);
   10348                 :         561 :               if (UNLIKELY (debug_dump)) gimple_dump_logs ("match.pd", 933, __FILE__, __LINE__, true);
   10349                 :         561 :               return true;
   10350                 :             :             }
   10351                 :           0 : next_after_fail1574:;
   10352                 :             :           }
   10353                 :             :         else
   10354                 :             :           {
   10355                 :       67920 :             if (INTEGRAL_TYPE_P (type)
   10356                 :             : )
   10357                 :             :               {
   10358                 :       66101 :                 gimple_seq *lseq = seq;
   10359                 :       66101 :                 if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail1575;
   10360                 :       66101 :                 {
   10361                 :       66101 :                   res_op->set_op (MULT_EXPR, type, 2);
   10362                 :       66101 :                   res_op->ops[0] = captures[0];
   10363                 :       66101 :                   res_op->ops[1] =  build_int_cst (type, 2);
   10364                 :       66101 :                   res_op->resimplify (lseq, valueize);
   10365                 :       66101 :                   if (UNLIKELY (debug_dump)) gimple_dump_logs ("match.pd", 934, __FILE__, __LINE__, true);
   10366                 :       66101 :                   return true;
   10367                 :             :                 }
   10368                 :           0 : next_after_fail1575:;
   10369                 :             :               }
   10370                 :             :           }
   10371                 :             :       }
   10372                 :             :     }
   10373                 :    94169524 :   switch (TREE_CODE (_p0))
   10374                 :             :     {
   10375                 :    92504648 :     case SSA_NAME:
   10376                 :    92504648 :       if (gimple *_d1 = get_def (valueize, _p0))
   10377                 :             :         {
   10378                 :    31040004 :           if (gassign *_a1 = dyn_cast <gassign *> (_d1))
   10379                 :    27418173 :             switch (gimple_assign_rhs_code (_a1))
   10380                 :             :               {
   10381                 :        4929 :               case VEC_COND_EXPR:
   10382                 :        4929 :                 {
   10383                 :        4929 :                   tree _q20 = gimple_assign_rhs1 (_a1);
   10384                 :        4929 :                   _q20 = do_valueize (valueize, _q20);
   10385                 :        4929 :                   tree _q21 = gimple_assign_rhs2 (_a1);
   10386                 :        4929 :                   _q21 = do_valueize (valueize, _q21);
   10387                 :        4929 :                   tree _q22 = gimple_assign_rhs3 (_a1);
   10388                 :        4929 :                   _q22 = do_valueize (valueize, _q22);
   10389                 :        4929 :                   switch (TREE_CODE (_p1))
   10390                 :             :                     {
   10391                 :        2732 :                     case SSA_NAME:
   10392                 :        2732 :                       if (gimple *_d2 = get_def (valueize, _p1))
   10393                 :             :                         {
   10394                 :        2703 :                           if (gassign *_a2 = dyn_cast <gassign *> (_d2))
   10395                 :        3038 :                             switch (gimple_assign_rhs_code (_a2))
   10396                 :             :                               {
   10397                 :         887 :                               case VEC_COND_EXPR:
   10398                 :         887 :                                 {
   10399                 :         887 :                                   tree _q60 = gimple_assign_rhs1 (_a2);
   10400                 :         887 :                                   _q60 = do_valueize (valueize, _q60);
   10401                 :         887 :                                   tree _q61 = gimple_assign_rhs2 (_a2);
   10402                 :         887 :                                   _q61 = do_valueize (valueize, _q61);
   10403                 :         887 :                                   tree _q62 = gimple_assign_rhs3 (_a2);
   10404                 :         887 :                                   _q62 = do_valueize (valueize, _q62);
   10405                 :         887 :                                   if ((_q60 == _q20 && ! TREE_SIDE_EFFECTS (_q60)) || (operand_equal_p (_q60, _q20, 0) && types_match (_q60, _q20)))
   10406                 :             :                                     {
   10407                 :           0 :                                       {
   10408                 :           0 :                                         tree captures[7] ATTRIBUTE_UNUSED = { _p0, _q20, _q21, _q22, _p1, _q61, _q62 };
   10409                 :           0 :                                         if (TREE_CODE_CLASS (PLUS_EXPR) != tcc_comparison
   10410                 :             :  || types_match (type, TREE_TYPE (captures[2]))
   10411                 :             :  || expand_vec_cond_expr_p (type, TREE_TYPE (captures[1]), ERROR_MARK)
   10412                 :             :  || (optimize_vectors_before_lowering_p ()
   10413                 :             :  && !expand_vec_cond_expr_p (TREE_TYPE (captures[2]),
   10414                 :             :  TREE_TYPE (captures[1]), ERROR_MARK))
   10415                 :             : )
   10416                 :             :                                           {
   10417                 :           0 :                                             gimple_seq *lseq = seq;
   10418                 :           0 :                                             if (lseq
   10419                 :           0 :                                                 && (!single_use (captures[0])
   10420                 :           0 :                                                     || !single_use (captures[4])))
   10421                 :           0 :                                               lseq = NULL;
   10422                 :           0 :                                             if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail1576;
   10423                 :           0 :                                             {
   10424                 :           0 :                                               res_op->set_op (VEC_COND_EXPR, type, 3);
   10425                 :           0 :                                               res_op->ops[0] = captures[1];
   10426                 :           0 :                                               {
   10427                 :           0 :                                                 tree _o1[2], _r1;
   10428                 :           0 :                                                 _o1[0] = captures[2];
   10429                 :           0 :                                                 _o1[1] = captures[5];
   10430                 :           0 :                                                 gimple_match_op tem_op (res_op->cond.any_else (), PLUS_EXPR, TREE_TYPE (_o1[0]), _o1[0], _o1[1]);
   10431                 :           0 :                                                 tem_op.resimplify (NULL, valueize);
   10432                 :           0 :                                                 _r1 = maybe_push_res_to_seq (&tem_op, NULL);
   10433                 :           0 :                                                 if (!_r1) goto next_after_fail1576;
   10434                 :           0 :                                                 res_op->ops[1] = _r1;
   10435                 :             :                                               }
   10436                 :           0 :                                               {
   10437                 :           0 :                                                 tree _o1[2], _r1;
   10438                 :           0 :                                                 _o1[0] = captures[3];
   10439                 :           0 :                                                 _o1[1] = captures[6];
   10440                 :           0 :                                                 gimple_match_op tem_op (res_op->cond.any_else (), PLUS_EXPR, TREE_TYPE (_o1[0]), _o1[0], _o1[1]);
   10441                 :           0 :                                                 tem_op.resimplify (NULL, valueize);
   10442                 :           0 :                                                 _r1 = maybe_push_res_to_seq (&tem_op, NULL);
   10443                 :           0 :                                                 if (!_r1) goto next_after_fail1576;
   10444                 :           0 :                                                 res_op->ops[2] = _r1;
   10445                 :             :                                               }
   10446                 :           0 :                                               res_op->resimplify (lseq, valueize);
   10447                 :           0 :                                               if (UNLIKELY (debug_dump)) gimple_dump_logs ("match.pd", 925, __FILE__, __LINE__, true);
   10448                 :           0 :                                               return true;
   10449                 :             :                                             }
   10450                 :           0 : next_after_fail1576:;
   10451                 :             :                                           }
   10452                 :             :                                       }
   10453                 :             :                                     }
   10454                 :             :                                   break;
   10455                 :             :                                 }
   10456                 :             :                               default:;
   10457                 :             :                               }
   10458                 :             :                         }
   10459                 :             :                       break;
   10460                 :        4929 :                     default:;
   10461                 :             :                     }
   10462                 :        4929 :                   {
   10463                 :        4929 :                     tree captures[5] ATTRIBUTE_UNUSED = { _p0, _q20, _q21, _q22, _p1 };
   10464                 :        4929 :                     if (TREE_CODE_CLASS (PLUS_EXPR) != tcc_comparison
   10465                 :             :  || types_match (type, TREE_TYPE (captures[2]))
   10466                 :             :  || expand_vec_cond_expr_p (type, TREE_TYPE (captures[1]), ERROR_MARK)
   10467                 :             :  || (optimize_vectors_before_lowering_p ()
   10468                 :             :  && !expand_vec_cond_expr_p (TREE_TYPE (captures[2]),
   10469                 :             :  TREE_TYPE (captures[1]), ERROR_MARK))
   10470                 :             : )
   10471                 :             :                       {
   10472                 :        4929 :                         gimple_seq *lseq = seq;
   10473                 :        4929 :                         if (lseq
   10474                 :        1166 :                             && (!single_use (captures[0])))
   10475                 :        4278 :                           lseq = NULL;
   10476                 :        4929 :                         if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail1577;
   10477                 :        4929 :                         {
   10478                 :        4929 :                           res_op->set_op (VEC_COND_EXPR, type, 3);
   10479                 :        4929 :                           res_op->ops[0] = captures[1];
   10480                 :        4929 :                           {
   10481                 :        4929 :                             tree _o1[2], _r1;
   10482                 :        4929 :                             _o1[0] = captures[2];
   10483                 :        4929 :                             _o1[1] = captures[4];
   10484                 :        4929 :                             gimple_match_op tem_op (res_op->cond.any_else (), PLUS_EXPR, TREE_TYPE (_o1[0]), _o1[0], _o1[1]);
   10485                 :        4929 :                             tem_op.resimplify (NULL, valueize);
   10486                 :        4929 :                             _r1 = maybe_push_res_to_seq (&tem_op, NULL);
   10487                 :        4929 :                             if (!_r1) goto next_after_fail1577;
   10488                 :        2235 :                             res_op->ops[1] = _r1;
   10489                 :             :                           }
   10490                 :        2235 :                           {
   10491                 :        2235 :                             tree _o1[2], _r1;
   10492                 :        2235 :                             _o1[0] = captures[3];
   10493                 :        2235 :                             _o1[1] = captures[4];
   10494                 :        2235 :                             gimple_match_op tem_op (res_op->cond.any_else (), PLUS_EXPR, TREE_TYPE (_o1[0]), _o1[0], _o1[1]);
   10495                 :        2235 :                             tem_op.resimplify (NULL, valueize);
   10496                 :        2235 :                             _r1 = maybe_push_res_to_seq (&tem_op, NULL);
   10497                 :        2235 :                             if (!_r1) goto next_after_fail1577;
   10498                 :        2047 :                             res_op->ops[2] = _r1;
   10499                 :             :                           }
   10500                 :        2047 :                           res_op->resimplify (lseq, valueize);
   10501                 :        2047 :                           if (UNLIKELY (debug_dump)) gimple_dump_logs ("match.pd", 926, __FILE__, __LINE__, true);
   10502                 :        2047 :                           return true;
   10503                 :             :                         }
   10504                 :        2882 : next_after_fail1577:;
   10505                 :             :                       }
   10506                 :             :                   }
   10507                 :        2882 :                   if (integer_each_onep (_q21))
   10508                 :             :                     {
   10509                 :        2029 :                       if (integer_zerop (_q22))
   10510                 :             :                         {
   10511                 :        1971 :                           {
   10512                 :        1971 :                             tree captures[5] ATTRIBUTE_UNUSED = { _p1, _p0, _q20, _q21, _q22 };
   10513                 :        1971 :                             if (gimple_simplify_69 (res_op, seq, valueize, type, captures))
   10514                 :         339 :                               return true;
   10515                 :             :                           }
   10516                 :             :                         }
   10517                 :             :                     }
   10518                 :             :                   break;
   10519                 :             :                 }
   10520                 :             :               default:;
   10521                 :             :               }
   10522                 :             :         }
   10523                 :             :       break;
   10524                 :    94167138 :     default:;
   10525                 :             :     }
   10526                 :    94167138 :   switch (TREE_CODE (_p1))
   10527                 :             :     {
   10528                 :    17687221 :     case SSA_NAME:
   10529                 :    17687221 :       if (gimple *_d1 = get_def (valueize, _p1))
   10530                 :             :         {
   10531                 :    12519712 :           if (gassign *_a1 = dyn_cast <gassign *> (_d1))
   10532                 :    10562005 :             switch (gimple_assign_rhs_code (_a1))
   10533                 :             :               {
   10534                 :        4488 :               case VEC_COND_EXPR:
   10535                 :        4488 :                 {
   10536                 :        4488 :                   tree _q30 = gimple_assign_rhs1 (_a1);
   10537                 :        4488 :                   _q30 = do_valueize (valueize, _q30);
   10538                 :        4488 :                   tree _q31 = gimple_assign_rhs2 (_a1);
   10539                 :        4488 :                   _q31 = do_valueize (valueize, _q31);
   10540                 :        4488 :                   tree _q32 = gimple_assign_rhs3 (_a1);
   10541                 :        4488 :                   _q32 = do_valueize (valueize, _q32);
   10542                 :        4488 :                   {
   10543                 :        4488 :                     tree captures[5] ATTRIBUTE_UNUSED = { _p0, _p1, _q30, _q31, _q32 };
   10544                 :        4488 :                     if (TREE_CODE_CLASS (PLUS_EXPR) != tcc_comparison
   10545                 :             :  || types_match (type, TREE_TYPE (captures[3]))
   10546                 :             :  || expand_vec_cond_expr_p (type, TREE_TYPE (captures[2]), ERROR_MARK)
   10547                 :             :  || (optimize_vectors_before_lowering_p ()
   10548                 :             :  && !expand_vec_cond_expr_p (TREE_TYPE (captures[3]),
   10549                 :             :  TREE_TYPE (captures[2]), ERROR_MARK))
   10550                 :             : )
   10551                 :             :                       {
   10552                 :        4488 :                         gimple_seq *lseq = seq;
   10553                 :        4488 :                         if (lseq
   10554                 :        1350 :                             && (!single_use (captures[1])))
   10555                 :        3254 :                           lseq = NULL;
   10556                 :        4488 :                         if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail1578;
   10557                 :        4488 :                         {
   10558                 :        4488 :                           res_op->set_op (VEC_COND_EXPR, type, 3);
   10559                 :        4488 :                           res_op->ops[0] = captures[2];
   10560                 :        4488 :                           {
   10561                 :        4488 :                             tree _o1[2], _r1;
   10562                 :        4488 :                             _o1[0] = captures[0];
   10563                 :        4488 :                             _o1[1] = captures[3];
   10564                 :        4488 :                             gimple_match_op tem_op (res_op->cond.any_else (), PLUS_EXPR, TREE_TYPE (_o1[0]), _o1[0], _o1[1]);
   10565                 :        4488 :                             tem_op.resimplify (NULL, valueize);
   10566                 :        4488 :                             _r1 = maybe_push_res_to_seq (&tem_op, NULL);
   10567                 :        4488 :                             if (!_r1) goto next_after_fail1578;
   10568                 :          26 :                             res_op->ops[1] = _r1;
   10569                 :             :                           }
   10570                 :          26 :                           {
   10571                 :          26 :                             tree _o1[2], _r1;
   10572                 :          26 :                             _o1[0] = captures[0];
   10573                 :          26 :                             _o1[1] = captures[4];
   10574                 :          26 :                             gimple_match_op tem_op (res_op->cond.any_else (), PLUS_EXPR, TREE_TYPE (_o1[0]), _o1[0], _o1[1]);
   10575                 :          26 :                             tem_op.resimplify (NULL, valueize);
   10576                 :          26 :                             _r1 = maybe_push_res_to_seq (&tem_op, NULL);
   10577                 :          26 :                             if (!_r1) goto next_after_fail1578;
   10578                 :           0 :                             res_op->ops[2] = _r1;
   10579                 :             :                           }
   10580                 :           0 :                           res_op->resimplify (lseq, valueize);
   10581                 :           0 :                           if (UNLIKELY (debug_dump)) gimple_dump_logs ("match.pd", 927, __FILE__, __LINE__, true);
   10582                 :           0 :                           return true;
   10583                 :             :                         }
   10584                 :        4488 : next_after_fail1578:;
   10585                 :             :                       }
   10586                 :             :                   }
   10587                 :        4488 :                   break;
   10588                 :             :                 }
   10589                 :       41715 :               case VIEW_CONVERT_EXPR:
   10590                 :       41715 :                 {
   10591                 :       41715 :                   tree _q30 = TREE_OPERAND (gimple_assign_rhs1 (_a1), 0);
   10592                 :       41715 :                   if ((TREE_CODE (_q30) == SSA_NAME
   10593                 :       41715 :                        || is_gimple_min_invariant (_q30)))
   10594                 :             :                     {
   10595                 :       41715 :                       _q30 = do_valueize (valueize, _q30);
   10596                 :       41715 :                       switch (TREE_CODE (_q30))
   10597                 :             :                         {
   10598                 :       41715 :                         case SSA_NAME:
   10599                 :       41715 :                           if (gimple *_d2 = get_def (valueize, _q30))
   10600                 :             :                             {
   10601                 :       36009 :                               if (gassign *_a2 = dyn_cast <gassign *> (_d2))
   10602                 :       38301 :                                 switch (gimple_assign_rhs_code (_a2))
   10603                 :             :                                   {
   10604                 :          96 :                                   case VEC_COND_EXPR:
   10605                 :          96 :                                     {
   10606                 :          96 :                                       tree _q40 = gimple_assign_rhs1 (_a2);
   10607                 :          96 :                                       _q40 = do_valueize (valueize, _q40);
   10608                 :          96 :                                       tree _q41 = gimple_assign_rhs2 (_a2);
   10609                 :          96 :                                       _q41 = do_valueize (valueize, _q41);
   10610                 :          96 :                                       tree _q42 = gimple_assign_rhs3 (_a2);
   10611                 :          96 :                                       _q42 = do_valueize (valueize, _q42);
   10612                 :          96 :                                       if (integer_each_onep (_q41))
   10613                 :             :                                         {
   10614                 :           0 :                                           if (integer_zerop (_q42))
   10615                 :             :                                             {
   10616                 :           0 :                                               {
   10617                 :           0 :                                                 tree captures[5] ATTRIBUTE_UNUSED = { _p0, _q30, _q40, _q41, _q42 };
   10618                 :           0 :                                                 if (gimple_simplify_69 (res_op, seq, valueize, type, captures))
   10619                 :           0 :                                                   return true;
   10620                 :             :                                               }
   10621                 :             :                                             }
   10622                 :             :                                         }
   10623                 :             :                                       break;
   10624                 :             :                                     }
   10625                 :             :                                   default:;
   10626                 :             :                                   }
   10627                 :             :                             }
   10628                 :             :                           break;
   10629                 :             :                         default:;
   10630                 :             :                         }
   10631                 :             :                     }
   10632                 :             :                   break;
   10633                 :             :                 }
   10634                 :             :               default:;
   10635                 :             :               }
   10636                 :             :         }
   10637                 :             :       break;
   10638                 :    94167138 :     default:;
   10639                 :             :     }
   10640                 :    94167138 :   switch (TREE_CODE (_p0))
   10641                 :             :     {
   10642                 :    92502262 :     case SSA_NAME:
   10643                 :    92502262 :       if (gimple *_d1 = get_def (valueize, _p0))
   10644                 :             :         {
   10645                 :    31037618 :           if (gassign *_a1 = dyn_cast <gassign *> (_d1))
   10646                 :    27415787 :             switch (gimple_assign_rhs_code (_a1))
   10647                 :             :               {
   10648                 :       59940 :               case VIEW_CONVERT_EXPR:
   10649                 :       59940 :                 {
   10650                 :       59940 :                   tree _q20 = TREE_OPERAND (gimple_assign_rhs1 (_a1), 0);
   10651                 :       59940 :                   if ((TREE_CODE (_q20) == SSA_NAME
   10652                 :       59940 :                        || is_gimple_min_invariant (_q20)))
   10653                 :             :                     {
   10654                 :       59940 :                       _q20 = do_valueize (valueize, _q20);
   10655                 :       59940 :                       switch (TREE_CODE (_q20))
   10656                 :             :                         {
   10657                 :       59845 :                         case SSA_NAME:
   10658                 :       59845 :                           if (gimple *_d2 = get_def (valueize, _q20))
   10659                 :             :                             {
   10660                 :       53521 :                               if (gassign *_a2 = dyn_cast <gassign *> (_d2))
   10661                 :       50698 :                                 switch (gimple_assign_rhs_code (_a2))
   10662                 :             :                                   {
   10663                 :          70 :                                   case VEC_COND_EXPR:
   10664                 :          70 :                                     {
   10665                 :          70 :                                       tree _q30 = gimple_assign_rhs1 (_a2);
   10666                 :          70 :                                       _q30 = do_valueize (valueize, _q30);
   10667                 :          70 :                                       tree _q31 = gimple_assign_rhs2 (_a2);
   10668                 :          70 :                                       _q31 = do_valueize (valueize, _q31);
   10669                 :          70 :                                       tree _q32 = gimple_assign_rhs3 (_a2);
   10670                 :          70 :                                       _q32 = do_valueize (valueize, _q32);
   10671                 :          70 :                                       if (integer_each_onep (_q31))
   10672                 :             :                                         {
   10673                 :           0 :                                           if (integer_zerop (_q32))
   10674                 :             :                                             {
   10675                 :           0 :                                               {
   10676                 :           0 :                                                 tree captures[5] ATTRIBUTE_UNUSED = { _p1, _q20, _q30, _q31, _q32 };
   10677                 :           0 :                                                 if (gimple_simplify_69 (res_op, seq, valueize, type, captures))
   10678                 :           0 :                                                   return true;
   10679                 :             :                                               }
   10680                 :             :                                             }
   10681                 :             :                                         }
   10682                 :             :                                       break;
   10683                 :             :                                     }
   10684                 :             :                                   default:;
   10685                 :             :                                   }
   10686                 :             :                             }
   10687                 :             :                           break;
   10688                 :             :                         default:;
   10689                 :             :                         }
   10690                 :             :                     }
   10691                 :             :                   break;
   10692                 :             :                 }
   10693                 :             :               default:;
   10694                 :             :               }
   10695                 :             :         }
   10696                 :             :       break;
   10697                 :    94167138 :     default:;
   10698                 :             :     }
   10699                 :    94167138 :   switch (TREE_CODE (_p1))
   10700                 :             :     {
   10701                 :    17687221 :     case SSA_NAME:
   10702                 :    17687221 :       if (gimple *_d1 = get_def (valueize, _p1))
   10703                 :             :         {
   10704                 :    12519712 :           if (gassign *_a1 = dyn_cast <gassign *> (_d1))
   10705                 :    10562005 :             switch (gimple_assign_rhs_code (_a1))
   10706                 :             :               {
   10707                 :        4488 :               case VEC_COND_EXPR:
   10708                 :        4488 :                 {
   10709                 :        4488 :                   tree _q30 = gimple_assign_rhs1 (_a1);
   10710                 :        4488 :                   _q30 = do_valueize (valueize, _q30);
   10711                 :        4488 :                   tree _q31 = gimple_assign_rhs2 (_a1);
   10712                 :        4488 :                   _q31 = do_valueize (valueize, _q31);
   10713                 :        4488 :                   tree _q32 = gimple_assign_rhs3 (_a1);
   10714                 :        4488 :                   _q32 = do_valueize (valueize, _q32);
   10715                 :        4488 :                   if (integer_each_onep (_q31))
   10716                 :             :                     {
   10717                 :        2521 :                       if (integer_zerop (_q32))
   10718                 :             :                         {
   10719                 :        2521 :                           {
   10720                 :        2521 :                             tree captures[5] ATTRIBUTE_UNUSED = { _p0, _p1, _q30, _q31, _q32 };
   10721                 :        2521 :                             if (gimple_simplify_69 (res_op, seq, valueize, type, captures))
   10722                 :         570 :                               return true;
   10723                 :             :                           }
   10724                 :             :                         }
   10725                 :             :                     }
   10726                 :             :                   break;
   10727                 :             :                 }
   10728                 :             :               default:;
   10729                 :             :               }
   10730                 :             :         }
   10731                 :             :       break;
   10732                 :    94166568 :     default:;
   10733                 :             :     }
   10734                 :    94166568 :   switch (TREE_CODE (_p0))
   10735                 :             :     {
   10736                 :    92501692 :     case SSA_NAME:
   10737                 :    92501692 :       if (gimple *_d1 = get_def (valueize, _p0))
   10738                 :             :         {
   10739                 :    31037102 :           if (gassign *_a1 = dyn_cast <gassign *> (_d1))
   10740                 :    27415374 :             switch (gimple_assign_rhs_code (_a1))
   10741                 :             :               {
   10742                 :       20348 :               case RDIV_EXPR:
   10743                 :       20348 :                 {
   10744                 :       20348 :                   tree _q20 = gimple_assign_rhs1 (_a1);
   10745                 :       20348 :                   _q20 = do_valueize (valueize, _q20);
   10746                 :       20348 :                   tree _q21 = gimple_assign_rhs2 (_a1);
   10747                 :       20348 :                   _q21 = do_valueize (valueize, _q21);
   10748                 :       20348 :                   switch (TREE_CODE (_p1))
   10749                 :             :                     {
   10750                 :       13009 :                     case SSA_NAME:
   10751                 :       13009 :                       if (gimple *_d2 = get_def (valueize, _p1))
   10752                 :             :                         {
   10753                 :       11936 :                           if (gassign *_a2 = dyn_cast <gassign *> (_d2))
   10754                 :        6339 :                             switch (gimple_assign_rhs_code (_a2))
   10755                 :             :                               {
   10756                 :        2025 :                               case RDIV_EXPR:
   10757                 :        2025 :                                 {
   10758                 :        2025 :                                   tree _q50 = gimple_assign_rhs1 (_a2);
   10759                 :        2025 :                                   _q50 = do_valueize (valueize, _q50);
   10760                 :        2025 :                                   tree _q51 = gimple_assign_rhs2 (_a2);
   10761                 :        2025 :                                   _q51 = do_valueize (valueize, _q51);
   10762                 :        2025 :                                   if ((_q51 == _q21 && ! TREE_SIDE_EFFECTS (_q51)) || (operand_equal_p (_q51, _q21, 0) && types_match (_q51, _q21)))
   10763                 :             :                                     {
   10764                 :         272 :                                       {
   10765                 :         272 :                                         tree captures[3] ATTRIBUTE_UNUSED = { _q20, _q21, _q50 };
   10766                 :         272 :                                         if (gimple_simplify_70 (res_op, seq, valueize, type, captures, PLUS_EXPR))
   10767                 :           4 :                                           return true;
   10768                 :             :                                       }
   10769                 :             :                                     }
   10770                 :             :                                   break;
   10771                 :             :                                 }
   10772                 :             :                               default:;
   10773                 :             :                               }
   10774                 :             :                         }
   10775                 :             :                       break;
   10776                 :             :                     default:;
   10777                 :             :                     }
   10778                 :             :                   break;
   10779                 :             :                 }
   10780                 :      906670 :               case MINUS_EXPR:
   10781                 :      906670 :                 {
   10782                 :      906670 :                   tree _q20 = gimple_assign_rhs1 (_a1);
   10783                 :      906670 :                   _q20 = do_valueize (valueize, _q20);
   10784                 :      906670 :                   tree _q21 = gimple_assign_rhs2 (_a1);
   10785                 :      906670 :                   _q21 = do_valueize (valueize, _q21);
   10786                 :      906670 :                   switch (TREE_CODE (_q20))
   10787                 :             :                     {
   10788                 :      877779 :                     case SSA_NAME:
   10789                 :      877779 :                       if (gimple *_d2 = get_def (valueize, _q20))
   10790                 :             :                         {
   10791                 :      822610 :                           if (gcall *_c2 = dyn_cast <gcall *> (_d2))
   10792                 :        2183 :                             switch (gimple_call_combined_fn (_c2))
   10793                 :             :                               {
   10794                 :           0 :                               case CFN_BUILT_IN_POPCOUNT:
   10795                 :           0 :                                 if (gimple_call_num_args (_c2) == 1)
   10796                 :             :                                   {
   10797                 :           0 :                                     tree _q30 = gimple_call_arg (_c2, 0);
   10798                 :           0 :                                     _q30 = do_valueize (valueize, _q30);
   10799                 :           0 :                                     switch (TREE_CODE (_q21))
   10800                 :             :                                       {
   10801                 :           0 :                                       case SSA_NAME:
   10802                 :           0 :                                         if (gimple *_d3 = get_def (valueize, _q21))
   10803                 :             :                                           {
   10804                 :           0 :                                             if (gcall *_c3 = dyn_cast <gcall *> (_d3))
   10805                 :           0 :                                               switch (gimple_call_combined_fn (_c3))
   10806                 :             :                                                 {
   10807                 :           0 :                                                 case CFN_BUILT_IN_POPCOUNT:
   10808                 :           0 :                                                   if (gimple_call_num_args (_c3) == 1)
   10809                 :             :                                                     {
   10810                 :           0 :                                                       tree _q50 = gimple_call_arg (_c3, 0);
   10811                 :           0 :                                                       _q50 = do_valueize (valueize, _q50);
   10812                 :           0 :                                                       switch (TREE_CODE (_q50))
   10813                 :             :                                                         {
   10814                 :           0 :                                                         case SSA_NAME:
   10815                 :           0 :                                                           if (gimple *_d4 = get_def (valueize, _q50))
   10816                 :             :                                                             {
   10817                 :           0 :                                                               if (gassign *_a4 = dyn_cast <gassign *> (_d4))
   10818                 :           0 :                                                                 switch (gimple_assign_rhs_code (_a4))
   10819                 :             :                                                                   {
   10820                 :           0 :                                                                   case BIT_AND_EXPR:
   10821                 :           0 :                                                                     {
   10822                 :           0 :                                                                       tree _q60 = gimple_assign_rhs1 (_a4);
   10823                 :           0 :                                                                       _q60 = do_valueize (valueize, _q60);
   10824                 :           0 :                                                                       tree _q61 = gimple_assign_rhs2 (_a4);
   10825                 :           0 :                                                                       _q61 = do_valueize (valueize, _q61);
   10826                 :           0 :                                                                       if (tree_swap_operands_p (_q60, _q61))
   10827                 :           0 :                                                                         std::swap (_q60, _q61);
   10828                 :           0 :                                                                       if ((_q60 == _q30 && ! TREE_SIDE_EFFECTS (_q60)) || (operand_equal_p (_q60, _q30, 0) && types_match (_q60, _q30)))
   10829                 :             :                                                                         {
   10830                 :           0 :                                                                           switch (TREE_CODE (_p1))
   10831                 :             :                                                                             {
   10832                 :           0 :                                                                             case SSA_NAME:
   10833                 :           0 :                                                                               if (gimple *_d5 = get_def (valueize, _p1))
   10834                 :             :                                                                                 {
   10835                 :           0 :                                                                                   if (gcall *_c5 = dyn_cast <gcall *> (_d5))
   10836                 :           0 :                                                                                     switch (gimple_call_combined_fn (_c5))
   10837                 :             :                                                                                       {
   10838                 :           0 :                                                                                       case CFN_BUILT_IN_POPCOUNT:
   10839                 :           0 :                                                                                         if (gimple_call_num_args (_c5) == 1)
   10840                 :             :                                                                                           {
   10841                 :           0 :                                                                                             tree _q90 = gimple_call_arg (_c5, 0);
   10842                 :           0 :                                                                                             _q90 = do_valueize (valueize, _q90);
   10843                 :           0 :                                                                                             if ((_q90 == _q61 && ! TREE_SIDE_EFFECTS (_q90)) || (operand_equal_p (_q90, _q61, 0) && types_match (_q90, _q61)))
   10844                 :             :                                                                                               {
   10845                 :           0 :                                                                                                 {
   10846                 :           0 :                                                                                                   tree captures[7] ATTRIBUTE_UNUSED = { _p0, _q20, _q30, _q21, _q50, _q61, _p1 };
   10847                 :           0 :                                                                                                   if (gimple_simplify_73 (res_op, seq, valueize, type, captures, BIT_AND_EXPR, BIT_IOR_EXPR, CFN_BUILT_IN_POPCOUNT))
   10848                 :           0 :                                                                                                     return true;
   10849                 :             :                                                                                                 }
   10850                 :             :                                                                                               }
   10851                 :             :                                                                                           }
   10852                 :             :                                                                                         break;
   10853                 :             :                                                                                       default:;
   10854                 :             :                                                                                       }
   10855                 :             :                                                                                 }
   10856                 :             :                                                                               break;
   10857                 :             :                                                                             default:;
   10858                 :             :                                                                             }
   10859                 :             :                                                                         }
   10860                 :           0 :                                                                       if ((_q61 == _q30 && ! TREE_SIDE_EFFECTS (_q61)) || (operand_equal_p (_q61, _q30, 0) && types_match (_q61, _q30)))
   10861                 :             :                                                                         {
   10862                 :           0 :                                                                           switch (TREE_CODE (_p1))
   10863                 :             :                                                                             {
   10864                 :           0 :                                                                             case SSA_NAME:
   10865                 :           0 :                                                                               if (gimple *_d5 = get_def (valueize, _p1))
   10866                 :             :                                                                                 {
   10867                 :           0 :                                                                                   if (gcall *_c5 = dyn_cast <gcall *> (_d5))
   10868                 :           0 :                                                                                     switch (gimple_call_combined_fn (_c5))
   10869                 :             :                                                                                       {
   10870                 :           0 :                                                                                       case CFN_BUILT_IN_POPCOUNT:
   10871                 :           0 :                                                                                         if (gimple_call_num_args (_c5) == 1)
   10872                 :             :                                                                                           {
   10873                 :           0 :                                                                                             tree _q90 = gimple_call_arg (_c5, 0);
   10874                 :           0 :                                                                                             _q90 = do_valueize (valueize, _q90);
   10875                 :           0 :                                                                                             if ((_q90 == _q60 && ! TREE_SIDE_EFFECTS (_q90)) || (operand_equal_p (_q90, _q60, 0) && types_match (_q90, _q60)))
   10876                 :             :                                                                                               {
   10877                 :           0 :                                                                                                 {
   10878                 :           0 :                                                                                                   tree captures[7] ATTRIBUTE_UNUSED = { _p0, _q20, _q30, _q21, _q50, _q60, _p1 };
   10879                 :           0 :                                                                                                   if (gimple_simplify_73 (res_op, seq, valueize, type, captures, BIT_AND_EXPR, BIT_IOR_EXPR, CFN_BUILT_IN_POPCOUNT))
   10880                 :           0 :                                                                                                     return true;
   10881                 :             :                                                                                                 }
   10882                 :             :                                                                                               }
   10883                 :             :                                                                                           }
   10884                 :             :                                                                                         break;
   10885                 :             :                                                                                       default:;
   10886                 :             :                                                                                       }
   10887                 :             :                                                                                 }
   10888                 :             :                                                                               break;
   10889                 :             :                                                                             default:;
   10890                 :             :                                                                             }
   10891                 :             :                                                                         }
   10892                 :    94166506 :                                                                       break;
   10893                 :             :                                                                     }
   10894                 :           0 :                                                                   case BIT_IOR_EXPR:
   10895                 :           0 :                                                                     {
   10896                 :           0 :                                                                       tree _q60 = gimple_assign_rhs1 (_a4);
   10897                 :           0 :                                                                       _q60 = do_valueize (valueize, _q60);
   10898                 :           0 :                                                                       tree _q61 = gimple_assign_rhs2 (_a4);
   10899                 :           0 :                                                                       _q61 = do_valueize (valueize, _q61);
   10900                 :           0 :                                                                       if (tree_swap_operands_p (_q60, _q61))
   10901                 :           0 :                                                                         std::swap (_q60, _q61);
   10902                 :           0 :                                                                       if ((_q60 == _q30 && ! TREE_SIDE_EFFECTS (_q60)) || (operand_equal_p (_q60, _q30, 0) && types_match (_q60, _q30)))
   10903                 :             :                                                                         {
   10904                 :           0 :                                                                           switch (TREE_CODE (_p1))
   10905                 :             :                                                                             {
   10906                 :           0 :                                                                             case SSA_NAME:
   10907                 :           0 :                                                                               if (gimple *_d5 = get_def (valueize, _p1))
   10908                 :             :                                                                                 {
   10909                 :           0 :                                                                                   if (gcall *_c5 = dyn_cast <gcall *> (_d5))
   10910                 :           0 :                                                                                     switch (gimple_call_combined_fn (_c5))
   10911                 :             :                                                                                       {
   10912                 :           0 :                                                                                       case CFN_BUILT_IN_POPCOUNT:
   10913                 :           0 :                                                                                         if (gimple_call_num_args (_c5) == 1)
   10914                 :             :                                                                                           {
   10915                 :           0 :                                                                                             tree _q90 = gimple_call_arg (_c5, 0);
   10916                 :           0 :                                                                                             _q90 = do_valueize (valueize, _q90);
   10917                 :           0 :                                                                                             if ((_q90 == _q61 && ! TREE_SIDE_EFFECTS (_q90)) || (operand_equal_p (_q90, _q61, 0) && types_match (_q90, _q61)))
   10918                 :             :                                                                                               {
   10919                 :           0 :                                                                                                 {
   10920                 :           0 :                                                                                                   tree captures[7] ATTRIBUTE_UNUSED = { _p0, _q20, _q30, _q21, _q50, _q61, _p1 };
   10921                 :           0 :                                                                                                   if (gimple_simplify_73 (res_op, seq, valueize, type, captures, BIT_IOR_EXPR, BIT_AND_EXPR, CFN_BUILT_IN_POPCOUNT))
   10922                 :           0 :                                                                                                     return true;
   10923                 :             :                                                                                                 }
   10924                 :             :                                                                                               }
   10925                 :             :                                                                                           }
   10926                 :             :                                                                                         break;
   10927                 :             :                                                                                       default:;
   10928                 :             :                                                                                       }
   10929                 :             :                                                                                 }
   10930                 :             :                                                                               break;
   10931                 :             :                                                                             default:;
   10932                 :             :                                                                             }
   10933                 :             :                                                                         }
   10934                 :           0 :                                                                       if ((_q61 == _q30 && ! TREE_SIDE_EFFECTS (_q61)) || (operand_equal_p (_q61, _q30, 0) && types_match (_q61, _q30)))
   10935                 :             :                                                                         {
   10936                 :           0 :                                                                           switch (TREE_CODE (_p1))
   10937                 :             :                                                                             {
   10938                 :           0 :                                                                             case SSA_NAME:
   10939                 :           0 :                                                                               if (gimple *_d5 = get_def (valueize, _p1))
   10940                 :             :                                                                                 {
   10941                 :           0 :                                                                                   if (gcall *_c5 = dyn_cast <gcall *> (_d5))
   10942                 :           0 :                                                                                     switch (gimple_call_combined_fn (_c5))
   10943                 :             :                                                                                       {
   10944                 :           0 :                                                                                       case CFN_BUILT_IN_POPCOUNT:
   10945                 :           0 :                                                                                         if (gimple_call_num_args (_c5) == 1)
   10946                 :             :                                                                                           {
   10947                 :           0 :                                                                                             tree _q90 = gimple_call_arg (_c5, 0);
   10948                 :           0 :                                                                                             _q90 = do_valueize (valueize, _q90);
   10949                 :           0 :                                                                                             if ((_q90 == _q60 && ! TREE_SIDE_EFFECTS (_q90)) || (operand_equal_p (_q90, _q60, 0) && types_match (_q90, _q60)))
   10950                 :             :                                                                                               {
   10951                 :           0 :                                                                                                 {
   10952                 :           0 :                                                                                                   tree captures[7] ATTRIBUTE_UNUSED = { _p0, _q20, _q30, _q21, _q50, _q60, _p1 };
   10953                 :           0 :                                                                                                   if (gimple_simplify_73 (res_op, seq, valueize, type, captures, BIT_IOR_EXPR, BIT_AND_EXPR, CFN_BUILT_IN_POPCOUNT))
   10954                 :           0 :                                                                                                     return true;
   10955                 :             :                                                                                                 }
   10956                 :             :                                                                                               }
   10957                 :             :                                                                                           }
   10958                 :             :                                                                                         break;
   10959                 :             :                                                                                       default:;
   10960                 :             :                                                                                       }
   10961                 :             :                                                                                 }
   10962                 :             :                                                                               break;
   10963                 :             :                                                                             default:;
   10964                 :             :                                                                             }
   10965                 :             :                                                                         }
   10966                 :    94166506 :                                                                       break;
   10967                 :             :                                                                     }
   10968                 :             :                                                                   default:;
   10969                 :             :                                                                   }
   10970                 :             :                                                             }
   10971                 :             :                                                           break;
   10972                 :             :                                                         default:;
   10973                 :             :                                                         }
   10974                 :             :                                                     }
   10975                 :             :                                                   break;
   10976                 :             :                                                 default:;
   10977                 :             :                                                 }
   10978                 :             :                                           }
   10979                 :             :                                         break;
   10980                 :             :                                       default:;
   10981                 :             :                                       }
   10982                 :             :                                   }
   10983                 :             :                                 break;
   10984                 :           0 :                               case CFN_BUILT_IN_POPCOUNTLL:
   10985                 :           0 :                                 if (gimple_call_num_args (_c2) == 1)
   10986                 :             :                                   {
   10987                 :           0 :                                     tree _q30 = gimple_call_arg (_c2, 0);
   10988                 :           0 :                                     _q30 = do_valueize (valueize, _q30);
   10989                 :           0 :                                     switch (TREE_CODE (_q21))
   10990                 :             :                                       {
   10991                 :           0 :                                       case SSA_NAME:
   10992                 :           0 :                                         if (gimple *_d3 = get_def (valueize, _q21))
   10993                 :             :                                           {
   10994                 :           0 :                                             if (gcall *_c3 = dyn_cast <gcall *> (_d3))
   10995                 :           0 :                                               switch (gimple_call_combined_fn (_c3))
   10996                 :             :                                                 {
   10997                 :           0 :                                                 case CFN_BUILT_IN_POPCOUNTLL:
   10998                 :           0 :                                                   if (gimple_call_num_args (_c3) == 1)
   10999                 :             :                                                     {
   11000                 :           0 :                                                       tree _q50 = gimple_call_arg (_c3, 0);
   11001                 :           0 :                                                       _q50 = do_valueize (valueize, _q50);
   11002                 :           0 :                                                       switch (TREE_CODE (_q50))
   11003                 :             :                                                         {
   11004                 :           0 :                                                         case SSA_NAME:
   11005                 :           0 :                                                           if (gimple *_d4 = get_def (valueize, _q50))
   11006                 :             :                                                             {
   11007                 :           0 :                                                               if (gassign *_a4 = dyn_cast <gassign *> (_d4))
   11008                 :           0 :                                                                 switch (gimple_assign_rhs_code (_a4))
   11009                 :             :                                                                   {
   11010                 :           0 :                                                                   case BIT_AND_EXPR:
   11011                 :           0 :                                                                     {
   11012                 :           0 :                                                                       tree _q60 = gimple_assign_rhs1 (_a4);
   11013                 :           0 :                                                                       _q60 = do_valueize (valueize, _q60);
   11014                 :           0 :                                                                       tree _q61 = gimple_assign_rhs2 (_a4);
   11015                 :           0 :                                                                       _q61 = do_valueize (valueize, _q61);
   11016                 :           0 :                                                                       if (tree_swap_operands_p (_q60, _q61))
   11017                 :           0 :                                                                         std::swap (_q60, _q61);
   11018                 :           0 :                                                                       if ((_q60 == _q30 && ! TREE_SIDE_EFFECTS (_q60)) || (operand_equal_p (_q60, _q30, 0) && types_match (_q60, _q30)))
   11019                 :             :                                                                         {
   11020                 :           0 :                                                                           switch (TREE_CODE (_p1))
   11021                 :             :                                                                             {
   11022                 :           0 :                                                                             case SSA_NAME:
   11023                 :           0 :                                                                               if (gimple *_d5 = get_def (valueize, _p1))
   11024                 :             :                                                                                 {
   11025                 :           0 :                                                                                   if (gcall *_c5 = dyn_cast <gcall *> (_d5))
   11026                 :           0 :                                                                                     switch (gimple_call_combined_fn (_c5))
   11027                 :             :                                                                                       {
   11028                 :           0 :                                                                                       case CFN_BUILT_IN_POPCOUNTLL:
   11029                 :           0 :                                                                                         if (gimple_call_num_args (_c5) == 1)
   11030                 :             :                                                                                           {
   11031                 :           0 :                                                                                             tree _q90 = gimple_call_arg (_c5, 0);
   11032                 :           0 :                                                                                             _q90 = do_valueize (valueize, _q90);
   11033                 :           0 :                                                                                             if ((_q90 == _q61 && ! TREE_SIDE_EFFECTS (_q90)) || (operand_equal_p (_q90, _q61, 0) && types_match (_q90, _q61)))
   11034                 :             :                                                                                               {
   11035                 :           0 :                                                                                                 {
   11036                 :           0 :                                                                                                   tree captures[7] ATTRIBUTE_UNUSED = { _p0, _q20, _q30, _q21, _q50, _q61, _p1 };
   11037                 :           0 :                                                                                                   if (gimple_simplify_73 (res_op, seq, valueize, type, captures, BIT_AND_EXPR, BIT_IOR_EXPR, CFN_BUILT_IN_POPCOUNTLL))
   11038                 :           0 :                                                                                                     return true;
   11039                 :             :                                                                                                 }
   11040                 :             :                                                                                               }
   11041                 :             :                                                                                           }
   11042                 :             :                                                                                         break;
   11043                 :             :                                                                                       default:;
   11044                 :             :                                                                                       }
   11045                 :             :                                                                                 }
   11046                 :             :                                                                               break;
   11047                 :             :                                                                             default:;
   11048                 :             :                                                                             }
   11049                 :             :                                                                         }
   11050                 :           0 :                                                                       if ((_q61 == _q30 && ! TREE_SIDE_EFFECTS (_q61)) || (operand_equal_p (_q61, _q30, 0) && types_match (_q61, _q30)))
   11051                 :             :                                                                         {
   11052                 :           0 :                                                                           switch (TREE_CODE (_p1))
   11053                 :             :                                                                             {
   11054                 :           0 :                                                                             case SSA_NAME:
   11055                 :           0 :                                                                               if (gimple *_d5 = get_def (valueize, _p1))
   11056                 :             :                                                                                 {
   11057                 :           0 :                                                                                   if (gcall *_c5 = dyn_cast <gcall *> (_d5))
   11058                 :           0 :                                                                                     switch (gimple_call_combined_fn (_c5))
   11059                 :             :                                                                                       {
   11060                 :           0 :                                                                                       case CFN_BUILT_IN_POPCOUNTLL:
   11061                 :           0 :                                                                                         if (gimple_call_num_args (_c5) == 1)
   11062                 :             :                                                                                           {
   11063                 :           0 :                                                                                             tree _q90 = gimple_call_arg (_c5, 0);
   11064                 :           0 :                                                                                             _q90 = do_valueize (valueize, _q90);
   11065                 :           0 :                                                                                             if ((_q90 == _q60 && ! TREE_SIDE_EFFECTS (_q90)) || (operand_equal_p (_q90, _q60, 0) && types_match (_q90, _q60)))
   11066                 :             :                                                                                               {
   11067                 :           0 :                                                                                                 {
   11068                 :           0 :                                                                                                   tree captures[7] ATTRIBUTE_UNUSED = { _p0, _q20, _q30, _q21, _q50, _q60, _p1 };
   11069                 :           0 :                                                                                                   if (gimple_simplify_73 (res_op, seq, valueize, type, captures, BIT_AND_EXPR, BIT_IOR_EXPR, CFN_BUILT_IN_POPCOUNTLL))
   11070                 :           0 :                                                                                                     return true;
   11071                 :             :                                                                                                 }
   11072                 :             :                                                                                               }
   11073                 :             :                                                                                           }
   11074                 :             :                                                                                         break;
   11075                 :             :                                                                                       default:;
   11076                 :             :                                                                                       }
   11077                 :             :                                                                                 }
   11078                 :             :                                                                               break;
   11079                 :             :                                                                             default:;
   11080                 :             :                                                                             }
   11081                 :             :                                                                         }
   11082                 :    94166506 :                                                                       break;
   11083                 :             :                                                                     }
   11084                 :           0 :                                                                   case BIT_IOR_EXPR:
   11085                 :           0 :                                                                     {
   11086                 :           0 :                                                                       tree _q60 = gimple_assign_rhs1 (_a4);
   11087                 :           0 :                                                                       _q60 = do_valueize (valueize, _q60);
   11088                 :           0 :                                                                       tree _q61 = gimple_assign_rhs2 (_a4);
   11089                 :           0 :                                                                       _q61 = do_valueize (valueize, _q61);
   11090                 :           0 :                                                                       if (tree_swap_operands_p (_q60, _q61))
   11091                 :           0 :                                                                         std::swap (_q60, _q61);
   11092                 :           0 :                                                                       if ((_q60 == _q30 && ! TREE_SIDE_EFFECTS (_q60)) || (operand_equal_p (_q60, _q30, 0) && types_match (_q60, _q30)))
   11093                 :             :                                                                         {
   11094                 :           0 :                                                                           switch (TREE_CODE (_p1))
   11095                 :             :                                                                             {
   11096                 :           0 :                                                                             case SSA_NAME:
   11097                 :           0 :                                                                               if (gimple *_d5 = get_def (valueize, _p1))
   11098                 :             :                                                                                 {
   11099                 :           0 :                                                                                   if (gcall *_c5 = dyn_cast <gcall *> (_d5))
   11100                 :           0 :                                                                                     switch (gimple_call_combined_fn (_c5))
   11101                 :             :                                                                                       {
   11102                 :           0 :                                                                                       case CFN_BUILT_IN_POPCOUNTLL:
   11103                 :           0 :                                                                                         if (gimple_call_num_args (_c5) == 1)
   11104                 :             :                                                                                           {
   11105                 :           0 :                                                                                             tree _q90 = gimple_call_arg (_c5, 0);
   11106                 :           0 :                                                                                             _q90 = do_valueize (valueize, _q90);
   11107                 :           0 :                                                                                             if ((_q90 == _q61 && ! TREE_SIDE_EFFECTS (_q90)) || (operand_equal_p (_q90, _q61, 0) && types_match (_q90, _q61)))
   11108                 :             :                                                                                               {
   11109                 :           0 :                                                                                                 {
   11110                 :           0 :                                                                                                   tree captures[7] ATTRIBUTE_UNUSED = { _p0, _q20, _q30, _q21, _q50, _q61, _p1 };
   11111                 :           0 :                                                                                                   if (gimple_simplify_73 (res_op, seq, valueize, type, captures, BIT_IOR_EXPR, BIT_AND_EXPR, CFN_BUILT_IN_POPCOUNTLL))
   11112                 :           0 :                                                                                                     return true;
   11113                 :             :                                                                                                 }
   11114                 :             :                                                                                               }
   11115                 :             :                                                                                           }
   11116                 :             :                                                                                         break;
   11117                 :             :                                                                                       default:;
   11118                 :             :                                                                                       }
   11119                 :             :                                                                                 }
   11120                 :             :                                                                               break;
   11121                 :             :                                                                             default:;
   11122                 :             :                                                                             }
   11123                 :             :                                                                         }
   11124                 :           0 :                                                                       if ((_q61 == _q30 && ! TREE_SIDE_EFFECTS (_q61)) || (operand_equal_p (_q61, _q30, 0) && types_match (_q61, _q30)))
   11125                 :             :                                                                         {
   11126                 :           0 :                                                                           switch (TREE_CODE (_p1))
   11127                 :             :                                                                             {
   11128                 :           0 :                                                                             case SSA_NAME:
   11129                 :           0 :                                                                               if (gimple *_d5 = get_def (valueize, _p1))
   11130                 :             :                                                                                 {
   11131                 :           0 :                                                                                   if (gcall *_c5 = dyn_cast <gcall *> (_d5))
   11132                 :           0 :                                                                                     switch (gimple_call_combined_fn (_c5))
   11133                 :             :                                                                                       {
   11134                 :           0 :                                                                                       case CFN_BUILT_IN_POPCOUNTLL:
   11135                 :           0 :                                                                                         if (gimple_call_num_args (_c5) == 1)
   11136                 :             :                                                                                           {
   11137                 :           0 :                                                                                             tree _q90 = gimple_call_arg (_c5, 0);
   11138                 :           0 :                                                                                             _q90 = do_valueize (valueize, _q90);
   11139                 :           0 :                                                                                             if ((_q90 == _q60 && ! TREE_SIDE_EFFECTS (_q90)) || (operand_equal_p (_q90, _q60, 0) && types_match (_q90, _q60)))
   11140                 :             :                                                                                               {
   11141                 :           0 :                                                                                                 {
   11142                 :           0 :                                                                                                   tree captures[7] ATTRIBUTE_UNUSED = { _p0, _q20, _q30, _q21, _q50, _q60, _p1 };
   11143                 :           0 :                                                                                                   if (gimple_simplify_73 (res_op, seq, valueize, type, captures, BIT_IOR_EXPR, BIT_AND_EXPR, CFN_BUILT_IN_POPCOUNTLL))
   11144                 :           0 :                                                                                                     return true;
   11145                 :             :                                                                                                 }
   11146                 :             :                                                                                               }
   11147                 :             :                                                                                           }
   11148                 :             :                                                                                         break;
   11149                 :             :                                                                                       default:;
   11150                 :             :                                                                                       }
   11151                 :             :                                                                                 }
   11152                 :             :                                                                               break;
   11153                 :             :                                                                             default:;
   11154                 :             :                                                                             }
   11155                 :             :                                                                         }
   11156                 :    94166506 :                                                                       break;
   11157                 :             :                                                                     }
   11158                 :             :                                                                   default:;
   11159                 :             :                                                                   }
   11160                 :             :                                                             }
   11161                 :             :                                                           break;
   11162                 :             :                                                         default:;
   11163                 :             :                                                         }
   11164                 :             :                                                     }
   11165                 :             :                                                   break;
   11166                 :             :                                                 default:;
   11167                 :             :                                                 }
   11168                 :             :                                           }
   11169                 :             :                                         break;
   11170                 :             :                                       default:;
   11171                 :             :                                       }
   11172                 :             :                                   }
   11173                 :             :                                 break;
   11174                 :           0 :                               case CFN_POPCOUNT:
   11175                 :           0 :                                 if (gimple_call_num_args (_c2) == 1)
   11176                 :             :                                   {
   11177                 :           0 :                                     tree _q30 = gimple_call_arg (_c2, 0);
   11178                 :           0 :                                     _q30 = do_valueize (valueize, _q30);
   11179                 :           0 :                                     switch (TREE_CODE (_q21))
   11180                 :             :                                       {
   11181                 :           0 :                                       case SSA_NAME:
   11182                 :           0 :                                         if (gimple *_d3 = get_def (valueize, _q21))
   11183                 :             :                                           {
   11184                 :           0 :                                             if (gcall *_c3 = dyn_cast <gcall *> (_d3))
   11185                 :           0 :                                               switch (gimple_call_combined_fn (_c3))
   11186                 :             :                                                 {
   11187                 :           0 :                                                 case CFN_POPCOUNT:
   11188                 :           0 :                                                   if (gimple_call_num_args (_c3) == 1)
   11189                 :             :                                                     {
   11190                 :           0 :                                                       tree _q50 = gimple_call_arg (_c3, 0);
   11191                 :           0 :                                                       _q50 = do_valueize (valueize, _q50);
   11192                 :           0 :                                                       switch (TREE_CODE (_q50))
   11193                 :             :                                                         {
   11194                 :           0 :                                                         case SSA_NAME:
   11195                 :           0 :                                                           if (gimple *_d4 = get_def (valueize, _q50))
   11196                 :             :                                                             {
   11197                 :           0 :                                                               if (gassign *_a4 = dyn_cast <gassign *> (_d4))
   11198                 :           0 :                                                                 switch (gimple_assign_rhs_code (_a4))
   11199                 :             :                                                                   {
   11200                 :           0 :                                                                   case BIT_AND_EXPR:
   11201                 :           0 :                                                                     {
   11202                 :           0 :                                                                       tree _q60 = gimple_assign_rhs1 (_a4);
   11203                 :           0 :                                                                       _q60 = do_valueize (valueize, _q60);
   11204                 :           0 :                                                                       tree _q61 = gimple_assign_rhs2 (_a4);
   11205                 :           0 :                                                                       _q61 = do_valueize (valueize, _q61);
   11206                 :           0 :                                                                       if (tree_swap_operands_p (_q60, _q61))
   11207                 :           0 :                                                                         std::swap (_q60, _q61);
   11208                 :           0 :                                                                       if ((_q60 == _q30 && ! TREE_SIDE_EFFECTS (_q60)) || (operand_equal_p (_q60, _q30, 0) && types_match (_q60, _q30)))
   11209                 :             :                                                                         {
   11210                 :           0 :                                                                           switch (TREE_CODE (_p1))
   11211                 :             :                                                                             {
   11212                 :           0 :                                                                             case SSA_NAME:
   11213                 :           0 :                                                                               if (gimple *_d5 = get_def (valueize, _p1))
   11214                 :             :                                                                                 {
   11215                 :           0 :                                                                                   if (gcall *_c5 = dyn_cast <gcall *> (_d5))
   11216                 :           0 :                                                                                     switch (gimple_call_combined_fn (_c5))
   11217                 :             :                                                                                       {
   11218                 :           0 :                                                                                       case CFN_POPCOUNT:
   11219                 :           0 :                                                                                         if (gimple_call_num_args (_c5) == 1)
   11220                 :             :                                                                                           {
   11221                 :           0 :                                                                                             tree _q90 = gimple_call_arg (_c5, 0);
   11222                 :           0 :                                                                                             _q90 = do_valueize (valueize, _q90);
   11223                 :           0 :                                                                                             if ((_q90 == _q61 && ! TREE_SIDE_EFFECTS (_q90)) || (operand_equal_p (_q90, _q61, 0) && types_match (_q90, _q61)))
   11224                 :             :                                                                                               {
   11225                 :           0 :                                                                                                 {
   11226                 :           0 :                                                                                                   tree captures[7] ATTRIBUTE_UNUSED = { _p0, _q20, _q30, _q21, _q50, _q61, _p1 };
   11227                 :           0 :                                                                                                   if (gimple_simplify_73 (res_op, seq, valueize, type, captures, BIT_AND_EXPR, BIT_IOR_EXPR, CFN_POPCOUNT))
   11228                 :           0 :                                                                                                     return true;
   11229                 :             :                                                                                                 }
   11230                 :             :                                                                                               }
   11231                 :             :                                                                                           }
   11232                 :             :                                                                                         break;
   11233                 :             :                                                                                       default:;
   11234                 :             :                                                                                       }
   11235                 :             :                                                                                 }
   11236                 :             :                                                                               break;
   11237                 :             :                                                                             default:;
   11238                 :             :                                                                             }
   11239                 :             :                                                                         }
   11240                 :           0 :                                                                       if ((_q61 == _q30 && ! TREE_SIDE_EFFECTS (_q61)) || (operand_equal_p (_q61, _q30, 0) && types_match (_q61, _q30)))
   11241                 :             :                                                                         {
   11242                 :           0 :                                                                           switch (TREE_CODE (_p1))
   11243                 :             :                                                                             {
   11244                 :           0 :                                                                             case SSA_NAME:
   11245                 :           0 :                                                                               if (gimple *_d5 = get_def (valueize, _p1))
   11246                 :             :                                                                                 {
   11247                 :           0 :                                                                                   if (gcall *_c5 = dyn_cast <gcall *> (_d5))
   11248                 :           0 :                                                                                     switch (gimple_call_combined_fn (_c5))
   11249                 :             :                                                                                       {
   11250                 :           0 :                                                                                       case CFN_POPCOUNT:
   11251                 :           0 :                                                                                         if (gimple_call_num_args (_c5) == 1)
   11252                 :             :                                                                                           {
   11253                 :           0 :                                                                                             tree _q90 = gimple_call_arg (_c5, 0);
   11254                 :           0 :                                                                                             _q90 = do_valueize (valueize, _q90);
   11255                 :           0 :                                                                                             if ((_q90 == _q60 && ! TREE_SIDE_EFFECTS (_q90)) || (operand_equal_p (_q90, _q60, 0) && types_match (_q90, _q60)))
   11256                 :             :                                                                                               {
   11257                 :           0 :                                                                                                 {
   11258                 :           0 :                                                                                                   tree captures[7] ATTRIBUTE_UNUSED = { _p0, _q20, _q30, _q21, _q50, _q60, _p1 };
   11259                 :           0 :                                                                                                   if (gimple_simplify_73 (res_op, seq, valueize, type, captures, BIT_AND_EXPR, BIT_IOR_EXPR, CFN_POPCOUNT))
   11260                 :           0 :                                                                                                     return true;
   11261                 :             :                                                                                                 }
   11262                 :             :                                                                                               }
   11263                 :             :                                                                                           }
   11264                 :             :                                                                                         break;
   11265                 :             :                                                                                       default:;
   11266                 :             :                                                                                       }
   11267                 :             :                                                                                 }
   11268                 :             :                                                                               break;
   11269                 :             :                                                                             default:;
   11270                 :             :                                                                             }
   11271                 :             :                                                                         }
   11272                 :    94166506 :                                                                       break;
   11273                 :             :                                                                     }
   11274                 :           0 :                                                                   case BIT_IOR_EXPR:
   11275                 :           0 :                                                                     {
   11276                 :           0 :                                                                       tree _q60 = gimple_assign_rhs1 (_a4);
   11277                 :           0 :                                                                       _q60 = do_valueize (valueize, _q60);
   11278                 :           0 :                                                                       tree _q61 = gimple_assign_rhs2 (_a4);
   11279                 :           0 :                                                                       _q61 = do_valueize (valueize, _q61);
   11280                 :           0 :                                                                       if (tree_swap_operands_p (_q60, _q61))
   11281                 :           0 :                                                                         std::swap (_q60, _q61);
   11282                 :           0 :                                                                       if ((_q60 == _q30 && ! TREE_SIDE_EFFECTS (_q60)) || (operand_equal_p (_q60, _q30, 0) && types_match (_q60, _q30)))
   11283                 :             :                                                                         {
   11284                 :           0 :                                                                           switch (TREE_CODE (_p1))
   11285                 :             :                                                                             {
   11286                 :           0 :                                                                             case SSA_NAME:
   11287                 :           0 :                                                                               if (gimple *_d5 = get_def (valueize, _p1))
   11288                 :             :                                                                                 {
   11289                 :           0 :                                                                                   if (gcall *_c5 = dyn_cast <gcall *> (_d5))
   11290                 :           0 :                                                                                     switch (gimple_call_combined_fn (_c5))
   11291                 :             :                                                                                       {
   11292                 :           0 :                                                                                       case CFN_POPCOUNT:
   11293                 :           0 :                                                                                         if (gimple_call_num_args (_c5) == 1)
   11294                 :             :                                                                                           {
   11295                 :           0 :                                                                                             tree _q90 = gimple_call_arg (_c5, 0);
   11296                 :           0 :                                                                                             _q90 = do_valueize (valueize, _q90);
   11297                 :           0 :                                                                                             if ((_q90 == _q61 && ! TREE_SIDE_EFFECTS (_q90)) || (operand_equal_p (_q90, _q61, 0) && types_match (_q90, _q61)))
   11298                 :             :                                                                                               {
   11299                 :           0 :                                                                                                 {
   11300                 :           0 :                                                                                                   tree captures[7] ATTRIBUTE_UNUSED = { _p0, _q20, _q30, _q21, _q50, _q61, _p1 };
   11301                 :           0 :                                                                                                   if (gimple_simplify_73 (res_op, seq, valueize, type, captures, BIT_IOR_EXPR, BIT_AND_EXPR, CFN_POPCOUNT))
   11302                 :           0 :                                                                                                     return true;
   11303                 :             :                                                                                                 }
   11304                 :             :                                                                                               }
   11305                 :             :                                                                                           }
   11306                 :             :                                                                                         break;
   11307                 :             :                                                                                       default:;
   11308                 :             :                                                                                       }
   11309                 :             :                                                                                 }
   11310                 :             :                                                                               break;
   11311                 :             :                                                                             default:;
   11312                 :             :                                                                             }
   11313                 :             :                                                                         }
   11314                 :           0 :                                                                       if ((_q61 == _q30 && ! TREE_SIDE_EFFECTS (_q61)) || (operand_equal_p (_q61, _q30, 0) && types_match (_q61, _q30)))
   11315                 :             :                                                                         {
   11316                 :           0 :                                                                           switch (TREE_CODE (_p1))
   11317                 :             :                                                                             {
   11318                 :           0 :                                                                             case SSA_NAME:
   11319                 :           0 :                                                                               if (gimple *_d5 = get_def (valueize, _p1))
   11320                 :             :                                                                                 {
   11321                 :           0 :                                                                                   if (gcall *_c5 = dyn_cast <gcall *> (_d5))
   11322                 :           0 :                                                                                     switch (gimple_call_combined_fn (_c5))
   11323                 :             :                                                                                       {
   11324                 :           0 :                                                                                       case CFN_POPCOUNT:
   11325                 :           0 :                                                                                         if (gimple_call_num_args (_c5) == 1)
   11326                 :             :                                                                                           {
   11327                 :           0 :                                                                                             tree _q90 = gimple_call_arg (_c5, 0);
   11328                 :           0 :                                                                                             _q90 = do_valueize (valueize, _q90);
   11329                 :           0 :                                                                                             if ((_q90 == _q60 && ! TREE_SIDE_EFFECTS (_q90)) || (operand_equal_p (_q90, _q60, 0) && types_match (_q90, _q60)))
   11330                 :             :                                                                                               {
   11331                 :           0 :                                                                                                 {
   11332                 :           0 :                                                                                                   tree captures[7] ATTRIBUTE_UNUSED = { _p0, _q20, _q30, _q21, _q50, _q60, _p1 };
   11333                 :           0 :                                                                                                   if (gimple_simplify_73 (res_op, seq, valueize, type, captures, BIT_IOR_EXPR, BIT_AND_EXPR, CFN_POPCOUNT))
   11334                 :           0 :                                                                                                     return true;
   11335                 :             :                                                                                                 }
   11336                 :             :                                                                                               }
   11337                 :             :                                                                                           }
   11338                 :             :                                                                                         break;
   11339                 :             :                                                                                       default:;
   11340                 :             :                                                                                       }
   11341                 :             :                                                                                 }
   11342                 :             :                                                                               break;
   11343                 :             :                                                                             default:;
   11344                 :             :                                                                             }
   11345                 :             :                                                                         }
   11346                 :    94166506 :                                                                       break;
   11347                 :             :                                                                     }
   11348                 :             :                                                                   default:;
   11349                 :             :                                                                   }
   11350                 :             :                                                             }
   11351                 :             :                                                           break;
   11352                 :             :                                                         default:;
   11353                 :             :                                                         }
   11354                 :             :                                                     }
   11355                 :             :                                                   break;
   11356                 :             :                                                 default:;
   11357                 :             :                                                 }
   11358                 :             :                                           }
   11359                 :             :                                         break;
   11360                 :             :                                       default:;
   11361                 :             :                                       }
   11362                 :             :                                   }
   11363                 :             :                                 break;
   11364                 :           0 :                               case CFN_BUILT_IN_POPCOUNTIMAX:
   11365                 :           0 :                                 if (gimple_call_num_args (_c2) == 1)
   11366                 :             :                                   {
   11367                 :           0 :                                     tree _q30 = gimple_call_arg (_c2, 0);
   11368                 :           0 :                                     _q30 = do_valueize (valueize, _q30);
   11369                 :           0 :                                     switch (TREE_CODE (_q21))
   11370                 :             :                                       {
   11371                 :           0 :                                       case SSA_NAME:
   11372                 :           0 :                                         if (gimple *_d3 = get_def (valueize, _q21))
   11373                 :             :                                           {
   11374                 :           0 :                                             if (gcall *_c3 = dyn_cast <gcall *> (_d3))
   11375                 :           0 :                                               switch (gimple_call_combined_fn (_c3))
   11376                 :             :                                                 {
   11377                 :           0 :                                                 case CFN_BUILT_IN_POPCOUNTIMAX:
   11378                 :           0 :                                                   if (gimple_call_num_args (_c3) == 1)
   11379                 :             :                                                     {
   11380                 :           0 :                                                       tree _q50 = gimple_call_arg (_c3, 0);
   11381                 :           0 :                                                       _q50 = do_valueize (valueize, _q50);
   11382                 :           0 :                                                       switch (TREE_CODE (_q50))
   11383                 :             :                                                         {
   11384                 :           0 :                                                         case SSA_NAME:
   11385                 :           0 :                                                           if (gimple *_d4 = get_def (valueize, _q50))
   11386                 :             :                                                             {
   11387                 :           0 :                                                               if (gassign *_a4 = dyn_cast <gassign *> (_d4))
   11388                 :           0 :                                                                 switch (gimple_assign_rhs_code (_a4))
   11389                 :             :                                                                   {
   11390                 :           0 :                                                                   case BIT_AND_EXPR:
   11391                 :           0 :                                                                     {
   11392                 :           0 :                                                                       tree _q60 = gimple_assign_rhs1 (_a4);
   11393                 :           0 :                                                                       _q60 = do_valueize (valueize, _q60);
   11394                 :           0 :                                                                       tree _q61 = gimple_assign_rhs2 (_a4);
   11395                 :           0 :                                                                       _q61 = do_valueize (valueize, _q61);
   11396                 :           0 :                                                                       if (tree_swap_operands_p (_q60, _q61))
   11397                 :           0 :                                                                         std::swap (_q60, _q61);
   11398                 :           0 :                                                                       if ((_q60 == _q30 && ! TREE_SIDE_EFFECTS (_q60)) || (operand_equal_p (_q60, _q30, 0) && types_match (_q60, _q30)))
   11399                 :             :                                                                         {
   11400                 :           0 :                                                                           switch (TREE_CODE (_p1))
   11401                 :             :                                                                             {
   11402                 :           0 :                                                                             case SSA_NAME:
   11403                 :           0 :                                                                               if (gimple *_d5 = get_def (valueize, _p1))
   11404                 :             :                                                                                 {
   11405                 :           0 :                                                                                   if (gcall *_c5 = dyn_cast <gcall *> (_d5))
   11406                 :           0 :                                                                                     switch (gimple_call_combined_fn (_c5))
   11407                 :             :                                                                                       {
   11408                 :           0 :                                                                                       case CFN_BUILT_IN_POPCOUNTIMAX:
   11409                 :           0 :                                                                                         if (gimple_call_num_args (_c5) == 1)
   11410                 :             :                                                                                           {
   11411                 :           0 :                                                                                             tree _q90 = gimple_call_arg (_c5, 0);
   11412                 :           0 :                                                                                             _q90 = do_valueize (valueize, _q90);
   11413                 :           0 :                                                                                             if ((_q90 == _q61 && ! TREE_SIDE_EFFECTS (_q90)) || (operand_equal_p (_q90, _q61, 0) && types_match (_q90, _q61)))
   11414                 :             :                                                                                               {
   11415                 :           0 :                                                                                                 {
   11416                 :           0 :                                                                                                   tree captures[7] ATTRIBUTE_UNUSED = { _p0, _q20, _q30, _q21, _q50, _q61, _p1 };
   11417                 :           0 :                                                                                                   if (gimple_simplify_73 (res_op, seq, valueize, type, captures, BIT_AND_EXPR, BIT_IOR_EXPR, CFN_BUILT_IN_POPCOUNTIMAX))
   11418                 :           0 :                                                                                                     return true;
   11419                 :             :                                                                                                 }
   11420                 :             :                                                                                               }
   11421                 :             :                                                                                           }
   11422                 :             :                                                                                         break;
   11423                 :             :                                                                                       default:;
   11424                 :             :                                                                                       }
   11425                 :             :                                                                                 }
   11426                 :             :                                                                               break;
   11427                 :             :                                                                             default:;
   11428                 :             :                                                                             }
   11429                 :             :                                                                         }
   11430                 :           0 :                                                                       if ((_q61 == _q30 && ! TREE_SIDE_EFFECTS (_q61)) || (operand_equal_p (_q61, _q30, 0) && types_match (_q61, _q30)))
   11431                 :             :                                                                         {
   11432                 :           0 :                                                                           switch (TREE_CODE (_p1))
   11433                 :             :                                                                             {
   11434                 :           0 :                                                                             case SSA_NAME:
   11435                 :           0 :                                                                               if (gimple *_d5 = get_def (valueize, _p1))
   11436                 :             :                                                                                 {
   11437                 :           0 :                                                                                   if (gcall *_c5 = dyn_cast <gcall *> (_d5))
   11438                 :           0 :                                                                                     switch (gimple_call_combined_fn (_c5))
   11439                 :             :                                                                                       {
   11440                 :           0 :                                                                                       case CFN_BUILT_IN_POPCOUNTIMAX:
   11441                 :           0 :                                                                                         if (gimple_call_num_args (_c5) == 1)
   11442                 :             :                                                                                           {
   11443                 :           0 :                                                                                             tree _q90 = gimple_call_arg (_c5, 0);
   11444                 :           0 :                                                                                             _q90 = do_valueize (valueize, _q90);
   11445                 :           0 :                                                                                             if ((_q90 == _q60 && ! TREE_SIDE_EFFECTS (_q90)) || (operand_equal_p (_q90, _q60, 0) && types_match (_q90, _q60)))
   11446                 :             :                                                                                               {
   11447                 :           0 :                                                                                                 {
   11448                 :           0 :                                                                                                   tree captures[7] ATTRIBUTE_UNUSED = { _p0, _q20, _q30, _q21, _q50, _q60, _p1 };
   11449                 :           0 :                                                                                                   if (gimple_simplify_73 (res_op, seq, valueize, type, captures, BIT_AND_EXPR, BIT_IOR_EXPR, CFN_BUILT_IN_POPCOUNTIMAX))
   11450                 :           0 :                                                                                                     return true;
   11451                 :             :                                                                                                 }
   11452                 :             :                                                                                               }
   11453                 :             :                                                                                           }
   11454                 :             :                                                                                         break;
   11455                 :             :                                                                                       default:;
   11456                 :             :                                                                                       }
   11457                 :             :                                                                                 }
   11458                 :             :                                                                               break;
   11459                 :             :                                                                             default:;
   11460                 :             :                                                                             }
   11461                 :             :                                                                         }
   11462                 :    94166506 :                                                                       break;
   11463                 :             :                                                                     }
   11464                 :           0 :                                                                   case BIT_IOR_EXPR:
   11465                 :           0 :                                                                     {
   11466                 :           0 :                                                                       tree _q60 = gimple_assign_rhs1 (_a4);
   11467                 :           0 :                                                                       _q60 = do_valueize (valueize, _q60);
   11468                 :           0 :                                                                       tree _q61 = gimple_assign_rhs2 (_a4);
   11469                 :           0 :                                                                       _q61 = do_valueize (valueize, _q61);
   11470                 :           0 :                                                                       if (tree_swap_operands_p (_q60, _q61))
   11471                 :           0 :                                                                         std::swap (_q60, _q61);
   11472                 :           0 :                                                                       if ((_q60 == _q30 && ! TREE_SIDE_EFFECTS (_q60)) || (operand_equal_p (_q60, _q30, 0) && types_match (_q60, _q30)))
   11473                 :             :                                                                         {
   11474                 :           0 :                                                                           switch (TREE_CODE (_p1))
   11475                 :             :                                                                             {
   11476                 :           0 :                                                                             case SSA_NAME:
   11477                 :           0 :                                                                               if (gimple *_d5 = get_def (valueize, _p1))
   11478                 :             :                                                                                 {
   11479                 :           0 :                                                                                   if (gcall *_c5 = dyn_cast <gcall *> (_d5))
   11480                 :           0 :                                                                                     switch (gimple_call_combined_fn (_c5))
   11481                 :             :                                                                                       {
   11482                 :           0 :                                                                                       case CFN_BUILT_IN_POPCOUNTIMAX:
   11483                 :           0 :                                                                                         if (gimple_call_num_args (_c5) == 1)
   11484                 :             :                                                                                           {
   11485                 :           0 :                                                                                             tree _q90 = gimple_call_arg (_c5, 0);
   11486                 :           0 :                                                                                             _q90 = do_valueize (valueize, _q90);
   11487                 :           0 :                                                                                             if ((_q90 == _q61 && ! TREE_SIDE_EFFECTS (_q90)) || (operand_equal_p (_q90, _q61, 0) && types_match (_q90, _q61)))
   11488                 :             :                                                                                               {
   11489                 :           0 :                                                                                                 {
   11490                 :           0 :                                                                                                   tree captures[7] ATTRIBUTE_UNUSED = { _p0, _q20, _q30, _q21, _q50, _q61, _p1 };
   11491                 :           0 :                                                                                                   if (gimple_simplify_73 (res_op, seq, valueize, type, captures, BIT_IOR_EXPR, BIT_AND_EXPR, CFN_BUILT_IN_POPCOUNTIMAX))
   11492                 :           0 :                                                                                                     return true;
   11493                 :             :                                                                                                 }
   11494                 :             :                                                                                               }
   11495                 :             :                                                                                           }
   11496                 :             :                                                                                         break;
   11497                 :             :                                                                                       default:;
   11498                 :             :                                                                                       }
   11499                 :             :                                                                                 }
   11500                 :             :                                                                               break;
   11501                 :             :                                                                             default:;
   11502                 :             :                                                                             }
   11503                 :             :                                                                         }
   11504                 :           0 :                                                                       if ((_q61 == _q30 && ! TREE_SIDE_EFFECTS (_q61)) || (operand_equal_p (_q61, _q30, 0) && types_match (_q61, _q30)))
   11505                 :             :                                                                         {
   11506                 :           0 :                                                                           switch (TREE_CODE (_p1))
   11507                 :             :                                                                             {
   11508                 :           0 :                                                                             case SSA_NAME:
   11509                 :           0 :                                                                               if (gimple *_d5 = get_def (valueize, _p1))
   11510                 :             :                                                                                 {
   11511                 :           0 :                                                                                   if (gcall *_c5 = dyn_cast <gcall *> (_d5))
   11512                 :           0 :                                                                                     switch (gimple_call_combined_fn (_c5))
   11513                 :             :                                                                                       {
   11514                 :           0 :                                                                                       case CFN_BUILT_IN_POPCOUNTIMAX:
   11515                 :           0 :                                                                                         if (gimple_call_num_args (_c5) == 1)
   11516                 :             :                                                                                           {
   11517                 :           0 :                                                                                             tree _q90 = gimple_call_arg (_c5, 0);
   11518                 :           0 :                                                                                             _q90 = do_valueize (valueize, _q90);
   11519                 :           0 :                                                                                             if ((_q90 == _q60 && ! TREE_SIDE_EFFECTS (_q90)) || (operand_equal_p (_q90, _q60, 0) && types_match (_q90, _q60)))
   11520                 :             :                                                                                               {
   11521                 :           0 :                                                                                                 {
   11522                 :           0 :                                                                                                   tree captures[7] ATTRIBUTE_UNUSED = { _p0, _q20, _q30, _q21, _q50, _q60, _p1 };
   11523                 :           0 :                                                                                                   if (gimple_simplify_73 (res_op, seq, valueize, type, captures, BIT_IOR_EXPR, BIT_AND_EXPR, CFN_BUILT_IN_POPCOUNTIMAX))
   11524                 :           0 :                                                                                                     return true;
   11525                 :             :                                                                                                 }
   11526                 :             :                                                                                               }
   11527                 :             :                                                                                           }
   11528                 :             :                                                                                         break;
   11529                 :             :                                                                                       default:;
   11530                 :             :                                                                                       }
   11531                 :             :                                                                                 }
   11532                 :             :                                                                               break;
   11533                 :             :                                                                             default:;
   11534                 :             :                                                                             }
   11535                 :             :                                                                         }
   11536                 :    94166506 :                                                                       break;
   11537                 :             :                                                                     }
   11538                 :             :                                                                   default:;
   11539                 :             :                                                                   }
   11540                 :             :                                                             }
   11541                 :             :                                                           break;
   11542                 :             :                                                         default:;
   11543                 :             :                                                         }
   11544                 :             :                                                     }
   11545                 :             :                                                   break;
   11546                 :             :                                                 default:;
   11547                 :             :                                                 }
   11548                 :             :                                           }
   11549                 :             :                                         break;
   11550                 :             :                                       default:;
   11551                 :             :                                       }
   11552                 :             :                                   }
   11553                 :             :                                 break;
   11554                 :           0 :                               case CFN_BUILT_IN_POPCOUNTL:
   11555                 :           0 :                                 if (gimple_call_num_args (_c2) == 1)
   11556                 :             :                                   {
   11557                 :           0 :                                     tree _q30 = gimple_call_arg (_c2, 0);
   11558                 :           0 :                                     _q30 = do_valueize (valueize, _q30);
   11559                 :           0 :                                     switch (TREE_CODE (_q21))
   11560                 :             :                                       {
   11561                 :           0 :                                       case SSA_NAME:
   11562                 :           0 :                                         if (gimple *_d3 = get_def (valueize, _q21))
   11563                 :             :                                           {
   11564                 :           0 :                                             if (gcall *_c3 = dyn_cast <gcall *> (_d3))
   11565                 :           0 :                                               switch (gimple_call_combined_fn (_c3))
   11566                 :             :                                                 {
   11567                 :           0 :                                                 case CFN_BUILT_IN_POPCOUNTL:
   11568                 :           0 :                                                   if (gimple_call_num_args (_c3) == 1)
   11569                 :             :                                                     {
   11570                 :           0 :                                                       tree _q50 = gimple_call_arg (_c3, 0);
   11571                 :           0 :                                                       _q50 = do_valueize (valueize, _q50);
   11572                 :           0 :                                                       switch (TREE_CODE (_q50))
   11573                 :             :                                                         {
   11574                 :           0 :                                                         case SSA_NAME:
   11575                 :           0 :                                                           if (gimple *_d4 = get_def (valueize, _q50))
   11576                 :             :                                                             {
   11577                 :           0 :                                                               if (gassign *_a4 = dyn_cast <gassign *> (_d4))
   11578                 :           0 :                                                                 switch (gimple_assign_rhs_code (_a4))
   11579                 :             :                                                                   {
   11580                 :           0 :                                                                   case BIT_AND_EXPR:
   11581                 :           0 :                                                                     {
   11582                 :           0 :                                                                       tree _q60 = gimple_assign_rhs1 (_a4);
   11583                 :           0 :                                                                       _q60 = do_valueize (valueize, _q60);
   11584                 :           0 :                                                                       tree _q61 = gimple_assign_rhs2 (_a4);
   11585                 :           0 :                                                                       _q61 = do_valueize (valueize, _q61);
   11586                 :           0 :                                                                       if (tree_swap_operands_p (_q60, _q61))
   11587                 :           0 :                                                                         std::swap (_q60, _q61);
   11588                 :           0 :                                                                       if ((_q60 == _q30 && ! TREE_SIDE_EFFECTS (_q60)) || (operand_equal_p (_q60, _q30, 0) && types_match (_q60, _q30)))
   11589                 :             :                                                                         {
   11590                 :           0 :                                                                           switch (TREE_CODE (_p1))
   11591                 :             :                                                                             {
   11592                 :           0 :                                                                             case SSA_NAME:
   11593                 :           0 :                                                                               if (gimple *_d5 = get_def (valueize, _p1))
   11594                 :             :                                                                                 {
   11595                 :           0 :                                                                                   if (gcall *_c5 = dyn_cast <gcall *> (_d5))
   11596                 :           0 :                                                                                     switch (gimple_call_combined_fn (_c5))
   11597                 :             :                                                                                       {
   11598                 :           0 :                                                                                       case CFN_BUILT_IN_POPCOUNTL:
   11599                 :           0 :                                                                                         if (gimple_call_num_args (_c5) == 1)
   11600                 :             :                                                                                           {
   11601                 :           0 :                                                                                             tree _q90 = gimple_call_arg (_c5, 0);
   11602                 :           0 :                                                                                             _q90 = do_valueize (valueize, _q90);
   11603                 :           0 :                                                                                             if ((_q90 == _q61 && ! TREE_SIDE_EFFECTS (_q90)) || (operand_equal_p (_q90, _q61, 0) && types_match (_q90, _q61)))
   11604                 :             :                                                                                               {
   11605                 :           0 :                                                                                                 {
   11606                 :           0 :                                                                                                   tree captures[7] ATTRIBUTE_UNUSED = { _p0, _q20, _q30, _q21, _q50, _q61, _p1 };
   11607                 :           0 :                                                                                                   if (gimple_simplify_73 (res_op, seq, valueize, type, captures, BIT_AND_EXPR, BIT_IOR_EXPR, CFN_BUILT_IN_POPCOUNTL))
   11608                 :           0 :                                                                                                     return true;
   11609                 :             :                                                                                                 }
   11610                 :             :                                                                                               }
   11611                 :             :                                                                                           }
   11612                 :             :                                                                                         break;
   11613                 :             :                                                                                       default:;
   11614                 :             :                                                                                       }
   11615                 :             :                                                                                 }
   11616                 :             :                                                                               break;
   11617                 :             :                                                                             default:;
   11618                 :             :                                                                             }
   11619                 :             :                                                                         }
   11620                 :           0 :                                                                       if ((_q61 == _q30 && ! TREE_SIDE_EFFECTS (_q61)) || (operand_equal_p (_q61, _q30, 0) && types_match (_q61, _q30)))
   11621                 :             :                                                                         {
   11622                 :           0 :                                                                           switch (TREE_CODE (_p1))
   11623                 :             :                                                                             {
   11624                 :           0 :                                                                             case SSA_NAME:
   11625                 :           0 :                                                                               if (gimple *_d5 = get_def (valueize, _p1))
   11626                 :             :                                                                                 {
   11627                 :           0 :                                                                                   if (gcall *_c5 = dyn_cast <gcall *> (_d5))
   11628                 :           0 :                                                                                     switch (gimple_call_combined_fn (_c5))
   11629                 :             :                                                                                       {
   11630                 :           0 :                                                                                       case CFN_BUILT_IN_POPCOUNTL:
   11631                 :           0 :                                                                                         if (gimple_call_num_args (_c5) == 1)
   11632                 :             :                                                                                           {
   11633                 :           0 :                                                                                             tree _q90 = gimple_call_arg (_c5, 0);
   11634                 :           0 :                                                                                             _q90 = do_valueize (valueize, _q90);
   11635                 :           0 :                                                                                             if ((_q90 == _q60 && ! TREE_SIDE_EFFECTS (_q90)) || (operand_equal_p (_q90, _q60, 0) && types_match (_q90, _q60)))
   11636                 :             :                                                                                               {
   11637                 :           0 :                                                                                                 {
   11638                 :           0 :                                                                                                   tree captures[7] ATTRIBUTE_UNUSED = { _p0, _q20, _q30, _q21, _q50, _q60, _p1 };
   11639                 :           0 :                                                                                                   if (gimple_simplify_73 (res_op, seq, valueize, type, captures, BIT_AND_EXPR, BIT_IOR_EXPR, CFN_BUILT_IN_POPCOUNTL))
   11640                 :           0 :                                                                                                     return true;
   11641                 :             :                                                                                                 }
   11642                 :             :                                                                                               }
   11643                 :             :                                                                                           }
   11644                 :             :                                                                                         break;
   11645                 :             :                                                                                       default:;
   11646                 :             :                                                                                       }
   11647                 :             :                                                                                 }
   11648                 :             :                                                                               break;
   11649                 :             :                                                                             default:;
   11650                 :             :                                                                             }
   11651                 :             :                                                                         }
   11652                 :    94166506 :                                                                       break;
   11653                 :             :                                                                     }
   11654                 :           0 :                                                                   case BIT_IOR_EXPR:
   11655                 :           0 :                                                                     {
   11656                 :           0 :                                                                       tree _q60 = gimple_assign_rhs1 (_a4);
   11657                 :           0 :                                                                       _q60 = do_valueize (valueize, _q60);
   11658                 :           0 :                                                                       tree _q61 = gimple_assign_rhs2 (_a4);
   11659                 :           0 :                                                                       _q61 = do_valueize (valueize, _q61);
   11660                 :           0 :                                                                       if (tree_swap_operands_p (_q60, _q61))
   11661                 :           0 :                                                                         std::swap (_q60, _q61);
   11662                 :           0 :                                                                       if ((_q60 == _q30 && ! TREE_SIDE_EFFECTS (_q60)) || (operand_equal_p (_q60, _q30, 0) && types_match (_q60, _q30)))
   11663                 :             :                                                                         {
   11664                 :           0 :                                                                           switch (TREE_CODE (_p1))
   11665                 :             :                                                                             {
   11666                 :           0 :                                                                             case SSA_NAME:
   11667                 :           0 :                                                                               if (gimple *_d5 = get_def (valueize, _p1))
   11668                 :             :                                                                                 {
   11669                 :           0 :                                                                                   if (gcall *_c5 = dyn_cast <gcall *> (_d5))
   11670                 :           0 :                                                                                     switch (gimple_call_combined_fn (_c5))
   11671                 :             :                                                                                       {
   11672                 :           0 :                                                                                       case CFN_BUILT_IN_POPCOUNTL:
   11673                 :           0 :                                                                                         if (gimple_call_num_args (_c5) == 1)
   11674                 :             :                                                                                           {
   11675                 :           0 :                                                                                             tree _q90 = gimple_call_arg (_c5, 0);
   11676                 :           0 :                                                                                             _q90 = do_valueize (valueize, _q90);
   11677                 :           0 :                                                                                             if ((_q90 == _q61 && ! TREE_SIDE_EFFECTS (_q90)) || (operand_equal_p (_q90, _q61, 0) && types_match (_q90, _q61)))
   11678                 :             :                                                                                               {
   11679                 :           0 :                                                                                                 {
   11680                 :           0 :                                                                                                   tree captures[7] ATTRIBUTE_UNUSED = { _p0, _q20, _q30, _q21, _q50, _q61, _p1 };
   11681                 :           0 :                                                                                                   if (gimple_simplify_73 (res_op, seq, valueize, type, captures, BIT_IOR_EXPR, BIT_AND_EXPR, CFN_BUILT_IN_POPCOUNTL))
   11682                 :           0 :                                                                                                     return true;
   11683                 :             :                                                                                                 }
   11684                 :             :                                                                                               }
   11685                 :             :                                                                                           }
   11686                 :             :                                                                                         break;
   11687                 :             :                                                                                       default:;
   11688                 :             :                                                                                       }
   11689                 :             :                                                                                 }
   11690                 :             :                                                                               break;
   11691                 :             :                                                                             default:;
   11692                 :             :                                                                             }
   11693                 :             :                                                                         }
   11694                 :           0 :                                                                       if ((_q61 == _q30 && ! TREE_SIDE_EFFECTS (_q61)) || (operand_equal_p (_q61, _q30, 0) && types_match (_q61, _q30)))
   11695                 :             :                                                                         {
   11696                 :           0 :                                                                           switch (TREE_CODE (_p1))
   11697                 :             :                                                                             {
   11698                 :           0 :                                                                             case SSA_NAME:
   11699                 :           0 :                                                                               if (gimple *_d5 = get_def (valueize, _p1))
   11700                 :             :                                                                                 {
   11701                 :           0 :                                                                                   if (gcall *_c5 = dyn_cast <gcall *> (_d5))
   11702                 :           0 :                                                                                     switch (gimple_call_combined_fn (_c5))
   11703                 :             :                                                                                       {
   11704                 :           0 :                                                                                       case CFN_BUILT_IN_POPCOUNTL:
   11705                 :           0 :                                                                                         if (gimple_call_num_args (_c5) == 1)
   11706                 :             :                                                                                           {
   11707                 :           0 :                                                                                             tree _q90 = gimple_call_arg (_c5, 0);
   11708                 :           0 :                                                                                             _q90 = do_valueize (valueize, _q90);
   11709                 :           0 :                                                                                             if ((_q90 == _q60 && ! TREE_SIDE_EFFECTS (_q90)) || (operand_equal_p (_q90, _q60, 0) && types_match (_q90, _q60)))
   11710                 :             :                                                                                               {
   11711                 :           0 :                                                                                                 {
   11712                 :           0 :                                                                                                   tree captures[7] ATTRIBUTE_UNUSED = { _p0, _q20, _q30, _q21, _q50, _q60, _p1 };
   11713                 :           0 :                                                                                                   if (gimple_simplify_73 (res_op, seq, valueize, type, captures, BIT_IOR_EXPR, BIT_AND_EXPR, CFN_BUILT_IN_POPCOUNTL))
   11714                 :           0 :                                                                                                     return true;
   11715                 :             :                                                                                                 }
   11716                 :             :                                                                                               }
   11717                 :             :                                                                                           }
   11718                 :             :                                                                                         break;
   11719                 :             :                                                                                       default:;
   11720                 :             :                                                                                       }
   11721                 :             :                                                                                 }
   11722                 :             :                                                                               break;
   11723                 :             :                                                                             default:;
   11724                 :             :                                                                             }
   11725                 :             :                                                                         }
   11726                 :    94166506 :                                                                       break;
   11727                 :             :                                                                     }
   11728                 :             :                                                                   default:;
   11729                 :             :                                                                   }
   11730                 :             :                                                             }
   11731                 :             :                                                           break;
   11732                 :             :                                                         default:;
   11733                 :             :                                                         }
   11734                 :             :                                                     }
   11735                 :             :                                                   break;
   11736                 :             :                                                 default:;
   11737                 :             :                                                 }
   11738                 :             :                                           }
   11739                 :             :                                         break;
   11740                 :             :                                       default:;
   11741                 :             :                                       }
   11742                 :             :                                   }
   11743                 :             :                                 break;
   11744                 :             :                               default:;
   11745                 :             :                               }
   11746                 :             :                         }
   11747                 :             :                       break;
   11748                 :             :                     default:;
   11749                 :             :                     }
   11750                 :             :                   break;
   11751                 :             :                 }
   11752                 :       17279 :               case VEC_PERM_EXPR:
   11753                 :       17279 :                 {
   11754                 :       17279 :                   tree _q20 = gimple_assign_rhs1 (_a1);
   11755                 :       17279 :                   _q20 = do_valueize (valueize, _q20);
   11756                 :       17279 :                   tree _q21 = gimple_assign_rhs2 (_a1);
   11757                 :       17279 :                   _q21 = do_valueize (valueize, _q21);
   11758                 :       17279 :                   tree _q22 = gimple_assign_rhs3 (_a1);
   11759                 :       17279 :                   _q22 = do_valueize (valueize, _q22);
   11760                 :       17279 :                   switch (TREE_CODE (_q20))
   11761                 :             :                     {
   11762                 :       16309 :                     case SSA_NAME:
   11763                 :       16309 :                       if (gimple *_d2 = get_def (valueize, _q20))
   11764                 :             :                         {
   11765                 :       14241 :                           if (gassign *_a2 = dyn_cast <gassign *> (_d2))
   11766                 :       22979 :                             switch (gimple_assign_rhs_code (_a2))
   11767                 :             :                               {
   11768                 :          24 :                               case MULT_EXPR:
   11769                 :          24 :                                 {
   11770                 :          24 :                                   tree _q30 = gimple_assign_rhs1 (_a2);
   11771                 :          24 :                                   _q30 = do_valueize (valueize, _q30);
   11772                 :          24 :                                   tree _q31 = gimple_assign_rhs2 (_a2);
   11773                 :          24 :                                   _q31 = do_valueize (valueize, _q31);
   11774                 :          24 :                                   if (tree_swap_operands_p (_q30, _q31))
   11775                 :           0 :                                     std::swap (_q30, _q31);
   11776                 :          24 :                                   if (gimple_vec_same_elem_p (_q31, valueize))
   11777                 :             :                                     {
   11778                 :           0 :                                       if ((_q21 == _q20 && ! TREE_SIDE_EFFECTS (_q21)) || (operand_equal_p (_q21, _q20, 0) && types_match (_q21, _q20)))
   11779                 :             :                                         {
   11780                 :           0 :                                           {
   11781                 :           0 :                                             tree captures[6] ATTRIBUTE_UNUSED = { _p0, _q20, _q30, _q31, _q22, _p1 };
   11782                 :           0 :                                             if (gimple_simplify_74 (res_op, seq, valueize, type, captures))
   11783                 :           0 :                                               return true;
   11784                 :             :                                           }
   11785                 :             :                                         }
   11786                 :             :                                     }
   11787                 :          24 :                                   if (gimple_vec_same_elem_p (_q30, valueize))
   11788                 :             :                                     {
   11789                 :           0 :                                       if ((_q21 == _q20 && ! TREE_SIDE_EFFECTS (_q21)) || (operand_equal_p (_q21, _q20, 0) && types_match (_q21, _q20)))
   11790                 :             :                                         {
   11791                 :           0 :                                           {
   11792                 :           0 :                                             tree captures[6] ATTRIBUTE_UNUSED = { _p0, _q20, _q31, _q30, _q22, _p1 };
   11793                 :           0 :                                             if (gimple_simplify_74 (res_op, seq, valueize, type, captures))
   11794                 :           0 :                                               return true;
   11795                 :             :                                           }
   11796                 :             :                                         }
   11797                 :             :                                     }
   11798                 :       17279 :                                   break;
   11799                 :             :                                 }
   11800                 :             :                               default:;
   11801                 :             :                               }
   11802                 :             :                         }
   11803                 :             :                       break;
   11804                 :       17279 :                     default:;
   11805                 :             :                     }
   11806                 :       17279 :                   if ((_q21 == _q20 && ! TREE_SIDE_EFFECTS (_q21)) || (operand_equal_p (_q21, _q20, 0) && types_match (_q21, _q20)))
   11807                 :             :                     {
   11808                 :        9560 :                       switch (TREE_CODE (_p1))
   11809                 :             :                         {
   11810                 :        3014 :                         case SSA_NAME:
   11811                 :        3014 :                           if (gimple *_d2 = get_def (valueize, _p1))
   11812                 :             :                             {
   11813                 :        2902 :                               if (gassign *_a2 = dyn_cast <gassign *> (_d2))
   11814                 :        3739 :                                 switch (gimple_assign_rhs_code (_a2))
   11815                 :             :                                   {
   11816                 :         533 :                                   case VEC_PERM_EXPR:
   11817                 :         533 :                                     {
   11818                 :         533 :                                       tree _q60 = gimple_assign_rhs1 (_a2);
   11819                 :         533 :                                       _q60 = do_valueize (valueize, _q60);
   11820                 :         533 :                                       tree _q61 = gimple_assign_rhs2 (_a2);
   11821                 :         533 :                                       _q61 = do_valueize (valueize, _q61);
   11822                 :         533 :                                       tree _q62 = gimple_assign_rhs3 (_a2);
   11823                 :         533 :                                       _q62 = do_valueize (valueize, _q62);
   11824                 :         533 :                                       if ((_q61 == _q60 && ! TREE_SIDE_EFFECTS (_q61)) || (operand_equal_p (_q61, _q60, 0) && types_match (_q61, _q60)))
   11825                 :             :                                         {
   11826                 :         486 :                                           if ((_q62 == _q22 && ! TREE_SIDE_EFFECTS (_q62)) || (operand_equal_p (_q62, _q22, 0) && types_match (_q62, _q22)))
   11827                 :             :                                             {
   11828                 :         175 :                                               {
   11829                 :         175 :                                                 tree captures[4] ATTRIBUTE_UNUSED = { _q20, _q22, _q60 };
   11830                 :         175 :                                                 if (VECTOR_INTEGER_TYPE_P (type)
   11831                 :             : )
   11832                 :             :                                                   {
   11833                 :         125 :                                                     gimple_seq *lseq = seq;
   11834                 :         125 :                                                     if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail1579;
   11835                 :         125 :                                                     {
   11836                 :         125 :                                                       res_op->set_op (VEC_PERM_EXPR, type, 3);
   11837                 :         125 :                                                       {
   11838                 :         125 :                                                         tree _o1[2], _r1;
   11839                 :         125 :                                                         _o1[0] = captures[0];
   11840                 :         125 :                                                         _o1[1] = captures[2];
   11841                 :         125 :                                                         gimple_match_op tem_op (res_op->cond.any_else (), PLUS_EXPR, TREE_TYPE (_o1[0]), _o1[0], _o1[1]);
   11842                 :         125 :                                                         tem_op.resimplify (lseq, valueize);
   11843                 :         125 :                                                         _r1 = maybe_push_res_to_seq (&tem_op, lseq);
   11844                 :         125 :                                                         if (!_r1) goto next_after_fail1579;
   11845                 :          33 :                                                         captures[3] = _r1;
   11846                 :             :                                                       }
   11847                 :          33 :                                                       res_op->ops[0] = captures[3];
   11848                 :          33 :                                                       res_op->ops[1] = captures[3];
   11849                 :          33 :                                                       res_op->ops[2] = captures[1];
   11850                 :          33 :                                                       res_op->resimplify (lseq, valueize);
   11851                 :          33 :                                                       if (UNLIKELY (debug_dump)) gimple_dump_logs ("match.pd", 928, __FILE__, __LINE__, true);
   11852                 :          33 :                                                       return true;
   11853                 :             :                                                     }
   11854                 :             : next_after_fail1579:;
   11855                 :             :                                                   }
   11856                 :             :                                               }
   11857                 :             :                                             }
   11858                 :             :                                         }
   11859                 :             :                                       break;
   11860                 :             :                                     }
   11861                 :             :                                   default:;
   11862                 :             :                                   }
   11863                 :             :                             }
   11864                 :             :                           break;
   11865                 :        9527 :                         default:;
   11866                 :             :                         }
   11867                 :        9527 :                       switch (TREE_CODE (_q22))
   11868                 :             :                         {
   11869                 :        9527 :                         case VECTOR_CST:
   11870                 :        9527 :                           {
   11871                 :        9527 :                             switch (TREE_CODE (_p1))
   11872                 :             :                               {
   11873                 :        2981 :                               case SSA_NAME:
   11874                 :        2981 :                                 if (gimple *_d2 = get_def (valueize, _p1))
   11875                 :             :                                   {
   11876                 :        2869 :                                     if (gassign *_a2 = dyn_cast <gassign *> (_d2))
   11877                 :        3706 :                                       switch (gimple_assign_rhs_code (_a2))
   11878                 :             :                                         {
   11879                 :         500 :                                         case VEC_PERM_EXPR:
   11880                 :         500 :                                           {
   11881                 :         500 :                                             tree _q60 = gimple_assign_rhs1 (_a2);
   11882                 :         500 :                                             _q60 = do_valueize (valueize, _q60);
   11883                 :         500 :                                             tree _q61 = gimple_assign_rhs2 (_a2);
   11884                 :         500 :                                             _q61 = do_valueize (valueize, _q61);
   11885                 :         500 :                                             tree _q62 = gimple_assign_rhs3 (_a2);
   11886                 :         500 :                                             _q62 = do_valueize (valueize, _q62);
   11887                 :         500 :                                             if ((_q61 == _q60 && ! TREE_SIDE_EFFECTS (_q61)) || (operand_equal_p (_q61, _q60, 0) && types_match (_q61, _q60)))
   11888                 :             :                                               {
   11889                 :         453 :                                                 if ((_q62 == _q22 && ! TREE_SIDE_EFFECTS (_q62)) || (operand_equal_p (_q62, _q22, 0) && types_match (_q62, _q22)))
   11890                 :             :                                                   {
   11891                 :         142 :                                                     switch (TREE_CODE (_q62))
   11892                 :             :                                                       {
   11893                 :         142 :                                                       case VECTOR_CST:
   11894                 :         142 :                                                         {
   11895                 :         142 :                                                           {
   11896                 :         142 :                                                             tree captures[4] ATTRIBUTE_UNUSED = { _q20, _q22, _q60 };
   11897                 :         142 :                                                             if (gimple_simplify_75 (res_op, seq, valueize, type, captures, PLUS_EXPR))
   11898                 :           7 :                                                               return true;
   11899                 :             :                                                           }
   11900                 :         135 :                                                           break;
   11901                 :             :                                                         }
   11902                 :             :                                                       default:;
   11903                 :             :                                                       }
   11904                 :             :                                                   }
   11905                 :             :                                               }
   11906                 :             :                                             break;
   11907                 :             :                                           }
   11908                 :             :                                         default:;
   11909                 :             :                                         }
   11910                 :             :                                   }
   11911                 :             :                                 break;
   11912                 :             :                               default:;
   11913                 :             :                               }
   11914                 :             :                             break;
   11915                 :             :                           }
   11916                 :             :                         default:;
   11917                 :             :                         }
   11918                 :             :                     }
   11919                 :             :                   break;
   11920                 :             :                 }
   11921                 :             :               default:;
   11922                 :             :               }
   11923                 :    10127239 :           else if (gcall *_c1 = dyn_cast <gcall *> (_d1))
   11924                 :      427042 :             switch (gimple_call_combined_fn (_c1))
   11925                 :             :               {
   11926                 :        2141 :               case CFN_BUILT_IN_POPCOUNT:
   11927                 :        2141 :                 if (gimple_call_num_args (_c1) == 1)
   11928                 :             :                   {
   11929                 :        2141 :                     tree _q20 = gimple_call_arg (_c1, 0);
   11930                 :        2141 :                     _q20 = do_valueize (valueize, _q20);
   11931                 :        2141 :                     switch (TREE_CODE (_p1))
   11932                 :             :                       {
   11933                 :        2141 :                       case SSA_NAME:
   11934                 :        2141 :                         if (gimple *_d2 = get_def (valueize, _p1))
   11935                 :             :                           {
   11936                 :         472 :                             if (gcall *_c2 = dyn_cast <gcall *> (_d2))
   11937                 :         300 :                               switch (gimple_call_combined_fn (_c2))
   11938                 :             :                                 {
   11939                 :         300 :                                 case CFN_BUILT_IN_POPCOUNT:
   11940                 :         300 :                                   if (gimple_call_num_args (_c2) == 1)
   11941                 :             :                                     {
   11942                 :         300 :                                       tree _q40 = gimple_call_arg (_c2, 0);
   11943                 :         300 :                                       _q40 = do_valueize (valueize, _q40);
   11944                 :         300 :                                       {
   11945                 :         300 :                                         tree captures[4] ATTRIBUTE_UNUSED = { _p0, _q20, _p1, _q40 };
   11946                 :         300 :                                         if (gimple_simplify_71 (res_op, seq, valueize, type, captures, CFN_BUILT_IN_POPCOUNT))
   11947                 :           0 :                                           return true;
   11948                 :             :                                       }
   11949                 :             :                                     }
   11950                 :             :                                   break;
   11951                 :             :                                 default:;
   11952                 :             :                                 }
   11953                 :             :                           }
   11954                 :             :                         break;
   11955                 :        2141 :                       default:;
   11956                 :             :                       }
   11957                 :        2141 :                     switch (TREE_CODE (_q20))
   11958                 :             :                       {
   11959                 :        2141 :                       case SSA_NAME:
   11960                 :        2141 :                         if (gimple *_d2 = get_def (valueize, _q20))
   11961                 :             :                           {
   11962                 :        2136 :                             if (gassign *_a2 = dyn_cast <gassign *> (_d2))
   11963                 :        1873 :                               switch (gimple_assign_rhs_code (_a2))
   11964                 :             :                                 {
   11965                 :          28 :                                 case BIT_AND_EXPR:
   11966                 :          28 :                                   {
   11967                 :          28 :                                     tree _q30 = gimple_assign_rhs1 (_a2);
   11968                 :          28 :                                     _q30 = do_valueize (valueize, _q30);
   11969                 :          28 :                                     tree _q31 = gimple_assign_rhs2 (_a2);
   11970                 :          28 :                                     _q31 = do_valueize (valueize, _q31);
   11971                 :          28 :                                     if (tree_swap_operands_p (_q30, _q31))
   11972                 :           0 :                                       std::swap (_q30, _q31);
   11973                 :          28 :                                     switch (TREE_CODE (_p1))
   11974                 :             :                                       {
   11975                 :          28 :                                       case SSA_NAME:
   11976                 :          28 :                                         if (gimple *_d3 = get_def (valueize, _p1))
   11977                 :             :                                           {
   11978                 :          28 :                                             if (gcall *_c3 = dyn_cast <gcall *> (_d3))
   11979                 :          28 :                                               switch (gimple_call_combined_fn (_c3))
   11980                 :             :                                                 {
   11981                 :          28 :                                                 case CFN_BUILT_IN_POPCOUNT:
   11982                 :          28 :                                                   if (gimple_call_num_args (_c3) == 1)
   11983                 :             :                                                     {
   11984                 :          28 :                                                       tree _q60 = gimple_call_arg (_c3, 0);
   11985                 :          28 :                                                       _q60 = do_valueize (valueize, _q60);
   11986                 :          28 :                                                       switch (TREE_CODE (_q60))
   11987                 :             :                                                         {
   11988                 :          28 :                                                         case SSA_NAME:
   11989                 :          28 :                                                           if (gimple *_d4 = get_def (valueize, _q60))
   11990                 :             :                                                             {
   11991                 :          28 :                                                               if (gassign *_a4 = dyn_cast <gassign *> (_d4))
   11992                 :          28 :                                                                 switch (gimple_assign_rhs_code (_a4))
   11993                 :             :                                                                   {
   11994                 :          28 :                                                                   case BIT_IOR_EXPR:
   11995                 :          28 :                                                                     {
   11996                 :          28 :                                                                       tree _q70 = gimple_assign_rhs1 (_a4);
   11997                 :          28 :                                                                       _q70 = do_valueize (valueize, _q70);
   11998                 :          28 :                                                                       tree _q71 = gimple_assign_rhs2 (_a4);
   11999                 :          28 :                                                                       _q71 = do_valueize (valueize, _q71);
   12000                 :          28 :                                                                       if (tree_swap_operands_p (_q70, _q71))
   12001                 :           6 :                                                                         std::swap (_q70, _q71);
   12002                 :          28 :                                                                       if ((_q70 == _q30 && ! TREE_SIDE_EFFECTS (_q70)) || (operand_equal_p (_q70, _q30, 0) && types_match (_q70, _q30)))
   12003                 :             :                                                                         {
   12004                 :          28 :                                                                           if ((_q71 == _q31 && ! TREE_SIDE_EFFECTS (_q71)) || (operand_equal_p (_q71, _q31, 0) && types_match (_q71, _q31)))
   12005                 :             :                                                                             {
   12006                 :          28 :                                                                               {
   12007                 :          28 :                                                                                 tree captures[6] ATTRIBUTE_UNUSED = { _p0, _q20, _q30, _q31, _p1, _q60 };
   12008                 :          28 :                                                                                 if (gimple_simplify_72 (res_op, seq, valueize, type, captures, CFN_BUILT_IN_POPCOUNT))
   12009                 :          14 :                                                                                   return true;
   12010                 :             :                                                                               }
   12011                 :             :                                                                             }
   12012                 :             :                                                                         }
   12013                 :          14 :                                                                       if ((_q70 == _q31 && ! TREE_SIDE_EFFECTS (_q70)) || (operand_equal_p (_q70, _q31, 0) && types_match (_q70, _q31)))
   12014                 :             :                                                                         {
   12015                 :           0 :                                                                           if ((_q71 == _q30 && ! TREE_SIDE_EFFECTS (_q71)) || (operand_equal_p (_q71, _q30, 0) && types_match (_q71, _q30)))
   12016                 :             :                                                                             {
   12017                 :           0 :                                                                               {
   12018                 :           0 :                                                                                 tree captures[6] ATTRIBUTE_UNUSED = { _p0, _q20, _q30, _q31, _p1, _q60 };
   12019                 :           0 :                                                                                 if (gimple_simplify_72 (res_op, seq, valueize, type, captures, CFN_BUILT_IN_POPCOUNT))
   12020                 :           0 :                                                                                   return true;
   12021                 :             :                                                                               }
   12022                 :             :                                                                             }
   12023                 :             :                                                                         }
   12024                 :        2125 :                                                                       break;
   12025                 :             :                                                                     }
   12026                 :             :                                                                   default:;
   12027                 :             :                                                                   }
   12028                 :             :                                                             }
   12029                 :             :                                                           break;
   12030                 :             :                                                         default:;
   12031                 :             :                                                         }
   12032                 :             :                                                     }
   12033                 :             :                                                   break;
   12034                 :             :                                                 default:;
   12035                 :             :                                                 }
   12036                 :             :                                           }
   12037                 :             :                                         break;
   12038                 :             :                                       default:;
   12039                 :             :                                       }
   12040                 :        2125 :                                     break;
   12041                 :             :                                   }
   12042                 :           4 :                                 case BIT_IOR_EXPR:
   12043                 :           4 :                                   {
   12044                 :           4 :                                     tree _q30 = gimple_assign_rhs1 (_a2);
   12045                 :           4 :                                     _q30 = do_valueize (valueize, _q30);
   12046                 :           4 :                                     tree _q31 = gimple_assign_rhs2 (_a2);
   12047                 :           4 :                                     _q31 = do_valueize (valueize, _q31);
   12048                 :           4 :                                     if (tree_swap_operands_p (_q30, _q31))
   12049                 :           0 :                                       std::swap (_q30, _q31);
   12050                 :           4 :                                     switch (TREE_CODE (_p1))
   12051                 :             :                                       {
   12052                 :           4 :                                       case SSA_NAME:
   12053                 :           4 :                                         if (gimple *_d3 = get_def (valueize, _p1))
   12054                 :             :                                           {
   12055                 :           4 :                                             if (gcall *_c3 = dyn_cast <gcall *> (_d3))
   12056                 :           4 :                                               switch (gimple_call_combined_fn (_c3))
   12057                 :             :                                                 {
   12058                 :           4 :                                                 case CFN_BUILT_IN_POPCOUNT:
   12059                 :           4 :                                                   if (gimple_call_num_args (_c3) == 1)
   12060                 :             :                                                     {
   12061                 :           4 :                                                       tree _q60 = gimple_call_arg (_c3, 0);
   12062                 :           4 :                                                       _q60 = do_valueize (valueize, _q60);
   12063                 :           4 :                                                       switch (TREE_CODE (_q60))
   12064                 :             :                                                         {
   12065                 :           4 :                                                         case SSA_NAME:
   12066                 :           4 :                                                           if (gimple *_d4 = get_def (valueize, _q60))
   12067                 :             :                                                             {
   12068                 :           4 :                                                               if (gassign *_a4 = dyn_cast <gassign *> (_d4))
   12069                 :           4 :                                                                 switch (gimple_assign_rhs_code (_a4))
   12070                 :             :                                                                   {
   12071                 :           4 :                                                                   case BIT_AND_EXPR:
   12072                 :           4 :                                                                     {
   12073                 :           4 :                                                                       tree _q70 = gimple_assign_rhs1 (_a4);
   12074                 :           4 :                                                                       _q70 = do_valueize (valueize, _q70);
   12075                 :           4 :                                                                       tree _q71 = gimple_assign_rhs2 (_a4);
   12076                 :           4 :                                                                       _q71 = do_valueize (valueize, _q71);
   12077                 :           4 :                                                                       if (tree_swap_operands_p (_q70, _q71))
   12078                 :           0 :                                                                         std::swap (_q70, _q71);
   12079                 :           4 :                                                                       if ((_q70 == _q30 && ! TREE_SIDE_EFFECTS (_q70)) || (operand_equal_p (_q70, _q30, 0) && types_match (_q70, _q30)))
   12080                 :             :                                                                         {
   12081                 :           4 :                                                                           if ((_q71 == _q31 && ! TREE_SIDE_EFFECTS (_q71)) || (operand_equal_p (_q71, _q31, 0) && types_match (_q71, _q31)))
   12082                 :             :                                                                             {
   12083                 :           4 :                                                                               {
   12084                 :           4 :                                                                                 tree captures[6] ATTRIBUTE_UNUSED = { _p1, _q60, _q30, _q31, _p0, _q20 };
   12085                 :           4 :                                                                                 if (gimple_simplify_72 (res_op, seq, valueize, type, captures, CFN_BUILT_IN_POPCOUNT))
   12086                 :           2 :                                                                                   return true;
   12087                 :             :                                                                               }
   12088                 :             :                                                                             }
   12089                 :             :                                                                         }
   12090                 :           2 :                                                                       if ((_q70 == _q31 && ! TREE_SIDE_EFFECTS (_q70)) || (operand_equal_p (_q70, _q31, 0) && types_match (_q70, _q31)))
   12091                 :             :                                                                         {
   12092                 :           0 :                                                                           if ((_q71 == _q30 && ! TREE_SIDE_EFFECTS (_q71)) || (operand_equal_p (_q71, _q30, 0) && types_match (_q71, _q30)))
   12093                 :             :                                                                             {
   12094                 :           0 :                                                                               {
   12095                 :           0 :                                                                                 tree captures[6] ATTRIBUTE_UNUSED = { _p1, _q60, _q31, _q30, _p0, _q20 };
   12096                 :           0 :                                                                                 if (gimple_simplify_72 (res_op, seq, valueize, type, captures, CFN_BUILT_IN_POPCOUNT))
   12097                 :           0 :                                                                                   return true;
   12098                 :             :                                                                               }
   12099                 :             :                                                                             }
   12100                 :             :                                                                         }
   12101                 :        2125 :                                                                       break;
   12102                 :             :                                                                     }
   12103                 :             :                                                                   default:;
   12104                 :             :                                                                   }
   12105                 :             :                                                             }
   12106                 :             :                                                           break;
   12107                 :             :                                                         default:;
   12108                 :             :                                                         }
   12109                 :             :                                                     }
   12110                 :             :                                                   break;
   12111                 :             :                                                 default:;
   12112                 :             :                                                 }
   12113                 :             :                                           }
   12114                 :             :                                         break;
   12115                 :             :                                       default:;
   12116                 :             :                                       }
   12117                 :        2125 :                                     break;
   12118                 :             :                                   }
   12119                 :             :                                 default:;
   12120                 :             :                                 }
   12121                 :             :                           }
   12122                 :             :                         break;
   12123                 :        2125 :                       default:;
   12124                 :             :                       }
   12125                 :        2125 :                     switch (TREE_CODE (_p1))
   12126                 :             :                       {
   12127                 :        2125 :                       case SSA_NAME:
   12128                 :        2125 :                         if (gimple *_d2 = get_def (valueize, _p1))
   12129                 :             :                           {
   12130                 :         456 :                             if (gassign *_a2 = dyn_cast <gassign *> (_d2))
   12131                 :           0 :                               switch (gimple_assign_rhs_code (_a2))
   12132                 :             :                                 {
   12133                 :           0 :                                 case MINUS_EXPR:
   12134                 :           0 :                                   {
   12135                 :           0 :                                     tree _q40 = gimple_assign_rhs1 (_a2);
   12136                 :           0 :                                     _q40 = do_valueize (valueize, _q40);
   12137                 :           0 :                                     tree _q41 = gimple_assign_rhs2 (_a2);
   12138                 :           0 :                                     _q41 = do_valueize (valueize, _q41);
   12139                 :           0 :                                     switch (TREE_CODE (_q40))
   12140                 :             :                                       {
   12141                 :           0 :                                       case SSA_NAME:
   12142                 :           0 :                                         if (gimple *_d3 = get_def (valueize, _q40))
   12143                 :             :                                           {
   12144                 :           0 :                                             if (gcall *_c3 = dyn_cast <gcall *> (_d3))
   12145                 :           0 :                                               switch (gimple_call_combined_fn (_c3))
   12146                 :             :                                                 {
   12147                 :           0 :                                                 case CFN_BUILT_IN_POPCOUNT:
   12148                 :           0 :                                                   if (gimple_call_num_args (_c3) == 1)
   12149                 :             :                                                     {
   12150                 :           0 :                                                       tree _q50 = gimple_call_arg (_c3, 0);
   12151                 :           0 :                                                       _q50 = do_valueize (valueize, _q50);
   12152                 :           0 :                                                       switch (TREE_CODE (_q41))
   12153                 :             :                                                         {
   12154                 :           0 :                                                         case SSA_NAME:
   12155                 :           0 :                                                           if (gimple *_d4 = get_def (valueize, _q41))
   12156                 :             :                                                             {
   12157                 :           0 :                                                               if (gcall *_c4 = dyn_cast <gcall *> (_d4))
   12158                 :           0 :                                                                 switch (gimple_call_combined_fn (_c4))
   12159                 :             :                                                                   {
   12160                 :           0 :                                                                   case CFN_BUILT_IN_POPCOUNT:
   12161                 :           0 :                                                                     if (gimple_call_num_args (_c4) == 1)
   12162                 :             :                                                                       {
   12163                 :           0 :                                                                         tree _q70 = gimple_call_arg (_c4, 0);
   12164                 :           0 :                                                                         _q70 = do_valueize (valueize, _q70);
   12165                 :           0 :                                                                         switch (TREE_CODE (_q70))
   12166                 :             :                                                                           {
   12167                 :           0 :                                                                           case SSA_NAME:
   12168                 :           0 :                                                                             if (gimple *_d5 = get_def (valueize, _q70))
   12169                 :             :                                                                               {
   12170                 :           0 :                                                                                 if (gassign *_a5 = dyn_cast <gassign *> (_d5))
   12171                 :           0 :                                                                                   switch (gimple_assign_rhs_code (_a5))
   12172                 :             :                                                                                     {
   12173                 :           0 :                                                                                     case BIT_AND_EXPR:
   12174                 :           0 :                                                                                       {
   12175                 :           0 :                                                                                         tree _q80 = gimple_assign_rhs1 (_a5);
   12176                 :           0 :                                                                                         _q80 = do_valueize (valueize, _q80);
   12177                 :           0 :                                                                                         tree _q81 = gimple_assign_rhs2 (_a5);
   12178                 :           0 :                                                                                         _q81 = do_valueize (valueize, _q81);
   12179                 :           0 :                                                                                         if (tree_swap_operands_p (_q80, _q81))
   12180                 :           0 :                                                                                           std::swap (_q80, _q81);
   12181                 :           0 :                                                                                         if ((_q80 == _q50 && ! TREE_SIDE_EFFECTS (_q80)) || (operand_equal_p (_q80, _q50, 0) && types_match (_q80, _q50)))
   12182                 :             :                                                                                           {
   12183                 :           0 :                                                                                             if ((_q81 == _q20 && ! TREE_SIDE_EFFECTS (_q81)) || (operand_equal_p (_q81, _q20, 0) && types_match (_q81, _q20)))
   12184                 :             :                                                                                               {
   12185                 :           0 :                                                                                                 {
   12186                 :           0 :                                                                                                   tree captures[7] ATTRIBUTE_UNUSED = { _p1, _q40, _q50, _q41, _q70, _q20, _p0 };
   12187                 :           0 :                                                                                                   if (gimple_simplify_73 (res_op, seq, valueize, type, captures, BIT_AND_EXPR, BIT_IOR_EXPR, CFN_BUILT_IN_POPCOUNT))
   12188                 :           0 :                                                                                                     return true;
   12189                 :             :                                                                                                 }
   12190                 :             :                                                                                               }
   12191                 :             :                                                                                           }
   12192                 :           0 :                                                                                         if ((_q80 == _q20 && ! TREE_SIDE_EFFECTS (_q80)) || (operand_equal_p (_q80, _q20, 0) && types_match (_q80, _q20)))
   12193                 :             :                                                                                           {
   12194                 :           0 :                                                                                             if ((_q81 == _q50 && ! TREE_SIDE_EFFECTS (_q81)) || (operand_equal_p (_q81, _q50, 0) && types_match (_q81, _q50)))
   12195                 :             :                                                                                               {
   12196                 :           0 :                                                                                                 {
   12197                 :           0 :                                                                                                   tree captures[7] ATTRIBUTE_UNUSED = { _p1, _q40, _q50, _q41, _q70, _q20, _p0 };
   12198                 :           0 :                                                                                                   if (gimple_simplify_73 (res_op, seq, valueize, type, captures, BIT_AND_EXPR, BIT_IOR_EXPR, CFN_BUILT_IN_POPCOUNT))
   12199                 :           0 :                                                                                                     return true;
   12200                 :             :                                                                                                 }
   12201                 :             :                                                                                               }
   12202                 :             :                                                                                           }
   12203                 :    94166506 :                                                                                         break;
   12204                 :             :                                                                                       }
   12205                 :           0 :                                                                                     case BIT_IOR_EXPR:
   12206                 :           0 :                                                                                       {
   12207                 :           0 :                                                                                         tree _q80 = gimple_assign_rhs1 (_a5);
   12208                 :           0 :                                                                                         _q80 = do_valueize (valueize, _q80);
   12209                 :           0 :                                                                                         tree _q81 = gimple_assign_rhs2 (_a5);
   12210                 :           0 :                                                                                         _q81 = do_valueize (valueize, _q81);
   12211                 :           0 :                                                                                         if (tree_swap_operands_p (_q80, _q81))
   12212                 :           0 :                                                                                           std::swap (_q80, _q81);
   12213                 :           0 :                                                                                         if ((_q80 == _q50 && ! TREE_SIDE_EFFECTS (_q80)) || (operand_equal_p (_q80, _q50, 0) && types_match (_q80, _q50)))
   12214                 :             :                                                                                           {
   12215                 :           0 :                                                                                             if ((_q81 == _q20 && ! TREE_SIDE_EFFECTS (_q81)) || (operand_equal_p (_q81, _q20, 0) && types_match (_q81, _q20)))
   12216                 :             :                                                                                               {
   12217                 :           0 :                                                                                                 {
   12218                 :           0 :                                                                                                   tree captures[7] ATTRIBUTE_UNUSED = { _p1, _q40, _q50, _q41, _q70, _q20, _p0 };
   12219                 :           0 :                                                                                                   if (gimple_simplify_73 (res_op, seq, valueize, type, captures, BIT_IOR_EXPR, BIT_AND_EXPR, CFN_BUILT_IN_POPCOUNT))
   12220                 :           0 :                                                                                                     return true;
   12221                 :             :                                                                                                 }
   12222                 :             :                                                                                               }
   12223                 :             :                                                                                           }
   12224                 :           0 :                                                                                         if ((_q80 == _q20 && ! TREE_SIDE_EFFECTS (_q80)) || (operand_equal_p (_q80, _q20, 0) && types_match (_q80, _q20)))
   12225                 :             :                                                                                           {
   12226                 :           0 :                                                                                             if ((_q81 == _q50 && ! TREE_SIDE_EFFECTS (_q81)) || (operand_equal_p (_q81, _q50, 0) && types_match (_q81, _q50)))
   12227                 :             :                                                                                               {
   12228                 :           0 :                                                                                                 {
   12229                 :           0 :                                                                                                   tree captures[7] ATTRIBUTE_UNUSED = { _p1, _q40, _q50, _q41, _q70, _q20, _p0 };
   12230                 :           0 :                                                                                                   if (gimple_simplify_73 (res_op, seq, valueize, type, captures, BIT_IOR_EXPR, BIT_AND_EXPR, CFN_BUILT_IN_POPCOUNT))
   12231                 :           0 :                                                                                                     return true;
   12232                 :             :                                                                                                 }
   12233                 :             :                                                                                               }
   12234                 :             :                                                                                           }
   12235                 :    94166506 :                                                                                         break;
   12236                 :             :                                                                                       }
   12237                 :             :                                                                                     default:;
   12238                 :             :                                                                                     }
   12239                 :             :                                                                               }
   12240                 :             :                                                                             break;
   12241                 :             :                                                                           default:;
   12242                 :             :                                                                           }
   12243                 :             :                                                                       }
   12244                 :             :                                                                     break;
   12245                 :             :                                                                   default:;
   12246                 :             :                                                                   }
   12247                 :             :                                                             }
   12248                 :             :                                                           break;
   12249                 :             :                                                         default:;
   12250                 :             :                                                         }
   12251                 :             :                                                     }
   12252                 :             :                                                   break;
   12253                 :             :                                                 default:;
   12254                 :             :                                                 }
   12255                 :             :                                           }
   12256                 :             :                                         break;
   12257                 :             :                                       default:;
   12258                 :             :                                       }
   12259                 :             :                                     break;
   12260                 :             :                                   }
   12261                 :             :                                 default:;
   12262                 :             :                                 }
   12263                 :             :                           }
   12264                 :             :                         break;
   12265                 :             :                       default:;
   12266                 :             :                       }
   12267                 :             :                   }
   12268                 :             :                 break;
   12269                 :         105 :               case CFN_BUILT_IN_POPCOUNTLL:
   12270                 :         105 :                 if (gimple_call_num_args (_c1) == 1)
   12271                 :             :                   {
   12272                 :         105 :                     tree _q20 = gimple_call_arg (_c1, 0);
   12273                 :         105 :                     _q20 = do_valueize (valueize, _q20);
   12274                 :         105 :                     switch (TREE_CODE (_p1))
   12275                 :             :                       {
   12276                 :         105 :                       case SSA_NAME:
   12277                 :         105 :                         if (gimple *_d2 = get_def (valueize, _p1))
   12278                 :             :                           {
   12279                 :          55 :                             if (gcall *_c2 = dyn_cast <gcall *> (_d2))
   12280                 :          45 :                               switch (gimple_call_combined_fn (_c2))
   12281                 :             :                                 {
   12282                 :          45 :                                 case CFN_BUILT_IN_POPCOUNTLL:
   12283                 :          45 :                                   if (gimple_call_num_args (_c2) == 1)
   12284                 :             :                                     {
   12285                 :          45 :                                       tree _q40 = gimple_call_arg (_c2, 0);
   12286                 :          45 :                                       _q40 = do_valueize (valueize, _q40);
   12287                 :          45 :                                       {
   12288                 :          45 :                                         tree captures[4] ATTRIBUTE_UNUSED = { _p0, _q20, _p1, _q40 };
   12289                 :          45 :                                         if (gimple_simplify_71 (res_op, seq, valueize, type, captures, CFN_BUILT_IN_POPCOUNTLL))
   12290                 :           0 :                                           return true;
   12291                 :             :                                       }
   12292                 :             :                                     }
   12293                 :             :                                   break;
   12294                 :             :                                 default:;
   12295                 :             :                                 }
   12296                 :             :                           }
   12297                 :             :                         break;
   12298                 :         105 :                       default:;
   12299                 :             :                       }
   12300                 :         105 :                     switch (TREE_CODE (_q20))
   12301                 :             :                       {
   12302                 :         105 :                       case SSA_NAME:
   12303                 :         105 :                         if (gimple *_d2 = get_def (valueize, _q20))
   12304                 :             :                           {
   12305                 :         105 :                             if (gassign *_a2 = dyn_cast <gassign *> (_d2))
   12306                 :         165 :                               switch (gimple_assign_rhs_code (_a2))
   12307                 :             :                                 {
   12308                 :           0 :                                 case BIT_AND_EXPR:
   12309                 :           0 :                                   {
   12310                 :           0 :                                     tree _q30 = gimple_assign_rhs1 (_a2);
   12311                 :           0 :                                     _q30 = do_valueize (valueize, _q30);
   12312                 :           0 :                                     tree _q31 = gimple_assign_rhs2 (_a2);
   12313                 :           0 :                                     _q31 = do_valueize (valueize, _q31);
   12314                 :           0 :                                     if (tree_swap_operands_p (_q30, _q31))
   12315                 :           0 :                                       std::swap (_q30, _q31);
   12316                 :           0 :                                     switch (TREE_CODE (_p1))
   12317                 :             :                                       {
   12318                 :           0 :                                       case SSA_NAME:
   12319                 :           0 :                                         if (gimple *_d3 = get_def (valueize, _p1))
   12320                 :             :                                           {
   12321                 :           0 :                                             if (gcall *_c3 = dyn_cast <gcall *> (_d3))
   12322                 :           0 :                                               switch (gimple_call_combined_fn (_c3))
   12323                 :             :                                                 {
   12324                 :           0 :                                                 case CFN_BUILT_IN_POPCOUNTLL:
   12325                 :           0 :                                                   if (gimple_call_num_args (_c3) == 1)
   12326                 :             :                                                     {
   12327                 :           0 :                                                       tree _q60 = gimple_call_arg (_c3, 0);
   12328                 :           0 :                                                       _q60 = do_valueize (valueize, _q60);
   12329                 :           0 :                                                       switch (TREE_CODE (_q60))
   12330                 :             :                                                         {
   12331                 :           0 :                                                         case SSA_NAME:
   12332                 :           0 :                                                           if (gimple *_d4 = get_def (valueize, _q60))
   12333                 :             :                                                             {
   12334                 :           0 :                                                               if (gassign *_a4 = dyn_cast <gassign *> (_d4))
   12335                 :           0 :                                                                 switch (gimple_assign_rhs_code (_a4))
   12336                 :             :                                                                   {
   12337                 :           0 :                                                                   case BIT_IOR_EXPR:
   12338                 :           0 :                                                                     {
   12339                 :           0 :                                                                       tree _q70 = gimple_assign_rhs1 (_a4);
   12340                 :           0 :                                                                       _q70 = do_valueize (valueize, _q70);
   12341                 :           0 :                                                                       tree _q71 = gimple_assign_rhs2 (_a4);
   12342                 :           0 :                                                                       _q71 = do_valueize (valueize, _q71);
   12343                 :           0 :                                                                       if (tree_swap_operands_p (_q70, _q71))
   12344                 :           0 :                                                                         std::swap (_q70, _q71);
   12345                 :           0 :                                                                       if ((_q70 == _q30 && ! TREE_SIDE_EFFECTS (_q70)) || (operand_equal_p (_q70, _q30, 0) && types_match (_q70, _q30)))
   12346                 :             :                                                                         {
   12347                 :           0 :                                                                           if ((_q71 == _q31 && ! TREE_SIDE_EFFECTS (_q71)) || (operand_equal_p (_q71, _q31, 0) && types_match (_q71, _q31)))
   12348                 :             :                                                                             {
   12349                 :           0 :                                                                               {
   12350                 :           0 :                                                                                 tree captures[6] ATTRIBUTE_UNUSED = { _p0, _q20, _q30, _q31, _p1, _q60 };
   12351                 :           0 :                                                                                 if (gimple_simplify_72 (res_op, seq, valueize, type, captures, CFN_BUILT_IN_POPCOUNTLL))
   12352                 :           0 :                                                                                   return true;
   12353                 :             :                                                                               }
   12354                 :             :                                                                             }
   12355                 :             :                                                                         }
   12356                 :           0 :                                                                       if ((_q70 == _q31 && ! TREE_SIDE_EFFECTS (_q70)) || (operand_equal_p (_q70, _q31, 0) && types_match (_q70, _q31)))
   12357                 :             :                                                                         {
   12358                 :           0 :                                                                           if ((_q71 == _q30 && ! TREE_SIDE_EFFECTS (_q71)) || (operand_equal_p (_q71, _q30, 0) && types_match (_q71, _q30)))
   12359                 :             :                                                                             {
   12360                 :           0 :                                                                               {
   12361                 :           0 :                                                                                 tree captures[6] ATTRIBUTE_UNUSED = { _p0, _q20, _q30, _q31, _p1, _q60 };
   12362                 :           0 :                                                                                 if (gimple_simplify_72 (res_op, seq, valueize, type, captures, CFN_BUILT_IN_POPCOUNTLL))
   12363                 :           0 :                                                                                   return true;
   12364                 :             :                                                                               }
   12365                 :             :                                                                             }
   12366                 :             :                                                                         }
   12367                 :         105 :                                                                       break;
   12368                 :             :                                                                     }
   12369                 :             :                                                                   default:;
   12370                 :             :                                                                   }
   12371                 :             :                                                             }
   12372                 :             :                                                           break;
   12373                 :             :                                                         default:;
   12374                 :             :                                                         }
   12375                 :             :                                                     }
   12376                 :             :                                                   break;
   12377                 :             :                                                 default:;
   12378                 :             :                                                 }
   12379                 :             :                                           }
   12380                 :             :                                         break;
   12381                 :             :                                       default:;
   12382                 :             :                                       }
   12383                 :         105 :                                     break;
   12384                 :             :                                   }
   12385                 :           0 :                                 case BIT_IOR_EXPR:
   12386                 :           0 :                                   {
   12387                 :           0 :                                     tree _q30 = gimple_assign_rhs1 (_a2);
   12388                 :           0 :                                     _q30 = do_valueize (valueize, _q30);
   12389                 :           0 :                                     tree _q31 = gimple_assign_rhs2 (_a2);
   12390                 :           0 :                                     _q31 = do_valueize (valueize, _q31);
   12391                 :           0 :                                     if (tree_swap_operands_p (_q30, _q31))
   12392                 :           0 :                                       std::swap (_q30, _q31);
   12393                 :           0 :                                     switch (TREE_CODE (_p1))
   12394                 :             :                                       {
   12395                 :           0 :                                       case SSA_NAME:
   12396                 :           0 :                                         if (gimple *_d3 = get_def (valueize, _p1))
   12397                 :             :                                           {
   12398                 :           0 :                                             if (gcall *_c3 = dyn_cast <gcall *> (_d3))
   12399                 :           0 :                                               switch (gimple_call_combined_fn (_c3))
   12400                 :             :                                                 {
   12401                 :           0 :                                                 case CFN_BUILT_IN_POPCOUNTLL:
   12402                 :           0 :                                                   if (gimple_call_num_args (_c3) == 1)
   12403                 :             :                                                     {
   12404                 :           0 :                                                       tree _q60 = gimple_call_arg (_c3, 0);
   12405                 :           0 :                                                       _q60 = do_valueize (valueize, _q60);
   12406                 :           0 :                                                       switch (TREE_CODE (_q60))
   12407                 :             :                                                         {
   12408                 :           0 :                                                         case SSA_NAME:
   12409                 :           0 :                                                           if (gimple *_d4 = get_def (valueize, _q60))
   12410                 :             :                                                             {
   12411                 :           0 :                                                               if (gassign *_a4 = dyn_cast <gassign *> (_d4))
   12412                 :           0 :                                                                 switch (gimple_assign_rhs_code (_a4))
   12413                 :             :                                                                   {
   12414                 :           0 :                                                                   case BIT_AND_EXPR:
   12415                 :           0 :                                                                     {
   12416                 :           0 :                                                                       tree _q70 = gimple_assign_rhs1 (_a4);
   12417                 :           0 :                                                                       _q70 = do_valueize (valueize, _q70);
   12418                 :           0 :                                                                       tree _q71 = gimple_assign_rhs2 (_a4);
   12419                 :           0 :                                                                       _q71 = do_valueize (valueize, _q71);
   12420                 :           0 :                                                                       if (tree_swap_operands_p (_q70, _q71))
   12421                 :           0 :                                                                         std::swap (_q70, _q71);
   12422                 :           0 :                                                                       if ((_q70 == _q30 && ! TREE_SIDE_EFFECTS (_q70)) || (operand_equal_p (_q70, _q30, 0) && types_match (_q70, _q30)))
   12423                 :             :                                                                         {
   12424                 :           0 :                                                                           if ((_q71 == _q31 && ! TREE_SIDE_EFFECTS (_q71)) || (operand_equal_p (_q71, _q31, 0) && types_match (_q71, _q31)))
   12425                 :             :                                                                             {
   12426                 :           0 :                                                                               {
   12427                 :           0 :                                                                                 tree captures[6] ATTRIBUTE_UNUSED = { _p1, _q60, _q30, _q31, _p0, _q20 };
   12428                 :           0 :                                                                                 if (gimple_simplify_72 (res_op, seq, valueize, type, captures, CFN_BUILT_IN_POPCOUNTLL))
   12429                 :           0 :                                                                                   return true;
   12430                 :             :                                                                               }
   12431                 :             :                                                                             }
   12432                 :             :                                                                         }
   12433                 :           0 :                                                                       if ((_q70 == _q31 && ! TREE_SIDE_EFFECTS (_q70)) || (operand_equal_p (_q70, _q31, 0) && types_match (_q70, _q31)))
   12434                 :             :                                                                         {
   12435                 :           0 :                                                                           if ((_q71 == _q30 && ! TREE_SIDE_EFFECTS (_q71)) || (operand_equal_p (_q71, _q30, 0) && types_match (_q71, _q30)))
   12436                 :             :                                                                             {
   12437                 :           0 :                                                                               {
   12438                 :           0 :                                                                                 tree captures[6] ATTRIBUTE_UNUSED = { _p1, _q60, _q31, _q30, _p0, _q20 };
   12439                 :           0 :                                                                                 if (gimple_simplify_72 (res_op, seq, valueize, type, captures, CFN_BUILT_IN_POPCOUNTLL))
   12440                 :           0 :                                                                                   return true;
   12441                 :             :                                                                               }
   12442                 :             :                                                                             }
   12443                 :             :                                                                         }
   12444                 :         105 :                                                                       break;
   12445                 :             :                                                                     }
   12446                 :             :                                                                   default:;
   12447                 :             :                                                                   }
   12448                 :             :                                                             }
   12449                 :             :                                                           break;
   12450                 :             :                                                         default:;
   12451                 :             :                                                         }
   12452                 :             :                                                     }
   12453                 :             :                                                   break;
   12454                 :             :                                                 default:;
   12455                 :             :                                                 }
   12456                 :             :                                           }
   12457                 :             :                                         break;
   12458                 :             :                                       default:;
   12459                 :             :                                       }
   12460                 :         105 :                                     break;
   12461                 :             :                                   }
   12462                 :             :                                 default:;
   12463                 :             :                                 }
   12464                 :             :                           }
   12465                 :             :                         break;
   12466                 :         105 :                       default:;
   12467                 :             :                       }
   12468                 :         105 :                     switch (TREE_CODE (_p1))
   12469                 :             :                       {
   12470                 :         105 :                       case SSA_NAME:
   12471                 :         105 :                         if (gimple *_d2 = get_def (valueize, _p1))
   12472                 :             :                           {
   12473                 :          55 :                             if (gassign *_a2 = dyn_cast <gassign *> (_d2))
   12474                 :           0 :                               switch (gimple_assign_rhs_code (_a2))
   12475                 :             :                                 {
   12476                 :           0 :                                 case MINUS_EXPR:
   12477                 :           0 :                                   {
   12478                 :           0 :                                     tree _q40 = gimple_assign_rhs1 (_a2);
   12479                 :           0 :                                     _q40 = do_valueize (valueize, _q40);
   12480                 :           0 :                                     tree _q41 = gimple_assign_rhs2 (_a2);
   12481                 :           0 :                                     _q41 = do_valueize (valueize, _q41);
   12482                 :           0 :                                     switch (TREE_CODE (_q40))
   12483                 :             :                                       {
   12484                 :           0 :                                       case SSA_NAME:
   12485                 :           0 :                                         if (gimple *_d3 = get_def (valueize, _q40))
   12486                 :             :                                           {
   12487                 :           0 :                                             if (gcall *_c3 = dyn_cast <gcall *> (_d3))
   12488                 :           0 :                                               switch (gimple_call_combined_fn (_c3))
   12489                 :             :                                                 {
   12490                 :           0 :                                                 case CFN_BUILT_IN_POPCOUNTLL:
   12491                 :           0 :                                                   if (gimple_call_num_args (_c3) == 1)
   12492                 :             :                                                     {
   12493                 :           0 :                                                       tree _q50 = gimple_call_arg (_c3, 0);
   12494                 :           0 :                                                       _q50 = do_valueize (valueize, _q50);
   12495                 :           0 :                                                       switch (TREE_CODE (_q41))
   12496                 :             :                                                         {
   12497                 :           0 :                                                         case SSA_NAME:
   12498                 :           0 :                                                           if (gimple *_d4 = get_def (valueize, _q41))
   12499                 :             :                                                             {
   12500                 :           0 :                                                               if (gcall *_c4 = dyn_cast <gcall *> (_d4))
   12501                 :           0 :                                                                 switch (gimple_call_combined_fn (_c4))
   12502                 :             :                                                                   {
   12503                 :           0 :                                                                   case CFN_BUILT_IN_POPCOUNTLL:
   12504                 :           0 :                                                                     if (gimple_call_num_args (_c4) == 1)
   12505                 :             :                                                                       {
   12506                 :           0 :                                                                         tree _q70 = gimple_call_arg (_c4, 0);
   12507                 :           0 :                                                                         _q70 = do_valueize (valueize, _q70);
   12508                 :           0 :                                                                         switch (TREE_CODE (_q70))
   12509                 :             :                                                                           {
   12510                 :           0 :                                                                           case SSA_NAME:
   12511                 :           0 :                                                                             if (gimple *_d5 = get_def (valueize, _q70))
   12512                 :             :                                                                               {
   12513                 :           0 :                                                                                 if (gassign *_a5 = dyn_cast <gassign *> (_d5))
   12514                 :           0 :                                                                                   switch (gimple_assign_rhs_code (_a5))
   12515                 :             :                                                                                     {
   12516                 :           0 :                                                                                     case BIT_AND_EXPR:
   12517                 :           0 :                                                                                       {
   12518                 :           0 :                                                                                         tree _q80 = gimple_assign_rhs1 (_a5);
   12519                 :           0 :                                                                                         _q80 = do_valueize (valueize, _q80);
   12520                 :           0 :                                                                                         tree _q81 = gimple_assign_rhs2 (_a5);
   12521                 :           0 :                                                                                         _q81 = do_valueize (valueize, _q81);
   12522                 :           0 :                                                                                         if (tree_swap_operands_p (_q80, _q81))
   12523                 :           0 :                                                                                           std::swap (_q80, _q81);
   12524                 :           0 :                                                                                         if ((_q80 == _q50 && ! TREE_SIDE_EFFECTS (_q80)) || (operand_equal_p (_q80, _q50, 0) && types_match (_q80, _q50)))
   12525                 :             :                                                                                           {
   12526                 :           0 :                                                                                             if ((_q81 == _q20 && ! TREE_SIDE_EFFECTS (_q81)) || (operand_equal_p (_q81, _q20, 0) && types_match (_q81, _q20)))
   12527                 :             :                                                                                               {
   12528                 :           0 :                                                                                                 {
   12529                 :           0 :                                                                                                   tree captures[7] ATTRIBUTE_UNUSED = { _p1, _q40, _q50, _q41, _q70, _q20, _p0 };
   12530                 :           0 :                                                                                                   if (gimple_simplify_73 (res_op, seq, valueize, type, captures, BIT_AND_EXPR, BIT_IOR_EXPR, CFN_BUILT_IN_POPCOUNTLL))
   12531                 :           0 :                                                                                                     return true;
   12532                 :             :                                                                                                 }
   12533                 :             :                                                                                               }
   12534                 :             :                                                                                           }
   12535                 :           0 :                                                                                         if ((_q80 == _q20 && ! TREE_SIDE_EFFECTS (_q80)) || (operand_equal_p (_q80, _q20, 0) && types_match (_q80, _q20)))
   12536                 :             :                                                                                           {
   12537                 :           0 :                                                                                             if ((_q81 == _q50 && ! TREE_SIDE_EFFECTS (_q81)) || (operand_equal_p (_q81, _q50, 0) && types_match (_q81, _q50)))
   12538                 :             :                                                                                               {
   12539                 :           0 :                                                                                                 {
   12540                 :           0 :                                                                                                   tree captures[7] ATTRIBUTE_UNUSED = { _p1, _q40, _q50, _q41, _q70, _q20, _p0 };
   12541                 :           0 :                                                                                                   if (gimple_simplify_73 (res_op, seq, valueize, type, captures, BIT_AND_EXPR, BIT_IOR_EXPR, CFN_BUILT_IN_POPCOUNTLL))
   12542                 :           0 :                                                                                                     return true;
   12543                 :             :                                                                                                 }
   12544                 :             :                                                                                               }
   12545                 :             :                                                                                           }
   12546                 :    94166506 :                                                                                         break;
   12547                 :             :                                                                                       }
   12548                 :           0 :                                                                                     case BIT_IOR_EXPR:
   12549                 :           0 :                                                                                       {
   12550                 :           0 :                                                                                         tree _q80 = gimple_assign_rhs1 (_a5);
   12551                 :           0 :                                                                                         _q80 = do_valueize (valueize, _q80);
   12552                 :           0 :                                                                                         tree _q81 = gimple_assign_rhs2 (_a5);
   12553                 :           0 :                                                                                         _q81 = do_valueize (valueize, _q81);
   12554                 :           0 :                                                                                         if (tree_swap_operands_p (_q80, _q81))
   12555                 :           0 :                                                                                           std::swap (_q80, _q81);
   12556                 :           0 :                                                                                         if ((_q80 == _q50 && ! TREE_SIDE_EFFECTS (_q80)) || (operand_equal_p (_q80, _q50, 0) && types_match (_q80, _q50)))
   12557                 :             :                                                                                           {
   12558                 :           0 :                                                                                             if ((_q81 == _q20 && ! TREE_SIDE_EFFECTS (_q81)) || (operand_equal_p (_q81, _q20, 0) && types_match (_q81, _q20)))
   12559                 :             :                                                                                               {
   12560                 :           0 :                                                                                                 {
   12561                 :           0 :                                                                                                   tree captures[7] ATTRIBUTE_UNUSED = { _p1, _q40, _q50, _q41, _q70, _q20, _p0 };
   12562                 :           0 :                                                                                                   if (gimple_simplify_73 (res_op, seq, valueize, type, captures, BIT_IOR_EXPR, BIT_AND_EXPR, CFN_BUILT_IN_POPCOUNTLL))
   12563                 :           0 :                                                                                                     return true;
   12564                 :             :                                                                                                 }
   12565                 :             :                                                                                               }
   12566                 :             :                                                                                           }
   12567                 :           0 :                                                                                         if ((_q80 == _q20 && ! TREE_SIDE_EFFECTS (_q80)) || (operand_equal_p (_q80, _q20, 0) && types_match (_q80, _q20)))
   12568                 :             :                                                                                           {
   12569                 :           0 :                                                                                             if ((_q81 == _q50 && ! TREE_SIDE_EFFECTS (_q81)) || (operand_equal_p (_q81, _q50, 0) && types_match (_q81, _q50)))
   12570                 :             :                                                                                               {
   12571                 :           0 :                                                                                                 {
   12572                 :           0 :                                                                                                   tree captures[7] ATTRIBUTE_UNUSED = { _p1, _q40, _q50, _q41, _q70, _q20, _p0 };
   12573                 :           0 :                                                                                                   if (gimple_simplify_73 (res_op, seq, valueize, type, captures, BIT_IOR_EXPR, BIT_AND_EXPR, CFN_BUILT_IN_POPCOUNTLL))
   12574                 :           0 :                                                                                                     return true;
   12575                 :             :                                                                                                 }
   12576                 :             :                                                                                               }
   12577                 :             :                                                                                           }
   12578                 :    94166506 :                                                                                         break;
   12579                 :             :                                                                                       }
   12580                 :             :                                                                                     default:;
   12581                 :             :                                                                                     }
   12582                 :             :                                                                               }
   12583                 :             :                                                                             break;
   12584                 :             :                                                                           default:;
   12585                 :             :                                                                           }
   12586                 :             :                                                                       }
   12587                 :             :                                                                     break;
   12588                 :             :                                                                   default:;
   12589                 :             :                                                                   }
   12590                 :             :                                                             }
   12591                 :             :                                                           break;
   12592                 :             :                                                         default:;
   12593                 :             :                                                         }
   12594                 :             :                                                     }
   12595                 :             :                                                   break;
   12596                 :             :                                                 default:;
   12597                 :             :                                                 }
   12598                 :             :                                           }
   12599                 :             :                                         break;
   12600                 :             :                                       default:;
   12601                 :             :                                       }
   12602                 :             :                                     break;
   12603                 :             :                                   }
   12604                 :             :                                 default:;
   12605                 :             :                                 }
   12606                 :             :                           }
   12607                 :             :                         break;
   12608                 :             :                       default:;
   12609                 :             :                       }
   12610                 :             :                   }
   12611                 :             :                 break;
   12612                 :          15 :               case CFN_POPCOUNT:
   12613                 :          15 :                 if (gimple_call_num_args (_c1) == 1)
   12614                 :             :                   {
   12615                 :          15 :                     tree _q20 = gimple_call_arg (_c1, 0);
   12616                 :          15 :                     _q20 = do_valueize (valueize, _q20);
   12617                 :          15 :                     switch (TREE_CODE (_p1))
   12618                 :             :                       {
   12619                 :          15 :                       case SSA_NAME:
   12620                 :          15 :                         if (gimple *_d2 = get_def (valueize, _p1))
   12621                 :             :                           {
   12622                 :          15 :                             if (gcall *_c2 = dyn_cast <gcall *> (_d2))
   12623                 :          15 :                               switch (gimple_call_combined_fn (_c2))
   12624                 :             :                                 {
   12625                 :          15 :                                 case CFN_POPCOUNT:
   12626                 :          15 :                                   if (gimple_call_num_args (_c2) == 1)
   12627                 :             :                                     {
   12628                 :          15 :                                       tree _q40 = gimple_call_arg (_c2, 0);
   12629                 :          15 :                                       _q40 = do_valueize (valueize, _q40);
   12630                 :          15 :                                       {
   12631                 :          15 :                                         tree captures[4] ATTRIBUTE_UNUSED = { _p0, _q20, _p1, _q40 };
   12632                 :          15 :                                         if (gimple_simplify_71 (res_op, seq, valueize, type, captures, CFN_POPCOUNT))
   12633                 :           2 :                                           return true;
   12634                 :             :                                       }
   12635                 :             :                                     }
   12636                 :             :                                   break;
   12637                 :             :                                 default:;
   12638                 :             :                                 }
   12639                 :             :                           }
   12640                 :             :                         break;
   12641                 :          13 :                       default:;
   12642                 :             :                       }
   12643                 :          13 :                     switch (TREE_CODE (_q20))
   12644                 :             :                       {
   12645                 :          13 :                       case SSA_NAME:
   12646                 :          13 :                         if (gimple *_d2 = get_def (valueize, _q20))
   12647                 :             :                           {
   12648                 :          13 :                             if (gassign *_a2 = dyn_cast <gassign *> (_d2))
   12649                 :           4 :                               switch (gimple_assign_rhs_code (_a2))
   12650                 :             :                                 {
   12651                 :           4 :                                 case BIT_AND_EXPR:
   12652                 :           4 :                                   {
   12653                 :           4 :                                     tree _q30 = gimple_assign_rhs1 (_a2);
   12654                 :           4 :                                     _q30 = do_valueize (valueize, _q30);
   12655                 :           4 :                                     tree _q31 = gimple_assign_rhs2 (_a2);
   12656                 :           4 :                                     _q31 = do_valueize (valueize, _q31);
   12657                 :           4 :                                     if (tree_swap_operands_p (_q30, _q31))
   12658                 :           0 :                                       std::swap (_q30, _q31);
   12659                 :           4 :                                     switch (TREE_CODE (_p1))
   12660                 :             :                                       {
   12661                 :           4 :                                       case SSA_NAME:
   12662                 :           4 :                                         if (gimple *_d3 = get_def (valueize, _p1))
   12663                 :             :                                           {
   12664                 :           4 :                                             if (gcall *_c3 = dyn_cast <gcall *> (_d3))
   12665                 :           4 :                                               switch (gimple_call_combined_fn (_c3))
   12666                 :             :                                                 {
   12667                 :           4 :                                                 case CFN_POPCOUNT:
   12668                 :           4 :                                                   if (gimple_call_num_args (_c3) == 1)
   12669                 :             :                                                     {
   12670                 :           4 :                                                       tree _q60 = gimple_call_arg (_c3, 0);
   12671                 :           4 :                                                       _q60 = do_valueize (valueize, _q60);
   12672                 :           4 :                                                       switch (TREE_CODE (_q60))
   12673                 :             :                                                         {
   12674                 :           4 :                                                         case SSA_NAME:
   12675                 :           4 :                                                           if (gimple *_d4 = get_def (valueize, _q60))
   12676                 :             :                                                             {
   12677                 :           4 :                                                               if (gassign *_a4 = dyn_cast <gassign *> (_d4))
   12678                 :           4 :                                                                 switch (gimple_assign_rhs_code (_a4))
   12679                 :             :                                                                   {
   12680                 :           0 :                                                                   case BIT_IOR_EXPR:
   12681                 :           0 :                                                                     {
   12682                 :           0 :                                                                       tree _q70 = gimple_assign_rhs1 (_a4);
   12683                 :           0 :                                                                       _q70 = do_valueize (valueize, _q70);
   12684                 :           0 :                                                                       tree _q71 = gimple_assign_rhs2 (_a4);
   12685                 :           0 :                                                                       _q71 = do_valueize (valueize, _q71);
   12686                 :           0 :                                                                       if (tree_swap_operands_p (_q70, _q71))
   12687                 :           0 :                                                                         std::swap (_q70, _q71);
   12688                 :           0 :                                                                       if ((_q70 == _q30 && ! TREE_SIDE_EFFECTS (_q70)) || (operand_equal_p (_q70, _q30, 0) && types_match (_q70, _q30)))
   12689                 :             :                                                                         {
   12690                 :           0 :                                                                           if ((_q71 == _q31 && ! TREE_SIDE_EFFECTS (_q71)) || (operand_equal_p (_q71, _q31, 0) && types_match (_q71, _q31)))
   12691                 :             :                                                                             {
   12692                 :           0 :                                                                               {
   12693                 :           0 :                                                                                 tree captures[6] ATTRIBUTE_UNUSED = { _p0, _q20, _q30, _q31, _p1, _q60 };
   12694                 :           0 :                                                                                 if (gimple_simplify_72 (res_op, seq, valueize, type, captures, CFN_POPCOUNT))
   12695                 :           0 :                                                                                   return true;
   12696                 :             :                                                                               }
   12697                 :             :                                                                             }
   12698                 :             :                                                                         }
   12699                 :           0 :                                                                       if ((_q70 == _q31 && ! TREE_SIDE_EFFECTS (_q70)) || (operand_equal_p (_q70, _q31, 0) && types_match (_q70, _q31)))
   12700                 :             :                                                                         {
   12701                 :           0 :                                                                           if ((_q71 == _q30 && ! TREE_SIDE_EFFECTS (_q71)) || (operand_equal_p (_q71, _q30, 0) && types_match (_q71, _q30)))
   12702                 :             :                                                                             {
   12703                 :           0 :                                                                               {
   12704                 :           0 :                                                                                 tree captures[6] ATTRIBUTE_UNUSED = { _p0, _q20, _q30, _q31, _p1, _q60 };
   12705                 :           0 :                                                                                 if (gimple_simplify_72 (res_op, seq, valueize, type, captures, CFN_POPCOUNT))
   12706                 :           0 :                                                                                   return true;
   12707                 :             :                                                                               }
   12708                 :             :                                                                             }
   12709                 :             :                                                                         }
   12710                 :          13 :                                                                       break;
   12711                 :             :                                                                     }
   12712                 :             :                                                                   default:;
   12713                 :             :                                                                   }
   12714                 :             :                                                             }
   12715                 :             :                                                           break;
   12716                 :             :                                                         default:;
   12717                 :             :                                                         }
   12718                 :             :                                                     }
   12719                 :             :                                                   break;
   12720                 :             :                                                 default:;
   12721                 :             :                                                 }
   12722                 :             :                                           }
   12723                 :             :                                         break;
   12724                 :             :                                       default:;
   12725                 :             :                                       }
   12726                 :          13 :                                     break;
   12727                 :             :                                   }
   12728                 :           0 :                                 case BIT_IOR_EXPR:
   12729                 :           0 :                                   {
   12730                 :           0 :                                     tree _q30 = gimple_assign_rhs1 (_a2);
   12731                 :           0 :                                     _q30 = do_valueize (valueize, _q30);
   12732                 :           0 :                                     tree _q31 = gimple_assign_rhs2 (_a2);
   12733                 :           0 :                                     _q31 = do_valueize (valueize, _q31);
   12734                 :           0 :                                     if (tree_swap_operands_p (_q30, _q31))
   12735                 :           0 :                                       std::swap (_q30, _q31);
   12736                 :           0 :                                     switch (TREE_CODE (_p1))
   12737                 :             :                                       {
   12738                 :           0 :                                       case SSA_NAME:
   12739                 :           0 :                                         if (gimple *_d3 = get_def (valueize, _p1))
   12740                 :             :                                           {
   12741                 :           0 :                                             if (gcall *_c3 = dyn_cast <gcall *> (_d3))
   12742                 :           0 :                                               switch (gimple_call_combined_fn (_c3))
   12743                 :             :                                                 {
   12744                 :           0 :                                                 case CFN_POPCOUNT:
   12745                 :           0 :                                                   if (gimple_call_num_args (_c3) == 1)
   12746                 :             :                                                     {
   12747                 :           0 :                                                       tree _q60 = gimple_call_arg (_c3, 0);
   12748                 :           0 :                                                       _q60 = do_valueize (valueize, _q60);
   12749                 :           0 :                                                       switch (TREE_CODE (_q60))
   12750                 :             :                                                         {
   12751                 :           0 :                                                         case SSA_NAME:
   12752                 :           0 :                                                           if (gimple *_d4 = get_def (valueize, _q60))
   12753                 :             :                                                             {
   12754                 :           0 :                                                               if (gassign *_a4 = dyn_cast <gassign *> (_d4))
   12755                 :           0 :                                                                 switch (gimple_assign_rhs_code (_a4))
   12756                 :             :                                                                   {
   12757                 :           0 :                                                                   case BIT_AND_EXPR:
   12758                 :           0 :                                                                     {
   12759                 :           0 :                                                                       tree _q70 = gimple_assign_rhs1 (_a4);
   12760                 :           0 :                                                                       _q70 = do_valueize (valueize, _q70);
   12761                 :           0 :                                                                       tree _q71 = gimple_assign_rhs2 (_a4);
   12762                 :           0 :                                                                       _q71 = do_valueize (valueize, _q71);
   12763                 :           0 :                                                                       if (tree_swap_operands_p (_q70, _q71))
   12764                 :           0 :                                                                         std::swap (_q70, _q71);
   12765                 :           0 :                                                                       if ((_q70 == _q30 && ! TREE_SIDE_EFFECTS (_q70)) || (operand_equal_p (_q70, _q30, 0) && types_match (_q70, _q30)))
   12766                 :             :                                                                         {
   12767                 :           0 :                                                                           if ((_q71 == _q31 && ! TREE_SIDE_EFFECTS (_q71)) || (operand_equal_p (_q71, _q31, 0) && types_match (_q71, _q31)))
   12768                 :             :                                                                             {
   12769                 :           0 :                                                                               {
   12770                 :           0 :                                                                                 tree captures[6] ATTRIBUTE_UNUSED = { _p1, _q60, _q30, _q31, _p0, _q20 };
   12771                 :           0 :                                                                                 if (gimple_simplify_72 (res_op, seq, valueize, type, captures, CFN_POPCOUNT))
   12772                 :           0 :                                                                                   return true;
   12773                 :             :                                                                               }
   12774                 :             :                                                                             }
   12775                 :             :                                                                         }
   12776                 :           0 :                                                                       if ((_q70 == _q31 && ! TREE_SIDE_EFFECTS (_q70)) || (operand_equal_p (_q70, _q31, 0) && types_match (_q70, _q31)))
   12777                 :             :                                                                         {
   12778                 :           0 :                                                                           if ((_q71 == _q30 && ! TREE_SIDE_EFFECTS (_q71)) || (operand_equal_p (_q71, _q30, 0) && types_match (_q71, _q30)))
   12779                 :             :                                                                             {
   12780                 :           0 :                                                                               {
   12781                 :           0 :                                                                                 tree captures[6] ATTRIBUTE_UNUSED = { _p1, _q60, _q31, _q30, _p0, _q20 };
   12782                 :           0 :                                                                                 if (gimple_simplify_72 (res_op, seq, valueize, type, captures, CFN_POPCOUNT))
   12783                 :           0 :                                                                                   return true;
   12784                 :             :                                                                               }
   12785                 :             :                                                                             }
   12786                 :             :                                                                         }
   12787                 :          13 :                                                                       break;
   12788                 :             :                                                                     }
   12789                 :             :                                                                   default:;
   12790                 :             :                                                                   }
   12791                 :             :                                                             }
   12792                 :             :                                                           break;
   12793                 :             :                                                         default:;
   12794                 :             :                                                         }
   12795                 :             :                                                     }
   12796                 :             :                                                   break;
   12797                 :             :                                                 default:;
   12798                 :             :                                                 }
   12799                 :             :                                           }
   12800                 :             :                                         break;
   12801                 :             :                                       default:;
   12802                 :             :                                       }
   12803                 :          13 :                                     break;
   12804                 :             :                                   }
   12805                 :             :                                 default:;
   12806                 :             :                                 }
   12807                 :             :                           }
   12808                 :             :                         break;
   12809                 :          13 :                       default:;
   12810                 :             :                       }
   12811                 :          13 :                     switch (TREE_CODE (_p1))
   12812                 :             :                       {
   12813                 :          13 :                       case SSA_NAME:
   12814                 :          13 :                         if (gimple *_d2 = get_def (valueize, _p1))
   12815                 :             :                           {
   12816                 :          13 :                             if (gassign *_a2 = dyn_cast <gassign *> (_d2))
   12817                 :           0 :                               switch (gimple_assign_rhs_code (_a2))
   12818                 :             :                                 {
   12819                 :           0 :                                 case MINUS_EXPR:
   12820                 :           0 :                                   {
   12821                 :           0 :                                     tree _q40 = gimple_assign_rhs1 (_a2);
   12822                 :           0 :                                     _q40 = do_valueize (valueize, _q40);
   12823                 :           0 :                                     tree _q41 = gimple_assign_rhs2 (_a2);
   12824                 :           0 :                                     _q41 = do_valueize (valueize, _q41);
   12825                 :           0 :                                     switch (TREE_CODE (_q40))
   12826                 :             :                                       {
   12827                 :           0 :                                       case SSA_NAME:
   12828                 :           0 :                                         if (gimple *_d3 = get_def (valueize, _q40))
   12829                 :             :                                           {
   12830                 :           0 :                                             if (gcall *_c3 = dyn_cast <gcall *> (_d3))
   12831                 :           0 :                                               switch (gimple_call_combined_fn (_c3))
   12832                 :             :                                                 {
   12833                 :           0 :                                                 case CFN_POPCOUNT:
   12834                 :           0 :                                                   if (gimple_call_num_args (_c3) == 1)
   12835                 :             :                                                     {
   12836                 :           0 :                                                       tree _q50 = gimple_call_arg (_c3, 0);
   12837                 :           0 :                                                       _q50 = do_valueize (valueize, _q50);
   12838                 :           0 :                                                       switch (TREE_CODE (_q41))
   12839                 :             :                                                         {
   12840                 :           0 :                                                         case SSA_NAME:
   12841                 :           0 :                                                           if (gimple *_d4 = get_def (valueize, _q41))
   12842                 :             :                                                             {
   12843                 :           0 :                                                               if (gcall *_c4 = dyn_cast <gcall *> (_d4))
   12844                 :           0 :                                                                 switch (gimple_call_combined_fn (_c4))
   12845                 :             :                                                                   {
   12846                 :           0 :                                                                   case CFN_POPCOUNT:
   12847                 :           0 :                                                                     if (gimple_call_num_args (_c4) == 1)
   12848                 :             :                                                                       {
   12849                 :           0 :                                                                         tree _q70 = gimple_call_arg (_c4, 0);
   12850                 :           0 :                                                                         _q70 = do_valueize (valueize, _q70);
   12851                 :           0 :                                                                         switch (TREE_CODE (_q70))
   12852                 :             :                                                                           {
   12853                 :           0 :                                                                           case SSA_NAME:
   12854                 :           0 :                                                                             if (gimple *_d5 = get_def (valueize, _q70))
   12855                 :             :                                                                               {
   12856                 :           0 :                                                                                 if (gassign *_a5 = dyn_cast <gassign *> (_d5))
   12857                 :           0 :                                                                                   switch (gimple_assign_rhs_code (_a5))
   12858                 :             :                                                                                     {
   12859                 :           0 :                                                                                     case BIT_AND_EXPR:
   12860                 :           0 :                                                                                       {
   12861                 :           0 :                                                                                         tree _q80 = gimple_assign_rhs1 (_a5);
   12862                 :           0 :                                                                                         _q80 = do_valueize (valueize, _q80);
   12863                 :           0 :                                                                                         tree _q81 = gimple_assign_rhs2 (_a5);
   12864                 :           0 :                                                                                         _q81 = do_valueize (valueize, _q81);
   12865                 :           0 :                                                                                         if (tree_swap_operands_p (_q80, _q81))
   12866                 :           0 :                                                                                           std::swap (_q80, _q81);
   12867                 :           0 :                                                                                         if ((_q80 == _q50 && ! TREE_SIDE_EFFECTS (_q80)) || (operand_equal_p (_q80, _q50, 0) && types_match (_q80, _q50)))
   12868                 :             :                                                                                           {
   12869                 :           0 :                                                                                             if ((_q81 == _q20 && ! TREE_SIDE_EFFECTS (_q81)) || (operand_equal_p (_q81, _q20, 0) && types_match (_q81, _q20)))
   12870                 :             :                                                                                               {
   12871                 :           0 :                                                                                                 {
   12872                 :           0 :                                                                                                   tree captures[7] ATTRIBUTE_UNUSED = { _p1, _q40, _q50, _q41, _q70, _q20, _p0 };
   12873                 :           0 :                                                                                                   if (gimple_simplify_73 (res_op, seq, valueize, type, captures, BIT_AND_EXPR, BIT_IOR_EXPR, CFN_POPCOUNT))
   12874                 :           0 :                                                                                                     return true;
   12875                 :             :                                                                                                 }
   12876                 :             :                                                                                               }
   12877                 :             :                                                                                           }
   12878                 :           0 :                                                                                         if ((_q80 == _q20 && ! TREE_SIDE_EFFECTS (_q80)) || (operand_equal_p (_q80, _q20, 0) && types_match (_q80, _q20)))
   12879                 :             :                                                                                           {
   12880                 :           0 :                                                                                             if ((_q81 == _q50 && ! TREE_SIDE_EFFECTS (_q81)) || (operand_equal_p (_q81, _q50, 0) && types_match (_q81, _q50)))
   12881                 :             :                                                                                               {
   12882                 :           0 :                                                                                                 {
   12883                 :           0 :                                                                                                   tree captures[7] ATTRIBUTE_UNUSED = { _p1, _q40, _q50, _q41, _q70, _q20, _p0 };
   12884                 :           0 :                                                                                                   if (gimple_simplify_73 (res_op, seq, valueize, type, captures, BIT_AND_EXPR, BIT_IOR_EXPR, CFN_POPCOUNT))
   12885                 :           0 :                                                                                                     return true;
   12886                 :             :                                                                                                 }
   12887                 :             :                                                                                               }
   12888                 :             :                                                                                           }
   12889                 :    94166506 :                                                                                         break;
   12890                 :             :                                                                                       }
   12891                 :           0 :                                                                                     case BIT_IOR_EXPR:
   12892                 :           0 :                                                                                       {
   12893                 :           0 :                                                                                         tree _q80 = gimple_assign_rhs1 (_a5);
   12894                 :           0 :                                                                                         _q80 = do_valueize (valueize, _q80);
   12895                 :           0 :                                                                                         tree _q81 = gimple_assign_rhs2 (_a5);
   12896                 :           0 :                                                                                         _q81 = do_valueize (valueize, _q81);
   12897                 :           0 :                                                                                         if (tree_swap_operands_p (_q80, _q81))
   12898                 :           0 :                                                                                           std::swap (_q80, _q81);
   12899                 :           0 :                                                                                         if ((_q80 == _q50 && ! TREE_SIDE_EFFECTS (_q80)) || (operand_equal_p (_q80, _q50, 0) && types_match (_q80, _q50)))
   12900                 :             :                                                                                           {
   12901                 :           0 :                                                                                             if ((_q81 == _q20 && ! TREE_SIDE_EFFECTS (_q81)) || (operand_equal_p (_q81, _q20, 0) && types_match (_q81, _q20)))
   12902                 :             :                                                                                               {
   12903                 :           0 :                                                                                                 {
   12904                 :           0 :                                                                                                   tree captures[7] ATTRIBUTE_UNUSED = { _p1, _q40, _q50, _q41, _q70, _q20, _p0 };
   12905                 :           0 :                                                                                                   if (gimple_simplify_73 (res_op, seq, valueize, type, captures, BIT_IOR_EXPR, BIT_AND_EXPR, CFN_POPCOUNT))
   12906                 :           0 :                                                                                                     return true;
   12907                 :             :                                                                                                 }
   12908                 :             :                                                                                               }
   12909                 :             :                                                                                           }
   12910                 :           0 :                                                                                         if ((_q80 == _q20 && ! TREE_SIDE_EFFECTS (_q80)) || (operand_equal_p (_q80, _q20, 0) && types_match (_q80, _q20)))
   12911                 :             :                                                                                           {
   12912                 :           0 :                                                                                             if ((_q81 == _q50 && ! TREE_SIDE_EFFECTS (_q81)) || (operand_equal_p (_q81, _q50, 0) && types_match (_q81, _q50)))
   12913                 :             :                                                                                               {
   12914                 :           0 :                                                                                                 {
   12915                 :           0 :                                                                                                   tree captures[7] ATTRIBUTE_UNUSED = { _p1, _q40, _q50, _q41, _q70, _q20, _p0 };
   12916                 :           0 :                                                                                                   if (gimple_simplify_73 (res_op, seq, valueize, type, captures, BIT_IOR_EXPR, BIT_AND_EXPR, CFN_POPCOUNT))
   12917                 :           0 :                                                                                                     return true;
   12918                 :             :                                                                                                 }
   12919                 :             :                                                                                               }
   12920                 :             :                                                                                           }
   12921                 :    94166506 :                                                                                         break;
   12922                 :             :                                                                                       }
   12923                 :             :                                                                                     default:;
   12924                 :             :                                                                                     }
   12925                 :             :                                                                               }
   12926                 :             :                                                                             break;
   12927                 :             :                                                                           default:;
   12928                 :             :                                                                           }
   12929                 :             :                                                                       }
   12930                 :             :                                                                     break;
   12931                 :             :                                                                   default:;
   12932                 :             :                                                                   }
   12933                 :             :                                                             }
   12934                 :             :                                                           break;
   12935                 :             :                                                         default:;
   12936                 :             :                                                         }
   12937                 :             :                                                     }
   12938                 :             :                                                   break;
   12939                 :             :                                                 default:;
   12940                 :             :                                                 }
   12941                 :             :                                           }
   12942                 :             :                                         break;
   12943                 :             :                                       default:;
   12944                 :             :                                       }
   12945                 :             :                                     break;
   12946                 :             :                                   }
   12947                 :             :                                 default:;
   12948                 :             :                                 }
   12949                 :             :                           }
   12950                 :             :                         break;
   12951                 :             :                       default:;
   12952                 :             :                       }
   12953                 :             :                   }
   12954                 :             :                 break;
   12955                 :           0 :               case CFN_BUILT_IN_POPCOUNTIMAX:
   12956                 :           0 :                 if (gimple_call_num_args (_c1) == 1)
   12957                 :             :                   {
   12958                 :           0 :                     tree _q20 = gimple_call_arg (_c1, 0);
   12959                 :           0 :                     _q20 = do_valueize (valueize, _q20);
   12960                 :           0 :                     switch (TREE_CODE (_p1))
   12961                 :             :                       {
   12962                 :           0 :                       case SSA_NAME:
   12963                 :           0 :                         if (gimple *_d2 = get_def (valueize, _p1))
   12964                 :             :                           {
   12965                 :           0 :                             if (gcall *_c2 = dyn_cast <gcall *> (_d2))
   12966                 :           0 :                               switch (gimple_call_combined_fn (_c2))
   12967                 :             :                                 {
   12968                 :           0 :                                 case CFN_BUILT_IN_POPCOUNTIMAX:
   12969                 :           0 :                                   if (gimple_call_num_args (_c2) == 1)
   12970                 :             :                                     {
   12971                 :           0 :                                       tree _q40 = gimple_call_arg (_c2, 0);
   12972                 :           0 :                                       _q40 = do_valueize (valueize, _q40);
   12973                 :           0 :                                       {
   12974                 :           0 :                                         tree captures[4] ATTRIBUTE_UNUSED = { _p0, _q20, _p1, _q40 };
   12975                 :           0 :                                         if (gimple_simplify_71 (res_op, seq, valueize, type, captures, CFN_BUILT_IN_POPCOUNTIMAX))
   12976                 :           0 :                                           return true;
   12977                 :             :                                       }
   12978                 :             :                                     }
   12979                 :             :                                   break;
   12980                 :             :                                 default:;
   12981                 :             :                                 }
   12982                 :             :                           }
   12983                 :             :                         break;
   12984                 :           0 :                       default:;
   12985                 :             :                       }
   12986                 :           0 :                     switch (TREE_CODE (_q20))
   12987                 :             :                       {
   12988                 :           0 :                       case SSA_NAME:
   12989                 :           0 :                         if (gimple *_d2 = get_def (valueize, _q20))
   12990                 :             :                           {
   12991                 :           0 :                             if (gassign *_a2 = dyn_cast <gassign *> (_d2))
   12992                 :           0 :                               switch (gimple_assign_rhs_code (_a2))
   12993                 :             :                                 {
   12994                 :           0 :                                 case BIT_AND_EXPR:
   12995                 :           0 :                                   {
   12996                 :           0 :                                     tree _q30 = gimple_assign_rhs1 (_a2);
   12997                 :           0 :                                     _q30 = do_valueize (valueize, _q30);
   12998                 :           0 :                                     tree _q31 = gimple_assign_rhs2 (_a2);
   12999                 :           0 :                                     _q31 = do_valueize (valueize, _q31);
   13000                 :           0 :                                     if (tree_swap_operands_p (_q30, _q31))
   13001                 :           0 :                                       std::swap (_q30, _q31);
   13002                 :           0 :                                     switch (TREE_CODE (_p1))
   13003                 :             :                                       {
   13004                 :           0 :                                       case SSA_NAME:
   13005                 :           0 :                                         if (gimple *_d3 = get_def (valueize, _p1))
   13006                 :             :                                           {
   13007                 :           0 :                                             if (gcall *_c3 = dyn_cast <gcall *> (_d3))
   13008                 :           0 :                                               switch (gimple_call_combined_fn (_c3))
   13009                 :             :                                                 {
   13010                 :           0 :                                                 case CFN_BUILT_IN_POPCOUNTIMAX:
   13011                 :           0 :                                                   if (gimple_call_num_args (_c3) == 1)
   13012                 :             :                                                     {
   13013                 :           0 :                                                       tree _q60 = gimple_call_arg (_c3, 0);
   13014                 :           0 :                                                       _q60 = do_valueize (valueize, _q60);
   13015                 :           0 :                                                       switch (TREE_CODE (_q60))
   13016                 :             :                                                         {
   13017                 :           0 :                                                         case SSA_NAME:
   13018                 :           0 :                                                           if (gimple *_d4 = get_def (valueize, _q60))
   13019                 :             :                                                             {
   13020                 :           0 :                                                               if (gassign *_a4 = dyn_cast <gassign *> (_d4))
   13021                 :           0 :                                                                 switch (gimple_assign_rhs_code (_a4))
   13022                 :             :                                                                   {
   13023                 :           0 :                                                                   case BIT_IOR_EXPR:
   13024                 :           0 :                                                                     {
   13025                 :           0 :                                                                       tree _q70 = gimple_assign_rhs1 (_a4);
   13026                 :           0 :                                                                       _q70 = do_valueize (valueize, _q70);
   13027                 :           0 :                                                                       tree _q71 = gimple_assign_rhs2 (_a4);
   13028                 :           0 :                                                                       _q71 = do_valueize (valueize, _q71);
   13029                 :           0 :                                                                       if (tree_swap_operands_p (_q70, _q71))
   13030                 :           0 :                                                                         std::swap (_q70, _q71);
   13031                 :           0 :                                                                       if ((_q70 == _q30 && ! TREE_SIDE_EFFECTS (_q70)) || (operand_equal_p (_q70, _q30, 0) && types_match (_q70, _q30)))
   13032                 :             :                                                                         {
   13033                 :           0 :                                                                           if ((_q71 == _q31 && ! TREE_SIDE_EFFECTS (_q71)) || (operand_equal_p (_q71, _q31, 0) && types_match (_q71, _q31)))
   13034                 :             :                                                                             {
   13035                 :           0 :                                                                               {
   13036                 :           0 :                                                                                 tree captures[6] ATTRIBUTE_UNUSED = { _p0, _q20, _q30, _q31, _p1, _q60 };
   13037                 :           0 :                                                                                 if (gimple_simplify_72 (res_op, seq, valueize, type, captures, CFN_BUILT_IN_POPCOUNTIMAX))
   13038                 :           0 :                                                                                   return true;
   13039                 :             :                                                                               }
   13040                 :             :                                                                             }
   13041                 :             :                                                                         }
   13042                 :           0 :                                                                       if ((_q70 == _q31 && ! TREE_SIDE_EFFECTS (_q70)) || (operand_equal_p (_q70, _q31, 0) && types_match (_q70, _q31)))
   13043                 :             :                                                                         {
   13044                 :           0 :                                                                           if ((_q71 == _q30 && ! TREE_SIDE_EFFECTS (_q71)) || (operand_equal_p (_q71, _q30, 0) && types_match (_q71, _q30)))
   13045                 :             :                                                                             {
   13046                 :           0 :                                                                               {
   13047                 :           0 :                                                                                 tree captures[6] ATTRIBUTE_UNUSED = { _p0, _q20, _q30, _q31, _p1, _q60 };
   13048                 :           0 :                                                                                 if (gimple_simplify_72 (res_op, seq, valueize, type, captures, CFN_BUILT_IN_POPCOUNTIMAX))
   13049                 :           0 :                                                                                   return true;
   13050                 :             :                                                                               }
   13051                 :             :                                                                             }
   13052                 :             :                                                                         }
   13053                 :           0 :                                                                       break;
   13054                 :             :                                                                     }
   13055                 :             :                                                                   default:;
   13056                 :             :                                                                   }
   13057                 :             :                                                             }
   13058                 :             :                                                           break;
   13059                 :             :                                                         default:;
   13060                 :             :                                                         }
   13061                 :             :                                                     }
   13062                 :             :                                                   break;
   13063                 :             :                                                 default:;
   13064                 :             :                                                 }
   13065                 :             :                                           }
   13066                 :             :                                         break;
   13067                 :             :                                       default:;
   13068                 :             :                                       }
   13069                 :           0 :                                     break;
   13070                 :             :                                   }
   13071                 :           0 :                                 case BIT_IOR_EXPR:
   13072                 :           0 :                                   {
   13073                 :           0 :                                     tree _q30 = gimple_assign_rhs1 (_a2);
   13074                 :           0 :                                     _q30 = do_valueize (valueize, _q30);
   13075                 :           0 :                                     tree _q31 = gimple_assign_rhs2 (_a2);
   13076                 :           0 :                                     _q31 = do_valueize (valueize, _q31);
   13077                 :           0 :                                     if (tree_swap_operands_p (_q30, _q31))
   13078                 :           0 :                                       std::swap (_q30, _q31);
   13079                 :           0 :                                     switch (TREE_CODE (_p1))
   13080                 :             :                                       {
   13081                 :           0 :                                       case SSA_NAME:
   13082                 :           0 :                                         if (gimple *_d3 = get_def (valueize, _p1))
   13083                 :             :                                           {
   13084                 :           0 :                                             if (gcall *_c3 = dyn_cast <gcall *> (_d3))
   13085                 :           0 :                                               switch (gimple_call_combined_fn (_c3))
   13086                 :             :                                                 {
   13087                 :           0 :                                                 case CFN_BUILT_IN_POPCOUNTIMAX:
   13088                 :           0 :                                                   if (gimple_call_num_args (_c3) == 1)
   13089                 :             :                                                     {
   13090                 :           0 :                                                       tree _q60 = gimple_call_arg (_c3, 0);
   13091                 :           0 :                                                       _q60 = do_valueize (valueize, _q60);
   13092                 :           0 :                                                       switch (TREE_CODE (_q60))
   13093                 :             :                                                         {
   13094                 :           0 :                                                         case SSA_NAME:
   13095                 :           0 :                                                           if (gimple *_d4 = get_def (valueize, _q60))
   13096                 :             :                                                             {
   13097                 :           0 :                                                               if (gassign *_a4 = dyn_cast <gassign *> (_d4))
   13098                 :           0 :                                                                 switch (gimple_assign_rhs_code (_a4))
   13099                 :             :                                                                   {
   13100                 :           0 :                                                                   case BIT_AND_EXPR:
   13101                 :           0 :                                                                     {
   13102                 :           0 :                                                                       tree _q70 = gimple_assign_rhs1 (_a4);
   13103                 :           0 :                                                                       _q70 = do_valueize (valueize, _q70);
   13104                 :           0 :                                                                       tree _q71 = gimple_assign_rhs2 (_a4);
   13105                 :           0 :                                                                       _q71 = do_valueize (valueize, _q71);
   13106                 :           0 :                                                                       if (tree_swap_operands_p (_q70, _q71))
   13107                 :           0 :                                                                         std::swap (_q70, _q71);
   13108                 :           0 :                                                                       if ((_q70 == _q30 && ! TREE_SIDE_EFFECTS (_q70)) || (operand_equal_p (_q70, _q30, 0) && types_match (_q70, _q30)))
   13109                 :             :                                                                         {
   13110                 :           0 :                                                                           if ((_q71 == _q31 && ! TREE_SIDE_EFFECTS (_q71)) || (operand_equal_p (_q71, _q31, 0) && types_match (_q71, _q31)))
   13111                 :             :                                                                             {
   13112                 :           0 :                                                                               {
   13113                 :           0 :                                                                                 tree captures[6] ATTRIBUTE_UNUSED = { _p1, _q60, _q30, _q31, _p0, _q20 };
   13114                 :           0 :                                                                                 if (gimple_simplify_72 (res_op, seq, valueize, type, captures, CFN_BUILT_IN_POPCOUNTIMAX))
   13115                 :           0 :                                                                                   return true;
   13116                 :             :                                                                               }
   13117                 :             :                                                                             }
   13118                 :             :                                                                         }
   13119                 :           0 :                                                                       if ((_q70 == _q31 && ! TREE_SIDE_EFFECTS (_q70)) || (operand_equal_p (_q70, _q31, 0) && types_match (_q70, _q31)))
   13120                 :             :                                                                         {
   13121                 :           0 :                                                                           if ((_q71 == _q30 && ! TREE_SIDE_EFFECTS (_q71)) || (operand_equal_p (_q71, _q30, 0) && types_match (_q71, _q30)))
   13122                 :             :                                                                             {
   13123                 :           0 :                                                                               {
   13124                 :           0 :                                                                                 tree captures[6] ATTRIBUTE_UNUSED = { _p1, _q60, _q31, _q30, _p0, _q20 };
   13125                 :           0 :                                                                                 if (gimple_simplify_72 (res_op, seq, valueize, type, captures, CFN_BUILT_IN_POPCOUNTIMAX))
   13126                 :           0 :                                                                                   return true;
   13127                 :             :                                                                               }
   13128                 :             :                                                                             }
   13129                 :             :                                                                         }
   13130                 :           0 :                                                                       break;
   13131                 :             :                                                                     }
   13132                 :             :                                                                   default:;
   13133                 :             :                                                                   }
   13134                 :             :                                                             }
   13135                 :             :                                                           break;
   13136                 :             :                                                         default:;
   13137                 :             :                                                         }
   13138                 :             :                                                     }
   13139                 :             :                                                   break;
   13140                 :             :                                                 default:;
   13141                 :             :                                                 }
   13142                 :             :                                           }
   13143                 :             :                                         break;
   13144                 :             :                                       default:;
   13145                 :             :                                       }
   13146                 :           0 :                                     break;
   13147                 :             :                                   }
   13148                 :             :                                 default:;
   13149                 :             :                                 }
   13150                 :             :                           }
   13151                 :             :                         break;
   13152                 :           0 :                       default:;
   13153                 :             :                       }
   13154                 :           0 :                     switch (TREE_CODE (_p1))
   13155                 :             :                       {
   13156                 :           0 :                       case SSA_NAME:
   13157                 :           0 :                         if (gimple *_d2 = get_def (valueize, _p1))
   13158                 :             :                           {
   13159                 :           0 :                             if (gassign *_a2 = dyn_cast <gassign *> (_d2))
   13160                 :           0 :                               switch (gimple_assign_rhs_code (_a2))
   13161                 :             :                                 {
   13162                 :           0 :                                 case MINUS_EXPR:
   13163                 :           0 :                                   {
   13164                 :           0 :                                     tree _q40 = gimple_assign_rhs1 (_a2);
   13165                 :           0 :                                     _q40 = do_valueize (valueize, _q40);
   13166                 :           0 :                                     tree _q41 = gimple_assign_rhs2 (_a2);
   13167                 :           0 :                                     _q41 = do_valueize (valueize, _q41);
   13168                 :           0 :                                     switch (TREE_CODE (_q40))
   13169                 :             :                                       {
   13170                 :           0 :                                       case SSA_NAME:
   13171                 :           0 :                                         if (gimple *_d3 = get_def (valueize, _q40))
   13172                 :             :                                           {
   13173                 :           0 :                                             if (gcall *_c3 = dyn_cast <gcall *> (_d3))
   13174                 :           0 :                                               switch (gimple_call_combined_fn (_c3))
   13175                 :             :                                                 {
   13176                 :           0 :                                                 case CFN_BUILT_IN_POPCOUNTIMAX:
   13177                 :           0 :                                                   if (gimple_call_num_args (_c3) == 1)
   13178                 :             :                                                     {
   13179                 :           0 :                                                       tree _q50 = gimple_call_arg (_c3, 0);
   13180                 :           0 :                                                       _q50 = do_valueize (valueize, _q50);
   13181                 :           0 :                                                       switch (TREE_CODE (_q41))
   13182                 :             :                                                         {
   13183                 :           0 :                                                         case SSA_NAME:
   13184                 :           0 :                                                           if (gimple *_d4 = get_def (valueize, _q41))
   13185                 :             :                                                             {
   13186                 :           0 :                                                               if (gcall *_c4 = dyn_cast <gcall *> (_d4))
   13187                 :           0 :                                                                 switch (gimple_call_combined_fn (_c4))
   13188                 :             :                                                                   {
   13189                 :           0 :                                                                   case CFN_BUILT_IN_POPCOUNTIMAX:
   13190                 :           0 :                                                                     if (gimple_call_num_args (_c4) == 1)
   13191                 :             :                                                                       {
   13192                 :           0 :                                                                         tree _q70 = gimple_call_arg (_c4, 0);
   13193                 :           0 :                                                                         _q70 = do_valueize (valueize, _q70);
   13194                 :           0 :                                                                         switch (TREE_CODE (_q70))
   13195                 :             :                                                                           {
   13196                 :           0 :                                                                           case SSA_NAME:
   13197                 :           0 :                                                                             if (gimple *_d5 = get_def (valueize, _q70))
   13198                 :             :                                                                               {
   13199                 :           0 :                                                                                 if (gassign *_a5 = dyn_cast <gassign *> (_d5))
   13200                 :           0 :                                                                                   switch (gimple_assign_rhs_code (_a5))
   13201                 :             :                                                                                     {
   13202                 :           0 :                                                                                     case BIT_AND_EXPR:
   13203                 :           0 :                                                                                       {
   13204                 :           0 :                                                                                         tree _q80 = gimple_assign_rhs1 (_a5);
   13205                 :           0 :                                                                                         _q80 = do_valueize (valueize, _q80);
   13206                 :           0 :                                                                                         tree _q81 = gimple_assign_rhs2 (_a5);
   13207                 :           0 :                                                                                         _q81 = do_valueize (valueize, _q81);
   13208                 :           0 :                                                                                         if (tree_swap_operands_p (_q80, _q81))
   13209                 :           0 :                                                                                           std::swap (_q80, _q81);
   13210                 :           0 :                                                                                         if ((_q80 == _q50 && ! TREE_SIDE_EFFECTS (_q80)) || (operand_equal_p (_q80, _q50, 0) && types_match (_q80, _q50)))
   13211                 :             :                                                                                           {
   13212                 :           0 :                                                                                             if ((_q81 == _q20 && ! TREE_SIDE_EFFECTS (_q81)) || (operand_equal_p (_q81, _q20, 0) && types_match (_q81, _q20)))
   13213                 :             :                                                                                               {
   13214                 :           0 :                                                                                                 {
   13215                 :           0 :                                                                                                   tree captures[7] ATTRIBUTE_UNUSED = { _p1, _q40, _q50, _q41, _q70, _q20, _p0 };
   13216                 :           0 :                                                                                                   if (gimple_simplify_73 (res_op, seq, valueize, type, captures, BIT_AND_EXPR, BIT_IOR_EXPR, CFN_BUILT_IN_POPCOUNTIMAX))
   13217                 :           0 :                                                                                                     return true;
   13218                 :             :                                                                                                 }
   13219                 :             :                                                                                               }
   13220                 :             :                                                                                           }
   13221                 :           0 :                                                                                         if ((_q80 == _q20 && ! TREE_SIDE_EFFECTS (_q80)) || (operand_equal_p (_q80, _q20, 0) && types_match (_q80, _q20)))
   13222                 :             :                                                                                           {
   13223                 :           0 :                                                                                             if ((_q81 == _q50 && ! TREE_SIDE_EFFECTS (_q81)) || (operand_equal_p (_q81, _q50, 0) && types_match (_q81, _q50)))
   13224                 :             :                                                                                               {
   13225                 :           0 :                                                                                                 {
   13226                 :           0 :                                                                                                   tree captures[7] ATTRIBUTE_UNUSED = { _p1, _q40, _q50, _q41, _q70, _q20, _p0 };
   13227                 :           0 :                                                                                                   if (gimple_simplify_73 (res_op, seq, valueize, type, captures, BIT_AND_EXPR, BIT_IOR_EXPR, CFN_BUILT_IN_POPCOUNTIMAX))
   13228                 :           0 :                                                                                                     return true;
   13229                 :             :                                                                                                 }
   13230                 :             :                                                                                               }
   13231                 :             :                                                                                           }
   13232                 :    94166506 :                                                                                         break;
   13233                 :             :                                                                                       }
   13234                 :           0 :                                                                                     case BIT_IOR_EXPR:
   13235                 :           0 :                                                                                       {
   13236                 :           0 :                                                                                         tree _q80 = gimple_assign_rhs1 (_a5);
   13237                 :           0 :                                                                                         _q80 = do_valueize (valueize, _q80);
   13238                 :           0 :                                                                                         tree _q81 = gimple_assign_rhs2 (_a5);
   13239                 :           0 :                                                                                         _q81 = do_valueize (valueize, _q81);
   13240                 :           0 :                                                                                         if (tree_swap_operands_p (_q80, _q81))
   13241                 :           0 :                                                                                           std::swap (_q80, _q81);
   13242                 :           0 :                                                                                         if ((_q80 == _q50 && ! TREE_SIDE_EFFECTS (_q80)) || (operand_equal_p (_q80, _q50, 0) && types_match (_q80, _q50)))
   13243                 :             :                                                                                           {
   13244                 :           0 :                                                                                             if ((_q81 == _q20 && ! TREE_SIDE_EFFECTS (_q81)) || (operand_equal_p (_q81, _q20, 0) && types_match (_q81, _q20)))
   13245                 :             :                                                                                               {
   13246                 :           0 :                                                                                                 {
   13247                 :           0 :                                                                                                   tree captures[7] ATTRIBUTE_UNUSED = { _p1, _q40, _q50, _q41, _q70, _q20, _p0 };
   13248                 :           0 :                                                                                                   if (gimple_simplify_73 (res_op, seq, valueize, type, captures, BIT_IOR_EXPR, BIT_AND_EXPR, CFN_BUILT_IN_POPCOUNTIMAX))
   13249                 :           0 :                                                                                                     return true;
   13250                 :             :                                                                                                 }
   13251                 :             :                                                                                               }
   13252                 :             :                                                                                           }
   13253                 :           0 :                                                                                         if ((_q80 == _q20 && ! TREE_SIDE_EFFECTS (_q80)) || (operand_equal_p (_q80, _q20, 0) && types_match (_q80, _q20)))
   13254                 :             :                                                                                           {
   13255                 :           0 :                                                                                             if ((_q81 == _q50 && ! TREE_SIDE_EFFECTS (_q81)) || (operand_equal_p (_q81, _q50, 0) && types_match (_q81, _q50)))
   13256                 :             :                                                                                               {
   13257                 :           0 :                                                                                                 {
   13258                 :           0 :                                                                                                   tree captures[7] ATTRIBUTE_UNUSED = { _p1, _q40, _q50, _q41, _q70, _q20, _p0 };
   13259                 :           0 :                                                                                                   if (gimple_simplify_73 (res_op, seq, valueize, type, captures, BIT_IOR_EXPR, BIT_AND_EXPR, CFN_BUILT_IN_POPCOUNTIMAX))
   13260                 :           0 :                                                                                                     return true;
   13261                 :             :                                                                                                 }
   13262                 :             :                                                                                               }
   13263                 :             :                                                                                           }
   13264                 :    94166506 :                                                                                         break;
   13265                 :             :                                                                                       }
   13266                 :             :                                                                                     default:;
   13267                 :             :                                                                                     }
   13268                 :             :                                                                               }
   13269                 :             :                                                                             break;
   13270                 :             :                                                                           default:;
   13271                 :             :                                                                           }
   13272                 :             :                                                                       }
   13273                 :             :                                                                     break;
   13274                 :             :                                                                   default:;
   13275                 :             :                                                                   }
   13276                 :             :                                                             }
   13277                 :             :                                                           break;
   13278                 :             :                                                         default:;
   13279                 :             :                                                         }
   13280                 :             :                                                     }
   13281                 :             :                                                   break;
   13282                 :             :                                                 default:;
   13283                 :             :                                                 }
   13284                 :             :                                           }
   13285                 :             :                                         break;
   13286                 :             :                                       default:;
   13287                 :             :                                       }
   13288                 :             :                                     break;
   13289                 :             :                                   }
   13290                 :             :                                 default:;
   13291                 :             :                                 }
   13292                 :             :                           }
   13293                 :             :                         break;
   13294                 :             :                       default:;
   13295                 :             :                       }
   13296                 :             :                   }
   13297                 :             :                 break;
   13298                 :         178 :               case CFN_BUILT_IN_POPCOUNTL:
   13299                 :         178 :                 if (gimple_call_num_args (_c1) == 1)
   13300                 :             :                   {
   13301                 :         178 :                     tree _q20 = gimple_call_arg (_c1, 0);
   13302                 :         178 :                     _q20 = do_valueize (valueize, _q20);
   13303                 :         178 :                     switch (TREE_CODE (_p1))
   13304                 :             :                       {
   13305                 :         178 :                       case SSA_NAME:
   13306                 :         178 :                         if (gimple *_d2 = get_def (valueize, _p1))
   13307                 :             :                           {
   13308                 :         178 :                             if (gcall *_c2 = dyn_cast <gcall *> (_d2))
   13309                 :         106 :                               switch (gimple_call_combined_fn (_c2))
   13310                 :             :                                 {
   13311                 :         106 :                                 case CFN_BUILT_IN_POPCOUNTL:
   13312                 :         106 :                                   if (gimple_call_num_args (_c2) == 1)
   13313                 :             :                                     {
   13314                 :         106 :                                       tree _q40 = gimple_call_arg (_c2, 0);
   13315                 :         106 :                                       _q40 = do_valueize (valueize, _q40);
   13316                 :         106 :                                       {
   13317                 :         106 :                                         tree captures[4] ATTRIBUTE_UNUSED = { _p0, _q20, _p1, _q40 };
   13318                 :         106 :                                         if (gimple_simplify_71 (res_op, seq, valueize, type, captures, CFN_BUILT_IN_POPCOUNTL))
   13319                 :           0 :                                           return true;
   13320                 :             :                                       }
   13321                 :             :                                     }
   13322                 :             :                                   break;
   13323                 :             :                                 default:;
   13324                 :             :                                 }
   13325                 :             :                           }
   13326                 :             :                         break;
   13327                 :         178 :                       default:;
   13328                 :             :                       }
   13329                 :         178 :                     switch (TREE_CODE (_q20))
   13330                 :             :                       {
   13331                 :         178 :                       case SSA_NAME:
   13332                 :         178 :                         if (gimple *_d2 = get_def (valueize, _q20))
   13333                 :             :                           {
   13334                 :         176 :                             if (gassign *_a2 = dyn_cast <gassign *> (_d2))
   13335                 :         200 :                               switch (gimple_assign_rhs_code (_a2))
   13336                 :             :                                 {
   13337                 :           3 :                                 case BIT_AND_EXPR:
   13338                 :           3 :                                   {
   13339                 :           3 :                                     tree _q30 = gimple_assign_rhs1 (_a2);
   13340                 :           3 :                                     _q30 = do_valueize (valueize, _q30);
   13341                 :           3 :                                     tree _q31 = gimple_assign_rhs2 (_a2);
   13342                 :           3 :                                     _q31 = do_valueize (valueize, _q31);
   13343                 :           3 :                                     if (tree_swap_operands_p (_q30, _q31))
   13344                 :           0 :                                       std::swap (_q30, _q31);
   13345                 :           3 :                                     switch (TREE_CODE (_p1))
   13346                 :             :                                       {
   13347                 :           3 :                                       case SSA_NAME:
   13348                 :           3 :                                         if (gimple *_d3 = get_def (valueize, _p1))
   13349                 :             :                                           {
   13350                 :           3 :                                             if (gcall *_c3 = dyn_cast <gcall *> (_d3))
   13351                 :           0 :                                               switch (gimple_call_combined_fn (_c3))
   13352                 :             :                                                 {
   13353                 :           0 :                                                 case CFN_BUILT_IN_POPCOUNTL:
   13354                 :           0 :                                                   if (gimple_call_num_args (_c3) == 1)
   13355                 :             :                                                     {
   13356                 :           0 :                                                       tree _q60 = gimple_call_arg (_c3, 0);
   13357                 :           0 :                                                       _q60 = do_valueize (valueize, _q60);
   13358                 :           0 :                                                       switch (TREE_CODE (_q60))
   13359                 :             :                                                         {
   13360                 :           0 :                                                         case SSA_NAME:
   13361                 :           0 :                                                           if (gimple *_d4 = get_def (valueize, _q60))
   13362                 :             :                                                             {
   13363                 :           0 :                                                               if (gassign *_a4 = dyn_cast <gassign *> (_d4))
   13364                 :           0 :                                                                 switch (gimple_assign_rhs_code (_a4))
   13365                 :             :                                                                   {
   13366                 :           0 :                                                                   case BIT_IOR_EXPR:
   13367                 :           0 :                                                                     {
   13368                 :           0 :                                                                       tree _q70 = gimple_assign_rhs1 (_a4);
   13369                 :           0 :                                                                       _q70 = do_valueize (valueize, _q70);
   13370                 :           0 :                                                                       tree _q71 = gimple_assign_rhs2 (_a4);
   13371                 :           0 :                                                                       _q71 = do_valueize (valueize, _q71);
   13372                 :           0 :                                                                       if (tree_swap_operands_p (_q70, _q71))
   13373                 :           0 :                                                                         std::swap (_q70, _q71);
   13374                 :           0 :                                                                       if ((_q70 == _q30 && ! TREE_SIDE_EFFECTS (_q70)) || (operand_equal_p (_q70, _q30, 0) && types_match (_q70, _q30)))
   13375                 :             :                                                                         {
   13376                 :           0 :                                                                           if ((_q71 == _q31 && ! TREE_SIDE_EFFECTS (_q71)) || (operand_equal_p (_q71, _q31, 0) && types_match (_q71, _q31)))
   13377                 :             :                                                                             {
   13378                 :           0 :                                                                               {
   13379                 :           0 :                                                                                 tree captures[6] ATTRIBUTE_UNUSED = { _p0, _q20, _q30, _q31, _p1, _q60 };
   13380                 :           0 :                                                                                 if (gimple_simplify_72 (res_op, seq, valueize, type, captures, CFN_BUILT_IN_POPCOUNTL))
   13381                 :           0 :                                                                                   return true;
   13382                 :             :                                                                               }
   13383                 :             :                                                                             }
   13384                 :             :                                                                         }
   13385                 :           0 :                                                                       if ((_q70 == _q31 && ! TREE_SIDE_EFFECTS (_q70)) || (operand_equal_p (_q70, _q31, 0) && types_match (_q70, _q31)))
   13386                 :             :                                                                         {
   13387                 :           0 :                                                                           if ((_q71 == _q30 && ! TREE_SIDE_EFFECTS (_q71)) || (operand_equal_p (_q71, _q30, 0) && types_match (_q71, _q30)))
   13388                 :             :                                                                             {
   13389                 :           0 :                                                                               {
   13390                 :           0 :                                                                                 tree captures[6] ATTRIBUTE_UNUSED = { _p0, _q20, _q30, _q31, _p1, _q60 };
   13391                 :           0 :                                                                                 if (gimple_simplify_72 (res_op, seq, valueize, type, captures, CFN_BUILT_IN_POPCOUNTL))
   13392                 :           0 :                                                                                   return true;
   13393                 :             :                                                                               }
   13394                 :             :                                                                             }
   13395                 :             :                                                                         }
   13396                 :         178 :                                                                       break;
   13397                 :             :                                                                     }
   13398                 :             :                                                                   default:;
   13399                 :             :                                                                   }
   13400                 :             :                                                             }
   13401                 :             :                                                           break;
   13402                 :             :                                                         default:;
   13403                 :             :                                                         }
   13404                 :             :                                                     }
   13405                 :             :                                                   break;
   13406                 :             :                                                 default:;
   13407                 :             :                                                 }
   13408                 :             :                                           }
   13409                 :             :                                         break;
   13410                 :             :                                       default:;
   13411                 :             :                                       }
   13412                 :         178 :                                     break;
   13413                 :             :                                   }
   13414                 :           7 :                                 case BIT_IOR_EXPR:
   13415                 :           7 :                                   {
   13416                 :           7 :                                     tree _q30 = gimple_assign_rhs1 (_a2);
   13417                 :           7 :                                     _q30 = do_valueize (valueize, _q30);
   13418                 :           7 :                                     tree _q31 = gimple_assign_rhs2 (_a2);
   13419                 :           7 :                                     _q31 = do_valueize (valueize, _q31);
   13420                 :           7 :                                     if (tree_swap_operands_p (_q30, _q31))
   13421                 :           1 :                                       std::swap (_q30, _q31);
   13422                 :           7 :                                     switch (TREE_CODE (_p1))
   13423                 :             :                                       {
   13424                 :           7 :                                       case SSA_NAME:
   13425                 :           7 :                                         if (gimple *_d3 = get_def (valueize, _p1))
   13426                 :             :                                           {
   13427                 :           7 :                                             if (gcall *_c3 = dyn_cast <gcall *> (_d3))
   13428                 :           7 :                                               switch (gimple_call_combined_fn (_c3))
   13429                 :             :                                                 {
   13430                 :           7 :                                                 case CFN_BUILT_IN_POPCOUNTL:
   13431                 :           7 :                                                   if (gimple_call_num_args (_c3) == 1)
   13432                 :             :                                                     {
   13433                 :           7 :                                                       tree _q60 = gimple_call_arg (_c3, 0);
   13434                 :           7 :                                                       _q60 = do_valueize (valueize, _q60);
   13435                 :           7 :                                                       switch (TREE_CODE (_q60))
   13436                 :             :                                                         {
   13437                 :           7 :                                                         case SSA_NAME:
   13438                 :           7 :                                                           if (gimple *_d4 = get_def (valueize, _q60))
   13439                 :             :                                                             {
   13440                 :           7 :                                                               if (gassign *_a4 = dyn_cast <gassign *> (_d4))
   13441                 :           7 :                                                                 switch (gimple_assign_rhs_code (_a4))
   13442                 :             :                                                                   {
   13443                 :           0 :                                                                   case BIT_AND_EXPR:
   13444                 :           0 :                                                                     {
   13445                 :           0 :                                                                       tree _q70 = gimple_assign_rhs1 (_a4);
   13446                 :           0 :                                                                       _q70 = do_valueize (valueize, _q70);
   13447                 :           0 :                                                                       tree _q71 = gimple_assign_rhs2 (_a4);
   13448                 :           0 :                                                                       _q71 = do_valueize (valueize, _q71);
   13449                 :           0 :                                                                       if (tree_swap_operands_p (_q70, _q71))
   13450                 :           0 :                                                                         std::swap (_q70, _q71);
   13451                 :           0 :                                                                       if ((_q70 == _q30 && ! TREE_SIDE_EFFECTS (_q70)) || (operand_equal_p (_q70, _q30, 0) && types_match (_q70, _q30)))
   13452                 :             :                                                                         {
   13453                 :           0 :                                                                           if ((_q71 == _q31 && ! TREE_SIDE_EFFECTS (_q71)) || (operand_equal_p (_q71, _q31, 0) && types_match (_q71, _q31)))
   13454                 :             :                                                                             {
   13455                 :           0 :                                                                               {
   13456                 :           0 :                                                                                 tree captures[6] ATTRIBUTE_UNUSED = { _p1, _q60, _q30, _q31, _p0, _q20 };
   13457                 :           0 :                                                                                 if (gimple_simplify_72 (res_op, seq, valueize, type, captures, CFN_BUILT_IN_POPCOUNTL))
   13458                 :           0 :                                                                                   return true;
   13459                 :             :                                                                               }
   13460                 :             :                                                                             }
   13461                 :             :                                                                         }
   13462                 :           0 :                                                                       if ((_q70 == _q31 && ! TREE_SIDE_EFFECTS (_q70)) || (operand_equal_p (_q70, _q31, 0) && types_match (_q70, _q31)))
   13463                 :             :                                                                         {
   13464                 :           0 :                                                                           if ((_q71 == _q30 && ! TREE_SIDE_EFFECTS (_q71)) || (operand_equal_p (_q71, _q30, 0) && types_match (_q71, _q30)))
   13465                 :             :                                                                             {
   13466                 :           0 :                                                                               {
   13467                 :           0 :                                                                                 tree captures[6] ATTRIBUTE_UNUSED = { _p1, _q60, _q31, _q30, _p0, _q20 };
   13468                 :           0 :                                                                                 if (gimple_simplify_72 (res_op, seq, valueize, type, captures, CFN_BUILT_IN_POPCOUNTL))
   13469                 :           0 :                                                                                   return true;
   13470                 :             :                                                                               }
   13471                 :             :                                                                             }
   13472                 :             :                                                                         }
   13473                 :         178 :                                                                       break;
   13474                 :             :                                                                     }
   13475                 :             :                                                                   default:;
   13476                 :             :                                                                   }
   13477                 :             :                                                             }
   13478                 :             :                                                           break;
   13479                 :             :                                                         default:;
   13480                 :             :                                                         }
   13481                 :             :                                                     }
   13482                 :             :                                                   break;
   13483                 :             :                                                 default:;
   13484                 :             :                                                 }
   13485                 :             :                                           }
   13486                 :             :                                         break;
   13487                 :             :                                       default:;
   13488                 :             :                                       }
   13489                 :         178 :                                     break;
   13490                 :             :                                   }
   13491                 :             :                                 default:;
   13492                 :             :                                 }
   13493                 :             :                           }
   13494                 :             :                         break;
   13495                 :         178 :                       default:;
   13496                 :             :                       }
   13497                 :         178 :                     switch (TREE_CODE (_p1))
   13498                 :             :                       {
   13499                 :         178 :                       case SSA_NAME:
   13500                 :         178 :                         if (gimple *_d2 = get_def (valueize, _p1))
   13501                 :             :                           {
   13502                 :         178 :                             if (gassign *_a2 = dyn_cast <gassign *> (_d2))
   13503                 :          57 :                               switch (gimple_assign_rhs_code (_a2))
   13504                 :             :                                 {
   13505                 :           0 :                                 case MINUS_EXPR:
   13506                 :           0 :                                   {
   13507                 :           0 :                                     tree _q40 = gimple_assign_rhs1 (_a2);
   13508                 :           0 :                                     _q40 = do_valueize (valueize, _q40);
   13509                 :           0 :                                     tree _q41 = gimple_assign_rhs2 (_a2);
   13510                 :           0 :                                     _q41 = do_valueize (valueize, _q41);
   13511                 :           0 :                                     switch (TREE_CODE (_q40))
   13512                 :             :                                       {
   13513                 :           0 :                                       case SSA_NAME:
   13514                 :           0 :                                         if (gimple *_d3 = get_def (valueize, _q40))
   13515                 :             :                                           {
   13516                 :           0 :                                             if (gcall *_c3 = dyn_cast <gcall *> (_d3))
   13517                 :           0 :                                               switch (gimple_call_combined_fn (_c3))
   13518                 :             :                                                 {
   13519                 :           0 :                                                 case CFN_BUILT_IN_POPCOUNTL:
   13520                 :           0 :                                                   if (gimple_call_num_args (_c3) == 1)
   13521                 :             :                                                     {
   13522                 :           0 :                                                       tree _q50 = gimple_call_arg (_c3, 0);
   13523                 :           0 :                                                       _q50 = do_valueize (valueize, _q50);
   13524                 :           0 :                                                       switch (TREE_CODE (_q41))
   13525                 :             :                                                         {
   13526                 :           0 :                                                         case SSA_NAME:
   13527                 :           0 :                                                           if (gimple *_d4 = get_def (valueize, _q41))
   13528                 :             :                                                             {
   13529                 :           0 :                                                               if (gcall *_c4 = dyn_cast <gcall *> (_d4))
   13530                 :           0 :                                                                 switch (gimple_call_combined_fn (_c4))
   13531                 :             :                                                                   {
   13532                 :           0 :                                                                   case CFN_BUILT_IN_POPCOUNTL:
   13533                 :           0 :                                                                     if (gimple_call_num_args (_c4) == 1)
   13534                 :             :                                                                       {
   13535                 :           0 :                                                                         tree _q70 = gimple_call_arg (_c4, 0);
   13536                 :           0 :                                                                         _q70 = do_valueize (valueize, _q70);
   13537                 :           0 :                                                                         switch (TREE_CODE (_q70))
   13538                 :             :                                                                           {
   13539                 :           0 :                                                                           case SSA_NAME:
   13540                 :           0 :                                                                             if (gimple *_d5 = get_def (valueize, _q70))
   13541                 :             :                                                                               {
   13542                 :           0 :                                                                                 if (gassign *_a5 = dyn_cast <gassign *> (_d5))
   13543                 :           0 :                                                                                   switch (gimple_assign_rhs_code (_a5))
   13544                 :             :                                                                                     {
   13545                 :           0 :                                                                                     case BIT_AND_EXPR:
   13546                 :           0 :                                                                                       {
   13547                 :           0 :                                                                                         tree _q80 = gimple_assign_rhs1 (_a5);
   13548                 :           0 :                                                                                         _q80 = do_valueize (valueize, _q80);
   13549                 :           0 :                                                                                         tree _q81 = gimple_assign_rhs2 (_a5);
   13550                 :           0 :                                                                                         _q81 = do_valueize (valueize, _q81);
   13551                 :           0 :                                                                                         if (tree_swap_operands_p (_q80, _q81))
   13552                 :           0 :                                                                                           std::swap (_q80, _q81);
   13553                 :           0 :                                                                                         if ((_q80 == _q50 && ! TREE_SIDE_EFFECTS (_q80)) || (operand_equal_p (_q80, _q50, 0) && types_match (_q80, _q50)))
   13554                 :             :                                                                                           {
   13555                 :           0 :                                                                                             if ((_q81 == _q20 && ! TREE_SIDE_EFFECTS (_q81)) || (operand_equal_p (_q81, _q20, 0) && types_match (_q81, _q20)))
   13556                 :             :                                                                                               {
   13557                 :           0 :                                                                                                 {
   13558                 :           0 :                                                                                                   tree captures[7] ATTRIBUTE_UNUSED = { _p1, _q40, _q50, _q41, _q70, _q20, _p0 };
   13559                 :           0 :                                                                                                   if (gimple_simplify_73 (res_op, seq, valueize, type, captures, BIT_AND_EXPR, BIT_IOR_EXPR, CFN_BUILT_IN_POPCOUNTL))
   13560                 :           0 :                                                                                                     return true;
   13561                 :             :                                                                                                 }
   13562                 :             :                                                                                               }
   13563                 :             :                                                                                           }
   13564                 :           0 :                                                                                         if ((_q80 == _q20 && ! TREE_SIDE_EFFECTS (_q80)) || (operand_equal_p (_q80, _q20, 0) && types_match (_q80, _q20)))
   13565                 :             :                                                                                           {
   13566                 :           0 :                                                                                             if ((_q81 == _q50 && ! TREE_SIDE_EFFECTS (_q81)) || (operand_equal_p (_q81, _q50, 0) && types_match (_q81, _q50)))
   13567                 :             :                                                                                               {
   13568                 :           0 :                                                                                                 {
   13569                 :           0 :                                                                                                   tree captures[7] ATTRIBUTE_UNUSED = { _p1, _q40, _q50, _q41, _q70, _q20, _p0 };
   13570                 :           0 :                                                                                                   if (gimple_simplify_73 (res_op, seq, valueize, type, captures, BIT_AND_EXPR, BIT_IOR_EXPR, CFN_BUILT_IN_POPCOUNTL))
   13571                 :           0 :                                                                                                     return true;
   13572                 :             :                                                                                                 }
   13573                 :             :                                                                                               }
   13574                 :             :                                                                                           }
   13575                 :    94166506 :                                                                                         break;
   13576                 :             :                                                                                       }
   13577                 :           0 :                                                                                     case BIT_IOR_EXPR:
   13578                 :           0 :                                                                                       {
   13579                 :           0 :                                                                                         tree _q80 = gimple_assign_rhs1 (_a5);
   13580                 :           0 :                                                                                         _q80 = do_valueize (valueize, _q80);
   13581                 :           0 :                                                                                         tree _q81 = gimple_assign_rhs2 (_a5);
   13582                 :           0 :                                                                                         _q81 = do_valueize (valueize, _q81);
   13583                 :           0 :                                                                                         if (tree_swap_operands_p (_q80, _q81))
   13584                 :           0 :                                                                                           std::swap (_q80, _q81);
   13585                 :           0 :                                                                                         if ((_q80 == _q50 && ! TREE_SIDE_EFFECTS (_q80)) || (operand_equal_p (_q80, _q50, 0) && types_match (_q80, _q50)))
   13586                 :             :                                                                                           {
   13587                 :           0 :                                                                                             if ((_q81 == _q20 && ! TREE_SIDE_EFFECTS (_q81)) || (operand_equal_p (_q81, _q20, 0) && types_match (_q81, _q20)))
   13588                 :             :                                                                                               {
   13589                 :           0 :                                                                                                 {
   13590                 :           0 :                                                                                                   tree captures[7] ATTRIBUTE_UNUSED = { _p1, _q40, _q50, _q41, _q70, _q20, _p0 };
   13591                 :           0 :                                                                                                   if (gimple_simplify_73 (res_op, seq, valueize, type, captures, BIT_IOR_EXPR, BIT_AND_EXPR, CFN_BUILT_IN_POPCOUNTL))
   13592                 :           0 :                                                                                                     return true;
   13593                 :             :                                                                                                 }
   13594                 :             :                                                                                               }
   13595                 :             :                                                                                           }
   13596                 :           0 :                                                                                         if ((_q80 == _q20 && ! TREE_SIDE_EFFECTS (_q80)) || (operand_equal_p (_q80, _q20, 0) && types_match (_q80, _q20)))
   13597                 :             :                                                                                           {
   13598                 :           0 :                                                                                             if ((_q81 == _q50 && ! TREE_SIDE_EFFECTS (_q81)) || (operand_equal_p (_q81, _q50, 0) && types_match (_q81, _q50)))
   13599                 :             :                                                                                               {
   13600                 :           0 :                                                                                                 {
   13601                 :           0 :                                                                                                   tree captures[7] ATTRIBUTE_UNUSED = { _p1, _q40, _q50, _q41, _q70, _q20, _p0 };
   13602                 :           0 :                                                                                                   if (gimple_simplify_73 (res_op, seq, valueize, type, captures, BIT_IOR_EXPR, BIT_AND_EXPR, CFN_BUILT_IN_POPCOUNTL))
   13603                 :           0 :                                                                                                     return true;
   13604                 :             :                                                                                                 }
   13605                 :             :                                                                                               }
   13606                 :             :                                                                                           }
   13607                 :    94166506 :                                                                                         break;
   13608                 :             :                                                                                       }
   13609                 :             :                                                                                     default:;
   13610                 :             :                                                                                     }
   13611                 :             :                                                                               }
   13612                 :             :                                                                             break;
   13613                 :             :                                                                           default:;
   13614                 :             :                                                                           }
   13615                 :             :                                                                       }
   13616                 :             :                                                                     break;
   13617                 :             :                                                                   default:;
   13618                 :             :                                                                   }
   13619                 :             :                                                             }
   13620                 :             :                                                           break;
   13621                 :             :                                                         default:;
   13622                 :             :                                                         }
   13623                 :             :                                                     }
   13624                 :             :                                                   break;
   13625                 :             :                                                 default:;
   13626                 :             :                                                 }
   13627                 :             :                                           }
   13628                 :             :                                         break;
   13629                 :             :                                       default:;
   13630                 :             :                                       }
   13631                 :             :                                     break;
   13632                 :             :                                   }
   13633                 :             :                                 default:;
   13634                 :             :                                 }
   13635                 :             :                           }
   13636                 :             :                         break;
   13637                 :             :                       default:;
   13638                 :             :                       }
   13639                 :             :                   }
   13640                 :             :                 break;
   13641                 :             :               default:;
   13642                 :             :               }
   13643                 :             :         }
   13644                 :             :       break;
   13645                 :    94166506 :     default:;
   13646                 :             :     }
   13647                 :    94166506 :   switch (TREE_CODE (_p1))
   13648                 :             :     {
   13649                 :    17686589 :     case SSA_NAME:
   13650                 :    17686589 :       if (gimple *_d1 = get_def (valueize, _p1))
   13651                 :             :         {
   13652                 :    12519080 :           if (gassign *_a1 = dyn_cast <gassign *> (_d1))
   13653                 :    10561391 :             switch (gimple_assign_rhs_code (_a1))
   13654                 :             :               {
   13655                 :       21051 :               case VEC_PERM_EXPR:
   13656                 :       21051 :                 {
   13657                 :       21051 :                   tree _q30 = gimple_assign_rhs1 (_a1);
   13658                 :       21051 :                   _q30 = do_valueize (valueize, _q30);
   13659                 :       21051 :                   tree _q31 = gimple_assign_rhs2 (_a1);
   13660                 :       21051 :                   _q31 = do_valueize (valueize, _q31);
   13661                 :       21051 :                   tree _q32 = gimple_assign_rhs3 (_a1);
   13662                 :       21051 :                   _q32 = do_valueize (valueize, _q32);
   13663                 :       21051 :                   switch (TREE_CODE (_q30))
   13664                 :             :                     {
   13665                 :       14855 :                     case SSA_NAME:
   13666                 :       14855 :                       if (gimple *_d2 = get_def (valueize, _q30))
   13667                 :             :                         {
   13668                 :       11927 :                           if (gassign *_a2 = dyn_cast <gassign *> (_d2))
   13669                 :       13690 :                             switch (gimple_assign_rhs_code (_a2))
   13670                 :             :                               {
   13671                 :          10 :                               case MULT_EXPR:
   13672                 :          10 :                                 {
   13673                 :          10 :                                   tree _q40 = gimple_assign_rhs1 (_a2);
   13674                 :          10 :                                   _q40 = do_valueize (valueize, _q40);
   13675                 :          10 :                                   tree _q41 = gimple_assign_rhs2 (_a2);
   13676                 :          10 :                                   _q41 = do_valueize (valueize, _q41);
   13677                 :          10 :                                   if (tree_swap_operands_p (_q40, _q41))
   13678                 :           1 :                                     std::swap (_q40, _q41);
   13679                 :          10 :                                   if (gimple_vec_same_elem_p (_q41, valueize))
   13680                 :             :                                     {
   13681                 :           6 :                                       if ((_q31 == _q30 && ! TREE_SIDE_EFFECTS (_q31)) || (operand_equal_p (_q31, _q30, 0) && types_match (_q31, _q30)))
   13682                 :             :                                         {
   13683                 :           6 :                                           {
   13684                 :           6 :                                             tree captures[6] ATTRIBUTE_UNUSED = { _p1, _q30, _q40, _q41, _q32, _p0 };
   13685                 :           6 :                                             if (gimple_simplify_74 (res_op, seq, valueize, type, captures))
   13686                 :           0 :                                               return true;
   13687                 :             :                                           }
   13688                 :             :                                         }
   13689                 :             :                                     }
   13690                 :          10 :                                   if (gimple_vec_same_elem_p (_q40, valueize))
   13691                 :             :                                     {
   13692                 :           0 :                                       if ((_q31 == _q30 && ! TREE_SIDE_EFFECTS (_q31)) || (operand_equal_p (_q31, _q30, 0) && types_match (_q31, _q30)))
   13693                 :             :                                         {
   13694                 :           0 :                                           {
   13695                 :           0 :                                             tree captures[6] ATTRIBUTE_UNUSED = { _p1, _q30, _q41, _q40, _q32, _p0 };
   13696                 :           0 :                                             if (gimple_simplify_74 (res_op, seq, valueize, type, captures))
   13697                 :           0 :                                               return true;
   13698                 :             :                                           }
   13699                 :             :                                         }
   13700                 :             :                                     }
   13701                 :    96986698 :                                   break;
   13702                 :             :                                 }
   13703                 :             :                               default:;
   13704                 :             :                               }
   13705                 :             :                         }
   13706                 :             :                       break;
   13707                 :             :                     default:;
   13708                 :             :                     }
   13709                 :             :                   break;
   13710                 :             :                 }
   13711                 :             :               default:;
   13712                 :             :               }
   13713                 :             :         }
   13714                 :             :       break;
   13715                 :             :     default:;
   13716                 :             :     }
   13717                 :             :   return false;
   13718                 :             : }
   13719                 :             : 
   13720                 :             : bool
   13721                 :        5238 : gimple_simplify_CFN_BUILT_IN_POWF (gimple_match_op *res_op, gimple_seq *seq,
   13722                 :             :                  tree (*valueize)(tree) ATTRIBUTE_UNUSED,
   13723                 :             :                  code_helper ARG_UNUSED (code), tree ARG_UNUSED (type), tree _p0, tree _p1)
   13724                 :             : {
   13725                 :        5238 :   const bool debug_dump = dump_file && (dump_flags & TDF_FOLDING);
   13726                 :        5238 :   switch (TREE_CODE (_p0))
   13727                 :             :     {
   13728                 :        2349 :     case SSA_NAME:
   13729                 :        2349 :       if (gimple *_d1 = get_def (valueize, _p0))
   13730                 :             :         {
   13731                 :        1270 :           if (gassign *_a1 = dyn_cast <gassign *> (_d1))
   13732                 :        1254 :             switch (gimple_assign_rhs_code (_a1))
   13733                 :             :               {
   13734                 :           1 :               case NEGATE_EXPR:
   13735                 :           1 :                 {
   13736                 :           1 :                   tree _q20 = gimple_assign_rhs1 (_a1);
   13737                 :           1 :                   _q20 = do_valueize (valueize, _q20);
   13738                 :           1 :                   switch (TREE_CODE (_p1))
   13739                 :             :                     {
   13740                 :           1 :                     case REAL_CST:
   13741                 :           1 :                       {
   13742                 :           1 :                         {
   13743                 :           1 :                           tree captures[2] ATTRIBUTE_UNUSED = { _q20, _p1 };
   13744                 :           1 :                           const combined_fn pows = CFN_BUILT_IN_POWF;
   13745                 :           1 :                           {
   13746                 :           1 :  HOST_WIDE_INT n;
   13747                 :           1 :                               if (real_isinteger (&TREE_REAL_CST (captures[1]), &n) && (n & 1) == 0
   13748                 :             : )
   13749                 :             :                                 {
   13750                 :           1 :                                   gimple_seq *lseq = seq;
   13751                 :           1 :                                   if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail1987;
   13752                 :           1 :                                   {
   13753                 :           1 :                                     res_op->set_op (pows, type, 2);
   13754                 :           1 :                                     res_op->ops[0] = captures[0];
   13755                 :           1 :                                     res_op->ops[1] = captures[1];
   13756                 :           1 :                                     res_op->resimplify (lseq, valueize);
   13757                 :           1 :                                     if (UNLIKELY (debug_dump)) gimple_dump_logs ("match.pd", 1042, __FILE__, __LINE__, true);
   13758                 :           1 :                                     return true;
   13759                 :             :                                   }
   13760                 :           0 : next_after_fail1987:;
   13761                 :             :                                 }
   13762                 :             :                           }
   13763                 :             :                         }
   13764                 :           0 :                         break;
   13765                 :             :                       }
   13766                 :             :                     default:;
   13767                 :             :                     }
   13768                 :             :                   break;
   13769                 :             :                 }
   13770                 :         186 :               case ABS_EXPR:
   13771                 :         186 :                 {
   13772                 :         186 :                   tree _q20 = gimple_assign_rhs1 (_a1);
   13773                 :         186 :                   _q20 = do_valueize (valueize, _q20);
   13774                 :         186 :                   switch (TREE_CODE (_p1))
   13775                 :             :                     {
   13776                 :          30 :                     case REAL_CST:
   13777                 :          30 :                       {
   13778                 :          30 :                         {
   13779                 :          30 :                           tree captures[2] ATTRIBUTE_UNUSED = { _q20, _p1 };
   13780                 :          30 :                           const combined_fn pows = CFN_BUILT_IN_POWF;
   13781                 :          30 :                           {
   13782                 :          30 :  HOST_WIDE_INT n;
   13783                 :          30 :                               if (real_isinteger (&TREE_REAL_CST (captures[1]), &n) && (n & 1) == 0
   13784                 :             : )
   13785                 :             :                                 {
   13786                 :           1 :                                   gimple_seq *lseq = seq;
   13787                 :           1 :                                   if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail1988;
   13788                 :           1 :                                   {
   13789                 :           1 :                                     res_op->set_op (pows, type, 2);
   13790                 :           1 :                                     res_op->ops[0] = captures[0];
   13791                 :           1 :                                     res_op->ops[1] = captures[1];
   13792                 :           1 :                                     res_op->resimplify (lseq, valueize);
   13793                 :           1 :                                     if (UNLIKELY (debug_dump)) gimple_dump_logs ("match.pd", 1042, __FILE__, __LINE__, true);
   13794                 :           1 :                                     return true;
   13795                 :             :                                   }
   13796                 :           0 : next_after_fail1988:;
   13797                 :             :                                 }
   13798                 :             :                           }
   13799                 :             :                         }
   13800                 :          29 :                         break;
   13801                 :             :                       }
   13802                 :             :                     default:;
   13803                 :             :                     }
   13804                 :             :                   break;
   13805                 :             :                 }
   13806                 :             :               default:;
   13807                 :             :               }
   13808                 :         332 :           else if (gcall *_c1 = dyn_cast <gcall *> (_d1))
   13809                 :         108 :             switch (gimple_call_combined_fn (_c1))
   13810                 :             :               {
   13811                 :          14 :               case CFN_BUILT_IN_SQRTF:
   13812                 :          14 :                 if (gimple_call_num_args (_c1) == 1)
   13813                 :             :                   {
   13814                 :          14 :                     tree _q20 = gimple_call_arg (_c1, 0);
   13815                 :          14 :                     _q20 = do_valueize (valueize, _q20);
   13816                 :          14 :                     {
   13817                 :          14 :                       tree captures[2] ATTRIBUTE_UNUSED = { _q20, _p1 };
   13818                 :          14 :                       if (flag_unsafe_math_optimizations && canonicalize_math_p ()
   13819                 :             : )
   13820                 :             :                         {
   13821                 :          14 :                           gimple_seq *lseq = seq;
   13822                 :          14 :                           if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail1989;
   13823                 :          14 :                           {
   13824                 :          14 :                             res_op->set_op (CFN_BUILT_IN_POWF, type, 2);
   13825                 :          14 :                             res_op->ops[0] = captures[0];
   13826                 :          14 :                             {
   13827                 :          14 :                               tree _o1[2], _r1;
   13828                 :          14 :                               _o1[0] = captures[1];
   13829                 :          14 :                               _o1[1] =  build_real (type, dconsthalf);
   13830                 :          14 :                               gimple_match_op tem_op (res_op->cond.any_else (), MULT_EXPR, TREE_TYPE (_o1[0]), _o1[0], _o1[1]);
   13831                 :          14 :                               tem_op.resimplify (lseq, valueize);
   13832                 :          14 :                               _r1 = maybe_push_res_to_seq (&tem_op, lseq);
   13833                 :          14 :                               if (!_r1) goto next_after_fail1989;
   13834                 :           7 :                               res_op->ops[1] = _r1;
   13835                 :             :                             }
   13836                 :           7 :                             res_op->resimplify (lseq, valueize);
   13837                 :           7 :                             if (UNLIKELY (debug_dump)) gimple_dump_logs ("match.pd", 1043, __FILE__, __LINE__, true);
   13838                 :           7 :                             return true;
   13839                 :             :                           }
   13840                 :           7 : next_after_fail1989:;
   13841                 :             :                         }
   13842                 :             :                     }
   13843                 :             :                   }
   13844                 :             :                 break;
   13845                 :          12 :               case CFN_BUILT_IN_EXP10F:
   13846                 :          12 :                 if (gimple_call_num_args (_c1) == 1)
   13847                 :             :                   {
   13848                 :          12 :                     tree _q20 = gimple_call_arg (_c1, 0);
   13849                 :          12 :                     _q20 = do_valueize (valueize, _q20);
   13850                 :          12 :                     {
   13851                 :          12 :                       tree captures[2] ATTRIBUTE_UNUSED = { _q20, _p1 };
   13852                 :          12 :                       if (flag_unsafe_math_optimizations
   13853                 :             : )
   13854                 :             :                         {
   13855                 :          12 :                           gimple_seq *lseq = seq;
   13856                 :          12 :                           if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail1990;
   13857                 :          12 :                           {
   13858                 :          12 :                             res_op->set_op (CFN_BUILT_IN_EXP10F, type, 1);
   13859                 :          12 :                             {
   13860                 :          12 :                               tree _o1[2], _r1;
   13861                 :          12 :                               _o1[0] = captures[0];
   13862                 :          12 :                               _o1[1] = captures[1];
   13863                 :          12 :                               gimple_match_op tem_op (res_op->cond.any_else (), MULT_EXPR, TREE_TYPE (_o1[0]), _o1[0], _o1[1]);
   13864                 :          12 :                               tem_op.resimplify (lseq, valueize);
   13865                 :          12 :                               _r1 = maybe_push_res_to_seq (&tem_op, lseq);
   13866                 :          12 :                               if (!_r1) goto next_after_fail1990;
   13867                 :           6 :                               res_op->ops[0] = _r1;
   13868                 :             :                             }
   13869                 :           6 :                             res_op->resimplify (lseq, valueize);
   13870                 :           6 :                             if (UNLIKELY (debug_dump)) gimple_dump_logs ("match.pd", 1044, __FILE__, __LINE__, true);
   13871                 :           6 :                             return true;
   13872                 :             :                           }
   13873                 :           6 : next_after_fail1990:;
   13874                 :             :                         }
   13875                 :             :                     }
   13876                 :             :                   }
   13877                 :             :                 break;
   13878                 :          14 :               case CFN_BUILT_IN_EXPF:
   13879                 :          14 :                 if (gimple_call_num_args (_c1) == 1)
   13880                 :             :                   {
   13881                 :          14 :                     tree _q20 = gimple_call_arg (_c1, 0);
   13882                 :          14 :                     _q20 = do_valueize (valueize, _q20);
   13883                 :          14 :                     {
   13884                 :          14 :                       tree captures[2] ATTRIBUTE_UNUSED = { _q20, _p1 };
   13885                 :          14 :                       if (flag_unsafe_math_optimizations
   13886                 :             : )
   13887                 :             :                         {
   13888                 :          14 :                           gimple_seq *lseq = seq;
   13889                 :          14 :                           if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail1991;
   13890                 :          14 :                           {
   13891                 :          14 :                             res_op->set_op (CFN_BUILT_IN_EXPF, type, 1);
   13892                 :          14 :                             {
   13893                 :          14 :                               tree _o1[2], _r1;
   13894                 :          14 :                               _o1[0] = captures[0];
   13895                 :          14 :                               _o1[1] = captures[1];
   13896                 :          14 :                               gimple_match_op tem_op (res_op->cond.any_else (), MULT_EXPR, TREE_TYPE (_o1[0]), _o1[0], _o1[1]);
   13897                 :          14 :                               tem_op.resimplify (lseq, valueize);
   13898                 :          14 :                               _r1 = maybe_push_res_to_seq (&tem_op, lseq);
   13899                 :          14 :                               if (!_r1) goto next_after_fail1991;
   13900                 :           7 :                               res_op->ops[0] = _r1;
   13901                 :             :                             }
   13902                 :           7 :                             res_op->resimplify (lseq, valueize);
   13903                 :           7 :                             if (UNLIKELY (debug_dump)) gimple_dump_logs ("match.pd", 1044, __FILE__, __LINE__, true);
   13904                 :           7 :                             return true;
   13905                 :             :                           }
   13906                 :           7 : next_after_fail1991:;
   13907                 :             :                         }
   13908                 :             :                     }
   13909                 :             :                   }
   13910                 :             :                 break;
   13911                 :          23 :               case CFN_BUILT_IN_POWF:
   13912                 :          23 :                 if (gimple_call_num_args (_c1) == 2)
   13913                 :             :                   {
   13914                 :          23 :                     tree _q20 = gimple_call_arg (_c1, 0);
   13915                 :          23 :                     _q20 = do_valueize (valueize, _q20);
   13916                 :          23 :                     tree _q21 = gimple_call_arg (_c1, 1);
   13917                 :          23 :                     _q21 = do_valueize (valueize, _q21);
   13918                 :          23 :                     if (tree_expr_nonnegative_p (_q20))
   13919                 :             :                       {
   13920                 :          12 :                         {
   13921                 :          12 :                           tree captures[3] ATTRIBUTE_UNUSED = { _q20, _q21, _p1 };
   13922                 :          12 :                           if (flag_unsafe_math_optimizations && canonicalize_math_p ()
   13923                 :             : )
   13924                 :             :                             {
   13925                 :          12 :                               gimple_seq *lseq = seq;
   13926                 :          12 :                               if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail1992;
   13927                 :          12 :                               {
   13928                 :          12 :                                 res_op->set_op (CFN_BUILT_IN_POWF, type, 2);
   13929                 :          12 :                                 res_op->ops[0] = captures[0];
   13930                 :          12 :                                 {
   13931                 :          12 :                                   tree _o1[2], _r1;
   13932                 :          12 :                                   _o1[0] = captures[1];
   13933                 :          12 :                                   _o1[1] = captures[2];
   13934                 :          12 :                                   gimple_match_op tem_op (res_op->cond.any_else (), MULT_EXPR, TREE_TYPE (_o1[0]), _o1[0], _o1[1]);
   13935                 :          12 :                                   tem_op.resimplify (lseq, valueize);
   13936                 :          12 :                                   _r1 = maybe_push_res_to_seq (&tem_op, lseq);
   13937                 :          12 :                                   if (!_r1) goto next_after_fail1992;
   13938                 :           6 :                                   res_op->ops[1] = _r1;
   13939                 :             :                                 }
   13940                 :           6 :                                 res_op->resimplify (lseq, valueize);
   13941                 :           6 :                                 if (UNLIKELY (debug_dump)) gimple_dump_logs ("match.pd", 1045, __FILE__, __LINE__, true);
   13942                 :           6 :                                 return true;
   13943                 :             :                               }
   13944                 :           6 : next_after_fail1992:;
   13945                 :             :                             }
   13946                 :             :                         }
   13947                 :             :                       }
   13948                 :             :                   }
   13949                 :             :                 break;
   13950                 :          12 :               case CFN_BUILT_IN_POW10F:
   13951                 :          12 :                 if (gimple_call_num_args (_c1) == 1)
   13952                 :             :                   {
   13953                 :          12 :                     tree _q20 = gimple_call_arg (_c1, 0);
   13954                 :          12 :                     _q20 = do_valueize (valueize, _q20);
   13955                 :          12 :                     {
   13956                 :          12 :                       tree captures[2] ATTRIBUTE_UNUSED = { _q20, _p1 };
   13957                 :          12 :                       if (flag_unsafe_math_optimizations
   13958                 :             : )
   13959                 :             :                         {
   13960                 :          12 :                           gimple_seq *lseq = seq;
   13961                 :          12 :                           if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail1993;
   13962                 :          12 :                           {
   13963                 :          12 :                             res_op->set_op (CFN_BUILT_IN_POW10F, type, 1);
   13964                 :          12 :                             {
   13965                 :          12 :                               tree _o1[2], _r1;
   13966                 :          12 :                               _o1[0] = captures[0];
   13967                 :          12 :                               _o1[1] = captures[1];
   13968                 :          12 :                               gimple_match_op tem_op (res_op->cond.any_else (), MULT_EXPR, TREE_TYPE (_o1[0]), _o1[0], _o1[1]);
   13969                 :          12 :                               tem_op.resimplify (lseq, valueize);
   13970                 :          12 :                               _r1 = maybe_push_res_to_seq (&tem_op, lseq);
   13971                 :          12 :                               if (!_r1) goto next_after_fail1993;
   13972                 :           6 :                               res_op->ops[0] = _r1;
   13973                 :             :                             }
   13974                 :           6 :                             res_op->resimplify (lseq, valueize);
   13975                 :           6 :                             if (UNLIKELY (debug_dump)) gimple_dump_logs ("match.pd", 1044, __FILE__, __LINE__, true);
   13976                 :           6 :                             return true;
   13977                 :             :                           }
   13978                 :           6 : next_after_fail1993:;
   13979                 :             :                         }
   13980                 :             :                     }
   13981                 :             :                   }
   13982                 :             :                 break;
   13983                 :           0 :               case CFN_BUILT_IN_COPYSIGN:
   13984                 :           0 :                 if (gimple_call_num_args (_c1) == 2)
   13985                 :             :                   {
   13986                 :           0 :                     tree _q20 = gimple_call_arg (_c1, 0);
   13987                 :           0 :                     _q20 = do_valueize (valueize, _q20);
   13988                 :           0 :                     tree _q21 = gimple_call_arg (_c1, 1);
   13989                 :           0 :                     _q21 = do_valueize (valueize, _q21);
   13990                 :           0 :                     switch (TREE_CODE (_p1))
   13991                 :             :                       {
   13992                 :           0 :                       case REAL_CST:
   13993                 :           0 :                         {
   13994                 :           0 :                           {
   13995                 :           0 :                             tree captures[3] ATTRIBUTE_UNUSED = { _q20, _q21, _p1 };
   13996                 :           0 :                             if (gimple_simplify_401 (res_op, seq, valueize, type, captures, CFN_BUILT_IN_COPYSIGN, CFN_BUILT_IN_POWF))
   13997                 :           0 :                               return true;
   13998                 :             :                           }
   13999                 :           0 :                           break;
   14000                 :             :                         }
   14001                 :             :                       default:;
   14002                 :             :                       }
   14003                 :             :                   }
   14004                 :             :                 break;
   14005                 :           0 :               case CFN_BUILT_IN_COPYSIGNF:
   14006                 :           0 :                 if (gimple_call_num_args (_c1) == 2)
   14007                 :             :                   {
   14008                 :           0 :                     tree _q20 = gimple_call_arg (_c1, 0);
   14009                 :           0 :                     _q20 = do_valueize (valueize, _q20);
   14010                 :           0 :                     tree _q21 = gimple_call_arg (_c1, 1);
   14011                 :           0 :                     _q21 = do_valueize (valueize, _q21);
   14012                 :           0 :                     switch (TREE_CODE (_p1))
   14013                 :             :                       {
   14014                 :           0 :                       case REAL_CST:
   14015                 :           0 :                         {
   14016                 :           0 :                           {
   14017                 :           0 :                             tree captures[3] ATTRIBUTE_UNUSED = { _q20, _q21, _p1 };
   14018                 :           0 :                             if (gimple_simplify_401 (res_op, seq, valueize, type, captures, CFN_BUILT_IN_COPYSIGNF, CFN_BUILT_IN_POWF))
   14019                 :           0 :                               return true;
   14020                 :             :                           }
   14021                 :           0 :                           break;
   14022                 :             :                         }
   14023                 :             :                       default:;
   14024                 :             :                       }
   14025                 :             :                   }
   14026                 :             :                 break;
   14027                 :           0 :               case CFN_BUILT_IN_COPYSIGNL:
   14028                 :           0 :                 if (gimple_call_num_args (_c1) == 2)
   14029                 :             :                   {
   14030                 :           0 :                     tree _q20 = gimple_call_arg (_c1, 0);
   14031                 :           0 :                     _q20 = do_valueize (valueize, _q20);
   14032                 :           0 :                     tree _q21 = gimple_call_arg (_c1, 1);
   14033                 :           0 :                     _q21 = do_valueize (valueize, _q21);
   14034                 :           0 :                     switch (TREE_CODE (_p1))
   14035                 :             :                       {
   14036                 :           0 :                       case REAL_CST:
   14037                 :           0 :                         {
   14038                 :           0 :                           {
   14039                 :           0 :                             tree captures[3] ATTRIBUTE_UNUSED = { _q20, _q21, _p1 };
   14040                 :           0 :                             if (gimple_simplify_401 (res_op, seq, valueize, type, captures, CFN_BUILT_IN_COPYSIGNL, CFN_BUILT_IN_POWF))
   14041                 :           0 :                               return true;
   14042                 :             :                           }
   14043                 :           0 :                           break;
   14044                 :             :                         }
   14045                 :             :                       default:;
   14046                 :             :                       }
   14047                 :             :                   }
   14048                 :             :                 break;
   14049                 :          12 :               case CFN_BUILT_IN_CBRTF:
   14050                 :          12 :                 if (gimple_call_num_args (_c1) == 1)
   14051                 :             :                   {
   14052                 :          12 :                     tree _q20 = gimple_call_arg (_c1, 0);
   14053                 :          12 :                     _q20 = do_valueize (valueize, _q20);
   14054                 :          12 :                     if (tree_expr_nonnegative_p (_q20))
   14055                 :             :                       {
   14056                 :          12 :                         {
   14057                 :          12 :                           tree captures[2] ATTRIBUTE_UNUSED = { _q20, _p1 };
   14058                 :          12 :                           if (flag_unsafe_math_optimizations && canonicalize_math_p ()
   14059                 :             : )
   14060                 :             :                             {
   14061                 :          12 :                               gimple_seq *lseq = seq;
   14062                 :          12 :                               if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail1994;
   14063                 :          12 :                               {
   14064                 :          12 :                                 res_op->set_op (CFN_BUILT_IN_POWF, type, 2);
   14065                 :          12 :                                 res_op->ops[0] = captures[0];
   14066                 :          12 :                                 {
   14067                 :          12 :                                   tree _o1[2], _r1;
   14068                 :          12 :                                   _o1[0] = captures[1];
   14069                 :          12 :                                   _o1[1] =  build_real_truncate (type, dconst_third ());
   14070                 :          12 :                                   gimple_match_op tem_op (res_op->cond.any_else (), MULT_EXPR, TREE_TYPE (_o1[0]), _o1[0], _o1[1]);
   14071                 :          12 :                                   tem_op.resimplify (lseq, valueize);
   14072                 :          12 :                                   _r1 = maybe_push_res_to_seq (&tem_op, lseq);
   14073                 :          12 :                                   if (!_r1) goto next_after_fail1994;
   14074                 :           6 :                                   res_op->ops[1] = _r1;
   14075                 :             :                                 }
   14076                 :           6 :                                 res_op->resimplify (lseq, valueize);
   14077                 :           6 :                                 if (UNLIKELY (debug_dump)) gimple_dump_logs ("match.pd", 1046, __FILE__, __LINE__, true);
   14078                 :           6 :                                 return true;
   14079                 :             :                               }
   14080                 :           6 : next_after_fail1994:;
   14081                 :             :                             }
   14082                 :             :                         }
   14083                 :             :                       }
   14084                 :             :                   }
   14085                 :             :                 break;
   14086                 :          12 :               case CFN_BUILT_IN_EXP2F:
   14087                 :          12 :                 if (gimple_call_num_args (_c1) == 1)
   14088                 :             :                   {
   14089                 :          12 :                     tree _q20 = gimple_call_arg (_c1, 0);
   14090                 :          12 :                     _q20 = do_valueize (valueize, _q20);
   14091                 :          12 :                     {
   14092                 :          12 :                       tree captures[2] ATTRIBUTE_UNUSED = { _q20, _p1 };
   14093                 :          12 :                       if (flag_unsafe_math_optimizations
   14094                 :             : )
   14095                 :             :                         {
   14096                 :          12 :                           gimple_seq *lseq = seq;
   14097                 :          12 :                           if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail1995;
   14098                 :          12 :                           {
   14099                 :          12 :                             res_op->set_op (CFN_BUILT_IN_EXP2F, type, 1);
   14100                 :          12 :                             {
   14101                 :          12 :                               tree _o1[2], _r1;
   14102                 :          12 :                               _o1[0] = captures[0];
   14103                 :          12 :                               _o1[1] = captures[1];
   14104                 :          12 :                               gimple_match_op tem_op (res_op->cond.any_else (), MULT_EXPR, TREE_TYPE (_o1[0]), _o1[0], _o1[1]);
   14105                 :          12 :                               tem_op.resimplify (lseq, valueize);
   14106                 :          12 :                               _r1 = maybe_push_res_to_seq (&tem_op, lseq);
   14107                 :          12 :                               if (!_r1) goto next_after_fail1995;
   14108                 :           6 :                               res_op->ops[0] = _r1;
   14109                 :             :                             }
   14110                 :           6 :                             res_op->resimplify (lseq, valueize);
   14111                 :           6 :                             if (UNLIKELY (debug_dump)) gimple_dump_logs ("match.pd", 1044, __FILE__, __LINE__, true);
   14112                 :           6 :                             return true;
   14113                 :             :                           }
   14114                 :           6 : next_after_fail1995:;
   14115                 :             :                         }
   14116                 :             :                     }
   14117                 :             :                   }
   14118                 :             :                 break;
   14119                 :           1 :               case CFN_COPYSIGN:
   14120                 :           1 :                 if (gimple_call_num_args (_c1) == 2)
   14121                 :             :                   {
   14122                 :           1 :                     tree _q20 = gimple_call_arg (_c1, 0);
   14123                 :           1 :                     _q20 = do_valueize (valueize, _q20);
   14124                 :           1 :                     tree _q21 = gimple_call_arg (_c1, 1);
   14125                 :           1 :                     _q21 = do_valueize (valueize, _q21);
   14126                 :           1 :                     switch (TREE_CODE (_p1))
   14127                 :             :                       {
   14128                 :           1 :                       case REAL_CST:
   14129                 :           1 :                         {
   14130                 :           1 :                           {
   14131                 :           1 :                             tree captures[3] ATTRIBUTE_UNUSED = { _q20, _q21, _p1 };
   14132                 :           1 :                             if (gimple_simplify_401 (res_op, seq, valueize, type, captures, CFN_COPYSIGN, CFN_BUILT_IN_POWF))
   14133                 :           1 :                               return true;
   14134                 :             :                           }
   14135                 :           0 :                           break;
   14136                 :             :                         }
   14137                 :             :                       default:;
   14138                 :             :                       }
   14139                 :             :                   }
   14140                 :             :                 break;
   14141                 :             :               default:;
   14142                 :             :               }
   14143                 :             :         }
   14144                 :             :       break;
   14145                 :        2728 :     case REAL_CST:
   14146                 :        2728 :       {
   14147                 :        2728 :         {
   14148                 :        2728 :           tree captures[2] ATTRIBUTE_UNUSED = { _p0, _p1 };
   14149                 :        2728 :           if (gimple_simplify_402 (res_op, seq, valueize, type, captures, CFN_BUILT_IN_POWF, CFN_BUILT_IN_EXPF, CFN_BUILT_IN_LOGF, CFN_BUILT_IN_EXP2F, CFN_BUILT_IN_LOG2F))
   14150                 :           2 :             return true;
   14151                 :             :         }
   14152                 :        2726 :         break;
   14153                 :             :       }
   14154                 :        5189 :     default:;
   14155                 :             :     }
   14156                 :        5189 : if (real_onep (_p0))
   14157                 :             :   {
   14158                 :         152 :     {
   14159                 :         152 :       tree captures[2] ATTRIBUTE_UNUSED = { _p0, _p1 };
   14160                 :         152 :       if (gimple_simplify_403 (res_op, seq, valueize, type, captures, CFN_BUILT_IN_POWF))
   14161                 :         152 :         return true;
   14162                 :             :     }
   14163                 :             :   }
   14164                 :        5037 :   switch (TREE_CODE (_p1))
   14165                 :             :     {
   14166                 :        2103 :     case REAL_CST:
   14167                 :        2103 :       {
   14168                 :        2103 :         {
   14169                 :        2103 :           tree captures[2] ATTRIBUTE_UNUSED = { _p0, _p1 };
   14170                 :        2103 :           {
   14171                 :        2103 :  const REAL_VALUE_TYPE *value = TREE_REAL_CST_PTR (captures[1]);
   14172                 :        2103 :  REAL_VALUE_TYPE tmp;
   14173                 :        2103 :               if (real_equal (value, &dconst0)
   14174                 :             : )
   14175                 :             :                 {
   14176                 :          12 :                   gimple_seq *lseq = seq;
   14177                 :          12 :                   if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail1996;
   14178                 :          12 :                   {
   14179                 :          12 :                     tree tem;
   14180                 :          12 :                     tem =  build_real (type, dconst1);
   14181                 :          12 :                     res_op->set_value (tem);
   14182                 :          12 :                     if (UNLIKELY (debug_dump)) gimple_dump_logs ("match.pd", 1047, __FILE__, __LINE__, true);
   14183                 :          25 :                     return true;
   14184                 :             :                   }
   14185                 :           0 : next_after_fail1996:;
   14186                 :             :                 }
   14187                 :             :               else
   14188                 :             :                 {
   14189                 :        2091 :                   if (real_equal (value, &dconst1)
   14190                 :             : )
   14191                 :             :                     {
   14192                 :           7 :                       gimple_seq *lseq = seq;
   14193                 :           7 :                       if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail1997;
   14194                 :           7 :                       {
   14195                 :           7 :                         tree tem;
   14196                 :           7 :                         tem = captures[0];
   14197                 :           7 :                         res_op->set_value (tem);
   14198                 :           7 :                         if (UNLIKELY (debug_dump)) gimple_dump_logs ("match.pd", 1048, __FILE__, __LINE__, true);
   14199                 :           7 :                         return true;
   14200                 :             :                       }
   14201                 :           0 : next_after_fail1997:;
   14202                 :             :                     }
   14203                 :             :                   else
   14204                 :             :                     {
   14205                 :        2084 :                       if (real_equal (value, &dconstm1)
   14206                 :             : )
   14207                 :             :                         {
   14208                 :           6 :                           gimple_seq *lseq = seq;
   14209                 :           6 :                           if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail1998;
   14210                 :           6 :                           {
   14211                 :           6 :                             res_op->set_op (RDIV_EXPR, type, 2);
   14212                 :           6 :                             res_op->ops[0] =  build_real (type, dconst1);
   14213                 :           6 :                             res_op->ops[1] = captures[0];
   14214                 :           6 :                             res_op->resimplify (lseq, valueize);
   14215                 :           6 :                             if (UNLIKELY (debug_dump)) gimple_dump_logs ("match.pd", 1049, __FILE__, __LINE__, true);
   14216                 :           6 :                             return true;
   14217                 :             :                           }
   14218                 :           0 : next_after_fail1998:;
   14219                 :             :                         }
   14220                 :             :                       else
   14221                 :             :                         {
   14222                 :        2078 :                           if (flag_unsafe_math_optimizations
   14223                 :             :  && canonicalize_math_p ()
   14224                 :        2372 :  && real_equal (value, &dconsthalf)
   14225                 :             : )
   14226                 :             :                             {
   14227                 :           0 :                               gimple_seq *lseq = seq;
   14228                 :           0 :                               if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail1999;
   14229                 :           0 :                               {
   14230                 :           0 :                                 res_op->set_op (CFN_BUILT_IN_SQRTF, type, 1);
   14231                 :           0 :                                 res_op->ops[0] = captures[0];
   14232                 :           0 :                                 res_op->resimplify (lseq, valueize);
   14233                 :           0 :                                 if (UNLIKELY (debug_dump)) gimple_dump_logs ("match.pd", 1050, __FILE__, __LINE__, true);
   14234                 :           0 :                                 return true;
   14235                 :             :                               }
   14236                 :           0 : next_after_fail1999:;
   14237                 :             :                             }
   14238                 :             :                           else
   14239                 :             :                             {
   14240                 :        2078 :                               if (flag_unsafe_math_optimizations
   14241                 :             :  && canonicalize_math_p ()
   14242                 :        2698 :  && (tmp = real_value_truncate (TYPE_MODE (type), dconst_third ()),
   14243                 :         294 :  real_equal (value, &tmp))
   14244                 :             : )
   14245                 :             :                                 {
   14246                 :           0 :                                   gimple_seq *lseq = seq;
   14247                 :           0 :                                   if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail2000;
   14248                 :           0 :                                   {
   14249                 :           0 :                                     res_op->set_op (CFN_BUILT_IN_CBRTF, type, 1);
   14250                 :           0 :                                     res_op->ops[0] = captures[0];
   14251                 :           0 :                                     res_op->resimplify (lseq, valueize);
   14252                 :           0 :                                     if (UNLIKELY (debug_dump)) gimple_dump_logs ("match.pd", 1051, __FILE__, __LINE__, true);
   14253                 :           0 :                                     return true;
   14254                 :             :                                   }
   14255                 :           0 : next_after_fail2000:;
   14256                 :             :                                 }
   14257                 :             :                             }
   14258                 :             :                         }
   14259                 :             :                     }
   14260                 :             :                 }
   14261                 :             :           }
   14262                 :             :         }
   14263                 :        2078 :         break;
   14264                 :             :       }
   14265                 :             :     default:;
   14266                 :             :     }
   14267                 :             :   return false;
   14268                 :             : }
   14269                 :             : 
   14270                 :             : bool
   14271                 :           0 : gimple_simplify_CFN_POW (gimple_match_op *res_op, gimple_seq *seq,
   14272                 :             :                  tree (*valueize)(tree) ATTRIBUTE_UNUSED,
   14273                 :             :                  code_helper ARG_UNUSED (code), tree ARG_UNUSED (type), tree _p0, tree _p1)
   14274                 :             : {
   14275                 :           0 :   const bool debug_dump = dump_file && (dump_flags & TDF_FOLDING);
   14276                 :           0 :   switch (TREE_CODE (_p0))
   14277                 :             :     {
   14278                 :           0 :     case SSA_NAME:
   14279                 :           0 :       if (gimple *_d1 = get_def (valueize, _p0))
   14280                 :             :         {
   14281                 :           0 :           if (gassign *_a1 = dyn_cast <gassign *> (_d1))
   14282                 :           0 :             switch (gimple_assign_rhs_code (_a1))
   14283                 :             :               {
   14284                 :           0 :               case NEGATE_EXPR:
   14285                 :           0 :                 {
   14286                 :           0 :                   tree _q20 = gimple_assign_rhs1 (_a1);
   14287                 :           0 :                   _q20 = do_valueize (valueize, _q20);
   14288                 :           0 :                   switch (TREE_CODE (_p1))
   14289                 :             :                     {
   14290                 :           0 :                     case REAL_CST:
   14291                 :           0 :                       {
   14292                 :           0 :                         {
   14293                 :           0 :                           tree captures[2] ATTRIBUTE_UNUSED = { _q20, _p1 };
   14294                 :           0 :                           const combined_fn pows = CFN_POW;
   14295                 :           0 :                           {
   14296                 :           0 :  HOST_WIDE_INT n;
   14297                 :           0 :                               if (real_isinteger (&TREE_REAL_CST (captures[1]), &n) && (n & 1) == 0
   14298                 :             : )
   14299                 :             :                                 {
   14300                 :           0 :                                   gimple_seq *lseq = seq;
   14301                 :           0 :                                   if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail2029;
   14302                 :           0 :                                   {
   14303                 :           0 :                                     res_op->set_op (pows, type, 2);
   14304                 :           0 :                                     res_op->ops[0] = captures[0];
   14305                 :           0 :                                     res_op->ops[1] = captures[1];
   14306                 :           0 :                                     res_op->resimplify (lseq, valueize);
   14307                 :           0 :                                     if (UNLIKELY (debug_dump)) gimple_dump_logs ("match.pd", 1042, __FILE__, __LINE__, true);
   14308                 :           0 :                                     return true;
   14309                 :             :                                   }
   14310                 :           0 : next_after_fail2029:;
   14311                 :             :                                 }
   14312                 :             :                           }
   14313                 :             :                         }
   14314                 :           0 :                         break;
   14315                 :             :                       }
   14316                 :             :                     default:;
   14317                 :             :                     }
   14318                 :             :                   break;
   14319                 :             :                 }
   14320                 :           0 :               case ABS_EXPR:
   14321                 :           0 :                 {
   14322                 :           0 :                   tree _q20 = gimple_assign_rhs1 (_a1);
   14323                 :           0 :                   _q20 = do_valueize (valueize, _q20);
   14324                 :           0 :                   switch (TREE_CODE (_p1))
   14325                 :             :                     {
   14326                 :           0 :                     case REAL_CST:
   14327                 :           0 :                       {
   14328                 :           0 :                         {
   14329                 :           0 :                           tree captures[2] ATTRIBUTE_UNUSED = { _q20, _p1 };
   14330                 :           0 :                           const combined_fn pows = CFN_POW;
   14331                 :           0 :                           {
   14332                 :           0 :  HOST_WIDE_INT n;
   14333                 :           0 :                               if (real_isinteger (&TREE_REAL_CST (captures[1]), &n) && (n & 1) == 0
   14334                 :             : )
   14335                 :             :                                 {
   14336                 :           0 :                                   gimple_seq *lseq = seq;
   14337                 :           0 :                                   if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail2030;
   14338                 :           0 :                                   {
   14339                 :           0 :                                     res_op->set_op (pows, type, 2);
   14340                 :           0 :                                     res_op->ops[0] = captures[0];
   14341                 :           0 :                                     res_op->ops[1] = captures[1];
   14342                 :           0 :                                     res_op->resimplify (lseq, valueize);
   14343                 :           0 :                                     if (UNLIKELY (debug_dump)) gimple_dump_logs ("match.pd", 1042, __FILE__, __LINE__, true);
   14344                 :           0 :                                     return true;
   14345                 :             :                                   }
   14346                 :           0 : next_after_fail2030:;
   14347                 :             :                                 }
   14348                 :             :                           }
   14349                 :             :                         }
   14350                 :           0 :                         break;
   14351                 :             :                       }
   14352                 :             :                     default:;
   14353                 :             :                     }
   14354                 :             :                   break;
   14355                 :             :                 }
   14356                 :             :               default:;
   14357                 :             :               }
   14358                 :           0 :           else if (gcall *_c1 = dyn_cast <gcall *> (_d1))
   14359                 :           0 :             switch (gimple_call_combined_fn (_c1))
   14360                 :             :               {
   14361                 :           0 :               case CFN_EXP:
   14362                 :           0 :                 if (gimple_call_num_args (_c1) == 1)
   14363                 :             :                   {
   14364                 :           0 :                     tree _q20 = gimple_call_arg (_c1, 0);
   14365                 :           0 :                     _q20 = do_valueize (valueize, _q20);
   14366                 :           0 :                     {
   14367                 :           0 :                       tree captures[2] ATTRIBUTE_UNUSED = { _q20, _p1 };
   14368                 :           0 :                       if (flag_unsafe_math_optimizations
   14369                 :             : )
   14370                 :             :                         {
   14371                 :           0 :                           gimple_seq *lseq = seq;
   14372                 :           0 :                           if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail2031;
   14373                 :           0 :                           {
   14374                 :           0 :                             res_op->set_op (CFN_EXP, type, 1);
   14375                 :           0 :                             {
   14376                 :           0 :                               tree _o1[2], _r1;
   14377                 :           0 :                               _o1[0] = captures[0];
   14378                 :           0 :                               _o1[1] = captures[1];
   14379                 :           0 :                               gimple_match_op tem_op (res_op->cond.any_else (), MULT_EXPR, TREE_TYPE (_o1[0]), _o1[0], _o1[1]);
   14380                 :           0 :                               tem_op.resimplify (lseq, valueize);
   14381                 :           0 :                               _r1 = maybe_push_res_to_seq (&tem_op, lseq);
   14382                 :           0 :                               if (!_r1) goto next_after_fail2031;
   14383                 :           0 :                               res_op->ops[0] = _r1;
   14384                 :             :                             }
   14385                 :           0 :                             res_op->resimplify (lseq, valueize);
   14386                 :           0 :                             if (UNLIKELY (debug_dump)) gimple_dump_logs ("match.pd", 1044, __FILE__, __LINE__, true);
   14387                 :           0 :                             return true;
   14388                 :             :                           }
   14389                 :           0 : next_after_fail2031:;
   14390                 :             :                         }
   14391                 :             :                     }
   14392                 :             :                   }
   14393                 :             :                 break;
   14394                 :           0 :               case CFN_POW:
   14395                 :           0 :                 if (gimple_call_num_args (_c1) == 2)
   14396                 :             :                   {
   14397                 :           0 :                     tree _q20 = gimple_call_arg (_c1, 0);
   14398                 :           0 :                     _q20 = do_valueize (valueize, _q20);
   14399                 :           0 :                     tree _q21 = gimple_call_arg (_c1, 1);
   14400                 :           0 :                     _q21 = do_valueize (valueize, _q21);
   14401                 :           0 :                     if (tree_expr_nonnegative_p (_q20))
   14402                 :             :                       {
   14403                 :           0 :                         {
   14404                 :           0 :                           tree captures[3] ATTRIBUTE_UNUSED = { _q20, _q21, _p1 };
   14405                 :           0 :                           if (flag_unsafe_math_optimizations && canonicalize_math_p ()
   14406                 :             : )
   14407                 :             :                             {
   14408                 :           0 :                               gimple_seq *lseq = seq;
   14409                 :           0 :                               if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail2032;
   14410                 :           0 :                               {
   14411                 :           0 :                                 res_op->set_op (CFN_POW, type, 2);
   14412                 :           0 :                                 res_op->ops[0] = captures[0];
   14413                 :           0 :                                 {
   14414                 :           0 :                                   tree _o1[2], _r1;
   14415                 :           0 :                                   _o1[0] = captures[1];
   14416                 :           0 :                                   _o1[1] = captures[2];
   14417                 :           0 :                                   gimple_match_op tem_op (res_op->cond.any_else (), MULT_EXPR, TREE_TYPE (_o1[0]), _o1[0], _o1[1]);
   14418                 :           0 :                                   tem_op.resimplify (lseq, valueize);
   14419                 :           0 :                                   _r1 = maybe_push_res_to_seq (&tem_op, lseq);
   14420                 :           0 :                                   if (!_r1) goto next_after_fail2032;
   14421                 :           0 :                                   res_op->ops[1] = _r1;
   14422                 :             :                                 }
   14423                 :           0 :                                 res_op->resimplify (lseq, valueize);
   14424                 :           0 :                                 if (UNLIKELY (debug_dump)) gimple_dump_logs ("match.pd", 1045, __FILE__, __LINE__, true);
   14425                 :           0 :                                 return true;
   14426                 :             :                               }
   14427                 :           0 : next_after_fail2032:;
   14428                 :             :                             }
   14429                 :             :                         }
   14430                 :             :                       }
   14431                 :             :                   }
   14432                 :             :                 break;
   14433                 :           0 :               case CFN_BUILT_IN_COPYSIGN:
   14434                 :           0 :                 if (gimple_call_num_args (_c1) == 2)
   14435                 :             :                   {
   14436                 :           0 :                     tree _q20 = gimple_call_arg (_c1, 0);
   14437                 :           0 :                     _q20 = do_valueize (valueize, _q20);
   14438                 :           0 :                     tree _q21 = gimple_call_arg (_c1, 1);
   14439                 :           0 :                     _q21 = do_valueize (valueize, _q21);
   14440                 :           0 :                     switch (TREE_CODE (_p1))
   14441                 :             :                       {
   14442                 :           0 :                       case REAL_CST:
   14443                 :           0 :                         {
   14444                 :           0 :                           {
   14445                 :           0 :                             tree captures[3] ATTRIBUTE_UNUSED = { _q20, _q21, _p1 };
   14446                 :           0 :                             if (gimple_simplify_401 (res_op, seq, valueize, type, captures, CFN_BUILT_IN_COPYSIGN, CFN_POW))
   14447                 :           0 :                               return true;
   14448                 :             :                           }
   14449                 :           0 :                           break;
   14450                 :             :                         }
   14451                 :             :                       default:;
   14452                 :             :                       }
   14453                 :             :                   }
   14454                 :             :                 break;
   14455                 :           0 :               case CFN_EXP2:
   14456                 :           0 :                 if (gimple_call_num_args (_c1) == 1)
   14457                 :             :                   {
   14458                 :           0 :                     tree _q20 = gimple_call_arg (_c1, 0);
   14459                 :           0 :                     _q20 = do_valueize (valueize, _q20);
   14460                 :           0 :                     {
   14461                 :           0 :                       tree captures[2] ATTRIBUTE_UNUSED = { _q20, _p1 };
   14462                 :           0 :                       if (flag_unsafe_math_optimizations
   14463                 :             : )
   14464                 :             :                         {
   14465                 :           0 :                           gimple_seq *lseq = seq;
   14466                 :           0 :                           if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail2033;
   14467                 :           0 :                           {
   14468                 :           0 :                             res_op->set_op (CFN_EXP2, type, 1);
   14469                 :           0 :                             {
   14470                 :           0 :                               tree _o1[2], _r1;
   14471                 :           0 :                               _o1[0] = captures[0];
   14472                 :           0 :                               _o1[1] = captures[1];
   14473                 :           0 :                               gimple_match_op tem_op (res_op->cond.any_else (), MULT_EXPR, TREE_TYPE (_o1[0]), _o1[0], _o1[1]);
   14474                 :           0 :                               tem_op.resimplify (lseq, valueize);
   14475                 :           0 :                               _r1 = maybe_push_res_to_seq (&tem_op, lseq);
   14476                 :           0 :                               if (!_r1) goto next_after_fail2033;
   14477                 :           0 :                               res_op->ops[0] = _r1;
   14478                 :             :                             }
   14479                 :           0 :                             res_op->resimplify (lseq, valueize);
   14480                 :           0 :                             if (UNLIKELY (debug_dump)) gimple_dump_logs ("match.pd", 1044, __FILE__, __LINE__, true);
   14481                 :           0 :                             return true;
   14482                 :             :                           }
   14483                 :           0 : next_after_fail2033:;
   14484                 :             :                         }
   14485                 :             :                     }
   14486                 :             :                   }
   14487                 :             :                 break;
   14488                 :           0 :               case CFN_SQRT:
   14489                 :           0 :                 if (gimple_call_num_args (_c1) == 1)
   14490                 :             :                   {
   14491                 :           0 :                     tree _q20 = gimple_call_arg (_c1, 0);
   14492                 :           0 :                     _q20 = do_valueize (valueize, _q20);
   14493                 :           0 :                     {
   14494                 :           0 :                       tree captures[2] ATTRIBUTE_UNUSED = { _q20, _p1 };
   14495                 :           0 :                       if (flag_unsafe_math_optimizations && canonicalize_math_p ()
   14496                 :             : )
   14497                 :             :                         {
   14498                 :           0 :                           gimple_seq *lseq = seq;
   14499                 :           0 :                           if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail2034;
   14500                 :           0 :                           {
   14501                 :           0 :                             res_op->set_op (CFN_POW, type, 2);
   14502                 :           0 :                             res_op->ops[0] = captures[0];
   14503                 :           0 :                             {
   14504                 :           0 :                               tree _o1[2], _r1;
   14505                 :           0 :                               _o1[0] = captures[1];
   14506                 :           0 :                               _o1[1] =  build_real (type, dconsthalf);
   14507                 :           0 :                               gimple_match_op tem_op (res_op->cond.any_else (), MULT_EXPR, TREE_TYPE (_o1[0]), _o1[0], _o1[1]);
   14508                 :           0 :                               tem_op.resimplify (lseq, valueize);
   14509                 :           0 :                               _r1 = maybe_push_res_to_seq (&tem_op, lseq);
   14510                 :           0 :                               if (!_r1) goto next_after_fail2034;
   14511                 :           0 :                               res_op->ops[1] = _r1;
   14512                 :             :                             }
   14513                 :           0 :                             res_op->resimplify (lseq, valueize);
   14514                 :           0 :                             if (UNLIKELY (debug_dump)) gimple_dump_logs ("match.pd", 1043, __FILE__, __LINE__, true);
   14515                 :           0 :                             return true;
   14516                 :             :                           }
   14517                 :           0 : next_after_fail2034:;
   14518                 :             :                         }
   14519                 :             :                     }
   14520                 :             :                   }
   14521                 :             :                 break;
   14522                 :           0 :               case CFN_BUILT_IN_COPYSIGNF:
   14523                 :           0 :                 if (gimple_call_num_args (_c1) == 2)
   14524                 :             :                   {
   14525                 :           0 :                     tree _q20 = gimple_call_arg (_c1, 0);
   14526                 :           0 :                     _q20 = do_valueize (valueize, _q20);
   14527                 :           0 :                     tree _q21 = gimple_call_arg (_c1, 1);
   14528                 :           0 :                     _q21 = do_valueize (valueize, _q21);
   14529                 :           0 :                     switch (TREE_CODE (_p1))
   14530                 :             :                       {
   14531                 :           0 :                       case REAL_CST:
   14532                 :           0 :                         {
   14533                 :           0 :                           {
   14534                 :           0 :                             tree captures[3] ATTRIBUTE_UNUSED = { _q20, _q21, _p1 };
   14535                 :           0 :                             if (gimple_simplify_401 (res_op, seq, valueize, type, captures, CFN_BUILT_IN_COPYSIGNF, CFN_POW))
   14536                 :           0 :                               return true;
   14537                 :             :                           }
   14538                 :           0 :                           break;
   14539                 :             :                         }
   14540                 :             :                       default:;
   14541                 :             :                       }
   14542                 :             :                   }
   14543                 :             :                 break;
   14544                 :           0 :               case CFN_BUILT_IN_COPYSIGNL:
   14545                 :           0 :                 if (gimple_call_num_args (_c1) == 2)
   14546                 :             :                   {
   14547                 :           0 :                     tree _q20 = gimple_call_arg (_c1, 0);
   14548                 :           0 :                     _q20 = do_valueize (valueize, _q20);
   14549                 :           0 :                     tree _q21 = gimple_call_arg (_c1, 1);
   14550                 :           0 :                     _q21 = do_valueize (valueize, _q21);
   14551                 :           0 :                     switch (TREE_CODE (_p1))
   14552                 :             :                       {
   14553                 :           0 :                       case REAL_CST:
   14554                 :           0 :                         {
   14555                 :           0 :                           {
   14556                 :           0 :                             tree captures[3] ATTRIBUTE_UNUSED = { _q20, _q21, _p1 };
   14557                 :           0 :                             if (gimple_simplify_401 (res_op, seq, valueize, type, captures, CFN_BUILT_IN_COPYSIGNL, CFN_POW))
   14558                 :           0 :                               return true;
   14559                 :             :                           }
   14560                 :           0 :                           break;
   14561                 :             :                         }
   14562                 :             :                       default:;
   14563                 :             :                       }
   14564                 :             :                   }
   14565                 :             :                 break;
   14566                 :           0 :               case CFN_EXP10:
   14567                 :           0 :                 if (gimple_call_num_args (_c1) == 1)
   14568                 :             :                   {
   14569                 :           0 :                     tree _q20 = gimple_call_arg (_c1, 0);
   14570                 :           0 :                     _q20 = do_valueize (valueize, _q20);
   14571                 :           0 :                     {
   14572                 :           0 :                       tree captures[2] ATTRIBUTE_UNUSED = { _q20, _p1 };
   14573                 :           0 :                       if (flag_unsafe_math_optimizations
   14574                 :             : )
   14575                 :             :                         {
   14576                 :           0 :                           gimple_seq *lseq = seq;
   14577                 :           0 :                           if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail2035;
   14578                 :           0 :                           {
   14579                 :           0 :                             res_op->set_op (CFN_EXP10, type, 1);
   14580                 :           0 :                             {
   14581                 :           0 :                               tree _o1[2], _r1;
   14582                 :           0 :                               _o1[0] = captures[0];
   14583                 :           0 :                               _o1[1] = captures[1];
   14584                 :           0 :                               gimple_match_op tem_op (res_op->cond.any_else (), MULT_EXPR, TREE_TYPE (_o1[0]), _o1[0], _o1[1]);
   14585                 :           0 :                               tem_op.resimplify (lseq, valueize);
   14586                 :           0 :                               _r1 = maybe_push_res_to_seq (&tem_op, lseq);
   14587                 :           0 :                               if (!_r1) goto next_after_fail2035;
   14588                 :           0 :                               res_op->ops[0] = _r1;
   14589                 :             :                             }
   14590                 :           0 :                             res_op->resimplify (lseq, valueize);
   14591                 :           0 :                             if (UNLIKELY (debug_dump)) gimple_dump_logs ("match.pd", 1044, __FILE__, __LINE__, true);
   14592                 :           0 :                             return true;
   14593                 :             :                           }
   14594                 :           0 : next_after_fail2035:;
   14595                 :             :                         }
   14596                 :             :                     }
   14597                 :             :                   }
   14598                 :             :                 break;
   14599                 :           0 :               case CFN_COPYSIGN:
   14600                 :           0 :                 if (gimple_call_num_args (_c1) == 2)
   14601                 :             :                   {
   14602                 :           0 :                     tree _q20 = gimple_call_arg (_c1, 0);
   14603                 :           0 :                     _q20 = do_valueize (valueize, _q20);
   14604                 :           0 :                     tree _q21 = gimple_call_arg (_c1, 1);
   14605                 :           0 :                     _q21 = do_valueize (valueize, _q21);
   14606                 :           0 :                     switch (TREE_CODE (_p1))
   14607                 :             :                       {
   14608                 :           0 :                       case REAL_CST:
   14609                 :           0 :                         {
   14610                 :           0 :                           {
   14611                 :           0 :                             tree captures[3] ATTRIBUTE_UNUSED = { _q20, _q21, _p1 };
   14612                 :           0 :                             if (gimple_simplify_401 (res_op, seq, valueize, type, captures, CFN_COPYSIGN, CFN_POW))
   14613                 :           0 :                               return true;
   14614                 :             :                           }
   14615                 :           0 :                           break;
   14616                 :             :                         }
   14617                 :             :                       default:;
   14618                 :             :                       }
   14619                 :             :                   }
   14620                 :             :                 break;
   14621                 :             :               default:;
   14622                 :             :               }
   14623                 :             :         }
   14624                 :             :       break;
   14625                 :           0 :     case REAL_CST:
   14626                 :           0 :       {
   14627                 :           0 :         {
   14628                 :           0 :           tree captures[2] ATTRIBUTE_UNUSED = { _p0, _p1 };
   14629                 :           0 :           if (gimple_simplify_402 (res_op, seq, valueize, type, captures, CFN_POW, CFN_EXP, CFN_LOG, CFN_EXP2, CFN_LOG2))
   14630                 :           0 :             return true;
   14631                 :             :         }
   14632                 :           0 :         break;
   14633                 :             :       }
   14634                 :           0 :     default:;
   14635                 :             :     }
   14636                 :           0 : if (real_onep (_p0))
   14637                 :             :   {
   14638                 :           0 :     {
   14639                 :           0 :       tree captures[2] ATTRIBUTE_UNUSED = { _p0, _p1 };
   14640                 :           0 :       if (gimple_simplify_403 (res_op, seq, valueize, type, captures, CFN_POW))
   14641                 :           0 :         return true;
   14642                 :             :     }
   14643                 :             :   }
   14644                 :             :   return false;
   14645                 :             : }
   14646                 :             : 
   14647                 :             : bool
   14648                 :         333 : gimple_simplify_CFN_BUILT_IN_HYPOT (gimple_match_op *res_op, gimple_seq *seq,
   14649                 :             :                  tree (*valueize)(tree) ATTRIBUTE_UNUSED,
   14650                 :             :                  code_helper ARG_UNUSED (code), tree ARG_UNUSED (type), tree _p0, tree _p1)
   14651                 :             : {
   14652                 :         333 :   const bool debug_dump = dump_file && (dump_flags & TDF_FOLDING);
   14653                 :         333 :   switch (TREE_CODE (_p0))
   14654                 :             :     {
   14655                 :         297 :     case SSA_NAME:
   14656                 :         297 :       if (gimple *_d1 = get_def (valueize, _p0))
   14657                 :             :         {
   14658                 :         177 :           if (gassign *_a1 = dyn_cast <gassign *> (_d1))
   14659                 :         112 :             switch (gimple_assign_rhs_code (_a1))
   14660                 :             :               {
   14661                 :           7 :               case NEGATE_EXPR:
   14662                 :           7 :                 {
   14663                 :           7 :                   tree _q20 = gimple_assign_rhs1 (_a1);
   14664                 :           7 :                   _q20 = do_valueize (valueize, _q20);
   14665                 :           7 :                   {
   14666                 :           7 :                     tree captures[2] ATTRIBUTE_UNUSED = { _q20, _p1 };
   14667                 :           7 :                     const combined_fn hypots = CFN_BUILT_IN_HYPOT;
   14668                 :           7 :                     gimple_seq *lseq = seq;
   14669                 :           7 :                     if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail2067;
   14670                 :           7 :                     {
   14671                 :           7 :                       res_op->set_op (hypots, type, 2);
   14672                 :           7 :                       res_op->ops[0] = captures[0];
   14673                 :           7 :                       res_op->ops[1] = captures[1];
   14674                 :           7 :                       res_op->resimplify (lseq, valueize);
   14675                 :           7 :                       if (UNLIKELY (debug_dump)) gimple_dump_logs ("match.pd", 1057, __FILE__, __LINE__, true);
   14676                 :           7 :                       return true;
   14677                 :             :                     }
   14678                 :           0 : next_after_fail2067:;
   14679                 :             :                   }
   14680                 :           0 :                   break;
   14681                 :             :                 }
   14682                 :           5 :               case ABS_EXPR:
   14683                 :           5 :                 {
   14684                 :           5 :                   tree _q20 = gimple_assign_rhs1 (_a1);
   14685                 :           5 :                   _q20 = do_valueize (valueize, _q20);
   14686                 :           5 :                   {
   14687                 :           5 :                     tree captures[2] ATTRIBUTE_UNUSED = { _q20, _p1 };
   14688                 :           5 :                     const combined_fn hypots = CFN_BUILT_IN_HYPOT;
   14689                 :           5 :                     gimple_seq *lseq = seq;
   14690                 :           5 :                     if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail2068;
   14691                 :           5 :                     {
   14692                 :           5 :                       res_op->set_op (hypots, type, 2);
   14693                 :           5 :                       res_op->ops[0] = captures[0];
   14694                 :           5 :                       res_op->ops[1] = captures[1];
   14695                 :           5 :                       res_op->resimplify (lseq, valueize);
   14696                 :           5 :                       if (UNLIKELY (debug_dump)) gimple_dump_logs ("match.pd", 1057, __FILE__, __LINE__, true);
   14697                 :           5 :                       return true;
   14698                 :             :                     }
   14699                 :           0 : next_after_fail2068:;
   14700                 :             :                   }
   14701                 :           0 :                   break;
   14702                 :             :                 }
   14703                 :             :               default:;
   14704                 :             :               }
   14705                 :             :         }
   14706                 :             :       break;
   14707                 :         321 :     default:;
   14708                 :             :     }
   14709                 :         321 :   switch (TREE_CODE (_p1))
   14710                 :             :     {
   14711                 :         283 :     case SSA_NAME:
   14712                 :         283 :       if (gimple *_d1 = get_def (valueize, _p1))
   14713                 :             :         {
   14714                 :         165 :           if (gassign *_a1 = dyn_cast <gassign *> (_d1))
   14715                 :         144 :             switch (gimple_assign_rhs_code (_a1))
   14716                 :             :               {
   14717                 :           7 :               case NEGATE_EXPR:
   14718                 :           7 :                 {
   14719                 :           7 :                   tree _q30 = gimple_assign_rhs1 (_a1);
   14720                 :           7 :                   _q30 = do_valueize (valueize, _q30);
   14721                 :           7 :                   {
   14722                 :           7 :                     tree captures[2] ATTRIBUTE_UNUSED = { _p0, _q30 };
   14723                 :           7 :                     const combined_fn hypots = CFN_BUILT_IN_HYPOT;
   14724                 :           7 :                     gimple_seq *lseq = seq;
   14725                 :           7 :                     if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail2069;
   14726                 :           7 :                     {
   14727                 :           7 :                       res_op->set_op (hypots, type, 2);
   14728                 :           7 :                       res_op->ops[0] = captures[0];
   14729                 :           7 :                       res_op->ops[1] = captures[1];
   14730                 :           7 :                       res_op->resimplify (lseq, valueize);
   14731                 :           7 :                       if (UNLIKELY (debug_dump)) gimple_dump_logs ("match.pd", 1058, __FILE__, __LINE__, true);
   14732                 :           7 :                       return true;
   14733                 :             :                     }
   14734                 :           0 : next_after_fail2069:;
   14735                 :             :                   }
   14736                 :           0 :                   break;
   14737                 :             :                 }
   14738                 :           5 :               case ABS_EXPR:
   14739                 :           5 :                 {
   14740                 :           5 :                   tree _q30 = gimple_assign_rhs1 (_a1);
   14741                 :           5 :                   _q30 = do_valueize (valueize, _q30);
   14742                 :           5 :                   {
   14743                 :           5 :                     tree captures[2] ATTRIBUTE_UNUSED = { _p0, _q30 };
   14744                 :           5 :                     const combined_fn hypots = CFN_BUILT_IN_HYPOT;
   14745                 :           5 :                     gimple_seq *lseq = seq;
   14746                 :           5 :                     if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail2070;
   14747                 :           5 :                     {
   14748                 :           5 :                       res_op->set_op (hypots, type, 2);
   14749                 :           5 :                       res_op->ops[0] = captures[0];
   14750                 :           5 :                       res_op->ops[1] = captures[1];
   14751                 :           5 :                       res_op->resimplify (lseq, valueize);
   14752                 :           5 :                       if (UNLIKELY (debug_dump)) gimple_dump_logs ("match.pd", 1058, __FILE__, __LINE__, true);
   14753                 :           5 :                       return true;
   14754                 :             :                     }
   14755                 :           0 : next_after_fail2070:;
   14756                 :             :                   }
   14757                 :           0 :                   break;
   14758                 :             :                 }
   14759                 :             :               default:;
   14760                 :             :               }
   14761                 :             :         }
   14762                 :             :       break;
   14763                 :         309 :     default:;
   14764                 :             :     }
   14765                 :         309 :   switch (TREE_CODE (_p0))
   14766                 :             :     {
   14767                 :         273 :     case SSA_NAME:
   14768                 :         273 :       if (gimple *_d1 = get_def (valueize, _p0))
   14769                 :             :         {
   14770                 :         153 :           if (gcall *_c1 = dyn_cast <gcall *> (_d1))
   14771                 :          25 :             switch (gimple_call_combined_fn (_c1))
   14772                 :             :               {
   14773                 :           4 :               case CFN_BUILT_IN_COPYSIGN:
   14774                 :           4 :                 if (gimple_call_num_args (_c1) == 2)
   14775                 :             :                   {
   14776                 :           4 :                     tree _q20 = gimple_call_arg (_c1, 0);
   14777                 :           4 :                     _q20 = do_valueize (valueize, _q20);
   14778                 :           4 :                     tree _q21 = gimple_call_arg (_c1, 1);
   14779                 :           4 :                     _q21 = do_valueize (valueize, _q21);
   14780                 :           4 :                     {
   14781                 :           4 :                       tree captures[3] ATTRIBUTE_UNUSED = { _q20, _q21, _p1 };
   14782                 :           4 :                       if (gimple_simplify_405 (res_op, seq, valueize, type, captures, CFN_BUILT_IN_COPYSIGN, CFN_BUILT_IN_HYPOT))
   14783                 :           4 :                         return true;
   14784                 :             :                     }
   14785                 :             :                   }
   14786                 :             :                 break;
   14787                 :           0 :               case CFN_BUILT_IN_COPYSIGNF:
   14788                 :           0 :                 if (gimple_call_num_args (_c1) == 2)
   14789                 :             :                   {
   14790                 :           0 :                     tree _q20 = gimple_call_arg (_c1, 0);
   14791                 :           0 :                     _q20 = do_valueize (valueize, _q20);
   14792                 :           0 :                     tree _q21 = gimple_call_arg (_c1, 1);
   14793                 :           0 :                     _q21 = do_valueize (valueize, _q21);
   14794                 :           0 :                     {
   14795                 :           0 :                       tree captures[3] ATTRIBUTE_UNUSED = { _q20, _q21, _p1 };
   14796                 :           0 :                       if (gimple_simplify_405 (res_op, seq, valueize, type, captures, CFN_BUILT_IN_COPYSIGNF, CFN_BUILT_IN_HYPOT))
   14797                 :           0 :                         return true;
   14798                 :             :                     }
   14799                 :             :                   }
   14800                 :             :                 break;
   14801                 :           0 :               case CFN_BUILT_IN_COPYSIGNL:
   14802                 :           0 :                 if (gimple_call_num_args (_c1) == 2)
   14803                 :             :                   {
   14804                 :           0 :                     tree _q20 = gimple_call_arg (_c1, 0);
   14805                 :           0 :                     _q20 = do_valueize (valueize, _q20);
   14806                 :           0 :                     tree _q21 = gimple_call_arg (_c1, 1);
   14807                 :           0 :                     _q21 = do_valueize (valueize, _q21);
   14808                 :           0 :                     {
   14809                 :           0 :                       tree captures[3] ATTRIBUTE_UNUSED = { _q20, _q21, _p1 };
   14810                 :           0 :                       if (gimple_simplify_405 (res_op, seq, valueize, type, captures, CFN_BUILT_IN_COPYSIGNL, CFN_BUILT_IN_HYPOT))
   14811                 :           0 :                         return true;
   14812                 :             :                     }
   14813                 :             :                   }
   14814                 :             :                 break;
   14815                 :           1 :               case CFN_COPYSIGN:
   14816                 :           1 :                 if (gimple_call_num_args (_c1) == 2)
   14817                 :             :                   {
   14818                 :           1 :                     tree _q20 = gimple_call_arg (_c1, 0);
   14819                 :           1 :                     _q20 = do_valueize (valueize, _q20);
   14820                 :           1 :                     tree _q21 = gimple_call_arg (_c1, 1);
   14821                 :           1 :                     _q21 = do_valueize (valueize, _q21);
   14822                 :           1 :                     {
   14823                 :           1 :                       tree captures[3] ATTRIBUTE_UNUSED = { _q20, _q21, _p1 };
   14824                 :           1 :                       if (gimple_simplify_405 (res_op, seq, valueize, type, captures, CFN_COPYSIGN, CFN_BUILT_IN_HYPOT))
   14825                 :           1 :                         return true;
   14826                 :             :                     }
   14827                 :             :                   }
   14828                 :             :                 break;
   14829                 :             :               default:;
   14830                 :             :               }
   14831                 :             :         }
   14832                 :             :       break;
   14833                 :         304 :     default:;
   14834                 :             :     }
   14835                 :         304 :   switch (TREE_CODE (_p1))
   14836                 :             :     {
   14837                 :         266 :     case SSA_NAME:
   14838                 :         266 :       if (gimple *_d1 = get_def (valueize, _p1))
   14839                 :             :         {
   14840                 :         148 :           if (gcall *_c1 = dyn_cast <gcall *> (_d1))
   14841                 :          21 :             switch (gimple_call_combined_fn (_c1))
   14842                 :             :               {
   14843                 :           0 :               case CFN_BUILT_IN_COPYSIGN:
   14844                 :           0 :                 if (gimple_call_num_args (_c1) == 2)
   14845                 :             :                   {
   14846                 :           0 :                     tree _q30 = gimple_call_arg (_c1, 0);
   14847                 :           0 :                     _q30 = do_valueize (valueize, _q30);
   14848                 :           0 :                     tree _q31 = gimple_call_arg (_c1, 1);
   14849                 :           0 :                     _q31 = do_valueize (valueize, _q31);
   14850                 :           0 :                     {
   14851                 :           0 :                       tree captures[3] ATTRIBUTE_UNUSED = { _p0, _q30, _q31 };
   14852                 :           0 :                       if (gimple_simplify_406 (res_op, seq, valueize, type, captures, CFN_BUILT_IN_COPYSIGN, CFN_BUILT_IN_HYPOT))
   14853                 :           0 :                         return true;
   14854                 :             :                     }
   14855                 :             :                   }
   14856                 :             :                 break;
   14857                 :           0 :               case CFN_BUILT_IN_COPYSIGNF:
   14858                 :           0 :                 if (gimple_call_num_args (_c1) == 2)
   14859                 :             :                   {
   14860                 :           0 :                     tree _q30 = gimple_call_arg (_c1, 0);
   14861                 :           0 :                     _q30 = do_valueize (valueize, _q30);
   14862                 :           0 :                     tree _q31 = gimple_call_arg (_c1, 1);
   14863                 :           0 :                     _q31 = do_valueize (valueize, _q31);
   14864                 :           0 :                     {
   14865                 :           0 :                       tree captures[3] ATTRIBUTE_UNUSED = { _p0, _q30, _q31 };
   14866                 :           0 :                       if (gimple_simplify_406 (res_op, seq, valueize, type, captures, CFN_BUILT_IN_COPYSIGNF, CFN_BUILT_IN_HYPOT))
   14867                 :           0 :                         return true;
   14868                 :             :                     }
   14869                 :             :                   }
   14870                 :             :                 break;
   14871                 :           0 :               case CFN_BUILT_IN_COPYSIGNL:
   14872                 :           0 :                 if (gimple_call_num_args (_c1) == 2)
   14873                 :             :                   {
   14874                 :           0 :                     tree _q30 = gimple_call_arg (_c1, 0);
   14875                 :           0 :                     _q30 = do_valueize (valueize, _q30);
   14876                 :           0 :                     tree _q31 = gimple_call_arg (_c1, 1);
   14877                 :           0 :                     _q31 = do_valueize (valueize, _q31);
   14878                 :           0 :                     {
   14879                 :           0 :                       tree captures[3] ATTRIBUTE_UNUSED = { _p0, _q30, _q31 };
   14880                 :           0 :                       if (gimple_simplify_406 (res_op, seq, valueize, type, captures, CFN_BUILT_IN_COPYSIGNL, CFN_BUILT_IN_HYPOT))
   14881                 :           0 :                         return true;
   14882                 :             :                     }
   14883                 :             :                   }
   14884                 :             :                 break;
   14885                 :           1 :               case CFN_COPYSIGN:
   14886                 :           1 :                 if (gimple_call_num_args (_c1) == 2)
   14887                 :             :                   {
   14888                 :           1 :                     tree _q30 = gimple_call_arg (_c1, 0);
   14889                 :           1 :                     _q30 = do_valueize (valueize, _q30);
   14890                 :           1 :                     tree _q31 = gimple_call_arg (_c1, 1);
   14891                 :           1 :                     _q31 = do_valueize (valueize, _q31);
   14892                 :           1 :                     {
   14893                 :           1 :                       tree captures[3] ATTRIBUTE_UNUSED = { _p0, _q30, _q31 };
   14894                 :           1 :                       if (gimple_simplify_406 (res_op, seq, valueize, type, captures, CFN_COPYSIGN, CFN_BUILT_IN_HYPOT))
   14895                 :           1 :                         return true;
   14896                 :             :                     }
   14897                 :             :                   }
   14898                 :             :                 break;
   14899                 :             :               default:;
   14900                 :             :               }
   14901                 :             :         }
   14902                 :             :       break;
   14903                 :         303 :     default:;
   14904                 :             :     }
   14905                 :         303 : if (real_zerop (_p1))
   14906                 :             :   {
   14907                 :           2 :     {
   14908                 :           2 :       tree captures[2] ATTRIBUTE_UNUSED = { _p0, _p1 };
   14909                 :           2 :       if (gimple_simplify_407 (res_op, seq, valueize, type, captures, CFN_BUILT_IN_HYPOT))
   14910                 :           2 :         return true;
   14911                 :             :     }
   14912                 :             :   }
   14913                 :         301 :   if (real_zerop (_p0))
   14914                 :             :     {
   14915                 :           1 :       {
   14916                 :           1 :         tree captures[2] ATTRIBUTE_UNUSED = { _p1, _p0 };
   14917                 :           1 :         if (gimple_simplify_407 (res_op, seq, valueize, type, captures, CFN_BUILT_IN_HYPOT))
   14918                 :           1 :           return true;
   14919                 :             :       }
   14920                 :             :     }
   14921                 :         300 :   if ((_p1 == _p0 && ! TREE_SIDE_EFFECTS (_p1)) || (operand_equal_p (_p1, _p0, 0) && types_match (_p1, _p0)))
   14922                 :             :     {
   14923                 :           7 :       {
   14924                 :           7 :         tree captures[1] ATTRIBUTE_UNUSED = { _p0 };
   14925                 :           7 :         if (gimple_simplify_408 (res_op, seq, valueize, type, captures, CFN_BUILT_IN_HYPOT))
   14926                 :           3 :           return true;
   14927                 :             :       }
   14928                 :             :     }
   14929                 :             :   return false;
   14930                 :             : }
   14931                 :             : 
   14932                 :             : bool
   14933                 :      920062 : gimple_simplify_MAX_EXPR (gimple_match_op *res_op, gimple_seq *seq,
   14934                 :             :                  tree (*valueize)(tree) ATTRIBUTE_UNUSED,
   14935                 :             :                  code_helper ARG_UNUSED (code), tree ARG_UNUSED (type), tree _p0, tree _p1)
   14936                 :             : {
   14937                 :      920062 :   const bool debug_dump = dump_file && (dump_flags & TDF_FOLDING);
   14938                 :      920062 :   if ((_p1 == _p0 && ! TREE_SIDE_EFFECTS (_p1)) || (operand_equal_p (_p1, _p0, 0) && types_match (_p1, _p0)))
   14939                 :             :     {
   14940                 :         204 :       {
   14941                 :         204 :         tree captures[1] ATTRIBUTE_UNUSED = { _p0 };
   14942                 :         204 :         if (gimple_simplify_479 (res_op, seq, valueize, type, captures, MAX_EXPR))
   14943                 :         204 :           return true;
   14944                 :             :       }
   14945                 :             :     }
   14946                 :      919858 :   switch (TREE_CODE (_p0))
   14947                 :             :     {
   14948                 :      897570 :     case SSA_NAME:
   14949                 :      897570 :       if (gimple *_d1 = get_def (valueize, _p0))
   14950                 :             :         {
   14951                 :      631552 :           if (gassign *_a1 = dyn_cast <gassign *> (_d1))
   14952                 :      642218 :             switch (gimple_assign_rhs_code (_a1))
   14953                 :             :               {
   14954                 :        6332 :               case MAX_EXPR:
   14955                 :        6332 :                 {
   14956                 :        6332 :                   tree _q20 = gimple_assign_rhs1 (_a1);
   14957                 :        6332 :                   _q20 = do_valueize (valueize, _q20);
   14958                 :        6332 :                   tree _q21 = gimple_assign_rhs2 (_a1);
   14959                 :        6332 :                   _q21 = do_valueize (valueize, _q21);
   14960                 :        6332 :                   if (tree_swap_operands_p (_q20, _q21))
   14961                 :         571 :                     std::swap (_q20, _q21);
   14962                 :        6332 :                   if ((_p1 == _q20 && ! TREE_SIDE_EFFECTS (_p1)) || (operand_equal_p (_p1, _q20, 0) && types_match (_p1, _q20)))
   14963                 :             :                     {
   14964                 :           0 :                       {
   14965                 :           0 :                         tree captures[3] ATTRIBUTE_UNUSED = { _p0, _q20, _q21 };
   14966                 :           0 :                         if (gimple_simplify_480 (res_op, seq, valueize, type, captures, MAX_EXPR))
   14967                 :           0 :                           return true;
   14968                 :             :                       }
   14969                 :             :                     }
   14970                 :        6332 :                   if ((_p1 == _q21 && ! TREE_SIDE_EFFECTS (_p1)) || (operand_equal_p (_p1, _q21, 0) && types_match (_p1, _q21)))
   14971                 :             :                     {
   14972                 :         514 :                       {
   14973                 :         514 :                         tree captures[3] ATTRIBUTE_UNUSED = { _p0, _q21, _q20 };
   14974                 :         514 :                         if (gimple_simplify_480 (res_op, seq, valueize, type, captures, MAX_EXPR))
   14975                 :         514 :                           return true;
   14976                 :             :                       }
   14977                 :             :                     }
   14978                 :      919344 :                   break;
   14979                 :             :                 }
   14980                 :             :               default:;
   14981                 :             :               }
   14982                 :             :         }
   14983                 :             :       break;
   14984                 :      919344 :     default:;
   14985                 :             :     }
   14986                 :      919344 :   switch (TREE_CODE (_p1))
   14987                 :             :     {
   14988                 :      105966 :     case SSA_NAME:
   14989                 :      105966 :       if (gimple *_d1 = get_def (valueize, _p1))
   14990                 :             :         {
   14991                 :       82647 :           if (gassign *_a1 = dyn_cast <gassign *> (_d1))
   14992                 :       92686 :             switch (gimple_assign_rhs_code (_a1))
   14993                 :             :               {
   14994                 :        3063 :               case MAX_EXPR:
   14995                 :        3063 :                 {
   14996                 :        3063 :                   tree _q30 = gimple_assign_rhs1 (_a1);
   14997                 :        3063 :                   _q30 = do_valueize (valueize, _q30);
   14998                 :        3063 :                   tree _q31 = gimple_assign_rhs2 (_a1);
   14999                 :        3063 :                   _q31 = do_valueize (valueize, _q31);
   15000                 :        3063 :                   if (tree_swap_operands_p (_q30, _q31))
   15001                 :         232 :                     std::swap (_q30, _q31);
   15002                 :        3063 :                   if ((_q30 == _p0 && ! TREE_SIDE_EFFECTS (_q30)) || (operand_equal_p (_q30, _p0, 0) && types_match (_q30, _p0)))
   15003                 :             :                     {
   15004                 :           7 :                       {
   15005                 :           7 :                         tree captures[3] ATTRIBUTE_UNUSED = { _p1, _p0, _q31 };
   15006                 :           7 :                         if (gimple_simplify_481 (res_op, seq, valueize, type, captures, MAX_EXPR))
   15007                 :           7 :                           return true;
   15008                 :             :                       }
   15009                 :             :                     }
   15010                 :        3056 :                   if ((_q31 == _p0 && ! TREE_SIDE_EFFECTS (_q31)) || (operand_equal_p (_q31, _p0, 0) && types_match (_q31, _p0)))
   15011                 :             :                     {
   15012                 :           0 :                       {
   15013                 :           0 :                         tree captures[3] ATTRIBUTE_UNUSED = { _p1, _p0, _q30 };
   15014                 :           0 :                         if (gimple_simplify_481 (res_op, seq, valueize, type, captures, MAX_EXPR))
   15015                 :           0 :                           return true;
   15016                 :             :                       }
   15017                 :             :                     }
   15018                 :      919337 :                   break;
   15019                 :             :                 }
   15020                 :             :               default:;
   15021                 :             :               }
   15022                 :             :         }
   15023                 :             :       break;
   15024                 :      919337 :     default:;
   15025                 :             :     }
   15026                 :      919337 :   switch (TREE_CODE (_p0))
   15027                 :             :     {
   15028                 :      897049 :     case SSA_NAME:
   15029                 :      897049 :       if (gimple *_d1 = get_def (valueize, _p0))
   15030                 :             :         {
   15031                 :      631031 :           if (gassign *_a1 = dyn_cast <gassign *> (_d1))
   15032                 :      641692 :             switch (gimple_assign_rhs_code (_a1))
   15033                 :             :               {
   15034                 :        5322 :               case MIN_EXPR:
   15035                 :        5322 :                 {
   15036                 :        5322 :                   tree _q20 = gimple_assign_rhs1 (_a1);
   15037                 :        5322 :                   _q20 = do_valueize (valueize, _q20);
   15038                 :        5322 :                   tree _q21 = gimple_assign_rhs2 (_a1);
   15039                 :        5322 :                   _q21 = do_valueize (valueize, _q21);
   15040                 :        5322 :                   if (tree_swap_operands_p (_q20, _q21))
   15041                 :         286 :                     std::swap (_q20, _q21);
   15042                 :        5322 :                   if ((_p1 == _q21 && ! TREE_SIDE_EFFECTS (_p1)) || (operand_equal_p (_p1, _q21, 0) && types_match (_p1, _q21)))
   15043                 :             :                     {
   15044                 :         153 :                       {
   15045                 :         153 :                         tree captures[2] ATTRIBUTE_UNUSED = { _q20, _q21 };
   15046                 :         153 :                         if (gimple_simplify_490 (res_op, seq, valueize, type, captures))
   15047                 :         153 :                           return true;
   15048                 :             :                       }
   15049                 :             :                     }
   15050                 :        5169 :                   if ((_p1 == _q20 && ! TREE_SIDE_EFFECTS (_p1)) || (operand_equal_p (_p1, _q20, 0) && types_match (_p1, _q20)))
   15051                 :             :                     {
   15052                 :           6 :                       {
   15053                 :           6 :                         tree captures[2] ATTRIBUTE_UNUSED = { _q21, _q20 };
   15054                 :           6 :                         if (gimple_simplify_490 (res_op, seq, valueize, type, captures))
   15055                 :           6 :                           return true;
   15056                 :             :                       }
   15057                 :             :                     }
   15058                 :      919178 :                   break;
   15059                 :             :                 }
   15060                 :             :               default:;
   15061                 :             :               }
   15062                 :             :         }
   15063                 :             :       break;
   15064                 :      919178 :     default:;
   15065                 :             :     }
   15066                 :      919178 :   switch (TREE_CODE (_p1))
   15067                 :             :     {
   15068                 :      105947 :     case SSA_NAME:
   15069                 :      105947 :       if (gimple *_d1 = get_def (valueize, _p1))
   15070                 :             :         {
   15071                 :       82628 :           if (gassign *_a1 = dyn_cast <gassign *> (_d1))
   15072                 :       92673 :             switch (gimple_assign_rhs_code (_a1))
   15073                 :             :               {
   15074                 :         777 :               case MIN_EXPR:
   15075                 :         777 :                 {
   15076                 :         777 :                   tree _q30 = gimple_assign_rhs1 (_a1);
   15077                 :         777 :                   _q30 = do_valueize (valueize, _q30);
   15078                 :         777 :                   tree _q31 = gimple_assign_rhs2 (_a1);
   15079                 :         777 :                   _q31 = do_valueize (valueize, _q31);
   15080                 :         777 :                   if (tree_swap_operands_p (_q30, _q31))
   15081                 :          44 :                     std::swap (_q30, _q31);
   15082                 :         777 :                   if ((_q31 == _p0 && ! TREE_SIDE_EFFECTS (_q31)) || (operand_equal_p (_q31, _p0, 0) && types_match (_q31, _p0)))
   15083                 :             :                     {
   15084                 :           0 :                       {
   15085                 :           0 :                         tree captures[2] ATTRIBUTE_UNUSED = { _q30, _p0 };
   15086                 :           0 :                         if (gimple_simplify_490 (res_op, seq, valueize, type, captures))
   15087                 :           0 :                           return true;
   15088                 :             :                       }
   15089                 :             :                     }
   15090                 :         777 :                   if ((_q30 == _p0 && ! TREE_SIDE_EFFECTS (_q30)) || (operand_equal_p (_q30, _p0, 0) && types_match (_q30, _p0)))
   15091                 :             :                     {
   15092                 :           0 :                       {
   15093                 :           0 :                         tree captures[2] ATTRIBUTE_UNUSED = { _q31, _p0 };
   15094                 :           0 :                         if (gimple_simplify_490 (res_op, seq, valueize, type, captures))
   15095                 :           0 :                           return true;
   15096                 :             :                       }
   15097                 :             :                     }
   15098                 :      919178 :                   break;
   15099                 :             :                 }
   15100                 :         296 :               case NEGATE_EXPR:
   15101                 :         296 :                 {
   15102                 :         296 :                   tree _q30 = gimple_assign_rhs1 (_a1);
   15103                 :         296 :                   _q30 = do_valueize (valueize, _q30);
   15104                 :         296 :                   if ((_q30 == _p0 && ! TREE_SIDE_EFFECTS (_q30)) || (operand_equal_p (_q30, _p0, 0) && types_match (_q30, _p0)))
   15105                 :             :                     {
   15106                 :           0 :                       {
   15107                 :           0 :                         tree captures[1] ATTRIBUTE_UNUSED = { _p0 };
   15108                 :           0 :                         if (gimple_simplify_491 (res_op, seq, valueize, type, captures))
   15109                 :           0 :                           return true;
   15110                 :             :                       }
   15111                 :             :                     }
   15112                 :             :                   break;
   15113                 :             :                 }
   15114                 :             :               default:;
   15115                 :             :               }
   15116                 :             :         }
   15117                 :             :       break;
   15118                 :      919178 :     default:;
   15119                 :             :     }
   15120                 :      919178 :   switch (TREE_CODE (_p0))
   15121                 :             :     {
   15122                 :      896890 :     case SSA_NAME:
   15123                 :      896890 :       if (gimple *_d1 = get_def (valueize, _p0))
   15124                 :             :         {
   15125                 :      630872 :           if (gassign *_a1 = dyn_cast <gassign *> (_d1))
   15126                 :      641533 :             switch (gimple_assign_rhs_code (_a1))
   15127                 :             :               {
   15128                 :         436 :               case NEGATE_EXPR:
   15129                 :         436 :                 {
   15130                 :         436 :                   tree _q20 = gimple_assign_rhs1 (_a1);
   15131                 :         436 :                   _q20 = do_valueize (valueize, _q20);
   15132                 :         436 :                   if ((_p1 == _q20 && ! TREE_SIDE_EFFECTS (_p1)) || (operand_equal_p (_p1, _q20, 0) && types_match (_p1, _q20)))
   15133                 :             :                     {
   15134                 :           0 :                       {
   15135                 :           0 :                         tree captures[1] ATTRIBUTE_UNUSED = { _q20 };
   15136                 :           0 :                         if (gimple_simplify_491 (res_op, seq, valueize, type, captures))
   15137                 :           0 :                           return true;
   15138                 :             :                       }
   15139                 :             :                     }
   15140                 :             :                   break;
   15141                 :             :                 }
   15142                 :             :               default:;
   15143                 :             :               }
   15144                 :             :         }
   15145                 :             :       break;
   15146                 :      919178 :     default:;
   15147                 :             :     }
   15148                 :      919178 :   {
   15149                 :      919178 :     tree captures[2] ATTRIBUTE_UNUSED = { _p0, _p1 };
   15150                 :      919178 :     if (INTEGRAL_TYPE_P (type)
   15151                 :      899434 :  && TYPE_MAX_VALUE (type)
   15152                 :     1818612 :  && operand_equal_p (captures[1], TYPE_MAX_VALUE (type), OEP_ONLY_CONST)
   15153                 :             : )
   15154                 :             :       {
   15155                 :          11 :         gimple_seq *lseq = seq;
   15156                 :          11 :         if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail2104;
   15157                 :          11 :         {
   15158                 :          11 :           tree tem;
   15159                 :          11 :           tem = captures[1];
   15160                 :          11 :           res_op->set_value (tem);
   15161                 :          11 :           if (UNLIKELY (debug_dump)) gimple_dump_logs ("match.pd", 1074, __FILE__, __LINE__, true);
   15162                 :          11 :           return true;
   15163                 :             :         }
   15164                 :           0 : next_after_fail2104:;
   15165                 :             :       }
   15166                 :             :     else
   15167                 :             :       {
   15168                 :      919167 :         if (INTEGRAL_TYPE_P (type)
   15169                 :      899423 :  && TYPE_MIN_VALUE (type)
   15170                 :     1818590 :  && operand_equal_p (captures[1], TYPE_MIN_VALUE (type), OEP_ONLY_CONST)
   15171                 :             : )
   15172                 :             :           {
   15173                 :        2919 :             gimple_seq *lseq = seq;
   15174                 :        2919 :             if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail2105;
   15175                 :        2919 :             {
   15176                 :        2919 :               tree tem;
   15177                 :        2919 :               tem = captures[0];
   15178                 :        2919 :               res_op->set_value (tem);
   15179                 :        2919 :               if (UNLIKELY (debug_dump)) gimple_dump_logs ("match.pd", 1075, __FILE__, __LINE__, true);
   15180                 :        2919 :               return true;
   15181                 :             :             }
   15182                 :           0 : next_after_fail2105:;
   15183                 :             :           }
   15184                 :             :       }
   15185                 :             :   }
   15186                 :      916248 :   switch (TREE_CODE (_p1))
   15187                 :             :     {
   15188                 :      105947 :     case SSA_NAME:
   15189                 :      105947 :       if (gimple *_d1 = get_def (valueize, _p1))
   15190                 :             :         {
   15191                 :       82628 :           if (gassign *_a1 = dyn_cast <gassign *> (_d1))
   15192                 :       92673 :             switch (gimple_assign_rhs_code (_a1))
   15193                 :             :               {
   15194                 :        2345 :               case PLUS_EXPR:
   15195                 :        2345 :                 {
   15196                 :        2345 :                   tree _q30 = gimple_assign_rhs1 (_a1);
   15197                 :        2345 :                   _q30 = do_valueize (valueize, _q30);
   15198                 :        2345 :                   tree _q31 = gimple_assign_rhs2 (_a1);
   15199                 :        2345 :                   _q31 = do_valueize (valueize, _q31);
   15200                 :        2345 :                   if (tree_swap_operands_p (_q30, _q31))
   15201                 :          44 :                     std::swap (_q30, _q31);
   15202                 :        2345 :                   if ((_q30 == _p0 && ! TREE_SIDE_EFFECTS (_q30)) || (operand_equal_p (_q30, _p0, 0) && types_match (_q30, _p0)))
   15203                 :             :                     {
   15204                 :          84 :                       switch (TREE_CODE (_q31))
   15205                 :             :                         {
   15206                 :          44 :                         case INTEGER_CST:
   15207                 :          44 :                           {
   15208                 :          44 :                             {
   15209                 :          44 :                               tree captures[3] ATTRIBUTE_UNUSED = { _p0, _p1, _q31 };
   15210                 :          44 :                               if (TYPE_OVERFLOW_UNDEFINED (TREE_TYPE (captures[0]))
   15211                 :             : )
   15212                 :             :                                 {
   15213                 :           8 :                                   if (tree_int_cst_sgn (captures[2]) > 0
   15214                 :             : )
   15215                 :             :                                     {
   15216                 :           6 :                                       gimple_seq *lseq = seq;
   15217                 :           6 :                                       if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail2106;
   15218                 :           6 :                                       {
   15219                 :           6 :                                         tree tem;
   15220                 :           6 :                                         tem = captures[1];
   15221                 :           6 :                                         res_op->set_value (tem);
   15222                 :           6 :                                         if (UNLIKELY (debug_dump)) gimple_dump_logs ("match.pd", 1076, __FILE__, __LINE__, true);
   15223                 :           6 :                                         return true;
   15224                 :             :                                       }
   15225                 :           0 : next_after_fail2106:;
   15226                 :             :                                     }
   15227                 :             :                                   else
   15228                 :             :                                     {
   15229                 :           2 :                                       gimple_seq *lseq = seq;
   15230                 :           2 :                                       if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail2107;
   15231                 :           2 :                                       {
   15232                 :           2 :                                         tree tem;
   15233                 :           2 :                                         tem = captures[0];
   15234                 :           2 :                                         res_op->set_value (tem);
   15235                 :           2 :                                         if (UNLIKELY (debug_dump)) gimple_dump_logs ("match.pd", 1077, __FILE__, __LINE__, true);
   15236                 :           2 :                                         return true;
   15237                 :             :                                       }
   15238                 :           0 : next_after_fail2107:;
   15239                 :             :                                     }
   15240                 :             :                                 }
   15241                 :             :                             }
   15242                 :          36 :                             break;
   15243                 :             :                           }
   15244                 :             :                         default:;
   15245                 :             :                         }
   15246                 :             :                     }
   15247                 :      916240 :                   break;
   15248                 :             :                 }
   15249                 :             :               default:;
   15250                 :             :               }
   15251                 :             :         }
   15252                 :             :       break;
   15253                 :      916240 :     default:;
   15254                 :             :     }
   15255                 :      916240 :   switch (TREE_CODE (_p0))
   15256                 :             :     {
   15257                 :      893952 :     case SSA_NAME:
   15258                 :      893952 :       if (gimple *_d1 = get_def (valueize, _p0))
   15259                 :             :         {
   15260                 :      628835 :           if (gassign *_a1 = dyn_cast <gassign *> (_d1))
   15261                 :      638252 :             switch (gimple_assign_rhs_code (_a1))
   15262                 :             :               {
   15263                 :      152050 :               case PLUS_EXPR:
   15264                 :      152050 :                 {
   15265                 :      152050 :                   tree _q20 = gimple_assign_rhs1 (_a1);
   15266                 :      152050 :                   _q20 = do_valueize (valueize, _q20);
   15267                 :      152050 :                   tree _q21 = gimple_assign_rhs2 (_a1);
   15268                 :      152050 :                   _q21 = do_valueize (valueize, _q21);
   15269                 :      152050 :                   if (tree_swap_operands_p (_q20, _q21))
   15270                 :         370 :                     std::swap (_q20, _q21);
   15271                 :      152050 :                   switch (TREE_CODE (_q21))
   15272                 :             :                     {
   15273                 :      147866 :                     case INTEGER_CST:
   15274                 :      147866 :                       {
   15275                 :      147866 :                         if ((_p1 == _q20 && ! TREE_SIDE_EFFECTS (_p1)) || (operand_equal_p (_p1, _q20, 0) && types_match (_p1, _q20)))
   15276                 :             :                           {
   15277                 :           2 :                             {
   15278                 :           2 :                               tree captures[3] ATTRIBUTE_UNUSED = { _q20, _p0, _q21 };
   15279                 :           2 :                               if (TYPE_OVERFLOW_UNDEFINED (TREE_TYPE (captures[0]))
   15280                 :             : )
   15281                 :             :                                 {
   15282                 :           2 :                                   if (tree_int_cst_sgn (captures[2]) > 0
   15283                 :             : )
   15284                 :             :                                     {
   15285                 :           1 :                                       gimple_seq *lseq = seq;
   15286                 :           1 :                                       if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail2108;
   15287                 :           1 :                                       {
   15288                 :           1 :                                         tree tem;
   15289                 :           1 :                                         tem = captures[1];
   15290                 :           1 :                                         res_op->set_value (tem);
   15291                 :           1 :                                         if (UNLIKELY (debug_dump)) gimple_dump_logs ("match.pd", 1076, __FILE__, __LINE__, true);
   15292                 :           1 :                                         return true;
   15293                 :             :                                       }
   15294                 :           0 : next_after_fail2108:;
   15295                 :             :                                     }
   15296                 :             :                                   else
   15297                 :             :                                     {
   15298                 :           1 :                                       gimple_seq *lseq = seq;
   15299                 :           1 :                                       if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail2109;
   15300                 :           1 :                                       {
   15301                 :           1 :                                         tree tem;
   15302                 :           1 :                                         tem = captures[0];
   15303                 :           1 :                                         res_op->set_value (tem);
   15304                 :           1 :                                         if (UNLIKELY (debug_dump)) gimple_dump_logs ("match.pd", 1077, __FILE__, __LINE__, true);
   15305                 :           1 :                                         return true;
   15306                 :             :                                       }
   15307                 :           0 : next_after_fail2109:;
   15308                 :             :                                     }
   15309                 :             :                                 }
   15310                 :             :                             }
   15311                 :             :                           }
   15312                 :             :                         break;
   15313                 :             :                       }
   15314                 :             :                     default:;
   15315                 :             :                     }
   15316                 :      916226 :                   break;
   15317                 :             :                 }
   15318                 :      232558 :               CASE_CONVERT:
   15319                 :      232558 :                 {
   15320                 :      232558 :                   tree _q20 = gimple_assign_rhs1 (_a1);
   15321                 :      232558 :                   _q20 = do_valueize (valueize, _q20);
   15322                 :      232558 :                   switch (TREE_CODE (_q20))
   15323                 :             :                     {
   15324                 :      232558 :                     case SSA_NAME:
   15325                 :      232558 :                       if (gimple *_d2 = get_def (valueize, _q20))
   15326                 :             :                         {
   15327                 :      229139 :                           if (gassign *_a2 = dyn_cast <gassign *> (_d2))
   15328                 :      267171 :                             switch (gimple_assign_rhs_code (_a2))
   15329                 :             :                               {
   15330                 :           0 :                               case ADDR_EXPR:
   15331                 :           0 :                                 {
   15332                 :           0 :                                   switch (TREE_CODE (_p1))
   15333                 :             :                                     {
   15334                 :           0 :                                     case SSA_NAME:
   15335                 :           0 :                                       if (gimple *_d3 = get_def (valueize, _p1))
   15336                 :             :                                         {
   15337                 :           0 :                                           if (gassign *_a3 = dyn_cast <gassign *> (_d3))
   15338                 :           0 :                                             switch (gimple_assign_rhs_code (_a3))
   15339                 :             :                                               {
   15340                 :           0 :                                               CASE_CONVERT:
   15341                 :           0 :                                                 {
   15342                 :           0 :                                                   tree _q40 = gimple_assign_rhs1 (_a3);
   15343                 :           0 :                                                   _q40 = do_valueize (valueize, _q40);
   15344                 :           0 :                                                   switch (TREE_CODE (_q40))
   15345                 :             :                                                     {
   15346                 :           0 :                                                     case SSA_NAME:
   15347                 :           0 :                                                       if (gimple *_d4 = get_def (valueize, _q40))
   15348                 :             :                                                         {
   15349                 :           0 :                                                           if (gassign *_a4 = dyn_cast <gassign *> (_d4))
   15350                 :           0 :                                                             switch (gimple_assign_rhs_code (_a4))
   15351                 :             :                                                               {
   15352                 :           0 :                                                               case ADDR_EXPR:
   15353                 :           0 :                                                                 {
   15354                 :           0 :                                                                   {
   15355                 :           0 :                                                                     tree captures[4] ATTRIBUTE_UNUSED = { _p0, _q20, _p1, _q40 };
   15356                 :           0 :                                                                     if (gimple_simplify_484 (res_op, seq, valueize, type, captures, MAX_EXPR, GT_EXPR))
   15357                 :           0 :                                                                       return true;
   15358                 :             :                                                                   }
   15359                 :           0 :                                                                   break;
   15360                 :             :                                                                 }
   15361                 :             :                                                               default:;
   15362                 :             :                                                               }
   15363                 :             :                                                         }
   15364                 :             :                                                       break;
   15365                 :           0 :                                                     case ADDR_EXPR:
   15366                 :           0 :                                                       {
   15367                 :           0 :                                                         {
   15368                 :           0 :                                                           tree captures[4] ATTRIBUTE_UNUSED = { _p0, _q20, _p1, _q40 };
   15369                 :           0 :                                                           if (gimple_simplify_484 (res_op, seq, valueize, type, captures, MAX_EXPR, GT_EXPR))
   15370                 :           0 :                                                             return true;
   15371                 :             :                                                         }
   15372                 :           0 :                                                         break;
   15373                 :             :                                                       }
   15374                 :             :                                                     default:;
   15375                 :             :                                                     }
   15376                 :             :                                                   break;
   15377                 :             :                                                 }
   15378                 :           0 :                                               case ADDR_EXPR:
   15379                 :           0 :                                                 {
   15380                 :           0 :                                                   {
   15381                 :           0 :                                                     tree captures[4] ATTRIBUTE_UNUSED = { _p0, _q20, _p1, _p1 };
   15382                 :           0 :                                                     if (gimple_simplify_485 (res_op, seq, valueize, type, captures, MAX_EXPR, GT_EXPR))
   15383                 :           0 :                                                       return true;
   15384                 :             :                                                   }
   15385                 :           0 :                                                   break;
   15386                 :             :                                                 }
   15387                 :             :                                               default:;
   15388                 :             :                                               }
   15389                 :             :                                         }
   15390                 :             :                                       break;
   15391                 :           0 :                                     case ADDR_EXPR:
   15392                 :           0 :                                       {
   15393                 :           0 :                                         {
   15394                 :           0 :                                           tree captures[4] ATTRIBUTE_UNUSED = { _p0, _q20, _p1, _p1 };
   15395                 :           0 :                                           if (gimple_simplify_485 (res_op, seq, valueize, type, captures, MAX_EXPR, GT_EXPR))
   15396                 :           0 :                                             return true;
   15397                 :             :                                         }
   15398                 :           0 :                                         break;
   15399                 :             :                                       }
   15400                 :             :                                     default:;
   15401                 :             :                                     }
   15402                 :             :                                   break;
   15403                 :             :                                 }
   15404                 :             :                               default:;
   15405                 :             :                               }
   15406                 :             :                         }
   15407                 :             :                       break;
   15408                 :           0 :                     case ADDR_EXPR:
   15409                 :           0 :                       {
   15410                 :           0 :                         switch (TREE_CODE (_p1))
   15411                 :             :                           {
   15412                 :           0 :                           case SSA_NAME:
   15413                 :           0 :                             if (gimple *_d2 = get_def (valueize, _p1))
   15414                 :             :                               {
   15415                 :           0 :                                 if (gassign *_a2 = dyn_cast <gassign *> (_d2))
   15416                 :           0 :                                   switch (gimple_assign_rhs_code (_a2))
   15417                 :             :                                     {
   15418                 :           0 :                                     CASE_CONVERT:
   15419                 :           0 :                                       {
   15420                 :           0 :                                         tree _q40 = gimple_assign_rhs1 (_a2);
   15421                 :           0 :                                         _q40 = do_valueize (valueize, _q40);
   15422                 :           0 :                                         switch (TREE_CODE (_q40))
   15423                 :             :                                           {
   15424                 :           0 :                                           case SSA_NAME:
   15425                 :           0 :                                             if (gimple *_d3 = get_def (valueize, _q40))
   15426                 :             :                                               {
   15427                 :           0 :                                                 if (gassign *_a3 = dyn_cast <gassign *> (_d3))
   15428                 :           0 :                                                   switch (gimple_assign_rhs_code (_a3))
   15429                 :             :                                                     {
   15430                 :           0 :                                                     case ADDR_EXPR:
   15431                 :           0 :                                                       {
   15432                 :           0 :                                                         {
   15433                 :           0 :                                                           tree captures[4] ATTRIBUTE_UNUSED = { _p0, _q20, _p1, _q40 };
   15434                 :           0 :                                                           if (gimple_simplify_484 (res_op, seq, valueize, type, captures, MAX_EXPR, GT_EXPR))
   15435                 :           0 :                                                             return true;
   15436                 :             :                                                         }
   15437                 :           0 :                                                         break;
   15438                 :             :                                                       }
   15439                 :             :                                                     default:;
   15440                 :             :                                                     }
   15441                 :             :                                               }
   15442                 :             :                                             break;
   15443                 :           0 :                                           case ADDR_EXPR:
   15444                 :           0 :                                             {
   15445                 :           0 :                                               {
   15446                 :           0 :                                                 tree captures[4] ATTRIBUTE_UNUSED = { _p0, _q20, _p1, _q40 };
   15447                 :           0 :                                                 if (gimple_simplify_484 (res_op, seq, valueize, type, captures, MAX_EXPR, GT_EXPR))
   15448                 :           0 :                                                   return true;
   15449                 :             :                                               }
   15450                 :           0 :                                               break;
   15451                 :             :                                             }
   15452                 :             :                                           default:;
   15453                 :             :                                           }
   15454                 :             :                                         break;
   15455                 :             :                                       }
   15456                 :           0 :                                     case ADDR_EXPR:
   15457                 :           0 :                                       {
   15458                 :           0 :                                         {
   15459                 :           0 :                                           tree captures[4] ATTRIBUTE_UNUSED = { _p0, _q20, _p1, _p1 };
   15460                 :           0 :                                           if (gimple_simplify_485 (res_op, seq, valueize, type, captures, MAX_EXPR, GT_EXPR))
   15461                 :           0 :                                             return true;
   15462                 :             :                                         }
   15463                 :           0 :                                         break;
   15464                 :             :                                       }
   15465                 :             :                                     default:;
   15466                 :             :                                     }
   15467                 :             :                               }
   15468                 :             :                             break;
   15469                 :           0 :                           case ADDR_EXPR:
   15470                 :           0 :                             {
   15471                 :           0 :                               {
   15472                 :           0 :                                 tree captures[4] ATTRIBUTE_UNUSED = { _p0, _q20, _p1, _p1 };
   15473                 :           0 :                                 if (gimple_simplify_485 (res_op, seq, valueize, type, captures, MAX_EXPR, GT_EXPR))
   15474                 :           0 :                                   return true;
   15475                 :             :                               }
   15476                 :           0 :                               break;
   15477                 :             :                             }
   15478                 :             :                           default:;
   15479                 :             :                           }
   15480                 :             :                         break;
   15481                 :             :                       }
   15482                 :             :                     default:;
   15483                 :             :                     }
   15484                 :             :                   break;
   15485                 :             :                 }
   15486                 :           0 :               case ADDR_EXPR:
   15487                 :           0 :                 {
   15488                 :           0 :                   switch (TREE_CODE (_p1))
   15489                 :             :                     {
   15490                 :           0 :                     case SSA_NAME:
   15491                 :           0 :                       if (gimple *_d2 = get_def (valueize, _p1))
   15492                 :             :                         {
   15493                 :           0 :                           if (gassign *_a2 = dyn_cast <gassign *> (_d2))
   15494                 :           0 :                             switch (gimple_assign_rhs_code (_a2))
   15495                 :             :                               {
   15496                 :           0 :                               CASE_CONVERT:
   15497                 :           0 :                                 {
   15498                 :           0 :                                   tree _q30 = gimple_assign_rhs1 (_a2);
   15499                 :           0 :                                   _q30 = do_valueize (valueize, _q30);
   15500                 :           0 :                                   switch (TREE_CODE (_q30))
   15501                 :             :                                     {
   15502                 :           0 :                                     case SSA_NAME:
   15503                 :           0 :                                       if (gimple *_d3 = get_def (valueize, _q30))
   15504                 :             :                                         {
   15505                 :           0 :                                           if (gassign *_a3 = dyn_cast <gassign *> (_d3))
   15506                 :           0 :                                             switch (gimple_assign_rhs_code (_a3))
   15507                 :             :                                               {
   15508                 :           0 :                                               case ADDR_EXPR:
   15509                 :           0 :                                                 {
   15510                 :           0 :                                                   {
   15511                 :           0 :                                                     tree captures[4] ATTRIBUTE_UNUSED = { _p0, _p0, _p1, _q30 };
   15512                 :           0 :                                                     if (gimple_simplify_486 (res_op, seq, valueize, type, captures, MAX_EXPR, GT_EXPR))
   15513                 :           0 :                                                       return true;
   15514                 :             :                                                   }
   15515                 :           0 :                                                   break;
   15516                 :             :                                                 }
   15517                 :             :                                               default:;
   15518                 :             :                                               }
   15519                 :             :                                         }
   15520                 :             :                                       break;
   15521                 :           0 :                                     case ADDR_EXPR:
   15522                 :           0 :                                       {
   15523                 :           0 :                                         {
   15524                 :           0 :                                           tree captures[4] ATTRIBUTE_UNUSED = { _p0, _p0, _p1, _q30 };
   15525                 :           0 :                                           if (gimple_simplify_486 (res_op, seq, valueize, type, captures, MAX_EXPR, GT_EXPR))
   15526                 :           0 :                                             return true;
   15527                 :             :                                         }
   15528                 :           0 :                                         break;
   15529                 :             :                                       }
   15530                 :             :                                     default:;
   15531                 :             :                                     }
   15532                 :             :                                   break;
   15533                 :             :                                 }
   15534                 :           0 :                               case ADDR_EXPR:
   15535                 :           0 :                                 {
   15536                 :           0 :                                   {
   15537                 :           0 :                                     tree captures[4] ATTRIBUTE_UNUSED = { _p0, _p0, _p1, _p1 };
   15538                 :           0 :                                     if (gimple_simplify_487 (res_op, seq, valueize, type, captures, MAX_EXPR, GT_EXPR))
   15539                 :           0 :                                       return true;
   15540                 :             :                                   }
   15541                 :           0 :                                   break;
   15542                 :             :                                 }
   15543                 :             :                               default:;
   15544                 :             :                               }
   15545                 :             :                         }
   15546                 :             :                       break;
   15547                 :           0 :                     case ADDR_EXPR:
   15548                 :           0 :                       {
   15549                 :           0 :                         {
   15550                 :           0 :                           tree captures[4] ATTRIBUTE_UNUSED = { _p0, _p0, _p1, _p1 };
   15551                 :           0 :                           if (gimple_simplify_487 (res_op, seq, valueize, type, captures, MAX_EXPR, GT_EXPR))
   15552                 :           0 :                             return true;
   15553                 :             :                         }
   15554                 :           0 :                         break;
   15555                 :             :                       }
   15556                 :             :                     default:;
   15557                 :             :                     }
   15558                 :             :                   break;
   15559                 :             :                 }
   15560                 :         436 :               case NEGATE_EXPR:
   15561                 :         436 :                 {
   15562                 :         436 :                   tree _q20 = gimple_assign_rhs1 (_a1);
   15563                 :         436 :                   _q20 = do_valueize (valueize, _q20);
   15564                 :         436 :                   switch (TREE_CODE (_p1))
   15565                 :             :                     {
   15566                 :          36 :                     case SSA_NAME:
   15567                 :          36 :                       if (gimple *_d2 = get_def (valueize, _p1))
   15568                 :             :                         {
   15569                 :          32 :                           if (gassign *_a2 = dyn_cast <gassign *> (_d2))
   15570                 :          22 :                             switch (gimple_assign_rhs_code (_a2))
   15571                 :             :                               {
   15572                 :           6 :                               case NEGATE_EXPR:
   15573                 :           6 :                                 {
   15574                 :           6 :                                   tree _q40 = gimple_assign_rhs1 (_a2);
   15575                 :           6 :                                   _q40 = do_valueize (valueize, _q40);
   15576                 :           6 :                                   {
   15577                 :           6 :                                     tree captures[4] ATTRIBUTE_UNUSED = { _p0, _q20, _p1, _q40 };
   15578                 :           8 :                                     if (FLOAT_TYPE_P (TREE_TYPE (captures[1]))
   15579                 :           8 :  || (ANY_INTEGRAL_TYPE_P (TREE_TYPE (captures[1]))
   15580                 :           2 :  && TYPE_OVERFLOW_UNDEFINED (TREE_TYPE (captures[1])))
   15581                 :             : )
   15582                 :             :                                       {
   15583                 :           6 :                                         gimple_seq *lseq = seq;
   15584                 :           6 :                                         if (lseq
   15585                 :           3 :                                             && (!single_use (captures[0])
   15586                 :           3 :                                                 || !single_use (captures[2])))
   15587                 :           3 :                                           lseq = NULL;
   15588                 :           6 :                                         if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail2110;
   15589                 :           6 :                                         {
   15590                 :           6 :                                           res_op->set_op (NEGATE_EXPR, type, 1);
   15591                 :           6 :                                           {
   15592                 :           6 :                                             tree _o1[2], _r1;
   15593                 :           6 :                                             _o1[0] = captures[1];
   15594                 :           6 :                                             _o1[1] = captures[3];
   15595                 :           6 :                                             gimple_match_op tem_op (res_op->cond.any_else (), MIN_EXPR, TREE_TYPE (_o1[0]), _o1[0], _o1[1]);
   15596                 :           6 :                                             tem_op.resimplify (lseq, valueize);
   15597                 :           6 :                                             _r1 = maybe_push_res_to_seq (&tem_op, lseq);
   15598                 :           6 :                                             if (!_r1) goto next_after_fail2110;
   15599                 :           3 :                                             res_op->ops[0] = _r1;
   15600                 :             :                                           }
   15601                 :           3 :                                           res_op->resimplify (lseq, valueize);
   15602                 :           3 :                                           if (UNLIKELY (debug_dump)) gimple_dump_logs ("match.pd", 1073, __FILE__, __LINE__, true);
   15603                 :           3 :                                           return true;
   15604                 :             :                                         }
   15605                 :           3 : next_after_fail2110:;
   15606                 :             :                                       }
   15607                 :             :                                   }
   15608                 :           3 :                                   break;
   15609                 :             :                                 }
   15610                 :             :                               default:;
   15611                 :             :                               }
   15612                 :             :                         }
   15613                 :             :                       break;
   15614                 :             :                     default:;
   15615                 :             :                     }
   15616                 :             :                   break;
   15617                 :             :                 }
   15618                 :          59 :               case BIT_NOT_EXPR:
   15619                 :          59 :                 {
   15620                 :          59 :                   tree _q20 = gimple_assign_rhs1 (_a1);
   15621                 :          59 :                   _q20 = do_valueize (valueize, _q20);
   15622                 :          59 :                   switch (TREE_CODE (_p1))
   15623                 :             :                     {
   15624                 :          56 :                     case SSA_NAME:
   15625                 :          56 :                       if (gimple *_d2 = get_def (valueize, _p1))
   15626                 :             :                         {
   15627                 :          56 :                           if (gassign *_a2 = dyn_cast <gassign *> (_d2))
   15628                 :          54 :                             switch (gimple_assign_rhs_code (_a2))
   15629                 :             :                               {
   15630                 :          48 :                               case BIT_NOT_EXPR:
   15631                 :          48 :                                 {
   15632                 :          48 :                                   tree _q40 = gimple_assign_rhs1 (_a2);
   15633                 :          48 :                                   _q40 = do_valueize (valueize, _q40);
   15634                 :          48 :                                   {
   15635                 :          48 :                                     tree captures[4] ATTRIBUTE_UNUSED = { _p0, _q20, _p1, _q40 };
   15636                 :          48 :                                     if (gimple_simplify_488 (res_op, seq, valueize, type, captures, MAX_EXPR, MIN_EXPR))
   15637                 :           5 :                                       return true;
   15638                 :             :                                   }
   15639                 :          43 :                                   break;
   15640                 :             :                                 }
   15641                 :             :                               default:;
   15642                 :             :                               }
   15643                 :             :                         }
   15644                 :             :                       break;
   15645                 :             :                     default:;
   15646                 :             :                     }
   15647                 :             :                   break;
   15648                 :             :                 }
   15649                 :         170 :               case VEC_COND_EXPR:
   15650                 :         170 :                 {
   15651                 :         170 :                   tree _q20 = gimple_assign_rhs1 (_a1);
   15652                 :         170 :                   _q20 = do_valueize (valueize, _q20);
   15653                 :         170 :                   tree _q21 = gimple_assign_rhs2 (_a1);
   15654                 :         170 :                   _q21 = do_valueize (valueize, _q21);
   15655                 :         170 :                   tree _q22 = gimple_assign_rhs3 (_a1);
   15656                 :         170 :                   _q22 = do_valueize (valueize, _q22);
   15657                 :         170 :                   switch (TREE_CODE (_p1))
   15658                 :             :                     {
   15659                 :         170 :                     case SSA_NAME:
   15660                 :         170 :                       if (gimple *_d2 = get_def (valueize, _p1))
   15661                 :             :                         {
   15662                 :         170 :                           if (gassign *_a2 = dyn_cast <gassign *> (_d2))
   15663                 :         232 :                             switch (gimple_assign_rhs_code (_a2))
   15664                 :             :                               {
   15665                 :           0 :                               case VEC_COND_EXPR:
   15666                 :           0 :                                 {
   15667                 :           0 :                                   tree _q60 = gimple_assign_rhs1 (_a2);
   15668                 :           0 :                                   _q60 = do_valueize (valueize, _q60);
   15669                 :           0 :                                   tree _q61 = gimple_assign_rhs2 (_a2);
   15670                 :           0 :                                   _q61 = do_valueize (valueize, _q61);
   15671                 :           0 :                                   tree _q62 = gimple_assign_rhs3 (_a2);
   15672                 :           0 :                                   _q62 = do_valueize (valueize, _q62);
   15673                 :           0 :                                   if ((_q60 == _q20 && ! TREE_SIDE_EFFECTS (_q60)) || (operand_equal_p (_q60, _q20, 0) && types_match (_q60, _q20)))
   15674                 :             :                                     {
   15675                 :           0 :                                       {
   15676                 :           0 :                                         tree captures[7] ATTRIBUTE_UNUSED = { _p0, _q20, _q21, _q22, _p1, _q61, _q62 };
   15677                 :           0 :                                         if (TREE_CODE_CLASS (MAX_EXPR) != tcc_comparison
   15678                 :             :  || types_match (type, TREE_TYPE (captures[2]))
   15679                 :             :  || expand_vec_cond_expr_p (type, TREE_TYPE (captures[1]), ERROR_MARK)
   15680                 :             :  || (optimize_vectors_before_lowering_p ()
   15681                 :             :  && !expand_vec_cond_expr_p (TREE_TYPE (captures[2]),
   15682                 :             :  TREE_TYPE (captures[1]), ERROR_MARK))
   15683                 :             : )
   15684                 :             :                                           {
   15685                 :           0 :                                             gimple_seq *lseq = seq;
   15686                 :           0 :                                             if (lseq
   15687                 :           0 :                                                 && (!single_use (captures[0])
   15688                 :           0 :                                                     || !single_use (captures[4])))
   15689                 :           0 :                                               lseq = NULL;
   15690                 :           0 :                                             if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail2111;
   15691                 :           0 :                                             {
   15692                 :           0 :                                               res_op->set_op (VEC_COND_EXPR, type, 3);
   15693                 :           0 :                                               res_op->ops[0] = captures[1];
   15694                 :           0 :                                               {
   15695                 :           0 :                                                 tree _o1[2], _r1;
   15696                 :           0 :                                                 _o1[0] = captures[2];
   15697                 :           0 :                                                 _o1[1] = captures[5];
   15698                 :           0 :                                                 gimple_match_op tem_op (res_op->cond.any_else (), MAX_EXPR, TREE_TYPE (_o1[0]), _o1[0], _o1[1]);
   15699                 :           0 :                                                 tem_op.resimplify (NULL, valueize);
   15700                 :           0 :                                                 _r1 = maybe_push_res_to_seq (&tem_op, NULL);
   15701                 :           0 :                                                 if (!_r1) goto next_after_fail2111;
   15702                 :           0 :                                                 res_op->ops[1] = _r1;
   15703                 :             :                                               }
   15704                 :           0 :                                               {
   15705                 :           0 :                                                 tree _o1[2], _r1;
   15706                 :           0 :                                                 _o1[0] = captures[3];
   15707                 :           0 :                                                 _o1[1] = captures[6];
   15708                 :           0 :                                                 gimple_match_op tem_op (res_op->cond.any_else (), MAX_EXPR, TREE_TYPE (_o1[0]), _o1[0], _o1[1]);
   15709                 :           0 :                                                 tem_op.resimplify (NULL, valueize);
   15710                 :           0 :                                                 _r1 = maybe_push_res_to_seq (&tem_op, NULL);
   15711                 :           0 :                                                 if (!_r1) goto next_after_fail2111;
   15712                 :           0 :                                                 res_op->ops[2] = _r1;
   15713                 :             :                                               }
   15714                 :           0 :                                               res_op->resimplify (lseq, valueize);
   15715                 :           0 :                                               if (UNLIKELY (debug_dump)) gimple_dump_logs ("match.pd", 925, __FILE__, __LINE__, true);
   15716                 :           0 :                                               return true;
   15717                 :             :                                             }
   15718                 :           0 : next_after_fail2111:;
   15719                 :             :                                           }
   15720                 :             :                                       }
   15721                 :             :                                     }
   15722                 :             :                                   break;
   15723                 :             :                                 }
   15724                 :             :                               default:;
   15725                 :             :                               }
   15726                 :             :                         }
   15727                 :             :                       break;
   15728                 :         170 :                     default:;
   15729                 :             :                     }
   15730                 :         170 :                   {
   15731                 :         170 :                     tree captures[5] ATTRIBUTE_UNUSED = { _p0, _q20, _q21, _q22, _p1 };
   15732                 :         170 :                     if (TREE_CODE_CLASS (MAX_EXPR) != tcc_comparison
   15733                 :             :  || types_match (type, TREE_TYPE (captures[2]))
   15734                 :             :  || expand_vec_cond_expr_p (type, TREE_TYPE (captures[1]), ERROR_MARK)
   15735                 :             :  || (optimize_vectors_before_lowering_p ()
   15736                 :             :  && !expand_vec_cond_expr_p (TREE_TYPE (captures[2]),
   15737                 :             :  TREE_TYPE (captures[1]), ERROR_MARK))
   15738                 :             : )
   15739                 :             :                       {
   15740                 :         170 :                         gimple_seq *lseq = seq;
   15741                 :         170 :                         if (lseq
   15742                 :          54 :                             && (!single_use (captures[0])))
   15743                 :         170 :                           lseq = NULL;
   15744                 :         170 :                         if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail2112;
   15745                 :         170 :                         {
   15746                 :         170 :                           res_op->set_op (VEC_COND_EXPR, type, 3);
   15747                 :         170 :                           res_op->ops[0] = captures[1];
   15748                 :         170 :                           {
   15749                 :         170 :                             tree _o1[2], _r1;
   15750                 :         170 :                             _o1[0] = captures[2];
   15751                 :         170 :                             _o1[1] = captures[4];
   15752                 :         170 :                             gimple_match_op tem_op (res_op->cond.any_else (), MAX_EXPR, TREE_TYPE (_o1[0]), _o1[0], _o1[1]);
   15753                 :         170 :                             tem_op.resimplify (NULL, valueize);
   15754                 :         170 :                             _r1 = maybe_push_res_to_seq (&tem_op, NULL);
   15755                 :         170 :                             if (!_r1) goto next_after_fail2112;
   15756                 :           0 :                             res_op->ops[1] = _r1;
   15757                 :             :                           }
   15758                 :           0 :                           {
   15759                 :           0 :                             tree _o1[2], _r1;
   15760                 :           0 :                             _o1[0] = captures[3];
   15761                 :           0 :                             _o1[1] = captures[4];
   15762                 :           0 :                             gimple_match_op tem_op (res_op->cond.any_else (), MAX_EXPR, TREE_TYPE (_o1[0]), _o1[0], _o1[1]);
   15763                 :           0 :                             tem_op.resimplify (NULL, valueize);
   15764                 :           0 :                             _r1 = maybe_push_res_to_seq (&tem_op, NULL);
   15765                 :           0 :                             if (!_r1) goto next_after_fail2112;
   15766                 :           0 :                             res_op->ops[2] = _r1;
   15767                 :             :                           }
   15768                 :           0 :                           res_op->resimplify (lseq, valueize);
   15769                 :           0 :                           if (UNLIKELY (debug_dump)) gimple_dump_logs ("match.pd", 926, __FILE__, __LINE__, true);
   15770                 :           0 :                           return true;
   15771                 :             :                         }
   15772                 :         170 : next_after_fail2112:;
   15773                 :             :                       }
   15774                 :             :                   }
   15775                 :         170 :                   break;
   15776                 :             :                 }
   15777                 :             :               default:;
   15778                 :             :               }
   15779                 :             :         }
   15780                 :             :       break;
   15781                 :         389 :     case ADDR_EXPR:
   15782                 :         389 :       {
   15783                 :         389 :         switch (TREE_CODE (_p1))
   15784                 :             :           {
   15785                 :         293 :           case SSA_NAME:
   15786                 :         293 :             if (gimple *_d1 = get_def (valueize, _p1))
   15787                 :             :               {
   15788                 :         263 :                 if (gassign *_a1 = dyn_cast <gassign *> (_d1))
   15789                 :         166 :                   switch (gimple_assign_rhs_code (_a1))
   15790                 :             :                     {
   15791                 :           0 :                     CASE_CONVERT:
   15792                 :           0 :                       {
   15793                 :           0 :                         tree _q30 = gimple_assign_rhs1 (_a1);
   15794                 :           0 :                         _q30 = do_valueize (valueize, _q30);
   15795                 :           0 :                         switch (TREE_CODE (_q30))
   15796                 :             :                           {
   15797                 :           0 :                           case SSA_NAME:
   15798                 :           0 :                             if (gimple *_d2 = get_def (valueize, _q30))
   15799                 :             :                               {
   15800                 :           0 :                                 if (gassign *_a2 = dyn_cast <gassign *> (_d2))
   15801                 :           0 :                                   switch (gimple_assign_rhs_code (_a2))
   15802                 :             :                                     {
   15803                 :           0 :                                     case ADDR_EXPR:
   15804                 :           0 :                                       {
   15805                 :           0 :                                         {
   15806                 :           0 :                                           tree captures[4] ATTRIBUTE_UNUSED = { _p0, _p0, _p1, _q30 };
   15807                 :           0 :                                           if (gimple_simplify_486 (res_op, seq, valueize, type, captures, MAX_EXPR, GT_EXPR))
   15808                 :           0 :                                             return true;
   15809                 :             :                                         }
   15810                 :           0 :                                         break;
   15811                 :             :                                       }
   15812                 :             :                                     default:;
   15813                 :             :                                     }
   15814                 :             :                               }
   15815                 :             :                             break;
   15816                 :           0 :                           case ADDR_EXPR:
   15817                 :           0 :                             {
   15818                 :           0 :                               {
   15819                 :           0 :                                 tree captures[4] ATTRIBUTE_UNUSED = { _p0, _p0, _p1, _q30 };
   15820                 :           0 :                                 if (gimple_simplify_486 (res_op, seq, valueize, type, captures, MAX_EXPR, GT_EXPR))
   15821                 :           0 :                                   return true;
   15822                 :             :                               }
   15823                 :           0 :                               break;
   15824                 :             :                             }
   15825                 :             :                           default:;
   15826                 :             :                           }
   15827                 :             :                         break;
   15828                 :             :                       }
   15829                 :           0 :                     case ADDR_EXPR:
   15830                 :           0 :                       {
   15831                 :           0 :                         {
   15832                 :           0 :                           tree captures[4] ATTRIBUTE_UNUSED = { _p0, _p0, _p1, _p1 };
   15833                 :           0 :                           if (gimple_simplify_487 (res_op, seq, valueize, type, captures, MAX_EXPR, GT_EXPR))
   15834                 :           0 :                             return true;
   15835                 :             :                         }
   15836                 :           0 :                         break;
   15837                 :             :                       }
   15838                 :             :                     default:;
   15839                 :             :                     }
   15840                 :             :               }
   15841                 :             :             break;
   15842                 :          87 :           case ADDR_EXPR:
   15843                 :          87 :             {
   15844                 :          87 :               {
   15845                 :          87 :                 tree captures[4] ATTRIBUTE_UNUSED = { _p0, _p0, _p1, _p1 };
   15846                 :          87 :                 if (gimple_simplify_487 (res_op, seq, valueize, type, captures, MAX_EXPR, GT_EXPR))
   15847                 :           4 :                   return true;
   15848                 :             :               }
   15849                 :          83 :               break;
   15850                 :             :             }
   15851                 :             :           default:;
   15852                 :             :           }
   15853                 :             :         break;
   15854                 :             :       }
   15855                 :      916226 :     default:;
   15856                 :             :     }
   15857                 :      916226 :   switch (TREE_CODE (_p1))
   15858                 :             :     {
   15859                 :      105929 :     case SSA_NAME:
   15860                 :      105929 :       if (gimple *_d1 = get_def (valueize, _p1))
   15861                 :             :         {
   15862                 :       82610 :           if (gassign *_a1 = dyn_cast <gassign *> (_d1))
   15863                 :       92657 :             switch (gimple_assign_rhs_code (_a1))
   15864                 :             :               {
   15865                 :           0 :               case VEC_COND_EXPR:
   15866                 :           0 :                 {
   15867                 :           0 :                   tree _q30 = gimple_assign_rhs1 (_a1);
   15868                 :           0 :                   _q30 = do_valueize (valueize, _q30);
   15869                 :           0 :                   tree _q31 = gimple_assign_rhs2 (_a1);
   15870                 :           0 :                   _q31 = do_valueize (valueize, _q31);
   15871                 :           0 :                   tree _q32 = gimple_assign_rhs3 (_a1);
   15872                 :           0 :                   _q32 = do_valueize (valueize, _q32);
   15873                 :           0 :                   {
   15874                 :           0 :                     tree captures[5] ATTRIBUTE_UNUSED = { _p0, _p1, _q30, _q31, _q32 };
   15875                 :           0 :                     if (TREE_CODE_CLASS (MAX_EXPR) != tcc_comparison
   15876                 :             :  || types_match (type, TREE_TYPE (captures[3]))
   15877                 :             :  || expand_vec_cond_expr_p (type, TREE_TYPE (captures[2]), ERROR_MARK)
   15878                 :             :  || (optimize_vectors_before_lowering_p ()
   15879                 :             :  && !expand_vec_cond_expr_p (TREE_TYPE (captures[3]),
   15880                 :             :  TREE_TYPE (captures[2]), ERROR_MARK))
   15881                 :             : )
   15882                 :             :                       {
   15883                 :           0 :                         gimple_seq *lseq = seq;
   15884                 :           0 :                         if (lseq
   15885                 :           0 :                             && (!single_use (captures[1])))
   15886                 :           0 :                           lseq = NULL;
   15887                 :           0 :                         if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail2113;
   15888                 :           0 :                         {
   15889                 :           0 :                           res_op->set_op (VEC_COND_EXPR, type, 3);
   15890                 :           0 :                           res_op->ops[0] = captures[2];
   15891                 :           0 :                           {
   15892                 :           0 :                             tree _o1[2], _r1;
   15893                 :           0 :                             _o1[0] = captures[0];
   15894                 :           0 :                             _o1[1] = captures[3];
   15895                 :           0 :                             gimple_match_op tem_op (res_op->cond.any_else (), MAX_EXPR, TREE_TYPE (_o1[0]), _o1[0], _o1[1]);
   15896                 :           0 :                             tem_op.resimplify (NULL, valueize);
   15897                 :           0 :                             _r1 = maybe_push_res_to_seq (&tem_op, NULL);
   15898                 :           0 :                             if (!_r1) goto next_after_fail2113;
   15899                 :           0 :                             res_op->ops[1] = _r1;
   15900                 :             :                           }
   15901                 :           0 :                           {
   15902                 :           0 :                             tree _o1[2], _r1;
   15903                 :           0 :                             _o1[0] = captures[0];
   15904                 :           0 :                             _o1[1] = captures[4];
   15905                 :           0 :                             gimple_match_op tem_op (res_op->cond.any_else (), MAX_EXPR, TREE_TYPE (_o1[0]), _o1[0], _o1[1]);
   15906                 :           0 :                             tem_op.resimplify (NULL, valueize);
   15907                 :           0 :                             _r1 = maybe_push_res_to_seq (&tem_op, NULL);
   15908                 :           0 :                             if (!_r1) goto next_after_fail2113;
   15909                 :           0 :                             res_op->ops[2] = _r1;
   15910                 :             :                           }
   15911                 :           0 :                           res_op->resimplify (lseq, valueize);
   15912                 :           0 :                           if (UNLIKELY (debug_dump)) gimple_dump_logs ("match.pd", 927, __FILE__, __LINE__, true);
   15913                 :           0 :                           return true;
   15914                 :             :                         }
   15915                 :           0 : next_after_fail2113:;
   15916                 :             :                       }
   15917                 :             :                   }
   15918                 :           0 :                   break;
   15919                 :             :                 }
   15920                 :             :               default:;
   15921                 :             :               }
   15922                 :             :         }
   15923                 :             :       break;
   15924                 :      916226 :     default:;
   15925                 :             :     }
   15926                 :      916226 :   if (gimple_zero_one_valued_p (_p0, valueize))
   15927                 :             :     {
   15928                 :          92 :       if (gimple_zero_one_valued_p (_p1, valueize))
   15929                 :             :         {
   15930                 :          44 :           {
   15931                 :          44 :             tree captures[2] ATTRIBUTE_UNUSED = { _p0, _p1 };
   15932                 :          44 :             if (gimple_simplify_489 (res_op, seq, valueize, type, captures, MAX_EXPR, BIT_IOR_EXPR))
   15933                 :          44 :               return true;
   15934                 :             :           }
   15935                 :             :         }
   15936                 :             :     }
   15937                 :             :   return false;
   15938                 :             : }
   15939                 :             : 
   15940                 :             : bool
   15941                 :       12421 : gimple_simplify_UNEQ_EXPR (gimple_match_op *res_op, gimple_seq *seq,
   15942                 :             :                  tree (*valueize)(tree) ATTRIBUTE_UNUSED,
   15943                 :             :                  code_helper ARG_UNUSED (code), tree ARG_UNUSED (type), tree _p0, tree _p1)
   15944                 :             : {
   15945                 :       12421 :   const bool debug_dump = dump_file && (dump_flags & TDF_FOLDING);
   15946                 :       12421 :   switch (TREE_CODE (_p0))
   15947                 :             :     {
   15948                 :       12189 :     case SSA_NAME:
   15949                 :       12189 :       if (gimple *_d1 = get_def (valueize, _p0))
   15950                 :             :         {
   15951                 :        7018 :           if (gassign *_a1 = dyn_cast <gassign *> (_d1))
   15952                 :        9144 :             switch (gimple_assign_rhs_code (_a1))
   15953                 :             :               {
   15954                 :           0 :               case VEC_COND_EXPR:
   15955                 :           0 :                 {
   15956                 :           0 :                   tree _q20 = gimple_assign_rhs1 (_a1);
   15957                 :           0 :                   _q20 = do_valueize (valueize, _q20);
   15958                 :           0 :                   tree _q21 = gimple_assign_rhs2 (_a1);
   15959                 :           0 :                   _q21 = do_valueize (valueize, _q21);
   15960                 :           0 :                   tree _q22 = gimple_assign_rhs3 (_a1);
   15961                 :           0 :                   _q22 = do_valueize (valueize, _q22);
   15962                 :           0 :                   switch (TREE_CODE (_p1))
   15963                 :             :                     {
   15964                 :           0 :                     case SSA_NAME:
   15965                 :           0 :                       if (gimple *_d2 = get_def (valueize, _p1))
   15966                 :             :                         {
   15967                 :           0 :                           if (gassign *_a2 = dyn_cast <gassign *> (_d2))
   15968                 :           0 :                             switch (gimple_assign_rhs_code (_a2))
   15969                 :             :                               {
   15970                 :           0 :                               case VEC_COND_EXPR:
   15971                 :           0 :                                 {
   15972                 :           0 :                                   tree _q60 = gimple_assign_rhs1 (_a2);
   15973                 :           0 :                                   _q60 = do_valueize (valueize, _q60);
   15974                 :           0 :                                   tree _q61 = gimple_assign_rhs2 (_a2);
   15975                 :           0 :                                   _q61 = do_valueize (valueize, _q61);
   15976                 :           0 :                                   tree _q62 = gimple_assign_rhs3 (_a2);
   15977                 :           0 :                                   _q62 = do_valueize (valueize, _q62);
   15978                 :           0 :                                   if ((_q60 == _q20 && ! TREE_SIDE_EFFECTS (_q60)) || (operand_equal_p (_q60, _q20, 0) && types_match (_q60, _q20)))
   15979                 :             :                                     {
   15980                 :           0 :                                       {
   15981                 :           0 :                                         tree captures[7] ATTRIBUTE_UNUSED = { _p0, _q20, _q21, _q22, _p1, _q61, _q62 };
   15982                 :           0 :                                         if (TREE_CODE_CLASS (UNEQ_EXPR) != tcc_comparison
   15983                 :           0 :  || types_match (type, TREE_TYPE (captures[2]))
   15984                 :           0 :  || expand_vec_cond_expr_p (type, TREE_TYPE (captures[1]), ERROR_MARK)
   15985                 :             :  || (optimize_vectors_before_lowering_p ()
   15986                 :           0 :  && !expand_vec_cond_expr_p (TREE_TYPE (captures[2]),
   15987                 :           0 :  TREE_TYPE (captures[1]), ERROR_MARK))
   15988                 :             : )
   15989                 :             :                                           {
   15990                 :           0 :                                             gimple_seq *lseq = seq;
   15991                 :           0 :                                             if (lseq
   15992                 :           0 :                                                 && (!single_use (captures[0])
   15993                 :           0 :                                                     || !single_use (captures[4])))
   15994                 :           0 :                                               lseq = NULL;
   15995                 :           0 :                                             if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail2160;
   15996                 :           0 :                                             {
   15997                 :           0 :                                               res_op->set_op (VEC_COND_EXPR, type, 3);
   15998                 :           0 :                                               res_op->ops[0] = captures[1];
   15999                 :           0 :                                               {
   16000                 :           0 :                                                 tree _o1[2], _r1;
   16001                 :           0 :                                                 _o1[0] = captures[2];
   16002                 :           0 :                                                 _o1[1] = captures[5];
   16003                 :           0 :                                                 gimple_match_op tem_op (res_op->cond.any_else (), UNEQ_EXPR, type, _o1[0], _o1[1]);
   16004                 :           0 :                                                 tem_op.resimplify (NULL, valueize);
   16005                 :           0 :                                                 _r1 = maybe_push_res_to_seq (&tem_op, NULL);
   16006                 :           0 :                                                 if (!_r1) goto next_after_fail2160;
   16007                 :           0 :                                                 res_op->ops[1] = _r1;
   16008                 :             :                                               }
   16009                 :           0 :                                               {
   16010                 :           0 :                                                 tree _o1[2], _r1;
   16011                 :           0 :                                                 _o1[0] = captures[3];
   16012                 :           0 :                                                 _o1[1] = captures[6];
   16013                 :           0 :                                                 gimple_match_op tem_op (res_op->cond.any_else (), UNEQ_EXPR, type, _o1[0], _o1[1]);
   16014                 :           0 :                                                 tem_op.resimplify (NULL, valueize);
   16015                 :           0 :                                                 _r1 = maybe_push_res_to_seq (&tem_op, NULL);
   16016                 :           0 :                                                 if (!_r1) goto next_after_fail2160;
   16017                 :           0 :                                                 res_op->ops[2] = _r1;
   16018                 :             :                                               }
   16019                 :           0 :                                               res_op->resimplify (lseq, valueize);
   16020                 :           0 :                                               if (UNLIKELY (debug_dump)) gimple_dump_logs ("match.pd", 925, __FILE__, __LINE__, true);
   16021                 :           0 :                                               return true;
   16022                 :             :                                             }
   16023                 :           0 : next_after_fail2160:;
   16024                 :             :                                           }
   16025                 :             :                                       }
   16026                 :             :                                     }
   16027                 :             :                                   break;
   16028                 :             :                                 }
   16029                 :             :                               default:;
   16030                 :             :                               }
   16031                 :             :                         }
   16032                 :             :                       break;
   16033                 :           0 :                     default:;
   16034                 :             :                     }
   16035                 :           0 :                   {
   16036                 :           0 :                     tree captures[5] ATTRIBUTE_UNUSED = { _p0, _q20, _q21, _q22, _p1 };
   16037                 :           0 :                     if (TREE_CODE_CLASS (UNEQ_EXPR) != tcc_comparison
   16038                 :           0 :  || types_match (type, TREE_TYPE (captures[2]))
   16039                 :           0 :  || expand_vec_cond_expr_p (type, TREE_TYPE (captures[1]), ERROR_MARK)
   16040                 :             :  || (optimize_vectors_before_lowering_p ()
   16041                 :           0 :  && !expand_vec_cond_expr_p (TREE_TYPE (captures[2]),
   16042                 :           0 :  TREE_TYPE (captures[1]), ERROR_MARK))
   16043                 :             : )
   16044                 :             :                       {
   16045                 :           0 :                         gimple_seq *lseq = seq;
   16046                 :           0 :                         if (lseq
   16047                 :           0 :                             && (!single_use (captures[0])))
   16048                 :           0 :                           lseq = NULL;
   16049                 :           0 :                         if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail2161;
   16050                 :           0 :                         {
   16051                 :           0 :                           res_op->set_op (VEC_COND_EXPR, type, 3);
   16052                 :           0 :                           res_op->ops[0] = captures[1];
   16053                 :           0 :                           {
   16054                 :           0 :                             tree _o1[2], _r1;
   16055                 :           0 :                             _o1[0] = captures[2];
   16056                 :           0 :                             _o1[1] = captures[4];
   16057                 :           0 :                             gimple_match_op tem_op (res_op->cond.any_else (), UNEQ_EXPR, type, _o1[0], _o1[1]);
   16058                 :           0 :                             tem_op.resimplify (NULL, valueize);
   16059                 :           0 :                             _r1 = maybe_push_res_to_seq (&tem_op, NULL);
   16060                 :           0 :                             if (!_r1) goto next_after_fail2161;
   16061                 :           0 :                             res_op->ops[1] = _r1;
   16062                 :             :                           }
   16063                 :           0 :                           {
   16064                 :           0 :                             tree _o1[2], _r1;
   16065                 :           0 :                             _o1[0] = captures[3];
   16066                 :           0 :                             _o1[1] = captures[4];
   16067                 :           0 :                             gimple_match_op tem_op (res_op->cond.any_else (), UNEQ_EXPR, type, _o1[0], _o1[1]);
   16068                 :           0 :                             tem_op.resimplify (NULL, valueize);
   16069                 :           0 :                             _r1 = maybe_push_res_to_seq (&tem_op, NULL);
   16070                 :           0 :                             if (!_r1) goto next_after_fail2161;
   16071                 :           0 :                             res_op->ops[2] = _r1;
   16072                 :             :                           }
   16073                 :           0 :                           res_op->resimplify (lseq, valueize);
   16074                 :           0 :                           if (UNLIKELY (debug_dump)) gimple_dump_logs ("match.pd", 926, __FILE__, __LINE__, true);
   16075                 :           0 :                           return true;
   16076                 :             :                         }
   16077                 :           0 : next_after_fail2161:;
   16078                 :             :                       }
   16079                 :             :                   }
   16080                 :           0 :                   break;
   16081                 :             :                 }
   16082                 :             :               default:;
   16083                 :             :               }
   16084                 :             :         }
   16085                 :             :       break;
   16086                 :       12421 :     default:;
   16087                 :             :     }
   16088                 :       12421 :   switch (TREE_CODE (_p1))
   16089                 :             :     {
   16090                 :       11608 :     case SSA_NAME:
   16091                 :       11608 :       if (gimple *_d1 = get_def (valueize, _p1))
   16092                 :             :         {
   16093                 :        6698 :           if (gassign *_a1 = dyn_cast <gassign *> (_d1))
   16094                 :        8686 :             switch (gimple_assign_rhs_code (_a1))
   16095                 :             :               {
   16096                 :           0 :               case VEC_COND_EXPR:
   16097                 :           0 :                 {
   16098                 :           0 :                   tree _q30 = gimple_assign_rhs1 (_a1);
   16099                 :           0 :                   _q30 = do_valueize (valueize, _q30);
   16100                 :           0 :                   tree _q31 = gimple_assign_rhs2 (_a1);
   16101                 :           0 :                   _q31 = do_valueize (valueize, _q31);
   16102                 :           0 :                   tree _q32 = gimple_assign_rhs3 (_a1);
   16103                 :           0 :                   _q32 = do_valueize (valueize, _q32);
   16104                 :           0 :                   {
   16105                 :           0 :                     tree captures[5] ATTRIBUTE_UNUSED = { _p0, _p1, _q30, _q31, _q32 };
   16106                 :           0 :                     if (TREE_CODE_CLASS (UNEQ_EXPR) != tcc_comparison
   16107                 :           0 :  || types_match (type, TREE_TYPE (captures[3]))
   16108                 :           0 :  || expand_vec_cond_expr_p (type, TREE_TYPE (captures[2]), ERROR_MARK)
   16109                 :             :  || (optimize_vectors_before_lowering_p ()
   16110                 :           0 :  && !expand_vec_cond_expr_p (TREE_TYPE (captures[3]),
   16111                 :           0 :  TREE_TYPE (captures[2]), ERROR_MARK))
   16112                 :             : )
   16113                 :             :                       {
   16114                 :           0 :                         gimple_seq *lseq = seq;
   16115                 :           0 :                         if (lseq
   16116                 :           0 :                             && (!single_use (captures[1])))
   16117                 :           0 :                           lseq = NULL;
   16118                 :           0 :                         if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail2162;
   16119                 :           0 :                         {
   16120                 :           0 :                           res_op->set_op (VEC_COND_EXPR, type, 3);
   16121                 :           0 :                           res_op->ops[0] = captures[2];
   16122                 :           0 :                           {
   16123                 :           0 :                             tree _o1[2], _r1;
   16124                 :           0 :                             _o1[0] = captures[0];
   16125                 :           0 :                             _o1[1] = captures[3];
   16126                 :           0 :                             gimple_match_op tem_op (res_op->cond.any_else (), UNEQ_EXPR, type, _o1[0], _o1[1]);
   16127                 :           0 :                             tem_op.resimplify (NULL, valueize);
   16128                 :           0 :                             _r1 = maybe_push_res_to_seq (&tem_op, NULL);
   16129                 :           0 :                             if (!_r1) goto next_after_fail2162;
   16130                 :           0 :                             res_op->ops[1] = _r1;
   16131                 :             :                           }
   16132                 :           0 :                           {
   16133                 :           0 :                             tree _o1[2], _r1;
   16134                 :           0 :                             _o1[0] = captures[0];
   16135                 :           0 :                             _o1[1] = captures[4];
   16136                 :           0 :                             gimple_match_op tem_op (res_op->cond.any_else (), UNEQ_EXPR, type, _o1[0], _o1[1]);
   16137                 :           0 :                             tem_op.resimplify (NULL, valueize);
   16138                 :           0 :                             _r1 = maybe_push_res_to_seq (&tem_op, NULL);
   16139                 :           0 :                             if (!_r1) goto next_after_fail2162;
   16140                 :           0 :                             res_op->ops[2] = _r1;
   16141                 :             :                           }
   16142                 :           0 :                           res_op->resimplify (lseq, valueize);
   16143                 :           0 :                           if (UNLIKELY (debug_dump)) gimple_dump_logs ("match.pd", 927, __FILE__, __LINE__, true);
   16144                 :           0 :                           return true;
   16145                 :             :                         }
   16146                 :           0 : next_after_fail2162:;
   16147                 :             :                       }
   16148                 :             :                   }
   16149                 :           0 :                   break;
   16150                 :             :                 }
   16151                 :             :               default:;
   16152                 :             :               }
   16153                 :             :         }
   16154                 :             :       break;
   16155                 :       12421 :     default:;
   16156                 :             :     }
   16157                 :       12421 :   if ((_p1 == _p0 && ! TREE_SIDE_EFFECTS (_p1)) || (operand_equal_p (_p1, _p0, 0) && types_match (_p1, _p0)))
   16158                 :             :     {
   16159                 :           3 :       {
   16160                 :           3 :         tree captures[1] ATTRIBUTE_UNUSED = { _p0 };
   16161                 :           3 :         if (gimple_simplify_596 (res_op, seq, valueize, type, captures, UNEQ_EXPR))
   16162                 :           3 :           return true;
   16163                 :             :       }
   16164                 :             :     }
   16165                 :       12418 :   switch (TREE_CODE (_p0))
   16166                 :             :     {
   16167                 :       12186 :     case SSA_NAME:
   16168                 :       12186 :       if (gimple *_d1 = get_def (valueize, _p0))
   16169                 :             :         {
   16170                 :        7018 :           if (gassign *_a1 = dyn_cast <gassign *> (_d1))
   16171                 :        9144 :             switch (gimple_assign_rhs_code (_a1))
   16172                 :             :               {
   16173                 :           0 :               case FLOAT_EXPR:
   16174                 :           0 :                 {
   16175                 :           0 :                   tree _q20 = gimple_assign_rhs1 (_a1);
   16176                 :           0 :                   _q20 = do_valueize (valueize, _q20);
   16177                 :           0 :                   switch (TREE_CODE (_p1))
   16178                 :             :                     {
   16179                 :           0 :                     case SSA_NAME:
   16180                 :           0 :                       if (gimple *_d2 = get_def (valueize, _p1))
   16181                 :             :                         {
   16182                 :           0 :                           if (gassign *_a2 = dyn_cast <gassign *> (_d2))
   16183                 :           0 :                             switch (gimple_assign_rhs_code (_a2))
   16184                 :             :                               {
   16185                 :           0 :                               case FLOAT_EXPR:
   16186                 :           0 :                                 {
   16187                 :           0 :                                   tree _q40 = gimple_assign_rhs1 (_a2);
   16188                 :           0 :                                   _q40 = do_valueize (valueize, _q40);
   16189                 :           0 :                                   {
   16190                 :           0 :                                     tree captures[3] ATTRIBUTE_UNUSED = { _p0, _q20, _q40 };
   16191                 :           0 :                                     if (gimple_simplify_257 (res_op, seq, valueize, type, captures, UNEQ_EXPR, EQ_EXPR))
   16192                 :           0 :                                       return true;
   16193                 :             :                                   }
   16194                 :           0 :                                   break;
   16195                 :             :                                 }
   16196                 :             :                               default:;
   16197                 :             :                               }
   16198                 :             :                         }
   16199                 :             :                       break;
   16200                 :             :                     default:;
   16201                 :             :                     }
   16202                 :             :                   break;
   16203                 :             :                 }
   16204                 :           0 :               case NEGATE_EXPR:
   16205                 :           0 :                 {
   16206                 :           0 :                   tree _q20 = gimple_assign_rhs1 (_a1);
   16207                 :           0 :                   _q20 = do_valueize (valueize, _q20);
   16208                 :           0 :                   switch (TREE_CODE (_p1))
   16209                 :             :                     {
   16210                 :           0 :                     case SSA_NAME:
   16211                 :           0 :                       if (gimple *_d2 = get_def (valueize, _p1))
   16212                 :             :                         {
   16213                 :           0 :                           if (gassign *_a2 = dyn_cast <gassign *> (_d2))
   16214                 :           0 :                             switch (gimple_assign_rhs_code (_a2))
   16215                 :             :                               {
   16216                 :           0 :                               case NEGATE_EXPR:
   16217                 :           0 :                                 {
   16218                 :           0 :                                   tree _q40 = gimple_assign_rhs1 (_a2);
   16219                 :           0 :                                   _q40 = do_valueize (valueize, _q40);
   16220                 :           0 :                                   {
   16221                 :           0 :                                     tree captures[2] ATTRIBUTE_UNUSED = { _q20, _q40 };
   16222                 :           0 :                                     if (gimple_simplify_260 (res_op, seq, valueize, type, captures, UNEQ_EXPR, UNEQ_EXPR))
   16223                 :           0 :                                       return true;
   16224                 :             :                                   }
   16225                 :           0 :                                   break;
   16226                 :             :                                 }
   16227                 :             :                               default:;
   16228                 :             :                               }
   16229                 :             :                         }
   16230                 :             :                       break;
   16231                 :           0 :                     default:;
   16232                 :             :                     }
   16233                 :           0 :                 if (CONSTANT_CLASS_P (_p1))
   16234                 :             :                   {
   16235                 :           0 :                     {
   16236                 :           0 :                       tree captures[2] ATTRIBUTE_UNUSED = { _q20, _p1 };
   16237                 :           0 :                       if (gimple_simplify_261 (res_op, seq, valueize, type, captures, UNEQ_EXPR, UNEQ_EXPR))
   16238                 :           0 :                         return true;
   16239                 :             :                     }
   16240                 :             :                   }
   16241                 :             :                   break;
   16242                 :             :                 }
   16243                 :             :               default:;
   16244                 :             :               }
   16245                 :             :         }
   16246                 :             :       break;
   16247                 :       12418 :     default:;
   16248                 :             :     }
   16249                 :       12418 :   switch (TREE_CODE (_p1))
   16250                 :             :     {
   16251                 :         577 :     case REAL_CST:
   16252                 :         577 :       {
   16253                 :         577 :         {
   16254                 :         577 :           tree captures[2] ATTRIBUTE_UNUSED = { _p0, _p1 };
   16255                 :         577 :           if (gimple_simplify_594 (res_op, seq, valueize, type, captures, UNEQ_EXPR))
   16256                 :           0 :             return true;
   16257                 :             :         }
   16258                 :         577 :         break;
   16259                 :             :       }
   16260                 :             :     default:;
   16261                 :             :     }
   16262                 :             :   return false;
   16263                 :             : }
   16264                 :             : 
   16265                 :             : bool
   16266                 :        1211 : gimple_simplify_CFN_BUILT_IN_SCALBNL (gimple_match_op *res_op, gimple_seq *seq,
   16267                 :             :                  tree (*valueize)(tree) ATTRIBUTE_UNUSED,
   16268                 :             :                  code_helper ARG_UNUSED (code), tree ARG_UNUSED (type), tree _p0, tree _p1)
   16269                 :             : {
   16270                 :        1211 :   const bool debug_dump = dump_file && (dump_flags & TDF_FOLDING);
   16271                 :        1211 :   if (real_zerop (_p0))
   16272                 :             :     {
   16273                 :          28 :       {
   16274                 :          28 :         tree captures[2] ATTRIBUTE_UNUSED = { _p0, _p1 };
   16275                 :          28 :         if (gimple_simplify_608 (res_op, seq, valueize, type, captures))
   16276                 :          28 :           return true;
   16277                 :             :       }
   16278                 :             :     }
   16279                 :        1183 :   if (integer_zerop (_p1))
   16280                 :             :     {
   16281                 :           7 :       {
   16282                 :           7 :         tree captures[2] ATTRIBUTE_UNUSED = { _p0, _p1 };
   16283                 :           7 :         if (gimple_simplify_609 (res_op, seq, valueize, type, captures))
   16284                 :           7 :           return true;
   16285                 :             :       }
   16286                 :             :     }
   16287                 :        1176 :   switch (TREE_CODE (_p0))
   16288                 :             :     {
   16289                 :         880 :     case REAL_CST:
   16290                 :         880 :       {
   16291                 :         880 :         {
   16292                 :         880 :           tree captures[2] ATTRIBUTE_UNUSED = { _p0, _p1 };
   16293                 :         880 :           if (!real_isfinite (TREE_REAL_CST_PTR (captures[0]))
   16294                 :             : )
   16295                 :             :             {
   16296                 :          56 :               gimple_seq *lseq = seq;
   16297                 :          56 :               if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail2173;
   16298                 :          56 :               {
   16299                 :          56 :                 tree tem;
   16300                 :          56 :                 tem = captures[0];
   16301                 :          56 :                 res_op->set_value (tem);
   16302                 :          56 :                 if (UNLIKELY (debug_dump)) gimple_dump_logs ("match.pd", 1085, __FILE__, __LINE__, true);
   16303                 :          56 :                 return true;
   16304                 :             :               }
   16305                 :           0 : next_after_fail2173:;
   16306                 :             :             }
   16307                 :             :         }
   16308                 :         824 :         break;
   16309                 :             :       }
   16310                 :             :     default:;
   16311                 :             :     }
   16312                 :             :   return false;
   16313                 :             : }
   16314                 :             : 
   16315                 :             : bool
   16316                 :   450198837 : gimple_simplify (gimple_match_op *res_op, gimple_seq *seq,
   16317                 :             :                  tree (*valueize)(tree) ATTRIBUTE_UNUSED,
   16318                 :             :                  code_helper code, const tree type, tree _p0, tree _p1)
   16319                 :             : {
   16320                 :   450198837 :   switch (code.get_rep())
   16321                 :             :     {
   16322                 :      631003 :     case BIT_XOR_EXPR:
   16323                 :      631003 :       return gimple_simplify_BIT_XOR_EXPR (res_op, seq, valueize, code, type, _p0, _p1);
   16324                 :    96986698 :     case PLUS_EXPR:
   16325                 :    96986698 :       return gimple_simplify_PLUS_EXPR (res_op, seq, valueize, code, type, _p0, _p1);
   16326                 :    28784462 :     case POINTER_PLUS_EXPR:
   16327                 :    28784462 :       return gimple_simplify_POINTER_PLUS_EXPR (res_op, seq, valueize, code, type, _p0, _p1);
   16328                 :     9738575 :     case MINUS_EXPR:
   16329                 :     9738575 :       return gimple_simplify_MINUS_EXPR (res_op, seq, valueize, code, type, _p0, _p1);
   16330                 :     4202975 :     case BIT_IOR_EXPR:
   16331                 :     4202975 :       return gimple_simplify_BIT_IOR_EXPR (res_op, seq, valueize, code, type, _p0, _p1);
   16332                 :     2095700 :     case POINTER_DIFF_EXPR:
   16333                 :     2095700 :       return gimple_simplify_POINTER_DIFF_EXPR (res_op, seq, valueize, code, type, _p0, _p1);
   16334                 :    34593693 :     case MULT_EXPR:
   16335                 :    34593693 :       return gimple_simplify_MULT_EXPR (res_op, seq, valueize, code, type, _p0, _p1);
   16336                 :    70959412 :     case EQ_EXPR:
   16337                 :    70959412 :       return gimple_simplify_EQ_EXPR (res_op, seq, valueize, code, type, _p0, _p1);
   16338                 :   115998821 :     case NE_EXPR:
   16339                 :   115998821 :       return gimple_simplify_NE_EXPR (res_op, seq, valueize, code, type, _p0, _p1);
   16340                 :      161848 :     case -CFN_BUILT_IN_COPYSIGNF:
   16341                 :      161848 :       return gimple_simplify_CFN_BUILT_IN_COPYSIGNF (res_op, seq, valueize, code, type, _p0, _p1);
   16342                 :      159469 :     case -CFN_BUILT_IN_COPYSIGN:
   16343                 :      159469 :       return gimple_simplify_CFN_BUILT_IN_COPYSIGN (res_op, seq, valueize, code, type, _p0, _p1);
   16344                 :      157956 :     case -CFN_BUILT_IN_COPYSIGNL:
   16345                 :      157956 :       return gimple_simplify_CFN_BUILT_IN_COPYSIGNL (res_op, seq, valueize, code, type, _p0, _p1);
   16346                 :        2473 :     case -CFN_BUILT_IN_COPYSIGNF16:
   16347                 :        2473 :       return gimple_simplify_CFN_BUILT_IN_COPYSIGNF16 (res_op, seq, valueize, code, type, _p0, _p1);
   16348                 :         342 :     case -CFN_BUILT_IN_COPYSIGNF32:
   16349                 :         342 :       return gimple_simplify_CFN_BUILT_IN_COPYSIGNF32 (res_op, seq, valueize, code, type, _p0, _p1);
   16350                 :         342 :     case -CFN_BUILT_IN_COPYSIGNF64:
   16351                 :         342 :       return gimple_simplify_CFN_BUILT_IN_COPYSIGNF64 (res_op, seq, valueize, code, type, _p0, _p1);
   16352                 :        2055 :     case -CFN_BUILT_IN_COPYSIGNF128:
   16353                 :        2055 :       return gimple_simplify_CFN_BUILT_IN_COPYSIGNF128 (res_op, seq, valueize, code, type, _p0, _p1);
   16354                 :         342 :     case -CFN_BUILT_IN_COPYSIGNF32X:
   16355                 :         342 :       return gimple_simplify_CFN_BUILT_IN_COPYSIGNF32X (res_op, seq, valueize, code, type, _p0, _p1);
   16356                 :         342 :     case -CFN_BUILT_IN_COPYSIGNF64X:
   16357                 :         342 :       return gimple_simplify_CFN_BUILT_IN_COPYSIGNF64X (res_op, seq, valueize, code, type, _p0, _p1);
   16358                 :           0 :     case -CFN_BUILT_IN_COPYSIGNF128X:
   16359                 :           0 :       return gimple_simplify_CFN_BUILT_IN_COPYSIGNF128X (res_op, seq, valueize, code, type, _p0, _p1);
   16360                 :        3672 :     case -CFN_COPYSIGN:
   16361                 :        3672 :       return gimple_simplify_CFN_COPYSIGN (res_op, seq, valueize, code, type, _p0, _p1);
   16362                 :     1448299 :     case TRUNC_DIV_EXPR:
   16363                 :     1448299 :       return gimple_simplify_TRUNC_DIV_EXPR (res_op, seq, valueize, code, type, _p0, _p1);
   16364                 :        1626 :     case CEIL_DIV_EXPR:
   16365                 :        1626 :       return gimple_simplify_CEIL_DIV_EXPR (res_op, seq, valueize, code, type, _p0, _p1);
   16366                 :       11217 :     case FLOOR_DIV_EXPR:
   16367                 :       11217 :       return gimple_simplify_FLOOR_DIV_EXPR (res_op, seq, valueize, code, type, _p0, _p1);
   16368                 :           0 :     case ROUND_DIV_EXPR:
   16369                 :           0 :       return gimple_simplify_ROUND_DIV_EXPR (res_op, seq, valueize, code, type, _p0, _p1);
   16370                 :      983476 :     case EXACT_DIV_EXPR:
   16371                 :      983476 :       return gimple_simplify_EXACT_DIV_EXPR (res_op, seq, valueize, code, type, _p0, _p1);
   16372                 :        8298 :     case FLOOR_MOD_EXPR:
   16373                 :        8298 :       return gimple_simplify_FLOOR_MOD_EXPR (res_op, seq, valueize, code, type, _p0, _p1);
   16374                 :      548984 :     case RDIV_EXPR:
   16375                 :      548984 :       return gimple_simplify_RDIV_EXPR (res_op, seq, valueize, code, type, _p0, _p1);
   16376                 :    12904253 :     case LT_EXPR:
   16377                 :    12904253 :       return gimple_simplify_LT_EXPR (res_op, seq, valueize, code, type, _p0, _p1);
   16378                 :    12048600 :     case LE_EXPR:
   16379                 :    12048600 :       return gimple_simplify_LE_EXPR (res_op, seq, valueize, code, type, _p0, _p1);
   16380                 :    26515362 :     case GT_EXPR:
   16381                 :    26515362 :       return gimple_simplify_GT_EXPR (res_op, seq, valueize, code, type, _p0, _p1);
   16382                 :     8111550 :     case GE_EXPR:
   16383                 :     8111550 :       return gimple_simplify_GE_EXPR (res_op, seq, valueize, code, type, _p0, _p1);
   16384                 :         500 :     case CEIL_MOD_EXPR:
   16385                 :         500 :       return gimple_simplify_CEIL_MOD_EXPR (res_op, seq, valueize, code, type, _p0, _p1);
   16386                 :           0 :     case ROUND_MOD_EXPR:
   16387                 :           0 :       return gimple_simplify_ROUND_MOD_EXPR (res_op, seq, valueize, code, type, _p0, _p1);
   16388                 :     1564541 :     case TRUNC_MOD_EXPR:
   16389                 :     1564541 :       return gimple_simplify_TRUNC_MOD_EXPR (res_op, seq, valueize, code, type, _p0, _p1);
   16390                 :     1764867 :     case LSHIFT_EXPR:
   16391                 :     1764867 :       return gimple_simplify_LSHIFT_EXPR (res_op, seq, valueize, code, type, _p0, _p1);
   16392                 :     3126338 :     case RSHIFT_EXPR:
   16393                 :     3126338 :       return gimple_simplify_RSHIFT_EXPR (res_op, seq, valueize, code, type, _p0, _p1);
   16394                 :        5238 :     case -CFN_BUILT_IN_POWF:
   16395                 :        5238 :       return gimple_simplify_CFN_BUILT_IN_POWF (res_op, seq, valueize, code, type, _p0, _p1);
   16396                 :        6618 :     case -CFN_BUILT_IN_POW:
   16397                 :        6618 :       return gimple_simplify_CFN_BUILT_IN_POW (res_op, seq, valueize, code, type, _p0, _p1);
   16398                 :        2995 :     case -CFN_BUILT_IN_POWL:
   16399                 :        2995 :       return gimple_simplify_CFN_BUILT_IN_POWL (res_op, seq, valueize, code, type, _p0, _p1);
   16400                 :           0 :     case -CFN_POW:
   16401                 :           0 :       return gimple_simplify_CFN_POW (res_op, seq, valueize, code, type, _p0, _p1);
   16402                 :        2703 :     case -CFN_BUILT_IN_POWIF:
   16403                 :        2703 :       return gimple_simplify_CFN_BUILT_IN_POWIF (res_op, seq, valueize, code, type, _p0, _p1);
   16404                 :        4145 :     case -CFN_BUILT_IN_POWI:
   16405                 :        4145 :       return gimple_simplify_CFN_BUILT_IN_POWI (res_op, seq, valueize, code, type, _p0, _p1);
   16406                 :          73 :     case -CFN_BUILT_IN_POWIL:
   16407                 :          73 :       return gimple_simplify_CFN_BUILT_IN_POWIL (res_op, seq, valueize, code, type, _p0, _p1);
   16408                 :         379 :     case -CFN_BUILT_IN_HYPOTF:
   16409                 :         379 :       return gimple_simplify_CFN_BUILT_IN_HYPOTF (res_op, seq, valueize, code, type, _p0, _p1);
   16410                 :         333 :     case -CFN_BUILT_IN_HYPOT:
   16411                 :         333 :       return gimple_simplify_CFN_BUILT_IN_HYPOT (res_op, seq, valueize, code, type, _p0, _p1);
   16412                 :         189 :     case -CFN_BUILT_IN_HYPOTL:
   16413                 :         189 :       return gimple_simplify_CFN_BUILT_IN_HYPOTL (res_op, seq, valueize, code, type, _p0, _p1);
   16414                 :           0 :     case -CFN_HYPOT:
   16415                 :           0 :       return gimple_simplify_CFN_HYPOT (res_op, seq, valueize, code, type, _p0, _p1);
   16416                 :     8205480 :     case BIT_AND_EXPR:
   16417                 :     8205480 :       return gimple_simplify_BIT_AND_EXPR (res_op, seq, valueize, code, type, _p0, _p1);
   16418                 :      707468 :     case MIN_EXPR:
   16419                 :      707468 :       return gimple_simplify_MIN_EXPR (res_op, seq, valueize, code, type, _p0, _p1);
   16420                 :      920062 :     case MAX_EXPR:
   16421                 :      920062 :       return gimple_simplify_MAX_EXPR (res_op, seq, valueize, code, type, _p0, _p1);
   16422                 :        1771 :     case -CFN_BUILT_IN_FMINF:
   16423                 :        1771 :       return gimple_simplify_CFN_BUILT_IN_FMINF (res_op, seq, valueize, code, type, _p0, _p1);
   16424                 :        1835 :     case -CFN_BUILT_IN_FMIN:
   16425                 :        1835 :       return gimple_simplify_CFN_BUILT_IN_FMIN (res_op, seq, valueize, code, type, _p0, _p1);
   16426                 :        1552 :     case -CFN_BUILT_IN_FMINL:
   16427                 :        1552 :       return gimple_simplify_CFN_BUILT_IN_FMINL (res_op, seq, valueize, code, type, _p0, _p1);
   16428                 :          11 :     case -CFN_BUILT_IN_FMINF16:
   16429                 :          11 :       return gimple_simplify_CFN_BUILT_IN_FMINF16 (res_op, seq, valueize, code, type, _p0, _p1);
   16430                 :           0 :     case -CFN_BUILT_IN_FMINF32:
   16431                 :           0 :       return gimple_simplify_CFN_BUILT_IN_FMINF32 (res_op, seq, valueize, code, type, _p0, _p1);
   16432                 :           0 :     case -CFN_BUILT_IN_FMINF64:
   16433                 :           0 :       return gimple_simplify_CFN_BUILT_IN_FMINF64 (res_op, seq, valueize, code, type, _p0, _p1);
   16434                 :          44 :     case -CFN_BUILT_IN_FMINF128:
   16435                 :          44 :       return gimple_simplify_CFN_BUILT_IN_FMINF128 (res_op, seq, valueize, code, type, _p0, _p1);
   16436                 :           0 :     case -CFN_BUILT_IN_FMINF32X:
   16437                 :           0 :       return gimple_simplify_CFN_BUILT_IN_FMINF32X (res_op, seq, valueize, code, type, _p0, _p1);
   16438                 :           0 :     case -CFN_BUILT_IN_FMINF64X:
   16439                 :           0 :       return gimple_simplify_CFN_BUILT_IN_FMINF64X (res_op, seq, valueize, code, type, _p0, _p1);
   16440                 :           0 :     case -CFN_BUILT_IN_FMINF128X:
   16441                 :           0 :       return gimple_simplify_CFN_BUILT_IN_FMINF128X (res_op, seq, valueize, code, type, _p0, _p1);
   16442                 :           0 :     case -CFN_FMIN:
   16443                 :           0 :       return gimple_simplify_CFN_FMIN (res_op, seq, valueize, code, type, _p0, _p1);
   16444                 :        1824 :     case -CFN_BUILT_IN_FMAXF:
   16445                 :        1824 :       return gimple_simplify_CFN_BUILT_IN_FMAXF (res_op, seq, valueize, code, type, _p0, _p1);
   16446                 :        2320 :     case -CFN_BUILT_IN_FMAX:
   16447                 :        2320 :       return gimple_simplify_CFN_BUILT_IN_FMAX (res_op, seq, valueize, code, type, _p0, _p1);
   16448                 :        1762 :     case -CFN_BUILT_IN_FMAXL:
   16449                 :        1762 :       return gimple_simplify_CFN_BUILT_IN_FMAXL (res_op, seq, valueize, code, type, _p0, _p1);
   16450                 :          11 :     case -CFN_BUILT_IN_FMAXF16:
   16451                 :          11 :       return gimple_simplify_CFN_BUILT_IN_FMAXF16 (res_op, seq, valueize, code, type, _p0, _p1);
   16452                 :           0 :     case -CFN_BUILT_IN_FMAXF32:
   16453                 :           0 :       return gimple_simplify_CFN_BUILT_IN_FMAXF32 (res_op, seq, valueize, code, type, _p0, _p1);
   16454                 :           0 :     case -CFN_BUILT_IN_FMAXF64:
   16455                 :           0 :       return gimple_simplify_CFN_BUILT_IN_FMAXF64 (res_op, seq, valueize, code, type, _p0, _p1);
   16456                 :          44 :     case -CFN_BUILT_IN_FMAXF128:
   16457                 :          44 :       return gimple_simplify_CFN_BUILT_IN_FMAXF128 (res_op, seq, valueize, code, type, _p0, _p1);
   16458                 :           0 :     case -CFN_BUILT_IN_FMAXF32X:
   16459                 :           0 :       return gimple_simplify_CFN_BUILT_IN_FMAXF32X (res_op, seq, valueize, code, type, _p0, _p1);
   16460                 :           0 :     case -CFN_BUILT_IN_FMAXF64X:
   16461                 :           0 :       return gimple_simplify_CFN_BUILT_IN_FMAXF64X (res_op, seq, valueize, code, type, _p0, _p1);
   16462                 :           0 :     case -CFN_BUILT_IN_FMAXF128X:
   16463                 :           0 :       return gimple_simplify_CFN_BUILT_IN_FMAXF128X (res_op, seq, valueize, code, type, _p0, _p1);
   16464                 :           0 :     case -CFN_FMAX:
   16465                 :           0 :       return gimple_simplify_CFN_FMAX (res_op, seq, valueize, code, type, _p0, _p1);
   16466                 :       26785 :     case LROTATE_EXPR:
   16467                 :       26785 :       return gimple_simplify_LROTATE_EXPR (res_op, seq, valueize, code, type, _p0, _p1);
   16468                 :       94006 :     case RROTATE_EXPR:
   16469                 :       94006 :       return gimple_simplify_RROTATE_EXPR (res_op, seq, valueize, code, type, _p0, _p1);
   16470                 :      197356 :     case COMPLEX_EXPR:
   16471                 :      197356 :       return gimple_simplify_COMPLEX_EXPR (res_op, seq, valueize, code, type, _p0, _p1);
   16472                 :      149537 :     case UNORDERED_EXPR:
   16473                 :      149537 :       return gimple_simplify_UNORDERED_EXPR (res_op, seq, valueize, code, type, _p0, _p1);
   16474                 :      131564 :     case ORDERED_EXPR:
   16475                 :      131564 :       return gimple_simplify_ORDERED_EXPR (res_op, seq, valueize, code, type, _p0, _p1);
   16476                 :       32055 :     case UNLT_EXPR:
   16477                 :       32055 :       return gimple_simplify_UNLT_EXPR (res_op, seq, valueize, code, type, _p0, _p1);
   16478                 :      391630 :     case UNLE_EXPR:
   16479                 :      391630 :       return gimple_simplify_UNLE_EXPR (res_op, seq, valueize, code, type, _p0, _p1);
   16480                 :      127184 :     case UNGT_EXPR:
   16481                 :      127184 :       return gimple_simplify_UNGT_EXPR (res_op, seq, valueize, code, type, _p0, _p1);
   16482                 :      278224 :     case UNGE_EXPR:
   16483                 :      278224 :       return gimple_simplify_UNGE_EXPR (res_op, seq, valueize, code, type, _p0, _p1);
   16484                 :       12421 :     case UNEQ_EXPR:
   16485                 :       12421 :       return gimple_simplify_UNEQ_EXPR (res_op, seq, valueize, code, type, _p0, _p1);
   16486                 :         374 :     case LTGT_EXPR:
   16487                 :         374 :       return gimple_simplify_LTGT_EXPR (res_op, seq, valueize, code, type, _p0, _p1);
   16488                 :      240787 :     case -CFN_ADD_OVERFLOW:
   16489                 :      240787 :       return gimple_simplify_CFN_ADD_OVERFLOW (res_op, seq, valueize, code, type, _p0, _p1);
   16490                 :      290440 :     case -CFN_SUB_OVERFLOW:
   16491                 :      290440 :       return gimple_simplify_CFN_SUB_OVERFLOW (res_op, seq, valueize, code, type, _p0, _p1);
   16492                 :      295638 :     case -CFN_MUL_OVERFLOW:
   16493                 :      295638 :       return gimple_simplify_CFN_MUL_OVERFLOW (res_op, seq, valueize, code, type, _p0, _p1);
   16494                 :        1250 :     case -CFN_BUILT_IN_LDEXPF:
   16495                 :        1250 :       return gimple_simplify_CFN_BUILT_IN_LDEXPF (res_op, seq, valueize, code, type, _p0, _p1);
   16496                 :        2403 :     case -CFN_BUILT_IN_LDEXP:
   16497                 :        2403 :       return gimple_simplify_CFN_BUILT_IN_LDEXP (res_op, seq, valueize, code, type, _p0, _p1);
   16498                 :        1715 :     case -CFN_BUILT_IN_LDEXPL:
   16499                 :        1715 :       return gimple_simplify_CFN_BUILT_IN_LDEXPL (res_op, seq, valueize, code, type, _p0, _p1);
   16500                 :           0 :     case -CFN_LDEXP:
   16501                 :           0 :       return gimple_simplify_CFN_LDEXP (res_op, seq, valueize, code, type, _p0, _p1);
   16502                 :        4593 :     case -CFN_BUILT_IN_SCALBNF:
   16503                 :        4593 :       return gimple_simplify_CFN_BUILT_IN_SCALBNF (res_op, seq, valueize, code, type, _p0, _p1);
   16504                 :        3117 :     case -CFN_BUILT_IN_SCALBN:
   16505                 :        3117 :       return gimple_simplify_CFN_BUILT_IN_SCALBN (res_op, seq, valueize, code, type, _p0, _p1);
   16506                 :        1211 :     case -CFN_BUILT_IN_SCALBNL:
   16507                 :        1211 :       return gimple_simplify_CFN_BUILT_IN_SCALBNL (res_op, seq, valueize, code, type, _p0, _p1);
   16508                 :        1124 :     case -CFN_BUILT_IN_SCALBLNF:
   16509                 :        1124 :       return gimple_simplify_CFN_BUILT_IN_SCALBLNF (res_op, seq, valueize, code, type, _p0, _p1);
   16510                 :        1020 :     case -CFN_BUILT_IN_SCALBLN:
   16511                 :        1020 :       return gimple_simplify_CFN_BUILT_IN_SCALBLN (res_op, seq, valueize, code, type, _p0, _p1);
   16512                 :         975 :     case -CFN_BUILT_IN_SCALBLNL:
   16513                 :         975 :       return gimple_simplify_CFN_BUILT_IN_SCALBLNL (res_op, seq, valueize, code, type, _p0, _p1);
   16514                 :           0 :     case TRUTH_ORIF_EXPR:
   16515                 :           0 :       return gimple_simplify_TRUTH_ORIF_EXPR (res_op, seq, valueize, code, type, _p0, _p1);
   16516                 :           0 :     case TRUTH_OR_EXPR:
   16517                 :           0 :       return gimple_simplify_TRUTH_OR_EXPR (res_op, seq, valueize, code, type, _p0, _p1);
   16518                 :             :     default:;
   16519                 :             :     }
   16520                 :             :   return false;
   16521                 :             : }
   16522                 :             : 
   16523                 :             : bool
   16524                 :        2896 : gimple_simplify_CFN_BUILT_IN_FMA (gimple_match_op *res_op, gimple_seq *seq,
   16525                 :             :                  tree (*valueize)(tree) ATTRIBUTE_UNUSED,
   16526                 :             :                  code_helper ARG_UNUSED (code), tree ARG_UNUSED (type), tree _p0, tree _p1, tree _p2)
   16527                 :             : {
   16528                 :        2896 :   const bool debug_dump = dump_file && (dump_flags & TDF_FOLDING);
   16529                 :        2896 :   switch (TREE_CODE (_p0))
   16530                 :             :     {
   16531                 :        2604 :     case SSA_NAME:
   16532                 :        2604 :       if (gimple *_d1 = get_def (valueize, _p0))
   16533                 :             :         {
   16534                 :        1248 :           if (gassign *_a1 = dyn_cast <gassign *> (_d1))
   16535                 :        1508 :             switch (gimple_assign_rhs_code (_a1))
   16536                 :             :               {
   16537                 :         189 :               case NEGATE_EXPR:
   16538                 :         189 :                 {
   16539                 :         189 :                   tree _q20 = gimple_assign_rhs1 (_a1);
   16540                 :         189 :                   _q20 = do_valueize (valueize, _q20);
   16541                 :         189 :                   {
   16542                 :         189 :                     tree captures[3] ATTRIBUTE_UNUSED = { _q20, _p1, _p2 };
   16543                 :         189 :                     if (gimple_simplify_619 (res_op, seq, valueize, type, captures, CFN_BUILT_IN_FMA))
   16544                 :          40 :                       return true;
   16545                 :             :                   }
   16546                 :         149 :                   switch (TREE_CODE (_p2))
   16547                 :             :                     {
   16548                 :         149 :                     case SSA_NAME:
   16549                 :         149 :                       if (gimple *_d2 = get_def (valueize, _p2))
   16550                 :             :                         {
   16551                 :         149 :                           if (gassign *_a2 = dyn_cast <gassign *> (_d2))
   16552                 :          58 :                             switch (gimple_assign_rhs_code (_a2))
   16553                 :             :                               {
   16554                 :          58 :                               case NEGATE_EXPR:
   16555                 :          58 :                                 {
   16556                 :          58 :                                   tree _q50 = gimple_assign_rhs1 (_a2);
   16557                 :          58 :                                   _q50 = do_valueize (valueize, _q50);
   16558                 :          58 :                                   {
   16559                 :          58 :                                     tree captures[3] ATTRIBUTE_UNUSED = { _q20, _p1, _q50 };
   16560                 :          58 :                                     if (gimple_simplify_620 (res_op, seq, valueize, type, captures, CFN_BUILT_IN_FMA))
   16561                 :           0 :                                       return true;
   16562                 :             :                                   }
   16563                 :          58 :                                   break;
   16564                 :             :                                 }
   16565                 :             :                               default:;
   16566                 :             :                               }
   16567                 :             :                         }
   16568                 :             :                       break;
   16569                 :             :                     default:;
   16570                 :             :                     }
   16571                 :             :                   break;
   16572                 :             :                 }
   16573                 :             :               default:;
   16574                 :             :               }
   16575                 :             :         }
   16576                 :             :       break;
   16577                 :        2856 :     default:;
   16578                 :             :     }
   16579                 :        2856 :   switch (TREE_CODE (_p1))
   16580                 :             :     {
   16581                 :        1458 :     case SSA_NAME:
   16582                 :        1458 :       if (gimple *_d1 = get_def (valueize, _p1))
   16583                 :             :         {
   16584                 :         772 :           if (gassign *_a1 = dyn_cast <gassign *> (_d1))
   16585                 :         769 :             switch (gimple_assign_rhs_code (_a1))
   16586                 :             :               {
   16587                 :         186 :               case NEGATE_EXPR:
   16588                 :         186 :                 {
   16589                 :         186 :                   tree _q30 = gimple_assign_rhs1 (_a1);
   16590                 :         186 :                   _q30 = do_valueize (valueize, _q30);
   16591                 :         186 :                   {
   16592                 :         186 :                     tree captures[3] ATTRIBUTE_UNUSED = { _q30, _p0, _p2 };
   16593                 :         186 :                     if (gimple_simplify_619 (res_op, seq, valueize, type, captures, CFN_BUILT_IN_FMA))
   16594                 :           0 :                       return true;
   16595                 :             :                   }
   16596                 :         186 :                   break;
   16597                 :             :                 }
   16598                 :             :               default:;
   16599                 :             :               }
   16600                 :             :         }
   16601                 :             :       break;
   16602                 :        2856 :     default:;
   16603                 :             :     }
   16604                 :        2856 :   switch (TREE_CODE (_p2))
   16605                 :             :     {
   16606                 :        2623 :     case SSA_NAME:
   16607                 :        2623 :       if (gimple *_d1 = get_def (valueize, _p2))
   16608                 :             :         {
   16609                 :        1456 :           if (gassign *_a1 = dyn_cast <gassign *> (_d1))
   16610                 :        1582 :             switch (gimple_assign_rhs_code (_a1))
   16611                 :             :               {
   16612                 :         300 :               case NEGATE_EXPR:
   16613                 :         300 :                 {
   16614                 :         300 :                   tree _q40 = gimple_assign_rhs1 (_a1);
   16615                 :         300 :                   _q40 = do_valueize (valueize, _q40);
   16616                 :         300 :                   {
   16617                 :         300 :                     tree captures[3] ATTRIBUTE_UNUSED = { _p0, _p1, _q40 };
   16618                 :         300 :                     if (gimple_simplify_621 (res_op, seq, valueize, type, captures, CFN_BUILT_IN_FMA))
   16619                 :          12 :                       return true;
   16620                 :             :                   }
   16621                 :         288 :                   break;
   16622                 :             :                 }
   16623                 :             :               default:;
   16624                 :             :               }
   16625                 :             :         }
   16626                 :             :       break;
   16627                 :        2844 :     default:;
   16628                 :             :     }
   16629                 :        2844 :   switch (TREE_CODE (_p1))
   16630                 :             :     {
   16631                 :        1446 :     case SSA_NAME:
   16632                 :        1446 :       if (gimple *_d1 = get_def (valueize, _p1))
   16633                 :             :         {
   16634                 :         760 :           if (gassign *_a1 = dyn_cast <gassign *> (_d1))
   16635                 :         769 :             switch (gimple_assign_rhs_code (_a1))
   16636                 :             :               {
   16637                 :         186 :               case NEGATE_EXPR:
   16638                 :         186 :                 {
   16639                 :         186 :                   tree _q30 = gimple_assign_rhs1 (_a1);
   16640                 :         186 :                   _q30 = do_valueize (valueize, _q30);
   16641                 :         186 :                   switch (TREE_CODE (_p2))
   16642                 :             :                     {
   16643                 :         186 :                     case SSA_NAME:
   16644                 :         186 :                       if (gimple *_d2 = get_def (valueize, _p2))
   16645                 :             :                         {
   16646                 :         177 :                           if (gassign *_a2 = dyn_cast <gassign *> (_d2))
   16647                 :         231 :                             switch (gimple_assign_rhs_code (_a2))
   16648                 :             :                               {
   16649                 :          91 :                               case NEGATE_EXPR:
   16650                 :          91 :                                 {
   16651                 :          91 :                                   tree _q50 = gimple_assign_rhs1 (_a2);
   16652                 :          91 :                                   _q50 = do_valueize (valueize, _q50);
   16653                 :          91 :                                   {
   16654                 :          91 :                                     tree captures[3] ATTRIBUTE_UNUSED = { _q30, _p0, _q50 };
   16655                 :          91 :                                     if (gimple_simplify_620 (res_op, seq, valueize, type, captures, CFN_BUILT_IN_FMA))
   16656                 :           0 :                                       return true;
   16657                 :             :                                   }
   16658                 :          91 :                                   break;
   16659                 :             :                                 }
   16660                 :             :                               default:;
   16661                 :             :                               }
   16662                 :             :                         }
   16663                 :             :                       break;
   16664                 :             :                     default:;
   16665                 :             :                     }
   16666                 :             :                   break;
   16667                 :             :                 }
   16668                 :             :               default:;
   16669                 :             :               }
   16670                 :             :         }
   16671                 :             :       break;
   16672                 :             :     default:;
   16673                 :             :     }
   16674                 :             :   return false;
   16675                 :             : }
   16676                 :             : 
   16677                 :             : bool
   16678                 :        2713 : gimple_simplify_CFN_FMS (gimple_match_op *res_op, gimple_seq *seq,
   16679                 :             :                  tree (*valueize)(tree) ATTRIBUTE_UNUSED,
   16680                 :             :                  code_helper ARG_UNUSED (code), tree ARG_UNUSED (type), tree _p0, tree _p1, tree _p2)
   16681                 :             : {
   16682                 :        2713 :   const bool debug_dump = dump_file && (dump_flags & TDF_FOLDING);
   16683                 :        2713 :   switch (TREE_CODE (_p0))
   16684                 :             :     {
   16685                 :        2713 :     case SSA_NAME:
   16686                 :        2713 :       if (gimple *_d1 = get_def (valueize, _p0))
   16687                 :             :         {
   16688                 :        2687 :           if (gassign *_a1 = dyn_cast <gassign *> (_d1))
   16689                 :        4500 :             switch (gimple_assign_rhs_code (_a1))
   16690                 :             :               {
   16691                 :           0 :               case NEGATE_EXPR:
   16692                 :           0 :                 {
   16693                 :           0 :                   tree _q20 = gimple_assign_rhs1 (_a1);
   16694                 :           0 :                   _q20 = do_valueize (valueize, _q20);
   16695                 :           0 :                   {
   16696                 :           0 :                     tree captures[3] ATTRIBUTE_UNUSED = { _q20, _p1, _p2 };
   16697                 :           0 :                     if (gimple_simplify_622 (res_op, seq, valueize, type, captures))
   16698                 :           0 :                       return true;
   16699                 :             :                   }
   16700                 :           0 :                   switch (TREE_CODE (_p2))
   16701                 :             :                     {
   16702                 :           0 :                     case SSA_NAME:
   16703                 :           0 :                       if (gimple *_d2 = get_def (valueize, _p2))
   16704                 :             :                         {
   16705                 :           0 :                           if (gassign *_a2 = dyn_cast <gassign *> (_d2))
   16706                 :           0 :                             switch (gimple_assign_rhs_code (_a2))
   16707                 :             :                               {
   16708                 :           0 :                               case NEGATE_EXPR:
   16709                 :           0 :                                 {
   16710                 :           0 :                                   tree _q50 = gimple_assign_rhs1 (_a2);
   16711                 :           0 :                                   _q50 = do_valueize (valueize, _q50);
   16712                 :           0 :                                   {
   16713                 :           0 :                                     tree captures[3] ATTRIBUTE_UNUSED = { _q20, _p1, _q50 };
   16714                 :           0 :                                     if (gimple_simplify_623 (res_op, seq, valueize, type, captures))
   16715                 :           0 :                                       return true;
   16716                 :             :                                   }
   16717                 :           0 :                                   break;
   16718                 :             :                                 }
   16719                 :             :                               default:;
   16720                 :             :                               }
   16721                 :             :                         }
   16722                 :             :                       break;
   16723                 :             :                     default:;
   16724                 :             :                     }
   16725                 :             :                   break;
   16726                 :             :                 }
   16727                 :             :               default:;
   16728                 :             :               }
   16729                 :             :         }
   16730                 :             :       break;
   16731                 :        2713 :     default:;
   16732                 :             :     }
   16733                 :        2713 :   switch (TREE_CODE (_p1))
   16734                 :             :     {
   16735                 :        2697 :     case SSA_NAME:
   16736                 :        2697 :       if (gimple *_d1 = get_def (valueize, _p1))
   16737                 :             :         {
   16738                 :        2684 :           if (gassign *_a1 = dyn_cast <gassign *> (_d1))
   16739                 :        2204 :             switch (gimple_assign_rhs_code (_a1))
   16740                 :             :               {
   16741                 :           0 :               case NEGATE_EXPR:
   16742                 :           0 :                 {
   16743                 :           0 :                   tree _q30 = gimple_assign_rhs1 (_a1);
   16744                 :           0 :                   _q30 = do_valueize (valueize, _q30);
   16745                 :           0 :                   {
   16746                 :           0 :                     tree captures[3] ATTRIBUTE_UNUSED = { _q30, _p0, _p2 };
   16747                 :           0 :                     if (gimple_simplify_622 (res_op, seq, valueize, type, captures))
   16748                 :           0 :                       return true;
   16749                 :             :                   }
   16750                 :           0 :                   break;
   16751                 :             :                 }
   16752                 :             :               default:;
   16753                 :             :               }
   16754                 :             :         }
   16755                 :             :       break;
   16756                 :        2713 :     default:;
   16757                 :             :     }
   16758                 :        2713 :   switch (TREE_CODE (_p2))
   16759                 :             :     {
   16760                 :        2713 :     case SSA_NAME:
   16761                 :        2713 :       if (gimple *_d1 = get_def (valueize, _p2))
   16762                 :             :         {
   16763                 :        2700 :           if (gassign *_a1 = dyn_cast <gassign *> (_d1))
   16764                 :        4469 :             switch (gimple_assign_rhs_code (_a1))
   16765                 :             :               {
   16766                 :           0 :               case NEGATE_EXPR:
   16767                 :           0 :                 {
   16768                 :           0 :                   tree _q40 = gimple_assign_rhs1 (_a1);
   16769                 :           0 :                   _q40 = do_valueize (valueize, _q40);
   16770                 :           0 :                   {
   16771                 :           0 :                     tree captures[3] ATTRIBUTE_UNUSED = { _p0, _p1, _q40 };
   16772                 :           0 :                     if (canonicalize_math_after_vectorization_p ()
   16773                 :             : )
   16774                 :             :                       {
   16775                 :           0 :                         gimple_seq *lseq = seq;
   16776                 :           0 :                         if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail2374;
   16777                 :           0 :                         {
   16778                 :           0 :                           res_op->set_op (CFN_FMA, type, 3);
   16779                 :           0 :                           res_op->ops[0] = captures[0];
   16780                 :           0 :                           res_op->ops[1] = captures[1];
   16781                 :           0 :                           res_op->ops[2] = captures[2];
   16782                 :           0 :                           res_op->resimplify (lseq, valueize);
   16783                 :           0 :                           if (UNLIKELY (debug_dump)) gimple_dump_logs ("match.pd", 1143, __FILE__, __LINE__, true);
   16784                 :           0 :                           return true;
   16785                 :             :                         }
   16786                 :           0 : next_after_fail2374:;
   16787                 :             :                       }
   16788                 :             :                   }
   16789                 :           0 :                   break;
   16790                 :             :                 }
   16791                 :             :               default:;
   16792                 :             :               }
   16793                 :             :         }
   16794                 :             :       break;
   16795                 :        2713 :     default:;
   16796                 :             :     }
   16797                 :        2713 :   switch (TREE_CODE (_p1))
   16798                 :             :     {
   16799                 :        2697 :     case SSA_NAME:
   16800                 :        2697 :       if (gimple *_d1 = get_def (valueize, _p1))
   16801                 :             :         {
   16802                 :        2684 :           if (gassign *_a1 = dyn_cast <gassign *> (_d1))
   16803                 :        2204 :             switch (gimple_assign_rhs_code (_a1))
   16804                 :             :               {
   16805                 :           0 :               case NEGATE_EXPR:
   16806                 :           0 :                 {
   16807                 :           0 :                   tree _q30 = gimple_assign_rhs1 (_a1);
   16808                 :           0 :                   _q30 = do_valueize (valueize, _q30);
   16809                 :           0 :                   switch (TREE_CODE (_p2))
   16810                 :             :                     {
   16811                 :           0 :                     case SSA_NAME:
   16812                 :           0 :                       if (gimple *_d2 = get_def (valueize, _p2))
   16813                 :             :                         {
   16814                 :           0 :                           if (gassign *_a2 = dyn_cast <gassign *> (_d2))
   16815                 :           0 :                             switch (gimple_assign_rhs_code (_a2))
   16816                 :             :                               {
   16817                 :           0 :                               case NEGATE_EXPR:
   16818                 :           0 :                                 {
   16819                 :           0 :                                   tree _q50 = gimple_assign_rhs1 (_a2);
   16820                 :           0 :                                   _q50 = do_valueize (valueize, _q50);
   16821                 :           0 :                                   {
   16822                 :           0 :                                     tree captures[3] ATTRIBUTE_UNUSED = { _q30, _p0, _q50 };
   16823                 :           0 :                                     if (gimple_simplify_623 (res_op, seq, valueize, type, captures))
   16824                 :           0 :                                       return true;
   16825                 :             :                                   }
   16826                 :           0 :                                   break;
   16827                 :             :                                 }
   16828                 :             :                               default:;
   16829                 :             :                               }
   16830                 :             :                         }
   16831                 :             :                       break;
   16832                 :             :                     default:;
   16833                 :             :                     }
   16834                 :             :                   break;
   16835                 :             :                 }
   16836                 :             :               default:;
   16837                 :             :               }
   16838                 :             :         }
   16839                 :             :       break;
   16840                 :             :     default:;
   16841                 :             :     }
   16842                 :             :   return false;
   16843                 :             : }
   16844                 :             : 
   16845                 :             : bool
   16846                 :           0 : gimple_simplify_CFN_VCOND_MASK_LEN (gimple_match_op *res_op, gimple_seq *seq,
   16847                 :             :                  tree (*valueize)(tree) ATTRIBUTE_UNUSED,
   16848                 :             :                  code_helper ARG_UNUSED (code), tree ARG_UNUSED (type), tree _p0, tree _p1, tree _p2)
   16849                 :             : {
   16850                 :           0 :   const bool debug_dump = dump_file && (dump_flags & TDF_FOLDING);
   16851                 :           0 :   switch (TREE_CODE (_p2))
   16852                 :             :     {
   16853                 :           0 :     case SSA_NAME:
   16854                 :           0 :       if (gimple *_d1 = get_def (valueize, _p2))
   16855                 :             :         {
   16856                 :           0 :           if (gassign *_a1 = dyn_cast <gassign *> (_d1))
   16857                 :           0 :             switch (gimple_assign_rhs_code (_a1))
   16858                 :             :               {
   16859                 :           0 :               case VIEW_CONVERT_EXPR:
   16860                 :           0 :                 {
   16861                 :           0 :                   tree _q40 = TREE_OPERAND (gimple_assign_rhs1 (_a1), 0);
   16862                 :           0 :                   if ((TREE_CODE (_q40) == SSA_NAME
   16863                 :           0 :                        || is_gimple_min_invariant (_q40)))
   16864                 :             :                     {
   16865                 :           0 :                       _q40 = do_valueize (valueize, _q40);
   16866                 :           0 :                       switch (TREE_CODE (_q40))
   16867                 :             :                         {
   16868                 :           0 :                         case SSA_NAME:
   16869                 :           0 :                           if (gimple *_d2 = get_def (valueize, _q40))
   16870                 :             :                             {
   16871                 :           0 :                               if (gcall *_c2 = dyn_cast <gcall *> (_d2))
   16872                 :           0 :                                 switch (gimple_call_combined_fn (_c2))
   16873                 :             :                                   {
   16874                 :           0 :                                   case CFN_FMA:
   16875                 :           0 :                                     if (gimple_call_num_args (_c2) == 5)
   16876                 :             :                                       {
   16877                 :           0 :                                         tree _q50 = gimple_call_arg (_c2, 0);
   16878                 :           0 :                                         _q50 = do_valueize (valueize, _q50);
   16879                 :           0 :                                         tree _q51 = gimple_call_arg (_c2, 1);
   16880                 :           0 :                                         _q51 = do_valueize (valueize, _q51);
   16881                 :           0 :                                         tree _q52 = gimple_call_arg (_c2, 2);
   16882                 :           0 :                                         _q52 = do_valueize (valueize, _q52);
   16883                 :           0 :                                         tree _q53 = gimple_call_arg (_c2, 3);
   16884                 :           0 :                                         _q53 = do_valueize (valueize, _q53);
   16885                 :           0 :                                         tree _q54 = gimple_call_arg (_c2, 4);
   16886                 :           0 :                                         _q54 = do_valueize (valueize, _q54);
   16887                 :           0 :                                         if (tree_swap_operands_p (_q50, _q51))
   16888                 :           0 :                                           std::swap (_q50, _q51);
   16889                 :           0 :                                         {
   16890                 :           0 :                                           tree captures[8] ATTRIBUTE_UNUSED = { _p0, _p1, _q40, _q50, _q51, _q52, _q53, _q54 };
   16891                 :           0 :                                           if (gimple_simplify_644 (res_op, seq, valueize, type, captures, CFN_FMA, CFN_COND_LEN_FMA))
   16892                 :           0 :                                             return true;
   16893                 :             :                                         }
   16894                 :             :                                       }
   16895                 :             :                                     break;
   16896                 :           0 :                                   case CFN_FMS:
   16897                 :           0 :                                     if (gimple_call_num_args (_c2) == 5)
   16898                 :             :                                       {
   16899                 :           0 :                                         tree _q50 = gimple_call_arg (_c2, 0);
   16900                 :           0 :                                         _q50 = do_valueize (valueize, _q50);
   16901                 :           0 :                                         tree _q51 = gimple_call_arg (_c2, 1);
   16902                 :           0 :                                         _q51 = do_valueize (valueize, _q51);
   16903                 :           0 :                                         tree _q52 = gimple_call_arg (_c2, 2);
   16904                 :           0 :                                         _q52 = do_valueize (valueize, _q52);
   16905                 :           0 :                                         tree _q53 = gimple_call_arg (_c2, 3);
   16906                 :           0 :                                         _q53 = do_valueize (valueize, _q53);
   16907                 :           0 :                                         tree _q54 = gimple_call_arg (_c2, 4);
   16908                 :           0 :                                         _q54 = do_valueize (valueize, _q54);
   16909                 :           0 :                                         if (tree_swap_operands_p (_q50, _q51))
   16910                 :           0 :                                           std::swap (_q50, _q51);
   16911                 :           0 :                                         {
   16912                 :           0 :                                           tree captures[8] ATTRIBUTE_UNUSED = { _p0, _p1, _q40, _q50, _q51, _q52, _q53, _q54 };
   16913                 :           0 :                                           if (gimple_simplify_644 (res_op, seq, valueize, type, captures, CFN_FMS, CFN_COND_LEN_FMS))
   16914                 :           0 :                                             return true;
   16915                 :             :                                         }
   16916                 :             :                                       }
   16917                 :             :                                     break;
   16918                 :           0 :                                   case CFN_FNMA:
   16919                 :           0 :                                     if (gimple_call_num_args (_c2) == 5)
   16920                 :             :                                       {
   16921                 :           0 :                                         tree _q50 = gimple_call_arg (_c2, 0);
   16922                 :           0 :                                         _q50 = do_valueize (valueize, _q50);
   16923                 :           0 :                                         tree _q51 = gimple_call_arg (_c2, 1);
   16924                 :           0 :                                         _q51 = do_valueize (valueize, _q51);
   16925                 :           0 :                                         tree _q52 = gimple_call_arg (_c2, 2);
   16926                 :           0 :                                         _q52 = do_valueize (valueize, _q52);
   16927                 :           0 :                                         tree _q53 = gimple_call_arg (_c2, 3);
   16928                 :           0 :                                         _q53 = do_valueize (valueize, _q53);
   16929                 :           0 :                                         tree _q54 = gimple_call_arg (_c2, 4);
   16930                 :           0 :                                         _q54 = do_valueize (valueize, _q54);
   16931                 :           0 :                                         if (tree_swap_operands_p (_q50, _q51))
   16932                 :           0 :                                           std::swap (_q50, _q51);
   16933                 :           0 :                                         {
   16934                 :           0 :                                           tree captures[8] ATTRIBUTE_UNUSED = { _p0, _p1, _q40, _q50, _q51, _q52, _q53, _q54 };
   16935                 :           0 :                                           if (gimple_simplify_644 (res_op, seq, valueize, type, captures, CFN_FNMA, CFN_COND_LEN_FNMA))
   16936                 :           0 :                                             return true;
   16937                 :             :                                         }
   16938                 :             :                                       }
   16939                 :             :                                     break;
   16940                 :           0 :                                   case CFN_FNMS:
   16941                 :           0 :                                     if (gimple_call_num_args (_c2) == 5)
   16942                 :             :                                       {
   16943                 :           0 :                                         tree _q50 = gimple_call_arg (_c2, 0);
   16944                 :           0 :                                         _q50 = do_valueize (valueize, _q50);
   16945                 :           0 :                                         tree _q51 = gimple_call_arg (_c2, 1);
   16946                 :           0 :                                         _q51 = do_valueize (valueize, _q51);
   16947                 :           0 :                                         tree _q52 = gimple_call_arg (_c2, 2);
   16948                 :           0 :                                         _q52 = do_valueize (valueize, _q52);
   16949                 :           0 :                                         tree _q53 = gimple_call_arg (_c2, 3);
   16950                 :           0 :                                         _q53 = do_valueize (valueize, _q53);
   16951                 :           0 :                                         tree _q54 = gimple_call_arg (_c2, 4);
   16952                 :           0 :                                         _q54 = do_valueize (valueize, _q54);
   16953                 :           0 :                                         if (tree_swap_operands_p (_q50, _q51))
   16954                 :           0 :                                           std::swap (_q50, _q51);
   16955                 :           0 :                                         {
   16956                 :           0 :                                           tree captures[8] ATTRIBUTE_UNUSED = { _p0, _p1, _q40, _q50, _q51, _q52, _q53, _q54 };
   16957                 :           0 :                                           if (gimple_simplify_644 (res_op, seq, valueize, type, captures, CFN_FNMS, CFN_COND_LEN_FNMS))
   16958                 :           0 :                                             return true;
   16959                 :             :                                         }
   16960                 :             :                                       }
   16961                 :             :                                     break;
   16962                 :             :                                   default:;
   16963                 :             :                                   }
   16964                 :             :                             }
   16965                 :             :                           break;
   16966                 :             :                         default:;
   16967                 :             :                         }
   16968                 :             :                     }
   16969                 :             :                   break;
   16970                 :             :                 }
   16971                 :             :               default:;
   16972                 :             :               }
   16973                 :           0 :           else if (gcall *_c1 = dyn_cast <gcall *> (_d1))
   16974                 :           0 :             switch (gimple_call_combined_fn (_c1))
   16975                 :             :               {
   16976                 :           0 :               case CFN_FMA:
   16977                 :           0 :                 if (gimple_call_num_args (_c1) == 5)
   16978                 :             :                   {
   16979                 :           0 :                     tree _q40 = gimple_call_arg (_c1, 0);
   16980                 :           0 :                     _q40 = do_valueize (valueize, _q40);
   16981                 :           0 :                     tree _q41 = gimple_call_arg (_c1, 1);
   16982                 :           0 :                     _q41 = do_valueize (valueize, _q41);
   16983                 :           0 :                     tree _q42 = gimple_call_arg (_c1, 2);
   16984                 :           0 :                     _q42 = do_valueize (valueize, _q42);
   16985                 :           0 :                     tree _q43 = gimple_call_arg (_c1, 3);
   16986                 :           0 :                     _q43 = do_valueize (valueize, _q43);
   16987                 :           0 :                     tree _q44 = gimple_call_arg (_c1, 4);
   16988                 :           0 :                     _q44 = do_valueize (valueize, _q44);
   16989                 :           0 :                     if (tree_swap_operands_p (_q40, _q41))
   16990                 :           0 :                       std::swap (_q40, _q41);
   16991                 :           0 :                     {
   16992                 :           0 :                       tree captures[8] ATTRIBUTE_UNUSED = { _p0, _p1, _p2, _q40, _q41, _q42, _q43, _q44 };
   16993                 :           0 :                       if (gimple_simplify_644 (res_op, seq, valueize, type, captures, CFN_FMA, CFN_COND_LEN_FMA))
   16994                 :           0 :                         return true;
   16995                 :             :                     }
   16996                 :             :                   }
   16997                 :             :                 break;
   16998                 :           0 :               case CFN_FMS:
   16999                 :           0 :                 if (gimple_call_num_args (_c1) == 5)
   17000                 :             :                   {
   17001                 :           0 :                     tree _q40 = gimple_call_arg (_c1, 0);
   17002                 :           0 :                     _q40 = do_valueize (valueize, _q40);
   17003                 :           0 :                     tree _q41 = gimple_call_arg (_c1, 1);
   17004                 :           0 :                     _q41 = do_valueize (valueize, _q41);
   17005                 :           0 :                     tree _q42 = gimple_call_arg (_c1, 2);
   17006                 :           0 :                     _q42 = do_valueize (valueize, _q42);
   17007                 :           0 :                     tree _q43 = gimple_call_arg (_c1, 3);
   17008                 :           0 :                     _q43 = do_valueize (valueize, _q43);
   17009                 :           0 :                     tree _q44 = gimple_call_arg (_c1, 4);
   17010                 :           0 :                     _q44 = do_valueize (valueize, _q44);
   17011                 :           0 :                     if (tree_swap_operands_p (_q40, _q41))
   17012                 :           0 :                       std::swap (_q40, _q41);
   17013                 :           0 :                     {
   17014                 :           0 :                       tree captures[8] ATTRIBUTE_UNUSED = { _p0, _p1, _p2, _q40, _q41, _q42, _q43, _q44 };
   17015                 :           0 :                       if (gimple_simplify_644 (res_op, seq, valueize, type, captures, CFN_FMS, CFN_COND_LEN_FMS))
   17016                 :           0 :                         return true;
   17017                 :             :                     }
   17018                 :             :                   }
   17019                 :             :                 break;
   17020                 :           0 :               case CFN_FNMA:
   17021                 :           0 :                 if (gimple_call_num_args (_c1) == 5)
   17022                 :             :                   {
   17023                 :           0 :                     tree _q40 = gimple_call_arg (_c1, 0);
   17024                 :           0 :                     _q40 = do_valueize (valueize, _q40);
   17025                 :           0 :                     tree _q41 = gimple_call_arg (_c1, 1);
   17026                 :           0 :                     _q41 = do_valueize (valueize, _q41);
   17027                 :           0 :                     tree _q42 = gimple_call_arg (_c1, 2);
   17028                 :           0 :                     _q42 = do_valueize (valueize, _q42);
   17029                 :           0 :                     tree _q43 = gimple_call_arg (_c1, 3);
   17030                 :           0 :                     _q43 = do_valueize (valueize, _q43);
   17031                 :           0 :                     tree _q44 = gimple_call_arg (_c1, 4);
   17032                 :           0 :                     _q44 = do_valueize (valueize, _q44);
   17033                 :           0 :                     if (tree_swap_operands_p (_q40, _q41))
   17034                 :           0 :                       std::swap (_q40, _q41);
   17035                 :           0 :                     {
   17036                 :           0 :                       tree captures[8] ATTRIBUTE_UNUSED = { _p0, _p1, _p2, _q40, _q41, _q42, _q43, _q44 };
   17037                 :           0 :                       if (gimple_simplify_644 (res_op, seq, valueize, type, captures, CFN_FNMA, CFN_COND_LEN_FNMA))
   17038                 :           0 :                         return true;
   17039                 :             :                     }
   17040                 :             :                   }
   17041                 :             :                 break;
   17042                 :           0 :               case CFN_FNMS:
   17043                 :           0 :                 if (gimple_call_num_args (_c1) == 5)
   17044                 :             :                   {
   17045                 :           0 :                     tree _q40 = gimple_call_arg (_c1, 0);
   17046                 :           0 :                     _q40 = do_valueize (valueize, _q40);
   17047                 :           0 :                     tree _q41 = gimple_call_arg (_c1, 1);
   17048                 :           0 :                     _q41 = do_valueize (valueize, _q41);
   17049                 :           0 :                     tree _q42 = gimple_call_arg (_c1, 2);
   17050                 :           0 :                     _q42 = do_valueize (valueize, _q42);
   17051                 :           0 :                     tree _q43 = gimple_call_arg (_c1, 3);
   17052                 :           0 :                     _q43 = do_valueize (valueize, _q43);
   17053                 :           0 :                     tree _q44 = gimple_call_arg (_c1, 4);
   17054                 :           0 :                     _q44 = do_valueize (valueize, _q44);
   17055                 :           0 :                     if (tree_swap_operands_p (_q40, _q41))
   17056                 :           0 :                       std::swap (_q40, _q41);
   17057                 :           0 :                     {
   17058                 :           0 :                       tree captures[8] ATTRIBUTE_UNUSED = { _p0, _p1, _p2, _q40, _q41, _q42, _q43, _q44 };
   17059                 :           0 :                       if (gimple_simplify_644 (res_op, seq, valueize, type, captures, CFN_FNMS, CFN_COND_LEN_FNMS))
   17060                 :           0 :                         return true;
   17061                 :             :                     }
   17062                 :             :                   }
   17063                 :             :                 break;
   17064                 :             :               default:;
   17065                 :             :               }
   17066                 :             :         }
   17067                 :             :       break;
   17068                 :             :     default:;
   17069                 :             :     }
   17070                 :             :   return false;
   17071                 :             : }
   17072                 :             : 
   17073                 :             : bool
   17074                 :        5705 : gimple_simplify_CFN_COND_ADD (gimple_match_op *res_op, gimple_seq *seq,
   17075                 :             :                  tree (*valueize)(tree) ATTRIBUTE_UNUSED,
   17076                 :             :                  code_helper ARG_UNUSED (code), tree ARG_UNUSED (type), tree _p0, tree _p1, tree _p2, tree _p3)
   17077                 :             : {
   17078                 :        5705 :   const bool debug_dump = dump_file && (dump_flags & TDF_FOLDING);
   17079                 :        5705 :   switch (TREE_CODE (_p2))
   17080                 :             :     {
   17081                 :         768 :     case SSA_NAME:
   17082                 :         768 :       if (gimple *_d1 = get_def (valueize, _p2))
   17083                 :             :         {
   17084                 :         366 :           if (gassign *_a1 = dyn_cast <gassign *> (_d1))
   17085                 :         546 :             switch (gimple_assign_rhs_code (_a1))
   17086                 :             :               {
   17087                 :           0 :               case VEC_COND_EXPR:
   17088                 :           0 :                 {
   17089                 :           0 :                   tree _q40 = gimple_assign_rhs1 (_a1);
   17090                 :           0 :                   _q40 = do_valueize (valueize, _q40);
   17091                 :           0 :                   tree _q41 = gimple_assign_rhs2 (_a1);
   17092                 :           0 :                   _q41 = do_valueize (valueize, _q41);
   17093                 :           0 :                   tree _q42 = gimple_assign_rhs3 (_a1);
   17094                 :           0 :                   _q42 = do_valueize (valueize, _q42);
   17095                 :           0 :                   if (zerop (_q42))
   17096                 :             :                     {
   17097                 :           0 :                       if ((_p3 == _p1 && ! TREE_SIDE_EFFECTS (_p3)) || (operand_equal_p (_p3, _p1, 0) && types_match (_p3, _p1)))
   17098                 :             :                         {
   17099                 :           0 :                           {
   17100                 :           0 :                             tree captures[5] ATTRIBUTE_UNUSED = { _p0, _p1, _q40, _q41, _q42 };
   17101                 :           0 :                             if (ANY_INTEGRAL_TYPE_P (type)
   17102                 :           0 :  || (FLOAT_TYPE_P (type)
   17103                 :           0 :  && fold_real_zero_addition_p (type, NULL_TREE, captures[4], 0))
   17104                 :             : )
   17105                 :             :                               {
   17106                 :           0 :                                 gimple_seq *lseq = seq;
   17107                 :           0 :                                 if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail2391;
   17108                 :           0 :                                 {
   17109                 :           0 :                                   res_op->set_op (CFN_COND_ADD, type, 4);
   17110                 :           0 :                                   {
   17111                 :           0 :                                     tree _o1[2], _r1;
   17112                 :           0 :                                     _o1[0] = captures[0];
   17113                 :           0 :                                     _o1[1] = captures[2];
   17114                 :           0 :                                     gimple_match_op tem_op (res_op->cond.any_else (), BIT_AND_EXPR, TREE_TYPE (_o1[0]), _o1[0], _o1[1]);
   17115                 :           0 :                                     tem_op.resimplify (lseq, valueize);
   17116                 :           0 :                                     _r1 = maybe_push_res_to_seq (&tem_op, lseq);
   17117                 :           0 :                                     if (!_r1) goto next_after_fail2391;
   17118                 :           0 :                                     res_op->ops[0] = _r1;
   17119                 :             :                                   }
   17120                 :           0 :                                   res_op->ops[1] = captures[1];
   17121                 :           0 :                                   res_op->ops[2] = captures[3];
   17122                 :           0 :                                   res_op->ops[3] = captures[1];
   17123                 :           0 :                                   res_op->resimplify (lseq, valueize);
   17124                 :           0 :                                   if (UNLIKELY (debug_dump)) gimple_dump_logs ("match.pd", 1159, __FILE__, __LINE__, true);
   17125                 :           0 :                                   return true;
   17126                 :             :                                 }
   17127                 :           0 : next_after_fail2391:;
   17128                 :             :                               }
   17129                 :             :                           }
   17130                 :             :                         }
   17131                 :             :                     }
   17132                 :             :                   break;
   17133                 :             :                 }
   17134                 :             :               default:;
   17135                 :             :               }
   17136                 :             :         }
   17137                 :             :       break;
   17138                 :             :     default:;
   17139                 :             :     }
   17140                 :             :   return false;
   17141                 :             : }
   17142                 :             : 
   17143                 :             : bool
   17144                 :      244662 : gimple_simplify (gimple_match_op *res_op, gimple_seq *seq,
   17145                 :             :                  tree (*valueize)(tree) ATTRIBUTE_UNUSED,
   17146                 :             :                  code_helper code, const tree type, tree _p0, tree _p1, tree _p2, tree _p3)
   17147                 :             : {
   17148                 :      244662 :   switch (code.get_rep())
   17149                 :             :     {
   17150                 :        1059 :     case -CFN_COND_MUL:
   17151                 :        1059 :       return gimple_simplify_CFN_COND_MUL (res_op, seq, valueize, code, type, _p0, _p1, _p2, _p3);
   17152                 :        5705 :     case -CFN_COND_ADD:
   17153                 :        5705 :       return gimple_simplify_CFN_COND_ADD (res_op, seq, valueize, code, type, _p0, _p1, _p2, _p3);
   17154                 :             :     default:;
   17155                 :             :     }
   17156                 :             :   return false;
   17157                 :             : }
   17158                 :             : 
   17159                 :             : bool
   17160                 :           0 : gimple_simplify_CFN_VCOND_MASK_LEN (gimple_match_op *res_op, gimple_seq *seq,
   17161                 :             :                  tree (*valueize)(tree) ATTRIBUTE_UNUSED,
   17162                 :             :                  code_helper ARG_UNUSED (code), tree ARG_UNUSED (type), tree _p0, tree _p1, tree _p2, tree _p3, tree _p4)
   17163                 :             : {
   17164                 :           0 :   const bool debug_dump = dump_file && (dump_flags & TDF_FOLDING);
   17165                 :           0 :   switch (TREE_CODE (_p1))
   17166                 :             :     {
   17167                 :           0 :     case SSA_NAME:
   17168                 :           0 :       if (gimple *_d1 = get_def (valueize, _p1))
   17169                 :             :         {
   17170                 :           0 :           if (gassign *_a1 = dyn_cast <gassign *> (_d1))
   17171                 :           0 :             switch (gimple_assign_rhs_code (_a1))
   17172                 :             :               {
   17173                 :           0 :               case VIEW_CONVERT_EXPR:
   17174                 :           0 :                 {
   17175                 :           0 :                   tree _q30 = TREE_OPERAND (gimple_assign_rhs1 (_a1), 0);
   17176                 :           0 :                   if ((TREE_CODE (_q30) == SSA_NAME
   17177                 :           0 :                        || is_gimple_min_invariant (_q30)))
   17178                 :             :                     {
   17179                 :           0 :                       _q30 = do_valueize (valueize, _q30);
   17180                 :           0 :                       switch (TREE_CODE (_q30))
   17181                 :             :                         {
   17182                 :           0 :                         case SSA_NAME:
   17183                 :           0 :                           if (gimple *_d2 = get_def (valueize, _q30))
   17184                 :             :                             {
   17185                 :           0 :                               if (gassign *_a2 = dyn_cast <gassign *> (_d2))
   17186                 :           0 :                                 switch (gimple_assign_rhs_code (_a2))
   17187                 :             :                                   {
   17188                 :           0 :                                   case NEGATE_EXPR:
   17189                 :           0 :                                     {
   17190                 :           0 :                                       tree _q40 = gimple_assign_rhs1 (_a2);
   17191                 :           0 :                                       _q40 = do_valueize (valueize, _q40);
   17192                 :           0 :                                       {
   17193                 :           0 :                                         tree captures[6] ATTRIBUTE_UNUSED = { _p0, _q30, _q40, _p2, _p3, _p4 };
   17194                 :           0 :                                         {
   17195                 :           0 :  tree op_type = TREE_TYPE (captures[1]);
   17196                 :           0 :                                             if (vectorized_internal_fn_supported_p (as_internal_fn (CFN_COND_LEN_NEG), op_type)
   17197                 :           0 :  && is_truth_type_for (op_type, TREE_TYPE (captures[0]))
   17198                 :             : )
   17199                 :             :                                               {
   17200                 :           0 :                                                 gimple_seq *lseq = seq;
   17201                 :           0 :                                                 if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail2392;
   17202                 :           0 :                                                 {
   17203                 :           0 :                                                   res_op->set_op (CFN_COND_LEN_NEG, type, 5);
   17204                 :           0 :                                                   res_op->ops[0] = captures[0];
   17205                 :           0 :                                                   {
   17206                 :           0 :                                                     tree _o1[1], _r1;
   17207                 :           0 :                                                     _o1[0] = captures[2];
   17208                 :           0 :                                                     gimple_match_op tem_op (res_op->cond.any_else (), VIEW_CONVERT_EXPR, type, _o1[0]);
   17209                 :           0 :                                                     tem_op.resimplify (lseq, valueize);
   17210                 :           0 :                                                     _r1 = maybe_push_res_to_seq (&tem_op, lseq);
   17211                 :           0 :                                                     if (!_r1) goto next_after_fail2392;
   17212                 :           0 :                                                     res_op->ops[1] = _r1;
   17213                 :             :                                                   }
   17214                 :           0 :                                                   res_op->ops[2] = captures[3];
   17215                 :           0 :                                                   res_op->ops[3] = captures[4];
   17216                 :           0 :                                                   res_op->ops[4] = captures[5];
   17217                 :           0 :                                                   res_op->resimplify (lseq, valueize);
   17218                 :           0 :                                                   if (UNLIKELY (debug_dump)) gimple_dump_logs ("match.pd", 1160, __FILE__, __LINE__, true);
   17219                 :           0 :                                                   return true;
   17220                 :             :                                                 }
   17221                 :           0 : next_after_fail2392:;
   17222                 :             :                                               }
   17223                 :             :                                         }
   17224                 :             :                                       }
   17225                 :           0 :                                       break;
   17226                 :             :                                     }
   17227                 :           0 :                                   case BIT_NOT_EXPR:
   17228                 :           0 :                                     {
   17229                 :           0 :                                       tree _q40 = gimple_assign_rhs1 (_a2);
   17230                 :           0 :                                       _q40 = do_valueize (valueize, _q40);
   17231                 :           0 :                                       {
   17232                 :           0 :                                         tree captures[6] ATTRIBUTE_UNUSED = { _p0, _q30, _q40, _p2, _p3, _p4 };
   17233                 :           0 :                                         {
   17234                 :           0 :  tree op_type = TREE_TYPE (captures[1]);
   17235                 :           0 :                                             if (vectorized_internal_fn_supported_p (as_internal_fn (CFN_COND_LEN_NOT), op_type)
   17236                 :           0 :  && is_truth_type_for (op_type, TREE_TYPE (captures[0]))
   17237                 :             : )
   17238                 :             :                                               {
   17239                 :           0 :                                                 gimple_seq *lseq = seq;
   17240                 :           0 :                                                 if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail2393;
   17241                 :           0 :                                                 {
   17242                 :           0 :                                                   res_op->set_op (CFN_COND_LEN_NOT, type, 5);
   17243                 :           0 :                                                   res_op->ops[0] = captures[0];
   17244                 :           0 :                                                   {
   17245                 :           0 :                                                     tree _o1[1], _r1;
   17246                 :           0 :                                                     _o1[0] = captures[2];
   17247                 :           0 :                                                     gimple_match_op tem_op (res_op->cond.any_else (), VIEW_CONVERT_EXPR, type, _o1[0]);
   17248                 :           0 :                                                     tem_op.resimplify (lseq, valueize);
   17249                 :           0 :                                                     _r1 = maybe_push_res_to_seq (&tem_op, lseq);
   17250                 :           0 :                                                     if (!_r1) goto next_after_fail2393;
   17251                 :           0 :                                                     res_op->ops[1] = _r1;
   17252                 :             :                                                   }
   17253                 :           0 :                                                   res_op->ops[2] = captures[3];
   17254                 :           0 :                                                   res_op->ops[3] = captures[4];
   17255                 :           0 :                                                   res_op->ops[4] = captures[5];
   17256                 :           0 :                                                   res_op->resimplify (lseq, valueize);
   17257                 :           0 :                                                   if (UNLIKELY (debug_dump)) gimple_dump_logs ("match.pd", 1160, __FILE__, __LINE__, true);
   17258                 :           0 :                                                   return true;
   17259                 :             :                                                 }
   17260                 :           0 : next_after_fail2393:;
   17261                 :             :                                               }
   17262                 :             :                                         }
   17263                 :             :                                       }
   17264                 :           0 :                                       break;
   17265                 :             :                                     }
   17266                 :             :                                   default:;
   17267                 :             :                                   }
   17268                 :             :                             }
   17269                 :             :                           break;
   17270                 :             :                         default:;
   17271                 :             :                         }
   17272                 :             :                     }
   17273                 :             :                   break;
   17274                 :             :                 }
   17275                 :           0 :               case NEGATE_EXPR:
   17276                 :           0 :                 {
   17277                 :           0 :                   tree _q30 = gimple_assign_rhs1 (_a1);
   17278                 :           0 :                   _q30 = do_valueize (valueize, _q30);
   17279                 :           0 :                   {
   17280                 :           0 :                     tree captures[6] ATTRIBUTE_UNUSED = { _p0, _p1, _q30, _p2, _p3, _p4 };
   17281                 :           0 :                     {
   17282                 :           0 :  tree op_type = TREE_TYPE (captures[1]);
   17283                 :           0 :                         if (vectorized_internal_fn_supported_p (as_internal_fn (CFN_COND_LEN_NEG), op_type)
   17284                 :           0 :  && is_truth_type_for (op_type, TREE_TYPE (captures[0]))
   17285                 :             : )
   17286                 :             :                           {
   17287                 :           0 :                             gimple_seq *lseq = seq;
   17288                 :           0 :                             if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail2394;
   17289                 :           0 :                             {
   17290                 :           0 :                               res_op->set_op (CFN_COND_LEN_NEG, type, 5);
   17291                 :           0 :                               res_op->ops[0] = captures[0];
   17292                 :           0 :                               {
   17293                 :           0 :                                 tree _o1[1], _r1;
   17294                 :           0 :                                 _o1[0] = captures[2];
   17295                 :           0 :                                 gimple_match_op tem_op (res_op->cond.any_else (), VIEW_CONVERT_EXPR, type, _o1[0]);
   17296                 :           0 :                                 tem_op.resimplify (lseq, valueize);
   17297                 :           0 :                                 _r1 = maybe_push_res_to_seq (&tem_op, lseq);
   17298                 :           0 :                                 if (!_r1) goto next_after_fail2394;
   17299                 :           0 :                                 res_op->ops[1] = _r1;
   17300                 :             :                               }
   17301                 :           0 :                               res_op->ops[2] = captures[3];
   17302                 :           0 :                               res_op->ops[3] = captures[4];
   17303                 :           0 :                               res_op->ops[4] = captures[5];
   17304                 :           0 :                               res_op->resimplify (lseq, valueize);
   17305                 :           0 :                               if (UNLIKELY (debug_dump)) gimple_dump_logs ("match.pd", 1160, __FILE__, __LINE__, true);
   17306                 :           0 :                               return true;
   17307                 :             :                             }
   17308                 :           0 : next_after_fail2394:;
   17309                 :             :                           }
   17310                 :             :                     }
   17311                 :             :                   }
   17312                 :           0 :                   break;
   17313                 :             :                 }
   17314                 :           0 :               case BIT_NOT_EXPR:
   17315                 :           0 :                 {
   17316                 :           0 :                   tree _q30 = gimple_assign_rhs1 (_a1);
   17317                 :           0 :                   _q30 = do_valueize (valueize, _q30);
   17318                 :           0 :                   {
   17319                 :           0 :                     tree captures[6] ATTRIBUTE_UNUSED = { _p0, _p1, _q30, _p2, _p3, _p4 };
   17320                 :           0 :                     {
   17321                 :           0 :  tree op_type = TREE_TYPE (captures[1]);
   17322                 :           0 :                         if (vectorized_internal_fn_supported_p (as_internal_fn (CFN_COND_LEN_NOT), op_type)
   17323                 :           0 :  && is_truth_type_for (op_type, TREE_TYPE (captures[0]))
   17324                 :             : )
   17325                 :             :                           {
   17326                 :           0 :                             gimple_seq *lseq = seq;
   17327                 :           0 :                             if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail2395;
   17328                 :           0 :                             {
   17329                 :           0 :                               res_op->set_op (CFN_COND_LEN_NOT, type, 5);
   17330                 :           0 :                               res_op->ops[0] = captures[0];
   17331                 :           0 :                               {
   17332                 :           0 :                                 tree _o1[1], _r1;
   17333                 :           0 :                                 _o1[0] = captures[2];
   17334                 :           0 :                                 gimple_match_op tem_op (res_op->cond.any_else (), VIEW_CONVERT_EXPR, type, _o1[0]);
   17335                 :           0 :                                 tem_op.resimplify (lseq, valueize);
   17336                 :           0 :                                 _r1 = maybe_push_res_to_seq (&tem_op, lseq);
   17337                 :           0 :                                 if (!_r1) goto next_after_fail2395;
   17338                 :           0 :                                 res_op->ops[1] = _r1;
   17339                 :             :                               }
   17340                 :           0 :                               res_op->ops[2] = captures[3];
   17341                 :           0 :                               res_op->ops[3] = captures[4];
   17342                 :           0 :                               res_op->ops[4] = captures[5];
   17343                 :           0 :                               res_op->resimplify (lseq, valueize);
   17344                 :           0 :                               if (UNLIKELY (debug_dump)) gimple_dump_logs ("match.pd", 1160, __FILE__, __LINE__, true);
   17345                 :           0 :                               return true;
   17346                 :             :                             }
   17347                 :           0 : next_after_fail2395:;
   17348                 :             :                           }
   17349                 :             :                     }
   17350                 :             :                   }
   17351                 :           0 :                   break;
   17352                 :             :                 }
   17353                 :             :               default:;
   17354                 :             :               }
   17355                 :             :         }
   17356                 :             :       break;
   17357                 :           0 :     default:;
   17358                 :             :     }
   17359                 :           0 :   switch (TREE_CODE (_p2))
   17360                 :             :     {
   17361                 :           0 :     case SSA_NAME:
   17362                 :           0 :       if (gimple *_d1 = get_def (valueize, _p2))
   17363                 :             :         {
   17364                 :           0 :           if (gassign *_a1 = dyn_cast <gassign *> (_d1))
   17365                 :           0 :             switch (gimple_assign_rhs_code (_a1))
   17366                 :             :               {
   17367                 :           0 :               case VIEW_CONVERT_EXPR:
   17368                 :           0 :                 {
   17369                 :           0 :                   tree _q40 = TREE_OPERAND (gimple_assign_rhs1 (_a1), 0);
   17370                 :           0 :                   if ((TREE_CODE (_q40) == SSA_NAME
   17371                 :           0 :                        || is_gimple_min_invariant (_q40)))
   17372                 :             :                     {
   17373                 :           0 :                       _q40 = do_valueize (valueize, _q40);
   17374                 :           0 :                       switch (TREE_CODE (_q40))
   17375                 :             :                         {
   17376                 :           0 :                         case SSA_NAME:
   17377                 :           0 :                           if (gimple *_d2 = get_def (valueize, _q40))
   17378                 :             :                             {
   17379                 :           0 :                               if (gassign *_a2 = dyn_cast <gassign *> (_d2))
   17380                 :           0 :                                 switch (gimple_assign_rhs_code (_a2))
   17381                 :             :                                   {
   17382                 :           0 :                                   case NEGATE_EXPR:
   17383                 :           0 :                                     {
   17384                 :           0 :                                       tree _q50 = gimple_assign_rhs1 (_a2);
   17385                 :           0 :                                       _q50 = do_valueize (valueize, _q50);
   17386                 :           0 :                                       {
   17387                 :           0 :                                         tree captures[6] ATTRIBUTE_UNUSED = { _p0, _p1, _q40, _q50, _p3, _p4 };
   17388                 :           0 :                                         {
   17389                 :           0 :  tree op_type = TREE_TYPE (captures[2]);
   17390                 :           0 :                                             if (vectorized_internal_fn_supported_p (as_internal_fn (CFN_COND_LEN_NEG), op_type)
   17391                 :           0 :  && is_truth_type_for (op_type, TREE_TYPE (captures[0]))
   17392                 :             : )
   17393                 :             :                                               {
   17394                 :           0 :                                                 gimple_seq *lseq = seq;
   17395                 :           0 :                                                 if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail2396;
   17396                 :           0 :                                                 {
   17397                 :           0 :                                                   res_op->set_op (CFN_COND_LEN_NEG, type, 5);
   17398                 :           0 :                                                   {
   17399                 :           0 :                                                     tree _o1[1], _r1;
   17400                 :           0 :                                                     _o1[0] = captures[0];
   17401                 :           0 :                                                     gimple_match_op tem_op (res_op->cond.any_else (), BIT_NOT_EXPR, TREE_TYPE (_o1[0]), _o1[0]);
   17402                 :           0 :                                                     tem_op.resimplify (lseq, valueize);
   17403                 :           0 :                                                     _r1 = maybe_push_res_to_seq (&tem_op, lseq);
   17404                 :           0 :                                                     if (!_r1) goto next_after_fail2396;
   17405                 :           0 :                                                     res_op->ops[0] = _r1;
   17406                 :             :                                                   }
   17407                 :           0 :                                                   {
   17408                 :           0 :                                                     tree _o1[1], _r1;
   17409                 :           0 :                                                     _o1[0] = captures[3];
   17410                 :           0 :                                                     gimple_match_op tem_op (res_op->cond.any_else (), VIEW_CONVERT_EXPR, type, _o1[0]);
   17411                 :           0 :                                                     tem_op.resimplify (lseq, valueize);
   17412                 :           0 :                                                     _r1 = maybe_push_res_to_seq (&tem_op, lseq);
   17413                 :           0 :                                                     if (!_r1) goto next_after_fail2396;
   17414                 :           0 :                                                     res_op->ops[1] = _r1;
   17415                 :             :                                                   }
   17416                 :           0 :                                                   res_op->ops[2] = captures[1];
   17417                 :           0 :                                                   res_op->ops[3] = captures[4];
   17418                 :           0 :                                                   res_op->ops[4] = captures[5];
   17419                 :           0 :                                                   res_op->resimplify (lseq, valueize);
   17420                 :           0 :                                                   if (UNLIKELY (debug_dump)) gimple_dump_logs ("match.pd", 1161, __FILE__, __LINE__, true);
   17421                 :           0 :                                                   return true;
   17422                 :             :                                                 }
   17423                 :           0 : next_after_fail2396:;
   17424                 :             :                                               }
   17425                 :             :                                         }
   17426                 :             :                                       }
   17427                 :           0 :                                       break;
   17428                 :             :                                     }
   17429                 :           0 :                                   case BIT_NOT_EXPR:
   17430                 :           0 :                                     {
   17431                 :           0 :                                       tree _q50 = gimple_assign_rhs1 (_a2);
   17432                 :           0 :                                       _q50 = do_valueize (valueize, _q50);
   17433                 :           0 :                                       {
   17434                 :           0 :                                         tree captures[6] ATTRIBUTE_UNUSED = { _p0, _p1, _q40, _q50, _p3, _p4 };
   17435                 :           0 :                                         {
   17436                 :           0 :  tree op_type = TREE_TYPE (captures[2]);
   17437                 :           0 :                                             if (vectorized_internal_fn_supported_p (as_internal_fn (CFN_COND_LEN_NOT), op_type)
   17438                 :           0 :  && is_truth_type_for (op_type, TREE_TYPE (captures[0]))
   17439                 :             : )
   17440                 :             :                                               {
   17441                 :           0 :                                                 gimple_seq *lseq = seq;
   17442                 :           0 :                                                 if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail2397;
   17443                 :           0 :                                                 {
   17444                 :           0 :                                                   res_op->set_op (CFN_COND_LEN_NOT, type, 5);
   17445                 :           0 :                                                   {
   17446                 :           0 :                                                     tree _o1[1], _r1;
   17447                 :           0 :                                                     _o1[0] = captures[0];
   17448                 :           0 :                                                     gimple_match_op tem_op (res_op->cond.any_else (), BIT_NOT_EXPR, TREE_TYPE (_o1[0]), _o1[0]);
   17449                 :           0 :                                                     tem_op.resimplify (lseq, valueize);
   17450                 :           0 :                                                     _r1 = maybe_push_res_to_seq (&tem_op, lseq);
   17451                 :           0 :                                                     if (!_r1) goto next_after_fail2397;
   17452                 :           0 :                                                     res_op->ops[0] = _r1;
   17453                 :             :                                                   }
   17454                 :           0 :                                                   {
   17455                 :           0 :                                                     tree _o1[1], _r1;
   17456                 :           0 :                                                     _o1[0] = captures[3];
   17457                 :           0 :                                                     gimple_match_op tem_op (res_op->cond.any_else (), VIEW_CONVERT_EXPR, type, _o1[0]);
   17458                 :           0 :                                                     tem_op.resimplify (lseq, valueize);
   17459                 :           0 :                                                     _r1 = maybe_push_res_to_seq (&tem_op, lseq);
   17460                 :           0 :                                                     if (!_r1) goto next_after_fail2397;
   17461                 :           0 :                                                     res_op->ops[1] = _r1;
   17462                 :             :                                                   }
   17463                 :           0 :                                                   res_op->ops[2] = captures[1];
   17464                 :           0 :                                                   res_op->ops[3] = captures[4];
   17465                 :           0 :                                                   res_op->ops[4] = captures[5];
   17466                 :           0 :                                                   res_op->resimplify (lseq, valueize);
   17467                 :           0 :                                                   if (UNLIKELY (debug_dump)) gimple_dump_logs ("match.pd", 1161, __FILE__, __LINE__, true);
   17468                 :           0 :                                                   return true;
   17469                 :             :                                                 }
   17470                 :           0 : next_after_fail2397:;
   17471                 :             :                                               }
   17472                 :             :                                         }
   17473                 :             :                                       }
   17474                 :           0 :                                       break;
   17475                 :             :                                     }
   17476                 :             :                                   default:;
   17477                 :             :                                   }
   17478                 :             :                             }
   17479                 :             :                           break;
   17480                 :             :                         default:;
   17481                 :             :                         }
   17482                 :             :                     }
   17483                 :             :                   break;
   17484                 :             :                 }
   17485                 :           0 :               case NEGATE_EXPR:
   17486                 :           0 :                 {
   17487                 :           0 :                   tree _q40 = gimple_assign_rhs1 (_a1);
   17488                 :           0 :                   _q40 = do_valueize (valueize, _q40);
   17489                 :           0 :                   {
   17490                 :           0 :                     tree captures[6] ATTRIBUTE_UNUSED = { _p0, _p1, _p2, _q40, _p3, _p4 };
   17491                 :           0 :                     {
   17492                 :           0 :  tree op_type = TREE_TYPE (captures[2]);
   17493                 :           0 :                         if (vectorized_internal_fn_supported_p (as_internal_fn (CFN_COND_LEN_NEG), op_type)
   17494                 :           0 :  && is_truth_type_for (op_type, TREE_TYPE (captures[0]))
   17495                 :             : )
   17496                 :             :                           {
   17497                 :           0 :                             gimple_seq *lseq = seq;
   17498                 :           0 :                             if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail2398;
   17499                 :           0 :                             {
   17500                 :           0 :                               res_op->set_op (CFN_COND_LEN_NEG, type, 5);
   17501                 :           0 :                               {
   17502                 :           0 :                                 tree _o1[1], _r1;
   17503                 :           0 :                                 _o1[0] = captures[0];
   17504                 :           0 :                                 gimple_match_op tem_op (res_op->cond.any_else (), BIT_NOT_EXPR, TREE_TYPE (_o1[0]), _o1[0]);
   17505                 :           0 :                                 tem_op.resimplify (lseq, valueize);
   17506                 :           0 :                                 _r1 = maybe_push_res_to_seq (&tem_op, lseq);
   17507                 :           0 :                                 if (!_r1) goto next_after_fail2398;
   17508                 :           0 :                                 res_op->ops[0] = _r1;
   17509                 :             :                               }
   17510                 :           0 :                               {
   17511                 :           0 :                                 tree _o1[1], _r1;
   17512                 :           0 :                                 _o1[0] = captures[3];
   17513                 :           0 :                                 gimple_match_op tem_op (res_op->cond.any_else (), VIEW_CONVERT_EXPR, type, _o1[0]);
   17514                 :           0 :                                 tem_op.resimplify (lseq, valueize);
   17515                 :           0 :                                 _r1 = maybe_push_res_to_seq (&tem_op, lseq);
   17516                 :           0 :                                 if (!_r1) goto next_after_fail2398;
   17517                 :           0 :                                 res_op->ops[1] = _r1;
   17518                 :             :                               }
   17519                 :           0 :                               res_op->ops[2] = captures[1];
   17520                 :           0 :                               res_op->ops[3] = captures[4];
   17521                 :           0 :                               res_op->ops[4] = captures[5];
   17522                 :           0 :                               res_op->resimplify (lseq, valueize);
   17523                 :           0 :                               if (UNLIKELY (debug_dump)) gimple_dump_logs ("match.pd", 1161, __FILE__, __LINE__, true);
   17524                 :           0 :                               return true;
   17525                 :             :                             }
   17526                 :           0 : next_after_fail2398:;
   17527                 :             :                           }
   17528                 :             :                     }
   17529                 :             :                   }
   17530                 :           0 :                   break;
   17531                 :             :                 }
   17532                 :           0 :               case BIT_NOT_EXPR:
   17533                 :           0 :                 {
   17534                 :           0 :                   tree _q40 = gimple_assign_rhs1 (_a1);
   17535                 :           0 :                   _q40 = do_valueize (valueize, _q40);
   17536                 :           0 :                   {
   17537                 :           0 :                     tree captures[6] ATTRIBUTE_UNUSED = { _p0, _p1, _p2, _q40, _p3, _p4 };
   17538                 :           0 :                     {
   17539                 :           0 :  tree op_type = TREE_TYPE (captures[2]);
   17540                 :           0 :                         if (vectorized_internal_fn_supported_p (as_internal_fn (CFN_COND_LEN_NOT), op_type)
   17541                 :           0 :  && is_truth_type_for (op_type, TREE_TYPE (captures[0]))
   17542                 :             : )
   17543                 :             :                           {
   17544                 :           0 :                             gimple_seq *lseq = seq;
   17545                 :           0 :                             if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail2399;
   17546                 :           0 :                             {
   17547                 :           0 :                               res_op->set_op (CFN_COND_LEN_NOT, type, 5);
   17548                 :           0 :                               {
   17549                 :           0 :                                 tree _o1[1], _r1;
   17550                 :           0 :                                 _o1[0] = captures[0];
   17551                 :           0 :                                 gimple_match_op tem_op (res_op->cond.any_else (), BIT_NOT_EXPR, TREE_TYPE (_o1[0]), _o1[0]);
   17552                 :           0 :                                 tem_op.resimplify (lseq, valueize);
   17553                 :           0 :                                 _r1 = maybe_push_res_to_seq (&tem_op, lseq);
   17554                 :           0 :                                 if (!_r1) goto next_after_fail2399;
   17555                 :           0 :                                 res_op->ops[0] = _r1;
   17556                 :             :                               }
   17557                 :           0 :                               {
   17558                 :           0 :                                 tree _o1[1], _r1;
   17559                 :           0 :                                 _o1[0] = captures[3];
   17560                 :           0 :                                 gimple_match_op tem_op (res_op->cond.any_else (), VIEW_CONVERT_EXPR, type, _o1[0]);
   17561                 :           0 :                                 tem_op.resimplify (lseq, valueize);
   17562                 :           0 :                                 _r1 = maybe_push_res_to_seq (&tem_op, lseq);
   17563                 :           0 :                                 if (!_r1) goto next_after_fail2399;
   17564                 :           0 :                                 res_op->ops[1] = _r1;
   17565                 :             :                               }
   17566                 :           0 :                               res_op->ops[2] = captures[1];
   17567                 :           0 :                               res_op->ops[3] = captures[4];
   17568                 :           0 :                               res_op->ops[4] = captures[5];
   17569                 :           0 :                               res_op->resimplify (lseq, valueize);
   17570                 :           0 :                               if (UNLIKELY (debug_dump)) gimple_dump_logs ("match.pd", 1161, __FILE__, __LINE__, true);
   17571                 :           0 :                               return true;
   17572                 :             :                             }
   17573                 :           0 : next_after_fail2399:;
   17574                 :             :                           }
   17575                 :             :                     }
   17576                 :             :                   }
   17577                 :           0 :                   break;
   17578                 :             :                 }
   17579                 :             :               default:;
   17580                 :             :               }
   17581                 :             :         }
   17582                 :             :       break;
   17583                 :           0 :     default:;
   17584                 :             :     }
   17585                 :           0 :   switch (TREE_CODE (_p1))
   17586                 :             :     {
   17587                 :           0 :     case SSA_NAME:
   17588                 :           0 :       if (gimple *_d1 = get_def (valueize, _p1))
   17589                 :             :         {
   17590                 :           0 :           if (gassign *_a1 = dyn_cast <gassign *> (_d1))
   17591                 :           0 :             switch (gimple_assign_rhs_code (_a1))
   17592                 :             :               {
   17593                 :           0 :               case VIEW_CONVERT_EXPR:
   17594                 :           0 :                 {
   17595                 :           0 :                   tree _q30 = TREE_OPERAND (gimple_assign_rhs1 (_a1), 0);
   17596                 :           0 :                   if ((TREE_CODE (_q30) == SSA_NAME
   17597                 :           0 :                        || is_gimple_min_invariant (_q30)))
   17598                 :             :                     {
   17599                 :           0 :                       _q30 = do_valueize (valueize, _q30);
   17600                 :           0 :                       switch (TREE_CODE (_q30))
   17601                 :             :                         {
   17602                 :           0 :                         case SSA_NAME:
   17603                 :           0 :                           if (gimple *_d2 = get_def (valueize, _q30))
   17604                 :             :                             {
   17605                 :           0 :                               if (gassign *_a2 = dyn_cast <gassign *> (_d2))
   17606                 :           0 :                                 switch (gimple_assign_rhs_code (_a2))
   17607                 :             :                                   {
   17608                 :           0 :                                   case PLUS_EXPR:
   17609                 :           0 :                                     {
   17610                 :           0 :                                       tree _q40 = gimple_assign_rhs1 (_a2);
   17611                 :           0 :                                       _q40 = do_valueize (valueize, _q40);
   17612                 :           0 :                                       tree _q41 = gimple_assign_rhs2 (_a2);
   17613                 :           0 :                                       _q41 = do_valueize (valueize, _q41);
   17614                 :           0 :                                       if (tree_swap_operands_p (_q40, _q41))
   17615                 :           0 :                                         std::swap (_q40, _q41);
   17616                 :           0 :                                       {
   17617                 :           0 :                                         tree captures[7] ATTRIBUTE_UNUSED = { _p0, _q30, _q40, _q41, _p2, _p3, _p4 };
   17618                 :           0 :                                         {
   17619                 :           0 :  tree op_type = TREE_TYPE (captures[1]);
   17620                 :           0 :                                             if (vectorized_internal_fn_supported_p (as_internal_fn (CFN_COND_LEN_ADD), op_type)
   17621                 :           0 :  && is_truth_type_for (op_type, TREE_TYPE (captures[0]))
   17622                 :           0 :  && single_use (captures[1])
   17623                 :             : )
   17624                 :             :                                               {
   17625                 :           0 :                                                 gimple_seq *lseq = seq;
   17626                 :           0 :                                                 if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail2400;
   17627                 :           0 :                                                 {
   17628                 :           0 :                                                   res_op->set_op (VIEW_CONVERT_EXPR, type, 1);
   17629                 :           0 :                                                   {
   17630                 :           0 :                                                     tree _o1[6], _r1;
   17631                 :           0 :                                                     _o1[0] = captures[0];
   17632                 :           0 :                                                     _o1[1] = captures[2];
   17633                 :           0 :                                                     _o1[2] = captures[3];
   17634                 :           0 :                                                     {
   17635                 :           0 :                                                       tree _o2[1], _r2;
   17636                 :           0 :                                                       _o2[0] = captures[4];
   17637                 :           0 :                                                       gimple_match_op tem_op (res_op->cond.any_else (), VIEW_CONVERT_EXPR, op_type, _o2[0]);
   17638                 :           0 :                                                       tem_op.resimplify (lseq, valueize);
   17639                 :           0 :                                                       _r2 = maybe_push_res_to_seq (&tem_op, lseq);
   17640                 :           0 :                                                       if (!_r2) goto next_after_fail2400;
   17641                 :           0 :                                                       _o1[3] = _r2;
   17642                 :             :                                                     }
   17643                 :           0 :                                                     _o1[4] = captures[5];
   17644                 :           0 :                                                     _o1[5] = captures[6];
   17645                 :           0 :                                                     gimple_match_op tem_op (res_op->cond.any_else (), CFN_COND_LEN_ADD, TREE_TYPE (_o1[1]), _o1[0], _o1[1], _o1[2], _o1[3], _o1[4], _o1[5]);
   17646                 :           0 :                                                     tem_op.resimplify (lseq, valueize);
   17647                 :           0 :                                                     _r1 = maybe_push_res_to_seq (&tem_op, lseq);
   17648                 :           0 :                                                     if (!_r1) goto next_after_fail2400;
   17649                 :           0 :                                                     res_op->ops[0] = _r1;
   17650                 :             :                                                   }
   17651                 :           0 :                                                   res_op->resimplify (lseq, valueize);
   17652                 :           0 :                                                   if (UNLIKELY (debug_dump)) gimple_dump_logs ("match.pd", 1162, __FILE__, __LINE__, true);
   17653                 :           0 :                                                   return true;
   17654                 :             :                                                 }
   17655                 :           0 : next_after_fail2400:;
   17656                 :             :                                               }
   17657                 :             :                                         }
   17658                 :             :                                       }
   17659                 :           0 :                                       break;
   17660                 :             :                                     }
   17661                 :           0 :                                   case MINUS_EXPR:
   17662                 :           0 :                                     {
   17663                 :           0 :                                       tree _q40 = gimple_assign_rhs1 (_a2);
   17664                 :           0 :                                       _q40 = do_valueize (valueize, _q40);
   17665                 :           0 :                                       tree _q41 = gimple_assign_rhs2 (_a2);
   17666                 :           0 :                                       _q41 = do_valueize (valueize, _q41);
   17667                 :           0 :                                       {
   17668                 :           0 :                                         tree captures[7] ATTRIBUTE_UNUSED = { _p0, _q30, _q40, _q41, _p2, _p3, _p4 };
   17669                 :           0 :                                         {
   17670                 :           0 :  tree op_type = TREE_TYPE (captures[1]);
   17671                 :           0 :                                             if (vectorized_internal_fn_supported_p (as_internal_fn (CFN_COND_LEN_SUB), op_type)
   17672                 :           0 :  && is_truth_type_for (op_type, TREE_TYPE (captures[0]))
   17673                 :           0 :  && single_use (captures[1])
   17674                 :             : )
   17675                 :             :                                               {
   17676                 :           0 :                                                 gimple_seq *lseq = seq;
   17677                 :           0 :                                                 if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail2401;
   17678                 :           0 :                                                 {
   17679                 :           0 :                                                   res_op->set_op (VIEW_CONVERT_EXPR, type, 1);
   17680                 :           0 :                                                   {
   17681                 :           0 :                                                     tree _o1[6], _r1;
   17682                 :           0 :                                                     _o1[0] = captures[0];
   17683                 :           0 :                                                     _o1[1] = captures[2];
   17684                 :           0 :                                                     _o1[2] = captures[3];
   17685                 :           0 :                                                     {
   17686                 :           0 :                                                       tree _o2[1], _r2;
   17687                 :           0 :                                                       _o2[0] = captures[4];
   17688                 :           0 :                                                       gimple_match_op tem_op (res_op->cond.any_else (), VIEW_CONVERT_EXPR, op_type, _o2[0]);
   17689                 :           0 :                                                       tem_op.resimplify (lseq, valueize);
   17690                 :           0 :                                                       _r2 = maybe_push_res_to_seq (&tem_op, lseq);
   17691                 :           0 :                                                       if (!_r2) goto next_after_fail2401;
   17692                 :           0 :                                                       _o1[3] = _r2;
   17693                 :             :                                                     }
   17694                 :           0 :                                                     _o1[4] = captures[5];
   17695                 :           0 :                                                     _o1[5] = captures[6];
   17696                 :           0 :                                                     gimple_match_op tem_op (res_op->cond.any_else (), CFN_COND_LEN_SUB, TREE_TYPE (_o1[1]), _o1[0], _o1[1], _o1[2], _o1[3], _o1[4], _o1[5]);
   17697                 :           0 :                                                     tem_op.resimplify (lseq, valueize);
   17698                 :           0 :                                                     _r1 = maybe_push_res_to_seq (&tem_op, lseq);
   17699                 :           0 :                                                     if (!_r1) goto next_after_fail2401;
   17700                 :           0 :                                                     res_op->ops[0] = _r1;
   17701                 :             :                                                   }
   17702                 :           0 :                                                   res_op->resimplify (lseq, valueize);
   17703                 :           0 :                                                   if (UNLIKELY (debug_dump)) gimple_dump_logs ("match.pd", 1162, __FILE__, __LINE__, true);
   17704                 :           0 :                                                   return true;
   17705                 :             :                                                 }
   17706                 :           0 : next_after_fail2401:;
   17707                 :             :                                               }
   17708                 :             :                                         }
   17709                 :             :                                       }
   17710                 :           0 :                                       break;
   17711                 :             :                                     }
   17712                 :           0 :                                   case MULT_EXPR:
   17713                 :           0 :                                     {
   17714                 :           0 :                                       tree _q40 = gimple_assign_rhs1 (_a2);
   17715                 :           0 :                                       _q40 = do_valueize (valueize, _q40);
   17716                 :           0 :                                       tree _q41 = gimple_assign_rhs2 (_a2);
   17717                 :           0 :                                       _q41 = do_valueize (valueize, _q41);
   17718                 :           0 :                                       if (tree_swap_operands_p (_q40, _q41))
   17719                 :           0 :                                         std::swap (_q40, _q41);
   17720                 :           0 :                                       {
   17721                 :           0 :                                         tree captures[7] ATTRIBUTE_UNUSED = { _p0, _q30, _q40, _q41, _p2, _p3, _p4 };
   17722                 :           0 :                                         {
   17723                 :           0 :  tree op_type = TREE_TYPE (captures[1]);
   17724                 :           0 :                                             if (vectorized_internal_fn_supported_p (as_internal_fn (CFN_COND_LEN_MUL), op_type)
   17725                 :           0 :  && is_truth_type_for (op_type, TREE_TYPE (captures[0]))
   17726                 :           0 :  && single_use (captures[1])
   17727                 :             : )
   17728                 :             :                                               {
   17729                 :           0 :                                                 gimple_seq *lseq = seq;
   17730                 :           0 :                                                 if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail2402;
   17731                 :           0 :                                                 {
   17732                 :           0 :                                                   res_op->set_op (VIEW_CONVERT_EXPR, type, 1);
   17733                 :           0 :                                                   {
   17734                 :           0 :                                                     tree _o1[6], _r1;
   17735                 :           0 :                                                     _o1[0] = captures[0];
   17736                 :           0 :                                                     _o1[1] = captures[2];
   17737                 :           0 :                                                     _o1[2] = captures[3];
   17738                 :           0 :                                                     {
   17739                 :           0 :                                                       tree _o2[1], _r2;
   17740                 :           0 :                                                       _o2[0] = captures[4];
   17741                 :           0 :                                                       gimple_match_op tem_op (res_op->cond.any_else (), VIEW_CONVERT_EXPR, op_type, _o2[0]);
   17742                 :           0 :                                                       tem_op.resimplify (lseq, valueize);
   17743                 :           0 :                                                       _r2 = maybe_push_res_to_seq (&tem_op, lseq);
   17744                 :           0 :                                                       if (!_r2) goto next_after_fail2402;
   17745                 :           0 :                                                       _o1[3] = _r2;
   17746                 :             :                                                     }
   17747                 :           0 :                                                     _o1[4] = captures[5];
   17748                 :           0 :                                                     _o1[5] = captures[6];
   17749                 :           0 :                                                     gimple_match_op tem_op (res_op->cond.any_else (), CFN_COND_LEN_MUL, TREE_TYPE (_o1[1]), _o1[0], _o1[1], _o1[2], _o1[3], _o1[4], _o1[5]);
   17750                 :           0 :                                                     tem_op.resimplify (lseq, valueize);
   17751                 :           0 :                                                     _r1 = maybe_push_res_to_seq (&tem_op, lseq);
   17752                 :           0 :                                                     if (!_r1) goto next_after_fail2402;
   17753                 :           0 :                                                     res_op->ops[0] = _r1;
   17754                 :             :                                                   }
   17755                 :           0 :                                                   res_op->resimplify (lseq, valueize);
   17756                 :           0 :                                                   if (UNLIKELY (debug_dump)) gimple_dump_logs ("match.pd", 1162, __FILE__, __LINE__, true);
   17757                 :           0 :                                                   return true;
   17758                 :             :                                                 }
   17759                 :           0 : next_after_fail2402:;
   17760                 :             :                                               }
   17761                 :             :                                         }
   17762                 :             :                                       }
   17763                 :           0 :                                       break;
   17764                 :             :                                     }
   17765                 :           0 :                                   case TRUNC_DIV_EXPR:
   17766                 :           0 :                                     {
   17767                 :           0 :                                       tree _q40 = gimple_assign_rhs1 (_a2);
   17768                 :           0 :                                       _q40 = do_valueize (valueize, _q40);
   17769                 :           0 :                                       tree _q41 = gimple_assign_rhs2 (_a2);
   17770                 :           0 :                                       _q41 = do_valueize (valueize, _q41);
   17771                 :           0 :                                       {
   17772                 :           0 :                                         tree captures[7] ATTRIBUTE_UNUSED = { _p0, _q30, _q40, _q41, _p2, _p3, _p4 };
   17773                 :           0 :                                         {
   17774                 :           0 :  tree op_type = TREE_TYPE (captures[1]);
   17775                 :           0 :                                             if (vectorized_internal_fn_supported_p (as_internal_fn (CFN_COND_LEN_DIV), op_type)
   17776                 :           0 :  && is_truth_type_for (op_type, TREE_TYPE (captures[0]))
   17777                 :           0 :  && single_use (captures[1])
   17778                 :             : )
   17779                 :             :                                               {
   17780                 :           0 :                                                 gimple_seq *lseq = seq;
   17781                 :           0 :                                                 if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail2403;
   17782                 :           0 :                                                 {
   17783                 :           0 :                                                   res_op->set_op (VIEW_CONVERT_EXPR, type, 1);
   17784                 :           0 :                                                   {
   17785                 :           0 :                                                     tree _o1[6], _r1;
   17786                 :           0 :                                                     _o1[0] = captures[0];
   17787                 :           0 :                                                     _o1[1] = captures[2];
   17788                 :           0 :                                                     _o1[2] = captures[3];
   17789                 :           0 :                                                     {
   17790                 :           0 :                                                       tree _o2[1], _r2;
   17791                 :           0 :                                                       _o2[0] = captures[4];
   17792                 :           0 :                                                       gimple_match_op tem_op (res_op->cond.any_else (), VIEW_CONVERT_EXPR, op_type, _o2[0]);
   17793                 :           0 :                                                       tem_op.resimplify (lseq, valueize);
   17794                 :           0 :                                                       _r2 = maybe_push_res_to_seq (&tem_op, lseq);
   17795                 :           0 :                                                       if (!_r2) goto next_after_fail2403;
   17796                 :           0 :                                                       _o1[3] = _r2;
   17797                 :             :                                                     }
   17798                 :           0 :                                                     _o1[4] = captures[5];
   17799                 :           0 :                                                     _o1[5] = captures[6];
   17800                 :           0 :                                                     gimple_match_op tem_op (res_op->cond.any_else (), CFN_COND_LEN_DIV, TREE_TYPE (_o1[1]), _o1[0], _o1[1], _o1[2], _o1[3], _o1[4], _o1[5]);
   17801                 :           0 :                                                     tem_op.resimplify (lseq, valueize);
   17802                 :           0 :                                                     _r1 = maybe_push_res_to_seq (&tem_op, lseq);
   17803                 :           0 :                                                     if (!_r1) goto next_after_fail2403;
   17804                 :           0 :                                                     res_op->ops[0] = _r1;
   17805                 :             :                                                   }
   17806                 :           0 :                                                   res_op->resimplify (lseq, valueize);
   17807                 :           0 :                                                   if (UNLIKELY (debug_dump)) gimple_dump_logs ("match.pd", 1162, __FILE__, __LINE__, true);
   17808                 :           0 :                                                   return true;
   17809                 :             :                                                 }
   17810                 :           0 : next_after_fail2403:;
   17811                 :             :                                               }
   17812                 :             :                                         }
   17813                 :             :                                       }
   17814                 :           0 :                                       break;
   17815                 :             :                                     }
   17816                 :           0 :                                   case TRUNC_MOD_EXPR:
   17817                 :           0 :                                     {
   17818                 :           0 :                                       tree _q40 = gimple_assign_rhs1 (_a2);
   17819                 :           0 :                                       _q40 = do_valueize (valueize, _q40);
   17820                 :           0 :                                       tree _q41 = gimple_assign_rhs2 (_a2);
   17821                 :           0 :                                       _q41 = do_valueize (valueize, _q41);
   17822                 :           0 :                                       {
   17823                 :           0 :                                         tree captures[7] ATTRIBUTE_UNUSED = { _p0, _q30, _q40, _q41, _p2, _p3, _p4 };
   17824                 :           0 :                                         {
   17825                 :           0 :  tree op_type = TREE_TYPE (captures[1]);
   17826                 :           0 :                                             if (vectorized_internal_fn_supported_p (as_internal_fn (CFN_COND_LEN_MOD), op_type)
   17827                 :           0 :  && is_truth_type_for (op_type, TREE_TYPE (captures[0]))
   17828                 :           0 :  && single_use (captures[1])
   17829                 :             : )
   17830                 :             :                                               {
   17831                 :           0 :                                                 gimple_seq *lseq = seq;
   17832                 :           0 :                                                 if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail2404;
   17833                 :           0 :                                                 {
   17834                 :           0 :                                                   res_op->set_op (VIEW_CONVERT_EXPR, type, 1);
   17835                 :           0 :                                                   {
   17836                 :           0 :                                                     tree _o1[6], _r1;
   17837                 :           0 :                                                     _o1[0] = captures[0];
   17838                 :           0 :                                                     _o1[1] = captures[2];
   17839                 :           0 :                                                     _o1[2] = captures[3];
   17840                 :           0 :                                                     {
   17841                 :           0 :                                                       tree _o2[1], _r2;
   17842                 :           0 :                                                       _o2[0] = captures[4];
   17843                 :           0 :                                                       gimple_match_op tem_op (res_op->cond.any_else (), VIEW_CONVERT_EXPR, op_type, _o2[0]);
   17844                 :           0 :                                                       tem_op.resimplify (lseq, valueize);
   17845                 :           0 :                                                       _r2 = maybe_push_res_to_seq (&tem_op, lseq);
   17846                 :           0 :                                                       if (!_r2) goto next_after_fail2404;
   17847                 :           0 :                                                       _o1[3] = _r2;
   17848                 :             :                                                     }
   17849                 :           0 :                                                     _o1[4] = captures[5];
   17850                 :           0 :                                                     _o1[5] = captures[6];
   17851                 :           0 :                                                     gimple_match_op tem_op (res_op->cond.any_else (), CFN_COND_LEN_MOD, TREE_TYPE (_o1[1]), _o1[0], _o1[1], _o1[2], _o1[3], _o1[4], _o1[5]);
   17852                 :           0 :                                                     tem_op.resimplify (lseq, valueize);
   17853                 :           0 :                                                     _r1 = maybe_push_res_to_seq (&tem_op, lseq);
   17854                 :           0 :                                                     if (!_r1) goto next_after_fail2404;
   17855                 :           0 :                                                     res_op->ops[0] = _r1;
   17856                 :             :                                                   }
   17857                 :           0 :                                                   res_op->resimplify (lseq, valueize);
   17858                 :           0 :                                                   if (UNLIKELY (debug_dump)) gimple_dump_logs ("match.pd", 1162, __FILE__, __LINE__, true);
   17859                 :           0 :                                                   return true;
   17860                 :             :                                                 }
   17861                 :           0 : next_after_fail2404:;
   17862                 :             :                                               }
   17863                 :             :                                         }
   17864                 :             :                                       }
   17865                 :           0 :                                       break;
   17866                 :             :                                     }
   17867                 :           0 :                                   case RDIV_EXPR:
   17868                 :           0 :                                     {
   17869                 :           0 :                                       tree _q40 = gimple_assign_rhs1 (_a2);
   17870                 :           0 :                                       _q40 = do_valueize (valueize, _q40);
   17871                 :           0 :                                       tree _q41 = gimple_assign_rhs2 (_a2);
   17872                 :           0 :                                       _q41 = do_valueize (valueize, _q41);
   17873                 :           0 :                                       {
   17874                 :           0 :                                         tree captures[7] ATTRIBUTE_UNUSED = { _p0, _q30, _q40, _q41, _p2, _p3, _p4 };
   17875                 :           0 :                                         {
   17876                 :           0 :  tree op_type = TREE_TYPE (captures[1]);
   17877                 :           0 :                                             if (vectorized_internal_fn_supported_p (as_internal_fn (CFN_COND_LEN_RDIV), op_type)
   17878                 :           0 :  && is_truth_type_for (op_type, TREE_TYPE (captures[0]))
   17879                 :           0 :  && single_use (captures[1])
   17880                 :             : )
   17881                 :             :                                               {
   17882                 :           0 :                                                 gimple_seq *lseq = seq;
   17883                 :           0 :                                                 if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail2405;
   17884                 :           0 :                                                 {
   17885                 :           0 :                                                   res_op->set_op (VIEW_CONVERT_EXPR, type, 1);
   17886                 :           0 :                                                   {
   17887                 :           0 :                                                     tree _o1[6], _r1;
   17888                 :           0 :                                                     _o1[0] = captures[0];
   17889                 :           0 :                                                     _o1[1] = captures[2];
   17890                 :           0 :                                                     _o1[2] = captures[3];
   17891                 :           0 :                                                     {
   17892                 :           0 :                                                       tree _o2[1], _r2;
   17893                 :           0 :                                                       _o2[0] = captures[4];
   17894                 :           0 :                                                       gimple_match_op tem_op (res_op->cond.any_else (), VIEW_CONVERT_EXPR, op_type, _o2[0]);
   17895                 :           0 :                                                       tem_op.resimplify (lseq, valueize);
   17896                 :           0 :                                                       _r2 = maybe_push_res_to_seq (&tem_op, lseq);
   17897                 :           0 :                                                       if (!_r2) goto next_after_fail2405;
   17898                 :           0 :                                                       _o1[3] = _r2;
   17899                 :             :                                                     }
   17900                 :           0 :                                                     _o1[4] = captures[5];
   17901                 :           0 :                                                     _o1[5] = captures[6];
   17902                 :           0 :                                                     gimple_match_op tem_op (res_op->cond.any_else (), CFN_COND_LEN_RDIV, TREE_TYPE (_o1[1]), _o1[0], _o1[1], _o1[2], _o1[3], _o1[4], _o1[5]);
   17903                 :           0 :                                                     tem_op.resimplify (lseq, valueize);
   17904                 :           0 :                                                     _r1 = maybe_push_res_to_seq (&tem_op, lseq);
   17905                 :           0 :                                                     if (!_r1) goto next_after_fail2405;
   17906                 :           0 :                                                     res_op->ops[0] = _r1;
   17907                 :             :                                                   }
   17908                 :           0 :                                                   res_op->resimplify (lseq, valueize);
   17909                 :           0 :                                                   if (UNLIKELY (debug_dump)) gimple_dump_logs ("match.pd", 1162, __FILE__, __LINE__, true);
   17910                 :           0 :                                                   return true;
   17911                 :             :                                                 }
   17912                 :           0 : next_after_fail2405:;
   17913                 :             :                                               }
   17914                 :             :                                         }
   17915                 :             :                                       }
   17916                 :           0 :                                       break;
   17917                 :             :                                     }
   17918                 :           0 :                                   case MIN_EXPR:
   17919                 :           0 :                                     {
   17920                 :           0 :                                       tree _q40 = gimple_assign_rhs1 (_a2);
   17921                 :           0 :                                       _q40 = do_valueize (valueize, _q40);
   17922                 :           0 :                                       tree _q41 = gimple_assign_rhs2 (_a2);
   17923                 :           0 :                                       _q41 = do_valueize (valueize, _q41);
   17924                 :           0 :                                       if (tree_swap_operands_p (_q40, _q41))
   17925                 :           0 :                                         std::swap (_q40, _q41);
   17926                 :           0 :                                       {
   17927                 :           0 :                                         tree captures[7] ATTRIBUTE_UNUSED = { _p0, _q30, _q40, _q41, _p2, _p3, _p4 };
   17928                 :           0 :                                         {
   17929                 :           0 :  tree op_type = TREE_TYPE (captures[1]);
   17930                 :           0 :                                             if (vectorized_internal_fn_supported_p (as_internal_fn (CFN_COND_LEN_MIN), op_type)
   17931                 :           0 :  && is_truth_type_for (op_type, TREE_TYPE (captures[0]))
   17932                 :           0 :  && single_use (captures[1])
   17933                 :             : )
   17934                 :             :                                               {
   17935                 :           0 :                                                 gimple_seq *lseq = seq;
   17936                 :           0 :                                                 if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail2406;
   17937                 :           0 :                                                 {
   17938                 :           0 :                                                   res_op->set_op (VIEW_CONVERT_EXPR, type, 1);
   17939                 :           0 :                                                   {
   17940                 :           0 :                                                     tree _o1[6], _r1;
   17941                 :           0 :                                                     _o1[0] = captures[0];
   17942                 :           0 :                                                     _o1[1] = captures[2];
   17943                 :           0 :                                                     _o1[2] = captures[3];
   17944                 :           0 :                                                     {
   17945                 :           0 :                                                       tree _o2[1], _r2;
   17946                 :           0 :                                                       _o2[0] = captures[4];
   17947                 :           0 :                                                       gimple_match_op tem_op (res_op->cond.any_else (), VIEW_CONVERT_EXPR, op_type, _o2[0]);
   17948                 :           0 :                                                       tem_op.resimplify (lseq, valueize);
   17949                 :           0 :                                                       _r2 = maybe_push_res_to_seq (&tem_op, lseq);
   17950                 :           0 :                                                       if (!_r2) goto next_after_fail2406;
   17951                 :           0 :                                                       _o1[3] = _r2;
   17952                 :             :                                                     }
   17953                 :           0 :                                                     _o1[4] = captures[5];
   17954                 :           0 :                                                     _o1[5] = captures[6];
   17955                 :           0 :                                                     gimple_match_op tem_op (res_op->cond.any_else (), CFN_COND_LEN_MIN, TREE_TYPE (_o1[1]), _o1[0], _o1[1], _o1[2], _o1[3], _o1[4], _o1[5]);
   17956                 :           0 :                                                     tem_op.resimplify (lseq, valueize);
   17957                 :           0 :                                                     _r1 = maybe_push_res_to_seq (&tem_op, lseq);
   17958                 :           0 :                                                     if (!_r1) goto next_after_fail2406;
   17959                 :           0 :                                                     res_op->ops[0] = _r1;
   17960                 :             :                                                   }
   17961                 :           0 :                                                   res_op->resimplify (lseq, valueize);
   17962                 :           0 :                                                   if (UNLIKELY (debug_dump)) gimple_dump_logs ("match.pd", 1162, __FILE__, __LINE__, true);
   17963                 :           0 :                                                   return true;
   17964                 :             :                                                 }
   17965                 :           0 : next_after_fail2406:;
   17966                 :             :                                               }
   17967                 :             :                                         }
   17968                 :             :                                       }
   17969                 :           0 :                                       break;
   17970                 :             :                                     }
   17971                 :           0 :                                   case MAX_EXPR:
   17972                 :           0 :                                     {
   17973                 :           0 :                                       tree _q40 = gimple_assign_rhs1 (_a2);
   17974                 :           0 :                                       _q40 = do_valueize (valueize, _q40);
   17975                 :           0 :                                       tree _q41 = gimple_assign_rhs2 (_a2);
   17976                 :           0 :                                       _q41 = do_valueize (valueize, _q41);
   17977                 :           0 :                                       if (tree_swap_operands_p (_q40, _q41))
   17978                 :           0 :                                         std::swap (_q40, _q41);
   17979                 :           0 :                                       {
   17980                 :           0 :                                         tree captures[7] ATTRIBUTE_UNUSED = { _p0, _q30, _q40, _q41, _p2, _p3, _p4 };
   17981                 :           0 :                                         {
   17982                 :           0 :  tree op_type = TREE_TYPE (captures[1]);
   17983                 :           0 :                                             if (vectorized_internal_fn_supported_p (as_internal_fn (CFN_COND_LEN_MAX), op_type)
   17984                 :           0 :  && is_truth_type_for (op_type, TREE_TYPE (captures[0]))
   17985                 :           0 :  && single_use (captures[1])
   17986                 :             : )
   17987                 :             :                                               {
   17988                 :           0 :                                                 gimple_seq *lseq = seq;
   17989                 :           0 :                                                 if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail2407;
   17990                 :           0 :                                                 {
   17991                 :           0 :                                                   res_op->set_op (VIEW_CONVERT_EXPR, type, 1);
   17992                 :           0 :                                                   {
   17993                 :           0 :                                                     tree _o1[6], _r1;
   17994                 :           0 :                                                     _o1[0] = captures[0];
   17995                 :           0 :                                                     _o1[1] = captures[2];
   17996                 :           0 :                                                     _o1[2] = captures[3];
   17997                 :           0 :                                                     {
   17998                 :           0 :                                                       tree _o2[1], _r2;
   17999                 :           0 :                                                       _o2[0] = captures[4];
   18000                 :           0 :                                                       gimple_match_op tem_op (res_op->cond.any_else (), VIEW_CONVERT_EXPR, op_type, _o2[0]);
   18001                 :           0 :                                                       tem_op.resimplify (lseq, valueize);
   18002                 :           0 :                                                       _r2 = maybe_push_res_to_seq (&tem_op, lseq);
   18003                 :           0 :                                                       if (!_r2) goto next_after_fail2407;
   18004                 :           0 :                                                       _o1[3] = _r2;
   18005                 :             :                                                     }
   18006                 :           0 :                                                     _o1[4] = captures[5];
   18007                 :           0 :                                                     _o1[5] = captures[6];
   18008                 :           0 :                                                     gimple_match_op tem_op (res_op->cond.any_else (), CFN_COND_LEN_MAX, TREE_TYPE (_o1[1]), _o1[0], _o1[1], _o1[2], _o1[3], _o1[4], _o1[5]);
   18009                 :           0 :                                                     tem_op.resimplify (lseq, valueize);
   18010                 :           0 :                                                     _r1 = maybe_push_res_to_seq (&tem_op, lseq);
   18011                 :           0 :                                                     if (!_r1) goto next_after_fail2407;
   18012                 :           0 :                                                     res_op->ops[0] = _r1;
   18013                 :             :                                                   }
   18014                 :           0 :                                                   res_op->resimplify (lseq, valueize);
   18015                 :           0 :                                                   if (UNLIKELY (debug_dump)) gimple_dump_logs ("match.pd", 1162, __FILE__, __LINE__, true);
   18016                 :           0 :                                                   return true;
   18017                 :             :                                                 }
   18018                 :           0 : next_after_fail2407:;
   18019                 :             :                                               }
   18020                 :             :                                         }
   18021                 :             :                                       }
   18022                 :           0 :                                       break;
   18023                 :             :                                     }
   18024                 :           0 :                                   case BIT_AND_EXPR:
   18025                 :           0 :                                     {
   18026                 :           0 :                                       tree _q40 = gimple_assign_rhs1 (_a2);
   18027                 :           0 :                                       _q40 = do_valueize (valueize, _q40);
   18028                 :           0 :                                       tree _q41 = gimple_assign_rhs2 (_a2);
   18029                 :           0 :                                       _q41 = do_valueize (valueize, _q41);
   18030                 :           0 :                                       if (tree_swap_operands_p (_q40, _q41))
   18031                 :           0 :                                         std::swap (_q40, _q41);
   18032                 :           0 :                                       {
   18033                 :           0 :                                         tree captures[7] ATTRIBUTE_UNUSED = { _p0, _q30, _q40, _q41, _p2, _p3, _p4 };
   18034                 :           0 :                                         {
   18035                 :           0 :  tree op_type = TREE_TYPE (captures[1]);
   18036                 :           0 :                                             if (vectorized_internal_fn_supported_p (as_internal_fn (CFN_COND_LEN_AND), op_type)
   18037                 :           0 :  && is_truth_type_for (op_type, TREE_TYPE (captures[0]))
   18038                 :           0 :  && single_use (captures[1])
   18039                 :             : )
   18040                 :             :                                               {
   18041                 :           0 :                                                 gimple_seq *lseq = seq;
   18042                 :           0 :                                                 if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail2408;
   18043                 :           0 :                                                 {
   18044                 :           0 :                                                   res_op->set_op (VIEW_CONVERT_EXPR, type, 1);
   18045                 :           0 :                                                   {
   18046                 :           0 :                                                     tree _o1[6], _r1;
   18047                 :           0 :                                                     _o1[0] = captures[0];
   18048                 :           0 :                                                     _o1[1] = captures[2];
   18049                 :           0 :                                                     _o1[2] = captures[3];
   18050                 :           0 :                                                     {
   18051                 :           0 :                                                       tree _o2[1], _r2;
   18052                 :           0 :                                                       _o2[0] = captures[4];
   18053                 :           0 :                                                       gimple_match_op tem_op (res_op->cond.any_else (), VIEW_CONVERT_EXPR, op_type, _o2[0]);
   18054                 :           0 :                                                       tem_op.resimplify (lseq, valueize);
   18055                 :           0 :                                                       _r2 = maybe_push_res_to_seq (&tem_op, lseq);
   18056                 :           0 :                                                       if (!_r2) goto next_after_fail2408;
   18057                 :           0 :                                                       _o1[3] = _r2;
   18058                 :             :                                                     }
   18059                 :           0 :                                                     _o1[4] = captures[5];
   18060                 :           0 :                                                     _o1[5] = captures[6];
   18061                 :           0 :                                                     gimple_match_op tem_op (res_op->cond.any_else (), CFN_COND_LEN_AND, TREE_TYPE (_o1[1]), _o1[0], _o1[1], _o1[2], _o1[3], _o1[4], _o1[5]);
   18062                 :           0 :                                                     tem_op.resimplify (lseq, valueize);
   18063                 :           0 :                                                     _r1 = maybe_push_res_to_seq (&tem_op, lseq);
   18064                 :           0 :                                                     if (!_r1) goto next_after_fail2408;
   18065                 :           0 :                                                     res_op->ops[0] = _r1;
   18066                 :             :                                                   }
   18067                 :           0 :                                                   res_op->resimplify (lseq, valueize);
   18068                 :           0 :                                                   if (UNLIKELY (debug_dump)) gimple_dump_logs ("match.pd", 1162, __FILE__, __LINE__, true);
   18069                 :           0 :                                                   return true;
   18070                 :             :                                                 }
   18071                 :           0 : next_after_fail2408:;
   18072                 :             :                                               }
   18073                 :             :                                         }
   18074                 :             :                                       }
   18075                 :           0 :                                       break;
   18076                 :             :                                     }
   18077                 :           0 :                                   case BIT_IOR_EXPR:
   18078                 :           0 :                                     {
   18079                 :           0 :                                       tree _q40 = gimple_assign_rhs1 (_a2);
   18080                 :           0 :                                       _q40 = do_valueize (valueize, _q40);
   18081                 :           0 :                                       tree _q41 = gimple_assign_rhs2 (_a2);
   18082                 :           0 :                                       _q41 = do_valueize (valueize, _q41);
   18083                 :           0 :                                       if (tree_swap_operands_p (_q40, _q41))
   18084                 :           0 :                                         std::swap (_q40, _q41);
   18085                 :           0 :                                       {
   18086                 :           0 :                                         tree captures[7] ATTRIBUTE_UNUSED = { _p0, _q30, _q40, _q41, _p2, _p3, _p4 };
   18087                 :           0 :                                         {
   18088                 :           0 :  tree op_type = TREE_TYPE (captures[1]);
   18089                 :           0 :                                             if (vectorized_internal_fn_supported_p (as_internal_fn (CFN_COND_LEN_IOR), op_type)
   18090                 :           0 :  && is_truth_type_for (op_type, TREE_TYPE (captures[0]))
   18091                 :           0 :  && single_use (captures[1])
   18092                 :             : )
   18093                 :             :                                               {
   18094                 :           0 :                                                 gimple_seq *lseq = seq;
   18095                 :           0 :                                                 if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail2409;
   18096                 :           0 :                                                 {
   18097                 :           0 :                                                   res_op->set_op (VIEW_CONVERT_EXPR, type, 1);
   18098                 :           0 :                                                   {
   18099                 :           0 :                                                     tree _o1[6], _r1;
   18100                 :           0 :                                                     _o1[0] = captures[0];
   18101                 :           0 :                                                     _o1[1] = captures[2];
   18102                 :           0 :                                                     _o1[2] = captures[3];
   18103                 :           0 :                                                     {
   18104                 :           0 :                                                       tree _o2[1], _r2;
   18105                 :           0 :                                                       _o2[0] = captures[4];
   18106                 :           0 :                                                       gimple_match_op tem_op (res_op->cond.any_else (), VIEW_CONVERT_EXPR, op_type, _o2[0]);
   18107                 :           0 :                                                       tem_op.resimplify (lseq, valueize);
   18108                 :           0 :                                                       _r2 = maybe_push_res_to_seq (&tem_op, lseq);
   18109                 :           0 :                                                       if (!_r2) goto next_after_fail2409;
   18110                 :           0 :                                                       _o1[3] = _r2;
   18111                 :             :                                                     }
   18112                 :           0 :                                                     _o1[4] = captures[5];
   18113                 :           0 :                                                     _o1[5] = captures[6];
   18114                 :           0 :                                                     gimple_match_op tem_op (res_op->cond.any_else (), CFN_COND_LEN_IOR, TREE_TYPE (_o1[1]), _o1[0], _o1[1], _o1[2], _o1[3], _o1[4], _o1[5]);
   18115                 :           0 :                                                     tem_op.resimplify (lseq, valueize);
   18116                 :           0 :                                                     _r1 = maybe_push_res_to_seq (&tem_op, lseq);
   18117                 :           0 :                                                     if (!_r1) goto next_after_fail2409;
   18118                 :           0 :                                                     res_op->ops[0] = _r1;
   18119                 :             :                                                   }
   18120                 :           0 :                                                   res_op->resimplify (lseq, valueize);
   18121                 :           0 :                                                   if (UNLIKELY (debug_dump)) gimple_dump_logs ("match.pd", 1162, __FILE__, __LINE__, true);
   18122                 :           0 :                                                   return true;
   18123                 :             :                                                 }
   18124                 :           0 : next_after_fail2409:;
   18125                 :             :                                               }
   18126                 :             :                                         }
   18127                 :             :                                       }
   18128                 :           0 :                                       break;
   18129                 :             :                                     }
   18130                 :           0 :                                   case BIT_XOR_EXPR:
   18131                 :           0 :                                     {
   18132                 :           0 :                                       tree _q40 = gimple_assign_rhs1 (_a2);
   18133                 :           0 :                                       _q40 = do_valueize (valueize, _q40);
   18134                 :           0 :                                       tree _q41 = gimple_assign_rhs2 (_a2);
   18135                 :           0 :                                       _q41 = do_valueize (valueize, _q41);
   18136                 :           0 :                                       if (tree_swap_operands_p (_q40, _q41))
   18137                 :           0 :                                         std::swap (_q40, _q41);
   18138                 :           0 :                                       {
   18139                 :           0 :                                         tree captures[7] ATTRIBUTE_UNUSED = { _p0, _q30, _q40, _q41, _p2, _p3, _p4 };
   18140                 :           0 :                                         {
   18141                 :           0 :  tree op_type = TREE_TYPE (captures[1]);
   18142                 :           0 :                                             if (vectorized_internal_fn_supported_p (as_internal_fn (CFN_COND_LEN_XOR), op_type)
   18143                 :           0 :  && is_truth_type_for (op_type, TREE_TYPE (captures[0]))
   18144                 :           0 :  && single_use (captures[1])
   18145                 :             : )
   18146                 :             :                                               {
   18147                 :           0 :                                                 gimple_seq *lseq = seq;
   18148                 :           0 :                                                 if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail2410;
   18149                 :           0 :                                                 {
   18150                 :           0 :                                                   res_op->set_op (VIEW_CONVERT_EXPR, type, 1);
   18151                 :           0 :                                                   {
   18152                 :           0 :                                                     tree _o1[6], _r1;
   18153                 :           0 :                                                     _o1[0] = captures[0];
   18154                 :           0 :                                                     _o1[1] = captures[2];
   18155                 :           0 :                                                     _o1[2] = captures[3];
   18156                 :           0 :                                                     {
   18157                 :           0 :                                                       tree _o2[1], _r2;
   18158                 :           0 :                                                       _o2[0] = captures[4];
   18159                 :           0 :                                                       gimple_match_op tem_op (res_op->cond.any_else (), VIEW_CONVERT_EXPR, op_type, _o2[0]);
   18160                 :           0 :                                                       tem_op.resimplify (lseq, valueize);
   18161                 :           0 :                                                       _r2 = maybe_push_res_to_seq (&tem_op, lseq);
   18162                 :           0 :                                                       if (!_r2) goto next_after_fail2410;
   18163                 :           0 :                                                       _o1[3] = _r2;
   18164                 :             :                                                     }
   18165                 :           0 :                                                     _o1[4] = captures[5];
   18166                 :           0 :                                                     _o1[5] = captures[6];
   18167                 :           0 :                                                     gimple_match_op tem_op (res_op->cond.any_else (), CFN_COND_LEN_XOR, TREE_TYPE (_o1[1]), _o1[0], _o1[1], _o1[2], _o1[3], _o1[4], _o1[5]);
   18168                 :           0 :                                                     tem_op.resimplify (lseq, valueize);
   18169                 :           0 :                                                     _r1 = maybe_push_res_to_seq (&tem_op, lseq);
   18170                 :           0 :                                                     if (!_r1) goto next_after_fail2410;
   18171                 :           0 :                                                     res_op->ops[0] = _r1;
   18172                 :             :                                                   }
   18173                 :           0 :                                                   res_op->resimplify (lseq, valueize);
   18174                 :           0 :                                                   if (UNLIKELY (debug_dump)) gimple_dump_logs ("match.pd", 1162, __FILE__, __LINE__, true);
   18175                 :           0 :                                                   return true;
   18176                 :             :                                                 }
   18177                 :           0 : next_after_fail2410:;
   18178                 :             :                                               }
   18179                 :             :                                         }
   18180                 :             :                                       }
   18181                 :           0 :                                       break;
   18182                 :             :                                     }
   18183                 :           0 :                                   case LSHIFT_EXPR:
   18184                 :           0 :                                     {
   18185                 :           0 :                                       tree _q40 = gimple_assign_rhs1 (_a2);
   18186                 :           0 :                                       _q40 = do_valueize (valueize, _q40);
   18187                 :           0 :                                       tree _q41 = gimple_assign_rhs2 (_a2);
   18188                 :           0 :                                       _q41 = do_valueize (valueize, _q41);
   18189                 :           0 :                                       {
   18190                 :           0 :                                         tree captures[7] ATTRIBUTE_UNUSED = { _p0, _q30, _q40, _q41, _p2, _p3, _p4 };
   18191                 :           0 :                                         {
   18192                 :           0 :  tree op_type = TREE_TYPE (captures[1]);
   18193                 :           0 :                                             if (vectorized_internal_fn_supported_p (as_internal_fn (CFN_COND_LEN_SHL), op_type)
   18194                 :           0 :  && is_truth_type_for (op_type, TREE_TYPE (captures[0]))
   18195                 :           0 :  && single_use (captures[1])
   18196                 :             : )
   18197                 :             :                                               {
   18198                 :           0 :                                                 gimple_seq *lseq = seq;
   18199                 :           0 :                                                 if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail2411;
   18200                 :           0 :                                                 {
   18201                 :           0 :                                                   res_op->set_op (VIEW_CONVERT_EXPR, type, 1);
   18202                 :           0 :                                                   {
   18203                 :           0 :                                                     tree _o1[6], _r1;
   18204                 :           0 :                                                     _o1[0] = captures[0];
   18205                 :           0 :                                                     _o1[1] = captures[2];
   18206                 :           0 :                                                     _o1[2] = captures[3];
   18207                 :           0 :                                                     {
   18208                 :           0 :                                                       tree _o2[1], _r2;
   18209                 :           0 :                                                       _o2[0] = captures[4];
   18210                 :           0 :                                                       gimple_match_op tem_op (res_op->cond.any_else (), VIEW_CONVERT_EXPR, op_type, _o2[0]);
   18211                 :           0 :                                                       tem_op.resimplify (lseq, valueize);
   18212                 :           0 :                                                       _r2 = maybe_push_res_to_seq (&tem_op, lseq);
   18213                 :           0 :                                                       if (!_r2) goto next_after_fail2411;
   18214                 :           0 :                                                       _o1[3] = _r2;
   18215                 :             :                                                     }
   18216                 :           0 :                                                     _o1[4] = captures[5];
   18217                 :           0 :                                                     _o1[5] = captures[6];
   18218                 :           0 :                                                     gimple_match_op tem_op (res_op->cond.any_else (), CFN_COND_LEN_SHL, TREE_TYPE (_o1[1]), _o1[0], _o1[1], _o1[2], _o1[3], _o1[4], _o1[5]);
   18219                 :           0 :                                                     tem_op.resimplify (lseq, valueize);
   18220                 :           0 :                                                     _r1 = maybe_push_res_to_seq (&tem_op, lseq);
   18221                 :           0 :                                                     if (!_r1) goto next_after_fail2411;
   18222                 :           0 :                                                     res_op->ops[0] = _r1;
   18223                 :             :                                                   }
   18224                 :           0 :                                                   res_op->resimplify (lseq, valueize);
   18225                 :           0 :                                                   if (UNLIKELY (debug_dump)) gimple_dump_logs ("match.pd", 1162, __FILE__, __LINE__, true);
   18226                 :           0 :                                                   return true;
   18227                 :             :                                                 }
   18228                 :           0 : next_after_fail2411:;
   18229                 :             :                                               }
   18230                 :             :                                         }
   18231                 :             :                                       }
   18232                 :           0 :                                       break;
   18233                 :             :                                     }
   18234                 :           0 :                                   case RSHIFT_EXPR:
   18235                 :           0 :                                     {
   18236                 :           0 :                                       tree _q40 = gimple_assign_rhs1 (_a2);
   18237                 :           0 :                                       _q40 = do_valueize (valueize, _q40);
   18238                 :           0 :                                       tree _q41 = gimple_assign_rhs2 (_a2);
   18239                 :           0 :                                       _q41 = do_valueize (valueize, _q41);
   18240                 :           0 :                                       {
   18241                 :           0 :                                         tree captures[7] ATTRIBUTE_UNUSED = { _p0, _q30, _q40, _q41, _p2, _p3, _p4 };
   18242                 :           0 :                                         {
   18243                 :           0 :  tree op_type = TREE_TYPE (captures[1]);
   18244                 :           0 :                                             if (vectorized_internal_fn_supported_p (as_internal_fn (CFN_COND_LEN_SHR), op_type)
   18245                 :           0 :  && is_truth_type_for (op_type, TREE_TYPE (captures[0]))
   18246                 :           0 :  && single_use (captures[1])
   18247                 :             : )
   18248                 :             :                                               {
   18249                 :           0 :                                                 gimple_seq *lseq = seq;
   18250                 :           0 :                                                 if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail2412;
   18251                 :           0 :                                                 {
   18252                 :           0 :                                                   res_op->set_op (VIEW_CONVERT_EXPR, type, 1);
   18253                 :           0 :                                                   {
   18254                 :           0 :                                                     tree _o1[6], _r1;
   18255                 :           0 :                                                     _o1[0] = captures[0];
   18256                 :           0 :                                                     _o1[1] = captures[2];
   18257                 :           0 :                                                     _o1[2] = captures[3];
   18258                 :           0 :                                                     {
   18259                 :           0 :                                                       tree _o2[1], _r2;
   18260                 :           0 :                                                       _o2[0] = captures[4];
   18261                 :           0 :                                                       gimple_match_op tem_op (res_op->cond.any_else (), VIEW_CONVERT_EXPR, op_type, _o2[0]);
   18262                 :           0 :                                                       tem_op.resimplify (lseq, valueize);
   18263                 :           0 :                                                       _r2 = maybe_push_res_to_seq (&tem_op, lseq);
   18264                 :           0 :                                                       if (!_r2) goto next_after_fail2412;
   18265                 :           0 :                                                       _o1[3] = _r2;
   18266                 :             :                                                     }
   18267                 :           0 :                                                     _o1[4] = captures[5];
   18268                 :           0 :                                                     _o1[5] = captures[6];
   18269                 :           0 :                                                     gimple_match_op tem_op (res_op->cond.any_else (), CFN_COND_LEN_SHR, TREE_TYPE (_o1[1]), _o1[0], _o1[1], _o1[2], _o1[3], _o1[4], _o1[5]);
   18270                 :           0 :                                                     tem_op.resimplify (lseq, valueize);
   18271                 :           0 :                                                     _r1 = maybe_push_res_to_seq (&tem_op, lseq);
   18272                 :           0 :                                                     if (!_r1) goto next_after_fail2412;
   18273                 :           0 :                                                     res_op->ops[0] = _r1;
   18274                 :             :                                                   }
   18275                 :           0 :                                                   res_op->resimplify (lseq, valueize);
   18276                 :           0 :                                                   if (UNLIKELY (debug_dump)) gimple_dump_logs ("match.pd", 1162, __FILE__, __LINE__, true);
   18277                 :           0 :                                                   return true;
   18278                 :             :                                                 }
   18279                 :           0 : next_after_fail2412:;
   18280                 :             :                                               }
   18281                 :             :                                         }
   18282                 :             :                                       }
   18283                 :           0 :                                       break;
   18284                 :             :                                     }
   18285                 :             :                                   default:;
   18286                 :             :                                   }
   18287                 :           0 :                               else if (gcall *_c2 = dyn_cast <gcall *> (_d2))
   18288                 :           0 :                                 switch (gimple_call_combined_fn (_c2))
   18289                 :             :                                   {
   18290                 :           0 :                                   case CFN_FMAX:
   18291                 :           0 :                                     if (gimple_call_num_args (_c2) == 2)
   18292                 :             :                                       {
   18293                 :           0 :                                         tree _q40 = gimple_call_arg (_c2, 0);
   18294                 :           0 :                                         _q40 = do_valueize (valueize, _q40);
   18295                 :           0 :                                         tree _q41 = gimple_call_arg (_c2, 1);
   18296                 :           0 :                                         _q41 = do_valueize (valueize, _q41);
   18297                 :           0 :                                         {
   18298                 :           0 :                                           tree captures[7] ATTRIBUTE_UNUSED = { _p0, _q30, _q40, _q41, _p2, _p3, _p4 };
   18299                 :           0 :                                           {
   18300                 :           0 :  tree op_type = TREE_TYPE (captures[1]);
   18301                 :           0 :                                               if (vectorized_internal_fn_supported_p (as_internal_fn (CFN_COND_LEN_FMAX), op_type)
   18302                 :           0 :  && is_truth_type_for (op_type, TREE_TYPE (captures[0]))
   18303                 :           0 :  && single_use (captures[1])
   18304                 :             : )
   18305                 :             :                                                 {
   18306                 :           0 :                                                   gimple_seq *lseq = seq;
   18307                 :           0 :                                                   if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail2413;
   18308                 :           0 :                                                   {
   18309                 :           0 :                                                     res_op->set_op (VIEW_CONVERT_EXPR, type, 1);
   18310                 :           0 :                                                     {
   18311                 :           0 :                                                       tree _o1[6], _r1;
   18312                 :           0 :                                                       _o1[0] = captures[0];
   18313                 :           0 :                                                       _o1[1] = captures[2];
   18314                 :           0 :                                                       _o1[2] = captures[3];
   18315                 :           0 :                                                       {
   18316                 :           0 :                                                         tree _o2[1], _r2;
   18317                 :           0 :                                                         _o2[0] = captures[4];
   18318                 :           0 :                                                         gimple_match_op tem_op (res_op->cond.any_else (), VIEW_CONVERT_EXPR, op_type, _o2[0]);
   18319                 :           0 :                                                         tem_op.resimplify (lseq, valueize);
   18320                 :           0 :                                                         _r2 = maybe_push_res_to_seq (&tem_op, lseq);
   18321                 :           0 :                                                         if (!_r2) goto next_after_fail2413;
   18322                 :           0 :                                                         _o1[3] = _r2;
   18323                 :             :                                                       }
   18324                 :           0 :                                                       _o1[4] = captures[5];
   18325                 :           0 :                                                       _o1[5] = captures[6];
   18326                 :           0 :                                                       gimple_match_op tem_op (res_op->cond.any_else (), CFN_COND_LEN_FMAX, TREE_TYPE (_o1[1]), _o1[0], _o1[1], _o1[2], _o1[3], _o1[4], _o1[5]);
   18327                 :           0 :                                                       tem_op.resimplify (lseq, valueize);
   18328                 :           0 :                                                       _r1 = maybe_push_res_to_seq (&tem_op, lseq);
   18329                 :           0 :                                                       if (!_r1) goto next_after_fail2413;
   18330                 :           0 :                                                       res_op->ops[0] = _r1;
   18331                 :             :                                                     }
   18332                 :           0 :                                                     res_op->resimplify (lseq, valueize);
   18333                 :           0 :                                                     if (UNLIKELY (debug_dump)) gimple_dump_logs ("match.pd", 1162, __FILE__, __LINE__, true);
   18334                 :           0 :                                                     return true;
   18335                 :             :                                                   }
   18336                 :           0 : next_after_fail2413:;
   18337                 :             :                                                 }
   18338                 :             :                                           }
   18339                 :             :                                         }
   18340                 :             :                                       }
   18341                 :             :                                     break;
   18342                 :           0 :                                   case CFN_FMIN:
   18343                 :           0 :                                     if (gimple_call_num_args (_c2) == 2)
   18344                 :             :                                       {
   18345                 :           0 :                                         tree _q40 = gimple_call_arg (_c2, 0);
   18346                 :           0 :                                         _q40 = do_valueize (valueize, _q40);
   18347                 :           0 :                                         tree _q41 = gimple_call_arg (_c2, 1);
   18348                 :           0 :                                         _q41 = do_valueize (valueize, _q41);
   18349                 :           0 :                                         {
   18350                 :           0 :                                           tree captures[7] ATTRIBUTE_UNUSED = { _p0, _q30, _q40, _q41, _p2, _p3, _p4 };
   18351                 :           0 :                                           {
   18352                 :           0 :  tree op_type = TREE_TYPE (captures[1]);
   18353                 :           0 :                                               if (vectorized_internal_fn_supported_p (as_internal_fn (CFN_COND_LEN_FMIN), op_type)
   18354                 :           0 :  && is_truth_type_for (op_type, TREE_TYPE (captures[0]))
   18355                 :           0 :  && single_use (captures[1])
   18356                 :             : )
   18357                 :             :                                                 {
   18358                 :           0 :                                                   gimple_seq *lseq = seq;
   18359                 :           0 :                                                   if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail2414;
   18360                 :           0 :                                                   {
   18361                 :           0 :                                                     res_op->set_op (VIEW_CONVERT_EXPR, type, 1);
   18362                 :           0 :                                                     {
   18363                 :           0 :                                                       tree _o1[6], _r1;
   18364                 :           0 :                                                       _o1[0] = captures[0];
   18365                 :           0 :                                                       _o1[1] = captures[2];
   18366                 :           0 :                                                       _o1[2] = captures[3];
   18367                 :           0 :                                                       {
   18368                 :           0 :                                                         tree _o2[1], _r2;
   18369                 :           0 :                                                         _o2[0] = captures[4];
   18370                 :           0 :                                                         gimple_match_op tem_op (res_op->cond.any_else (), VIEW_CONVERT_EXPR, op_type, _o2[0]);
   18371                 :           0 :                                                         tem_op.resimplify (lseq, valueize);
   18372                 :           0 :                                                         _r2 = maybe_push_res_to_seq (&tem_op, lseq);
   18373                 :           0 :                                                         if (!_r2) goto next_after_fail2414;
   18374                 :           0 :                                                         _o1[3] = _r2;
   18375                 :             :                                                       }
   18376                 :           0 :                                                       _o1[4] = captures[5];
   18377                 :           0 :                                                       _o1[5] = captures[6];
   18378                 :           0 :                                                       gimple_match_op tem_op (res_op->cond.any_else (), CFN_COND_LEN_FMIN, TREE_TYPE (_o1[1]), _o1[0], _o1[1], _o1[2], _o1[3], _o1[4], _o1[5]);
   18379                 :           0 :                                                       tem_op.resimplify (lseq, valueize);
   18380                 :           0 :                                                       _r1 = maybe_push_res_to_seq (&tem_op, lseq);
   18381                 :           0 :                                                       if (!_r1) goto next_after_fail2414;
   18382                 :           0 :                                                       res_op->ops[0] = _r1;
   18383                 :             :                                                     }
   18384                 :           0 :                                                     res_op->resimplify (lseq, valueize);
   18385                 :           0 :                                                     if (UNLIKELY (debug_dump)) gimple_dump_logs ("match.pd", 1162, __FILE__, __LINE__, true);
   18386                 :           0 :                                                     return true;
   18387                 :             :                                                   }
   18388                 :           0 : next_after_fail2414:;
   18389                 :             :                                                 }
   18390                 :             :                                           }
   18391                 :             :                                         }
   18392                 :             :                                       }
   18393                 :             :                                     break;
   18394                 :           0 :                                   case CFN_COPYSIGN:
   18395                 :           0 :                                     if (gimple_call_num_args (_c2) == 2)
   18396                 :             :                                       {
   18397                 :           0 :                                         tree _q40 = gimple_call_arg (_c2, 0);
   18398                 :           0 :                                         _q40 = do_valueize (valueize, _q40);
   18399                 :           0 :                                         tree _q41 = gimple_call_arg (_c2, 1);
   18400                 :           0 :                                         _q41 = do_valueize (valueize, _q41);
   18401                 :           0 :                                         {
   18402                 :           0 :                                           tree captures[7] ATTRIBUTE_UNUSED = { _p0, _q30, _q40, _q41, _p2, _p3, _p4 };
   18403                 :           0 :                                           {
   18404                 :           0 :  tree op_type = TREE_TYPE (captures[1]);
   18405                 :           0 :                                               if (vectorized_internal_fn_supported_p (as_internal_fn (CFN_COND_LEN_COPYSIGN), op_type)
   18406                 :           0 :  && is_truth_type_for (op_type, TREE_TYPE (captures[0]))
   18407                 :           0 :  && single_use (captures[1])
   18408                 :             : )
   18409                 :             :                                                 {
   18410                 :           0 :                                                   gimple_seq *lseq = seq;
   18411                 :           0 :                                                   if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail2415;
   18412                 :           0 :                                                   {
   18413                 :           0 :                                                     res_op->set_op (VIEW_CONVERT_EXPR, type, 1);
   18414                 :           0 :                                                     {
   18415                 :           0 :                                                       tree _o1[6], _r1;
   18416                 :           0 :                                                       _o1[0] = captures[0];
   18417                 :           0 :                                                       _o1[1] = captures[2];
   18418                 :           0 :                                                       _o1[2] = captures[3];
   18419                 :           0 :                                                       {
   18420                 :           0 :                                                         tree _o2[1], _r2;
   18421                 :           0 :                                                         _o2[0] = captures[4];
   18422                 :           0 :                                                         gimple_match_op tem_op (res_op->cond.any_else (), VIEW_CONVERT_EXPR, op_type, _o2[0]);
   18423                 :           0 :                                                         tem_op.resimplify (lseq, valueize);
   18424                 :           0 :                                                         _r2 = maybe_push_res_to_seq (&tem_op, lseq);
   18425                 :           0 :                                                         if (!_r2) goto next_after_fail2415;
   18426                 :           0 :                                                         _o1[3] = _r2;
   18427                 :             :                                                       }
   18428                 :           0 :                                                       _o1[4] = captures[5];
   18429                 :           0 :                                                       _o1[5] = captures[6];
   18430                 :           0 :                                                       gimple_match_op tem_op (res_op->cond.any_else (), CFN_COND_LEN_COPYSIGN, TREE_TYPE (_o1[1]), _o1[0], _o1[1], _o1[2], _o1[3], _o1[4], _o1[5]);
   18431                 :           0 :                                                       tem_op.resimplify (lseq, valueize);
   18432                 :           0 :                                                       _r1 = maybe_push_res_to_seq (&tem_op, lseq);
   18433                 :           0 :                                                       if (!_r1) goto next_after_fail2415;
   18434                 :           0 :                                                       res_op->ops[0] = _r1;
   18435                 :             :                                                     }
   18436                 :           0 :                                                     res_op->resimplify (lseq, valueize);
   18437                 :           0 :                                                     if (UNLIKELY (debug_dump)) gimple_dump_logs ("match.pd", 1162, __FILE__, __LINE__, true);
   18438                 :           0 :                                                     return true;
   18439                 :             :                                                   }
   18440                 :           0 : next_after_fail2415:;
   18441                 :             :                                                 }
   18442                 :             :                                           }
   18443                 :             :                                         }
   18444                 :             :                                       }
   18445                 :             :                                     break;
   18446                 :             :                                   default:;
   18447                 :             :                                   }
   18448                 :             :                             }
   18449                 :             :                           break;
   18450                 :             :                         default:;
   18451                 :             :                         }
   18452                 :             :                     }
   18453                 :             :                   break;
   18454                 :             :                 }
   18455                 :           0 :               case PLUS_EXPR:
   18456                 :           0 :                 {
   18457                 :           0 :                   tree _q30 = gimple_assign_rhs1 (_a1);
   18458                 :           0 :                   _q30 = do_valueize (valueize, _q30);
   18459                 :           0 :                   tree _q31 = gimple_assign_rhs2 (_a1);
   18460                 :           0 :                   _q31 = do_valueize (valueize, _q31);
   18461                 :           0 :                   if (tree_swap_operands_p (_q30, _q31))
   18462                 :           0 :                     std::swap (_q30, _q31);
   18463                 :           0 :                   {
   18464                 :           0 :                     tree captures[7] ATTRIBUTE_UNUSED = { _p0, _p1, _q30, _q31, _p2, _p3, _p4 };
   18465                 :           0 :                     {
   18466                 :           0 :  tree op_type = TREE_TYPE (captures[1]);
   18467                 :           0 :                         if (vectorized_internal_fn_supported_p (as_internal_fn (CFN_COND_LEN_ADD), op_type)
   18468                 :           0 :  && is_truth_type_for (op_type, TREE_TYPE (captures[0]))
   18469                 :           0 :  && single_use (captures[1])
   18470                 :             : )
   18471                 :             :                           {
   18472                 :           0 :                             gimple_seq *lseq = seq;
   18473                 :           0 :                             if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail2416;
   18474                 :           0 :                             {
   18475                 :           0 :                               res_op->set_op (VIEW_CONVERT_EXPR, type, 1);
   18476                 :           0 :                               {
   18477                 :           0 :                                 tree _o1[6], _r1;
   18478                 :           0 :                                 _o1[0] = captures[0];
   18479                 :           0 :                                 _o1[1] = captures[2];
   18480                 :           0 :                                 _o1[2] = captures[3];
   18481                 :           0 :                                 {
   18482                 :           0 :                                   tree _o2[1], _r2;
   18483                 :           0 :                                   _o2[0] = captures[4];
   18484                 :           0 :                                   gimple_match_op tem_op (res_op->cond.any_else (), VIEW_CONVERT_EXPR, op_type, _o2[0]);
   18485                 :           0 :                                   tem_op.resimplify (lseq, valueize);
   18486                 :           0 :                                   _r2 = maybe_push_res_to_seq (&tem_op, lseq);
   18487                 :           0 :                                   if (!_r2) goto next_after_fail2416;
   18488                 :           0 :                                   _o1[3] = _r2;
   18489                 :             :                                 }
   18490                 :           0 :                                 _o1[4] = captures[5];
   18491                 :           0 :                                 _o1[5] = captures[6];
   18492                 :           0 :                                 gimple_match_op tem_op (res_op->cond.any_else (), CFN_COND_LEN_ADD, TREE_TYPE (_o1[1]), _o1[0], _o1[1], _o1[2], _o1[3], _o1[4], _o1[5]);
   18493                 :           0 :                                 tem_op.resimplify (lseq, valueize);
   18494                 :           0 :                                 _r1 = maybe_push_res_to_seq (&tem_op, lseq);
   18495                 :           0 :                                 if (!_r1) goto next_after_fail2416;
   18496                 :           0 :                                 res_op->ops[0] = _r1;
   18497                 :             :                               }
   18498                 :           0 :                               res_op->resimplify (lseq, valueize);
   18499                 :           0 :                               if (UNLIKELY (debug_dump)) gimple_dump_logs ("match.pd", 1162, __FILE__, __LINE__, true);
   18500                 :           0 :                               return true;
   18501                 :             :                             }
   18502                 :           0 : next_after_fail2416:;
   18503                 :             :                           }
   18504                 :             :                     }
   18505                 :             :                   }
   18506                 :           0 :                   break;
   18507                 :             :                 }
   18508                 :           0 :               case MINUS_EXPR:
   18509                 :           0 :                 {
   18510                 :           0 :                   tree _q30 = gimple_assign_rhs1 (_a1);
   18511                 :           0 :                   _q30 = do_valueize (valueize, _q30);
   18512                 :           0 :                   tree _q31 = gimple_assign_rhs2 (_a1);
   18513                 :           0 :                   _q31 = do_valueize (valueize, _q31);
   18514                 :           0 :                   {
   18515                 :           0 :                     tree captures[7] ATTRIBUTE_UNUSED = { _p0, _p1, _q30, _q31, _p2, _p3, _p4 };
   18516                 :           0 :                     {
   18517                 :           0 :  tree op_type = TREE_TYPE (captures[1]);
   18518                 :           0 :                         if (vectorized_internal_fn_supported_p (as_internal_fn (CFN_COND_LEN_SUB), op_type)
   18519                 :           0 :  && is_truth_type_for (op_type, TREE_TYPE (captures[0]))
   18520                 :           0 :  && single_use (captures[1])
   18521                 :             : )
   18522                 :             :                           {
   18523                 :           0 :                             gimple_seq *lseq = seq;
   18524                 :           0 :                             if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail2417;
   18525                 :           0 :                             {
   18526                 :           0 :                               res_op->set_op (VIEW_CONVERT_EXPR, type, 1);
   18527                 :           0 :                               {
   18528                 :           0 :                                 tree _o1[6], _r1;
   18529                 :           0 :                                 _o1[0] = captures[0];
   18530                 :           0 :                                 _o1[1] = captures[2];
   18531                 :           0 :                                 _o1[2] = captures[3];
   18532                 :           0 :                                 {
   18533                 :           0 :                                   tree _o2[1], _r2;
   18534                 :           0 :                                   _o2[0] = captures[4];
   18535                 :           0 :                                   gimple_match_op tem_op (res_op->cond.any_else (), VIEW_CONVERT_EXPR, op_type, _o2[0]);
   18536                 :           0 :                                   tem_op.resimplify (lseq, valueize);
   18537                 :           0 :                                   _r2 = maybe_push_res_to_seq (&tem_op, lseq);
   18538                 :           0 :                                   if (!_r2) goto next_after_fail2417;
   18539                 :           0 :                                   _o1[3] = _r2;
   18540                 :             :                                 }
   18541                 :           0 :                                 _o1[4] = captures[5];
   18542                 :           0 :                                 _o1[5] = captures[6];
   18543                 :           0 :                                 gimple_match_op tem_op (res_op->cond.any_else (), CFN_COND_LEN_SUB, TREE_TYPE (_o1[1]), _o1[0], _o1[1], _o1[2], _o1[3], _o1[4], _o1[5]);
   18544                 :           0 :                                 tem_op.resimplify (lseq, valueize);
   18545                 :           0 :                                 _r1 = maybe_push_res_to_seq (&tem_op, lseq);
   18546                 :           0 :                                 if (!_r1) goto next_after_fail2417;
   18547                 :           0 :                                 res_op->ops[0] = _r1;
   18548                 :             :                               }
   18549                 :           0 :                               res_op->resimplify (lseq, valueize);
   18550                 :           0 :                               if (UNLIKELY (debug_dump)) gimple_dump_logs ("match.pd", 1162, __FILE__, __LINE__, true);
   18551                 :           0 :                               return true;
   18552                 :             :                             }
   18553                 :           0 : next_after_fail2417:;
   18554                 :             :                           }
   18555                 :             :                     }
   18556                 :             :                   }
   18557                 :           0 :                   break;
   18558                 :             :                 }
   18559                 :           0 :               case MULT_EXPR:
   18560                 :           0 :                 {
   18561                 :           0 :                   tree _q30 = gimple_assign_rhs1 (_a1);
   18562                 :           0 :                   _q30 = do_valueize (valueize, _q30);
   18563                 :           0 :                   tree _q31 = gimple_assign_rhs2 (_a1);
   18564                 :           0 :                   _q31 = do_valueize (valueize, _q31);
   18565                 :           0 :                   if (tree_swap_operands_p (_q30, _q31))
   18566                 :           0 :                     std::swap (_q30, _q31);
   18567                 :           0 :                   {
   18568                 :           0 :                     tree captures[7] ATTRIBUTE_UNUSED = { _p0, _p1, _q30, _q31, _p2, _p3, _p4 };
   18569                 :           0 :                     {
   18570                 :           0 :  tree op_type = TREE_TYPE (captures[1]);
   18571                 :           0 :                         if (vectorized_internal_fn_supported_p (as_internal_fn (CFN_COND_LEN_MUL), op_type)
   18572                 :           0 :  && is_truth_type_for (op_type, TREE_TYPE (captures[0]))
   18573                 :           0 :  && single_use (captures[1])
   18574                 :             : )
   18575                 :             :                           {
   18576                 :           0 :                             gimple_seq *lseq = seq;
   18577                 :           0 :                             if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail2418;
   18578                 :           0 :                             {
   18579                 :           0 :                               res_op->set_op (VIEW_CONVERT_EXPR, type, 1);
   18580                 :           0 :                               {
   18581                 :           0 :                                 tree _o1[6], _r1;
   18582                 :           0 :                                 _o1[0] = captures[0];
   18583                 :           0 :                                 _o1[1] = captures[2];
   18584                 :           0 :                                 _o1[2] = captures[3];
   18585                 :           0 :                                 {
   18586                 :           0 :                                   tree _o2[1], _r2;
   18587                 :           0 :                                   _o2[0] = captures[4];
   18588                 :           0 :                                   gimple_match_op tem_op (res_op->cond.any_else (), VIEW_CONVERT_EXPR, op_type, _o2[0]);
   18589                 :           0 :                                   tem_op.resimplify (lseq, valueize);
   18590                 :           0 :                                   _r2 = maybe_push_res_to_seq (&tem_op, lseq);
   18591                 :           0 :                                   if (!_r2) goto next_after_fail2418;
   18592                 :           0 :                                   _o1[3] = _r2;
   18593                 :             :                                 }
   18594                 :           0 :                                 _o1[4] = captures[5];
   18595                 :           0 :                                 _o1[5] = captures[6];
   18596                 :           0 :                                 gimple_match_op tem_op (res_op->cond.any_else (), CFN_COND_LEN_MUL, TREE_TYPE (_o1[1]), _o1[0], _o1[1], _o1[2], _o1[3], _o1[4], _o1[5]);
   18597                 :           0 :                                 tem_op.resimplify (lseq, valueize);
   18598                 :           0 :                                 _r1 = maybe_push_res_to_seq (&tem_op, lseq);
   18599                 :           0 :                                 if (!_r1) goto next_after_fail2418;
   18600                 :           0 :                                 res_op->ops[0] = _r1;
   18601                 :             :                               }
   18602                 :           0 :                               res_op->resimplify (lseq, valueize);
   18603                 :           0 :                               if (UNLIKELY (debug_dump)) gimple_dump_logs ("match.pd", 1162, __FILE__, __LINE__, true);
   18604                 :           0 :                               return true;
   18605                 :             :                             }
   18606                 :           0 : next_after_fail2418:;
   18607                 :             :                           }
   18608                 :             :                     }
   18609                 :             :                   }
   18610                 :           0 :                   break;
   18611                 :             :                 }
   18612                 :           0 :               case TRUNC_DIV_EXPR:
   18613                 :           0 :                 {
   18614                 :           0 :                   tree _q30 = gimple_assign_rhs1 (_a1);
   18615                 :           0 :                   _q30 = do_valueize (valueize, _q30);
   18616                 :           0 :                   tree _q31 = gimple_assign_rhs2 (_a1);
   18617                 :           0 :                   _q31 = do_valueize (valueize, _q31);
   18618                 :           0 :                   {
   18619                 :           0 :                     tree captures[7] ATTRIBUTE_UNUSED = { _p0, _p1, _q30, _q31, _p2, _p3, _p4 };
   18620                 :           0 :                     {
   18621                 :           0 :  tree op_type = TREE_TYPE (captures[1]);
   18622                 :           0 :                         if (vectorized_internal_fn_supported_p (as_internal_fn (CFN_COND_LEN_DIV), op_type)
   18623                 :           0 :  && is_truth_type_for (op_type, TREE_TYPE (captures[0]))
   18624                 :           0 :  && single_use (captures[1])
   18625                 :             : )
   18626                 :             :                           {
   18627                 :           0 :                             gimple_seq *lseq = seq;
   18628                 :           0 :                             if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail2419;
   18629                 :           0 :                             {
   18630                 :           0 :                               res_op->set_op (VIEW_CONVERT_EXPR, type, 1);
   18631                 :           0 :                               {
   18632                 :           0 :                                 tree _o1[6], _r1;
   18633                 :           0 :                                 _o1[0] = captures[0];
   18634                 :           0 :                                 _o1[1] = captures[2];
   18635                 :           0 :                                 _o1[2] = captures[3];
   18636                 :           0 :                                 {
   18637                 :           0 :                                   tree _o2[1], _r2;
   18638                 :           0 :                                   _o2[0] = captures[4];
   18639                 :           0 :                                   gimple_match_op tem_op (res_op->cond.any_else (), VIEW_CONVERT_EXPR, op_type, _o2[0]);
   18640                 :           0 :                                   tem_op.resimplify (lseq, valueize);
   18641                 :           0 :                                   _r2 = maybe_push_res_to_seq (&tem_op, lseq);
   18642                 :           0 :                                   if (!_r2) goto next_after_fail2419;
   18643                 :           0 :                                   _o1[3] = _r2;
   18644                 :             :                                 }
   18645                 :           0 :                                 _o1[4] = captures[5];
   18646                 :           0 :                                 _o1[5] = captures[6];
   18647                 :           0 :                                 gimple_match_op tem_op (res_op->cond.any_else (), CFN_COND_LEN_DIV, TREE_TYPE (_o1[1]), _o1[0], _o1[1], _o1[2], _o1[3], _o1[4], _o1[5]);
   18648                 :           0 :                                 tem_op.resimplify (lseq, valueize);
   18649                 :           0 :                                 _r1 = maybe_push_res_to_seq (&tem_op, lseq);
   18650                 :           0 :                                 if (!_r1) goto next_after_fail2419;
   18651                 :           0 :                                 res_op->ops[0] = _r1;
   18652                 :             :                               }
   18653                 :           0 :                               res_op->resimplify (lseq, valueize);
   18654                 :           0 :                               if (UNLIKELY (debug_dump)) gimple_dump_logs ("match.pd", 1162, __FILE__, __LINE__, true);
   18655                 :           0 :                               return true;
   18656                 :             :                             }
   18657                 :           0 : next_after_fail2419:;
   18658                 :             :                           }
   18659                 :             :                     }
   18660                 :             :                   }
   18661                 :           0 :                   break;
   18662                 :             :                 }
   18663                 :           0 :               case TRUNC_MOD_EXPR:
   18664                 :           0 :                 {
   18665                 :           0 :                   tree _q30 = gimple_assign_rhs1 (_a1);
   18666                 :           0 :                   _q30 = do_valueize (valueize, _q30);
   18667                 :           0 :                   tree _q31 = gimple_assign_rhs2 (_a1);
   18668                 :           0 :                   _q31 = do_valueize (valueize, _q31);
   18669                 :           0 :                   {
   18670                 :           0 :                     tree captures[7] ATTRIBUTE_UNUSED = { _p0, _p1, _q30, _q31, _p2, _p3, _p4 };
   18671                 :           0 :                     {
   18672                 :           0 :  tree op_type = TREE_TYPE (captures[1]);
   18673                 :           0 :                         if (vectorized_internal_fn_supported_p (as_internal_fn (CFN_COND_LEN_MOD), op_type)
   18674                 :           0 :  && is_truth_type_for (op_type, TREE_TYPE (captures[0]))
   18675                 :           0 :  && single_use (captures[1])
   18676                 :             : )
   18677                 :             :                           {
   18678                 :           0 :                             gimple_seq *lseq = seq;
   18679                 :           0 :                             if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail2420;
   18680                 :           0 :                             {
   18681                 :           0 :                               res_op->set_op (VIEW_CONVERT_EXPR, type, 1);
   18682                 :           0 :                               {
   18683                 :           0 :                                 tree _o1[6], _r1;
   18684                 :           0 :                                 _o1[0] = captures[0];
   18685                 :           0 :                                 _o1[1] = captures[2];
   18686                 :           0 :                                 _o1[2] = captures[3];
   18687                 :           0 :                                 {
   18688                 :           0 :                                   tree _o2[1], _r2;
   18689                 :           0 :                                   _o2[0] = captures[4];
   18690                 :           0 :                                   gimple_match_op tem_op (res_op->cond.any_else (), VIEW_CONVERT_EXPR, op_type, _o2[0]);
   18691                 :           0 :                                   tem_op.resimplify (lseq, valueize);
   18692                 :           0 :                                   _r2 = maybe_push_res_to_seq (&tem_op, lseq);
   18693                 :           0 :                                   if (!_r2) goto next_after_fail2420;
   18694                 :           0 :                                   _o1[3] = _r2;
   18695                 :             :                                 }
   18696                 :           0 :                                 _o1[4] = captures[5];
   18697                 :           0 :                                 _o1[5] = captures[6];
   18698                 :           0 :                                 gimple_match_op tem_op (res_op->cond.any_else (), CFN_COND_LEN_MOD, TREE_TYPE (_o1[1]), _o1[0], _o1[1], _o1[2], _o1[3], _o1[4], _o1[5]);
   18699                 :           0 :                                 tem_op.resimplify (lseq, valueize);
   18700                 :           0 :                                 _r1 = maybe_push_res_to_seq (&tem_op, lseq);
   18701                 :           0 :                                 if (!_r1) goto next_after_fail2420;
   18702                 :           0 :                                 res_op->ops[0] = _r1;
   18703                 :             :                               }
   18704                 :           0 :                               res_op->resimplify (lseq, valueize);
   18705                 :           0 :                               if (UNLIKELY (debug_dump)) gimple_dump_logs ("match.pd", 1162, __FILE__, __LINE__, true);
   18706                 :           0 :                               return true;
   18707                 :             :                             }
   18708                 :           0 : next_after_fail2420:;
   18709                 :             :                           }
   18710                 :             :                     }
   18711                 :             :                   }
   18712                 :           0 :                   break;
   18713                 :             :                 }
   18714                 :           0 :               case RDIV_EXPR:
   18715                 :           0 :                 {
   18716                 :           0 :                   tree _q30 = gimple_assign_rhs1 (_a1);
   18717                 :           0 :                   _q30 = do_valueize (valueize, _q30);
   18718                 :           0 :                   tree _q31 = gimple_assign_rhs2 (_a1);
   18719                 :           0 :                   _q31 = do_valueize (valueize, _q31);
   18720                 :           0 :                   {
   18721                 :           0 :                     tree captures[7] ATTRIBUTE_UNUSED = { _p0, _p1, _q30, _q31, _p2, _p3, _p4 };
   18722                 :           0 :                     {
   18723                 :           0 :  tree op_type = TREE_TYPE (captures[1]);
   18724                 :           0 :                         if (vectorized_internal_fn_supported_p (as_internal_fn (CFN_COND_LEN_RDIV), op_type)
   18725                 :           0 :  && is_truth_type_for (op_type, TREE_TYPE (captures[0]))
   18726                 :           0 :  && single_use (captures[1])
   18727                 :             : )
   18728                 :             :                           {
   18729                 :           0 :                             gimple_seq *lseq = seq;
   18730                 :           0 :                             if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail2421;
   18731                 :           0 :                             {
   18732                 :           0 :                               res_op->set_op (VIEW_CONVERT_EXPR, type, 1);
   18733                 :           0 :                               {
   18734                 :           0 :                                 tree _o1[6], _r1;
   18735                 :           0 :                                 _o1[0] = captures[0];
   18736                 :           0 :                                 _o1[1] = captures[2];
   18737                 :           0 :                                 _o1[2] = captures[3];
   18738                 :           0 :                                 {
   18739                 :           0 :                                   tree _o2[1], _r2;
   18740                 :           0 :                                   _o2[0] = captures[4];
   18741                 :           0 :                                   gimple_match_op tem_op (res_op->cond.any_else (), VIEW_CONVERT_EXPR, op_type, _o2[0]);
   18742                 :           0 :                                   tem_op.resimplify (lseq, valueize);
   18743                 :           0 :                                   _r2 = maybe_push_res_to_seq (&tem_op, lseq);
   18744                 :           0 :                                   if (!_r2) goto next_after_fail2421;
   18745                 :           0 :                                   _o1[3] = _r2;
   18746                 :             :                                 }
   18747                 :           0 :                                 _o1[4] = captures[5];
   18748                 :           0 :                                 _o1[5] = captures[6];
   18749                 :           0 :                                 gimple_match_op tem_op (res_op->cond.any_else (), CFN_COND_LEN_RDIV, TREE_TYPE (_o1[1]), _o1[0], _o1[1], _o1[2], _o1[3], _o1[4], _o1[5]);
   18750                 :           0 :                                 tem_op.resimplify (lseq, valueize);
   18751                 :           0 :                                 _r1 = maybe_push_res_to_seq (&tem_op, lseq);
   18752                 :           0 :                                 if (!_r1) goto next_after_fail2421;
   18753                 :           0 :                                 res_op->ops[0] = _r1;
   18754                 :             :                               }
   18755                 :           0 :                               res_op->resimplify (lseq, valueize);
   18756                 :           0 :                               if (UNLIKELY (debug_dump)) gimple_dump_logs ("match.pd", 1162, __FILE__, __LINE__, true);
   18757                 :           0 :                               return true;
   18758                 :             :                             }
   18759                 :           0 : next_after_fail2421:;
   18760                 :             :                           }
   18761                 :             :                     }
   18762                 :             :                   }
   18763                 :           0 :                   break;
   18764                 :             :                 }
   18765                 :           0 :               case MIN_EXPR:
   18766                 :           0 :                 {
   18767                 :           0 :                   tree _q30 = gimple_assign_rhs1 (_a1);
   18768                 :           0 :                   _q30 = do_valueize (valueize, _q30);
   18769                 :           0 :                   tree _q31 = gimple_assign_rhs2 (_a1);
   18770                 :           0 :                   _q31 = do_valueize (valueize, _q31);
   18771                 :           0 :                   if (tree_swap_operands_p (_q30, _q31))
   18772                 :           0 :                     std::swap (_q30, _q31);
   18773                 :           0 :                   {
   18774                 :           0 :                     tree captures[7] ATTRIBUTE_UNUSED = { _p0, _p1, _q30, _q31, _p2, _p3, _p4 };
   18775                 :           0 :                     {
   18776                 :           0 :  tree op_type = TREE_TYPE (captures[1]);
   18777                 :           0 :                         if (vectorized_internal_fn_supported_p (as_internal_fn (CFN_COND_LEN_MIN), op_type)
   18778                 :           0 :  && is_truth_type_for (op_type, TREE_TYPE (captures[0]))
   18779                 :           0 :  && single_use (captures[1])
   18780                 :             : )
   18781                 :             :                           {
   18782                 :           0 :                             gimple_seq *lseq = seq;
   18783                 :           0 :                             if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail2422;
   18784                 :           0 :                             {
   18785                 :           0 :                               res_op->set_op (VIEW_CONVERT_EXPR, type, 1);
   18786                 :           0 :                               {
   18787                 :           0 :                                 tree _o1[6], _r1;
   18788                 :           0 :                                 _o1[0] = captures[0];
   18789                 :           0 :                                 _o1[1] = captures[2];
   18790                 :           0 :                                 _o1[2] = captures[3];
   18791                 :           0 :                                 {
   18792                 :           0 :                                   tree _o2[1], _r2;
   18793                 :           0 :                                   _o2[0] = captures[4];
   18794                 :           0 :                                   gimple_match_op tem_op (res_op->cond.any_else (), VIEW_CONVERT_EXPR, op_type, _o2[0]);
   18795                 :           0 :                                   tem_op.resimplify (lseq, valueize);
   18796                 :           0 :                                   _r2 = maybe_push_res_to_seq (&tem_op, lseq);
   18797                 :           0 :                                   if (!_r2) goto next_after_fail2422;
   18798                 :           0 :                                   _o1[3] = _r2;
   18799                 :             :                                 }
   18800                 :           0 :                                 _o1[4] = captures[5];
   18801                 :           0 :                                 _o1[5] = captures[6];
   18802                 :           0 :                                 gimple_match_op tem_op (res_op->cond.any_else (), CFN_COND_LEN_MIN, TREE_TYPE (_o1[1]), _o1[0], _o1[1], _o1[2], _o1[3], _o1[4], _o1[5]);
   18803                 :           0 :                                 tem_op.resimplify (lseq, valueize);
   18804                 :           0 :                                 _r1 = maybe_push_res_to_seq (&tem_op, lseq);
   18805                 :           0 :                                 if (!_r1) goto next_after_fail2422;
   18806                 :           0 :                                 res_op->ops[0] = _r1;
   18807                 :             :                               }
   18808                 :           0 :                               res_op->resimplify (lseq, valueize);
   18809                 :           0 :                               if (UNLIKELY (debug_dump)) gimple_dump_logs ("match.pd", 1162, __FILE__, __LINE__, true);
   18810                 :           0 :                               return true;
   18811                 :             :                             }
   18812                 :           0 : next_after_fail2422:;
   18813                 :             :                           }
   18814                 :             :                     }
   18815                 :             :                   }
   18816                 :           0 :                   break;
   18817                 :             :                 }
   18818                 :           0 :               case MAX_EXPR:
   18819                 :           0 :                 {
   18820                 :           0 :                   tree _q30 = gimple_assign_rhs1 (_a1);
   18821                 :           0 :                   _q30 = do_valueize (valueize, _q30);
   18822                 :           0 :                   tree _q31 = gimple_assign_rhs2 (_a1);
   18823                 :           0 :                   _q31 = do_valueize (valueize, _q31);
   18824                 :           0 :                   if (tree_swap_operands_p (_q30, _q31))
   18825                 :           0 :                     std::swap (_q30, _q31);
   18826                 :           0 :                   {
   18827                 :           0 :                     tree captures[7] ATTRIBUTE_UNUSED = { _p0, _p1, _q30, _q31, _p2, _p3, _p4 };
   18828                 :           0 :                     {
   18829                 :           0 :  tree op_type = TREE_TYPE (captures[1]);
   18830                 :           0 :                         if (vectorized_internal_fn_supported_p (as_internal_fn (CFN_COND_LEN_MAX), op_type)
   18831                 :           0 :  && is_truth_type_for (op_type, TREE_TYPE (captures[0]))
   18832                 :           0 :  && single_use (captures[1])
   18833                 :             : )
   18834                 :             :                           {
   18835                 :           0 :                             gimple_seq *lseq = seq;
   18836                 :           0 :                             if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail2423;
   18837                 :           0 :                             {
   18838                 :           0 :                               res_op->set_op (VIEW_CONVERT_EXPR, type, 1);
   18839                 :           0 :                               {
   18840                 :           0 :                                 tree _o1[6], _r1;
   18841                 :           0 :                                 _o1[0] = captures[0];
   18842                 :           0 :                                 _o1[1] = captures[2];
   18843                 :           0 :                                 _o1[2] = captures[3];
   18844                 :           0 :                                 {
   18845                 :           0 :                                   tree _o2[1], _r2;
   18846                 :           0 :                                   _o2[0] = captures[4];
   18847                 :           0 :                                   gimple_match_op tem_op (res_op->cond.any_else (), VIEW_CONVERT_EXPR, op_type, _o2[0]);
   18848                 :           0 :                                   tem_op.resimplify (lseq, valueize);
   18849                 :           0 :                                   _r2 = maybe_push_res_to_seq (&tem_op, lseq);
   18850                 :           0 :                                   if (!_r2) goto next_after_fail2423;
   18851                 :           0 :                                   _o1[3] = _r2;
   18852                 :             :                                 }
   18853                 :           0 :                                 _o1[4] = captures[5];
   18854                 :           0 :                                 _o1[5] = captures[6];
   18855                 :           0 :                                 gimple_match_op tem_op (res_op->cond.any_else (), CFN_COND_LEN_MAX, TREE_TYPE (_o1[1]), _o1[0], _o1[1], _o1[2], _o1[3], _o1[4], _o1[5]);
   18856                 :           0 :                                 tem_op.resimplify (lseq, valueize);
   18857                 :           0 :                                 _r1 = maybe_push_res_to_seq (&tem_op, lseq);
   18858                 :           0 :                                 if (!_r1) goto next_after_fail2423;
   18859                 :           0 :                                 res_op->ops[0] = _r1;
   18860                 :             :                               }
   18861                 :           0 :                               res_op->resimplify (lseq, valueize);
   18862                 :           0 :                               if (UNLIKELY (debug_dump)) gimple_dump_logs ("match.pd", 1162, __FILE__, __LINE__, true);
   18863                 :           0 :                               return true;
   18864                 :             :                             }
   18865                 :           0 : next_after_fail2423:;
   18866                 :             :                           }
   18867                 :             :                     }
   18868                 :             :                   }
   18869                 :           0 :                   break;
   18870                 :             :                 }
   18871                 :           0 :               case BIT_AND_EXPR:
   18872                 :           0 :                 {
   18873                 :           0 :                   tree _q30 = gimple_assign_rhs1 (_a1);
   18874                 :           0 :                   _q30 = do_valueize (valueize, _q30);
   18875                 :           0 :                   tree _q31 = gimple_assign_rhs2 (_a1);
   18876                 :           0 :                   _q31 = do_valueize (valueize, _q31);
   18877                 :           0 :                   if (tree_swap_operands_p (_q30, _q31))
   18878                 :           0 :                     std::swap (_q30, _q31);
   18879                 :           0 :                   {
   18880                 :           0 :                     tree captures[7] ATTRIBUTE_UNUSED = { _p0, _p1, _q30, _q31, _p2, _p3, _p4 };
   18881                 :           0 :                     {
   18882                 :           0 :  tree op_type = TREE_TYPE (captures[1]);
   18883                 :           0 :                         if (vectorized_internal_fn_supported_p (as_internal_fn (CFN_COND_LEN_AND), op_type)
   18884                 :           0 :  && is_truth_type_for (op_type, TREE_TYPE (captures[0]))
   18885                 :           0 :  && single_use (captures[1])
   18886                 :             : )
   18887                 :             :                           {
   18888                 :           0 :                             gimple_seq *lseq = seq;
   18889                 :           0 :                             if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail2424;
   18890                 :           0 :                             {
   18891                 :           0 :                               res_op->set_op (VIEW_CONVERT_EXPR, type, 1);
   18892                 :           0 :                               {
   18893                 :           0 :                                 tree _o1[6], _r1;
   18894                 :           0 :                                 _o1[0] = captures[0];
   18895                 :           0 :                                 _o1[1] = captures[2];
   18896                 :           0 :                                 _o1[2] = captures[3];
   18897                 :           0 :                                 {
   18898                 :           0 :                                   tree _o2[1], _r2;
   18899                 :           0 :                                   _o2[0] = captures[4];
   18900                 :           0 :                                   gimple_match_op tem_op (res_op->cond.any_else (), VIEW_CONVERT_EXPR, op_type, _o2[0]);
   18901                 :           0 :                                   tem_op.resimplify (lseq, valueize);
   18902                 :           0 :                                   _r2 = maybe_push_res_to_seq (&tem_op, lseq);
   18903                 :           0 :                                   if (!_r2) goto next_after_fail2424;
   18904                 :           0 :                                   _o1[3] = _r2;
   18905                 :             :                                 }
   18906                 :           0 :                                 _o1[4] = captures[5];
   18907                 :           0 :                                 _o1[5] = captures[6];
   18908                 :           0 :                                 gimple_match_op tem_op (res_op->cond.any_else (), CFN_COND_LEN_AND, TREE_TYPE (_o1[1]), _o1[0], _o1[1], _o1[2], _o1[3], _o1[4], _o1[5]);
   18909                 :           0 :                                 tem_op.resimplify (lseq, valueize);
   18910                 :           0 :                                 _r1 = maybe_push_res_to_seq (&tem_op, lseq);
   18911                 :           0 :                                 if (!_r1) goto next_after_fail2424;
   18912                 :           0 :                                 res_op->ops[0] = _r1;
   18913                 :             :                               }
   18914                 :           0 :                               res_op->resimplify (lseq, valueize);
   18915                 :           0 :                               if (UNLIKELY (debug_dump)) gimple_dump_logs ("match.pd", 1162, __FILE__, __LINE__, true);
   18916                 :           0 :                               return true;
   18917                 :             :                             }
   18918                 :           0 : next_after_fail2424:;
   18919                 :             :                           }
   18920                 :             :                     }
   18921                 :             :                   }
   18922                 :           0 :                   break;
   18923                 :             :                 }
   18924                 :           0 :               case BIT_IOR_EXPR:
   18925                 :           0 :                 {
   18926                 :           0 :                   tree _q30 = gimple_assign_rhs1 (_a1);
   18927                 :           0 :                   _q30 = do_valueize (valueize, _q30);
   18928                 :           0 :                   tree _q31 = gimple_assign_rhs2 (_a1);
   18929                 :           0 :                   _q31 = do_valueize (valueize, _q31);
   18930                 :           0 :                   if (tree_swap_operands_p (_q30, _q31))
   18931                 :           0 :                     std::swap (_q30, _q31);
   18932                 :           0 :                   {
   18933                 :           0 :                     tree captures[7] ATTRIBUTE_UNUSED = { _p0, _p1, _q30, _q31, _p2, _p3, _p4 };
   18934                 :           0 :                     {
   18935                 :           0 :  tree op_type = TREE_TYPE (captures[1]);
   18936                 :           0 :                         if (vectorized_internal_fn_supported_p (as_internal_fn (CFN_COND_LEN_IOR), op_type)
   18937                 :           0 :  && is_truth_type_for (op_type, TREE_TYPE (captures[0]))
   18938                 :           0 :  && single_use (captures[1])
   18939                 :             : )
   18940                 :             :                           {
   18941                 :           0 :                             gimple_seq *lseq = seq;
   18942                 :           0 :                             if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail2425;
   18943                 :           0 :                             {
   18944                 :           0 :                               res_op->set_op (VIEW_CONVERT_EXPR, type, 1);
   18945                 :           0 :                               {
   18946                 :           0 :                                 tree _o1[6], _r1;
   18947                 :           0 :                                 _o1[0] = captures[0];
   18948                 :           0 :                                 _o1[1] = captures[2];
   18949                 :           0 :                                 _o1[2] = captures[3];
   18950                 :           0 :                                 {
   18951                 :           0 :                                   tree _o2[1], _r2;
   18952                 :           0 :                                   _o2[0] = captures[4];
   18953                 :           0 :                                   gimple_match_op tem_op (res_op->cond.any_else (), VIEW_CONVERT_EXPR, op_type, _o2[0]);
   18954                 :           0 :                                   tem_op.resimplify (lseq, valueize);
   18955                 :           0 :                                   _r2 = maybe_push_res_to_seq (&tem_op, lseq);
   18956                 :           0 :                                   if (!_r2) goto next_after_fail2425;
   18957                 :           0 :                                   _o1[3] = _r2;
   18958                 :             :                                 }
   18959                 :           0 :                                 _o1[4] = captures[5];
   18960                 :           0 :                                 _o1[5] = captures[6];
   18961                 :           0 :                                 gimple_match_op tem_op (res_op->cond.any_else (), CFN_COND_LEN_IOR, TREE_TYPE (_o1[1]), _o1[0], _o1[1], _o1[2], _o1[3], _o1[4], _o1[5]);
   18962                 :           0 :                                 tem_op.resimplify (lseq, valueize);
   18963                 :           0 :                                 _r1 = maybe_push_res_to_seq (&tem_op, lseq);
   18964                 :           0 :                                 if (!_r1) goto next_after_fail2425;
   18965                 :           0 :                                 res_op->ops[0] = _r1;
   18966                 :             :                               }
   18967                 :           0 :                               res_op->resimplify (lseq, valueize);
   18968                 :           0 :                               if (UNLIKELY (debug_dump)) gimple_dump_logs ("match.pd", 1162, __FILE__, __LINE__, true);
   18969                 :           0 :                               return true;
   18970                 :             :                             }
   18971                 :           0 : next_after_fail2425:;
   18972                 :             :                           }
   18973                 :             :                     }
   18974                 :             :                   }
   18975                 :           0 :                   break;
   18976                 :             :                 }
   18977                 :           0 :               case BIT_XOR_EXPR:
   18978                 :           0 :                 {
   18979                 :           0 :                   tree _q30 = gimple_assign_rhs1 (_a1);
   18980                 :           0 :                   _q30 = do_valueize (valueize, _q30);
   18981                 :           0 :                   tree _q31 = gimple_assign_rhs2 (_a1);
   18982                 :           0 :                   _q31 = do_valueize (valueize, _q31);
   18983                 :           0 :                   if (tree_swap_operands_p (_q30, _q31))
   18984                 :           0 :                     std::swap (_q30, _q31);
   18985                 :           0 :                   {
   18986                 :           0 :                     tree captures[7] ATTRIBUTE_UNUSED = { _p0, _p1, _q30, _q31, _p2, _p3, _p4 };
   18987                 :           0 :                     {
   18988                 :           0 :  tree op_type = TREE_TYPE (captures[1]);
   18989                 :           0 :                         if (vectorized_internal_fn_supported_p (as_internal_fn (CFN_COND_LEN_XOR), op_type)
   18990                 :           0 :  && is_truth_type_for (op_type, TREE_TYPE (captures[0]))
   18991                 :           0 :  && single_use (captures[1])
   18992                 :             : )
   18993                 :             :                           {
   18994                 :           0 :                             gimple_seq *lseq = seq;
   18995                 :           0 :                             if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail2426;
   18996                 :           0 :                             {
   18997                 :           0 :                               res_op->set_op (VIEW_CONVERT_EXPR, type, 1);
   18998                 :           0 :                               {
   18999                 :           0 :                                 tree _o1[6], _r1;
   19000                 :           0 :                                 _o1[0] = captures[0];
   19001                 :           0 :                                 _o1[1] = captures[2];
   19002                 :           0 :                                 _o1[2] = captures[3];
   19003                 :           0 :                                 {
   19004                 :           0 :                                   tree _o2[1], _r2;
   19005                 :           0 :                                   _o2[0] = captures[4];
   19006                 :           0 :                                   gimple_match_op tem_op (res_op->cond.any_else (), VIEW_CONVERT_EXPR, op_type, _o2[0]);
   19007                 :           0 :                                   tem_op.resimplify (lseq, valueize);
   19008                 :           0 :                                   _r2 = maybe_push_res_to_seq (&tem_op, lseq);
   19009                 :           0 :                                   if (!_r2) goto next_after_fail2426;
   19010                 :           0 :                                   _o1[3] = _r2;
   19011                 :             :                                 }
   19012                 :           0 :                                 _o1[4] = captures[5];
   19013                 :           0 :                                 _o1[5] = captures[6];
   19014                 :           0 :                                 gimple_match_op tem_op (res_op->cond.any_else (), CFN_COND_LEN_XOR, TREE_TYPE (_o1[1]), _o1[0], _o1[1], _o1[2], _o1[3], _o1[4], _o1[5]);
   19015                 :           0 :                                 tem_op.resimplify (lseq, valueize);
   19016                 :           0 :                                 _r1 = maybe_push_res_to_seq (&tem_op, lseq);
   19017                 :           0 :                                 if (!_r1) goto next_after_fail2426;
   19018                 :           0 :                                 res_op->ops[0] = _r1;
   19019                 :             :                               }
   19020                 :           0 :                               res_op->resimplify (lseq, valueize);
   19021                 :           0 :                               if (UNLIKELY (debug_dump)) gimple_dump_logs ("match.pd", 1162, __FILE__, __LINE__, true);
   19022                 :           0 :                               return true;
   19023                 :             :                             }
   19024                 :           0 : next_after_fail2426:;
   19025                 :             :                           }
   19026                 :             :                     }
   19027                 :             :                   }
   19028                 :           0 :                   break;
   19029                 :             :                 }
   19030                 :           0 :               case LSHIFT_EXPR:
   19031                 :           0 :                 {
   19032                 :           0 :                   tree _q30 = gimple_assign_rhs1 (_a1);
   19033                 :           0 :                   _q30 = do_valueize (valueize, _q30);
   19034                 :           0 :                   tree _q31 = gimple_assign_rhs2 (_a1);
   19035                 :           0 :                   _q31 = do_valueize (valueize, _q31);
   19036                 :           0 :                   {
   19037                 :           0 :                     tree captures[7] ATTRIBUTE_UNUSED = { _p0, _p1, _q30, _q31, _p2, _p3, _p4 };
   19038                 :           0 :                     {
   19039                 :           0 :  tree op_type = TREE_TYPE (captures[1]);
   19040                 :           0 :                         if (vectorized_internal_fn_supported_p (as_internal_fn (CFN_COND_LEN_SHL), op_type)
   19041                 :           0 :  && is_truth_type_for (op_type, TREE_TYPE (captures[0]))
   19042                 :           0 :  && single_use (captures[1])
   19043                 :             : )
   19044                 :             :                           {
   19045                 :           0 :                             gimple_seq *lseq = seq;
   19046                 :           0 :                             if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail2427;
   19047                 :           0 :                             {
   19048                 :           0 :                               res_op->set_op (VIEW_CONVERT_EXPR, type, 1);
   19049                 :           0 :                               {
   19050                 :           0 :                                 tree _o1[6], _r1;
   19051                 :           0 :                                 _o1[0] = captures[0];
   19052                 :           0 :                                 _o1[1] = captures[2];
   19053                 :           0 :                                 _o1[2] = captures[3];
   19054                 :           0 :                                 {
   19055                 :           0 :                                   tree _o2[1], _r2;
   19056                 :           0 :                                   _o2[0] = captures[4];
   19057                 :           0 :                                   gimple_match_op tem_op (res_op->cond.any_else (), VIEW_CONVERT_EXPR, op_type, _o2[0]);
   19058                 :           0 :                                   tem_op.resimplify (lseq, valueize);
   19059                 :           0 :                                   _r2 = maybe_push_res_to_seq (&tem_op, lseq);
   19060                 :           0 :                                   if (!_r2) goto next_after_fail2427;
   19061                 :           0 :                                   _o1[3] = _r2;
   19062                 :             :                                 }
   19063                 :           0 :                                 _o1[4] = captures[5];
   19064                 :           0 :                                 _o1[5] = captures[6];
   19065                 :           0 :                                 gimple_match_op tem_op (res_op->cond.any_else (), CFN_COND_LEN_SHL, TREE_TYPE (_o1[1]), _o1[0], _o1[1], _o1[2], _o1[3], _o1[4], _o1[5]);
   19066                 :           0 :                                 tem_op.resimplify (lseq, valueize);
   19067                 :           0 :                                 _r1 = maybe_push_res_to_seq (&tem_op, lseq);
   19068                 :           0 :                                 if (!_r1) goto next_after_fail2427;
   19069                 :           0 :                                 res_op->ops[0] = _r1;
   19070                 :             :                               }
   19071                 :           0 :                               res_op->resimplify (lseq, valueize);
   19072                 :           0 :                               if (UNLIKELY (debug_dump)) gimple_dump_logs ("match.pd", 1162, __FILE__, __LINE__, true);
   19073                 :           0 :                               return true;
   19074                 :             :                             }
   19075                 :           0 : next_after_fail2427:;
   19076                 :             :                           }
   19077                 :             :                     }
   19078                 :             :                   }
   19079                 :           0 :                   break;
   19080                 :             :                 }
   19081                 :           0 :               case RSHIFT_EXPR:
   19082                 :           0 :                 {
   19083                 :           0 :                   tree _q30 = gimple_assign_rhs1 (_a1);
   19084                 :           0 :                   _q30 = do_valueize (valueize, _q30);
   19085                 :           0 :                   tree _q31 = gimple_assign_rhs2 (_a1);
   19086                 :           0 :                   _q31 = do_valueize (valueize, _q31);
   19087                 :           0 :                   {
   19088                 :           0 :                     tree captures[7] ATTRIBUTE_UNUSED = { _p0, _p1, _q30, _q31, _p2, _p3, _p4 };
   19089                 :           0 :                     {
   19090                 :           0 :  tree op_type = TREE_TYPE (captures[1]);
   19091                 :           0 :                         if (vectorized_internal_fn_supported_p (as_internal_fn (CFN_COND_LEN_SHR), op_type)
   19092                 :           0 :  && is_truth_type_for (op_type, TREE_TYPE (captures[0]))
   19093                 :           0 :  && single_use (captures[1])
   19094                 :             : )
   19095                 :             :                           {
   19096                 :           0 :                             gimple_seq *lseq = seq;
   19097                 :           0 :                             if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail2428;
   19098                 :           0 :                             {
   19099                 :           0 :                               res_op->set_op (VIEW_CONVERT_EXPR, type, 1);
   19100                 :           0 :                               {
   19101                 :           0 :                                 tree _o1[6], _r1;
   19102                 :           0 :                                 _o1[0] = captures[0];
   19103                 :           0 :                                 _o1[1] = captures[2];
   19104                 :           0 :                                 _o1[2] = captures[3];
   19105                 :           0 :                                 {
   19106                 :           0 :                                   tree _o2[1], _r2;
   19107                 :           0 :                                   _o2[0] = captures[4];
   19108                 :           0 :                                   gimple_match_op tem_op (res_op->cond.any_else (), VIEW_CONVERT_EXPR, op_type, _o2[0]);
   19109                 :           0 :                                   tem_op.resimplify (lseq, valueize);
   19110                 :           0 :                                   _r2 = maybe_push_res_to_seq (&tem_op, lseq);
   19111                 :           0 :                                   if (!_r2) goto next_after_fail2428;
   19112                 :           0 :                                   _o1[3] = _r2;
   19113                 :             :                                 }
   19114                 :           0 :                                 _o1[4] = captures[5];
   19115                 :           0 :                                 _o1[5] = captures[6];
   19116                 :           0 :                                 gimple_match_op tem_op (res_op->cond.any_else (), CFN_COND_LEN_SHR, TREE_TYPE (_o1[1]), _o1[0], _o1[1], _o1[2], _o1[3], _o1[4], _o1[5]);
   19117                 :           0 :                                 tem_op.resimplify (lseq, valueize);
   19118                 :           0 :                                 _r1 = maybe_push_res_to_seq (&tem_op, lseq);
   19119                 :           0 :                                 if (!_r1) goto next_after_fail2428;
   19120                 :           0 :                                 res_op->ops[0] = _r1;
   19121                 :             :                               }
   19122                 :           0 :                               res_op->resimplify (lseq, valueize);
   19123                 :           0 :                               if (UNLIKELY (debug_dump)) gimple_dump_logs ("match.pd", 1162, __FILE__, __LINE__, true);
   19124                 :           0 :                               return true;
   19125                 :             :                             }
   19126                 :           0 : next_after_fail2428:;
   19127                 :             :                           }
   19128                 :             :                     }
   19129                 :             :                   }
   19130                 :           0 :                   break;
   19131                 :             :                 }
   19132                 :             :               default:;
   19133                 :             :               }
   19134                 :           0 :           else if (gcall *_c1 = dyn_cast <gcall *> (_d1))
   19135                 :           0 :             switch (gimple_call_combined_fn (_c1))
   19136                 :             :               {
   19137                 :           0 :               case CFN_FMAX:
   19138                 :           0 :                 if (gimple_call_num_args (_c1) == 2)
   19139                 :             :                   {
   19140                 :           0 :                     tree _q30 = gimple_call_arg (_c1, 0);
   19141                 :           0 :                     _q30 = do_valueize (valueize, _q30);
   19142                 :           0 :                     tree _q31 = gimple_call_arg (_c1, 1);
   19143                 :           0 :                     _q31 = do_valueize (valueize, _q31);
   19144                 :           0 :                     {
   19145                 :           0 :                       tree captures[7] ATTRIBUTE_UNUSED = { _p0, _p1, _q30, _q31, _p2, _p3, _p4 };
   19146                 :           0 :                       {
   19147                 :           0 :  tree op_type = TREE_TYPE (captures[1]);
   19148                 :           0 :                           if (vectorized_internal_fn_supported_p (as_internal_fn (CFN_COND_LEN_FMAX), op_type)
   19149                 :           0 :  && is_truth_type_for (op_type, TREE_TYPE (captures[0]))
   19150                 :           0 :  && single_use (captures[1])
   19151                 :             : )
   19152                 :             :                             {
   19153                 :           0 :                               gimple_seq *lseq = seq;
   19154                 :           0 :                               if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail2429;
   19155                 :           0 :                               {
   19156                 :           0 :                                 res_op->set_op (VIEW_CONVERT_EXPR, type, 1);
   19157                 :           0 :                                 {
   19158                 :           0 :                                   tree _o1[6], _r1;
   19159                 :           0 :                                   _o1[0] = captures[0];
   19160                 :           0 :                                   _o1[1] = captures[2];
   19161                 :           0 :                                   _o1[2] = captures[3];
   19162                 :           0 :                                   {
   19163                 :           0 :                                     tree _o2[1], _r2;
   19164                 :           0 :                                     _o2[0] = captures[4];
   19165                 :           0 :                                     gimple_match_op tem_op (res_op->cond.any_else (), VIEW_CONVERT_EXPR, op_type, _o2[0]);
   19166                 :           0 :                                     tem_op.resimplify (lseq, valueize);
   19167                 :           0 :                                     _r2 = maybe_push_res_to_seq (&tem_op, lseq);
   19168                 :           0 :                                     if (!_r2) goto next_after_fail2429;
   19169                 :           0 :                                     _o1[3] = _r2;
   19170                 :             :                                   }
   19171                 :           0 :                                   _o1[4] = captures[5];
   19172                 :           0 :                                   _o1[5] = captures[6];
   19173                 :           0 :                                   gimple_match_op tem_op (res_op->cond.any_else (), CFN_COND_LEN_FMAX, TREE_TYPE (_o1[1]), _o1[0], _o1[1], _o1[2], _o1[3], _o1[4], _o1[5]);
   19174                 :           0 :                                   tem_op.resimplify (lseq, valueize);
   19175                 :           0 :                                   _r1 = maybe_push_res_to_seq (&tem_op, lseq);
   19176                 :           0 :                                   if (!_r1) goto next_after_fail2429;
   19177                 :           0 :                                   res_op->ops[0] = _r1;
   19178                 :             :                                 }
   19179                 :           0 :                                 res_op->resimplify (lseq, valueize);
   19180                 :           0 :                                 if (UNLIKELY (debug_dump)) gimple_dump_logs ("match.pd", 1162, __FILE__, __LINE__, true);
   19181                 :           0 :                                 return true;
   19182                 :             :                               }
   19183                 :           0 : next_after_fail2429:;
   19184                 :             :                             }
   19185                 :             :                       }
   19186                 :             :                     }
   19187                 :             :                   }
   19188                 :             :                 break;
   19189                 :           0 :               case CFN_FMIN:
   19190                 :           0 :                 if (gimple_call_num_args (_c1) == 2)
   19191                 :             :                   {
   19192                 :           0 :                     tree _q30 = gimple_call_arg (_c1, 0);
   19193                 :           0 :                     _q30 = do_valueize (valueize, _q30);
   19194                 :           0 :                     tree _q31 = gimple_call_arg (_c1, 1);
   19195                 :           0 :                     _q31 = do_valueize (valueize, _q31);
   19196                 :           0 :                     {
   19197                 :           0 :                       tree captures[7] ATTRIBUTE_UNUSED = { _p0, _p1, _q30, _q31, _p2, _p3, _p4 };
   19198                 :           0 :                       {
   19199                 :           0 :  tree op_type = TREE_TYPE (captures[1]);
   19200                 :           0 :                           if (vectorized_internal_fn_supported_p (as_internal_fn (CFN_COND_LEN_FMIN), op_type)
   19201                 :           0 :  && is_truth_type_for (op_type, TREE_TYPE (captures[0]))
   19202                 :           0 :  && single_use (captures[1])
   19203                 :             : )
   19204                 :             :                             {
   19205                 :           0 :                               gimple_seq *lseq = seq;
   19206                 :           0 :                               if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail2430;
   19207                 :           0 :                               {
   19208                 :           0 :                                 res_op->set_op (VIEW_CONVERT_EXPR, type, 1);
   19209                 :           0 :                                 {
   19210                 :           0 :                                   tree _o1[6], _r1;
   19211                 :           0 :                                   _o1[0] = captures[0];
   19212                 :           0 :                                   _o1[1] = captures[2];
   19213                 :           0 :                                   _o1[2] = captures[3];
   19214                 :           0 :                                   {
   19215                 :           0 :                                     tree _o2[1], _r2;
   19216                 :           0 :                                     _o2[0] = captures[4];
   19217                 :           0 :                                     gimple_match_op tem_op (res_op->cond.any_else (), VIEW_CONVERT_EXPR, op_type, _o2[0]);
   19218                 :           0 :                                     tem_op.resimplify (lseq, valueize);
   19219                 :           0 :                                     _r2 = maybe_push_res_to_seq (&tem_op, lseq);
   19220                 :           0 :                                     if (!_r2) goto next_after_fail2430;
   19221                 :           0 :                                     _o1[3] = _r2;
   19222                 :             :                                   }
   19223                 :           0 :                                   _o1[4] = captures[5];
   19224                 :           0 :                                   _o1[5] = captures[6];
   19225                 :           0 :                                   gimple_match_op tem_op (res_op->cond.any_else (), CFN_COND_LEN_FMIN, TREE_TYPE (_o1[1]), _o1[0], _o1[1], _o1[2], _o1[3], _o1[4], _o1[5]);
   19226                 :           0 :                                   tem_op.resimplify (lseq, valueize);
   19227                 :           0 :                                   _r1 = maybe_push_res_to_seq (&tem_op, lseq);
   19228                 :           0 :                                   if (!_r1) goto next_after_fail2430;
   19229                 :           0 :                                   res_op->ops[0] = _r1;
   19230                 :             :                                 }
   19231                 :           0 :                                 res_op->resimplify (lseq, valueize);
   19232                 :           0 :                                 if (UNLIKELY (debug_dump)) gimple_dump_logs ("match.pd", 1162, __FILE__, __LINE__, true);
   19233                 :           0 :                                 return true;
   19234                 :             :                               }
   19235                 :           0 : next_after_fail2430:;
   19236                 :             :                             }
   19237                 :             :                       }
   19238                 :             :                     }
   19239                 :             :                   }
   19240                 :             :                 break;
   19241                 :           0 :               case CFN_COPYSIGN:
   19242                 :           0 :                 if (gimple_call_num_args (_c1) == 2)
   19243                 :             :                   {
   19244                 :           0 :                     tree _q30 = gimple_call_arg (_c1, 0);
   19245                 :           0 :                     _q30 = do_valueize (valueize, _q30);
   19246                 :           0 :                     tree _q31 = gimple_call_arg (_c1, 1);
   19247                 :           0 :                     _q31 = do_valueize (valueize, _q31);
   19248                 :           0 :                     {
   19249                 :           0 :                       tree captures[7] ATTRIBUTE_UNUSED = { _p0, _p1, _q30, _q31, _p2, _p3, _p4 };
   19250                 :           0 :                       {
   19251                 :           0 :  tree op_type = TREE_TYPE (captures[1]);
   19252                 :           0 :                           if (vectorized_internal_fn_supported_p (as_internal_fn (CFN_COND_LEN_COPYSIGN), op_type)
   19253                 :           0 :  && is_truth_type_for (op_type, TREE_TYPE (captures[0]))
   19254                 :           0 :  && single_use (captures[1])
   19255                 :             : )
   19256                 :             :                             {
   19257                 :           0 :                               gimple_seq *lseq = seq;
   19258                 :           0 :                               if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail2431;
   19259                 :           0 :                               {
   19260                 :           0 :                                 res_op->set_op (VIEW_CONVERT_EXPR, type, 1);
   19261                 :           0 :                                 {
   19262                 :           0 :                                   tree _o1[6], _r1;
   19263                 :           0 :                                   _o1[0] = captures[0];
   19264                 :           0 :                                   _o1[1] = captures[2];
   19265                 :           0 :                                   _o1[2] = captures[3];
   19266                 :           0 :                                   {
   19267                 :           0 :                                     tree _o2[1], _r2;
   19268                 :           0 :                                     _o2[0] = captures[4];
   19269                 :           0 :                                     gimple_match_op tem_op (res_op->cond.any_else (), VIEW_CONVERT_EXPR, op_type, _o2[0]);
   19270                 :           0 :                                     tem_op.resimplify (lseq, valueize);
   19271                 :           0 :                                     _r2 = maybe_push_res_to_seq (&tem_op, lseq);
   19272                 :           0 :                                     if (!_r2) goto next_after_fail2431;
   19273                 :           0 :                                     _o1[3] = _r2;
   19274                 :             :                                   }
   19275                 :           0 :                                   _o1[4] = captures[5];
   19276                 :           0 :                                   _o1[5] = captures[6];
   19277                 :           0 :                                   gimple_match_op tem_op (res_op->cond.any_else (), CFN_COND_LEN_COPYSIGN, TREE_TYPE (_o1[1]), _o1[0], _o1[1], _o1[2], _o1[3], _o1[4], _o1[5]);
   19278                 :           0 :                                   tem_op.resimplify (lseq, valueize);
   19279                 :           0 :                                   _r1 = maybe_push_res_to_seq (&tem_op, lseq);
   19280                 :           0 :                                   if (!_r1) goto next_after_fail2431;
   19281                 :           0 :                                   res_op->ops[0] = _r1;
   19282                 :             :                                 }
   19283                 :           0 :                                 res_op->resimplify (lseq, valueize);
   19284                 :           0 :                                 if (UNLIKELY (debug_dump)) gimple_dump_logs ("match.pd", 1162, __FILE__, __LINE__, true);
   19285                 :           0 :                                 return true;
   19286                 :             :                               }
   19287                 :           0 : next_after_fail2431:;
   19288                 :             :                             }
   19289                 :             :                       }
   19290                 :             :                     }
   19291                 :             :                   }
   19292                 :             :                 break;
   19293                 :             :               default:;
   19294                 :             :               }
   19295                 :             :         }
   19296                 :             :       break;
   19297                 :           0 :     default:;
   19298                 :             :     }
   19299                 :           0 :   switch (TREE_CODE (_p2))
   19300                 :             :     {
   19301                 :           0 :     case SSA_NAME:
   19302                 :           0 :       if (gimple *_d1 = get_def (valueize, _p2))
   19303                 :             :         {
   19304                 :           0 :           if (gassign *_a1 = dyn_cast <gassign *> (_d1))
   19305                 :           0 :             switch (gimple_assign_rhs_code (_a1))
   19306                 :             :               {
   19307                 :           0 :               case VIEW_CONVERT_EXPR:
   19308                 :           0 :                 {
   19309                 :           0 :                   tree _q40 = TREE_OPERAND (gimple_assign_rhs1 (_a1), 0);
   19310                 :           0 :                   if ((TREE_CODE (_q40) == SSA_NAME
   19311                 :           0 :                        || is_gimple_min_invariant (_q40)))
   19312                 :             :                     {
   19313                 :           0 :                       _q40 = do_valueize (valueize, _q40);
   19314                 :           0 :                       switch (TREE_CODE (_q40))
   19315                 :             :                         {
   19316                 :           0 :                         case SSA_NAME:
   19317                 :           0 :                           if (gimple *_d2 = get_def (valueize, _q40))
   19318                 :             :                             {
   19319                 :           0 :                               if (gassign *_a2 = dyn_cast <gassign *> (_d2))
   19320                 :           0 :                                 switch (gimple_assign_rhs_code (_a2))
   19321                 :             :                                   {
   19322                 :           0 :                                   case PLUS_EXPR:
   19323                 :           0 :                                     {
   19324                 :           0 :                                       tree _q50 = gimple_assign_rhs1 (_a2);
   19325                 :           0 :                                       _q50 = do_valueize (valueize, _q50);
   19326                 :           0 :                                       tree _q51 = gimple_assign_rhs2 (_a2);
   19327                 :           0 :                                       _q51 = do_valueize (valueize, _q51);
   19328                 :           0 :                                       if (tree_swap_operands_p (_q50, _q51))
   19329                 :           0 :                                         std::swap (_q50, _q51);
   19330                 :           0 :                                       {
   19331                 :           0 :                                         tree captures[7] ATTRIBUTE_UNUSED = { _p0, _p1, _q40, _q50, _q51, _p3, _p4 };
   19332                 :           0 :                                         {
   19333                 :           0 :  tree op_type = TREE_TYPE (captures[2]);
   19334                 :           0 :                                             if (vectorized_internal_fn_supported_p (as_internal_fn (CFN_COND_LEN_ADD), op_type)
   19335                 :           0 :  && is_truth_type_for (op_type, TREE_TYPE (captures[0]))
   19336                 :           0 :  && single_use (captures[2])
   19337                 :             : )
   19338                 :             :                                               {
   19339                 :           0 :                                                 gimple_seq *lseq = seq;
   19340                 :           0 :                                                 if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail2432;
   19341                 :           0 :                                                 {
   19342                 :           0 :                                                   res_op->set_op (VIEW_CONVERT_EXPR, type, 1);
   19343                 :           0 :                                                   {
   19344                 :           0 :                                                     tree _o1[6], _r1;
   19345                 :           0 :                                                     {
   19346                 :           0 :                                                       tree _o2[1], _r2;
   19347                 :           0 :                                                       _o2[0] = captures[0];
   19348                 :           0 :                                                       gimple_match_op tem_op (res_op->cond.any_else (), BIT_NOT_EXPR, TREE_TYPE (_o2[0]), _o2[0]);
   19349                 :           0 :                                                       tem_op.resimplify (lseq, valueize);
   19350                 :           0 :                                                       _r2 = maybe_push_res_to_seq (&tem_op, lseq);
   19351                 :           0 :                                                       if (!_r2) goto next_after_fail2432;
   19352                 :           0 :                                                       _o1[0] = _r2;
   19353                 :             :                                                     }
   19354                 :           0 :                                                     _o1[1] = captures[3];
   19355                 :           0 :                                                     _o1[2] = captures[4];
   19356                 :           0 :                                                     {
   19357                 :           0 :                                                       tree _o2[1], _r2;
   19358                 :           0 :                                                       _o2[0] = captures[1];
   19359                 :           0 :                                                       gimple_match_op tem_op (res_op->cond.any_else (), VIEW_CONVERT_EXPR, op_type, _o2[0]);
   19360                 :           0 :                                                       tem_op.resimplify (lseq, valueize);
   19361                 :           0 :                                                       _r2 = maybe_push_res_to_seq (&tem_op, lseq);
   19362                 :           0 :                                                       if (!_r2) goto next_after_fail2432;
   19363                 :           0 :                                                       _o1[3] = _r2;
   19364                 :             :                                                     }
   19365                 :           0 :                                                     _o1[4] = captures[5];
   19366                 :           0 :                                                     _o1[5] = captures[6];
   19367                 :           0 :                                                     gimple_match_op tem_op (res_op->cond.any_else (), CFN_COND_LEN_ADD, TREE_TYPE (_o1[1]), _o1[0], _o1[1], _o1[2], _o1[3], _o1[4], _o1[5]);
   19368                 :           0 :                                                     tem_op.resimplify (lseq, valueize);
   19369                 :           0 :                                                     _r1 = maybe_push_res_to_seq (&tem_op, lseq);
   19370                 :           0 :                                                     if (!_r1) goto next_after_fail2432;
   19371                 :           0 :                                                     res_op->ops[0] = _r1;
   19372                 :             :                                                   }
   19373                 :           0 :                                                   res_op->resimplify (lseq, valueize);
   19374                 :           0 :                                                   if (UNLIKELY (debug_dump)) gimple_dump_logs ("match.pd", 1163, __FILE__, __LINE__, true);
   19375                 :           0 :                                                   return true;
   19376                 :             :                                                 }
   19377                 :           0 : next_after_fail2432:;
   19378                 :             :                                               }
   19379                 :             :                                         }
   19380                 :             :                                       }
   19381                 :           0 :                                       break;
   19382                 :             :                                     }
   19383                 :           0 :                                   case MINUS_EXPR:
   19384                 :           0 :                                     {
   19385                 :           0 :                                       tree _q50 = gimple_assign_rhs1 (_a2);
   19386                 :           0 :                                       _q50 = do_valueize (valueize, _q50);
   19387                 :           0 :                                       tree _q51 = gimple_assign_rhs2 (_a2);
   19388                 :           0 :                                       _q51 = do_valueize (valueize, _q51);
   19389                 :           0 :                                       {
   19390                 :           0 :                                         tree captures[7] ATTRIBUTE_UNUSED = { _p0, _p1, _q40, _q50, _q51, _p3, _p4 };
   19391                 :           0 :                                         {
   19392                 :           0 :  tree op_type = TREE_TYPE (captures[2]);
   19393                 :           0 :                                             if (vectorized_internal_fn_supported_p (as_internal_fn (CFN_COND_LEN_SUB), op_type)
   19394                 :           0 :  && is_truth_type_for (op_type, TREE_TYPE (captures[0]))
   19395                 :           0 :  && single_use (captures[2])
   19396                 :             : )
   19397                 :             :                                               {
   19398                 :           0 :                                                 gimple_seq *lseq = seq;
   19399                 :           0 :                                                 if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail2433;
   19400                 :           0 :                                                 {
   19401                 :           0 :                                                   res_op->set_op (VIEW_CONVERT_EXPR, type, 1);
   19402                 :           0 :                                                   {
   19403                 :           0 :                                                     tree _o1[6], _r1;
   19404                 :           0 :                                                     {
   19405                 :           0 :                                                       tree _o2[1], _r2;
   19406                 :           0 :                                                       _o2[0] = captures[0];
   19407                 :           0 :                                                       gimple_match_op tem_op (res_op->cond.any_else (), BIT_NOT_EXPR, TREE_TYPE (_o2[0]), _o2[0]);
   19408                 :           0 :                                                       tem_op.resimplify (lseq, valueize);
   19409                 :           0 :                                                       _r2 = maybe_push_res_to_seq (&tem_op, lseq);
   19410                 :           0 :                                                       if (!_r2) goto next_after_fail2433;
   19411                 :           0 :                                                       _o1[0] = _r2;
   19412                 :             :                                                     }
   19413                 :           0 :                                                     _o1[1] = captures[3];
   19414                 :           0 :                                                     _o1[2] = captures[4];
   19415                 :           0 :                                                     {
   19416                 :           0 :                                                       tree _o2[1], _r2;
   19417                 :           0 :                                                       _o2[0] = captures[1];
   19418                 :           0 :                                                       gimple_match_op tem_op (res_op->cond.any_else (), VIEW_CONVERT_EXPR, op_type, _o2[0]);
   19419                 :           0 :                                                       tem_op.resimplify (lseq, valueize);
   19420                 :           0 :                                                       _r2 = maybe_push_res_to_seq (&tem_op, lseq);
   19421                 :           0 :                                                       if (!_r2) goto next_after_fail2433;
   19422                 :           0 :                                                       _o1[3] = _r2;
   19423                 :             :                                                     }
   19424                 :           0 :                                                     _o1[4] = captures[5];
   19425                 :           0 :                                                     _o1[5] = captures[6];
   19426                 :           0 :                                                     gimple_match_op tem_op (res_op->cond.any_else (), CFN_COND_LEN_SUB, TREE_TYPE (_o1[1]), _o1[0], _o1[1], _o1[2], _o1[3], _o1[4], _o1[5]);
   19427                 :           0 :                                                     tem_op.resimplify (lseq, valueize);
   19428                 :           0 :                                                     _r1 = maybe_push_res_to_seq (&tem_op, lseq);
   19429                 :           0 :                                                     if (!_r1) goto next_after_fail2433;
   19430                 :           0 :                                                     res_op->ops[0] = _r1;
   19431                 :             :                                                   }
   19432                 :           0 :                                                   res_op->resimplify (lseq, valueize);
   19433                 :           0 :                                                   if (UNLIKELY (debug_dump)) gimple_dump_logs ("match.pd", 1163, __FILE__, __LINE__, true);
   19434                 :           0 :                                                   return true;
   19435                 :             :                                                 }
   19436                 :           0 : next_after_fail2433:;
   19437                 :             :                                               }
   19438                 :             :                                         }
   19439                 :             :                                       }
   19440                 :           0 :                                       break;
   19441                 :             :                                     }
   19442                 :           0 :                                   case MULT_EXPR:
   19443                 :           0 :                                     {
   19444                 :           0 :                                       tree _q50 = gimple_assign_rhs1 (_a2);
   19445                 :           0 :                                       _q50 = do_valueize (valueize, _q50);
   19446                 :           0 :                                       tree _q51 = gimple_assign_rhs2 (_a2);
   19447                 :           0 :                                       _q51 = do_valueize (valueize, _q51);
   19448                 :           0 :                                       if (tree_swap_operands_p (_q50, _q51))
   19449                 :           0 :                                         std::swap (_q50, _q51);
   19450                 :           0 :                                       {
   19451                 :           0 :                                         tree captures[7] ATTRIBUTE_UNUSED = { _p0, _p1, _q40, _q50, _q51, _p3, _p4 };
   19452                 :           0 :                                         {
   19453                 :           0 :  tree op_type = TREE_TYPE (captures[2]);
   19454                 :           0 :                                             if (vectorized_internal_fn_supported_p (as_internal_fn (CFN_COND_LEN_MUL), op_type)
   19455                 :           0 :  && is_truth_type_for (op_type, TREE_TYPE (captures[0]))
   19456                 :           0 :  && single_use (captures[2])
   19457                 :             : )
   19458                 :             :                                               {
   19459                 :           0 :                                                 gimple_seq *lseq = seq;
   19460                 :           0 :                                                 if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail2434;
   19461                 :           0 :                                                 {
   19462                 :           0 :                                                   res_op->set_op (VIEW_CONVERT_EXPR, type, 1);
   19463                 :           0 :                                                   {
   19464                 :           0 :                                                     tree _o1[6], _r1;
   19465                 :           0 :                                                     {
   19466                 :           0 :                                                       tree _o2[1], _r2;
   19467                 :           0 :                                                       _o2[0] = captures[0];
   19468                 :           0 :                                                       gimple_match_op tem_op (res_op->cond.any_else (), BIT_NOT_EXPR, TREE_TYPE (_o2[0]), _o2[0]);
   19469                 :           0 :                                                       tem_op.resimplify (lseq, valueize);
   19470                 :           0 :                                                       _r2 = maybe_push_res_to_seq (&tem_op, lseq);
   19471                 :           0 :                                                       if (!_r2) goto next_after_fail2434;
   19472                 :           0 :                                                       _o1[0] = _r2;
   19473                 :             :                                                     }
   19474                 :           0 :                                                     _o1[1] = captures[3];
   19475                 :           0 :                                                     _o1[2] = captures[4];
   19476                 :           0 :                                                     {
   19477                 :           0 :                                                       tree _o2[1], _r2;
   19478                 :           0 :                                                       _o2[0] = captures[1];
   19479                 :           0 :                                                       gimple_match_op tem_op (res_op->cond.any_else (), VIEW_CONVERT_EXPR, op_type, _o2[0]);
   19480                 :           0 :                                                       tem_op.resimplify (lseq, valueize);
   19481                 :           0 :                                                       _r2 = maybe_push_res_to_seq (&tem_op, lseq);
   19482                 :           0 :                                                       if (!_r2) goto next_after_fail2434;
   19483                 :           0 :                                                       _o1[3] = _r2;
   19484                 :             :                                                     }
   19485                 :           0 :                                                     _o1[4] = captures[5];
   19486                 :           0 :                                                     _o1[5] = captures[6];
   19487                 :           0 :                                                     gimple_match_op tem_op (res_op->cond.any_else (), CFN_COND_LEN_MUL, TREE_TYPE (_o1[1]), _o1[0], _o1[1], _o1[2], _o1[3], _o1[4], _o1[5]);
   19488                 :           0 :                                                     tem_op.resimplify (lseq, valueize);
   19489                 :           0 :                                                     _r1 = maybe_push_res_to_seq (&tem_op, lseq);
   19490                 :           0 :                                                     if (!_r1) goto next_after_fail2434;
   19491                 :           0 :                                                     res_op->ops[0] = _r1;
   19492                 :             :                                                   }
   19493                 :           0 :                                                   res_op->resimplify (lseq, valueize);
   19494                 :           0 :                                                   if (UNLIKELY (debug_dump)) gimple_dump_logs ("match.pd", 1163, __FILE__, __LINE__, true);
   19495                 :           0 :                                                   return true;
   19496                 :             :                                                 }
   19497                 :           0 : next_after_fail2434:;
   19498                 :             :                                               }
   19499                 :             :                                         }
   19500                 :             :                                       }
   19501                 :           0 :                                       break;
   19502                 :             :                                     }
   19503                 :           0 :                                   case TRUNC_DIV_EXPR:
   19504                 :           0 :                                     {
   19505                 :           0 :                                       tree _q50 = gimple_assign_rhs1 (_a2);
   19506                 :           0 :                                       _q50 = do_valueize (valueize, _q50);
   19507                 :           0 :                                       tree _q51 = gimple_assign_rhs2 (_a2);
   19508                 :           0 :                                       _q51 = do_valueize (valueize, _q51);
   19509                 :           0 :                                       {
   19510                 :           0 :                                         tree captures[7] ATTRIBUTE_UNUSED = { _p0, _p1, _q40, _q50, _q51, _p3, _p4 };
   19511                 :           0 :                                         {
   19512                 :           0 :  tree op_type = TREE_TYPE (captures[2]);
   19513                 :           0 :                                             if (vectorized_internal_fn_supported_p (as_internal_fn (CFN_COND_LEN_DIV), op_type)
   19514                 :           0 :  && is_truth_type_for (op_type, TREE_TYPE (captures[0]))
   19515                 :           0 :  && single_use (captures[2])
   19516                 :             : )
   19517                 :             :                                               {
   19518                 :           0 :                                                 gimple_seq *lseq = seq;
   19519                 :           0 :                                                 if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail2435;
   19520                 :           0 :                                                 {
   19521                 :           0 :                                                   res_op->set_op (VIEW_CONVERT_EXPR, type, 1);
   19522                 :           0 :                                                   {
   19523                 :           0 :                                                     tree _o1[6], _r1;
   19524                 :           0 :                                                     {
   19525                 :           0 :                                                       tree _o2[1], _r2;
   19526                 :           0 :                                                       _o2[0] = captures[0];
   19527                 :           0 :                                                       gimple_match_op tem_op (res_op->cond.any_else (), BIT_NOT_EXPR, TREE_TYPE (_o2[0]), _o2[0]);
   19528                 :           0 :                                                       tem_op.resimplify (lseq, valueize);
   19529                 :           0 :                                                       _r2 = maybe_push_res_to_seq (&tem_op, lseq);
   19530                 :           0 :                                                       if (!_r2) goto next_after_fail2435;
   19531                 :           0 :                                                       _o1[0] = _r2;
   19532                 :             :                                                     }
   19533                 :           0 :                                                     _o1[1] = captures[3];
   19534                 :           0 :                                                     _o1[2] = captures[4];
   19535                 :           0 :                                                     {
   19536                 :           0 :                                                       tree _o2[1], _r2;
   19537                 :           0 :                                                       _o2[0] = captures[1];
   19538                 :           0 :                                                       gimple_match_op tem_op (res_op->cond.any_else (), VIEW_CONVERT_EXPR, op_type, _o2[0]);
   19539                 :           0 :                                                       tem_op.resimplify (lseq, valueize);
   19540                 :           0 :                                                       _r2 = maybe_push_res_to_seq (&tem_op, lseq);
   19541                 :           0 :                                                       if (!_r2) goto next_after_fail2435;
   19542                 :           0 :                                                       _o1[3] = _r2;
   19543                 :             :                                                     }
   19544                 :           0 :                                                     _o1[4] = captures[5];
   19545                 :           0 :                                                     _o1[5] = captures[6];
   19546                 :           0 :                                                     gimple_match_op tem_op (res_op->cond.any_else (), CFN_COND_LEN_DIV, TREE_TYPE (_o1[1]), _o1[0], _o1[1], _o1[2], _o1[3], _o1[4], _o1[5]);
   19547                 :           0 :                                                     tem_op.resimplify (lseq, valueize);
   19548                 :           0 :                                                     _r1 = maybe_push_res_to_seq (&tem_op, lseq);
   19549                 :           0 :                                                     if (!_r1) goto next_after_fail2435;
   19550                 :           0 :                                                     res_op->ops[0] = _r1;
   19551                 :             :                                                   }
   19552                 :           0 :                                                   res_op->resimplify (lseq, valueize);
   19553                 :           0 :                                                   if (UNLIKELY (debug_dump)) gimple_dump_logs ("match.pd", 1163, __FILE__, __LINE__, true);
   19554                 :           0 :                                                   return true;
   19555                 :             :                                                 }
   19556                 :           0 : next_after_fail2435:;
   19557                 :             :                                               }
   19558                 :             :                                         }
   19559                 :             :                                       }
   19560                 :           0 :                                       break;
   19561                 :             :                                     }
   19562                 :           0 :                                   case TRUNC_MOD_EXPR:
   19563                 :           0 :                                     {
   19564                 :           0 :                                       tree _q50 = gimple_assign_rhs1 (_a2);
   19565                 :           0 :                                       _q50 = do_valueize (valueize, _q50);
   19566                 :           0 :                                       tree _q51 = gimple_assign_rhs2 (_a2);
   19567                 :           0 :                                       _q51 = do_valueize (valueize, _q51);
   19568                 :           0 :                                       {
   19569                 :           0 :                                         tree captures[7] ATTRIBUTE_UNUSED = { _p0, _p1, _q40, _q50, _q51, _p3, _p4 };
   19570                 :           0 :                                         {
   19571                 :           0 :  tree op_type = TREE_TYPE (captures[2]);
   19572                 :           0 :                                             if (vectorized_internal_fn_supported_p (as_internal_fn (CFN_COND_LEN_MOD), op_type)
   19573                 :           0 :  && is_truth_type_for (op_type, TREE_TYPE (captures[0]))
   19574                 :           0 :  && single_use (captures[2])
   19575                 :             : )
   19576                 :             :                                               {
   19577                 :           0 :                                                 gimple_seq *lseq = seq;
   19578                 :           0 :                                                 if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail2436;
   19579                 :           0 :                                                 {
   19580                 :           0 :                                                   res_op->set_op (VIEW_CONVERT_EXPR, type, 1);
   19581                 :           0 :                                                   {
   19582                 :           0 :                                                     tree _o1[6], _r1;
   19583                 :           0 :                                                     {
   19584                 :           0 :                                                       tree _o2[1], _r2;
   19585                 :           0 :                                                       _o2[0] = captures[0];
   19586                 :           0 :                                                       gimple_match_op tem_op (res_op->cond.any_else (), BIT_NOT_EXPR, TREE_TYPE (_o2[0]), _o2[0]);
   19587                 :           0 :                                                       tem_op.resimplify (lseq, valueize);
   19588                 :           0 :                                                       _r2 = maybe_push_res_to_seq (&tem_op, lseq);
   19589                 :           0 :                                                       if (!_r2) goto next_after_fail2436;
   19590                 :           0 :                                                       _o1[0] = _r2;
   19591                 :             :                                                     }
   19592                 :           0 :                                                     _o1[1] = captures[3];
   19593                 :           0 :                                                     _o1[2] = captures[4];
   19594                 :           0 :                                                     {
   19595                 :           0 :                                                       tree _o2[1], _r2;
   19596                 :           0 :                                                       _o2[0] = captures[1];
   19597                 :           0 :                                                       gimple_match_op tem_op (res_op->cond.any_else (), VIEW_CONVERT_EXPR, op_type, _o2[0]);
   19598                 :           0 :                                                       tem_op.resimplify (lseq, valueize);
   19599                 :           0 :                                                       _r2 = maybe_push_res_to_seq (&tem_op, lseq);
   19600                 :           0 :                                                       if (!_r2) goto next_after_fail2436;
   19601                 :           0 :                                                       _o1[3] = _r2;
   19602                 :             :                                                     }
   19603                 :           0 :                                                     _o1[4] = captures[5];
   19604                 :           0 :                                                     _o1[5] = captures[6];
   19605                 :           0 :                                                     gimple_match_op tem_op (res_op->cond.any_else (), CFN_COND_LEN_MOD, TREE_TYPE (_o1[1]), _o1[0], _o1[1], _o1[2], _o1[3], _o1[4], _o1[5]);
   19606                 :           0 :                                                     tem_op.resimplify (lseq, valueize);
   19607                 :           0 :                                                     _r1 = maybe_push_res_to_seq (&tem_op, lseq);
   19608                 :           0 :                                                     if (!_r1) goto next_after_fail2436;
   19609                 :           0 :                                                     res_op->ops[0] = _r1;
   19610                 :             :                                                   }
   19611                 :           0 :                                                   res_op->resimplify (lseq, valueize);
   19612                 :           0 :                                                   if (UNLIKELY (debug_dump)) gimple_dump_logs ("match.pd", 1163, __FILE__, __LINE__, true);
   19613                 :           0 :                                                   return true;
   19614                 :             :                                                 }
   19615                 :           0 : next_after_fail2436:;
   19616                 :             :                                               }
   19617                 :             :                                         }
   19618                 :             :                                       }
   19619                 :           0 :                                       break;
   19620                 :             :                                     }
   19621                 :           0 :                                   case RDIV_EXPR:
   19622                 :           0 :                                     {
   19623                 :           0 :                                       tree _q50 = gimple_assign_rhs1 (_a2);
   19624                 :           0 :                                       _q50 = do_valueize (valueize, _q50);
   19625                 :           0 :                                       tree _q51 = gimple_assign_rhs2 (_a2);
   19626                 :           0 :                                       _q51 = do_valueize (valueize, _q51);
   19627                 :           0 :                                       {
   19628                 :           0 :                                         tree captures[7] ATTRIBUTE_UNUSED = { _p0, _p1, _q40, _q50, _q51, _p3, _p4 };
   19629                 :           0 :                                         {
   19630                 :           0 :  tree op_type = TREE_TYPE (captures[2]);
   19631                 :           0 :                                             if (vectorized_internal_fn_supported_p (as_internal_fn (CFN_COND_LEN_RDIV), op_type)
   19632                 :           0 :  && is_truth_type_for (op_type, TREE_TYPE (captures[0]))
   19633                 :           0 :  && single_use (captures[2])
   19634                 :             : )
   19635                 :             :                                               {
   19636                 :           0 :                                                 gimple_seq *lseq = seq;
   19637                 :           0 :                                                 if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail2437;
   19638                 :           0 :                                                 {
   19639                 :           0 :                                                   res_op->set_op (VIEW_CONVERT_EXPR, type, 1);
   19640                 :           0 :                                                   {
   19641                 :           0 :                                                     tree _o1[6], _r1;
   19642                 :           0 :                                                     {
   19643                 :           0 :                                                       tree _o2[1], _r2;
   19644                 :           0 :                                                       _o2[0] = captures[0];
   19645                 :           0 :                                                       gimple_match_op tem_op (res_op->cond.any_else (), BIT_NOT_EXPR, TREE_TYPE (_o2[0]), _o2[0]);
   19646                 :           0 :                                                       tem_op.resimplify (lseq, valueize);
   19647                 :           0 :                                                       _r2 = maybe_push_res_to_seq (&tem_op, lseq);
   19648                 :           0 :                                                       if (!_r2) goto next_after_fail2437;
   19649                 :           0 :                                                       _o1[0] = _r2;
   19650                 :             :                                                     }
   19651                 :           0 :                                                     _o1[1] = captures[3];
   19652                 :           0 :                                                     _o1[2] = captures[4];
   19653                 :           0 :                                                     {
   19654                 :           0 :                                                       tree _o2[1], _r2;
   19655                 :           0 :                                                       _o2[0] = captures[1];
   19656                 :           0 :                                                       gimple_match_op tem_op (res_op->cond.any_else (), VIEW_CONVERT_EXPR, op_type, _o2[0]);
   19657                 :           0 :                                                       tem_op.resimplify (lseq, valueize);
   19658                 :           0 :                                                       _r2 = maybe_push_res_to_seq (&tem_op, lseq);
   19659                 :           0 :                                                       if (!_r2) goto next_after_fail2437;
   19660                 :           0 :                                                       _o1[3] = _r2;
   19661                 :             :                                                     }
   19662                 :           0 :                                                     _o1[4] = captures[5];
   19663                 :           0 :                                                     _o1[5] = captures[6];
   19664                 :           0 :                                                     gimple_match_op tem_op (res_op->cond.any_else (), CFN_COND_LEN_RDIV, TREE_TYPE (_o1[1]), _o1[0], _o1[1], _o1[2], _o1[3], _o1[4], _o1[5]);
   19665                 :           0 :                                                     tem_op.resimplify (lseq, valueize);
   19666                 :           0 :                                                     _r1 = maybe_push_res_to_seq (&tem_op, lseq);
   19667                 :           0 :                                                     if (!_r1) goto next_after_fail2437;
   19668                 :           0 :                                                     res_op->ops[0] = _r1;
   19669                 :             :                                                   }
   19670                 :           0 :                                                   res_op->resimplify (lseq, valueize);
   19671                 :           0 :                                                   if (UNLIKELY (debug_dump)) gimple_dump_logs ("match.pd", 1163, __FILE__, __LINE__, true);
   19672                 :           0 :                                                   return true;
   19673                 :             :                                                 }
   19674                 :           0 : next_after_fail2437:;
   19675                 :             :                                               }
   19676                 :             :                                         }
   19677                 :             :                                       }
   19678                 :           0 :                                       break;
   19679                 :             :                                     }
   19680                 :           0 :                                   case MIN_EXPR:
   19681                 :           0 :                                     {
   19682                 :           0 :                                       tree _q50 = gimple_assign_rhs1 (_a2);
   19683                 :           0 :                                       _q50 = do_valueize (valueize, _q50);
   19684                 :           0 :                                       tree _q51 = gimple_assign_rhs2 (_a2);
   19685                 :           0 :                                       _q51 = do_valueize (valueize, _q51);
   19686                 :           0 :                                       if (tree_swap_operands_p (_q50, _q51))
   19687                 :           0 :                                         std::swap (_q50, _q51);
   19688                 :           0 :                                       {
   19689                 :           0 :                                         tree captures[7] ATTRIBUTE_UNUSED = { _p0, _p1, _q40, _q50, _q51, _p3, _p4 };
   19690                 :           0 :                                         {
   19691                 :           0 :  tree op_type = TREE_TYPE (captures[2]);
   19692                 :           0 :                                             if (vectorized_internal_fn_supported_p (as_internal_fn (CFN_COND_LEN_MIN), op_type)
   19693                 :           0 :  && is_truth_type_for (op_type, TREE_TYPE (captures[0]))
   19694                 :           0 :  && single_use (captures[2])
   19695                 :             : )
   19696                 :             :                                               {
   19697                 :           0 :                                                 gimple_seq *lseq = seq;
   19698                 :           0 :                                                 if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail2438;
   19699                 :           0 :                                                 {
   19700                 :           0 :                                                   res_op->set_op (VIEW_CONVERT_EXPR, type, 1);
   19701                 :           0 :                                                   {
   19702                 :           0 :                                                     tree _o1[6], _r1;
   19703                 :           0 :                                                     {
   19704                 :           0 :                                                       tree _o2[1], _r2;
   19705                 :           0 :                                                       _o2[0] = captures[0];
   19706                 :           0 :                                                       gimple_match_op tem_op (res_op->cond.any_else (), BIT_NOT_EXPR, TREE_TYPE (_o2[0]), _o2[0]);
   19707                 :           0 :                                                       tem_op.resimplify (lseq, valueize);
   19708                 :           0 :                                                       _r2 = maybe_push_res_to_seq (&tem_op, lseq);
   19709                 :           0 :                                                       if (!_r2) goto next_after_fail2438;
   19710                 :           0 :                                                       _o1[0] = _r2;
   19711                 :             :                                                     }
   19712                 :           0 :                                                     _o1[1] = captures[3];
   19713                 :           0 :                                                     _o1[2] = captures[4];
   19714                 :           0 :                                                     {
   19715                 :           0 :                                                       tree _o2[1], _r2;
   19716                 :           0 :                                                       _o2[0] = captures[1];
   19717                 :           0 :                                                       gimple_match_op tem_op (res_op->cond.any_else (), VIEW_CONVERT_EXPR, op_type, _o2[0]);
   19718                 :           0 :                                                       tem_op.resimplify (lseq, valueize);
   19719                 :           0 :                                                       _r2 = maybe_push_res_to_seq (&tem_op, lseq);
   19720                 :           0 :                                                       if (!_r2) goto next_after_fail2438;
   19721                 :           0 :                                                       _o1[3] = _r2;
   19722                 :             :                                                     }
   19723                 :           0 :                                                     _o1[4] = captures[5];
   19724                 :           0 :                                                     _o1[5] = captures[6];
   19725                 :           0 :                                                     gimple_match_op tem_op (res_op->cond.any_else (), CFN_COND_LEN_MIN, TREE_TYPE (_o1[1]), _o1[0], _o1[1], _o1[2], _o1[3], _o1[4], _o1[5]);
   19726                 :           0 :                                                     tem_op.resimplify (lseq, valueize);
   19727                 :           0 :                                                     _r1 = maybe_push_res_to_seq (&tem_op, lseq);
   19728                 :           0 :                                                     if (!_r1) goto next_after_fail2438;
   19729                 :           0 :                                                     res_op->ops[0] = _r1;
   19730                 :             :                                                   }
   19731                 :           0 :                                                   res_op->resimplify (lseq, valueize);
   19732                 :           0 :                                                   if (UNLIKELY (debug_dump)) gimple_dump_logs ("match.pd", 1163, __FILE__, __LINE__, true);
   19733                 :           0 :                                                   return true;
   19734                 :             :                                                 }
   19735                 :           0 : next_after_fail2438:;
   19736                 :             :                                               }
   19737                 :             :                                         }
   19738                 :             :                                       }
   19739                 :           0 :                                       break;
   19740                 :             :                                     }
   19741                 :           0 :                                   case MAX_EXPR:
   19742                 :           0 :                                     {
   19743                 :           0 :                                       tree _q50 = gimple_assign_rhs1 (_a2);
   19744                 :           0 :                                       _q50 = do_valueize (valueize, _q50);
   19745                 :           0 :                                       tree _q51 = gimple_assign_rhs2 (_a2);
   19746                 :           0 :                                       _q51 = do_valueize (valueize, _q51);
   19747                 :           0 :                                       if (tree_swap_operands_p (_q50, _q51))
   19748                 :           0 :                                         std::swap (_q50, _q51);
   19749                 :           0 :                                       {
   19750                 :           0 :                                         tree captures[7] ATTRIBUTE_UNUSED = { _p0, _p1, _q40, _q50, _q51, _p3, _p4 };
   19751                 :           0 :                                         {
   19752                 :           0 :  tree op_type = TREE_TYPE (captures[2]);
   19753                 :           0 :                                             if (vectorized_internal_fn_supported_p (as_internal_fn (CFN_COND_LEN_MAX), op_type)
   19754                 :           0 :  && is_truth_type_for (op_type, TREE_TYPE (captures[0]))
   19755                 :           0 :  && single_use (captures[2])
   19756                 :             : )
   19757                 :             :                                               {
   19758                 :           0 :                                                 gimple_seq *lseq = seq;
   19759                 :           0 :                                                 if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail2439;
   19760                 :           0 :                                                 {
   19761                 :           0 :                                                   res_op->set_op (VIEW_CONVERT_EXPR, type, 1);
   19762                 :           0 :                                                   {
   19763                 :           0 :                                                     tree _o1[6], _r1;
   19764                 :           0 :                                                     {
   19765                 :           0 :                                                       tree _o2[1], _r2;
   19766                 :           0 :                                                       _o2[0] = captures[0];
   19767                 :           0 :                                                       gimple_match_op tem_op (res_op->cond.any_else (), BIT_NOT_EXPR, TREE_TYPE (_o2[0]), _o2[0]);
   19768                 :           0 :                                                       tem_op.resimplify (lseq, valueize);
   19769                 :           0 :                                                       _r2 = maybe_push_res_to_seq (&tem_op, lseq);
   19770                 :           0 :                                                       if (!_r2) goto next_after_fail2439;
   19771                 :           0 :                                                       _o1[0] = _r2;
   19772                 :             :                                                     }
   19773                 :           0 :                                                     _o1[1] = captures[3];
   19774                 :           0 :                                                     _o1[2] = captures[4];
   19775                 :           0 :                                                     {
   19776                 :           0 :                                                       tree _o2[1], _r2;
   19777                 :           0 :                                                       _o2[0] = captures[1];
   19778                 :           0 :                                                       gimple_match_op tem_op (res_op->cond.any_else (), VIEW_CONVERT_EXPR, op_type, _o2[0]);
   19779                 :           0 :                                                       tem_op.resimplify (lseq, valueize);
   19780                 :           0 :                                                       _r2 = maybe_push_res_to_seq (&tem_op, lseq);
   19781                 :           0 :                                                       if (!_r2) goto next_after_fail2439;
   19782                 :           0 :                                                       _o1[3] = _r2;
   19783                 :             :                                                     }
   19784                 :           0 :                                                     _o1[4] = captures[5];
   19785                 :           0 :                                                     _o1[5] = captures[6];
   19786                 :           0 :                                                     gimple_match_op tem_op (res_op->cond.any_else (), CFN_COND_LEN_MAX, TREE_TYPE (_o1[1]), _o1[0], _o1[1], _o1[2], _o1[3], _o1[4], _o1[5]);
   19787                 :           0 :                                                     tem_op.resimplify (lseq, valueize);
   19788                 :           0 :                                                     _r1 = maybe_push_res_to_seq (&tem_op, lseq);
   19789                 :           0 :                                                     if (!_r1) goto next_after_fail2439;
   19790                 :           0 :                                                     res_op->ops[0] = _r1;
   19791                 :             :                                                   }
   19792                 :           0 :                                                   res_op->resimplify (lseq, valueize);
   19793                 :           0 :                                                   if (UNLIKELY (debug_dump)) gimple_dump_logs ("match.pd", 1163, __FILE__, __LINE__, true);
   19794                 :           0 :                                                   return true;
   19795                 :             :                                                 }
   19796                 :           0 : next_after_fail2439:;
   19797                 :             :                                               }
   19798                 :             :                                         }
   19799                 :             :                                       }
   19800                 :           0 :                                       break;
   19801                 :             :                                     }
   19802                 :           0 :                                   case BIT_AND_EXPR:
   19803                 :           0 :                                     {
   19804                 :           0 :                                       tree _q50 = gimple_assign_rhs1 (_a2);
   19805                 :           0 :                                       _q50 = do_valueize (valueize, _q50);
   19806                 :           0 :                                       tree _q51 = gimple_assign_rhs2 (_a2);
   19807                 :           0 :                                       _q51 = do_valueize (valueize, _q51);
   19808                 :           0 :                                       if (tree_swap_operands_p (_q50, _q51))
   19809                 :           0 :                                         std::swap (_q50, _q51);
   19810                 :           0 :                                       {
   19811                 :           0 :                                         tree captures[7] ATTRIBUTE_UNUSED = { _p0, _p1, _q40, _q50, _q51, _p3, _p4 };
   19812                 :           0 :                                         {
   19813                 :           0 :  tree op_type = TREE_TYPE (captures[2]);
   19814                 :           0 :                                             if (vectorized_internal_fn_supported_p (as_internal_fn (CFN_COND_LEN_AND), op_type)
   19815                 :           0 :  && is_truth_type_for (op_type, TREE_TYPE (captures[0]))
   19816                 :           0 :  && single_use (captures[2])
   19817                 :             : )
   19818                 :             :                                               {
   19819                 :           0 :                                                 gimple_seq *lseq = seq;
   19820                 :           0 :                                                 if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail2440;
   19821                 :           0 :                                                 {
   19822                 :           0 :                                                   res_op->set_op (VIEW_CONVERT_EXPR, type, 1);
   19823                 :           0 :                                                   {
   19824                 :           0 :                                                     tree _o1[6], _r1;
   19825                 :           0 :                                                     {
   19826                 :           0 :                                                       tree _o2[1], _r2;
   19827                 :           0 :                                                       _o2[0] = captures[0];
   19828                 :           0 :                                                       gimple_match_op tem_op (res_op->cond.any_else (), BIT_NOT_EXPR, TREE_TYPE (_o2[0]), _o2[0]);
   19829                 :           0 :                                                       tem_op.resimplify (lseq, valueize);
   19830                 :           0 :                                                       _r2 = maybe_push_res_to_seq (&tem_op, lseq);
   19831                 :           0 :                                                       if (!_r2) goto next_after_fail2440;
   19832                 :           0 :                                                       _o1[0] = _r2;
   19833                 :             :                                                     }
   19834                 :           0 :                                                     _o1[1] = captures[3];
   19835                 :           0 :                                                     _o1[2] = captures[4];
   19836                 :           0 :                                                     {
   19837                 :           0 :                                                       tree _o2[1], _r2;
   19838                 :           0 :                                                       _o2[0] = captures[1];
   19839                 :           0 :                                                       gimple_match_op tem_op (res_op->cond.any_else (), VIEW_CONVERT_EXPR, op_type, _o2[0]);
   19840                 :           0 :                                                       tem_op.resimplify (lseq, valueize);
   19841                 :           0 :                                                       _r2 = maybe_push_res_to_seq (&tem_op, lseq);
   19842                 :           0 :                                                       if (!_r2) goto next_after_fail2440;
   19843                 :           0 :                                                       _o1[3] = _r2;
   19844                 :             :                                                     }
   19845                 :           0 :                                                     _o1[4] = captures[5];
   19846                 :           0 :                                                     _o1[5] = captures[6];
   19847                 :           0 :                                                     gimple_match_op tem_op (res_op->cond.any_else (), CFN_COND_LEN_AND, TREE_TYPE (_o1[1]), _o1[0], _o1[1], _o1[2], _o1[3], _o1[4], _o1[5]);
   19848                 :           0 :                                                     tem_op.resimplify (lseq, valueize);
   19849                 :           0 :                                                     _r1 = maybe_push_res_to_seq (&tem_op, lseq);
   19850                 :           0 :                                                     if (!_r1) goto next_after_fail2440;
   19851                 :           0 :                                                     res_op->ops[0] = _r1;
   19852                 :             :                                                   }
   19853                 :           0 :                                                   res_op->resimplify (lseq, valueize);
   19854                 :           0 :                                                   if (UNLIKELY (debug_dump)) gimple_dump_logs ("match.pd", 1163, __FILE__, __LINE__, true);
   19855                 :           0 :                                                   return true;
   19856                 :             :                                                 }
   19857                 :           0 : next_after_fail2440:;
   19858                 :             :                                               }
   19859                 :             :                                         }
   19860                 :             :                                       }
   19861                 :           0 :                                       break;
   19862                 :             :                                     }
   19863                 :           0 :                                   case BIT_IOR_EXPR:
   19864                 :           0 :                                     {
   19865                 :           0 :                                       tree _q50 = gimple_assign_rhs1 (_a2);
   19866                 :           0 :                                       _q50 = do_valueize (valueize, _q50);
   19867                 :           0 :                                       tree _q51 = gimple_assign_rhs2 (_a2);
   19868                 :           0 :                                       _q51 = do_valueize (valueize, _q51);
   19869                 :           0 :                                       if (tree_swap_operands_p (_q50, _q51))
   19870                 :           0 :                                         std::swap (_q50, _q51);
   19871                 :           0 :                                       {
   19872                 :           0 :                                         tree captures[7] ATTRIBUTE_UNUSED = { _p0, _p1, _q40, _q50, _q51, _p3, _p4 };
   19873                 :           0 :                                         {
   19874                 :           0 :  tree op_type = TREE_TYPE (captures[2]);
   19875                 :           0 :                                             if (vectorized_internal_fn_supported_p (as_internal_fn (CFN_COND_LEN_IOR), op_type)
   19876                 :           0 :  && is_truth_type_for (op_type, TREE_TYPE (captures[0]))
   19877                 :           0 :  && single_use (captures[2])
   19878                 :             : )
   19879                 :             :                                               {
   19880                 :           0 :                                                 gimple_seq *lseq = seq;
   19881                 :           0 :                                                 if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail2441;
   19882                 :           0 :                                                 {
   19883                 :           0 :                                                   res_op->set_op (VIEW_CONVERT_EXPR, type, 1);
   19884                 :           0 :                                                   {
   19885                 :           0 :                                                     tree _o1[6], _r1;
   19886                 :           0 :                                                     {
   19887                 :           0 :                                                       tree _o2[1], _r2;
   19888                 :           0 :                                                       _o2[0] = captures[0];
   19889                 :           0 :                                                       gimple_match_op tem_op (res_op->cond.any_else (), BIT_NOT_EXPR, TREE_TYPE (_o2[0]), _o2[0]);
   19890                 :           0 :                                                       tem_op.resimplify (lseq, valueize);
   19891                 :           0 :                                                       _r2 = maybe_push_res_to_seq (&tem_op, lseq);
   19892                 :           0 :                                                       if (!_r2) goto next_after_fail2441;
   19893                 :           0 :                                                       _o1[0] = _r2;
   19894                 :             :                                                     }
   19895                 :           0 :                                                     _o1[1] = captures[3];
   19896                 :           0 :                                                     _o1[2] = captures[4];
   19897                 :           0 :                                                     {
   19898                 :           0 :                                                       tree _o2[1], _r2;
   19899                 :           0 :                                                       _o2[0] = captures[1];
   19900                 :           0 :                                                       gimple_match_op tem_op (res_op->cond.any_else (), VIEW_CONVERT_EXPR, op_type, _o2[0]);
   19901                 :           0 :                                                       tem_op.resimplify (lseq, valueize);
   19902                 :           0 :                                                       _r2 = maybe_push_res_to_seq (&tem_op, lseq);
   19903                 :           0 :                                                       if (!_r2) goto next_after_fail2441;
   19904                 :           0 :                                                       _o1[3] = _r2;
   19905                 :             :                                                     }
   19906                 :           0 :                                                     _o1[4] = captures[5];
   19907                 :           0 :                                                     _o1[5] = captures[6];
   19908                 :           0 :                                                     gimple_match_op tem_op (res_op->cond.any_else (), CFN_COND_LEN_IOR, TREE_TYPE (_o1[1]), _o1[0], _o1[1], _o1[2], _o1[3], _o1[4], _o1[5]);
   19909                 :           0 :                                                     tem_op.resimplify (lseq, valueize);
   19910                 :           0 :                                                     _r1 = maybe_push_res_to_seq (&tem_op, lseq);
   19911                 :           0 :                                                     if (!_r1) goto next_after_fail2441;
   19912                 :           0 :                                                     res_op->ops[0] = _r1;
   19913                 :             :                                                   }
   19914                 :           0 :                                                   res_op->resimplify (lseq, valueize);
   19915                 :           0 :                                                   if (UNLIKELY (debug_dump)) gimple_dump_logs ("match.pd", 1163, __FILE__, __LINE__, true);
   19916                 :           0 :                                                   return true;
   19917                 :             :                                                 }
   19918                 :           0 : next_after_fail2441:;
   19919                 :             :                                               }
   19920                 :             :                                         }
   19921                 :             :                                       }
   19922                 :           0 :                                       break;
   19923                 :             :                                     }
   19924                 :           0 :                                   case BIT_XOR_EXPR:
   19925                 :           0 :                                     {
   19926                 :           0 :                                       tree _q50 = gimple_assign_rhs1 (_a2);
   19927                 :           0 :                                       _q50 = do_valueize (valueize, _q50);
   19928                 :           0 :                                       tree _q51 = gimple_assign_rhs2 (_a2);
   19929                 :           0 :                                       _q51 = do_valueize (valueize, _q51);
   19930                 :           0 :                                       if (tree_swap_operands_p (_q50, _q51))
   19931                 :           0 :                                         std::swap (_q50, _q51);
   19932                 :           0 :                                       {
   19933                 :           0 :                                         tree captures[7] ATTRIBUTE_UNUSED = { _p0, _p1, _q40, _q50, _q51, _p3, _p4 };
   19934                 :           0 :                                         {
   19935                 :           0 :  tree op_type = TREE_TYPE (captures[2]);
   19936                 :           0 :                                             if (vectorized_internal_fn_supported_p (as_internal_fn (CFN_COND_LEN_XOR), op_type)
   19937                 :           0 :  && is_truth_type_for (op_type, TREE_TYPE (captures[0]))
   19938                 :           0 :  && single_use (captures[2])
   19939                 :             : )
   19940                 :             :                                               {
   19941                 :           0 :                                                 gimple_seq *lseq = seq;
   19942                 :           0 :                                                 if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail2442;
   19943                 :           0 :                                                 {
   19944                 :           0 :                                                   res_op->set_op (VIEW_CONVERT_EXPR, type, 1);
   19945                 :           0 :                                                   {
   19946                 :           0 :                                                     tree _o1[6], _r1;
   19947                 :           0 :                                                     {
   19948                 :           0 :                                                       tree _o2[1], _r2;
   19949                 :           0 :                                                       _o2[0] = captures[0];
   19950                 :           0 :                                                       gimple_match_op tem_op (res_op->cond.any_else (), BIT_NOT_EXPR, TREE_TYPE (_o2[0]), _o2[0]);
   19951                 :           0 :                                                       tem_op.resimplify (lseq, valueize);
   19952                 :           0 :                                                       _r2 = maybe_push_res_to_seq (&tem_op, lseq);
   19953                 :           0 :                                                       if (!_r2) goto next_after_fail2442;
   19954                 :           0 :                                                       _o1[0] = _r2;
   19955                 :             :                                                     }
   19956                 :           0 :                                                     _o1[1] = captures[3];
   19957                 :           0 :                                                     _o1[2] = captures[4];
   19958                 :           0 :                                                     {
   19959                 :           0 :                                                       tree _o2[1], _r2;
   19960                 :           0 :                                                       _o2[0] = captures[1];
   19961                 :           0 :                                                       gimple_match_op tem_op (res_op->cond.any_else (), VIEW_CONVERT_EXPR, op_type, _o2[0]);
   19962                 :           0 :                                                       tem_op.resimplify (lseq, valueize);
   19963                 :           0 :                                                       _r2 = maybe_push_res_to_seq (&tem_op, lseq);
   19964                 :           0 :                                                       if (!_r2) goto next_after_fail2442;
   19965                 :           0 :                                                       _o1[3] = _r2;
   19966                 :             :                                                     }
   19967                 :           0 :                                                     _o1[4] = captures[5];
   19968                 :           0 :                                                     _o1[5] = captures[6];
   19969                 :           0 :                                                     gimple_match_op tem_op (res_op->cond.any_else (), CFN_COND_LEN_XOR, TREE_TYPE (_o1[1]), _o1[0], _o1[1], _o1[2], _o1[3], _o1[4], _o1[5]);
   19970                 :           0 :                                                     tem_op.resimplify (lseq, valueize);
   19971                 :           0 :                                                     _r1 = maybe_push_res_to_seq (&tem_op, lseq);
   19972                 :           0 :                                                     if (!_r1) goto next_after_fail2442;
   19973                 :           0 :                                                     res_op->ops[0] = _r1;
   19974                 :             :                                                   }
   19975                 :           0 :                                                   res_op->resimplify (lseq, valueize);
   19976                 :           0 :                                                   if (UNLIKELY (debug_dump)) gimple_dump_logs ("match.pd", 1163, __FILE__, __LINE__, true);
   19977                 :           0 :                                                   return true;
   19978                 :             :                                                 }
   19979                 :           0 : next_after_fail2442:;
   19980                 :             :                                               }
   19981                 :             :                                         }
   19982                 :             :                                       }
   19983                 :           0 :                                       break;
   19984                 :             :                                     }
   19985                 :           0 :                                   case LSHIFT_EXPR:
   19986                 :           0 :                                     {
   19987                 :           0 :                                       tree _q50 = gimple_assign_rhs1 (_a2);
   19988                 :           0 :                                       _q50 = do_valueize (valueize, _q50);
   19989                 :           0 :                                       tree _q51 = gimple_assign_rhs2 (_a2);
   19990                 :           0 :                                       _q51 = do_valueize (valueize, _q51);
   19991                 :           0 :                                       {
   19992                 :           0 :                                         tree captures[7] ATTRIBUTE_UNUSED = { _p0, _p1, _q40, _q50, _q51, _p3, _p4 };
   19993                 :           0 :                                         {
   19994                 :           0 :  tree op_type = TREE_TYPE (captures[2]);
   19995                 :           0 :                                             if (vectorized_internal_fn_supported_p (as_internal_fn (CFN_COND_LEN_SHL), op_type)
   19996                 :           0 :  && is_truth_type_for (op_type, TREE_TYPE (captures[0]))
   19997                 :           0 :  && single_use (captures[2])
   19998                 :             : )
   19999                 :             :                                               {
   20000                 :           0 :                                                 gimple_seq *lseq = seq;
   20001                 :           0 :                                                 if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail2443;
   20002                 :           0 :                                                 {
   20003                 :           0 :                                                   res_op->set_op (VIEW_CONVERT_EXPR, type, 1);
   20004                 :           0 :                                                   {
   20005                 :           0 :                                                     tree _o1[6], _r1;
   20006                 :           0 :                                                     {
   20007                 :           0 :                                                       tree _o2[1], _r2;
   20008                 :           0 :                                                       _o2[0] = captures[0];
   20009                 :           0 :                                                       gimple_match_op tem_op (res_op->cond.any_else (), BIT_NOT_EXPR, TREE_TYPE (_o2[0]), _o2[0]);
   20010                 :           0 :                                                       tem_op.resimplify (lseq, valueize);
   20011                 :           0 :                                                       _r2 = maybe_push_res_to_seq (&tem_op, lseq);
   20012                 :           0 :                                                       if (!_r2) goto next_after_fail2443;
   20013                 :           0 :                                                       _o1[0] = _r2;
   20014                 :             :                                                     }
   20015                 :           0 :                                                     _o1[1] = captures[3];
   20016                 :           0 :                                                     _o1[2] = captures[4];
   20017                 :           0 :                                                     {
   20018                 :           0 :                                                       tree _o2[1], _r2;
   20019                 :           0 :                                                       _o2[0] = captures[1];
   20020                 :           0 :                                                       gimple_match_op tem_op (res_op->cond.any_else (), VIEW_CONVERT_EXPR, op_type, _o2[0]);
   20021                 :           0 :                                                       tem_op.resimplify (lseq, valueize);
   20022                 :           0 :                                                       _r2 = maybe_push_res_to_seq (&tem_op, lseq);
   20023                 :           0 :                                                       if (!_r2) goto next_after_fail2443;
   20024                 :           0 :                                                       _o1[3] = _r2;
   20025                 :             :                                                     }
   20026                 :           0 :                                                     _o1[4] = captures[5];
   20027                 :           0 :                                                     _o1[5] = captures[6];
   20028                 :           0 :                                                     gimple_match_op tem_op (res_op->cond.any_else (), CFN_COND_LEN_SHL, TREE_TYPE (_o1[1]), _o1[0], _o1[1], _o1[2], _o1[3], _o1[4], _o1[5]);
   20029                 :           0 :                                                     tem_op.resimplify (lseq, valueize);
   20030                 :           0 :                                                     _r1 = maybe_push_res_to_seq (&tem_op, lseq);
   20031                 :           0 :                                                     if (!_r1) goto next_after_fail2443;
   20032                 :           0 :                                                     res_op->ops[0] = _r1;
   20033                 :             :                                                   }
   20034                 :           0 :                                                   res_op->resimplify (lseq, valueize);
   20035                 :           0 :                                                   if (UNLIKELY (debug_dump)) gimple_dump_logs ("match.pd", 1163, __FILE__, __LINE__, true);
   20036                 :           0 :                                                   return true;
   20037                 :             :                                                 }
   20038                 :           0 : next_after_fail2443:;
   20039                 :             :                                               }
   20040                 :             :                                         }
   20041                 :             :                                       }
   20042                 :           0 :                                       break;
   20043                 :             :                                     }
   20044                 :           0 :                                   case RSHIFT_EXPR:
   20045                 :           0 :                                     {
   20046                 :           0 :                                       tree _q50 = gimple_assign_rhs1 (_a2);
   20047                 :           0 :                                       _q50 = do_valueize (valueize, _q50);
   20048                 :           0 :                                       tree _q51 = gimple_assign_rhs2 (_a2);
   20049                 :           0 :                                       _q51 = do_valueize (valueize, _q51);
   20050                 :           0 :                                       {
   20051                 :           0 :                                         tree captures[7] ATTRIBUTE_UNUSED = { _p0, _p1, _q40, _q50, _q51, _p3, _p4 };
   20052                 :           0 :                                         {
   20053                 :           0 :  tree op_type = TREE_TYPE (captures[2]);
   20054                 :           0 :                                             if (vectorized_internal_fn_supported_p (as_internal_fn (CFN_COND_LEN_SHR), op_type)
   20055                 :           0 :  && is_truth_type_for (op_type, TREE_TYPE (captures[0]))
   20056                 :           0 :  && single_use (captures[2])
   20057                 :             : )
   20058                 :             :                                               {
   20059                 :           0 :                                                 gimple_seq *lseq = seq;
   20060                 :           0 :                                                 if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail2444;
   20061                 :           0 :                                                 {
   20062                 :           0 :                                                   res_op->set_op (VIEW_CONVERT_EXPR, type, 1);
   20063                 :           0 :                                                   {
   20064                 :           0 :                                                     tree _o1[6], _r1;
   20065                 :           0 :                                                     {
   20066                 :           0 :                                                       tree _o2[1], _r2;
   20067                 :           0 :                                                       _o2[0] = captures[0];
   20068                 :           0 :                                                       gimple_match_op tem_op (res_op->cond.any_else (), BIT_NOT_EXPR, TREE_TYPE (_o2[0]), _o2[0]);
   20069                 :           0 :                                                       tem_op.resimplify (lseq, valueize);
   20070                 :           0 :                                                       _r2 = maybe_push_res_to_seq (&tem_op, lseq);
   20071                 :           0 :                                                       if (!_r2) goto next_after_fail2444;
   20072                 :           0 :                                                       _o1[0] = _r2;
   20073                 :             :                                                     }
   20074                 :           0 :                                                     _o1[1] = captures[3];
   20075                 :           0 :                                                     _o1[2] = captures[4];
   20076                 :           0 :                                                     {
   20077                 :           0 :                                                       tree _o2[1], _r2;
   20078                 :           0 :                                                       _o2[0] = captures[1];
   20079                 :           0 :                                                       gimple_match_op tem_op (res_op->cond.any_else (), VIEW_CONVERT_EXPR, op_type, _o2[0]);
   20080                 :           0 :                                                       tem_op.resimplify (lseq, valueize);
   20081                 :           0 :                                                       _r2 = maybe_push_res_to_seq (&tem_op, lseq);
   20082                 :           0 :                                                       if (!_r2) goto next_after_fail2444;
   20083                 :           0 :                                                       _o1[3] = _r2;
   20084                 :             :                                                     }
   20085                 :           0 :                                                     _o1[4] = captures[5];
   20086                 :           0 :                                                     _o1[5] = captures[6];
   20087                 :           0 :                                                     gimple_match_op tem_op (res_op->cond.any_else (), CFN_COND_LEN_SHR, TREE_TYPE (_o1[1]), _o1[0], _o1[1], _o1[2], _o1[3], _o1[4], _o1[5]);
   20088                 :           0 :                                                     tem_op.resimplify (lseq, valueize);
   20089                 :           0 :                                                     _r1 = maybe_push_res_to_seq (&tem_op, lseq);
   20090                 :           0 :                                                     if (!_r1) goto next_after_fail2444;
   20091                 :           0 :                                                     res_op->ops[0] = _r1;
   20092                 :             :                                                   }
   20093                 :           0 :                                                   res_op->resimplify (lseq, valueize);
   20094                 :           0 :                                                   if (UNLIKELY (debug_dump)) gimple_dump_logs ("match.pd", 1163, __FILE__, __LINE__, true);
   20095                 :           0 :                                                   return true;
   20096                 :             :                                                 }
   20097                 :           0 : next_after_fail2444:;
   20098                 :             :                                               }
   20099                 :             :                                         }
   20100                 :             :                                       }
   20101                 :           0 :                                       break;
   20102                 :             :                                     }
   20103                 :             :                                   default:;
   20104                 :             :                                   }
   20105                 :           0 :                               else if (gcall *_c2 = dyn_cast <gcall *> (_d2))
   20106                 :           0 :                                 switch (gimple_call_combined_fn (_c2))
   20107                 :             :                                   {
   20108                 :           0 :                                   case CFN_FMAX:
   20109                 :           0 :                                     if (gimple_call_num_args (_c2) == 2)
   20110                 :             :                                       {
   20111                 :           0 :                                         tree _q50 = gimple_call_arg (_c2, 0);
   20112                 :           0 :                                         _q50 = do_valueize (valueize, _q50);
   20113                 :           0 :                                         tree _q51 = gimple_call_arg (_c2, 1);
   20114                 :           0 :                                         _q51 = do_valueize (valueize, _q51);
   20115                 :           0 :                                         {
   20116                 :           0 :                                           tree captures[7] ATTRIBUTE_UNUSED = { _p0, _p1, _q40, _q50, _q51, _p3, _p4 };
   20117                 :           0 :                                           {
   20118                 :           0 :  tree op_type = TREE_TYPE (captures[2]);
   20119                 :           0 :                                               if (vectorized_internal_fn_supported_p (as_internal_fn (CFN_COND_LEN_FMAX), op_type)
   20120                 :           0 :  && is_truth_type_for (op_type, TREE_TYPE (captures[0]))
   20121                 :           0 :  && single_use (captures[2])
   20122                 :             : )
   20123                 :             :                                                 {
   20124                 :           0 :                                                   gimple_seq *lseq = seq;
   20125                 :           0 :                                                   if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail2445;
   20126                 :           0 :                                                   {
   20127                 :           0 :                                                     res_op->set_op (VIEW_CONVERT_EXPR, type, 1);
   20128                 :           0 :                                                     {
   20129                 :           0 :                                                       tree _o1[6], _r1;
   20130                 :           0 :                                                       {
   20131                 :           0 :                                                         tree _o2[1], _r2;
   20132                 :           0 :                                                         _o2[0] = captures[0];
   20133                 :           0 :                                                         gimple_match_op tem_op (res_op->cond.any_else (), BIT_NOT_EXPR, TREE_TYPE (_o2[0]), _o2[0]);
   20134                 :           0 :                                                         tem_op.resimplify (lseq, valueize);
   20135                 :           0 :                                                         _r2 = maybe_push_res_to_seq (&tem_op, lseq);
   20136                 :           0 :                                                         if (!_r2) goto next_after_fail2445;
   20137                 :           0 :                                                         _o1[0] = _r2;
   20138                 :             :                                                       }
   20139                 :           0 :                                                       _o1[1] = captures[3];
   20140                 :           0 :                                                       _o1[2] = captures[4];
   20141                 :           0 :                                                       {
   20142                 :           0 :                                                         tree _o2[1], _r2;
   20143                 :           0 :                                                         _o2[0] = captures[1];
   20144                 :           0 :                                                         gimple_match_op tem_op (res_op->cond.any_else (), VIEW_CONVERT_EXPR, op_type, _o2[0]);
   20145                 :           0 :                                                         tem_op.resimplify (lseq, valueize);
   20146                 :           0 :                                                         _r2 = maybe_push_res_to_seq (&tem_op, lseq);
   20147                 :           0 :                                                         if (!_r2) goto next_after_fail2445;
   20148                 :           0 :                                                         _o1[3] = _r2;
   20149                 :             :                                                       }
   20150                 :           0 :                                                       _o1[4] = captures[5];
   20151                 :           0 :                                                       _o1[5] = captures[6];
   20152                 :           0 :                                                       gimple_match_op tem_op (res_op->cond.any_else (), CFN_COND_LEN_FMAX, TREE_TYPE (_o1[1]), _o1[0], _o1[1], _o1[2], _o1[3], _o1[4], _o1[5]);
   20153                 :           0 :                                                       tem_op.resimplify (lseq, valueize);
   20154                 :           0 :                                                       _r1 = maybe_push_res_to_seq (&tem_op, lseq);
   20155                 :           0 :                                                       if (!_r1) goto next_after_fail2445;
   20156                 :           0 :                                                       res_op->ops[0] = _r1;
   20157                 :             :                                                     }
   20158                 :           0 :                                                     res_op->resimplify (lseq, valueize);
   20159                 :           0 :                                                     if (UNLIKELY (debug_dump)) gimple_dump_logs ("match.pd", 1163, __FILE__, __LINE__, true);
   20160                 :           0 :                                                     return true;
   20161                 :             :                                                   }
   20162                 :           0 : next_after_fail2445:;
   20163                 :             :                                                 }
   20164                 :             :                                           }
   20165                 :             :                                         }
   20166                 :             :                                       }
   20167                 :             :                                     break;
   20168                 :           0 :                                   case CFN_FMIN:
   20169                 :           0 :                                     if (gimple_call_num_args (_c2) == 2)
   20170                 :             :                                       {
   20171                 :           0 :                                         tree _q50 = gimple_call_arg (_c2, 0);
   20172                 :           0 :                                         _q50 = do_valueize (valueize, _q50);
   20173                 :           0 :                                         tree _q51 = gimple_call_arg (_c2, 1);
   20174                 :           0 :                                         _q51 = do_valueize (valueize, _q51);
   20175                 :           0 :                                         {
   20176                 :           0 :                                           tree captures[7] ATTRIBUTE_UNUSED = { _p0, _p1, _q40, _q50, _q51, _p3, _p4 };
   20177                 :           0 :                                           {
   20178                 :           0 :  tree op_type = TREE_TYPE (captures[2]);
   20179                 :           0 :                                               if (vectorized_internal_fn_supported_p (as_internal_fn (CFN_COND_LEN_FMIN), op_type)
   20180                 :           0 :  && is_truth_type_for (op_type, TREE_TYPE (captures[0]))
   20181                 :           0 :  && single_use (captures[2])
   20182                 :             : )
   20183                 :             :                                                 {
   20184                 :           0 :                                                   gimple_seq *lseq = seq;
   20185                 :           0 :                                                   if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail2446;
   20186                 :           0 :                                                   {
   20187                 :           0 :                                                     res_op->set_op (VIEW_CONVERT_EXPR, type, 1);
   20188                 :           0 :                                                     {
   20189                 :           0 :                                                       tree _o1[6], _r1;
   20190                 :           0 :                                                       {
   20191                 :           0 :                                                         tree _o2[1], _r2;
   20192                 :           0 :                                                         _o2[0] = captures[0];
   20193                 :           0 :                                                         gimple_match_op tem_op (res_op->cond.any_else (), BIT_NOT_EXPR, TREE_TYPE (_o2[0]), _o2[0]);
   20194                 :           0 :                                                         tem_op.resimplify (lseq, valueize);
   20195                 :           0 :                                                         _r2 = maybe_push_res_to_seq (&tem_op, lseq);
   20196                 :           0 :                                                         if (!_r2) goto next_after_fail2446;
   20197                 :           0 :                                                         _o1[0] = _r2;
   20198                 :             :                                                       }
   20199                 :           0 :                                                       _o1[1] = captures[3];
   20200                 :           0 :                                                       _o1[2] = captures[4];
   20201                 :           0 :                                                       {
   20202                 :           0 :                                                         tree _o2[1], _r2;
   20203                 :           0 :                                                         _o2[0] = captures[1];
   20204                 :           0 :                                                         gimple_match_op tem_op (res_op->cond.any_else (), VIEW_CONVERT_EXPR, op_type, _o2[0]);
   20205                 :           0 :                                                         tem_op.resimplify (lseq, valueize);
   20206                 :           0 :                                                         _r2 = maybe_push_res_to_seq (&tem_op, lseq);
   20207                 :           0 :                                                         if (!_r2) goto next_after_fail2446;
   20208                 :           0 :                                                         _o1[3] = _r2;
   20209                 :             :                                                       }
   20210                 :           0 :                                                       _o1[4] = captures[5];
   20211                 :           0 :                                                       _o1[5] = captures[6];
   20212                 :           0 :                                                       gimple_match_op tem_op (res_op->cond.any_else (), CFN_COND_LEN_FMIN, TREE_TYPE (_o1[1]), _o1[0], _o1[1], _o1[2], _o1[3], _o1[4], _o1[5]);
   20213                 :           0 :                                                       tem_op.resimplify (lseq, valueize);
   20214                 :           0 :                                                       _r1 = maybe_push_res_to_seq (&tem_op, lseq);
   20215                 :           0 :                                                       if (!_r1) goto next_after_fail2446;
   20216                 :           0 :                                                       res_op->ops[0] = _r1;
   20217                 :             :                                                     }
   20218                 :           0 :                                                     res_op->resimplify (lseq, valueize);
   20219                 :           0 :                                                     if (UNLIKELY (debug_dump)) gimple_dump_logs ("match.pd", 1163, __FILE__, __LINE__, true);
   20220                 :           0 :                                                     return true;
   20221                 :             :                                                   }
   20222                 :           0 : next_after_fail2446:;
   20223                 :             :                                                 }
   20224                 :             :                                           }
   20225                 :             :                                         }
   20226                 :             :                                       }
   20227                 :             :                                     break;
   20228                 :           0 :                                   case CFN_COPYSIGN:
   20229                 :           0 :                                     if (gimple_call_num_args (_c2) == 2)
   20230                 :             :                                       {
   20231                 :           0 :                                         tree _q50 = gimple_call_arg (_c2, 0);
   20232                 :           0 :                                         _q50 = do_valueize (valueize, _q50);
   20233                 :           0 :                                         tree _q51 = gimple_call_arg (_c2, 1);
   20234                 :           0 :                                         _q51 = do_valueize (valueize, _q51);
   20235                 :           0 :                                         {
   20236                 :           0 :                                           tree captures[7] ATTRIBUTE_UNUSED = { _p0, _p1, _q40, _q50, _q51, _p3, _p4 };
   20237                 :           0 :                                           {
   20238                 :           0 :  tree op_type = TREE_TYPE (captures[2]);
   20239                 :           0 :                                               if (vectorized_internal_fn_supported_p (as_internal_fn (CFN_COND_LEN_COPYSIGN), op_type)
   20240                 :           0 :  && is_truth_type_for (op_type, TREE_TYPE (captures[0]))
   20241                 :           0 :  && single_use (captures[2])
   20242                 :             : )
   20243                 :             :                                                 {
   20244                 :           0 :                                                   gimple_seq *lseq = seq;
   20245                 :           0 :                                                   if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail2447;
   20246                 :           0 :                                                   {
   20247                 :           0 :                                                     res_op->set_op (VIEW_CONVERT_EXPR, type, 1);
   20248                 :           0 :                                                     {
   20249                 :           0 :                                                       tree _o1[6], _r1;
   20250                 :           0 :                                                       {
   20251                 :           0 :                                                         tree _o2[1], _r2;
   20252                 :           0 :                                                         _o2[0] = captures[0];
   20253                 :           0 :                                                         gimple_match_op tem_op (res_op->cond.any_else (), BIT_NOT_EXPR, TREE_TYPE (_o2[0]), _o2[0]);
   20254                 :           0 :                                                         tem_op.resimplify (lseq, valueize);
   20255                 :           0 :                                                         _r2 = maybe_push_res_to_seq (&tem_op, lseq);
   20256                 :           0 :                                                         if (!_r2) goto next_after_fail2447;
   20257                 :           0 :                                                         _o1[0] = _r2;
   20258                 :             :                                                       }
   20259                 :           0 :                                                       _o1[1] = captures[3];
   20260                 :           0 :                                                       _o1[2] = captures[4];
   20261                 :           0 :                                                       {
   20262                 :           0 :                                                         tree _o2[1], _r2;
   20263                 :           0 :                                                         _o2[0] = captures[1];
   20264                 :           0 :                                                         gimple_match_op tem_op (res_op->cond.any_else (), VIEW_CONVERT_EXPR, op_type, _o2[0]);
   20265                 :           0 :                                                         tem_op.resimplify (lseq, valueize);
   20266                 :           0 :                                                         _r2 = maybe_push_res_to_seq (&tem_op, lseq);
   20267                 :           0 :                                                         if (!_r2) goto next_after_fail2447;
   20268                 :           0 :                                                         _o1[3] = _r2;
   20269                 :             :                                                       }
   20270                 :           0 :                                                       _o1[4] = captures[5];
   20271                 :           0 :                                                       _o1[5] = captures[6];
   20272                 :           0 :                                                       gimple_match_op tem_op (res_op->cond.any_else (), CFN_COND_LEN_COPYSIGN, TREE_TYPE (_o1[1]), _o1[0], _o1[1], _o1[2], _o1[3], _o1[4], _o1[5]);
   20273                 :           0 :                                                       tem_op.resimplify (lseq, valueize);
   20274                 :           0 :                                                       _r1 = maybe_push_res_to_seq (&tem_op, lseq);
   20275                 :           0 :                                                       if (!_r1) goto next_after_fail2447;
   20276                 :           0 :                                                       res_op->ops[0] = _r1;
   20277                 :             :                                                     }
   20278                 :           0 :                                                     res_op->resimplify (lseq, valueize);
   20279                 :           0 :                                                     if (UNLIKELY (debug_dump)) gimple_dump_logs ("match.pd", 1163, __FILE__, __LINE__, true);
   20280                 :           0 :                                                     return true;
   20281                 :             :                                                   }
   20282                 :           0 : next_after_fail2447:;
   20283                 :             :                                                 }
   20284                 :             :                                           }
   20285                 :             :                                         }
   20286                 :             :                                       }
   20287                 :             :                                     break;
   20288                 :             :                                   default:;
   20289                 :             :                                   }
   20290                 :             :                             }
   20291                 :             :                           break;
   20292                 :             :                         default:;
   20293                 :             :                         }
   20294                 :             :                     }
   20295                 :             :                   break;
   20296                 :             :                 }
   20297                 :           0 :               case PLUS_EXPR:
   20298                 :           0 :                 {
   20299                 :           0 :                   tree _q40 = gimple_assign_rhs1 (_a1);
   20300                 :           0 :                   _q40 = do_valueize (valueize, _q40);
   20301                 :           0 :                   tree _q41 = gimple_assign_rhs2 (_a1);
   20302                 :           0 :                   _q41 = do_valueize (valueize, _q41);
   20303                 :           0 :                   if (tree_swap_operands_p (_q40, _q41))
   20304                 :           0 :                     std::swap (_q40, _q41);
   20305                 :           0 :                   {
   20306                 :           0 :                     tree captures[7] ATTRIBUTE_UNUSED = { _p0, _p1, _p2, _q40, _q41, _p3, _p4 };
   20307                 :           0 :                     {
   20308                 :           0 :  tree op_type = TREE_TYPE (captures[2]);
   20309                 :           0 :                         if (vectorized_internal_fn_supported_p (as_internal_fn (CFN_COND_LEN_ADD), op_type)
   20310                 :           0 :  && is_truth_type_for (op_type, TREE_TYPE (captures[0]))
   20311                 :           0 :  && single_use (captures[2])
   20312                 :             : )
   20313                 :             :                           {
   20314                 :           0 :                             gimple_seq *lseq = seq;
   20315                 :           0 :                             if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail2448;
   20316                 :           0 :                             {
   20317                 :           0 :                               res_op->set_op (VIEW_CONVERT_EXPR, type, 1);
   20318                 :           0 :                               {
   20319                 :           0 :                                 tree _o1[6], _r1;
   20320                 :           0 :                                 {
   20321                 :           0 :                                   tree _o2[1], _r2;
   20322                 :           0 :                                   _o2[0] = captures[0];
   20323                 :           0 :                                   gimple_match_op tem_op (res_op->cond.any_else (), BIT_NOT_EXPR, TREE_TYPE (_o2[0]), _o2[0]);
   20324                 :           0 :                                   tem_op.resimplify (lseq, valueize);
   20325                 :           0 :                                   _r2 = maybe_push_res_to_seq (&tem_op, lseq);
   20326                 :           0 :                                   if (!_r2) goto next_after_fail2448;
   20327                 :           0 :                                   _o1[0] = _r2;
   20328                 :             :                                 }
   20329                 :           0 :                                 _o1[1] = captures[3];
   20330                 :           0 :                                 _o1[2] = captures[4];
   20331                 :           0 :                                 {
   20332                 :           0 :                                   tree _o2[1], _r2;
   20333                 :           0 :                                   _o2[0] = captures[1];
   20334                 :           0 :                                   gimple_match_op tem_op (res_op->cond.any_else (), VIEW_CONVERT_EXPR, op_type, _o2[0]);
   20335                 :           0 :                                   tem_op.resimplify (lseq, valueize);
   20336                 :           0 :                                   _r2 = maybe_push_res_to_seq (&tem_op, lseq);
   20337                 :           0 :                                   if (!_r2) goto next_after_fail2448;
   20338                 :           0 :                                   _o1[3] = _r2;
   20339                 :             :                                 }
   20340                 :           0 :                                 _o1[4] = captures[5];
   20341                 :           0 :                                 _o1[5] = captures[6];
   20342                 :           0 :                                 gimple_match_op tem_op (res_op->cond.any_else (), CFN_COND_LEN_ADD, TREE_TYPE (_o1[1]), _o1[0], _o1[1], _o1[2], _o1[3], _o1[4], _o1[5]);
   20343                 :           0 :                                 tem_op.resimplify (lseq, valueize);
   20344                 :           0 :                                 _r1 = maybe_push_res_to_seq (&tem_op, lseq);
   20345                 :           0 :                                 if (!_r1) goto next_after_fail2448;
   20346                 :           0 :                                 res_op->ops[0] = _r1;
   20347                 :             :                               }
   20348                 :           0 :                               res_op->resimplify (lseq, valueize);
   20349                 :           0 :                               if (UNLIKELY (debug_dump)) gimple_dump_logs ("match.pd", 1163, __FILE__, __LINE__, true);
   20350                 :           0 :                               return true;
   20351                 :             :                             }
   20352                 :           0 : next_after_fail2448:;
   20353                 :             :                           }
   20354                 :             :                     }
   20355                 :             :                   }
   20356                 :           0 :                   break;
   20357                 :             :                 }
   20358                 :           0 :               case MINUS_EXPR:
   20359                 :           0 :                 {
   20360                 :           0 :                   tree _q40 = gimple_assign_rhs1 (_a1);
   20361                 :           0 :                   _q40 = do_valueize (valueize, _q40);
   20362                 :           0 :                   tree _q41 = gimple_assign_rhs2 (_a1);
   20363                 :           0 :                   _q41 = do_valueize (valueize, _q41);
   20364                 :           0 :                   {
   20365                 :           0 :                     tree captures[7] ATTRIBUTE_UNUSED = { _p0, _p1, _p2, _q40, _q41, _p3, _p4 };
   20366                 :           0 :                     {
   20367                 :           0 :  tree op_type = TREE_TYPE (captures[2]);
   20368                 :           0 :                         if (vectorized_internal_fn_supported_p (as_internal_fn (CFN_COND_LEN_SUB), op_type)
   20369                 :           0 :  && is_truth_type_for (op_type, TREE_TYPE (captures[0]))
   20370                 :           0 :  && single_use (captures[2])
   20371                 :             : )
   20372                 :             :                           {
   20373                 :           0 :                             gimple_seq *lseq = seq;
   20374                 :           0 :                             if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail2449;
   20375                 :           0 :                             {
   20376                 :           0 :                               res_op->set_op (VIEW_CONVERT_EXPR, type, 1);
   20377                 :           0 :                               {
   20378                 :           0 :                                 tree _o1[6], _r1;
   20379                 :           0 :                                 {
   20380                 :           0 :                                   tree _o2[1], _r2;
   20381                 :           0 :                                   _o2[0] = captures[0];
   20382                 :           0 :                                   gimple_match_op tem_op (res_op->cond.any_else (), BIT_NOT_EXPR, TREE_TYPE (_o2[0]), _o2[0]);
   20383                 :           0 :                                   tem_op.resimplify (lseq, valueize);
   20384                 :           0 :                                   _r2 = maybe_push_res_to_seq (&tem_op, lseq);
   20385                 :           0 :                                   if (!_r2) goto next_after_fail2449;
   20386                 :           0 :                                   _o1[0] = _r2;
   20387                 :             :                                 }
   20388                 :           0 :                                 _o1[1] = captures[3];
   20389                 :           0 :                                 _o1[2] = captures[4];
   20390                 :           0 :                                 {
   20391                 :           0 :                                   tree _o2[1], _r2;
   20392                 :           0 :                                   _o2[0] = captures[1];
   20393                 :           0 :                                   gimple_match_op tem_op (res_op->cond.any_else (), VIEW_CONVERT_EXPR, op_type, _o2[0]);
   20394                 :           0 :                                   tem_op.resimplify (lseq, valueize);
   20395                 :           0 :                                   _r2 = maybe_push_res_to_seq (&tem_op, lseq);
   20396                 :           0 :                                   if (!_r2) goto next_after_fail2449;
   20397                 :           0 :                                   _o1[3] = _r2;
   20398                 :             :                                 }
   20399                 :           0 :                                 _o1[4] = captures[5];
   20400                 :           0 :                                 _o1[5] = captures[6];
   20401                 :           0 :                                 gimple_match_op tem_op (res_op->cond.any_else (), CFN_COND_LEN_SUB, TREE_TYPE (_o1[1]), _o1[0], _o1[1], _o1[2], _o1[3], _o1[4], _o1[5]);
   20402                 :           0 :                                 tem_op.resimplify (lseq, valueize);
   20403                 :           0 :                                 _r1 = maybe_push_res_to_seq (&tem_op, lseq);
   20404                 :           0 :                                 if (!_r1) goto next_after_fail2449;
   20405                 :           0 :                                 res_op->ops[0] = _r1;
   20406                 :             :                               }
   20407                 :           0 :                               res_op->resimplify (lseq, valueize);
   20408                 :           0 :                               if (UNLIKELY (debug_dump)) gimple_dump_logs ("match.pd", 1163, __FILE__, __LINE__, true);
   20409                 :           0 :                               return true;
   20410                 :             :                             }
   20411                 :           0 : next_after_fail2449:;
   20412                 :             :                           }
   20413                 :             :                     }
   20414                 :             :                   }
   20415                 :           0 :                   break;
   20416                 :             :                 }
   20417                 :           0 :               case MULT_EXPR:
   20418                 :           0 :                 {
   20419                 :           0 :                   tree _q40 = gimple_assign_rhs1 (_a1);
   20420                 :           0 :                   _q40 = do_valueize (valueize, _q40);
   20421                 :           0 :                   tree _q41 = gimple_assign_rhs2 (_a1);
   20422                 :           0 :                   _q41 = do_valueize (valueize, _q41);
   20423                 :           0 :                   if (tree_swap_operands_p (_q40, _q41))
   20424                 :           0 :                     std::swap (_q40, _q41);
   20425                 :           0 :                   {
   20426                 :           0 :                     tree captures[7] ATTRIBUTE_UNUSED = { _p0, _p1, _p2, _q40, _q41, _p3, _p4 };
   20427                 :           0 :                     {
   20428                 :           0 :  tree op_type = TREE_TYPE (captures[2]);
   20429                 :           0 :                         if (vectorized_internal_fn_supported_p (as_internal_fn (CFN_COND_LEN_MUL), op_type)
   20430                 :           0 :  && is_truth_type_for (op_type, TREE_TYPE (captures[0]))
   20431                 :           0 :  && single_use (captures[2])
   20432                 :             : )
   20433                 :             :                           {
   20434                 :           0 :                             gimple_seq *lseq = seq;
   20435                 :           0 :                             if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail2450;
   20436                 :           0 :                             {
   20437                 :           0 :                               res_op->set_op (VIEW_CONVERT_EXPR, type, 1);
   20438                 :           0 :                               {
   20439                 :           0 :                                 tree _o1[6], _r1;
   20440                 :           0 :                                 {
   20441                 :           0 :                                   tree _o2[1], _r2;
   20442                 :           0 :                                   _o2[0] = captures[0];
   20443                 :           0 :                                   gimple_match_op tem_op (res_op->cond.any_else (), BIT_NOT_EXPR, TREE_TYPE (_o2[0]), _o2[0]);
   20444                 :           0 :                                   tem_op.resimplify (lseq, valueize);
   20445                 :           0 :                                   _r2 = maybe_push_res_to_seq (&tem_op, lseq);
   20446                 :           0 :                                   if (!_r2) goto next_after_fail2450;
   20447                 :           0 :                                   _o1[0] = _r2;
   20448                 :             :                                 }
   20449                 :           0 :                                 _o1[1] = captures[3];
   20450                 :           0 :                                 _o1[2] = captures[4];
   20451                 :           0 :                                 {
   20452                 :           0 :                                   tree _o2[1], _r2;
   20453                 :           0 :                                   _o2[0] = captures[1];
   20454                 :           0 :                                   gimple_match_op tem_op (res_op->cond.any_else (), VIEW_CONVERT_EXPR, op_type, _o2[0]);
   20455                 :           0 :                                   tem_op.resimplify (lseq, valueize);
   20456                 :           0 :                                   _r2 = maybe_push_res_to_seq (&tem_op, lseq);
   20457                 :           0 :                                   if (!_r2) goto next_after_fail2450;
   20458                 :           0 :                                   _o1[3] = _r2;
   20459                 :             :                                 }
   20460                 :           0 :                                 _o1[4] = captures[5];
   20461                 :           0 :                                 _o1[5] = captures[6];
   20462                 :           0 :                                 gimple_match_op tem_op (res_op->cond.any_else (), CFN_COND_LEN_MUL, TREE_TYPE (_o1[1]), _o1[0], _o1[1], _o1[2], _o1[3], _o1[4], _o1[5]);
   20463                 :           0 :                                 tem_op.resimplify (lseq, valueize);
   20464                 :           0 :                                 _r1 = maybe_push_res_to_seq (&tem_op, lseq);
   20465                 :           0 :                                 if (!_r1) goto next_after_fail2450;
   20466                 :           0 :                                 res_op->ops[0] = _r1;
   20467                 :             :                               }
   20468                 :           0 :                               res_op->resimplify (lseq, valueize);
   20469                 :           0 :                               if (UNLIKELY (debug_dump)) gimple_dump_logs ("match.pd", 1163, __FILE__, __LINE__, true);
   20470                 :           0 :                               return true;
   20471                 :             :                             }
   20472                 :           0 : next_after_fail2450:;
   20473                 :             :                           }
   20474                 :             :                     }
   20475                 :             :                   }
   20476                 :           0 :                   break;
   20477                 :             :                 }
   20478                 :           0 :               case TRUNC_DIV_EXPR:
   20479                 :           0 :                 {
   20480                 :           0 :                   tree _q40 = gimple_assign_rhs1 (_a1);
   20481                 :           0 :                   _q40 = do_valueize (valueize, _q40);
   20482                 :           0 :                   tree _q41 = gimple_assign_rhs2 (_a1);
   20483                 :           0 :                   _q41 = do_valueize (valueize, _q41);
   20484                 :           0 :                   {
   20485                 :           0 :                     tree captures[7] ATTRIBUTE_UNUSED = { _p0, _p1, _p2, _q40, _q41, _p3, _p4 };
   20486                 :           0 :                     {
   20487                 :           0 :  tree op_type = TREE_TYPE (captures[2]);
   20488                 :           0 :                         if (vectorized_internal_fn_supported_p (as_internal_fn (CFN_COND_LEN_DIV), op_type)
   20489                 :           0 :  && is_truth_type_for (op_type, TREE_TYPE (captures[0]))
   20490                 :           0 :  && single_use (captures[2])
   20491                 :             : )
   20492                 :             :                           {
   20493                 :           0 :                             gimple_seq *lseq = seq;
   20494                 :           0 :                             if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail2451;
   20495                 :           0 :                             {
   20496                 :           0 :                               res_op->set_op (VIEW_CONVERT_EXPR, type, 1);
   20497                 :           0 :                               {
   20498                 :           0 :                                 tree _o1[6], _r1;
   20499                 :           0 :                                 {
   20500                 :           0 :                                   tree _o2[1], _r2;
   20501                 :           0 :                                   _o2[0] = captures[0];
   20502                 :           0 :                                   gimple_match_op tem_op (res_op->cond.any_else (), BIT_NOT_EXPR, TREE_TYPE (_o2[0]), _o2[0]);
   20503                 :           0 :                                   tem_op.resimplify (lseq, valueize);
   20504                 :           0 :                                   _r2 = maybe_push_res_to_seq (&tem_op, lseq);
   20505                 :           0 :                                   if (!_r2) goto next_after_fail2451;
   20506                 :           0 :                                   _o1[0] = _r2;
   20507                 :             :                                 }
   20508                 :           0 :                                 _o1[1] = captures[3];
   20509                 :           0 :                                 _o1[2] = captures[4];
   20510                 :           0 :                                 {
   20511                 :           0 :                                   tree _o2[1], _r2;
   20512                 :           0 :                                   _o2[0] = captures[1];
   20513                 :           0 :                                   gimple_match_op tem_op (res_op->cond.any_else (), VIEW_CONVERT_EXPR, op_type, _o2[0]);
   20514                 :           0 :                                   tem_op.resimplify (lseq, valueize);
   20515                 :           0 :                                   _r2 = maybe_push_res_to_seq (&tem_op, lseq);
   20516                 :           0 :                                   if (!_r2) goto next_after_fail2451;
   20517                 :           0 :                                   _o1[3] = _r2;
   20518                 :             :                                 }
   20519                 :           0 :                                 _o1[4] = captures[5];
   20520                 :           0 :                                 _o1[5] = captures[6];
   20521                 :           0 :                                 gimple_match_op tem_op (res_op->cond.any_else (), CFN_COND_LEN_DIV, TREE_TYPE (_o1[1]), _o1[0], _o1[1], _o1[2], _o1[3], _o1[4], _o1[5]);
   20522                 :           0 :                                 tem_op.resimplify (lseq, valueize);
   20523                 :           0 :                                 _r1 = maybe_push_res_to_seq (&tem_op, lseq);
   20524                 :           0 :                                 if (!_r1) goto next_after_fail2451;
   20525                 :           0 :                                 res_op->ops[0] = _r1;
   20526                 :             :                               }
   20527                 :           0 :                               res_op->resimplify (lseq, valueize);
   20528                 :           0 :                               if (UNLIKELY (debug_dump)) gimple_dump_logs ("match.pd", 1163, __FILE__, __LINE__, true);
   20529                 :           0 :                               return true;
   20530                 :             :                             }
   20531                 :           0 : next_after_fail2451:;
   20532                 :             :                           }
   20533                 :             :                     }
   20534                 :             :                   }
   20535                 :           0 :                   break;
   20536                 :             :                 }
   20537                 :           0 :               case TRUNC_MOD_EXPR:
   20538                 :           0 :                 {
   20539                 :           0 :                   tree _q40 = gimple_assign_rhs1 (_a1);
   20540                 :           0 :                   _q40 = do_valueize (valueize, _q40);
   20541                 :           0 :                   tree _q41 = gimple_assign_rhs2 (_a1);
   20542                 :           0 :                   _q41 = do_valueize (valueize, _q41);
   20543                 :           0 :                   {
   20544                 :           0 :                     tree captures[7] ATTRIBUTE_UNUSED = { _p0, _p1, _p2, _q40, _q41, _p3, _p4 };
   20545                 :           0 :                     {
   20546                 :           0 :  tree op_type = TREE_TYPE (captures[2]);
   20547                 :           0 :                         if (vectorized_internal_fn_supported_p (as_internal_fn (CFN_COND_LEN_MOD), op_type)
   20548                 :           0 :  && is_truth_type_for (op_type, TREE_TYPE (captures[0]))
   20549                 :           0 :  && single_use (captures[2])
   20550                 :             : )
   20551                 :             :                           {
   20552                 :           0 :                             gimple_seq *lseq = seq;
   20553                 :           0 :                             if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail2452;
   20554                 :           0 :                             {
   20555                 :           0 :                               res_op->set_op (VIEW_CONVERT_EXPR, type, 1);
   20556                 :           0 :                               {
   20557                 :           0 :                                 tree _o1[6], _r1;
   20558                 :           0 :                                 {
   20559                 :           0 :                                   tree _o2[1], _r2;
   20560                 :           0 :                                   _o2[0] = captures[0];
   20561                 :           0 :                                   gimple_match_op tem_op (res_op->cond.any_else (), BIT_NOT_EXPR, TREE_TYPE (_o2[0]), _o2[0]);
   20562                 :           0 :                                   tem_op.resimplify (lseq, valueize);
   20563                 :           0 :                                   _r2 = maybe_push_res_to_seq (&tem_op, lseq);
   20564                 :           0 :                                   if (!_r2) goto next_after_fail2452;
   20565                 :           0 :                                   _o1[0] = _r2;
   20566                 :             :                                 }
   20567                 :           0 :                                 _o1[1] = captures[3];
   20568                 :           0 :                                 _o1[2] = captures[4];
   20569                 :           0 :                                 {
   20570                 :           0 :                                   tree _o2[1], _r2;
   20571                 :           0 :                                   _o2[0] = captures[1];
   20572                 :           0 :                                   gimple_match_op tem_op (res_op->cond.any_else (), VIEW_CONVERT_EXPR, op_type, _o2[0]);
   20573                 :           0 :                                   tem_op.resimplify (lseq, valueize);
   20574                 :           0 :                                   _r2 = maybe_push_res_to_seq (&tem_op, lseq);
   20575                 :           0 :                                   if (!_r2) goto next_after_fail2452;
   20576                 :           0 :                                   _o1[3] = _r2;
   20577                 :             :                                 }
   20578                 :           0 :                                 _o1[4] = captures[5];
   20579                 :           0 :                                 _o1[5] = captures[6];
   20580                 :           0 :                                 gimple_match_op tem_op (res_op->cond.any_else (), CFN_COND_LEN_MOD, TREE_TYPE (_o1[1]), _o1[0], _o1[1], _o1[2], _o1[3], _o1[4], _o1[5]);
   20581                 :           0 :                                 tem_op.resimplify (lseq, valueize);
   20582                 :           0 :                                 _r1 = maybe_push_res_to_seq (&tem_op, lseq);
   20583                 :           0 :                                 if (!_r1) goto next_after_fail2452;
   20584                 :           0 :                                 res_op->ops[0] = _r1;
   20585                 :             :                               }
   20586                 :           0 :                               res_op->resimplify (lseq, valueize);
   20587                 :           0 :                               if (UNLIKELY (debug_dump)) gimple_dump_logs ("match.pd", 1163, __FILE__, __LINE__, true);
   20588                 :           0 :                               return true;
   20589                 :             :                             }
   20590                 :           0 : next_after_fail2452:;
   20591                 :             :                           }
   20592                 :             :                     }
   20593                 :             :                   }
   20594                 :           0 :                   break;
   20595                 :             :                 }
   20596                 :           0 :               case RDIV_EXPR:
   20597                 :           0 :                 {
   20598                 :           0 :                   tree _q40 = gimple_assign_rhs1 (_a1);
   20599                 :           0 :                   _q40 = do_valueize (valueize, _q40);
   20600                 :           0 :                   tree _q41 = gimple_assign_rhs2 (_a1);
   20601                 :           0 :                   _q41 = do_valueize (valueize, _q41);
   20602                 :           0 :                   {
   20603                 :           0 :                     tree captures[7] ATTRIBUTE_UNUSED = { _p0, _p1, _p2, _q40, _q41, _p3, _p4 };
   20604                 :           0 :                     {
   20605                 :           0 :  tree op_type = TREE_TYPE (captures[2]);
   20606                 :           0 :                         if (vectorized_internal_fn_supported_p (as_internal_fn (CFN_COND_LEN_RDIV), op_type)
   20607                 :           0 :  && is_truth_type_for (op_type, TREE_TYPE (captures[0]))
   20608                 :           0 :  && single_use (captures[2])
   20609                 :             : )
   20610                 :             :                           {
   20611                 :           0 :                             gimple_seq *lseq = seq;
   20612                 :           0 :                             if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail2453;
   20613                 :           0 :                             {
   20614                 :           0 :                               res_op->set_op (VIEW_CONVERT_EXPR, type, 1);
   20615                 :           0 :                               {
   20616                 :           0 :                                 tree _o1[6], _r1;
   20617                 :           0 :                                 {
   20618                 :           0 :                                   tree _o2[1], _r2;
   20619                 :           0 :                                   _o2[0] = captures[0];
   20620                 :           0 :                                   gimple_match_op tem_op (res_op->cond.any_else (), BIT_NOT_EXPR, TREE_TYPE (_o2[0]), _o2[0]);
   20621                 :           0 :                                   tem_op.resimplify (lseq, valueize);
   20622                 :           0 :                                   _r2 = maybe_push_res_to_seq (&tem_op, lseq);
   20623                 :           0 :                                   if (!_r2) goto next_after_fail2453;
   20624                 :           0 :                                   _o1[0] = _r2;
   20625                 :             :                                 }
   20626                 :           0 :                                 _o1[1] = captures[3];
   20627                 :           0 :                                 _o1[2] = captures[4];
   20628                 :           0 :                                 {
   20629                 :           0 :                                   tree _o2[1], _r2;
   20630                 :           0 :                                   _o2[0] = captures[1];
   20631                 :           0 :                                   gimple_match_op tem_op (res_op->cond.any_else (), VIEW_CONVERT_EXPR, op_type, _o2[0]);
   20632                 :           0 :                                   tem_op.resimplify (lseq, valueize);
   20633                 :           0 :                                   _r2 = maybe_push_res_to_seq (&tem_op, lseq);
   20634                 :           0 :                                   if (!_r2) goto next_after_fail2453;
   20635                 :           0 :                                   _o1[3] = _r2;
   20636                 :             :                                 }
   20637                 :           0 :                                 _o1[4] = captures[5];
   20638                 :           0 :                                 _o1[5] = captures[6];
   20639                 :           0 :                                 gimple_match_op tem_op (res_op->cond.any_else (), CFN_COND_LEN_RDIV, TREE_TYPE (_o1[1]), _o1[0], _o1[1], _o1[2], _o1[3], _o1[4], _o1[5]);
   20640                 :           0 :                                 tem_op.resimplify (lseq, valueize);
   20641                 :           0 :                                 _r1 = maybe_push_res_to_seq (&tem_op, lseq);
   20642                 :           0 :                                 if (!_r1) goto next_after_fail2453;
   20643                 :           0 :                                 res_op->ops[0] = _r1;
   20644                 :             :                               }
   20645                 :           0 :                               res_op->resimplify (lseq, valueize);
   20646                 :           0 :                               if (UNLIKELY (debug_dump)) gimple_dump_logs ("match.pd", 1163, __FILE__, __LINE__, true);
   20647                 :           0 :                               return true;
   20648                 :             :                             }
   20649                 :           0 : next_after_fail2453:;
   20650                 :             :                           }
   20651                 :             :                     }
   20652                 :             :                   }
   20653                 :           0 :                   break;
   20654                 :             :                 }
   20655                 :           0 :               case MIN_EXPR:
   20656                 :           0 :                 {
   20657                 :           0 :                   tree _q40 = gimple_assign_rhs1 (_a1);
   20658                 :           0 :                   _q40 = do_valueize (valueize, _q40);
   20659                 :           0 :                   tree _q41 = gimple_assign_rhs2 (_a1);
   20660                 :           0 :                   _q41 = do_valueize (valueize, _q41);
   20661                 :           0 :                   if (tree_swap_operands_p (_q40, _q41))
   20662                 :           0 :                     std::swap (_q40, _q41);
   20663                 :           0 :                   {
   20664                 :           0 :                     tree captures[7] ATTRIBUTE_UNUSED = { _p0, _p1, _p2, _q40, _q41, _p3, _p4 };
   20665                 :           0 :                     {
   20666                 :           0 :  tree op_type = TREE_TYPE (captures[2]);
   20667                 :           0 :                         if (vectorized_internal_fn_supported_p (as_internal_fn (CFN_COND_LEN_MIN), op_type)
   20668                 :           0 :  && is_truth_type_for (op_type, TREE_TYPE (captures[0]))
   20669                 :           0 :  && single_use (captures[2])
   20670                 :             : )
   20671                 :             :                           {
   20672                 :           0 :                             gimple_seq *lseq = seq;
   20673                 :           0 :                             if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail2454;
   20674                 :           0 :                             {
   20675                 :           0 :                               res_op->set_op (VIEW_CONVERT_EXPR, type, 1);
   20676                 :           0 :                               {
   20677                 :           0 :                                 tree _o1[6], _r1;
   20678                 :           0 :                                 {
   20679                 :           0 :                                   tree _o2[1], _r2;
   20680                 :           0 :                                   _o2[0] = captures[0];
   20681                 :           0 :                                   gimple_match_op tem_op (res_op->cond.any_else (), BIT_NOT_EXPR, TREE_TYPE (_o2[0]), _o2[0]);
   20682                 :           0 :                                   tem_op.resimplify (lseq, valueize);
   20683                 :           0 :                                   _r2 = maybe_push_res_to_seq (&tem_op, lseq);
   20684                 :           0 :                                   if (!_r2) goto next_after_fail2454;
   20685                 :           0 :                                   _o1[0] = _r2;
   20686                 :             :                                 }
   20687                 :           0 :                                 _o1[1] = captures[3];
   20688                 :           0 :                                 _o1[2] = captures[4];
   20689                 :           0 :                                 {
   20690                 :           0 :                                   tree _o2[1], _r2;
   20691                 :           0 :                                   _o2[0] = captures[1];
   20692                 :           0 :                                   gimple_match_op tem_op (res_op->cond.any_else (), VIEW_CONVERT_EXPR, op_type, _o2[0]);
   20693                 :           0 :                                   tem_op.resimplify (lseq, valueize);
   20694                 :           0 :                                   _r2 = maybe_push_res_to_seq (&tem_op, lseq);
   20695                 :           0 :                                   if (!_r2) goto next_after_fail2454;
   20696                 :           0 :                                   _o1[3] = _r2;
   20697                 :             :                                 }
   20698                 :           0 :                                 _o1[4] = captures[5];
   20699                 :           0 :                                 _o1[5] = captures[6];
   20700                 :           0 :                                 gimple_match_op tem_op (res_op->cond.any_else (), CFN_COND_LEN_MIN, TREE_TYPE (_o1[1]), _o1[0], _o1[1], _o1[2], _o1[3], _o1[4], _o1[5]);
   20701                 :           0 :                                 tem_op.resimplify (lseq, valueize);
   20702                 :           0 :                                 _r1 = maybe_push_res_to_seq (&tem_op, lseq);
   20703                 :           0 :                                 if (!_r1) goto next_after_fail2454;
   20704                 :           0 :                                 res_op->ops[0] = _r1;
   20705                 :             :                               }
   20706                 :           0 :                               res_op->resimplify (lseq, valueize);
   20707                 :           0 :                               if (UNLIKELY (debug_dump)) gimple_dump_logs ("match.pd", 1163, __FILE__, __LINE__, true);
   20708                 :           0 :                               return true;
   20709                 :             :                             }
   20710                 :           0 : next_after_fail2454:;
   20711                 :             :                           }
   20712                 :             :                     }
   20713                 :             :                   }
   20714                 :           0 :                   break;
   20715                 :             :                 }
   20716                 :           0 :               case MAX_EXPR:
   20717                 :           0 :                 {
   20718                 :           0 :                   tree _q40 = gimple_assign_rhs1 (_a1);
   20719                 :           0 :                   _q40 = do_valueize (valueize, _q40);
   20720                 :           0 :                   tree _q41 = gimple_assign_rhs2 (_a1);
   20721                 :           0 :                   _q41 = do_valueize (valueize, _q41);
   20722                 :           0 :                   if (tree_swap_operands_p (_q40, _q41))
   20723                 :           0 :                     std::swap (_q40, _q41);
   20724                 :           0 :                   {
   20725                 :           0 :                     tree captures[7] ATTRIBUTE_UNUSED = { _p0, _p1, _p2, _q40, _q41, _p3, _p4 };
   20726                 :           0 :                     {
   20727                 :           0 :  tree op_type = TREE_TYPE (captures[2]);
   20728                 :           0 :                         if (vectorized_internal_fn_supported_p (as_internal_fn (CFN_COND_LEN_MAX), op_type)
   20729                 :           0 :  && is_truth_type_for (op_type, TREE_TYPE (captures[0]))
   20730                 :           0 :  && single_use (captures[2])
   20731                 :             : )
   20732                 :             :                           {
   20733                 :           0 :                             gimple_seq *lseq = seq;
   20734                 :           0 :                             if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail2455;
   20735                 :           0 :                             {
   20736                 :           0 :                               res_op->set_op (VIEW_CONVERT_EXPR, type, 1);
   20737                 :           0 :                               {
   20738                 :           0 :                                 tree _o1[6], _r1;
   20739                 :           0 :                                 {
   20740                 :           0 :                                   tree _o2[1], _r2;
   20741                 :           0 :                                   _o2[0] = captures[0];
   20742                 :           0 :                                   gimple_match_op tem_op (res_op->cond.any_else (), BIT_NOT_EXPR, TREE_TYPE (_o2[0]), _o2[0]);
   20743                 :           0 :                                   tem_op.resimplify (lseq, valueize);
   20744                 :           0 :                                   _r2 = maybe_push_res_to_seq (&tem_op, lseq);
   20745                 :           0 :                                   if (!_r2) goto next_after_fail2455;
   20746                 :           0 :                                   _o1[0] = _r2;
   20747                 :             :                                 }
   20748                 :           0 :                                 _o1[1] = captures[3];
   20749                 :           0 :                                 _o1[2] = captures[4];
   20750                 :           0 :                                 {
   20751                 :           0 :                                   tree _o2[1], _r2;
   20752                 :           0 :                                   _o2[0] = captures[1];
   20753                 :           0 :                                   gimple_match_op tem_op (res_op->cond.any_else (), VIEW_CONVERT_EXPR, op_type, _o2[0]);
   20754                 :           0 :                                   tem_op.resimplify (lseq, valueize);
   20755                 :           0 :                                   _r2 = maybe_push_res_to_seq (&tem_op, lseq);
   20756                 :           0 :                                   if (!_r2) goto next_after_fail2455;
   20757                 :           0 :                                   _o1[3] = _r2;
   20758                 :             :                                 }
   20759                 :           0 :                                 _o1[4] = captures[5];
   20760                 :           0 :                                 _o1[5] = captures[6];
   20761                 :           0 :                                 gimple_match_op tem_op (res_op->cond.any_else (), CFN_COND_LEN_MAX, TREE_TYPE (_o1[1]), _o1[0], _o1[1], _o1[2], _o1[3], _o1[4], _o1[5]);
   20762                 :           0 :                                 tem_op.resimplify (lseq, valueize);
   20763                 :           0 :                                 _r1 = maybe_push_res_to_seq (&tem_op, lseq);
   20764                 :           0 :                                 if (!_r1) goto next_after_fail2455;
   20765                 :           0 :                                 res_op->ops[0] = _r1;
   20766                 :             :                               }
   20767                 :           0 :                               res_op->resimplify (lseq, valueize);
   20768                 :           0 :                               if (UNLIKELY (debug_dump)) gimple_dump_logs ("match.pd", 1163, __FILE__, __LINE__, true);
   20769                 :           0 :                               return true;
   20770                 :             :                             }
   20771                 :           0 : next_after_fail2455:;
   20772                 :             :                           }
   20773                 :             :                     }
   20774                 :             :                   }
   20775                 :           0 :                   break;
   20776                 :             :                 }
   20777                 :           0 :               case BIT_AND_EXPR:
   20778                 :           0 :                 {
   20779                 :           0 :                   tree _q40 = gimple_assign_rhs1 (_a1);
   20780                 :           0 :                   _q40 = do_valueize (valueize, _q40);
   20781                 :           0 :                   tree _q41 = gimple_assign_rhs2 (_a1);
   20782                 :           0 :                   _q41 = do_valueize (valueize, _q41);
   20783                 :           0 :                   if (tree_swap_operands_p (_q40, _q41))
   20784                 :           0 :                     std::swap (_q40, _q41);
   20785                 :           0 :                   {
   20786                 :           0 :                     tree captures[7] ATTRIBUTE_UNUSED = { _p0, _p1, _p2, _q40, _q41, _p3, _p4 };
   20787                 :           0 :                     {
   20788                 :           0 :  tree op_type = TREE_TYPE (captures[2]);
   20789                 :           0 :                         if (vectorized_internal_fn_supported_p (as_internal_fn (CFN_COND_LEN_AND), op_type)
   20790                 :           0 :  && is_truth_type_for (op_type, TREE_TYPE (captures[0]))
   20791                 :           0 :  && single_use (captures[2])
   20792                 :             : )
   20793                 :             :                           {
   20794                 :           0 :                             gimple_seq *lseq = seq;
   20795                 :           0 :                             if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail2456;
   20796                 :           0 :                             {
   20797                 :           0 :                               res_op->set_op (VIEW_CONVERT_EXPR, type, 1);
   20798                 :           0 :                               {
   20799                 :           0 :                                 tree _o1[6], _r1;
   20800                 :           0 :                                 {
   20801                 :           0 :                                   tree _o2[1], _r2;
   20802                 :           0 :                                   _o2[0] = captures[0];
   20803                 :           0 :                                   gimple_match_op tem_op (res_op->cond.any_else (), BIT_NOT_EXPR, TREE_TYPE (_o2[0]), _o2[0]);
   20804                 :           0 :                                   tem_op.resimplify (lseq, valueize);
   20805                 :           0 :                                   _r2 = maybe_push_res_to_seq (&tem_op, lseq);
   20806                 :           0 :                                   if (!_r2) goto next_after_fail2456;
   20807                 :           0 :                                   _o1[0] = _r2;
   20808                 :             :                                 }
   20809                 :           0 :                                 _o1[1] = captures[3];
   20810                 :           0 :                                 _o1[2] = captures[4];
   20811                 :           0 :                                 {
   20812                 :           0 :                                   tree _o2[1], _r2;
   20813                 :           0 :                                   _o2[0] = captures[1];
   20814                 :           0 :                                   gimple_match_op tem_op (res_op->cond.any_else (), VIEW_CONVERT_EXPR, op_type, _o2[0]);
   20815                 :           0 :                                   tem_op.resimplify (lseq, valueize);
   20816                 :           0 :                                   _r2 = maybe_push_res_to_seq (&tem_op, lseq);
   20817                 :           0 :                                   if (!_r2) goto next_after_fail2456;
   20818                 :           0 :                                   _o1[3] = _r2;
   20819                 :             :                                 }
   20820                 :           0 :                                 _o1[4] = captures[5];
   20821                 :           0 :                                 _o1[5] = captures[6];
   20822                 :           0 :                                 gimple_match_op tem_op (res_op->cond.any_else (), CFN_COND_LEN_AND, TREE_TYPE (_o1[1]), _o1[0], _o1[1], _o1[2], _o1[3], _o1[4], _o1[5]);
   20823                 :           0 :                                 tem_op.resimplify (lseq, valueize);
   20824                 :           0 :                                 _r1 = maybe_push_res_to_seq (&tem_op, lseq);
   20825                 :           0 :                                 if (!_r1) goto next_after_fail2456;
   20826                 :           0 :                                 res_op->ops[0] = _r1;
   20827                 :             :                               }
   20828                 :           0 :                               res_op->resimplify (lseq, valueize);
   20829                 :           0 :                               if (UNLIKELY (debug_dump)) gimple_dump_logs ("match.pd", 1163, __FILE__, __LINE__, true);
   20830                 :           0 :                               return true;
   20831                 :             :                             }
   20832                 :           0 : next_after_fail2456:;
   20833                 :             :                           }
   20834                 :             :                     }
   20835                 :             :                   }
   20836                 :           0 :                   break;
   20837                 :             :                 }
   20838                 :           0 :               case BIT_IOR_EXPR:
   20839                 :           0 :                 {
   20840                 :           0 :                   tree _q40 = gimple_assign_rhs1 (_a1);
   20841                 :           0 :                   _q40 = do_valueize (valueize, _q40);
   20842                 :           0 :                   tree _q41 = gimple_assign_rhs2 (_a1);
   20843                 :           0 :                   _q41 = do_valueize (valueize, _q41);
   20844                 :           0 :                   if (tree_swap_operands_p (_q40, _q41))
   20845                 :           0 :                     std::swap (_q40, _q41);
   20846                 :           0 :                   {
   20847                 :           0 :                     tree captures[7] ATTRIBUTE_UNUSED = { _p0, _p1, _p2, _q40, _q41, _p3, _p4 };
   20848                 :           0 :                     {
   20849                 :           0 :  tree op_type = TREE_TYPE (captures[2]);
   20850                 :           0 :                         if (vectorized_internal_fn_supported_p (as_internal_fn (CFN_COND_LEN_IOR), op_type)
   20851                 :           0 :  && is_truth_type_for (op_type, TREE_TYPE (captures[0]))
   20852                 :           0 :  && single_use (captures[2])
   20853                 :             : )
   20854                 :             :                           {
   20855                 :           0 :                             gimple_seq *lseq = seq;
   20856                 :           0 :                             if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail2457;
   20857                 :           0 :                             {
   20858                 :           0 :                               res_op->set_op (VIEW_CONVERT_EXPR, type, 1);
   20859                 :           0 :                               {
   20860                 :           0 :                                 tree _o1[6], _r1;
   20861                 :           0 :                                 {
   20862                 :           0 :                                   tree _o2[1], _r2;
   20863                 :           0 :                                   _o2[0] = captures[0];
   20864                 :           0 :                                   gimple_match_op tem_op (res_op->cond.any_else (), BIT_NOT_EXPR, TREE_TYPE (_o2[0]), _o2[0]);
   20865                 :           0 :                                   tem_op.resimplify (lseq, valueize);
   20866                 :           0 :                                   _r2 = maybe_push_res_to_seq (&tem_op, lseq);
   20867                 :           0 :                                   if (!_r2) goto next_after_fail2457;
   20868                 :           0 :                                   _o1[0] = _r2;
   20869                 :             :                                 }
   20870                 :           0 :                                 _o1[1] = captures[3];
   20871                 :           0 :                                 _o1[2] = captures[4];
   20872                 :           0 :                                 {
   20873                 :           0 :                                   tree _o2[1], _r2;
   20874                 :           0 :                                   _o2[0] = captures[1];
   20875                 :           0 :                                   gimple_match_op tem_op (res_op->cond.any_else (), VIEW_CONVERT_EXPR, op_type, _o2[0]);
   20876                 :           0 :                                   tem_op.resimplify (lseq, valueize);
   20877                 :           0 :                                   _r2 = maybe_push_res_to_seq (&tem_op, lseq);
   20878                 :           0 :                                   if (!_r2) goto next_after_fail2457;
   20879                 :           0 :                                   _o1[3] = _r2;
   20880                 :             :                                 }
   20881                 :           0 :                                 _o1[4] = captures[5];
   20882                 :           0 :                                 _o1[5] = captures[6];
   20883                 :           0 :                                 gimple_match_op tem_op (res_op->cond.any_else (), CFN_COND_LEN_IOR, TREE_TYPE (_o1[1]), _o1[0], _o1[1], _o1[2], _o1[3], _o1[4], _o1[5]);
   20884                 :           0 :                                 tem_op.resimplify (lseq, valueize);
   20885                 :           0 :                                 _r1 = maybe_push_res_to_seq (&tem_op, lseq);
   20886                 :           0 :                                 if (!_r1) goto next_after_fail2457;
   20887                 :           0 :                                 res_op->ops[0] = _r1;
   20888                 :             :                               }
   20889                 :           0 :                               res_op->resimplify (lseq, valueize);
   20890                 :           0 :                               if (UNLIKELY (debug_dump)) gimple_dump_logs ("match.pd", 1163, __FILE__, __LINE__, true);
   20891                 :           0 :                               return true;
   20892                 :             :                             }
   20893                 :           0 : next_after_fail2457:;
   20894                 :             :                           }
   20895                 :             :                     }
   20896                 :             :                   }
   20897                 :           0 :                   break;
   20898                 :             :                 }
   20899                 :           0 :               case BIT_XOR_EXPR:
   20900                 :           0 :                 {
   20901                 :           0 :                   tree _q40 = gimple_assign_rhs1 (_a1);
   20902                 :           0 :                   _q40 = do_valueize (valueize, _q40);
   20903                 :           0 :                   tree _q41 = gimple_assign_rhs2 (_a1);
   20904                 :           0 :                   _q41 = do_valueize (valueize, _q41);
   20905                 :           0 :                   if (tree_swap_operands_p (_q40, _q41))
   20906                 :           0 :                     std::swap (_q40, _q41);
   20907                 :           0 :                   {
   20908                 :           0 :                     tree captures[7] ATTRIBUTE_UNUSED = { _p0, _p1, _p2, _q40, _q41, _p3, _p4 };
   20909                 :           0 :                     {
   20910                 :           0 :  tree op_type = TREE_TYPE (captures[2]);
   20911                 :           0 :                         if (vectorized_internal_fn_supported_p (as_internal_fn (CFN_COND_LEN_XOR), op_type)
   20912                 :           0 :  && is_truth_type_for (op_type, TREE_TYPE (captures[0]))
   20913                 :           0 :  && single_use (captures[2])
   20914                 :             : )
   20915                 :             :                           {
   20916                 :           0 :                             gimple_seq *lseq = seq;
   20917                 :           0 :                             if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail2458;
   20918                 :           0 :                             {
   20919                 :           0 :                               res_op->set_op (VIEW_CONVERT_EXPR, type, 1);
   20920                 :           0 :                               {
   20921                 :           0 :                                 tree _o1[6], _r1;
   20922                 :           0 :                                 {
   20923                 :           0 :                                   tree _o2[1], _r2;
   20924                 :           0 :                                   _o2[0] = captures[0];
   20925                 :           0 :                                   gimple_match_op tem_op (res_op->cond.any_else (), BIT_NOT_EXPR, TREE_TYPE (_o2[0]), _o2[0]);
   20926                 :           0 :                                   tem_op.resimplify (lseq, valueize);
   20927                 :           0 :                                   _r2 = maybe_push_res_to_seq (&tem_op, lseq);
   20928                 :           0 :                                   if (!_r2) goto next_after_fail2458;
   20929                 :           0 :                                   _o1[0] = _r2;
   20930                 :             :                                 }
   20931                 :           0 :                                 _o1[1] = captures[3];
   20932                 :           0 :                                 _o1[2] = captures[4];
   20933                 :           0 :                                 {
   20934                 :           0 :                                   tree _o2[1], _r2;
   20935                 :           0 :                                   _o2[0] = captures[1];
   20936                 :           0 :                                   gimple_match_op tem_op (res_op->cond.any_else (), VIEW_CONVERT_EXPR, op_type, _o2[0]);
   20937                 :           0 :                                   tem_op.resimplify (lseq, valueize);
   20938                 :           0 :                                   _r2 = maybe_push_res_to_seq (&tem_op, lseq);
   20939                 :           0 :                                   if (!_r2) goto next_after_fail2458;
   20940                 :           0 :                                   _o1[3] = _r2;
   20941                 :             :                                 }
   20942                 :           0 :                                 _o1[4] = captures[5];
   20943                 :           0 :                                 _o1[5] = captures[6];
   20944                 :           0 :                                 gimple_match_op tem_op (res_op->cond.any_else (), CFN_COND_LEN_XOR, TREE_TYPE (_o1[1]), _o1[0], _o1[1], _o1[2], _o1[3], _o1[4], _o1[5]);
   20945                 :           0 :                                 tem_op.resimplify (lseq, valueize);
   20946                 :           0 :                                 _r1 = maybe_push_res_to_seq (&tem_op, lseq);
   20947                 :           0 :                                 if (!_r1) goto next_after_fail2458;
   20948                 :           0 :                                 res_op->ops[0] = _r1;
   20949                 :             :                               }
   20950                 :           0 :                               res_op->resimplify (lseq, valueize);
   20951                 :           0 :                               if (UNLIKELY (debug_dump)) gimple_dump_logs ("match.pd", 1163, __FILE__, __LINE__, true);
   20952                 :           0 :                               return true;
   20953                 :             :                             }
   20954                 :           0 : next_after_fail2458:;
   20955                 :             :                           }
   20956                 :             :                     }
   20957                 :             :                   }
   20958                 :           0 :                   break;
   20959                 :             :                 }
   20960                 :           0 :               case LSHIFT_EXPR:
   20961                 :           0 :                 {
   20962                 :           0 :                   tree _q40 = gimple_assign_rhs1 (_a1);
   20963                 :           0 :                   _q40 = do_valueize (valueize, _q40);
   20964                 :           0 :                   tree _q41 = gimple_assign_rhs2 (_a1);
   20965                 :           0 :                   _q41 = do_valueize (valueize, _q41);
   20966                 :           0 :                   {
   20967                 :           0 :                     tree captures[7] ATTRIBUTE_UNUSED = { _p0, _p1, _p2, _q40, _q41, _p3, _p4 };
   20968                 :           0 :                     {
   20969                 :           0 :  tree op_type = TREE_TYPE (captures[2]);
   20970                 :           0 :                         if (vectorized_internal_fn_supported_p (as_internal_fn (CFN_COND_LEN_SHL), op_type)
   20971                 :           0 :  && is_truth_type_for (op_type, TREE_TYPE (captures[0]))
   20972                 :           0 :  && single_use (captures[2])
   20973                 :             : )
   20974                 :             :                           {
   20975                 :           0 :                             gimple_seq *lseq = seq;
   20976                 :           0 :                             if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail2459;
   20977                 :           0 :                             {
   20978                 :           0 :                               res_op->set_op (VIEW_CONVERT_EXPR, type, 1);
   20979                 :           0 :                               {
   20980                 :           0 :                                 tree _o1[6], _r1;
   20981                 :           0 :                                 {
   20982                 :           0 :                                   tree _o2[1], _r2;
   20983                 :           0 :                                   _o2[0] = captures[0];
   20984                 :           0 :                                   gimple_match_op tem_op (res_op->cond.any_else (), BIT_NOT_EXPR, TREE_TYPE (_o2[0]), _o2[0]);
   20985                 :           0 :                                   tem_op.resimplify (lseq, valueize);
   20986                 :           0 :                                   _r2 = maybe_push_res_to_seq (&tem_op, lseq);
   20987                 :           0 :                                   if (!_r2) goto next_after_fail2459;
   20988                 :           0 :                                   _o1[0] = _r2;
   20989                 :             :                                 }
   20990                 :           0 :                                 _o1[1] = captures[3];
   20991                 :           0 :                                 _o1[2] = captures[4];
   20992                 :           0 :                                 {
   20993                 :           0 :                                   tree _o2[1], _r2;
   20994                 :           0 :                                   _o2[0] = captures[1];
   20995                 :           0 :                                   gimple_match_op tem_op (res_op->cond.any_else (), VIEW_CONVERT_EXPR, op_type, _o2[0]);
   20996                 :           0 :                                   tem_op.resimplify (lseq, valueize);
   20997                 :           0 :                                   _r2 = maybe_push_res_to_seq (&tem_op, lseq);
   20998                 :           0 :                                   if (!_r2) goto next_after_fail2459;
   20999                 :           0 :                                   _o1[3] = _r2;
   21000                 :             :                                 }
   21001                 :           0 :                                 _o1[4] = captures[5];
   21002                 :           0 :                                 _o1[5] = captures[6];
   21003                 :           0 :                                 gimple_match_op tem_op (res_op->cond.any_else (), CFN_COND_LEN_SHL, TREE_TYPE (_o1[1]), _o1[0], _o1[1], _o1[2], _o1[3], _o1[4], _o1[5]);
   21004                 :           0 :                                 tem_op.resimplify (lseq, valueize);
   21005                 :           0 :                                 _r1 = maybe_push_res_to_seq (&tem_op, lseq);
   21006                 :           0 :                                 if (!_r1) goto next_after_fail2459;
   21007                 :           0 :                                 res_op->ops[0] = _r1;
   21008                 :             :                               }
   21009                 :           0 :                               res_op->resimplify (lseq, valueize);
   21010                 :           0 :                               if (UNLIKELY (debug_dump)) gimple_dump_logs ("match.pd", 1163, __FILE__, __LINE__, true);
   21011                 :           0 :                               return true;
   21012                 :             :                             }
   21013                 :           0 : next_after_fail2459:;
   21014                 :             :                           }
   21015                 :             :                     }
   21016                 :             :                   }
   21017                 :           0 :                   break;
   21018                 :             :                 }
   21019                 :           0 :               case RSHIFT_EXPR:
   21020                 :           0 :                 {
   21021                 :           0 :                   tree _q40 = gimple_assign_rhs1 (_a1);
   21022                 :           0 :                   _q40 = do_valueize (valueize, _q40);
   21023                 :           0 :                   tree _q41 = gimple_assign_rhs2 (_a1);
   21024                 :           0 :                   _q41 = do_valueize (valueize, _q41);
   21025                 :           0 :                   {
   21026                 :           0 :                     tree captures[7] ATTRIBUTE_UNUSED = { _p0, _p1, _p2, _q40, _q41, _p3, _p4 };
   21027                 :           0 :                     {
   21028                 :           0 :  tree op_type = TREE_TYPE (captures[2]);
   21029                 :           0 :                         if (vectorized_internal_fn_supported_p (as_internal_fn (CFN_COND_LEN_SHR), op_type)
   21030                 :           0 :  && is_truth_type_for (op_type, TREE_TYPE (captures[0]))
   21031                 :           0 :  && single_use (captures[2])
   21032                 :             : )
   21033                 :             :                           {
   21034                 :           0 :                             gimple_seq *lseq = seq;
   21035                 :           0 :                             if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail2460;
   21036                 :           0 :                             {
   21037                 :           0 :                               res_op->set_op (VIEW_CONVERT_EXPR, type, 1);
   21038                 :           0 :                               {
   21039                 :           0 :                                 tree _o1[6], _r1;
   21040                 :           0 :                                 {
   21041                 :           0 :                                   tree _o2[1], _r2;
   21042                 :           0 :                                   _o2[0] = captures[0];
   21043                 :           0 :                                   gimple_match_op tem_op (res_op->cond.any_else (), BIT_NOT_EXPR, TREE_TYPE (_o2[0]), _o2[0]);
   21044                 :           0 :                                   tem_op.resimplify (lseq, valueize);
   21045                 :           0 :                                   _r2 = maybe_push_res_to_seq (&tem_op, lseq);
   21046                 :           0 :                                   if (!_r2) goto next_after_fail2460;
   21047                 :           0 :                                   _o1[0] = _r2;
   21048                 :             :                                 }
   21049                 :           0 :                                 _o1[1] = captures[3];
   21050                 :           0 :                                 _o1[2] = captures[4];
   21051                 :           0 :                                 {
   21052                 :           0 :                                   tree _o2[1], _r2;
   21053                 :           0 :                                   _o2[0] = captures[1];
   21054                 :           0 :                                   gimple_match_op tem_op (res_op->cond.any_else (), VIEW_CONVERT_EXPR, op_type, _o2[0]);
   21055                 :           0 :                                   tem_op.resimplify (lseq, valueize);
   21056                 :           0 :                                   _r2 = maybe_push_res_to_seq (&tem_op, lseq);
   21057                 :           0 :                                   if (!_r2) goto next_after_fail2460;
   21058                 :           0 :                                   _o1[3] = _r2;
   21059                 :             :                                 }
   21060                 :           0 :                                 _o1[4] = captures[5];
   21061                 :           0 :                                 _o1[5] = captures[6];
   21062                 :           0 :                                 gimple_match_op tem_op (res_op->cond.any_else (), CFN_COND_LEN_SHR, TREE_TYPE (_o1[1]), _o1[0], _o1[1], _o1[2], _o1[3], _o1[4], _o1[5]);
   21063                 :           0 :                                 tem_op.resimplify (lseq, valueize);
   21064                 :           0 :                                 _r1 = maybe_push_res_to_seq (&tem_op, lseq);
   21065                 :           0 :                                 if (!_r1) goto next_after_fail2460;
   21066                 :           0 :                                 res_op->ops[0] = _r1;
   21067                 :             :                               }
   21068                 :           0 :                               res_op->resimplify (lseq, valueize);
   21069                 :           0 :                               if (UNLIKELY (debug_dump)) gimple_dump_logs ("match.pd", 1163, __FILE__, __LINE__, true);
   21070                 :           0 :                               return true;
   21071                 :             :                             }
   21072                 :           0 : next_after_fail2460:;
   21073                 :             :                           }
   21074                 :             :                     }
   21075                 :             :                   }
   21076                 :           0 :                   break;
   21077                 :             :                 }
   21078                 :             :               default:;
   21079                 :             :               }
   21080                 :           0 :           else if (gcall *_c1 = dyn_cast <gcall *> (_d1))
   21081                 :           0 :             switch (gimple_call_combined_fn (_c1))
   21082                 :             :               {
   21083                 :           0 :               case CFN_FMAX:
   21084                 :           0 :                 if (gimple_call_num_args (_c1) == 2)
   21085                 :             :                   {
   21086                 :           0 :                     tree _q40 = gimple_call_arg (_c1, 0);
   21087                 :           0 :                     _q40 = do_valueize (valueize, _q40);
   21088                 :           0 :                     tree _q41 = gimple_call_arg (_c1, 1);
   21089                 :           0 :                     _q41 = do_valueize (valueize, _q41);
   21090                 :           0 :                     {
   21091                 :           0 :                       tree captures[7] ATTRIBUTE_UNUSED = { _p0, _p1, _p2, _q40, _q41, _p3, _p4 };
   21092                 :           0 :                       {
   21093                 :           0 :  tree op_type = TREE_TYPE (captures[2]);
   21094                 :           0 :                           if (vectorized_internal_fn_supported_p (as_internal_fn (CFN_COND_LEN_FMAX), op_type)
   21095                 :           0 :  && is_truth_type_for (op_type, TREE_TYPE (captures[0]))
   21096                 :           0 :  && single_use (captures[2])
   21097                 :             : )
   21098                 :             :                             {
   21099                 :           0 :                               gimple_seq *lseq = seq;
   21100                 :           0 :                               if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail2461;
   21101                 :           0 :                               {
   21102                 :           0 :                                 res_op->set_op (VIEW_CONVERT_EXPR, type, 1);
   21103                 :           0 :                                 {
   21104                 :           0 :                                   tree _o1[6], _r1;
   21105                 :           0 :                                   {
   21106                 :           0 :                                     tree _o2[1], _r2;
   21107                 :           0 :                                     _o2[0] = captures[0];
   21108                 :           0 :                                     gimple_match_op tem_op (res_op->cond.any_else (), BIT_NOT_EXPR, TREE_TYPE (_o2[0]), _o2[0]);
   21109                 :           0 :                                     tem_op.resimplify (lseq, valueize);
   21110                 :           0 :                                     _r2 = maybe_push_res_to_seq (&tem_op, lseq);
   21111                 :           0 :                                     if (!_r2) goto next_after_fail2461;
   21112                 :           0 :                                     _o1[0] = _r2;
   21113                 :             :                                   }
   21114                 :           0 :                                   _o1[1] = captures[3];
   21115                 :           0 :                                   _o1[2] = captures[4];
   21116                 :           0 :                                   {
   21117                 :           0 :                                     tree _o2[1], _r2;
   21118                 :           0 :                                     _o2[0] = captures[1];
   21119                 :           0 :                                     gimple_match_op tem_op (res_op->cond.any_else (), VIEW_CONVERT_EXPR, op_type, _o2[0]);
   21120                 :           0 :                                     tem_op.resimplify (lseq, valueize);
   21121                 :           0 :                                     _r2 = maybe_push_res_to_seq (&tem_op, lseq);
   21122                 :           0 :                                     if (!_r2) goto next_after_fail2461;
   21123                 :           0 :                                     _o1[3] = _r2;
   21124                 :             :                                   }
   21125                 :           0 :                                   _o1[4] = captures[5];
   21126                 :           0 :                                   _o1[5] = captures[6];
   21127                 :           0 :                                   gimple_match_op tem_op (res_op->cond.any_else (), CFN_COND_LEN_FMAX, TREE_TYPE (_o1[1]), _o1[0], _o1[1], _o1[2], _o1[3], _o1[4], _o1[5]);
   21128                 :           0 :                                   tem_op.resimplify (lseq, valueize);
   21129                 :           0 :                                   _r1 = maybe_push_res_to_seq (&tem_op, lseq);
   21130                 :           0 :                                   if (!_r1) goto next_after_fail2461;
   21131                 :           0 :                                   res_op->ops[0] = _r1;
   21132                 :             :                                 }
   21133                 :           0 :                                 res_op->resimplify (lseq, valueize);
   21134                 :           0 :                                 if (UNLIKELY (debug_dump)) gimple_dump_logs ("match.pd", 1163, __FILE__, __LINE__, true);
   21135                 :           0 :                                 return true;
   21136                 :             :                               }
   21137                 :           0 : next_after_fail2461:;
   21138                 :             :                             }
   21139                 :             :                       }
   21140                 :             :                     }
   21141                 :             :                   }
   21142                 :             :                 break;
   21143                 :           0 :               case CFN_FMIN:
   21144                 :           0 :                 if (gimple_call_num_args (_c1) == 2)
   21145                 :             :                   {
   21146                 :           0 :                     tree _q40 = gimple_call_arg (_c1, 0);
   21147                 :           0 :                     _q40 = do_valueize (valueize, _q40);
   21148                 :           0 :                     tree _q41 = gimple_call_arg (_c1, 1);
   21149                 :           0 :                     _q41 = do_valueize (valueize, _q41);
   21150                 :           0 :                     {
   21151                 :           0 :                       tree captures[7] ATTRIBUTE_UNUSED = { _p0, _p1, _p2, _q40, _q41, _p3, _p4 };
   21152                 :           0 :                       {
   21153                 :           0 :  tree op_type = TREE_TYPE (captures[2]);
   21154                 :           0 :                           if (vectorized_internal_fn_supported_p (as_internal_fn (CFN_COND_LEN_FMIN), op_type)
   21155                 :           0 :  && is_truth_type_for (op_type, TREE_TYPE (captures[0]))
   21156                 :           0 :  && single_use (captures[2])
   21157                 :             : )
   21158                 :             :                             {
   21159                 :           0 :                               gimple_seq *lseq = seq;
   21160                 :           0 :                               if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail2462;
   21161                 :           0 :                               {
   21162                 :           0 :                                 res_op->set_op (VIEW_CONVERT_EXPR, type, 1);
   21163                 :           0 :                                 {
   21164                 :           0 :                                   tree _o1[6], _r1;
   21165                 :           0 :                                   {
   21166                 :           0 :                                     tree _o2[1], _r2;
   21167                 :           0 :                                     _o2[0] = captures[0];
   21168                 :           0 :                                     gimple_match_op tem_op (res_op->cond.any_else (), BIT_NOT_EXPR, TREE_TYPE (_o2[0]), _o2[0]);
   21169                 :           0 :                                     tem_op.resimplify (lseq, valueize);
   21170                 :           0 :                                     _r2 = maybe_push_res_to_seq (&tem_op, lseq);
   21171                 :           0 :                                     if (!_r2) goto next_after_fail2462;
   21172                 :           0 :                                     _o1[0] = _r2;
   21173                 :             :                                   }
   21174                 :           0 :                                   _o1[1] = captures[3];
   21175                 :           0 :                                   _o1[2] = captures[4];
   21176                 :           0 :                                   {
   21177                 :           0 :                                     tree _o2[1], _r2;
   21178                 :           0 :                                     _o2[0] = captures[1];
   21179                 :           0 :                                     gimple_match_op tem_op (res_op->cond.any_else (), VIEW_CONVERT_EXPR, op_type, _o2[0]);
   21180                 :           0 :                                     tem_op.resimplify (lseq, valueize);
   21181                 :           0 :                                     _r2 = maybe_push_res_to_seq (&tem_op, lseq);
   21182                 :           0 :                                     if (!_r2) goto next_after_fail2462;
   21183                 :           0 :                                     _o1[3] = _r2;
   21184                 :             :                                   }
   21185                 :           0 :                                   _o1[4] = captures[5];
   21186                 :           0 :                                   _o1[5] = captures[6];
   21187                 :           0 :                                   gimple_match_op tem_op (res_op->cond.any_else (), CFN_COND_LEN_FMIN, TREE_TYPE (_o1[1]), _o1[0], _o1[1], _o1[2], _o1[3], _o1[4], _o1[5]);
   21188                 :           0 :                                   tem_op.resimplify (lseq, valueize);
   21189                 :           0 :                                   _r1 = maybe_push_res_to_seq (&tem_op, lseq);
   21190                 :           0 :                                   if (!_r1) goto next_after_fail2462;
   21191                 :           0 :                                   res_op->ops[0] = _r1;
   21192                 :             :                                 }
   21193                 :           0 :                                 res_op->resimplify (lseq, valueize);
   21194                 :           0 :                                 if (UNLIKELY (debug_dump)) gimple_dump_logs ("match.pd", 1163, __FILE__, __LINE__, true);
   21195                 :           0 :                                 return true;
   21196                 :             :                               }
   21197                 :           0 : next_after_fail2462:;
   21198                 :             :                             }
   21199                 :             :                       }
   21200                 :             :                     }
   21201                 :             :                   }
   21202                 :             :                 break;
   21203                 :           0 :               case CFN_COPYSIGN:
   21204                 :           0 :                 if (gimple_call_num_args (_c1) == 2)
   21205                 :             :                   {
   21206                 :           0 :                     tree _q40 = gimple_call_arg (_c1, 0);
   21207                 :           0 :                     _q40 = do_valueize (valueize, _q40);
   21208                 :           0 :                     tree _q41 = gimple_call_arg (_c1, 1);
   21209                 :           0 :                     _q41 = do_valueize (valueize, _q41);
   21210                 :           0 :                     {
   21211                 :           0 :                       tree captures[7] ATTRIBUTE_UNUSED = { _p0, _p1, _p2, _q40, _q41, _p3, _p4 };
   21212                 :           0 :                       {
   21213                 :           0 :  tree op_type = TREE_TYPE (captures[2]);
   21214                 :           0 :                           if (vectorized_internal_fn_supported_p (as_internal_fn (CFN_COND_LEN_COPYSIGN), op_type)
   21215                 :           0 :  && is_truth_type_for (op_type, TREE_TYPE (captures[0]))
   21216                 :           0 :  && single_use (captures[2])
   21217                 :             : )
   21218                 :             :                             {
   21219                 :           0 :                               gimple_seq *lseq = seq;
   21220                 :           0 :                               if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail2463;
   21221                 :           0 :                               {
   21222                 :           0 :                                 res_op->set_op (VIEW_CONVERT_EXPR, type, 1);
   21223                 :           0 :                                 {
   21224                 :           0 :                                   tree _o1[6], _r1;
   21225                 :           0 :                                   {
   21226                 :           0 :                                     tree _o2[1], _r2;
   21227                 :           0 :                                     _o2[0] = captures[0];
   21228                 :           0 :                                     gimple_match_op tem_op (res_op->cond.any_else (), BIT_NOT_EXPR, TREE_TYPE (_o2[0]), _o2[0]);
   21229                 :           0 :                                     tem_op.resimplify (lseq, valueize);
   21230                 :           0 :                                     _r2 = maybe_push_res_to_seq (&tem_op, lseq);
   21231                 :           0 :                                     if (!_r2) goto next_after_fail2463;
   21232                 :           0 :                                     _o1[0] = _r2;
   21233                 :             :                                   }
   21234                 :           0 :                                   _o1[1] = captures[3];
   21235                 :           0 :                                   _o1[2] = captures[4];
   21236                 :           0 :                                   {
   21237                 :           0 :                                     tree _o2[1], _r2;
   21238                 :           0 :                                     _o2[0] = captures[1];
   21239                 :           0 :                                     gimple_match_op tem_op (res_op->cond.any_else (), VIEW_CONVERT_EXPR, op_type, _o2[0]);
   21240                 :           0 :                                     tem_op.resimplify (lseq, valueize);
   21241                 :           0 :                                     _r2 = maybe_push_res_to_seq (&tem_op, lseq);
   21242                 :           0 :                                     if (!_r2) goto next_after_fail2463;
   21243                 :           0 :                                     _o1[3] = _r2;
   21244                 :             :                                   }
   21245                 :           0 :                                   _o1[4] = captures[5];
   21246                 :           0 :                                   _o1[5] = captures[6];
   21247                 :           0 :                                   gimple_match_op tem_op (res_op->cond.any_else (), CFN_COND_LEN_COPYSIGN, TREE_TYPE (_o1[1]), _o1[0], _o1[1], _o1[2], _o1[3], _o1[4], _o1[5]);
   21248                 :           0 :                                   tem_op.resimplify (lseq, valueize);
   21249                 :           0 :                                   _r1 = maybe_push_res_to_seq (&tem_op, lseq);
   21250                 :           0 :                                   if (!_r1) goto next_after_fail2463;
   21251                 :           0 :                                   res_op->ops[0] = _r1;
   21252                 :             :                                 }
   21253                 :           0 :                                 res_op->resimplify (lseq, valueize);
   21254                 :           0 :                                 if (UNLIKELY (debug_dump)) gimple_dump_logs ("match.pd", 1163, __FILE__, __LINE__, true);
   21255                 :           0 :                                 return true;
   21256                 :             :                               }
   21257                 :           0 : next_after_fail2463:;
   21258                 :             :                             }
   21259                 :             :                       }
   21260                 :             :                     }
   21261                 :             :                   }
   21262                 :             :                 break;
   21263                 :             :               default:;
   21264                 :             :               }
   21265                 :             :         }
   21266                 :             :       break;
   21267                 :           0 :     default:;
   21268                 :             :     }
   21269                 :           0 :   switch (TREE_CODE (_p1))
   21270                 :             :     {
   21271                 :           0 :     case SSA_NAME:
   21272                 :           0 :       if (gimple *_d1 = get_def (valueize, _p1))
   21273                 :             :         {
   21274                 :           0 :           if (gassign *_a1 = dyn_cast <gassign *> (_d1))
   21275                 :           0 :             switch (gimple_assign_rhs_code (_a1))
   21276                 :             :               {
   21277                 :           0 :               case VIEW_CONVERT_EXPR:
   21278                 :           0 :                 {
   21279                 :           0 :                   tree _q30 = TREE_OPERAND (gimple_assign_rhs1 (_a1), 0);
   21280                 :           0 :                   if ((TREE_CODE (_q30) == SSA_NAME
   21281                 :           0 :                        || is_gimple_min_invariant (_q30)))
   21282                 :             :                     {
   21283                 :           0 :                       _q30 = do_valueize (valueize, _q30);
   21284                 :           0 :                       switch (TREE_CODE (_q30))
   21285                 :             :                         {
   21286                 :           0 :                         case SSA_NAME:
   21287                 :           0 :                           if (gimple *_d2 = get_def (valueize, _q30))
   21288                 :             :                             {
   21289                 :           0 :                               if (gcall *_c2 = dyn_cast <gcall *> (_d2))
   21290                 :           0 :                                 switch (gimple_call_combined_fn (_c2))
   21291                 :             :                                   {
   21292                 :           0 :                                   case CFN_FMA:
   21293                 :           0 :                                     if (gimple_call_num_args (_c2) == 3)
   21294                 :             :                                       {
   21295                 :           0 :                                         tree _q40 = gimple_call_arg (_c2, 0);
   21296                 :           0 :                                         _q40 = do_valueize (valueize, _q40);
   21297                 :           0 :                                         tree _q41 = gimple_call_arg (_c2, 1);
   21298                 :           0 :                                         _q41 = do_valueize (valueize, _q41);
   21299                 :           0 :                                         tree _q42 = gimple_call_arg (_c2, 2);
   21300                 :           0 :                                         _q42 = do_valueize (valueize, _q42);
   21301                 :           0 :                                         if (tree_swap_operands_p (_q40, _q41))
   21302                 :           0 :                                           std::swap (_q40, _q41);
   21303                 :           0 :                                         {
   21304                 :           0 :                                           tree captures[8] ATTRIBUTE_UNUSED = { _p0, _q30, _q40, _q41, _q42, _p2, _p3, _p4 };
   21305                 :           0 :                                           if (gimple_simplify_643 (res_op, seq, valueize, type, captures, CFN_FMA, CFN_COND_LEN_FMA))
   21306                 :           0 :                                             return true;
   21307                 :             :                                         }
   21308                 :             :                                       }
   21309                 :             :                                     break;
   21310                 :           0 :                                   case CFN_FMS:
   21311                 :           0 :                                     if (gimple_call_num_args (_c2) == 3)
   21312                 :             :                                       {
   21313                 :           0 :                                         tree _q40 = gimple_call_arg (_c2, 0);
   21314                 :           0 :                                         _q40 = do_valueize (valueize, _q40);
   21315                 :           0 :                                         tree _q41 = gimple_call_arg (_c2, 1);
   21316                 :           0 :                                         _q41 = do_valueize (valueize, _q41);
   21317                 :           0 :                                         tree _q42 = gimple_call_arg (_c2, 2);
   21318                 :           0 :                                         _q42 = do_valueize (valueize, _q42);
   21319                 :           0 :                                         if (tree_swap_operands_p (_q40, _q41))
   21320                 :           0 :                                           std::swap (_q40, _q41);
   21321                 :           0 :                                         {
   21322                 :           0 :                                           tree captures[8] ATTRIBUTE_UNUSED = { _p0, _q30, _q40, _q41, _q42, _p2, _p3, _p4 };
   21323                 :           0 :                                           if (gimple_simplify_643 (res_op, seq, valueize, type, captures, CFN_FMS, CFN_COND_LEN_FMS))
   21324                 :           0 :                                             return true;
   21325                 :             :                                         }
   21326                 :             :                                       }
   21327                 :             :                                     break;
   21328                 :           0 :                                   case CFN_FNMA:
   21329                 :           0 :                                     if (gimple_call_num_args (_c2) == 3)
   21330                 :             :                                       {
   21331                 :           0 :                                         tree _q40 = gimple_call_arg (_c2, 0);
   21332                 :           0 :                                         _q40 = do_valueize (valueize, _q40);
   21333                 :           0 :                                         tree _q41 = gimple_call_arg (_c2, 1);
   21334                 :           0 :                                         _q41 = do_valueize (valueize, _q41);
   21335                 :           0 :                                         tree _q42 = gimple_call_arg (_c2, 2);
   21336                 :           0 :                                         _q42 = do_valueize (valueize, _q42);
   21337                 :           0 :                                         if (tree_swap_operands_p (_q40, _q41))
   21338                 :           0 :                                           std::swap (_q40, _q41);
   21339                 :           0 :                                         {
   21340                 :           0 :                                           tree captures[8] ATTRIBUTE_UNUSED = { _p0, _q30, _q40, _q41, _q42, _p2, _p3, _p4 };
   21341                 :           0 :                                           if (gimple_simplify_643 (res_op, seq, valueize, type, captures, CFN_FNMA, CFN_COND_LEN_FNMA))
   21342                 :           0 :                                             return true;
   21343                 :             :                                         }
   21344                 :             :                                       }
   21345                 :             :                                     break;
   21346                 :           0 :                                   case CFN_FNMS:
   21347                 :           0 :                                     if (gimple_call_num_args (_c2) == 3)
   21348                 :             :                                       {
   21349                 :           0 :                                         tree _q40 = gimple_call_arg (_c2, 0);
   21350                 :           0 :                                         _q40 = do_valueize (valueize, _q40);
   21351                 :           0 :                                         tree _q41 = gimple_call_arg (_c2, 1);
   21352                 :           0 :                                         _q41 = do_valueize (valueize, _q41);
   21353                 :           0 :                                         tree _q42 = gimple_call_arg (_c2, 2);
   21354                 :           0 :                                         _q42 = do_valueize (valueize, _q42);
   21355                 :           0 :                                         if (tree_swap_operands_p (_q40, _q41))
   21356                 :           0 :                                           std::swap (_q40, _q41);
   21357                 :           0 :                                         {
   21358                 :           0 :                                           tree captures[8] ATTRIBUTE_UNUSED = { _p0, _q30, _q40, _q41, _q42, _p2, _p3, _p4 };
   21359                 :           0 :                                           if (gimple_simplify_643 (res_op, seq, valueize, type, captures, CFN_FNMS, CFN_COND_LEN_FNMS))
   21360                 :           0 :                                             return true;
   21361                 :             :                                         }
   21362                 :             :                                       }
   21363                 :             :                                     break;
   21364                 :             :                                   default:;
   21365                 :             :                                   }
   21366                 :             :                             }
   21367                 :             :                           break;
   21368                 :             :                         default:;
   21369                 :             :                         }
   21370                 :             :                     }
   21371                 :             :                   break;
   21372                 :             :                 }
   21373                 :             :               default:;
   21374                 :             :               }
   21375                 :           0 :           else if (gcall *_c1 = dyn_cast <gcall *> (_d1))
   21376                 :           0 :             switch (gimple_call_combined_fn (_c1))
   21377                 :             :               {
   21378                 :           0 :               case CFN_FMA:
   21379                 :           0 :                 if (gimple_call_num_args (_c1) == 3)
   21380                 :             :                   {
   21381                 :           0 :                     tree _q30 = gimple_call_arg (_c1, 0);
   21382                 :           0 :                     _q30 = do_valueize (valueize, _q30);
   21383                 :           0 :                     tree _q31 = gimple_call_arg (_c1, 1);
   21384                 :           0 :                     _q31 = do_valueize (valueize, _q31);
   21385                 :           0 :                     tree _q32 = gimple_call_arg (_c1, 2);
   21386                 :           0 :                     _q32 = do_valueize (valueize, _q32);
   21387                 :           0 :                     if (tree_swap_operands_p (_q30, _q31))
   21388                 :           0 :                       std::swap (_q30, _q31);
   21389                 :           0 :                     {
   21390                 :           0 :                       tree captures[8] ATTRIBUTE_UNUSED = { _p0, _p1, _q30, _q31, _q32, _p2, _p3, _p4 };
   21391                 :           0 :                       if (gimple_simplify_643 (res_op, seq, valueize, type, captures, CFN_FMA, CFN_COND_LEN_FMA))
   21392                 :           0 :                         return true;
   21393                 :             :                     }
   21394                 :             :                   }
   21395                 :             :                 break;
   21396                 :           0 :               case CFN_FMS:
   21397                 :           0 :                 if (gimple_call_num_args (_c1) == 3)
   21398                 :             :                   {
   21399                 :           0 :                     tree _q30 = gimple_call_arg (_c1, 0);
   21400                 :           0 :                     _q30 = do_valueize (valueize, _q30);
   21401                 :           0 :                     tree _q31 = gimple_call_arg (_c1, 1);
   21402                 :           0 :                     _q31 = do_valueize (valueize, _q31);
   21403                 :           0 :                     tree _q32 = gimple_call_arg (_c1, 2);
   21404                 :           0 :                     _q32 = do_valueize (valueize, _q32);
   21405                 :           0 :                     if (tree_swap_operands_p (_q30, _q31))
   21406                 :           0 :                       std::swap (_q30, _q31);
   21407                 :           0 :                     {
   21408                 :           0 :                       tree captures[8] ATTRIBUTE_UNUSED = { _p0, _p1, _q30, _q31, _q32, _p2, _p3, _p4 };
   21409                 :           0 :                       if (gimple_simplify_643 (res_op, seq, valueize, type, captures, CFN_FMS, CFN_COND_LEN_FMS))
   21410                 :           0 :                         return true;
   21411                 :             :                     }
   21412                 :             :                   }
   21413                 :             :                 break;
   21414                 :           0 :               case CFN_FNMA:
   21415                 :           0 :                 if (gimple_call_num_args (_c1) == 3)
   21416                 :             :                   {
   21417                 :           0 :                     tree _q30 = gimple_call_arg (_c1, 0);
   21418                 :           0 :                     _q30 = do_valueize (valueize, _q30);
   21419                 :           0 :                     tree _q31 = gimple_call_arg (_c1, 1);
   21420                 :           0 :                     _q31 = do_valueize (valueize, _q31);
   21421                 :           0 :                     tree _q32 = gimple_call_arg (_c1, 2);
   21422                 :           0 :                     _q32 = do_valueize (valueize, _q32);
   21423                 :           0 :                     if (tree_swap_operands_p (_q30, _q31))
   21424                 :           0 :                       std::swap (_q30, _q31);
   21425                 :           0 :                     {
   21426                 :           0 :                       tree captures[8] ATTRIBUTE_UNUSED = { _p0, _p1, _q30, _q31, _q32, _p2, _p3, _p4 };
   21427                 :           0 :                       if (gimple_simplify_643 (res_op, seq, valueize, type, captures, CFN_FNMA, CFN_COND_LEN_FNMA))
   21428                 :           0 :                         return true;
   21429                 :             :                     }
   21430                 :             :                   }
   21431                 :             :                 break;
   21432                 :           0 :               case CFN_FNMS:
   21433                 :           0 :                 if (gimple_call_num_args (_c1) == 3)
   21434                 :             :                   {
   21435                 :           0 :                     tree _q30 = gimple_call_arg (_c1, 0);
   21436                 :           0 :                     _q30 = do_valueize (valueize, _q30);
   21437                 :           0 :                     tree _q31 = gimple_call_arg (_c1, 1);
   21438                 :           0 :                     _q31 = do_valueize (valueize, _q31);
   21439                 :           0 :                     tree _q32 = gimple_call_arg (_c1, 2);
   21440                 :           0 :                     _q32 = do_valueize (valueize, _q32);
   21441                 :           0 :                     if (tree_swap_operands_p (_q30, _q31))
   21442                 :           0 :                       std::swap (_q30, _q31);
   21443                 :           0 :                     {
   21444                 :           0 :                       tree captures[8] ATTRIBUTE_UNUSED = { _p0, _p1, _q30, _q31, _q32, _p2, _p3, _p4 };
   21445                 :           0 :                       if (gimple_simplify_643 (res_op, seq, valueize, type, captures, CFN_FNMS, CFN_COND_LEN_FNMS))
   21446                 :           0 :                         return true;
   21447                 :             :                     }
   21448                 :             :                   }
   21449                 :             :                 break;
   21450                 :             :               default:;
   21451                 :             :               }
   21452                 :             :         }
   21453                 :             :       break;
   21454                 :             :     default:;
   21455                 :             :     }
   21456                 :             :   return false;
   21457                 :             : }
   21458                 :             : #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.