LCOV - code coverage report
Current view: top level - /mnt/build/buildbot/bld/build-lcov/gcc - gimple-match-3.cc (source / functions) Coverage Total Hit
Test: gcc.info Lines: 48.7 % 19085 9290
Test Date: 2024-03-23 14:05:01 Functions: 83.5 % 121 101
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                 :    47507010 : gimple_zero_one_valued_p (tree t, tree (*valueize)(tree) ATTRIBUTE_UNUSED)
      11                 :             : {
      12                 :    47507010 :   const tree type = TREE_TYPE (t);
      13                 :    47507010 :   const bool debug_dump = dump_file && (dump_flags & TDF_FOLDING);
      14                 :    47507010 :   {
      15                 :    47507010 :     tree captures[1] ATTRIBUTE_UNUSED = { t };
      16                 :    95014020 :     if (INTEGRAL_TYPE_P (type)
      17                 :    43005489 :  && (TYPE_UNSIGNED (type)
      18                 :    16113574 :  || TYPE_PRECISION (type) > 1)
      19                 :   133517770 :  && wi::leu_p (tree_nonzero_bits (captures[0]), 1)
      20                 :             : )
      21                 :             :       {
      22                 :      451244 :         {
      23                 :      451244 :           if (UNLIKELY (debug_dump)) gimple_dump_logs ("match.pd", 23, __FILE__, __LINE__, false);
      24                 :      451244 :           return true;
      25                 :             :         }
      26                 :             :       }
      27                 :             :   }
      28                 :    47055766 :   switch (TREE_CODE (t))
      29                 :             :     {
      30                 :    45682815 :     case SSA_NAME:
      31                 :    45682815 :       if (gimple *_d1 = get_def (valueize, t))
      32                 :             :         {
      33                 :    24473060 :           if (gassign *_a1 = dyn_cast <gassign *> (_d1))
      34                 :    24093501 :             switch (gimple_assign_rhs_code (_a1))
      35                 :             :               {
      36                 :      392081 :               case BIT_AND_EXPR:
      37                 :      392081 :                 {
      38                 :      392081 :                   tree _p0 = gimple_assign_rhs1 (_a1);
      39                 :      392081 :                   _p0 = do_valueize (valueize, _p0);
      40                 :      392081 :                   tree _p1 = gimple_assign_rhs2 (_a1);
      41                 :      392081 :                   _p1 = do_valueize (valueize, _p1);
      42                 :      392081 :                   if (tree_swap_operands_p (_p0, _p1))
      43                 :        2948 :                     std::swap (_p0, _p1);
      44                 :      392081 :                   if (integer_onep (_p1))
      45                 :             :                     {
      46                 :        2357 :                       {
      47                 :        2357 :                         tree captures[2] ATTRIBUTE_UNUSED = { t, _p0 };
      48                 :        2357 :                         if (INTEGRAL_TYPE_P (type)
      49                 :             : )
      50                 :             :                           {
      51                 :         811 :                             {
      52                 :         811 :                               if (UNLIKELY (debug_dump)) gimple_dump_logs ("match.pd", 24, __FILE__, __LINE__, false);
      53                 :         811 :                               return true;
      54                 :             :                             }
      55                 :             :                           }
      56                 :             :                       }
      57                 :             :                     }
      58                 :      391270 :                   if (integer_onep (_p0))
      59                 :             :                     {
      60                 :           0 :                       {
      61                 :           0 :                         tree captures[2] ATTRIBUTE_UNUSED = { t, _p1 };
      62                 :           0 :                         if (INTEGRAL_TYPE_P (type)
      63                 :             : )
      64                 :             :                           {
      65                 :           0 :                             {
      66                 :           0 :                               if (UNLIKELY (debug_dump)) gimple_dump_logs ("match.pd", 24, __FILE__, __LINE__, false);
      67                 :           0 :                               return true;
      68                 :             :                             }
      69                 :             :                           }
      70                 :             :                       }
      71                 :             :                     }
      72                 :    47040699 :                   break;
      73                 :             :                 }
      74                 :     7778553 :               CASE_CONVERT:
      75                 :     7778553 :                 {
      76                 :     7778553 :                   tree _p0 = gimple_assign_rhs1 (_a1);
      77                 :     7778553 :                   _p0 = do_valueize (valueize, _p0);
      78                 :     7778553 :                   {
      79                 :     7778553 :                     tree captures[2] ATTRIBUTE_UNUSED = { t, _p0 };
      80                 :    15556317 :                     if (INTEGRAL_TYPE_P (TREE_TYPE (captures[1]))
      81                 :     7650722 :  && (TYPE_UNSIGNED (TREE_TYPE (captures[1]))
      82                 :     6708610 :  || TYPE_PRECISION (TREE_TYPE (captures[1])) > 1)
      83                 :     7650643 :  && INTEGRAL_TYPE_P (type)
      84                 :     7647841 :  && (TYPE_UNSIGNED (type)
      85                 :      842354 :  || TYPE_PRECISION (type) > 1)
      86                 :    23204883 :  && wi::leu_p (tree_nonzero_bits (captures[1]), 1)
      87                 :             : )
      88                 :             :                       {
      89                 :       14256 :                         {
      90                 :       14256 :                           if (UNLIKELY (debug_dump)) gimple_dump_logs ("match.pd", 25, __FILE__, __LINE__, false);
      91                 :       14256 :                           return true;
      92                 :             :                         }
      93                 :             :                       }
      94                 :             :                   }
      95                 :             :                   break;
      96                 :             :                 }
      97                 :             :               default:;
      98                 :             :               }
      99                 :             :         }
     100                 :             :       break;
     101                 :    47040699 :     default:;
     102                 :             :     }
     103                 :    47040699 : if (gimple_truth_valued_p (t, valueize))
     104                 :             :   {
     105                 :         220 :     {
     106                 :         220 :       tree captures[1] ATTRIBUTE_UNUSED = { t };
     107                 :         220 :       if (INTEGRAL_TYPE_P (type)
     108                 :         220 :  && (TYPE_UNSIGNED (type)
     109                 :         218 :  || TYPE_PRECISION (type) > 1)
     110                 :             : )
     111                 :             :         {
     112                 :           0 :           {
     113                 :           0 :             if (UNLIKELY (debug_dump)) gimple_dump_logs ("match.pd", 26, __FILE__, __LINE__, false);
     114                 :           0 :             return true;
     115                 :             :           }
     116                 :             :         }
     117                 :             :     }
     118                 :             :   }
     119                 :             :   return false;
     120                 :             : }
     121                 :             : 
     122                 :             : bool
     123                 :    17204625 : gimple_cond_expr_convert_p (tree t, tree *res_ops, tree (*valueize)(tree) ATTRIBUTE_UNUSED)
     124                 :             : {
     125                 :    17204625 :   const tree type = TREE_TYPE (t);
     126                 :    17204625 :   const bool debug_dump = dump_file && (dump_flags & TDF_FOLDING);
     127                 :    17204625 :   switch (TREE_CODE (t))
     128                 :             :     {
     129                 :    13326255 :     case SSA_NAME:
     130                 :    13326255 :       if (gimple *_d1 = get_def (valueize, t))
     131                 :             :         {
     132                 :    13326255 :           if (gassign *_a1 = dyn_cast <gassign *> (_d1))
     133                 :    15662568 :             switch (gimple_assign_rhs_code (_a1))
     134                 :             :               {
     135                 :       68434 :               case COND_EXPR:
     136                 :       68434 :                 {
     137                 :       68434 :                   tree _p0 = gimple_assign_rhs1 (_a1);
     138                 :       68434 :                   _p0 = do_valueize (valueize, _p0);
     139                 :       68434 :                   tree _p1 = gimple_assign_rhs2 (_a1);
     140                 :       68434 :                   _p1 = do_valueize (valueize, _p1);
     141                 :       68434 :                   tree _p2 = gimple_assign_rhs3 (_a1);
     142                 :       68434 :                   _p2 = do_valueize (valueize, _p2);
     143                 :       68434 :                   switch (TREE_CODE (_p0))
     144                 :             :                     {
     145                 :       68434 :                     case SSA_NAME:
     146                 :       68434 :                       if (gimple *_d2 = get_def (valueize, _p0))
     147                 :             :                         {
     148                 :       68434 :                           if (gassign *_a2 = dyn_cast <gassign *> (_d2))
     149                 :       68710 :                             switch (gimple_assign_rhs_code (_a2))
     150                 :             :                               {
     151                 :       53392 :                               case LT_EXPR:
     152                 :       53392 :                               case LE_EXPR:
     153                 :       53392 :                               case EQ_EXPR:
     154                 :       53392 :                               case NE_EXPR:
     155                 :       53392 :                               case GE_EXPR:
     156                 :       53392 :                               case GT_EXPR:
     157                 :       53392 :                                 {
     158                 :       53392 :                                   tree _q20 = gimple_assign_rhs1 (_a2);
     159                 :       53392 :                                   _q20 = do_valueize (valueize, _q20);
     160                 :       53392 :                                   tree _q21 = gimple_assign_rhs2 (_a2);
     161                 :       53392 :                                   _q21 = do_valueize (valueize, _q21);
     162                 :       53392 :                                   switch (TREE_CODE (_p1))
     163                 :             :                                     {
     164                 :       43766 :                                     case SSA_NAME:
     165                 :       43766 :                                       if (gimple *_d3 = get_def (valueize, _p1))
     166                 :             :                                         {
     167                 :       43766 :                                           if (gassign *_a3 = dyn_cast <gassign *> (_d3))
     168                 :       45741 :                                             switch (gimple_assign_rhs_code (_a3))
     169                 :             :                                               {
     170                 :       11407 :                                               CASE_CONVERT:
     171                 :       11407 :                                                 {
     172                 :       11407 :                                                   tree _q50 = gimple_assign_rhs1 (_a3);
     173                 :       11407 :                                                   _q50 = do_valueize (valueize, _q50);
     174                 :       11407 :                                                   switch (TREE_CODE (_p2))
     175                 :             :                                                     {
     176                 :        6508 :                                                     case SSA_NAME:
     177                 :        6508 :                                                       if (gimple *_d4 = get_def (valueize, _p2))
     178                 :             :                                                         {
     179                 :        6508 :                                                           if (gassign *_a4 = dyn_cast <gassign *> (_d4))
     180                 :        5651 :                                                             switch (gimple_assign_rhs_code (_a4))
     181                 :             :                                                               {
     182                 :        1360 :                                                               CASE_CONVERT:
     183                 :        1360 :                                                                 {
     184                 :        1360 :                                                                   tree _q70 = gimple_assign_rhs1 (_a4);
     185                 :        1360 :                                                                   _q70 = do_valueize (valueize, _q70);
     186                 :        1360 :                                                                   {
     187                 :        1360 :                                                                     tree captures[7] ATTRIBUTE_UNUSED = { _q20, _q50, _q70, _p0, _q21, _p1, _p2 };
     188                 :        1360 :                                                                     if (INTEGRAL_TYPE_P (type)
     189                 :        1346 :  && INTEGRAL_TYPE_P (TREE_TYPE (captures[1]))
     190                 :        1346 :  && INTEGRAL_TYPE_P (TREE_TYPE (captures[0]))
     191                 :        1325 :  && INTEGRAL_TYPE_P (TREE_TYPE (captures[2]))
     192                 :        1325 :  && TYPE_PRECISION (type) != TYPE_PRECISION (TREE_TYPE (captures[0]))
     193                 :         118 :  && TYPE_PRECISION (TREE_TYPE (captures[0]))
     194                 :         118 :  == TYPE_PRECISION (TREE_TYPE (captures[1]))
     195                 :          67 :  && TYPE_PRECISION (TREE_TYPE (captures[0]))
     196                 :          67 :  == TYPE_PRECISION (TREE_TYPE (captures[2]))
     197                 :          67 :  && (TYPE_PRECISION (TREE_TYPE (captures[0])) > TYPE_PRECISION (type)
     198                 :          24 :  || (TYPE_UNSIGNED (TREE_TYPE (captures[1]))
     199                 :          24 :  == TYPE_UNSIGNED (TREE_TYPE (captures[2]))))
     200                 :          58 :  && single_use (captures[5])
     201                 :        1418 :  && single_use (captures[6])
     202                 :             : )
     203                 :             :                                                                       {
     204                 :          43 :                                                                         {
     205                 :          43 :                                                                           res_ops[0] = captures[0];
     206                 :          43 :                                                                           res_ops[1] = captures[1];
     207                 :          43 :                                                                           res_ops[2] = captures[2];
     208                 :          43 :                                                                           res_ops[3] = captures[3];
     209                 :          43 :                                                                           if (UNLIKELY (debug_dump)) gimple_dump_logs ("match.pd", 51, __FILE__, __LINE__, false);
     210                 :          43 :                                                                           return true;
     211                 :             :                                                                         }
     212                 :             :                                                                       }
     213                 :             :                                                                   }
     214                 :             :                                                                   break;
     215                 :             :                                                                 }
     216                 :             :                                                               default:;
     217                 :             :                                                               }
     218                 :             :                                                         }
     219                 :             :                                                       break;
     220                 :             :                                                     default:;
     221                 :             :                                                     }
     222                 :             :                                                   break;
     223                 :             :                                                 }
     224                 :             :                                               default:;
     225                 :             :                                               }
     226                 :             :                                         }
     227                 :             :                                       break;
     228                 :             :                                     default:;
     229                 :             :                                     }
     230                 :             :                                   break;
     231                 :             :                                 }
     232                 :             :                               default:;
     233                 :             :                               }
     234                 :             :                         }
     235                 :             :                       break;
     236                 :           0 :                     case LT_EXPR:
     237                 :           0 :                     case LE_EXPR:
     238                 :           0 :                     case EQ_EXPR:
     239                 :           0 :                     case NE_EXPR:
     240                 :           0 :                     case GE_EXPR:
     241                 :           0 :                     case GT_EXPR:
     242                 :           0 :                       {
     243                 :           0 :                         tree _q20 = TREE_OPERAND (_p0, 0);
     244                 :           0 :                         if ((TREE_CODE (_q20) == SSA_NAME
     245                 :           0 :                              || is_gimple_min_invariant (_q20)))
     246                 :             :                           {
     247                 :           0 :                             _q20 = do_valueize (valueize, _q20);
     248                 :           0 :                             tree _q21 = TREE_OPERAND (_p0, 1);
     249                 :           0 :                             if ((TREE_CODE (_q21) == SSA_NAME
     250                 :           0 :                                  || is_gimple_min_invariant (_q21)))
     251                 :             :                               {
     252                 :           0 :                                 _q21 = do_valueize (valueize, _q21);
     253                 :           0 :                                 switch (TREE_CODE (_p1))
     254                 :             :                                   {
     255                 :           0 :                                   case SSA_NAME:
     256                 :           0 :                                     if (gimple *_d2 = get_def (valueize, _p1))
     257                 :             :                                       {
     258                 :           0 :                                         if (gassign *_a2 = dyn_cast <gassign *> (_d2))
     259                 :           0 :                                           switch (gimple_assign_rhs_code (_a2))
     260                 :             :                                             {
     261                 :           0 :                                             CASE_CONVERT:
     262                 :           0 :                                               {
     263                 :           0 :                                                 tree _q50 = gimple_assign_rhs1 (_a2);
     264                 :           0 :                                                 _q50 = do_valueize (valueize, _q50);
     265                 :           0 :                                                 switch (TREE_CODE (_p2))
     266                 :             :                                                   {
     267                 :           0 :                                                   case SSA_NAME:
     268                 :           0 :                                                     if (gimple *_d3 = get_def (valueize, _p2))
     269                 :             :                                                       {
     270                 :           0 :                                                         if (gassign *_a3 = dyn_cast <gassign *> (_d3))
     271                 :           0 :                                                           switch (gimple_assign_rhs_code (_a3))
     272                 :             :                                                             {
     273                 :           0 :                                                             CASE_CONVERT:
     274                 :           0 :                                                               {
     275                 :           0 :                                                                 tree _q70 = gimple_assign_rhs1 (_a3);
     276                 :           0 :                                                                 _q70 = do_valueize (valueize, _q70);
     277                 :           0 :                                                                 {
     278                 :           0 :                                                                   tree captures[7] ATTRIBUTE_UNUSED = { _q20, _q50, _q70, _p0, _q21, _p1, _p2 };
     279                 :           0 :                                                                   if (INTEGRAL_TYPE_P (type)
     280                 :           0 :  && INTEGRAL_TYPE_P (TREE_TYPE (captures[1]))
     281                 :           0 :  && INTEGRAL_TYPE_P (TREE_TYPE (captures[0]))
     282                 :           0 :  && INTEGRAL_TYPE_P (TREE_TYPE (captures[2]))
     283                 :           0 :  && TYPE_PRECISION (type) != TYPE_PRECISION (TREE_TYPE (captures[0]))
     284                 :           0 :  && TYPE_PRECISION (TREE_TYPE (captures[0]))
     285                 :           0 :  == TYPE_PRECISION (TREE_TYPE (captures[1]))
     286                 :           0 :  && TYPE_PRECISION (TREE_TYPE (captures[0]))
     287                 :           0 :  == TYPE_PRECISION (TREE_TYPE (captures[2]))
     288                 :           0 :  && (TYPE_PRECISION (TREE_TYPE (captures[0])) > TYPE_PRECISION (type)
     289                 :           0 :  || (TYPE_UNSIGNED (TREE_TYPE (captures[1]))
     290                 :           0 :  == TYPE_UNSIGNED (TREE_TYPE (captures[2]))))
     291                 :           0 :  && single_use (captures[5])
     292                 :           0 :  && single_use (captures[6])
     293                 :             : )
     294                 :             :                                                                     {
     295                 :           0 :                                                                       {
     296                 :           0 :                                                                         res_ops[0] = captures[0];
     297                 :           0 :                                                                         res_ops[1] = captures[1];
     298                 :           0 :                                                                         res_ops[2] = captures[2];
     299                 :           0 :                                                                         res_ops[3] = captures[3];
     300                 :           0 :                                                                         if (UNLIKELY (debug_dump)) gimple_dump_logs ("match.pd", 51, __FILE__, __LINE__, false);
     301                 :           0 :                                                                         return true;
     302                 :             :                                                                       }
     303                 :             :                                                                     }
     304                 :             :                                                                 }
     305                 :             :                                                                 break;
     306                 :             :                                                               }
     307                 :             :                                                             default:;
     308                 :             :                                                             }
     309                 :             :                                                       }
     310                 :             :                                                     break;
     311                 :             :                                                   default:;
     312                 :             :                                                   }
     313                 :             :                                                 break;
     314                 :             :                                               }
     315                 :             :                                             default:;
     316                 :             :                                             }
     317                 :             :                                       }
     318                 :             :                                     break;
     319                 :             :                                   default:;
     320                 :             :                                   }
     321                 :             :                               }
     322                 :             :                           }
     323                 :             :                         break;
     324                 :             :                       }
     325                 :             :                     default:;
     326                 :             :                     }
     327                 :             :                   break;
     328                 :             :                 }
     329                 :             :               default:;
     330                 :             :               }
     331                 :             :         }
     332                 :             :       break;
     333                 :             :     default:;
     334                 :             :     }
     335                 :             :   return false;
     336                 :             : }
     337                 :             : 
     338                 :             : bool
     339                 :         270 : gimple_simplify_31 (gimple_match_op *res_op, gimple_seq *seq,
     340                 :             :                  tree (*valueize)(tree) ATTRIBUTE_UNUSED,
     341                 :             :                  const tree ARG_UNUSED (type), tree *ARG_UNUSED (captures))
     342                 :             : {
     343                 :         270 :   const bool debug_dump = dump_file && (dump_flags & TDF_FOLDING);
     344                 :         270 :   if (tree_nop_conversion_p (type, TREE_TYPE (captures[2]))
     345                 :             : )
     346                 :             :     {
     347                 :         270 :       gimple_seq *lseq = seq;
     348                 :         270 :       if (lseq
     349                 :          68 :           && (!single_use (captures[0])
     350                 :           5 :               || !single_use (captures[1])))
     351                 :         265 :         lseq = NULL;
     352                 :         270 :       if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail192;
     353                 :         270 :       {
     354                 :         270 :         res_op->set_op (BIT_NOT_EXPR, type, 1);
     355                 :         270 :         {
     356                 :         270 :           tree _o1[2], _r1;
     357                 :         270 :           {
     358                 :         270 :             tree _o2[1], _r2;
     359                 :         270 :             _o2[0] = captures[2];
     360                 :         270 :             gimple_match_op tem_op (res_op->cond.any_else (), VIEW_CONVERT_EXPR, type, _o2[0]);
     361                 :         270 :             tem_op.resimplify (lseq, valueize);
     362                 :         270 :             _r2 = maybe_push_res_to_seq (&tem_op, lseq);
     363                 :         270 :             if (!_r2) goto next_after_fail192;
     364                 :          21 :             _o1[0] = _r2;
     365                 :             :           }
     366                 :          21 :           _o1[1] = captures[3];
     367                 :          21 :           gimple_match_op tem_op (res_op->cond.any_else (), BIT_XOR_EXPR, TREE_TYPE (_o1[0]), _o1[0], _o1[1]);
     368                 :          21 :           tem_op.resimplify (lseq, valueize);
     369                 :          21 :           _r1 = maybe_push_res_to_seq (&tem_op, lseq);
     370                 :          21 :           if (!_r1) goto next_after_fail192;
     371                 :           5 :           res_op->ops[0] = _r1;
     372                 :             :         }
     373                 :           5 :         res_op->resimplify (lseq, valueize);
     374                 :           5 :         if (UNLIKELY (debug_dump)) gimple_dump_logs ("match.pd", 76, __FILE__, __LINE__, true);
     375                 :           5 :         return true;
     376                 :             :       }
     377                 :             : next_after_fail192:;
     378                 :             :     }
     379                 :             :   return false;
     380                 :             : }
     381                 :             : 
     382                 :             : bool
     383                 :          16 : gimple_simplify_36 (gimple_match_op *res_op, gimple_seq *seq,
     384                 :             :                  tree (*valueize)(tree) ATTRIBUTE_UNUSED,
     385                 :             :                  const tree ARG_UNUSED (type), tree *ARG_UNUSED (captures),
     386                 :             :  const enum tree_code ARG_UNUSED (op))
     387                 :             : {
     388                 :          16 :   const bool debug_dump = dump_file && (dump_flags & TDF_FOLDING);
     389                 :          32 :   if (INTEGRAL_TYPE_P (type)
     390                 :          16 :  && tree_int_cst_sgn (captures[2]) > 0
     391                 :          16 :  && tree_int_cst_sgn (captures[4]) > 0
     392                 :          80 :  && (tree_nonzero_bits (captures[0]) & tree_nonzero_bits (captures[3])) == 0
     393                 :             : )
     394                 :             :     {
     395                 :          14 :       {
     396                 :          14 :  tree t = type;
     397                 :          14 :  if (!TYPE_OVERFLOW_WRAPS (t))
     398                 :           2 :  t = unsigned_type_for (t);
     399                 :          14 :  wide_int wone = wi::one (TYPE_PRECISION (t));
     400                 :          28 :  wide_int c = wi::add (wi::lshift (wone, wi::to_wide (captures[2])),
     401                 :          28 :  wi::lshift (wone, wi::to_wide (captures[4])));
     402                 :          14 :           gimple_seq *lseq = seq;
     403                 :          14 :           if (lseq
     404                 :          10 :               && (!single_use (captures[0])
     405                 :          10 :                   || !single_use (captures[3])))
     406                 :           4 :             lseq = NULL;
     407                 :          14 :           if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail198;
     408                 :          14 :           {
     409                 :          14 :             res_op->set_op (NOP_EXPR, type, 1);
     410                 :          14 :             {
     411                 :          14 :               tree _o1[2], _r1;
     412                 :          14 :               {
     413                 :          14 :                 tree _o2[1], _r2;
     414                 :          14 :                 _o2[0] = captures[1];
     415                 :          14 :                 if (t != TREE_TYPE (_o2[0])
     416                 :          14 :                     && !useless_type_conversion_p (t, TREE_TYPE (_o2[0])))
     417                 :             :                   {
     418                 :           2 :                     gimple_match_op tem_op (res_op->cond.any_else (), NOP_EXPR, t, _o2[0]);
     419                 :           2 :                     tem_op.resimplify (lseq, valueize);
     420                 :           2 :                     _r2 = maybe_push_res_to_seq (&tem_op, lseq);
     421                 :           2 :                     if (!_r2) goto next_after_fail198;
     422                 :             :                   }
     423                 :             :                 else
     424                 :             :                   _r2 = _o2[0];
     425                 :          14 :                 _o1[0] = _r2;
     426                 :             :               }
     427                 :          14 :               _o1[1] =  wide_int_to_tree (t,c);
     428                 :          14 :               gimple_match_op tem_op (res_op->cond.any_else (), MULT_EXPR, t, _o1[0], _o1[1]);
     429                 :          14 :               tem_op.resimplify (lseq, valueize);
     430                 :          14 :               _r1 = maybe_push_res_to_seq (&tem_op, lseq);
     431                 :          14 :               if (!_r1) goto next_after_fail198;
     432                 :          10 :               res_op->ops[0] = _r1;
     433                 :             :             }
     434                 :          10 :             res_op->resimplify (lseq, valueize);
     435                 :          10 :             if (UNLIKELY (debug_dump)) gimple_dump_logs ("match.pd", 90, __FILE__, __LINE__, true);
     436                 :          10 :             return true;
     437                 :             :           }
     438                 :           4 : next_after_fail198:;
     439                 :          14 :       }
     440                 :             :     }
     441                 :             :   return false;
     442                 :             : }
     443                 :             : 
     444                 :             : bool
     445                 :         679 : gimple_simplify_48 (gimple_match_op *res_op, gimple_seq *seq,
     446                 :             :                  tree (*valueize)(tree) ATTRIBUTE_UNUSED,
     447                 :             :                  const tree ARG_UNUSED (type), tree *ARG_UNUSED (captures))
     448                 :             : {
     449                 :         679 :   const bool debug_dump = dump_file && (dump_flags & TDF_FOLDING);
     450                 :        1358 :   if (ANY_INTEGRAL_TYPE_P (TREE_TYPE (captures[0]))
     451                 :         679 :  && tree_fits_uhwi_p (captures[2])
     452                 :         679 :  && tree_to_uhwi (captures[2]) < element_precision (type)
     453                 :        1358 :  && (INTEGRAL_TYPE_P (TREE_TYPE (captures[0]))
     454                 :         463 :  || optab_handler (smul_optab,
     455                 :         463 :  TYPE_MODE (type)) != CODE_FOR_nothing)
     456                 :             : )
     457                 :             :     {
     458                 :         216 :       {
     459                 :         216 :  tree t = type;
     460                 :         216 :  if (!TYPE_OVERFLOW_WRAPS (t)) t = unsigned_type_for (t);
     461                 :         432 :  wide_int w = wi::set_bit_in_zero (tree_to_uhwi (captures[2]),
     462                 :         216 :  element_precision (type));
     463                 :         216 :  w += 1;
     464                 :         216 :  tree cst = wide_int_to_tree (VECTOR_TYPE_P (t) ? TREE_TYPE (t)
     465                 :             :  : t, w);
     466                 :         216 :  cst = build_uniform_cst (t, cst);
     467                 :         216 :           gimple_seq *lseq = seq;
     468                 :         216 :           if (lseq
     469                 :         117 :               && (!single_use (captures[1])))
     470                 :          99 :             lseq = NULL;
     471                 :         216 :           if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail214;
     472                 :         216 :           {
     473                 :         216 :             res_op->set_op (NOP_EXPR, type, 1);
     474                 :         216 :             {
     475                 :         216 :               tree _o1[2], _r1;
     476                 :         216 :               {
     477                 :         216 :                 tree _o2[1], _r2;
     478                 :         216 :                 _o2[0] = captures[0];
     479                 :         216 :                 if (t != TREE_TYPE (_o2[0])
     480                 :         216 :                     && !useless_type_conversion_p (t, TREE_TYPE (_o2[0])))
     481                 :             :                   {
     482                 :          43 :                     gimple_match_op tem_op (res_op->cond.any_else (), NOP_EXPR, t, _o2[0]);
     483                 :          43 :                     tem_op.resimplify (lseq, valueize);
     484                 :          43 :                     _r2 = maybe_push_res_to_seq (&tem_op, lseq);
     485                 :          43 :                     if (!_r2) goto next_after_fail214;
     486                 :             :                   }
     487                 :             :                 else
     488                 :             :                   _r2 = _o2[0];
     489                 :         193 :                 _o1[0] = _r2;
     490                 :             :               }
     491                 :         193 :               _o1[1] =  cst;
     492                 :         193 :               gimple_match_op tem_op (res_op->cond.any_else (), MULT_EXPR, TREE_TYPE (_o1[0]), _o1[0], _o1[1]);
     493                 :         193 :               tem_op.resimplify (lseq, valueize);
     494                 :         193 :               _r1 = maybe_push_res_to_seq (&tem_op, lseq);
     495                 :         193 :               if (!_r1) goto next_after_fail214;
     496                 :         117 :               res_op->ops[0] = _r1;
     497                 :             :             }
     498                 :         117 :             res_op->resimplify (lseq, valueize);
     499                 :         117 :             if (UNLIKELY (debug_dump)) gimple_dump_logs ("match.pd", 106, __FILE__, __LINE__, true);
     500                 :         117 :             return true;
     501                 :             :           }
     502                 :          99 : next_after_fail214:;
     503                 :         216 :       }
     504                 :             :     }
     505                 :             :   return false;
     506                 :             : }
     507                 :             : 
     508                 :             : bool
     509                 :          91 : gimple_simplify_59 (gimple_match_op *res_op, gimple_seq *seq,
     510                 :             :                  tree (*valueize)(tree) ATTRIBUTE_UNUSED,
     511                 :             :                  const tree ARG_UNUSED (type), tree *ARG_UNUSED (captures))
     512                 :             : {
     513                 :          91 :   const bool debug_dump = dump_file && (dump_flags & TDF_FOLDING);
     514                 :          91 :   if (!TYPE_SATURATING (type)
     515                 :             : )
     516                 :             :     {
     517                 :          91 :       if ((!FLOAT_TYPE_P (type) || flag_associative_math)
     518                 :         182 :  && !FIXED_POINT_TYPE_P (type)
     519                 :             : )
     520                 :             :         {
     521                 :          91 :           if (TYPE_OVERFLOW_UNDEFINED (type)
     522                 :         182 :  && !TYPE_OVERFLOW_SANITIZED (TREE_TYPE (captures[0]))
     523                 :             : )
     524                 :             :             {
     525                 :          91 :               gimple_seq *lseq = seq;
     526                 :          91 :               if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail234;
     527                 :          91 :               {
     528                 :          91 :                 res_op->set_op (POINTER_DIFF_EXPR, type, 2);
     529                 :          91 :                 res_op->ops[0] = captures[2];
     530                 :          91 :                 res_op->ops[1] = captures[1];
     531                 :          91 :                 res_op->resimplify (lseq, valueize);
     532                 :          91 :                 if (UNLIKELY (debug_dump)) gimple_dump_logs ("match.pd", 126, __FILE__, __LINE__, true);
     533                 :          91 :                 return true;
     534                 :             :               }
     535                 :           0 : next_after_fail234:;
     536                 :             :             }
     537                 :             :         }
     538                 :             :     }
     539                 :             :   return false;
     540                 :             : }
     541                 :             : 
     542                 :             : bool
     543                 :      603276 : gimple_simplify_64 (gimple_match_op *res_op, gimple_seq *seq,
     544                 :             :                  tree (*valueize)(tree) ATTRIBUTE_UNUSED,
     545                 :             :                  const tree ARG_UNUSED (type), tree *ARG_UNUSED (captures),
     546                 :             :  const enum tree_code ARG_UNUSED (plusminus))
     547                 :             : {
     548                 :      603276 :   const bool debug_dump = dump_file && (dump_flags & TDF_FOLDING);
     549                 :      603276 :   if (!TYPE_SATURATING (type)
     550                 :      603276 :  && (!FLOAT_TYPE_P (type) || flag_associative_math)
     551                 :             : )
     552                 :             :     {
     553                 :         974 :       if (!ANY_INTEGRAL_TYPE_P (type)
     554                 :      596379 :  || TYPE_OVERFLOW_WRAPS (type)
     555                 :      619183 :  || (INTEGRAL_TYPE_P (type)
     556                 :       21830 :  && tree_expr_nonzero_p (captures[1])
     557                 :      603342 :  && expr_not_equal_to (captures[1], wi::minus_one (TYPE_PRECISION (type))))
     558                 :             : )
     559                 :             :         {
     560                 :      579405 :           if (single_use (captures[0]) || single_use (captures[3])
     561                 :             : )
     562                 :             :             {
     563                 :      547477 :               gimple_seq *lseq = seq;
     564                 :      547477 :               if (lseq
     565                 :       10335 :                   && (!single_use (captures[0])
     566                 :        9779 :                       || !single_use (captures[3])))
     567                 :      540586 :                 lseq = NULL;
     568                 :      547477 :               if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail239;
     569                 :      547477 :               {
     570                 :      547477 :                 res_op->set_op (MULT_EXPR, type, 2);
     571                 :      547477 :                 {
     572                 :      547477 :                   tree _o1[2], _r1;
     573                 :      547477 :                   _o1[0] = captures[2];
     574                 :      547477 :                   _o1[1] = captures[4];
     575                 :      547477 :                   gimple_match_op tem_op (res_op->cond.any_else (), plusminus, TREE_TYPE (_o1[0]), _o1[0], _o1[1]);
     576                 :      547477 :                   tem_op.resimplify (lseq, valueize);
     577                 :      547477 :                   _r1 = maybe_push_res_to_seq (&tem_op, lseq);
     578                 :      547477 :                   if (!_r1) goto next_after_fail239;
     579                 :       21935 :                   res_op->ops[0] = _r1;
     580                 :             :                 }
     581                 :       21935 :                 res_op->ops[1] = captures[1];
     582                 :       21935 :                 res_op->resimplify (lseq, valueize);
     583                 :       21935 :                 if (UNLIKELY (debug_dump)) gimple_dump_logs ("match.pd", 131, __FILE__, __LINE__, true);
     584                 :       21935 :                 return true;
     585                 :             :               }
     586                 :             : next_after_fail239:;
     587                 :             :             }
     588                 :             :           else
     589                 :             :             {
     590                 :       31928 :               gimple_seq *lseq = seq;
     591                 :       31928 :               if (lseq
     592                 :             :                   && (!single_use (captures[0])
     593                 :             :                       || !single_use (captures[3])))
     594                 :       31928 :                 lseq = NULL;
     595                 :       31928 :               if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail240;
     596                 :       31928 :               {
     597                 :       31928 :                 res_op->set_op (MULT_EXPR, type, 2);
     598                 :       31928 :                 {
     599                 :       31928 :                   tree _o1[2], _r1;
     600                 :       31928 :                   _o1[0] = captures[2];
     601                 :       31928 :                   _o1[1] = captures[4];
     602                 :       31928 :                   gimple_match_op tem_op (res_op->cond.any_else (), plusminus, TREE_TYPE (_o1[0]), _o1[0], _o1[1]);
     603                 :       31928 :                   tem_op.resimplify (lseq, valueize);
     604                 :       31928 :                   _r1 = maybe_push_res_to_seq (&tem_op, lseq);
     605                 :       31928 :                   if (!_r1) goto next_after_fail240;
     606                 :       15682 :                   res_op->ops[0] = _r1;
     607                 :             :                 }
     608                 :       15682 :                 res_op->ops[1] = captures[1];
     609                 :       15682 :                 res_op->resimplify (NULL, valueize);
     610                 :       15682 :                 if (!maybe_push_res_to_seq (res_op, NULL)) goto next_after_fail240;
     611                 :        1170 :                 if (UNLIKELY (debug_dump)) gimple_dump_logs ("match.pd", 132, __FILE__, __LINE__, true);
     612                 :        1170 :                 return true;
     613                 :             :               }
     614                 :             : next_after_fail240:;
     615                 :             :             }
     616                 :             :         }
     617                 :             :     }
     618                 :             :   return false;
     619                 :             : }
     620                 :             : 
     621                 :             : bool
     622                 :           3 : gimple_simplify_74 (gimple_match_op *res_op, gimple_seq *seq,
     623                 :             :                  tree (*valueize)(tree) ATTRIBUTE_UNUSED,
     624                 :             :                  const tree ARG_UNUSED (type), tree *ARG_UNUSED (captures))
     625                 :             : {
     626                 :           3 :   const bool debug_dump = dump_file && (dump_flags & TDF_FOLDING);
     627                 :           3 :   if (TREE_CODE (captures[1]) == SSA_NAME && num_imm_uses (captures[1]) == 2
     628                 :             : )
     629                 :             :     {
     630                 :           0 :       gimple_seq *lseq = seq;
     631                 :           0 :       if (lseq
     632                 :           0 :           && (!single_use (captures[0])))
     633                 :           0 :         lseq = NULL;
     634                 :           0 :       if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail250;
     635                 :           0 :       {
     636                 :           0 :         res_op->set_op (PLUS_EXPR, type, 2);
     637                 :           0 :         {
     638                 :           0 :           tree _o1[2], _r1;
     639                 :           0 :           {
     640                 :           0 :             tree _o2[3], _r2;
     641                 :           0 :             _o2[0] = captures[2];
     642                 :           0 :             _o2[1] = captures[2];
     643                 :           0 :             _o2[2] = captures[4];
     644                 :           0 :             gimple_match_op tem_op (res_op->cond.any_else (), VEC_PERM_EXPR, TREE_TYPE (_o2[0]), _o2[0], _o2[1], _o2[2]);
     645                 :           0 :             tem_op.resimplify (lseq, valueize);
     646                 :           0 :             _r2 = maybe_push_res_to_seq (&tem_op, lseq);
     647                 :           0 :             if (!_r2) goto next_after_fail250;
     648                 :           0 :             _o1[0] = _r2;
     649                 :             :           }
     650                 :           0 :           _o1[1] = captures[3];
     651                 :           0 :           gimple_match_op tem_op (res_op->cond.any_else (), MULT_EXPR, TREE_TYPE (_o1[0]), _o1[0], _o1[1]);
     652                 :           0 :           tem_op.resimplify (lseq, valueize);
     653                 :           0 :           _r1 = maybe_push_res_to_seq (&tem_op, lseq);
     654                 :           0 :           if (!_r1) goto next_after_fail250;
     655                 :           0 :           res_op->ops[0] = _r1;
     656                 :             :         }
     657                 :           0 :         res_op->ops[1] = captures[5];
     658                 :           0 :         res_op->resimplify (lseq, valueize);
     659                 :           0 :         if (UNLIKELY (debug_dump)) gimple_dump_logs ("match.pd", 142, __FILE__, __LINE__, true);
     660                 :           0 :         return true;
     661                 :             :       }
     662                 :             : next_after_fail250:;
     663                 :             :     }
     664                 :             :   return false;
     665                 :             : }
     666                 :             : 
     667                 :             : bool
     668                 :          10 : gimple_simplify_81 (gimple_match_op *res_op, gimple_seq *seq,
     669                 :             :                  tree (*valueize)(tree) ATTRIBUTE_UNUSED,
     670                 :             :                  const tree ARG_UNUSED (type), tree *ARG_UNUSED (captures))
     671                 :             : {
     672                 :          10 :   const bool debug_dump = dump_file && (dump_flags & TDF_FOLDING);
     673                 :          10 :   if (!TYPE_OVERFLOW_SANITIZED (type) && !TYPE_OVERFLOW_TRAPS (type)
     674                 :          10 :  && !TYPE_SATURATING (type) && !TYPE_OVERFLOW_SANITIZED (TREE_TYPE (captures[0]))
     675                 :          10 :  && !TYPE_OVERFLOW_TRAPS (TREE_TYPE (captures[0]))
     676                 :          20 :  && !TYPE_SATURATING (TREE_TYPE (captures[0]))
     677                 :             : )
     678                 :             :     {
     679                 :          10 :       gimple_seq *lseq = seq;
     680                 :          10 :       if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail257;
     681                 :          10 :       {
     682                 :          10 :         res_op->set_op (BIT_NOT_EXPR, type, 1);
     683                 :          10 :         {
     684                 :          10 :           tree _o1[1], _r1;
     685                 :          10 :           {
     686                 :          10 :             tree _o2[2], _r2;
     687                 :          10 :             _o2[0] = captures[1];
     688                 :          10 :             _o2[1] = captures[2];
     689                 :          10 :             gimple_match_op tem_op (res_op->cond.any_else (), BIT_XOR_EXPR, TREE_TYPE (_o2[0]), _o2[0], _o2[1]);
     690                 :          10 :             tem_op.resimplify (lseq, valueize);
     691                 :          10 :             _r2 = maybe_push_res_to_seq (&tem_op, lseq);
     692                 :          10 :             if (!_r2) goto next_after_fail257;
     693                 :           5 :             _o1[0] = _r2;
     694                 :             :           }
     695                 :           5 :           if (type != TREE_TYPE (_o1[0])
     696                 :           5 :               && !useless_type_conversion_p (type, TREE_TYPE (_o1[0])))
     697                 :             :             {
     698                 :           4 :               gimple_match_op tem_op (res_op->cond.any_else (), NOP_EXPR, type, _o1[0]);
     699                 :           4 :               tem_op.resimplify (lseq, valueize);
     700                 :           4 :               _r1 = maybe_push_res_to_seq (&tem_op, lseq);
     701                 :           4 :               if (!_r1) goto next_after_fail257;
     702                 :             :             }
     703                 :             :           else
     704                 :             :             _r1 = _o1[0];
     705                 :           5 :           res_op->ops[0] = _r1;
     706                 :             :         }
     707                 :           5 :         res_op->resimplify (lseq, valueize);
     708                 :           5 :         if (UNLIKELY (debug_dump)) gimple_dump_logs ("match.pd", 149, __FILE__, __LINE__, true);
     709                 :           5 :         return true;
     710                 :             :       }
     711                 :             : next_after_fail257:;
     712                 :             :     }
     713                 :             :   return false;
     714                 :             : }
     715                 :             : 
     716                 :             : bool
     717                 :          81 : gimple_simplify_90 (gimple_match_op *res_op, gimple_seq *seq,
     718                 :             :                  tree (*valueize)(tree) ATTRIBUTE_UNUSED,
     719                 :             :                  const tree ARG_UNUSED (type), tree *ARG_UNUSED (captures))
     720                 :             : {
     721                 :          81 :   const bool debug_dump = dump_file && (dump_flags & TDF_FOLDING);
     722                 :          81 :   if (!TYPE_SATURATING (type)
     723                 :             : )
     724                 :             :     {
     725                 :          81 :       if ((!FLOAT_TYPE_P (type) || flag_associative_math)
     726                 :         162 :  && !FIXED_POINT_TYPE_P (type)
     727                 :             : )
     728                 :             :         {
     729                 :          81 :           gimple_seq *lseq = seq;
     730                 :          81 :           if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail268;
     731                 :          81 :           {
     732                 :          81 :             res_op->set_op (PLUS_EXPR, type, 2);
     733                 :          81 :             res_op->ops[0] = captures[1];
     734                 :          81 :             res_op->ops[1] = captures[2];
     735                 :          81 :             res_op->resimplify (lseq, valueize);
     736                 :          81 :             if (UNLIKELY (debug_dump)) gimple_dump_logs ("match.pd", 159, __FILE__, __LINE__, true);
     737                 :          81 :             return true;
     738                 :             :           }
     739                 :           0 : next_after_fail268:;
     740                 :             :         }
     741                 :             :     }
     742                 :             :   return false;
     743                 :             : }
     744                 :             : 
     745                 :             : bool
     746                 :         800 : gimple_simplify_94 (gimple_match_op *res_op, gimple_seq *seq,
     747                 :             :                  tree (*valueize)(tree) ATTRIBUTE_UNUSED,
     748                 :             :                  const tree ARG_UNUSED (type), tree *ARG_UNUSED (captures))
     749                 :             : {
     750                 :         800 :   const bool debug_dump = dump_file && (dump_flags & TDF_FOLDING);
     751                 :         800 :   if (!TYPE_SATURATING (type)
     752                 :             : )
     753                 :             :     {
     754                 :         800 :       if ((!FLOAT_TYPE_P (type) || flag_associative_math)
     755                 :        1600 :  && !FIXED_POINT_TYPE_P (type)
     756                 :             : )
     757                 :             :         {
     758                 :         800 :           if (INTEGRAL_TYPE_P (type)
     759                 :         800 :  && TYPE_OVERFLOW_UNDEFINED (type)
     760                 :         400 :  && TREE_CODE (captures[1]) != INTEGER_CST
     761                 :        1200 :  && element_precision (type) <= element_precision (TREE_TYPE (captures[1]))
     762                 :             : )
     763                 :             :             {
     764                 :          28 :               {
     765                 :          28 :  tree utype = unsigned_type_for (type);
     766                 :          28 :                   gimple_seq *lseq = seq;
     767                 :          28 :                   if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail274;
     768                 :          28 :                   {
     769                 :          28 :                     res_op->set_op (NOP_EXPR, type, 1);
     770                 :          28 :                     {
     771                 :          28 :                       tree _o1[1], _r1;
     772                 :          28 :                       {
     773                 :          28 :                         tree _o2[1], _r2;
     774                 :          28 :                         _o2[0] = captures[1];
     775                 :          28 :                         if (utype != TREE_TYPE (_o2[0])
     776                 :          28 :                             && !useless_type_conversion_p (utype, TREE_TYPE (_o2[0])))
     777                 :             :                           {
     778                 :           0 :                             gimple_match_op tem_op (res_op->cond.any_else (), NOP_EXPR, utype, _o2[0]);
     779                 :           0 :                             tem_op.resimplify (lseq, valueize);
     780                 :           0 :                             _r2 = maybe_push_res_to_seq (&tem_op, lseq);
     781                 :           0 :                             if (!_r2) goto next_after_fail274;
     782                 :             :                           }
     783                 :             :                         else
     784                 :             :                           _r2 = _o2[0];
     785                 :          28 :                         _o1[0] = _r2;
     786                 :             :                       }
     787                 :          28 :                       gimple_match_op tem_op (res_op->cond.any_else (), NEGATE_EXPR, TREE_TYPE (_o1[0]), _o1[0]);
     788                 :          28 :                       tem_op.resimplify (lseq, valueize);
     789                 :          28 :                       _r1 = maybe_push_res_to_seq (&tem_op, lseq);
     790                 :          28 :                       if (!_r1) goto next_after_fail274;
     791                 :          10 :                       res_op->ops[0] = _r1;
     792                 :             :                     }
     793                 :          10 :                     res_op->resimplify (lseq, valueize);
     794                 :          10 :                     if (UNLIKELY (debug_dump)) gimple_dump_logs ("match.pd", 165, __FILE__, __LINE__, true);
     795                 :          10 :                     return true;
     796                 :             :                   }
     797                 :             : next_after_fail274:;
     798                 :             :               }
     799                 :             :             }
     800                 :             :           else
     801                 :             :             {
     802                 :         772 :               if (element_precision (type) <= element_precision (TREE_TYPE (captures[1]))
     803                 :         772 :  || (INTEGRAL_TYPE_P (TREE_TYPE (captures[1]))
     804                 :         490 :  && TYPE_OVERFLOW_UNDEFINED (TREE_TYPE (captures[1])))
     805                 :             : )
     806                 :             :                 {
     807                 :         604 :                   gimple_seq *lseq = seq;
     808                 :         604 :                   if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail275;
     809                 :         604 :                   {
     810                 :         604 :                     res_op->set_op (NEGATE_EXPR, type, 1);
     811                 :         604 :                     {
     812                 :         604 :                       tree _o1[1], _r1;
     813                 :         604 :                       _o1[0] = captures[1];
     814                 :         604 :                       if (type != TREE_TYPE (_o1[0])
     815                 :         604 :                           && !useless_type_conversion_p (type, TREE_TYPE (_o1[0])))
     816                 :             :                         {
     817                 :         604 :                           gimple_match_op tem_op (res_op->cond.any_else (), NOP_EXPR, type, _o1[0]);
     818                 :         604 :                           tem_op.resimplify (lseq, valueize);
     819                 :         604 :                           _r1 = maybe_push_res_to_seq (&tem_op, lseq);
     820                 :         604 :                           if (!_r1) goto next_after_fail275;
     821                 :             :                         }
     822                 :             :                       else
     823                 :             :                         _r1 = _o1[0];
     824                 :         265 :                       res_op->ops[0] = _r1;
     825                 :             :                     }
     826                 :         265 :                     res_op->resimplify (lseq, valueize);
     827                 :         265 :                     if (UNLIKELY (debug_dump)) gimple_dump_logs ("match.pd", 166, __FILE__, __LINE__, true);
     828                 :         265 :                     return true;
     829                 :             :                   }
     830                 :             : next_after_fail275:;
     831                 :             :                 }
     832                 :             :             }
     833                 :             :         }
     834                 :             :     }
     835                 :             :   return false;
     836                 :             : }
     837                 :             : 
     838                 :             : bool
     839                 :           1 : gimple_simplify_105 (gimple_match_op *res_op, gimple_seq *seq,
     840                 :             :                  tree (*valueize)(tree) ATTRIBUTE_UNUSED,
     841                 :             :                  const tree ARG_UNUSED (type), tree *ARG_UNUSED (captures))
     842                 :             : {
     843                 :           1 :   const bool debug_dump = dump_file && (dump_flags & TDF_FOLDING);
     844                 :           1 :   gimple_seq *lseq = seq;
     845                 :           1 :   if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail287;
     846                 :           1 :   {
     847                 :           1 :     tree tem;
     848                 :           1 :     tem = captures[2];
     849                 :           1 :     res_op->set_value (tem);
     850                 :           1 :     if (UNLIKELY (debug_dump)) gimple_dump_logs ("match.pd", 176, __FILE__, __LINE__, true);
     851                 :             :     return true;
     852                 :             :   }
     853                 :           0 : next_after_fail287:;
     854                 :           0 :   return false;
     855                 :             : }
     856                 :             : 
     857                 :             : bool
     858                 :        1016 : gimple_simplify_109 (gimple_match_op *res_op, gimple_seq *seq,
     859                 :             :                  tree (*valueize)(tree) ATTRIBUTE_UNUSED,
     860                 :             :                  const tree ARG_UNUSED (type), tree *ARG_UNUSED (captures),
     861                 :             :  const enum tree_code ARG_UNUSED (op))
     862                 :             : {
     863                 :        1016 :   const bool debug_dump = dump_file && (dump_flags & TDF_FOLDING);
     864                 :        1016 :   gimple_seq *lseq = seq;
     865                 :        1016 :   if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail291;
     866                 :        1016 :   {
     867                 :        1016 :     tree tem;
     868                 :        1016 :     tem = captures[0];
     869                 :        1016 :     res_op->set_value (tem);
     870                 :        1016 :     if (UNLIKELY (debug_dump)) gimple_dump_logs ("match.pd", 181, __FILE__, __LINE__, true);
     871                 :             :     return true;
     872                 :             :   }
     873                 :           0 : next_after_fail291:;
     874                 :           0 :   return false;
     875                 :             : }
     876                 :             : 
     877                 :             : bool
     878                 :         354 : gimple_simplify_116 (gimple_match_op *res_op, gimple_seq *seq,
     879                 :             :                  tree (*valueize)(tree) ATTRIBUTE_UNUSED,
     880                 :             :                  const tree ARG_UNUSED (type), tree *ARG_UNUSED (captures),
     881                 :             :  const enum tree_code ARG_UNUSED (bitop))
     882                 :             : {
     883                 :         354 :   const bool debug_dump = dump_file && (dump_flags & TDF_FOLDING);
     884                 :         354 :   gimple_seq *lseq = seq;
     885                 :         354 :   if (lseq
     886                 :         140 :       && (!single_use (captures[1])))
     887                 :         316 :     lseq = NULL;
     888                 :         354 :   if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail298;
     889                 :         354 :   {
     890                 :         354 :     res_op->set_op (bitop, type, 2);
     891                 :         354 :     res_op->ops[0] = captures[0];
     892                 :         354 :     {
     893                 :         354 :       tree _o1[1], _r1;
     894                 :         354 :       _o1[0] = captures[2];
     895                 :         354 :       gimple_match_op tem_op (res_op->cond.any_else (), BIT_NOT_EXPR, TREE_TYPE (_o1[0]), _o1[0]);
     896                 :         354 :       tem_op.resimplify (lseq, valueize);
     897                 :         354 :       _r1 = maybe_push_res_to_seq (&tem_op, lseq);
     898                 :         354 :       if (!_r1) goto next_after_fail298;
     899                 :          50 :       res_op->ops[1] = _r1;
     900                 :             :     }
     901                 :          50 :     res_op->resimplify (lseq, valueize);
     902                 :          50 :     if (UNLIKELY (debug_dump)) gimple_dump_logs ("match.pd", 185, __FILE__, __LINE__, true);
     903                 :             :     return true;
     904                 :             :   }
     905                 :             : next_after_fail298:;
     906                 :             :   return false;
     907                 :             : }
     908                 :             : 
     909                 :             : bool
     910                 :          17 : gimple_simplify_127 (gimple_match_op *res_op, gimple_seq *seq,
     911                 :             :                  tree (*valueize)(tree) ATTRIBUTE_UNUSED,
     912                 :             :                  const tree ARG_UNUSED (type), tree *ARG_UNUSED (captures),
     913                 :             :  const enum tree_code ARG_UNUSED (op))
     914                 :             : {
     915                 :          17 :   const bool debug_dump = dump_file && (dump_flags & TDF_FOLDING);
     916                 :          17 :   if (tree_nop_conversion_p (type, TREE_TYPE (captures[3]))
     917                 :          17 :  && tree_nop_conversion_p (type, TREE_TYPE (captures[6]))
     918                 :             : )
     919                 :             :     {
     920                 :          17 :       if (single_use (captures[4]) && single_use (captures[5])
     921                 :             : )
     922                 :             :         {
     923                 :          13 :           gimple_seq *lseq = seq;
     924                 :          13 :           if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail310;
     925                 :          13 :           {
     926                 :          13 :             res_op->set_op (op, type, 2);
     927                 :          13 :             res_op->ops[0] = captures[0];
     928                 :          13 :             {
     929                 :          13 :               tree _o1[1], _r1;
     930                 :          13 :               _o1[0] = captures[6];
     931                 :          13 :               if (type != TREE_TYPE (_o1[0])
     932                 :          13 :                   && !useless_type_conversion_p (type, TREE_TYPE (_o1[0])))
     933                 :             :                 {
     934                 :           0 :                   gimple_match_op tem_op (res_op->cond.any_else (), NOP_EXPR, type, _o1[0]);
     935                 :           0 :                   tem_op.resimplify (lseq, valueize);
     936                 :           0 :                   _r1 = maybe_push_res_to_seq (&tem_op, lseq);
     937                 :           0 :                   if (!_r1) goto next_after_fail310;
     938                 :             :                 }
     939                 :             :               else
     940                 :             :                 _r1 = _o1[0];
     941                 :          13 :               res_op->ops[1] = _r1;
     942                 :             :             }
     943                 :          13 :             res_op->resimplify (lseq, valueize);
     944                 :          13 :             if (UNLIKELY (debug_dump)) gimple_dump_logs ("match.pd", 192, __FILE__, __LINE__, true);
     945                 :          13 :             return true;
     946                 :             :           }
     947                 :             : next_after_fail310:;
     948                 :             :         }
     949                 :             :       else
     950                 :             :         {
     951                 :           4 :           if (single_use (captures[0]) && single_use (captures[1])
     952                 :             : )
     953                 :             :             {
     954                 :           4 :               gimple_seq *lseq = seq;
     955                 :           4 :               if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail311;
     956                 :           4 :               {
     957                 :           4 :                 res_op->set_op (op, type, 2);
     958                 :           4 :                 {
     959                 :           4 :                   tree _o1[1], _r1;
     960                 :           4 :                   _o1[0] = captures[3];
     961                 :           4 :                   if (type != TREE_TYPE (_o1[0])
     962                 :           4 :                       && !useless_type_conversion_p (type, TREE_TYPE (_o1[0])))
     963                 :             :                     {
     964                 :           0 :                       gimple_match_op tem_op (res_op->cond.any_else (), NOP_EXPR, type, _o1[0]);
     965                 :           0 :                       tem_op.resimplify (lseq, valueize);
     966                 :           0 :                       _r1 = maybe_push_res_to_seq (&tem_op, lseq);
     967                 :           0 :                       if (!_r1) goto next_after_fail311;
     968                 :             :                     }
     969                 :             :                   else
     970                 :             :                     _r1 = _o1[0];
     971                 :           4 :                   res_op->ops[0] = _r1;
     972                 :             :                 }
     973                 :           4 :                 res_op->ops[1] = captures[4];
     974                 :           4 :                 res_op->resimplify (lseq, valueize);
     975                 :           4 :                 if (UNLIKELY (debug_dump)) gimple_dump_logs ("match.pd", 193, __FILE__, __LINE__, true);
     976                 :           4 :                 return true;
     977                 :             :               }
     978                 :             : next_after_fail311:;
     979                 :             :             }
     980                 :             :         }
     981                 :             :     }
     982                 :             :   return false;
     983                 :             : }
     984                 :             : 
     985                 :             : bool
     986                 :          28 : gimple_simplify_139 (gimple_match_op *res_op, gimple_seq *seq,
     987                 :             :                  tree (*valueize)(tree) ATTRIBUTE_UNUSED,
     988                 :             :                  const tree ARG_UNUSED (type), tree *ARG_UNUSED (captures),
     989                 :             :  const enum tree_code ARG_UNUSED (op))
     990                 :             : {
     991                 :          28 :   const bool debug_dump = dump_file && (dump_flags & TDF_FOLDING);
     992                 :          28 :   if (bitwise_equal_p (captures[4], captures[7])
     993                 :             : )
     994                 :             :     {
     995                 :          14 :       gimple_seq *lseq = seq;
     996                 :          14 :       if (lseq
     997                 :           0 :           && (!single_use (captures[0])
     998                 :           0 :               || !single_use (captures[1])
     999                 :           0 :               || !single_use (captures[2])
    1000                 :           0 :               || !single_use (captures[3])))
    1001                 :          14 :         lseq = NULL;
    1002                 :          14 :       if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail326;
    1003                 :          14 :       {
    1004                 :          14 :         res_op->set_op (NOP_EXPR, type, 1);
    1005                 :          14 :         {
    1006                 :          14 :           tree _o1[2], _r1;
    1007                 :          14 :           {
    1008                 :          14 :             tree _o2[2], _r2;
    1009                 :          14 :             _o2[0] = captures[5];
    1010                 :          14 :             {
    1011                 :          14 :               tree _o3[1], _r3;
    1012                 :          14 :               _o3[0] = captures[6];
    1013                 :          14 :               if (TREE_TYPE (_o2[0]) != TREE_TYPE (_o3[0])
    1014                 :          14 :                   && !useless_type_conversion_p (TREE_TYPE (_o2[0]), TREE_TYPE (_o3[0])))
    1015                 :             :                 {
    1016                 :          14 :                   gimple_match_op tem_op (res_op->cond.any_else (), NOP_EXPR, TREE_TYPE (_o2[0]), _o3[0]);
    1017                 :          14 :                   tem_op.resimplify (lseq, valueize);
    1018                 :          14 :                   _r3 = maybe_push_res_to_seq (&tem_op, lseq);
    1019                 :          14 :                   if (!_r3) goto next_after_fail326;
    1020                 :             :                 }
    1021                 :             :               else
    1022                 :             :                 _r3 = _o3[0];
    1023                 :           0 :               _o2[1] = _r3;
    1024                 :             :             }
    1025                 :           0 :             gimple_match_op tem_op (res_op->cond.any_else (), BIT_AND_EXPR, TREE_TYPE (_o2[0]), _o2[0], _o2[1]);
    1026                 :           0 :             tem_op.resimplify (lseq, valueize);
    1027                 :           0 :             _r2 = maybe_push_res_to_seq (&tem_op, lseq);
    1028                 :           0 :             if (!_r2) goto next_after_fail326;
    1029                 :           0 :             _o1[0] = _r2;
    1030                 :             :           }
    1031                 :           0 :           {
    1032                 :           0 :             tree _o2[1], _r2;
    1033                 :           0 :             _o2[0] = captures[4];
    1034                 :           0 :             if (TREE_TYPE (_o1[0]) != TREE_TYPE (_o2[0])
    1035                 :           0 :                 && !useless_type_conversion_p (TREE_TYPE (_o1[0]), TREE_TYPE (_o2[0])))
    1036                 :             :               {
    1037                 :           0 :                 gimple_match_op tem_op (res_op->cond.any_else (), NOP_EXPR, TREE_TYPE (_o1[0]), _o2[0]);
    1038                 :           0 :                 tem_op.resimplify (lseq, valueize);
    1039                 :           0 :                 _r2 = maybe_push_res_to_seq (&tem_op, lseq);
    1040                 :           0 :                 if (!_r2) goto next_after_fail326;
    1041                 :             :               }
    1042                 :             :             else
    1043                 :             :               _r2 = _o2[0];
    1044                 :           0 :             _o1[1] = _r2;
    1045                 :             :           }
    1046                 :           0 :           gimple_match_op tem_op (res_op->cond.any_else (), BIT_IOR_EXPR, TREE_TYPE (_o1[0]), _o1[0], _o1[1]);
    1047                 :           0 :           tem_op.resimplify (lseq, valueize);
    1048                 :           0 :           _r1 = maybe_push_res_to_seq (&tem_op, lseq);
    1049                 :           0 :           if (!_r1) goto next_after_fail326;
    1050                 :           0 :           res_op->ops[0] = _r1;
    1051                 :             :         }
    1052                 :           0 :         res_op->resimplify (lseq, valueize);
    1053                 :           0 :         if (UNLIKELY (debug_dump)) gimple_dump_logs ("match.pd", 198, __FILE__, __LINE__, true);
    1054                 :           0 :         return true;
    1055                 :             :       }
    1056                 :             : next_after_fail326:;
    1057                 :             :     }
    1058                 :             :   return false;
    1059                 :             : }
    1060                 :             : 
    1061                 :             : bool
    1062                 :           0 : gimple_simplify_154 (gimple_match_op *res_op, gimple_seq *seq,
    1063                 :             :                  tree (*valueize)(tree) ATTRIBUTE_UNUSED,
    1064                 :             :                  const tree ARG_UNUSED (type), tree *ARG_UNUSED (captures))
    1065                 :             : {
    1066                 :           0 :   const bool debug_dump = dump_file && (dump_flags & TDF_FOLDING);
    1067                 :           0 :   gimple_seq *lseq = seq;
    1068                 :           0 :   if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail362;
    1069                 :           0 :   {
    1070                 :           0 :     tree tem;
    1071                 :           0 :     tem = captures[2];
    1072                 :           0 :     res_op->set_value (tem);
    1073                 :           0 :     if (UNLIKELY (debug_dump)) gimple_dump_logs ("match.pd", 210, __FILE__, __LINE__, true);
    1074                 :             :     return true;
    1075                 :             :   }
    1076                 :           0 : next_after_fail362:;
    1077                 :           0 :   return false;
    1078                 :             : }
    1079                 :             : 
    1080                 :             : bool
    1081                 :          24 : gimple_simplify_159 (gimple_match_op *res_op, gimple_seq *seq,
    1082                 :             :                  tree (*valueize)(tree) ATTRIBUTE_UNUSED,
    1083                 :             :                  const tree ARG_UNUSED (type), tree *ARG_UNUSED (captures),
    1084                 :             :  const enum tree_code ARG_UNUSED (eqne))
    1085                 :             : {
    1086                 :          24 :   const bool debug_dump = dump_file && (dump_flags & TDF_FOLDING);
    1087                 :          24 :   if (eqne == EQ_EXPR
    1088                 :             : )
    1089                 :             :     {
    1090                 :          14 :       gimple_seq *lseq = seq;
    1091                 :          14 :       if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail380;
    1092                 :          14 :       {
    1093                 :          14 :         tree tem;
    1094                 :          14 :         tem = captures[0];
    1095                 :          14 :         res_op->set_value (tem);
    1096                 :          14 :         if (UNLIKELY (debug_dump)) gimple_dump_logs ("match.pd", 227, __FILE__, __LINE__, true);
    1097                 :          14 :         return true;
    1098                 :             :       }
    1099                 :           0 : next_after_fail380:;
    1100                 :             :     }
    1101                 :             :   else
    1102                 :             :     {
    1103                 :          10 :       if (eqne == NE_EXPR
    1104                 :             : )
    1105                 :             :         {
    1106                 :          10 :           gimple_seq *lseq = seq;
    1107                 :          10 :           if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail381;
    1108                 :          10 :           {
    1109                 :          10 :             tree tem;
    1110                 :          10 :             tem =  constant_boolean_node (true, type);
    1111                 :          10 :             res_op->set_value (tem);
    1112                 :          10 :             if (UNLIKELY (debug_dump)) gimple_dump_logs ("match.pd", 228, __FILE__, __LINE__, true);
    1113                 :          10 :             return true;
    1114                 :             :           }
    1115                 :           0 : next_after_fail381:;
    1116                 :             :         }
    1117                 :             :     }
    1118                 :             :   return false;
    1119                 :             : }
    1120                 :             : 
    1121                 :             : bool
    1122                 :      126084 : gimple_simplify_164 (gimple_match_op *res_op, gimple_seq *seq,
    1123                 :             :                  tree (*valueize)(tree) ATTRIBUTE_UNUSED,
    1124                 :             :                  const tree ARG_UNUSED (type), tree *ARG_UNUSED (captures),
    1125                 :             :  const enum tree_code ARG_UNUSED (logic),
    1126                 :             :  const enum tree_code ARG_UNUSED (op),
    1127                 :             :  const enum tree_code ARG_UNUSED (ext))
    1128                 :             : {
    1129                 :      126084 :   const bool debug_dump = dump_file && (dump_flags & TDF_FOLDING);
    1130                 :      252168 :   if (INTEGRAL_TYPE_P (TREE_TYPE (captures[1]))
    1131                 :      234617 :  && TREE_CODE (captures[1]) != INTEGER_CST
    1132                 :             : )
    1133                 :             :     {
    1134                 :       75759 :       gimple_seq *lseq = seq;
    1135                 :       75759 :       if (lseq
    1136                 :        2925 :           && (!single_use (captures[0])
    1137                 :        2919 :               || !single_use (captures[3])))
    1138                 :       72840 :         lseq = NULL;
    1139                 :       75759 :       if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail386;
    1140                 :       75759 :       {
    1141                 :       75759 :         res_op->set_op (op, type, 2);
    1142                 :       75759 :         res_op->ops[0] = captures[1];
    1143                 :       75759 :         {
    1144                 :       75759 :           tree _o1[2], _r1;
    1145                 :       75759 :           _o1[0] = captures[2];
    1146                 :       75759 :           _o1[1] = captures[4];
    1147                 :       75759 :           gimple_match_op tem_op (res_op->cond.any_else (), ext, TREE_TYPE (_o1[0]), _o1[0], _o1[1]);
    1148                 :       75759 :           tem_op.resimplify (lseq, valueize);
    1149                 :       75759 :           _r1 = maybe_push_res_to_seq (&tem_op, lseq);
    1150                 :       75759 :           if (!_r1) goto next_after_fail386;
    1151                 :        2919 :           res_op->ops[1] = _r1;
    1152                 :             :         }
    1153                 :        2919 :         res_op->resimplify (lseq, valueize);
    1154                 :        2919 :         if (UNLIKELY (debug_dump)) gimple_dump_logs ("match.pd", 231, __FILE__, __LINE__, true);
    1155                 :        2919 :         return true;
    1156                 :             :       }
    1157                 :             : next_after_fail386:;
    1158                 :             :     }
    1159                 :             :   return false;
    1160                 :             : }
    1161                 :             : 
    1162                 :             : bool
    1163                 :           0 : gimple_simplify_168 (gimple_match_op *res_op, gimple_seq *seq,
    1164                 :             :                  tree (*valueize)(tree) ATTRIBUTE_UNUSED,
    1165                 :             :                  const tree ARG_UNUSED (type), tree *ARG_UNUSED (captures))
    1166                 :             : {
    1167                 :           0 :   const bool debug_dump = dump_file && (dump_flags & TDF_FOLDING);
    1168                 :           0 :   if (!tree_expr_maybe_nan_p (captures[0]) && !HONOR_SIGNED_ZEROS (type)
    1169                 :             : )
    1170                 :             :     {
    1171                 :           0 :       gimple_seq *lseq = seq;
    1172                 :           0 :       if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail390;
    1173                 :           0 :       {
    1174                 :           0 :         res_op->set_op (NEGATE_EXPR, type, 1);
    1175                 :           0 :         {
    1176                 :           0 :           tree _o1[1], _r1;
    1177                 :           0 :           _o1[0] = captures[0];
    1178                 :           0 :           gimple_match_op tem_op (res_op->cond.any_else (), ABS_EXPR, TREE_TYPE (_o1[0]), _o1[0]);
    1179                 :           0 :           tem_op.resimplify (lseq, valueize);
    1180                 :           0 :           _r1 = maybe_push_res_to_seq (&tem_op, lseq);
    1181                 :           0 :           if (!_r1) goto next_after_fail390;
    1182                 :           0 :           res_op->ops[0] = _r1;
    1183                 :             :         }
    1184                 :           0 :         res_op->resimplify (lseq, valueize);
    1185                 :           0 :         if (UNLIKELY (debug_dump)) gimple_dump_logs ("match.pd", 232, __FILE__, __LINE__, true);
    1186                 :           0 :         return true;
    1187                 :             :       }
    1188                 :             : next_after_fail390:;
    1189                 :             :     }
    1190                 :             :   return false;
    1191                 :             : }
    1192                 :             : 
    1193                 :             : bool
    1194                 :           0 : gimple_simplify_173 (gimple_match_op *res_op, gimple_seq *seq,
    1195                 :             :                  tree (*valueize)(tree) ATTRIBUTE_UNUSED,
    1196                 :             :                  const tree ARG_UNUSED (type), tree *ARG_UNUSED (captures))
    1197                 :             : {
    1198                 :           0 :   const bool debug_dump = dump_file && (dump_flags & TDF_FOLDING);
    1199                 :           0 :   if (!tree_expr_maybe_nan_p (captures[0]) && !HONOR_SIGNED_ZEROS (type)
    1200                 :             : )
    1201                 :             :     {
    1202                 :           0 :       gimple_seq *lseq = seq;
    1203                 :           0 :       if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail395;
    1204                 :           0 :       {
    1205                 :           0 :         res_op->set_op (NEGATE_EXPR, type, 1);
    1206                 :           0 :         {
    1207                 :           0 :           tree _o1[1], _r1;
    1208                 :           0 :           _o1[0] = captures[0];
    1209                 :           0 :           gimple_match_op tem_op (res_op->cond.any_else (), ABS_EXPR, TREE_TYPE (_o1[0]), _o1[0]);
    1210                 :           0 :           tem_op.resimplify (lseq, valueize);
    1211                 :           0 :           _r1 = maybe_push_res_to_seq (&tem_op, lseq);
    1212                 :           0 :           if (!_r1) goto next_after_fail395;
    1213                 :           0 :           res_op->ops[0] = _r1;
    1214                 :             :         }
    1215                 :           0 :         res_op->resimplify (lseq, valueize);
    1216                 :           0 :         if (UNLIKELY (debug_dump)) gimple_dump_logs ("match.pd", 232, __FILE__, __LINE__, true);
    1217                 :           0 :         return true;
    1218                 :             :       }
    1219                 :             : next_after_fail395:;
    1220                 :             :     }
    1221                 :             :   return false;
    1222                 :             : }
    1223                 :             : 
    1224                 :             : bool
    1225                 :           0 : gimple_simplify_178 (gimple_match_op *res_op, gimple_seq *seq,
    1226                 :             :                  tree (*valueize)(tree) ATTRIBUTE_UNUSED,
    1227                 :             :                  const tree ARG_UNUSED (type), tree *ARG_UNUSED (captures))
    1228                 :             : {
    1229                 :           0 :   const bool debug_dump = dump_file && (dump_flags & TDF_FOLDING);
    1230                 :           0 :   if (!tree_expr_maybe_nan_p (captures[0]) && !HONOR_SIGNED_ZEROS (type)
    1231                 :             : )
    1232                 :             :     {
    1233                 :           0 :       gimple_seq *lseq = seq;
    1234                 :           0 :       if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail400;
    1235                 :           0 :       {
    1236                 :           0 :         res_op->set_op (NEGATE_EXPR, type, 1);
    1237                 :           0 :         {
    1238                 :           0 :           tree _o1[1], _r1;
    1239                 :           0 :           _o1[0] = captures[0];
    1240                 :           0 :           gimple_match_op tem_op (res_op->cond.any_else (), ABS_EXPR, TREE_TYPE (_o1[0]), _o1[0]);
    1241                 :           0 :           tem_op.resimplify (lseq, valueize);
    1242                 :           0 :           _r1 = maybe_push_res_to_seq (&tem_op, lseq);
    1243                 :           0 :           if (!_r1) goto next_after_fail400;
    1244                 :           0 :           res_op->ops[0] = _r1;
    1245                 :             :         }
    1246                 :           0 :         res_op->resimplify (lseq, valueize);
    1247                 :           0 :         if (UNLIKELY (debug_dump)) gimple_dump_logs ("match.pd", 233, __FILE__, __LINE__, true);
    1248                 :           0 :         return true;
    1249                 :             :       }
    1250                 :             : next_after_fail400:;
    1251                 :             :     }
    1252                 :             :   return false;
    1253                 :             : }
    1254                 :             : 
    1255                 :             : bool
    1256                 :      176159 : gimple_simplify_185 (gimple_match_op *res_op, gimple_seq *seq,
    1257                 :             :                  tree (*valueize)(tree) ATTRIBUTE_UNUSED,
    1258                 :             :                  const tree ARG_UNUSED (type), tree *ARG_UNUSED (captures),
    1259                 :             :  const enum tree_code ARG_UNUSED (op))
    1260                 :             : {
    1261                 :      176159 :   const bool debug_dump = dump_file && (dump_flags & TDF_FOLDING);
    1262                 :      176159 :   gimple_seq *lseq = seq;
    1263                 :      176159 :   if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail407;
    1264                 :      176159 :   {
    1265                 :      176159 :     tree tem;
    1266                 :      176159 :     tem = captures[0];
    1267                 :      176159 :     res_op->set_value (tem);
    1268                 :      176159 :     if (UNLIKELY (debug_dump)) gimple_dump_logs ("match.pd", 236, __FILE__, __LINE__, true);
    1269                 :             :     return true;
    1270                 :             :   }
    1271                 :           0 : next_after_fail407:;
    1272                 :           0 :   return false;
    1273                 :             : }
    1274                 :             : 
    1275                 :             : bool
    1276                 :         797 : gimple_simplify_194 (gimple_match_op *res_op, gimple_seq *seq,
    1277                 :             :                  tree (*valueize)(tree) ATTRIBUTE_UNUSED,
    1278                 :             :                  const tree ARG_UNUSED (type), tree *ARG_UNUSED (captures),
    1279                 :             :  const enum tree_code ARG_UNUSED (cmp))
    1280                 :             : {
    1281                 :         797 :   const bool debug_dump = dump_file && (dump_flags & TDF_FOLDING);
    1282                 :         797 :   if (!canonicalize_math_p ()
    1283                 :             : )
    1284                 :             :     {
    1285                 :         224 :       if (INTEGRAL_TYPE_P (type)
    1286                 :         224 :  && INTEGRAL_TYPE_P (TREE_TYPE (captures[0]))
    1287                 :             : )
    1288                 :             :         {
    1289                 :         224 :           gimple_seq *lseq = seq;
    1290                 :         224 :           if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail418;
    1291                 :         224 :           {
    1292                 :         224 :             res_op->set_op (COND_EXPR, type, 3);
    1293                 :         224 :             res_op->ops[0] = captures[0];
    1294                 :         224 :             res_op->ops[1] = captures[3];
    1295                 :         224 :             res_op->ops[2] =  build_zero_cst (type);
    1296                 :         224 :             res_op->resimplify (lseq, valueize);
    1297                 :         224 :             if (UNLIKELY (debug_dump)) gimple_dump_logs ("match.pd", 243, __FILE__, __LINE__, true);
    1298                 :         224 :             return true;
    1299                 :             :           }
    1300                 :           0 : next_after_fail418:;
    1301                 :             :         }
    1302                 :             :     }
    1303                 :             :   return false;
    1304                 :             : }
    1305                 :             : 
    1306                 :             : bool
    1307                 :         617 : gimple_simplify_203 (gimple_match_op *res_op, gimple_seq *seq,
    1308                 :             :                  tree (*valueize)(tree) ATTRIBUTE_UNUSED,
    1309                 :             :                  const tree ARG_UNUSED (type), tree *ARG_UNUSED (captures),
    1310                 :             :  const enum tree_code ARG_UNUSED (cmp))
    1311                 :             : {
    1312                 :         617 :   const bool debug_dump = dump_file && (dump_flags & TDF_FOLDING);
    1313                 :        1234 :   if (ANY_INTEGRAL_TYPE_P (TREE_TYPE (captures[0]))
    1314                 :        1196 :  && !TYPE_OVERFLOW_WRAPS (TREE_TYPE(captures[0]))
    1315                 :             : )
    1316                 :             :     {
    1317                 :          68 :       gimple_seq *lseq = seq;
    1318                 :          68 :       if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail428;
    1319                 :          68 :       {
    1320                 :          68 :         res_op->set_op (cmp, type, 2);
    1321                 :          68 :         res_op->ops[0] = captures[0];
    1322                 :          68 :         res_op->ops[1] =  build_zero_cst (TREE_TYPE(captures[0]));
    1323                 :          68 :         res_op->resimplify (lseq, valueize);
    1324                 :          68 :         if (UNLIKELY (debug_dump)) gimple_dump_logs ("match.pd", 253, __FILE__, __LINE__, true);
    1325                 :          68 :         return true;
    1326                 :             :       }
    1327                 :           0 : next_after_fail428:;
    1328                 :             :     }
    1329                 :             :   return false;
    1330                 :             : }
    1331                 :             : 
    1332                 :             : bool
    1333                 :        1003 : gimple_simplify_208 (gimple_match_op *res_op, gimple_seq *seq,
    1334                 :             :                  tree (*valueize)(tree) ATTRIBUTE_UNUSED,
    1335                 :             :                  const tree ARG_UNUSED (type), tree *ARG_UNUSED (captures),
    1336                 :             :  const enum tree_code ARG_UNUSED (cmp))
    1337                 :             : {
    1338                 :        1003 :   const bool debug_dump = dump_file && (dump_flags & TDF_FOLDING);
    1339                 :        2006 :   if (INTEGRAL_TYPE_P (TREE_TYPE (captures[1]))
    1340                 :        1003 :  && TYPE_OVERFLOW_WRAPS (TREE_TYPE (captures[0]))
    1341                 :        2006 :  && (TREE_INT_CST_LOW (captures[1]) & 1) != 0
    1342                 :             : )
    1343                 :             :     {
    1344                 :          20 :       gimple_seq *lseq = seq;
    1345                 :          20 :       if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail433;
    1346                 :          20 :       {
    1347                 :          20 :         res_op->set_op (cmp, type, 2);
    1348                 :          20 :         res_op->ops[0] = captures[0];
    1349                 :          20 :         res_op->ops[1] = captures[2];
    1350                 :          20 :         res_op->resimplify (lseq, valueize);
    1351                 :          20 :         if (UNLIKELY (debug_dump)) gimple_dump_logs ("match.pd", 258, __FILE__, __LINE__, true);
    1352                 :          20 :         return true;
    1353                 :             :       }
    1354                 :           0 : next_after_fail433:;
    1355                 :             :     }
    1356                 :             :   return false;
    1357                 :             : }
    1358                 :             : 
    1359                 :             : bool
    1360                 :       39578 : gimple_simplify_214 (gimple_match_op *res_op, gimple_seq *seq,
    1361                 :             :                  tree (*valueize)(tree) ATTRIBUTE_UNUSED,
    1362                 :             :                  const tree ARG_UNUSED (type), tree *ARG_UNUSED (captures),
    1363                 :             :  const enum tree_code ARG_UNUSED (op))
    1364                 :             : {
    1365                 :       39578 :   const bool debug_dump = dump_file && (dump_flags & TDF_FOLDING);
    1366                 :       39578 :   if (tree_nop_conversion_p (TREE_TYPE (captures[1]), TREE_TYPE (captures[2]))
    1367                 :       39578 :  && tree_nop_conversion_p (TREE_TYPE (captures[0]), TREE_TYPE (captures[2]))
    1368                 :       79156 :  && (CONSTANT_CLASS_P (captures[3]) || (single_use (captures[1]) && single_use (captures[0])))
    1369                 :             : )
    1370                 :             :     {
    1371                 :       12104 :       gimple_seq *lseq = seq;
    1372                 :       12104 :       if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail455;
    1373                 :       12104 :       {
    1374                 :       12104 :         res_op->set_op (op, type, 2);
    1375                 :       12104 :         res_op->ops[0] = captures[3];
    1376                 :       12104 :         res_op->ops[1] =  build_zero_cst (TREE_TYPE (captures[3]));
    1377                 :       12104 :         res_op->resimplify (lseq, valueize);
    1378                 :       12104 :         if (UNLIKELY (debug_dump)) gimple_dump_logs ("match.pd", 279, __FILE__, __LINE__, true);
    1379                 :       12104 :         return true;
    1380                 :             :       }
    1381                 :           0 : next_after_fail455:;
    1382                 :             :     }
    1383                 :             :   return false;
    1384                 :             : }
    1385                 :             : 
    1386                 :             : bool
    1387                 :          44 : gimple_simplify_220 (gimple_match_op *res_op, gimple_seq *seq,
    1388                 :             :                  tree (*valueize)(tree) ATTRIBUTE_UNUSED,
    1389                 :             :                  const tree ARG_UNUSED (type), tree *ARG_UNUSED (captures),
    1390                 :             :  const enum tree_code ARG_UNUSED (neeq))
    1391                 :             : {
    1392                 :          44 :   const bool debug_dump = dump_file && (dump_flags & TDF_FOLDING);
    1393                 :          44 :   {
    1394                 :          44 :  poly_int64 diff; tree inner_type = TREE_TYPE (captures[1]);
    1395                 :          44 :       if (ptr_difference_const (captures[0], captures[2], &diff)
    1396                 :             : )
    1397                 :             :         {
    1398                 :          44 :           gimple_seq *lseq = seq;
    1399                 :          44 :           if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail461;
    1400                 :          44 :           {
    1401                 :          44 :             res_op->set_op (neeq, type, 2);
    1402                 :          44 :             {
    1403                 :          44 :               tree _o1[2], _r1;
    1404                 :          44 :               _o1[0] =  build_int_cst_type (inner_type, diff);
    1405                 :          44 :               _o1[1] = captures[1];
    1406                 :          44 :               gimple_match_op tem_op (res_op->cond.any_else (), PLUS_EXPR, TREE_TYPE (_o1[0]), _o1[0], _o1[1]);
    1407                 :          44 :               tem_op.resimplify (lseq, valueize);
    1408                 :          44 :               _r1 = maybe_push_res_to_seq (&tem_op, lseq);
    1409                 :          44 :               if (!_r1) goto next_after_fail461;
    1410                 :          20 :               res_op->ops[0] = _r1;
    1411                 :             :             }
    1412                 :          20 :             res_op->ops[1] = captures[3];
    1413                 :          20 :             res_op->resimplify (lseq, valueize);
    1414                 :          20 :             if (UNLIKELY (debug_dump)) gimple_dump_logs ("match.pd", 284, __FILE__, __LINE__, true);
    1415                 :          20 :             return true;
    1416                 :             :           }
    1417                 :          24 : next_after_fail461:;
    1418                 :             :         }
    1419                 :             :   }
    1420                 :          24 :   return false;
    1421                 :             : }
    1422                 :             : 
    1423                 :             : bool
    1424                 :         530 : gimple_simplify_231 (gimple_match_op *res_op, gimple_seq *seq,
    1425                 :             :                  tree (*valueize)(tree) ATTRIBUTE_UNUSED,
    1426                 :             :                  const tree ARG_UNUSED (type), tree *ARG_UNUSED (captures),
    1427                 :             :  const enum tree_code ARG_UNUSED (cmp),
    1428                 :             :  const enum tree_code ARG_UNUSED (icmp))
    1429                 :             : {
    1430                 :         530 :   const bool debug_dump = dump_file && (dump_flags & TDF_FOLDING);
    1431                 :         530 :   if (tree_int_cst_sgn (captures[0]) > 0
    1432                 :             : )
    1433                 :             :     {
    1434                 :         530 :       {
    1435                 :         530 :  int c1 = wi::clz (wi::to_wide (captures[0]));
    1436                 :         530 :  int c2 = wi::clz (wi::to_wide (captures[2]));
    1437                 :         530 :           if (c1 > c2
    1438                 :             : )
    1439                 :             :             {
    1440                 :           0 :               gimple_seq *lseq = seq;
    1441                 :           0 :               if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail476;
    1442                 :           0 :               {
    1443                 :           0 :                 tree tem;
    1444                 :           0 :                 tem =  constant_boolean_node (cmp == NE_EXPR ? false : true, type);
    1445                 :           0 :                 res_op->set_value (tem);
    1446                 :           0 :                 if (UNLIKELY (debug_dump)) gimple_dump_logs ("match.pd", 299, __FILE__, __LINE__, true);
    1447                 :           0 :                 return true;
    1448                 :             :               }
    1449                 :           0 : next_after_fail476:;
    1450                 :             :             }
    1451                 :             :           else
    1452                 :             :             {
    1453                 :         530 :               gimple_seq *lseq = seq;
    1454                 :         530 :               if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail477;
    1455                 :         530 :               {
    1456                 :         530 :                 res_op->set_op (icmp, type, 2);
    1457                 :         530 :                 res_op->ops[0] = captures[1];
    1458                 :         530 :                 res_op->ops[1] =  build_int_cst (TREE_TYPE (captures[1]), c2 - c1);
    1459                 :         530 :                 res_op->resimplify (lseq, valueize);
    1460                 :         530 :                 if (UNLIKELY (debug_dump)) gimple_dump_logs ("match.pd", 300, __FILE__, __LINE__, true);
    1461                 :         530 :                 return true;
    1462                 :             :               }
    1463                 :           0 : next_after_fail477:;
    1464                 :             :             }
    1465                 :             :       }
    1466                 :             :     }
    1467                 :             :   return false;
    1468                 :             : }
    1469                 :             : 
    1470                 :             : bool
    1471                 :        1184 : gimple_simplify_237 (gimple_match_op *res_op, gimple_seq *seq,
    1472                 :             :                  tree (*valueize)(tree) ATTRIBUTE_UNUSED,
    1473                 :             :                  const tree ARG_UNUSED (type), tree *ARG_UNUSED (captures),
    1474                 :             :  const enum tree_code ARG_UNUSED (rotate),
    1475                 :             :  const enum tree_code ARG_UNUSED (invrot),
    1476                 :             :  const enum tree_code ARG_UNUSED (cmp))
    1477                 :             : {
    1478                 :        1184 :   const bool debug_dump = dump_file && (dump_flags & TDF_FOLDING);
    1479                 :        1184 :   if (integer_zerop (captures[2]) || integer_all_onesp (captures[2])
    1480                 :             : )
    1481                 :             :     {
    1482                 :           0 :       gimple_seq *lseq = seq;
    1483                 :           0 :       if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail490;
    1484                 :           0 :       {
    1485                 :           0 :         res_op->set_op (cmp, type, 2);
    1486                 :           0 :         res_op->ops[0] = captures[0];
    1487                 :           0 :         res_op->ops[1] = captures[2];
    1488                 :           0 :         res_op->resimplify (lseq, valueize);
    1489                 :           0 :         if (UNLIKELY (debug_dump)) gimple_dump_logs ("match.pd", 313, __FILE__, __LINE__, true);
    1490                 :           0 :         return true;
    1491                 :             :       }
    1492                 :           0 : next_after_fail490:;
    1493                 :             :     }
    1494                 :             :   return false;
    1495                 :             : }
    1496                 :             : 
    1497                 :             : bool
    1498                 :      154218 : gimple_simplify_243 (gimple_match_op *res_op, gimple_seq *seq,
    1499                 :             :                  tree (*valueize)(tree) ATTRIBUTE_UNUSED,
    1500                 :             :                  const tree ARG_UNUSED (type), tree *ARG_UNUSED (captures),
    1501                 :             :  const enum tree_code ARG_UNUSED (cmp))
    1502                 :             : {
    1503                 :      154218 :   const bool debug_dump = dump_file && (dump_flags & TDF_FOLDING);
    1504                 :      154218 :   if (single_use (captures[0])
    1505                 :             : )
    1506                 :             :     {
    1507                 :       17789 :       gimple_seq *lseq = seq;
    1508                 :       17789 :       if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail497;
    1509                 :       17789 :       {
    1510                 :       17789 :         res_op->set_op (cmp, type, 2);
    1511                 :       17789 :         res_op->ops[0] = captures[1];
    1512                 :       17789 :         res_op->ops[1] = captures[2];
    1513                 :       17789 :         res_op->resimplify (lseq, valueize);
    1514                 :       17789 :         if (UNLIKELY (debug_dump)) gimple_dump_logs ("match.pd", 320, __FILE__, __LINE__, true);
    1515                 :       17789 :         return true;
    1516                 :             :       }
    1517                 :           0 : next_after_fail497:;
    1518                 :             :     }
    1519                 :             :   return false;
    1520                 :             : }
    1521                 :             : 
    1522                 :             : bool
    1523                 :       47063 : gimple_simplify_247 (gimple_match_op *res_op, gimple_seq *seq,
    1524                 :             :                  tree (*valueize)(tree) ATTRIBUTE_UNUSED,
    1525                 :             :                  const tree ARG_UNUSED (type), tree *ARG_UNUSED (captures),
    1526                 :             :  const enum tree_code ARG_UNUSED (cmp))
    1527                 :             : {
    1528                 :       47063 :   const bool debug_dump = dump_file && (dump_flags & TDF_FOLDING);
    1529                 :       73551 :   if (! FLOAT_TYPE_P (TREE_TYPE (captures[0]))
    1530                 :       47257 :  || ! tree_expr_maybe_nan_p (captures[0])
    1531                 :             : )
    1532                 :             :     {
    1533                 :       26314 :       gimple_seq *lseq = seq;
    1534                 :       26314 :       if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail505;
    1535                 :       26314 :       {
    1536                 :       26314 :         tree tem;
    1537                 :       26314 :         tem =  constant_boolean_node (true, type);
    1538                 :       26314 :         res_op->set_value (tem);
    1539                 :       26314 :         if (UNLIKELY (debug_dump)) gimple_dump_logs ("match.pd", 327, __FILE__, __LINE__, true);
    1540                 :       26314 :         return true;
    1541                 :             :       }
    1542                 :           0 : next_after_fail505:;
    1543                 :             :     }
    1544                 :             :   else
    1545                 :             :     {
    1546                 :       20749 :       if (cmp != EQ_EXPR
    1547                 :       20749 :  && (! FLOAT_TYPE_P (TREE_TYPE (captures[0]))
    1548                 :        1324 :  || ! flag_trapping_math)
    1549                 :             : )
    1550                 :             :         {
    1551                 :           0 :           gimple_seq *lseq = seq;
    1552                 :           0 :           if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail506;
    1553                 :           0 :           {
    1554                 :           0 :             res_op->set_op (EQ_EXPR, type, 2);
    1555                 :           0 :             res_op->ops[0] = captures[0];
    1556                 :           0 :             res_op->ops[1] = captures[0];
    1557                 :           0 :             res_op->resimplify (lseq, valueize);
    1558                 :           0 :             if (UNLIKELY (debug_dump)) gimple_dump_logs ("match.pd", 328, __FILE__, __LINE__, true);
    1559                 :           0 :             return true;
    1560                 :             :           }
    1561                 :           0 : next_after_fail506:;
    1562                 :             :         }
    1563                 :             :     }
    1564                 :             :   return false;
    1565                 :             : }
    1566                 :             : 
    1567                 :             : bool
    1568                 :       32772 : gimple_simplify_253 (gimple_match_op *res_op, gimple_seq *seq,
    1569                 :             :                  tree (*valueize)(tree) ATTRIBUTE_UNUSED,
    1570                 :             :                  const tree ARG_UNUSED (type), tree *ARG_UNUSED (captures),
    1571                 :             :  const enum tree_code ARG_UNUSED (op),
    1572                 :             :  const enum tree_code ARG_UNUSED (cmp))
    1573                 :             : {
    1574                 :       32772 :   const bool debug_dump = dump_file && (dump_flags & TDF_FOLDING);
    1575                 :       32772 :   if (flag_unsafe_math_optimizations
    1576                 :             : )
    1577                 :             :     {
    1578                 :          27 :       {
    1579                 :          39 :  tree tem = const_binop (op == PLUS_EXPR ? MINUS_EXPR : PLUS_EXPR,
    1580                 :          27 :  TREE_TYPE (captures[1]), captures[2], captures[1]);
    1581                 :          27 :           if (tem && !TREE_OVERFLOW (tem)
    1582                 :             : )
    1583                 :             :             {
    1584                 :          27 :               gimple_seq *lseq = seq;
    1585                 :          27 :               if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail526;
    1586                 :          27 :               {
    1587                 :          27 :                 res_op->set_op (cmp, type, 2);
    1588                 :          27 :                 res_op->ops[0] = captures[0];
    1589                 :          27 :                 res_op->ops[1] =  tem;
    1590                 :          27 :                 res_op->resimplify (lseq, valueize);
    1591                 :          27 :                 if (UNLIKELY (debug_dump)) gimple_dump_logs ("match.pd", 347, __FILE__, __LINE__, true);
    1592                 :          27 :                 return true;
    1593                 :             :               }
    1594                 :           0 : next_after_fail526:;
    1595                 :             :             }
    1596                 :             :       }
    1597                 :             :     }
    1598                 :             :   return false;
    1599                 :             : }
    1600                 :             : 
    1601                 :             : bool
    1602                 :       25680 : gimple_simplify_259 (gimple_match_op *res_op, gimple_seq *seq,
    1603                 :             :                  tree (*valueize)(tree) ATTRIBUTE_UNUSED,
    1604                 :             :                  const tree ARG_UNUSED (type), tree *ARG_UNUSED (captures),
    1605                 :             :  const enum tree_code ARG_UNUSED (cmp))
    1606                 :             : {
    1607                 :       25680 :   const bool debug_dump = dump_file && (dump_flags & TDF_FOLDING);
    1608                 :       25680 :   if (!integer_zerop (captures[1])
    1609                 :             : )
    1610                 :             :     {
    1611                 :       25680 :       if (wi::to_wide (captures[2]) == 0
    1612                 :             : )
    1613                 :             :         {
    1614                 :       17124 :           gimple_seq *lseq = seq;
    1615                 :       17124 :           if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail557;
    1616                 :       17124 :           {
    1617                 :       17124 :             res_op->set_op (cmp, type, 2);
    1618                 :       17124 :             res_op->ops[0] = captures[0];
    1619                 :       17124 :             res_op->ops[1] = captures[2];
    1620                 :       17124 :             res_op->resimplify (lseq, valueize);
    1621                 :       17124 :             if (UNLIKELY (debug_dump)) gimple_dump_logs ("match.pd", 378, __FILE__, __LINE__, true);
    1622                 :       17124 :             return true;
    1623                 :             :           }
    1624                 :           0 : next_after_fail557:;
    1625                 :             :         }
    1626                 :             :       else
    1627                 :             :         {
    1628                 :        8556 :           if (TREE_CODE (captures[1]) == INTEGER_CST
    1629                 :             : )
    1630                 :             :             {
    1631                 :        8556 :               {
    1632                 :        8556 :  wi::overflow_type ovf;
    1633                 :        8556 :  wide_int prod = wi::mul (wi::to_wide (captures[2]), wi::to_wide (captures[1]),
    1634                 :       17112 :  TYPE_SIGN (TREE_TYPE (captures[1])), &ovf);
    1635                 :        8556 :                   if (ovf
    1636                 :             : )
    1637                 :             :                     {
    1638                 :           1 :                       gimple_seq *lseq = seq;
    1639                 :           1 :                       if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail558;
    1640                 :           1 :                       {
    1641                 :           1 :                         tree tem;
    1642                 :           1 :                         tem =  constant_boolean_node (cmp == NE_EXPR, type);
    1643                 :           1 :                         res_op->set_value (tem);
    1644                 :           1 :                         if (UNLIKELY (debug_dump)) gimple_dump_logs ("match.pd", 379, __FILE__, __LINE__, true);
    1645                 :           1 :                         return true;
    1646                 :             :                       }
    1647                 :           0 : next_after_fail558:;
    1648                 :             :                     }
    1649                 :             :                   else
    1650                 :             :                     {
    1651                 :        8555 :                       gimple_seq *lseq = seq;
    1652                 :        8555 :                       if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail559;
    1653                 :        8555 :                       {
    1654                 :        8555 :                         res_op->set_op (cmp, type, 2);
    1655                 :        8555 :                         res_op->ops[0] = captures[0];
    1656                 :        8555 :                         res_op->ops[1] =  wide_int_to_tree (TREE_TYPE (captures[0]), prod);
    1657                 :        8555 :                         res_op->resimplify (lseq, valueize);
    1658                 :        8555 :                         if (UNLIKELY (debug_dump)) gimple_dump_logs ("match.pd", 380, __FILE__, __LINE__, true);
    1659                 :        8555 :                         return true;
    1660                 :             :                       }
    1661                 :           0 : next_after_fail559:;
    1662                 :             :                     }
    1663                 :        8556 :               }
    1664                 :             :             }
    1665                 :             :         }
    1666                 :             :     }
    1667                 :             :   return false;
    1668                 :             : }
    1669                 :             : 
    1670                 :             : bool
    1671                 :     3032501 : gimple_simplify_265 (gimple_match_op *res_op, gimple_seq *seq,
    1672                 :             :                  tree (*valueize)(tree) ATTRIBUTE_UNUSED,
    1673                 :             :                  const tree ARG_UNUSED (type), tree *ARG_UNUSED (captures),
    1674                 :             :  const enum tree_code ARG_UNUSED (cmp))
    1675                 :             : {
    1676                 :     3032501 :   const bool debug_dump = dump_file && (dump_flags & TDF_FOLDING);
    1677                 :     3032501 :   {
    1678                 :     3032501 :  poly_int64 off; tree base;
    1679                 :     3032501 :  tree addr = (TREE_CODE (captures[0]) == SSA_NAME
    1680                 :     3032501 :  ? gimple_assign_rhs1 (SSA_NAME_DEF_STMT (captures[0])) : captures[0]);
    1681                 :     3032501 :       if (SSA_NAME_IS_DEFAULT_DEF (captures[1])
    1682                 :        6541 :  && TREE_CODE (SSA_NAME_VAR (captures[1])) == PARM_DECL
    1683                 :        5797 :  && (base = get_base_address (TREE_OPERAND (addr, 0)))
    1684                 :        5797 :  && TREE_CODE (base) == VAR_DECL
    1685                 :     3032871 :  && auto_var_in_fn_p (base, current_function_decl)
    1686                 :             : )
    1687                 :             :         {
    1688                 :         128 :           if (cmp == NE_EXPR
    1689                 :             : )
    1690                 :             :             {
    1691                 :          55 :               gimple_seq *lseq = seq;
    1692                 :          55 :               if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail577;
    1693                 :          55 :               {
    1694                 :          55 :                 tree tem;
    1695                 :          55 :                 tem =  constant_boolean_node (true, type);
    1696                 :          55 :                 res_op->set_value (tem);
    1697                 :          55 :                 if (UNLIKELY (debug_dump)) gimple_dump_logs ("match.pd", 391, __FILE__, __LINE__, true);
    1698                 :         130 :                 return true;
    1699                 :             :               }
    1700                 :           0 : next_after_fail577:;
    1701                 :             :             }
    1702                 :             :           else
    1703                 :             :             {
    1704                 :          73 :               gimple_seq *lseq = seq;
    1705                 :          73 :               if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail578;
    1706                 :          73 :               {
    1707                 :          73 :                 tree tem;
    1708                 :          73 :                 tem =  constant_boolean_node (false, type);
    1709                 :          73 :                 res_op->set_value (tem);
    1710                 :          73 :                 if (UNLIKELY (debug_dump)) gimple_dump_logs ("match.pd", 392, __FILE__, __LINE__, true);
    1711                 :          73 :                 return true;
    1712                 :             :               }
    1713                 :           0 : next_after_fail578:;
    1714                 :             :             }
    1715                 :             :         }
    1716                 :             :       else
    1717                 :             :         {
    1718                 :     3032373 :           if ((base = get_addr_base_and_unit_offset (TREE_OPERAND (addr, 0), &off))
    1719                 :     3029579 :  && TREE_CODE (base) == MEM_REF
    1720                 :     3136305 :  && TREE_OPERAND (base, 0) == captures[1]
    1721                 :             : )
    1722                 :             :             {
    1723                 :           2 :               {
    1724                 :           2 :  off += mem_ref_offset (base).force_shwi ();
    1725                 :           2 :                   if (known_ne (off, 0)
    1726                 :             : )
    1727                 :             :                     {
    1728                 :           2 :                       gimple_seq *lseq = seq;
    1729                 :           2 :                       if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail579;
    1730                 :           2 :                       {
    1731                 :           2 :                         tree tem;
    1732                 :           2 :                         tem =  constant_boolean_node (cmp == NE_EXPR, type);
    1733                 :           2 :                         res_op->set_value (tem);
    1734                 :           2 :                         if (UNLIKELY (debug_dump)) gimple_dump_logs ("match.pd", 393, __FILE__, __LINE__, true);
    1735                 :           2 :                         return true;
    1736                 :             :                       }
    1737                 :           0 : next_after_fail579:;
    1738                 :             :                     }
    1739                 :             :                   else
    1740                 :             :                     {
    1741                 :           0 :                       if (known_eq (off, 0)
    1742                 :             : )
    1743                 :             :                         {
    1744                 :           0 :                           gimple_seq *lseq = seq;
    1745                 :           0 :                           if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail580;
    1746                 :           0 :                           {
    1747                 :           0 :                             tree tem;
    1748                 :           0 :                             tem =  constant_boolean_node (cmp == EQ_EXPR, type);
    1749                 :           0 :                             res_op->set_value (tem);
    1750                 :           0 :                             if (UNLIKELY (debug_dump)) gimple_dump_logs ("match.pd", 394, __FILE__, __LINE__, true);
    1751                 :           0 :                             return true;
    1752                 :             :                           }
    1753                 :           0 : next_after_fail580:;
    1754                 :             :                         }
    1755                 :             :                     }
    1756                 :             :               }
    1757                 :             :             }
    1758                 :             :         }
    1759                 :             :   }
    1760                 :     3032371 :   return false;
    1761                 :             : }
    1762                 :             : 
    1763                 :             : bool
    1764                 :        2805 : gimple_simplify_273 (gimple_match_op *res_op, gimple_seq *seq,
    1765                 :             :                  tree (*valueize)(tree) ATTRIBUTE_UNUSED,
    1766                 :             :                  const tree ARG_UNUSED (type), tree *ARG_UNUSED (captures),
    1767                 :             :  const enum tree_code ARG_UNUSED (cmp))
    1768                 :             : {
    1769                 :        2805 :   const bool debug_dump = dump_file && (dump_flags & TDF_FOLDING);
    1770                 :        2805 :   gimple_seq *lseq = seq;
    1771                 :        2805 :   if (lseq
    1772                 :         834 :       && (!single_use (captures[0])
    1773                 :         119 :           || !single_use (captures[3])))
    1774                 :        2758 :     lseq = NULL;
    1775                 :        2805 :   if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail588;
    1776                 :        2805 :   {
    1777                 :        2805 :     res_op->set_op (cmp, type, 2);
    1778                 :        2805 :     {
    1779                 :        2805 :       tree _o1[2], _r1;
    1780                 :        2805 :       {
    1781                 :        2805 :         tree _o2[2], _r2;
    1782                 :        2805 :         _o2[0] = captures[1];
    1783                 :        2805 :         _o2[1] = captures[4];
    1784                 :        2805 :         gimple_match_op tem_op (res_op->cond.any_else (), BIT_XOR_EXPR, TREE_TYPE (_o2[0]), _o2[0], _o2[1]);
    1785                 :        2805 :         tem_op.resimplify (lseq, valueize);
    1786                 :        2805 :         _r2 = maybe_push_res_to_seq (&tem_op, lseq);
    1787                 :        2805 :         if (!_r2) goto next_after_fail588;
    1788                 :         134 :         _o1[0] = _r2;
    1789                 :             :       }
    1790                 :         134 :       _o1[1] = captures[2];
    1791                 :         134 :       gimple_match_op tem_op (res_op->cond.any_else (), BIT_AND_EXPR, TREE_TYPE (_o1[0]), _o1[0], _o1[1]);
    1792                 :         134 :       tem_op.resimplify (lseq, valueize);
    1793                 :         134 :       _r1 = maybe_push_res_to_seq (&tem_op, lseq);
    1794                 :         134 :       if (!_r1) goto next_after_fail588;
    1795                 :          54 :       res_op->ops[0] = _r1;
    1796                 :             :     }
    1797                 :          54 :     res_op->ops[1] =  build_zero_cst (TREE_TYPE (captures[2]));
    1798                 :          54 :     res_op->resimplify (lseq, valueize);
    1799                 :          54 :     if (UNLIKELY (debug_dump)) gimple_dump_logs ("match.pd", 402, __FILE__, __LINE__, true);
    1800                 :             :     return true;
    1801                 :             :   }
    1802                 :             : next_after_fail588:;
    1803                 :             :   return false;
    1804                 :             : }
    1805                 :             : 
    1806                 :             : bool
    1807                 :       28367 : gimple_simplify_279 (gimple_match_op *res_op, gimple_seq *seq,
    1808                 :             :                  tree (*valueize)(tree) ATTRIBUTE_UNUSED,
    1809                 :             :                  const tree ARG_UNUSED (type), tree *ARG_UNUSED (captures),
    1810                 :             :  const enum tree_code ARG_UNUSED (cmp),
    1811                 :             :  const enum tree_code ARG_UNUSED (ncmp))
    1812                 :             : {
    1813                 :       28367 :   const bool debug_dump = dump_file && (dump_flags & TDF_FOLDING);
    1814                 :       54564 :   if (INTEGRAL_TYPE_P (TREE_TYPE (captures[1]))
    1815                 :       13656 :  && type_has_mode_precision_p (TREE_TYPE (captures[1]))
    1816                 :       13324 :  && element_precision (captures[0]) >= element_precision (captures[1])
    1817                 :       56734 :  && wi::only_sign_bit_p (wi::to_wide (captures[2]), element_precision (captures[1]))
    1818                 :             : )
    1819                 :             :     {
    1820                 :         119 :       {
    1821                 :         119 :  tree stype = signed_type_for (TREE_TYPE (captures[1]));
    1822                 :         119 :           gimple_seq *lseq = seq;
    1823                 :         119 :           if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail594;
    1824                 :         119 :           {
    1825                 :         119 :             res_op->set_op (ncmp, type, 2);
    1826                 :         119 :             {
    1827                 :         119 :               tree _o1[1], _r1;
    1828                 :         119 :               _o1[0] = captures[1];
    1829                 :         119 :               if (stype != TREE_TYPE (_o1[0])
    1830                 :         119 :                   && !useless_type_conversion_p (stype, TREE_TYPE (_o1[0])))
    1831                 :             :                 {
    1832                 :          81 :                   gimple_match_op tem_op (res_op->cond.any_else (), NOP_EXPR, stype, _o1[0]);
    1833                 :          81 :                   tem_op.resimplify (lseq, valueize);
    1834                 :          81 :                   _r1 = maybe_push_res_to_seq (&tem_op, lseq);
    1835                 :          81 :                   if (!_r1) goto next_after_fail594;
    1836                 :             :                 }
    1837                 :             :               else
    1838                 :             :                 _r1 = _o1[0];
    1839                 :          38 :               res_op->ops[0] = _r1;
    1840                 :             :             }
    1841                 :          38 :             res_op->ops[1] =  build_zero_cst (stype);
    1842                 :          38 :             res_op->resimplify (lseq, valueize);
    1843                 :          38 :             if (UNLIKELY (debug_dump)) gimple_dump_logs ("match.pd", 407, __FILE__, __LINE__, true);
    1844                 :          38 :             return true;
    1845                 :             :           }
    1846                 :             : next_after_fail594:;
    1847                 :             :       }
    1848                 :             :     }
    1849                 :             :   return false;
    1850                 :             : }
    1851                 :             : 
    1852                 :             : bool
    1853                 :     1701525 : gimple_simplify_284 (gimple_match_op *res_op, gimple_seq *seq,
    1854                 :             :                  tree (*valueize)(tree) ATTRIBUTE_UNUSED,
    1855                 :             :                  const tree ARG_UNUSED (type), tree *ARG_UNUSED (captures),
    1856                 :             :  const enum tree_code ARG_UNUSED (cmp))
    1857                 :             : {
    1858                 :     1701525 :   const bool debug_dump = dump_file && (dump_flags & TDF_FOLDING);
    1859                 :     3392589 :   if (((POINTER_TYPE_P (TREE_TYPE (captures[0]))
    1860                 :       10481 :  && !FUNC_OR_METHOD_TYPE_P (TREE_TYPE (TREE_TYPE (captures[0])))
    1861                 :        9593 :  && INTEGRAL_TYPE_P (TREE_TYPE (captures[1]))
    1862                 :             :  && !(
    1863                 :             : 
    1864                 :             :  && TREE_CODE (TREE_TYPE (captures[0])) == REFERENCE_TYPE
    1865                 :             :  && (flag_sanitize & (SANITIZE_NULL | SANITIZE_ALIGNMENT))))
    1866                 :     1692827 :  || (INTEGRAL_TYPE_P (TREE_TYPE (captures[0]))
    1867                 :     1691040 :  && POINTER_TYPE_P (TREE_TYPE (captures[1]))
    1868                 :       36579 :  && !FUNC_OR_METHOD_TYPE_P (TREE_TYPE (TREE_TYPE (captures[1])))))
    1869                 :     1744840 :  && TYPE_PRECISION (TREE_TYPE (captures[0])) == TYPE_PRECISION (TREE_TYPE (captures[1]))
    1870                 :             : )
    1871                 :             :     {
    1872                 :       42327 :       gimple_seq *lseq = seq;
    1873                 :       42327 :       if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail613;
    1874                 :       42327 :       {
    1875                 :       42327 :         res_op->set_op (cmp, type, 2);
    1876                 :       42327 :         res_op->ops[0] = captures[0];
    1877                 :       42327 :         {
    1878                 :       42327 :           tree _o1[1], _r1;
    1879                 :       42327 :           _o1[0] = captures[1];
    1880                 :       42327 :           if (TREE_TYPE (res_op->ops[0]) != TREE_TYPE (_o1[0])
    1881                 :       42327 :               && !useless_type_conversion_p (TREE_TYPE (res_op->ops[0]), TREE_TYPE (_o1[0])))
    1882                 :             :             {
    1883                 :       42327 :               gimple_match_op tem_op (res_op->cond.any_else (), NOP_EXPR, TREE_TYPE (res_op->ops[0]), _o1[0]);
    1884                 :       42327 :               tem_op.resimplify (lseq, valueize);
    1885                 :       42327 :               _r1 = maybe_push_res_to_seq (&tem_op, lseq);
    1886                 :       42327 :               if (!_r1) goto next_after_fail613;
    1887                 :             :             }
    1888                 :             :           else
    1889                 :             :             _r1 = _o1[0];
    1890                 :       42327 :           res_op->ops[1] = _r1;
    1891                 :             :         }
    1892                 :       42327 :         res_op->resimplify (lseq, valueize);
    1893                 :       42327 :         if (UNLIKELY (debug_dump)) gimple_dump_logs ("match.pd", 417, __FILE__, __LINE__, true);
    1894                 :       42327 :         return true;
    1895                 :             :       }
    1896                 :             : next_after_fail613:;
    1897                 :             :     }
    1898                 :             :   return false;
    1899                 :             : }
    1900                 :             : 
    1901                 :             : bool
    1902                 :        2090 : gimple_simplify_288 (gimple_match_op *res_op, gimple_seq *seq,
    1903                 :             :                  tree (*valueize)(tree) ATTRIBUTE_UNUSED,
    1904                 :             :                  const tree ARG_UNUSED (type), tree *ARG_UNUSED (captures),
    1905                 :             :  const enum tree_code ARG_UNUSED (op),
    1906                 :             :  const enum tree_code ARG_UNUSED (cmp),
    1907                 :             :  const combined_fn ARG_UNUSED (clz))
    1908                 :             : {
    1909                 :        2090 :   const bool debug_dump = dump_file && (dump_flags & TDF_FOLDING);
    1910                 :        2090 :   if (integer_zerop (captures[2]) && single_use (captures[0])
    1911                 :             : )
    1912                 :             :     {
    1913                 :           6 :       {
    1914                 :           6 :  tree stype = signed_type_for (TREE_TYPE (captures[1]));
    1915                 :           6 :           gimple_seq *lseq = seq;
    1916                 :           6 :           if (lseq
    1917                 :           6 :               && (!single_use (captures[0])))
    1918                 :           0 :             lseq = NULL;
    1919                 :           6 :           if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail622;
    1920                 :           6 :           {
    1921                 :           6 :             res_op->set_op (cmp, type, 2);
    1922                 :           6 :             {
    1923                 :           6 :               tree _o1[1], _r1;
    1924                 :           6 :               _o1[0] = captures[1];
    1925                 :           6 :               if (stype != TREE_TYPE (_o1[0])
    1926                 :           6 :                   && !useless_type_conversion_p (stype, TREE_TYPE (_o1[0])))
    1927                 :             :                 {
    1928                 :           6 :                   gimple_match_op tem_op (res_op->cond.any_else (), NOP_EXPR, stype, _o1[0]);
    1929                 :           6 :                   tem_op.resimplify (lseq, valueize);
    1930                 :           6 :                   _r1 = maybe_push_res_to_seq (&tem_op, lseq);
    1931                 :           6 :                   if (!_r1) goto next_after_fail622;
    1932                 :             :                 }
    1933                 :             :               else
    1934                 :             :                 _r1 = _o1[0];
    1935                 :           6 :               res_op->ops[0] = _r1;
    1936                 :             :             }
    1937                 :           6 :             res_op->ops[1] =  build_zero_cst (stype);
    1938                 :           6 :             res_op->resimplify (lseq, valueize);
    1939                 :           6 :             if (UNLIKELY (debug_dump)) gimple_dump_logs ("match.pd", 426, __FILE__, __LINE__, true);
    1940                 :           6 :             return true;
    1941                 :             :           }
    1942                 :             : next_after_fail622:;
    1943                 :             :       }
    1944                 :             :     }
    1945                 :             :   else
    1946                 :             :     {
    1947                 :        2084 :       if (wi::to_wide (captures[2]) == TYPE_PRECISION (TREE_TYPE (captures[1])) - 1
    1948                 :             : )
    1949                 :             :         {
    1950                 :         667 :           gimple_seq *lseq = seq;
    1951                 :         667 :           if (lseq
    1952                 :           2 :               && (!single_use (captures[0])))
    1953                 :         665 :             lseq = NULL;
    1954                 :         667 :           if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail623;
    1955                 :         667 :           {
    1956                 :         667 :             res_op->set_op (op, type, 2);
    1957                 :         667 :             res_op->ops[0] = captures[1];
    1958                 :         667 :             res_op->ops[1] =  build_one_cst (TREE_TYPE (captures[1]));
    1959                 :         667 :             res_op->resimplify (lseq, valueize);
    1960                 :         667 :             if (UNLIKELY (debug_dump)) gimple_dump_logs ("match.pd", 427, __FILE__, __LINE__, true);
    1961                 :         667 :             return true;
    1962                 :             :           }
    1963                 :           0 : next_after_fail623:;
    1964                 :             :         }
    1965                 :             :     }
    1966                 :             :   return false;
    1967                 :             : }
    1968                 :             : 
    1969                 :             : bool
    1970                 :       89879 : gimple_simplify_296 (gimple_match_op *res_op, gimple_seq *seq,
    1971                 :             :                  tree (*valueize)(tree) ATTRIBUTE_UNUSED,
    1972                 :             :                  const tree ARG_UNUSED (type), tree *ARG_UNUSED (captures),
    1973                 :             :  const enum tree_code ARG_UNUSED (cmp))
    1974                 :             : {
    1975                 :       89879 :   const bool debug_dump = dump_file && (dump_flags & TDF_FOLDING);
    1976                 :       89879 :   if (cmp != NE_EXPR
    1977                 :       67769 :  || ! FLOAT_TYPE_P (TREE_TYPE (captures[0]))
    1978                 :      132330 :  || ! tree_expr_maybe_nan_p (captures[0])
    1979                 :             : )
    1980                 :             :     {
    1981                 :       49853 :       gimple_seq *lseq = seq;
    1982                 :       49853 :       if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail637;
    1983                 :       49853 :       {
    1984                 :       49853 :         tree tem;
    1985                 :       49853 :         tem =  constant_boolean_node (false, type);
    1986                 :       49853 :         res_op->set_value (tem);
    1987                 :       49853 :         if (UNLIKELY (debug_dump)) gimple_dump_logs ("match.pd", 441, __FILE__, __LINE__, true);
    1988                 :       49853 :         return true;
    1989                 :             :       }
    1990                 :           0 : next_after_fail637:;
    1991                 :             :     }
    1992                 :             :   return false;
    1993                 :             : }
    1994                 :             : 
    1995                 :             : bool
    1996                 :           3 : gimple_simplify_301 (gimple_match_op *res_op, gimple_seq *seq,
    1997                 :             :                  tree (*valueize)(tree) ATTRIBUTE_UNUSED,
    1998                 :             :                  const tree ARG_UNUSED (type), tree *ARG_UNUSED (captures),
    1999                 :             :  const combined_fn ARG_UNUSED (COPYSIGN_ALL))
    2000                 :             : {
    2001                 :           3 :   const bool debug_dump = dump_file && (dump_flags & TDF_FOLDING);
    2002                 :           3 :   gimple_seq *lseq = seq;
    2003                 :           3 :   if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail643;
    2004                 :           3 :   {
    2005                 :           3 :     tree tem;
    2006                 :           3 :     tem = captures[1];
    2007                 :           3 :     res_op->set_value (tem);
    2008                 :           3 :     if (UNLIKELY (debug_dump)) gimple_dump_logs ("match.pd", 447, __FILE__, __LINE__, true);
    2009                 :             :     return true;
    2010                 :             :   }
    2011                 :           0 : next_after_fail643:;
    2012                 :           0 :   return false;
    2013                 :             : }
    2014                 :             : 
    2015                 :             : bool
    2016                 :      525763 : gimple_simplify_307 (gimple_match_op *res_op, gimple_seq *seq,
    2017                 :             :                  tree (*valueize)(tree) ATTRIBUTE_UNUSED,
    2018                 :             :                  const tree ARG_UNUSED (type), tree *ARG_UNUSED (captures),
    2019                 :             :  const enum tree_code ARG_UNUSED (div))
    2020                 :             : {
    2021                 :      525763 :   const bool debug_dump = dump_file && (dump_flags & TDF_FOLDING);
    2022                 :      525763 :   if (INTEGRAL_TYPE_P (type)
    2023                 :      523902 :  && ssa_name_has_boolean_range (captures[1])
    2024                 :      525848 :  && !flag_non_call_exceptions
    2025                 :             : )
    2026                 :             :     {
    2027                 :          76 :       gimple_seq *lseq = seq;
    2028                 :          76 :       if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail651;
    2029                 :          76 :       {
    2030                 :          76 :         tree tem;
    2031                 :          76 :         tem = captures[0];
    2032                 :          76 :         res_op->set_value (tem);
    2033                 :          76 :         if (UNLIKELY (debug_dump)) gimple_dump_logs ("match.pd", 453, __FILE__, __LINE__, true);
    2034                 :          76 :         return true;
    2035                 :             :       }
    2036                 :           0 : next_after_fail651:;
    2037                 :             :     }
    2038                 :             :   return false;
    2039                 :             : }
    2040                 :             : 
    2041                 :             : bool
    2042                 :       83897 : gimple_simplify_314 (gimple_match_op *res_op, gimple_seq *seq,
    2043                 :             :                  tree (*valueize)(tree) ATTRIBUTE_UNUSED,
    2044                 :             :                  const tree ARG_UNUSED (type), tree *ARG_UNUSED (captures),
    2045                 :             :  const enum tree_code ARG_UNUSED (div))
    2046                 :             : {
    2047                 :       83897 :   const bool debug_dump = dump_file && (dump_flags & TDF_FOLDING);
    2048                 :       83897 :   if (INTEGRAL_TYPE_P (type)
    2049                 :       83897 :  && wi::multiple_of_p (wi::to_widest (captures[1]), wi::to_widest (captures[2]), SIGNED)
    2050                 :             : )
    2051                 :             :     {
    2052                 :       70296 :       if (TYPE_OVERFLOW_UNDEFINED (type) && !TYPE_OVERFLOW_SANITIZED (type)
    2053                 :             : )
    2054                 :             :         {
    2055                 :         176 :           gimple_seq *lseq = seq;
    2056                 :         176 :           if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail660;
    2057                 :         176 :           {
    2058                 :         176 :             res_op->set_op (MULT_EXPR, type, 2);
    2059                 :         176 :             res_op->ops[0] = captures[0];
    2060                 :         176 :             {
    2061                 :         176 :               tree _o1[2], _r1;
    2062                 :         176 :               _o1[0] = captures[1];
    2063                 :         176 :               _o1[1] = captures[2];
    2064                 :         176 :               gimple_match_op tem_op (res_op->cond.any_else (), div, TREE_TYPE (_o1[0]), _o1[0], _o1[1]);
    2065                 :         176 :               tem_op.resimplify (NULL, valueize);
    2066                 :         176 :               _r1 = maybe_push_res_to_seq (&tem_op, NULL);
    2067                 :         176 :               if (!_r1) goto next_after_fail660;
    2068                 :         176 :               res_op->ops[1] = _r1;
    2069                 :             :             }
    2070                 :         176 :             res_op->resimplify (lseq, valueize);
    2071                 :         176 :             if (UNLIKELY (debug_dump)) gimple_dump_logs ("match.pd", 462, __FILE__, __LINE__, true);
    2072                 :         176 :             return true;
    2073                 :             :           }
    2074                 :             : next_after_fail660:;
    2075                 :             :         }
    2076                 :             :       else
    2077                 :             :         {
    2078                 :       70120 :           {
    2079                 :       70120 : value_range vr0, vr1;
    2080                 :      140240 :               if (get_range_query (cfun)->range_of_expr (vr0, captures[0])
    2081                 :      140240 :  && get_range_query (cfun)->range_of_expr (vr1, captures[1])
    2082                 :      140240 :  && range_op_handler (MULT_EXPR).overflow_free_p (vr0, vr1)
    2083                 :             : )
    2084                 :             :                 {
    2085                 :          65 :                   gimple_seq *lseq = seq;
    2086                 :          65 :                   if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail661;
    2087                 :          65 :                   {
    2088                 :          65 :                     res_op->set_op (MULT_EXPR, type, 2);
    2089                 :          65 :                     res_op->ops[0] = captures[0];
    2090                 :          65 :                     {
    2091                 :          65 :                       tree _o1[2], _r1;
    2092                 :          65 :                       _o1[0] = captures[1];
    2093                 :          65 :                       _o1[1] = captures[2];
    2094                 :          65 :                       gimple_match_op tem_op (res_op->cond.any_else (), div, TREE_TYPE (_o1[0]), _o1[0], _o1[1]);
    2095                 :          65 :                       tem_op.resimplify (NULL, valueize);
    2096                 :          65 :                       _r1 = maybe_push_res_to_seq (&tem_op, NULL);
    2097                 :          65 :                       if (!_r1) goto next_after_fail661;
    2098                 :          65 :                       res_op->ops[1] = _r1;
    2099                 :             :                     }
    2100                 :          65 :                     res_op->resimplify (lseq, valueize);
    2101                 :          65 :                     if (UNLIKELY (debug_dump)) gimple_dump_logs ("match.pd", 463, __FILE__, __LINE__, true);
    2102                 :          65 :                     return true;
    2103                 :             :                   }
    2104                 :       70055 : next_after_fail661:;
    2105                 :             :                 }
    2106                 :       70120 :           }
    2107                 :             :         }
    2108                 :             :     }
    2109                 :             :   return false;
    2110                 :             : }
    2111                 :             : 
    2112                 :             : bool
    2113                 :           0 : gimple_simplify_329 (gimple_match_op *res_op, gimple_seq *seq,
    2114                 :             :                  tree (*valueize)(tree) ATTRIBUTE_UNUSED,
    2115                 :             :                  const tree ARG_UNUSED (type), tree *ARG_UNUSED (captures),
    2116                 :             :  const combined_fn ARG_UNUSED (SIN),
    2117                 :             :  const combined_fn ARG_UNUSED (TAN),
    2118                 :             :  const combined_fn ARG_UNUSED (COS))
    2119                 :             : {
    2120                 :           0 :   const bool debug_dump = dump_file && (dump_flags & TDF_FOLDING);
    2121                 :           0 :   if (flag_unsafe_math_optimizations && canonicalize_math_p ()
    2122                 :             : )
    2123                 :             :     {
    2124                 :           0 :       if (! HONOR_NANS (captures[1])
    2125                 :           0 :  && ! HONOR_INFINITIES (captures[1])
    2126                 :             : )
    2127                 :             :         {
    2128                 :           0 :           gimple_seq *lseq = seq;
    2129                 :           0 :           if (lseq
    2130                 :           0 :               && (!single_use (captures[0])
    2131                 :           0 :                   || !single_use (captures[2])))
    2132                 :           0 :             lseq = NULL;
    2133                 :           0 :           if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail679;
    2134                 :           0 :           {
    2135                 :           0 :             res_op->set_op (COS, type, 1);
    2136                 :           0 :             res_op->ops[0] = captures[1];
    2137                 :           0 :             res_op->resimplify (lseq, valueize);
    2138                 :           0 :             if (UNLIKELY (debug_dump)) gimple_dump_logs ("match.pd", 481, __FILE__, __LINE__, true);
    2139                 :           0 :             return true;
    2140                 :             :           }
    2141                 :           0 : next_after_fail679:;
    2142                 :             :         }
    2143                 :             :     }
    2144                 :             :   return false;
    2145                 :             : }
    2146                 :             : 
    2147                 :             : bool
    2148                 :        1864 : gimple_simplify_336 (gimple_match_op *res_op, gimple_seq *seq,
    2149                 :             :                  tree (*valueize)(tree) ATTRIBUTE_UNUSED,
    2150                 :             :                  const tree ARG_UNUSED (type), tree *ARG_UNUSED (captures),
    2151                 :             :  const enum tree_code ARG_UNUSED (op),
    2152                 :             :  const enum tree_code ARG_UNUSED (neg_op))
    2153                 :             : {
    2154                 :        1864 :   const bool debug_dump = dump_file && (dump_flags & TDF_FOLDING);
    2155                 :        1864 :   if (flag_unsafe_math_optimizations
    2156                 :             : )
    2157                 :             :     {
    2158                 :           0 :       if (!HONOR_SIGNED_ZEROS (captures[1]) && !HONOR_INFINITIES (captures[1])
    2159                 :             : )
    2160                 :             :         {
    2161                 :           0 :           if (real_less (&dconst0, TREE_REAL_CST_PTR (captures[0]))
    2162                 :             : )
    2163                 :             :             {
    2164                 :           0 :               gimple_seq *lseq = seq;
    2165                 :           0 :               if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail686;
    2166                 :           0 :               {
    2167                 :           0 :                 res_op->set_op (op, type, 2);
    2168                 :           0 :                 res_op->ops[0] = captures[1];
    2169                 :           0 :                 res_op->ops[1] = captures[2];
    2170                 :           0 :                 res_op->resimplify (lseq, valueize);
    2171                 :           0 :                 if (UNLIKELY (debug_dump)) gimple_dump_logs ("match.pd", 488, __FILE__, __LINE__, true);
    2172                 :           0 :                 return true;
    2173                 :             :               }
    2174                 :           0 : next_after_fail686:;
    2175                 :             :             }
    2176                 :             :           else
    2177                 :             :             {
    2178                 :           0 :               if (real_less (TREE_REAL_CST_PTR (captures[0]), &dconst0)
    2179                 :             : )
    2180                 :             :                 {
    2181                 :           0 :                   gimple_seq *lseq = seq;
    2182                 :           0 :                   if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail687;
    2183                 :           0 :                   {
    2184                 :           0 :                     res_op->set_op (neg_op, type, 2);
    2185                 :           0 :                     res_op->ops[0] = captures[1];
    2186                 :           0 :                     res_op->ops[1] = captures[2];
    2187                 :           0 :                     res_op->resimplify (lseq, valueize);
    2188                 :           0 :                     if (UNLIKELY (debug_dump)) gimple_dump_logs ("match.pd", 489, __FILE__, __LINE__, true);
    2189                 :           0 :                     return true;
    2190                 :             :                   }
    2191                 :           0 : next_after_fail687:;
    2192                 :             :                 }
    2193                 :             :             }
    2194                 :             :         }
    2195                 :             :     }
    2196                 :             :   return false;
    2197                 :             : }
    2198                 :             : 
    2199                 :             : bool
    2200                 :         702 : gimple_simplify_346 (gimple_match_op *res_op, gimple_seq *seq,
    2201                 :             :                  tree (*valueize)(tree) ATTRIBUTE_UNUSED,
    2202                 :             :                  const tree ARG_UNUSED (type), tree *ARG_UNUSED (captures),
    2203                 :             :  const enum tree_code ARG_UNUSED (minmax),
    2204                 :             :  const enum tree_code ARG_UNUSED (cmp))
    2205                 :             : {
    2206                 :         702 :   const bool debug_dump = dump_file && (dump_flags & TDF_FOLDING);
    2207                 :         702 :   gimple_seq *lseq = seq;
    2208                 :         702 :   if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail699;
    2209                 :         702 :   {
    2210                 :         702 :     tree tem;
    2211                 :         702 :     tem =  constant_boolean_node (cmp == GE_EXPR || cmp == LE_EXPR, type);
    2212                 :         702 :     res_op->set_value (tem);
    2213                 :         702 :     if (UNLIKELY (debug_dump)) gimple_dump_logs ("match.pd", 501, __FILE__, __LINE__, true);
    2214                 :             :     return true;
    2215                 :             :   }
    2216                 :           0 : next_after_fail699:;
    2217                 :           0 :   return false;
    2218                 :             : }
    2219                 :             : 
    2220                 :             : bool
    2221                 :    31967369 : gimple_simplify_352 (gimple_match_op *res_op, gimple_seq *seq,
    2222                 :             :                  tree (*valueize)(tree) ATTRIBUTE_UNUSED,
    2223                 :             :                  const tree ARG_UNUSED (type), tree *ARG_UNUSED (captures),
    2224                 :             :  const enum tree_code ARG_UNUSED (cmp))
    2225                 :             : {
    2226                 :    31967369 :   const bool debug_dump = dump_file && (dump_flags & TDF_FOLDING);
    2227                 :    63905828 :   if ((INTEGRAL_TYPE_P (TREE_TYPE (captures[2]))
    2228                 :       21125 :  || POINTER_TYPE_P (TREE_TYPE (captures[2]))
    2229                 :       18574 :  || VECTOR_INTEGER_TYPE_P (TREE_TYPE (captures[2])))
    2230                 :    63905828 :  && tree_nop_conversion_p (TREE_TYPE (captures[0]), TREE_TYPE (captures[1]))
    2231                 :             : )
    2232                 :             :     {
    2233                 :    31967369 :       {
    2234                 :    31967369 :  tree cst = uniform_integer_cst_p (captures[2]);
    2235                 :    31967369 :  tree arg1_type = TREE_TYPE (cst);
    2236                 :    31967369 :  unsigned int prec = TYPE_PRECISION (arg1_type);
    2237                 :    31967369 :  wide_int max = wi::max_value (arg1_type);
    2238                 :    31967369 :  wide_int signed_max = wi::max_value (prec, SIGNED);
    2239                 :    31967369 :  wide_int min = wi::min_value (arg1_type);
    2240                 :    31967369 :           if (wi::to_wide (cst) == max
    2241                 :             : )
    2242                 :             :             {
    2243                 :        2762 :               if (cmp == GT_EXPR
    2244                 :             : )
    2245                 :             :                 {
    2246                 :        1279 :                   gimple_seq *lseq = seq;
    2247                 :        1279 :                   if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail722;
    2248                 :        1279 :                   {
    2249                 :        1279 :                     tree tem;
    2250                 :        1279 :                     tem =  constant_boolean_node (false, type);
    2251                 :        1279 :                     res_op->set_value (tem);
    2252                 :        1279 :                     if (UNLIKELY (debug_dump)) gimple_dump_logs ("match.pd", 508, __FILE__, __LINE__, true);
    2253                 :        1279 :                     return true;
    2254                 :             :                   }
    2255                 :           0 : next_after_fail722:;
    2256                 :             :                 }
    2257                 :             :               else
    2258                 :             :                 {
    2259                 :        1483 :                   if (cmp == GE_EXPR
    2260                 :             : )
    2261                 :             :                     {
    2262                 :           0 :                       gimple_seq *lseq = seq;
    2263                 :           0 :                       if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail723;
    2264                 :           0 :                       {
    2265                 :           0 :                         res_op->set_op (EQ_EXPR, type, 2);
    2266                 :           0 :                         res_op->ops[0] = captures[0];
    2267                 :           0 :                         res_op->ops[1] = captures[2];
    2268                 :           0 :                         res_op->resimplify (lseq, valueize);
    2269                 :           0 :                         if (UNLIKELY (debug_dump)) gimple_dump_logs ("match.pd", 509, __FILE__, __LINE__, true);
    2270                 :           0 :                         return true;
    2271                 :             :                       }
    2272                 :           0 : next_after_fail723:;
    2273                 :             :                     }
    2274                 :             :                   else
    2275                 :             :                     {
    2276                 :        1483 :                       if (cmp == LE_EXPR
    2277                 :             : )
    2278                 :             :                         {
    2279                 :        1468 :                           gimple_seq *lseq = seq;
    2280                 :        1468 :                           if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail724;
    2281                 :        1468 :                           {
    2282                 :        1468 :                             tree tem;
    2283                 :        1468 :                             tem =  constant_boolean_node (true, type);
    2284                 :        1468 :                             res_op->set_value (tem);
    2285                 :        1468 :                             if (UNLIKELY (debug_dump)) gimple_dump_logs ("match.pd", 510, __FILE__, __LINE__, true);
    2286                 :        1468 :                             return true;
    2287                 :             :                           }
    2288                 :           0 : next_after_fail724:;
    2289                 :             :                         }
    2290                 :             :                       else
    2291                 :             :                         {
    2292                 :          15 :                           if (cmp == LT_EXPR
    2293                 :             : )
    2294                 :             :                             {
    2295                 :          15 :                               gimple_seq *lseq = seq;
    2296                 :          15 :                               if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail725;
    2297                 :          15 :                               {
    2298                 :          15 :                                 res_op->set_op (NE_EXPR, type, 2);
    2299                 :          15 :                                 res_op->ops[0] = captures[0];
    2300                 :          15 :                                 res_op->ops[1] = captures[2];
    2301                 :          15 :                                 res_op->resimplify (lseq, valueize);
    2302                 :          15 :                                 if (UNLIKELY (debug_dump)) gimple_dump_logs ("match.pd", 511, __FILE__, __LINE__, true);
    2303                 :          15 :                                 return true;
    2304                 :             :                               }
    2305                 :           0 : next_after_fail725:;
    2306                 :             :                             }
    2307                 :             :                         }
    2308                 :             :                     }
    2309                 :             :                 }
    2310                 :             :             }
    2311                 :             :           else
    2312                 :             :             {
    2313                 :    31964607 :               if (wi::to_wide (cst) == min
    2314                 :             : )
    2315                 :             :                 {
    2316                 :      141788 :                   if (cmp == LT_EXPR
    2317                 :             : )
    2318                 :             :                     {
    2319                 :       17353 :                       gimple_seq *lseq = seq;
    2320                 :       17353 :                       if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail726;
    2321                 :       17353 :                       {
    2322                 :       17353 :                         tree tem;
    2323                 :       17353 :                         tem =  constant_boolean_node (false, type);
    2324                 :       17353 :                         res_op->set_value (tem);
    2325                 :       17353 :                         if (UNLIKELY (debug_dump)) gimple_dump_logs ("match.pd", 512, __FILE__, __LINE__, true);
    2326                 :       17353 :                         return true;
    2327                 :             :                       }
    2328                 :           0 : next_after_fail726:;
    2329                 :             :                     }
    2330                 :             :                   else
    2331                 :             :                     {
    2332                 :      124435 :                       if (cmp == LE_EXPR
    2333                 :             : )
    2334                 :             :                         {
    2335                 :       51089 :                           gimple_seq *lseq = seq;
    2336                 :       51089 :                           if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail727;
    2337                 :       51089 :                           {
    2338                 :       51089 :                             res_op->set_op (EQ_EXPR, type, 2);
    2339                 :       51089 :                             res_op->ops[0] = captures[0];
    2340                 :       51089 :                             res_op->ops[1] = captures[2];
    2341                 :       51089 :                             res_op->resimplify (lseq, valueize);
    2342                 :       51089 :                             if (UNLIKELY (debug_dump)) gimple_dump_logs ("match.pd", 513, __FILE__, __LINE__, true);
    2343                 :       51089 :                             return true;
    2344                 :             :                           }
    2345                 :           0 : next_after_fail727:;
    2346                 :             :                         }
    2347                 :             :                       else
    2348                 :             :                         {
    2349                 :       73346 :                           if (cmp == GE_EXPR
    2350                 :             : )
    2351                 :             :                             {
    2352                 :        4118 :                               gimple_seq *lseq = seq;
    2353                 :        4118 :                               if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail728;
    2354                 :        4118 :                               {
    2355                 :        4118 :                                 tree tem;
    2356                 :        4118 :                                 tem =  constant_boolean_node (true, type);
    2357                 :        4118 :                                 res_op->set_value (tem);
    2358                 :        4118 :                                 if (UNLIKELY (debug_dump)) gimple_dump_logs ("match.pd", 514, __FILE__, __LINE__, true);
    2359                 :        4118 :                                 return true;
    2360                 :             :                               }
    2361                 :           0 : next_after_fail728:;
    2362                 :             :                             }
    2363                 :             :                           else
    2364                 :             :                             {
    2365                 :       69228 :                               if (cmp == GT_EXPR
    2366                 :             : )
    2367                 :             :                                 {
    2368                 :       69228 :                                   gimple_seq *lseq = seq;
    2369                 :       69228 :                                   if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail729;
    2370                 :       69228 :                                   {
    2371                 :       69228 :                                     res_op->set_op (NE_EXPR, type, 2);
    2372                 :       69228 :                                     res_op->ops[0] = captures[0];
    2373                 :       69228 :                                     res_op->ops[1] = captures[2];
    2374                 :       69228 :                                     res_op->resimplify (lseq, valueize);
    2375                 :       69228 :                                     if (UNLIKELY (debug_dump)) gimple_dump_logs ("match.pd", 515, __FILE__, __LINE__, true);
    2376                 :       69228 :                                     return true;
    2377                 :             :                                   }
    2378                 :           0 : next_after_fail729:;
    2379                 :             :                                 }
    2380                 :             :                             }
    2381                 :             :                         }
    2382                 :             :                     }
    2383                 :             :                 }
    2384                 :             :               else
    2385                 :             :                 {
    2386                 :    31822822 :                   if (wi::to_wide (cst) == max - 1
    2387                 :             : )
    2388                 :             :                     {
    2389                 :        4885 :                       if (cmp == GT_EXPR
    2390                 :             : )
    2391                 :             :                         {
    2392                 :         733 :                           gimple_seq *lseq = seq;
    2393                 :         733 :                           if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail730;
    2394                 :         733 :                           {
    2395                 :         733 :                             res_op->set_op (EQ_EXPR, type, 2);
    2396                 :         733 :                             res_op->ops[0] = captures[0];
    2397                 :         733 :                             res_op->ops[1] =  build_uniform_cst (TREE_TYPE (captures[2]),
    2398                 :         733 :  wide_int_to_tree (TREE_TYPE (cst),
    2399                 :         733 :  wi::to_wide (cst)
    2400                 :        1466 :  + 1));
    2401                 :         733 :                             res_op->resimplify (lseq, valueize);
    2402                 :         733 :                             if (UNLIKELY (debug_dump)) gimple_dump_logs ("match.pd", 516, __FILE__, __LINE__, true);
    2403                 :         733 :                             return true;
    2404                 :             :                           }
    2405                 :           0 : next_after_fail730:;
    2406                 :             :                         }
    2407                 :             :                       else
    2408                 :             :                         {
    2409                 :        4152 :                           if (cmp == LE_EXPR
    2410                 :             : )
    2411                 :             :                             {
    2412                 :        4152 :                               gimple_seq *lseq = seq;
    2413                 :        4152 :                               if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail731;
    2414                 :        4152 :                               {
    2415                 :        4152 :                                 res_op->set_op (NE_EXPR, type, 2);
    2416                 :        4152 :                                 res_op->ops[0] = captures[0];
    2417                 :        4152 :                                 res_op->ops[1] =  build_uniform_cst (TREE_TYPE (captures[2]),
    2418                 :        4152 :  wide_int_to_tree (TREE_TYPE (cst),
    2419                 :        4152 :  wi::to_wide (cst)
    2420                 :        8304 :  + 1));
    2421                 :        4152 :                                 res_op->resimplify (lseq, valueize);
    2422                 :        4152 :                                 if (UNLIKELY (debug_dump)) gimple_dump_logs ("match.pd", 517, __FILE__, __LINE__, true);
    2423                 :        4152 :                                 return true;
    2424                 :             :                               }
    2425                 :           0 : next_after_fail731:;
    2426                 :             :                             }
    2427                 :             :                         }
    2428                 :             :                     }
    2429                 :             :                   else
    2430                 :             :                     {
    2431                 :    31817937 :                       if (wi::to_wide (cst) == min + 1
    2432                 :             : )
    2433                 :             :                         {
    2434                 :      667029 :                           if (cmp == GE_EXPR
    2435                 :             : )
    2436                 :             :                             {
    2437                 :        6246 :                               gimple_seq *lseq = seq;
    2438                 :        6246 :                               if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail732;
    2439                 :        6246 :                               {
    2440                 :        6246 :                                 res_op->set_op (NE_EXPR, type, 2);
    2441                 :        6246 :                                 res_op->ops[0] = captures[0];
    2442                 :        6246 :                                 res_op->ops[1] =  build_uniform_cst (TREE_TYPE (captures[2]),
    2443                 :        6246 :  wide_int_to_tree (TREE_TYPE (cst),
    2444                 :        6246 :  wi::to_wide (cst)
    2445                 :       12492 :  - 1));
    2446                 :        6246 :                                 res_op->resimplify (lseq, valueize);
    2447                 :        6246 :                                 if (UNLIKELY (debug_dump)) gimple_dump_logs ("match.pd", 518, __FILE__, __LINE__, true);
    2448                 :        6246 :                                 return true;
    2449                 :             :                               }
    2450                 :           0 : next_after_fail732:;
    2451                 :             :                             }
    2452                 :             :                           else
    2453                 :             :                             {
    2454                 :      660783 :                               if (cmp == LT_EXPR
    2455                 :             : )
    2456                 :             :                                 {
    2457                 :          72 :                                   gimple_seq *lseq = seq;
    2458                 :          72 :                                   if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail733;
    2459                 :          72 :                                   {
    2460                 :          72 :                                     res_op->set_op (EQ_EXPR, type, 2);
    2461                 :          72 :                                     res_op->ops[0] = captures[0];
    2462                 :          72 :                                     res_op->ops[1] =  build_uniform_cst (TREE_TYPE (captures[2]),
    2463                 :          72 :  wide_int_to_tree (TREE_TYPE (cst),
    2464                 :          72 :  wi::to_wide (cst)
    2465                 :         144 :  - 1));
    2466                 :          72 :                                     res_op->resimplify (lseq, valueize);
    2467                 :          72 :                                     if (UNLIKELY (debug_dump)) gimple_dump_logs ("match.pd", 519, __FILE__, __LINE__, true);
    2468                 :          72 :                                     return true;
    2469                 :             :                                   }
    2470                 :           0 : next_after_fail733:;
    2471                 :             :                                 }
    2472                 :             :                             }
    2473                 :             :                         }
    2474                 :             :                       else
    2475                 :             :                         {
    2476                 :    31150905 :                           if (wi::to_wide (cst) == signed_max
    2477                 :       11695 :  && TYPE_UNSIGNED (arg1_type)
    2478                 :       11695 :  && TYPE_MODE (arg1_type) != BLKmode
    2479                 :    31150909 :  && prec == GET_MODE_PRECISION (SCALAR_INT_TYPE_MODE (arg1_type))
    2480                 :    31158771 :  && INTEGRAL_TYPE_P (arg1_type)
    2481                 :             : )
    2482                 :             :                             {
    2483                 :        7862 :                               if (cmp == LE_EXPR || cmp == GT_EXPR
    2484                 :             : )
    2485                 :             :                                 {
    2486                 :        7862 :                                   {
    2487                 :        7862 :  tree st = signed_type_for (TREE_TYPE (captures[2]));
    2488                 :        7862 :                                       if (cst == captures[2] && cmp == LE_EXPR
    2489                 :             : )
    2490                 :             :                                         {
    2491                 :        1647 :                                           gimple_seq *lseq = seq;
    2492                 :        1647 :                                           if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail734;
    2493                 :        1647 :                                           {
    2494                 :        1647 :                                             res_op->set_op (GE_EXPR, type, 2);
    2495                 :        1647 :                                             {
    2496                 :        1647 :                                               tree _o1[1], _r1;
    2497                 :        1647 :                                               _o1[0] = captures[1];
    2498                 :        1647 :                                               if (st != TREE_TYPE (_o1[0])
    2499                 :        1647 :                                                   && !useless_type_conversion_p (st, TREE_TYPE (_o1[0])))
    2500                 :             :                                                 {
    2501                 :        1647 :                                                   gimple_match_op tem_op (res_op->cond.any_else (), NOP_EXPR, st, _o1[0]);
    2502                 :        1647 :                                                   tem_op.resimplify (lseq, valueize);
    2503                 :        1647 :                                                   _r1 = maybe_push_res_to_seq (&tem_op, lseq);
    2504                 :        1647 :                                                   if (!_r1) goto next_after_fail734;
    2505                 :             :                                                 }
    2506                 :             :                                               else
    2507                 :             :                                                 _r1 = _o1[0];
    2508                 :         283 :                                               res_op->ops[0] = _r1;
    2509                 :             :                                             }
    2510                 :         283 :                                             res_op->ops[1] =  build_zero_cst (st);
    2511                 :         283 :                                             res_op->resimplify (lseq, valueize);
    2512                 :         283 :                                             if (UNLIKELY (debug_dump)) gimple_dump_logs ("match.pd", 520, __FILE__, __LINE__, true);
    2513                 :         283 :                                             return true;
    2514                 :             :                                           }
    2515                 :    31810033 : next_after_fail734:;
    2516                 :             :                                         }
    2517                 :             :                                       else
    2518                 :             :                                         {
    2519                 :        6215 :                                           if (cst == captures[2] && cmp == GT_EXPR
    2520                 :             : )
    2521                 :             :                                             {
    2522                 :        6215 :                                               gimple_seq *lseq = seq;
    2523                 :        6215 :                                               if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail735;
    2524                 :        6215 :                                               {
    2525                 :        6215 :                                                 res_op->set_op (LT_EXPR, type, 2);
    2526                 :        6215 :                                                 {
    2527                 :        6215 :                                                   tree _o1[1], _r1;
    2528                 :        6215 :                                                   _o1[0] = captures[1];
    2529                 :        6215 :                                                   if (st != TREE_TYPE (_o1[0])
    2530                 :        6215 :                                                       && !useless_type_conversion_p (st, TREE_TYPE (_o1[0])))
    2531                 :             :                                                     {
    2532                 :        6215 :                                                       gimple_match_op tem_op (res_op->cond.any_else (), NOP_EXPR, st, _o1[0]);
    2533                 :        6215 :                                                       tem_op.resimplify (lseq, valueize);
    2534                 :        6215 :                                                       _r1 = maybe_push_res_to_seq (&tem_op, lseq);
    2535                 :        6215 :                                                       if (!_r1) goto next_after_fail735;
    2536                 :             :                                                     }
    2537                 :             :                                                   else
    2538                 :             :                                                     _r1 = _o1[0];
    2539                 :        1300 :                                                   res_op->ops[0] = _r1;
    2540                 :             :                                                 }
    2541                 :        1300 :                                                 res_op->ops[1] =  build_zero_cst (st);
    2542                 :        1300 :                                                 res_op->resimplify (lseq, valueize);
    2543                 :        1300 :                                                 if (UNLIKELY (debug_dump)) gimple_dump_logs ("match.pd", 521, __FILE__, __LINE__, true);
    2544                 :        1300 :                                                 return true;
    2545                 :             :                                               }
    2546                 :    31810033 : next_after_fail735:;
    2547                 :             :                                             }
    2548                 :             :                                           else
    2549                 :             :                                             {
    2550                 :           0 :                                               if (cmp == LE_EXPR
    2551                 :             : )
    2552                 :             :                                                 {
    2553                 :           0 :                                                   gimple_seq *lseq = seq;
    2554                 :           0 :                                                   if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail736;
    2555                 :           0 :                                                   {
    2556                 :           0 :                                                     res_op->set_op (GE_EXPR, type, 2);
    2557                 :           0 :                                                     {
    2558                 :           0 :                                                       tree _o1[1], _r1;
    2559                 :           0 :                                                       _o1[0] = captures[1];
    2560                 :           0 :                                                       gimple_match_op tem_op (res_op->cond.any_else (), VIEW_CONVERT_EXPR, st, _o1[0]);
    2561                 :           0 :                                                       tem_op.resimplify (lseq, valueize);
    2562                 :           0 :                                                       _r1 = maybe_push_res_to_seq (&tem_op, lseq);
    2563                 :           0 :                                                       if (!_r1) goto next_after_fail736;
    2564                 :           0 :                                                       res_op->ops[0] = _r1;
    2565                 :             :                                                     }
    2566                 :           0 :                                                     res_op->ops[1] =  build_zero_cst (st);
    2567                 :           0 :                                                     res_op->resimplify (lseq, valueize);
    2568                 :           0 :                                                     if (UNLIKELY (debug_dump)) gimple_dump_logs ("match.pd", 522, __FILE__, __LINE__, true);
    2569                 :           0 :                                                     return true;
    2570                 :             :                                                   }
    2571                 :    31810033 : next_after_fail736:;
    2572                 :             :                                                 }
    2573                 :             :                                               else
    2574                 :             :                                                 {
    2575                 :           0 :                                                   if (cmp == GT_EXPR
    2576                 :             : )
    2577                 :             :                                                     {
    2578                 :           0 :                                                       gimple_seq *lseq = seq;
    2579                 :           0 :                                                       if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail737;
    2580                 :           0 :                                                       {
    2581                 :           0 :                                                         res_op->set_op (LT_EXPR, type, 2);
    2582                 :           0 :                                                         {
    2583                 :           0 :                                                           tree _o1[1], _r1;
    2584                 :           0 :                                                           _o1[0] = captures[1];
    2585                 :           0 :                                                           gimple_match_op tem_op (res_op->cond.any_else (), VIEW_CONVERT_EXPR, st, _o1[0]);
    2586                 :           0 :                                                           tem_op.resimplify (lseq, valueize);
    2587                 :           0 :                                                           _r1 = maybe_push_res_to_seq (&tem_op, lseq);
    2588                 :           0 :                                                           if (!_r1) goto next_after_fail737;
    2589                 :           0 :                                                           res_op->ops[0] = _r1;
    2590                 :             :                                                         }
    2591                 :           0 :                                                         res_op->ops[1] =  build_zero_cst (st);
    2592                 :           0 :                                                         res_op->resimplify (lseq, valueize);
    2593                 :           0 :                                                         if (UNLIKELY (debug_dump)) gimple_dump_logs ("match.pd", 523, __FILE__, __LINE__, true);
    2594                 :           0 :                                                         return true;
    2595                 :             :                                                       }
    2596                 :    31810033 : next_after_fail737:;
    2597                 :             :                                                     }
    2598                 :             :                                                 }
    2599                 :             :                                             }
    2600                 :             :                                         }
    2601                 :             :                                   }
    2602                 :             :                                 }
    2603                 :             :                             }
    2604                 :             :                         }
    2605                 :             :                     }
    2606                 :             :                 }
    2607                 :             :             }
    2608                 :    31967375 :       }
    2609                 :             :     }
    2610                 :             :   return false;
    2611                 :             : }
    2612                 :             : 
    2613                 :             : bool
    2614                 :          36 : gimple_simplify_399 (gimple_match_op *res_op, gimple_seq *seq,
    2615                 :             :                  tree (*valueize)(tree) ATTRIBUTE_UNUSED,
    2616                 :             :                  const tree ARG_UNUSED (type), tree *ARG_UNUSED (captures),
    2617                 :             :  const combined_fn ARG_UNUSED (coss),
    2618                 :             :  const combined_fn ARG_UNUSED (atans),
    2619                 :             :  const combined_fn ARG_UNUSED (sqrts),
    2620                 :             :  const combined_fn ARG_UNUSED (copysigns))
    2621                 :             : {
    2622                 :          36 :   const bool debug_dump = dump_file && (dump_flags & TDF_FOLDING);
    2623                 :          36 :   {
    2624                 :          36 :  REAL_VALUE_TYPE r_cst;
    2625                 :          36 :  build_sinatan_real (&r_cst, type);
    2626                 :          36 :  tree t_cst = build_real (type, r_cst);
    2627                 :          36 :  tree t_one = build_one_cst (type);
    2628                 :          36 :  tree t_zero = build_zero_cst (type);
    2629                 :          36 :       if (SCALAR_FLOAT_TYPE_P (type)
    2630                 :             : )
    2631                 :             :         {
    2632                 :          36 :           gimple_seq *lseq = seq;
    2633                 :          36 :           if (lseq
    2634                 :          18 :               && (!single_use (captures[0])))
    2635                 :          30 :             lseq = NULL;
    2636                 :          36 :           if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail815;
    2637                 :          36 :           {
    2638                 :          36 :             res_op->set_op (COND_EXPR, type, 3);
    2639                 :          36 :             {
    2640                 :          36 :               tree _o1[2], _r1;
    2641                 :          36 :               {
    2642                 :          36 :                 tree _o2[1], _r2;
    2643                 :          36 :                 _o2[0] = captures[1];
    2644                 :          36 :                 gimple_match_op tem_op (res_op->cond.any_else (), ABS_EXPR, TREE_TYPE (_o2[0]), _o2[0]);
    2645                 :          36 :                 tem_op.resimplify (lseq, valueize);
    2646                 :          36 :                 _r2 = maybe_push_res_to_seq (&tem_op, lseq);
    2647                 :          36 :                 if (!_r2) goto next_after_fail815;
    2648                 :           6 :                 _o1[0] = _r2;
    2649                 :             :               }
    2650                 :           6 :               _o1[1] =  t_cst;
    2651                 :           6 :               gimple_match_op tem_op (res_op->cond.any_else (), LT_EXPR, boolean_type_node, _o1[0], _o1[1]);
    2652                 :           6 :               tem_op.resimplify (lseq, valueize);
    2653                 :           6 :               _r1 = maybe_push_res_to_seq (&tem_op, lseq);
    2654                 :           6 :               if (!_r1) goto next_after_fail815;
    2655                 :           6 :               res_op->ops[0] = _r1;
    2656                 :             :             }
    2657                 :           6 :             {
    2658                 :           6 :               tree _o1[2], _r1;
    2659                 :           6 :               _o1[0] =  t_one;
    2660                 :           6 :               {
    2661                 :           6 :                 tree _o2[1], _r2;
    2662                 :           6 :                 {
    2663                 :           6 :                   tree _o3[2], _r3;
    2664                 :           6 :                   {
    2665                 :           6 :                     tree _o4[2], _r4;
    2666                 :           6 :                     _o4[0] = captures[1];
    2667                 :           6 :                     _o4[1] = captures[1];
    2668                 :           6 :                     gimple_match_op tem_op (res_op->cond.any_else (), MULT_EXPR, TREE_TYPE (_o4[0]), _o4[0], _o4[1]);
    2669                 :           6 :                     tem_op.resimplify (lseq, valueize);
    2670                 :           6 :                     _r4 = maybe_push_res_to_seq (&tem_op, lseq);
    2671                 :           6 :                     if (!_r4) goto next_after_fail815;
    2672                 :           6 :                     _o3[0] = _r4;
    2673                 :             :                   }
    2674                 :           6 :                   _o3[1] =  t_one;
    2675                 :           6 :                   gimple_match_op tem_op (res_op->cond.any_else (), PLUS_EXPR, TREE_TYPE (_o3[0]), _o3[0], _o3[1]);
    2676                 :           6 :                   tem_op.resimplify (lseq, valueize);
    2677                 :           6 :                   _r3 = maybe_push_res_to_seq (&tem_op, lseq);
    2678                 :           6 :                   if (!_r3) goto next_after_fail815;
    2679                 :           6 :                   _o2[0] = _r3;
    2680                 :             :                 }
    2681                 :           6 :                 gimple_match_op tem_op (res_op->cond.any_else (), sqrts, TREE_TYPE (_o2[0]), _o2[0]);
    2682                 :           6 :                 tem_op.resimplify (lseq, valueize);
    2683                 :           6 :                 _r2 = maybe_push_res_to_seq (&tem_op, lseq);
    2684                 :           6 :                 if (!_r2) goto next_after_fail815;
    2685                 :           6 :                 _o1[1] = _r2;
    2686                 :             :               }
    2687                 :           6 :               gimple_match_op tem_op (res_op->cond.any_else (), RDIV_EXPR, TREE_TYPE (_o1[0]), _o1[0], _o1[1]);
    2688                 :           6 :               tem_op.resimplify (lseq, valueize);
    2689                 :           6 :               _r1 = maybe_push_res_to_seq (&tem_op, lseq);
    2690                 :           6 :               if (!_r1) goto next_after_fail815;
    2691                 :           6 :               res_op->ops[1] = _r1;
    2692                 :             :             }
    2693                 :           6 :             {
    2694                 :           6 :               tree _o1[2], _r1;
    2695                 :           6 :               _o1[0] =  t_zero;
    2696                 :           6 :               _o1[1] = captures[1];
    2697                 :           6 :               gimple_match_op tem_op (res_op->cond.any_else (), copysigns, TREE_TYPE (_o1[0]), _o1[0], _o1[1]);
    2698                 :           6 :               tem_op.resimplify (lseq, valueize);
    2699                 :           6 :               _r1 = maybe_push_res_to_seq (&tem_op, lseq);
    2700                 :           6 :               if (!_r1) goto next_after_fail815;
    2701                 :           6 :               res_op->ops[2] = _r1;
    2702                 :             :             }
    2703                 :           6 :             res_op->resimplify (lseq, valueize);
    2704                 :           6 :             if (UNLIKELY (debug_dump)) gimple_dump_logs ("match.pd", 582, __FILE__, __LINE__, true);
    2705                 :           6 :             return true;
    2706                 :             :           }
    2707                 :          30 : next_after_fail815:;
    2708                 :             :         }
    2709                 :             :   }
    2710                 :          30 :   return false;
    2711                 :             : }
    2712                 :             : 
    2713                 :             : bool
    2714                 :      120196 : gimple_simplify_411 (gimple_match_op *res_op, gimple_seq *seq,
    2715                 :             :                  tree (*valueize)(tree) ATTRIBUTE_UNUSED,
    2716                 :             :                  const tree ARG_UNUSED (type), tree *ARG_UNUSED (captures))
    2717                 :             : {
    2718                 :      120196 :   const bool debug_dump = dump_file && (dump_flags & TDF_FOLDING);
    2719                 :      120196 :   if (tree_nop_conversion_p (type, TREE_TYPE (captures[0]))
    2720                 :      120196 :  && wi::to_wide (captures[1]) == element_precision (type) - 1
    2721                 :             : )
    2722                 :             :     {
    2723                 :        1477 :       {
    2724                 :        1477 :  tree stype = TREE_TYPE (captures[0]);
    2725                 :        1477 :  tree ntype = TYPE_UNSIGNED (stype) ? signed_type_for (stype)
    2726                 :          20 :  : unsigned_type_for (stype);
    2727                 :        1477 :           if (VECTOR_TYPE_P (type)
    2728                 :             : )
    2729                 :             :             {
    2730                 :           0 :               gimple_seq *lseq = seq;
    2731                 :           0 :               if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail828;
    2732                 :           0 :               {
    2733                 :           0 :                 res_op->set_op (VIEW_CONVERT_EXPR, type, 1);
    2734                 :           0 :                 {
    2735                 :           0 :                   tree _o1[2], _r1;
    2736                 :           0 :                   {
    2737                 :           0 :                     tree _o2[1], _r2;
    2738                 :           0 :                     _o2[0] = captures[0];
    2739                 :           0 :                     gimple_match_op tem_op (res_op->cond.any_else (), VIEW_CONVERT_EXPR, ntype, _o2[0]);
    2740                 :           0 :                     tem_op.resimplify (lseq, valueize);
    2741                 :           0 :                     _r2 = maybe_push_res_to_seq (&tem_op, lseq);
    2742                 :           0 :                     if (!_r2) goto next_after_fail828;
    2743                 :           0 :                     _o1[0] = _r2;
    2744                 :             :                   }
    2745                 :           0 :                   _o1[1] = captures[1];
    2746                 :           0 :                   gimple_match_op tem_op (res_op->cond.any_else (), RSHIFT_EXPR, TREE_TYPE (_o1[0]), _o1[0], _o1[1]);
    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_fail828;
    2750                 :           0 :                   res_op->ops[0] = _r1;
    2751                 :             :                 }
    2752                 :           0 :                 res_op->resimplify (lseq, valueize);
    2753                 :           0 :                 if (UNLIKELY (debug_dump)) gimple_dump_logs ("match.pd", 595, __FILE__, __LINE__, true);
    2754                 :           0 :                 return true;
    2755                 :             :               }
    2756                 :             : next_after_fail828:;
    2757                 :             :             }
    2758                 :             :           else
    2759                 :             :             {
    2760                 :        1477 :               gimple_seq *lseq = seq;
    2761                 :        1477 :               if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail829;
    2762                 :        1477 :               {
    2763                 :        1477 :                 res_op->set_op (NOP_EXPR, type, 1);
    2764                 :        1477 :                 {
    2765                 :        1477 :                   tree _o1[2], _r1;
    2766                 :        1477 :                   {
    2767                 :        1477 :                     tree _o2[1], _r2;
    2768                 :        1477 :                     _o2[0] = captures[0];
    2769                 :        1477 :                     if (ntype != TREE_TYPE (_o2[0])
    2770                 :        1477 :                         && !useless_type_conversion_p (ntype, TREE_TYPE (_o2[0])))
    2771                 :             :                       {
    2772                 :        1477 :                         gimple_match_op tem_op (res_op->cond.any_else (), NOP_EXPR, ntype, _o2[0]);
    2773                 :        1477 :                         tem_op.resimplify (lseq, valueize);
    2774                 :        1477 :                         _r2 = maybe_push_res_to_seq (&tem_op, lseq);
    2775                 :        1477 :                         if (!_r2) goto next_after_fail829;
    2776                 :             :                       }
    2777                 :             :                     else
    2778                 :             :                       _r2 = _o2[0];
    2779                 :         202 :                     _o1[0] = _r2;
    2780                 :             :                   }
    2781                 :         202 :                   _o1[1] = captures[1];
    2782                 :         202 :                   gimple_match_op tem_op (res_op->cond.any_else (), RSHIFT_EXPR, TREE_TYPE (_o1[0]), _o1[0], _o1[1]);
    2783                 :         202 :                   tem_op.resimplify (lseq, valueize);
    2784                 :         202 :                   _r1 = maybe_push_res_to_seq (&tem_op, lseq);
    2785                 :         202 :                   if (!_r1) goto next_after_fail829;
    2786                 :         181 :                   res_op->ops[0] = _r1;
    2787                 :             :                 }
    2788                 :         181 :                 res_op->resimplify (lseq, valueize);
    2789                 :         181 :                 if (UNLIKELY (debug_dump)) gimple_dump_logs ("match.pd", 596, __FILE__, __LINE__, true);
    2790                 :         181 :                 return true;
    2791                 :             :               }
    2792                 :             : next_after_fail829:;
    2793                 :             :             }
    2794                 :             :       }
    2795                 :             :     }
    2796                 :             :   return false;
    2797                 :             : }
    2798                 :             : 
    2799                 :             : bool
    2800                 :      287699 : gimple_simplify_425 (gimple_match_op *res_op, gimple_seq *seq,
    2801                 :             :                  tree (*valueize)(tree) ATTRIBUTE_UNUSED,
    2802                 :             :                  const tree ARG_UNUSED (type), tree *ARG_UNUSED (captures),
    2803                 :             :  const enum tree_code ARG_UNUSED (op))
    2804                 :             : {
    2805                 :      287699 :   const bool debug_dump = dump_file && (dump_flags & TDF_FOLDING);
    2806                 :      287699 :   {
    2807                 :      287699 :  tree pmop[2];
    2808                 :      287699 :  tree utype = fold_bit_and_mask (TREE_TYPE (captures[1]), captures[3], op, captures[1], ERROR_MARK,
    2809                 :             :  NULL_TREE, NULL_TREE, captures[2], ERROR_MARK,
    2810                 :             :  NULL_TREE, NULL_TREE, pmop);
    2811                 :      287699 :       if (utype
    2812                 :             : )
    2813                 :             :         {
    2814                 :        4893 :           gimple_seq *lseq = seq;
    2815                 :        4893 :           if (lseq
    2816                 :        1292 :               && (!single_use (captures[0])))
    2817                 :        4803 :             lseq = NULL;
    2818                 :        4893 :           if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail843;
    2819                 :        4893 :           {
    2820                 :        4893 :             res_op->set_op (NOP_EXPR, type, 1);
    2821                 :        4893 :             {
    2822                 :        4893 :               tree _o1[2], _r1;
    2823                 :        4893 :               {
    2824                 :        4893 :                 tree _o2[2], _r2;
    2825                 :        4893 :                 {
    2826                 :        4893 :                   tree _o3[1], _r3;
    2827                 :        4893 :                   _o3[0] =  pmop[0];
    2828                 :        4893 :                   if (utype != TREE_TYPE (_o3[0])
    2829                 :        4893 :                       && !useless_type_conversion_p (utype, TREE_TYPE (_o3[0])))
    2830                 :             :                     {
    2831                 :         838 :                       gimple_match_op tem_op (res_op->cond.any_else (), NOP_EXPR, utype, _o3[0]);
    2832                 :         838 :                       tem_op.resimplify (lseq, valueize);
    2833                 :         838 :                       _r3 = maybe_push_res_to_seq (&tem_op, lseq);
    2834                 :         838 :                       if (!_r3) goto next_after_fail843;
    2835                 :             :                     }
    2836                 :             :                   else
    2837                 :             :                     _r3 = _o3[0];
    2838                 :        4105 :                   _o2[0] = _r3;
    2839                 :             :                 }
    2840                 :        4105 :                 {
    2841                 :        4105 :                   tree _o3[1], _r3;
    2842                 :        4105 :                   _o3[0] =  pmop[1];
    2843                 :        4105 :                   if (utype != TREE_TYPE (_o3[0])
    2844                 :        4105 :                       && !useless_type_conversion_p (utype, TREE_TYPE (_o3[0])))
    2845                 :             :                     {
    2846                 :          50 :                       gimple_match_op tem_op (res_op->cond.any_else (), NOP_EXPR, utype, _o3[0]);
    2847                 :          50 :                       tem_op.resimplify (lseq, valueize);
    2848                 :          50 :                       _r3 = maybe_push_res_to_seq (&tem_op, lseq);
    2849                 :          50 :                       if (!_r3) goto next_after_fail843;
    2850                 :             :                     }
    2851                 :             :                   else
    2852                 :             :                     _r3 = _o3[0];
    2853                 :        4104 :                   _o2[1] = _r3;
    2854                 :             :                 }
    2855                 :        4104 :                 gimple_match_op tem_op (res_op->cond.any_else (), op, TREE_TYPE (_o2[0]), _o2[0], _o2[1]);
    2856                 :        4104 :                 tem_op.resimplify (lseq, valueize);
    2857                 :        4104 :                 _r2 = maybe_push_res_to_seq (&tem_op, lseq);
    2858                 :        4104 :                 if (!_r2) goto next_after_fail843;
    2859                 :        4021 :                 _o1[0] = _r2;
    2860                 :             :               }
    2861                 :        4021 :               {
    2862                 :        4021 :                 tree _o2[1], _r2;
    2863                 :        4021 :                 _o2[0] = captures[3];
    2864                 :        4021 :                 if (utype != TREE_TYPE (_o2[0])
    2865                 :        4021 :                     && !useless_type_conversion_p (utype, TREE_TYPE (_o2[0])))
    2866                 :             :                   {
    2867                 :          49 :                     gimple_match_op tem_op (res_op->cond.any_else (), NOP_EXPR, utype, _o2[0]);
    2868                 :          49 :                     tem_op.resimplify (lseq, valueize);
    2869                 :          49 :                     _r2 = maybe_push_res_to_seq (&tem_op, lseq);
    2870                 :          49 :                     if (!_r2) goto next_after_fail843;
    2871                 :             :                   }
    2872                 :             :                 else
    2873                 :             :                   _r2 = _o2[0];
    2874                 :        4021 :                 _o1[1] = _r2;
    2875                 :             :               }
    2876                 :        4021 :               gimple_match_op tem_op (res_op->cond.any_else (), BIT_AND_EXPR, TREE_TYPE (_o1[0]), _o1[0], _o1[1]);
    2877                 :        4021 :               tem_op.resimplify (lseq, valueize);
    2878                 :        4021 :               _r1 = maybe_push_res_to_seq (&tem_op, lseq);
    2879                 :        4021 :               if (!_r1) goto next_after_fail843;
    2880                 :         597 :               res_op->ops[0] = _r1;
    2881                 :             :             }
    2882                 :         597 :             res_op->resimplify (lseq, valueize);
    2883                 :         597 :             if (UNLIKELY (debug_dump)) gimple_dump_logs ("match.pd", 609, __FILE__, __LINE__, true);
    2884                 :         597 :             return true;
    2885                 :             :           }
    2886                 :      287102 : next_after_fail843:;
    2887                 :             :         }
    2888                 :             :   }
    2889                 :      287102 :   return false;
    2890                 :             : }
    2891                 :             : 
    2892                 :             : bool
    2893                 :          24 : gimple_simplify_442 (gimple_match_op *res_op, gimple_seq *seq,
    2894                 :             :                  tree (*valueize)(tree) ATTRIBUTE_UNUSED,
    2895                 :             :                  const tree ARG_UNUSED (type), tree *ARG_UNUSED (captures),
    2896                 :             :  const enum tree_code ARG_UNUSED (eqne))
    2897                 :             : {
    2898                 :          24 :   const bool debug_dump = dump_file && (dump_flags & TDF_FOLDING);
    2899                 :          24 :   if (eqne == EQ_EXPR
    2900                 :             : )
    2901                 :             :     {
    2902                 :          10 :       gimple_seq *lseq = seq;
    2903                 :          10 :       if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail866;
    2904                 :          10 :       {
    2905                 :          10 :         tree tem;
    2906                 :          10 :         tem =  constant_boolean_node (false, type);
    2907                 :          10 :         res_op->set_value (tem);
    2908                 :          10 :         if (UNLIKELY (debug_dump)) gimple_dump_logs ("match.pd", 628, __FILE__, __LINE__, true);
    2909                 :          10 :         return true;
    2910                 :             :       }
    2911                 :           0 : next_after_fail866:;
    2912                 :             :     }
    2913                 :             :   else
    2914                 :             :     {
    2915                 :          14 :       if (eqne == NE_EXPR
    2916                 :             : )
    2917                 :             :         {
    2918                 :          14 :           gimple_seq *lseq = seq;
    2919                 :          14 :           if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail867;
    2920                 :          14 :           {
    2921                 :          14 :             tree tem;
    2922                 :          14 :             tem = captures[0];
    2923                 :          14 :             res_op->set_value (tem);
    2924                 :          14 :             if (UNLIKELY (debug_dump)) gimple_dump_logs ("match.pd", 629, __FILE__, __LINE__, true);
    2925                 :          14 :             return true;
    2926                 :             :           }
    2927                 :           0 : next_after_fail867:;
    2928                 :             :         }
    2929                 :             :     }
    2930                 :             :   return false;
    2931                 :             : }
    2932                 :             : 
    2933                 :             : bool
    2934                 :          49 : gimple_simplify_447 (gimple_match_op *res_op, gimple_seq *seq,
    2935                 :             :                  tree (*valueize)(tree) ATTRIBUTE_UNUSED,
    2936                 :             :                  const tree ARG_UNUSED (type), tree *ARG_UNUSED (captures))
    2937                 :             : {
    2938                 :          49 :   const bool debug_dump = dump_file && (dump_flags & TDF_FOLDING);
    2939                 :          49 :   gimple_seq *lseq = seq;
    2940                 :          49 :   if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail891;
    2941                 :          49 :   {
    2942                 :          49 :     tree tem;
    2943                 :          49 :     tem = captures[2];
    2944                 :          49 :     res_op->set_value (tem);
    2945                 :          49 :     if (UNLIKELY (debug_dump)) gimple_dump_logs ("match.pd", 644, __FILE__, __LINE__, true);
    2946                 :             :     return true;
    2947                 :             :   }
    2948                 :           0 : next_after_fail891:;
    2949                 :           0 :   return false;
    2950                 :             : }
    2951                 :             : 
    2952                 :             : bool
    2953                 :           0 : gimple_simplify_448 (gimple_match_op *res_op, gimple_seq *seq,
    2954                 :             :                  tree (*valueize)(tree) ATTRIBUTE_UNUSED,
    2955                 :             :                  const tree ARG_UNUSED (type), tree *ARG_UNUSED (captures),
    2956                 :             :  const enum tree_code ARG_UNUSED (eqne))
    2957                 :             : {
    2958                 :           0 :   const bool debug_dump = dump_file && (dump_flags & TDF_FOLDING);
    2959                 :           0 :   if (eqne == EQ_EXPR
    2960                 :             : )
    2961                 :             :     {
    2962                 :           0 :       gimple_seq *lseq = seq;
    2963                 :           0 :       if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail892;
    2964                 :           0 :       {
    2965                 :           0 :         tree tem;
    2966                 :           0 :         tem =  constant_boolean_node (false, type);
    2967                 :           0 :         res_op->set_value (tem);
    2968                 :           0 :         if (UNLIKELY (debug_dump)) gimple_dump_logs ("match.pd", 628, __FILE__, __LINE__, true);
    2969                 :           0 :         return true;
    2970                 :             :       }
    2971                 :           0 : next_after_fail892:;
    2972                 :             :     }
    2973                 :             :   else
    2974                 :             :     {
    2975                 :           0 :       if (eqne == NE_EXPR
    2976                 :             : )
    2977                 :             :         {
    2978                 :           0 :           gimple_seq *lseq = seq;
    2979                 :           0 :           if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail893;
    2980                 :           0 :           {
    2981                 :           0 :             tree tem;
    2982                 :           0 :             tem = captures[0];
    2983                 :           0 :             res_op->set_value (tem);
    2984                 :           0 :             if (UNLIKELY (debug_dump)) gimple_dump_logs ("match.pd", 629, __FILE__, __LINE__, true);
    2985                 :           0 :             return true;
    2986                 :             :           }
    2987                 :           0 : next_after_fail893:;
    2988                 :             :         }
    2989                 :             :     }
    2990                 :             :   return false;
    2991                 :             : }
    2992                 :             : 
    2993                 :             : bool
    2994                 :        1817 : gimple_simplify_452 (gimple_match_op *res_op, gimple_seq *seq,
    2995                 :             :                  tree (*valueize)(tree) ATTRIBUTE_UNUSED,
    2996                 :             :                  const tree ARG_UNUSED (type), tree *ARG_UNUSED (captures))
    2997                 :             : {
    2998                 :        1817 :   const bool debug_dump = dump_file && (dump_flags & TDF_FOLDING);
    2999                 :        3634 :   if (INTEGRAL_TYPE_P (TREE_TYPE (captures[1]))
    3000                 :        3629 :  && TYPE_OVERFLOW_WRAPS (TREE_TYPE (captures[1]))
    3001                 :             : )
    3002                 :             :     {
    3003                 :        1783 :       gimple_seq *lseq = seq;
    3004                 :        1783 :       if (lseq
    3005                 :         626 :           && (!single_use (captures[0])
    3006                 :         216 :               || !single_use (captures[2])))
    3007                 :        1567 :         lseq = NULL;
    3008                 :        1783 :       if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail909;
    3009                 :        1783 :       {
    3010                 :        1783 :         res_op->set_op (GT_EXPR, type, 2);
    3011                 :        1783 :         res_op->ops[0] = captures[3];
    3012                 :        1783 :         {
    3013                 :        1783 :           tree _o1[2], _r1;
    3014                 :        1783 :           _o1[0] = captures[1];
    3015                 :        1783 :           _o1[1] =  build_int_cst (TREE_TYPE (captures[1]), 1);
    3016                 :        1783 :           gimple_match_op tem_op (res_op->cond.any_else (), MINUS_EXPR, TREE_TYPE (_o1[0]), _o1[0], _o1[1]);
    3017                 :        1783 :           tem_op.resimplify (lseq, valueize);
    3018                 :        1783 :           _r1 = maybe_push_res_to_seq (&tem_op, lseq);
    3019                 :        1783 :           if (!_r1) goto next_after_fail909;
    3020                 :         406 :           res_op->ops[1] = _r1;
    3021                 :             :         }
    3022                 :         406 :         res_op->resimplify (lseq, valueize);
    3023                 :         406 :         if (UNLIKELY (debug_dump)) gimple_dump_logs ("match.pd", 646, __FILE__, __LINE__, true);
    3024                 :         406 :         return true;
    3025                 :             :       }
    3026                 :             : next_after_fail909:;
    3027                 :             :     }
    3028                 :             :   return false;
    3029                 :             : }
    3030                 :             : 
    3031                 :             : bool
    3032                 :        1253 : gimple_simplify_455 (gimple_match_op *res_op, gimple_seq *seq,
    3033                 :             :                  tree (*valueize)(tree) ATTRIBUTE_UNUSED,
    3034                 :             :                  const tree ARG_UNUSED (type), tree *ARG_UNUSED (captures))
    3035                 :             : {
    3036                 :        1253 :   const bool debug_dump = dump_file && (dump_flags & TDF_FOLDING);
    3037                 :        2506 :   if (INTEGRAL_TYPE_P (TREE_TYPE (captures[1]))
    3038                 :        2494 :  && TYPE_OVERFLOW_WRAPS (TREE_TYPE (captures[1]))
    3039                 :             : )
    3040                 :             :     {
    3041                 :        1239 :       gimple_seq *lseq = seq;
    3042                 :        1239 :       if (lseq
    3043                 :         256 :           && (!single_use (captures[0])
    3044                 :          74 :               || !single_use (captures[2])))
    3045                 :        1165 :         lseq = NULL;
    3046                 :        1239 :       if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail912;
    3047                 :        1239 :       {
    3048                 :        1239 :         res_op->set_op (GT_EXPR, type, 2);
    3049                 :        1239 :         res_op->ops[0] = captures[3];
    3050                 :        1239 :         {
    3051                 :        1239 :           tree _o1[2], _r1;
    3052                 :        1239 :           _o1[0] = captures[1];
    3053                 :        1239 :           _o1[1] =  build_int_cst (TREE_TYPE (captures[1]), 1);
    3054                 :        1239 :           gimple_match_op tem_op (res_op->cond.any_else (), MINUS_EXPR, TREE_TYPE (_o1[0]), _o1[0], _o1[1]);
    3055                 :        1239 :           tem_op.resimplify (lseq, valueize);
    3056                 :        1239 :           _r1 = maybe_push_res_to_seq (&tem_op, lseq);
    3057                 :        1239 :           if (!_r1) goto next_after_fail912;
    3058                 :          74 :           res_op->ops[1] = _r1;
    3059                 :             :         }
    3060                 :          74 :         res_op->resimplify (lseq, valueize);
    3061                 :          74 :         if (UNLIKELY (debug_dump)) gimple_dump_logs ("match.pd", 646, __FILE__, __LINE__, true);
    3062                 :          74 :         return true;
    3063                 :             :       }
    3064                 :             : next_after_fail912:;
    3065                 :             :     }
    3066                 :             :   return false;
    3067                 :             : }
    3068                 :             : 
    3069                 :             : bool
    3070                 :          49 : gimple_simplify_460 (gimple_match_op *res_op, gimple_seq *seq,
    3071                 :             :                  tree (*valueize)(tree) ATTRIBUTE_UNUSED,
    3072                 :             :                  const tree ARG_UNUSED (type), tree *ARG_UNUSED (captures))
    3073                 :             : {
    3074                 :          49 :   const bool debug_dump = dump_file && (dump_flags & TDF_FOLDING);
    3075                 :          49 :   if ((wi::to_wide (captures[2]) & 1) != 0
    3076                 :             : )
    3077                 :             :     {
    3078                 :          30 :       gimple_seq *lseq = seq;
    3079                 :          30 :       if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail922;
    3080                 :          30 :       {
    3081                 :          30 :         tree tem;
    3082                 :          30 :         tem = captures[0];
    3083                 :          30 :         res_op->set_value (tem);
    3084                 :          30 :         if (UNLIKELY (debug_dump)) gimple_dump_logs ("match.pd", 648, __FILE__, __LINE__, true);
    3085                 :          30 :         return true;
    3086                 :             :       }
    3087                 :           0 : next_after_fail922:;
    3088                 :             :     }
    3089                 :             :   else
    3090                 :             :     {
    3091                 :          19 :       gimple_seq *lseq = seq;
    3092                 :          19 :       if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail923;
    3093                 :          19 :       {
    3094                 :          19 :         tree tem;
    3095                 :          19 :         tem =  build_zero_cst (type);
    3096                 :          19 :         res_op->set_value (tem);
    3097                 :          19 :         if (UNLIKELY (debug_dump)) gimple_dump_logs ("match.pd", 649, __FILE__, __LINE__, true);
    3098                 :          19 :         return true;
    3099                 :             :       }
    3100                 :           0 : next_after_fail923:;
    3101                 :             :     }
    3102                 :             :   return false;
    3103                 :             : }
    3104                 :             : 
    3105                 :             : bool
    3106                 :           0 : gimple_simplify_464 (gimple_match_op *res_op, gimple_seq *seq,
    3107                 :             :                  tree (*valueize)(tree) ATTRIBUTE_UNUSED,
    3108                 :             :                  const tree ARG_UNUSED (type), tree *ARG_UNUSED (captures),
    3109                 :             :  const combined_fn ARG_UNUSED (POPCOUNT),
    3110                 :             :  const combined_fn ARG_UNUSED (PARITY))
    3111                 :             : {
    3112                 :           0 :   const bool debug_dump = dump_file && (dump_flags & TDF_FOLDING);
    3113                 :           0 :   gimple_seq *lseq = seq;
    3114                 :           0 :   if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail928;
    3115                 :           0 :   {
    3116                 :           0 :     res_op->set_op (PARITY, type, 1);
    3117                 :           0 :     res_op->ops[0] = captures[0];
    3118                 :           0 :     res_op->resimplify (lseq, valueize);
    3119                 :           0 :     if (UNLIKELY (debug_dump)) gimple_dump_logs ("match.pd", 653, __FILE__, __LINE__, true);
    3120                 :             :     return true;
    3121                 :             :   }
    3122                 :           0 : next_after_fail928:;
    3123                 :           0 :   return false;
    3124                 :             : }
    3125                 :             : 
    3126                 :             : bool
    3127                 :          28 : gimple_simplify_466 (gimple_match_op *res_op, gimple_seq *seq,
    3128                 :             :                  tree (*valueize)(tree) ATTRIBUTE_UNUSED,
    3129                 :             :                  const tree ARG_UNUSED (type), tree *ARG_UNUSED (captures))
    3130                 :             : {
    3131                 :          28 :   const bool debug_dump = dump_file && (dump_flags & TDF_FOLDING);
    3132                 :          28 :   gimple_seq *lseq = seq;
    3133                 :          28 :   if (lseq
    3134                 :          18 :       && (!single_use (captures[0])))
    3135                 :          10 :     lseq = NULL;
    3136                 :          28 :   if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail930;
    3137                 :          28 :   {
    3138                 :          28 :     res_op->set_op (BIT_AND_EXPR, type, 2);
    3139                 :          28 :     res_op->ops[0] = captures[1];
    3140                 :          28 :     {
    3141                 :          28 :       tree _o1[1], _r1;
    3142                 :          28 :       _o1[0] = captures[2];
    3143                 :          28 :       gimple_match_op tem_op (res_op->cond.any_else (), BIT_NOT_EXPR, TREE_TYPE (_o1[0]), _o1[0]);
    3144                 :          28 :       tem_op.resimplify (lseq, valueize);
    3145                 :          28 :       _r1 = maybe_push_res_to_seq (&tem_op, lseq);
    3146                 :          28 :       if (!_r1) goto next_after_fail930;
    3147                 :          18 :       res_op->ops[1] = _r1;
    3148                 :             :     }
    3149                 :          18 :     res_op->resimplify (lseq, valueize);
    3150                 :          18 :     if (UNLIKELY (debug_dump)) gimple_dump_logs ("match.pd", 655, __FILE__, __LINE__, true);
    3151                 :             :     return true;
    3152                 :             :   }
    3153                 :             : next_after_fail930:;
    3154                 :             :   return false;
    3155                 :             : }
    3156                 :             : 
    3157                 :             : bool
    3158                 :        1393 : gimple_simplify_471 (gimple_match_op *res_op, gimple_seq *seq,
    3159                 :             :                  tree (*valueize)(tree) ATTRIBUTE_UNUSED,
    3160                 :             :                  const tree ARG_UNUSED (type), tree *ARG_UNUSED (captures))
    3161                 :             : {
    3162                 :        1393 :   const bool debug_dump = dump_file && (dump_flags & TDF_FOLDING);
    3163                 :        1393 :   if (element_precision (type) <= element_precision (TREE_TYPE (captures[0]))
    3164                 :        1393 :  || !TYPE_UNSIGNED (TREE_TYPE (captures[0]))
    3165                 :             : )
    3166                 :             :     {
    3167                 :        1236 :       gimple_seq *lseq = seq;
    3168                 :        1236 :       if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail935;
    3169                 :        1236 :       {
    3170                 :        1236 :         res_op->set_op (NOP_EXPR, type, 1);
    3171                 :        1236 :         {
    3172                 :        1236 :           tree _o1[2], _r1;
    3173                 :        1236 :           _o1[0] = captures[0];
    3174                 :        1236 :           _o1[1] =  build_each_one_cst (TREE_TYPE (captures[0]));
    3175                 :        1236 :           gimple_match_op tem_op (res_op->cond.any_else (), MINUS_EXPR, TREE_TYPE (_o1[0]), _o1[0], _o1[1]);
    3176                 :        1236 :           tem_op.resimplify (lseq, valueize);
    3177                 :        1236 :           _r1 = maybe_push_res_to_seq (&tem_op, lseq);
    3178                 :        1236 :           if (!_r1) goto next_after_fail935;
    3179                 :         184 :           res_op->ops[0] = _r1;
    3180                 :             :         }
    3181                 :         184 :         res_op->resimplify (lseq, valueize);
    3182                 :         184 :         if (UNLIKELY (debug_dump)) gimple_dump_logs ("match.pd", 660, __FILE__, __LINE__, true);
    3183                 :         184 :         return true;
    3184                 :             :       }
    3185                 :             : next_after_fail935:;
    3186                 :             :     }
    3187                 :             :   return false;
    3188                 :             : }
    3189                 :             : 
    3190                 :             : bool
    3191                 :           2 : gimple_simplify_475 (gimple_match_op *res_op, gimple_seq *seq,
    3192                 :             :                  tree (*valueize)(tree) ATTRIBUTE_UNUSED,
    3193                 :             :                  const tree ARG_UNUSED (type), tree *ARG_UNUSED (captures),
    3194                 :             :  const enum tree_code ARG_UNUSED (rotate))
    3195                 :             : {
    3196                 :           2 :   const bool debug_dump = dump_file && (dump_flags & TDF_FOLDING);
    3197                 :           2 :   if ((element_precision (TREE_TYPE (captures[2]))
    3198                 :           2 :  <= element_precision (TREE_TYPE (captures[3]))
    3199                 :           0 :  || !TYPE_UNSIGNED (TREE_TYPE (captures[3])))
    3200                 :           2 :  && (element_precision (type) <= element_precision (TREE_TYPE (captures[2]))
    3201                 :           0 :  || !TYPE_UNSIGNED (TREE_TYPE (captures[2])))
    3202                 :             : )
    3203                 :             :     {
    3204                 :           2 :       {
    3205                 :           2 :  tree rotate_type = TREE_TYPE (captures[2]);
    3206                 :           2 :           gimple_seq *lseq = seq;
    3207                 :           2 :           if (lseq
    3208                 :           2 :               && (!single_use (captures[0])
    3209                 :           2 :                   || !single_use (captures[1])))
    3210                 :           0 :             lseq = NULL;
    3211                 :           2 :           if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail939;
    3212                 :           2 :           {
    3213                 :           2 :             res_op->set_op (NOP_EXPR, type, 1);
    3214                 :           2 :             {
    3215                 :           2 :               tree _o1[2], _r1;
    3216                 :           2 :               {
    3217                 :           2 :                 tree _o2[1], _r2;
    3218                 :           2 :                 _o2[0] = captures[3];
    3219                 :           2 :                 if (rotate_type != TREE_TYPE (_o2[0])
    3220                 :           2 :                     && !useless_type_conversion_p (rotate_type, TREE_TYPE (_o2[0])))
    3221                 :             :                   {
    3222                 :           1 :                     gimple_match_op tem_op (res_op->cond.any_else (), NOP_EXPR, rotate_type, _o2[0]);
    3223                 :           1 :                     tem_op.resimplify (lseq, valueize);
    3224                 :           1 :                     _r2 = maybe_push_res_to_seq (&tem_op, lseq);
    3225                 :           1 :                     if (!_r2) goto next_after_fail939;
    3226                 :             :                   }
    3227                 :             :                 else
    3228                 :             :                   _r2 = _o2[0];
    3229                 :           2 :                 _o1[0] = _r2;
    3230                 :             :               }
    3231                 :           2 :               _o1[1] = captures[4];
    3232                 :           2 :               gimple_match_op tem_op (res_op->cond.any_else (), rotate, TREE_TYPE (_o1[0]), _o1[0], _o1[1]);
    3233                 :           2 :               tem_op.resimplify (lseq, valueize);
    3234                 :           2 :               _r1 = maybe_push_res_to_seq (&tem_op, lseq);
    3235                 :           2 :               if (!_r1) goto next_after_fail939;
    3236                 :           2 :               res_op->ops[0] = _r1;
    3237                 :             :             }
    3238                 :           2 :             res_op->resimplify (lseq, valueize);
    3239                 :           2 :             if (UNLIKELY (debug_dump)) gimple_dump_logs ("match.pd", 663, __FILE__, __LINE__, true);
    3240                 :           2 :             return true;
    3241                 :             :           }
    3242                 :             : next_after_fail939:;
    3243                 :             :       }
    3244                 :             :     }
    3245                 :             :   return false;
    3246                 :             : }
    3247                 :             : 
    3248                 :             : bool
    3249                 :          61 : gimple_simplify_489 (gimple_match_op *res_op, gimple_seq *seq,
    3250                 :             :                  tree (*valueize)(tree) ATTRIBUTE_UNUSED,
    3251                 :             :                  const tree ARG_UNUSED (type), tree *ARG_UNUSED (captures),
    3252                 :             :  const enum tree_code ARG_UNUSED (op),
    3253                 :             :  const enum tree_code ARG_UNUSED (logic))
    3254                 :             : {
    3255                 :          61 :   const bool debug_dump = dump_file && (dump_flags & TDF_FOLDING);
    3256                 :          61 :   gimple_seq *lseq = seq;
    3257                 :          61 :   if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail966;
    3258                 :          61 :   {
    3259                 :          61 :     res_op->set_op (logic, type, 2);
    3260                 :          61 :     res_op->ops[0] = captures[0];
    3261                 :          61 :     res_op->ops[1] = captures[1];
    3262                 :          61 :     res_op->resimplify (lseq, valueize);
    3263                 :          61 :     if (UNLIKELY (debug_dump)) gimple_dump_logs ("match.pd", 676, __FILE__, __LINE__, true);
    3264                 :             :     return true;
    3265                 :             :   }
    3266                 :           0 : next_after_fail966:;
    3267                 :           0 :   return false;
    3268                 :             : }
    3269                 :             : 
    3270                 :             : bool
    3271                 :        4833 : gimple_simplify_494 (gimple_match_op *res_op, gimple_seq *seq,
    3272                 :             :                  tree (*valueize)(tree) ATTRIBUTE_UNUSED,
    3273                 :             :                  const tree ARG_UNUSED (type), tree *ARG_UNUSED (captures),
    3274                 :             :  const combined_fn ARG_UNUSED (FMIN_ALL))
    3275                 :             : {
    3276                 :        4833 :   const bool debug_dump = dump_file && (dump_flags & TDF_FOLDING);
    3277                 :        4833 :   if (flag_finite_math_only
    3278                 :             : )
    3279                 :             :     {
    3280                 :          74 :       gimple_seq *lseq = seq;
    3281                 :          74 :       if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail971;
    3282                 :          74 :       {
    3283                 :          74 :         res_op->set_op (MIN_EXPR, type, 2);
    3284                 :          74 :         res_op->ops[0] = captures[0];
    3285                 :          74 :         res_op->ops[1] = captures[1];
    3286                 :          74 :         res_op->resimplify (lseq, valueize);
    3287                 :          74 :         if (UNLIKELY (debug_dump)) gimple_dump_logs ("match.pd", 681, __FILE__, __LINE__, true);
    3288                 :          74 :         return true;
    3289                 :             :       }
    3290                 :           0 : next_after_fail971:;
    3291                 :             :     }
    3292                 :             :   return false;
    3293                 :             : }
    3294                 :             : 
    3295                 :             : bool
    3296                 :          27 : gimple_simplify_499 (gimple_match_op *res_op, gimple_seq *seq,
    3297                 :             :                  tree (*valueize)(tree) ATTRIBUTE_UNUSED,
    3298                 :             :                  const tree ARG_UNUSED (type), tree *ARG_UNUSED (captures))
    3299                 :             : {
    3300                 :          27 :   const bool debug_dump = dump_file && (dump_flags & TDF_FOLDING);
    3301                 :          27 :   gimple_seq *lseq = seq;
    3302                 :          27 :   if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail976;
    3303                 :          27 :   {
    3304                 :          27 :     tree tem;
    3305                 :          27 :     tem = captures[2];
    3306                 :          27 :     res_op->set_value (tem);
    3307                 :          27 :     if (UNLIKELY (debug_dump)) gimple_dump_logs ("match.pd", 686, __FILE__, __LINE__, true);
    3308                 :             :     return true;
    3309                 :             :   }
    3310                 :           0 : next_after_fail976:;
    3311                 :           0 :   return false;
    3312                 :             : }
    3313                 :             : 
    3314                 :             : bool
    3315                 :        1188 : gimple_simplify_506 (gimple_match_op *res_op, gimple_seq *seq,
    3316                 :             :                  tree (*valueize)(tree) ATTRIBUTE_UNUSED,
    3317                 :             :                  const tree ARG_UNUSED (type), tree *ARG_UNUSED (captures),
    3318                 :             :  const enum tree_code ARG_UNUSED (cmp),
    3319                 :             :  const enum tree_code ARG_UNUSED (op))
    3320                 :             : {
    3321                 :        1188 :   const bool debug_dump = dump_file && (dump_flags & TDF_FOLDING);
    3322                 :        1188 :   {
    3323                 :        1188 :  tree from_type = TREE_TYPE (captures[0]), to_type = TREE_TYPE (captures[1]);
    3324                 :        1188 :       if (types_match (from_type, to_type)
    3325                 :        1188 :  || (TYPE_UNSIGNED (from_type)
    3326                 :          74 :  && !TYPE_UNSIGNED (to_type)
    3327                 :          23 :  && TYPE_PRECISION (from_type) == TYPE_PRECISION (to_type)
    3328                 :          23 :  && integer_zerop (captures[1])
    3329                 :          10 :  && (cmp == LT_EXPR || cmp == GE_EXPR))
    3330                 :             : )
    3331                 :             :         {
    3332                 :        1112 :           {
    3333                 :        1112 :  wi::overflow_type overflow = wi::OVF_NONE;
    3334                 :        1112 :  enum tree_code code, cmp_code = cmp;
    3335                 :        1112 :  wide_int real_c1;
    3336                 :        1112 :  wide_int c1 = wi::to_wide (captures[1]);
    3337                 :        1112 :  wide_int c2 = wi::to_wide (captures[2]);
    3338                 :        1112 :  wide_int c3 = wi::to_wide (captures[3]);
    3339                 :        1112 :  signop sgn = TYPE_SIGN (from_type);
    3340                 :        1112 :  if (!types_match (from_type, to_type))
    3341                 :             :  {
    3342                 :          10 :  if (cmp_code == LT_EXPR)
    3343                 :             :  cmp_code = GT_EXPR;
    3344                 :           6 :  if (cmp_code == GE_EXPR)
    3345                 :           6 :  cmp_code = LE_EXPR;
    3346                 :          10 :  c1 = wi::max_value (to_type);
    3347                 :             :  }
    3348                 :        1112 :  if (op == PLUS_EXPR)
    3349                 :        1112 :  real_c1 = wi::sub (c3, c2, sgn, &overflow);
    3350                 :             :  else
    3351                 :           0 :  real_c1 = wi::add (c3, c2, sgn, &overflow);
    3352                 :        1112 :  code = cmp_code;
    3353                 :        1112 :  if (!overflow || !TYPE_OVERFLOW_UNDEFINED (from_type))
    3354                 :             :  {
    3355                 :        2224 :  if (!wi::cmp (wi::sub (real_c1, 1, sgn, &overflow), c1, sgn)
    3356                 :        1112 :  && !overflow)
    3357                 :             :  {
    3358                 :         110 :  if (cmp_code == LE_EXPR)
    3359                 :             :  code = LT_EXPR;
    3360                 :          66 :  if (cmp_code == GT_EXPR)
    3361                 :        1112 :  code = GE_EXPR;
    3362                 :             :  }
    3363                 :        2224 :  if (!wi::cmp (wi::add (real_c1, 1, sgn, &overflow), c1, sgn)
    3364                 :        1112 :  && !overflow)
    3365                 :             :  {
    3366                 :         341 :  if (cmp_code == LT_EXPR)
    3367                 :             :  code = LE_EXPR;
    3368                 :         341 :  if (cmp_code == GE_EXPR)
    3369                 :             :  code = GT_EXPR;
    3370                 :             :  }
    3371                 :         809 :  if (code != cmp_code || !wi::cmp (real_c1, c1, sgn))
    3372                 :             :  {
    3373                 :         527 :  if (cmp_code == LT_EXPR || cmp_code == LE_EXPR)
    3374                 :         112 :  code = MIN_EXPR;
    3375                 :         527 :  if (cmp_code == GT_EXPR || cmp_code == GE_EXPR)
    3376                 :             :  code = MAX_EXPR;
    3377                 :             :  }
    3378                 :             :  }
    3379                 :         697 :               if (code == MAX_EXPR
    3380                 :             : )
    3381                 :             :                 {
    3382                 :         415 :                   gimple_seq *lseq = seq;
    3383                 :         415 :                   if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail985;
    3384                 :         415 :                   {
    3385                 :         415 :                     res_op->set_op (op, type, 2);
    3386                 :         415 :                     {
    3387                 :         415 :                       tree _o1[2], _r1;
    3388                 :         415 :                       _o1[0] = captures[0];
    3389                 :         415 :                       _o1[1] =  wide_int_to_tree (from_type, real_c1);
    3390                 :         415 :                       gimple_match_op tem_op (res_op->cond.any_else (), MAX_EXPR, TREE_TYPE (_o1[0]), _o1[0], _o1[1]);
    3391                 :         415 :                       tem_op.resimplify (lseq, valueize);
    3392                 :         415 :                       _r1 = maybe_push_res_to_seq (&tem_op, lseq);
    3393                 :         415 :                       if (!_r1) goto next_after_fail985;
    3394                 :         381 :                       res_op->ops[0] = _r1;
    3395                 :             :                     }
    3396                 :         381 :                     res_op->ops[1] =  wide_int_to_tree (from_type, c2);
    3397                 :         381 :                     res_op->resimplify (lseq, valueize);
    3398                 :         381 :                     if (UNLIKELY (debug_dump)) gimple_dump_logs ("match.pd", 695, __FILE__, __LINE__, true);
    3399                 :         381 :                     return true;
    3400                 :             :                   }
    3401                 :         631 : next_after_fail985:;
    3402                 :             :                 }
    3403                 :             :               else
    3404                 :             :                 {
    3405                 :         697 :                   if (code == MIN_EXPR
    3406                 :             : )
    3407                 :             :                     {
    3408                 :         112 :                       gimple_seq *lseq = seq;
    3409                 :         112 :                       if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail986;
    3410                 :         112 :                       {
    3411                 :         112 :                         res_op->set_op (op, type, 2);
    3412                 :         112 :                         {
    3413                 :         112 :                           tree _o1[2], _r1;
    3414                 :         112 :                           _o1[0] = captures[0];
    3415                 :         112 :                           _o1[1] =  wide_int_to_tree (from_type, real_c1);
    3416                 :         112 :                           gimple_match_op tem_op (res_op->cond.any_else (), MIN_EXPR, TREE_TYPE (_o1[0]), _o1[0], _o1[1]);
    3417                 :         112 :                           tem_op.resimplify (lseq, valueize);
    3418                 :         112 :                           _r1 = maybe_push_res_to_seq (&tem_op, lseq);
    3419                 :         112 :                           if (!_r1) goto next_after_fail986;
    3420                 :         100 :                           res_op->ops[0] = _r1;
    3421                 :             :                         }
    3422                 :         100 :                         res_op->ops[1] =  wide_int_to_tree (from_type, c2);
    3423                 :         100 :                         res_op->resimplify (lseq, valueize);
    3424                 :         100 :                         if (UNLIKELY (debug_dump)) gimple_dump_logs ("match.pd", 696, __FILE__, __LINE__, true);
    3425                 :         100 :                         return true;
    3426                 :             :                       }
    3427                 :         631 : next_after_fail986:;
    3428                 :             :                     }
    3429                 :             :                 }
    3430                 :        1112 :           }
    3431                 :             :         }
    3432                 :             :   }
    3433                 :             :   return false;
    3434                 :             : }
    3435                 :             : 
    3436                 :             : bool
    3437                 :           0 : gimple_simplify_518 (gimple_match_op *res_op, gimple_seq *seq,
    3438                 :             :                  tree (*valueize)(tree) ATTRIBUTE_UNUSED,
    3439                 :             :                  const tree ARG_UNUSED (type), tree *ARG_UNUSED (captures),
    3440                 :             :  const enum tree_code ARG_UNUSED (op))
    3441                 :             : {
    3442                 :           0 :   const bool debug_dump = dump_file && (dump_flags & TDF_FOLDING);
    3443                 :           0 :   if (ANY_INTEGRAL_TYPE_P (type)
    3444                 :             : )
    3445                 :             :     {
    3446                 :           0 :       gimple_seq *lseq = seq;
    3447                 :           0 :       if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail1045;
    3448                 :           0 :       {
    3449                 :           0 :         tree tem;
    3450                 :           0 :         tem = captures[2];
    3451                 :           0 :         res_op->set_value (tem);
    3452                 :           0 :         if (UNLIKELY (debug_dump)) gimple_dump_logs ("match.pd", 718, __FILE__, __LINE__, true);
    3453                 :           0 :         return true;
    3454                 :             :       }
    3455                 :           0 : next_after_fail1045:;
    3456                 :             :     }
    3457                 :             :   return false;
    3458                 :             : }
    3459                 :             : 
    3460                 :             : bool
    3461                 :           1 : gimple_simplify_521 (gimple_match_op *res_op, gimple_seq *seq,
    3462                 :             :                  tree (*valueize)(tree) ATTRIBUTE_UNUSED,
    3463                 :             :                  const tree ARG_UNUSED (type), tree *ARG_UNUSED (captures))
    3464                 :             : {
    3465                 :           1 :   const bool debug_dump = dump_file && (dump_flags & TDF_FOLDING);
    3466                 :           1 :   if (wi::to_wide (uniform_integer_cst_p (captures[3])) == 2
    3467                 :             : )
    3468                 :             :     {
    3469                 :           1 :       gimple_seq *lseq = seq;
    3470                 :           1 :       if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail1048;
    3471                 :           1 :       {
    3472                 :           1 :         tree tem;
    3473                 :           1 :         tem = captures[2];
    3474                 :           1 :         res_op->set_value (tem);
    3475                 :           1 :         if (UNLIKELY (debug_dump)) gimple_dump_logs ("match.pd", 719, __FILE__, __LINE__, true);
    3476                 :           1 :         return true;
    3477                 :             :       }
    3478                 :           0 : next_after_fail1048:;
    3479                 :             :     }
    3480                 :             :   return false;
    3481                 :             : }
    3482                 :             : 
    3483                 :             : bool
    3484                 :           0 : gimple_simplify_524 (gimple_match_op *res_op, gimple_seq *seq,
    3485                 :             :                  tree (*valueize)(tree) ATTRIBUTE_UNUSED,
    3486                 :             :                  const tree ARG_UNUSED (type), tree *ARG_UNUSED (captures))
    3487                 :             : {
    3488                 :           0 :   const bool debug_dump = dump_file && (dump_flags & TDF_FOLDING);
    3489                 :           0 :   if (wi::to_wide (uniform_integer_cst_p (captures[3])) == 2
    3490                 :             : )
    3491                 :             :     {
    3492                 :           0 :       gimple_seq *lseq = seq;
    3493                 :           0 :       if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail1051;
    3494                 :           0 :       {
    3495                 :           0 :         tree tem;
    3496                 :           0 :         tem = captures[2];
    3497                 :           0 :         res_op->set_value (tem);
    3498                 :           0 :         if (UNLIKELY (debug_dump)) gimple_dump_logs ("match.pd", 719, __FILE__, __LINE__, true);
    3499                 :           0 :         return true;
    3500                 :             :       }
    3501                 :           0 : next_after_fail1051:;
    3502                 :             :     }
    3503                 :             :   return false;
    3504                 :             : }
    3505                 :             : 
    3506                 :             : bool
    3507                 :           3 : gimple_simplify_527 (gimple_match_op *res_op, gimple_seq *seq,
    3508                 :             :                  tree (*valueize)(tree) ATTRIBUTE_UNUSED,
    3509                 :             :                  const tree ARG_UNUSED (type), tree *ARG_UNUSED (captures))
    3510                 :             : {
    3511                 :           3 :   const bool debug_dump = dump_file && (dump_flags & TDF_FOLDING);
    3512                 :           3 :   if (wi::abs (wi::to_wide (captures[1])) == wi::to_wide (captures[3])
    3513                 :             : )
    3514                 :             :     {
    3515                 :           3 :       if (ABS_EXPR != ABSU_EXPR && wi::only_sign_bit_p (wi::to_wide (captures[1]))
    3516                 :             : )
    3517                 :             :         {
    3518                 :           2 :           {
    3519                 :           2 :  tree utype = unsigned_type_for (TREE_TYPE (captures[0]));
    3520                 :           2 :               gimple_seq *lseq = seq;
    3521                 :           2 :               if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail1054;
    3522                 :           2 :               {
    3523                 :           2 :                 res_op->set_op (NOP_EXPR, type, 1);
    3524                 :           2 :                 {
    3525                 :           2 :                   tree _o1[1], _r1;
    3526                 :           2 :                   _o1[0] = captures[0];
    3527                 :           2 :                   gimple_match_op tem_op (res_op->cond.any_else (), ABSU_EXPR, utype, _o1[0]);
    3528                 :           2 :                   tem_op.resimplify (lseq, valueize);
    3529                 :           2 :                   _r1 = maybe_push_res_to_seq (&tem_op, lseq);
    3530                 :           2 :                   if (!_r1) goto next_after_fail1054;
    3531                 :           2 :                   res_op->ops[0] = _r1;
    3532                 :             :                 }
    3533                 :           2 :                 res_op->resimplify (lseq, valueize);
    3534                 :           2 :                 if (UNLIKELY (debug_dump)) gimple_dump_logs ("match.pd", 722, __FILE__, __LINE__, true);
    3535                 :           2 :                 return true;
    3536                 :             :               }
    3537                 :             : next_after_fail1054:;
    3538                 :             :           }
    3539                 :             :         }
    3540                 :             :       else
    3541                 :             :         {
    3542                 :           1 :           gimple_seq *lseq = seq;
    3543                 :           1 :           if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail1055;
    3544                 :           1 :           {
    3545                 :           1 :             tree tem;
    3546                 :           1 :             tem = captures[2];
    3547                 :           1 :             res_op->set_value (tem);
    3548                 :           1 :             if (UNLIKELY (debug_dump)) gimple_dump_logs ("match.pd", 723, __FILE__, __LINE__, true);
    3549                 :           1 :             return true;
    3550                 :             :           }
    3551                 :           0 : next_after_fail1055:;
    3552                 :             :         }
    3553                 :             :     }
    3554                 :             :   return false;
    3555                 :             : }
    3556                 :             : 
    3557                 :             : bool
    3558                 :           0 : gimple_simplify_534 (gimple_match_op *res_op, gimple_seq *seq,
    3559                 :             :                  tree (*valueize)(tree) ATTRIBUTE_UNUSED,
    3560                 :             :                  const tree ARG_UNUSED (type), tree *ARG_UNUSED (captures),
    3561                 :             :  const enum tree_code ARG_UNUSED (cmp))
    3562                 :             : {
    3563                 :           0 :   const bool debug_dump = dump_file && (dump_flags & TDF_FOLDING);
    3564                 :           0 :   if (!HONOR_SIGNED_ZEROS (type)
    3565                 :           0 :  && bitwise_equal_p (captures[0], captures[1])
    3566                 :             : )
    3567                 :             :     {
    3568                 :           0 :       gimple_seq *lseq = seq;
    3569                 :           0 :       if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail1063;
    3570                 :           0 :       {
    3571                 :           0 :         tree tem;
    3572                 :           0 :         tem = captures[2];
    3573                 :           0 :         res_op->set_value (tem);
    3574                 :           0 :         if (UNLIKELY (debug_dump)) gimple_dump_logs ("match.pd", 725, __FILE__, __LINE__, true);
    3575                 :           0 :         return true;
    3576                 :             :       }
    3577                 :           0 : next_after_fail1063:;
    3578                 :             :     }
    3579                 :             :   return false;
    3580                 :             : }
    3581                 :             : 
    3582                 :             : bool
    3583                 :           0 : gimple_simplify_540 (gimple_match_op *res_op, gimple_seq *seq,
    3584                 :             :                  tree (*valueize)(tree) ATTRIBUTE_UNUSED,
    3585                 :             :                  const tree ARG_UNUSED (type), tree *ARG_UNUSED (captures),
    3586                 :             :  const enum tree_code ARG_UNUSED (cmp))
    3587                 :             : {
    3588                 :           0 :   const bool debug_dump = dump_file && (dump_flags & TDF_FOLDING);
    3589                 :           0 :   gimple_seq *lseq = seq;
    3590                 :           0 :   if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail1069;
    3591                 :           0 :   {
    3592                 :           0 :     tree tem;
    3593                 :           0 :     tem = captures[0];
    3594                 :           0 :     res_op->set_value (tem);
    3595                 :           0 :     if (UNLIKELY (debug_dump)) gimple_dump_logs ("match.pd", 732, __FILE__, __LINE__, true);
    3596                 :             :     return true;
    3597                 :             :   }
    3598                 :           0 : next_after_fail1069:;
    3599                 :           0 :   return false;
    3600                 :             : }
    3601                 :             : 
    3602                 :             : bool
    3603                 :          35 : gimple_simplify_548 (gimple_match_op *res_op, gimple_seq *seq,
    3604                 :             :                  tree (*valueize)(tree) ATTRIBUTE_UNUSED,
    3605                 :             :                  const tree ARG_UNUSED (type), tree *ARG_UNUSED (captures),
    3606                 :             :  const enum tree_code ARG_UNUSED (cmp))
    3607                 :             : {
    3608                 :          35 :   const bool debug_dump = dump_file && (dump_flags & TDF_FOLDING);
    3609                 :          35 :   if (INTEGRAL_TYPE_P (type)
    3610                 :          35 :  && INTEGRAL_TYPE_P (TREE_TYPE (captures[0]))
    3611                 :          35 :  && !TYPE_UNSIGNED (TREE_TYPE (captures[0]))
    3612                 :          70 :  && TYPE_PRECISION (TREE_TYPE (captures[0])) == TYPE_PRECISION (type)
    3613                 :             : )
    3614                 :             :     {
    3615                 :          35 :       {
    3616                 :          35 :  tree shifter = build_int_cst (integer_type_node, TYPE_PRECISION (type) - 1);
    3617                 :          35 :           if (cmp == GE_EXPR
    3618                 :             : )
    3619                 :             :             {
    3620                 :          34 :               gimple_seq *lseq = seq;
    3621                 :          34 :               if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail1080;
    3622                 :          34 :               {
    3623                 :          34 :                 res_op->set_op (BIT_XOR_EXPR, type, 2);
    3624                 :          34 :                 {
    3625                 :          34 :                   tree _o1[1], _r1;
    3626                 :          34 :                   {
    3627                 :          34 :                     tree _o2[2], _r2;
    3628                 :          34 :                     _o2[0] = captures[0];
    3629                 :          34 :                     _o2[1] = shifter;
    3630                 :          34 :                     gimple_match_op tem_op (res_op->cond.any_else (), RSHIFT_EXPR, TREE_TYPE (_o2[0]), _o2[0], _o2[1]);
    3631                 :          34 :                     tem_op.resimplify (lseq, valueize);
    3632                 :          34 :                     _r2 = maybe_push_res_to_seq (&tem_op, lseq);
    3633                 :          34 :                     if (!_r2) goto next_after_fail1080;
    3634                 :          34 :                     _o1[0] = _r2;
    3635                 :             :                   }
    3636                 :          34 :                   if (type != TREE_TYPE (_o1[0])
    3637                 :          34 :                       && !useless_type_conversion_p (type, TREE_TYPE (_o1[0])))
    3638                 :             :                     {
    3639                 :          17 :                       gimple_match_op tem_op (res_op->cond.any_else (), NOP_EXPR, type, _o1[0]);
    3640                 :          17 :                       tem_op.resimplify (lseq, valueize);
    3641                 :          17 :                       _r1 = maybe_push_res_to_seq (&tem_op, lseq);
    3642                 :          17 :                       if (!_r1) goto next_after_fail1080;
    3643                 :             :                     }
    3644                 :             :                   else
    3645                 :             :                     _r1 = _o1[0];
    3646                 :          34 :                   res_op->ops[0] = _r1;
    3647                 :             :                 }
    3648                 :          34 :                 res_op->ops[1] = captures[1];
    3649                 :          34 :                 res_op->resimplify (lseq, valueize);
    3650                 :          34 :                 if (UNLIKELY (debug_dump)) gimple_dump_logs ("match.pd", 740, __FILE__, __LINE__, true);
    3651                 :          34 :                 return true;
    3652                 :             :               }
    3653                 :             : next_after_fail1080:;
    3654                 :             :             }
    3655                 :             :           else
    3656                 :             :             {
    3657                 :           1 :               gimple_seq *lseq = seq;
    3658                 :           1 :               if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail1081;
    3659                 :           1 :               {
    3660                 :           1 :                 res_op->set_op (BIT_NOT_EXPR, type, 1);
    3661                 :           1 :                 {
    3662                 :           1 :                   tree _o1[2], _r1;
    3663                 :           1 :                   {
    3664                 :           1 :                     tree _o2[1], _r2;
    3665                 :           1 :                     {
    3666                 :           1 :                       tree _o3[2], _r3;
    3667                 :           1 :                       _o3[0] = captures[0];
    3668                 :           1 :                       _o3[1] = shifter;
    3669                 :           1 :                       gimple_match_op tem_op (res_op->cond.any_else (), RSHIFT_EXPR, TREE_TYPE (_o3[0]), _o3[0], _o3[1]);
    3670                 :           1 :                       tem_op.resimplify (lseq, valueize);
    3671                 :           1 :                       _r3 = maybe_push_res_to_seq (&tem_op, lseq);
    3672                 :           1 :                       if (!_r3) goto next_after_fail1081;
    3673                 :           1 :                       _o2[0] = _r3;
    3674                 :             :                     }
    3675                 :           1 :                     if (type != TREE_TYPE (_o2[0])
    3676                 :           1 :                         && !useless_type_conversion_p (type, TREE_TYPE (_o2[0])))
    3677                 :             :                       {
    3678                 :           1 :                         gimple_match_op tem_op (res_op->cond.any_else (), NOP_EXPR, type, _o2[0]);
    3679                 :           1 :                         tem_op.resimplify (lseq, valueize);
    3680                 :           1 :                         _r2 = maybe_push_res_to_seq (&tem_op, lseq);
    3681                 :           1 :                         if (!_r2) goto next_after_fail1081;
    3682                 :             :                       }
    3683                 :             :                     else
    3684                 :             :                       _r2 = _o2[0];
    3685                 :           1 :                     _o1[0] = _r2;
    3686                 :             :                   }
    3687                 :           1 :                   _o1[1] = captures[1];
    3688                 :           1 :                   gimple_match_op tem_op (res_op->cond.any_else (), BIT_XOR_EXPR, TREE_TYPE (_o1[0]), _o1[0], _o1[1]);
    3689                 :           1 :                   tem_op.resimplify (lseq, valueize);
    3690                 :           1 :                   _r1 = maybe_push_res_to_seq (&tem_op, lseq);
    3691                 :           1 :                   if (!_r1) goto next_after_fail1081;
    3692                 :           1 :                   res_op->ops[0] = _r1;
    3693                 :             :                 }
    3694                 :           1 :                 res_op->resimplify (lseq, valueize);
    3695                 :           1 :                 if (UNLIKELY (debug_dump)) gimple_dump_logs ("match.pd", 741, __FILE__, __LINE__, true);
    3696                 :           1 :                 return true;
    3697                 :             :               }
    3698                 :             : next_after_fail1081:;
    3699                 :             :             }
    3700                 :             :       }
    3701                 :             :     }
    3702                 :             :   return false;
    3703                 :             : }
    3704                 :             : 
    3705                 :             : bool
    3706                 :           2 : gimple_simplify_567 (gimple_match_op *res_op, gimple_seq *seq,
    3707                 :             :                  tree (*valueize)(tree) ATTRIBUTE_UNUSED,
    3708                 :             :                  const tree ARG_UNUSED (type), tree *ARG_UNUSED (captures))
    3709                 :             : {
    3710                 :           2 :   const bool debug_dump = dump_file && (dump_flags & TDF_FOLDING);
    3711                 :           2 :   {
    3712                 :           2 :  int val;
    3713                 :           2 :  internal_fn ifn = IFN_LAST;
    3714                 :           2 :  if (TREE_CODE (TREE_TYPE (captures[2])) == BITINT_TYPE)
    3715                 :             :  ifn = IFN_CTZ;
    3716                 :           2 :  else if (direct_internal_fn_supported_p (IFN_CTZ, TREE_TYPE (captures[2]),
    3717                 :             :  OPTIMIZE_FOR_BOTH))
    3718                 :             :  ifn = IFN_CTZ;
    3719                 :             :       if (ifn == IFN_CTZ
    3720                 :             : )
    3721                 :             :         {
    3722                 :           2 :           gimple_seq *lseq = seq;
    3723                 :           2 :           if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail1107;
    3724                 :           2 :           {
    3725                 :           2 :             res_op->set_op (CFN_CTZ, type, 2);
    3726                 :           2 :             res_op->ops[0] = captures[2];
    3727                 :           2 :             res_op->ops[1] = captures[3];
    3728                 :           2 :             res_op->resimplify (lseq, valueize);
    3729                 :           2 :             if (UNLIKELY (debug_dump)) gimple_dump_logs ("match.pd", 755, __FILE__, __LINE__, true);
    3730                 :           2 :             return true;
    3731                 :             :           }
    3732                 :           0 : next_after_fail1107:;
    3733                 :             :         }
    3734                 :             :   }
    3735                 :             :   return false;
    3736                 :             : }
    3737                 :             : 
    3738                 :             : bool
    3739                 :         780 : gimple_simplify_575 (gimple_match_op *res_op, gimple_seq *seq,
    3740                 :             :                  tree (*valueize)(tree) ATTRIBUTE_UNUSED,
    3741                 :             :                  const tree ARG_UNUSED (type), tree *ARG_UNUSED (captures),
    3742                 :             :  const enum tree_code ARG_UNUSED (cmp),
    3743                 :             :  const enum tree_code ARG_UNUSED (minmax),
    3744                 :             :  const enum tree_code ARG_UNUSED (MINMAX))
    3745                 :             : {
    3746                 :         780 :   const bool debug_dump = dump_file && (dump_flags & TDF_FOLDING);
    3747                 :         780 :   if (VECTOR_INTEGER_TYPE_P (type)
    3748                 :         785 :  && target_supports_op_p (type, MINMAX, optab_vector)
    3749                 :             : )
    3750                 :             :     {
    3751                 :           5 :       gimple_seq *lseq = seq;
    3752                 :           5 :       if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail1117;
    3753                 :           5 :       {
    3754                 :           5 :         res_op->set_op (minmax, type, 2);
    3755                 :           5 :         res_op->ops[0] = captures[0];
    3756                 :           5 :         res_op->ops[1] = captures[1];
    3757                 :           5 :         res_op->resimplify (lseq, valueize);
    3758                 :           5 :         if (UNLIKELY (debug_dump)) gimple_dump_logs ("match.pd", 765, __FILE__, __LINE__, true);
    3759                 :           5 :         return true;
    3760                 :             :       }
    3761                 :           0 : next_after_fail1117:;
    3762                 :             :     }
    3763                 :             :   return false;
    3764                 :             : }
    3765                 :             : 
    3766                 :             : bool
    3767                 :          10 : gimple_simplify_583 (gimple_match_op *res_op, gimple_seq *seq,
    3768                 :             :                  tree (*valueize)(tree) ATTRIBUTE_UNUSED,
    3769                 :             :                  const tree ARG_UNUSED (type), tree *ARG_UNUSED (captures),
    3770                 :             :  const combined_fn ARG_UNUSED (uncond_op),
    3771                 :             :  const combined_fn ARG_UNUSED (cond_op))
    3772                 :             : {
    3773                 :          10 :   const bool debug_dump = dump_file && (dump_flags & TDF_FOLDING);
    3774                 :          10 :   {
    3775                 :          10 :  tree op_type = TREE_TYPE (captures[2]);
    3776                 :          10 :       if (vectorized_internal_fn_supported_p (as_internal_fn (cond_op), op_type)
    3777                 :          10 :  && is_truth_type_for (op_type, TREE_TYPE (captures[0]))
    3778                 :          20 :  && single_use (captures[2])
    3779                 :             : )
    3780                 :             :         {
    3781                 :           0 :           gimple_seq *lseq = seq;
    3782                 :           0 :           if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail1125;
    3783                 :           0 :           {
    3784                 :           0 :             res_op->set_op (VIEW_CONVERT_EXPR, type, 1);
    3785                 :           0 :             {
    3786                 :           0 :               tree _o1[5], _r1;
    3787                 :           0 :               {
    3788                 :           0 :                 tree _o2[1], _r2;
    3789                 :           0 :                 _o2[0] = captures[0];
    3790                 :           0 :                 gimple_match_op tem_op (res_op->cond.any_else (), BIT_NOT_EXPR, TREE_TYPE (_o2[0]), _o2[0]);
    3791                 :           0 :                 tem_op.resimplify (lseq, valueize);
    3792                 :           0 :                 _r2 = maybe_push_res_to_seq (&tem_op, lseq);
    3793                 :           0 :                 if (!_r2) goto next_after_fail1125;
    3794                 :           0 :                 _o1[0] = _r2;
    3795                 :             :               }
    3796                 :           0 :               _o1[1] = captures[3];
    3797                 :           0 :               _o1[2] = captures[4];
    3798                 :           0 :               _o1[3] = captures[5];
    3799                 :           0 :               {
    3800                 :           0 :                 tree _o2[1], _r2;
    3801                 :           0 :                 _o2[0] = captures[1];
    3802                 :           0 :                 gimple_match_op tem_op (res_op->cond.any_else (), VIEW_CONVERT_EXPR, op_type, _o2[0]);
    3803                 :           0 :                 tem_op.resimplify (lseq, valueize);
    3804                 :           0 :                 _r2 = maybe_push_res_to_seq (&tem_op, lseq);
    3805                 :           0 :                 if (!_r2) goto next_after_fail1125;
    3806                 :           0 :                 _o1[4] = _r2;
    3807                 :             :               }
    3808                 :           0 :               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]);
    3809                 :           0 :               tem_op.resimplify (lseq, valueize);
    3810                 :           0 :               _r1 = maybe_push_res_to_seq (&tem_op, lseq);
    3811                 :           0 :               if (!_r1) goto next_after_fail1125;
    3812                 :           0 :               res_op->ops[0] = _r1;
    3813                 :             :             }
    3814                 :           0 :             res_op->resimplify (lseq, valueize);
    3815                 :           0 :             if (UNLIKELY (debug_dump)) gimple_dump_logs ("match.pd", 768, __FILE__, __LINE__, true);
    3816                 :           0 :             return true;
    3817                 :             :           }
    3818                 :             : next_after_fail1125:;
    3819                 :             :         }
    3820                 :             :   }
    3821                 :             :   return false;
    3822                 :             : }
    3823                 :             : 
    3824                 :             : bool
    3825                 :          10 : gimple_simplify_595 (gimple_match_op *res_op, gimple_seq *seq,
    3826                 :             :                  tree (*valueize)(tree) ATTRIBUTE_UNUSED,
    3827                 :             :                  const tree ARG_UNUSED (type), tree *ARG_UNUSED (captures),
    3828                 :             :  const enum tree_code ARG_UNUSED (cmp))
    3829                 :             : {
    3830                 :          10 :   const bool debug_dump = dump_file && (dump_flags & TDF_FOLDING);
    3831                 :          10 :   gimple_seq *lseq = seq;
    3832                 :          10 :   if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail1137;
    3833                 :          10 :   {
    3834                 :          10 :     res_op->set_op (UNORDERED_EXPR, type, 2);
    3835                 :          10 :     res_op->ops[0] = captures[0];
    3836                 :          10 :     res_op->ops[1] = captures[0];
    3837                 :          10 :     res_op->resimplify (lseq, valueize);
    3838                 :          10 :     if (UNLIKELY (debug_dump)) gimple_dump_logs ("match.pd", 780, __FILE__, __LINE__, true);
    3839                 :             :     return true;
    3840                 :             :   }
    3841                 :           0 : next_after_fail1137:;
    3842                 :           0 :   return false;
    3843                 :             : }
    3844                 :             : 
    3845                 :             : bool
    3846                 :        4805 : gimple_simplify_598 (gimple_match_op *res_op, gimple_seq *seq,
    3847                 :             :                  tree (*valueize)(tree) ATTRIBUTE_UNUSED,
    3848                 :             :                  const tree ARG_UNUSED (type), tree *ARG_UNUSED (captures),
    3849                 :             :  const combined_fn ARG_UNUSED (ovf))
    3850                 :             : {
    3851                 :        4805 :   const bool debug_dump = dump_file && (dump_flags & TDF_FOLDING);
    3852                 :        9610 :   if (INTEGRAL_TYPE_P (TREE_TYPE (captures[2]))
    3853                 :        4805 :  && INTEGRAL_TYPE_P (TREE_TYPE (captures[1]))
    3854                 :        4805 :  && TYPE_PRECISION (TREE_TYPE (captures[1])) > TYPE_PRECISION (TREE_TYPE (captures[2]))
    3855                 :        8371 :  && (!TYPE_UNSIGNED (TREE_TYPE (captures[1])) || TYPE_UNSIGNED (TREE_TYPE (captures[2])))
    3856                 :             : )
    3857                 :             :     {
    3858                 :        3426 :       gimple_seq *lseq = seq;
    3859                 :        3426 :       if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail1140;
    3860                 :        3426 :       {
    3861                 :        3426 :         res_op->set_op (ovf, type, 2);
    3862                 :        3426 :         res_op->ops[0] = captures[0];
    3863                 :        3426 :         res_op->ops[1] = captures[2];
    3864                 :        3426 :         res_op->resimplify (lseq, valueize);
    3865                 :        3426 :         if (UNLIKELY (debug_dump)) gimple_dump_logs ("match.pd", 783, __FILE__, __LINE__, true);
    3866                 :        3426 :         return true;
    3867                 :             :       }
    3868                 :           0 : next_after_fail1140:;
    3869                 :             :     }
    3870                 :             :   return false;
    3871                 :             : }
    3872                 :             : 
    3873                 :             : bool
    3874                 :         252 : gimple_simplify_608 (gimple_match_op *res_op, gimple_seq *seq,
    3875                 :             :                  tree (*valueize)(tree) ATTRIBUTE_UNUSED,
    3876                 :             :                  const tree ARG_UNUSED (type), tree *ARG_UNUSED (captures))
    3877                 :             : {
    3878                 :         252 :   const bool debug_dump = dump_file && (dump_flags & TDF_FOLDING);
    3879                 :         252 :   gimple_seq *lseq = seq;
    3880                 :         252 :   if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail1150;
    3881                 :         252 :   {
    3882                 :         252 :     tree tem;
    3883                 :         252 :     tem = captures[0];
    3884                 :         252 :     res_op->set_value (tem);
    3885                 :         252 :     if (UNLIKELY (debug_dump)) gimple_dump_logs ("match.pd", 793, __FILE__, __LINE__, true);
    3886                 :             :     return true;
    3887                 :             :   }
    3888                 :           0 : next_after_fail1150:;
    3889                 :           0 :   return false;
    3890                 :             : }
    3891                 :             : 
    3892                 :             : bool
    3893                 :          37 : gimple_simplify_612 (gimple_match_op *res_op, gimple_seq *seq,
    3894                 :             :                  tree (*valueize)(tree) ATTRIBUTE_UNUSED,
    3895                 :             :                  const tree ARG_UNUSED (type), tree *ARG_UNUSED (captures),
    3896                 :             :  const combined_fn ARG_UNUSED (floors))
    3897                 :             : {
    3898                 :          37 :   const bool debug_dump = dump_file && (dump_flags & TDF_FOLDING);
    3899                 :          37 :   if (canonicalize_math_p ()
    3900                 :             : )
    3901                 :             :     {
    3902                 :          37 :       gimple_seq *lseq = seq;
    3903                 :          37 :       if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail1154;
    3904                 :          37 :       {
    3905                 :          37 :         res_op->set_op (FIX_TRUNC_EXPR, type, 1);
    3906                 :          37 :         res_op->ops[0] = captures[0];
    3907                 :          37 :         res_op->resimplify (lseq, valueize);
    3908                 :          37 :         if (UNLIKELY (debug_dump)) gimple_dump_logs ("match.pd", 797, __FILE__, __LINE__, true);
    3909                 :          37 :         return true;
    3910                 :             :       }
    3911                 :           0 : next_after_fail1154:;
    3912                 :             :     }
    3913                 :             :   return false;
    3914                 :             : }
    3915                 :             : 
    3916                 :             : bool
    3917                 :        4097 : gimple_simplify_619 (gimple_match_op *res_op, gimple_seq *seq,
    3918                 :             :                  tree (*valueize)(tree) ATTRIBUTE_UNUSED,
    3919                 :             :                  const tree ARG_UNUSED (type), tree *ARG_UNUSED (captures),
    3920                 :             :  const combined_fn ARG_UNUSED (fmas))
    3921                 :             : {
    3922                 :        4097 :   const bool debug_dump = dump_file && (dump_flags & TDF_FOLDING);
    3923                 :        4097 :   if (canonicalize_math_after_vectorization_p ()
    3924                 :             : )
    3925                 :             :     {
    3926                 :        3423 :       gimple_seq *lseq = seq;
    3927                 :        3423 :       if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail1161;
    3928                 :        3423 :       {
    3929                 :        3423 :         res_op->set_op (CFN_FNMA, type, 3);
    3930                 :        3423 :         res_op->ops[0] = captures[0];
    3931                 :        3423 :         res_op->ops[1] = captures[1];
    3932                 :        3423 :         res_op->ops[2] = captures[2];
    3933                 :        3423 :         res_op->resimplify (lseq, valueize);
    3934                 :        3423 :         if (UNLIKELY (debug_dump)) gimple_dump_logs ("match.pd", 804, __FILE__, __LINE__, true);
    3935                 :        3423 :         return true;
    3936                 :             :       }
    3937                 :           0 : next_after_fail1161:;
    3938                 :             :     }
    3939                 :             :   return false;
    3940                 :             : }
    3941                 :             : 
    3942                 :             : bool
    3943                 :           0 : gimple_simplify_627 (gimple_match_op *res_op, gimple_seq *seq,
    3944                 :             :                  tree (*valueize)(tree) ATTRIBUTE_UNUSED,
    3945                 :             :                  const tree ARG_UNUSED (type), tree *ARG_UNUSED (captures))
    3946                 :             : {
    3947                 :           0 :   const bool debug_dump = dump_file && (dump_flags & TDF_FOLDING);
    3948                 :           0 :   if (canonicalize_math_after_vectorization_p ()
    3949                 :             : )
    3950                 :             :     {
    3951                 :           0 :       gimple_seq *lseq = seq;
    3952                 :           0 :       if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail1169;
    3953                 :           0 :       {
    3954                 :           0 :         res_op->set_op (CFN_FMA, type, 3);
    3955                 :           0 :         res_op->ops[0] = captures[0];
    3956                 :           0 :         res_op->ops[1] = captures[1];
    3957                 :           0 :         res_op->ops[2] = captures[2];
    3958                 :           0 :         res_op->resimplify (lseq, valueize);
    3959                 :           0 :         if (UNLIKELY (debug_dump)) gimple_dump_logs ("match.pd", 812, __FILE__, __LINE__, true);
    3960                 :           0 :         return true;
    3961                 :             :       }
    3962                 :           0 : next_after_fail1169:;
    3963                 :             :     }
    3964                 :             :   return false;
    3965                 :             : }
    3966                 :             : 
    3967                 :             : bool
    3968                 :           6 : gimple_simplify_636 (gimple_match_op *res_op, gimple_seq *seq,
    3969                 :             :                  tree (*valueize)(tree) ATTRIBUTE_UNUSED,
    3970                 :             :                  const tree ARG_UNUSED (type), tree *ARG_UNUSED (captures),
    3971                 :             :  const combined_fn ARG_UNUSED (bswap),
    3972                 :             :  const combined_fn ARG_UNUSED (parity))
    3973                 :             : {
    3974                 :           6 :   const bool debug_dump = dump_file && (dump_flags & TDF_FOLDING);
    3975                 :          12 :   if (INTEGRAL_TYPE_P (TREE_TYPE (captures[0]))
    3976                 :           6 :  && INTEGRAL_TYPE_P (TREE_TYPE (captures[1]))
    3977                 :          12 :  && TYPE_PRECISION (TREE_TYPE (captures[0]))
    3978                 :           6 :  >= TYPE_PRECISION (TREE_TYPE (captures[1]))
    3979                 :             : )
    3980                 :             :     {
    3981                 :           6 :       {
    3982                 :           6 :  tree type0 = TREE_TYPE (captures[0]);
    3983                 :           6 :  tree type1 = TREE_TYPE (captures[1]);
    3984                 :           6 :           gimple_seq *lseq = seq;
    3985                 :           6 :           if (lseq
    3986                 :           3 :               && (!single_use (captures[1])))
    3987                 :           3 :             lseq = NULL;
    3988                 :           6 :           if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail1183;
    3989                 :           6 :           {
    3990                 :           6 :             res_op->set_op (parity, type, 1);
    3991                 :           6 :             {
    3992                 :           6 :               tree _o1[1], _r1;
    3993                 :           6 :               {
    3994                 :           6 :                 tree _o2[1], _r2;
    3995                 :           6 :                 _o2[0] = captures[2];
    3996                 :           6 :                 if (type1 != TREE_TYPE (_o2[0])
    3997                 :           6 :                     && !useless_type_conversion_p (type1, TREE_TYPE (_o2[0])))
    3998                 :             :                   {
    3999                 :           6 :                     gimple_match_op tem_op (res_op->cond.any_else (), NOP_EXPR, type1, _o2[0]);
    4000                 :           6 :                     tem_op.resimplify (lseq, valueize);
    4001                 :           6 :                     _r2 = maybe_push_res_to_seq (&tem_op, lseq);
    4002                 :           6 :                     if (!_r2) goto next_after_fail1183;
    4003                 :             :                   }
    4004                 :             :                 else
    4005                 :             :                   _r2 = _o2[0];
    4006                 :           6 :                 _o1[0] = _r2;
    4007                 :             :               }
    4008                 :           6 :               if (type0 != TREE_TYPE (_o1[0])
    4009                 :           6 :                   && !useless_type_conversion_p (type0, TREE_TYPE (_o1[0])))
    4010                 :             :                 {
    4011                 :           6 :                   gimple_match_op tem_op (res_op->cond.any_else (), NOP_EXPR, type0, _o1[0]);
    4012                 :           6 :                   tem_op.resimplify (lseq, valueize);
    4013                 :           6 :                   _r1 = maybe_push_res_to_seq (&tem_op, lseq);
    4014                 :           6 :                   if (!_r1) goto next_after_fail1183;
    4015                 :             :                 }
    4016                 :             :               else
    4017                 :             :                 _r1 = _o1[0];
    4018                 :           3 :               res_op->ops[0] = _r1;
    4019                 :             :             }
    4020                 :           3 :             res_op->resimplify (lseq, valueize);
    4021                 :           3 :             if (UNLIKELY (debug_dump)) gimple_dump_logs ("match.pd", 824, __FILE__, __LINE__, true);
    4022                 :           3 :             return true;
    4023                 :             :           }
    4024                 :             : next_after_fail1183:;
    4025                 :             :       }
    4026                 :             :     }
    4027                 :             :   return false;
    4028                 :             : }
    4029                 :             : 
    4030                 :             : bool
    4031                 :           0 : gimple_simplify_643 (gimple_match_op *res_op, gimple_seq *seq,
    4032                 :             :                  tree (*valueize)(tree) ATTRIBUTE_UNUSED,
    4033                 :             :                  const tree ARG_UNUSED (type), tree *ARG_UNUSED (captures),
    4034                 :             :  const combined_fn ARG_UNUSED (uncond_op),
    4035                 :             :  const combined_fn ARG_UNUSED (cond_op))
    4036                 :             : {
    4037                 :           0 :   const bool debug_dump = dump_file && (dump_flags & TDF_FOLDING);
    4038                 :           0 :   {
    4039                 :           0 :  tree op_type = TREE_TYPE (captures[1]);
    4040                 :           0 :       if (vectorized_internal_fn_supported_p (as_internal_fn (cond_op), op_type)
    4041                 :           0 :  && is_truth_type_for (op_type, TREE_TYPE (captures[0]))
    4042                 :           0 :  && single_use (captures[1])
    4043                 :             : )
    4044                 :             :         {
    4045                 :           0 :           gimple_seq *lseq = seq;
    4046                 :           0 :           if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail1194;
    4047                 :           0 :           {
    4048                 :           0 :             res_op->set_op (VIEW_CONVERT_EXPR, type, 1);
    4049                 :           0 :             {
    4050                 :           0 :               tree _o1[7], _r1;
    4051                 :           0 :               _o1[0] = captures[0];
    4052                 :           0 :               _o1[1] = captures[2];
    4053                 :           0 :               _o1[2] = captures[3];
    4054                 :           0 :               _o1[3] = captures[4];
    4055                 :           0 :               {
    4056                 :           0 :                 tree _o2[1], _r2;
    4057                 :           0 :                 _o2[0] = captures[5];
    4058                 :           0 :                 gimple_match_op tem_op (res_op->cond.any_else (), VIEW_CONVERT_EXPR, op_type, _o2[0]);
    4059                 :           0 :                 tem_op.resimplify (lseq, valueize);
    4060                 :           0 :                 _r2 = maybe_push_res_to_seq (&tem_op, lseq);
    4061                 :           0 :                 if (!_r2) goto next_after_fail1194;
    4062                 :           0 :                 _o1[4] = _r2;
    4063                 :             :               }
    4064                 :           0 :               _o1[5] = captures[6];
    4065                 :           0 :               _o1[6] = captures[7];
    4066                 :           0 :               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], _o1[5], _o1[6]);
    4067                 :           0 :               tem_op.resimplify (lseq, valueize);
    4068                 :           0 :               _r1 = maybe_push_res_to_seq (&tem_op, lseq);
    4069                 :           0 :               if (!_r1) goto next_after_fail1194;
    4070                 :           0 :               res_op->ops[0] = _r1;
    4071                 :             :             }
    4072                 :           0 :             res_op->resimplify (lseq, valueize);
    4073                 :           0 :             if (UNLIKELY (debug_dump)) gimple_dump_logs ("match.pd", 833, __FILE__, __LINE__, true);
    4074                 :           0 :             return true;
    4075                 :             :           }
    4076                 :             : next_after_fail1194:;
    4077                 :             :         }
    4078                 :             :   }
    4079                 :             :   return false;
    4080                 :             : }
    4081                 :             : 
    4082                 :             : bool
    4083                 :        3256 : gimple_simplify_CFN_BUILT_IN_COSF (gimple_match_op *res_op, gimple_seq *seq,
    4084                 :             :                  tree (*valueize)(tree) ATTRIBUTE_UNUSED,
    4085                 :             :                  code_helper ARG_UNUSED (code), tree ARG_UNUSED (type), tree _p0)
    4086                 :             : {
    4087                 :        3256 :   const bool debug_dump = dump_file && (dump_flags & TDF_FOLDING);
    4088                 :        3256 :   switch (TREE_CODE (_p0))
    4089                 :             :     {
    4090                 :        3131 :     case SSA_NAME:
    4091                 :        3131 :       if (gimple *_d1 = get_def (valueize, _p0))
    4092                 :             :         {
    4093                 :        1798 :           if (gassign *_a1 = dyn_cast <gassign *> (_d1))
    4094                 :        1745 :             switch (gimple_assign_rhs_code (_a1))
    4095                 :             :               {
    4096                 :          26 :               case NEGATE_EXPR:
    4097                 :          26 :                 {
    4098                 :          26 :                   tree _q20 = gimple_assign_rhs1 (_a1);
    4099                 :          26 :                   _q20 = do_valueize (valueize, _q20);
    4100                 :          26 :                   {
    4101                 :          26 :                     tree captures[1] ATTRIBUTE_UNUSED = { _q20 };
    4102                 :          26 :                     const combined_fn coss = CFN_BUILT_IN_COSF;
    4103                 :          26 :                     gimple_seq *lseq = seq;
    4104                 :          26 :                     if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail1228;
    4105                 :          26 :                     {
    4106                 :          26 :                       res_op->set_op (coss, type, 1);
    4107                 :          26 :                       res_op->ops[0] = captures[0];
    4108                 :          26 :                       res_op->resimplify (lseq, valueize);
    4109                 :          26 :                       if (UNLIKELY (debug_dump)) gimple_dump_logs ("match.pd", 860, __FILE__, __LINE__, true);
    4110                 :          26 :                       return true;
    4111                 :             :                     }
    4112                 :           0 : next_after_fail1228:;
    4113                 :             :                   }
    4114                 :           0 :                   break;
    4115                 :             :                 }
    4116                 :           6 :               case ABS_EXPR:
    4117                 :           6 :                 {
    4118                 :           6 :                   tree _q20 = gimple_assign_rhs1 (_a1);
    4119                 :           6 :                   _q20 = do_valueize (valueize, _q20);
    4120                 :           6 :                   {
    4121                 :           6 :                     tree captures[1] ATTRIBUTE_UNUSED = { _q20 };
    4122                 :           6 :                     const combined_fn coss = CFN_BUILT_IN_COSF;
    4123                 :           6 :                     gimple_seq *lseq = seq;
    4124                 :           6 :                     if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail1229;
    4125                 :           6 :                     {
    4126                 :           6 :                       res_op->set_op (coss, type, 1);
    4127                 :           6 :                       res_op->ops[0] = captures[0];
    4128                 :           6 :                       res_op->resimplify (lseq, valueize);
    4129                 :           6 :                       if (UNLIKELY (debug_dump)) gimple_dump_logs ("match.pd", 860, __FILE__, __LINE__, true);
    4130                 :           6 :                       return true;
    4131                 :             :                     }
    4132                 :           0 : next_after_fail1229:;
    4133                 :             :                   }
    4134                 :           0 :                   break;
    4135                 :             :                 }
    4136                 :             :               default:;
    4137                 :             :               }
    4138                 :         535 :           else if (gcall *_c1 = dyn_cast <gcall *> (_d1))
    4139                 :         180 :             switch (gimple_call_combined_fn (_c1))
    4140                 :             :               {
    4141                 :           0 :               case CFN_BUILT_IN_COPYSIGN:
    4142                 :           0 :                 if (gimple_call_num_args (_c1) == 2)
    4143                 :             :                   {
    4144                 :           0 :                     tree _q20 = gimple_call_arg (_c1, 0);
    4145                 :           0 :                     _q20 = do_valueize (valueize, _q20);
    4146                 :           0 :                     tree _q21 = gimple_call_arg (_c1, 1);
    4147                 :           0 :                     _q21 = do_valueize (valueize, _q21);
    4148                 :           0 :                     {
    4149                 :           0 :                       tree captures[2] ATTRIBUTE_UNUSED = { _q20, _q21 };
    4150                 :           0 :                       if (gimple_simplify_398 (res_op, seq, valueize, type, captures, CFN_BUILT_IN_COPYSIGN, CFN_BUILT_IN_COSF))
    4151                 :           0 :                         return true;
    4152                 :             :                     }
    4153                 :             :                   }
    4154                 :             :                 break;
    4155                 :           4 :               case CFN_BUILT_IN_COPYSIGNF:
    4156                 :           4 :                 if (gimple_call_num_args (_c1) == 2)
    4157                 :             :                   {
    4158                 :           4 :                     tree _q20 = gimple_call_arg (_c1, 0);
    4159                 :           4 :                     _q20 = do_valueize (valueize, _q20);
    4160                 :           4 :                     tree _q21 = gimple_call_arg (_c1, 1);
    4161                 :           4 :                     _q21 = do_valueize (valueize, _q21);
    4162                 :           4 :                     {
    4163                 :           4 :                       tree captures[2] ATTRIBUTE_UNUSED = { _q20, _q21 };
    4164                 :           4 :                       if (gimple_simplify_398 (res_op, seq, valueize, type, captures, CFN_BUILT_IN_COPYSIGNF, CFN_BUILT_IN_COSF))
    4165                 :           4 :                         return true;
    4166                 :             :                     }
    4167                 :             :                   }
    4168                 :             :                 break;
    4169                 :           0 :               case CFN_BUILT_IN_COPYSIGNL:
    4170                 :           0 :                 if (gimple_call_num_args (_c1) == 2)
    4171                 :             :                   {
    4172                 :           0 :                     tree _q20 = gimple_call_arg (_c1, 0);
    4173                 :           0 :                     _q20 = do_valueize (valueize, _q20);
    4174                 :           0 :                     tree _q21 = gimple_call_arg (_c1, 1);
    4175                 :           0 :                     _q21 = do_valueize (valueize, _q21);
    4176                 :           0 :                     {
    4177                 :           0 :                       tree captures[2] ATTRIBUTE_UNUSED = { _q20, _q21 };
    4178                 :           0 :                       if (gimple_simplify_398 (res_op, seq, valueize, type, captures, CFN_BUILT_IN_COPYSIGNL, CFN_BUILT_IN_COSF))
    4179                 :           0 :                         return true;
    4180                 :             :                     }
    4181                 :             :                   }
    4182                 :             :                 break;
    4183                 :          12 :               case CFN_BUILT_IN_ATANF:
    4184                 :          12 :                 if (gimple_call_num_args (_c1) == 1)
    4185                 :             :                   {
    4186                 :          12 :                     tree _q20 = gimple_call_arg (_c1, 0);
    4187                 :          12 :                     _q20 = do_valueize (valueize, _q20);
    4188                 :          12 :                     {
    4189                 :          12 :                       tree captures[2] ATTRIBUTE_UNUSED = { _p0, _q20 };
    4190                 :          12 :                       if (gimple_simplify_399 (res_op, seq, valueize, type, captures, CFN_BUILT_IN_COSF, CFN_BUILT_IN_ATANF, CFN_BUILT_IN_SQRTF, CFN_BUILT_IN_COPYSIGNF))
    4191                 :           2 :                         return true;
    4192                 :             :                     }
    4193                 :             :                   }
    4194                 :             :                 break;
    4195                 :           4 :               case CFN_COPYSIGN:
    4196                 :           4 :                 if (gimple_call_num_args (_c1) == 2)
    4197                 :             :                   {
    4198                 :           4 :                     tree _q20 = gimple_call_arg (_c1, 0);
    4199                 :           4 :                     _q20 = do_valueize (valueize, _q20);
    4200                 :           4 :                     tree _q21 = gimple_call_arg (_c1, 1);
    4201                 :           4 :                     _q21 = do_valueize (valueize, _q21);
    4202                 :           4 :                     {
    4203                 :           4 :                       tree captures[2] ATTRIBUTE_UNUSED = { _q20, _q21 };
    4204                 :           4 :                       if (gimple_simplify_398 (res_op, seq, valueize, type, captures, CFN_COPYSIGN, CFN_BUILT_IN_COSF))
    4205                 :           4 :                         return true;
    4206                 :             :                     }
    4207                 :             :                   }
    4208                 :             :                 break;
    4209                 :             :               default:;
    4210                 :             :               }
    4211                 :             :         }
    4212                 :             :       break;
    4213                 :             :     default:;
    4214                 :             :     }
    4215                 :             :   return false;
    4216                 :             : }
    4217                 :             : 
    4218                 :             : bool
    4219                 :        1467 : gimple_simplify_CFN_BUILT_IN_COSHL (gimple_match_op *res_op, gimple_seq *seq,
    4220                 :             :                  tree (*valueize)(tree) ATTRIBUTE_UNUSED,
    4221                 :             :                  code_helper ARG_UNUSED (code), tree ARG_UNUSED (type), tree _p0)
    4222                 :             : {
    4223                 :        1467 :   const bool debug_dump = dump_file && (dump_flags & TDF_FOLDING);
    4224                 :        1467 :   switch (TREE_CODE (_p0))
    4225                 :             :     {
    4226                 :        1399 :     case SSA_NAME:
    4227                 :        1399 :       if (gimple *_d1 = get_def (valueize, _p0))
    4228                 :             :         {
    4229                 :         652 :           if (gassign *_a1 = dyn_cast <gassign *> (_d1))
    4230                 :         326 :             switch (gimple_assign_rhs_code (_a1))
    4231                 :             :               {
    4232                 :          14 :               case NEGATE_EXPR:
    4233                 :          14 :                 {
    4234                 :          14 :                   tree _q20 = gimple_assign_rhs1 (_a1);
    4235                 :          14 :                   _q20 = do_valueize (valueize, _q20);
    4236                 :          14 :                   {
    4237                 :          14 :                     tree captures[1] ATTRIBUTE_UNUSED = { _q20 };
    4238                 :          14 :                     const combined_fn coss = CFN_BUILT_IN_COSHL;
    4239                 :          14 :                     gimple_seq *lseq = seq;
    4240                 :          14 :                     if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail1240;
    4241                 :          14 :                     {
    4242                 :          14 :                       res_op->set_op (coss, type, 1);
    4243                 :          14 :                       res_op->ops[0] = captures[0];
    4244                 :          14 :                       res_op->resimplify (lseq, valueize);
    4245                 :          14 :                       if (UNLIKELY (debug_dump)) gimple_dump_logs ("match.pd", 860, __FILE__, __LINE__, true);
    4246                 :          14 :                       return true;
    4247                 :             :                     }
    4248                 :           0 : next_after_fail1240:;
    4249                 :             :                   }
    4250                 :           0 :                   break;
    4251                 :             :                 }
    4252                 :           0 :               case ABS_EXPR:
    4253                 :           0 :                 {
    4254                 :           0 :                   tree _q20 = gimple_assign_rhs1 (_a1);
    4255                 :           0 :                   _q20 = do_valueize (valueize, _q20);
    4256                 :           0 :                   {
    4257                 :           0 :                     tree captures[1] ATTRIBUTE_UNUSED = { _q20 };
    4258                 :           0 :                     const combined_fn coss = CFN_BUILT_IN_COSHL;
    4259                 :           0 :                     gimple_seq *lseq = seq;
    4260                 :           0 :                     if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail1241;
    4261                 :           0 :                     {
    4262                 :           0 :                       res_op->set_op (coss, type, 1);
    4263                 :           0 :                       res_op->ops[0] = captures[0];
    4264                 :           0 :                       res_op->resimplify (lseq, valueize);
    4265                 :           0 :                       if (UNLIKELY (debug_dump)) gimple_dump_logs ("match.pd", 860, __FILE__, __LINE__, true);
    4266                 :           0 :                       return true;
    4267                 :             :                     }
    4268                 :           0 : next_after_fail1241:;
    4269                 :             :                   }
    4270                 :           0 :                   break;
    4271                 :             :                 }
    4272                 :             :               default:;
    4273                 :             :               }
    4274                 :         370 :           else if (gcall *_c1 = dyn_cast <gcall *> (_d1))
    4275                 :          16 :             switch (gimple_call_combined_fn (_c1))
    4276                 :             :               {
    4277                 :           0 :               case CFN_BUILT_IN_COPYSIGN:
    4278                 :           0 :                 if (gimple_call_num_args (_c1) == 2)
    4279                 :             :                   {
    4280                 :           0 :                     tree _q20 = gimple_call_arg (_c1, 0);
    4281                 :           0 :                     _q20 = do_valueize (valueize, _q20);
    4282                 :           0 :                     tree _q21 = gimple_call_arg (_c1, 1);
    4283                 :           0 :                     _q21 = do_valueize (valueize, _q21);
    4284                 :           0 :                     {
    4285                 :           0 :                       tree captures[2] ATTRIBUTE_UNUSED = { _q20, _q21 };
    4286                 :           0 :                       if (gimple_simplify_398 (res_op, seq, valueize, type, captures, CFN_BUILT_IN_COPYSIGN, CFN_BUILT_IN_COSHL))
    4287                 :           0 :                         return true;
    4288                 :             :                     }
    4289                 :             :                   }
    4290                 :             :                 break;
    4291                 :           0 :               case CFN_BUILT_IN_COPYSIGNF:
    4292                 :           0 :                 if (gimple_call_num_args (_c1) == 2)
    4293                 :             :                   {
    4294                 :           0 :                     tree _q20 = gimple_call_arg (_c1, 0);
    4295                 :           0 :                     _q20 = do_valueize (valueize, _q20);
    4296                 :           0 :                     tree _q21 = gimple_call_arg (_c1, 1);
    4297                 :           0 :                     _q21 = do_valueize (valueize, _q21);
    4298                 :           0 :                     {
    4299                 :           0 :                       tree captures[2] ATTRIBUTE_UNUSED = { _q20, _q21 };
    4300                 :           0 :                       if (gimple_simplify_398 (res_op, seq, valueize, type, captures, CFN_BUILT_IN_COPYSIGNF, CFN_BUILT_IN_COSHL))
    4301                 :           0 :                         return true;
    4302                 :             :                     }
    4303                 :             :                   }
    4304                 :             :                 break;
    4305                 :           0 :               case CFN_BUILT_IN_COPYSIGNL:
    4306                 :           0 :                 if (gimple_call_num_args (_c1) == 2)
    4307                 :             :                   {
    4308                 :           0 :                     tree _q20 = gimple_call_arg (_c1, 0);
    4309                 :           0 :                     _q20 = do_valueize (valueize, _q20);
    4310                 :           0 :                     tree _q21 = gimple_call_arg (_c1, 1);
    4311                 :           0 :                     _q21 = do_valueize (valueize, _q21);
    4312                 :           0 :                     {
    4313                 :           0 :                       tree captures[2] ATTRIBUTE_UNUSED = { _q20, _q21 };
    4314                 :           0 :                       if (gimple_simplify_398 (res_op, seq, valueize, type, captures, CFN_BUILT_IN_COPYSIGNL, CFN_BUILT_IN_COSHL))
    4315                 :           0 :                         return true;
    4316                 :             :                     }
    4317                 :             :                   }
    4318                 :             :                 break;
    4319                 :          16 :               case CFN_BUILT_IN_ATANHL:
    4320                 :          16 :                 if (gimple_call_num_args (_c1) == 1)
    4321                 :             :                   {
    4322                 :          16 :                     tree _q20 = gimple_call_arg (_c1, 0);
    4323                 :          16 :                     _q20 = do_valueize (valueize, _q20);
    4324                 :          16 :                     {
    4325                 :          16 :                       tree captures[2] ATTRIBUTE_UNUSED = { _p0, _q20 };
    4326                 :          16 :                       if (gimple_simplify_400 (res_op, seq, valueize, type, captures, CFN_BUILT_IN_COSHL, CFN_BUILT_IN_ATANHL, CFN_BUILT_IN_SQRTL))
    4327                 :           1 :                         return true;
    4328                 :             :                     }
    4329                 :             :                   }
    4330                 :             :                 break;
    4331                 :           0 :               case CFN_COPYSIGN:
    4332                 :           0 :                 if (gimple_call_num_args (_c1) == 2)
    4333                 :             :                   {
    4334                 :           0 :                     tree _q20 = gimple_call_arg (_c1, 0);
    4335                 :           0 :                     _q20 = do_valueize (valueize, _q20);
    4336                 :           0 :                     tree _q21 = gimple_call_arg (_c1, 1);
    4337                 :           0 :                     _q21 = do_valueize (valueize, _q21);
    4338                 :           0 :                     {
    4339                 :           0 :                       tree captures[2] ATTRIBUTE_UNUSED = { _q20, _q21 };
    4340                 :           0 :                       if (gimple_simplify_398 (res_op, seq, valueize, type, captures, CFN_COPYSIGN, CFN_BUILT_IN_COSHL))
    4341                 :           0 :                         return true;
    4342                 :             :                     }
    4343                 :             :                   }
    4344                 :             :                 break;
    4345                 :             :               default:;
    4346                 :             :               }
    4347                 :             :         }
    4348                 :             :       break;
    4349                 :             :     default:;
    4350                 :             :     }
    4351                 :             :   return false;
    4352                 :             : }
    4353                 :             : 
    4354                 :             : bool
    4355                 :       17368 : gimple_simplify_ABSU_EXPR (gimple_match_op *res_op, gimple_seq *seq,
    4356                 :             :                  tree (*valueize)(tree) ATTRIBUTE_UNUSED,
    4357                 :             :                  code_helper ARG_UNUSED (code), tree ARG_UNUSED (type), tree _p0)
    4358                 :             : {
    4359                 :       17368 :   const bool debug_dump = dump_file && (dump_flags & TDF_FOLDING);
    4360                 :       17368 :   switch (TREE_CODE (_p0))
    4361                 :             :     {
    4362                 :       16959 :     case SSA_NAME:
    4363                 :       16959 :       if (gimple *_d1 = get_def (valueize, _p0))
    4364                 :             :         {
    4365                 :       11567 :           if (gassign *_a1 = dyn_cast <gassign *> (_d1))
    4366                 :       15892 :             switch (gimple_assign_rhs_code (_a1))
    4367                 :             :               {
    4368                 :        3323 :               CASE_CONVERT:
    4369                 :        3323 :                 {
    4370                 :        3323 :                   tree _q20 = gimple_assign_rhs1 (_a1);
    4371                 :        3323 :                   _q20 = do_valueize (valueize, _q20);
    4372                 :        3323 :                   switch (TREE_CODE (_q20))
    4373                 :             :                     {
    4374                 :        3323 :                     case SSA_NAME:
    4375                 :        3323 :                       if (gimple *_d2 = get_def (valueize, _q20))
    4376                 :             :                         {
    4377                 :        3208 :                           if (gassign *_a2 = dyn_cast <gassign *> (_d2))
    4378                 :        2946 :                             switch (gimple_assign_rhs_code (_a2))
    4379                 :             :                               {
    4380                 :           1 :                               case ABSU_EXPR:
    4381                 :           1 :                                 {
    4382                 :           1 :                                   tree _q30 = gimple_assign_rhs1 (_a2);
    4383                 :           1 :                                   _q30 = do_valueize (valueize, _q30);
    4384                 :           1 :                                   {
    4385                 :           1 :                                     tree captures[3] ATTRIBUTE_UNUSED = { _p0, _q20, _q30 };
    4386                 :           1 :                                     if (tree_nop_conversion_p (TREE_TYPE (captures[0]), TREE_TYPE (captures[1]))
    4387                 :             : )
    4388                 :             :                                       {
    4389                 :           1 :                                         gimple_seq *lseq = seq;
    4390                 :           1 :                                         if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail1286;
    4391                 :           1 :                                         {
    4392                 :           1 :                                           tree tem;
    4393                 :           1 :                                           tem = captures[1];
    4394                 :           1 :                                           res_op->set_value (tem);
    4395                 :           1 :                                           if (UNLIKELY (debug_dump)) gimple_dump_logs ("match.pd", 883, __FILE__, __LINE__, true);
    4396                 :           1 :                                           return true;
    4397                 :             :                                         }
    4398                 :           0 : next_after_fail1286:;
    4399                 :             :                                       }
    4400                 :             :                                   }
    4401                 :           0 :                                   break;
    4402                 :             :                                 }
    4403                 :             :                               default:;
    4404                 :             :                               }
    4405                 :             :                         }
    4406                 :             :                       break;
    4407                 :             :                     default:;
    4408                 :             :                     }
    4409                 :             :                   break;
    4410                 :             :                 }
    4411                 :          38 :               case NEGATE_EXPR:
    4412                 :          38 :                 {
    4413                 :          38 :                   tree _q20 = gimple_assign_rhs1 (_a1);
    4414                 :          38 :                   _q20 = do_valueize (valueize, _q20);
    4415                 :          38 :                   {
    4416                 :          38 :                     tree captures[1] ATTRIBUTE_UNUSED = { _q20 };
    4417                 :          38 :                     gimple_seq *lseq = seq;
    4418                 :          38 :                     if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail1287;
    4419                 :          38 :                     {
    4420                 :          38 :                       res_op->set_op (ABSU_EXPR, type, 1);
    4421                 :          38 :                       res_op->ops[0] = captures[0];
    4422                 :          38 :                       res_op->resimplify (lseq, valueize);
    4423                 :          38 :                       if (UNLIKELY (debug_dump)) gimple_dump_logs ("match.pd", 884, __FILE__, __LINE__, true);
    4424                 :          38 :                       return true;
    4425                 :             :                     }
    4426                 :           0 : next_after_fail1287:;
    4427                 :             :                   }
    4428                 :           0 :                   break;
    4429                 :             :                 }
    4430                 :           0 :               case VEC_COND_EXPR:
    4431                 :           0 :                 {
    4432                 :           0 :                   tree _q20 = gimple_assign_rhs1 (_a1);
    4433                 :           0 :                   _q20 = do_valueize (valueize, _q20);
    4434                 :           0 :                   tree _q21 = gimple_assign_rhs2 (_a1);
    4435                 :           0 :                   _q21 = do_valueize (valueize, _q21);
    4436                 :           0 :                   tree _q22 = gimple_assign_rhs3 (_a1);
    4437                 :           0 :                   _q22 = do_valueize (valueize, _q22);
    4438                 :           0 :                   {
    4439                 :           0 :                     tree captures[4] ATTRIBUTE_UNUSED = { _p0, _q20, _q21, _q22 };
    4440                 :           0 :                     gimple_seq *lseq = seq;
    4441                 :           0 :                     if (lseq
    4442                 :           0 :                         && (!single_use (captures[0])))
    4443                 :           0 :                       lseq = NULL;
    4444                 :           0 :                     if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail1288;
    4445                 :           0 :                     {
    4446                 :           0 :                       res_op->set_op (VEC_COND_EXPR, type, 3);
    4447                 :           0 :                       res_op->ops[0] = captures[1];
    4448                 :           0 :                       {
    4449                 :           0 :                         tree _o1[1], _r1;
    4450                 :           0 :                         _o1[0] = captures[2];
    4451                 :           0 :                         gimple_match_op tem_op (res_op->cond.any_else (), ABSU_EXPR, TREE_TYPE (_o1[0]), _o1[0]);
    4452                 :           0 :                         tem_op.resimplify (NULL, valueize);
    4453                 :           0 :                         _r1 = maybe_push_res_to_seq (&tem_op, NULL);
    4454                 :           0 :                         if (!_r1) goto next_after_fail1288;
    4455                 :           0 :                         res_op->ops[1] = _r1;
    4456                 :             :                       }
    4457                 :           0 :                       {
    4458                 :           0 :                         tree _o1[1], _r1;
    4459                 :           0 :                         _o1[0] = captures[3];
    4460                 :           0 :                         gimple_match_op tem_op (res_op->cond.any_else (), ABSU_EXPR, TREE_TYPE (_o1[0]), _o1[0]);
    4461                 :           0 :                         tem_op.resimplify (NULL, valueize);
    4462                 :           0 :                         _r1 = maybe_push_res_to_seq (&tem_op, NULL);
    4463                 :           0 :                         if (!_r1) goto next_after_fail1288;
    4464                 :           0 :                         res_op->ops[2] = _r1;
    4465                 :             :                       }
    4466                 :           0 :                       res_op->resimplify (lseq, valueize);
    4467                 :           0 :                       if (UNLIKELY (debug_dump)) gimple_dump_logs ("match.pd", 842, __FILE__, __LINE__, true);
    4468                 :           0 :                       return true;
    4469                 :             :                     }
    4470                 :           0 : next_after_fail1288:;
    4471                 :             :                   }
    4472                 :           0 :                   break;
    4473                 :             :                 }
    4474                 :             :               default:;
    4475                 :             :               }
    4476                 :             :         }
    4477                 :             :       break;
    4478                 :       17329 :     default:;
    4479                 :             :     }
    4480                 :       17329 : if (tree_expr_nonnegative_p (_p0))
    4481                 :             :   {
    4482                 :           6 :     {
    4483                 :           6 :       tree captures[1] ATTRIBUTE_UNUSED = { _p0 };
    4484                 :           6 :       gimple_seq *lseq = seq;
    4485                 :           6 :       if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail1289;
    4486                 :           6 :       {
    4487                 :           6 :         res_op->set_op (NOP_EXPR, type, 1);
    4488                 :           6 :         res_op->ops[0] = captures[0];
    4489                 :           6 :         res_op->resimplify (lseq, valueize);
    4490                 :           6 :         if (UNLIKELY (debug_dump)) gimple_dump_logs ("match.pd", 885, __FILE__, __LINE__, true);
    4491                 :           6 :         return true;
    4492                 :             :       }
    4493                 :           0 : next_after_fail1289:;
    4494                 :             :     }
    4495                 :             :   }
    4496                 :             :   return false;
    4497                 :             : }
    4498                 :             : 
    4499                 :             : bool
    4500                 :        4158 : gimple_simplify_CONJ_EXPR (gimple_match_op *res_op, gimple_seq *seq,
    4501                 :             :                  tree (*valueize)(tree) ATTRIBUTE_UNUSED,
    4502                 :             :                  code_helper ARG_UNUSED (code), tree ARG_UNUSED (type), tree _p0)
    4503                 :             : {
    4504                 :        4158 :   const bool debug_dump = dump_file && (dump_flags & TDF_FOLDING);
    4505                 :        4158 :   switch (TREE_CODE (_p0))
    4506                 :             :     {
    4507                 :        4062 :     case SSA_NAME:
    4508                 :        4062 :       if (gimple *_d1 = get_def (valueize, _p0))
    4509                 :             :         {
    4510                 :        3262 :           if (gassign *_a1 = dyn_cast <gassign *> (_d1))
    4511                 :        5609 :             switch (gimple_assign_rhs_code (_a1))
    4512                 :             :               {
    4513                 :           0 :               CASE_CONVERT:
    4514                 :           0 :                 {
    4515                 :           0 :                   tree _q20 = gimple_assign_rhs1 (_a1);
    4516                 :           0 :                   _q20 = do_valueize (valueize, _q20);
    4517                 :           0 :                   switch (TREE_CODE (_q20))
    4518                 :             :                     {
    4519                 :           0 :                     case SSA_NAME:
    4520                 :           0 :                       if (gimple *_d2 = get_def (valueize, _q20))
    4521                 :             :                         {
    4522                 :           0 :                           if (gassign *_a2 = dyn_cast <gassign *> (_d2))
    4523                 :           0 :                             switch (gimple_assign_rhs_code (_a2))
    4524                 :             :                               {
    4525                 :           0 :                               case CONJ_EXPR:
    4526                 :           0 :                                 {
    4527                 :           0 :                                   tree _q30 = gimple_assign_rhs1 (_a2);
    4528                 :           0 :                                   _q30 = do_valueize (valueize, _q30);
    4529                 :           0 :                                   {
    4530                 :           0 :                                     tree captures[1] ATTRIBUTE_UNUSED = { _q30 };
    4531                 :           0 :                                     if (gimple_simplify_570 (res_op, seq, valueize, type, captures))
    4532                 :           0 :                                       return true;
    4533                 :             :                                   }
    4534                 :           0 :                                   break;
    4535                 :             :                                 }
    4536                 :           0 :                               case COMPLEX_EXPR:
    4537                 :           0 :                                 {
    4538                 :           0 :                                   tree _q30 = gimple_assign_rhs1 (_a2);
    4539                 :           0 :                                   _q30 = do_valueize (valueize, _q30);
    4540                 :           0 :                                   tree _q31 = gimple_assign_rhs2 (_a2);
    4541                 :           0 :                                   _q31 = do_valueize (valueize, _q31);
    4542                 :           0 :                                   {
    4543                 :           0 :                                     tree captures[4] ATTRIBUTE_UNUSED = { _p0, _q20, _q30, _q31 };
    4544                 :           0 :                                     {
    4545                 :           0 :  tree itype = TREE_TYPE (type);
    4546                 :           0 :                                         gimple_seq *lseq = seq;
    4547                 :           0 :                                         if (lseq
    4548                 :           0 :                                             && (!single_use (captures[0])
    4549                 :           0 :                                                 || !single_use (captures[1])))
    4550                 :           0 :                                           lseq = NULL;
    4551                 :           0 :                                         if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail1356;
    4552                 :           0 :                                         {
    4553                 :           0 :                                           res_op->set_op (COMPLEX_EXPR, type, 2);
    4554                 :           0 :                                           {
    4555                 :           0 :                                             tree _o1[1], _r1;
    4556                 :           0 :                                             _o1[0] = captures[2];
    4557                 :           0 :                                             if (itype != TREE_TYPE (_o1[0])
    4558                 :           0 :                                                 && !useless_type_conversion_p (itype, TREE_TYPE (_o1[0])))
    4559                 :             :                                               {
    4560                 :           0 :                                                 gimple_match_op tem_op (res_op->cond.any_else (), NOP_EXPR, itype, _o1[0]);
    4561                 :           0 :                                                 tem_op.resimplify (lseq, valueize);
    4562                 :           0 :                                                 _r1 = maybe_push_res_to_seq (&tem_op, lseq);
    4563                 :           0 :                                                 if (!_r1) goto next_after_fail1356;
    4564                 :             :                                               }
    4565                 :             :                                             else
    4566                 :             :                                               _r1 = _o1[0];
    4567                 :           0 :                                             res_op->ops[0] = _r1;
    4568                 :             :                                           }
    4569                 :           0 :                                           {
    4570                 :           0 :                                             tree _o1[1], _r1;
    4571                 :           0 :                                             {
    4572                 :           0 :                                               tree _o2[1], _r2;
    4573                 :           0 :                                               _o2[0] = captures[3];
    4574                 :           0 :                                               if (itype != TREE_TYPE (_o2[0])
    4575                 :           0 :                                                   && !useless_type_conversion_p (itype, TREE_TYPE (_o2[0])))
    4576                 :             :                                                 {
    4577                 :           0 :                                                   gimple_match_op tem_op (res_op->cond.any_else (), NOP_EXPR, itype, _o2[0]);
    4578                 :           0 :                                                   tem_op.resimplify (lseq, valueize);
    4579                 :           0 :                                                   _r2 = maybe_push_res_to_seq (&tem_op, lseq);
    4580                 :           0 :                                                   if (!_r2) goto next_after_fail1356;
    4581                 :             :                                                 }
    4582                 :             :                                               else
    4583                 :             :                                                 _r2 = _o2[0];
    4584                 :           0 :                                               _o1[0] = _r2;
    4585                 :             :                                             }
    4586                 :           0 :                                             gimple_match_op tem_op (res_op->cond.any_else (), NEGATE_EXPR, TREE_TYPE (_o1[0]), _o1[0]);
    4587                 :           0 :                                             tem_op.resimplify (lseq, valueize);
    4588                 :           0 :                                             _r1 = maybe_push_res_to_seq (&tem_op, lseq);
    4589                 :           0 :                                             if (!_r1) goto next_after_fail1356;
    4590                 :           0 :                                             res_op->ops[1] = _r1;
    4591                 :             :                                           }
    4592                 :           0 :                                           res_op->resimplify (lseq, valueize);
    4593                 :           0 :                                           if (UNLIKELY (debug_dump)) gimple_dump_logs ("match.pd", 902, __FILE__, __LINE__, true);
    4594                 :           0 :                                           return true;
    4595                 :             :                                         }
    4596                 :           0 : next_after_fail1356:;
    4597                 :             :                                     }
    4598                 :             :                                   }
    4599                 :           0 :                                   break;
    4600                 :             :                                 }
    4601                 :             :                               default:;
    4602                 :             :                               }
    4603                 :             :                         }
    4604                 :             :                       break;
    4605                 :             :                     default:;
    4606                 :             :                     }
    4607                 :             :                   break;
    4608                 :             :                 }
    4609                 :           0 :               case CONJ_EXPR:
    4610                 :           0 :                 {
    4611                 :           0 :                   tree _q20 = gimple_assign_rhs1 (_a1);
    4612                 :           0 :                   _q20 = do_valueize (valueize, _q20);
    4613                 :           0 :                   {
    4614                 :           0 :                     tree captures[1] ATTRIBUTE_UNUSED = { _q20 };
    4615                 :           0 :                     if (gimple_simplify_570 (res_op, seq, valueize, type, captures))
    4616                 :           0 :                       return true;
    4617                 :             :                   }
    4618                 :           0 :                   break;
    4619                 :             :                 }
    4620                 :           0 :               case COMPLEX_EXPR:
    4621                 :           0 :                 {
    4622                 :           0 :                   tree _q20 = gimple_assign_rhs1 (_a1);
    4623                 :           0 :                   _q20 = do_valueize (valueize, _q20);
    4624                 :           0 :                   tree _q21 = gimple_assign_rhs2 (_a1);
    4625                 :           0 :                   _q21 = do_valueize (valueize, _q21);
    4626                 :           0 :                   {
    4627                 :           0 :                     tree captures[4] ATTRIBUTE_UNUSED = { _p0, _p0, _q20, _q21 };
    4628                 :           0 :                     {
    4629                 :           0 :  tree itype = TREE_TYPE (type);
    4630                 :           0 :                         gimple_seq *lseq = seq;
    4631                 :           0 :                         if (lseq
    4632                 :           0 :                             && (!single_use (captures[0])
    4633                 :             :                                 || !single_use (captures[1])))
    4634                 :             :                           lseq = NULL;
    4635                 :           0 :                         if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail1357;
    4636                 :           0 :                         {
    4637                 :           0 :                           res_op->set_op (COMPLEX_EXPR, type, 2);
    4638                 :           0 :                           {
    4639                 :           0 :                             tree _o1[1], _r1;
    4640                 :           0 :                             _o1[0] = captures[2];
    4641                 :           0 :                             if (itype != TREE_TYPE (_o1[0])
    4642                 :           0 :                                 && !useless_type_conversion_p (itype, TREE_TYPE (_o1[0])))
    4643                 :             :                               {
    4644                 :           0 :                                 gimple_match_op tem_op (res_op->cond.any_else (), NOP_EXPR, itype, _o1[0]);
    4645                 :           0 :                                 tem_op.resimplify (lseq, valueize);
    4646                 :           0 :                                 _r1 = maybe_push_res_to_seq (&tem_op, lseq);
    4647                 :           0 :                                 if (!_r1) goto next_after_fail1357;
    4648                 :             :                               }
    4649                 :             :                             else
    4650                 :             :                               _r1 = _o1[0];
    4651                 :           0 :                             res_op->ops[0] = _r1;
    4652                 :             :                           }
    4653                 :           0 :                           {
    4654                 :           0 :                             tree _o1[1], _r1;
    4655                 :           0 :                             {
    4656                 :           0 :                               tree _o2[1], _r2;
    4657                 :           0 :                               _o2[0] = captures[3];
    4658                 :           0 :                               if (itype != TREE_TYPE (_o2[0])
    4659                 :           0 :                                   && !useless_type_conversion_p (itype, TREE_TYPE (_o2[0])))
    4660                 :             :                                 {
    4661                 :           0 :                                   gimple_match_op tem_op (res_op->cond.any_else (), NOP_EXPR, itype, _o2[0]);
    4662                 :           0 :                                   tem_op.resimplify (lseq, valueize);
    4663                 :           0 :                                   _r2 = maybe_push_res_to_seq (&tem_op, lseq);
    4664                 :           0 :                                   if (!_r2) goto next_after_fail1357;
    4665                 :             :                                 }
    4666                 :             :                               else
    4667                 :             :                                 _r2 = _o2[0];
    4668                 :           0 :                               _o1[0] = _r2;
    4669                 :             :                             }
    4670                 :           0 :                             gimple_match_op tem_op (res_op->cond.any_else (), NEGATE_EXPR, TREE_TYPE (_o1[0]), _o1[0]);
    4671                 :           0 :                             tem_op.resimplify (lseq, valueize);
    4672                 :           0 :                             _r1 = maybe_push_res_to_seq (&tem_op, lseq);
    4673                 :           0 :                             if (!_r1) goto next_after_fail1357;
    4674                 :           0 :                             res_op->ops[1] = _r1;
    4675                 :             :                           }
    4676                 :           0 :                           res_op->resimplify (lseq, valueize);
    4677                 :           0 :                           if (UNLIKELY (debug_dump)) gimple_dump_logs ("match.pd", 902, __FILE__, __LINE__, true);
    4678                 :           0 :                           return true;
    4679                 :             :                         }
    4680                 :           0 : next_after_fail1357:;
    4681                 :             :                     }
    4682                 :             :                   }
    4683                 :           0 :                   break;
    4684                 :             :                 }
    4685                 :             :               default:;
    4686                 :             :               }
    4687                 :             :         }
    4688                 :             :       break;
    4689                 :             :     default:;
    4690                 :             :     }
    4691                 :             :   return false;
    4692                 :             : }
    4693                 :             : 
    4694                 :             : bool
    4695                 :        7862 : gimple_simplify_CFN_BUILT_IN_BSWAP32 (gimple_match_op *res_op, gimple_seq *seq,
    4696                 :             :                  tree (*valueize)(tree) ATTRIBUTE_UNUSED,
    4697                 :             :                  code_helper ARG_UNUSED (code), tree ARG_UNUSED (type), tree _p0)
    4698                 :             : {
    4699                 :        7862 :   const bool debug_dump = dump_file && (dump_flags & TDF_FOLDING);
    4700                 :        7862 :   switch (TREE_CODE (_p0))
    4701                 :             :     {
    4702                 :        7749 :     case SSA_NAME:
    4703                 :        7749 :       if (gimple *_d1 = get_def (valueize, _p0))
    4704                 :             :         {
    4705                 :        3420 :           if (gassign *_a1 = dyn_cast <gassign *> (_d1))
    4706                 :        4415 :             switch (gimple_assign_rhs_code (_a1))
    4707                 :             :               {
    4708                 :           2 :               case BIT_NOT_EXPR:
    4709                 :           2 :                 {
    4710                 :           2 :                   tree _q20 = gimple_assign_rhs1 (_a1);
    4711                 :           2 :                   _q20 = do_valueize (valueize, _q20);
    4712                 :           2 :                   switch (TREE_CODE (_q20))
    4713                 :             :                     {
    4714                 :           2 :                     case SSA_NAME:
    4715                 :           2 :                       if (gimple *_d2 = get_def (valueize, _q20))
    4716                 :             :                         {
    4717                 :           2 :                           if (gcall *_c2 = dyn_cast <gcall *> (_d2))
    4718                 :           2 :                             switch (gimple_call_combined_fn (_c2))
    4719                 :             :                               {
    4720                 :           2 :                               case CFN_BUILT_IN_BSWAP32:
    4721                 :           2 :                                 if (gimple_call_num_args (_c2) == 1)
    4722                 :             :                                   {
    4723                 :           2 :                                     tree _q30 = gimple_call_arg (_c2, 0);
    4724                 :           2 :                                     _q30 = do_valueize (valueize, _q30);
    4725                 :           2 :                                     {
    4726                 :           2 :                                       tree captures[1] ATTRIBUTE_UNUSED = { _q30 };
    4727                 :           2 :                                       if (gimple_simplify_572 (res_op, seq, valueize, type, captures, CFN_BUILT_IN_BSWAP32))
    4728                 :           2 :                                         return true;
    4729                 :             :                                     }
    4730                 :             :                                   }
    4731                 :             :                                 break;
    4732                 :             :                               default:;
    4733                 :             :                               }
    4734                 :             :                         }
    4735                 :             :                       break;
    4736                 :             :                     default:;
    4737                 :             :                     }
    4738                 :             :                   break;
    4739                 :             :                 }
    4740                 :          20 :               case BIT_XOR_EXPR:
    4741                 :          20 :                 {
    4742                 :          20 :                   tree _q20 = gimple_assign_rhs1 (_a1);
    4743                 :          20 :                   _q20 = do_valueize (valueize, _q20);
    4744                 :          20 :                   tree _q21 = gimple_assign_rhs2 (_a1);
    4745                 :          20 :                   _q21 = do_valueize (valueize, _q21);
    4746                 :          20 :                   if (tree_swap_operands_p (_q20, _q21))
    4747                 :           0 :                     std::swap (_q20, _q21);
    4748                 :          20 :                   switch (TREE_CODE (_q20))
    4749                 :             :                     {
    4750                 :          20 :                     case SSA_NAME:
    4751                 :          20 :                       if (gimple *_d2 = get_def (valueize, _q20))
    4752                 :             :                         {
    4753                 :          20 :                           if (gcall *_c2 = dyn_cast <gcall *> (_d2))
    4754                 :           4 :                             switch (gimple_call_combined_fn (_c2))
    4755                 :             :                               {
    4756                 :           4 :                               case CFN_BUILT_IN_BSWAP32:
    4757                 :           4 :                                 if (gimple_call_num_args (_c2) == 1)
    4758                 :             :                                   {
    4759                 :           4 :                                     tree _q30 = gimple_call_arg (_c2, 0);
    4760                 :           4 :                                     _q30 = do_valueize (valueize, _q30);
    4761                 :           4 :                                     {
    4762                 :           4 :                                       tree captures[2] ATTRIBUTE_UNUSED = { _q30, _q21 };
    4763                 :           4 :                                       if (gimple_simplify_573 (res_op, seq, valueize, type, captures, BIT_XOR_EXPR, CFN_BUILT_IN_BSWAP32))
    4764                 :           4 :                                         return true;
    4765                 :             :                                     }
    4766                 :             :                                   }
    4767                 :             :                                 break;
    4768                 :             :                               default:;
    4769                 :             :                               }
    4770                 :             :                         }
    4771                 :             :                       break;
    4772                 :          16 :                     default:;
    4773                 :             :                     }
    4774                 :          16 :                   switch (TREE_CODE (_q21))
    4775                 :             :                     {
    4776                 :          16 :                     case SSA_NAME:
    4777                 :          16 :                       if (gimple *_d2 = get_def (valueize, _q21))
    4778                 :             :                         {
    4779                 :          16 :                           if (gcall *_c2 = dyn_cast <gcall *> (_d2))
    4780                 :           0 :                             switch (gimple_call_combined_fn (_c2))
    4781                 :             :                               {
    4782                 :           0 :                               case CFN_BUILT_IN_BSWAP32:
    4783                 :           0 :                                 if (gimple_call_num_args (_c2) == 1)
    4784                 :             :                                   {
    4785                 :           0 :                                     tree _q40 = gimple_call_arg (_c2, 0);
    4786                 :           0 :                                     _q40 = do_valueize (valueize, _q40);
    4787                 :           0 :                                     {
    4788                 :           0 :                                       tree captures[2] ATTRIBUTE_UNUSED = { _q40, _q20 };
    4789                 :           0 :                                       if (gimple_simplify_573 (res_op, seq, valueize, type, captures, BIT_XOR_EXPR, CFN_BUILT_IN_BSWAP32))
    4790                 :           0 :                                         return true;
    4791                 :             :                                     }
    4792                 :             :                                   }
    4793                 :             :                                 break;
    4794                 :             :                               default:;
    4795                 :             :                               }
    4796                 :             :                         }
    4797                 :             :                       break;
    4798                 :             :                     default:;
    4799                 :             :                     }
    4800                 :        7862 :                   break;
    4801                 :             :                 }
    4802                 :         143 :               case BIT_IOR_EXPR:
    4803                 :         143 :                 {
    4804                 :         143 :                   tree _q20 = gimple_assign_rhs1 (_a1);
    4805                 :         143 :                   _q20 = do_valueize (valueize, _q20);
    4806                 :         143 :                   tree _q21 = gimple_assign_rhs2 (_a1);
    4807                 :         143 :                   _q21 = do_valueize (valueize, _q21);
    4808                 :         143 :                   if (tree_swap_operands_p (_q20, _q21))
    4809                 :           0 :                     std::swap (_q20, _q21);
    4810                 :         143 :                   switch (TREE_CODE (_q20))
    4811                 :             :                     {
    4812                 :         143 :                     case SSA_NAME:
    4813                 :         143 :                       if (gimple *_d2 = get_def (valueize, _q20))
    4814                 :             :                         {
    4815                 :         143 :                           if (gcall *_c2 = dyn_cast <gcall *> (_d2))
    4816                 :           4 :                             switch (gimple_call_combined_fn (_c2))
    4817                 :             :                               {
    4818                 :           4 :                               case CFN_BUILT_IN_BSWAP32:
    4819                 :           4 :                                 if (gimple_call_num_args (_c2) == 1)
    4820                 :             :                                   {
    4821                 :           4 :                                     tree _q30 = gimple_call_arg (_c2, 0);
    4822                 :           4 :                                     _q30 = do_valueize (valueize, _q30);
    4823                 :           4 :                                     {
    4824                 :           4 :                                       tree captures[2] ATTRIBUTE_UNUSED = { _q30, _q21 };
    4825                 :           4 :                                       if (gimple_simplify_573 (res_op, seq, valueize, type, captures, BIT_IOR_EXPR, CFN_BUILT_IN_BSWAP32))
    4826                 :           4 :                                         return true;
    4827                 :             :                                     }
    4828                 :             :                                   }
    4829                 :             :                                 break;
    4830                 :             :                               default:;
    4831                 :             :                               }
    4832                 :             :                         }
    4833                 :             :                       break;
    4834                 :         139 :                     default:;
    4835                 :             :                     }
    4836                 :         139 :                   switch (TREE_CODE (_q21))
    4837                 :             :                     {
    4838                 :         128 :                     case SSA_NAME:
    4839                 :         128 :                       if (gimple *_d2 = get_def (valueize, _q21))
    4840                 :             :                         {
    4841                 :         121 :                           if (gcall *_c2 = dyn_cast <gcall *> (_d2))
    4842                 :           0 :                             switch (gimple_call_combined_fn (_c2))
    4843                 :             :                               {
    4844                 :           0 :                               case CFN_BUILT_IN_BSWAP32:
    4845                 :           0 :                                 if (gimple_call_num_args (_c2) == 1)
    4846                 :             :                                   {
    4847                 :           0 :                                     tree _q40 = gimple_call_arg (_c2, 0);
    4848                 :           0 :                                     _q40 = do_valueize (valueize, _q40);
    4849                 :           0 :                                     {
    4850                 :           0 :                                       tree captures[2] ATTRIBUTE_UNUSED = { _q40, _q20 };
    4851                 :           0 :                                       if (gimple_simplify_573 (res_op, seq, valueize, type, captures, BIT_IOR_EXPR, CFN_BUILT_IN_BSWAP32))
    4852                 :           0 :                                         return true;
    4853                 :             :                                     }
    4854                 :             :                                   }
    4855                 :             :                                 break;
    4856                 :             :                               default:;
    4857                 :             :                               }
    4858                 :             :                         }
    4859                 :             :                       break;
    4860                 :             :                     default:;
    4861                 :             :                     }
    4862                 :        7862 :                   break;
    4863                 :             :                 }
    4864                 :          21 :               case BIT_AND_EXPR:
    4865                 :          21 :                 {
    4866                 :          21 :                   tree _q20 = gimple_assign_rhs1 (_a1);
    4867                 :          21 :                   _q20 = do_valueize (valueize, _q20);
    4868                 :          21 :                   tree _q21 = gimple_assign_rhs2 (_a1);
    4869                 :          21 :                   _q21 = do_valueize (valueize, _q21);
    4870                 :          21 :                   if (tree_swap_operands_p (_q20, _q21))
    4871                 :           1 :                     std::swap (_q20, _q21);
    4872                 :          21 :                   switch (TREE_CODE (_q20))
    4873                 :             :                     {
    4874                 :          21 :                     case SSA_NAME:
    4875                 :          21 :                       if (gimple *_d2 = get_def (valueize, _q20))
    4876                 :             :                         {
    4877                 :          21 :                           if (gcall *_c2 = dyn_cast <gcall *> (_d2))
    4878                 :           7 :                             switch (gimple_call_combined_fn (_c2))
    4879                 :             :                               {
    4880                 :           7 :                               case CFN_BUILT_IN_BSWAP32:
    4881                 :           7 :                                 if (gimple_call_num_args (_c2) == 1)
    4882                 :             :                                   {
    4883                 :           7 :                                     tree _q30 = gimple_call_arg (_c2, 0);
    4884                 :           7 :                                     _q30 = do_valueize (valueize, _q30);
    4885                 :           7 :                                     {
    4886                 :           7 :                                       tree captures[2] ATTRIBUTE_UNUSED = { _q30, _q21 };
    4887                 :           7 :                                       if (gimple_simplify_573 (res_op, seq, valueize, type, captures, BIT_AND_EXPR, CFN_BUILT_IN_BSWAP32))
    4888                 :           7 :                                         return true;
    4889                 :             :                                     }
    4890                 :             :                                   }
    4891                 :             :                                 break;
    4892                 :             :                               default:;
    4893                 :             :                               }
    4894                 :             :                         }
    4895                 :             :                       break;
    4896                 :          14 :                     default:;
    4897                 :             :                     }
    4898                 :          14 :                   switch (TREE_CODE (_q21))
    4899                 :             :                     {
    4900                 :           3 :                     case SSA_NAME:
    4901                 :           3 :                       if (gimple *_d2 = get_def (valueize, _q21))
    4902                 :             :                         {
    4903                 :           3 :                           if (gcall *_c2 = dyn_cast <gcall *> (_d2))
    4904                 :           0 :                             switch (gimple_call_combined_fn (_c2))
    4905                 :             :                               {
    4906                 :           0 :                               case CFN_BUILT_IN_BSWAP32:
    4907                 :           0 :                                 if (gimple_call_num_args (_c2) == 1)
    4908                 :             :                                   {
    4909                 :           0 :                                     tree _q40 = gimple_call_arg (_c2, 0);
    4910                 :           0 :                                     _q40 = do_valueize (valueize, _q40);
    4911                 :           0 :                                     {
    4912                 :           0 :                                       tree captures[2] ATTRIBUTE_UNUSED = { _q40, _q20 };
    4913                 :           0 :                                       if (gimple_simplify_573 (res_op, seq, valueize, type, captures, BIT_AND_EXPR, CFN_BUILT_IN_BSWAP32))
    4914                 :           0 :                                         return true;
    4915                 :             :                                     }
    4916                 :             :                                   }
    4917                 :             :                                 break;
    4918                 :             :                               default:;
    4919                 :             :                               }
    4920                 :             :                         }
    4921                 :             :                       break;
    4922                 :             :                     default:;
    4923                 :             :                     }
    4924                 :        7862 :                   break;
    4925                 :             :                 }
    4926                 :             :               default:;
    4927                 :             :               }
    4928                 :         756 :           else if (gcall *_c1 = dyn_cast <gcall *> (_d1))
    4929                 :          16 :             switch (gimple_call_combined_fn (_c1))
    4930                 :             :               {
    4931                 :          16 :               case CFN_BUILT_IN_BSWAP32:
    4932                 :          16 :                 if (gimple_call_num_args (_c1) == 1)
    4933                 :             :                   {
    4934                 :          16 :                     tree _q20 = gimple_call_arg (_c1, 0);
    4935                 :          16 :                     _q20 = do_valueize (valueize, _q20);
    4936                 :          16 :                     {
    4937                 :          16 :                       tree captures[1] ATTRIBUTE_UNUSED = { _q20 };
    4938                 :          16 :                       if (gimple_simplify_571 (res_op, seq, valueize, type, captures, CFN_BUILT_IN_BSWAP32))
    4939                 :          16 :                         return true;
    4940                 :             :                     }
    4941                 :             :                   }
    4942                 :             :                 break;
    4943                 :             :               default:;
    4944                 :             :               }
    4945                 :             :         }
    4946                 :             :       break;
    4947                 :             :     default:;
    4948                 :             :     }
    4949                 :             :   return false;
    4950                 :             : }
    4951                 :             : 
    4952                 :             : bool
    4953                 :        5204 : gimple_simplify_CFN_BUILT_IN_LOGL (gimple_match_op *res_op, gimple_seq *seq,
    4954                 :             :                  tree (*valueize)(tree) ATTRIBUTE_UNUSED,
    4955                 :             :                  code_helper ARG_UNUSED (code), tree ARG_UNUSED (type), tree _p0)
    4956                 :             : {
    4957                 :        5204 :   const bool debug_dump = dump_file && (dump_flags & TDF_FOLDING);
    4958                 :        5204 :   switch (TREE_CODE (_p0))
    4959                 :             :     {
    4960                 :        4784 :     case SSA_NAME:
    4961                 :        4784 :       if (gimple *_d1 = get_def (valueize, _p0))
    4962                 :             :         {
    4963                 :        2524 :           if (gcall *_c1 = dyn_cast <gcall *> (_d1))
    4964                 :          83 :             switch (gimple_call_combined_fn (_c1))
    4965                 :             :               {
    4966                 :          14 :               case CFN_BUILT_IN_SQRTL:
    4967                 :          14 :                 if (gimple_call_num_args (_c1) == 1)
    4968                 :             :                   {
    4969                 :          14 :                     tree _q20 = gimple_call_arg (_c1, 0);
    4970                 :          14 :                     _q20 = do_valueize (valueize, _q20);
    4971                 :          14 :                     {
    4972                 :          14 :                       tree captures[1] ATTRIBUTE_UNUSED = { _q20 };
    4973                 :          14 :                       if (flag_unsafe_math_optimizations
    4974                 :             : )
    4975                 :             :                         {
    4976                 :          14 :                           if (SCALAR_FLOAT_TYPE_P (type)
    4977                 :             : )
    4978                 :             :                             {
    4979                 :          14 :                               {
    4980                 :          14 :  tree x;
    4981                 :          14 :  switch (CFN_BUILT_IN_SQRTL)
    4982                 :             :  {
    4983                 :          14 :  CASE_CFN_SQRT:
    4984                 :          14 :  x = build_real (type, dconsthalf);
    4985                 :          14 :  break;
    4986                 :             :  CASE_CFN_CBRT:
    4987                 :             :  x = build_real_truncate (type, dconst_third ());
    4988                 :             :  break;
    4989                 :             :  default:
    4990                 :             :  gcc_unreachable ();
    4991                 :             :  }
    4992                 :          14 :                                   gimple_seq *lseq = seq;
    4993                 :          14 :                                   if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail1370;
    4994                 :          14 :                                   {
    4995                 :          14 :                                     res_op->set_op (MULT_EXPR, type, 2);
    4996                 :          14 :                                     res_op->ops[0] =  x;
    4997                 :          14 :                                     {
    4998                 :          14 :                                       tree _o1[1], _r1;
    4999                 :          14 :                                       _o1[0] = captures[0];
    5000                 :          14 :                                       gimple_match_op tem_op (res_op->cond.any_else (), CFN_BUILT_IN_LOGL, TREE_TYPE (_o1[0]), _o1[0]);
    5001                 :          14 :                                       tem_op.resimplify (lseq, valueize);
    5002                 :          14 :                                       _r1 = maybe_push_res_to_seq (&tem_op, lseq);
    5003                 :          14 :                                       if (!_r1) goto next_after_fail1370;
    5004                 :           7 :                                       res_op->ops[1] = _r1;
    5005                 :             :                                     }
    5006                 :           7 :                                     res_op->resimplify (lseq, valueize);
    5007                 :           7 :                                     if (UNLIKELY (debug_dump)) gimple_dump_logs ("match.pd", 903, __FILE__, __LINE__, true);
    5008                 :           7 :                                     return true;
    5009                 :             :                                   }
    5010                 :             : next_after_fail1370:;
    5011                 :             :                               }
    5012                 :             :                             }
    5013                 :             :                         }
    5014                 :             :                     }
    5015                 :             :                   }
    5016                 :             :                 break;
    5017                 :          12 :               case CFN_BUILT_IN_EXP10L:
    5018                 :          12 :                 if (gimple_call_num_args (_c1) == 1)
    5019                 :             :                   {
    5020                 :          12 :                     tree _q20 = gimple_call_arg (_c1, 0);
    5021                 :          12 :                     _q20 = do_valueize (valueize, _q20);
    5022                 :          12 :                     {
    5023                 :          12 :                       tree captures[1] ATTRIBUTE_UNUSED = { _q20 };
    5024                 :          12 :                       if (flag_unsafe_math_optimizations
    5025                 :             : )
    5026                 :             :                         {
    5027                 :          12 :                           if (SCALAR_FLOAT_TYPE_P (type)
    5028                 :             : )
    5029                 :             :                             {
    5030                 :          12 :                               {
    5031                 :          12 :  tree x;
    5032                 :          12 :  switch (CFN_BUILT_IN_EXP10L)
    5033                 :             :  {
    5034                 :             :  CASE_CFN_EXP:
    5035                 :             :  x = build_real_truncate (type, dconst_e ());
    5036                 :             :  break;
    5037                 :             :  CASE_CFN_EXP2:
    5038                 :             :  x = build_real (type, dconst2);
    5039                 :             :  break;
    5040                 :          12 :  CASE_CFN_EXP10:
    5041                 :          12 :  CASE_CFN_POW10:
    5042                 :          12 :  {
    5043                 :          12 :  REAL_VALUE_TYPE dconst10;
    5044                 :          12 :  real_from_integer (&dconst10, VOIDmode, 10, SIGNED);
    5045                 :          12 :  x = build_real (type, dconst10);
    5046                 :             :  }
    5047                 :          12 :  break;
    5048                 :             :  default:
    5049                 :             :  gcc_unreachable ();
    5050                 :             :  }
    5051                 :          12 :                                   gimple_seq *lseq = seq;
    5052                 :          12 :                                   if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail1371;
    5053                 :          12 :                                   {
    5054                 :          12 :                                     res_op->set_op (MULT_EXPR, type, 2);
    5055                 :          12 :                                     {
    5056                 :          12 :                                       tree _o1[1], _r1;
    5057                 :          12 :                                       _o1[0] =  x;
    5058                 :          12 :                                       gimple_match_op tem_op (res_op->cond.any_else (), CFN_BUILT_IN_LOGL, TREE_TYPE (_o1[0]), _o1[0]);
    5059                 :          12 :                                       tem_op.resimplify (lseq, valueize);
    5060                 :          12 :                                       _r1 = maybe_push_res_to_seq (&tem_op, lseq);
    5061                 :          12 :                                       if (!_r1) goto next_after_fail1371;
    5062                 :          12 :                                       res_op->ops[0] = _r1;
    5063                 :             :                                     }
    5064                 :          12 :                                     res_op->ops[1] = captures[0];
    5065                 :          12 :                                     res_op->resimplify (lseq, valueize);
    5066                 :          12 :                                     if (UNLIKELY (debug_dump)) gimple_dump_logs ("match.pd", 904, __FILE__, __LINE__, true);
    5067                 :          12 :                                     return true;
    5068                 :             :                                   }
    5069                 :             : next_after_fail1371:;
    5070                 :             :                               }
    5071                 :             :                             }
    5072                 :             :                         }
    5073                 :             :                     }
    5074                 :             :                   }
    5075                 :             :                 break;
    5076                 :           7 :               case CFN_BUILT_IN_EXPL:
    5077                 :           7 :                 if (gimple_call_num_args (_c1) == 1)
    5078                 :             :                   {
    5079                 :           7 :                     tree _q20 = gimple_call_arg (_c1, 0);
    5080                 :           7 :                     _q20 = do_valueize (valueize, _q20);
    5081                 :           7 :                     {
    5082                 :           7 :                       tree captures[1] ATTRIBUTE_UNUSED = { _q20 };
    5083                 :           7 :                       if (flag_unsafe_math_optimizations
    5084                 :             : )
    5085                 :             :                         {
    5086                 :           7 :                           gimple_seq *lseq = seq;
    5087                 :           7 :                           if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail1372;
    5088                 :           7 :                           {
    5089                 :           7 :                             tree tem;
    5090                 :           7 :                             tem = captures[0];
    5091                 :           7 :                             res_op->set_value (tem);
    5092                 :           7 :                             if (UNLIKELY (debug_dump)) gimple_dump_logs ("match.pd", 905, __FILE__, __LINE__, true);
    5093                 :           7 :                             return true;
    5094                 :             :                           }
    5095                 :           0 : next_after_fail1372:;
    5096                 :             :                         }
    5097                 :             :                     }
    5098                 :             :                   }
    5099                 :             :                 break;
    5100                 :          14 :               case CFN_BUILT_IN_POWL:
    5101                 :          14 :                 if (gimple_call_num_args (_c1) == 2)
    5102                 :             :                   {
    5103                 :          14 :                     tree _q20 = gimple_call_arg (_c1, 0);
    5104                 :          14 :                     _q20 = do_valueize (valueize, _q20);
    5105                 :          14 :                     tree _q21 = gimple_call_arg (_c1, 1);
    5106                 :          14 :                     _q21 = do_valueize (valueize, _q21);
    5107                 :          14 :                     {
    5108                 :          14 :                       tree captures[2] ATTRIBUTE_UNUSED = { _q20, _q21 };
    5109                 :          14 :                       if (gimple_simplify_599 (res_op, seq, valueize, type, captures, CFN_BUILT_IN_LOGL, CFN_BUILT_IN_POWL))
    5110                 :           7 :                         return true;
    5111                 :             :                     }
    5112                 :             :                   }
    5113                 :             :                 break;
    5114                 :          12 :               case CFN_BUILT_IN_POW10L:
    5115                 :          12 :                 if (gimple_call_num_args (_c1) == 1)
    5116                 :             :                   {
    5117                 :          12 :                     tree _q20 = gimple_call_arg (_c1, 0);
    5118                 :          12 :                     _q20 = do_valueize (valueize, _q20);
    5119                 :          12 :                     {
    5120                 :          12 :                       tree captures[1] ATTRIBUTE_UNUSED = { _q20 };
    5121                 :          12 :                       if (flag_unsafe_math_optimizations
    5122                 :             : )
    5123                 :             :                         {
    5124                 :          12 :                           if (SCALAR_FLOAT_TYPE_P (type)
    5125                 :             : )
    5126                 :             :                             {
    5127                 :          12 :                               {
    5128                 :          12 :  tree x;
    5129                 :          12 :  switch (CFN_BUILT_IN_POW10L)
    5130                 :             :  {
    5131                 :             :  CASE_CFN_EXP:
    5132                 :             :  x = build_real_truncate (type, dconst_e ());
    5133                 :             :  break;
    5134                 :             :  CASE_CFN_EXP2:
    5135                 :             :  x = build_real (type, dconst2);
    5136                 :             :  break;
    5137                 :          12 :  CASE_CFN_EXP10:
    5138                 :          12 :  CASE_CFN_POW10:
    5139                 :          12 :  {
    5140                 :          12 :  REAL_VALUE_TYPE dconst10;
    5141                 :          12 :  real_from_integer (&dconst10, VOIDmode, 10, SIGNED);
    5142                 :          12 :  x = build_real (type, dconst10);
    5143                 :             :  }
    5144                 :          12 :  break;
    5145                 :             :  default:
    5146                 :             :  gcc_unreachable ();
    5147                 :             :  }
    5148                 :          12 :                                   gimple_seq *lseq = seq;
    5149                 :          12 :                                   if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail1373;
    5150                 :          12 :                                   {
    5151                 :          12 :                                     res_op->set_op (MULT_EXPR, type, 2);
    5152                 :          12 :                                     {
    5153                 :          12 :                                       tree _o1[1], _r1;
    5154                 :          12 :                                       _o1[0] =  x;
    5155                 :          12 :                                       gimple_match_op tem_op (res_op->cond.any_else (), CFN_BUILT_IN_LOGL, TREE_TYPE (_o1[0]), _o1[0]);
    5156                 :          12 :                                       tem_op.resimplify (lseq, valueize);
    5157                 :          12 :                                       _r1 = maybe_push_res_to_seq (&tem_op, lseq);
    5158                 :          12 :                                       if (!_r1) goto next_after_fail1373;
    5159                 :          12 :                                       res_op->ops[0] = _r1;
    5160                 :             :                                     }
    5161                 :          12 :                                     res_op->ops[1] = captures[0];
    5162                 :          12 :                                     res_op->resimplify (lseq, valueize);
    5163                 :          12 :                                     if (UNLIKELY (debug_dump)) gimple_dump_logs ("match.pd", 904, __FILE__, __LINE__, true);
    5164                 :          12 :                                     return true;
    5165                 :             :                                   }
    5166                 :             : next_after_fail1373:;
    5167                 :             :                               }
    5168                 :             :                             }
    5169                 :             :                         }
    5170                 :             :                     }
    5171                 :             :                   }
    5172                 :             :                 break;
    5173                 :          12 :               case CFN_BUILT_IN_CBRTL:
    5174                 :          12 :                 if (gimple_call_num_args (_c1) == 1)
    5175                 :             :                   {
    5176                 :          12 :                     tree _q20 = gimple_call_arg (_c1, 0);
    5177                 :          12 :                     _q20 = do_valueize (valueize, _q20);
    5178                 :          12 :                     {
    5179                 :          12 :                       tree captures[1] ATTRIBUTE_UNUSED = { _q20 };
    5180                 :          12 :                       if (flag_unsafe_math_optimizations
    5181                 :             : )
    5182                 :             :                         {
    5183                 :          12 :                           if (SCALAR_FLOAT_TYPE_P (type)
    5184                 :             : )
    5185                 :             :                             {
    5186                 :          12 :                               {
    5187                 :          12 :  tree x;
    5188                 :          12 :  switch (CFN_BUILT_IN_CBRTL)
    5189                 :             :  {
    5190                 :             :  CASE_CFN_SQRT:
    5191                 :             :  x = build_real (type, dconsthalf);
    5192                 :             :  break;
    5193                 :          12 :  CASE_CFN_CBRT:
    5194                 :          12 :  x = build_real_truncate (type, dconst_third ());
    5195                 :          12 :  break;
    5196                 :             :  default:
    5197                 :             :  gcc_unreachable ();
    5198                 :             :  }
    5199                 :          12 :                                   gimple_seq *lseq = seq;
    5200                 :          12 :                                   if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail1374;
    5201                 :          12 :                                   {
    5202                 :          12 :                                     res_op->set_op (MULT_EXPR, type, 2);
    5203                 :          12 :                                     res_op->ops[0] =  x;
    5204                 :          12 :                                     {
    5205                 :          12 :                                       tree _o1[1], _r1;
    5206                 :          12 :                                       _o1[0] = captures[0];
    5207                 :          12 :                                       gimple_match_op tem_op (res_op->cond.any_else (), CFN_BUILT_IN_LOGL, TREE_TYPE (_o1[0]), _o1[0]);
    5208                 :          12 :                                       tem_op.resimplify (lseq, valueize);
    5209                 :          12 :                                       _r1 = maybe_push_res_to_seq (&tem_op, lseq);
    5210                 :          12 :                                       if (!_r1) goto next_after_fail1374;
    5211                 :           6 :                                       res_op->ops[1] = _r1;
    5212                 :             :                                     }
    5213                 :           6 :                                     res_op->resimplify (lseq, valueize);
    5214                 :           6 :                                     if (UNLIKELY (debug_dump)) gimple_dump_logs ("match.pd", 903, __FILE__, __LINE__, true);
    5215                 :           6 :                                     return true;
    5216                 :             :                                   }
    5217                 :             : next_after_fail1374:;
    5218                 :             :                               }
    5219                 :             :                             }
    5220                 :             :                         }
    5221                 :             :                     }
    5222                 :             :                   }
    5223                 :             :                 break;
    5224                 :          12 :               case CFN_BUILT_IN_EXP2L:
    5225                 :          12 :                 if (gimple_call_num_args (_c1) == 1)
    5226                 :             :                   {
    5227                 :          12 :                     tree _q20 = gimple_call_arg (_c1, 0);
    5228                 :          12 :                     _q20 = do_valueize (valueize, _q20);
    5229                 :          12 :                     {
    5230                 :          12 :                       tree captures[1] ATTRIBUTE_UNUSED = { _q20 };
    5231                 :          12 :                       if (flag_unsafe_math_optimizations
    5232                 :             : )
    5233                 :             :                         {
    5234                 :          12 :                           if (SCALAR_FLOAT_TYPE_P (type)
    5235                 :             : )
    5236                 :             :                             {
    5237                 :          12 :                               {
    5238                 :          12 :  tree x;
    5239                 :          12 :  switch (CFN_BUILT_IN_EXP2L)
    5240                 :             :  {
    5241                 :             :  CASE_CFN_EXP:
    5242                 :             :  x = build_real_truncate (type, dconst_e ());
    5243                 :             :  break;
    5244                 :          12 :  CASE_CFN_EXP2:
    5245                 :          12 :  x = build_real (type, dconst2);
    5246                 :          12 :  break;
    5247                 :             :  CASE_CFN_EXP10:
    5248                 :             :  CASE_CFN_POW10:
    5249                 :             :  {
    5250                 :             :  REAL_VALUE_TYPE dconst10;
    5251                 :             :  real_from_integer (&dconst10, VOIDmode, 10, SIGNED);
    5252                 :             :  x = build_real (type, dconst10);
    5253                 :             :  }
    5254                 :             :  break;
    5255                 :             :  default:
    5256                 :             :  gcc_unreachable ();
    5257                 :             :  }
    5258                 :          12 :                                   gimple_seq *lseq = seq;
    5259                 :          12 :                                   if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail1375;
    5260                 :          12 :                                   {
    5261                 :          12 :                                     res_op->set_op (MULT_EXPR, type, 2);
    5262                 :          12 :                                     {
    5263                 :          12 :                                       tree _o1[1], _r1;
    5264                 :          12 :                                       _o1[0] =  x;
    5265                 :          12 :                                       gimple_match_op tem_op (res_op->cond.any_else (), CFN_BUILT_IN_LOGL, TREE_TYPE (_o1[0]), _o1[0]);
    5266                 :          12 :                                       tem_op.resimplify (lseq, valueize);
    5267                 :          12 :                                       _r1 = maybe_push_res_to_seq (&tem_op, lseq);
    5268                 :          12 :                                       if (!_r1) goto next_after_fail1375;
    5269                 :          12 :                                       res_op->ops[0] = _r1;
    5270                 :             :                                     }
    5271                 :          12 :                                     res_op->ops[1] = captures[0];
    5272                 :          12 :                                     res_op->resimplify (lseq, valueize);
    5273                 :          12 :                                     if (UNLIKELY (debug_dump)) gimple_dump_logs ("match.pd", 904, __FILE__, __LINE__, true);
    5274                 :          12 :                                     return true;
    5275                 :             :                                   }
    5276                 :             : next_after_fail1375:;
    5277                 :             :                               }
    5278                 :             :                             }
    5279                 :             :                         }
    5280                 :             :                     }
    5281                 :             :                   }
    5282                 :             :                 break;
    5283                 :             :               default:;
    5284                 :             :               }
    5285                 :             :         }
    5286                 :             :       break;
    5287                 :             :     default:;
    5288                 :             :     }
    5289                 :             :   return false;
    5290                 :             : }
    5291                 :             : 
    5292                 :             : bool
    5293                 :           0 : gimple_simplify_CFN_LOG10 (gimple_match_op *res_op, gimple_seq *seq,
    5294                 :             :                  tree (*valueize)(tree) ATTRIBUTE_UNUSED,
    5295                 :             :                  code_helper ARG_UNUSED (code), tree ARG_UNUSED (type), tree _p0)
    5296                 :             : {
    5297                 :           0 :   const bool debug_dump = dump_file && (dump_flags & TDF_FOLDING);
    5298                 :           0 :   switch (TREE_CODE (_p0))
    5299                 :             :     {
    5300                 :           0 :     case SSA_NAME:
    5301                 :           0 :       if (gimple *_d1 = get_def (valueize, _p0))
    5302                 :             :         {
    5303                 :           0 :           if (gcall *_c1 = dyn_cast <gcall *> (_d1))
    5304                 :           0 :             switch (gimple_call_combined_fn (_c1))
    5305                 :             :               {
    5306                 :           0 :               case CFN_EXP:
    5307                 :           0 :                 if (gimple_call_num_args (_c1) == 1)
    5308                 :             :                   {
    5309                 :           0 :                     tree _q20 = gimple_call_arg (_c1, 0);
    5310                 :           0 :                     _q20 = do_valueize (valueize, _q20);
    5311                 :           0 :                     {
    5312                 :           0 :                       tree captures[1] ATTRIBUTE_UNUSED = { _q20 };
    5313                 :           0 :                       if (flag_unsafe_math_optimizations
    5314                 :             : )
    5315                 :             :                         {
    5316                 :           0 :                           if (SCALAR_FLOAT_TYPE_P (type)
    5317                 :             : )
    5318                 :             :                             {
    5319                 :           0 :                               {
    5320                 :           0 :  tree x;
    5321                 :           0 :  switch (CFN_EXP)
    5322                 :             :  {
    5323                 :           0 :  CASE_CFN_EXP:
    5324                 :           0 :  x = build_real_truncate (type, dconst_e ());
    5325                 :           0 :  break;
    5326                 :             :  CASE_CFN_EXP2:
    5327                 :             :  x = build_real (type, dconst2);
    5328                 :             :  break;
    5329                 :             :  CASE_CFN_EXP10:
    5330                 :             :  CASE_CFN_POW10:
    5331                 :             :  {
    5332                 :             :  REAL_VALUE_TYPE dconst10;
    5333                 :             :  real_from_integer (&dconst10, VOIDmode, 10, SIGNED);
    5334                 :             :  x = build_real (type, dconst10);
    5335                 :             :  }
    5336                 :             :  break;
    5337                 :             :  default:
    5338                 :             :  gcc_unreachable ();
    5339                 :             :  }
    5340                 :           0 :                                   gimple_seq *lseq = seq;
    5341                 :           0 :                                   if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail1420;
    5342                 :           0 :                                   {
    5343                 :           0 :                                     res_op->set_op (MULT_EXPR, type, 2);
    5344                 :           0 :                                     {
    5345                 :           0 :                                       tree _o1[1], _r1;
    5346                 :           0 :                                       _o1[0] =  x;
    5347                 :           0 :                                       gimple_match_op tem_op (res_op->cond.any_else (), CFN_LOG10, TREE_TYPE (_o1[0]), _o1[0]);
    5348                 :           0 :                                       tem_op.resimplify (lseq, valueize);
    5349                 :           0 :                                       _r1 = maybe_push_res_to_seq (&tem_op, lseq);
    5350                 :           0 :                                       if (!_r1) goto next_after_fail1420;
    5351                 :           0 :                                       res_op->ops[0] = _r1;
    5352                 :             :                                     }
    5353                 :           0 :                                     res_op->ops[1] = captures[0];
    5354                 :           0 :                                     res_op->resimplify (lseq, valueize);
    5355                 :           0 :                                     if (UNLIKELY (debug_dump)) gimple_dump_logs ("match.pd", 904, __FILE__, __LINE__, true);
    5356                 :           0 :                                     return true;
    5357                 :             :                                   }
    5358                 :             : next_after_fail1420:;
    5359                 :             :                               }
    5360                 :             :                             }
    5361                 :             :                         }
    5362                 :             :                     }
    5363                 :             :                   }
    5364                 :             :                 break;
    5365                 :           0 :               case CFN_POW:
    5366                 :           0 :                 if (gimple_call_num_args (_c1) == 2)
    5367                 :             :                   {
    5368                 :           0 :                     tree _q20 = gimple_call_arg (_c1, 0);
    5369                 :           0 :                     _q20 = do_valueize (valueize, _q20);
    5370                 :           0 :                     tree _q21 = gimple_call_arg (_c1, 1);
    5371                 :           0 :                     _q21 = do_valueize (valueize, _q21);
    5372                 :           0 :                     {
    5373                 :           0 :                       tree captures[2] ATTRIBUTE_UNUSED = { _q20, _q21 };
    5374                 :           0 :                       if (gimple_simplify_599 (res_op, seq, valueize, type, captures, CFN_LOG10, CFN_POW))
    5375                 :           0 :                         return true;
    5376                 :             :                     }
    5377                 :             :                   }
    5378                 :             :                 break;
    5379                 :           0 :               case CFN_EXP2:
    5380                 :           0 :                 if (gimple_call_num_args (_c1) == 1)
    5381                 :             :                   {
    5382                 :           0 :                     tree _q20 = gimple_call_arg (_c1, 0);
    5383                 :           0 :                     _q20 = do_valueize (valueize, _q20);
    5384                 :           0 :                     {
    5385                 :           0 :                       tree captures[1] ATTRIBUTE_UNUSED = { _q20 };
    5386                 :           0 :                       if (flag_unsafe_math_optimizations
    5387                 :             : )
    5388                 :             :                         {
    5389                 :           0 :                           if (SCALAR_FLOAT_TYPE_P (type)
    5390                 :             : )
    5391                 :             :                             {
    5392                 :           0 :                               {
    5393                 :           0 :  tree x;
    5394                 :           0 :  switch (CFN_EXP2)
    5395                 :             :  {
    5396                 :             :  CASE_CFN_EXP:
    5397                 :             :  x = build_real_truncate (type, dconst_e ());
    5398                 :             :  break;
    5399                 :           0 :  CASE_CFN_EXP2:
    5400                 :           0 :  x = build_real (type, dconst2);
    5401                 :           0 :  break;
    5402                 :             :  CASE_CFN_EXP10:
    5403                 :             :  CASE_CFN_POW10:
    5404                 :             :  {
    5405                 :             :  REAL_VALUE_TYPE dconst10;
    5406                 :             :  real_from_integer (&dconst10, VOIDmode, 10, SIGNED);
    5407                 :             :  x = build_real (type, dconst10);
    5408                 :             :  }
    5409                 :             :  break;
    5410                 :             :  default:
    5411                 :             :  gcc_unreachable ();
    5412                 :             :  }
    5413                 :           0 :                                   gimple_seq *lseq = seq;
    5414                 :           0 :                                   if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail1421;
    5415                 :           0 :                                   {
    5416                 :           0 :                                     res_op->set_op (MULT_EXPR, type, 2);
    5417                 :           0 :                                     {
    5418                 :           0 :                                       tree _o1[1], _r1;
    5419                 :           0 :                                       _o1[0] =  x;
    5420                 :           0 :                                       gimple_match_op tem_op (res_op->cond.any_else (), CFN_LOG10, TREE_TYPE (_o1[0]), _o1[0]);
    5421                 :           0 :                                       tem_op.resimplify (lseq, valueize);
    5422                 :           0 :                                       _r1 = maybe_push_res_to_seq (&tem_op, lseq);
    5423                 :           0 :                                       if (!_r1) goto next_after_fail1421;
    5424                 :           0 :                                       res_op->ops[0] = _r1;
    5425                 :             :                                     }
    5426                 :           0 :                                     res_op->ops[1] = captures[0];
    5427                 :           0 :                                     res_op->resimplify (lseq, valueize);
    5428                 :           0 :                                     if (UNLIKELY (debug_dump)) gimple_dump_logs ("match.pd", 904, __FILE__, __LINE__, true);
    5429                 :           0 :                                     return true;
    5430                 :             :                                   }
    5431                 :             : next_after_fail1421:;
    5432                 :             :                               }
    5433                 :             :                             }
    5434                 :             :                         }
    5435                 :             :                     }
    5436                 :             :                   }
    5437                 :             :                 break;
    5438                 :           0 :               case CFN_SQRT:
    5439                 :           0 :                 if (gimple_call_num_args (_c1) == 1)
    5440                 :             :                   {
    5441                 :           0 :                     tree _q20 = gimple_call_arg (_c1, 0);
    5442                 :           0 :                     _q20 = do_valueize (valueize, _q20);
    5443                 :           0 :                     {
    5444                 :           0 :                       tree captures[1] ATTRIBUTE_UNUSED = { _q20 };
    5445                 :           0 :                       if (flag_unsafe_math_optimizations
    5446                 :             : )
    5447                 :             :                         {
    5448                 :           0 :                           if (SCALAR_FLOAT_TYPE_P (type)
    5449                 :             : )
    5450                 :             :                             {
    5451                 :           0 :                               {
    5452                 :           0 :  tree x;
    5453                 :           0 :  switch (CFN_SQRT)
    5454                 :             :  {
    5455                 :           0 :  CASE_CFN_SQRT:
    5456                 :           0 :  x = build_real (type, dconsthalf);
    5457                 :           0 :  break;
    5458                 :             :  CASE_CFN_CBRT:
    5459                 :             :  x = build_real_truncate (type, dconst_third ());
    5460                 :             :  break;
    5461                 :             :  default:
    5462                 :             :  gcc_unreachable ();
    5463                 :             :  }
    5464                 :           0 :                                   gimple_seq *lseq = seq;
    5465                 :           0 :                                   if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail1422;
    5466                 :           0 :                                   {
    5467                 :           0 :                                     res_op->set_op (MULT_EXPR, type, 2);
    5468                 :           0 :                                     res_op->ops[0] =  x;
    5469                 :           0 :                                     {
    5470                 :           0 :                                       tree _o1[1], _r1;
    5471                 :           0 :                                       _o1[0] = captures[0];
    5472                 :           0 :                                       gimple_match_op tem_op (res_op->cond.any_else (), CFN_LOG10, TREE_TYPE (_o1[0]), _o1[0]);
    5473                 :           0 :                                       tem_op.resimplify (lseq, valueize);
    5474                 :           0 :                                       _r1 = maybe_push_res_to_seq (&tem_op, lseq);
    5475                 :           0 :                                       if (!_r1) goto next_after_fail1422;
    5476                 :           0 :                                       res_op->ops[1] = _r1;
    5477                 :             :                                     }
    5478                 :           0 :                                     res_op->resimplify (lseq, valueize);
    5479                 :           0 :                                     if (UNLIKELY (debug_dump)) gimple_dump_logs ("match.pd", 903, __FILE__, __LINE__, true);
    5480                 :           0 :                                     return true;
    5481                 :             :                                   }
    5482                 :             : next_after_fail1422:;
    5483                 :             :                               }
    5484                 :             :                             }
    5485                 :             :                         }
    5486                 :             :                     }
    5487                 :             :                   }
    5488                 :             :                 break;
    5489                 :           0 :               case CFN_EXP10:
    5490                 :           0 :                 if (gimple_call_num_args (_c1) == 1)
    5491                 :             :                   {
    5492                 :           0 :                     tree _q20 = gimple_call_arg (_c1, 0);
    5493                 :           0 :                     _q20 = do_valueize (valueize, _q20);
    5494                 :           0 :                     {
    5495                 :           0 :                       tree captures[1] ATTRIBUTE_UNUSED = { _q20 };
    5496                 :           0 :                       if (flag_unsafe_math_optimizations
    5497                 :             : )
    5498                 :             :                         {
    5499                 :           0 :                           gimple_seq *lseq = seq;
    5500                 :           0 :                           if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail1423;
    5501                 :           0 :                           {
    5502                 :           0 :                             tree tem;
    5503                 :           0 :                             tem = captures[0];
    5504                 :           0 :                             res_op->set_value (tem);
    5505                 :           0 :                             if (UNLIKELY (debug_dump)) gimple_dump_logs ("match.pd", 905, __FILE__, __LINE__, true);
    5506                 :           0 :                             return true;
    5507                 :             :                           }
    5508                 :           0 : next_after_fail1423:;
    5509                 :             :                         }
    5510                 :             :                     }
    5511                 :             :                   }
    5512                 :             :                 break;
    5513                 :             :               default:;
    5514                 :             :               }
    5515                 :             :         }
    5516                 :             :       break;
    5517                 :             :     default:;
    5518                 :             :     }
    5519                 :             :   return false;
    5520                 :             : }
    5521                 :             : 
    5522                 :             : bool
    5523                 :         299 : gimple_simplify_CFN_BUILT_IN_EXP10L (gimple_match_op *res_op, gimple_seq *seq,
    5524                 :             :                  tree (*valueize)(tree) ATTRIBUTE_UNUSED,
    5525                 :             :                  code_helper ARG_UNUSED (code), tree ARG_UNUSED (type), tree _p0)
    5526                 :             : {
    5527                 :         299 :   const bool debug_dump = dump_file && (dump_flags & TDF_FOLDING);
    5528                 :         299 :   switch (TREE_CODE (_p0))
    5529                 :             :     {
    5530                 :         249 :     case SSA_NAME:
    5531                 :         249 :       if (gimple *_d1 = get_def (valueize, _p0))
    5532                 :             :         {
    5533                 :         173 :           if (gcall *_c1 = dyn_cast <gcall *> (_d1))
    5534                 :           6 :             switch (gimple_call_combined_fn (_c1))
    5535                 :             :               {
    5536                 :           6 :               case CFN_BUILT_IN_LOG10L:
    5537                 :           6 :                 if (gimple_call_num_args (_c1) == 1)
    5538                 :             :                   {
    5539                 :           6 :                     tree _q20 = gimple_call_arg (_c1, 0);
    5540                 :           6 :                     _q20 = do_valueize (valueize, _q20);
    5541                 :           6 :                     {
    5542                 :           6 :                       tree captures[1] ATTRIBUTE_UNUSED = { _q20 };
    5543                 :           6 :                       if (flag_unsafe_math_optimizations
    5544                 :             : )
    5545                 :             :                         {
    5546                 :           6 :                           gimple_seq *lseq = seq;
    5547                 :           6 :                           if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail1434;
    5548                 :           6 :                           {
    5549                 :           6 :                             tree tem;
    5550                 :           6 :                             tem = captures[0];
    5551                 :           6 :                             res_op->set_value (tem);
    5552                 :           6 :                             if (UNLIKELY (debug_dump)) gimple_dump_logs ("match.pd", 906, __FILE__, __LINE__, true);
    5553                 :           6 :                             return true;
    5554                 :             :                           }
    5555                 :           0 : next_after_fail1434:;
    5556                 :             :                         }
    5557                 :             :                     }
    5558                 :             :                   }
    5559                 :             :                 break;
    5560                 :             :               default:;
    5561                 :             :               }
    5562                 :             :         }
    5563                 :             :       break;
    5564                 :             :     default:;
    5565                 :             :     }
    5566                 :             :   return false;
    5567                 :             : }
    5568                 :             : 
    5569                 :             : bool
    5570                 :         426 : gimple_simplify_CFN_BUILT_IN_CBRTF (gimple_match_op *res_op, gimple_seq *seq,
    5571                 :             :                  tree (*valueize)(tree) ATTRIBUTE_UNUSED,
    5572                 :             :                  code_helper ARG_UNUSED (code), tree ARG_UNUSED (type), tree _p0)
    5573                 :             : {
    5574                 :         426 :   const bool debug_dump = dump_file && (dump_flags & TDF_FOLDING);
    5575                 :         426 :   switch (TREE_CODE (_p0))
    5576                 :             :     {
    5577                 :         396 :     case SSA_NAME:
    5578                 :         396 :       if (gimple *_d1 = get_def (valueize, _p0))
    5579                 :             :         {
    5580                 :         272 :           if (gcall *_c1 = dyn_cast <gcall *> (_d1))
    5581                 :          84 :             switch (gimple_call_combined_fn (_c1))
    5582                 :             :               {
    5583                 :          12 :               case CFN_BUILT_IN_SQRTF:
    5584                 :          12 :                 if (gimple_call_num_args (_c1) == 1)
    5585                 :             :                   {
    5586                 :          12 :                     tree _q20 = gimple_call_arg (_c1, 0);
    5587                 :          12 :                     _q20 = do_valueize (valueize, _q20);
    5588                 :          12 :                     {
    5589                 :          12 :                       tree captures[1] ATTRIBUTE_UNUSED = { _q20 };
    5590                 :          12 :                       if (flag_unsafe_math_optimizations && canonicalize_math_p ()
    5591                 :             : )
    5592                 :             :                         {
    5593                 :          12 :                           gimple_seq *lseq = seq;
    5594                 :          12 :                           if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail1465;
    5595                 :          12 :                           {
    5596                 :          12 :                             res_op->set_op (CFN_BUILT_IN_POWF, type, 2);
    5597                 :          12 :                             res_op->ops[0] = captures[0];
    5598                 :          12 :                             res_op->ops[1] =  build_real_truncate (type, dconst_sixth ());
    5599                 :          12 :                             res_op->resimplify (lseq, valueize);
    5600                 :          12 :                             if (UNLIKELY (debug_dump)) gimple_dump_logs ("match.pd", 911, __FILE__, __LINE__, true);
    5601                 :          12 :                             return true;
    5602                 :             :                           }
    5603                 :           0 : next_after_fail1465:;
    5604                 :             :                         }
    5605                 :             :                     }
    5606                 :             :                   }
    5607                 :             :                 break;
    5608                 :          12 :               case CFN_BUILT_IN_EXP10F:
    5609                 :          12 :                 if (gimple_call_num_args (_c1) == 1)
    5610                 :             :                   {
    5611                 :          12 :                     tree _q20 = gimple_call_arg (_c1, 0);
    5612                 :          12 :                     _q20 = do_valueize (valueize, _q20);
    5613                 :          12 :                     {
    5614                 :          12 :                       tree captures[1] ATTRIBUTE_UNUSED = { _q20 };
    5615                 :          12 :                       if (flag_unsafe_math_optimizations
    5616                 :             : )
    5617                 :             :                         {
    5618                 :          12 :                           gimple_seq *lseq = seq;
    5619                 :          12 :                           if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail1466;
    5620                 :          12 :                           {
    5621                 :          12 :                             res_op->set_op (CFN_BUILT_IN_EXP10F, type, 1);
    5622                 :          12 :                             {
    5623                 :          12 :                               tree _o1[2], _r1;
    5624                 :          12 :                               _o1[0] = captures[0];
    5625                 :          12 :                               _o1[1] =  build_real_truncate (type, dconst_third ());
    5626                 :          12 :                               gimple_match_op tem_op (res_op->cond.any_else (), MULT_EXPR, TREE_TYPE (_o1[0]), _o1[0], _o1[1]);
    5627                 :          12 :                               tem_op.resimplify (lseq, valueize);
    5628                 :          12 :                               _r1 = maybe_push_res_to_seq (&tem_op, lseq);
    5629                 :          12 :                               if (!_r1) goto next_after_fail1466;
    5630                 :           6 :                               res_op->ops[0] = _r1;
    5631                 :             :                             }
    5632                 :           6 :                             res_op->resimplify (lseq, valueize);
    5633                 :           6 :                             if (UNLIKELY (debug_dump)) gimple_dump_logs ("match.pd", 912, __FILE__, __LINE__, true);
    5634                 :           6 :                             return true;
    5635                 :             :                           }
    5636                 :             : next_after_fail1466:;
    5637                 :             :                         }
    5638                 :             :                     }
    5639                 :             :                   }
    5640                 :             :                 break;
    5641                 :          12 :               case CFN_BUILT_IN_EXPF:
    5642                 :          12 :                 if (gimple_call_num_args (_c1) == 1)
    5643                 :             :                   {
    5644                 :          12 :                     tree _q20 = gimple_call_arg (_c1, 0);
    5645                 :          12 :                     _q20 = do_valueize (valueize, _q20);
    5646                 :          12 :                     {
    5647                 :          12 :                       tree captures[1] ATTRIBUTE_UNUSED = { _q20 };
    5648                 :          12 :                       if (flag_unsafe_math_optimizations
    5649                 :             : )
    5650                 :             :                         {
    5651                 :          12 :                           gimple_seq *lseq = seq;
    5652                 :          12 :                           if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail1467;
    5653                 :          12 :                           {
    5654                 :          12 :                             res_op->set_op (CFN_BUILT_IN_EXPF, type, 1);
    5655                 :          12 :                             {
    5656                 :          12 :                               tree _o1[2], _r1;
    5657                 :          12 :                               _o1[0] = captures[0];
    5658                 :          12 :                               _o1[1] =  build_real_truncate (type, dconst_third ());
    5659                 :          12 :                               gimple_match_op tem_op (res_op->cond.any_else (), MULT_EXPR, TREE_TYPE (_o1[0]), _o1[0], _o1[1]);
    5660                 :          12 :                               tem_op.resimplify (lseq, valueize);
    5661                 :          12 :                               _r1 = maybe_push_res_to_seq (&tem_op, lseq);
    5662                 :          12 :                               if (!_r1) goto next_after_fail1467;
    5663                 :           6 :                               res_op->ops[0] = _r1;
    5664                 :             :                             }
    5665                 :           6 :                             res_op->resimplify (lseq, valueize);
    5666                 :           6 :                             if (UNLIKELY (debug_dump)) gimple_dump_logs ("match.pd", 912, __FILE__, __LINE__, true);
    5667                 :           6 :                             return true;
    5668                 :             :                           }
    5669                 :             : next_after_fail1467:;
    5670                 :             :                         }
    5671                 :             :                     }
    5672                 :             :                   }
    5673                 :             :                 break;
    5674                 :          12 :               case CFN_BUILT_IN_POWF:
    5675                 :          12 :                 if (gimple_call_num_args (_c1) == 2)
    5676                 :             :                   {
    5677                 :          12 :                     tree _q20 = gimple_call_arg (_c1, 0);
    5678                 :          12 :                     _q20 = do_valueize (valueize, _q20);
    5679                 :          12 :                     tree _q21 = gimple_call_arg (_c1, 1);
    5680                 :          12 :                     _q21 = do_valueize (valueize, _q21);
    5681                 :          12 :                     if (tree_expr_nonnegative_p (_q20))
    5682                 :             :                       {
    5683                 :          12 :                         {
    5684                 :          12 :                           tree captures[2] ATTRIBUTE_UNUSED = { _q20, _q21 };
    5685                 :          12 :                           if (flag_unsafe_math_optimizations && canonicalize_math_p ()
    5686                 :             : )
    5687                 :             :                             {
    5688                 :          12 :                               gimple_seq *lseq = seq;
    5689                 :          12 :                               if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail1468;
    5690                 :          12 :                               {
    5691                 :          12 :                                 res_op->set_op (CFN_BUILT_IN_POWF, type, 2);
    5692                 :          12 :                                 res_op->ops[0] = captures[0];
    5693                 :          12 :                                 {
    5694                 :          12 :                                   tree _o1[2], _r1;
    5695                 :          12 :                                   _o1[0] = captures[1];
    5696                 :          12 :                                   _o1[1] =  build_real_truncate (type, dconst_third ());
    5697                 :          12 :                                   gimple_match_op tem_op (res_op->cond.any_else (), MULT_EXPR, TREE_TYPE (_o1[0]), _o1[0], _o1[1]);
    5698                 :          12 :                                   tem_op.resimplify (lseq, valueize);
    5699                 :          12 :                                   _r1 = maybe_push_res_to_seq (&tem_op, lseq);
    5700                 :          12 :                                   if (!_r1) goto next_after_fail1468;
    5701                 :           6 :                                   res_op->ops[1] = _r1;
    5702                 :             :                                 }
    5703                 :           6 :                                 res_op->resimplify (lseq, valueize);
    5704                 :           6 :                                 if (UNLIKELY (debug_dump)) gimple_dump_logs ("match.pd", 913, __FILE__, __LINE__, true);
    5705                 :           6 :                                 return true;
    5706                 :             :                               }
    5707                 :           6 : next_after_fail1468:;
    5708                 :             :                             }
    5709                 :             :                         }
    5710                 :             :                       }
    5711                 :             :                   }
    5712                 :             :                 break;
    5713                 :          12 :               case CFN_BUILT_IN_POW10F:
    5714                 :          12 :                 if (gimple_call_num_args (_c1) == 1)
    5715                 :             :                   {
    5716                 :          12 :                     tree _q20 = gimple_call_arg (_c1, 0);
    5717                 :          12 :                     _q20 = do_valueize (valueize, _q20);
    5718                 :          12 :                     {
    5719                 :          12 :                       tree captures[1] ATTRIBUTE_UNUSED = { _q20 };
    5720                 :          12 :                       if (flag_unsafe_math_optimizations
    5721                 :             : )
    5722                 :             :                         {
    5723                 :          12 :                           gimple_seq *lseq = seq;
    5724                 :          12 :                           if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail1469;
    5725                 :          12 :                           {
    5726                 :          12 :                             res_op->set_op (CFN_BUILT_IN_POW10F, type, 1);
    5727                 :          12 :                             {
    5728                 :          12 :                               tree _o1[2], _r1;
    5729                 :          12 :                               _o1[0] = captures[0];
    5730                 :          12 :                               _o1[1] =  build_real_truncate (type, dconst_third ());
    5731                 :          12 :                               gimple_match_op tem_op (res_op->cond.any_else (), MULT_EXPR, TREE_TYPE (_o1[0]), _o1[0], _o1[1]);
    5732                 :          12 :                               tem_op.resimplify (lseq, valueize);
    5733                 :          12 :                               _r1 = maybe_push_res_to_seq (&tem_op, lseq);
    5734                 :          12 :                               if (!_r1) goto next_after_fail1469;
    5735                 :           6 :                               res_op->ops[0] = _r1;
    5736                 :             :                             }
    5737                 :           6 :                             res_op->resimplify (lseq, valueize);
    5738                 :           6 :                             if (UNLIKELY (debug_dump)) gimple_dump_logs ("match.pd", 912, __FILE__, __LINE__, true);
    5739                 :           6 :                             return true;
    5740                 :             :                           }
    5741                 :             : next_after_fail1469:;
    5742                 :             :                         }
    5743                 :             :                     }
    5744                 :             :                   }
    5745                 :             :                 break;
    5746                 :          12 :               case CFN_BUILT_IN_CBRTF:
    5747                 :          12 :                 if (gimple_call_num_args (_c1) == 1)
    5748                 :             :                   {
    5749                 :          12 :                     tree _q20 = gimple_call_arg (_c1, 0);
    5750                 :          12 :                     _q20 = do_valueize (valueize, _q20);
    5751                 :          12 :                     if (tree_expr_nonnegative_p (_q20))
    5752                 :             :                       {
    5753                 :          12 :                         {
    5754                 :          12 :                           tree captures[1] ATTRIBUTE_UNUSED = { _q20 };
    5755                 :          12 :                           if (flag_unsafe_math_optimizations && canonicalize_math_p ()
    5756                 :             : )
    5757                 :             :                             {
    5758                 :          12 :                               gimple_seq *lseq = seq;
    5759                 :          12 :                               if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail1470;
    5760                 :          12 :                               {
    5761                 :          12 :                                 res_op->set_op (CFN_BUILT_IN_POWF, type, 2);
    5762                 :          12 :                                 res_op->ops[0] = captures[0];
    5763                 :          12 :                                 res_op->ops[1] =  build_real_truncate (type, dconst_ninth ());
    5764                 :          12 :                                 res_op->resimplify (lseq, valueize);
    5765                 :          12 :                                 if (UNLIKELY (debug_dump)) gimple_dump_logs ("match.pd", 914, __FILE__, __LINE__, true);
    5766                 :          12 :                                 return true;
    5767                 :             :                               }
    5768                 :           0 : next_after_fail1470:;
    5769                 :             :                             }
    5770                 :             :                         }
    5771                 :             :                       }
    5772                 :             :                   }
    5773                 :             :                 break;
    5774                 :          12 :               case CFN_BUILT_IN_EXP2F:
    5775                 :          12 :                 if (gimple_call_num_args (_c1) == 1)
    5776                 :             :                   {
    5777                 :          12 :                     tree _q20 = gimple_call_arg (_c1, 0);
    5778                 :          12 :                     _q20 = do_valueize (valueize, _q20);
    5779                 :          12 :                     {
    5780                 :          12 :                       tree captures[1] ATTRIBUTE_UNUSED = { _q20 };
    5781                 :          12 :                       if (flag_unsafe_math_optimizations
    5782                 :             : )
    5783                 :             :                         {
    5784                 :          12 :                           gimple_seq *lseq = seq;
    5785                 :          12 :                           if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail1471;
    5786                 :          12 :                           {
    5787                 :          12 :                             res_op->set_op (CFN_BUILT_IN_EXP2F, type, 1);
    5788                 :          12 :                             {
    5789                 :          12 :                               tree _o1[2], _r1;
    5790                 :          12 :                               _o1[0] = captures[0];
    5791                 :          12 :                               _o1[1] =  build_real_truncate (type, dconst_third ());
    5792                 :          12 :                               gimple_match_op tem_op (res_op->cond.any_else (), MULT_EXPR, TREE_TYPE (_o1[0]), _o1[0], _o1[1]);
    5793                 :          12 :                               tem_op.resimplify (lseq, valueize);
    5794                 :          12 :                               _r1 = maybe_push_res_to_seq (&tem_op, lseq);
    5795                 :          12 :                               if (!_r1) goto next_after_fail1471;
    5796                 :           6 :                               res_op->ops[0] = _r1;
    5797                 :             :                             }
    5798                 :           6 :                             res_op->resimplify (lseq, valueize);
    5799                 :           6 :                             if (UNLIKELY (debug_dump)) gimple_dump_logs ("match.pd", 912, __FILE__, __LINE__, true);
    5800                 :           6 :                             return true;
    5801                 :             :                           }
    5802                 :             : next_after_fail1471:;
    5803                 :             :                         }
    5804                 :             :                     }
    5805                 :             :                   }
    5806                 :             :                 break;
    5807                 :             :               default:;
    5808                 :             :               }
    5809                 :             :         }
    5810                 :             :       break;
    5811                 :             :     default:;
    5812                 :             :     }
    5813                 :             :   return false;
    5814                 :             : }
    5815                 :             : 
    5816                 :             : bool
    5817                 :         154 : gimple_simplify_CFN_BUILT_IN_TRUNCF16 (gimple_match_op *res_op, gimple_seq *seq,
    5818                 :             :                  tree (*valueize)(tree) ATTRIBUTE_UNUSED,
    5819                 :             :                  code_helper ARG_UNUSED (code), tree ARG_UNUSED (type), tree _p0)
    5820                 :             : {
    5821                 :         154 :   const bool debug_dump = dump_file && (dump_flags & TDF_FOLDING);
    5822                 :         154 :   switch (TREE_CODE (_p0))
    5823                 :             :     {
    5824                 :         152 :     case SSA_NAME:
    5825                 :         152 :       if (gimple *_d1 = get_def (valueize, _p0))
    5826                 :             :         {
    5827                 :         100 :           if (gcall *_c1 = dyn_cast <gcall *> (_d1))
    5828                 :           0 :             switch (gimple_call_combined_fn (_c1))
    5829                 :             :               {
    5830                 :           0 :               case CFN_BUILT_IN_TRUNCF16:
    5831                 :           0 :                 if (gimple_call_num_args (_c1) == 1)
    5832                 :             :                   {
    5833                 :           0 :                     tree _q20 = gimple_call_arg (_c1, 0);
    5834                 :           0 :                     _q20 = do_valueize (valueize, _q20);
    5835                 :           0 :                     {
    5836                 :           0 :                       tree captures[1] ATTRIBUTE_UNUSED = { _q20 };
    5837                 :           0 :                       if (gimple_simplify_603 (res_op, seq, valueize, type, captures, CFN_BUILT_IN_TRUNCF16))
    5838                 :           0 :                         return true;
    5839                 :             :                     }
    5840                 :             :                   }
    5841                 :             :                 break;
    5842                 :             :               default:;
    5843                 :             :               }
    5844                 :             :         }
    5845                 :             :       break;
    5846                 :         154 :     default:;
    5847                 :             :     }
    5848                 :         154 : if (integer_valued_real_p (_p0))
    5849                 :             :   {
    5850                 :           0 :     {
    5851                 :           0 :       tree captures[1] ATTRIBUTE_UNUSED = { _p0 };
    5852                 :           0 :       if (gimple_simplify_604 (res_op, seq, valueize, type, captures, CFN_BUILT_IN_TRUNCF16))
    5853                 :           0 :         return true;
    5854                 :             :     }
    5855                 :             :   }
    5856                 :             :   return false;
    5857                 :             : }
    5858                 :             : 
    5859                 :             : bool
    5860                 :         207 : gimple_simplify_CFN_TRUNC (gimple_match_op *res_op, gimple_seq *seq,
    5861                 :             :                  tree (*valueize)(tree) ATTRIBUTE_UNUSED,
    5862                 :             :                  code_helper ARG_UNUSED (code), tree ARG_UNUSED (type), tree _p0)
    5863                 :             : {
    5864                 :         207 :   const bool debug_dump = dump_file && (dump_flags & TDF_FOLDING);
    5865                 :         207 :   switch (TREE_CODE (_p0))
    5866                 :             :     {
    5867                 :         207 :     case SSA_NAME:
    5868                 :         207 :       if (gimple *_d1 = get_def (valueize, _p0))
    5869                 :             :         {
    5870                 :         120 :           if (gcall *_c1 = dyn_cast <gcall *> (_d1))
    5871                 :           0 :             switch (gimple_call_combined_fn (_c1))
    5872                 :             :               {
    5873                 :           0 :               case CFN_TRUNC:
    5874                 :           0 :                 if (gimple_call_num_args (_c1) == 1)
    5875                 :             :                   {
    5876                 :           0 :                     tree _q20 = gimple_call_arg (_c1, 0);
    5877                 :           0 :                     _q20 = do_valueize (valueize, _q20);
    5878                 :           0 :                     {
    5879                 :           0 :                       tree captures[1] ATTRIBUTE_UNUSED = { _q20 };
    5880                 :           0 :                       if (gimple_simplify_603 (res_op, seq, valueize, type, captures, CFN_TRUNC))
    5881                 :           0 :                         return true;
    5882                 :             :                     }
    5883                 :             :                   }
    5884                 :             :                 break;
    5885                 :             :               default:;
    5886                 :             :               }
    5887                 :             :         }
    5888                 :             :       break;
    5889                 :         207 :     default:;
    5890                 :             :     }
    5891                 :         207 : if (integer_valued_real_p (_p0))
    5892                 :             :   {
    5893                 :           0 :     {
    5894                 :           0 :       tree captures[1] ATTRIBUTE_UNUSED = { _p0 };
    5895                 :           0 :       if (gimple_simplify_604 (res_op, seq, valueize, type, captures, CFN_TRUNC))
    5896                 :           0 :         return true;
    5897                 :             :     }
    5898                 :             :   }
    5899                 :             :   return false;
    5900                 :             : }
    5901                 :             : 
    5902                 :             : bool
    5903                 :           0 : gimple_simplify_CFN_BUILT_IN_FLOORF64X (gimple_match_op *res_op, gimple_seq *seq,
    5904                 :             :                  tree (*valueize)(tree) ATTRIBUTE_UNUSED,
    5905                 :             :                  code_helper ARG_UNUSED (code), tree ARG_UNUSED (type), tree _p0)
    5906                 :             : {
    5907                 :           0 :   const bool debug_dump = dump_file && (dump_flags & TDF_FOLDING);
    5908                 :           0 :   switch (TREE_CODE (_p0))
    5909                 :             :     {
    5910                 :           0 :     case SSA_NAME:
    5911                 :           0 :       if (gimple *_d1 = get_def (valueize, _p0))
    5912                 :             :         {
    5913                 :           0 :           if (gcall *_c1 = dyn_cast <gcall *> (_d1))
    5914                 :           0 :             switch (gimple_call_combined_fn (_c1))
    5915                 :             :               {
    5916                 :           0 :               case CFN_BUILT_IN_FLOORF64X:
    5917                 :           0 :                 if (gimple_call_num_args (_c1) == 1)
    5918                 :             :                   {
    5919                 :           0 :                     tree _q20 = gimple_call_arg (_c1, 0);
    5920                 :           0 :                     _q20 = do_valueize (valueize, _q20);
    5921                 :           0 :                     {
    5922                 :           0 :                       tree captures[1] ATTRIBUTE_UNUSED = { _q20 };
    5923                 :           0 :                       if (gimple_simplify_603 (res_op, seq, valueize, type, captures, CFN_BUILT_IN_FLOORF64X))
    5924                 :           0 :                         return true;
    5925                 :             :                     }
    5926                 :             :                   }
    5927                 :             :                 break;
    5928                 :             :               default:;
    5929                 :             :               }
    5930                 :             :         }
    5931                 :             :       break;
    5932                 :           0 :     default:;
    5933                 :             :     }
    5934                 :           0 : if (integer_valued_real_p (_p0))
    5935                 :             :   {
    5936                 :           0 :     {
    5937                 :           0 :       tree captures[1] ATTRIBUTE_UNUSED = { _p0 };
    5938                 :           0 :       if (gimple_simplify_604 (res_op, seq, valueize, type, captures, CFN_BUILT_IN_FLOORF64X))
    5939                 :           0 :         return true;
    5940                 :             :     }
    5941                 :             :   }
    5942                 :           0 : if (tree_expr_nonnegative_p (_p0))
    5943                 :             :   {
    5944                 :           0 :     {
    5945                 :           0 :       tree captures[1] ATTRIBUTE_UNUSED = { _p0 };
    5946                 :           0 :       if (gimple_simplify_607 (res_op, seq, valueize, type, captures, CFN_BUILT_IN_FLOORF64X, CFN_BUILT_IN_TRUNCF64X))
    5947                 :           0 :         return true;
    5948                 :             :     }
    5949                 :             :   }
    5950                 :             :   return false;
    5951                 :             : }
    5952                 :             : 
    5953                 :             : bool
    5954                 :          44 : gimple_simplify_CFN_BUILT_IN_CEILF128 (gimple_match_op *res_op, gimple_seq *seq,
    5955                 :             :                  tree (*valueize)(tree) ATTRIBUTE_UNUSED,
    5956                 :             :                  code_helper ARG_UNUSED (code), tree ARG_UNUSED (type), tree _p0)
    5957                 :             : {
    5958                 :          44 :   const bool debug_dump = dump_file && (dump_flags & TDF_FOLDING);
    5959                 :          44 :   switch (TREE_CODE (_p0))
    5960                 :             :     {
    5961                 :          42 :     case SSA_NAME:
    5962                 :          42 :       if (gimple *_d1 = get_def (valueize, _p0))
    5963                 :             :         {
    5964                 :          28 :           if (gcall *_c1 = dyn_cast <gcall *> (_d1))
    5965                 :           0 :             switch (gimple_call_combined_fn (_c1))
    5966                 :             :               {
    5967                 :           0 :               case CFN_BUILT_IN_CEILF128:
    5968                 :           0 :                 if (gimple_call_num_args (_c1) == 1)
    5969                 :             :                   {
    5970                 :           0 :                     tree _q20 = gimple_call_arg (_c1, 0);
    5971                 :           0 :                     _q20 = do_valueize (valueize, _q20);
    5972                 :           0 :                     {
    5973                 :           0 :                       tree captures[1] ATTRIBUTE_UNUSED = { _q20 };
    5974                 :           0 :                       if (gimple_simplify_603 (res_op, seq, valueize, type, captures, CFN_BUILT_IN_CEILF128))
    5975                 :           0 :                         return true;
    5976                 :             :                     }
    5977                 :             :                   }
    5978                 :             :                 break;
    5979                 :             :               default:;
    5980                 :             :               }
    5981                 :             :         }
    5982                 :             :       break;
    5983                 :          44 :     default:;
    5984                 :             :     }
    5985                 :          44 : if (integer_valued_real_p (_p0))
    5986                 :             :   {
    5987                 :           0 :     {
    5988                 :           0 :       tree captures[1] ATTRIBUTE_UNUSED = { _p0 };
    5989                 :           0 :       if (gimple_simplify_604 (res_op, seq, valueize, type, captures, CFN_BUILT_IN_CEILF128))
    5990                 :           0 :         return true;
    5991                 :             :     }
    5992                 :             :   }
    5993                 :             :   return false;
    5994                 :             : }
    5995                 :             : 
    5996                 :             : bool
    5997                 :         107 : gimple_simplify_CFN_BUILT_IN_ROUNDF16 (gimple_match_op *res_op, gimple_seq *seq,
    5998                 :             :                  tree (*valueize)(tree) ATTRIBUTE_UNUSED,
    5999                 :             :                  code_helper ARG_UNUSED (code), tree ARG_UNUSED (type), tree _p0)
    6000                 :             : {
    6001                 :         107 :   const bool debug_dump = dump_file && (dump_flags & TDF_FOLDING);
    6002                 :         107 :   switch (TREE_CODE (_p0))
    6003                 :             :     {
    6004                 :         106 :     case SSA_NAME:
    6005                 :         106 :       if (gimple *_d1 = get_def (valueize, _p0))
    6006                 :             :         {
    6007                 :          71 :           if (gcall *_c1 = dyn_cast <gcall *> (_d1))
    6008                 :           0 :             switch (gimple_call_combined_fn (_c1))
    6009                 :             :               {
    6010                 :           0 :               case CFN_BUILT_IN_ROUNDF16:
    6011                 :           0 :                 if (gimple_call_num_args (_c1) == 1)
    6012                 :             :                   {
    6013                 :           0 :                     tree _q20 = gimple_call_arg (_c1, 0);
    6014                 :           0 :                     _q20 = do_valueize (valueize, _q20);
    6015                 :           0 :                     {
    6016                 :           0 :                       tree captures[1] ATTRIBUTE_UNUSED = { _q20 };
    6017                 :           0 :                       if (gimple_simplify_603 (res_op, seq, valueize, type, captures, CFN_BUILT_IN_ROUNDF16))
    6018                 :           0 :                         return true;
    6019                 :             :                     }
    6020                 :             :                   }
    6021                 :             :                 break;
    6022                 :             :               default:;
    6023                 :             :               }
    6024                 :             :         }
    6025                 :             :       break;
    6026                 :         107 :     default:;
    6027                 :             :     }
    6028                 :         107 : if (integer_valued_real_p (_p0))
    6029                 :             :   {
    6030                 :           0 :     {
    6031                 :           0 :       tree captures[1] ATTRIBUTE_UNUSED = { _p0 };
    6032                 :           0 :       if (gimple_simplify_604 (res_op, seq, valueize, type, captures, CFN_BUILT_IN_ROUNDF16))
    6033                 :           0 :         return true;
    6034                 :             :     }
    6035                 :             :   }
    6036                 :             :   return false;
    6037                 :             : }
    6038                 :             : 
    6039                 :             : bool
    6040                 :          72 : gimple_simplify_CFN_ROUND (gimple_match_op *res_op, gimple_seq *seq,
    6041                 :             :                  tree (*valueize)(tree) ATTRIBUTE_UNUSED,
    6042                 :             :                  code_helper ARG_UNUSED (code), tree ARG_UNUSED (type), tree _p0)
    6043                 :             : {
    6044                 :          72 :   const bool debug_dump = dump_file && (dump_flags & TDF_FOLDING);
    6045                 :          72 :   switch (TREE_CODE (_p0))
    6046                 :             :     {
    6047                 :          72 :     case SSA_NAME:
    6048                 :          72 :       if (gimple *_d1 = get_def (valueize, _p0))
    6049                 :             :         {
    6050                 :          39 :           if (gcall *_c1 = dyn_cast <gcall *> (_d1))
    6051                 :           0 :             switch (gimple_call_combined_fn (_c1))
    6052                 :             :               {
    6053                 :           0 :               case CFN_ROUND:
    6054                 :           0 :                 if (gimple_call_num_args (_c1) == 1)
    6055                 :             :                   {
    6056                 :           0 :                     tree _q20 = gimple_call_arg (_c1, 0);
    6057                 :           0 :                     _q20 = do_valueize (valueize, _q20);
    6058                 :           0 :                     {
    6059                 :           0 :                       tree captures[1] ATTRIBUTE_UNUSED = { _q20 };
    6060                 :           0 :                       if (gimple_simplify_603 (res_op, seq, valueize, type, captures, CFN_ROUND))
    6061                 :           0 :                         return true;
    6062                 :             :                     }
    6063                 :             :                   }
    6064                 :             :                 break;
    6065                 :             :               default:;
    6066                 :             :               }
    6067                 :             :         }
    6068                 :             :       break;
    6069                 :          72 :     default:;
    6070                 :             :     }
    6071                 :          72 : if (integer_valued_real_p (_p0))
    6072                 :             :   {
    6073                 :           0 :     {
    6074                 :           0 :       tree captures[1] ATTRIBUTE_UNUSED = { _p0 };
    6075                 :           0 :       if (gimple_simplify_604 (res_op, seq, valueize, type, captures, CFN_ROUND))
    6076                 :           0 :         return true;
    6077                 :             :     }
    6078                 :             :   }
    6079                 :             :   return false;
    6080                 :             : }
    6081                 :             : 
    6082                 :             : bool
    6083                 :           0 : gimple_simplify_CFN_BUILT_IN_NEARBYINTF64X (gimple_match_op *res_op, gimple_seq *seq,
    6084                 :             :                  tree (*valueize)(tree) ATTRIBUTE_UNUSED,
    6085                 :             :                  code_helper ARG_UNUSED (code), tree ARG_UNUSED (type), tree _p0)
    6086                 :             : {
    6087                 :           0 :   const bool debug_dump = dump_file && (dump_flags & TDF_FOLDING);
    6088                 :           0 :   switch (TREE_CODE (_p0))
    6089                 :             :     {
    6090                 :           0 :     case SSA_NAME:
    6091                 :           0 :       if (gimple *_d1 = get_def (valueize, _p0))
    6092                 :             :         {
    6093                 :           0 :           if (gcall *_c1 = dyn_cast <gcall *> (_d1))
    6094                 :           0 :             switch (gimple_call_combined_fn (_c1))
    6095                 :             :               {
    6096                 :           0 :               case CFN_BUILT_IN_NEARBYINTF64X:
    6097                 :           0 :                 if (gimple_call_num_args (_c1) == 1)
    6098                 :             :                   {
    6099                 :           0 :                     tree _q20 = gimple_call_arg (_c1, 0);
    6100                 :           0 :                     _q20 = do_valueize (valueize, _q20);
    6101                 :           0 :                     {
    6102                 :           0 :                       tree captures[1] ATTRIBUTE_UNUSED = { _q20 };
    6103                 :           0 :                       if (gimple_simplify_603 (res_op, seq, valueize, type, captures, CFN_BUILT_IN_NEARBYINTF64X))
    6104                 :           0 :                         return true;
    6105                 :             :                     }
    6106                 :             :                   }
    6107                 :             :                 break;
    6108                 :             :               default:;
    6109                 :             :               }
    6110                 :             :         }
    6111                 :             :       break;
    6112                 :           0 :     default:;
    6113                 :             :     }
    6114                 :           0 : if (integer_valued_real_p (_p0))
    6115                 :             :   {
    6116                 :           0 :     {
    6117                 :           0 :       tree captures[1] ATTRIBUTE_UNUSED = { _p0 };
    6118                 :           0 :       if (gimple_simplify_604 (res_op, seq, valueize, type, captures, CFN_BUILT_IN_NEARBYINTF64X))
    6119                 :           0 :         return true;
    6120                 :             :     }
    6121                 :             :   }
    6122                 :             :   return false;
    6123                 :             : }
    6124                 :             : 
    6125                 :             : bool
    6126                 :           0 : gimple_simplify_CFN_BUILT_IN_RINTF64 (gimple_match_op *res_op, gimple_seq *seq,
    6127                 :             :                  tree (*valueize)(tree) ATTRIBUTE_UNUSED,
    6128                 :             :                  code_helper ARG_UNUSED (code), tree ARG_UNUSED (type), tree _p0)
    6129                 :             : {
    6130                 :           0 :   const bool debug_dump = dump_file && (dump_flags & TDF_FOLDING);
    6131                 :           0 :   switch (TREE_CODE (_p0))
    6132                 :             :     {
    6133                 :           0 :     case SSA_NAME:
    6134                 :           0 :       if (gimple *_d1 = get_def (valueize, _p0))
    6135                 :             :         {
    6136                 :           0 :           if (gcall *_c1 = dyn_cast <gcall *> (_d1))
    6137                 :           0 :             switch (gimple_call_combined_fn (_c1))
    6138                 :             :               {
    6139                 :           0 :               case CFN_BUILT_IN_RINTF64:
    6140                 :           0 :                 if (gimple_call_num_args (_c1) == 1)
    6141                 :             :                   {
    6142                 :           0 :                     tree _q20 = gimple_call_arg (_c1, 0);
    6143                 :           0 :                     _q20 = do_valueize (valueize, _q20);
    6144                 :           0 :                     {
    6145                 :           0 :                       tree captures[1] ATTRIBUTE_UNUSED = { _q20 };
    6146                 :           0 :                       if (gimple_simplify_603 (res_op, seq, valueize, type, captures, CFN_BUILT_IN_RINTF64))
    6147                 :           0 :                         return true;
    6148                 :             :                     }
    6149                 :             :                   }
    6150                 :             :                 break;
    6151                 :             :               default:;
    6152                 :             :               }
    6153                 :             :         }
    6154                 :             :       break;
    6155                 :           0 :     default:;
    6156                 :             :     }
    6157                 :           0 : if (integer_valued_real_p (_p0))
    6158                 :             :   {
    6159                 :           0 :     {
    6160                 :           0 :       tree captures[1] ATTRIBUTE_UNUSED = { _p0 };
    6161                 :           0 :       if (gimple_simplify_604 (res_op, seq, valueize, type, captures, CFN_BUILT_IN_RINTF64))
    6162                 :           0 :         return true;
    6163                 :             :     }
    6164                 :             :   }
    6165                 :             :   return false;
    6166                 :             : }
    6167                 :             : 
    6168                 :             : bool
    6169                 :         513 : gimple_simplify_CFN_BUILT_IN_CEXP (gimple_match_op *res_op, gimple_seq *seq,
    6170                 :             :                  tree (*valueize)(tree) ATTRIBUTE_UNUSED,
    6171                 :             :                  code_helper ARG_UNUSED (code), tree ARG_UNUSED (type), tree _p0)
    6172                 :             : {
    6173                 :         513 :   const bool debug_dump = dump_file && (dump_flags & TDF_FOLDING);
    6174                 :         513 :   if (gimple_compositional_complex (_p0, valueize))
    6175                 :             :     {
    6176                 :          22 :       {
    6177                 :          22 :         tree captures[3] ATTRIBUTE_UNUSED = { _p0 };
    6178                 :          22 :         if (flag_unsafe_math_optimizations && canonicalize_math_p ()
    6179                 :             : )
    6180                 :             :           {
    6181                 :           8 :             if (targetm.libc_has_function (function_c99_math_complex, TREE_TYPE (captures[0]))
    6182                 :             : )
    6183                 :             :               {
    6184                 :           8 :                 gimple_seq *lseq = seq;
    6185                 :           8 :                 if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail1487;
    6186                 :           8 :                 {
    6187                 :           8 :                   res_op->set_op (COMPLEX_EXPR, type, 2);
    6188                 :           8 :                   {
    6189                 :           8 :                     tree _o1[2], _r1;
    6190                 :           8 :                     {
    6191                 :           8 :                       tree _o2[1], _r2;
    6192                 :           8 :                       {
    6193                 :           8 :                         tree _o3[1], _r3;
    6194                 :           8 :                         _o3[0] = captures[0];
    6195                 :           8 :                         gimple_match_op tem_op (res_op->cond.any_else (), REALPART_EXPR, TREE_TYPE (TREE_TYPE (_o3[0])), _o3[0]);
    6196                 :           8 :                         tem_op.resimplify (lseq, valueize);
    6197                 :           8 :                         _r3 = maybe_push_res_to_seq (&tem_op, lseq);
    6198                 :           8 :                         if (!_r3) goto next_after_fail1487;
    6199                 :           8 :                         _o2[0] = _r3;
    6200                 :             :                       }
    6201                 :           8 :                       gimple_match_op tem_op (res_op->cond.any_else (), CFN_BUILT_IN_EXP, TREE_TYPE (_o2[0]), _o2[0]);
    6202                 :           8 :                       tem_op.resimplify (lseq, valueize);
    6203                 :           8 :                       _r2 = maybe_push_res_to_seq (&tem_op, lseq);
    6204                 :           8 :                       if (!_r2) goto next_after_fail1487;
    6205                 :           7 :                       captures[1] = _r2;
    6206                 :             :                     }
    6207                 :           7 :                     _o1[0] = captures[1];
    6208                 :           7 :                     {
    6209                 :           7 :                       tree _o2[1], _r2;
    6210                 :           7 :                       {
    6211                 :           7 :                         tree _o3[1], _r3;
    6212                 :           7 :                         {
    6213                 :           7 :                           tree _o4[1], _r4;
    6214                 :           7 :                           _o4[0] = captures[0];
    6215                 :           7 :                           gimple_match_op tem_op (res_op->cond.any_else (), IMAGPART_EXPR, TREE_TYPE (TREE_TYPE (_o4[0])), _o4[0]);
    6216                 :           7 :                           tem_op.resimplify (lseq, valueize);
    6217                 :           7 :                           _r4 = maybe_push_res_to_seq (&tem_op, lseq);
    6218                 :           7 :                           if (!_r4) goto next_after_fail1487;
    6219                 :           7 :                           _o3[0] = _r4;
    6220                 :             :                         }
    6221                 :           7 :                         gimple_match_op tem_op (res_op->cond.any_else (), CFN_BUILT_IN_CEXPI, type, _o3[0]);
    6222                 :           7 :                         tem_op.resimplify (lseq, valueize);
    6223                 :           7 :                         _r3 = maybe_push_res_to_seq (&tem_op, lseq);
    6224                 :           7 :                         if (!_r3) goto next_after_fail1487;
    6225                 :           4 :                         captures[2] = _r3;
    6226                 :             :                       }
    6227                 :           4 :                       _o2[0] = captures[2];
    6228                 :           4 :                       gimple_match_op tem_op (res_op->cond.any_else (), REALPART_EXPR, TREE_TYPE (TREE_TYPE (_o2[0])), _o2[0]);
    6229                 :           4 :                       tem_op.resimplify (lseq, valueize);
    6230                 :           4 :                       _r2 = maybe_push_res_to_seq (&tem_op, lseq);
    6231                 :           4 :                       if (!_r2) goto next_after_fail1487;
    6232                 :           4 :                       _o1[1] = _r2;
    6233                 :             :                     }
    6234                 :           4 :                     gimple_match_op tem_op (res_op->cond.any_else (), MULT_EXPR, TREE_TYPE (_o1[0]), _o1[0], _o1[1]);
    6235                 :           4 :                     tem_op.resimplify (lseq, valueize);
    6236                 :           4 :                     _r1 = maybe_push_res_to_seq (&tem_op, lseq);
    6237                 :           4 :                     if (!_r1) goto next_after_fail1487;
    6238                 :           4 :                     res_op->ops[0] = _r1;
    6239                 :             :                   }
    6240                 :           4 :                   {
    6241                 :           4 :                     tree _o1[2], _r1;
    6242                 :           4 :                     _o1[0] = captures[1];
    6243                 :           4 :                     {
    6244                 :           4 :                       tree _o2[1], _r2;
    6245                 :           4 :                       _o2[0] = captures[2];
    6246                 :           4 :                       gimple_match_op tem_op (res_op->cond.any_else (), IMAGPART_EXPR, TREE_TYPE (TREE_TYPE (_o2[0])), _o2[0]);
    6247                 :           4 :                       tem_op.resimplify (lseq, valueize);
    6248                 :           4 :                       _r2 = maybe_push_res_to_seq (&tem_op, lseq);
    6249                 :           4 :                       if (!_r2) goto next_after_fail1487;
    6250                 :           4 :                       _o1[1] = _r2;
    6251                 :             :                     }
    6252                 :           4 :                     gimple_match_op tem_op (res_op->cond.any_else (), MULT_EXPR, TREE_TYPE (_o1[0]), _o1[0], _o1[1]);
    6253                 :           4 :                     tem_op.resimplify (lseq, valueize);
    6254                 :           4 :                     _r1 = maybe_push_res_to_seq (&tem_op, lseq);
    6255                 :           4 :                     if (!_r1) goto next_after_fail1487;
    6256                 :           4 :                     res_op->ops[1] = _r1;
    6257                 :             :                   }
    6258                 :           4 :                   res_op->resimplify (lseq, valueize);
    6259                 :           4 :                   if (UNLIKELY (debug_dump)) gimple_dump_logs ("match.pd", 915, __FILE__, __LINE__, true);
    6260                 :           4 :                   return true;
    6261                 :             :                 }
    6262                 :             : next_after_fail1487:;
    6263                 :             :               }
    6264                 :             :           }
    6265                 :             :       }
    6266                 :             :     }
    6267                 :             :   return false;
    6268                 :             : }
    6269                 :             : 
    6270                 :             : bool
    6271                 :        1304 : gimple_simplify_CFN_BUILT_IN_LFLOOR (gimple_match_op *res_op, gimple_seq *seq,
    6272                 :             :                  tree (*valueize)(tree) ATTRIBUTE_UNUSED,
    6273                 :             :                  code_helper ARG_UNUSED (code), tree ARG_UNUSED (type), tree _p0)
    6274                 :             : {
    6275                 :        1304 :   const bool debug_dump = dump_file && (dump_flags & TDF_FOLDING);
    6276                 :        1304 :   switch (TREE_CODE (_p0))
    6277                 :             :     {
    6278                 :        1189 :     case SSA_NAME:
    6279                 :        1189 :       if (gimple *_d1 = get_def (valueize, _p0))
    6280                 :             :         {
    6281                 :         747 :           if (gassign *_a1 = dyn_cast <gassign *> (_d1))
    6282                 :         224 :             switch (gimple_assign_rhs_code (_a1))
    6283                 :             :               {
    6284                 :         224 :               CASE_CONVERT:
    6285                 :         224 :                 {
    6286                 :         224 :                   tree _q20 = gimple_assign_rhs1 (_a1);
    6287                 :         224 :                   _q20 = do_valueize (valueize, _q20);
    6288                 :         224 :                   if (gimple_float_value_p (_q20, valueize))
    6289                 :             :                     {
    6290                 :         170 :                       {
    6291                 :         170 :                         tree captures[1] ATTRIBUTE_UNUSED = { _q20 };
    6292                 :         170 :                         if (gimple_simplify_611 (res_op, seq, valueize, type, captures, CFN_BUILT_IN_LFLOOR, CFN_BUILT_IN_LFLOORF))
    6293                 :         170 :                           return true;
    6294                 :             :                       }
    6295                 :             :                     }
    6296                 :             :                   break;
    6297                 :             :                 }
    6298                 :             :               default:;
    6299                 :             :               }
    6300                 :             :         }
    6301                 :             :       break;
    6302                 :        1134 :     default:;
    6303                 :             :     }
    6304                 :        1134 : if (tree_expr_nonnegative_p (_p0))
    6305                 :             :   {
    6306                 :           7 :     {
    6307                 :           7 :       tree captures[1] ATTRIBUTE_UNUSED = { _p0 };
    6308                 :           7 :       if (gimple_simplify_612 (res_op, seq, valueize, type, captures, CFN_BUILT_IN_LFLOOR))
    6309                 :           7 :         return true;
    6310                 :             :     }
    6311                 :             :   }
    6312                 :        1127 : if (integer_valued_real_p (_p0))
    6313                 :             :   {
    6314                 :          20 :     {
    6315                 :          20 :       tree captures[1] ATTRIBUTE_UNUSED = { _p0 };
    6316                 :          20 :       if (gimple_simplify_613 (res_op, seq, valueize, type, captures, CFN_BUILT_IN_LFLOOR))
    6317                 :          20 :         return true;
    6318                 :             :     }
    6319                 :             :   }
    6320                 :             :   return false;
    6321                 :             : }
    6322                 :             : 
    6323                 :             : bool
    6324                 :        2419 : gimple_simplify_CFN_BUILT_IN_LRINT (gimple_match_op *res_op, gimple_seq *seq,
    6325                 :             :                  tree (*valueize)(tree) ATTRIBUTE_UNUSED,
    6326                 :             :                  code_helper ARG_UNUSED (code), tree ARG_UNUSED (type), tree _p0)
    6327                 :             : {
    6328                 :        2419 :   const bool debug_dump = dump_file && (dump_flags & TDF_FOLDING);
    6329                 :        2419 :   switch (TREE_CODE (_p0))
    6330                 :             :     {
    6331                 :        2171 :     case SSA_NAME:
    6332                 :        2171 :       if (gimple *_d1 = get_def (valueize, _p0))
    6333                 :             :         {
    6334                 :        1317 :           if (gassign *_a1 = dyn_cast <gassign *> (_d1))
    6335                 :        1124 :             switch (gimple_assign_rhs_code (_a1))
    6336                 :             :               {
    6337                 :         248 :               CASE_CONVERT:
    6338                 :         248 :                 {
    6339                 :         248 :                   tree _q20 = gimple_assign_rhs1 (_a1);
    6340                 :         248 :                   _q20 = do_valueize (valueize, _q20);
    6341                 :         248 :                   if (gimple_float_value_p (_q20, valueize))
    6342                 :             :                     {
    6343                 :         194 :                       {
    6344                 :         194 :                         tree captures[1] ATTRIBUTE_UNUSED = { _q20 };
    6345                 :         194 :                         if (gimple_simplify_611 (res_op, seq, valueize, type, captures, CFN_BUILT_IN_LRINT, CFN_BUILT_IN_LRINTF))
    6346                 :         194 :                           return true;
    6347                 :             :                       }
    6348                 :             :                     }
    6349                 :             :                   break;
    6350                 :             :                 }
    6351                 :             :               default:;
    6352                 :             :               }
    6353                 :             :         }
    6354                 :             :       break;
    6355                 :        2225 :     default:;
    6356                 :             :     }
    6357                 :        2225 : if (integer_valued_real_p (_p0))
    6358                 :             :   {
    6359                 :          62 :     {
    6360                 :          62 :       tree captures[1] ATTRIBUTE_UNUSED = { _p0 };
    6361                 :          62 :       if (gimple_simplify_616 (res_op, seq, valueize, type, captures, CFN_BUILT_IN_LRINT))
    6362                 :          20 :         return true;
    6363                 :             :     }
    6364                 :             :   }
    6365                 :             :   return false;
    6366                 :             : }
    6367                 :             : 
    6368                 :             : bool
    6369                 :         142 : gimple_simplify_CFN_BUILT_IN_LLCEILF (gimple_match_op *res_op, gimple_seq *seq,
    6370                 :             :                  tree (*valueize)(tree) ATTRIBUTE_UNUSED,
    6371                 :             :                  code_helper ARG_UNUSED (code), tree ARG_UNUSED (type), tree _p0)
    6372                 :             : {
    6373                 :         142 :   const bool debug_dump = dump_file && (dump_flags & TDF_FOLDING);
    6374                 :         142 :   if (integer_valued_real_p (_p0))
    6375                 :             :     {
    6376                 :          20 :       {
    6377                 :          20 :         tree captures[1] ATTRIBUTE_UNUSED = { _p0 };
    6378                 :          20 :         if (gimple_simplify_613 (res_op, seq, valueize, type, captures, CFN_BUILT_IN_LLCEILF))
    6379                 :          20 :           return true;
    6380                 :             :       }
    6381                 :             :     }
    6382                 :         122 :   {
    6383                 :         122 :     tree captures[1] ATTRIBUTE_UNUSED = { _p0 };
    6384                 :         122 :     if (gimple_simplify_615 (res_op, seq, valueize, type, captures, CFN_BUILT_IN_ICEILF, CFN_BUILT_IN_LCEILF, CFN_BUILT_IN_LLCEILF))
    6385                 :         122 :       return true;
    6386                 :             :   }
    6387                 :           0 :   return false;
    6388                 :             : }
    6389                 :             : 
    6390                 :             : bool
    6391                 :          40 : gimple_simplify_CFN_IRINT (gimple_match_op *res_op, gimple_seq *seq,
    6392                 :             :                  tree (*valueize)(tree) ATTRIBUTE_UNUSED,
    6393                 :             :                  code_helper ARG_UNUSED (code), tree ARG_UNUSED (type), tree _p0)
    6394                 :             : {
    6395                 :          40 :   const bool debug_dump = dump_file && (dump_flags & TDF_FOLDING);
    6396                 :          40 :   if (integer_valued_real_p (_p0))
    6397                 :             :     {
    6398                 :           0 :       {
    6399                 :           0 :         tree captures[1] ATTRIBUTE_UNUSED = { _p0 };
    6400                 :           0 :         if (gimple_simplify_616 (res_op, seq, valueize, type, captures, CFN_IRINT))
    6401                 :           0 :           return true;
    6402                 :             :       }
    6403                 :             :     }
    6404                 :          40 :   {
    6405                 :          40 :     tree captures[1] ATTRIBUTE_UNUSED = { _p0 };
    6406                 :          40 :     if (gimple_simplify_614 (res_op, seq, valueize, type, captures, CFN_IRINT, CFN_LRINT, CFN_LLRINT))
    6407                 :           0 :       return true;
    6408                 :             :   }
    6409                 :          40 :   return false;
    6410                 :             : }
    6411                 :             : 
    6412                 :             : bool
    6413                 :          32 : gimple_simplify_CFN_SIGNBIT (gimple_match_op *res_op, gimple_seq *seq,
    6414                 :             :                  tree (*valueize)(tree) ATTRIBUTE_UNUSED,
    6415                 :             :                  code_helper ARG_UNUSED (code), tree ARG_UNUSED (type), tree _p0)
    6416                 :             : {
    6417                 :          32 :   const bool debug_dump = dump_file && (dump_flags & TDF_FOLDING);
    6418                 :          32 :   if (tree_expr_nonnegative_p (_p0))
    6419                 :             :     {
    6420                 :           0 :       {
    6421                 :           0 :         tree captures[1] ATTRIBUTE_UNUSED = { _p0 };
    6422                 :           0 :         if (gimple_simplify_617 (res_op, seq, valueize, type, captures, CFN_SIGNBIT))
    6423                 :           0 :           return true;
    6424                 :             :       }
    6425                 :             :     }
    6426                 :          32 :   {
    6427                 :          32 :     tree captures[1] ATTRIBUTE_UNUSED = { _p0 };
    6428                 :          32 :     if (gimple_simplify_618 (res_op, seq, valueize, type, captures, CFN_SIGNBIT))
    6429                 :           0 :       return true;
    6430                 :             :   }
    6431                 :          32 :   return false;
    6432                 :             : }
    6433                 :             : 
    6434                 :             : bool
    6435                 :        5497 : gimple_simplify_CFN_BUILT_IN_POPCOUNT (gimple_match_op *res_op, gimple_seq *seq,
    6436                 :             :                  tree (*valueize)(tree) ATTRIBUTE_UNUSED,
    6437                 :             :                  code_helper ARG_UNUSED (code), tree ARG_UNUSED (type), tree _p0)
    6438                 :             : {
    6439                 :        5497 :   const bool debug_dump = dump_file && (dump_flags & TDF_FOLDING);
    6440                 :        5497 :   switch (TREE_CODE (_p0))
    6441                 :             :     {
    6442                 :        5390 :     case SSA_NAME:
    6443                 :        5390 :       if (gimple *_d1 = get_def (valueize, _p0))
    6444                 :             :         {
    6445                 :        2910 :           if (gassign *_a1 = dyn_cast <gassign *> (_d1))
    6446                 :        2199 :             switch (gimple_assign_rhs_code (_a1))
    6447                 :             :               {
    6448                 :        1550 :               CASE_CONVERT:
    6449                 :        1550 :                 {
    6450                 :        1550 :                   tree _q20 = gimple_assign_rhs1 (_a1);
    6451                 :        1550 :                   _q20 = do_valueize (valueize, _q20);
    6452                 :        1550 :                   switch (TREE_CODE (_q20))
    6453                 :             :                     {
    6454                 :        1550 :                     case SSA_NAME:
    6455                 :        1550 :                       if (gimple *_d2 = get_def (valueize, _q20))
    6456                 :             :                         {
    6457                 :        1519 :                           if (gassign *_a2 = dyn_cast <gassign *> (_d2))
    6458                 :        2185 :                             switch (gimple_assign_rhs_code (_a2))
    6459                 :             :                               {
    6460                 :           0 :                               case LROTATE_EXPR:
    6461                 :           0 :                                 {
    6462                 :           0 :                                   tree _q30 = gimple_assign_rhs1 (_a2);
    6463                 :           0 :                                   _q30 = do_valueize (valueize, _q30);
    6464                 :           0 :                                   tree _q31 = gimple_assign_rhs2 (_a2);
    6465                 :           0 :                                   _q31 = do_valueize (valueize, _q31);
    6466                 :           0 :                                   {
    6467                 :           0 :                                     tree captures[4] ATTRIBUTE_UNUSED = { _p0, _q20, _q30, _q31 };
    6468                 :           0 :                                     if (gimple_simplify_630 (res_op, seq, valueize, type, captures, LROTATE_EXPR, CFN_BUILT_IN_POPCOUNT))
    6469                 :           0 :                                       return true;
    6470                 :             :                                   }
    6471                 :           0 :                                   break;
    6472                 :             :                                 }
    6473                 :           0 :                               case RROTATE_EXPR:
    6474                 :           0 :                                 {
    6475                 :           0 :                                   tree _q30 = gimple_assign_rhs1 (_a2);
    6476                 :           0 :                                   _q30 = do_valueize (valueize, _q30);
    6477                 :           0 :                                   tree _q31 = gimple_assign_rhs2 (_a2);
    6478                 :           0 :                                   _q31 = do_valueize (valueize, _q31);
    6479                 :           0 :                                   {
    6480                 :           0 :                                     tree captures[4] ATTRIBUTE_UNUSED = { _p0, _q20, _q30, _q31 };
    6481                 :           0 :                                     if (gimple_simplify_630 (res_op, seq, valueize, type, captures, RROTATE_EXPR, CFN_BUILT_IN_POPCOUNT))
    6482                 :           0 :                                       return true;
    6483                 :             :                                   }
    6484                 :           0 :                                   break;
    6485                 :             :                                 }
    6486                 :             :                               default:;
    6487                 :             :                               }
    6488                 :         241 :                           else if (gcall *_c2 = dyn_cast <gcall *> (_d2))
    6489                 :          16 :                             switch (gimple_call_combined_fn (_c2))
    6490                 :             :                               {
    6491                 :           0 :                               case CFN_BUILT_IN_BSWAP128:
    6492                 :           0 :                                 if (gimple_call_num_args (_c2) == 1)
    6493                 :             :                                   {
    6494                 :           0 :                                     tree _q30 = gimple_call_arg (_c2, 0);
    6495                 :           0 :                                     _q30 = do_valueize (valueize, _q30);
    6496                 :           0 :                                     {
    6497                 :           0 :                                       tree captures[3] ATTRIBUTE_UNUSED = { _p0, _q20, _q30 };
    6498                 :           0 :                                       if (gimple_simplify_629 (res_op, seq, valueize, type, captures, CFN_BUILT_IN_BSWAP128, CFN_BUILT_IN_POPCOUNT))
    6499                 :           0 :                                         return true;
    6500                 :             :                                     }
    6501                 :             :                                   }
    6502                 :             :                                 break;
    6503                 :          16 :                               case CFN_BUILT_IN_BSWAP16:
    6504                 :          16 :                                 if (gimple_call_num_args (_c2) == 1)
    6505                 :             :                                   {
    6506                 :          16 :                                     tree _q30 = gimple_call_arg (_c2, 0);
    6507                 :          16 :                                     _q30 = do_valueize (valueize, _q30);
    6508                 :          16 :                                     {
    6509                 :          16 :                                       tree captures[3] ATTRIBUTE_UNUSED = { _p0, _q20, _q30 };
    6510                 :          16 :                                       if (gimple_simplify_629 (res_op, seq, valueize, type, captures, CFN_BUILT_IN_BSWAP16, CFN_BUILT_IN_POPCOUNT))
    6511                 :           8 :                                         return true;
    6512                 :             :                                     }
    6513                 :             :                                   }
    6514                 :             :                                 break;
    6515                 :           0 :                               case CFN_BUILT_IN_BSWAP32:
    6516                 :           0 :                                 if (gimple_call_num_args (_c2) == 1)
    6517                 :             :                                   {
    6518                 :           0 :                                     tree _q30 = gimple_call_arg (_c2, 0);
    6519                 :           0 :                                     _q30 = do_valueize (valueize, _q30);
    6520                 :           0 :                                     {
    6521                 :           0 :                                       tree captures[3] ATTRIBUTE_UNUSED = { _p0, _q20, _q30 };
    6522                 :           0 :                                       if (gimple_simplify_629 (res_op, seq, valueize, type, captures, CFN_BUILT_IN_BSWAP32, CFN_BUILT_IN_POPCOUNT))
    6523                 :           0 :                                         return true;
    6524                 :             :                                     }
    6525                 :             :                                   }
    6526                 :             :                                 break;
    6527                 :           0 :                               case CFN_BUILT_IN_BSWAP64:
    6528                 :           0 :                                 if (gimple_call_num_args (_c2) == 1)
    6529                 :             :                                   {
    6530                 :           0 :                                     tree _q30 = gimple_call_arg (_c2, 0);
    6531                 :           0 :                                     _q30 = do_valueize (valueize, _q30);
    6532                 :           0 :                                     {
    6533                 :           0 :                                       tree captures[3] ATTRIBUTE_UNUSED = { _p0, _q20, _q30 };
    6534                 :           0 :                                       if (gimple_simplify_629 (res_op, seq, valueize, type, captures, CFN_BUILT_IN_BSWAP64, CFN_BUILT_IN_POPCOUNT))
    6535                 :           0 :                                         return true;
    6536                 :             :                                     }
    6537                 :             :                                   }
    6538                 :             :                                 break;
    6539                 :             :                               default:;
    6540                 :             :                               }
    6541                 :             :                         }
    6542                 :             :                       break;
    6543                 :        1542 :                     default:;
    6544                 :             :                     }
    6545                 :        1542 :                   {
    6546                 :        1542 :                     tree captures[2] ATTRIBUTE_UNUSED = { _p0, _q20 };
    6547                 :        1542 :                     if (gimple_simplify_631 (res_op, seq, valueize, type, captures, CFN_BUILT_IN_POPCOUNT))
    6548                 :          14 :                       return true;
    6549                 :             :                   }
    6550                 :        1528 :                   break;
    6551                 :             :                 }
    6552                 :           0 :               case LROTATE_EXPR:
    6553                 :           0 :                 {
    6554                 :           0 :                   tree _q20 = gimple_assign_rhs1 (_a1);
    6555                 :           0 :                   _q20 = do_valueize (valueize, _q20);
    6556                 :           0 :                   tree _q21 = gimple_assign_rhs2 (_a1);
    6557                 :           0 :                   _q21 = do_valueize (valueize, _q21);
    6558                 :           0 :                   {
    6559                 :           0 :                     tree captures[4] ATTRIBUTE_UNUSED = { _p0, _p0, _q20, _q21 };
    6560                 :           0 :                     if (gimple_simplify_633 (res_op, seq, valueize, type, captures, LROTATE_EXPR, CFN_BUILT_IN_POPCOUNT))
    6561                 :           0 :                       return true;
    6562                 :             :                   }
    6563                 :           0 :                   break;
    6564                 :             :                 }
    6565                 :           2 :               case RROTATE_EXPR:
    6566                 :           2 :                 {
    6567                 :           2 :                   tree _q20 = gimple_assign_rhs1 (_a1);
    6568                 :           2 :                   _q20 = do_valueize (valueize, _q20);
    6569                 :           2 :                   tree _q21 = gimple_assign_rhs2 (_a1);
    6570                 :           2 :                   _q21 = do_valueize (valueize, _q21);
    6571                 :           2 :                   {
    6572                 :           2 :                     tree captures[4] ATTRIBUTE_UNUSED = { _p0, _p0, _q20, _q21 };
    6573                 :           2 :                     if (gimple_simplify_633 (res_op, seq, valueize, type, captures, RROTATE_EXPR, CFN_BUILT_IN_POPCOUNT))
    6574                 :           2 :                       return true;
    6575                 :             :                   }
    6576                 :           0 :                   break;
    6577                 :             :                 }
    6578                 :             :               default:;
    6579                 :             :               }
    6580                 :         937 :           else if (gcall *_c1 = dyn_cast <gcall *> (_d1))
    6581                 :          48 :             switch (gimple_call_combined_fn (_c1))
    6582                 :             :               {
    6583                 :           0 :               case CFN_BUILT_IN_BSWAP128:
    6584                 :           0 :                 if (gimple_call_num_args (_c1) == 1)
    6585                 :             :                   {
    6586                 :           0 :                     tree _q20 = gimple_call_arg (_c1, 0);
    6587                 :           0 :                     _q20 = do_valueize (valueize, _q20);
    6588                 :           0 :                     {
    6589                 :           0 :                       tree captures[3] ATTRIBUTE_UNUSED = { _p0, _p0, _q20 };
    6590                 :           0 :                       if (gimple_simplify_632 (res_op, seq, valueize, type, captures, CFN_BUILT_IN_BSWAP128, CFN_BUILT_IN_POPCOUNT))
    6591                 :           0 :                         return true;
    6592                 :             :                     }
    6593                 :             :                   }
    6594                 :             :                 break;
    6595                 :           0 :               case CFN_BUILT_IN_BSWAP16:
    6596                 :           0 :                 if (gimple_call_num_args (_c1) == 1)
    6597                 :             :                   {
    6598                 :           0 :                     tree _q20 = gimple_call_arg (_c1, 0);
    6599                 :           0 :                     _q20 = do_valueize (valueize, _q20);
    6600                 :           0 :                     {
    6601                 :           0 :                       tree captures[3] ATTRIBUTE_UNUSED = { _p0, _p0, _q20 };
    6602                 :           0 :                       if (gimple_simplify_632 (res_op, seq, valueize, type, captures, CFN_BUILT_IN_BSWAP16, CFN_BUILT_IN_POPCOUNT))
    6603                 :           0 :                         return true;
    6604                 :             :                     }
    6605                 :             :                   }
    6606                 :             :                 break;
    6607                 :           4 :               case CFN_BUILT_IN_BSWAP32:
    6608                 :           4 :                 if (gimple_call_num_args (_c1) == 1)
    6609                 :             :                   {
    6610                 :           4 :                     tree _q20 = gimple_call_arg (_c1, 0);
    6611                 :           4 :                     _q20 = do_valueize (valueize, _q20);
    6612                 :           4 :                     {
    6613                 :           4 :                       tree captures[3] ATTRIBUTE_UNUSED = { _p0, _p0, _q20 };
    6614                 :           4 :                       if (gimple_simplify_632 (res_op, seq, valueize, type, captures, CFN_BUILT_IN_BSWAP32, CFN_BUILT_IN_POPCOUNT))
    6615                 :           4 :                         return true;
    6616                 :             :                     }
    6617                 :             :                   }
    6618                 :             :                 break;
    6619                 :           0 :               case CFN_BUILT_IN_BSWAP64:
    6620                 :           0 :                 if (gimple_call_num_args (_c1) == 1)
    6621                 :             :                   {
    6622                 :           0 :                     tree _q20 = gimple_call_arg (_c1, 0);
    6623                 :           0 :                     _q20 = do_valueize (valueize, _q20);
    6624                 :           0 :                     {
    6625                 :           0 :                       tree captures[3] ATTRIBUTE_UNUSED = { _p0, _p0, _q20 };
    6626                 :           0 :                       if (gimple_simplify_632 (res_op, seq, valueize, type, captures, CFN_BUILT_IN_BSWAP64, CFN_BUILT_IN_POPCOUNT))
    6627                 :           0 :                         return true;
    6628                 :             :                     }
    6629                 :             :                   }
    6630                 :             :                 break;
    6631                 :             :               default:;
    6632                 :             :               }
    6633                 :             :         }
    6634                 :             :       break;
    6635                 :        5469 :     default:;
    6636                 :             :     }
    6637                 :        5469 :   {
    6638                 :        5469 :     tree captures[1] ATTRIBUTE_UNUSED = { _p0 };
    6639                 :        5469 :     if (gimple_simplify_634 (res_op, seq, valueize, type, captures, CFN_BUILT_IN_POPCOUNT))
    6640                 :           8 :       return true;
    6641                 :             :   }
    6642                 :        5461 :   return false;
    6643                 :             : }
    6644                 :             : 
    6645                 :             : bool
    6646                 :         482 : gimple_simplify_CFN_PARITY (gimple_match_op *res_op, gimple_seq *seq,
    6647                 :             :                  tree (*valueize)(tree) ATTRIBUTE_UNUSED,
    6648                 :             :                  code_helper ARG_UNUSED (code), tree ARG_UNUSED (type), tree _p0)
    6649                 :             : {
    6650                 :         482 :   const bool debug_dump = dump_file && (dump_flags & TDF_FOLDING);
    6651                 :         482 :   switch (TREE_CODE (_p0))
    6652                 :             :     {
    6653                 :         472 :     case SSA_NAME:
    6654                 :         472 :       if (gimple *_d1 = get_def (valueize, _p0))
    6655                 :             :         {
    6656                 :         307 :           if (gassign *_a1 = dyn_cast <gassign *> (_d1))
    6657                 :          68 :             switch (gimple_assign_rhs_code (_a1))
    6658                 :             :               {
    6659                 :           0 :               case BIT_NOT_EXPR:
    6660                 :           0 :                 {
    6661                 :           0 :                   tree _q20 = gimple_assign_rhs1 (_a1);
    6662                 :           0 :                   _q20 = do_valueize (valueize, _q20);
    6663                 :           0 :                   {
    6664                 :           0 :                     tree captures[1] ATTRIBUTE_UNUSED = { _q20 };
    6665                 :           0 :                     if (gimple_simplify_635 (res_op, seq, valueize, type, captures, CFN_PARITY))
    6666                 :           0 :                       return true;
    6667                 :             :                   }
    6668                 :           0 :                   break;
    6669                 :             :                 }
    6670                 :          48 :               CASE_CONVERT:
    6671                 :          48 :                 {
    6672                 :          48 :                   tree _q20 = gimple_assign_rhs1 (_a1);
    6673                 :          48 :                   _q20 = do_valueize (valueize, _q20);
    6674                 :          48 :                   switch (TREE_CODE (_q20))
    6675                 :             :                     {
    6676                 :          48 :                     case SSA_NAME:
    6677                 :          48 :                       if (gimple *_d2 = get_def (valueize, _q20))
    6678                 :             :                         {
    6679                 :          48 :                           if (gassign *_a2 = dyn_cast <gassign *> (_d2))
    6680                 :          76 :                             switch (gimple_assign_rhs_code (_a2))
    6681                 :             :                               {
    6682                 :           0 :                               case LROTATE_EXPR:
    6683                 :           0 :                                 {
    6684                 :           0 :                                   tree _q30 = gimple_assign_rhs1 (_a2);
    6685                 :           0 :                                   _q30 = do_valueize (valueize, _q30);
    6686                 :           0 :                                   tree _q31 = gimple_assign_rhs2 (_a2);
    6687                 :           0 :                                   _q31 = do_valueize (valueize, _q31);
    6688                 :           0 :                                   {
    6689                 :           0 :                                     tree captures[4] ATTRIBUTE_UNUSED = { _p0, _q20, _q30, _q31 };
    6690                 :           0 :                                     if (gimple_simplify_637 (res_op, seq, valueize, type, captures, LROTATE_EXPR, CFN_PARITY))
    6691                 :           0 :                                       return true;
    6692                 :             :                                   }
    6693                 :           0 :                                   break;
    6694                 :             :                                 }
    6695                 :           0 :                               case RROTATE_EXPR:
    6696                 :           0 :                                 {
    6697                 :           0 :                                   tree _q30 = gimple_assign_rhs1 (_a2);
    6698                 :           0 :                                   _q30 = do_valueize (valueize, _q30);
    6699                 :           0 :                                   tree _q31 = gimple_assign_rhs2 (_a2);
    6700                 :           0 :                                   _q31 = do_valueize (valueize, _q31);
    6701                 :           0 :                                   {
    6702                 :           0 :                                     tree captures[4] ATTRIBUTE_UNUSED = { _p0, _q20, _q30, _q31 };
    6703                 :           0 :                                     if (gimple_simplify_637 (res_op, seq, valueize, type, captures, RROTATE_EXPR, CFN_PARITY))
    6704                 :           0 :                                       return true;
    6705                 :             :                                   }
    6706                 :           0 :                                   break;
    6707                 :             :                                 }
    6708                 :             :                               default:;
    6709                 :             :                               }
    6710                 :          10 :                           else if (gcall *_c2 = dyn_cast <gcall *> (_d2))
    6711                 :           0 :                             switch (gimple_call_combined_fn (_c2))
    6712                 :             :                               {
    6713                 :           0 :                               case CFN_BUILT_IN_BSWAP128:
    6714                 :           0 :                                 if (gimple_call_num_args (_c2) == 1)
    6715                 :             :                                   {
    6716                 :           0 :                                     tree _q30 = gimple_call_arg (_c2, 0);
    6717                 :           0 :                                     _q30 = do_valueize (valueize, _q30);
    6718                 :           0 :                                     {
    6719                 :           0 :                                       tree captures[3] ATTRIBUTE_UNUSED = { _p0, _q20, _q30 };
    6720                 :           0 :                                       if (gimple_simplify_636 (res_op, seq, valueize, type, captures, CFN_BUILT_IN_BSWAP128, CFN_PARITY))
    6721                 :           0 :                                         return true;
    6722                 :             :                                     }
    6723                 :             :                                   }
    6724                 :             :                                 break;
    6725                 :           0 :                               case CFN_BUILT_IN_BSWAP16:
    6726                 :           0 :                                 if (gimple_call_num_args (_c2) == 1)
    6727                 :             :                                   {
    6728                 :           0 :                                     tree _q30 = gimple_call_arg (_c2, 0);
    6729                 :           0 :                                     _q30 = do_valueize (valueize, _q30);
    6730                 :           0 :                                     {
    6731                 :           0 :                                       tree captures[3] ATTRIBUTE_UNUSED = { _p0, _q20, _q30 };
    6732                 :           0 :                                       if (gimple_simplify_636 (res_op, seq, valueize, type, captures, CFN_BUILT_IN_BSWAP16, CFN_PARITY))
    6733                 :           0 :                                         return true;
    6734                 :             :                                     }
    6735                 :             :                                   }
    6736                 :             :                                 break;
    6737                 :           0 :                               case CFN_BUILT_IN_BSWAP32:
    6738                 :           0 :                                 if (gimple_call_num_args (_c2) == 1)
    6739                 :             :                                   {
    6740                 :           0 :                                     tree _q30 = gimple_call_arg (_c2, 0);
    6741                 :           0 :                                     _q30 = do_valueize (valueize, _q30);
    6742                 :           0 :                                     {
    6743                 :           0 :                                       tree captures[3] ATTRIBUTE_UNUSED = { _p0, _q20, _q30 };
    6744                 :           0 :                                       if (gimple_simplify_636 (res_op, seq, valueize, type, captures, CFN_BUILT_IN_BSWAP32, CFN_PARITY))
    6745                 :           0 :                                         return true;
    6746                 :             :                                     }
    6747                 :             :                                   }
    6748                 :             :                                 break;
    6749                 :           0 :                               case CFN_BUILT_IN_BSWAP64:
    6750                 :           0 :                                 if (gimple_call_num_args (_c2) == 1)
    6751                 :             :                                   {
    6752                 :           0 :                                     tree _q30 = gimple_call_arg (_c2, 0);
    6753                 :           0 :                                     _q30 = do_valueize (valueize, _q30);
    6754                 :           0 :                                     {
    6755                 :           0 :                                       tree captures[3] ATTRIBUTE_UNUSED = { _p0, _q20, _q30 };
    6756                 :           0 :                                       if (gimple_simplify_636 (res_op, seq, valueize, type, captures, CFN_BUILT_IN_BSWAP64, CFN_PARITY))
    6757                 :           0 :                                         return true;
    6758                 :             :                                     }
    6759                 :             :                                   }
    6760                 :             :                                 break;
    6761                 :             :                               default:;
    6762                 :             :                               }
    6763                 :             :                         }
    6764                 :             :                       break;
    6765                 :          48 :                     default:;
    6766                 :             :                     }
    6767                 :          48 :                   {
    6768                 :          48 :                     tree captures[2] ATTRIBUTE_UNUSED = { _p0, _q20 };
    6769                 :          48 :                     if (gimple_simplify_638 (res_op, seq, valueize, type, captures, CFN_PARITY))
    6770                 :           3 :                       return true;
    6771                 :             :                   }
    6772                 :          45 :                   break;
    6773                 :             :                 }
    6774                 :           0 :               case LROTATE_EXPR:
    6775                 :           0 :                 {
    6776                 :           0 :                   tree _q20 = gimple_assign_rhs1 (_a1);
    6777                 :           0 :                   _q20 = do_valueize (valueize, _q20);
    6778                 :           0 :                   tree _q21 = gimple_assign_rhs2 (_a1);
    6779                 :           0 :                   _q21 = do_valueize (valueize, _q21);
    6780                 :           0 :                   {
    6781                 :           0 :                     tree captures[4] ATTRIBUTE_UNUSED = { _p0, _p0, _q20, _q21 };
    6782                 :           0 :                     if (gimple_simplify_640 (res_op, seq, valueize, type, captures, LROTATE_EXPR, CFN_PARITY))
    6783                 :           0 :                       return true;
    6784                 :             :                   }
    6785                 :           0 :                   break;
    6786                 :             :                 }
    6787                 :           0 :               case RROTATE_EXPR:
    6788                 :           0 :                 {
    6789                 :           0 :                   tree _q20 = gimple_assign_rhs1 (_a1);
    6790                 :           0 :                   _q20 = do_valueize (valueize, _q20);
    6791                 :           0 :                   tree _q21 = gimple_assign_rhs2 (_a1);
    6792                 :           0 :                   _q21 = do_valueize (valueize, _q21);
    6793                 :           0 :                   {
    6794                 :           0 :                     tree captures[4] ATTRIBUTE_UNUSED = { _p0, _p0, _q20, _q21 };
    6795                 :           0 :                     if (gimple_simplify_640 (res_op, seq, valueize, type, captures, RROTATE_EXPR, CFN_PARITY))
    6796                 :           0 :                       return true;
    6797                 :             :                   }
    6798                 :           0 :                   break;
    6799                 :             :                 }
    6800                 :             :               default:;
    6801                 :             :               }
    6802                 :         239 :           else if (gcall *_c1 = dyn_cast <gcall *> (_d1))
    6803                 :           3 :             switch (gimple_call_combined_fn (_c1))
    6804                 :             :               {
    6805                 :           0 :               case CFN_BUILT_IN_BSWAP128:
    6806                 :           0 :                 if (gimple_call_num_args (_c1) == 1)
    6807                 :             :                   {
    6808                 :           0 :                     tree _q20 = gimple_call_arg (_c1, 0);
    6809                 :           0 :                     _q20 = do_valueize (valueize, _q20);
    6810                 :           0 :                     {
    6811                 :           0 :                       tree captures[3] ATTRIBUTE_UNUSED = { _p0, _p0, _q20 };
    6812                 :           0 :                       if (gimple_simplify_639 (res_op, seq, valueize, type, captures, CFN_BUILT_IN_BSWAP128, CFN_PARITY))
    6813                 :           0 :                         return true;
    6814                 :             :                     }
    6815                 :             :                   }
    6816                 :             :                 break;
    6817                 :           3 :               case CFN_BUILT_IN_BSWAP16:
    6818                 :           3 :                 if (gimple_call_num_args (_c1) == 1)
    6819                 :             :                   {
    6820                 :           3 :                     tree _q20 = gimple_call_arg (_c1, 0);
    6821                 :           3 :                     _q20 = do_valueize (valueize, _q20);
    6822                 :           3 :                     {
    6823                 :           3 :                       tree captures[3] ATTRIBUTE_UNUSED = { _p0, _p0, _q20 };
    6824                 :           3 :                       if (gimple_simplify_639 (res_op, seq, valueize, type, captures, CFN_BUILT_IN_BSWAP16, CFN_PARITY))
    6825                 :           3 :                         return true;
    6826                 :             :                     }
    6827                 :             :                   }
    6828                 :             :                 break;
    6829                 :           0 :               case CFN_BUILT_IN_BSWAP32:
    6830                 :           0 :                 if (gimple_call_num_args (_c1) == 1)
    6831                 :             :                   {
    6832                 :           0 :                     tree _q20 = gimple_call_arg (_c1, 0);
    6833                 :           0 :                     _q20 = do_valueize (valueize, _q20);
    6834                 :           0 :                     {
    6835                 :           0 :                       tree captures[3] ATTRIBUTE_UNUSED = { _p0, _p0, _q20 };
    6836                 :           0 :                       if (gimple_simplify_639 (res_op, seq, valueize, type, captures, CFN_BUILT_IN_BSWAP32, CFN_PARITY))
    6837                 :           0 :                         return true;
    6838                 :             :                     }
    6839                 :             :                   }
    6840                 :             :                 break;
    6841                 :           0 :               case CFN_BUILT_IN_BSWAP64:
    6842                 :           0 :                 if (gimple_call_num_args (_c1) == 1)
    6843                 :             :                   {
    6844                 :           0 :                     tree _q20 = gimple_call_arg (_c1, 0);
    6845                 :           0 :                     _q20 = do_valueize (valueize, _q20);
    6846                 :           0 :                     {
    6847                 :           0 :                       tree captures[3] ATTRIBUTE_UNUSED = { _p0, _p0, _q20 };
    6848                 :           0 :                       if (gimple_simplify_639 (res_op, seq, valueize, type, captures, CFN_BUILT_IN_BSWAP64, CFN_PARITY))
    6849                 :           0 :                         return true;
    6850                 :             :                     }
    6851                 :             :                   }
    6852                 :             :                 break;
    6853                 :             :               default:;
    6854                 :             :               }
    6855                 :             :         }
    6856                 :             :       break;
    6857                 :         476 :     default:;
    6858                 :             :     }
    6859                 :         476 :   {
    6860                 :         476 :     tree captures[1] ATTRIBUTE_UNUSED = { _p0 };
    6861                 :         476 :     if (gimple_simplify_634 (res_op, seq, valueize, type, captures, CFN_PARITY))
    6862                 :           0 :       return true;
    6863                 :             :   }
    6864                 :         476 :   return false;
    6865                 :             : }
    6866                 :             : 
    6867                 :             : bool
    6868                 :    69661064 : gimple_simplify_EQ_EXPR (gimple_match_op *res_op, gimple_seq *seq,
    6869                 :             :                  tree (*valueize)(tree) ATTRIBUTE_UNUSED,
    6870                 :             :                  code_helper ARG_UNUSED (code), tree ARG_UNUSED (type), tree _p0, tree _p1)
    6871                 :             : {
    6872                 :    69661064 :   const bool debug_dump = dump_file && (dump_flags & TDF_FOLDING);
    6873                 :    69661064 :   switch (TREE_CODE (_p1))
    6874                 :             :     {
    6875                 :    12155633 :     case SSA_NAME:
    6876                 :    12155633 :       if (gimple *_d1 = get_def (valueize, _p1))
    6877                 :             :         {
    6878                 :     3891404 :           if (gassign *_a1 = dyn_cast <gassign *> (_d1))
    6879                 :     6070432 :             switch (gimple_assign_rhs_code (_a1))
    6880                 :             :               {
    6881                 :         455 :               case NEGATE_EXPR:
    6882                 :         455 :                 {
    6883                 :         455 :                   tree _q30 = gimple_assign_rhs1 (_a1);
    6884                 :         455 :                   _q30 = do_valueize (valueize, _q30);
    6885                 :         455 :                   if ((_q30 == _p0 && ! TREE_SIDE_EFFECTS (_q30)) || (operand_equal_p (_q30, _p0, 0) && types_match (_q30, _p0)))
    6886                 :             :                     {
    6887                 :         101 :                       {
    6888                 :         101 :                         tree captures[1] ATTRIBUTE_UNUSED = { _p0 };
    6889                 :         101 :                         if (gimple_simplify_203 (res_op, seq, valueize, type, captures, EQ_EXPR))
    6890                 :           0 :                           return true;
    6891                 :             :                       }
    6892                 :             :                     }
    6893                 :             :                   break;
    6894                 :             :                 }
    6895                 :             :               default:;
    6896                 :             :               }
    6897                 :             :         }
    6898                 :             :       break;
    6899                 :    69661064 :     default:;
    6900                 :             :     }
    6901                 :    69661064 :   switch (TREE_CODE (_p0))
    6902                 :             :     {
    6903                 :    66460409 :     case SSA_NAME:
    6904                 :    66460409 :       if (gimple *_d1 = get_def (valueize, _p0))
    6905                 :             :         {
    6906                 :    22657701 :           if (gassign *_a1 = dyn_cast <gassign *> (_d1))
    6907                 :    26813453 :             switch (gimple_assign_rhs_code (_a1))
    6908                 :             :               {
    6909                 :        1992 :               case NEGATE_EXPR:
    6910                 :        1992 :                 {
    6911                 :        1992 :                   tree _q20 = gimple_assign_rhs1 (_a1);
    6912                 :        1992 :                   _q20 = do_valueize (valueize, _q20);
    6913                 :        1992 :                   if ((_p1 == _q20 && ! TREE_SIDE_EFFECTS (_p1)) || (operand_equal_p (_p1, _q20, 0) && types_match (_p1, _q20)))
    6914                 :             :                     {
    6915                 :         145 :                       {
    6916                 :         145 :                         tree captures[1] ATTRIBUTE_UNUSED = { _q20 };
    6917                 :         145 :                         if (gimple_simplify_203 (res_op, seq, valueize, type, captures, EQ_EXPR))
    6918                 :          21 :                           return true;
    6919                 :             :                       }
    6920                 :             :                     }
    6921                 :             :                   break;
    6922                 :             :                 }
    6923                 :           0 :               case CEIL_MOD_EXPR:
    6924                 :           0 :                 {
    6925                 :           0 :                   tree _q20 = gimple_assign_rhs1 (_a1);
    6926                 :           0 :                   _q20 = do_valueize (valueize, _q20);
    6927                 :           0 :                   tree _q21 = gimple_assign_rhs2 (_a1);
    6928                 :           0 :                   _q21 = do_valueize (valueize, _q21);
    6929                 :           0 :                   if (integer_pow2p (_q21))
    6930                 :             :                     {
    6931                 :           0 :                       if (integer_zerop (_p1))
    6932                 :             :                         {
    6933                 :           0 :                           {
    6934                 :           0 :                             tree captures[3] ATTRIBUTE_UNUSED = { _q20, _q21, _p1 };
    6935                 :           0 :                             if (gimple_simplify_204 (res_op, seq, valueize, type, captures, EQ_EXPR, CEIL_MOD_EXPR))
    6936                 :           0 :                               return true;
    6937                 :             :                           }
    6938                 :             :                         }
    6939                 :             :                     }
    6940                 :             :                   break;
    6941                 :             :                 }
    6942                 :         399 :               case FLOOR_MOD_EXPR:
    6943                 :         399 :                 {
    6944                 :         399 :                   tree _q20 = gimple_assign_rhs1 (_a1);
    6945                 :         399 :                   _q20 = do_valueize (valueize, _q20);
    6946                 :         399 :                   tree _q21 = gimple_assign_rhs2 (_a1);
    6947                 :         399 :                   _q21 = do_valueize (valueize, _q21);
    6948                 :         399 :                   if (integer_pow2p (_q21))
    6949                 :             :                     {
    6950                 :          24 :                       if (integer_zerop (_p1))
    6951                 :             :                         {
    6952                 :          12 :                           {
    6953                 :          12 :                             tree captures[3] ATTRIBUTE_UNUSED = { _q20, _q21, _p1 };
    6954                 :          12 :                             if (gimple_simplify_204 (res_op, seq, valueize, type, captures, EQ_EXPR, FLOOR_MOD_EXPR))
    6955                 :           0 :                               return true;
    6956                 :             :                           }
    6957                 :             :                         }
    6958                 :             :                     }
    6959                 :             :                   break;
    6960                 :             :                 }
    6961                 :           0 :               case ROUND_MOD_EXPR:
    6962                 :           0 :                 {
    6963                 :           0 :                   tree _q20 = gimple_assign_rhs1 (_a1);
    6964                 :           0 :                   _q20 = do_valueize (valueize, _q20);
    6965                 :           0 :                   tree _q21 = gimple_assign_rhs2 (_a1);
    6966                 :           0 :                   _q21 = do_valueize (valueize, _q21);
    6967                 :           0 :                   if (integer_pow2p (_q21))
    6968                 :             :                     {
    6969                 :           0 :                       if (integer_zerop (_p1))
    6970                 :             :                         {
    6971                 :           0 :                           {
    6972                 :           0 :                             tree captures[3] ATTRIBUTE_UNUSED = { _q20, _q21, _p1 };
    6973                 :           0 :                             if (gimple_simplify_204 (res_op, seq, valueize, type, captures, EQ_EXPR, ROUND_MOD_EXPR))
    6974                 :           0 :                               return true;
    6975                 :             :                           }
    6976                 :             :                         }
    6977                 :             :                     }
    6978                 :             :                   break;
    6979                 :             :                 }
    6980                 :       46635 :               case TRUNC_MOD_EXPR:
    6981                 :       46635 :                 {
    6982                 :       46635 :                   tree _q20 = gimple_assign_rhs1 (_a1);
    6983                 :       46635 :                   _q20 = do_valueize (valueize, _q20);
    6984                 :       46635 :                   tree _q21 = gimple_assign_rhs2 (_a1);
    6985                 :       46635 :                   _q21 = do_valueize (valueize, _q21);
    6986                 :       46635 :                   if (integer_pow2p (_q21))
    6987                 :             :                     {
    6988                 :        3300 :                       if (integer_zerop (_p1))
    6989                 :             :                         {
    6990                 :         463 :                           {
    6991                 :         463 :                             tree captures[3] ATTRIBUTE_UNUSED = { _q20, _q21, _p1 };
    6992                 :         463 :                             if (gimple_simplify_204 (res_op, seq, valueize, type, captures, EQ_EXPR, TRUNC_MOD_EXPR))
    6993                 :         135 :                               return true;
    6994                 :             :                           }
    6995                 :             :                         }
    6996                 :             :                     }
    6997                 :             :                   break;
    6998                 :             :                 }
    6999                 :       14136 :               case LSHIFT_EXPR:
    7000                 :       14136 :                 {
    7001                 :       14136 :                   tree _q20 = gimple_assign_rhs1 (_a1);
    7002                 :       14136 :                   _q20 = do_valueize (valueize, _q20);
    7003                 :       14136 :                   tree _q21 = gimple_assign_rhs2 (_a1);
    7004                 :       14136 :                   _q21 = do_valueize (valueize, _q21);
    7005                 :       14136 :                   if (gimple_zero_one_valued_p (_q20, valueize))
    7006                 :             :                     {
    7007                 :         476 :                       switch (TREE_CODE (_q21))
    7008                 :             :                         {
    7009                 :          36 :                         case INTEGER_CST:
    7010                 :          36 :                           {
    7011                 :          36 :                             if (integer_zerop (_p1))
    7012                 :             :                               {
    7013                 :          17 :                                 {
    7014                 :          17 :                                   tree captures[3] ATTRIBUTE_UNUSED = { _q20, _q21, _p1 };
    7015                 :          17 :                                   if (tree_fits_shwi_p (captures[1])
    7016                 :          17 :  && tree_to_shwi (captures[1]) > 0
    7017                 :          34 :  && tree_to_shwi (captures[1]) < TYPE_PRECISION (TREE_TYPE (captures[0]))
    7018                 :             : )
    7019                 :             :                                     {
    7020                 :          17 :                                       gimple_seq *lseq = seq;
    7021                 :          17 :                                       if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail1763;
    7022                 :          17 :                                       {
    7023                 :          17 :                                         res_op->set_op (EQ_EXPR, type, 2);
    7024                 :          17 :                                         res_op->ops[0] = captures[0];
    7025                 :          17 :                                         res_op->ops[1] = captures[2];
    7026                 :          17 :                                         res_op->resimplify (lseq, valueize);
    7027                 :          17 :                                         if (UNLIKELY (debug_dump)) gimple_dump_logs ("match.pd", 1008, __FILE__, __LINE__, true);
    7028                 :          17 :                                         return true;
    7029                 :             :                                       }
    7030                 :           0 : next_after_fail1763:;
    7031                 :             :                                     }
    7032                 :             :                                 }
    7033                 :             :                               }
    7034                 :             :                             break;
    7035                 :             :                           }
    7036                 :             :                         default:;
    7037                 :             :                         }
    7038                 :             :                     }
    7039                 :             :                   break;
    7040                 :             :                 }
    7041                 :      979649 :               case BIT_AND_EXPR:
    7042                 :      979649 :                 {
    7043                 :      979649 :                   tree _q20 = gimple_assign_rhs1 (_a1);
    7044                 :      979649 :                   _q20 = do_valueize (valueize, _q20);
    7045                 :      979649 :                   tree _q21 = gimple_assign_rhs2 (_a1);
    7046                 :      979649 :                   _q21 = do_valueize (valueize, _q21);
    7047                 :      979649 :                   if (tree_swap_operands_p (_q20, _q21))
    7048                 :        5498 :                     std::swap (_q20, _q21);
    7049                 :      979649 :                   if (gimple_truth_valued_p (_q20, valueize))
    7050                 :             :                     {
    7051                 :        1333 :                       if (gimple_truth_valued_p (_q21, valueize))
    7052                 :             :                         {
    7053                 :         457 :                           switch (TREE_CODE (_p1))
    7054                 :             :                             {
    7055                 :          10 :                             case SSA_NAME:
    7056                 :          10 :                               if (gimple *_d2 = get_def (valueize, _p1))
    7057                 :             :                                 {
    7058                 :          10 :                                   if (gassign *_a2 = dyn_cast <gassign *> (_d2))
    7059                 :          10 :                                     switch (gimple_assign_rhs_code (_a2))
    7060                 :             :                                       {
    7061                 :           2 :                                       case BIT_XOR_EXPR:
    7062                 :           2 :                                         {
    7063                 :           2 :                                           tree _q50 = gimple_assign_rhs1 (_a2);
    7064                 :           2 :                                           _q50 = do_valueize (valueize, _q50);
    7065                 :           2 :                                           tree _q51 = gimple_assign_rhs2 (_a2);
    7066                 :           2 :                                           _q51 = do_valueize (valueize, _q51);
    7067                 :           2 :                                           if (tree_swap_operands_p (_q50, _q51))
    7068                 :           0 :                                             std::swap (_q50, _q51);
    7069                 :           2 :                                           if ((_q50 == _q20 && ! TREE_SIDE_EFFECTS (_q50)) || (operand_equal_p (_q50, _q20, 0) && types_match (_q50, _q20)))
    7070                 :             :                                             {
    7071                 :           2 :                                               if ((_q51 == _q21 && ! TREE_SIDE_EFFECTS (_q51)) || (operand_equal_p (_q51, _q21, 0) && types_match (_q51, _q21)))
    7072                 :             :                                                 {
    7073                 :           2 :                                                   {
    7074                 :           2 :                                                     tree captures[2] ATTRIBUTE_UNUSED = { _q20, _q21 };
    7075                 :           2 :                                                     gimple_seq *lseq = seq;
    7076                 :           2 :                                                     if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail1764;
    7077                 :           2 :                                                     {
    7078                 :           2 :                                                       res_op->set_op (BIT_NOT_EXPR, type, 1);
    7079                 :           2 :                                                       {
    7080                 :           2 :                                                         tree _o1[2], _r1;
    7081                 :           2 :                                                         _o1[0] = captures[0];
    7082                 :           2 :                                                         _o1[1] = captures[1];
    7083                 :           2 :                                                         gimple_match_op tem_op (res_op->cond.any_else (), BIT_IOR_EXPR, TREE_TYPE (_o1[0]), _o1[0], _o1[1]);
    7084                 :           2 :                                                         tem_op.resimplify (lseq, valueize);
    7085                 :           2 :                                                         _r1 = maybe_push_res_to_seq (&tem_op, lseq);
    7086                 :           2 :                                                         if (!_r1) goto next_after_fail1764;
    7087                 :           1 :                                                         res_op->ops[0] = _r1;
    7088                 :             :                                                       }
    7089                 :           1 :                                                       res_op->resimplify (lseq, valueize);
    7090                 :           1 :                                                       if (UNLIKELY (debug_dump)) gimple_dump_logs ("match.pd", 923, __FILE__, __LINE__, true);
    7091                 :           1 :                                                       return true;
    7092                 :             :                                                     }
    7093                 :           1 : next_after_fail1764:;
    7094                 :             :                                                   }
    7095                 :           1 :                                                   {
    7096                 :           1 :                                                     tree captures[2] ATTRIBUTE_UNUSED = { _q21, _q20 };
    7097                 :           1 :                                                     gimple_seq *lseq = seq;
    7098                 :           1 :                                                     if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail1765;
    7099                 :           1 :                                                     {
    7100                 :           1 :                                                       res_op->set_op (BIT_NOT_EXPR, type, 1);
    7101                 :           1 :                                                       {
    7102                 :           1 :                                                         tree _o1[2], _r1;
    7103                 :           1 :                                                         _o1[0] = captures[0];
    7104                 :           1 :                                                         _o1[1] = captures[1];
    7105                 :           1 :                                                         gimple_match_op tem_op (res_op->cond.any_else (), BIT_IOR_EXPR, TREE_TYPE (_o1[0]), _o1[0], _o1[1]);
    7106                 :           1 :                                                         tem_op.resimplify (lseq, valueize);
    7107                 :           1 :                                                         _r1 = maybe_push_res_to_seq (&tem_op, lseq);
    7108                 :           1 :                                                         if (!_r1) goto next_after_fail1765;
    7109                 :           0 :                                                         res_op->ops[0] = _r1;
    7110                 :             :                                                       }
    7111                 :           0 :                                                       res_op->resimplify (lseq, valueize);
    7112                 :           0 :                                                       if (UNLIKELY (debug_dump)) gimple_dump_logs ("match.pd", 923, __FILE__, __LINE__, true);
    7113                 :           0 :                                                       return true;
    7114                 :             :                                                     }
    7115                 :           1 : next_after_fail1765:;
    7116                 :             :                                                   }
    7117                 :             :                                                 }
    7118                 :             :                                             }
    7119                 :           1 :                                           if ((_q50 == _q21 && ! TREE_SIDE_EFFECTS (_q50)) || (operand_equal_p (_q50, _q21, 0) && types_match (_q50, _q21)))
    7120                 :             :                                             {
    7121                 :           0 :                                               if ((_q51 == _q20 && ! TREE_SIDE_EFFECTS (_q51)) || (operand_equal_p (_q51, _q20, 0) && types_match (_q51, _q20)))
    7122                 :             :                                                 {
    7123                 :           0 :                                                   {
    7124                 :           0 :                                                     tree captures[2] ATTRIBUTE_UNUSED = { _q20, _q21 };
    7125                 :           0 :                                                     gimple_seq *lseq = seq;
    7126                 :           0 :                                                     if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail1766;
    7127                 :           0 :                                                     {
    7128                 :           0 :                                                       res_op->set_op (BIT_NOT_EXPR, type, 1);
    7129                 :           0 :                                                       {
    7130                 :           0 :                                                         tree _o1[2], _r1;
    7131                 :           0 :                                                         _o1[0] = captures[0];
    7132                 :           0 :                                                         _o1[1] = captures[1];
    7133                 :           0 :                                                         gimple_match_op tem_op (res_op->cond.any_else (), BIT_IOR_EXPR, TREE_TYPE (_o1[0]), _o1[0], _o1[1]);
    7134                 :           0 :                                                         tem_op.resimplify (lseq, valueize);
    7135                 :           0 :                                                         _r1 = maybe_push_res_to_seq (&tem_op, lseq);
    7136                 :           0 :                                                         if (!_r1) goto next_after_fail1766;
    7137                 :           0 :                                                         res_op->ops[0] = _r1;
    7138                 :             :                                                       }
    7139                 :           0 :                                                       res_op->resimplify (lseq, valueize);
    7140                 :           0 :                                                       if (UNLIKELY (debug_dump)) gimple_dump_logs ("match.pd", 923, __FILE__, __LINE__, true);
    7141                 :           0 :                                                       return true;
    7142                 :             :                                                     }
    7143                 :           0 : next_after_fail1766:;
    7144                 :             :                                                   }
    7145                 :           0 :                                                   {
    7146                 :           0 :                                                     tree captures[2] ATTRIBUTE_UNUSED = { _q21, _q20 };
    7147                 :           0 :                                                     gimple_seq *lseq = seq;
    7148                 :           0 :                                                     if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail1767;
    7149                 :           0 :                                                     {
    7150                 :           0 :                                                       res_op->set_op (BIT_NOT_EXPR, type, 1);
    7151                 :           0 :                                                       {
    7152                 :           0 :                                                         tree _o1[2], _r1;
    7153                 :           0 :                                                         _o1[0] = captures[0];
    7154                 :           0 :                                                         _o1[1] = captures[1];
    7155                 :           0 :                                                         gimple_match_op tem_op (res_op->cond.any_else (), BIT_IOR_EXPR, TREE_TYPE (_o1[0]), _o1[0], _o1[1]);
    7156                 :           0 :                                                         tem_op.resimplify (lseq, valueize);
    7157                 :           0 :                                                         _r1 = maybe_push_res_to_seq (&tem_op, lseq);
    7158                 :           0 :                                                         if (!_r1) goto next_after_fail1767;
    7159                 :           0 :                                                         res_op->ops[0] = _r1;
    7160                 :             :                                                       }
    7161                 :           0 :                                                       res_op->resimplify (lseq, valueize);
    7162                 :           0 :                                                       if (UNLIKELY (debug_dump)) gimple_dump_logs ("match.pd", 923, __FILE__, __LINE__, true);
    7163                 :           0 :                                                       return true;
    7164                 :             :                                                     }
    7165                 :           0 : next_after_fail1767:;
    7166                 :             :                                                   }
    7167                 :             :                                                 }
    7168                 :             :                                             }
    7169                 :    69645400 :                                           break;
    7170                 :             :                                         }
    7171                 :             :                                       default:;
    7172                 :             :                                       }
    7173                 :             :                                 }
    7174                 :             :                               break;
    7175                 :             :                             default:;
    7176                 :             :                             }
    7177                 :             :                         }
    7178                 :             :                     }
    7179                 :    69645400 :                   break;
    7180                 :             :                 }
    7181                 :         822 :               case BIT_XOR_EXPR:
    7182                 :         822 :                 {
    7183                 :         822 :                   tree _q20 = gimple_assign_rhs1 (_a1);
    7184                 :         822 :                   _q20 = do_valueize (valueize, _q20);
    7185                 :         822 :                   tree _q21 = gimple_assign_rhs2 (_a1);
    7186                 :         822 :                   _q21 = do_valueize (valueize, _q21);
    7187                 :         822 :                   if (tree_swap_operands_p (_q20, _q21))
    7188                 :         142 :                     std::swap (_q20, _q21);
    7189                 :         822 :                   switch (TREE_CODE (_p1))
    7190                 :             :                     {
    7191                 :         271 :                     case SSA_NAME:
    7192                 :         271 :                       if (gimple *_d2 = get_def (valueize, _p1))
    7193                 :             :                         {
    7194                 :         265 :                           if (gassign *_a2 = dyn_cast <gassign *> (_d2))
    7195                 :         419 :                             switch (gimple_assign_rhs_code (_a2))
    7196                 :             :                               {
    7197                 :           1 :                               case BIT_AND_EXPR:
    7198                 :           1 :                                 {
    7199                 :           1 :                                   tree _q50 = gimple_assign_rhs1 (_a2);
    7200                 :           1 :                                   _q50 = do_valueize (valueize, _q50);
    7201                 :           1 :                                   tree _q51 = gimple_assign_rhs2 (_a2);
    7202                 :           1 :                                   _q51 = do_valueize (valueize, _q51);
    7203                 :           1 :                                   if (tree_swap_operands_p (_q50, _q51))
    7204                 :           0 :                                     std::swap (_q50, _q51);
    7205                 :           1 :                                   if ((_q50 == _q20 && ! TREE_SIDE_EFFECTS (_q50)) || (operand_equal_p (_q50, _q20, 0) && types_match (_q50, _q20)))
    7206                 :             :                                     {
    7207                 :           1 :                                       if (gimple_truth_valued_p (_q50, valueize))
    7208                 :             :                                         {
    7209                 :           1 :                                           if ((_q51 == _q21 && ! TREE_SIDE_EFFECTS (_q51)) || (operand_equal_p (_q51, _q21, 0) && types_match (_q51, _q21)))
    7210                 :             :                                             {
    7211                 :           1 :                                               if (gimple_truth_valued_p (_q51, valueize))
    7212                 :             :                                                 {
    7213                 :           1 :                                                   {
    7214                 :           1 :                                                     tree captures[2] ATTRIBUTE_UNUSED = { _q20, _q21 };
    7215                 :           1 :                                                     gimple_seq *lseq = seq;
    7216                 :           1 :                                                     if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail1768;
    7217                 :           1 :                                                     {
    7218                 :           1 :                                                       res_op->set_op (BIT_NOT_EXPR, type, 1);
    7219                 :           1 :                                                       {
    7220                 :           1 :                                                         tree _o1[2], _r1;
    7221                 :           1 :                                                         _o1[0] = captures[0];
    7222                 :           1 :                                                         _o1[1] = captures[1];
    7223                 :           1 :                                                         gimple_match_op tem_op (res_op->cond.any_else (), BIT_IOR_EXPR, TREE_TYPE (_o1[0]), _o1[0], _o1[1]);
    7224                 :           1 :                                                         tem_op.resimplify (lseq, valueize);
    7225                 :           1 :                                                         _r1 = maybe_push_res_to_seq (&tem_op, lseq);
    7226                 :           1 :                                                         if (!_r1) goto next_after_fail1768;
    7227                 :           1 :                                                         res_op->ops[0] = _r1;
    7228                 :             :                                                       }
    7229                 :           1 :                                                       res_op->resimplify (lseq, valueize);
    7230                 :           1 :                                                       if (UNLIKELY (debug_dump)) gimple_dump_logs ("match.pd", 923, __FILE__, __LINE__, true);
    7231                 :           1 :                                                       return true;
    7232                 :             :                                                     }
    7233                 :           0 : next_after_fail1768:;
    7234                 :             :                                                   }
    7235                 :           0 :                                                   {
    7236                 :           0 :                                                     tree captures[2] ATTRIBUTE_UNUSED = { _q21, _q20 };
    7237                 :           0 :                                                     gimple_seq *lseq = seq;
    7238                 :           0 :                                                     if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail1769;
    7239                 :           0 :                                                     {
    7240                 :           0 :                                                       res_op->set_op (BIT_NOT_EXPR, type, 1);
    7241                 :           0 :                                                       {
    7242                 :           0 :                                                         tree _o1[2], _r1;
    7243                 :           0 :                                                         _o1[0] = captures[0];
    7244                 :           0 :                                                         _o1[1] = captures[1];
    7245                 :           0 :                                                         gimple_match_op tem_op (res_op->cond.any_else (), BIT_IOR_EXPR, TREE_TYPE (_o1[0]), _o1[0], _o1[1]);
    7246                 :           0 :                                                         tem_op.resimplify (lseq, valueize);
    7247                 :           0 :                                                         _r1 = maybe_push_res_to_seq (&tem_op, lseq);
    7248                 :           0 :                                                         if (!_r1) goto next_after_fail1769;
    7249                 :           0 :                                                         res_op->ops[0] = _r1;
    7250                 :             :                                                       }
    7251                 :           0 :                                                       res_op->resimplify (lseq, valueize);
    7252                 :           0 :                                                       if (UNLIKELY (debug_dump)) gimple_dump_logs ("match.pd", 923, __FILE__, __LINE__, true);
    7253                 :           0 :                                                       return true;
    7254                 :             :                                                     }
    7255                 :           0 : next_after_fail1769:;
    7256                 :             :                                                   }
    7257                 :             :                                                 }
    7258                 :             :                                             }
    7259                 :             :                                         }
    7260                 :             :                                     }
    7261                 :           0 :                                   if ((_q50 == _q21 && ! TREE_SIDE_EFFECTS (_q50)) || (operand_equal_p (_q50, _q21, 0) && types_match (_q50, _q21)))
    7262                 :             :                                     {
    7263                 :           0 :                                       if (gimple_truth_valued_p (_q50, valueize))
    7264                 :             :                                         {
    7265                 :           0 :                                           if ((_q51 == _q20 && ! TREE_SIDE_EFFECTS (_q51)) || (operand_equal_p (_q51, _q20, 0) && types_match (_q51, _q20)))
    7266                 :             :                                             {
    7267                 :           0 :                                               if (gimple_truth_valued_p (_q51, valueize))
    7268                 :             :                                                 {
    7269                 :           0 :                                                   {
    7270                 :           0 :                                                     tree captures[2] ATTRIBUTE_UNUSED = { _q21, _q20 };
    7271                 :           0 :                                                     gimple_seq *lseq = seq;
    7272                 :           0 :                                                     if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail1770;
    7273                 :           0 :                                                     {
    7274                 :           0 :                                                       res_op->set_op (BIT_NOT_EXPR, type, 1);
    7275                 :           0 :                                                       {
    7276                 :           0 :                                                         tree _o1[2], _r1;
    7277                 :           0 :                                                         _o1[0] = captures[0];
    7278                 :           0 :                                                         _o1[1] = captures[1];
    7279                 :           0 :                                                         gimple_match_op tem_op (res_op->cond.any_else (), BIT_IOR_EXPR, TREE_TYPE (_o1[0]), _o1[0], _o1[1]);
    7280                 :           0 :                                                         tem_op.resimplify (lseq, valueize);
    7281                 :           0 :                                                         _r1 = maybe_push_res_to_seq (&tem_op, lseq);
    7282                 :           0 :                                                         if (!_r1) goto next_after_fail1770;
    7283                 :           0 :                                                         res_op->ops[0] = _r1;
    7284                 :             :                                                       }
    7285                 :           0 :                                                       res_op->resimplify (lseq, valueize);
    7286                 :           0 :                                                       if (UNLIKELY (debug_dump)) gimple_dump_logs ("match.pd", 923, __FILE__, __LINE__, true);
    7287                 :           0 :                                                       return true;
    7288                 :             :                                                     }
    7289                 :           0 : next_after_fail1770:;
    7290                 :             :                                                   }
    7291                 :           0 :                                                   {
    7292                 :           0 :                                                     tree captures[2] ATTRIBUTE_UNUSED = { _q20, _q21 };
    7293                 :           0 :                                                     gimple_seq *lseq = seq;
    7294                 :           0 :                                                     if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail1771;
    7295                 :           0 :                                                     {
    7296                 :           0 :                                                       res_op->set_op (BIT_NOT_EXPR, type, 1);
    7297                 :           0 :                                                       {
    7298                 :           0 :                                                         tree _o1[2], _r1;
    7299                 :           0 :                                                         _o1[0] = captures[0];
    7300                 :           0 :                                                         _o1[1] = captures[1];
    7301                 :           0 :                                                         gimple_match_op tem_op (res_op->cond.any_else (), BIT_IOR_EXPR, TREE_TYPE (_o1[0]), _o1[0], _o1[1]);
    7302                 :           0 :                                                         tem_op.resimplify (lseq, valueize);
    7303                 :           0 :                                                         _r1 = maybe_push_res_to_seq (&tem_op, lseq);
    7304                 :           0 :                                                         if (!_r1) goto next_after_fail1771;
    7305                 :           0 :                                                         res_op->ops[0] = _r1;
    7306                 :             :                                                       }
    7307                 :           0 :                                                       res_op->resimplify (lseq, valueize);
    7308                 :           0 :                                                       if (UNLIKELY (debug_dump)) gimple_dump_logs ("match.pd", 923, __FILE__, __LINE__, true);
    7309                 :           0 :                                                       return true;
    7310                 :             :                                                     }
    7311                 :           0 : next_after_fail1771:;
    7312                 :             :                                                   }
    7313                 :             :                                                 }
    7314                 :             :                                             }
    7315                 :             :                                         }
    7316                 :             :                                     }
    7317                 :    69645400 :                                   break;
    7318                 :             :                                 }
    7319                 :             :                               default:;
    7320                 :             :                               }
    7321                 :             :                         }
    7322                 :             :                       break;
    7323                 :             :                     default:;
    7324                 :             :                     }
    7325                 :    69645400 :                   break;
    7326                 :             :                 }
    7327                 :        2883 :               case BIT_NOT_EXPR:
    7328                 :        2883 :                 {
    7329                 :        2883 :                   tree _q20 = gimple_assign_rhs1 (_a1);
    7330                 :        2883 :                   _q20 = do_valueize (valueize, _q20);
    7331                 :        2883 :                   if (gimple_truth_valued_p (_q20, valueize))
    7332                 :             :                     {
    7333                 :        2090 :                       if (gimple_truth_valued_p (_p1, valueize))
    7334                 :             :                         {
    7335                 :        1382 :                           {
    7336                 :        1382 :                             tree captures[3] ATTRIBUTE_UNUSED = { _p0, _q20, _p1 };
    7337                 :        1382 :                             if (gimple_simplify_206 (res_op, seq, valueize, type, captures))
    7338                 :         723 :                               return true;
    7339                 :             :                           }
    7340                 :             :                         }
    7341                 :             :                     }
    7342                 :             :                   break;
    7343                 :             :                 }
    7344                 :       35813 :               case MULT_EXPR:
    7345                 :       35813 :                 {
    7346                 :       35813 :                   tree _q20 = gimple_assign_rhs1 (_a1);
    7347                 :       35813 :                   _q20 = do_valueize (valueize, _q20);
    7348                 :       35813 :                   tree _q21 = gimple_assign_rhs2 (_a1);
    7349                 :       35813 :                   _q21 = do_valueize (valueize, _q21);
    7350                 :       35813 :                   if (tree_swap_operands_p (_q20, _q21))
    7351                 :         438 :                     std::swap (_q20, _q21);
    7352                 :       35813 :                   switch (TREE_CODE (_p1))
    7353                 :             :                     {
    7354                 :        6621 :                     case SSA_NAME:
    7355                 :        6621 :                       if (gimple *_d2 = get_def (valueize, _p1))
    7356                 :             :                         {
    7357                 :        5645 :                           if (gassign *_a2 = dyn_cast <gassign *> (_d2))
    7358                 :        4970 :                             switch (gimple_assign_rhs_code (_a2))
    7359                 :             :                               {
    7360                 :         441 :                               case MULT_EXPR:
    7361                 :         441 :                                 {
    7362                 :         441 :                                   tree _q50 = gimple_assign_rhs1 (_a2);
    7363                 :         441 :                                   _q50 = do_valueize (valueize, _q50);
    7364                 :         441 :                                   tree _q51 = gimple_assign_rhs2 (_a2);
    7365                 :         441 :                                   _q51 = do_valueize (valueize, _q51);
    7366                 :         441 :                                   if (tree_swap_operands_p (_q50, _q51))
    7367                 :           7 :                                     std::swap (_q50, _q51);
    7368                 :         441 :                                   if ((_q51 == _q21 && ! TREE_SIDE_EFFECTS (_q51)) || (operand_equal_p (_q51, _q21, 0) && types_match (_q51, _q21)))
    7369                 :             :                                     {
    7370                 :         320 :                                       {
    7371                 :         320 :                                         tree captures[3] ATTRIBUTE_UNUSED = { _q20, _q21, _q50 };
    7372                 :         320 :                                         if (gimple_simplify_207 (res_op, seq, valueize, type, captures, EQ_EXPR))
    7373                 :           6 :                                           return true;
    7374                 :             :                                       }
    7375                 :             :                                     }
    7376                 :         435 :                                   if ((_q50 == _q21 && ! TREE_SIDE_EFFECTS (_q50)) || (operand_equal_p (_q50, _q21, 0) && types_match (_q50, _q21)))
    7377                 :             :                                     {
    7378                 :           0 :                                       {
    7379                 :           0 :                                         tree captures[3] ATTRIBUTE_UNUSED = { _q20, _q21, _q51 };
    7380                 :           0 :                                         if (gimple_simplify_207 (res_op, seq, valueize, type, captures, EQ_EXPR))
    7381                 :           0 :                                           return true;
    7382                 :             :                                       }
    7383                 :             :                                     }
    7384                 :         435 :                                   if ((_q51 == _q20 && ! TREE_SIDE_EFFECTS (_q51)) || (operand_equal_p (_q51, _q20, 0) && types_match (_q51, _q20)))
    7385                 :             :                                     {
    7386                 :           0 :                                       {
    7387                 :           0 :                                         tree captures[3] ATTRIBUTE_UNUSED = { _q21, _q20, _q50 };
    7388                 :           0 :                                         if (gimple_simplify_207 (res_op, seq, valueize, type, captures, EQ_EXPR))
    7389                 :           0 :                                           return true;
    7390                 :             :                                       }
    7391                 :             :                                     }
    7392                 :         435 :                                   if ((_q50 == _q20 && ! TREE_SIDE_EFFECTS (_q50)) || (operand_equal_p (_q50, _q20, 0) && types_match (_q50, _q20)))
    7393                 :             :                                     {
    7394                 :          76 :                                       {
    7395                 :          76 :                                         tree captures[3] ATTRIBUTE_UNUSED = { _q21, _q20, _q51 };
    7396                 :          76 :                                         if (gimple_simplify_207 (res_op, seq, valueize, type, captures, EQ_EXPR))
    7397                 :           3 :                                           return true;
    7398                 :             :                                       }
    7399                 :             :                                     }
    7400                 :       35804 :                                   break;
    7401                 :             :                                 }
    7402                 :             :                               default:;
    7403                 :             :                               }
    7404                 :             :                         }
    7405                 :             :                       break;
    7406                 :       35804 :                     default:;
    7407                 :             :                     }
    7408                 :       35804 :                   switch (TREE_CODE (_q21))
    7409                 :             :                     {
    7410                 :       19327 :                     case INTEGER_CST:
    7411                 :       19327 :                       {
    7412                 :       19327 :                         switch (TREE_CODE (_p1))
    7413                 :             :                           {
    7414                 :        3931 :                           case SSA_NAME:
    7415                 :        3931 :                             if (gimple *_d2 = get_def (valueize, _p1))
    7416                 :             :                               {
    7417                 :        3081 :                                 if (gassign *_a2 = dyn_cast <gassign *> (_d2))
    7418                 :        3642 :                                   switch (gimple_assign_rhs_code (_a2))
    7419                 :             :                                     {
    7420                 :         333 :                                     case MULT_EXPR:
    7421                 :         333 :                                       {
    7422                 :         333 :                                         tree _q50 = gimple_assign_rhs1 (_a2);
    7423                 :         333 :                                         _q50 = do_valueize (valueize, _q50);
    7424                 :         333 :                                         tree _q51 = gimple_assign_rhs2 (_a2);
    7425                 :         333 :                                         _q51 = do_valueize (valueize, _q51);
    7426                 :         333 :                                         if (tree_swap_operands_p (_q50, _q51))
    7427                 :           0 :                                           std::swap (_q50, _q51);
    7428                 :         333 :                                         if ((_q51 == _q21 && ! TREE_SIDE_EFFECTS (_q51)) || (operand_equal_p (_q51, _q21, 0) && types_match (_q51, _q21)))
    7429                 :             :                                           {
    7430                 :         226 :                                             {
    7431                 :         226 :                                               tree captures[3] ATTRIBUTE_UNUSED = { _q20, _q21, _q50 };
    7432                 :         226 :                                               if (gimple_simplify_208 (res_op, seq, valueize, type, captures, EQ_EXPR))
    7433                 :          14 :                                                 return true;
    7434                 :             :                                             }
    7435                 :             :                                           }
    7436                 :    69645400 :                                         break;
    7437                 :             :                                       }
    7438                 :             :                                     default:;
    7439                 :             :                                     }
    7440                 :             :                               }
    7441                 :             :                             break;
    7442                 :             :                           default:;
    7443                 :             :                           }
    7444                 :             :                         break;
    7445                 :             :                       }
    7446                 :             :                     default:;
    7447                 :             :                     }
    7448                 :    69645400 :                   break;
    7449                 :             :                 }
    7450                 :      644777 :               CASE_CONVERT:
    7451                 :      644777 :                 {
    7452                 :      644777 :                   tree _q20 = gimple_assign_rhs1 (_a1);
    7453                 :      644777 :                   _q20 = do_valueize (valueize, _q20);
    7454                 :      644777 :                   switch (TREE_CODE (_q20))
    7455                 :             :                     {
    7456                 :      632240 :                     case SSA_NAME:
    7457                 :      632240 :                       if (gimple *_d2 = get_def (valueize, _q20))
    7458                 :             :                         {
    7459                 :      622588 :                           if (gassign *_a2 = dyn_cast <gassign *> (_d2))
    7460                 :      724165 :                             switch (gimple_assign_rhs_code (_a2))
    7461                 :             :                               {
    7462                 :       90544 :                               case EXACT_DIV_EXPR:
    7463                 :       90544 :                                 {
    7464                 :       90544 :                                   tree _q30 = gimple_assign_rhs1 (_a2);
    7465                 :       90544 :                                   _q30 = do_valueize (valueize, _q30);
    7466                 :       90544 :                                   tree _q31 = gimple_assign_rhs2 (_a2);
    7467                 :       90544 :                                   _q31 = do_valueize (valueize, _q31);
    7468                 :       90544 :                                   switch (TREE_CODE (_q31))
    7469                 :             :                                     {
    7470                 :       90544 :                                     case INTEGER_CST:
    7471                 :       90544 :                                       {
    7472                 :       90544 :                                         switch (TREE_CODE (_p1))
    7473                 :             :                                           {
    7474                 :         964 :                                           case SSA_NAME:
    7475                 :         964 :                                             if (gimple *_d3 = get_def (valueize, _p1))
    7476                 :             :                                               {
    7477                 :         921 :                                                 if (gassign *_a3 = dyn_cast <gassign *> (_d3))
    7478                 :        1011 :                                                   switch (gimple_assign_rhs_code (_a3))
    7479                 :             :                                                     {
    7480                 :         268 :                                                     CASE_CONVERT:
    7481                 :         268 :                                                       {
    7482                 :         268 :                                                         tree _q60 = gimple_assign_rhs1 (_a3);
    7483                 :         268 :                                                         _q60 = do_valueize (valueize, _q60);
    7484                 :         268 :                                                         switch (TREE_CODE (_q60))
    7485                 :             :                                                           {
    7486                 :         268 :                                                           case SSA_NAME:
    7487                 :         268 :                                                             if (gimple *_d4 = get_def (valueize, _q60))
    7488                 :             :                                                               {
    7489                 :         268 :                                                                 if (gassign *_a4 = dyn_cast <gassign *> (_d4))
    7490                 :         268 :                                                                   switch (gimple_assign_rhs_code (_a4))
    7491                 :             :                                                                     {
    7492                 :         268 :                                                                     case EXACT_DIV_EXPR:
    7493                 :         268 :                                                                       {
    7494                 :         268 :                                                                         tree _q70 = gimple_assign_rhs1 (_a4);
    7495                 :         268 :                                                                         _q70 = do_valueize (valueize, _q70);
    7496                 :         268 :                                                                         tree _q71 = gimple_assign_rhs2 (_a4);
    7497                 :         268 :                                                                         _q71 = do_valueize (valueize, _q71);
    7498                 :         268 :                                                                         if ((_q71 == _q31 && ! TREE_SIDE_EFFECTS (_q71)) || (operand_equal_p (_q71, _q31, 0) && types_match (_q71, _q31)))
    7499                 :             :                                                                           {
    7500                 :         268 :                                                                             {
    7501                 :         268 :                                                                               tree captures[4] ATTRIBUTE_UNUSED = { _p0, _q30, _q31, _q70 };
    7502                 :         268 :                                                                               if (gimple_simplify_209 (res_op, seq, valueize, type, captures, EQ_EXPR))
    7503                 :         108 :                                                                                 return true;
    7504                 :             :                                                                             }
    7505                 :             :                                                                           }
    7506                 :             :                                                                         break;
    7507                 :             :                                                                       }
    7508                 :             :                                                                     default:;
    7509                 :             :                                                                     }
    7510                 :             :                                                               }
    7511                 :             :                                                             break;
    7512                 :             :                                                           default:;
    7513                 :             :                                                           }
    7514                 :             :                                                         break;
    7515                 :             :                                                       }
    7516                 :             :                                                     default:;
    7517                 :             :                                                     }
    7518                 :             :                                               }
    7519                 :             :                                             break;
    7520                 :             :                                           default:;
    7521                 :             :                                           }
    7522                 :             :                                         break;
    7523                 :             :                                       }
    7524                 :             :                                     default:;
    7525                 :             :                                     }
    7526                 :             :                                   break;
    7527                 :             :                                 }
    7528                 :             :                               default:;
    7529                 :             :                               }
    7530                 :             :                         }
    7531                 :             :                       break;
    7532                 :      644669 :                     default:;
    7533                 :             :                     }
    7534                 :      644669 :                   switch (TREE_CODE (_p1))
    7535                 :             :                     {
    7536                 :      153631 :                     case SSA_NAME:
    7537                 :      153631 :                       if (gimple *_d2 = get_def (valueize, _p1))
    7538                 :             :                         {
    7539                 :      144349 :                           if (gassign *_a2 = dyn_cast <gassign *> (_d2))
    7540                 :      165992 :                             switch (gimple_assign_rhs_code (_a2))
    7541                 :             :                               {
    7542                 :       27758 :                               case PLUS_EXPR:
    7543                 :       27758 :                                 {
    7544                 :       27758 :                                   tree _q40 = gimple_assign_rhs1 (_a2);
    7545                 :       27758 :                                   _q40 = do_valueize (valueize, _q40);
    7546                 :       27758 :                                   tree _q41 = gimple_assign_rhs2 (_a2);
    7547                 :       27758 :                                   _q41 = do_valueize (valueize, _q41);
    7548                 :       27758 :                                   if (tree_swap_operands_p (_q40, _q41))
    7549                 :          37 :                                     std::swap (_q40, _q41);
    7550                 :       27758 :                                   switch (TREE_CODE (_q41))
    7551                 :             :                                     {
    7552                 :         521 :                                     case SSA_NAME:
    7553                 :         521 :                                       if (gimple *_d3 = get_def (valueize, _q41))
    7554                 :             :                                         {
    7555                 :         503 :                                           if (gassign *_a3 = dyn_cast <gassign *> (_d3))
    7556                 :         422 :                                             switch (gimple_assign_rhs_code (_a3))
    7557                 :             :                                               {
    7558                 :         232 :                                               CASE_CONVERT:
    7559                 :         232 :                                                 {
    7560                 :         232 :                                                   tree _q60 = gimple_assign_rhs1 (_a3);
    7561                 :         232 :                                                   _q60 = do_valueize (valueize, _q60);
    7562                 :         232 :                                                   if ((_q60 == _q20 && ! TREE_SIDE_EFFECTS (_q60)) || (operand_equal_p (_q60, _q20, 0) && types_match (_q60, _q20)))
    7563                 :             :                                                     {
    7564                 :           4 :                                                       {
    7565                 :           4 :                                                         tree captures[4] ATTRIBUTE_UNUSED = { _p1, _p1, _q40, _q20 };
    7566                 :           4 :                                                         if (gimple_simplify_211 (res_op, seq, valueize, type, captures, EQ_EXPR))
    7567                 :           4 :                                                           return true;
    7568                 :             :                                                       }
    7569                 :             :                                                     }
    7570                 :             :                                                   break;
    7571                 :             :                                                 }
    7572                 :             :                                               default:;
    7573                 :             :                                               }
    7574                 :             :                                         }
    7575                 :             :                                       break;
    7576                 :       27754 :                                     default:;
    7577                 :             :                                     }
    7578                 :       27754 :                                   switch (TREE_CODE (_q40))
    7579                 :             :                                     {
    7580                 :       27754 :                                     case SSA_NAME:
    7581                 :       27754 :                                       if (gimple *_d3 = get_def (valueize, _q40))
    7582                 :             :                                         {
    7583                 :       25204 :                                           if (gassign *_a3 = dyn_cast <gassign *> (_d3))
    7584                 :       32569 :                                             switch (gimple_assign_rhs_code (_a3))
    7585                 :             :                                               {
    7586                 :        1029 :                                               CASE_CONVERT:
    7587                 :        1029 :                                                 {
    7588                 :        1029 :                                                   tree _q50 = gimple_assign_rhs1 (_a3);
    7589                 :        1029 :                                                   _q50 = do_valueize (valueize, _q50);
    7590                 :        1029 :                                                   if ((_q50 == _q20 && ! TREE_SIDE_EFFECTS (_q50)) || (operand_equal_p (_q50, _q20, 0) && types_match (_q50, _q20)))
    7591                 :             :                                                     {
    7592                 :          12 :                                                       {
    7593                 :          12 :                                                         tree captures[4] ATTRIBUTE_UNUSED = { _p1, _p1, _q41, _q20 };
    7594                 :          12 :                                                         if (gimple_simplify_211 (res_op, seq, valueize, type, captures, EQ_EXPR))
    7595                 :           8 :                                                           return true;
    7596                 :             :                                                       }
    7597                 :             :                                                     }
    7598                 :             :                                                   break;
    7599                 :             :                                                 }
    7600                 :             :                                               default:;
    7601                 :             :                                               }
    7602                 :             :                                         }
    7603                 :             :                                       break;
    7604                 :       27746 :                                     default:;
    7605                 :             :                                     }
    7606                 :       27746 :                                   if ((_q41 == _q20 && ! TREE_SIDE_EFFECTS (_q41)) || (operand_equal_p (_q41, _q20, 0) && types_match (_q41, _q20)))
    7607                 :             :                                     {
    7608                 :           0 :                                       {
    7609                 :           0 :                                         tree captures[4] ATTRIBUTE_UNUSED = { _p1, _p1, _q40, _q20 };
    7610                 :           0 :                                         if (gimple_simplify_211 (res_op, seq, valueize, type, captures, EQ_EXPR))
    7611                 :           0 :                                           return true;
    7612                 :             :                                       }
    7613                 :             :                                     }
    7614                 :       27746 :                                   if ((_q40 == _q20 && ! TREE_SIDE_EFFECTS (_q40)) || (operand_equal_p (_q40, _q20, 0) && types_match (_q40, _q20)))
    7615                 :             :                                     {
    7616                 :           0 :                                       {
    7617                 :           0 :                                         tree captures[4] ATTRIBUTE_UNUSED = { _p1, _p1, _q41, _q20 };
    7618                 :           0 :                                         if (gimple_simplify_211 (res_op, seq, valueize, type, captures, EQ_EXPR))
    7619                 :           0 :                                           return true;
    7620                 :             :                                       }
    7621                 :             :                                     }
    7622                 :      644657 :                                   break;
    7623                 :             :                                 }
    7624                 :             :                               default:;
    7625                 :             :                               }
    7626                 :             :                         }
    7627                 :             :                       break;
    7628                 :      644657 :                     default:;
    7629                 :             :                     }
    7630                 :      644657 :                 {
    7631                 :      644657 :                   tree _p1_pops[1];
    7632                 :      644657 :                   if (gimple_nop_convert (_p1, _p1_pops, valueize))
    7633                 :             :                     {
    7634                 :       31808 :                       tree _q40 = _p1_pops[0];
    7635                 :       31808 :                       switch (TREE_CODE (_q40))
    7636                 :             :                         {
    7637                 :       15471 :                         case SSA_NAME:
    7638                 :       15471 :                           if (gimple *_d2 = get_def (valueize, _q40))
    7639                 :             :                             {
    7640                 :       15383 :                               if (gassign *_a2 = dyn_cast <gassign *> (_d2))
    7641                 :       20819 :                                 switch (gimple_assign_rhs_code (_a2))
    7642                 :             :                                   {
    7643                 :         350 :                                   case PLUS_EXPR:
    7644                 :         350 :                                     {
    7645                 :         350 :                                       tree _q50 = gimple_assign_rhs1 (_a2);
    7646                 :         350 :                                       _q50 = do_valueize (valueize, _q50);
    7647                 :         350 :                                       tree _q51 = gimple_assign_rhs2 (_a2);
    7648                 :         350 :                                       _q51 = do_valueize (valueize, _q51);
    7649                 :         350 :                                       if (tree_swap_operands_p (_q50, _q51))
    7650                 :          20 :                                         std::swap (_q50, _q51);
    7651                 :         350 :                                       switch (TREE_CODE (_q51))
    7652                 :             :                                         {
    7653                 :         268 :                                         case SSA_NAME:
    7654                 :         268 :                                           if (gimple *_d3 = get_def (valueize, _q51))
    7655                 :             :                                             {
    7656                 :         268 :                                               if (gassign *_a3 = dyn_cast <gassign *> (_d3))
    7657                 :         266 :                                                 switch (gimple_assign_rhs_code (_a3))
    7658                 :             :                                                   {
    7659                 :         170 :                                                   CASE_CONVERT:
    7660                 :         170 :                                                     {
    7661                 :         170 :                                                       tree _q70 = gimple_assign_rhs1 (_a3);
    7662                 :         170 :                                                       _q70 = do_valueize (valueize, _q70);
    7663                 :         170 :                                                       if ((_q70 == _q20 && ! TREE_SIDE_EFFECTS (_q70)) || (operand_equal_p (_q70, _q20, 0) && types_match (_q70, _q20)))
    7664                 :             :                                                         {
    7665                 :           0 :                                                           {
    7666                 :           0 :                                                             tree captures[4] ATTRIBUTE_UNUSED = { _p1, _q40, _q50, _q20 };
    7667                 :           0 :                                                             if (gimple_simplify_210 (res_op, seq, valueize, type, captures, EQ_EXPR))
    7668                 :           0 :                                                               return true;
    7669                 :             :                                                           }
    7670                 :             :                                                         }
    7671                 :             :                                                       break;
    7672                 :             :                                                     }
    7673                 :             :                                                   default:;
    7674                 :             :                                                   }
    7675                 :             :                                             }
    7676                 :             :                                           break;
    7677                 :         350 :                                         default:;
    7678                 :             :                                         }
    7679                 :         350 :                                       switch (TREE_CODE (_q50))
    7680                 :             :                                         {
    7681                 :         350 :                                         case SSA_NAME:
    7682                 :         350 :                                           if (gimple *_d3 = get_def (valueize, _q50))
    7683                 :             :                                             {
    7684                 :         339 :                                               if (gassign *_a3 = dyn_cast <gassign *> (_d3))
    7685                 :         330 :                                                 switch (gimple_assign_rhs_code (_a3))
    7686                 :             :                                                   {
    7687                 :          24 :                                                   CASE_CONVERT:
    7688                 :          24 :                                                     {
    7689                 :          24 :                                                       tree _q60 = gimple_assign_rhs1 (_a3);
    7690                 :          24 :                                                       _q60 = do_valueize (valueize, _q60);
    7691                 :          24 :                                                       if ((_q60 == _q20 && ! TREE_SIDE_EFFECTS (_q60)) || (operand_equal_p (_q60, _q20, 0) && types_match (_q60, _q20)))
    7692                 :             :                                                         {
    7693                 :           0 :                                                           {
    7694                 :           0 :                                                             tree captures[4] ATTRIBUTE_UNUSED = { _p1, _q40, _q51, _q20 };
    7695                 :           0 :                                                             if (gimple_simplify_210 (res_op, seq, valueize, type, captures, EQ_EXPR))
    7696                 :           0 :                                                               return true;
    7697                 :             :                                                           }
    7698                 :             :                                                         }
    7699                 :             :                                                       break;
    7700                 :             :                                                     }
    7701                 :             :                                                   default:;
    7702                 :             :                                                   }
    7703                 :             :                                             }
    7704                 :             :                                           break;
    7705                 :         350 :                                         default:;
    7706                 :             :                                         }
    7707                 :         350 :                                       if ((_q51 == _q20 && ! TREE_SIDE_EFFECTS (_q51)) || (operand_equal_p (_q51, _q20, 0) && types_match (_q51, _q20)))
    7708                 :             :                                         {
    7709                 :           2 :                                           {
    7710                 :           2 :                                             tree captures[4] ATTRIBUTE_UNUSED = { _p1, _q40, _q50, _q20 };
    7711                 :           2 :                                             if (gimple_simplify_210 (res_op, seq, valueize, type, captures, EQ_EXPR))
    7712                 :           0 :                                               return true;
    7713                 :             :                                           }
    7714                 :             :                                         }
    7715                 :         350 :                                       if ((_q50 == _q20 && ! TREE_SIDE_EFFECTS (_q50)) || (operand_equal_p (_q50, _q20, 0) && types_match (_q50, _q20)))
    7716                 :             :                                         {
    7717                 :           0 :                                           {
    7718                 :           0 :                                             tree captures[4] ATTRIBUTE_UNUSED = { _p1, _q40, _q51, _q20 };
    7719                 :           0 :                                             if (gimple_simplify_210 (res_op, seq, valueize, type, captures, EQ_EXPR))
    7720                 :           0 :                                               return true;
    7721                 :             :                                           }
    7722                 :             :                                         }
    7723                 :      644657 :                                       break;
    7724                 :             :                                     }
    7725                 :             :                                   default:;
    7726                 :             :                                   }
    7727                 :             :                             }
    7728                 :             :                           break;
    7729                 :             :                         default:;
    7730                 :             :                         }
    7731                 :             : }
    7732                 :             :                 }
    7733                 :      644657 :                   break;
    7734                 :             :                 }
    7735                 :       14563 :               case EXACT_DIV_EXPR:
    7736                 :       14563 :                 {
    7737                 :       14563 :                   tree _q20 = gimple_assign_rhs1 (_a1);
    7738                 :       14563 :                   _q20 = do_valueize (valueize, _q20);
    7739                 :       14563 :                   tree _q21 = gimple_assign_rhs2 (_a1);
    7740                 :       14563 :                   _q21 = do_valueize (valueize, _q21);
    7741                 :       14563 :                   switch (TREE_CODE (_q21))
    7742                 :             :                     {
    7743                 :       14563 :                     case INTEGER_CST:
    7744                 :       14563 :                       {
    7745                 :       14563 :                         switch (TREE_CODE (_p1))
    7746                 :             :                           {
    7747                 :        4873 :                           case SSA_NAME:
    7748                 :        4873 :                             if (gimple *_d2 = get_def (valueize, _p1))
    7749                 :             :                               {
    7750                 :        4849 :                                 if (gassign *_a2 = dyn_cast <gassign *> (_d2))
    7751                 :        4690 :                                   switch (gimple_assign_rhs_code (_a2))
    7752                 :             :                                     {
    7753                 :          98 :                                     case EXACT_DIV_EXPR:
    7754                 :          98 :                                       {
    7755                 :          98 :                                         tree _q50 = gimple_assign_rhs1 (_a2);
    7756                 :          98 :                                         _q50 = do_valueize (valueize, _q50);
    7757                 :          98 :                                         tree _q51 = gimple_assign_rhs2 (_a2);
    7758                 :          98 :                                         _q51 = do_valueize (valueize, _q51);
    7759                 :          98 :                                         if ((_q51 == _q21 && ! TREE_SIDE_EFFECTS (_q51)) || (operand_equal_p (_q51, _q21, 0) && types_match (_q51, _q21)))
    7760                 :             :                                           {
    7761                 :          98 :                                             {
    7762                 :          98 :                                               tree captures[4] ATTRIBUTE_UNUSED = { _p0, _q20, _q21, _q50 };
    7763                 :          98 :                                               if (gimple_simplify_209 (res_op, seq, valueize, type, captures, EQ_EXPR))
    7764                 :          98 :                                                 return true;
    7765                 :             :                                             }
    7766                 :             :                                           }
    7767                 :             :                                         break;
    7768                 :             :                                       }
    7769                 :             :                                     default:;
    7770                 :             :                                     }
    7771                 :             :                               }
    7772                 :             :                             break;
    7773                 :             :                           default:;
    7774                 :             :                           }
    7775                 :             :                         break;
    7776                 :             :                       }
    7777                 :             :                     default:;
    7778                 :             :                     }
    7779                 :             :                   break;
    7780                 :             :                 }
    7781                 :       14478 :               case TRUNC_DIV_EXPR:
    7782                 :       14478 :                 {
    7783                 :       14478 :                   tree _q20 = gimple_assign_rhs1 (_a1);
    7784                 :       14478 :                   _q20 = do_valueize (valueize, _q20);
    7785                 :       14478 :                   tree _q21 = gimple_assign_rhs2 (_a1);
    7786                 :       14478 :                   _q21 = do_valueize (valueize, _q21);
    7787                 :       14478 :                   switch (TREE_CODE (_q21))
    7788                 :             :                     {
    7789                 :       11380 :                     case INTEGER_CST:
    7790                 :       11380 :                       {
    7791                 :       11380 :                         switch (TREE_CODE (_p1))
    7792                 :             :                           {
    7793                 :        4317 :                           case INTEGER_CST:
    7794                 :        4317 :                             {
    7795                 :        4317 :                               {
    7796                 :        4317 :                                 tree captures[4] ATTRIBUTE_UNUSED = { _p0, _q20, _q21, _p1 };
    7797                 :        4317 :                                 if (gimple_simplify_212 (res_op, seq, valueize, type, captures, EQ_EXPR))
    7798                 :         551 :                                   return true;
    7799                 :             :                               }
    7800                 :        3766 :                               break;
    7801                 :             :                             }
    7802                 :             :                           default:;
    7803                 :             :                           }
    7804                 :             :                         break;
    7805                 :             :                       }
    7806                 :             :                     default:;
    7807                 :             :                     }
    7808                 :             :                   break;
    7809                 :             :                 }
    7810                 :      625853 :               case PLUS_EXPR:
    7811                 :      625853 :                 {
    7812                 :      625853 :                   tree _q20 = gimple_assign_rhs1 (_a1);
    7813                 :      625853 :                   _q20 = do_valueize (valueize, _q20);
    7814                 :      625853 :                   tree _q21 = gimple_assign_rhs2 (_a1);
    7815                 :      625853 :                   _q21 = do_valueize (valueize, _q21);
    7816                 :      625853 :                   if (tree_swap_operands_p (_q20, _q21))
    7817                 :        7719 :                     std::swap (_q20, _q21);
    7818                 :      625853 :                   switch (TREE_CODE (_p1))
    7819                 :             :                     {
    7820                 :      212380 :                     case SSA_NAME:
    7821                 :      212380 :                       if (gimple *_d2 = get_def (valueize, _p1))
    7822                 :             :                         {
    7823                 :      195364 :                           if (gassign *_a2 = dyn_cast <gassign *> (_d2))
    7824                 :      257095 :                             switch (gimple_assign_rhs_code (_a2))
    7825                 :             :                               {
    7826                 :       54086 :                               case PLUS_EXPR:
    7827                 :       54086 :                                 {
    7828                 :       54086 :                                   tree _q50 = gimple_assign_rhs1 (_a2);
    7829                 :       54086 :                                   _q50 = do_valueize (valueize, _q50);
    7830                 :       54086 :                                   tree _q51 = gimple_assign_rhs2 (_a2);
    7831                 :       54086 :                                   _q51 = do_valueize (valueize, _q51);
    7832                 :       54086 :                                   if (tree_swap_operands_p (_q50, _q51))
    7833                 :         248 :                                     std::swap (_q50, _q51);
    7834                 :       54086 :                                   if ((_q51 == _q21 && ! TREE_SIDE_EFFECTS (_q51)) || (operand_equal_p (_q51, _q21, 0) && types_match (_q51, _q21)))
    7835                 :             :                                     {
    7836                 :        8378 :                                       {
    7837                 :        8378 :                                         tree captures[3] ATTRIBUTE_UNUSED = { _q20, _q21, _q50 };
    7838                 :       16756 :                                         if (ANY_INTEGRAL_TYPE_P (TREE_TYPE (captures[0]))
    7839                 :       16535 :  && (TYPE_OVERFLOW_UNDEFINED (TREE_TYPE (captures[0]))
    7840                 :        7073 :  || TYPE_OVERFLOW_WRAPS (TREE_TYPE (captures[0])))
    7841                 :             : )
    7842                 :             :                                           {
    7843                 :        8157 :                                             gimple_seq *lseq = seq;
    7844                 :        8157 :                                             if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail1772;
    7845                 :        8157 :                                             {
    7846                 :        8157 :                                               res_op->set_op (EQ_EXPR, type, 2);
    7847                 :        8157 :                                               res_op->ops[0] = captures[0];
    7848                 :        8157 :                                               res_op->ops[1] = captures[2];
    7849                 :        8157 :                                               res_op->resimplify (lseq, valueize);
    7850                 :        8157 :                                               if (UNLIKELY (debug_dump)) gimple_dump_logs ("match.pd", 954, __FILE__, __LINE__, true);
    7851                 :        8157 :                                               return true;
    7852                 :             :                                             }
    7853                 :           0 : next_after_fail1772:;
    7854                 :             :                                           }
    7855                 :             :                                       }
    7856                 :             :                                     }
    7857                 :       45929 :                                   if ((_q50 == _q21 && ! TREE_SIDE_EFFECTS (_q50)) || (operand_equal_p (_q50, _q21, 0) && types_match (_q50, _q21)))
    7858                 :             :                                     {
    7859                 :           4 :                                       {
    7860                 :           4 :                                         tree captures[3] ATTRIBUTE_UNUSED = { _q20, _q21, _q51 };
    7861                 :           8 :                                         if (ANY_INTEGRAL_TYPE_P (TREE_TYPE (captures[0]))
    7862                 :           8 :  && (TYPE_OVERFLOW_UNDEFINED (TREE_TYPE (captures[0]))
    7863                 :           4 :  || TYPE_OVERFLOW_WRAPS (TREE_TYPE (captures[0])))
    7864                 :             : )
    7865                 :             :                                           {
    7866                 :           4 :                                             gimple_seq *lseq = seq;
    7867                 :           4 :                                             if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail1773;
    7868                 :           4 :                                             {
    7869                 :           4 :                                               res_op->set_op (EQ_EXPR, type, 2);
    7870                 :           4 :                                               res_op->ops[0] = captures[0];
    7871                 :           4 :                                               res_op->ops[1] = captures[2];
    7872                 :           4 :                                               res_op->resimplify (lseq, valueize);
    7873                 :           4 :                                               if (UNLIKELY (debug_dump)) gimple_dump_logs ("match.pd", 954, __FILE__, __LINE__, true);
    7874                 :           4 :                                               return true;
    7875                 :             :                                             }
    7876                 :           0 : next_after_fail1773:;
    7877                 :             :                                           }
    7878                 :             :                                       }
    7879                 :             :                                     }
    7880                 :       45925 :                                   if ((_q51 == _q20 && ! TREE_SIDE_EFFECTS (_q51)) || (operand_equal_p (_q51, _q20, 0) && types_match (_q51, _q20)))
    7881                 :             :                                     {
    7882                 :           1 :                                       {
    7883                 :           1 :                                         tree captures[3] ATTRIBUTE_UNUSED = { _q21, _q20, _q50 };
    7884                 :           2 :                                         if (ANY_INTEGRAL_TYPE_P (TREE_TYPE (captures[0]))
    7885                 :           2 :  && (TYPE_OVERFLOW_UNDEFINED (TREE_TYPE (captures[0]))
    7886                 :           0 :  || TYPE_OVERFLOW_WRAPS (TREE_TYPE (captures[0])))
    7887                 :             : )
    7888                 :             :                                           {
    7889                 :           1 :                                             gimple_seq *lseq = seq;
    7890                 :           1 :                                             if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail1774;
    7891                 :           1 :                                             {
    7892                 :           1 :                                               res_op->set_op (EQ_EXPR, type, 2);
    7893                 :           1 :                                               res_op->ops[0] = captures[0];
    7894                 :           1 :                                               res_op->ops[1] = captures[2];
    7895                 :           1 :                                               res_op->resimplify (lseq, valueize);
    7896                 :           1 :                                               if (UNLIKELY (debug_dump)) gimple_dump_logs ("match.pd", 954, __FILE__, __LINE__, true);
    7897                 :           1 :                                               return true;
    7898                 :             :                                             }
    7899                 :           0 : next_after_fail1774:;
    7900                 :             :                                           }
    7901                 :             :                                       }
    7902                 :             :                                     }
    7903                 :       45924 :                                   if ((_q50 == _q20 && ! TREE_SIDE_EFFECTS (_q50)) || (operand_equal_p (_q50, _q20, 0) && types_match (_q50, _q20)))
    7904                 :             :                                     {
    7905                 :         138 :                                       {
    7906                 :         138 :                                         tree captures[3] ATTRIBUTE_UNUSED = { _q21, _q20, _q51 };
    7907                 :         276 :                                         if (ANY_INTEGRAL_TYPE_P (TREE_TYPE (captures[0]))
    7908                 :         146 :  && (TYPE_OVERFLOW_UNDEFINED (TREE_TYPE (captures[0]))
    7909                 :           8 :  || TYPE_OVERFLOW_WRAPS (TREE_TYPE (captures[0])))
    7910                 :             : )
    7911                 :             :                                           {
    7912                 :           8 :                                             gimple_seq *lseq = seq;
    7913                 :           8 :                                             if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail1775;
    7914                 :           8 :                                             {
    7915                 :           8 :                                               res_op->set_op (EQ_EXPR, type, 2);
    7916                 :           8 :                                               res_op->ops[0] = captures[0];
    7917                 :           8 :                                               res_op->ops[1] = captures[2];
    7918                 :           8 :                                               res_op->resimplify (lseq, valueize);
    7919                 :           8 :                                               if (UNLIKELY (debug_dump)) gimple_dump_logs ("match.pd", 954, __FILE__, __LINE__, true);
    7920                 :           8 :                                               return true;
    7921                 :             :                                             }
    7922                 :           0 : next_after_fail1775:;
    7923                 :             :                                           }
    7924                 :             :                                       }
    7925                 :             :                                     }
    7926                 :      617683 :                                   break;
    7927                 :             :                                 }
    7928                 :             :                               default:;
    7929                 :             :                               }
    7930                 :             :                         }
    7931                 :             :                       break;
    7932                 :      617683 :                     default:;
    7933                 :             :                     }
    7934                 :      617683 :                   switch (TREE_CODE (_q21))
    7935                 :             :                     {
    7936                 :      111133 :                     case SSA_NAME:
    7937                 :      111133 :                       if (gimple *_d2 = get_def (valueize, _q21))
    7938                 :             :                         {
    7939                 :      109296 :                           if (gassign *_a2 = dyn_cast <gassign *> (_d2))
    7940                 :      102737 :                             switch (gimple_assign_rhs_code (_a2))
    7941                 :             :                               {
    7942                 :       40482 :                               CASE_CONVERT:
    7943                 :       40482 :                                 {
    7944                 :       40482 :                                   tree _q40 = gimple_assign_rhs1 (_a2);
    7945                 :       40482 :                                   _q40 = do_valueize (valueize, _q40);
    7946                 :       40482 :                                   switch (TREE_CODE (_p1))
    7947                 :             :                                     {
    7948                 :        3051 :                                     case SSA_NAME:
    7949                 :        3051 :                                       if (gimple *_d3 = get_def (valueize, _p1))
    7950                 :             :                                         {
    7951                 :        2549 :                                           if (gassign *_a3 = dyn_cast <gassign *> (_d3))
    7952                 :        2343 :                                             switch (gimple_assign_rhs_code (_a3))
    7953                 :             :                                               {
    7954                 :         431 :                                               CASE_CONVERT:
    7955                 :         431 :                                                 {
    7956                 :         431 :                                                   tree _q60 = gimple_assign_rhs1 (_a3);
    7957                 :         431 :                                                   _q60 = do_valueize (valueize, _q60);
    7958                 :         431 :                                                   if ((_q60 == _q40 && ! TREE_SIDE_EFFECTS (_q60)) || (operand_equal_p (_q60, _q40, 0) && types_match (_q60, _q40)))
    7959                 :             :                                                     {
    7960                 :          13 :                                                       {
    7961                 :          13 :                                                         tree captures[4] ATTRIBUTE_UNUSED = { _p0, _p0, _q20, _q40 };
    7962                 :          13 :                                                         if (gimple_simplify_211 (res_op, seq, valueize, type, captures, EQ_EXPR))
    7963                 :          13 :                                                           return true;
    7964                 :             :                                                       }
    7965                 :             :                                                     }
    7966                 :             :                                                   break;
    7967                 :             :                                                 }
    7968                 :             :                                               default:;
    7969                 :             :                                               }
    7970                 :             :                                         }
    7971                 :             :                                       break;
    7972                 :             :                                     default:;
    7973                 :             :                                     }
    7974                 :             :                                   break;
    7975                 :             :                                 }
    7976                 :             :                               default:;
    7977                 :             :                               }
    7978                 :             :                         }
    7979                 :             :                       break;
    7980                 :      617670 :                     default:;
    7981                 :             :                     }
    7982                 :      617670 :                   switch (TREE_CODE (_q20))
    7983                 :             :                     {
    7984                 :      617670 :                     case SSA_NAME:
    7985                 :      617670 :                       if (gimple *_d2 = get_def (valueize, _q20))
    7986                 :             :                         {
    7987                 :      603263 :                           if (gassign *_a2 = dyn_cast <gassign *> (_d2))
    7988                 :      506363 :                             switch (gimple_assign_rhs_code (_a2))
    7989                 :             :                               {
    7990                 :       65593 :                               CASE_CONVERT:
    7991                 :       65593 :                                 {
    7992                 :       65593 :                                   tree _q30 = gimple_assign_rhs1 (_a2);
    7993                 :       65593 :                                   _q30 = do_valueize (valueize, _q30);
    7994                 :       65593 :                                   switch (TREE_CODE (_p1))
    7995                 :             :                                     {
    7996                 :       32612 :                                     case SSA_NAME:
    7997                 :       32612 :                                       if (gimple *_d3 = get_def (valueize, _p1))
    7998                 :             :                                         {
    7999                 :       23820 :                                           if (gassign *_a3 = dyn_cast <gassign *> (_d3))
    8000                 :       23014 :                                             switch (gimple_assign_rhs_code (_a3))
    8001                 :             :                                               {
    8002                 :        7383 :                                               CASE_CONVERT:
    8003                 :        7383 :                                                 {
    8004                 :        7383 :                                                   tree _q60 = gimple_assign_rhs1 (_a3);
    8005                 :        7383 :                                                   _q60 = do_valueize (valueize, _q60);
    8006                 :        7383 :                                                   if ((_q60 == _q30 && ! TREE_SIDE_EFFECTS (_q60)) || (operand_equal_p (_q60, _q30, 0) && types_match (_q60, _q30)))
    8007                 :             :                                                     {
    8008                 :          25 :                                                       {
    8009                 :          25 :                                                         tree captures[4] ATTRIBUTE_UNUSED = { _p0, _p0, _q21, _q30 };
    8010                 :          25 :                                                         if (gimple_simplify_211 (res_op, seq, valueize, type, captures, EQ_EXPR))
    8011                 :           8 :                                                           return true;
    8012                 :             :                                                       }
    8013                 :             :                                                     }
    8014                 :             :                                                   break;
    8015                 :             :                                                 }
    8016                 :             :                                               default:;
    8017                 :             :                                               }
    8018                 :             :                                         }
    8019                 :             :                                       break;
    8020                 :       65585 :                                     default:;
    8021                 :             :                                     }
    8022                 :       65585 :                                   if ((_p1 == _q30 && ! TREE_SIDE_EFFECTS (_p1)) || (operand_equal_p (_p1, _q30, 0) && types_match (_p1, _q30)))
    8023                 :             :                                     {
    8024                 :           0 :                                       {
    8025                 :           0 :                                         tree captures[4] ATTRIBUTE_UNUSED = { _p0, _p0, _q21, _q30 };
    8026                 :           0 :                                         if (gimple_simplify_211 (res_op, seq, valueize, type, captures, EQ_EXPR))
    8027                 :           0 :                                           return true;
    8028                 :             :                                       }
    8029                 :             :                                     }
    8030                 :             :                                   break;
    8031                 :             :                                 }
    8032                 :             :                               default:;
    8033                 :             :                               }
    8034                 :             :                         }
    8035                 :             :                       break;
    8036                 :      617662 :                     default:;
    8037                 :             :                     }
    8038                 :      617662 :                   switch (TREE_CODE (_q21))
    8039                 :             :                     {
    8040                 :      111118 :                     case SSA_NAME:
    8041                 :      111118 :                       if (gimple *_d2 = get_def (valueize, _q21))
    8042                 :             :                         {
    8043                 :      109281 :                           if (gassign *_a2 = dyn_cast <gassign *> (_d2))
    8044                 :      102722 :                             switch (gimple_assign_rhs_code (_a2))
    8045                 :             :                               {
    8046                 :       40469 :                               CASE_CONVERT:
    8047                 :       40469 :                                 {
    8048                 :       40469 :                                   tree _q40 = gimple_assign_rhs1 (_a2);
    8049                 :       40469 :                                   _q40 = do_valueize (valueize, _q40);
    8050                 :       40469 :                                   if ((_p1 == _q40 && ! TREE_SIDE_EFFECTS (_p1)) || (operand_equal_p (_p1, _q40, 0) && types_match (_p1, _q40)))
    8051                 :             :                                     {
    8052                 :           0 :                                       {
    8053                 :           0 :                                         tree captures[4] ATTRIBUTE_UNUSED = { _p0, _p0, _q20, _q40 };
    8054                 :           0 :                                         if (gimple_simplify_211 (res_op, seq, valueize, type, captures, EQ_EXPR))
    8055                 :           0 :                                           return true;
    8056                 :             :                                       }
    8057                 :             :                                     }
    8058                 :             :                                   break;
    8059                 :             :                                 }
    8060                 :             :                               default:;
    8061                 :             :                               }
    8062                 :             :                         }
    8063                 :             :                       break;
    8064                 :      617662 :                     default:;
    8065                 :             :                     }
    8066                 :      617662 :                   switch (TREE_CODE (_p1))
    8067                 :             :                     {
    8068                 :      204189 :                     case SSA_NAME:
    8069                 :      204189 :                       if (gimple *_d2 = get_def (valueize, _p1))
    8070                 :             :                         {
    8071                 :      187173 :                           if (gassign *_a2 = dyn_cast <gassign *> (_d2))
    8072                 :      248904 :                             switch (gimple_assign_rhs_code (_a2))
    8073                 :             :                               {
    8074                 :       19622 :                               CASE_CONVERT:
    8075                 :       19622 :                                 {
    8076                 :       19622 :                                   tree _q50 = gimple_assign_rhs1 (_a2);
    8077                 :       19622 :                                   _q50 = do_valueize (valueize, _q50);
    8078                 :       19622 :                                   if ((_q50 == _q21 && ! TREE_SIDE_EFFECTS (_q50)) || (operand_equal_p (_q50, _q21, 0) && types_match (_q50, _q21)))
    8079                 :             :                                     {
    8080                 :           0 :                                       {
    8081                 :           0 :                                         tree captures[4] ATTRIBUTE_UNUSED = { _p0, _p0, _q20, _q21 };
    8082                 :           0 :                                         if (gimple_simplify_211 (res_op, seq, valueize, type, captures, EQ_EXPR))
    8083                 :           0 :                                           return true;
    8084                 :             :                                       }
    8085                 :             :                                     }
    8086                 :       19622 :                                   if ((_q50 == _q20 && ! TREE_SIDE_EFFECTS (_q50)) || (operand_equal_p (_q50, _q20, 0) && types_match (_q50, _q20)))
    8087                 :             :                                     {
    8088                 :           0 :                                       {
    8089                 :           0 :                                         tree captures[4] ATTRIBUTE_UNUSED = { _p0, _p0, _q21, _q20 };
    8090                 :           0 :                                         if (gimple_simplify_211 (res_op, seq, valueize, type, captures, EQ_EXPR))
    8091                 :           0 :                                           return true;
    8092                 :             :                                       }
    8093                 :             :                                     }
    8094                 :             :                                   break;
    8095                 :             :                                 }
    8096                 :             :                               default:;
    8097                 :             :                               }
    8098                 :             :                         }
    8099                 :             :                       break;
    8100                 :      617662 :                     default:;
    8101                 :             :                     }
    8102                 :      617662 :                   if ((_p1 == _q21 && ! TREE_SIDE_EFFECTS (_p1)) || (operand_equal_p (_p1, _q21, 0) && types_match (_p1, _q21)))
    8103                 :             :                     {
    8104                 :       21213 :                       {
    8105                 :       21213 :                         tree captures[4] ATTRIBUTE_UNUSED = { _p0, _p0, _q20, _q21 };
    8106                 :       21213 :                         if (gimple_simplify_211 (res_op, seq, valueize, type, captures, EQ_EXPR))
    8107                 :        3484 :                           return true;
    8108                 :             :                       }
    8109                 :             :                     }
    8110                 :      614178 :                   if ((_p1 == _q20 && ! TREE_SIDE_EFFECTS (_p1)) || (operand_equal_p (_p1, _q20, 0) && types_match (_p1, _q20)))
    8111                 :             :                     {
    8112                 :         220 :                       {
    8113                 :         220 :                         tree captures[4] ATTRIBUTE_UNUSED = { _p0, _p0, _q21, _q20 };
    8114                 :         220 :                         if (gimple_simplify_211 (res_op, seq, valueize, type, captures, EQ_EXPR))
    8115                 :         175 :                           return true;
    8116                 :             :                       }
    8117                 :             :                     }
    8118                 :    69645400 :                   break;
    8119                 :             :                 }
    8120                 :       77741 :               case POINTER_PLUS_EXPR:
    8121                 :       77741 :                 {
    8122                 :       77741 :                   tree _q20 = gimple_assign_rhs1 (_a1);
    8123                 :       77741 :                   _q20 = do_valueize (valueize, _q20);
    8124                 :       77741 :                   tree _q21 = gimple_assign_rhs2 (_a1);
    8125                 :       77741 :                   _q21 = do_valueize (valueize, _q21);
    8126                 :       77741 :                   switch (TREE_CODE (_p1))
    8127                 :             :                     {
    8128                 :       50976 :                     case SSA_NAME:
    8129                 :       50976 :                       if (gimple *_d2 = get_def (valueize, _p1))
    8130                 :             :                         {
    8131                 :       49662 :                           if (gassign *_a2 = dyn_cast <gassign *> (_d2))
    8132                 :       64719 :                             switch (gimple_assign_rhs_code (_a2))
    8133                 :             :                               {
    8134                 :        5765 :                               case POINTER_PLUS_EXPR:
    8135                 :        5765 :                                 {
    8136                 :        5765 :                                   tree _q50 = gimple_assign_rhs1 (_a2);
    8137                 :        5765 :                                   _q50 = do_valueize (valueize, _q50);
    8138                 :        5765 :                                   tree _q51 = gimple_assign_rhs2 (_a2);
    8139                 :        5765 :                                   _q51 = do_valueize (valueize, _q51);
    8140                 :        5765 :                                   if ((_q50 == _q20 && ! TREE_SIDE_EFFECTS (_q50)) || (operand_equal_p (_q50, _q20, 0) && types_match (_q50, _q20)))
    8141                 :             :                                     {
    8142                 :        1057 :                                       {
    8143                 :        1057 :                                         tree captures[3] ATTRIBUTE_UNUSED = { _q20, _q21, _q51 };
    8144                 :        1057 :                                         if (gimple_simplify_213 (res_op, seq, valueize, type, captures, EQ_EXPR))
    8145                 :        1057 :                                           return true;
    8146                 :             :                                       }
    8147                 :             :                                     }
    8148                 :             :                                   break;
    8149                 :             :                                 }
    8150                 :             :                               default:;
    8151                 :             :                               }
    8152                 :             :                         }
    8153                 :             :                       break;
    8154                 :       76684 :                     default:;
    8155                 :             :                     }
    8156                 :       76684 :                   switch (TREE_CODE (_q20))
    8157                 :             :                     {
    8158                 :       75598 :                     case SSA_NAME:
    8159                 :       75598 :                       if (gimple *_d2 = get_def (valueize, _q20))
    8160                 :             :                         {
    8161                 :       73088 :                           if (gassign *_a2 = dyn_cast <gassign *> (_d2))
    8162                 :       94433 :                             switch (gimple_assign_rhs_code (_a2))
    8163                 :             :                               {
    8164                 :        3518 :                               CASE_CONVERT:
    8165                 :        3518 :                                 {
    8166                 :        3518 :                                   tree _q30 = gimple_assign_rhs1 (_a2);
    8167                 :        3518 :                                   _q30 = do_valueize (valueize, _q30);
    8168                 :        3518 :                                   switch (TREE_CODE (_p1))
    8169                 :             :                                     {
    8170                 :         500 :                                     case SSA_NAME:
    8171                 :         500 :                                       if (gimple *_d3 = get_def (valueize, _p1))
    8172                 :             :                                         {
    8173                 :         498 :                                           if (gassign *_a3 = dyn_cast <gassign *> (_d3))
    8174                 :         312 :                                             switch (gimple_assign_rhs_code (_a3))
    8175                 :             :                                               {
    8176                 :          16 :                                               CASE_CONVERT:
    8177                 :          16 :                                                 {
    8178                 :          16 :                                                   tree _q60 = gimple_assign_rhs1 (_a3);
    8179                 :          16 :                                                   _q60 = do_valueize (valueize, _q60);
    8180                 :          16 :                                                   if ((_q60 == _q30 && ! TREE_SIDE_EFFECTS (_q60)) || (operand_equal_p (_q60, _q30, 0) && types_match (_q60, _q30)))
    8181                 :             :                                                     {
    8182                 :           0 :                                                       {
    8183                 :           0 :                                                         tree captures[4] ATTRIBUTE_UNUSED = { _p0, _p0, _q30, _q21 };
    8184                 :           0 :                                                         if (gimple_simplify_214 (res_op, seq, valueize, type, captures, EQ_EXPR))
    8185                 :           0 :                                                           return true;
    8186                 :             :                                                       }
    8187                 :             :                                                     }
    8188                 :             :                                                   break;
    8189                 :             :                                                 }
    8190                 :             :                                               default:;
    8191                 :             :                                               }
    8192                 :             :                                         }
    8193                 :             :                                       break;
    8194                 :        3518 :                                     default:;
    8195                 :             :                                     }
    8196                 :        3518 :                                   if ((_p1 == _q30 && ! TREE_SIDE_EFFECTS (_p1)) || (operand_equal_p (_p1, _q30, 0) && types_match (_p1, _q30)))
    8197                 :             :                                     {
    8198                 :           0 :                                       {
    8199                 :           0 :                                         tree captures[4] ATTRIBUTE_UNUSED = { _p0, _p0, _q30, _q21 };
    8200                 :           0 :                                         if (gimple_simplify_214 (res_op, seq, valueize, type, captures, EQ_EXPR))
    8201                 :           0 :                                           return true;
    8202                 :             :                                       }
    8203                 :             :                                     }
    8204                 :             :                                   break;
    8205                 :             :                                 }
    8206                 :             :                               default:;
    8207                 :             :                               }
    8208                 :             :                         }
    8209                 :             :                       break;
    8210                 :       76684 :                     default:;
    8211                 :             :                     }
    8212                 :       76684 :                   switch (TREE_CODE (_p1))
    8213                 :             :                     {
    8214                 :       49919 :                     case SSA_NAME:
    8215                 :       49919 :                       if (gimple *_d2 = get_def (valueize, _p1))
    8216                 :             :                         {
    8217                 :       48605 :                           if (gassign *_a2 = dyn_cast <gassign *> (_d2))
    8218                 :       63662 :                             switch (gimple_assign_rhs_code (_a2))
    8219                 :             :                               {
    8220                 :         150 :                               CASE_CONVERT:
    8221                 :         150 :                                 {
    8222                 :         150 :                                   tree _q50 = gimple_assign_rhs1 (_a2);
    8223                 :         150 :                                   _q50 = do_valueize (valueize, _q50);
    8224                 :         150 :                                   if ((_q50 == _q20 && ! TREE_SIDE_EFFECTS (_q50)) || (operand_equal_p (_q50, _q20, 0) && types_match (_q50, _q20)))
    8225                 :             :                                     {
    8226                 :           0 :                                       {
    8227                 :           0 :                                         tree captures[4] ATTRIBUTE_UNUSED = { _p0, _p0, _q20, _q21 };
    8228                 :           0 :                                         if (gimple_simplify_214 (res_op, seq, valueize, type, captures, EQ_EXPR))
    8229                 :           0 :                                           return true;
    8230                 :             :                                       }
    8231                 :             :                                     }
    8232                 :             :                                   break;
    8233                 :             :                                 }
    8234                 :             :                               default:;
    8235                 :             :                               }
    8236                 :             :                         }
    8237                 :             :                       break;
    8238                 :       76684 :                     default:;
    8239                 :             :                     }
    8240                 :       76684 :                   if ((_p1 == _q20 && ! TREE_SIDE_EFFECTS (_p1)) || (operand_equal_p (_p1, _q20, 0) && types_match (_p1, _q20)))
    8241                 :             :                     {
    8242                 :        4850 :                       {
    8243                 :        4850 :                         tree captures[4] ATTRIBUTE_UNUSED = { _p0, _p0, _q20, _q21 };
    8244                 :        4850 :                         if (gimple_simplify_214 (res_op, seq, valueize, type, captures, EQ_EXPR))
    8245                 :         694 :                           return true;
    8246                 :             :                       }
    8247                 :             :                     }
    8248                 :             :                   break;
    8249                 :             :                 }
    8250                 :      174989 :               case MINUS_EXPR:
    8251                 :      174989 :                 {
    8252                 :      174989 :                   tree _q20 = gimple_assign_rhs1 (_a1);
    8253                 :      174989 :                   _q20 = do_valueize (valueize, _q20);
    8254                 :      174989 :                   tree _q21 = gimple_assign_rhs2 (_a1);
    8255                 :      174989 :                   _q21 = do_valueize (valueize, _q21);
    8256                 :      174989 :                   switch (TREE_CODE (_p1))
    8257                 :             :                     {
    8258                 :       33743 :                     case SSA_NAME:
    8259                 :       33743 :                       if (gimple *_d2 = get_def (valueize, _p1))
    8260                 :             :                         {
    8261                 :       32641 :                           if (gassign *_a2 = dyn_cast <gassign *> (_d2))
    8262                 :       36638 :                             switch (gimple_assign_rhs_code (_a2))
    8263                 :             :                               {
    8264                 :        1045 :                               case MINUS_EXPR:
    8265                 :        1045 :                                 {
    8266                 :        1045 :                                   tree _q50 = gimple_assign_rhs1 (_a2);
    8267                 :        1045 :                                   _q50 = do_valueize (valueize, _q50);
    8268                 :        1045 :                                   tree _q51 = gimple_assign_rhs2 (_a2);
    8269                 :        1045 :                                   _q51 = do_valueize (valueize, _q51);
    8270                 :        1045 :                                   if ((_q51 == _q21 && ! TREE_SIDE_EFFECTS (_q51)) || (operand_equal_p (_q51, _q21, 0) && types_match (_q51, _q21)))
    8271                 :             :                                     {
    8272                 :         283 :                                       {
    8273                 :         283 :                                         tree captures[3] ATTRIBUTE_UNUSED = { _q20, _q21, _q50 };
    8274                 :         566 :                                         if (ANY_INTEGRAL_TYPE_P (TREE_TYPE (captures[0]))
    8275                 :         524 :  && (TYPE_OVERFLOW_UNDEFINED (TREE_TYPE (captures[0]))
    8276                 :         222 :  || TYPE_OVERFLOW_WRAPS (TREE_TYPE (captures[0])))
    8277                 :             : )
    8278                 :             :                                           {
    8279                 :         241 :                                             gimple_seq *lseq = seq;
    8280                 :         241 :                                             if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail1776;
    8281                 :         241 :                                             {
    8282                 :         241 :                                               res_op->set_op (EQ_EXPR, type, 2);
    8283                 :         241 :                                               res_op->ops[0] = captures[0];
    8284                 :         241 :                                               res_op->ops[1] = captures[2];
    8285                 :         241 :                                               res_op->resimplify (lseq, valueize);
    8286                 :         241 :                                               if (UNLIKELY (debug_dump)) gimple_dump_logs ("match.pd", 955, __FILE__, __LINE__, true);
    8287                 :         241 :                                               return true;
    8288                 :             :                                             }
    8289                 :           0 : next_after_fail1776:;
    8290                 :             :                                           }
    8291                 :             :                                       }
    8292                 :             :                                     }
    8293                 :         804 :                                   if ((_q50 == _q20 && ! TREE_SIDE_EFFECTS (_q50)) || (operand_equal_p (_q50, _q20, 0) && types_match (_q50, _q20)))
    8294                 :             :                                     {
    8295                 :          42 :                                       {
    8296                 :          42 :                                         tree captures[3] ATTRIBUTE_UNUSED = { _q20, _q21, _q51 };
    8297                 :          84 :                                         if (ANY_INTEGRAL_TYPE_P (TREE_TYPE (captures[1]))
    8298                 :          42 :  && (TYPE_OVERFLOW_UNDEFINED (TREE_TYPE (captures[1]))
    8299                 :           0 :  || TYPE_OVERFLOW_WRAPS (TREE_TYPE (captures[1])))
    8300                 :             : )
    8301                 :             :                                           {
    8302                 :           0 :                                             gimple_seq *lseq = seq;
    8303                 :           0 :                                             if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail1777;
    8304                 :           0 :                                             {
    8305                 :           0 :                                               res_op->set_op (EQ_EXPR, type, 2);
    8306                 :           0 :                                               res_op->ops[0] = captures[2];
    8307                 :           0 :                                               res_op->ops[1] = captures[1];
    8308                 :           0 :                                               res_op->resimplify (lseq, valueize);
    8309                 :           0 :                                               if (UNLIKELY (debug_dump)) gimple_dump_logs ("match.pd", 956, __FILE__, __LINE__, true);
    8310                 :           0 :                                               return true;
    8311                 :             :                                             }
    8312                 :           0 : next_after_fail1777:;
    8313                 :             :                                           }
    8314                 :             :                                       }
    8315                 :             :                                     }
    8316                 :             :                                   break;
    8317                 :             :                                 }
    8318                 :             :                               default:;
    8319                 :             :                               }
    8320                 :             :                         }
    8321                 :             :                       break;
    8322                 :      174748 :                     default:;
    8323                 :             :                     }
    8324                 :      174748 :                   if ((_p1 == _q20 && ! TREE_SIDE_EFFECTS (_p1)) || (operand_equal_p (_p1, _q20, 0) && types_match (_p1, _q20)))
    8325                 :             :                     {
    8326                 :         379 :                       {
    8327                 :         379 :                         tree captures[3] ATTRIBUTE_UNUSED = { _q20, _p0, _q21 };
    8328                 :         379 :                         if (gimple_simplify_215 (res_op, seq, valueize, type, captures, EQ_EXPR))
    8329                 :          11 :                           return true;
    8330                 :             :                       }
    8331                 :             :                     }
    8332                 :             :                   break;
    8333                 :             :                 }
    8334                 :       69250 :               case POINTER_DIFF_EXPR:
    8335                 :       69250 :                 {
    8336                 :       69250 :                   tree _q20 = gimple_assign_rhs1 (_a1);
    8337                 :       69250 :                   _q20 = do_valueize (valueize, _q20);
    8338                 :       69250 :                   tree _q21 = gimple_assign_rhs2 (_a1);
    8339                 :       69250 :                   _q21 = do_valueize (valueize, _q21);
    8340                 :       69250 :                   switch (TREE_CODE (_p1))
    8341                 :             :                     {
    8342                 :       13787 :                     case SSA_NAME:
    8343                 :       13787 :                       if (gimple *_d2 = get_def (valueize, _p1))
    8344                 :             :                         {
    8345                 :       13760 :                           if (gassign *_a2 = dyn_cast <gassign *> (_d2))
    8346                 :       13459 :                             switch (gimple_assign_rhs_code (_a2))
    8347                 :             :                               {
    8348                 :        1884 :                               case POINTER_DIFF_EXPR:
    8349                 :        1884 :                                 {
    8350                 :        1884 :                                   tree _q50 = gimple_assign_rhs1 (_a2);
    8351                 :        1884 :                                   _q50 = do_valueize (valueize, _q50);
    8352                 :        1884 :                                   tree _q51 = gimple_assign_rhs2 (_a2);
    8353                 :        1884 :                                   _q51 = do_valueize (valueize, _q51);
    8354                 :        1884 :                                   if ((_q51 == _q21 && ! TREE_SIDE_EFFECTS (_q51)) || (operand_equal_p (_q51, _q21, 0) && types_match (_q51, _q21)))
    8355                 :             :                                     {
    8356                 :         121 :                                       {
    8357                 :         121 :                                         tree captures[4] ATTRIBUTE_UNUSED = { _p0, _q20, _q21, _q50 };
    8358                 :         121 :                                         if (gimple_simplify_216 (res_op, seq, valueize, type, captures, EQ_EXPR))
    8359                 :         121 :                                           return true;
    8360                 :             :                                       }
    8361                 :             :                                     }
    8362                 :        1763 :                                   if ((_q50 == _q20 && ! TREE_SIDE_EFFECTS (_q50)) || (operand_equal_p (_q50, _q20, 0) && types_match (_q50, _q20)))
    8363                 :             :                                     {
    8364                 :           0 :                                       {
    8365                 :           0 :                                         tree captures[4] ATTRIBUTE_UNUSED = { _p0, _q20, _q21, _q51 };
    8366                 :           0 :                                         if (gimple_simplify_217 (res_op, seq, valueize, type, captures, EQ_EXPR))
    8367                 :           0 :                                           return true;
    8368                 :             :                                       }
    8369                 :             :                                     }
    8370                 :             :                                   break;
    8371                 :             :                                 }
    8372                 :             :                               default:;
    8373                 :             :                               }
    8374                 :             :                         }
    8375                 :             :                       break;
    8376                 :             :                     default:;
    8377                 :             :                     }
    8378                 :             :                   break;
    8379                 :             :                 }
    8380                 :             :               default:;
    8381                 :             :               }
    8382                 :             :         }
    8383                 :             :       break;
    8384                 :    69645400 :     default:;
    8385                 :             :     }
    8386                 :    69645400 : {
    8387                 :    69645400 :   tree _p0_pops[1];
    8388                 :    69645400 :   if (gimple_logical_inverted_value (_p0, _p0_pops, valueize))
    8389                 :             :     {
    8390                 :        2409 :       tree _q20 = _p0_pops[0];
    8391                 :        2409 :       if ((_p1 == _q20 && ! TREE_SIDE_EFFECTS (_p1)) || (operand_equal_p (_p1, _q20, 0) && types_match (_p1, _q20)))
    8392                 :             :         {
    8393                 :           0 :           if (gimple_truth_valued_p (_p1, valueize))
    8394                 :             :             {
    8395                 :           0 :               {
    8396                 :           0 :                 tree captures[1] ATTRIBUTE_UNUSED = { _q20 };
    8397                 :           0 :                 if (gimple_simplify_205 (res_op, seq, valueize, type, captures, EQ_EXPR))
    8398                 :           0 :                   return true;
    8399                 :             :               }
    8400                 :             :             }
    8401                 :             :         }
    8402                 :             : }
    8403                 :             : }
    8404                 :    69645400 : {
    8405                 :    69645400 :   tree _p0_pops[1];
    8406                 :    69645400 :   if (gimple_nop_convert (_p0, _p0_pops, valueize))
    8407                 :             :     {
    8408                 :      390884 :       tree _q20 = _p0_pops[0];
    8409                 :      390884 :       switch (TREE_CODE (_q20))
    8410                 :             :         {
    8411                 :      378351 :         case SSA_NAME:
    8412                 :      378351 :           if (gimple *_d1 = get_def (valueize, _q20))
    8413                 :             :             {
    8414                 :      374695 :               if (gassign *_a1 = dyn_cast <gassign *> (_d1))
    8415                 :      393522 :                 switch (gimple_assign_rhs_code (_a1))
    8416                 :             :                   {
    8417                 :       30125 :                   case PLUS_EXPR:
    8418                 :       30125 :                     {
    8419                 :       30125 :                       tree _q30 = gimple_assign_rhs1 (_a1);
    8420                 :       30125 :                       _q30 = do_valueize (valueize, _q30);
    8421                 :       30125 :                       tree _q31 = gimple_assign_rhs2 (_a1);
    8422                 :       30125 :                       _q31 = do_valueize (valueize, _q31);
    8423                 :       30125 :                       if (tree_swap_operands_p (_q30, _q31))
    8424                 :         199 :                         std::swap (_q30, _q31);
    8425                 :       30125 :                       switch (TREE_CODE (_q31))
    8426                 :             :                         {
    8427                 :        2212 :                         case SSA_NAME:
    8428                 :        2212 :                           if (gimple *_d2 = get_def (valueize, _q31))
    8429                 :             :                             {
    8430                 :        2158 :                               if (gassign *_a2 = dyn_cast <gassign *> (_d2))
    8431                 :        2131 :                                 switch (gimple_assign_rhs_code (_a2))
    8432                 :             :                                   {
    8433                 :        1229 :                                   CASE_CONVERT:
    8434                 :        1229 :                                     {
    8435                 :        1229 :                                       tree _q50 = gimple_assign_rhs1 (_a2);
    8436                 :        1229 :                                       _q50 = do_valueize (valueize, _q50);
    8437                 :        1229 :                                       switch (TREE_CODE (_p1))
    8438                 :             :                                         {
    8439                 :         404 :                                         case SSA_NAME:
    8440                 :         404 :                                           if (gimple *_d3 = get_def (valueize, _p1))
    8441                 :             :                                             {
    8442                 :         367 :                                               if (gassign *_a3 = dyn_cast <gassign *> (_d3))
    8443                 :         438 :                                                 switch (gimple_assign_rhs_code (_a3))
    8444                 :             :                                                   {
    8445                 :         173 :                                                   CASE_CONVERT:
    8446                 :         173 :                                                     {
    8447                 :         173 :                                                       tree _q70 = gimple_assign_rhs1 (_a3);
    8448                 :         173 :                                                       _q70 = do_valueize (valueize, _q70);
    8449                 :         173 :                                                       if ((_q70 == _q50 && ! TREE_SIDE_EFFECTS (_q70)) || (operand_equal_p (_q70, _q50, 0) && types_match (_q70, _q50)))
    8450                 :             :                                                         {
    8451                 :           0 :                                                           {
    8452                 :           0 :                                                             tree captures[4] ATTRIBUTE_UNUSED = { _p0, _q20, _q30, _q50 };
    8453                 :           0 :                                                             if (gimple_simplify_210 (res_op, seq, valueize, type, captures, EQ_EXPR))
    8454                 :           0 :                                                               return true;
    8455                 :             :                                                           }
    8456                 :             :                                                         }
    8457                 :             :                                                       break;
    8458                 :             :                                                     }
    8459                 :             :                                                   default:;
    8460                 :             :                                                   }
    8461                 :             :                                             }
    8462                 :             :                                           break;
    8463                 :             :                                         default:;
    8464                 :             :                                         }
    8465                 :             :                                       break;
    8466                 :             :                                     }
    8467                 :             :                                   default:;
    8468                 :             :                                   }
    8469                 :             :                             }
    8470                 :             :                           break;
    8471                 :       30125 :                         default:;
    8472                 :             :                         }
    8473                 :       30125 :                       switch (TREE_CODE (_q30))
    8474                 :             :                         {
    8475                 :       30125 :                         case SSA_NAME:
    8476                 :       30125 :                           if (gimple *_d2 = get_def (valueize, _q30))
    8477                 :             :                             {
    8478                 :       26649 :                               if (gassign *_a2 = dyn_cast <gassign *> (_d2))
    8479                 :       26063 :                                 switch (gimple_assign_rhs_code (_a2))
    8480                 :             :                                   {
    8481                 :       22455 :                                   CASE_CONVERT:
    8482                 :       22455 :                                     {
    8483                 :       22455 :                                       tree _q40 = gimple_assign_rhs1 (_a2);
    8484                 :       22455 :                                       _q40 = do_valueize (valueize, _q40);
    8485                 :       22455 :                                       switch (TREE_CODE (_p1))
    8486                 :             :                                         {
    8487                 :       16154 :                                         case SSA_NAME:
    8488                 :       16154 :                                           if (gimple *_d3 = get_def (valueize, _p1))
    8489                 :             :                                             {
    8490                 :       15273 :                                               if (gassign *_a3 = dyn_cast <gassign *> (_d3))
    8491                 :       29105 :                                                 switch (gimple_assign_rhs_code (_a3))
    8492                 :             :                                                   {
    8493                 :          75 :                                                   CASE_CONVERT:
    8494                 :          75 :                                                     {
    8495                 :          75 :                                                       tree _q70 = gimple_assign_rhs1 (_a3);
    8496                 :          75 :                                                       _q70 = do_valueize (valueize, _q70);
    8497                 :          75 :                                                       if ((_q70 == _q40 && ! TREE_SIDE_EFFECTS (_q70)) || (operand_equal_p (_q70, _q40, 0) && types_match (_q70, _q40)))
    8498                 :             :                                                         {
    8499                 :           0 :                                                           {
    8500                 :           0 :                                                             tree captures[4] ATTRIBUTE_UNUSED = { _p0, _q20, _q31, _q40 };
    8501                 :           0 :                                                             if (gimple_simplify_210 (res_op, seq, valueize, type, captures, EQ_EXPR))
    8502                 :           0 :                                                               return true;
    8503                 :             :                                                           }
    8504                 :             :                                                         }
    8505                 :             :                                                       break;
    8506                 :             :                                                     }
    8507                 :             :                                                   default:;
    8508                 :             :                                                   }
    8509                 :             :                                             }
    8510                 :             :                                           break;
    8511                 :       22455 :                                         default:;
    8512                 :             :                                         }
    8513                 :       22455 :                                       if ((_p1 == _q40 && ! TREE_SIDE_EFFECTS (_p1)) || (operand_equal_p (_p1, _q40, 0) && types_match (_p1, _q40)))
    8514                 :             :                                         {
    8515                 :          11 :                                           {
    8516                 :          11 :                                             tree captures[4] ATTRIBUTE_UNUSED = { _p0, _q20, _q31, _q40 };
    8517                 :          11 :                                             if (gimple_simplify_210 (res_op, seq, valueize, type, captures, EQ_EXPR))
    8518                 :           4 :                                               return true;
    8519                 :             :                                           }
    8520                 :             :                                         }
    8521                 :             :                                       break;
    8522                 :             :                                     }
    8523                 :             :                                   default:;
    8524                 :             :                                   }
    8525                 :             :                             }
    8526                 :             :                           break;
    8527                 :       30121 :                         default:;
    8528                 :             :                         }
    8529                 :       30121 :                       switch (TREE_CODE (_q31))
    8530                 :             :                         {
    8531                 :        2212 :                         case SSA_NAME:
    8532                 :        2212 :                           if (gimple *_d2 = get_def (valueize, _q31))
    8533                 :             :                             {
    8534                 :        2158 :                               if (gassign *_a2 = dyn_cast <gassign *> (_d2))
    8535                 :        2131 :                                 switch (gimple_assign_rhs_code (_a2))
    8536                 :             :                                   {
    8537                 :        1229 :                                   CASE_CONVERT:
    8538                 :        1229 :                                     {
    8539                 :        1229 :                                       tree _q50 = gimple_assign_rhs1 (_a2);
    8540                 :        1229 :                                       _q50 = do_valueize (valueize, _q50);
    8541                 :        1229 :                                       if ((_p1 == _q50 && ! TREE_SIDE_EFFECTS (_p1)) || (operand_equal_p (_p1, _q50, 0) && types_match (_p1, _q50)))
    8542                 :             :                                         {
    8543                 :          19 :                                           {
    8544                 :          19 :                                             tree captures[4] ATTRIBUTE_UNUSED = { _p0, _q20, _q30, _q50 };
    8545                 :          19 :                                             if (gimple_simplify_210 (res_op, seq, valueize, type, captures, EQ_EXPR))
    8546                 :           6 :                                               return true;
    8547                 :             :                                           }
    8548                 :             :                                         }
    8549                 :             :                                       break;
    8550                 :             :                                     }
    8551                 :             :                                   default:;
    8552                 :             :                                   }
    8553                 :             :                             }
    8554                 :             :                           break;
    8555                 :       30115 :                         default:;
    8556                 :             :                         }
    8557                 :       30115 :                       switch (TREE_CODE (_p1))
    8558                 :             :                         {
    8559                 :       20728 :                         case SSA_NAME:
    8560                 :       20728 :                           if (gimple *_d2 = get_def (valueize, _p1))
    8561                 :             :                             {
    8562                 :       16685 :                               if (gassign *_a2 = dyn_cast <gassign *> (_d2))
    8563                 :       30693 :                                 switch (gimple_assign_rhs_code (_a2))
    8564                 :             :                                   {
    8565                 :         337 :                                   CASE_CONVERT:
    8566                 :         337 :                                     {
    8567                 :         337 :                                       tree _q60 = gimple_assign_rhs1 (_a2);
    8568                 :         337 :                                       _q60 = do_valueize (valueize, _q60);
    8569                 :         337 :                                       if ((_q60 == _q31 && ! TREE_SIDE_EFFECTS (_q60)) || (operand_equal_p (_q60, _q31, 0) && types_match (_q60, _q31)))
    8570                 :             :                                         {
    8571                 :           4 :                                           {
    8572                 :           4 :                                             tree captures[4] ATTRIBUTE_UNUSED = { _p0, _q20, _q30, _q31 };
    8573                 :           4 :                                             if (gimple_simplify_210 (res_op, seq, valueize, type, captures, EQ_EXPR))
    8574                 :           0 :                                               return true;
    8575                 :             :                                           }
    8576                 :             :                                         }
    8577                 :         337 :                                       if ((_q60 == _q30 && ! TREE_SIDE_EFFECTS (_q60)) || (operand_equal_p (_q60, _q30, 0) && types_match (_q60, _q30)))
    8578                 :             :                                         {
    8579                 :           0 :                                           {
    8580                 :           0 :                                             tree captures[4] ATTRIBUTE_UNUSED = { _p0, _q20, _q31, _q30 };
    8581                 :           0 :                                             if (gimple_simplify_210 (res_op, seq, valueize, type, captures, EQ_EXPR))
    8582                 :           0 :                                               return true;
    8583                 :             :                                           }
    8584                 :             :                                         }
    8585                 :             :                                       break;
    8586                 :             :                                     }
    8587                 :             :                                   default:;
    8588                 :             :                                   }
    8589                 :             :                             }
    8590                 :             :                           break;
    8591                 :       30115 :                         default:;
    8592                 :             :                         }
    8593                 :       30115 :                       if ((_p1 == _q31 && ! TREE_SIDE_EFFECTS (_p1)) || (operand_equal_p (_p1, _q31, 0) && types_match (_p1, _q31)))
    8594                 :             :                         {
    8595                 :           0 :                           {
    8596                 :           0 :                             tree captures[4] ATTRIBUTE_UNUSED = { _p0, _q20, _q30, _q31 };
    8597                 :           0 :                             if (gimple_simplify_210 (res_op, seq, valueize, type, captures, EQ_EXPR))
    8598                 :           0 :                               return true;
    8599                 :             :                           }
    8600                 :             :                         }
    8601                 :       30115 :                       if ((_p1 == _q30 && ! TREE_SIDE_EFFECTS (_p1)) || (operand_equal_p (_p1, _q30, 0) && types_match (_p1, _q30)))
    8602                 :             :                         {
    8603                 :           0 :                           {
    8604                 :           0 :                             tree captures[4] ATTRIBUTE_UNUSED = { _p0, _q20, _q31, _q30 };
    8605                 :           0 :                             if (gimple_simplify_210 (res_op, seq, valueize, type, captures, EQ_EXPR))
    8606                 :           0 :                               return true;
    8607                 :             :                           }
    8608                 :             :                         }
    8609                 :    69645388 :                       break;
    8610                 :             :                     }
    8611                 :          28 :                   case POINTER_PLUS_EXPR:
    8612                 :          28 :                     {
    8613                 :          28 :                       tree _q30 = gimple_assign_rhs1 (_a1);
    8614                 :          28 :                       _q30 = do_valueize (valueize, _q30);
    8615                 :          28 :                       tree _q31 = gimple_assign_rhs2 (_a1);
    8616                 :          28 :                       _q31 = do_valueize (valueize, _q31);
    8617                 :          28 :                       switch (TREE_CODE (_q30))
    8618                 :             :                         {
    8619                 :          28 :                         case SSA_NAME:
    8620                 :          28 :                           if (gimple *_d2 = get_def (valueize, _q30))
    8621                 :             :                             {
    8622                 :          28 :                               if (gassign *_a2 = dyn_cast <gassign *> (_d2))
    8623                 :           9 :                                 switch (gimple_assign_rhs_code (_a2))
    8624                 :             :                                   {
    8625                 :           3 :                                   CASE_CONVERT:
    8626                 :           3 :                                     {
    8627                 :           3 :                                       tree _q40 = gimple_assign_rhs1 (_a2);
    8628                 :           3 :                                       _q40 = do_valueize (valueize, _q40);
    8629                 :           3 :                                       switch (TREE_CODE (_p1))
    8630                 :             :                                         {
    8631                 :           0 :                                         case SSA_NAME:
    8632                 :           0 :                                           if (gimple *_d3 = get_def (valueize, _p1))
    8633                 :             :                                             {
    8634                 :           0 :                                               if (gassign *_a3 = dyn_cast <gassign *> (_d3))
    8635                 :           0 :                                                 switch (gimple_assign_rhs_code (_a3))
    8636                 :             :                                                   {
    8637                 :           0 :                                                   CASE_CONVERT:
    8638                 :           0 :                                                     {
    8639                 :           0 :                                                       tree _q70 = gimple_assign_rhs1 (_a3);
    8640                 :           0 :                                                       _q70 = do_valueize (valueize, _q70);
    8641                 :           0 :                                                       if ((_q70 == _q40 && ! TREE_SIDE_EFFECTS (_q70)) || (operand_equal_p (_q70, _q40, 0) && types_match (_q70, _q40)))
    8642                 :             :                                                         {
    8643                 :           0 :                                                           {
    8644                 :           0 :                                                             tree captures[4] ATTRIBUTE_UNUSED = { _p0, _q20, _q40, _q31 };
    8645                 :           0 :                                                             if (gimple_simplify_218 (res_op, seq, valueize, type, captures, EQ_EXPR))
    8646                 :           0 :                                                               return true;
    8647                 :             :                                                           }
    8648                 :             :                                                         }
    8649                 :             :                                                       break;
    8650                 :             :                                                     }
    8651                 :             :                                                   default:;
    8652                 :             :                                                   }
    8653                 :             :                                             }
    8654                 :             :                                           break;
    8655                 :           3 :                                         default:;
    8656                 :             :                                         }
    8657                 :           3 :                                       if ((_p1 == _q40 && ! TREE_SIDE_EFFECTS (_p1)) || (operand_equal_p (_p1, _q40, 0) && types_match (_p1, _q40)))
    8658                 :             :                                         {
    8659                 :           0 :                                           {
    8660                 :           0 :                                             tree captures[4] ATTRIBUTE_UNUSED = { _p0, _q20, _q40, _q31 };
    8661                 :           0 :                                             if (gimple_simplify_218 (res_op, seq, valueize, type, captures, EQ_EXPR))
    8662                 :           0 :                                               return true;
    8663                 :             :                                           }
    8664                 :             :                                         }
    8665                 :             :                                       break;
    8666                 :             :                                     }
    8667                 :             :                                   default:;
    8668                 :             :                                   }
    8669                 :             :                             }
    8670                 :             :                           break;
    8671                 :          28 :                         default:;
    8672                 :             :                         }
    8673                 :          28 :                       switch (TREE_CODE (_p1))
    8674                 :             :                         {
    8675                 :          20 :                         case SSA_NAME:
    8676                 :          20 :                           if (gimple *_d2 = get_def (valueize, _p1))
    8677                 :             :                             {
    8678                 :          20 :                               if (gassign *_a2 = dyn_cast <gassign *> (_d2))
    8679                 :          20 :                                 switch (gimple_assign_rhs_code (_a2))
    8680                 :             :                                   {
    8681                 :          12 :                                   CASE_CONVERT:
    8682                 :          12 :                                     {
    8683                 :          12 :                                       tree _q60 = gimple_assign_rhs1 (_a2);
    8684                 :          12 :                                       _q60 = do_valueize (valueize, _q60);
    8685                 :          12 :                                       if ((_q60 == _q30 && ! TREE_SIDE_EFFECTS (_q60)) || (operand_equal_p (_q60, _q30, 0) && types_match (_q60, _q30)))
    8686                 :             :                                         {
    8687                 :           3 :                                           {
    8688                 :           3 :                                             tree captures[4] ATTRIBUTE_UNUSED = { _p0, _q20, _q30, _q31 };
    8689                 :           3 :                                             if (gimple_simplify_218 (res_op, seq, valueize, type, captures, EQ_EXPR))
    8690                 :           2 :                                               return true;
    8691                 :             :                                           }
    8692                 :             :                                         }
    8693                 :             :                                       break;
    8694                 :             :                                     }
    8695                 :             :                                   default:;
    8696                 :             :                                   }
    8697                 :             :                             }
    8698                 :             :                           break;
    8699                 :          26 :                         default:;
    8700                 :             :                         }
    8701                 :          26 :                       if ((_p1 == _q30 && ! TREE_SIDE_EFFECTS (_p1)) || (operand_equal_p (_p1, _q30, 0) && types_match (_p1, _q30)))
    8702                 :             :                         {
    8703                 :           0 :                           {
    8704                 :           0 :                             tree captures[4] ATTRIBUTE_UNUSED = { _p0, _q20, _q30, _q31 };
    8705                 :           0 :                             if (gimple_simplify_218 (res_op, seq, valueize, type, captures, EQ_EXPR))
    8706                 :           0 :                               return true;
    8707                 :             :                           }
    8708                 :             :                         }
    8709                 :             :                       break;
    8710                 :             :                     }
    8711                 :             :                   default:;
    8712                 :             :                   }
    8713                 :             :             }
    8714                 :             :           break;
    8715                 :             :         default:;
    8716                 :             :         }
    8717                 :             : }
    8718                 :             : }
    8719                 :    69645388 : if (gimple_truth_valued_p (_p0, valueize))
    8720                 :             :   {
    8721                 :      257631 :     switch (TREE_CODE (_p1))
    8722                 :             :       {
    8723                 :      135200 :       case SSA_NAME:
    8724                 :      135200 :         if (gimple *_d1 = get_def (valueize, _p1))
    8725                 :             :           {
    8726                 :       62881 :             if (gassign *_a1 = dyn_cast <gassign *> (_d1))
    8727                 :       86095 :               switch (gimple_assign_rhs_code (_a1))
    8728                 :             :                 {
    8729                 :          59 :                 case BIT_NOT_EXPR:
    8730                 :          59 :                   {
    8731                 :          59 :                     tree _q30 = gimple_assign_rhs1 (_a1);
    8732                 :          59 :                     _q30 = do_valueize (valueize, _q30);
    8733                 :          59 :                     if (gimple_truth_valued_p (_q30, valueize))
    8734                 :             :                       {
    8735                 :          59 :                         {
    8736                 :          59 :                           tree captures[3] ATTRIBUTE_UNUSED = { _p1, _q30, _p0 };
    8737                 :          59 :                           if (gimple_simplify_206 (res_op, seq, valueize, type, captures))
    8738                 :          19 :                             return true;
    8739                 :             :                         }
    8740                 :             :                       }
    8741                 :             :                     break;
    8742                 :             :                   }
    8743                 :             :                 default:;
    8744                 :             :                 }
    8745                 :             :           }
    8746                 :             :         break;
    8747                 :      257612 :       default:;
    8748                 :             :       }
    8749                 :      257612 :   {
    8750                 :      257612 :     tree _p1_pops[1];
    8751                 :      257612 :     if (gimple_logical_inverted_value (_p1, _p1_pops, valueize))
    8752                 :             :       {
    8753                 :         116 :         tree _q30 = _p1_pops[0];
    8754                 :         116 :         if ((_q30 == _p0 && ! TREE_SIDE_EFFECTS (_q30)) || (operand_equal_p (_q30, _p0, 0) && types_match (_q30, _p0)))
    8755                 :             :           {
    8756                 :           0 :             {
    8757                 :           0 :               tree captures[1] ATTRIBUTE_UNUSED = { _p0 };
    8758                 :           0 :               if (gimple_simplify_205 (res_op, seq, valueize, type, captures, EQ_EXPR))
    8759                 :           0 :                 return true;
    8760                 :             :             }
    8761                 :             :           }
    8762                 :             : }
    8763                 :             :   }
    8764                 :             :   }
    8765                 :    69645369 :   switch (TREE_CODE (_p1))
    8766                 :             :     {
    8767                 :    12145008 :     case SSA_NAME:
    8768                 :    12145008 :       if (gimple *_d1 = get_def (valueize, _p1))
    8769                 :             :         {
    8770                 :     3881116 :           if (gassign *_a1 = dyn_cast <gassign *> (_d1))
    8771                 :     6060122 :             switch (gimple_assign_rhs_code (_a1))
    8772                 :             :               {
    8773                 :      152037 :               case PLUS_EXPR:
    8774                 :      152037 :                 {
    8775                 :      152037 :                   tree _q30 = gimple_assign_rhs1 (_a1);
    8776                 :      152037 :                   _q30 = do_valueize (valueize, _q30);
    8777                 :      152037 :                   tree _q31 = gimple_assign_rhs2 (_a1);
    8778                 :      152037 :                   _q31 = do_valueize (valueize, _q31);
    8779                 :      152037 :                   if (tree_swap_operands_p (_q30, _q31))
    8780                 :        2213 :                     std::swap (_q30, _q31);
    8781                 :      152037 :                   switch (TREE_CODE (_q31))
    8782                 :             :                     {
    8783                 :       22823 :                     case SSA_NAME:
    8784                 :       22823 :                       if (gimple *_d2 = get_def (valueize, _q31))
    8785                 :             :                         {
    8786                 :       21286 :                           if (gassign *_a2 = dyn_cast <gassign *> (_d2))
    8787                 :       20445 :                             switch (gimple_assign_rhs_code (_a2))
    8788                 :             :                               {
    8789                 :        3279 :                               CASE_CONVERT:
    8790                 :        3279 :                                 {
    8791                 :        3279 :                                   tree _q50 = gimple_assign_rhs1 (_a2);
    8792                 :        3279 :                                   _q50 = do_valueize (valueize, _q50);
    8793                 :        3279 :                                   if ((_q50 == _p0 && ! TREE_SIDE_EFFECTS (_q50)) || (operand_equal_p (_q50, _p0, 0) && types_match (_q50, _p0)))
    8794                 :             :                                     {
    8795                 :           0 :                                       {
    8796                 :           0 :                                         tree captures[4] ATTRIBUTE_UNUSED = { _p1, _p1, _q30, _p0 };
    8797                 :           0 :                                         if (gimple_simplify_211 (res_op, seq, valueize, type, captures, EQ_EXPR))
    8798                 :           0 :                                           return true;
    8799                 :             :                                       }
    8800                 :             :                                     }
    8801                 :             :                                   break;
    8802                 :             :                                 }
    8803                 :             :                               default:;
    8804                 :             :                               }
    8805                 :             :                         }
    8806                 :             :                       break;
    8807                 :      152037 :                     default:;
    8808                 :             :                     }
    8809                 :      152037 :                   switch (TREE_CODE (_q30))
    8810                 :             :                     {
    8811                 :      152037 :                     case SSA_NAME:
    8812                 :      152037 :                       if (gimple *_d2 = get_def (valueize, _q30))
    8813                 :             :                         {
    8814                 :      142450 :                           if (gassign *_a2 = dyn_cast <gassign *> (_d2))
    8815                 :      130898 :                             switch (gimple_assign_rhs_code (_a2))
    8816                 :             :                               {
    8817                 :       42841 :                               CASE_CONVERT:
    8818                 :       42841 :                                 {
    8819                 :       42841 :                                   tree _q40 = gimple_assign_rhs1 (_a2);
    8820                 :       42841 :                                   _q40 = do_valueize (valueize, _q40);
    8821                 :       42841 :                                   if ((_q40 == _p0 && ! TREE_SIDE_EFFECTS (_q40)) || (operand_equal_p (_q40, _p0, 0) && types_match (_q40, _p0)))
    8822                 :             :                                     {
    8823                 :           0 :                                       {
    8824                 :           0 :                                         tree captures[4] ATTRIBUTE_UNUSED = { _p1, _p1, _q31, _p0 };
    8825                 :           0 :                                         if (gimple_simplify_211 (res_op, seq, valueize, type, captures, EQ_EXPR))
    8826                 :           0 :                                           return true;
    8827                 :             :                                       }
    8828                 :             :                                     }
    8829                 :             :                                   break;
    8830                 :             :                                 }
    8831                 :             :                               default:;
    8832                 :             :                               }
    8833                 :             :                         }
    8834                 :             :                       break;
    8835                 :      152037 :                     default:;
    8836                 :             :                     }
    8837                 :      152037 :                   if ((_q31 == _p0 && ! TREE_SIDE_EFFECTS (_q31)) || (operand_equal_p (_q31, _p0, 0) && types_match (_q31, _p0)))
    8838                 :             :                     {
    8839                 :          10 :                       {
    8840                 :          10 :                         tree captures[4] ATTRIBUTE_UNUSED = { _p1, _p1, _q30, _p0 };
    8841                 :          10 :                         if (gimple_simplify_211 (res_op, seq, valueize, type, captures, EQ_EXPR))
    8842                 :          10 :                           return true;
    8843                 :             :                       }
    8844                 :             :                     }
    8845                 :      152027 :                   if ((_q30 == _p0 && ! TREE_SIDE_EFFECTS (_q30)) || (operand_equal_p (_q30, _p0, 0) && types_match (_q30, _p0)))
    8846                 :             :                     {
    8847                 :         152 :                       {
    8848                 :         152 :                         tree captures[4] ATTRIBUTE_UNUSED = { _p1, _p1, _q31, _p0 };
    8849                 :         152 :                         if (gimple_simplify_211 (res_op, seq, valueize, type, captures, EQ_EXPR))
    8850                 :          64 :                           return true;
    8851                 :             :                       }
    8852                 :             :                     }
    8853                 :    69645295 :                   break;
    8854                 :             :                 }
    8855                 :             :               default:;
    8856                 :             :               }
    8857                 :             :         }
    8858                 :             :       break;
    8859                 :    69645295 :     default:;
    8860                 :             :     }
    8861                 :    69645295 : {
    8862                 :    69645295 :   tree _p1_pops[1];
    8863                 :    69645295 :   if (gimple_nop_convert (_p1, _p1_pops, valueize))
    8864                 :             :     {
    8865                 :      119275 :       tree _q30 = _p1_pops[0];
    8866                 :      119275 :       switch (TREE_CODE (_q30))
    8867                 :             :         {
    8868                 :       98370 :         case SSA_NAME:
    8869                 :       98370 :           if (gimple *_d1 = get_def (valueize, _q30))
    8870                 :             :             {
    8871                 :       96767 :               if (gassign *_a1 = dyn_cast <gassign *> (_d1))
    8872                 :      113789 :                 switch (gimple_assign_rhs_code (_a1))
    8873                 :             :                   {
    8874                 :       39035 :                   case PLUS_EXPR:
    8875                 :       39035 :                     {
    8876                 :       39035 :                       tree _q40 = gimple_assign_rhs1 (_a1);
    8877                 :       39035 :                       _q40 = do_valueize (valueize, _q40);
    8878                 :       39035 :                       tree _q41 = gimple_assign_rhs2 (_a1);
    8879                 :       39035 :                       _q41 = do_valueize (valueize, _q41);
    8880                 :       39035 :                       if (tree_swap_operands_p (_q40, _q41))
    8881                 :          98 :                         std::swap (_q40, _q41);
    8882                 :       39035 :                       switch (TREE_CODE (_q41))
    8883                 :             :                         {
    8884                 :        1648 :                         case SSA_NAME:
    8885                 :        1648 :                           if (gimple *_d2 = get_def (valueize, _q41))
    8886                 :             :                             {
    8887                 :        1621 :                               if (gassign *_a2 = dyn_cast <gassign *> (_d2))
    8888                 :        1610 :                                 switch (gimple_assign_rhs_code (_a2))
    8889                 :             :                                   {
    8890                 :         691 :                                   CASE_CONVERT:
    8891                 :         691 :                                     {
    8892                 :         691 :                                       tree _q60 = gimple_assign_rhs1 (_a2);
    8893                 :         691 :                                       _q60 = do_valueize (valueize, _q60);
    8894                 :         691 :                                       if ((_q60 == _p0 && ! TREE_SIDE_EFFECTS (_q60)) || (operand_equal_p (_q60, _p0, 0) && types_match (_q60, _p0)))
    8895                 :             :                                         {
    8896                 :           4 :                                           {
    8897                 :           4 :                                             tree captures[4] ATTRIBUTE_UNUSED = { _p1, _q30, _q40, _p0 };
    8898                 :           4 :                                             if (gimple_simplify_210 (res_op, seq, valueize, type, captures, EQ_EXPR))
    8899                 :           1 :                                               return true;
    8900                 :             :                                           }
    8901                 :             :                                         }
    8902                 :             :                                       break;
    8903                 :             :                                     }
    8904                 :             :                                   default:;
    8905                 :             :                                   }
    8906                 :             :                             }
    8907                 :             :                           break;
    8908                 :       39034 :                         default:;
    8909                 :             :                         }
    8910                 :       39034 :                       switch (TREE_CODE (_q40))
    8911                 :             :                         {
    8912                 :       39034 :                         case SSA_NAME:
    8913                 :       39034 :                           if (gimple *_d2 = get_def (valueize, _q40))
    8914                 :             :                             {
    8915                 :       34580 :                               if (gassign *_a2 = dyn_cast <gassign *> (_d2))
    8916                 :       33556 :                                 switch (gimple_assign_rhs_code (_a2))
    8917                 :             :                                   {
    8918                 :       31113 :                                   CASE_CONVERT:
    8919                 :       31113 :                                     {
    8920                 :       31113 :                                       tree _q50 = gimple_assign_rhs1 (_a2);
    8921                 :       31113 :                                       _q50 = do_valueize (valueize, _q50);
    8922                 :       31113 :                                       if ((_q50 == _p0 && ! TREE_SIDE_EFFECTS (_q50)) || (operand_equal_p (_q50, _p0, 0) && types_match (_q50, _p0)))
    8923                 :             :                                         {
    8924                 :          16 :                                           {
    8925                 :          16 :                                             tree captures[4] ATTRIBUTE_UNUSED = { _p1, _q30, _q41, _p0 };
    8926                 :          16 :                                             if (gimple_simplify_210 (res_op, seq, valueize, type, captures, EQ_EXPR))
    8927                 :           4 :                                               return true;
    8928                 :             :                                           }
    8929                 :             :                                         }
    8930                 :             :                                       break;
    8931                 :             :                                     }
    8932                 :             :                                   default:;
    8933                 :             :                                   }
    8934                 :             :                             }
    8935                 :             :                           break;
    8936                 :       39030 :                         default:;
    8937                 :             :                         }
    8938                 :       39030 :                       if ((_q41 == _p0 && ! TREE_SIDE_EFFECTS (_q41)) || (operand_equal_p (_q41, _p0, 0) && types_match (_q41, _p0)))
    8939                 :             :                         {
    8940                 :           0 :                           {
    8941                 :           0 :                             tree captures[4] ATTRIBUTE_UNUSED = { _p1, _q30, _q40, _p0 };
    8942                 :           0 :                             if (gimple_simplify_210 (res_op, seq, valueize, type, captures, EQ_EXPR))
    8943                 :           0 :                               return true;
    8944                 :             :                           }
    8945                 :             :                         }
    8946                 :       39030 :                       if ((_q40 == _p0 && ! TREE_SIDE_EFFECTS (_q40)) || (operand_equal_p (_q40, _p0, 0) && types_match (_q40, _p0)))
    8947                 :             :                         {
    8948                 :           0 :                           {
    8949                 :           0 :                             tree captures[4] ATTRIBUTE_UNUSED = { _p1, _q30, _q41, _p0 };
    8950                 :           0 :                             if (gimple_simplify_210 (res_op, seq, valueize, type, captures, EQ_EXPR))
    8951                 :           0 :                               return true;
    8952                 :             :                           }
    8953                 :             :                         }
    8954                 :    69645290 :                       break;
    8955                 :             :                     }
    8956                 :             :                   default:;
    8957                 :             :                   }
    8958                 :             :             }
    8959                 :             :           break;
    8960                 :             :         default:;
    8961                 :             :         }
    8962                 :             : }
    8963                 :             : }
    8964                 :    69645290 :   switch (TREE_CODE (_p0))
    8965                 :             :     {
    8966                 :    66444635 :     case SSA_NAME:
    8967                 :    66444635 :       if (gimple *_d1 = get_def (valueize, _p0))
    8968                 :             :         {
    8969                 :    22641927 :           if (gassign *_a1 = dyn_cast <gassign *> (_d1))
    8970                 :    26797658 :             switch (gimple_assign_rhs_code (_a1))
    8971                 :             :               {
    8972                 :      644641 :               CASE_CONVERT:
    8973                 :      644641 :                 {
    8974                 :      644641 :                   tree _q20 = gimple_assign_rhs1 (_a1);
    8975                 :      644641 :                   _q20 = do_valueize (valueize, _q20);
    8976                 :      644641 :                   switch (TREE_CODE (_p1))
    8977                 :             :                     {
    8978                 :      153603 :                     case SSA_NAME:
    8979                 :      153603 :                       if (gimple *_d2 = get_def (valueize, _p1))
    8980                 :             :                         {
    8981                 :      144321 :                           if (gassign *_a2 = dyn_cast <gassign *> (_d2))
    8982                 :      165974 :                             switch (gimple_assign_rhs_code (_a2))
    8983                 :             :                               {
    8984                 :         200 :                               case POINTER_PLUS_EXPR:
    8985                 :         200 :                                 {
    8986                 :         200 :                                   tree _q40 = gimple_assign_rhs1 (_a2);
    8987                 :         200 :                                   _q40 = do_valueize (valueize, _q40);
    8988                 :         200 :                                   tree _q41 = gimple_assign_rhs2 (_a2);
    8989                 :         200 :                                   _q41 = do_valueize (valueize, _q41);
    8990                 :         200 :                                   switch (TREE_CODE (_q40))
    8991                 :             :                                     {
    8992                 :         200 :                                     case SSA_NAME:
    8993                 :         200 :                                       if (gimple *_d3 = get_def (valueize, _q40))
    8994                 :             :                                         {
    8995                 :         179 :                                           if (gassign *_a3 = dyn_cast <gassign *> (_d3))
    8996                 :          61 :                                             switch (gimple_assign_rhs_code (_a3))
    8997                 :             :                                               {
    8998                 :          45 :                                               CASE_CONVERT:
    8999                 :          45 :                                                 {
    9000                 :          45 :                                                   tree _q50 = gimple_assign_rhs1 (_a3);
    9001                 :          45 :                                                   _q50 = do_valueize (valueize, _q50);
    9002                 :          45 :                                                   if ((_q50 == _q20 && ! TREE_SIDE_EFFECTS (_q50)) || (operand_equal_p (_q50, _q20, 0) && types_match (_q50, _q20)))
    9003                 :             :                                                     {
    9004                 :           0 :                                                       {
    9005                 :           0 :                                                         tree captures[4] ATTRIBUTE_UNUSED = { _p1, _p1, _q20, _q41 };
    9006                 :           0 :                                                         if (gimple_simplify_214 (res_op, seq, valueize, type, captures, EQ_EXPR))
    9007                 :           0 :                                                           return true;
    9008                 :             :                                                       }
    9009                 :             :                                                     }
    9010                 :             :                                                   break;
    9011                 :             :                                                 }
    9012                 :             :                                               default:;
    9013                 :             :                                               }
    9014                 :             :                                         }
    9015                 :             :                                       break;
    9016                 :         200 :                                     default:;
    9017                 :             :                                     }
    9018                 :         200 :                                   if ((_q40 == _q20 && ! TREE_SIDE_EFFECTS (_q40)) || (operand_equal_p (_q40, _q20, 0) && types_match (_q40, _q20)))
    9019                 :             :                                     {
    9020                 :           0 :                                       {
    9021                 :           0 :                                         tree captures[4] ATTRIBUTE_UNUSED = { _p1, _p1, _q20, _q41 };
    9022                 :           0 :                                         if (gimple_simplify_214 (res_op, seq, valueize, type, captures, EQ_EXPR))
    9023                 :           0 :                                           return true;
    9024                 :             :                                       }
    9025                 :             :                                     }
    9026                 :             :                                   break;
    9027                 :             :                                 }
    9028                 :             :                               default:;
    9029                 :             :                               }
    9030                 :             :                         }
    9031                 :             :                       break;
    9032                 :      644641 :                     default:;
    9033                 :             :                     }
    9034                 :      644641 :                 {
    9035                 :      644641 :                   tree _p1_pops[1];
    9036                 :      644641 :                   if (gimple_nop_convert (_p1, _p1_pops, valueize))
    9037                 :             :                     {
    9038                 :       31806 :                       tree _q40 = _p1_pops[0];
    9039                 :       31806 :                       switch (TREE_CODE (_q40))
    9040                 :             :                         {
    9041                 :       15469 :                         case SSA_NAME:
    9042                 :       15469 :                           if (gimple *_d2 = get_def (valueize, _q40))
    9043                 :             :                             {
    9044                 :       15381 :                               if (gassign *_a2 = dyn_cast <gassign *> (_d2))
    9045                 :       20819 :                                 switch (gimple_assign_rhs_code (_a2))
    9046                 :             :                                   {
    9047                 :           9 :                                   case POINTER_PLUS_EXPR:
    9048                 :           9 :                                     {
    9049                 :           9 :                                       tree _q50 = gimple_assign_rhs1 (_a2);
    9050                 :           9 :                                       _q50 = do_valueize (valueize, _q50);
    9051                 :           9 :                                       tree _q51 = gimple_assign_rhs2 (_a2);
    9052                 :           9 :                                       _q51 = do_valueize (valueize, _q51);
    9053                 :           9 :                                       switch (TREE_CODE (_q50))
    9054                 :             :                                         {
    9055                 :           9 :                                         case SSA_NAME:
    9056                 :           9 :                                           if (gimple *_d3 = get_def (valueize, _q50))
    9057                 :             :                                             {
    9058                 :           9 :                                               if (gassign *_a3 = dyn_cast <gassign *> (_d3))
    9059                 :           0 :                                                 switch (gimple_assign_rhs_code (_a3))
    9060                 :             :                                                   {
    9061                 :           0 :                                                   CASE_CONVERT:
    9062                 :           0 :                                                     {
    9063                 :           0 :                                                       tree _q60 = gimple_assign_rhs1 (_a3);
    9064                 :           0 :                                                       _q60 = do_valueize (valueize, _q60);
    9065                 :           0 :                                                       if ((_q60 == _q20 && ! TREE_SIDE_EFFECTS (_q60)) || (operand_equal_p (_q60, _q20, 0) && types_match (_q60, _q20)))
    9066                 :             :                                                         {
    9067                 :           0 :                                                           {
    9068                 :           0 :                                                             tree captures[4] ATTRIBUTE_UNUSED = { _p1, _q40, _q20, _q51 };
    9069                 :           0 :                                                             if (gimple_simplify_218 (res_op, seq, valueize, type, captures, EQ_EXPR))
    9070                 :           0 :                                                               return true;
    9071                 :             :                                                           }
    9072                 :             :                                                         }
    9073                 :             :                                                       break;
    9074                 :             :                                                     }
    9075                 :             :                                                   default:;
    9076                 :             :                                                   }
    9077                 :             :                                             }
    9078                 :             :                                           break;
    9079                 :           9 :                                         default:;
    9080                 :             :                                         }
    9081                 :           9 :                                       if ((_q50 == _q20 && ! TREE_SIDE_EFFECTS (_q50)) || (operand_equal_p (_q50, _q20, 0) && types_match (_q50, _q20)))
    9082                 :             :                                         {
    9083                 :           0 :                                           {
    9084                 :           0 :                                             tree captures[4] ATTRIBUTE_UNUSED = { _p1, _q40, _q20, _q51 };
    9085                 :           0 :                                             if (gimple_simplify_218 (res_op, seq, valueize, type, captures, EQ_EXPR))
    9086                 :           0 :                                               return true;
    9087                 :             :                                           }
    9088                 :             :                                         }
    9089                 :             :                                       break;
    9090                 :             :                                     }
    9091                 :             :                                   default:;
    9092                 :             :                                   }
    9093                 :             :                             }
    9094                 :             :                           break;
    9095                 :             :                         default:;
    9096                 :             :                         }
    9097                 :             : }
    9098                 :             :                 }
    9099                 :      644641 :                   break;
    9100                 :             :                 }
    9101                 :             :               default:;
    9102                 :             :               }
    9103                 :             :         }
    9104                 :             :       break;
    9105                 :    69645290 :     default:;
    9106                 :             :     }
    9107                 :    69645290 :   switch (TREE_CODE (_p1))
    9108                 :             :     {
    9109                 :    12144929 :     case SSA_NAME:
    9110                 :    12144929 :       if (gimple *_d1 = get_def (valueize, _p1))
    9111                 :             :         {
    9112                 :     3881037 :           if (gassign *_a1 = dyn_cast <gassign *> (_d1))
    9113                 :     6060043 :             switch (gimple_assign_rhs_code (_a1))
    9114                 :             :               {
    9115                 :       64634 :               case POINTER_PLUS_EXPR:
    9116                 :       64634 :                 {
    9117                 :       64634 :                   tree _q30 = gimple_assign_rhs1 (_a1);
    9118                 :       64634 :                   _q30 = do_valueize (valueize, _q30);
    9119                 :       64634 :                   tree _q31 = gimple_assign_rhs2 (_a1);
    9120                 :       64634 :                   _q31 = do_valueize (valueize, _q31);
    9121                 :       64634 :                   switch (TREE_CODE (_q30))
    9122                 :             :                     {
    9123                 :       63545 :                     case SSA_NAME:
    9124                 :       63545 :                       if (gimple *_d2 = get_def (valueize, _q30))
    9125                 :             :                         {
    9126                 :       60892 :                           if (gassign *_a2 = dyn_cast <gassign *> (_d2))
    9127                 :       49019 :                             switch (gimple_assign_rhs_code (_a2))
    9128                 :             :                               {
    9129                 :         162 :                               CASE_CONVERT:
    9130                 :         162 :                                 {
    9131                 :         162 :                                   tree _q40 = gimple_assign_rhs1 (_a2);
    9132                 :         162 :                                   _q40 = do_valueize (valueize, _q40);
    9133                 :         162 :                                   if ((_q40 == _p0 && ! TREE_SIDE_EFFECTS (_q40)) || (operand_equal_p (_q40, _p0, 0) && types_match (_q40, _p0)))
    9134                 :             :                                     {
    9135                 :           0 :                                       {
    9136                 :           0 :                                         tree captures[4] ATTRIBUTE_UNUSED = { _p1, _p1, _p0, _q31 };
    9137                 :           0 :                                         if (gimple_simplify_214 (res_op, seq, valueize, type, captures, EQ_EXPR))
    9138                 :           0 :                                           return true;
    9139                 :             :                                       }
    9140                 :             :                                     }
    9141                 :             :                                   break;
    9142                 :             :                                 }
    9143                 :             :                               default:;
    9144                 :             :                               }
    9145                 :             :                         }
    9146                 :             :                       break;
    9147                 :       64634 :                     default:;
    9148                 :             :                     }
    9149                 :       64634 :                   if ((_q30 == _p0 && ! TREE_SIDE_EFFECTS (_q30)) || (operand_equal_p (_q30, _p0, 0) && types_match (_q30, _p0)))
    9150                 :             :                     {
    9151                 :        3246 :                       {
    9152                 :        3246 :                         tree captures[4] ATTRIBUTE_UNUSED = { _p1, _p1, _p0, _q31 };
    9153                 :        3246 :                         if (gimple_simplify_214 (res_op, seq, valueize, type, captures, EQ_EXPR))
    9154                 :        1398 :                           return true;
    9155                 :             :                       }
    9156                 :             :                     }
    9157                 :             :                   break;
    9158                 :             :                 }
    9159                 :             :               default:;
    9160                 :             :               }
    9161                 :             :         }
    9162                 :             :       break;
    9163                 :    69643892 :     default:;
    9164                 :             :     }
    9165                 :    69643892 : {
    9166                 :    69643892 :   tree _p1_pops[1];
    9167                 :    69643892 :   if (gimple_nop_convert (_p1, _p1_pops, valueize))
    9168                 :             :     {
    9169                 :      119270 :       tree _q30 = _p1_pops[0];
    9170                 :      119270 :       switch (TREE_CODE (_q30))
    9171                 :             :         {
    9172                 :       98365 :         case SSA_NAME:
    9173                 :       98365 :           if (gimple *_d1 = get_def (valueize, _q30))
    9174                 :             :             {
    9175                 :       96762 :               if (gassign *_a1 = dyn_cast <gassign *> (_d1))
    9176                 :      113784 :                 switch (gimple_assign_rhs_code (_a1))
    9177                 :             :                   {
    9178                 :          18 :                   case POINTER_PLUS_EXPR:
    9179                 :          18 :                     {
    9180                 :          18 :                       tree _q40 = gimple_assign_rhs1 (_a1);
    9181                 :          18 :                       _q40 = do_valueize (valueize, _q40);
    9182                 :          18 :                       tree _q41 = gimple_assign_rhs2 (_a1);
    9183                 :          18 :                       _q41 = do_valueize (valueize, _q41);
    9184                 :          18 :                       switch (TREE_CODE (_q40))
    9185                 :             :                         {
    9186                 :          18 :                         case SSA_NAME:
    9187                 :          18 :                           if (gimple *_d2 = get_def (valueize, _q40))
    9188                 :             :                             {
    9189                 :          18 :                               if (gassign *_a2 = dyn_cast <gassign *> (_d2))
    9190                 :           0 :                                 switch (gimple_assign_rhs_code (_a2))
    9191                 :             :                                   {
    9192                 :           0 :                                   CASE_CONVERT:
    9193                 :           0 :                                     {
    9194                 :           0 :                                       tree _q50 = gimple_assign_rhs1 (_a2);
    9195                 :           0 :                                       _q50 = do_valueize (valueize, _q50);
    9196                 :           0 :                                       if ((_q50 == _p0 && ! TREE_SIDE_EFFECTS (_q50)) || (operand_equal_p (_q50, _p0, 0) && types_match (_q50, _p0)))
    9197                 :             :                                         {
    9198                 :           0 :                                           {
    9199                 :           0 :                                             tree captures[4] ATTRIBUTE_UNUSED = { _p1, _q30, _p0, _q41 };
    9200                 :           0 :                                             if (gimple_simplify_218 (res_op, seq, valueize, type, captures, EQ_EXPR))
    9201                 :           0 :                                               return true;
    9202                 :             :                                           }
    9203                 :             :                                         }
    9204                 :             :                                       break;
    9205                 :             :                                     }
    9206                 :             :                                   default:;
    9207                 :             :                                   }
    9208                 :             :                             }
    9209                 :             :                           break;
    9210                 :          18 :                         default:;
    9211                 :             :                         }
    9212                 :          18 :                       if ((_q40 == _p0 && ! TREE_SIDE_EFFECTS (_q40)) || (operand_equal_p (_q40, _p0, 0) && types_match (_q40, _p0)))
    9213                 :             :                         {
    9214                 :           0 :                           {
    9215                 :           0 :                             tree captures[4] ATTRIBUTE_UNUSED = { _p1, _q30, _p0, _q41 };
    9216                 :           0 :                             if (gimple_simplify_218 (res_op, seq, valueize, type, captures, EQ_EXPR))
    9217                 :           0 :                               return true;
    9218                 :             :                           }
    9219                 :             :                         }
    9220                 :             :                       break;
    9221                 :             :                     }
    9222                 :             :                   default:;
    9223                 :             :                   }
    9224                 :             :             }
    9225                 :             :           break;
    9226                 :             :         default:;
    9227                 :             :         }
    9228                 :             : }
    9229                 :             : }
    9230                 :    69643892 :   switch (TREE_CODE (_p0))
    9231                 :             :     {
    9232                 :    66443638 :     case SSA_NAME:
    9233                 :    66443638 :       if (gimple *_d1 = get_def (valueize, _p0))
    9234                 :             :         {
    9235                 :    22641020 :           if (gassign *_a1 = dyn_cast <gassign *> (_d1))
    9236                 :    26796770 :             switch (gimple_assign_rhs_code (_a1))
    9237                 :             :               {
    9238                 :      105335 :               case ADDR_EXPR:
    9239                 :      105335 :                 {
    9240                 :      105335 :                   switch (TREE_CODE (_p1))
    9241                 :             :                     {
    9242                 :       87317 :                     case SSA_NAME:
    9243                 :       87317 :                       if (gimple *_d2 = get_def (valueize, _p1))
    9244                 :             :                         {
    9245                 :       84943 :                           if (gassign *_a2 = dyn_cast <gassign *> (_d2))
    9246                 :      143864 :                             switch (gimple_assign_rhs_code (_a2))
    9247                 :             :                               {
    9248                 :         537 :                               case POINTER_PLUS_EXPR:
    9249                 :         537 :                                 {
    9250                 :         537 :                                   tree _q30 = gimple_assign_rhs1 (_a2);
    9251                 :         537 :                                   _q30 = do_valueize (valueize, _q30);
    9252                 :         537 :                                   tree _q31 = gimple_assign_rhs2 (_a2);
    9253                 :         537 :                                   _q31 = do_valueize (valueize, _q31);
    9254                 :         537 :                                   {
    9255                 :         537 :                                     tree captures[3] ATTRIBUTE_UNUSED = { _p0, _q30, _q31 };
    9256                 :         537 :                                     if (gimple_simplify_219 (res_op, seq, valueize, type, captures, EQ_EXPR))
    9257                 :          50 :                                       return true;
    9258                 :             :                                   }
    9259                 :         487 :                                   break;
    9260                 :             :                                 }
    9261                 :             :                               default:;
    9262                 :             :                               }
    9263                 :             :                         }
    9264                 :             :                       break;
    9265                 :             :                     default:;
    9266                 :             :                     }
    9267                 :             :                   break;
    9268                 :             :                 }
    9269                 :       75756 :               case POINTER_PLUS_EXPR:
    9270                 :       75756 :                 {
    9271                 :       75756 :                   tree _q20 = gimple_assign_rhs1 (_a1);
    9272                 :       75756 :                   _q20 = do_valueize (valueize, _q20);
    9273                 :       75756 :                   tree _q21 = gimple_assign_rhs2 (_a1);
    9274                 :       75756 :                   _q21 = do_valueize (valueize, _q21);
    9275                 :       75756 :                   switch (TREE_CODE (_p1))
    9276                 :             :                     {
    9277                 :       49476 :                     case SSA_NAME:
    9278                 :       49476 :                       if (gimple *_d2 = get_def (valueize, _p1))
    9279                 :             :                         {
    9280                 :       48174 :                           if (gassign *_a2 = dyn_cast <gassign *> (_d2))
    9281                 :       63320 :                             switch (gimple_assign_rhs_code (_a2))
    9282                 :             :                               {
    9283                 :         615 :                               case ADDR_EXPR:
    9284                 :         615 :                                 {
    9285                 :         615 :                                   {
    9286                 :         615 :                                     tree captures[3] ATTRIBUTE_UNUSED = { _p1, _q20, _q21 };
    9287                 :         615 :                                     if (gimple_simplify_219 (res_op, seq, valueize, type, captures, EQ_EXPR))
    9288                 :          86 :                                       return true;
    9289                 :             :                                   }
    9290                 :         529 :                                   break;
    9291                 :             :                                 }
    9292                 :             :                               default:;
    9293                 :             :                               }
    9294                 :             :                         }
    9295                 :             :                       break;
    9296                 :       19488 :                     case ADDR_EXPR:
    9297                 :       19488 :                       {
    9298                 :       19488 :                         {
    9299                 :       19488 :                           tree captures[3] ATTRIBUTE_UNUSED = { _p1, _q20, _q21 };
    9300                 :       19488 :                           if (gimple_simplify_219 (res_op, seq, valueize, type, captures, EQ_EXPR))
    9301                 :          63 :                             return true;
    9302                 :             :                         }
    9303                 :       19425 :                         break;
    9304                 :             :                       }
    9305                 :       75607 :                     default:;
    9306                 :             :                     }
    9307                 :       75607 :                   switch (TREE_CODE (_q20))
    9308                 :             :                     {
    9309                 :       75069 :                     case SSA_NAME:
    9310                 :       75069 :                       if (gimple *_d2 = get_def (valueize, _q20))
    9311                 :             :                         {
    9312                 :       72571 :                           if (gassign *_a2 = dyn_cast <gassign *> (_d2))
    9313                 :       94273 :                             switch (gimple_assign_rhs_code (_a2))
    9314                 :             :                               {
    9315                 :         102 :                               case ADDR_EXPR:
    9316                 :         102 :                                 {
    9317                 :         102 :                                   switch (TREE_CODE (_p1))
    9318                 :             :                                     {
    9319                 :         102 :                                     case SSA_NAME:
    9320                 :         102 :                                       if (gimple *_d3 = get_def (valueize, _p1))
    9321                 :             :                                         {
    9322                 :         102 :                                           if (gassign *_a3 = dyn_cast <gassign *> (_d3))
    9323                 :         144 :                                             switch (gimple_assign_rhs_code (_a3))
    9324                 :             :                                               {
    9325                 :          60 :                                               case POINTER_PLUS_EXPR:
    9326                 :          60 :                                                 {
    9327                 :          60 :                                                   tree _q50 = gimple_assign_rhs1 (_a3);
    9328                 :          60 :                                                   _q50 = do_valueize (valueize, _q50);
    9329                 :          60 :                                                   tree _q51 = gimple_assign_rhs2 (_a3);
    9330                 :          60 :                                                   _q51 = do_valueize (valueize, _q51);
    9331                 :          60 :                                                   switch (TREE_CODE (_q50))
    9332                 :             :                                                     {
    9333                 :          60 :                                                     case SSA_NAME:
    9334                 :          60 :                                                       if (gimple *_d4 = get_def (valueize, _q50))
    9335                 :             :                                                         {
    9336                 :          34 :                                                           if (gassign *_a4 = dyn_cast <gassign *> (_d4))
    9337                 :          16 :                                                             switch (gimple_assign_rhs_code (_a4))
    9338                 :             :                                                               {
    9339                 :           8 :                                                               case ADDR_EXPR:
    9340                 :           8 :                                                                 {
    9341                 :           8 :                                                                   {
    9342                 :           8 :                                                                     tree captures[4] ATTRIBUTE_UNUSED = { _q20, _q21, _q50, _q51 };
    9343                 :           8 :                                                                     if (gimple_simplify_220 (res_op, seq, valueize, type, captures, EQ_EXPR))
    9344                 :           4 :                                                                       return true;
    9345                 :             :                                                                   }
    9346                 :           4 :                                                                   break;
    9347                 :             :                                                                 }
    9348                 :             :                                                               default:;
    9349                 :             :                                                               }
    9350                 :             :                                                         }
    9351                 :             :                                                       break;
    9352                 :           0 :                                                     case ADDR_EXPR:
    9353                 :           0 :                                                       {
    9354                 :           0 :                                                         {
    9355                 :           0 :                                                           tree captures[4] ATTRIBUTE_UNUSED = { _q20, _q21, _q50, _q51 };
    9356                 :           0 :                                                           if (gimple_simplify_220 (res_op, seq, valueize, type, captures, EQ_EXPR))
    9357                 :           0 :                                                             return true;
    9358                 :             :                                                         }
    9359                 :           0 :                                                         break;
    9360                 :             :                                                       }
    9361                 :             :                                                     default:;
    9362                 :             :                                                     }
    9363                 :             :                                                   break;
    9364                 :             :                                                 }
    9365                 :             :                                               default:;
    9366                 :             :                                               }
    9367                 :             :                                         }
    9368                 :             :                                       break;
    9369                 :             :                                     default:;
    9370                 :             :                                     }
    9371                 :             :                                   break;
    9372                 :             :                                 }
    9373                 :             :                               default:;
    9374                 :             :                               }
    9375                 :             :                         }
    9376                 :             :                       break;
    9377                 :         538 :                     case ADDR_EXPR:
    9378                 :         538 :                       {
    9379                 :         538 :                         switch (TREE_CODE (_p1))
    9380                 :             :                           {
    9381                 :         523 :                           case SSA_NAME:
    9382                 :         523 :                             if (gimple *_d2 = get_def (valueize, _p1))
    9383                 :             :                               {
    9384                 :         520 :                                 if (gassign *_a2 = dyn_cast <gassign *> (_d2))
    9385                 :         466 :                                   switch (gimple_assign_rhs_code (_a2))
    9386                 :             :                                     {
    9387                 :         138 :                                     case POINTER_PLUS_EXPR:
    9388                 :         138 :                                       {
    9389                 :         138 :                                         tree _q50 = gimple_assign_rhs1 (_a2);
    9390                 :         138 :                                         _q50 = do_valueize (valueize, _q50);
    9391                 :         138 :                                         tree _q51 = gimple_assign_rhs2 (_a2);
    9392                 :         138 :                                         _q51 = do_valueize (valueize, _q51);
    9393                 :         138 :                                         switch (TREE_CODE (_q50))
    9394                 :             :                                           {
    9395                 :         138 :                                           case SSA_NAME:
    9396                 :         138 :                                             if (gimple *_d3 = get_def (valueize, _q50))
    9397                 :             :                                               {
    9398                 :         138 :                                                 if (gassign *_a3 = dyn_cast <gassign *> (_d3))
    9399                 :          24 :                                                   switch (gimple_assign_rhs_code (_a3))
    9400                 :             :                                                     {
    9401                 :           0 :                                                     case ADDR_EXPR:
    9402                 :           0 :                                                       {
    9403                 :           0 :                                                         {
    9404                 :           0 :                                                           tree captures[4] ATTRIBUTE_UNUSED = { _q20, _q21, _q50, _q51 };
    9405                 :           0 :                                                           if (gimple_simplify_220 (res_op, seq, valueize, type, captures, EQ_EXPR))
    9406                 :           0 :                                                             return true;
    9407                 :             :                                                         }
    9408                 :           0 :                                                         break;
    9409                 :             :                                                       }
    9410                 :             :                                                     default:;
    9411                 :             :                                                     }
    9412                 :             :                                               }
    9413                 :             :                                             break;
    9414                 :           0 :                                           case ADDR_EXPR:
    9415                 :           0 :                                             {
    9416                 :           0 :                                               {
    9417                 :           0 :                                                 tree captures[4] ATTRIBUTE_UNUSED = { _q20, _q21, _q50, _q51 };
    9418                 :           0 :                                                 if (gimple_simplify_220 (res_op, seq, valueize, type, captures, EQ_EXPR))
    9419                 :           0 :                                                   return true;
    9420                 :             :                                               }
    9421                 :           0 :                                               break;
    9422                 :             :                                             }
    9423                 :             :                                           default:;
    9424                 :             :                                           }
    9425                 :             :                                         break;
    9426                 :             :                                       }
    9427                 :             :                                     default:;
    9428                 :             :                                     }
    9429                 :             :                               }
    9430                 :             :                             break;
    9431                 :             :                           default:;
    9432                 :             :                           }
    9433                 :             :                         break;
    9434                 :             :                       }
    9435                 :             :                     default:;
    9436                 :             :                     }
    9437                 :             :                   break;
    9438                 :             :                 }
    9439                 :             :               default:;
    9440                 :             :               }
    9441                 :             :         }
    9442                 :             :       break;
    9443                 :     2499629 :     case ADDR_EXPR:
    9444                 :     2499629 :       {
    9445                 :     2499629 :         switch (TREE_CODE (_p1))
    9446                 :             :           {
    9447                 :     2410847 :           case SSA_NAME:
    9448                 :     2410847 :             if (gimple *_d1 = get_def (valueize, _p1))
    9449                 :             :               {
    9450                 :      690403 :                 if (gassign *_a1 = dyn_cast <gassign *> (_d1))
    9451                 :     1279578 :                   switch (gimple_assign_rhs_code (_a1))
    9452                 :             :                     {
    9453                 :        7128 :                     case POINTER_PLUS_EXPR:
    9454                 :        7128 :                       {
    9455                 :        7128 :                         tree _q30 = gimple_assign_rhs1 (_a1);
    9456                 :        7128 :                         _q30 = do_valueize (valueize, _q30);
    9457                 :        7128 :                         tree _q31 = gimple_assign_rhs2 (_a1);
    9458                 :        7128 :                         _q31 = do_valueize (valueize, _q31);
    9459                 :        7128 :                         {
    9460                 :        7128 :                           tree captures[3] ATTRIBUTE_UNUSED = { _p0, _q30, _q31 };
    9461                 :        7128 :                           if (gimple_simplify_219 (res_op, seq, valueize, type, captures, EQ_EXPR))
    9462                 :         152 :                             return true;
    9463                 :             :                         }
    9464                 :        6976 :                         break;
    9465                 :             :                       }
    9466                 :             :                     default:;
    9467                 :             :                     }
    9468                 :             :               }
    9469                 :             :             break;
    9470                 :             :           default:;
    9471                 :             :           }
    9472                 :             :         break;
    9473                 :             :       }
    9474                 :    69643537 :     default:;
    9475                 :             :     }
    9476                 :    69643537 :   switch (TREE_CODE (_p1))
    9477                 :             :     {
    9478                 :    12143239 :     case SSA_NAME:
    9479                 :    12143239 :       if (gimple *_d1 = get_def (valueize, _p1))
    9480                 :             :         {
    9481                 :     3879347 :           if (gassign *_a1 = dyn_cast <gassign *> (_d1))
    9482                 :     6058267 :             switch (gimple_assign_rhs_code (_a1))
    9483                 :             :               {
    9484                 :       13420 :               case MINUS_EXPR:
    9485                 :       13420 :                 {
    9486                 :       13420 :                   tree _q30 = gimple_assign_rhs1 (_a1);
    9487                 :       13420 :                   _q30 = do_valueize (valueize, _q30);
    9488                 :       13420 :                   tree _q31 = gimple_assign_rhs2 (_a1);
    9489                 :       13420 :                   _q31 = do_valueize (valueize, _q31);
    9490                 :       13420 :                   if ((_q30 == _p0 && ! TREE_SIDE_EFFECTS (_q30)) || (operand_equal_p (_q30, _p0, 0) && types_match (_q30, _p0)))
    9491                 :             :                     {
    9492                 :         265 :                       {
    9493                 :         265 :                         tree captures[3] ATTRIBUTE_UNUSED = { _p0, _p1, _q31 };
    9494                 :         265 :                         if (gimple_simplify_215 (res_op, seq, valueize, type, captures, EQ_EXPR))
    9495                 :          85 :                           return true;
    9496                 :             :                       }
    9497                 :             :                     }
    9498                 :             :                   break;
    9499                 :             :                 }
    9500                 :             :               default:;
    9501                 :             :               }
    9502                 :             :         }
    9503                 :             :       break;
    9504                 :    69643452 :     default:;
    9505                 :             :     }
    9506                 :    69643452 :   switch (TREE_CODE (_p0))
    9507                 :             :     {
    9508                 :    66443350 :     case SSA_NAME:
    9509                 :    66443350 :       if (gimple *_d1 = get_def (valueize, _p0))
    9510                 :             :         {
    9511                 :    22640732 :           if (gassign *_a1 = dyn_cast <gassign *> (_d1))
    9512                 :    26796432 :             switch (gimple_assign_rhs_code (_a1))
    9513                 :             :               {
    9514                 :       13927 :               case TRUNC_DIV_EXPR:
    9515                 :       13927 :                 {
    9516                 :       13927 :                   tree _q20 = gimple_assign_rhs1 (_a1);
    9517                 :       13927 :                   _q20 = do_valueize (valueize, _q20);
    9518                 :       13927 :                   tree _q21 = gimple_assign_rhs2 (_a1);
    9519                 :       13927 :                   _q21 = do_valueize (valueize, _q21);
    9520                 :       13927 :                   if (integer_zerop (_p1))
    9521                 :             :                     {
    9522                 :        1920 :                       {
    9523                 :        1920 :                         tree captures[2] ATTRIBUTE_UNUSED = { _q20, _q21 };
    9524                 :        1920 :                         if (gimple_simplify_221 (res_op, seq, valueize, type, captures, EQ_EXPR, LT_EXPR))
    9525                 :         115 :                           return true;
    9526                 :             :                       }
    9527                 :             :                     }
    9528                 :             :                   break;
    9529                 :             :                 }
    9530                 :      644641 :               CASE_CONVERT:
    9531                 :      644641 :                 {
    9532                 :      644641 :                   tree _q20 = gimple_assign_rhs1 (_a1);
    9533                 :      644641 :                   _q20 = do_valueize (valueize, _q20);
    9534                 :      644641 :                   switch (TREE_CODE (_p1))
    9535                 :             :                     {
    9536                 :      153603 :                     case SSA_NAME:
    9537                 :      153603 :                       if (gimple *_d2 = get_def (valueize, _p1))
    9538                 :             :                         {
    9539                 :      144321 :                           if (gassign *_a2 = dyn_cast <gassign *> (_d2))
    9540                 :      165974 :                             switch (gimple_assign_rhs_code (_a2))
    9541                 :             :                               {
    9542                 :       39088 :                               CASE_CONVERT:
    9543                 :       39088 :                                 {
    9544                 :       39088 :                                   tree _q40 = gimple_assign_rhs1 (_a2);
    9545                 :       39088 :                                   _q40 = do_valueize (valueize, _q40);
    9546                 :       39088 :                                   switch (TREE_CODE (_q40))
    9547                 :             :                                     {
    9548                 :       22751 :                                     case SSA_NAME:
    9549                 :       22751 :                                       if (gimple *_d3 = get_def (valueize, _q40))
    9550                 :             :                                         {
    9551                 :       22580 :                                           if (gassign *_a3 = dyn_cast <gassign *> (_d3))
    9552                 :       30429 :                                             switch (gimple_assign_rhs_code (_a3))
    9553                 :             :                                               {
    9554                 :          37 :                                               case MINUS_EXPR:
    9555                 :          37 :                                                 {
    9556                 :          37 :                                                   tree _q50 = gimple_assign_rhs1 (_a3);
    9557                 :          37 :                                                   _q50 = do_valueize (valueize, _q50);
    9558                 :          37 :                                                   tree _q51 = gimple_assign_rhs2 (_a3);
    9559                 :          37 :                                                   _q51 = do_valueize (valueize, _q51);
    9560                 :          37 :                                                   switch (TREE_CODE (_q50))
    9561                 :             :                                                     {
    9562                 :           6 :                                                     case INTEGER_CST:
    9563                 :           6 :                                                       {
    9564                 :           6 :                                                         switch (TREE_CODE (_q51))
    9565                 :             :                                                           {
    9566                 :           6 :                                                           case SSA_NAME:
    9567                 :           6 :                                                             if (gimple *_d4 = get_def (valueize, _q51))
    9568                 :             :                                                               {
    9569                 :           6 :                                                                 if (gassign *_a4 = dyn_cast <gassign *> (_d4))
    9570                 :           6 :                                                                   switch (gimple_assign_rhs_code (_a4))
    9571                 :             :                                                                     {
    9572                 :           6 :                                                                     CASE_CONVERT:
    9573                 :           6 :                                                                       {
    9574                 :           6 :                                                                         tree _q70 = gimple_assign_rhs1 (_a4);
    9575                 :           6 :                                                                         _q70 = do_valueize (valueize, _q70);
    9576                 :           6 :                                                                         if ((_q70 == _q20 && ! TREE_SIDE_EFFECTS (_q70)) || (operand_equal_p (_q70, _q20, 0) && types_match (_q70, _q20)))
    9577                 :             :                                                                           {
    9578                 :           0 :                                                                             {
    9579                 :           0 :                                                                               tree captures[2] ATTRIBUTE_UNUSED = { _q20, _q50 };
    9580                 :           0 :                                                                               if (gimple_simplify_222 (res_op, seq, valueize, type, captures, EQ_EXPR))
    9581                 :           0 :                                                                                 return true;
    9582                 :             :                                                                             }
    9583                 :             :                                                                           }
    9584                 :             :                                                                         break;
    9585                 :             :                                                                       }
    9586                 :             :                                                                     default:;
    9587                 :             :                                                                     }
    9588                 :             :                                                               }
    9589                 :             :                                                             break;
    9590                 :             :                                                           default:;
    9591                 :             :                                                           }
    9592                 :             :                                                         break;
    9593                 :             :                                                       }
    9594                 :             :                                                     default:;
    9595                 :             :                                                     }
    9596                 :             :                                                   break;
    9597                 :             :                                                 }
    9598                 :             :                                               default:;
    9599                 :             :                                               }
    9600                 :             :                                         }
    9601                 :             :                                       break;
    9602                 :             :                                     default:;
    9603                 :             :                                     }
    9604                 :             :                                   break;
    9605                 :             :                                 }
    9606                 :             :                               default:;
    9607                 :             :                               }
    9608                 :             :                         }
    9609                 :             :                       break;
    9610                 :      644641 :                     default:;
    9611                 :             :                     }
    9612                 :      644641 :                   switch (TREE_CODE (_q20))
    9613                 :             :                     {
    9614                 :      632108 :                     case SSA_NAME:
    9615                 :      632108 :                       if (gimple *_d2 = get_def (valueize, _q20))
    9616                 :             :                         {
    9617                 :      622456 :                           if (gassign *_a2 = dyn_cast <gassign *> (_d2))
    9618                 :      724045 :                             switch (gimple_assign_rhs_code (_a2))
    9619                 :             :                               {
    9620                 :        6915 :                               case MINUS_EXPR:
    9621                 :        6915 :                                 {
    9622                 :        6915 :                                   tree _q30 = gimple_assign_rhs1 (_a2);
    9623                 :        6915 :                                   _q30 = do_valueize (valueize, _q30);
    9624                 :        6915 :                                   tree _q31 = gimple_assign_rhs2 (_a2);
    9625                 :        6915 :                                   _q31 = do_valueize (valueize, _q31);
    9626                 :        6915 :                                   switch (TREE_CODE (_q30))
    9627                 :             :                                     {
    9628                 :         301 :                                     case INTEGER_CST:
    9629                 :         301 :                                       {
    9630                 :         301 :                                         switch (TREE_CODE (_q31))
    9631                 :             :                                           {
    9632                 :         301 :                                           case SSA_NAME:
    9633                 :         301 :                                             if (gimple *_d3 = get_def (valueize, _q31))
    9634                 :             :                                               {
    9635                 :         295 :                                                 if (gassign *_a3 = dyn_cast <gassign *> (_d3))
    9636                 :         151 :                                                   switch (gimple_assign_rhs_code (_a3))
    9637                 :             :                                                     {
    9638                 :          97 :                                                     CASE_CONVERT:
    9639                 :          97 :                                                       {
    9640                 :          97 :                                                         tree _q50 = gimple_assign_rhs1 (_a3);
    9641                 :          97 :                                                         _q50 = do_valueize (valueize, _q50);
    9642                 :          97 :                                                         switch (TREE_CODE (_p1))
    9643                 :             :                                                           {
    9644                 :          30 :                                                           case SSA_NAME:
    9645                 :          30 :                                                             if (gimple *_d4 = get_def (valueize, _p1))
    9646                 :             :                                                               {
    9647                 :          27 :                                                                 if (gassign *_a4 = dyn_cast <gassign *> (_d4))
    9648                 :          11 :                                                                   switch (gimple_assign_rhs_code (_a4))
    9649                 :             :                                                                     {
    9650                 :           0 :                                                                     CASE_CONVERT:
    9651                 :           0 :                                                                       {
    9652                 :           0 :                                                                         tree _q70 = gimple_assign_rhs1 (_a4);
    9653                 :           0 :                                                                         _q70 = do_valueize (valueize, _q70);
    9654                 :           0 :                                                                         if ((_q70 == _q50 && ! TREE_SIDE_EFFECTS (_q70)) || (operand_equal_p (_q70, _q50, 0) && types_match (_q70, _q50)))
    9655                 :             :                                                                           {
    9656                 :           0 :                                                                             {
    9657                 :           0 :                                                                               tree captures[2] ATTRIBUTE_UNUSED = { _q50, _q30 };
    9658                 :           0 :                                                                               if (gimple_simplify_222 (res_op, seq, valueize, type, captures, EQ_EXPR))
    9659                 :           0 :                                                                                 return true;
    9660                 :             :                                                                             }
    9661                 :             :                                                                           }
    9662                 :             :                                                                         break;
    9663                 :             :                                                                       }
    9664                 :             :                                                                     default:;
    9665                 :             :                                                                     }
    9666                 :             :                                                               }
    9667                 :             :                                                             break;
    9668                 :          97 :                                                           default:;
    9669                 :             :                                                           }
    9670                 :          97 :                                                         if ((_p1 == _q50 && ! TREE_SIDE_EFFECTS (_p1)) || (operand_equal_p (_p1, _q50, 0) && types_match (_p1, _q50)))
    9671                 :             :                                                           {
    9672                 :           0 :                                                             {
    9673                 :           0 :                                                               tree captures[2] ATTRIBUTE_UNUSED = { _q50, _q30 };
    9674                 :           0 :                                                               if (gimple_simplify_222 (res_op, seq, valueize, type, captures, EQ_EXPR))
    9675                 :           0 :                                                                 return true;
    9676                 :             :                                                             }
    9677                 :             :                                                           }
    9678                 :             :                                                         break;
    9679                 :             :                                                       }
    9680                 :             :                                                     default:;
    9681                 :             :                                                     }
    9682                 :             :                                               }
    9683                 :             :                                             break;
    9684                 :         301 :                                           default:;
    9685                 :             :                                           }
    9686                 :         301 :                                         switch (TREE_CODE (_p1))
    9687                 :             :                                           {
    9688                 :          40 :                                           case SSA_NAME:
    9689                 :          40 :                                             if (gimple *_d3 = get_def (valueize, _p1))
    9690                 :             :                                               {
    9691                 :          33 :                                                 if (gassign *_a3 = dyn_cast <gassign *> (_d3))
    9692                 :          14 :                                                   switch (gimple_assign_rhs_code (_a3))
    9693                 :             :                                                     {
    9694                 :           0 :                                                     CASE_CONVERT:
    9695                 :           0 :                                                       {
    9696                 :           0 :                                                         tree _q60 = gimple_assign_rhs1 (_a3);
    9697                 :           0 :                                                         _q60 = do_valueize (valueize, _q60);
    9698                 :           0 :                                                         if ((_q60 == _q31 && ! TREE_SIDE_EFFECTS (_q60)) || (operand_equal_p (_q60, _q31, 0) && types_match (_q60, _q31)))
    9699                 :             :                                                           {
    9700                 :           0 :                                                             {
    9701                 :           0 :                                                               tree captures[2] ATTRIBUTE_UNUSED = { _q31, _q30 };
    9702                 :           0 :                                                               if (gimple_simplify_222 (res_op, seq, valueize, type, captures, EQ_EXPR))
    9703                 :           0 :                                                                 return true;
    9704                 :             :                                                             }
    9705                 :             :                                                           }
    9706                 :             :                                                         break;
    9707                 :             :                                                       }
    9708                 :             :                                                     default:;
    9709                 :             :                                                     }
    9710                 :             :                                               }
    9711                 :             :                                             break;
    9712                 :         301 :                                           default:;
    9713                 :             :                                           }
    9714                 :         301 :                                         if ((_p1 == _q31 && ! TREE_SIDE_EFFECTS (_p1)) || (operand_equal_p (_p1, _q31, 0) && types_match (_p1, _q31)))
    9715                 :             :                                           {
    9716                 :           0 :                                             {
    9717                 :           0 :                                               tree captures[2] ATTRIBUTE_UNUSED = { _q31, _q30 };
    9718                 :           0 :                                               if (gimple_simplify_222 (res_op, seq, valueize, type, captures, EQ_EXPR))
    9719                 :           0 :                                                 return true;
    9720                 :             :                                             }
    9721                 :             :                                           }
    9722                 :             :                                         break;
    9723                 :             :                                       }
    9724                 :             :                                     default:;
    9725                 :             :                                     }
    9726                 :             :                                   break;
    9727                 :             :                                 }
    9728                 :             :                               default:;
    9729                 :             :                               }
    9730                 :             :                         }
    9731                 :             :                       break;
    9732                 :      644641 :                     default:;
    9733                 :             :                     }
    9734                 :      644641 :                   switch (TREE_CODE (_p1))
    9735                 :             :                     {
    9736                 :      153603 :                     case SSA_NAME:
    9737                 :      153603 :                       if (gimple *_d2 = get_def (valueize, _p1))
    9738                 :             :                         {
    9739                 :      144321 :                           if (gassign *_a2 = dyn_cast <gassign *> (_d2))
    9740                 :      165974 :                             switch (gimple_assign_rhs_code (_a2))
    9741                 :             :                               {
    9742                 :       39088 :                               CASE_CONVERT:
    9743                 :       39088 :                                 {
    9744                 :       39088 :                                   tree _q40 = gimple_assign_rhs1 (_a2);
    9745                 :       39088 :                                   _q40 = do_valueize (valueize, _q40);
    9746                 :       39088 :                                   switch (TREE_CODE (_q40))
    9747                 :             :                                     {
    9748                 :       22751 :                                     case SSA_NAME:
    9749                 :       22751 :                                       if (gimple *_d3 = get_def (valueize, _q40))
    9750                 :             :                                         {
    9751                 :       22580 :                                           if (gassign *_a3 = dyn_cast <gassign *> (_d3))
    9752                 :       30429 :                                             switch (gimple_assign_rhs_code (_a3))
    9753                 :             :                                               {
    9754                 :          37 :                                               case MINUS_EXPR:
    9755                 :          37 :                                                 {
    9756                 :          37 :                                                   tree _q50 = gimple_assign_rhs1 (_a3);
    9757                 :          37 :                                                   _q50 = do_valueize (valueize, _q50);
    9758                 :          37 :                                                   tree _q51 = gimple_assign_rhs2 (_a3);
    9759                 :          37 :                                                   _q51 = do_valueize (valueize, _q51);
    9760                 :          37 :                                                   switch (TREE_CODE (_q50))
    9761                 :             :                                                     {
    9762                 :           6 :                                                     case INTEGER_CST:
    9763                 :           6 :                                                       {
    9764                 :           6 :                                                         if ((_q51 == _q20 && ! TREE_SIDE_EFFECTS (_q51)) || (operand_equal_p (_q51, _q20, 0) && types_match (_q51, _q20)))
    9765                 :             :                                                           {
    9766                 :           0 :                                                             {
    9767                 :           0 :                                                               tree captures[2] ATTRIBUTE_UNUSED = { _q20, _q50 };
    9768                 :           0 :                                                               if (gimple_simplify_222 (res_op, seq, valueize, type, captures, EQ_EXPR))
    9769                 :           0 :                                                                 return true;
    9770                 :             :                                                             }
    9771                 :             :                                                           }
    9772                 :             :                                                         break;
    9773                 :             :                                                       }
    9774                 :             :                                                     default:;
    9775                 :             :                                                     }
    9776                 :             :                                                   break;
    9777                 :             :                                                 }
    9778                 :             :                                               default:;
    9779                 :             :                                               }
    9780                 :             :                                         }
    9781                 :             :                                       break;
    9782                 :             :                                     default:;
    9783                 :             :                                     }
    9784                 :             :                                   break;
    9785                 :             :                                 }
    9786                 :         638 :                               case MINUS_EXPR:
    9787                 :         638 :                                 {
    9788                 :         638 :                                   tree _q40 = gimple_assign_rhs1 (_a2);
    9789                 :         638 :                                   _q40 = do_valueize (valueize, _q40);
    9790                 :         638 :                                   tree _q41 = gimple_assign_rhs2 (_a2);
    9791                 :         638 :                                   _q41 = do_valueize (valueize, _q41);
    9792                 :         638 :                                   switch (TREE_CODE (_q40))
    9793                 :             :                                     {
    9794                 :          93 :                                     case INTEGER_CST:
    9795                 :          93 :                                       {
    9796                 :          93 :                                         switch (TREE_CODE (_q41))
    9797                 :             :                                           {
    9798                 :          93 :                                           case SSA_NAME:
    9799                 :          93 :                                             if (gimple *_d3 = get_def (valueize, _q41))
    9800                 :             :                                               {
    9801                 :          77 :                                                 if (gassign *_a3 = dyn_cast <gassign *> (_d3))
    9802                 :          21 :                                                   switch (gimple_assign_rhs_code (_a3))
    9803                 :             :                                                     {
    9804                 :           9 :                                                     CASE_CONVERT:
    9805                 :           9 :                                                       {
    9806                 :           9 :                                                         tree _q60 = gimple_assign_rhs1 (_a3);
    9807                 :           9 :                                                         _q60 = do_valueize (valueize, _q60);
    9808                 :           9 :                                                         if ((_q60 == _q20 && ! TREE_SIDE_EFFECTS (_q60)) || (operand_equal_p (_q60, _q20, 0) && types_match (_q60, _q20)))
    9809                 :             :                                                           {
    9810                 :           0 :                                                             {
    9811                 :           0 :                                                               tree captures[2] ATTRIBUTE_UNUSED = { _q20, _q40 };
    9812                 :           0 :                                                               if (gimple_simplify_222 (res_op, seq, valueize, type, captures, EQ_EXPR))
    9813                 :           0 :                                                                 return true;
    9814                 :             :                                                             }
    9815                 :             :                                                           }
    9816                 :             :                                                         break;
    9817                 :             :                                                       }
    9818                 :             :                                                     default:;
    9819                 :             :                                                     }
    9820                 :             :                                               }
    9821                 :             :                                             break;
    9822                 :          93 :                                           default:;
    9823                 :             :                                           }
    9824                 :          93 :                                         if ((_q41 == _q20 && ! TREE_SIDE_EFFECTS (_q41)) || (operand_equal_p (_q41, _q20, 0) && types_match (_q41, _q20)))
    9825                 :             :                                           {
    9826                 :           0 :                                             {
    9827                 :           0 :                                               tree captures[2] ATTRIBUTE_UNUSED = { _q20, _q40 };
    9828                 :           0 :                                               if (gimple_simplify_222 (res_op, seq, valueize, type, captures, EQ_EXPR))
    9829                 :           0 :                                                 return true;
    9830                 :             :                                             }
    9831                 :             :                                           }
    9832                 :             :                                         break;
    9833                 :             :                                       }
    9834                 :             :                                     default:;
    9835                 :             :                                     }
    9836                 :             :                                   break;
    9837                 :             :                                 }
    9838                 :             :                               default:;
    9839                 :             :                               }
    9840                 :             :                         }
    9841                 :             :                       break;
    9842                 :             :                     default:;
    9843                 :             :                     }
    9844                 :             :                   break;
    9845                 :             :                 }
    9846                 :      174699 :               case MINUS_EXPR:
    9847                 :      174699 :                 {
    9848                 :      174699 :                   tree _q20 = gimple_assign_rhs1 (_a1);
    9849                 :      174699 :                   _q20 = do_valueize (valueize, _q20);
    9850                 :      174699 :                   tree _q21 = gimple_assign_rhs2 (_a1);
    9851                 :      174699 :                   _q21 = do_valueize (valueize, _q21);
    9852                 :      174699 :                   switch (TREE_CODE (_q20))
    9853                 :             :                     {
    9854                 :       11709 :                     case INTEGER_CST:
    9855                 :       11709 :                       {
    9856                 :       11709 :                         switch (TREE_CODE (_q21))
    9857                 :             :                           {
    9858                 :       11709 :                           case SSA_NAME:
    9859                 :       11709 :                             if (gimple *_d2 = get_def (valueize, _q21))
    9860                 :             :                               {
    9861                 :        9629 :                                 if (gassign *_a2 = dyn_cast <gassign *> (_d2))
    9862                 :        6697 :                                   switch (gimple_assign_rhs_code (_a2))
    9863                 :             :                                     {
    9864                 :        3653 :                                     CASE_CONVERT:
    9865                 :        3653 :                                       {
    9866                 :        3653 :                                         tree _q40 = gimple_assign_rhs1 (_a2);
    9867                 :        3653 :                                         _q40 = do_valueize (valueize, _q40);
    9868                 :        3653 :                                         switch (TREE_CODE (_p1))
    9869                 :             :                                           {
    9870                 :         411 :                                           case SSA_NAME:
    9871                 :         411 :                                             if (gimple *_d3 = get_def (valueize, _p1))
    9872                 :             :                                               {
    9873                 :         411 :                                                 if (gassign *_a3 = dyn_cast <gassign *> (_d3))
    9874                 :         427 :                                                   switch (gimple_assign_rhs_code (_a3))
    9875                 :             :                                                     {
    9876                 :           0 :                                                     CASE_CONVERT:
    9877                 :           0 :                                                       {
    9878                 :           0 :                                                         tree _q60 = gimple_assign_rhs1 (_a3);
    9879                 :           0 :                                                         _q60 = do_valueize (valueize, _q60);
    9880                 :           0 :                                                         if ((_q60 == _q40 && ! TREE_SIDE_EFFECTS (_q60)) || (operand_equal_p (_q60, _q40, 0) && types_match (_q60, _q40)))
    9881                 :             :                                                           {
    9882                 :           0 :                                                             {
    9883                 :           0 :                                                               tree captures[2] ATTRIBUTE_UNUSED = { _q40, _q20 };
    9884                 :           0 :                                                               if (gimple_simplify_222 (res_op, seq, valueize, type, captures, EQ_EXPR))
    9885                 :           0 :                                                                 return true;
    9886                 :             :                                                             }
    9887                 :             :                                                           }
    9888                 :             :                                                         break;
    9889                 :             :                                                       }
    9890                 :             :                                                     default:;
    9891                 :             :                                                     }
    9892                 :             :                                               }
    9893                 :             :                                             break;
    9894                 :        3653 :                                           default:;
    9895                 :             :                                           }
    9896                 :        3653 :                                         if ((_p1 == _q40 && ! TREE_SIDE_EFFECTS (_p1)) || (operand_equal_p (_p1, _q40, 0) && types_match (_p1, _q40)))
    9897                 :             :                                           {
    9898                 :           0 :                                             {
    9899                 :           0 :                                               tree captures[2] ATTRIBUTE_UNUSED = { _q40, _q20 };
    9900                 :           0 :                                               if (gimple_simplify_222 (res_op, seq, valueize, type, captures, EQ_EXPR))
    9901                 :           0 :                                                 return true;
    9902                 :             :                                             }
    9903                 :             :                                           }
    9904                 :             :                                         break;
    9905                 :             :                                       }
    9906                 :             :                                     default:;
    9907                 :             :                                     }
    9908                 :             :                               }
    9909                 :             :                             break;
    9910                 :       11709 :                           default:;
    9911                 :             :                           }
    9912                 :       11709 :                         switch (TREE_CODE (_p1))
    9913                 :             :                           {
    9914                 :        1342 :                           case SSA_NAME:
    9915                 :        1342 :                             if (gimple *_d2 = get_def (valueize, _p1))
    9916                 :             :                               {
    9917                 :        1218 :                                 if (gassign *_a2 = dyn_cast <gassign *> (_d2))
    9918                 :         736 :                                   switch (gimple_assign_rhs_code (_a2))
    9919                 :             :                                     {
    9920                 :           5 :                                     CASE_CONVERT:
    9921                 :           5 :                                       {
    9922                 :           5 :                                         tree _q50 = gimple_assign_rhs1 (_a2);
    9923                 :           5 :                                         _q50 = do_valueize (valueize, _q50);
    9924                 :           5 :                                         if ((_q50 == _q21 && ! TREE_SIDE_EFFECTS (_q50)) || (operand_equal_p (_q50, _q21, 0) && types_match (_q50, _q21)))
    9925                 :             :                                           {
    9926                 :           0 :                                             {
    9927                 :           0 :                                               tree captures[2] ATTRIBUTE_UNUSED = { _q21, _q20 };
    9928                 :           0 :                                               if (gimple_simplify_222 (res_op, seq, valueize, type, captures, EQ_EXPR))
    9929                 :           0 :                                                 return true;
    9930                 :             :                                             }
    9931                 :             :                                           }
    9932                 :             :                                         break;
    9933                 :             :                                       }
    9934                 :             :                                     default:;
    9935                 :             :                                     }
    9936                 :             :                               }
    9937                 :             :                             break;
    9938                 :       11709 :                           default:;
    9939                 :             :                           }
    9940                 :       11709 :                         if ((_p1 == _q21 && ! TREE_SIDE_EFFECTS (_p1)) || (operand_equal_p (_p1, _q21, 0) && types_match (_p1, _q21)))
    9941                 :             :                           {
    9942                 :           0 :                             {
    9943                 :           0 :                               tree captures[2] ATTRIBUTE_UNUSED = { _q21, _q20 };
    9944                 :           0 :                               if (gimple_simplify_222 (res_op, seq, valueize, type, captures, EQ_EXPR))
    9945                 :           0 :                                 return true;
    9946                 :             :                             }
    9947                 :             :                           }
    9948                 :             :                         break;
    9949                 :             :                       }
    9950                 :             :                     default:;
    9951                 :             :                     }
    9952                 :             :                   break;
    9953                 :             :                 }
    9954                 :             :               default:;
    9955                 :             :               }
    9956                 :             :         }
    9957                 :             :       break;
    9958                 :    69643337 :     default:;
    9959                 :             :     }
    9960                 :    69643337 :   switch (TREE_CODE (_p1))
    9961                 :             :     {
    9962                 :    12143154 :     case SSA_NAME:
    9963                 :    12143154 :       if (gimple *_d1 = get_def (valueize, _p1))
    9964                 :             :         {
    9965                 :     3879262 :           if (gassign *_a1 = dyn_cast <gassign *> (_d1))
    9966                 :     6058182 :             switch (gimple_assign_rhs_code (_a1))
    9967                 :             :               {
    9968                 :      162900 :               CASE_CONVERT:
    9969                 :      162900 :                 {
    9970                 :      162900 :                   tree _q30 = gimple_assign_rhs1 (_a1);
    9971                 :      162900 :                   _q30 = do_valueize (valueize, _q30);
    9972                 :      162900 :                   switch (TREE_CODE (_q30))
    9973                 :             :                     {
    9974                 :      141995 :                     case SSA_NAME:
    9975                 :      141995 :                       if (gimple *_d2 = get_def (valueize, _q30))
    9976                 :             :                         {
    9977                 :      138587 :                           if (gassign *_a2 = dyn_cast <gassign *> (_d2))
    9978                 :      164695 :                             switch (gimple_assign_rhs_code (_a2))
    9979                 :             :                               {
    9980                 :        3683 :                               case MINUS_EXPR:
    9981                 :        3683 :                                 {
    9982                 :        3683 :                                   tree _q40 = gimple_assign_rhs1 (_a2);
    9983                 :        3683 :                                   _q40 = do_valueize (valueize, _q40);
    9984                 :        3683 :                                   tree _q41 = gimple_assign_rhs2 (_a2);
    9985                 :        3683 :                                   _q41 = do_valueize (valueize, _q41);
    9986                 :        3683 :                                   switch (TREE_CODE (_q40))
    9987                 :             :                                     {
    9988                 :          84 :                                     case INTEGER_CST:
    9989                 :          84 :                                       {
    9990                 :          84 :                                         switch (TREE_CODE (_q41))
    9991                 :             :                                           {
    9992                 :          84 :                                           case SSA_NAME:
    9993                 :          84 :                                             if (gimple *_d3 = get_def (valueize, _q41))
    9994                 :             :                                               {
    9995                 :          77 :                                                 if (gassign *_a3 = dyn_cast <gassign *> (_d3))
    9996                 :          27 :                                                   switch (gimple_assign_rhs_code (_a3))
    9997                 :             :                                                     {
    9998                 :          23 :                                                     CASE_CONVERT:
    9999                 :          23 :                                                       {
   10000                 :          23 :                                                         tree _q60 = gimple_assign_rhs1 (_a3);
   10001                 :          23 :                                                         _q60 = do_valueize (valueize, _q60);
   10002                 :          23 :                                                         if ((_q60 == _p0 && ! TREE_SIDE_EFFECTS (_q60)) || (operand_equal_p (_q60, _p0, 0) && types_match (_q60, _p0)))
   10003                 :             :                                                           {
   10004                 :           0 :                                                             {
   10005                 :           0 :                                                               tree captures[2] ATTRIBUTE_UNUSED = { _p0, _q40 };
   10006                 :           0 :                                                               if (gimple_simplify_222 (res_op, seq, valueize, type, captures, EQ_EXPR))
   10007                 :           0 :                                                                 return true;
   10008                 :             :                                                             }
   10009                 :             :                                                           }
   10010                 :             :                                                         break;
   10011                 :             :                                                       }
   10012                 :             :                                                     default:;
   10013                 :             :                                                     }
   10014                 :             :                                               }
   10015                 :             :                                             break;
   10016                 :          84 :                                           default:;
   10017                 :             :                                           }
   10018                 :          84 :                                         if ((_q41 == _p0 && ! TREE_SIDE_EFFECTS (_q41)) || (operand_equal_p (_q41, _p0, 0) && types_match (_q41, _p0)))
   10019                 :             :                                           {
   10020                 :           0 :                                             {
   10021                 :           0 :                                               tree captures[2] ATTRIBUTE_UNUSED = { _p0, _q40 };
   10022                 :           0 :                                               if (gimple_simplify_222 (res_op, seq, valueize, type, captures, EQ_EXPR))
   10023                 :           0 :                                                 return true;
   10024                 :             :                                             }
   10025                 :             :                                           }
   10026                 :             :                                         break;
   10027                 :             :                                       }
   10028                 :             :                                     default:;
   10029                 :             :                                     }
   10030                 :             :                                   break;
   10031                 :             :                                 }
   10032                 :             :                               default:;
   10033                 :             :                               }
   10034                 :             :                         }
   10035                 :             :                       break;
   10036                 :             :                     default:;
   10037                 :             :                     }
   10038                 :             :                   break;
   10039                 :             :                 }
   10040                 :       13335 :               case MINUS_EXPR:
   10041                 :       13335 :                 {
   10042                 :       13335 :                   tree _q30 = gimple_assign_rhs1 (_a1);
   10043                 :       13335 :                   _q30 = do_valueize (valueize, _q30);
   10044                 :       13335 :                   tree _q31 = gimple_assign_rhs2 (_a1);
   10045                 :       13335 :                   _q31 = do_valueize (valueize, _q31);
   10046                 :       13335 :                   switch (TREE_CODE (_q30))
   10047                 :             :                     {
   10048                 :         522 :                     case INTEGER_CST:
   10049                 :         522 :                       {
   10050                 :         522 :                         switch (TREE_CODE (_q31))
   10051                 :             :                           {
   10052                 :         522 :                           case SSA_NAME:
   10053                 :         522 :                             if (gimple *_d2 = get_def (valueize, _q31))
   10054                 :             :                               {
   10055                 :         467 :                                 if (gassign *_a2 = dyn_cast <gassign *> (_d2))
   10056                 :         226 :                                   switch (gimple_assign_rhs_code (_a2))
   10057                 :             :                                     {
   10058                 :         168 :                                     CASE_CONVERT:
   10059                 :         168 :                                       {
   10060                 :         168 :                                         tree _q50 = gimple_assign_rhs1 (_a2);
   10061                 :         168 :                                         _q50 = do_valueize (valueize, _q50);
   10062                 :         168 :                                         if ((_q50 == _p0 && ! TREE_SIDE_EFFECTS (_q50)) || (operand_equal_p (_q50, _p0, 0) && types_match (_q50, _p0)))
   10063                 :             :                                           {
   10064                 :           0 :                                             {
   10065                 :           0 :                                               tree captures[2] ATTRIBUTE_UNUSED = { _p0, _q30 };
   10066                 :           0 :                                               if (gimple_simplify_222 (res_op, seq, valueize, type, captures, EQ_EXPR))
   10067                 :           0 :                                                 return true;
   10068                 :             :                                             }
   10069                 :             :                                           }
   10070                 :             :                                         break;
   10071                 :             :                                       }
   10072                 :             :                                     default:;
   10073                 :             :                                     }
   10074                 :             :                               }
   10075                 :             :                             break;
   10076                 :         522 :                           default:;
   10077                 :             :                           }
   10078                 :         522 :                         if ((_q31 == _p0 && ! TREE_SIDE_EFFECTS (_q31)) || (operand_equal_p (_q31, _p0, 0) && types_match (_q31, _p0)))
   10079                 :             :                           {
   10080                 :          40 :                             {
   10081                 :          40 :                               tree captures[2] ATTRIBUTE_UNUSED = { _p0, _q30 };
   10082                 :          40 :                               if (gimple_simplify_222 (res_op, seq, valueize, type, captures, EQ_EXPR))
   10083                 :           8 :                                 return true;
   10084                 :             :                             }
   10085                 :             :                           }
   10086                 :             :                         break;
   10087                 :             :                       }
   10088                 :             :                     default:;
   10089                 :             :                     }
   10090                 :             :                   break;
   10091                 :             :                 }
   10092                 :             :               default:;
   10093                 :             :               }
   10094                 :             :         }
   10095                 :             :       break;
   10096                 :    69643329 :     default:;
   10097                 :             :     }
   10098                 :    69643329 :   switch (TREE_CODE (_p0))
   10099                 :             :     {
   10100                 :    66443227 :     case SSA_NAME:
   10101                 :    66443227 :       if (gimple *_d1 = get_def (valueize, _p0))
   10102                 :             :         {
   10103                 :    22640609 :           if (gassign *_a1 = dyn_cast <gassign *> (_d1))
   10104                 :    26796309 :             switch (gimple_assign_rhs_code (_a1))
   10105                 :             :               {
   10106                 :        1233 :               case LT_EXPR:
   10107                 :        1233 :                 {
   10108                 :        1233 :                   tree _q20 = gimple_assign_rhs1 (_a1);
   10109                 :        1233 :                   _q20 = do_valueize (valueize, _q20);
   10110                 :        1233 :                   tree _q21 = gimple_assign_rhs2 (_a1);
   10111                 :        1233 :                   _q21 = do_valueize (valueize, _q21);
   10112                 :        1233 :                   switch (TREE_CODE (_p1))
   10113                 :             :                     {
   10114                 :         398 :                     case SSA_NAME:
   10115                 :         398 :                       if (gimple *_d2 = get_def (valueize, _p1))
   10116                 :             :                         {
   10117                 :         396 :                           if (gassign *_a2 = dyn_cast <gassign *> (_d2))
   10118                 :         386 :                             switch (gimple_assign_rhs_code (_a2))
   10119                 :             :                               {
   10120                 :          36 :                               case GT_EXPR:
   10121                 :          36 :                                 {
   10122                 :          36 :                                   tree _q50 = gimple_assign_rhs1 (_a2);
   10123                 :          36 :                                   _q50 = do_valueize (valueize, _q50);
   10124                 :          36 :                                   tree _q51 = gimple_assign_rhs2 (_a2);
   10125                 :          36 :                                   _q51 = do_valueize (valueize, _q51);
   10126                 :          36 :                                   if ((_q50 == _q20 && ! TREE_SIDE_EFFECTS (_q50)) || (operand_equal_p (_q50, _q20, 0) && types_match (_q50, _q20)))
   10127                 :             :                                     {
   10128                 :          16 :                                       if ((_q51 == _q21 && ! TREE_SIDE_EFFECTS (_q51)) || (operand_equal_p (_q51, _q21, 0) && types_match (_q51, _q21)))
   10129                 :             :                                         {
   10130                 :          16 :                                           {
   10131                 :          16 :                                             tree captures[2] ATTRIBUTE_UNUSED = { _q20, _q21 };
   10132                 :          16 :                                             if (gimple_simplify_224 (res_op, seq, valueize, type, captures, LT_EXPR, GT_EXPR, EQ_EXPR))
   10133                 :          16 :                                               return true;
   10134                 :             :                                           }
   10135                 :           0 :                                           {
   10136                 :           0 :                                             tree captures[2] ATTRIBUTE_UNUSED = { _q21, _q20 };
   10137                 :           0 :                                             if (gimple_simplify_224 (res_op, seq, valueize, type, captures, LT_EXPR, GT_EXPR, EQ_EXPR))
   10138                 :           0 :                                               return true;
   10139                 :             :                                           }
   10140                 :             :                                         }
   10141                 :             :                                     }
   10142                 :             :                                   break;
   10143                 :             :                                 }
   10144                 :          16 :                               case EQ_EXPR:
   10145                 :          16 :                                 {
   10146                 :          16 :                                   tree _q50 = gimple_assign_rhs1 (_a2);
   10147                 :          16 :                                   _q50 = do_valueize (valueize, _q50);
   10148                 :          16 :                                   tree _q51 = gimple_assign_rhs2 (_a2);
   10149                 :          16 :                                   _q51 = do_valueize (valueize, _q51);
   10150                 :          16 :                                   if (tree_swap_operands_p (_q50, _q51))
   10151                 :           0 :                                     std::swap (_q50, _q51);
   10152                 :          16 :                                   if ((_q50 == _q20 && ! TREE_SIDE_EFFECTS (_q50)) || (operand_equal_p (_q50, _q20, 0) && types_match (_q50, _q20)))
   10153                 :             :                                     {
   10154                 :          16 :                                       if ((_q51 == _q21 && ! TREE_SIDE_EFFECTS (_q51)) || (operand_equal_p (_q51, _q21, 0) && types_match (_q51, _q21)))
   10155                 :             :                                         {
   10156                 :          16 :                                           {
   10157                 :          16 :                                             tree captures[2] ATTRIBUTE_UNUSED = { _q20, _q21 };
   10158                 :          16 :                                             if (gimple_simplify_224 (res_op, seq, valueize, type, captures, LT_EXPR, EQ_EXPR, GT_EXPR))
   10159                 :          16 :                                               return true;
   10160                 :             :                                           }
   10161                 :             :                                         }
   10162                 :             :                                     }
   10163                 :           0 :                                   if ((_q50 == _q21 && ! TREE_SIDE_EFFECTS (_q50)) || (operand_equal_p (_q50, _q21, 0) && types_match (_q50, _q21)))
   10164                 :             :                                     {
   10165                 :           0 :                                       if ((_q51 == _q20 && ! TREE_SIDE_EFFECTS (_q51)) || (operand_equal_p (_q51, _q20, 0) && types_match (_q51, _q20)))
   10166                 :             :                                         {
   10167                 :           0 :                                           {
   10168                 :           0 :                                             tree captures[2] ATTRIBUTE_UNUSED = { _q20, _q21 };
   10169                 :           0 :                                             if (gimple_simplify_224 (res_op, seq, valueize, type, captures, LT_EXPR, EQ_EXPR, GT_EXPR))
   10170                 :           0 :                                               return true;
   10171                 :             :                                           }
   10172                 :             :                                         }
   10173                 :             :                                     }
   10174                 :    69634201 :                                   break;
   10175                 :             :                                 }
   10176                 :          28 :                               case NE_EXPR:
   10177                 :          28 :                                 {
   10178                 :          28 :                                   tree _q50 = gimple_assign_rhs1 (_a2);
   10179                 :          28 :                                   _q50 = do_valueize (valueize, _q50);
   10180                 :          28 :                                   tree _q51 = gimple_assign_rhs2 (_a2);
   10181                 :          28 :                                   _q51 = do_valueize (valueize, _q51);
   10182                 :          28 :                                   if (tree_swap_operands_p (_q50, _q51))
   10183                 :           0 :                                     std::swap (_q50, _q51);
   10184                 :          28 :                                   if ((_q50 == _q20 && ! TREE_SIDE_EFFECTS (_q50)) || (operand_equal_p (_q50, _q20, 0) && types_match (_q50, _q20)))
   10185                 :             :                                     {
   10186                 :          16 :                                       if ((_q51 == _q21 && ! TREE_SIDE_EFFECTS (_q51)) || (operand_equal_p (_q51, _q21, 0) && types_match (_q51, _q21)))
   10187                 :             :                                         {
   10188                 :          16 :                                           {
   10189                 :          16 :                                             tree captures[2] ATTRIBUTE_UNUSED = { _q20, _q21 };
   10190                 :          16 :                                             if (gimple_simplify_224 (res_op, seq, valueize, type, captures, LT_EXPR, NE_EXPR, LE_EXPR))
   10191                 :          16 :                                               return true;
   10192                 :             :                                           }
   10193                 :             :                                         }
   10194                 :             :                                     }
   10195                 :          12 :                                   if ((_q50 == _q21 && ! TREE_SIDE_EFFECTS (_q50)) || (operand_equal_p (_q50, _q21, 0) && types_match (_q50, _q21)))
   10196                 :             :                                     {
   10197                 :           0 :                                       if ((_q51 == _q20 && ! TREE_SIDE_EFFECTS (_q51)) || (operand_equal_p (_q51, _q20, 0) && types_match (_q51, _q20)))
   10198                 :             :                                         {
   10199                 :           0 :                                           {
   10200                 :           0 :                                             tree captures[2] ATTRIBUTE_UNUSED = { _q20, _q21 };
   10201                 :           0 :                                             if (gimple_simplify_224 (res_op, seq, valueize, type, captures, LT_EXPR, NE_EXPR, LE_EXPR))
   10202                 :           0 :                                               return true;
   10203                 :             :                                           }
   10204                 :             :                                         }
   10205                 :             :                                     }
   10206                 :    69634201 :                                   break;
   10207                 :             :                                 }
   10208                 :          82 :                               case LT_EXPR:
   10209                 :          82 :                                 {
   10210                 :          82 :                                   tree _q50 = gimple_assign_rhs1 (_a2);
   10211                 :          82 :                                   _q50 = do_valueize (valueize, _q50);
   10212                 :          82 :                                   tree _q51 = gimple_assign_rhs2 (_a2);
   10213                 :          82 :                                   _q51 = do_valueize (valueize, _q51);
   10214                 :          82 :                                   if ((_q50 == _q21 && ! TREE_SIDE_EFFECTS (_q50)) || (operand_equal_p (_q50, _q21, 0) && types_match (_q50, _q21)))
   10215                 :             :                                     {
   10216                 :           0 :                                       if ((_q51 == _q20 && ! TREE_SIDE_EFFECTS (_q51)) || (operand_equal_p (_q51, _q20, 0) && types_match (_q51, _q20)))
   10217                 :             :                                         {
   10218                 :           0 :                                           {
   10219                 :           0 :                                             tree captures[2] ATTRIBUTE_UNUSED = { _q20, _q21 };
   10220                 :           0 :                                             if (gimple_simplify_224 (res_op, seq, valueize, type, captures, LT_EXPR, GT_EXPR, EQ_EXPR))
   10221                 :           0 :                                               return true;
   10222                 :             :                                           }
   10223                 :           0 :                                           {
   10224                 :           0 :                                             tree captures[2] ATTRIBUTE_UNUSED = { _q21, _q20 };
   10225                 :           0 :                                             if (gimple_simplify_224 (res_op, seq, valueize, type, captures, LT_EXPR, GT_EXPR, EQ_EXPR))
   10226                 :           0 :                                               return true;
   10227                 :             :                                           }
   10228                 :             :                                         }
   10229                 :             :                                     }
   10230                 :             :                                   break;
   10231                 :             :                                 }
   10232                 :             :                               default:;
   10233                 :             :                               }
   10234                 :             :                         }
   10235                 :             :                       break;
   10236                 :             :                     default:;
   10237                 :             :                     }
   10238                 :             :                   break;
   10239                 :             :                 }
   10240                 :         815 :               case LE_EXPR:
   10241                 :         815 :                 {
   10242                 :         815 :                   tree _q20 = gimple_assign_rhs1 (_a1);
   10243                 :         815 :                   _q20 = do_valueize (valueize, _q20);
   10244                 :         815 :                   tree _q21 = gimple_assign_rhs2 (_a1);
   10245                 :         815 :                   _q21 = do_valueize (valueize, _q21);
   10246                 :         815 :                   switch (TREE_CODE (_p1))
   10247                 :             :                     {
   10248                 :         523 :                     case SSA_NAME:
   10249                 :         523 :                       if (gimple *_d2 = get_def (valueize, _p1))
   10250                 :             :                         {
   10251                 :         523 :                           if (gassign *_a2 = dyn_cast <gassign *> (_d2))
   10252                 :         506 :                             switch (gimple_assign_rhs_code (_a2))
   10253                 :             :                               {
   10254                 :          58 :                               case GE_EXPR:
   10255                 :          58 :                                 {
   10256                 :          58 :                                   tree _q50 = gimple_assign_rhs1 (_a2);
   10257                 :          58 :                                   _q50 = do_valueize (valueize, _q50);
   10258                 :          58 :                                   tree _q51 = gimple_assign_rhs2 (_a2);
   10259                 :          58 :                                   _q51 = do_valueize (valueize, _q51);
   10260                 :          58 :                                   if ((_q50 == _q20 && ! TREE_SIDE_EFFECTS (_q50)) || (operand_equal_p (_q50, _q20, 0) && types_match (_q50, _q20)))
   10261                 :             :                                     {
   10262                 :          16 :                                       if ((_q51 == _q21 && ! TREE_SIDE_EFFECTS (_q51)) || (operand_equal_p (_q51, _q21, 0) && types_match (_q51, _q21)))
   10263                 :             :                                         {
   10264                 :          16 :                                           {
   10265                 :          16 :                                             tree captures[2] ATTRIBUTE_UNUSED = { _q20, _q21 };
   10266                 :          16 :                                             if (gimple_simplify_224 (res_op, seq, valueize, type, captures, LE_EXPR, GE_EXPR, EQ_EXPR))
   10267                 :          16 :                                               return true;
   10268                 :             :                                           }
   10269                 :           0 :                                           {
   10270                 :           0 :                                             tree captures[2] ATTRIBUTE_UNUSED = { _q21, _q20 };
   10271                 :           0 :                                             if (gimple_simplify_224 (res_op, seq, valueize, type, captures, LE_EXPR, GE_EXPR, EQ_EXPR))
   10272                 :           0 :                                               return true;
   10273                 :             :                                           }
   10274                 :             :                                         }
   10275                 :             :                                     }
   10276                 :             :                                   break;
   10277                 :             :                                 }
   10278                 :          16 :                               case EQ_EXPR:
   10279                 :          16 :                                 {
   10280                 :          16 :                                   tree _q50 = gimple_assign_rhs1 (_a2);
   10281                 :          16 :                                   _q50 = do_valueize (valueize, _q50);
   10282                 :          16 :                                   tree _q51 = gimple_assign_rhs2 (_a2);
   10283                 :          16 :                                   _q51 = do_valueize (valueize, _q51);
   10284                 :          16 :                                   if (tree_swap_operands_p (_q50, _q51))
   10285                 :           0 :                                     std::swap (_q50, _q51);
   10286                 :          16 :                                   if ((_q50 == _q20 && ! TREE_SIDE_EFFECTS (_q50)) || (operand_equal_p (_q50, _q20, 0) && types_match (_q50, _q20)))
   10287                 :             :                                     {
   10288                 :          16 :                                       if ((_q51 == _q21 && ! TREE_SIDE_EFFECTS (_q51)) || (operand_equal_p (_q51, _q21, 0) && types_match (_q51, _q21)))
   10289                 :             :                                         {
   10290                 :          16 :                                           {
   10291                 :          16 :                                             tree captures[2] ATTRIBUTE_UNUSED = { _q20, _q21 };
   10292                 :          16 :                                             if (gimple_simplify_224 (res_op, seq, valueize, type, captures, LE_EXPR, EQ_EXPR, GE_EXPR))
   10293                 :          16 :                                               return true;
   10294                 :             :                                           }
   10295                 :             :                                         }
   10296                 :             :                                     }
   10297                 :           0 :                                   if ((_q50 == _q21 && ! TREE_SIDE_EFFECTS (_q50)) || (operand_equal_p (_q50, _q21, 0) && types_match (_q50, _q21)))
   10298                 :             :                                     {
   10299                 :           0 :                                       if ((_q51 == _q20 && ! TREE_SIDE_EFFECTS (_q51)) || (operand_equal_p (_q51, _q20, 0) && types_match (_q51, _q20)))
   10300                 :             :                                         {
   10301                 :           0 :                                           {
   10302                 :           0 :                                             tree captures[2] ATTRIBUTE_UNUSED = { _q20, _q21 };
   10303                 :           0 :                                             if (gimple_simplify_224 (res_op, seq, valueize, type, captures, LE_EXPR, EQ_EXPR, GE_EXPR))
   10304                 :           0 :                                               return true;
   10305                 :             :                                           }
   10306                 :             :                                         }
   10307                 :             :                                     }
   10308                 :    69634201 :                                   break;
   10309                 :             :                                 }
   10310                 :          16 :                               case NE_EXPR:
   10311                 :          16 :                                 {
   10312                 :          16 :                                   tree _q50 = gimple_assign_rhs1 (_a2);
   10313                 :          16 :                                   _q50 = do_valueize (valueize, _q50);
   10314                 :          16 :                                   tree _q51 = gimple_assign_rhs2 (_a2);
   10315                 :          16 :                                   _q51 = do_valueize (valueize, _q51);
   10316                 :          16 :                                   if (tree_swap_operands_p (_q50, _q51))
   10317                 :           0 :                                     std::swap (_q50, _q51);
   10318                 :          16 :                                   if ((_q50 == _q20 && ! TREE_SIDE_EFFECTS (_q50)) || (operand_equal_p (_q50, _q20, 0) && types_match (_q50, _q20)))
   10319                 :             :                                     {
   10320                 :          16 :                                       if ((_q51 == _q21 && ! TREE_SIDE_EFFECTS (_q51)) || (operand_equal_p (_q51, _q21, 0) && types_match (_q51, _q21)))
   10321                 :             :                                         {
   10322                 :          16 :                                           {
   10323                 :          16 :                                             tree captures[2] ATTRIBUTE_UNUSED = { _q20, _q21 };
   10324                 :          16 :                                             if (gimple_simplify_224 (res_op, seq, valueize, type, captures, LE_EXPR, NE_EXPR, LT_EXPR))
   10325                 :          16 :                                               return true;
   10326                 :             :                                           }
   10327                 :             :                                         }
   10328                 :             :                                     }
   10329                 :           0 :                                   if ((_q50 == _q21 && ! TREE_SIDE_EFFECTS (_q50)) || (operand_equal_p (_q50, _q21, 0) && types_match (_q50, _q21)))
   10330                 :             :                                     {
   10331                 :           0 :                                       if ((_q51 == _q20 && ! TREE_SIDE_EFFECTS (_q51)) || (operand_equal_p (_q51, _q20, 0) && types_match (_q51, _q20)))
   10332                 :             :                                         {
   10333                 :           0 :                                           {
   10334                 :           0 :                                             tree captures[2] ATTRIBUTE_UNUSED = { _q20, _q21 };
   10335                 :           0 :                                             if (gimple_simplify_224 (res_op, seq, valueize, type, captures, LE_EXPR, NE_EXPR, LT_EXPR))
   10336                 :           0 :                                               return true;
   10337                 :             :                                           }
   10338                 :             :                                         }
   10339                 :             :                                     }
   10340                 :    69634201 :                                   break;
   10341                 :             :                                 }
   10342                 :          64 :                               case LE_EXPR:
   10343                 :          64 :                                 {
   10344                 :          64 :                                   tree _q50 = gimple_assign_rhs1 (_a2);
   10345                 :          64 :                                   _q50 = do_valueize (valueize, _q50);
   10346                 :          64 :                                   tree _q51 = gimple_assign_rhs2 (_a2);
   10347                 :          64 :                                   _q51 = do_valueize (valueize, _q51);
   10348                 :          64 :                                   if ((_q50 == _q21 && ! TREE_SIDE_EFFECTS (_q50)) || (operand_equal_p (_q50, _q21, 0) && types_match (_q50, _q21)))
   10349                 :             :                                     {
   10350                 :           0 :                                       if ((_q51 == _q20 && ! TREE_SIDE_EFFECTS (_q51)) || (operand_equal_p (_q51, _q20, 0) && types_match (_q51, _q20)))
   10351                 :             :                                         {
   10352                 :           0 :                                           {
   10353                 :           0 :                                             tree captures[2] ATTRIBUTE_UNUSED = { _q20, _q21 };
   10354                 :           0 :                                             if (gimple_simplify_224 (res_op, seq, valueize, type, captures, LE_EXPR, GE_EXPR, EQ_EXPR))
   10355                 :           0 :                                               return true;
   10356                 :             :                                           }
   10357                 :           0 :                                           {
   10358                 :           0 :                                             tree captures[2] ATTRIBUTE_UNUSED = { _q21, _q20 };
   10359                 :           0 :                                             if (gimple_simplify_224 (res_op, seq, valueize, type, captures, LE_EXPR, GE_EXPR, EQ_EXPR))
   10360                 :           0 :                                               return true;
   10361                 :             :                                           }
   10362                 :             :                                         }
   10363                 :             :                                     }
   10364                 :             :                                   break;
   10365                 :             :                                 }
   10366                 :             :                               default:;
   10367                 :             :                               }
   10368                 :             :                         }
   10369                 :             :                       break;
   10370                 :             :                     default:;
   10371                 :             :                     }
   10372                 :             :                   break;
   10373                 :             :                 }
   10374                 :        2199 :               case GT_EXPR:
   10375                 :        2199 :                 {
   10376                 :        2199 :                   tree _q20 = gimple_assign_rhs1 (_a1);
   10377                 :        2199 :                   _q20 = do_valueize (valueize, _q20);
   10378                 :        2199 :                   tree _q21 = gimple_assign_rhs2 (_a1);
   10379                 :        2199 :                   _q21 = do_valueize (valueize, _q21);
   10380                 :        2199 :                   switch (TREE_CODE (_p1))
   10381                 :             :                     {
   10382                 :         987 :                     case SSA_NAME:
   10383                 :         987 :                       if (gimple *_d2 = get_def (valueize, _p1))
   10384                 :             :                         {
   10385                 :         979 :                           if (gassign *_a2 = dyn_cast <gassign *> (_d2))
   10386                 :         918 :                             switch (gimple_assign_rhs_code (_a2))
   10387                 :             :                               {
   10388                 :         275 :                               case GT_EXPR:
   10389                 :         275 :                                 {
   10390                 :         275 :                                   tree _q50 = gimple_assign_rhs1 (_a2);
   10391                 :         275 :                                   _q50 = do_valueize (valueize, _q50);
   10392                 :         275 :                                   tree _q51 = gimple_assign_rhs2 (_a2);
   10393                 :         275 :                                   _q51 = do_valueize (valueize, _q51);
   10394                 :         275 :                                   if ((_q50 == _q21 && ! TREE_SIDE_EFFECTS (_q50)) || (operand_equal_p (_q50, _q21, 0) && types_match (_q50, _q21)))
   10395                 :             :                                     {
   10396                 :           0 :                                       if ((_q51 == _q20 && ! TREE_SIDE_EFFECTS (_q51)) || (operand_equal_p (_q51, _q20, 0) && types_match (_q51, _q20)))
   10397                 :             :                                         {
   10398                 :           0 :                                           {
   10399                 :           0 :                                             tree captures[2] ATTRIBUTE_UNUSED = { _q21, _q20 };
   10400                 :           0 :                                             if (gimple_simplify_224 (res_op, seq, valueize, type, captures, LT_EXPR, GT_EXPR, EQ_EXPR))
   10401                 :           0 :                                               return true;
   10402                 :             :                                           }
   10403                 :           0 :                                           {
   10404                 :           0 :                                             tree captures[2] ATTRIBUTE_UNUSED = { _q20, _q21 };
   10405                 :           0 :                                             if (gimple_simplify_224 (res_op, seq, valueize, type, captures, LT_EXPR, GT_EXPR, EQ_EXPR))
   10406                 :           0 :                                               return true;
   10407                 :             :                                           }
   10408                 :             :                                         }
   10409                 :             :                                     }
   10410                 :             :                                   break;
   10411                 :             :                                 }
   10412                 :          94 :                               case EQ_EXPR:
   10413                 :          94 :                                 {
   10414                 :          94 :                                   tree _q50 = gimple_assign_rhs1 (_a2);
   10415                 :          94 :                                   _q50 = do_valueize (valueize, _q50);
   10416                 :          94 :                                   tree _q51 = gimple_assign_rhs2 (_a2);
   10417                 :          94 :                                   _q51 = do_valueize (valueize, _q51);
   10418                 :          94 :                                   if (tree_swap_operands_p (_q50, _q51))
   10419                 :           0 :                                     std::swap (_q50, _q51);
   10420                 :          94 :                                   if ((_q50 == _q21 && ! TREE_SIDE_EFFECTS (_q50)) || (operand_equal_p (_q50, _q21, 0) && types_match (_q50, _q21)))
   10421                 :             :                                     {
   10422                 :           0 :                                       if ((_q51 == _q20 && ! TREE_SIDE_EFFECTS (_q51)) || (operand_equal_p (_q51, _q20, 0) && types_match (_q51, _q20)))
   10423                 :             :                                         {
   10424                 :           0 :                                           {
   10425                 :           0 :                                             tree captures[2] ATTRIBUTE_UNUSED = { _q21, _q20 };
   10426                 :           0 :                                             if (gimple_simplify_224 (res_op, seq, valueize, type, captures, LT_EXPR, EQ_EXPR, GT_EXPR))
   10427                 :           0 :                                               return true;
   10428                 :             :                                           }
   10429                 :             :                                         }
   10430                 :             :                                     }
   10431                 :          94 :                                   if ((_q50 == _q20 && ! TREE_SIDE_EFFECTS (_q50)) || (operand_equal_p (_q50, _q20, 0) && types_match (_q50, _q20)))
   10432                 :             :                                     {
   10433                 :          14 :                                       if ((_q51 == _q21 && ! TREE_SIDE_EFFECTS (_q51)) || (operand_equal_p (_q51, _q21, 0) && types_match (_q51, _q21)))
   10434                 :             :                                         {
   10435                 :          14 :                                           {
   10436                 :          14 :                                             tree captures[2] ATTRIBUTE_UNUSED = { _q21, _q20 };
   10437                 :          14 :                                             if (gimple_simplify_224 (res_op, seq, valueize, type, captures, LT_EXPR, EQ_EXPR, GT_EXPR))
   10438                 :          14 :                                               return true;
   10439                 :             :                                           }
   10440                 :             :                                         }
   10441                 :             :                                     }
   10442                 :    69634201 :                                   break;
   10443                 :             :                                 }
   10444                 :          14 :                               case NE_EXPR:
   10445                 :          14 :                                 {
   10446                 :          14 :                                   tree _q50 = gimple_assign_rhs1 (_a2);
   10447                 :          14 :                                   _q50 = do_valueize (valueize, _q50);
   10448                 :          14 :                                   tree _q51 = gimple_assign_rhs2 (_a2);
   10449                 :          14 :                                   _q51 = do_valueize (valueize, _q51);
   10450                 :          14 :                                   if (tree_swap_operands_p (_q50, _q51))
   10451                 :           0 :                                     std::swap (_q50, _q51);
   10452                 :          14 :                                   if ((_q50 == _q21 && ! TREE_SIDE_EFFECTS (_q50)) || (operand_equal_p (_q50, _q21, 0) && types_match (_q50, _q21)))
   10453                 :             :                                     {
   10454                 :           0 :                                       if ((_q51 == _q20 && ! TREE_SIDE_EFFECTS (_q51)) || (operand_equal_p (_q51, _q20, 0) && types_match (_q51, _q20)))
   10455                 :             :                                         {
   10456                 :           0 :                                           {
   10457                 :           0 :                                             tree captures[2] ATTRIBUTE_UNUSED = { _q21, _q20 };
   10458                 :           0 :                                             if (gimple_simplify_224 (res_op, seq, valueize, type, captures, LT_EXPR, NE_EXPR, LE_EXPR))
   10459                 :           0 :                                               return true;
   10460                 :             :                                           }
   10461                 :             :                                         }
   10462                 :             :                                     }
   10463                 :          14 :                                   if ((_q50 == _q20 && ! TREE_SIDE_EFFECTS (_q50)) || (operand_equal_p (_q50, _q20, 0) && types_match (_q50, _q20)))
   10464                 :             :                                     {
   10465                 :          14 :                                       if ((_q51 == _q21 && ! TREE_SIDE_EFFECTS (_q51)) || (operand_equal_p (_q51, _q21, 0) && types_match (_q51, _q21)))
   10466                 :             :                                         {
   10467                 :          14 :                                           {
   10468                 :          14 :                                             tree captures[2] ATTRIBUTE_UNUSED = { _q21, _q20 };
   10469                 :          14 :                                             if (gimple_simplify_224 (res_op, seq, valueize, type, captures, LT_EXPR, NE_EXPR, LE_EXPR))
   10470                 :          14 :                                               return true;
   10471                 :             :                                           }
   10472                 :             :                                         }
   10473                 :             :                                     }
   10474                 :    69634201 :                                   break;
   10475                 :             :                                 }
   10476                 :         155 :                               case LT_EXPR:
   10477                 :         155 :                                 {
   10478                 :         155 :                                   tree _q50 = gimple_assign_rhs1 (_a2);
   10479                 :         155 :                                   _q50 = do_valueize (valueize, _q50);
   10480                 :         155 :                                   tree _q51 = gimple_assign_rhs2 (_a2);
   10481                 :         155 :                                   _q51 = do_valueize (valueize, _q51);
   10482                 :         155 :                                   if ((_q50 == _q20 && ! TREE_SIDE_EFFECTS (_q50)) || (operand_equal_p (_q50, _q20, 0) && types_match (_q50, _q20)))
   10483                 :             :                                     {
   10484                 :          20 :                                       if ((_q51 == _q21 && ! TREE_SIDE_EFFECTS (_q51)) || (operand_equal_p (_q51, _q21, 0) && types_match (_q51, _q21)))
   10485                 :             :                                         {
   10486                 :          20 :                                           {
   10487                 :          20 :                                             tree captures[2] ATTRIBUTE_UNUSED = { _q21, _q20 };
   10488                 :          20 :                                             if (gimple_simplify_224 (res_op, seq, valueize, type, captures, LT_EXPR, GT_EXPR, EQ_EXPR))
   10489                 :          20 :                                               return true;
   10490                 :             :                                           }
   10491                 :           0 :                                           {
   10492                 :           0 :                                             tree captures[2] ATTRIBUTE_UNUSED = { _q20, _q21 };
   10493                 :           0 :                                             if (gimple_simplify_224 (res_op, seq, valueize, type, captures, LT_EXPR, GT_EXPR, EQ_EXPR))
   10494                 :           0 :                                               return true;
   10495                 :             :                                           }
   10496                 :             :                                         }
   10497                 :             :                                     }
   10498                 :             :                                   break;
   10499                 :             :                                 }
   10500                 :             :                               default:;
   10501                 :             :                               }
   10502                 :             :                         }
   10503                 :             :                       break;
   10504                 :             :                     default:;
   10505                 :             :                     }
   10506                 :             :                   break;
   10507                 :             :                 }
   10508                 :        1143 :               case GE_EXPR:
   10509                 :        1143 :                 {
   10510                 :        1143 :                   tree _q20 = gimple_assign_rhs1 (_a1);
   10511                 :        1143 :                   _q20 = do_valueize (valueize, _q20);
   10512                 :        1143 :                   tree _q21 = gimple_assign_rhs2 (_a1);
   10513                 :        1143 :                   _q21 = do_valueize (valueize, _q21);
   10514                 :        1143 :                   switch (TREE_CODE (_p1))
   10515                 :             :                     {
   10516                 :         907 :                     case SSA_NAME:
   10517                 :         907 :                       if (gimple *_d2 = get_def (valueize, _p1))
   10518                 :             :                         {
   10519                 :         891 :                           if (gassign *_a2 = dyn_cast <gassign *> (_d2))
   10520                 :         817 :                             switch (gimple_assign_rhs_code (_a2))
   10521                 :             :                               {
   10522                 :          94 :                               case GE_EXPR:
   10523                 :          94 :                                 {
   10524                 :          94 :                                   tree _q50 = gimple_assign_rhs1 (_a2);
   10525                 :          94 :                                   _q50 = do_valueize (valueize, _q50);
   10526                 :          94 :                                   tree _q51 = gimple_assign_rhs2 (_a2);
   10527                 :          94 :                                   _q51 = do_valueize (valueize, _q51);
   10528                 :          94 :                                   if ((_q50 == _q21 && ! TREE_SIDE_EFFECTS (_q50)) || (operand_equal_p (_q50, _q21, 0) && types_match (_q50, _q21)))
   10529                 :             :                                     {
   10530                 :           0 :                                       if ((_q51 == _q20 && ! TREE_SIDE_EFFECTS (_q51)) || (operand_equal_p (_q51, _q20, 0) && types_match (_q51, _q20)))
   10531                 :             :                                         {
   10532                 :           0 :                                           {
   10533                 :           0 :                                             tree captures[2] ATTRIBUTE_UNUSED = { _q21, _q20 };
   10534                 :           0 :                                             if (gimple_simplify_224 (res_op, seq, valueize, type, captures, LE_EXPR, GE_EXPR, EQ_EXPR))
   10535                 :           0 :                                               return true;
   10536                 :             :                                           }
   10537                 :           0 :                                           {
   10538                 :           0 :                                             tree captures[2] ATTRIBUTE_UNUSED = { _q20, _q21 };
   10539                 :           0 :                                             if (gimple_simplify_224 (res_op, seq, valueize, type, captures, LE_EXPR, GE_EXPR, EQ_EXPR))
   10540                 :           0 :                                               return true;
   10541                 :             :                                           }
   10542                 :             :                                         }
   10543                 :             :                                     }
   10544                 :             :                                   break;
   10545                 :             :                                 }
   10546                 :         154 :                               case EQ_EXPR:
   10547                 :         154 :                                 {
   10548                 :         154 :                                   tree _q50 = gimple_assign_rhs1 (_a2);
   10549                 :         154 :                                   _q50 = do_valueize (valueize, _q50);
   10550                 :         154 :                                   tree _q51 = gimple_assign_rhs2 (_a2);
   10551                 :         154 :                                   _q51 = do_valueize (valueize, _q51);
   10552                 :         154 :                                   if (tree_swap_operands_p (_q50, _q51))
   10553                 :           0 :                                     std::swap (_q50, _q51);
   10554                 :         154 :                                   if ((_q50 == _q21 && ! TREE_SIDE_EFFECTS (_q50)) || (operand_equal_p (_q50, _q21, 0) && types_match (_q50, _q21)))
   10555                 :             :                                     {
   10556                 :           0 :                                       if ((_q51 == _q20 && ! TREE_SIDE_EFFECTS (_q51)) || (operand_equal_p (_q51, _q20, 0) && types_match (_q51, _q20)))
   10557                 :             :                                         {
   10558                 :           0 :                                           {
   10559                 :           0 :                                             tree captures[2] ATTRIBUTE_UNUSED = { _q21, _q20 };
   10560                 :           0 :                                             if (gimple_simplify_224 (res_op, seq, valueize, type, captures, LE_EXPR, EQ_EXPR, GE_EXPR))
   10561                 :           0 :                                               return true;
   10562                 :             :                                           }
   10563                 :             :                                         }
   10564                 :             :                                     }
   10565                 :         154 :                                   if ((_q50 == _q20 && ! TREE_SIDE_EFFECTS (_q50)) || (operand_equal_p (_q50, _q20, 0) && types_match (_q50, _q20)))
   10566                 :             :                                     {
   10567                 :          14 :                                       if ((_q51 == _q21 && ! TREE_SIDE_EFFECTS (_q51)) || (operand_equal_p (_q51, _q21, 0) && types_match (_q51, _q21)))
   10568                 :             :                                         {
   10569                 :          14 :                                           {
   10570                 :          14 :                                             tree captures[2] ATTRIBUTE_UNUSED = { _q21, _q20 };
   10571                 :          14 :                                             if (gimple_simplify_224 (res_op, seq, valueize, type, captures, LE_EXPR, EQ_EXPR, GE_EXPR))
   10572                 :          14 :                                               return true;
   10573                 :             :                                           }
   10574                 :             :                                         }
   10575                 :             :                                     }
   10576                 :    69634201 :                                   break;
   10577                 :             :                                 }
   10578                 :          14 :                               case NE_EXPR:
   10579                 :          14 :                                 {
   10580                 :          14 :                                   tree _q50 = gimple_assign_rhs1 (_a2);
   10581                 :          14 :                                   _q50 = do_valueize (valueize, _q50);
   10582                 :          14 :                                   tree _q51 = gimple_assign_rhs2 (_a2);
   10583                 :          14 :                                   _q51 = do_valueize (valueize, _q51);
   10584                 :          14 :                                   if (tree_swap_operands_p (_q50, _q51))
   10585                 :           0 :                                     std::swap (_q50, _q51);
   10586                 :          14 :                                   if ((_q50 == _q21 && ! TREE_SIDE_EFFECTS (_q50)) || (operand_equal_p (_q50, _q21, 0) && types_match (_q50, _q21)))
   10587                 :             :                                     {
   10588                 :           0 :                                       if ((_q51 == _q20 && ! TREE_SIDE_EFFECTS (_q51)) || (operand_equal_p (_q51, _q20, 0) && types_match (_q51, _q20)))
   10589                 :             :                                         {
   10590                 :           0 :                                           {
   10591                 :           0 :                                             tree captures[2] ATTRIBUTE_UNUSED = { _q21, _q20 };
   10592                 :           0 :                                             if (gimple_simplify_224 (res_op, seq, valueize, type, captures, LE_EXPR, NE_EXPR, LT_EXPR))
   10593                 :           0 :                                               return true;
   10594                 :             :                                           }
   10595                 :             :                                         }
   10596                 :             :                                     }
   10597                 :          14 :                                   if ((_q50 == _q20 && ! TREE_SIDE_EFFECTS (_q50)) || (operand_equal_p (_q50, _q20, 0) && types_match (_q50, _q20)))
   10598                 :             :                                     {
   10599                 :          14 :                                       if ((_q51 == _q21 && ! TREE_SIDE_EFFECTS (_q51)) || (operand_equal_p (_q51, _q21, 0) && types_match (_q51, _q21)))
   10600                 :             :                                         {
   10601                 :          14 :                                           {
   10602                 :          14 :                                             tree captures[2] ATTRIBUTE_UNUSED = { _q21, _q20 };
   10603                 :          14 :                                             if (gimple_simplify_224 (res_op, seq, valueize, type, captures, LE_EXPR, NE_EXPR, LT_EXPR))
   10604                 :          14 :                                               return true;
   10605                 :             :                                           }
   10606                 :             :                                         }
   10607                 :             :                                     }
   10608                 :    69634201 :                                   break;
   10609                 :             :                                 }
   10610                 :          56 :                               case LE_EXPR:
   10611                 :          56 :                                 {
   10612                 :          56 :                                   tree _q50 = gimple_assign_rhs1 (_a2);
   10613                 :          56 :                                   _q50 = do_valueize (valueize, _q50);
   10614                 :          56 :                                   tree _q51 = gimple_assign_rhs2 (_a2);
   10615                 :          56 :                                   _q51 = do_valueize (valueize, _q51);
   10616                 :          56 :                                   if ((_q50 == _q20 && ! TREE_SIDE_EFFECTS (_q50)) || (operand_equal_p (_q50, _q20, 0) && types_match (_q50, _q20)))
   10617                 :             :                                     {
   10618                 :          14 :                                       if ((_q51 == _q21 && ! TREE_SIDE_EFFECTS (_q51)) || (operand_equal_p (_q51, _q21, 0) && types_match (_q51, _q21)))
   10619                 :             :                                         {
   10620                 :          14 :                                           {
   10621                 :          14 :                                             tree captures[2] ATTRIBUTE_UNUSED = { _q21, _q20 };
   10622                 :          14 :                                             if (gimple_simplify_224 (res_op, seq, valueize, type, captures, LE_EXPR, GE_EXPR, EQ_EXPR))
   10623                 :          14 :                                               return true;
   10624                 :             :                                           }
   10625                 :           0 :                                           {
   10626                 :           0 :                                             tree captures[2] ATTRIBUTE_UNUSED = { _q20, _q21 };
   10627                 :           0 :                                             if (gimple_simplify_224 (res_op, seq, valueize, type, captures, LE_EXPR, GE_EXPR, EQ_EXPR))
   10628                 :           0 :                                               return true;
   10629                 :             :                                           }
   10630                 :             :                                         }
   10631                 :             :                                     }
   10632                 :             :                                   break;
   10633                 :             :                                 }
   10634                 :             :                               default:;
   10635                 :             :                               }
   10636                 :             :                         }
   10637                 :             :                       break;
   10638                 :             :                     default:;
   10639                 :             :                     }
   10640                 :             :                   break;
   10641                 :             :                 }
   10642                 :       17744 :               case EQ_EXPR:
   10643                 :       17744 :                 {
   10644                 :       17744 :                   tree _q20 = gimple_assign_rhs1 (_a1);
   10645                 :       17744 :                   _q20 = do_valueize (valueize, _q20);
   10646                 :       17744 :                   tree _q21 = gimple_assign_rhs2 (_a1);
   10647                 :       17744 :                   _q21 = do_valueize (valueize, _q21);
   10648                 :       17744 :                   if (tree_swap_operands_p (_q20, _q21))
   10649                 :         528 :                     std::swap (_q20, _q21);
   10650                 :       17744 :                   switch (TREE_CODE (_p1))
   10651                 :             :                     {
   10652                 :       12986 :                     case SSA_NAME:
   10653                 :       12986 :                       if (gimple *_d2 = get_def (valueize, _p1))
   10654                 :             :                         {
   10655                 :       12798 :                           if (gassign *_a2 = dyn_cast <gassign *> (_d2))
   10656                 :        9623 :                             switch (gimple_assign_rhs_code (_a2))
   10657                 :             :                               {
   10658                 :           0 :                               case LT_EXPR:
   10659                 :           0 :                                 {
   10660                 :           0 :                                   tree _q50 = gimple_assign_rhs1 (_a2);
   10661                 :           0 :                                   _q50 = do_valueize (valueize, _q50);
   10662                 :           0 :                                   tree _q51 = gimple_assign_rhs2 (_a2);
   10663                 :           0 :                                   _q51 = do_valueize (valueize, _q51);
   10664                 :           0 :                                   if ((_q50 == _q20 && ! TREE_SIDE_EFFECTS (_q50)) || (operand_equal_p (_q50, _q20, 0) && types_match (_q50, _q20)))
   10665                 :             :                                     {
   10666                 :           0 :                                       if ((_q51 == _q21 && ! TREE_SIDE_EFFECTS (_q51)) || (operand_equal_p (_q51, _q21, 0) && types_match (_q51, _q21)))
   10667                 :             :                                         {
   10668                 :           0 :                                           {
   10669                 :           0 :                                             tree captures[2] ATTRIBUTE_UNUSED = { _q20, _q21 };
   10670                 :           0 :                                             if (gimple_simplify_224 (res_op, seq, valueize, type, captures, LT_EXPR, EQ_EXPR, GT_EXPR))
   10671                 :           0 :                                               return true;
   10672                 :             :                                           }
   10673                 :             :                                         }
   10674                 :             :                                     }
   10675                 :           0 :                                   if ((_q50 == _q21 && ! TREE_SIDE_EFFECTS (_q50)) || (operand_equal_p (_q50, _q21, 0) && types_match (_q50, _q21)))
   10676                 :             :                                     {
   10677                 :           0 :                                       if ((_q51 == _q20 && ! TREE_SIDE_EFFECTS (_q51)) || (operand_equal_p (_q51, _q20, 0) && types_match (_q51, _q20)))
   10678                 :             :                                         {
   10679                 :           0 :                                           {
   10680                 :           0 :                                             tree captures[2] ATTRIBUTE_UNUSED = { _q21, _q20 };
   10681                 :           0 :                                             if (gimple_simplify_224 (res_op, seq, valueize, type, captures, LT_EXPR, EQ_EXPR, GT_EXPR))
   10682                 :           0 :                                               return true;
   10683                 :             :                                           }
   10684                 :             :                                         }
   10685                 :             :                                     }
   10686                 :             :                                   break;
   10687                 :             :                                 }
   10688                 :           0 :                               case LE_EXPR:
   10689                 :           0 :                                 {
   10690                 :           0 :                                   tree _q50 = gimple_assign_rhs1 (_a2);
   10691                 :           0 :                                   _q50 = do_valueize (valueize, _q50);
   10692                 :           0 :                                   tree _q51 = gimple_assign_rhs2 (_a2);
   10693                 :           0 :                                   _q51 = do_valueize (valueize, _q51);
   10694                 :           0 :                                   if ((_q50 == _q20 && ! TREE_SIDE_EFFECTS (_q50)) || (operand_equal_p (_q50, _q20, 0) && types_match (_q50, _q20)))
   10695                 :             :                                     {
   10696                 :           0 :                                       if ((_q51 == _q21 && ! TREE_SIDE_EFFECTS (_q51)) || (operand_equal_p (_q51, _q21, 0) && types_match (_q51, _q21)))
   10697                 :             :                                         {
   10698                 :           0 :                                           {
   10699                 :           0 :                                             tree captures[2] ATTRIBUTE_UNUSED = { _q20, _q21 };
   10700                 :           0 :                                             if (gimple_simplify_224 (res_op, seq, valueize, type, captures, LE_EXPR, EQ_EXPR, GE_EXPR))
   10701                 :           0 :                                               return true;
   10702                 :             :                                           }
   10703                 :             :                                         }
   10704                 :             :                                     }
   10705                 :           0 :                                   if ((_q50 == _q21 && ! TREE_SIDE_EFFECTS (_q50)) || (operand_equal_p (_q50, _q21, 0) && types_match (_q50, _q21)))
   10706                 :             :                                     {
   10707                 :           0 :                                       if ((_q51 == _q20 && ! TREE_SIDE_EFFECTS (_q51)) || (operand_equal_p (_q51, _q20, 0) && types_match (_q51, _q20)))
   10708                 :             :                                         {
   10709                 :           0 :                                           {
   10710                 :           0 :                                             tree captures[2] ATTRIBUTE_UNUSED = { _q21, _q20 };
   10711                 :           0 :                                             if (gimple_simplify_224 (res_op, seq, valueize, type, captures, LE_EXPR, EQ_EXPR, GE_EXPR))
   10712                 :           0 :                                               return true;
   10713                 :             :                                           }
   10714                 :             :                                         }
   10715                 :             :                                     }
   10716                 :             :                                   break;
   10717                 :             :                                 }
   10718                 :         270 :                               case GT_EXPR:
   10719                 :         270 :                                 {
   10720                 :         270 :                                   tree _q50 = gimple_assign_rhs1 (_a2);
   10721                 :         270 :                                   _q50 = do_valueize (valueize, _q50);
   10722                 :         270 :                                   tree _q51 = gimple_assign_rhs2 (_a2);
   10723                 :         270 :                                   _q51 = do_valueize (valueize, _q51);
   10724                 :         270 :                                   if ((_q50 == _q21 && ! TREE_SIDE_EFFECTS (_q50)) || (operand_equal_p (_q50, _q21, 0) && types_match (_q50, _q21)))
   10725                 :             :                                     {
   10726                 :           0 :                                       if ((_q51 == _q20 && ! TREE_SIDE_EFFECTS (_q51)) || (operand_equal_p (_q51, _q20, 0) && types_match (_q51, _q20)))
   10727                 :             :                                         {
   10728                 :           0 :                                           {
   10729                 :           0 :                                             tree captures[2] ATTRIBUTE_UNUSED = { _q20, _q21 };
   10730                 :           0 :                                             if (gimple_simplify_224 (res_op, seq, valueize, type, captures, LT_EXPR, EQ_EXPR, GT_EXPR))
   10731                 :           0 :                                               return true;
   10732                 :             :                                           }
   10733                 :             :                                         }
   10734                 :             :                                     }
   10735                 :         270 :                                   if ((_q50 == _q20 && ! TREE_SIDE_EFFECTS (_q50)) || (operand_equal_p (_q50, _q20, 0) && types_match (_q50, _q20)))
   10736                 :             :                                     {
   10737                 :           0 :                                       if ((_q51 == _q21 && ! TREE_SIDE_EFFECTS (_q51)) || (operand_equal_p (_q51, _q21, 0) && types_match (_q51, _q21)))
   10738                 :             :                                         {
   10739                 :           0 :                                           {
   10740                 :           0 :                                             tree captures[2] ATTRIBUTE_UNUSED = { _q21, _q20 };
   10741                 :           0 :                                             if (gimple_simplify_224 (res_op, seq, valueize, type, captures, LT_EXPR, EQ_EXPR, GT_EXPR))
   10742                 :           0 :                                               return true;
   10743                 :             :                                           }
   10744                 :             :                                         }
   10745                 :             :                                     }
   10746                 :             :                                   break;
   10747                 :             :                                 }
   10748                 :         560 :                               case GE_EXPR:
   10749                 :         560 :                                 {
   10750                 :         560 :                                   tree _q50 = gimple_assign_rhs1 (_a2);
   10751                 :         560 :                                   _q50 = do_valueize (valueize, _q50);
   10752                 :         560 :                                   tree _q51 = gimple_assign_rhs2 (_a2);
   10753                 :         560 :                                   _q51 = do_valueize (valueize, _q51);
   10754                 :         560 :                                   if ((_q50 == _q21 && ! TREE_SIDE_EFFECTS (_q50)) || (operand_equal_p (_q50, _q21, 0) && types_match (_q50, _q21)))
   10755                 :             :                                     {
   10756                 :           0 :                                       if ((_q51 == _q20 && ! TREE_SIDE_EFFECTS (_q51)) || (operand_equal_p (_q51, _q20, 0) && types_match (_q51, _q20)))
   10757                 :             :                                         {
   10758                 :           0 :                                           {
   10759                 :           0 :                                             tree captures[2] ATTRIBUTE_UNUSED = { _q20, _q21 };
   10760                 :           0 :                                             if (gimple_simplify_224 (res_op, seq, valueize, type, captures, LE_EXPR, EQ_EXPR, GE_EXPR))
   10761                 :           0 :                                               return true;
   10762                 :             :                                           }
   10763                 :             :                                         }
   10764                 :             :                                     }
   10765                 :         560 :                                   if ((_q50 == _q20 && ! TREE_SIDE_EFFECTS (_q50)) || (operand_equal_p (_q50, _q20, 0) && types_match (_q50, _q20)))
   10766                 :             :                                     {
   10767                 :           0 :                                       if ((_q51 == _q21 && ! TREE_SIDE_EFFECTS (_q51)) || (operand_equal_p (_q51, _q21, 0) && types_match (_q51, _q21)))
   10768                 :             :                                         {
   10769                 :           0 :                                           {
   10770                 :           0 :                                             tree captures[2] ATTRIBUTE_UNUSED = { _q21, _q20 };
   10771                 :           0 :                                             if (gimple_simplify_224 (res_op, seq, valueize, type, captures, LE_EXPR, EQ_EXPR, GE_EXPR))
   10772                 :           0 :                                               return true;
   10773                 :             :                                           }
   10774                 :             :                                         }
   10775                 :             :                                     }
   10776                 :             :                                   break;
   10777                 :             :                                 }
   10778                 :             :                               default:;
   10779                 :             :                               }
   10780                 :             :                         }
   10781                 :             :                       break;
   10782                 :             :                     default:;
   10783                 :             :                     }
   10784                 :    69634201 :                   break;
   10785                 :             :                 }
   10786                 :        9037 :               case NE_EXPR:
   10787                 :        9037 :                 {
   10788                 :        9037 :                   tree _q20 = gimple_assign_rhs1 (_a1);
   10789                 :        9037 :                   _q20 = do_valueize (valueize, _q20);
   10790                 :        9037 :                   tree _q21 = gimple_assign_rhs2 (_a1);
   10791                 :        9037 :                   _q21 = do_valueize (valueize, _q21);
   10792                 :        9037 :                   if (tree_swap_operands_p (_q20, _q21))
   10793                 :          24 :                     std::swap (_q20, _q21);
   10794                 :        9037 :                   switch (TREE_CODE (_p1))
   10795                 :             :                     {
   10796                 :         991 :                     case SSA_NAME:
   10797                 :         991 :                       if (gimple *_d2 = get_def (valueize, _p1))
   10798                 :             :                         {
   10799                 :         963 :                           if (gassign *_a2 = dyn_cast <gassign *> (_d2))
   10800                 :        1085 :                             switch (gimple_assign_rhs_code (_a2))
   10801                 :             :                               {
   10802                 :          21 :                               case LT_EXPR:
   10803                 :          21 :                                 {
   10804                 :          21 :                                   tree _q50 = gimple_assign_rhs1 (_a2);
   10805                 :          21 :                                   _q50 = do_valueize (valueize, _q50);
   10806                 :          21 :                                   tree _q51 = gimple_assign_rhs2 (_a2);
   10807                 :          21 :                                   _q51 = do_valueize (valueize, _q51);
   10808                 :          21 :                                   if ((_q50 == _q20 && ! TREE_SIDE_EFFECTS (_q50)) || (operand_equal_p (_q50, _q20, 0) && types_match (_q50, _q20)))
   10809                 :             :                                     {
   10810                 :           0 :                                       if ((_q51 == _q21 && ! TREE_SIDE_EFFECTS (_q51)) || (operand_equal_p (_q51, _q21, 0) && types_match (_q51, _q21)))
   10811                 :             :                                         {
   10812                 :           0 :                                           {
   10813                 :           0 :                                             tree captures[2] ATTRIBUTE_UNUSED = { _q20, _q21 };
   10814                 :           0 :                                             if (gimple_simplify_224 (res_op, seq, valueize, type, captures, LT_EXPR, NE_EXPR, LE_EXPR))
   10815                 :           0 :                                               return true;
   10816                 :             :                                           }
   10817                 :             :                                         }
   10818                 :             :                                     }
   10819                 :          21 :                                   if ((_q50 == _q21 && ! TREE_SIDE_EFFECTS (_q50)) || (operand_equal_p (_q50, _q21, 0) && types_match (_q50, _q21)))
   10820                 :             :                                     {
   10821                 :           0 :                                       if ((_q51 == _q20 && ! TREE_SIDE_EFFECTS (_q51)) || (operand_equal_p (_q51, _q20, 0) && types_match (_q51, _q20)))
   10822                 :             :                                         {
   10823                 :           0 :                                           {
   10824                 :           0 :                                             tree captures[2] ATTRIBUTE_UNUSED = { _q21, _q20 };
   10825                 :           0 :                                             if (gimple_simplify_224 (res_op, seq, valueize, type, captures, LT_EXPR, NE_EXPR, LE_EXPR))
   10826                 :           0 :                                               return true;
   10827                 :             :                                           }
   10828                 :             :                                         }
   10829                 :             :                                     }
   10830                 :             :                                   break;
   10831                 :             :                                 }
   10832                 :           0 :                               case LE_EXPR:
   10833                 :           0 :                                 {
   10834                 :           0 :                                   tree _q50 = gimple_assign_rhs1 (_a2);
   10835                 :           0 :                                   _q50 = do_valueize (valueize, _q50);
   10836                 :           0 :                                   tree _q51 = gimple_assign_rhs2 (_a2);
   10837                 :           0 :                                   _q51 = do_valueize (valueize, _q51);
   10838                 :           0 :                                   if ((_q50 == _q20 && ! TREE_SIDE_EFFECTS (_q50)) || (operand_equal_p (_q50, _q20, 0) && types_match (_q50, _q20)))
   10839                 :             :                                     {
   10840                 :           0 :                                       if ((_q51 == _q21 && ! TREE_SIDE_EFFECTS (_q51)) || (operand_equal_p (_q51, _q21, 0) && types_match (_q51, _q21)))
   10841                 :             :                                         {
   10842                 :           0 :                                           {
   10843                 :           0 :                                             tree captures[2] ATTRIBUTE_UNUSED = { _q20, _q21 };
   10844                 :           0 :                                             if (gimple_simplify_224 (res_op, seq, valueize, type, captures, LE_EXPR, NE_EXPR, LT_EXPR))
   10845                 :           0 :                                               return true;
   10846                 :             :                                           }
   10847                 :             :                                         }
   10848                 :             :                                     }
   10849                 :           0 :                                   if ((_q50 == _q21 && ! TREE_SIDE_EFFECTS (_q50)) || (operand_equal_p (_q50, _q21, 0) && types_match (_q50, _q21)))
   10850                 :             :                                     {
   10851                 :           0 :                                       if ((_q51 == _q20 && ! TREE_SIDE_EFFECTS (_q51)) || (operand_equal_p (_q51, _q20, 0) && types_match (_q51, _q20)))
   10852                 :             :                                         {
   10853                 :           0 :                                           {
   10854                 :           0 :                                             tree captures[2] ATTRIBUTE_UNUSED = { _q21, _q20 };
   10855                 :           0 :                                             if (gimple_simplify_224 (res_op, seq, valueize, type, captures, LE_EXPR, NE_EXPR, LT_EXPR))
   10856                 :           0 :                                               return true;
   10857                 :             :                                           }
   10858                 :             :                                         }
   10859                 :             :                                     }
   10860                 :             :                                   break;
   10861                 :             :                                 }
   10862                 :           0 :                               case GT_EXPR:
   10863                 :           0 :                                 {
   10864                 :           0 :                                   tree _q50 = gimple_assign_rhs1 (_a2);
   10865                 :           0 :                                   _q50 = do_valueize (valueize, _q50);
   10866                 :           0 :                                   tree _q51 = gimple_assign_rhs2 (_a2);
   10867                 :           0 :                                   _q51 = do_valueize (valueize, _q51);
   10868                 :           0 :                                   if ((_q50 == _q21 && ! TREE_SIDE_EFFECTS (_q50)) || (operand_equal_p (_q50, _q21, 0) && types_match (_q50, _q21)))
   10869                 :             :                                     {
   10870                 :           0 :                                       if ((_q51 == _q20 && ! TREE_SIDE_EFFECTS (_q51)) || (operand_equal_p (_q51, _q20, 0) && types_match (_q51, _q20)))
   10871                 :             :                                         {
   10872                 :           0 :                                           {
   10873                 :           0 :                                             tree captures[2] ATTRIBUTE_UNUSED = { _q20, _q21 };
   10874                 :           0 :                                             if (gimple_simplify_224 (res_op, seq, valueize, type, captures, LT_EXPR, NE_EXPR, LE_EXPR))
   10875                 :           0 :                                               return true;
   10876                 :             :                                           }
   10877                 :             :                                         }
   10878                 :             :                                     }
   10879                 :           0 :                                   if ((_q50 == _q20 && ! TREE_SIDE_EFFECTS (_q50)) || (operand_equal_p (_q50, _q20, 0) && types_match (_q50, _q20)))
   10880                 :             :                                     {
   10881                 :           0 :                                       if ((_q51 == _q21 && ! TREE_SIDE_EFFECTS (_q51)) || (operand_equal_p (_q51, _q21, 0) && types_match (_q51, _q21)))
   10882                 :             :                                         {
   10883                 :           0 :                                           {
   10884                 :           0 :                                             tree captures[2] ATTRIBUTE_UNUSED = { _q21, _q20 };
   10885                 :           0 :                                             if (gimple_simplify_224 (res_op, seq, valueize, type, captures, LT_EXPR, NE_EXPR, LE_EXPR))
   10886                 :           0 :                                               return true;
   10887                 :             :                                           }
   10888                 :             :                                         }
   10889                 :             :                                     }
   10890                 :             :                                   break;
   10891                 :             :                                 }
   10892                 :           0 :                               case GE_EXPR:
   10893                 :           0 :                                 {
   10894                 :           0 :                                   tree _q50 = gimple_assign_rhs1 (_a2);
   10895                 :           0 :                                   _q50 = do_valueize (valueize, _q50);
   10896                 :           0 :                                   tree _q51 = gimple_assign_rhs2 (_a2);
   10897                 :           0 :                                   _q51 = do_valueize (valueize, _q51);
   10898                 :           0 :                                   if ((_q50 == _q21 && ! TREE_SIDE_EFFECTS (_q50)) || (operand_equal_p (_q50, _q21, 0) && types_match (_q50, _q21)))
   10899                 :             :                                     {
   10900                 :           0 :                                       if ((_q51 == _q20 && ! TREE_SIDE_EFFECTS (_q51)) || (operand_equal_p (_q51, _q20, 0) && types_match (_q51, _q20)))
   10901                 :             :                                         {
   10902                 :           0 :                                           {
   10903                 :           0 :                                             tree captures[2] ATTRIBUTE_UNUSED = { _q20, _q21 };
   10904                 :           0 :                                             if (gimple_simplify_224 (res_op, seq, valueize, type, captures, LE_EXPR, NE_EXPR, LT_EXPR))
   10905                 :           0 :                                               return true;
   10906                 :             :                                           }
   10907                 :             :                                         }
   10908                 :             :                                     }
   10909                 :           0 :                                   if ((_q50 == _q20 && ! TREE_SIDE_EFFECTS (_q50)) || (operand_equal_p (_q50, _q20, 0) && types_match (_q50, _q20)))
   10910                 :             :                                     {
   10911                 :           0 :                                       if ((_q51 == _q21 && ! TREE_SIDE_EFFECTS (_q51)) || (operand_equal_p (_q51, _q21, 0) && types_match (_q51, _q21)))
   10912                 :             :                                         {
   10913                 :           0 :                                           {
   10914                 :           0 :                                             tree captures[2] ATTRIBUTE_UNUSED = { _q21, _q20 };
   10915                 :           0 :                                             if (gimple_simplify_224 (res_op, seq, valueize, type, captures, LE_EXPR, NE_EXPR, LT_EXPR))
   10916                 :           0 :                                               return true;
   10917                 :             :                                           }
   10918                 :             :                                         }
   10919                 :             :                                     }
   10920                 :             :                                   break;
   10921                 :             :                                 }
   10922                 :             :                               default:;
   10923                 :             :                               }
   10924                 :             :                         }
   10925                 :             :                       break;
   10926                 :             :                     default:;
   10927                 :             :                     }
   10928                 :    69634201 :                   break;
   10929                 :             :                 }
   10930                 :       56950 :               case MIN_EXPR:
   10931                 :       56950 :                 {
   10932                 :       56950 :                   tree _q20 = gimple_assign_rhs1 (_a1);
   10933                 :       56950 :                   _q20 = do_valueize (valueize, _q20);
   10934                 :       56950 :                   tree _q21 = gimple_assign_rhs2 (_a1);
   10935                 :       56950 :                   _q21 = do_valueize (valueize, _q21);
   10936                 :       56950 :                   if (tree_swap_operands_p (_q20, _q21))
   10937                 :        7936 :                     std::swap (_q20, _q21);
   10938                 :       56950 :                   if ((_p1 == _q20 && ! TREE_SIDE_EFFECTS (_p1)) || (operand_equal_p (_p1, _q20, 0) && types_match (_p1, _q20)))
   10939                 :             :                     {
   10940                 :          26 :                       {
   10941                 :          26 :                         tree captures[2] ATTRIBUTE_UNUSED = { _q20, _q21 };
   10942                 :          26 :                         if (gimple_simplify_225 (res_op, seq, valueize, type, captures, MIN_EXPR, EQ_EXPR, LE_EXPR))
   10943                 :          26 :                           return true;
   10944                 :             :                       }
   10945                 :             :                     }
   10946                 :       56924 :                   if ((_p1 == _q21 && ! TREE_SIDE_EFFECTS (_p1)) || (operand_equal_p (_p1, _q21, 0) && types_match (_p1, _q21)))
   10947                 :             :                     {
   10948                 :         218 :                       {
   10949                 :         218 :                         tree captures[2] ATTRIBUTE_UNUSED = { _q21, _q20 };
   10950                 :         218 :                         if (gimple_simplify_225 (res_op, seq, valueize, type, captures, MIN_EXPR, EQ_EXPR, LE_EXPR))
   10951                 :         218 :                           return true;
   10952                 :             :                       }
   10953                 :             :                     }
   10954                 :       56706 :                   switch (TREE_CODE (_q21))
   10955                 :             :                     {
   10956                 :        3924 :                     case INTEGER_CST:
   10957                 :        3924 :                       {
   10958                 :        3924 :                         switch (TREE_CODE (_p1))
   10959                 :             :                           {
   10960                 :        3620 :                           case INTEGER_CST:
   10961                 :        3620 :                             {
   10962                 :        3620 :                               {
   10963                 :        3620 :                                 tree captures[3] ATTRIBUTE_UNUSED = { _q20, _q21, _p1 };
   10964                 :        3620 :                                 if (gimple_simplify_226 (res_op, seq, valueize, type, captures, EQ_EXPR))
   10965                 :        3620 :                                   return true;
   10966                 :             :                               }
   10967                 :           0 :                               break;
   10968                 :             :                             }
   10969                 :             :                           default:;
   10970                 :             :                           }
   10971                 :             :                         break;
   10972                 :             :                       }
   10973                 :             :                     default:;
   10974                 :             :                     }
   10975                 :    69634201 :                   break;
   10976                 :             :                 }
   10977                 :        6397 :               case MAX_EXPR:
   10978                 :        6397 :                 {
   10979                 :        6397 :                   tree _q20 = gimple_assign_rhs1 (_a1);
   10980                 :        6397 :                   _q20 = do_valueize (valueize, _q20);
   10981                 :        6397 :                   tree _q21 = gimple_assign_rhs2 (_a1);
   10982                 :        6397 :                   _q21 = do_valueize (valueize, _q21);
   10983                 :        6397 :                   if (tree_swap_operands_p (_q20, _q21))
   10984                 :          99 :                     std::swap (_q20, _q21);
   10985                 :        6397 :                   if ((_p1 == _q20 && ! TREE_SIDE_EFFECTS (_p1)) || (operand_equal_p (_p1, _q20, 0) && types_match (_p1, _q20)))
   10986                 :             :                     {
   10987                 :           0 :                       {
   10988                 :           0 :                         tree captures[2] ATTRIBUTE_UNUSED = { _q20, _q21 };
   10989                 :           0 :                         if (gimple_simplify_225 (res_op, seq, valueize, type, captures, MAX_EXPR, EQ_EXPR, GE_EXPR))
   10990                 :           0 :                           return true;
   10991                 :             :                       }
   10992                 :             :                     }
   10993                 :        6397 :                   if ((_p1 == _q21 && ! TREE_SIDE_EFFECTS (_p1)) || (operand_equal_p (_p1, _q21, 0) && types_match (_p1, _q21)))
   10994                 :             :                     {
   10995                 :        4907 :                       {
   10996                 :        4907 :                         tree captures[2] ATTRIBUTE_UNUSED = { _q21, _q20 };
   10997                 :        4907 :                         if (gimple_simplify_225 (res_op, seq, valueize, type, captures, MAX_EXPR, EQ_EXPR, GE_EXPR))
   10998                 :        4907 :                           return true;
   10999                 :             :                       }
   11000                 :             :                     }
   11001                 :        1490 :                   switch (TREE_CODE (_q21))
   11002                 :             :                     {
   11003                 :         592 :                     case INTEGER_CST:
   11004                 :         592 :                       {
   11005                 :         592 :                         switch (TREE_CODE (_p1))
   11006                 :             :                           {
   11007                 :         171 :                           case INTEGER_CST:
   11008                 :         171 :                             {
   11009                 :         171 :                               {
   11010                 :         171 :                                 tree captures[3] ATTRIBUTE_UNUSED = { _q20, _q21, _p1 };
   11011                 :         171 :                                 if (gimple_simplify_227 (res_op, seq, valueize, type, captures, EQ_EXPR))
   11012                 :         171 :                                   return true;
   11013                 :             :                               }
   11014                 :           0 :                               break;
   11015                 :             :                             }
   11016                 :             :                           default:;
   11017                 :             :                           }
   11018                 :             :                         break;
   11019                 :             :                       }
   11020                 :             :                     default:;
   11021                 :             :                     }
   11022                 :    69634201 :                   break;
   11023                 :             :                 }
   11024                 :             :               default:;
   11025                 :             :               }
   11026                 :             :         }
   11027                 :             :       break;
   11028                 :    69634201 :     default:;
   11029                 :             :     }
   11030                 :    69634201 : {
   11031                 :    69634201 :   tree _p0_pops[1];
   11032                 :    69634201 :   if (gimple_with_possible_nonzero_bits2 (_p0, _p0_pops, valueize))
   11033                 :             :     {
   11034                 :    65875569 :       tree _q20 = _p0_pops[0];
   11035                 :    65875569 :       {
   11036                 :    65875569 :         tree _p1_pops[1];
   11037                 :    65875569 :         if (gimple_with_certain_nonzero_bits2 (_p1, _p1_pops, valueize))
   11038                 :             :           {
   11039                 :    54486976 :             tree _q40 = _p1_pops[0];
   11040                 :    54486976 :             {
   11041                 :    54486976 :               tree captures[2] ATTRIBUTE_UNUSED = { _q20, _q40 };
   11042                 :    54486976 :               if (gimple_simplify_223 (res_op, seq, valueize, type, captures, EQ_EXPR))
   11043                 :        4978 :                 return true;
   11044                 :             :             }
   11045                 :             : }
   11046                 :             :       }
   11047                 :             : }
   11048                 :             : }
   11049                 :    69629223 : {
   11050                 :    69629223 :   tree _p0_pops[1];
   11051                 :    69629223 :   if (gimple_with_certain_nonzero_bits2 (_p0, _p0_pops, valueize))
   11052                 :             :     {
   11053                 :        5365 :       tree _q20 = _p0_pops[0];
   11054                 :        5365 :       {
   11055                 :        5365 :         tree _p1_pops[1];
   11056                 :        5365 :         if (gimple_with_possible_nonzero_bits2 (_p1, _p1_pops, valueize))
   11057                 :             :           {
   11058                 :        5365 :             tree _q40 = _p1_pops[0];
   11059                 :        5365 :             {
   11060                 :        5365 :               tree captures[2] ATTRIBUTE_UNUSED = { _q40, _q20 };
   11061                 :        5365 :               if (gimple_simplify_223 (res_op, seq, valueize, type, captures, EQ_EXPR))
   11062                 :          55 :                 return true;
   11063                 :             :             }
   11064                 :             : }
   11065                 :             :       }
   11066                 :             : }
   11067                 :             : }
   11068                 :    69629168 :   switch (TREE_CODE (_p1))
   11069                 :             :     {
   11070                 :    12142903 :     case SSA_NAME:
   11071                 :    12142903 :       if (gimple *_d1 = get_def (valueize, _p1))
   11072                 :             :         {
   11073                 :     3879011 :           if (gassign *_a1 = dyn_cast <gassign *> (_d1))
   11074                 :     6057916 :             switch (gimple_assign_rhs_code (_a1))
   11075                 :             :               {
   11076                 :        1434 :               case MIN_EXPR:
   11077                 :        1434 :                 {
   11078                 :        1434 :                   tree _q30 = gimple_assign_rhs1 (_a1);
   11079                 :        1434 :                   _q30 = do_valueize (valueize, _q30);
   11080                 :        1434 :                   tree _q31 = gimple_assign_rhs2 (_a1);
   11081                 :        1434 :                   _q31 = do_valueize (valueize, _q31);
   11082                 :        1434 :                   if (tree_swap_operands_p (_q30, _q31))
   11083                 :         511 :                     std::swap (_q30, _q31);
   11084                 :        1434 :                   if ((_q30 == _p0 && ! TREE_SIDE_EFFECTS (_q30)) || (operand_equal_p (_q30, _p0, 0) && types_match (_q30, _p0)))
   11085                 :             :                     {
   11086                 :          66 :                       {
   11087                 :          66 :                         tree captures[2] ATTRIBUTE_UNUSED = { _p0, _q31 };
   11088                 :          66 :                         if (gimple_simplify_225 (res_op, seq, valueize, type, captures, MIN_EXPR, EQ_EXPR, LE_EXPR))
   11089                 :          66 :                           return true;
   11090                 :             :                       }
   11091                 :             :                     }
   11092                 :        1368 :                   if ((_q31 == _p0 && ! TREE_SIDE_EFFECTS (_q31)) || (operand_equal_p (_q31, _p0, 0) && types_match (_q31, _p0)))
   11093                 :             :                     {
   11094                 :          30 :                       {
   11095                 :          30 :                         tree captures[2] ATTRIBUTE_UNUSED = { _p0, _q30 };
   11096                 :          30 :                         if (gimple_simplify_225 (res_op, seq, valueize, type, captures, MIN_EXPR, EQ_EXPR, LE_EXPR))
   11097                 :          30 :                           return true;
   11098                 :             :                       }
   11099                 :             :                     }
   11100                 :    69629058 :                   break;
   11101                 :             :                 }
   11102                 :         410 :               case MAX_EXPR:
   11103                 :         410 :                 {
   11104                 :         410 :                   tree _q30 = gimple_assign_rhs1 (_a1);
   11105                 :         410 :                   _q30 = do_valueize (valueize, _q30);
   11106                 :         410 :                   tree _q31 = gimple_assign_rhs2 (_a1);
   11107                 :         410 :                   _q31 = do_valueize (valueize, _q31);
   11108                 :         410 :                   if (tree_swap_operands_p (_q30, _q31))
   11109                 :           4 :                     std::swap (_q30, _q31);
   11110                 :         410 :                   if ((_q30 == _p0 && ! TREE_SIDE_EFFECTS (_q30)) || (operand_equal_p (_q30, _p0, 0) && types_match (_q30, _p0)))
   11111                 :             :                     {
   11112                 :           0 :                       {
   11113                 :           0 :                         tree captures[2] ATTRIBUTE_UNUSED = { _p0, _q31 };
   11114                 :           0 :                         if (gimple_simplify_225 (res_op, seq, valueize, type, captures, MAX_EXPR, EQ_EXPR, GE_EXPR))
   11115                 :           0 :                           return true;
   11116                 :             :                       }
   11117                 :             :                     }
   11118                 :         410 :                   if ((_q31 == _p0 && ! TREE_SIDE_EFFECTS (_q31)) || (operand_equal_p (_q31, _p0, 0) && types_match (_q31, _p0)))
   11119                 :             :                     {
   11120                 :          14 :                       {
   11121                 :          14 :                         tree captures[2] ATTRIBUTE_UNUSED = { _p0, _q30 };
   11122                 :          14 :                         if (gimple_simplify_225 (res_op, seq, valueize, type, captures, MAX_EXPR, EQ_EXPR, GE_EXPR))
   11123                 :          14 :                           return true;
   11124                 :             :                       }
   11125                 :             :                     }
   11126                 :    69629058 :                   break;
   11127                 :             :                 }
   11128                 :             :               default:;
   11129                 :             :               }
   11130                 :             :         }
   11131                 :             :       break;
   11132                 :    69629058 :     default:;
   11133                 :             :     }
   11134                 :    69629058 :   switch (TREE_CODE (_p0))
   11135                 :             :     {
   11136                 :    66428956 :     case SSA_NAME:
   11137                 :    66428956 :       if (gimple *_d1 = get_def (valueize, _p0))
   11138                 :             :         {
   11139                 :    22630035 :           if (gassign *_a1 = dyn_cast <gassign *> (_d1))
   11140                 :    26785967 :             switch (gimple_assign_rhs_code (_a1))
   11141                 :             :               {
   11142                 :      979622 :               case BIT_AND_EXPR:
   11143                 :      979622 :                 {
   11144                 :      979622 :                   tree _q20 = gimple_assign_rhs1 (_a1);
   11145                 :      979622 :                   _q20 = do_valueize (valueize, _q20);
   11146                 :      979622 :                   tree _q21 = gimple_assign_rhs2 (_a1);
   11147                 :      979622 :                   _q21 = do_valueize (valueize, _q21);
   11148                 :      979622 :                   if (tree_swap_operands_p (_q20, _q21))
   11149                 :        5498 :                     std::swap (_q20, _q21);
   11150                 :      979622 :                   switch (TREE_CODE (_q20))
   11151                 :             :                     {
   11152                 :      979622 :                     case SSA_NAME:
   11153                 :      979622 :                       if (gimple *_d2 = get_def (valueize, _q20))
   11154                 :             :                         {
   11155                 :      938549 :                           if (gassign *_a2 = dyn_cast <gassign *> (_d2))
   11156                 :     1228355 :                             switch (gimple_assign_rhs_code (_a2))
   11157                 :             :                               {
   11158                 :        1666 :                               case LSHIFT_EXPR:
   11159                 :        1666 :                                 {
   11160                 :        1666 :                                   tree _q30 = gimple_assign_rhs1 (_a2);
   11161                 :        1666 :                                   _q30 = do_valueize (valueize, _q30);
   11162                 :        1666 :                                   tree _q31 = gimple_assign_rhs2 (_a2);
   11163                 :        1666 :                                   _q31 = do_valueize (valueize, _q31);
   11164                 :        1666 :                                   if (integer_pow2p (_q30))
   11165                 :             :                                     {
   11166                 :        1235 :                                       if (integer_pow2p (_q21))
   11167                 :             :                                         {
   11168                 :           1 :                                           if (integer_zerop (_p1))
   11169                 :             :                                             {
   11170                 :           1 :                                               {
   11171                 :           1 :                                                 tree captures[3] ATTRIBUTE_UNUSED = { _q30, _q31, _q21 };
   11172                 :           1 :                                                 if (gimple_simplify_228 (res_op, seq, valueize, type, captures, EQ_EXPR, NE_EXPR))
   11173                 :           1 :                                                   return true;
   11174                 :             :                                               }
   11175                 :             :                                             }
   11176                 :             :                                         }
   11177                 :             :                                     }
   11178                 :        1665 :                                   switch (TREE_CODE (_q31))
   11179                 :             :                                     {
   11180                 :         411 :                                     case INTEGER_CST:
   11181                 :         411 :                                       {
   11182                 :         411 :                                         switch (TREE_CODE (_q21))
   11183                 :             :                                           {
   11184                 :         411 :                                           case INTEGER_CST:
   11185                 :         411 :                                             {
   11186                 :         411 :                                               switch (TREE_CODE (_p1))
   11187                 :             :                                                 {
   11188                 :         411 :                                                 case INTEGER_CST:
   11189                 :         411 :                                                   {
   11190                 :         411 :                                                     {
   11191                 :         411 :                                                       tree captures[6] ATTRIBUTE_UNUSED = { _p0, _q20, _q30, _q31, _q21, _p1 };
   11192                 :         411 :                                                       if (gimple_simplify_229 (res_op, seq, valueize, type, captures, EQ_EXPR))
   11193                 :          15 :                                                         return true;
   11194                 :             :                                                     }
   11195                 :         396 :                                                     break;
   11196                 :             :                                                   }
   11197                 :             :                                                 default:;
   11198                 :             :                                                 }
   11199                 :             :                                               break;
   11200                 :             :                                             }
   11201                 :             :                                           default:;
   11202                 :             :                                           }
   11203                 :             :                                         break;
   11204                 :             :                                       }
   11205                 :        1650 :                                     default:;
   11206                 :             :                                     }
   11207                 :        1650 :                                   if (integer_onep (_q30))
   11208                 :             :                                     {
   11209                 :        1234 :                                       if (integer_pow2p (_q21))
   11210                 :             :                                         {
   11211                 :           0 :                                           if (integer_zerop (_p1))
   11212                 :             :                                             {
   11213                 :           0 :                                               {
   11214                 :           0 :                                                 tree captures[2] ATTRIBUTE_UNUSED = { _q31, _q21 };
   11215                 :           0 :                                                 if (gimple_simplify_230 (res_op, seq, valueize, type, captures, EQ_EXPR, NE_EXPR))
   11216                 :           0 :                                                   return true;
   11217                 :             :                                               }
   11218                 :             :                                             }
   11219                 :             :                                         }
   11220                 :             :                                     }
   11221                 :             :                                   break;
   11222                 :             :                                 }
   11223                 :       21963 :                               case RSHIFT_EXPR:
   11224                 :       21963 :                                 {
   11225                 :       21963 :                                   tree _q30 = gimple_assign_rhs1 (_a2);
   11226                 :       21963 :                                   _q30 = do_valueize (valueize, _q30);
   11227                 :       21963 :                                   tree _q31 = gimple_assign_rhs2 (_a2);
   11228                 :       21963 :                                   _q31 = do_valueize (valueize, _q31);
   11229                 :       21963 :                                   if (integer_pow2p (_q30))
   11230                 :             :                                     {
   11231                 :          13 :                                       if (integer_pow2p (_q21))
   11232                 :             :                                         {
   11233                 :          13 :                                           if (integer_zerop (_p1))
   11234                 :             :                                             {
   11235                 :          13 :                                               {
   11236                 :          13 :                                                 tree captures[3] ATTRIBUTE_UNUSED = { _q30, _q31, _q21 };
   11237                 :          13 :                                                 if (gimple_simplify_231 (res_op, seq, valueize, type, captures, EQ_EXPR, NE_EXPR))
   11238                 :          13 :                                                   return true;
   11239                 :             :                                               }
   11240                 :             :                                             }
   11241                 :             :                                         }
   11242                 :             :                                     }
   11243                 :       21950 :                                   switch (TREE_CODE (_q31))
   11244                 :             :                                     {
   11245                 :        5398 :                                     case INTEGER_CST:
   11246                 :        5398 :                                       {
   11247                 :        5398 :                                         switch (TREE_CODE (_q21))
   11248                 :             :                                           {
   11249                 :        5356 :                                           case INTEGER_CST:
   11250                 :        5356 :                                             {
   11251                 :        5356 :                                               switch (TREE_CODE (_p1))
   11252                 :             :                                                 {
   11253                 :        5356 :                                                 case INTEGER_CST:
   11254                 :        5356 :                                                   {
   11255                 :        5356 :                                                     {
   11256                 :        5356 :                                                       tree captures[6] ATTRIBUTE_UNUSED = { _p0, _q20, _q30, _q31, _q21, _p1 };
   11257                 :        5356 :                                                       if (gimple_simplify_232 (res_op, seq, valueize, type, captures, EQ_EXPR))
   11258                 :         420 :                                                         return true;
   11259                 :             :                                                     }
   11260                 :        4936 :                                                     break;
   11261                 :             :                                                   }
   11262                 :             :                                                 default:;
   11263                 :             :                                                 }
   11264                 :             :                                               break;
   11265                 :             :                                             }
   11266                 :             :                                           default:;
   11267                 :             :                                           }
   11268                 :             :                                         break;
   11269                 :             :                                       }
   11270                 :             :                                     default:;
   11271                 :             :                                     }
   11272                 :             :                                   break;
   11273                 :             :                                 }
   11274                 :             :                               default:;
   11275                 :             :                               }
   11276                 :             :                         }
   11277                 :             :                       break;
   11278                 :      979173 :                     default:;
   11279                 :             :                     }
   11280                 :      979173 :                 {
   11281                 :      979173 :                   tree _q20_pops[1];
   11282                 :      979173 :                   if (gimple_nop_convert (_q20, _q20_pops, valueize))
   11283                 :             :                     {
   11284                 :       14250 :                       tree _q30 = _q20_pops[0];
   11285                 :       14250 :                       switch (TREE_CODE (_q30))
   11286                 :             :                         {
   11287                 :       14226 :                         case SSA_NAME:
   11288                 :       14226 :                           if (gimple *_d2 = get_def (valueize, _q30))
   11289                 :             :                             {
   11290                 :       14055 :                               if (gassign *_a2 = dyn_cast <gassign *> (_d2))
   11291                 :       14027 :                                 switch (gimple_assign_rhs_code (_a2))
   11292                 :             :                                   {
   11293                 :        1087 :                                   case LSHIFT_EXPR:
   11294                 :        1087 :                                     {
   11295                 :        1087 :                                       tree _q40 = gimple_assign_rhs1 (_a2);
   11296                 :        1087 :                                       _q40 = do_valueize (valueize, _q40);
   11297                 :        1087 :                                       tree _q41 = gimple_assign_rhs2 (_a2);
   11298                 :        1087 :                                       _q41 = do_valueize (valueize, _q41);
   11299                 :        1087 :                                       if (integer_onep (_q40))
   11300                 :             :                                         {
   11301                 :        1083 :                                           if (integer_pow2p (_q21))
   11302                 :             :                                             {
   11303                 :           2 :                                               if (integer_zerop (_p1))
   11304                 :             :                                                 {
   11305                 :           2 :                                                   {
   11306                 :           2 :                                                     tree captures[2] ATTRIBUTE_UNUSED = { _q41, _q21 };
   11307                 :           2 :                                                     if (gimple_simplify_230 (res_op, seq, valueize, type, captures, EQ_EXPR, NE_EXPR))
   11308                 :           2 :                                                       return true;
   11309                 :             :                                                   }
   11310                 :             :                                                 }
   11311                 :             :                                             }
   11312                 :             :                                         }
   11313                 :             :                                       break;
   11314                 :             :                                     }
   11315                 :             :                                   default:;
   11316                 :             :                                   }
   11317                 :             :                             }
   11318                 :             :                           break;
   11319                 :             :                         default:;
   11320                 :             :                         }
   11321                 :             : }
   11322                 :             :                 }
   11323                 :      979171 :                   break;
   11324                 :             :                 }
   11325                 :       34400 :               case RSHIFT_EXPR:
   11326                 :       34400 :                 {
   11327                 :       34400 :                   tree _q20 = gimple_assign_rhs1 (_a1);
   11328                 :       34400 :                   _q20 = do_valueize (valueize, _q20);
   11329                 :       34400 :                   tree _q21 = gimple_assign_rhs2 (_a1);
   11330                 :       34400 :                   _q21 = do_valueize (valueize, _q21);
   11331                 :       34400 :                   if (integer_onep (_q20))
   11332                 :             :                     {
   11333                 :          80 :                       if (integer_zerop (_p1))
   11334                 :             :                         {
   11335                 :           9 :                           {
   11336                 :           9 :                             tree captures[2] ATTRIBUTE_UNUSED = { _q20, _q21 };
   11337                 :           9 :                             if (gimple_simplify_233 (res_op, seq, valueize, type, captures, EQ_EXPR, NE_EXPR))
   11338                 :           9 :                               return true;
   11339                 :             :                           }
   11340                 :             :                         }
   11341                 :             :                     }
   11342                 :             :                   break;
   11343                 :             :                 }
   11344                 :       14119 :               case LSHIFT_EXPR:
   11345                 :       14119 :                 {
   11346                 :       14119 :                   tree _q20 = gimple_assign_rhs1 (_a1);
   11347                 :       14119 :                   _q20 = do_valueize (valueize, _q20);
   11348                 :       14119 :                   tree _q21 = gimple_assign_rhs2 (_a1);
   11349                 :       14119 :                   _q21 = do_valueize (valueize, _q21);
   11350                 :       14119 :                   switch (TREE_CODE (_q20))
   11351                 :             :                     {
   11352                 :         520 :                     case INTEGER_CST:
   11353                 :         520 :                       {
   11354                 :         520 :                         switch (TREE_CODE (_p1))
   11355                 :             :                           {
   11356                 :         150 :                           case INTEGER_CST:
   11357                 :         150 :                             {
   11358                 :         150 :                               {
   11359                 :         150 :                                 tree captures[3] ATTRIBUTE_UNUSED = { _q20, _q21, _p1 };
   11360                 :         150 :                                 if (gimple_simplify_234 (res_op, seq, valueize, type, captures, EQ_EXPR))
   11361                 :          86 :                                   return true;
   11362                 :             :                               }
   11363                 :          64 :                               break;
   11364                 :             :                             }
   11365                 :             :                           default:;
   11366                 :             :                           }
   11367                 :             :                         break;
   11368                 :             :                       }
   11369                 :             :                     default:;
   11370                 :             :                     }
   11371                 :             :                   break;
   11372                 :             :                 }
   11373                 :           0 :               case LROTATE_EXPR:
   11374                 :           0 :                 {
   11375                 :           0 :                   tree _q20 = gimple_assign_rhs1 (_a1);
   11376                 :           0 :                   _q20 = do_valueize (valueize, _q20);
   11377                 :           0 :                   tree _q21 = gimple_assign_rhs2 (_a1);
   11378                 :           0 :                   _q21 = do_valueize (valueize, _q21);
   11379                 :           0 :                   switch (TREE_CODE (_p1))
   11380                 :             :                     {
   11381                 :           0 :                     case SSA_NAME:
   11382                 :           0 :                       if (gimple *_d2 = get_def (valueize, _p1))
   11383                 :             :                         {
   11384                 :           0 :                           if (gassign *_a2 = dyn_cast <gassign *> (_d2))
   11385                 :           0 :                             switch (gimple_assign_rhs_code (_a2))
   11386                 :             :                               {
   11387                 :           0 :                               case LROTATE_EXPR:
   11388                 :           0 :                                 {
   11389                 :           0 :                                   tree _q50 = gimple_assign_rhs1 (_a2);
   11390                 :           0 :                                   _q50 = do_valueize (valueize, _q50);
   11391                 :           0 :                                   tree _q51 = gimple_assign_rhs2 (_a2);
   11392                 :           0 :                                   _q51 = do_valueize (valueize, _q51);
   11393                 :           0 :                                   if ((_q51 == _q21 && ! TREE_SIDE_EFFECTS (_q51)) || (operand_equal_p (_q51, _q21, 0) && types_match (_q51, _q21)))
   11394                 :             :                                     {
   11395                 :           0 :                                       {
   11396                 :           0 :                                         tree captures[3] ATTRIBUTE_UNUSED = { _q20, _q21, _q50 };
   11397                 :           0 :                                         if (gimple_simplify_235 (res_op, seq, valueize, type, captures, LROTATE_EXPR, RROTATE_EXPR, EQ_EXPR))
   11398                 :           0 :                                           return true;
   11399                 :             :                                       }
   11400                 :             :                                     }
   11401                 :             :                                   break;
   11402                 :             :                                 }
   11403                 :             :                               default:;
   11404                 :             :                               }
   11405                 :             :                         }
   11406                 :             :                       break;
   11407                 :           0 :                     default:;
   11408                 :             :                     }
   11409                 :           0 :                   switch (TREE_CODE (_q21))
   11410                 :             :                     {
   11411                 :           0 :                     case INTEGER_CST:
   11412                 :           0 :                       {
   11413                 :           0 :                         switch (TREE_CODE (_p1))
   11414                 :             :                           {
   11415                 :           0 :                           case INTEGER_CST:
   11416                 :           0 :                             {
   11417                 :           0 :                               {
   11418                 :           0 :                                 tree captures[3] ATTRIBUTE_UNUSED = { _q20, _q21, _p1 };
   11419                 :           0 :                                 if (gimple_simplify_236 (res_op, seq, valueize, type, captures, LROTATE_EXPR, RROTATE_EXPR, EQ_EXPR))
   11420                 :           0 :                                   return true;
   11421                 :             :                               }
   11422                 :           0 :                               break;
   11423                 :             :                             }
   11424                 :             :                           default:;
   11425                 :             :                           }
   11426                 :             :                         break;
   11427                 :             :                       }
   11428                 :           0 :                     default:;
   11429                 :             :                     }
   11430                 :           0 :                   switch (TREE_CODE (_p1))
   11431                 :             :                     {
   11432                 :           0 :                     case INTEGER_CST:
   11433                 :           0 :                       {
   11434                 :           0 :                         {
   11435                 :           0 :                           tree captures[3] ATTRIBUTE_UNUSED = { _q20, _q21, _p1 };
   11436                 :           0 :                           if (gimple_simplify_237 (res_op, seq, valueize, type, captures, LROTATE_EXPR, RROTATE_EXPR, EQ_EXPR))
   11437                 :           0 :                             return true;
   11438                 :             :                         }
   11439                 :           0 :                         break;
   11440                 :             :                       }
   11441                 :             :                     default:;
   11442                 :             :                     }
   11443                 :             :                   break;
   11444                 :             :                 }
   11445                 :         170 :               case RROTATE_EXPR:
   11446                 :         170 :                 {
   11447                 :         170 :                   tree _q20 = gimple_assign_rhs1 (_a1);
   11448                 :         170 :                   _q20 = do_valueize (valueize, _q20);
   11449                 :         170 :                   tree _q21 = gimple_assign_rhs2 (_a1);
   11450                 :         170 :                   _q21 = do_valueize (valueize, _q21);
   11451                 :         170 :                   switch (TREE_CODE (_p1))
   11452                 :             :                     {
   11453                 :         164 :                     case SSA_NAME:
   11454                 :         164 :                       if (gimple *_d2 = get_def (valueize, _p1))
   11455                 :             :                         {
   11456                 :         146 :                           if (gassign *_a2 = dyn_cast <gassign *> (_d2))
   11457                 :         182 :                             switch (gimple_assign_rhs_code (_a2))
   11458                 :             :                               {
   11459                 :           2 :                               case RROTATE_EXPR:
   11460                 :           2 :                                 {
   11461                 :           2 :                                   tree _q50 = gimple_assign_rhs1 (_a2);
   11462                 :           2 :                                   _q50 = do_valueize (valueize, _q50);
   11463                 :           2 :                                   tree _q51 = gimple_assign_rhs2 (_a2);
   11464                 :           2 :                                   _q51 = do_valueize (valueize, _q51);
   11465                 :           2 :                                   if ((_q51 == _q21 && ! TREE_SIDE_EFFECTS (_q51)) || (operand_equal_p (_q51, _q21, 0) && types_match (_q51, _q21)))
   11466                 :             :                                     {
   11467                 :           2 :                                       {
   11468                 :           2 :                                         tree captures[3] ATTRIBUTE_UNUSED = { _q20, _q21, _q50 };
   11469                 :           2 :                                         if (gimple_simplify_235 (res_op, seq, valueize, type, captures, RROTATE_EXPR, LROTATE_EXPR, EQ_EXPR))
   11470                 :           2 :                                           return true;
   11471                 :             :                                       }
   11472                 :             :                                     }
   11473                 :             :                                   break;
   11474                 :             :                                 }
   11475                 :             :                               default:;
   11476                 :             :                               }
   11477                 :             :                         }
   11478                 :             :                       break;
   11479                 :         168 :                     default:;
   11480                 :             :                     }
   11481                 :         168 :                   switch (TREE_CODE (_q21))
   11482                 :             :                     {
   11483                 :         168 :                     case INTEGER_CST:
   11484                 :         168 :                       {
   11485                 :         168 :                         switch (TREE_CODE (_p1))
   11486                 :             :                           {
   11487                 :           6 :                           case INTEGER_CST:
   11488                 :           6 :                             {
   11489                 :           6 :                               {
   11490                 :           6 :                                 tree captures[3] ATTRIBUTE_UNUSED = { _q20, _q21, _p1 };
   11491                 :           6 :                                 if (gimple_simplify_236 (res_op, seq, valueize, type, captures, RROTATE_EXPR, LROTATE_EXPR, EQ_EXPR))
   11492                 :           6 :                                   return true;
   11493                 :             :                               }
   11494                 :           0 :                               break;
   11495                 :             :                             }
   11496                 :             :                           default:;
   11497                 :             :                           }
   11498                 :             :                         break;
   11499                 :             :                       }
   11500                 :         162 :                     default:;
   11501                 :             :                     }
   11502                 :         162 :                   switch (TREE_CODE (_p1))
   11503                 :             :                     {
   11504                 :           0 :                     case INTEGER_CST:
   11505                 :           0 :                       {
   11506                 :           0 :                         {
   11507                 :           0 :                           tree captures[3] ATTRIBUTE_UNUSED = { _q20, _q21, _p1 };
   11508                 :           0 :                           if (gimple_simplify_237 (res_op, seq, valueize, type, captures, RROTATE_EXPR, LROTATE_EXPR, EQ_EXPR))
   11509                 :           0 :                             return true;
   11510                 :             :                         }
   11511                 :           0 :                         break;
   11512                 :             :                       }
   11513                 :             :                     default:;
   11514                 :             :                     }
   11515                 :             :                   break;
   11516                 :             :                 }
   11517                 :       35717 :               case MULT_EXPR:
   11518                 :       35717 :                 {
   11519                 :       35717 :                   tree _q20 = gimple_assign_rhs1 (_a1);
   11520                 :       35717 :                   _q20 = do_valueize (valueize, _q20);
   11521                 :       35717 :                   tree _q21 = gimple_assign_rhs2 (_a1);
   11522                 :       35717 :                   _q21 = do_valueize (valueize, _q21);
   11523                 :       35717 :                   if (tree_swap_operands_p (_q20, _q21))
   11524                 :         438 :                     std::swap (_q20, _q21);
   11525                 :       35717 :                   switch (TREE_CODE (_q20))
   11526                 :             :                     {
   11527                 :       35567 :                     case SSA_NAME:
   11528                 :       35567 :                       if (gimple *_d2 = get_def (valueize, _q20))
   11529                 :             :                         {
   11530                 :       35299 :                           if (gassign *_a2 = dyn_cast <gassign *> (_d2))
   11531                 :       26889 :                             switch (gimple_assign_rhs_code (_a2))
   11532                 :             :                               {
   11533                 :         562 :                               case TRUNC_DIV_EXPR:
   11534                 :         562 :                                 {
   11535                 :         562 :                                   tree _q30 = gimple_assign_rhs1 (_a2);
   11536                 :         562 :                                   _q30 = do_valueize (valueize, _q30);
   11537                 :         562 :                                   tree _q31 = gimple_assign_rhs2 (_a2);
   11538                 :         562 :                                   _q31 = do_valueize (valueize, _q31);
   11539                 :         562 :                                   if ((_q21 == _q31 && ! TREE_SIDE_EFFECTS (_q21)) || (operand_equal_p (_q21, _q31, 0) && types_match (_q21, _q31)))
   11540                 :             :                                     {
   11541                 :          51 :                                       if ((_p1 == _q30 && ! TREE_SIDE_EFFECTS (_p1)) || (operand_equal_p (_p1, _q30, 0) && types_match (_p1, _q30)))
   11542                 :             :                                         {
   11543                 :          18 :                                           {
   11544                 :          18 :                                             tree captures[3] ATTRIBUTE_UNUSED = { _q20, _q30, _q31 };
   11545                 :          18 :                                             if (gimple_simplify_238 (res_op, seq, valueize, type, captures))
   11546                 :           5 :                                               return true;
   11547                 :             :                                           }
   11548                 :             :                                         }
   11549                 :             :                                     }
   11550                 :             :                                   break;
   11551                 :             :                                 }
   11552                 :             :                               default:;
   11553                 :             :                               }
   11554                 :             :                         }
   11555                 :             :                       break;
   11556                 :       35712 :                     default:;
   11557                 :             :                     }
   11558                 :       35712 :                   switch (TREE_CODE (_q21))
   11559                 :             :                     {
   11560                 :        6404 :                     case SSA_NAME:
   11561                 :        6404 :                       if (gimple *_d2 = get_def (valueize, _q21))
   11562                 :             :                         {
   11563                 :        6291 :                           if (gassign *_a2 = dyn_cast <gassign *> (_d2))
   11564                 :        5415 :                             switch (gimple_assign_rhs_code (_a2))
   11565                 :             :                               {
   11566                 :           6 :                               case TRUNC_DIV_EXPR:
   11567                 :           6 :                                 {
   11568                 :           6 :                                   tree _q40 = gimple_assign_rhs1 (_a2);
   11569                 :           6 :                                   _q40 = do_valueize (valueize, _q40);
   11570                 :           6 :                                   tree _q41 = gimple_assign_rhs2 (_a2);
   11571                 :           6 :                                   _q41 = do_valueize (valueize, _q41);
   11572                 :           6 :                                   if ((_q41 == _q20 && ! TREE_SIDE_EFFECTS (_q41)) || (operand_equal_p (_q41, _q20, 0) && types_match (_q41, _q20)))
   11573                 :             :                                     {
   11574                 :           3 :                                       if ((_p1 == _q40 && ! TREE_SIDE_EFFECTS (_p1)) || (operand_equal_p (_p1, _q40, 0) && types_match (_p1, _q40)))
   11575                 :             :                                         {
   11576                 :           0 :                                           {
   11577                 :           0 :                                             tree captures[3] ATTRIBUTE_UNUSED = { _q21, _q40, _q20 };
   11578                 :           0 :                                             if (gimple_simplify_238 (res_op, seq, valueize, type, captures))
   11579                 :           0 :                                               return true;
   11580                 :             :                                           }
   11581                 :             :                                         }
   11582                 :             :                                     }
   11583                 :             :                                   break;
   11584                 :             :                                 }
   11585                 :             :                               default:;
   11586                 :             :                               }
   11587                 :             :                         }
   11588                 :             :                       break;
   11589                 :             :                     default:;
   11590                 :             :                     }
   11591                 :    69628499 :                   break;
   11592                 :             :                 }
   11593                 :             :               default:;
   11594                 :             :               }
   11595                 :             :         }
   11596                 :             :       break;
   11597                 :    69628499 :     default:;
   11598                 :             :     }
   11599                 :    69628499 :   switch (TREE_CODE (_p1))
   11600                 :             :     {
   11601                 :    12142786 :     case SSA_NAME:
   11602                 :    12142786 :       if (gimple *_d1 = get_def (valueize, _p1))
   11603                 :             :         {
   11604                 :     3878894 :           if (gassign *_a1 = dyn_cast <gassign *> (_d1))
   11605                 :     6057804 :             switch (gimple_assign_rhs_code (_a1))
   11606                 :             :               {
   11607                 :       10029 :               case MULT_EXPR:
   11608                 :       10029 :                 {
   11609                 :       10029 :                   tree _q30 = gimple_assign_rhs1 (_a1);
   11610                 :       10029 :                   _q30 = do_valueize (valueize, _q30);
   11611                 :       10029 :                   tree _q31 = gimple_assign_rhs2 (_a1);
   11612                 :       10029 :                   _q31 = do_valueize (valueize, _q31);
   11613                 :       10029 :                   if (tree_swap_operands_p (_q30, _q31))
   11614                 :          63 :                     std::swap (_q30, _q31);
   11615                 :       10029 :                   switch (TREE_CODE (_q30))
   11616                 :             :                     {
   11617                 :       10029 :                     case SSA_NAME:
   11618                 :       10029 :                       if (gimple *_d2 = get_def (valueize, _q30))
   11619                 :             :                         {
   11620                 :        9845 :                           if (gassign *_a2 = dyn_cast <gassign *> (_d2))
   11621                 :       10286 :                             switch (gimple_assign_rhs_code (_a2))
   11622                 :             :                               {
   11623                 :          56 :                               case TRUNC_DIV_EXPR:
   11624                 :          56 :                                 {
   11625                 :          56 :                                   tree _q40 = gimple_assign_rhs1 (_a2);
   11626                 :          56 :                                   _q40 = do_valueize (valueize, _q40);
   11627                 :          56 :                                   tree _q41 = gimple_assign_rhs2 (_a2);
   11628                 :          56 :                                   _q41 = do_valueize (valueize, _q41);
   11629                 :          56 :                                   if ((_q40 == _p0 && ! TREE_SIDE_EFFECTS (_q40)) || (operand_equal_p (_q40, _p0, 0) && types_match (_q40, _p0)))
   11630                 :             :                                     {
   11631                 :          24 :                                       if ((_q31 == _q41 && ! TREE_SIDE_EFFECTS (_q31)) || (operand_equal_p (_q31, _q41, 0) && types_match (_q31, _q41)))
   11632                 :             :                                         {
   11633                 :          24 :                                           {
   11634                 :          24 :                                             tree captures[3] ATTRIBUTE_UNUSED = { _q30, _p0, _q41 };
   11635                 :          24 :                                             if (gimple_simplify_238 (res_op, seq, valueize, type, captures))
   11636                 :           0 :                                               return true;
   11637                 :             :                                           }
   11638                 :             :                                         }
   11639                 :             :                                     }
   11640                 :             :                                   break;
   11641                 :             :                                 }
   11642                 :             :                               default:;
   11643                 :             :                               }
   11644                 :             :                         }
   11645                 :             :                       break;
   11646                 :       10029 :                     default:;
   11647                 :             :                     }
   11648                 :       10029 :                   switch (TREE_CODE (_q31))
   11649                 :             :                     {
   11650                 :        3497 :                     case SSA_NAME:
   11651                 :        3497 :                       if (gimple *_d2 = get_def (valueize, _q31))
   11652                 :             :                         {
   11653                 :        3469 :                           if (gassign *_a2 = dyn_cast <gassign *> (_d2))
   11654                 :        3201 :                             switch (gimple_assign_rhs_code (_a2))
   11655                 :             :                               {
   11656                 :          47 :                               case TRUNC_DIV_EXPR:
   11657                 :          47 :                                 {
   11658                 :          47 :                                   tree _q50 = gimple_assign_rhs1 (_a2);
   11659                 :          47 :                                   _q50 = do_valueize (valueize, _q50);
   11660                 :          47 :                                   tree _q51 = gimple_assign_rhs2 (_a2);
   11661                 :          47 :                                   _q51 = do_valueize (valueize, _q51);
   11662                 :          47 :                                   if ((_q50 == _p0 && ! TREE_SIDE_EFFECTS (_q50)) || (operand_equal_p (_q50, _p0, 0) && types_match (_q50, _p0)))
   11663                 :             :                                     {
   11664                 :          47 :                                       if ((_q51 == _q30 && ! TREE_SIDE_EFFECTS (_q51)) || (operand_equal_p (_q51, _q30, 0) && types_match (_q51, _q30)))
   11665                 :             :                                         {
   11666                 :          47 :                                           {
   11667                 :          47 :                                             tree captures[3] ATTRIBUTE_UNUSED = { _q31, _p0, _q30 };
   11668                 :          47 :                                             if (gimple_simplify_238 (res_op, seq, valueize, type, captures))
   11669                 :           2 :                                               return true;
   11670                 :             :                                           }
   11671                 :             :                                         }
   11672                 :             :                                     }
   11673                 :             :                                   break;
   11674                 :             :                                 }
   11675                 :             :                               default:;
   11676                 :             :                               }
   11677                 :             :                         }
   11678                 :             :                       break;
   11679                 :             :                     default:;
   11680                 :             :                     }
   11681                 :    69628497 :                   break;
   11682                 :             :                 }
   11683                 :             :               default:;
   11684                 :             :               }
   11685                 :             :         }
   11686                 :             :       break;
   11687                 :    69628497 :     default:;
   11688                 :             :     }
   11689                 :    69628497 :   switch (TREE_CODE (_p0))
   11690                 :             :     {
   11691                 :    66428395 :     case SSA_NAME:
   11692                 :    66428395 :       if (gimple *_d1 = get_def (valueize, _p0))
   11693                 :             :         {
   11694                 :    22629474 :           if (gassign *_a1 = dyn_cast <gassign *> (_d1))
   11695                 :    26785404 :             switch (gimple_assign_rhs_code (_a1))
   11696                 :             :               {
   11697                 :         152 :               case VEC_COND_EXPR:
   11698                 :         152 :                 {
   11699                 :         152 :                   tree _q20 = gimple_assign_rhs1 (_a1);
   11700                 :         152 :                   _q20 = do_valueize (valueize, _q20);
   11701                 :         152 :                   tree _q21 = gimple_assign_rhs2 (_a1);
   11702                 :         152 :                   _q21 = do_valueize (valueize, _q21);
   11703                 :         152 :                   tree _q22 = gimple_assign_rhs3 (_a1);
   11704                 :         152 :                   _q22 = do_valueize (valueize, _q22);
   11705                 :         152 :                   switch (TREE_CODE (_p1))
   11706                 :             :                     {
   11707                 :          59 :                     case SSA_NAME:
   11708                 :          59 :                       if (gimple *_d2 = get_def (valueize, _p1))
   11709                 :             :                         {
   11710                 :          59 :                           if (gassign *_a2 = dyn_cast <gassign *> (_d2))
   11711                 :         112 :                             switch (gimple_assign_rhs_code (_a2))
   11712                 :             :                               {
   11713                 :           6 :                               case VEC_COND_EXPR:
   11714                 :           6 :                                 {
   11715                 :           6 :                                   tree _q60 = gimple_assign_rhs1 (_a2);
   11716                 :           6 :                                   _q60 = do_valueize (valueize, _q60);
   11717                 :           6 :                                   tree _q61 = gimple_assign_rhs2 (_a2);
   11718                 :           6 :                                   _q61 = do_valueize (valueize, _q61);
   11719                 :           6 :                                   tree _q62 = gimple_assign_rhs3 (_a2);
   11720                 :           6 :                                   _q62 = do_valueize (valueize, _q62);
   11721                 :           6 :                                   if ((_q60 == _q20 && ! TREE_SIDE_EFFECTS (_q60)) || (operand_equal_p (_q60, _q20, 0) && types_match (_q60, _q20)))
   11722                 :             :                                     {
   11723                 :           0 :                                       {
   11724                 :           0 :                                         tree captures[7] ATTRIBUTE_UNUSED = { _p0, _q20, _q21, _q22, _p1, _q61, _q62 };
   11725                 :           0 :                                         if (TREE_CODE_CLASS (EQ_EXPR) != tcc_comparison
   11726                 :           0 :  || types_match (type, TREE_TYPE (captures[2]))
   11727                 :           0 :  || expand_vec_cond_expr_p (type, TREE_TYPE (captures[1]), ERROR_MARK)
   11728                 :             :  || (optimize_vectors_before_lowering_p ()
   11729                 :           0 :  && !expand_vec_cond_expr_p (TREE_TYPE (captures[2]),
   11730                 :           0 :  TREE_TYPE (captures[1]), ERROR_MARK))
   11731                 :             : )
   11732                 :             :                                           {
   11733                 :           0 :                                             gimple_seq *lseq = seq;
   11734                 :           0 :                                             if (lseq
   11735                 :           0 :                                                 && (!single_use (captures[0])
   11736                 :           0 :                                                     || !single_use (captures[4])))
   11737                 :           0 :                                               lseq = NULL;
   11738                 :           0 :                                             if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail1778;
   11739                 :           0 :                                             {
   11740                 :           0 :                                               res_op->set_op (VEC_COND_EXPR, type, 3);
   11741                 :           0 :                                               res_op->ops[0] = captures[1];
   11742                 :           0 :                                               {
   11743                 :           0 :                                                 tree _o1[2], _r1;
   11744                 :           0 :                                                 _o1[0] = captures[2];
   11745                 :           0 :                                                 _o1[1] = captures[5];
   11746                 :           0 :                                                 gimple_match_op tem_op (res_op->cond.any_else (), EQ_EXPR, type, _o1[0], _o1[1]);
   11747                 :           0 :                                                 tem_op.resimplify (NULL, valueize);
   11748                 :           0 :                                                 _r1 = maybe_push_res_to_seq (&tem_op, NULL);
   11749                 :           0 :                                                 if (!_r1) goto next_after_fail1778;
   11750                 :           0 :                                                 res_op->ops[1] = _r1;
   11751                 :             :                                               }
   11752                 :           0 :                                               {
   11753                 :           0 :                                                 tree _o1[2], _r1;
   11754                 :           0 :                                                 _o1[0] = captures[3];
   11755                 :           0 :                                                 _o1[1] = captures[6];
   11756                 :           0 :                                                 gimple_match_op tem_op (res_op->cond.any_else (), EQ_EXPR, type, _o1[0], _o1[1]);
   11757                 :           0 :                                                 tem_op.resimplify (NULL, valueize);
   11758                 :           0 :                                                 _r1 = maybe_push_res_to_seq (&tem_op, NULL);
   11759                 :           0 :                                                 if (!_r1) goto next_after_fail1778;
   11760                 :           0 :                                                 res_op->ops[2] = _r1;
   11761                 :             :                                               }
   11762                 :           0 :                                               res_op->resimplify (lseq, valueize);
   11763                 :           0 :                                               if (UNLIKELY (debug_dump)) gimple_dump_logs ("match.pd", 925, __FILE__, __LINE__, true);
   11764                 :           0 :                                               return true;
   11765                 :             :                                             }
   11766                 :           0 : next_after_fail1778:;
   11767                 :             :                                           }
   11768                 :             :                                       }
   11769                 :             :                                     }
   11770                 :             :                                   break;
   11771                 :             :                                 }
   11772                 :             :                               default:;
   11773                 :             :                               }
   11774                 :             :                         }
   11775                 :             :                       break;
   11776                 :         152 :                     default:;
   11777                 :             :                     }
   11778                 :         152 :                   {
   11779                 :         152 :                     tree captures[5] ATTRIBUTE_UNUSED = { _p0, _q20, _q21, _q22, _p1 };
   11780                 :         152 :                     if (TREE_CODE_CLASS (EQ_EXPR) != tcc_comparison
   11781                 :         152 :  || types_match (type, TREE_TYPE (captures[2]))
   11782                 :         152 :  || expand_vec_cond_expr_p (type, TREE_TYPE (captures[1]), ERROR_MARK)
   11783                 :             :  || (optimize_vectors_before_lowering_p ()
   11784                 :          64 :  && !expand_vec_cond_expr_p (TREE_TYPE (captures[2]),
   11785                 :          64 :  TREE_TYPE (captures[1]), ERROR_MARK))
   11786                 :             : )
   11787                 :             :                       {
   11788                 :          80 :                         gimple_seq *lseq = seq;
   11789                 :          80 :                         if (lseq
   11790                 :          21 :                             && (!single_use (captures[0])))
   11791                 :          66 :                           lseq = NULL;
   11792                 :          80 :                         if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail1779;
   11793                 :          80 :                         {
   11794                 :          80 :                           res_op->set_op (VEC_COND_EXPR, type, 3);
   11795                 :          80 :                           res_op->ops[0] = captures[1];
   11796                 :          80 :                           {
   11797                 :          80 :                             tree _o1[2], _r1;
   11798                 :          80 :                             _o1[0] = captures[2];
   11799                 :          80 :                             _o1[1] = captures[4];
   11800                 :          80 :                             gimple_match_op tem_op (res_op->cond.any_else (), EQ_EXPR, type, _o1[0], _o1[1]);
   11801                 :          80 :                             tem_op.resimplify (NULL, valueize);
   11802                 :          80 :                             _r1 = maybe_push_res_to_seq (&tem_op, NULL);
   11803                 :          80 :                             if (!_r1) goto next_after_fail1779;
   11804                 :          37 :                             res_op->ops[1] = _r1;
   11805                 :             :                           }
   11806                 :          37 :                           {
   11807                 :          37 :                             tree _o1[2], _r1;
   11808                 :          37 :                             _o1[0] = captures[3];
   11809                 :          37 :                             _o1[1] = captures[4];
   11810                 :          37 :                             gimple_match_op tem_op (res_op->cond.any_else (), EQ_EXPR, type, _o1[0], _o1[1]);
   11811                 :          37 :                             tem_op.resimplify (NULL, valueize);
   11812                 :          37 :                             _r1 = maybe_push_res_to_seq (&tem_op, NULL);
   11813                 :          37 :                             if (!_r1) goto next_after_fail1779;
   11814                 :          28 :                             res_op->ops[2] = _r1;
   11815                 :             :                           }
   11816                 :          28 :                           res_op->resimplify (lseq, valueize);
   11817                 :          28 :                           if (UNLIKELY (debug_dump)) gimple_dump_logs ("match.pd", 926, __FILE__, __LINE__, true);
   11818                 :          28 :                           return true;
   11819                 :             :                         }
   11820                 :         124 : next_after_fail1779:;
   11821                 :             :                       }
   11822                 :             :                   }
   11823                 :         124 :                   break;
   11824                 :             :                 }
   11825                 :             :               default:;
   11826                 :             :               }
   11827                 :     7770195 :           else if (gcall *_c1 = dyn_cast <gcall *> (_d1))
   11828                 :     4724971 :             switch (gimple_call_combined_fn (_c1))
   11829                 :             :               {
   11830                 :           0 :               case CFN_BUILT_IN_BSWAP128:
   11831                 :           0 :                 if (gimple_call_num_args (_c1) == 1)
   11832                 :             :                   {
   11833                 :           0 :                     tree _q20 = gimple_call_arg (_c1, 0);
   11834                 :           0 :                     _q20 = do_valueize (valueize, _q20);
   11835                 :           0 :                     switch (TREE_CODE (_p1))
   11836                 :             :                       {
   11837                 :           0 :                       case SSA_NAME:
   11838                 :           0 :                         if (gimple *_d2 = get_def (valueize, _p1))
   11839                 :             :                           {
   11840                 :           0 :                             if (gcall *_c2 = dyn_cast <gcall *> (_d2))
   11841                 :           0 :                               switch (gimple_call_combined_fn (_c2))
   11842                 :             :                                 {
   11843                 :           0 :                                 case CFN_BUILT_IN_BSWAP128:
   11844                 :           0 :                                   if (gimple_call_num_args (_c2) == 1)
   11845                 :             :                                     {
   11846                 :           0 :                                       tree _q40 = gimple_call_arg (_c2, 0);
   11847                 :           0 :                                       _q40 = do_valueize (valueize, _q40);
   11848                 :           0 :                                       {
   11849                 :           0 :                                         tree captures[3] ATTRIBUTE_UNUSED = { _p0, _q20, _q40 };
   11850                 :           0 :                                         if (gimple_simplify_239 (res_op, seq, valueize, type, captures, EQ_EXPR, CFN_BUILT_IN_BSWAP128))
   11851                 :           0 :                                           return true;
   11852                 :             :                                       }
   11853                 :             :                                     }
   11854                 :             :                                   break;
   11855                 :             :                                 default:;
   11856                 :             :                                 }
   11857                 :             :                           }
   11858                 :             :                         break;
   11859                 :           0 :                       case INTEGER_CST:
   11860                 :           0 :                         {
   11861                 :           0 :                           {
   11862                 :           0 :                             tree captures[2] ATTRIBUTE_UNUSED = { _q20, _p1 };
   11863                 :           0 :                             if (gimple_simplify_240 (res_op, seq, valueize, type, captures, EQ_EXPR, CFN_BUILT_IN_BSWAP128))
   11864                 :           0 :                               return true;
   11865                 :             :                           }
   11866                 :           0 :                           break;
   11867                 :             :                         }
   11868                 :             :                       default:;
   11869                 :             :                       }
   11870                 :             :                   }
   11871                 :             :                 break;
   11872                 :          23 :               case CFN_BUILT_IN_BSWAP16:
   11873                 :          23 :                 if (gimple_call_num_args (_c1) == 1)
   11874                 :             :                   {
   11875                 :          23 :                     tree _q20 = gimple_call_arg (_c1, 0);
   11876                 :          23 :                     _q20 = do_valueize (valueize, _q20);
   11877                 :          23 :                     switch (TREE_CODE (_p1))
   11878                 :             :                       {
   11879                 :          21 :                       case SSA_NAME:
   11880                 :          21 :                         if (gimple *_d2 = get_def (valueize, _p1))
   11881                 :             :                           {
   11882                 :          21 :                             if (gcall *_c2 = dyn_cast <gcall *> (_d2))
   11883                 :          21 :                               switch (gimple_call_combined_fn (_c2))
   11884                 :             :                                 {
   11885                 :          21 :                                 case CFN_BUILT_IN_BSWAP16:
   11886                 :          21 :                                   if (gimple_call_num_args (_c2) == 1)
   11887                 :             :                                     {
   11888                 :          21 :                                       tree _q40 = gimple_call_arg (_c2, 0);
   11889                 :          21 :                                       _q40 = do_valueize (valueize, _q40);
   11890                 :          21 :                                       {
   11891                 :          21 :                                         tree captures[3] ATTRIBUTE_UNUSED = { _p0, _q20, _q40 };
   11892                 :          21 :                                         if (gimple_simplify_239 (res_op, seq, valueize, type, captures, EQ_EXPR, CFN_BUILT_IN_BSWAP16))
   11893                 :          21 :                                           return true;
   11894                 :             :                                       }
   11895                 :             :                                     }
   11896                 :             :                                   break;
   11897                 :             :                                 default:;
   11898                 :             :                                 }
   11899                 :             :                           }
   11900                 :             :                         break;
   11901                 :           2 :                       case INTEGER_CST:
   11902                 :           2 :                         {
   11903                 :           2 :                           {
   11904                 :           2 :                             tree captures[2] ATTRIBUTE_UNUSED = { _q20, _p1 };
   11905                 :           2 :                             if (gimple_simplify_240 (res_op, seq, valueize, type, captures, EQ_EXPR, CFN_BUILT_IN_BSWAP16))
   11906                 :           2 :                               return true;
   11907                 :             :                           }
   11908                 :           0 :                           break;
   11909                 :             :                         }
   11910                 :             :                       default:;
   11911                 :             :                       }
   11912                 :             :                   }
   11913                 :             :                 break;
   11914                 :          36 :               case CFN_BUILT_IN_BSWAP32:
   11915                 :          36 :                 if (gimple_call_num_args (_c1) == 1)
   11916                 :             :                   {
   11917                 :          36 :                     tree _q20 = gimple_call_arg (_c1, 0);
   11918                 :          36 :                     _q20 = do_valueize (valueize, _q20);
   11919                 :          36 :                     switch (TREE_CODE (_p1))
   11920                 :             :                       {
   11921                 :          14 :                       case SSA_NAME:
   11922                 :          14 :                         if (gimple *_d2 = get_def (valueize, _p1))
   11923                 :             :                           {
   11924                 :          14 :                             if (gcall *_c2 = dyn_cast <gcall *> (_d2))
   11925                 :          14 :                               switch (gimple_call_combined_fn (_c2))
   11926                 :             :                                 {
   11927                 :          14 :                                 case CFN_BUILT_IN_BSWAP32:
   11928                 :          14 :                                   if (gimple_call_num_args (_c2) == 1)
   11929                 :             :                                     {
   11930                 :          14 :                                       tree _q40 = gimple_call_arg (_c2, 0);
   11931                 :          14 :                                       _q40 = do_valueize (valueize, _q40);
   11932                 :          14 :                                       {
   11933                 :          14 :                                         tree captures[3] ATTRIBUTE_UNUSED = { _p0, _q20, _q40 };
   11934                 :          14 :                                         if (gimple_simplify_239 (res_op, seq, valueize, type, captures, EQ_EXPR, CFN_BUILT_IN_BSWAP32))
   11935                 :          14 :                                           return true;
   11936                 :             :                                       }
   11937                 :             :                                     }
   11938                 :             :                                   break;
   11939                 :             :                                 default:;
   11940                 :             :                                 }
   11941                 :             :                           }
   11942                 :             :                         break;
   11943                 :          22 :                       case INTEGER_CST:
   11944                 :          22 :                         {
   11945                 :          22 :                           {
   11946                 :          22 :                             tree captures[2] ATTRIBUTE_UNUSED = { _q20, _p1 };
   11947                 :          22 :                             if (gimple_simplify_240 (res_op, seq, valueize, type, captures, EQ_EXPR, CFN_BUILT_IN_BSWAP32))
   11948                 :          22 :                               return true;
   11949                 :             :                           }
   11950                 :           0 :                           break;
   11951                 :             :                         }
   11952                 :             :                       default:;
   11953                 :             :                       }
   11954                 :             :                   }
   11955                 :             :                 break;
   11956                 :          15 :               case CFN_BUILT_IN_BSWAP64:
   11957                 :          15 :                 if (gimple_call_num_args (_c1) == 1)
   11958                 :             :                   {
   11959                 :          15 :                     tree _q20 = gimple_call_arg (_c1, 0);
   11960                 :          15 :                     _q20 = do_valueize (valueize, _q20);
   11961                 :          15 :                     switch (TREE_CODE (_p1))
   11962                 :             :                       {
   11963                 :           0 :                       case SSA_NAME:
   11964                 :           0 :                         if (gimple *_d2 = get_def (valueize, _p1))
   11965                 :             :                           {
   11966                 :           0 :                             if (gcall *_c2 = dyn_cast <gcall *> (_d2))
   11967                 :           0 :                               switch (gimple_call_combined_fn (_c2))
   11968                 :             :                                 {
   11969                 :           0 :                                 case CFN_BUILT_IN_BSWAP64:
   11970                 :           0 :                                   if (gimple_call_num_args (_c2) == 1)
   11971                 :             :                                     {
   11972                 :           0 :                                       tree _q40 = gimple_call_arg (_c2, 0);
   11973                 :           0 :                                       _q40 = do_valueize (valueize, _q40);
   11974                 :           0 :                                       {
   11975                 :           0 :                                         tree captures[3] ATTRIBUTE_UNUSED = { _p0, _q20, _q40 };
   11976                 :           0 :                                         if (gimple_simplify_239 (res_op, seq, valueize, type, captures, EQ_EXPR, CFN_BUILT_IN_BSWAP64))
   11977                 :           0 :                                           return true;
   11978                 :             :                                       }
   11979                 :             :                                     }
   11980                 :             :                                   break;
   11981                 :             :                                 default:;
   11982                 :             :                                 }
   11983                 :             :                           }
   11984                 :             :                         break;
   11985                 :          15 :                       case INTEGER_CST:
   11986                 :          15 :                         {
   11987                 :          15 :                           {
   11988                 :          15 :                             tree captures[2] ATTRIBUTE_UNUSED = { _q20, _p1 };
   11989                 :          15 :                             if (gimple_simplify_240 (res_op, seq, valueize, type, captures, EQ_EXPR, CFN_BUILT_IN_BSWAP64))
   11990                 :          15 :                               return true;
   11991                 :             :                           }
   11992                 :           0 :                           break;
   11993                 :             :                         }
   11994                 :             :                       default:;
   11995                 :             :                       }
   11996                 :             :                   }
   11997                 :             :                 break;
   11998                 :             :               default:;
   11999                 :             :               }
   12000                 :             :         }
   12001                 :             :       break;
   12002                 :    69628395 :     default:;
   12003                 :             :     }
   12004                 :    69628395 :   switch (TREE_CODE (_p1))
   12005                 :             :     {
   12006                 :    12142749 :     case SSA_NAME:
   12007                 :    12142749 :       if (gimple *_d1 = get_def (valueize, _p1))
   12008                 :             :         {
   12009                 :     3878857 :           if (gassign *_a1 = dyn_cast <gassign *> (_d1))
   12010                 :     6057802 :             switch (gimple_assign_rhs_code (_a1))
   12011                 :             :               {
   12012                 :          10 :               case VEC_COND_EXPR:
   12013                 :          10 :                 {
   12014                 :          10 :                   tree _q30 = gimple_assign_rhs1 (_a1);
   12015                 :          10 :                   _q30 = do_valueize (valueize, _q30);
   12016                 :          10 :                   tree _q31 = gimple_assign_rhs2 (_a1);
   12017                 :          10 :                   _q31 = do_valueize (valueize, _q31);
   12018                 :          10 :                   tree _q32 = gimple_assign_rhs3 (_a1);
   12019                 :          10 :                   _q32 = do_valueize (valueize, _q32);
   12020                 :          10 :                   {
   12021                 :          10 :                     tree captures[5] ATTRIBUTE_UNUSED = { _p0, _p1, _q30, _q31, _q32 };
   12022                 :          10 :                     if (TREE_CODE_CLASS (EQ_EXPR) != tcc_comparison
   12023                 :          10 :  || types_match (type, TREE_TYPE (captures[3]))
   12024                 :          10 :  || expand_vec_cond_expr_p (type, TREE_TYPE (captures[2]), ERROR_MARK)
   12025                 :             :  || (optimize_vectors_before_lowering_p ()
   12026                 :           0 :  && !expand_vec_cond_expr_p (TREE_TYPE (captures[3]),
   12027                 :           0 :  TREE_TYPE (captures[2]), ERROR_MARK))
   12028                 :             : )
   12029                 :             :                       {
   12030                 :          10 :                         gimple_seq *lseq = seq;
   12031                 :          10 :                         if (lseq
   12032                 :           2 :                             && (!single_use (captures[1])))
   12033                 :           8 :                           lseq = NULL;
   12034                 :          10 :                         if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail1780;
   12035                 :          10 :                         {
   12036                 :          10 :                           res_op->set_op (VEC_COND_EXPR, type, 3);
   12037                 :          10 :                           res_op->ops[0] = captures[2];
   12038                 :          10 :                           {
   12039                 :          10 :                             tree _o1[2], _r1;
   12040                 :          10 :                             _o1[0] = captures[0];
   12041                 :          10 :                             _o1[1] = captures[3];
   12042                 :          10 :                             gimple_match_op tem_op (res_op->cond.any_else (), EQ_EXPR, type, _o1[0], _o1[1]);
   12043                 :          10 :                             tem_op.resimplify (NULL, valueize);
   12044                 :          10 :                             _r1 = maybe_push_res_to_seq (&tem_op, NULL);
   12045                 :          10 :                             if (!_r1) goto next_after_fail1780;
   12046                 :           6 :                             res_op->ops[1] = _r1;
   12047                 :             :                           }
   12048                 :           6 :                           {
   12049                 :           6 :                             tree _o1[2], _r1;
   12050                 :           6 :                             _o1[0] = captures[0];
   12051                 :           6 :                             _o1[1] = captures[4];
   12052                 :           6 :                             gimple_match_op tem_op (res_op->cond.any_else (), EQ_EXPR, type, _o1[0], _o1[1]);
   12053                 :           6 :                             tem_op.resimplify (NULL, valueize);
   12054                 :           6 :                             _r1 = maybe_push_res_to_seq (&tem_op, NULL);
   12055                 :           6 :                             if (!_r1) goto next_after_fail1780;
   12056                 :           0 :                             res_op->ops[2] = _r1;
   12057                 :             :                           }
   12058                 :           0 :                           res_op->resimplify (lseq, valueize);
   12059                 :           0 :                           if (UNLIKELY (debug_dump)) gimple_dump_logs ("match.pd", 927, __FILE__, __LINE__, true);
   12060                 :           0 :                           return true;
   12061                 :             :                         }
   12062                 :          10 : next_after_fail1780:;
   12063                 :             :                       }
   12064                 :             :                   }
   12065                 :          10 :                   break;
   12066                 :             :                 }
   12067                 :             :               default:;
   12068                 :             :               }
   12069                 :             :         }
   12070                 :             :       break;
   12071                 :    69628395 :     default:;
   12072                 :             :     }
   12073                 :    69628395 :   switch (TREE_CODE (_p0))
   12074                 :             :     {
   12075                 :    66428293 :     case SSA_NAME:
   12076                 :    66428293 :       if (gimple *_d1 = get_def (valueize, _p0))
   12077                 :             :         {
   12078                 :    22629372 :           if (gassign *_a1 = dyn_cast <gassign *> (_d1))
   12079                 :    26785376 :             switch (gimple_assign_rhs_code (_a1))
   12080                 :             :               {
   12081                 :        1185 :               case LT_EXPR:
   12082                 :        1185 :                 {
   12083                 :        1185 :                   tree _q20 = gimple_assign_rhs1 (_a1);
   12084                 :        1185 :                   _q20 = do_valueize (valueize, _q20);
   12085                 :        1185 :                   tree _q21 = gimple_assign_rhs2 (_a1);
   12086                 :        1185 :                   _q21 = do_valueize (valueize, _q21);
   12087                 :        1185 :                   if (integer_truep (_p1))
   12088                 :             :                     {
   12089                 :          88 :                       {
   12090                 :          88 :                         tree captures[3] ATTRIBUTE_UNUSED = { _p0, _q20, _q21 };
   12091                 :          88 :                         if (gimple_simplify_241 (res_op, seq, valueize, type, captures, LT_EXPR, GE_EXPR, UNGE_EXPR))
   12092                 :          80 :                           return true;
   12093                 :             :                       }
   12094                 :             :                     }
   12095                 :        1105 :                   if (integer_zerop (_p1))
   12096                 :             :                     {
   12097                 :         747 :                       {
   12098                 :         747 :                         tree captures[3] ATTRIBUTE_UNUSED = { _p0, _q20, _q21 };
   12099                 :         747 :                         if (gimple_simplify_242 (res_op, seq, valueize, type, captures, LT_EXPR, GE_EXPR, UNGE_EXPR))
   12100                 :         206 :                           return true;
   12101                 :             :                       }
   12102                 :             :                     }
   12103                 :             :                   break;
   12104                 :             :                 }
   12105                 :         767 :               case LE_EXPR:
   12106                 :         767 :                 {
   12107                 :         767 :                   tree _q20 = gimple_assign_rhs1 (_a1);
   12108                 :         767 :                   _q20 = do_valueize (valueize, _q20);
   12109                 :         767 :                   tree _q21 = gimple_assign_rhs2 (_a1);
   12110                 :         767 :                   _q21 = do_valueize (valueize, _q21);
   12111                 :         767 :                   if (integer_truep (_p1))
   12112                 :             :                     {
   12113                 :         104 :                       {
   12114                 :         104 :                         tree captures[3] ATTRIBUTE_UNUSED = { _p0, _q20, _q21 };
   12115                 :         104 :                         if (gimple_simplify_241 (res_op, seq, valueize, type, captures, LE_EXPR, GT_EXPR, UNGT_EXPR))
   12116                 :         104 :                           return true;
   12117                 :             :                       }
   12118                 :             :                     }
   12119                 :         663 :                   if (integer_zerop (_p1))
   12120                 :             :                     {
   12121                 :         188 :                       {
   12122                 :         188 :                         tree captures[3] ATTRIBUTE_UNUSED = { _p0, _q20, _q21 };
   12123                 :         188 :                         if (gimple_simplify_242 (res_op, seq, valueize, type, captures, LE_EXPR, GT_EXPR, UNGT_EXPR))
   12124                 :         156 :                           return true;
   12125                 :             :                       }
   12126                 :             :                     }
   12127                 :             :                   break;
   12128                 :             :                 }
   12129                 :       17744 :               case EQ_EXPR:
   12130                 :       17744 :                 {
   12131                 :       17744 :                   tree _q20 = gimple_assign_rhs1 (_a1);
   12132                 :       17744 :                   _q20 = do_valueize (valueize, _q20);
   12133                 :       17744 :                   tree _q21 = gimple_assign_rhs2 (_a1);
   12134                 :       17744 :                   _q21 = do_valueize (valueize, _q21);
   12135                 :       17744 :                   if (tree_swap_operands_p (_q20, _q21))
   12136                 :         528 :                     std::swap (_q20, _q21);
   12137                 :       17744 :                   if (integer_truep (_p1))
   12138                 :             :                     {
   12139                 :         889 :                       {
   12140                 :         889 :                         tree captures[3] ATTRIBUTE_UNUSED = { _p0, _q20, _q21 };
   12141                 :         889 :                         if (gimple_simplify_241 (res_op, seq, valueize, type, captures, EQ_EXPR, NE_EXPR, NE_EXPR))
   12142                 :         516 :                           return true;
   12143                 :             :                       }
   12144                 :             :                     }
   12145                 :       17228 :                   if (integer_zerop (_p1))
   12146                 :             :                     {
   12147                 :        3869 :                       {
   12148                 :        3869 :                         tree captures[3] ATTRIBUTE_UNUSED = { _p0, _q20, _q21 };
   12149                 :        3869 :                         if (gimple_simplify_242 (res_op, seq, valueize, type, captures, EQ_EXPR, NE_EXPR, NE_EXPR))
   12150                 :        3565 :                           return true;
   12151                 :             :                       }
   12152                 :             :                     }
   12153                 :    69603614 :                   break;
   12154                 :             :                 }
   12155                 :        9037 :               case NE_EXPR:
   12156                 :        9037 :                 {
   12157                 :        9037 :                   tree _q20 = gimple_assign_rhs1 (_a1);
   12158                 :        9037 :                   _q20 = do_valueize (valueize, _q20);
   12159                 :        9037 :                   tree _q21 = gimple_assign_rhs2 (_a1);
   12160                 :        9037 :                   _q21 = do_valueize (valueize, _q21);
   12161                 :        9037 :                   if (tree_swap_operands_p (_q20, _q21))
   12162                 :          24 :                     std::swap (_q20, _q21);
   12163                 :        9037 :                   if (integer_truep (_p1))
   12164                 :             :                     {
   12165                 :         265 :                       {
   12166                 :         265 :                         tree captures[3] ATTRIBUTE_UNUSED = { _p0, _q20, _q21 };
   12167                 :         265 :                         if (gimple_simplify_241 (res_op, seq, valueize, type, captures, NE_EXPR, EQ_EXPR, EQ_EXPR))
   12168                 :         195 :                           return true;
   12169                 :             :                       }
   12170                 :             :                     }
   12171                 :        8842 :                   if (integer_zerop (_p1))
   12172                 :             :                     {
   12173                 :        7781 :                       {
   12174                 :        7781 :                         tree captures[3] ATTRIBUTE_UNUSED = { _p0, _q20, _q21 };
   12175                 :        7781 :                         if (gimple_simplify_242 (res_op, seq, valueize, type, captures, NE_EXPR, EQ_EXPR, EQ_EXPR))
   12176                 :        6660 :                           return true;
   12177                 :             :                       }
   12178                 :             :                     }
   12179                 :    69603614 :                   break;
   12180                 :             :                 }
   12181                 :        1101 :               case GE_EXPR:
   12182                 :        1101 :                 {
   12183                 :        1101 :                   tree _q20 = gimple_assign_rhs1 (_a1);
   12184                 :        1101 :                   _q20 = do_valueize (valueize, _q20);
   12185                 :        1101 :                   tree _q21 = gimple_assign_rhs2 (_a1);
   12186                 :        1101 :                   _q21 = do_valueize (valueize, _q21);
   12187                 :        1101 :                   if (integer_truep (_p1))
   12188                 :             :                     {
   12189                 :         136 :                       {
   12190                 :         136 :                         tree captures[3] ATTRIBUTE_UNUSED = { _p0, _q20, _q21 };
   12191                 :         136 :                         if (gimple_simplify_241 (res_op, seq, valueize, type, captures, GE_EXPR, LT_EXPR, UNLT_EXPR))
   12192                 :         136 :                           return true;
   12193                 :             :                       }
   12194                 :             :                     }
   12195                 :         965 :                   if (integer_zerop (_p1))
   12196                 :             :                     {
   12197                 :         100 :                       {
   12198                 :         100 :                         tree captures[3] ATTRIBUTE_UNUSED = { _p0, _q20, _q21 };
   12199                 :         100 :                         if (gimple_simplify_242 (res_op, seq, valueize, type, captures, GE_EXPR, LT_EXPR, UNLT_EXPR))
   12200                 :          85 :                           return true;
   12201                 :             :                       }
   12202                 :             :                     }
   12203                 :             :                   break;
   12204                 :             :                 }
   12205                 :        2151 :               case GT_EXPR:
   12206                 :        2151 :                 {
   12207                 :        2151 :                   tree _q20 = gimple_assign_rhs1 (_a1);
   12208                 :        2151 :                   _q20 = do_valueize (valueize, _q20);
   12209                 :        2151 :                   tree _q21 = gimple_assign_rhs2 (_a1);
   12210                 :        2151 :                   _q21 = do_valueize (valueize, _q21);
   12211                 :        2151 :                   if (integer_truep (_p1))
   12212                 :             :                     {
   12213                 :         104 :                       {
   12214                 :         104 :                         tree captures[3] ATTRIBUTE_UNUSED = { _p0, _q20, _q21 };
   12215                 :         104 :                         if (gimple_simplify_241 (res_op, seq, valueize, type, captures, GT_EXPR, LE_EXPR, UNLE_EXPR))
   12216                 :          98 :                           return true;
   12217                 :             :                       }
   12218                 :             :                     }
   12219                 :        2053 :                   if (integer_zerop (_p1))
   12220                 :             :                     {
   12221                 :        1108 :                       {
   12222                 :        1108 :                         tree captures[3] ATTRIBUTE_UNUSED = { _p0, _q20, _q21 };
   12223                 :        1108 :                         if (gimple_simplify_242 (res_op, seq, valueize, type, captures, GT_EXPR, LE_EXPR, UNLE_EXPR))
   12224                 :         151 :                           return true;
   12225                 :             :                       }
   12226                 :             :                     }
   12227                 :             :                   break;
   12228                 :             :                 }
   12229                 :           6 :               case UNORDERED_EXPR:
   12230                 :           6 :                 {
   12231                 :           6 :                   tree _q20 = gimple_assign_rhs1 (_a1);
   12232                 :           6 :                   _q20 = do_valueize (valueize, _q20);
   12233                 :           6 :                   tree _q21 = gimple_assign_rhs2 (_a1);
   12234                 :           6 :                   _q21 = do_valueize (valueize, _q21);
   12235                 :           6 :                   if (tree_swap_operands_p (_q20, _q21))
   12236                 :           0 :                     std::swap (_q20, _q21);
   12237                 :           6 :                   if (integer_truep (_p1))
   12238                 :             :                     {
   12239                 :           0 :                       {
   12240                 :           0 :                         tree captures[3] ATTRIBUTE_UNUSED = { _p0, _q20, _q21 };
   12241                 :           0 :                         if (gimple_simplify_241 (res_op, seq, valueize, type, captures, UNORDERED_EXPR, ORDERED_EXPR, ORDERED_EXPR))
   12242                 :           0 :                           return true;
   12243                 :             :                       }
   12244                 :             :                     }
   12245                 :           6 :                   if (integer_zerop (_p1))
   12246                 :             :                     {
   12247                 :           6 :                       {
   12248                 :           6 :                         tree captures[3] ATTRIBUTE_UNUSED = { _p0, _q20, _q21 };
   12249                 :           6 :                         if (gimple_simplify_242 (res_op, seq, valueize, type, captures, UNORDERED_EXPR, ORDERED_EXPR, ORDERED_EXPR))
   12250                 :           0 :                           return true;
   12251                 :             :                       }
   12252                 :             :                     }
   12253                 :    69603614 :                   break;
   12254                 :             :                 }
   12255                 :           0 :               case ORDERED_EXPR:
   12256                 :           0 :                 {
   12257                 :           0 :                   tree _q20 = gimple_assign_rhs1 (_a1);
   12258                 :           0 :                   _q20 = do_valueize (valueize, _q20);
   12259                 :           0 :                   tree _q21 = gimple_assign_rhs2 (_a1);
   12260                 :           0 :                   _q21 = do_valueize (valueize, _q21);
   12261                 :           0 :                   if (tree_swap_operands_p (_q20, _q21))
   12262                 :           0 :                     std::swap (_q20, _q21);
   12263                 :           0 :                   if (integer_truep (_p1))
   12264                 :             :                     {
   12265                 :           0 :                       {
   12266                 :           0 :                         tree captures[3] ATTRIBUTE_UNUSED = { _p0, _q20, _q21 };
   12267                 :           0 :                         if (gimple_simplify_241 (res_op, seq, valueize, type, captures, ORDERED_EXPR, UNORDERED_EXPR, UNORDERED_EXPR))
   12268                 :           0 :                           return true;
   12269                 :             :                       }
   12270                 :             :                     }
   12271                 :           0 :                   if (integer_zerop (_p1))
   12272                 :             :                     {
   12273                 :           0 :                       {
   12274                 :           0 :                         tree captures[3] ATTRIBUTE_UNUSED = { _p0, _q20, _q21 };
   12275                 :           0 :                         if (gimple_simplify_242 (res_op, seq, valueize, type, captures, ORDERED_EXPR, UNORDERED_EXPR, UNORDERED_EXPR))
   12276                 :           0 :                           return true;
   12277                 :             :                       }
   12278                 :             :                     }
   12279                 :    69603614 :                   break;
   12280                 :             :                 }
   12281                 :           0 :               case UNLT_EXPR:
   12282                 :           0 :                 {
   12283                 :           0 :                   tree _q20 = gimple_assign_rhs1 (_a1);
   12284                 :           0 :                   _q20 = do_valueize (valueize, _q20);
   12285                 :           0 :                   tree _q21 = gimple_assign_rhs2 (_a1);
   12286                 :           0 :                   _q21 = do_valueize (valueize, _q21);
   12287                 :           0 :                   if (integer_truep (_p1))
   12288                 :             :                     {
   12289                 :           0 :                       {
   12290                 :           0 :                         tree captures[3] ATTRIBUTE_UNUSED = { _p0, _q20, _q21 };
   12291                 :           0 :                         if (gimple_simplify_241 (res_op, seq, valueize, type, captures, UNLT_EXPR, GE_EXPR, GE_EXPR))
   12292                 :           0 :                           return true;
   12293                 :             :                       }
   12294                 :             :                     }
   12295                 :           0 :                   if (integer_zerop (_p1))
   12296                 :             :                     {
   12297                 :           0 :                       {
   12298                 :           0 :                         tree captures[3] ATTRIBUTE_UNUSED = { _p0, _q20, _q21 };
   12299                 :           0 :                         if (gimple_simplify_242 (res_op, seq, valueize, type, captures, UNLT_EXPR, GE_EXPR, GE_EXPR))
   12300                 :           0 :                           return true;
   12301                 :             :                       }
   12302                 :             :                     }
   12303                 :             :                   break;
   12304                 :             :                 }
   12305                 :           0 :               case UNLE_EXPR:
   12306                 :           0 :                 {
   12307                 :           0 :                   tree _q20 = gimple_assign_rhs1 (_a1);
   12308                 :           0 :                   _q20 = do_valueize (valueize, _q20);
   12309                 :           0 :                   tree _q21 = gimple_assign_rhs2 (_a1);
   12310                 :           0 :                   _q21 = do_valueize (valueize, _q21);
   12311                 :           0 :                   if (integer_truep (_p1))
   12312                 :             :                     {
   12313                 :           0 :                       {
   12314                 :           0 :                         tree captures[3] ATTRIBUTE_UNUSED = { _p0, _q20, _q21 };
   12315                 :           0 :                         if (gimple_simplify_241 (res_op, seq, valueize, type, captures, UNLE_EXPR, GT_EXPR, GT_EXPR))
   12316                 :           0 :                           return true;
   12317                 :             :                       }
   12318                 :             :                     }
   12319                 :           0 :                   if (integer_zerop (_p1))
   12320                 :             :                     {
   12321                 :           0 :                       {
   12322                 :           0 :                         tree captures[3] ATTRIBUTE_UNUSED = { _p0, _q20, _q21 };
   12323                 :           0 :                         if (gimple_simplify_242 (res_op, seq, valueize, type, captures, UNLE_EXPR, GT_EXPR, GT_EXPR))
   12324                 :           0 :                           return true;
   12325                 :             :                       }
   12326                 :             :                     }
   12327                 :             :                   break;
   12328                 :             :                 }
   12329                 :           0 :               case UNGT_EXPR:
   12330                 :           0 :                 {
   12331                 :           0 :                   tree _q20 = gimple_assign_rhs1 (_a1);
   12332                 :           0 :                   _q20 = do_valueize (valueize, _q20);
   12333                 :           0 :                   tree _q21 = gimple_assign_rhs2 (_a1);
   12334                 :           0 :                   _q21 = do_valueize (valueize, _q21);
   12335                 :           0 :                   if (integer_truep (_p1))
   12336                 :             :                     {
   12337                 :           0 :                       {
   12338                 :           0 :                         tree captures[3] ATTRIBUTE_UNUSED = { _p0, _q20, _q21 };
   12339                 :           0 :                         if (gimple_simplify_241 (res_op, seq, valueize, type, captures, UNGT_EXPR, LE_EXPR, LE_EXPR))
   12340                 :           0 :                           return true;
   12341                 :             :                       }
   12342                 :             :                     }
   12343                 :           0 :                   if (integer_zerop (_p1))
   12344                 :             :                     {
   12345                 :           0 :                       {
   12346                 :           0 :                         tree captures[3] ATTRIBUTE_UNUSED = { _p0, _q20, _q21 };
   12347                 :           0 :                         if (gimple_simplify_242 (res_op, seq, valueize, type, captures, UNGT_EXPR, LE_EXPR, LE_EXPR))
   12348                 :           0 :                           return true;
   12349                 :             :                       }
   12350                 :             :                     }
   12351                 :             :                   break;
   12352                 :             :                 }
   12353                 :           0 :               case UNGE_EXPR:
   12354                 :           0 :                 {
   12355                 :           0 :                   tree _q20 = gimple_assign_rhs1 (_a1);
   12356                 :           0 :                   _q20 = do_valueize (valueize, _q20);
   12357                 :           0 :                   tree _q21 = gimple_assign_rhs2 (_a1);
   12358                 :           0 :                   _q21 = do_valueize (valueize, _q21);
   12359                 :           0 :                   if (integer_truep (_p1))
   12360                 :             :                     {
   12361                 :           0 :                       {
   12362                 :           0 :                         tree captures[3] ATTRIBUTE_UNUSED = { _p0, _q20, _q21 };
   12363                 :           0 :                         if (gimple_simplify_241 (res_op, seq, valueize, type, captures, UNGE_EXPR, LT_EXPR, LT_EXPR))
   12364                 :           0 :                           return true;
   12365                 :             :                       }
   12366                 :             :                     }
   12367                 :           0 :                   if (integer_zerop (_p1))
   12368                 :             :                     {
   12369                 :           0 :                       {
   12370                 :           0 :                         tree captures[3] ATTRIBUTE_UNUSED = { _p0, _q20, _q21 };
   12371                 :           0 :                         if (gimple_simplify_242 (res_op, seq, valueize, type, captures, UNGE_EXPR, LT_EXPR, LT_EXPR))
   12372                 :           0 :                           return true;
   12373                 :             :                       }
   12374                 :             :                     }
   12375                 :             :                   break;
   12376                 :             :                 }
   12377                 :           0 :               case UNEQ_EXPR:
   12378                 :           0 :                 {
   12379                 :           0 :                   tree _q20 = gimple_assign_rhs1 (_a1);
   12380                 :           0 :                   _q20 = do_valueize (valueize, _q20);
   12381                 :           0 :                   tree _q21 = gimple_assign_rhs2 (_a1);
   12382                 :           0 :                   _q21 = do_valueize (valueize, _q21);
   12383                 :           0 :                   if (tree_swap_operands_p (_q20, _q21))
   12384                 :           0 :                     std::swap (_q20, _q21);
   12385                 :           0 :                   if (integer_truep (_p1))
   12386                 :             :                     {
   12387                 :           0 :                       {
   12388                 :           0 :                         tree captures[3] ATTRIBUTE_UNUSED = { _p0, _q20, _q21 };
   12389                 :           0 :                         if (gimple_simplify_241 (res_op, seq, valueize, type, captures, UNEQ_EXPR, LTGT_EXPR, LTGT_EXPR))
   12390                 :           0 :                           return true;
   12391                 :             :                       }
   12392                 :             :                     }
   12393                 :           0 :                   if (integer_zerop (_p1))
   12394                 :             :                     {
   12395                 :           0 :                       {
   12396                 :           0 :                         tree captures[3] ATTRIBUTE_UNUSED = { _p0, _q20, _q21 };
   12397                 :           0 :                         if (gimple_simplify_242 (res_op, seq, valueize, type, captures, UNEQ_EXPR, LTGT_EXPR, LTGT_EXPR))
   12398                 :           0 :                           return true;
   12399                 :             :                       }
   12400                 :             :                     }
   12401                 :    69603614 :                   break;
   12402                 :             :                 }
   12403                 :           0 :               case LTGT_EXPR:
   12404                 :           0 :                 {
   12405                 :           0 :                   tree _q20 = gimple_assign_rhs1 (_a1);
   12406                 :           0 :                   _q20 = do_valueize (valueize, _q20);
   12407                 :           0 :                   tree _q21 = gimple_assign_rhs2 (_a1);
   12408                 :           0 :                   _q21 = do_valueize (valueize, _q21);
   12409                 :           0 :                   if (tree_swap_operands_p (_q20, _q21))
   12410                 :           0 :                     std::swap (_q20, _q21);
   12411                 :           0 :                   if (integer_truep (_p1))
   12412                 :             :                     {
   12413                 :           0 :                       {
   12414                 :           0 :                         tree captures[3] ATTRIBUTE_UNUSED = { _p0, _q20, _q21 };
   12415                 :           0 :                         if (gimple_simplify_241 (res_op, seq, valueize, type, captures, LTGT_EXPR, UNEQ_EXPR, UNEQ_EXPR))
   12416                 :           0 :                           return true;
   12417                 :             :                       }
   12418                 :             :                     }
   12419                 :           0 :                   if (integer_zerop (_p1))
   12420                 :             :                     {
   12421                 :           0 :                       {
   12422                 :           0 :                         tree captures[3] ATTRIBUTE_UNUSED = { _p0, _q20, _q21 };
   12423                 :           0 :                         if (gimple_simplify_242 (res_op, seq, valueize, type, captures, LTGT_EXPR, UNEQ_EXPR, UNEQ_EXPR))
   12424                 :           0 :                           return true;
   12425                 :             :                       }
   12426                 :             :                     }
   12427                 :    69603614 :                   break;
   12428                 :             :                 }
   12429                 :      174620 :               case MINUS_EXPR:
   12430                 :      174620 :                 {
   12431                 :      174620 :                   tree _q20 = gimple_assign_rhs1 (_a1);
   12432                 :      174620 :                   _q20 = do_valueize (valueize, _q20);
   12433                 :      174620 :                   tree _q21 = gimple_assign_rhs2 (_a1);
   12434                 :      174620 :                   _q21 = do_valueize (valueize, _q21);
   12435                 :      174620 :                   if (integer_zerop (_p1))
   12436                 :             :                     {
   12437                 :       71659 :                       {
   12438                 :       71659 :                         tree captures[3] ATTRIBUTE_UNUSED = { _p0, _q20, _q21 };
   12439                 :       71659 :                         if (gimple_simplify_243 (res_op, seq, valueize, type, captures, EQ_EXPR))
   12440                 :       10008 :                           return true;
   12441                 :             :                       }
   12442                 :             :                     }
   12443                 :             :                   break;
   12444                 :             :                 }
   12445                 :       69121 :               case POINTER_DIFF_EXPR:
   12446                 :       69121 :                 {
   12447                 :       69121 :                   tree _q20 = gimple_assign_rhs1 (_a1);
   12448                 :       69121 :                   _q20 = do_valueize (valueize, _q20);
   12449                 :       69121 :                   tree _q21 = gimple_assign_rhs2 (_a1);
   12450                 :       69121 :                   _q21 = do_valueize (valueize, _q21);
   12451                 :       69121 :                   if (integer_zerop (_p1))
   12452                 :             :                     {
   12453                 :        3721 :                       {
   12454                 :        3721 :                         tree captures[3] ATTRIBUTE_UNUSED = { _p0, _q20, _q21 };
   12455                 :        3721 :                         if (gimple_simplify_244 (res_op, seq, valueize, type, captures, EQ_EXPR))
   12456                 :        1498 :                           return true;
   12457                 :             :                       }
   12458                 :             :                     }
   12459                 :             :                   break;
   12460                 :             :                 }
   12461                 :       35712 :               case MULT_EXPR:
   12462                 :       35712 :                 {
   12463                 :       35712 :                   tree _q20 = gimple_assign_rhs1 (_a1);
   12464                 :       35712 :                   _q20 = do_valueize (valueize, _q20);
   12465                 :       35712 :                   tree _q21 = gimple_assign_rhs2 (_a1);
   12466                 :       35712 :                   _q21 = do_valueize (valueize, _q21);
   12467                 :       35712 :                   if (tree_swap_operands_p (_q20, _q21))
   12468                 :         438 :                     std::swap (_q20, _q21);
   12469                 :       35712 :                   switch (TREE_CODE (_q21))
   12470                 :             :                     {
   12471                 :       19242 :                     case INTEGER_CST:
   12472                 :       19242 :                       {
   12473                 :       19242 :                         switch (TREE_CODE (_p1))
   12474                 :             :                           {
   12475                 :       15329 :                           case INTEGER_CST:
   12476                 :       15329 :                             {
   12477                 :       15329 :                               {
   12478                 :       15329 :                                 tree captures[3] ATTRIBUTE_UNUSED = { _q20, _q21, _p1 };
   12479                 :       15329 :                                 if (gimple_simplify_246 (res_op, seq, valueize, type, captures, EQ_EXPR))
   12480                 :        1323 :                                   return true;
   12481                 :             :                               }
   12482                 :       14006 :                               break;
   12483                 :             :                             }
   12484                 :       17919 :                           default:;
   12485                 :             :                           }
   12486                 :       17919 :                       if (integer_zerop (_p1))
   12487                 :             :                         {
   12488                 :       11651 :                           {
   12489                 :       11651 :                             tree captures[4] ATTRIBUTE_UNUSED = { _p0, _q20, _q21, _p1 };
   12490                 :       11651 :                             if (gimple_simplify_245 (res_op, seq, valueize, type, captures, EQ_EXPR, EQ_EXPR))
   12491                 :           0 :                               return true;
   12492                 :             :                           }
   12493                 :             :                         }
   12494                 :             :                         break;
   12495                 :             :                       }
   12496                 :             :                     default:;
   12497                 :             :                     }
   12498                 :    69603614 :                   break;
   12499                 :             :                 }
   12500                 :             :               default:;
   12501                 :             :               }
   12502                 :             :         }
   12503                 :             :       break;
   12504                 :    69603614 :     default:;
   12505                 :             :     }
   12506                 :    69603614 :   if ((_p1 == _p0 && ! TREE_SIDE_EFFECTS (_p1)) || (operand_equal_p (_p1, _p0, 0) && types_match (_p1, _p0)))
   12507                 :             :     {
   12508                 :       37526 :       {
   12509                 :       37526 :         tree captures[1] ATTRIBUTE_UNUSED = { _p0 };
   12510                 :       37526 :         if (gimple_simplify_247 (res_op, seq, valueize, type, captures, EQ_EXPR))
   12511                 :       18101 :           return true;
   12512                 :             :       }
   12513                 :             :     }
   12514                 :    69585513 :   switch (TREE_CODE (_p1))
   12515                 :             :     {
   12516                 :    12134271 :     case SSA_NAME:
   12517                 :    12134271 :       if (gimple *_d1 = get_def (valueize, _p1))
   12518                 :             :         {
   12519                 :     3871507 :           if (gassign *_a1 = dyn_cast <gassign *> (_d1))
   12520                 :     6046754 :             switch (gimple_assign_rhs_code (_a1))
   12521                 :             :               {
   12522                 :         445 :               case BIT_NOT_EXPR:
   12523                 :         445 :                 {
   12524                 :         445 :                   tree _q30 = gimple_assign_rhs1 (_a1);
   12525                 :         445 :                   _q30 = do_valueize (valueize, _q30);
   12526                 :         445 :                   if ((_q30 == _p0 && ! TREE_SIDE_EFFECTS (_q30)) || (operand_equal_p (_q30, _p0, 0) && types_match (_q30, _p0)))
   12527                 :             :                     {
   12528                 :           0 :                       {
   12529                 :           0 :                         tree captures[1] ATTRIBUTE_UNUSED = { _p0 };
   12530                 :           0 :                         if (gimple_simplify_248 (res_op, seq, valueize, type, captures, EQ_EXPR))
   12531                 :           0 :                           return true;
   12532                 :             :                       }
   12533                 :             :                     }
   12534                 :             :                   break;
   12535                 :             :                 }
   12536                 :             :               default:;
   12537                 :             :               }
   12538                 :             :         }
   12539                 :             :       break;
   12540                 :    69585513 :     default:;
   12541                 :             :     }
   12542                 :    69585513 :   switch (TREE_CODE (_p0))
   12543                 :             :     {
   12544                 :    66395034 :     case SSA_NAME:
   12545                 :    66395034 :       if (gimple *_d1 = get_def (valueize, _p0))
   12546                 :             :         {
   12547                 :    22597241 :           if (gassign *_a1 = dyn_cast <gassign *> (_d1))
   12548                 :    26749547 :             switch (gimple_assign_rhs_code (_a1))
   12549                 :             :               {
   12550                 :        2158 :               case BIT_NOT_EXPR:
   12551                 :        2158 :                 {
   12552                 :        2158 :                   tree _q20 = gimple_assign_rhs1 (_a1);
   12553                 :        2158 :                   _q20 = do_valueize (valueize, _q20);
   12554                 :        2158 :                   if ((_p1 == _q20 && ! TREE_SIDE_EFFECTS (_p1)) || (operand_equal_p (_p1, _q20, 0) && types_match (_p1, _q20)))
   12555                 :             :                     {
   12556                 :           0 :                       {
   12557                 :           0 :                         tree captures[1] ATTRIBUTE_UNUSED = { _q20 };
   12558                 :           0 :                         if (gimple_simplify_248 (res_op, seq, valueize, type, captures, EQ_EXPR))
   12559                 :           0 :                           return true;
   12560                 :             :                       }
   12561                 :             :                     }
   12562                 :        2158 :                   switch (TREE_CODE (_p1))
   12563                 :             :                     {
   12564                 :         731 :                     case SSA_NAME:
   12565                 :         731 :                       if (gimple *_d2 = get_def (valueize, _p1))
   12566                 :             :                         {
   12567                 :         721 :                           if (gassign *_a2 = dyn_cast <gassign *> (_d2))
   12568                 :          87 :                             switch (gimple_assign_rhs_code (_a2))
   12569                 :             :                               {
   12570                 :          18 :                               case BIT_NOT_EXPR:
   12571                 :          18 :                                 {
   12572                 :          18 :                                   tree _q40 = gimple_assign_rhs1 (_a2);
   12573                 :          18 :                                   _q40 = do_valueize (valueize, _q40);
   12574                 :          18 :                                   {
   12575                 :          18 :                                     tree captures[5] ATTRIBUTE_UNUSED = { _p0, _p0, _q20, _p1, _q40 };
   12576                 :          18 :                                     if (gimple_simplify_249 (res_op, seq, valueize, type, captures, EQ_EXPR))
   12577                 :          14 :                                       return true;
   12578                 :             :                                   }
   12579                 :           4 :                                   break;
   12580                 :             :                                 }
   12581                 :             :                               default:;
   12582                 :             :                               }
   12583                 :             :                         }
   12584                 :             :                       break;
   12585                 :        2144 :                     default:;
   12586                 :             :                     }
   12587                 :        2144 :                 {
   12588                 :        2144 :                   tree _p1_pops[1];
   12589                 :        2144 :                   if (gimple_nop_convert (_p1, _p1_pops, valueize))
   12590                 :             :                     {
   12591                 :           4 :                       tree _q40 = _p1_pops[0];
   12592                 :           4 :                       switch (TREE_CODE (_q40))
   12593                 :             :                         {
   12594                 :           4 :                         case SSA_NAME:
   12595                 :           4 :                           if (gimple *_d2 = get_def (valueize, _q40))
   12596                 :             :                             {
   12597                 :           4 :                               if (gassign *_a2 = dyn_cast <gassign *> (_d2))
   12598                 :           6 :                                 switch (gimple_assign_rhs_code (_a2))
   12599                 :             :                                   {
   12600                 :           2 :                                   case BIT_NOT_EXPR:
   12601                 :           2 :                                     {
   12602                 :           2 :                                       tree _q50 = gimple_assign_rhs1 (_a2);
   12603                 :           2 :                                       _q50 = do_valueize (valueize, _q50);
   12604                 :           2 :                                       {
   12605                 :           2 :                                         tree captures[5] ATTRIBUTE_UNUSED = { _p0, _p0, _q20, _q40, _q50 };
   12606                 :           2 :                                         if (gimple_simplify_249 (res_op, seq, valueize, type, captures, EQ_EXPR))
   12607                 :           2 :                                           return true;
   12608                 :             :                                       }
   12609                 :           0 :                                       break;
   12610                 :             :                                     }
   12611                 :             :                                   default:;
   12612                 :             :                                   }
   12613                 :             :                             }
   12614                 :             :                           break;
   12615                 :             :                         default:;
   12616                 :             :                         }
   12617                 :             : }
   12618                 :             :                 }
   12619                 :        2142 :                 if (CONSTANT_CLASS_P (_p1))
   12620                 :             :                   {
   12621                 :        1427 :                     {
   12622                 :        1427 :                       tree captures[3] ATTRIBUTE_UNUSED = { _p0, _q20, _p1 };
   12623                 :        1427 :                       if (gimple_simplify_250 (res_op, seq, valueize, type, captures, EQ_EXPR, EQ_EXPR))
   12624                 :          95 :                         return true;
   12625                 :             :                     }
   12626                 :             :                   }
   12627                 :             :                   break;
   12628                 :             :                 }
   12629                 :             :               default:;
   12630                 :             :               }
   12631                 :             :         }
   12632                 :             :       break;
   12633                 :    69585402 :     default:;
   12634                 :             :     }
   12635                 :    69585402 : {
   12636                 :    69585402 :   tree _p0_pops[1];
   12637                 :    69585402 :   if (gimple_nop_convert (_p0, _p0_pops, valueize))
   12638                 :             :     {
   12639                 :      390305 :       tree _q20 = _p0_pops[0];
   12640                 :      390305 :       switch (TREE_CODE (_q20))
   12641                 :             :         {
   12642                 :      378064 :         case SSA_NAME:
   12643                 :      378064 :           if (gimple *_d1 = get_def (valueize, _q20))
   12644                 :             :             {
   12645                 :      374408 :               if (gassign *_a1 = dyn_cast <gassign *> (_d1))
   12646                 :      393170 :                 switch (gimple_assign_rhs_code (_a1))
   12647                 :             :                   {
   12648                 :          23 :                   case BIT_NOT_EXPR:
   12649                 :          23 :                     {
   12650                 :          23 :                       tree _q30 = gimple_assign_rhs1 (_a1);
   12651                 :          23 :                       _q30 = do_valueize (valueize, _q30);
   12652                 :          23 :                       switch (TREE_CODE (_p1))
   12653                 :             :                         {
   12654                 :          16 :                         case SSA_NAME:
   12655                 :          16 :                           if (gimple *_d2 = get_def (valueize, _p1))
   12656                 :             :                             {
   12657                 :          16 :                               if (gassign *_a2 = dyn_cast <gassign *> (_d2))
   12658                 :          16 :                                 switch (gimple_assign_rhs_code (_a2))
   12659                 :             :                                   {
   12660                 :          16 :                                   case BIT_NOT_EXPR:
   12661                 :          16 :                                     {
   12662                 :          16 :                                       tree _q50 = gimple_assign_rhs1 (_a2);
   12663                 :          16 :                                       _q50 = do_valueize (valueize, _q50);
   12664                 :          16 :                                       {
   12665                 :          16 :                                         tree captures[5] ATTRIBUTE_UNUSED = { _p0, _q20, _q30, _p1, _q50 };
   12666                 :          16 :                                         if (gimple_simplify_251 (res_op, seq, valueize, type, captures, EQ_EXPR))
   12667                 :           0 :                                           return true;
   12668                 :             :                                       }
   12669                 :          16 :                                       break;
   12670                 :             :                                     }
   12671                 :             :                                   default:;
   12672                 :             :                                   }
   12673                 :             :                             }
   12674                 :             :                           break;
   12675                 :          23 :                         default:;
   12676                 :             :                         }
   12677                 :          23 :                     {
   12678                 :          23 :                       tree _p1_pops[1];
   12679                 :          23 :                       if (gimple_nop_convert (_p1, _p1_pops, valueize))
   12680                 :             :                         {
   12681                 :           0 :                           tree _q50 = _p1_pops[0];
   12682                 :           0 :                           switch (TREE_CODE (_q50))
   12683                 :             :                             {
   12684                 :           0 :                             case SSA_NAME:
   12685                 :           0 :                               if (gimple *_d2 = get_def (valueize, _q50))
   12686                 :             :                                 {
   12687                 :           0 :                                   if (gassign *_a2 = dyn_cast <gassign *> (_d2))
   12688                 :           0 :                                     switch (gimple_assign_rhs_code (_a2))
   12689                 :             :                                       {
   12690                 :           0 :                                       case BIT_NOT_EXPR:
   12691                 :           0 :                                         {
   12692                 :           0 :                                           tree _q60 = gimple_assign_rhs1 (_a2);
   12693                 :           0 :                                           _q60 = do_valueize (valueize, _q60);
   12694                 :           0 :                                           {
   12695                 :           0 :                                             tree captures[5] ATTRIBUTE_UNUSED = { _p0, _q20, _q30, _q50, _q60 };
   12696                 :           0 :                                             if (gimple_simplify_251 (res_op, seq, valueize, type, captures, EQ_EXPR))
   12697                 :           0 :                                               return true;
   12698                 :             :                                           }
   12699                 :           0 :                                           break;
   12700                 :             :                                         }
   12701                 :             :                                       default:;
   12702                 :             :                                       }
   12703                 :             :                                 }
   12704                 :             :                               break;
   12705                 :             :                             default:;
   12706                 :             :                             }
   12707                 :             : }
   12708                 :             :                     }
   12709                 :          23 :                     if (CONSTANT_CLASS_P (_p1))
   12710                 :             :                       {
   12711                 :           7 :                         {
   12712                 :           7 :                           tree captures[3] ATTRIBUTE_UNUSED = { _q20, _q30, _p1 };
   12713                 :           7 :                           if (gimple_simplify_250 (res_op, seq, valueize, type, captures, EQ_EXPR, EQ_EXPR))
   12714                 :           7 :                             return true;
   12715                 :             :                         }
   12716                 :             :                       }
   12717                 :             :                       break;
   12718                 :             :                     }
   12719                 :             :                   default:;
   12720                 :             :                   }
   12721                 :             :             }
   12722                 :             :           break;
   12723                 :             :         default:;
   12724                 :             :         }
   12725                 :             : }
   12726                 :             : }
   12727                 :    69585395 :   switch (TREE_CODE (_p1))
   12728                 :             :     {
   12729                 :      314461 :     case REAL_CST:
   12730                 :      314461 :       {
   12731                 :      314461 :         {
   12732                 :      314461 :           tree captures[2] ATTRIBUTE_UNUSED = { _p0, _p1 };
   12733                 :      314461 :           if (gimple_simplify_252 (res_op, seq, valueize, type, captures, EQ_EXPR))
   12734                 :          85 :             return true;
   12735                 :             :         }
   12736                 :      314376 :         break;
   12737                 :             :       }
   12738                 :    69585310 :     default:;
   12739                 :             :     }
   12740                 :    69585310 :   switch (TREE_CODE (_p0))
   12741                 :             :     {
   12742                 :    66394831 :     case SSA_NAME:
   12743                 :    66394831 :       if (gimple *_d1 = get_def (valueize, _p0))
   12744                 :             :         {
   12745                 :    22597051 :           if (gassign *_a1 = dyn_cast <gassign *> (_d1))
   12746                 :    26749413 :             switch (gimple_assign_rhs_code (_a1))
   12747                 :             :               {
   12748                 :      613883 :               case PLUS_EXPR:
   12749                 :      613883 :                 {
   12750                 :      613883 :                   tree _q20 = gimple_assign_rhs1 (_a1);
   12751                 :      613883 :                   _q20 = do_valueize (valueize, _q20);
   12752                 :      613883 :                   tree _q21 = gimple_assign_rhs2 (_a1);
   12753                 :      613883 :                   _q21 = do_valueize (valueize, _q21);
   12754                 :      613883 :                   if (tree_swap_operands_p (_q20, _q21))
   12755                 :        7708 :                     std::swap (_q20, _q21);
   12756                 :      613883 :                   switch (TREE_CODE (_q21))
   12757                 :             :                     {
   12758                 :         817 :                     case REAL_CST:
   12759                 :         817 :                       {
   12760                 :         817 :                         switch (TREE_CODE (_p1))
   12761                 :             :                           {
   12762                 :         579 :                           case REAL_CST:
   12763                 :         579 :                             {
   12764                 :         579 :                               {
   12765                 :         579 :                                 tree captures[3] ATTRIBUTE_UNUSED = { _q20, _q21, _p1 };
   12766                 :         579 :                                 if (gimple_simplify_253 (res_op, seq, valueize, type, captures, PLUS_EXPR, EQ_EXPR))
   12767                 :           0 :                                   return true;
   12768                 :             :                               }
   12769                 :         579 :                               break;
   12770                 :             :                             }
   12771                 :             :                           default:;
   12772                 :             :                           }
   12773                 :             :                         break;
   12774                 :             :                       }
   12775                 :             :                     default:;
   12776                 :             :                     }
   12777                 :    69523686 :                   break;
   12778                 :             :                 }
   12779                 :      164612 :               case MINUS_EXPR:
   12780                 :      164612 :                 {
   12781                 :      164612 :                   tree _q20 = gimple_assign_rhs1 (_a1);
   12782                 :      164612 :                   _q20 = do_valueize (valueize, _q20);
   12783                 :      164612 :                   tree _q21 = gimple_assign_rhs2 (_a1);
   12784                 :      164612 :                   _q21 = do_valueize (valueize, _q21);
   12785                 :      164612 :                   switch (TREE_CODE (_q21))
   12786                 :             :                     {
   12787                 :         256 :                     case REAL_CST:
   12788                 :         256 :                       {
   12789                 :         256 :                         switch (TREE_CODE (_p1))
   12790                 :             :                           {
   12791                 :         256 :                           case REAL_CST:
   12792                 :         256 :                             {
   12793                 :         256 :                               {
   12794                 :         256 :                                 tree captures[3] ATTRIBUTE_UNUSED = { _q20, _q21, _p1 };
   12795                 :         256 :                                 if (gimple_simplify_253 (res_op, seq, valueize, type, captures, MINUS_EXPR, EQ_EXPR))
   12796                 :           0 :                                   return true;
   12797                 :             :                               }
   12798                 :         256 :                               break;
   12799                 :             :                             }
   12800                 :             :                           default:;
   12801                 :             :                           }
   12802                 :             :                         break;
   12803                 :             :                       }
   12804                 :      164612 :                     default:;
   12805                 :             :                     }
   12806                 :      164612 :                   switch (TREE_CODE (_q20))
   12807                 :             :                     {
   12808                 :         112 :                     case REAL_CST:
   12809                 :         112 :                       {
   12810                 :         112 :                         switch (TREE_CODE (_p1))
   12811                 :             :                           {
   12812                 :         108 :                           case REAL_CST:
   12813                 :         108 :                             {
   12814                 :         108 :                               {
   12815                 :         108 :                                 tree captures[3] ATTRIBUTE_UNUSED = { _q20, _q21, _p1 };
   12816                 :         108 :                                 if (gimple_simplify_254 (res_op, seq, valueize, type, captures, EQ_EXPR))
   12817                 :           0 :                                   return true;
   12818                 :             :                               }
   12819                 :         108 :                               break;
   12820                 :             :                             }
   12821                 :             :                           default:;
   12822                 :             :                           }
   12823                 :             :                         break;
   12824                 :             :                       }
   12825                 :             :                     default:;
   12826                 :             :                     }
   12827                 :             :                   break;
   12828                 :             :                 }
   12829                 :        1577 :               case FLOAT_EXPR:
   12830                 :        1577 :                 {
   12831                 :        1577 :                   tree _q20 = gimple_assign_rhs1 (_a1);
   12832                 :        1577 :                   _q20 = do_valueize (valueize, _q20);
   12833                 :        1577 :                   switch (TREE_CODE (_p1))
   12834                 :             :                     {
   12835                 :         702 :                     case SSA_NAME:
   12836                 :         702 :                       if (gimple *_d2 = get_def (valueize, _p1))
   12837                 :             :                         {
   12838                 :         608 :                           if (gassign *_a2 = dyn_cast <gassign *> (_d2))
   12839                 :        1129 :                             switch (gimple_assign_rhs_code (_a2))
   12840                 :             :                               {
   12841                 :           0 :                               case FLOAT_EXPR:
   12842                 :           0 :                                 {
   12843                 :           0 :                                   tree _q40 = gimple_assign_rhs1 (_a2);
   12844                 :           0 :                                   _q40 = do_valueize (valueize, _q40);
   12845                 :           0 :                                   {
   12846                 :           0 :                                     tree captures[3] ATTRIBUTE_UNUSED = { _p0, _q20, _q40 };
   12847                 :           0 :                                     if (gimple_simplify_257 (res_op, seq, valueize, type, captures, EQ_EXPR, EQ_EXPR))
   12848                 :           0 :                                       return true;
   12849                 :             :                                   }
   12850                 :           0 :                                   break;
   12851                 :             :                                 }
   12852                 :             :                               default:;
   12853                 :             :                               }
   12854                 :             :                         }
   12855                 :             :                       break;
   12856                 :         875 :                     case REAL_CST:
   12857                 :         875 :                       {
   12858                 :         875 :                         {
   12859                 :         875 :                           tree captures[2] ATTRIBUTE_UNUSED = { _q20, _p1 };
   12860                 :         875 :                           if (gimple_simplify_258 (res_op, seq, valueize, type, captures, EQ_EXPR, EQ_EXPR))
   12861                 :          68 :                             return true;
   12862                 :             :                         }
   12863                 :         807 :                         break;
   12864                 :             :                       }
   12865                 :             :                     default:;
   12866                 :             :                     }
   12867                 :             :                   break;
   12868                 :             :                 }
   12869                 :       14457 :               case EXACT_DIV_EXPR:
   12870                 :       14457 :                 {
   12871                 :       14457 :                   tree _q20 = gimple_assign_rhs1 (_a1);
   12872                 :       14457 :                   _q20 = do_valueize (valueize, _q20);
   12873                 :       14457 :                   tree _q21 = gimple_assign_rhs2 (_a1);
   12874                 :       14457 :                   _q21 = do_valueize (valueize, _q21);
   12875                 :       14457 :                   switch (TREE_CODE (_p1))
   12876                 :             :                     {
   12877                 :        9690 :                     case INTEGER_CST:
   12878                 :        9690 :                       {
   12879                 :        9690 :                         {
   12880                 :        9690 :                           tree captures[3] ATTRIBUTE_UNUSED = { _q20, _q21, _p1 };
   12881                 :        9690 :                           if (gimple_simplify_259 (res_op, seq, valueize, type, captures, EQ_EXPR))
   12882                 :        9690 :                             return true;
   12883                 :             :                         }
   12884                 :           0 :                         break;
   12885                 :             :                       }
   12886                 :             :                     default:;
   12887                 :             :                     }
   12888                 :             :                   break;
   12889                 :             :                 }
   12890                 :        1969 :               case NEGATE_EXPR:
   12891                 :        1969 :                 {
   12892                 :        1969 :                   tree _q20 = gimple_assign_rhs1 (_a1);
   12893                 :        1969 :                   _q20 = do_valueize (valueize, _q20);
   12894                 :        1969 :                   switch (TREE_CODE (_p1))
   12895                 :             :                     {
   12896                 :         885 :                     case SSA_NAME:
   12897                 :         885 :                       if (gimple *_d2 = get_def (valueize, _p1))
   12898                 :             :                         {
   12899                 :         856 :                           if (gassign *_a2 = dyn_cast <gassign *> (_d2))
   12900                 :         733 :                             switch (gimple_assign_rhs_code (_a2))
   12901                 :             :                               {
   12902                 :          36 :                               case NEGATE_EXPR:
   12903                 :          36 :                                 {
   12904                 :          36 :                                   tree _q40 = gimple_assign_rhs1 (_a2);
   12905                 :          36 :                                   _q40 = do_valueize (valueize, _q40);
   12906                 :          36 :                                   {
   12907                 :          36 :                                     tree captures[2] ATTRIBUTE_UNUSED = { _q20, _q40 };
   12908                 :          36 :                                     if (gimple_simplify_260 (res_op, seq, valueize, type, captures, EQ_EXPR, EQ_EXPR))
   12909                 :          36 :                                       return true;
   12910                 :             :                                   }
   12911                 :           0 :                                   break;
   12912                 :             :                                 }
   12913                 :             :                               default:;
   12914                 :             :                               }
   12915                 :             :                         }
   12916                 :             :                       break;
   12917                 :        1933 :                     default:;
   12918                 :             :                     }
   12919                 :        1933 :                 if (CONSTANT_CLASS_P (_p1))
   12920                 :             :                   {
   12921                 :        1084 :                     {
   12922                 :        1084 :                       tree captures[2] ATTRIBUTE_UNUSED = { _q20, _p1 };
   12923                 :        1084 :                       if (gimple_simplify_261 (res_op, seq, valueize, type, captures, EQ_EXPR, EQ_EXPR))
   12924                 :        1084 :                         return true;
   12925                 :             :                     }
   12926                 :             :                   }
   12927                 :             :                   break;
   12928                 :             :                 }
   12929                 :        6765 :               case ABS_EXPR:
   12930                 :        6765 :                 {
   12931                 :        6765 :                   tree _q20 = gimple_assign_rhs1 (_a1);
   12932                 :        6765 :                   _q20 = do_valueize (valueize, _q20);
   12933                 :        6765 :                   if (zerop (_p1))
   12934                 :             :                     {
   12935                 :        4575 :                       {
   12936                 :        4575 :                         tree captures[2] ATTRIBUTE_UNUSED = { _q20, _p1 };
   12937                 :        4575 :                         const enum tree_code eqne = EQ_EXPR;
   12938                 :        4575 :                         gimple_seq *lseq = seq;
   12939                 :        4575 :                         if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail1781;
   12940                 :        4575 :                         {
   12941                 :        4575 :                           res_op->set_op (eqne, type, 2);
   12942                 :        4575 :                           res_op->ops[0] = captures[0];
   12943                 :        4575 :                           res_op->ops[1] =  build_zero_cst (TREE_TYPE (captures[0]));
   12944                 :        4575 :                           res_op->resimplify (lseq, valueize);
   12945                 :        4575 :                           if (UNLIKELY (debug_dump)) gimple_dump_logs ("match.pd", 1009, __FILE__, __LINE__, true);
   12946                 :        4575 :                           return true;
   12947                 :             :                         }
   12948                 :           0 : next_after_fail1781:;
   12949                 :             :                       }
   12950                 :             :                     }
   12951                 :             :                   break;
   12952                 :             :                 }
   12953                 :           6 :               case ABSU_EXPR:
   12954                 :           6 :                 {
   12955                 :           6 :                   tree _q20 = gimple_assign_rhs1 (_a1);
   12956                 :           6 :                   _q20 = do_valueize (valueize, _q20);
   12957                 :           6 :                   if (zerop (_p1))
   12958                 :             :                     {
   12959                 :           2 :                       {
   12960                 :           2 :                         tree captures[2] ATTRIBUTE_UNUSED = { _q20, _p1 };
   12961                 :           2 :                         const enum tree_code eqne = EQ_EXPR;
   12962                 :           2 :                         gimple_seq *lseq = seq;
   12963                 :           2 :                         if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail1782;
   12964                 :           2 :                         {
   12965                 :           2 :                           res_op->set_op (eqne, type, 2);
   12966                 :           2 :                           res_op->ops[0] = captures[0];
   12967                 :           2 :                           res_op->ops[1] =  build_zero_cst (TREE_TYPE (captures[0]));
   12968                 :           2 :                           res_op->resimplify (lseq, valueize);
   12969                 :           2 :                           if (UNLIKELY (debug_dump)) gimple_dump_logs ("match.pd", 1009, __FILE__, __LINE__, true);
   12970                 :           2 :                           return true;
   12971                 :             :                         }
   12972                 :           0 : next_after_fail1782:;
   12973                 :             :                       }
   12974                 :             :                     }
   12975                 :             :                   break;
   12976                 :             :                 }
   12977                 :      643283 :               CASE_CONVERT:
   12978                 :      643283 :                 {
   12979                 :      643283 :                   tree _q20 = gimple_assign_rhs1 (_a1);
   12980                 :      643283 :                   _q20 = do_valueize (valueize, _q20);
   12981                 :      643283 :                   switch (TREE_CODE (_p1))
   12982                 :             :                     {
   12983                 :      153015 :                     case SSA_NAME:
   12984                 :      153015 :                       if (gimple *_d2 = get_def (valueize, _p1))
   12985                 :             :                         {
   12986                 :      143733 :                           if (gassign *_a2 = dyn_cast <gassign *> (_d2))
   12987                 :      165386 :                             switch (gimple_assign_rhs_code (_a2))
   12988                 :             :                               {
   12989                 :       38500 :                               CASE_CONVERT:
   12990                 :       38500 :                                 {
   12991                 :       38500 :                                   tree _q40 = gimple_assign_rhs1 (_a2);
   12992                 :       38500 :                                   _q40 = do_valueize (valueize, _q40);
   12993                 :       38500 :                                   {
   12994                 :       38500 :                                     tree captures[4] ATTRIBUTE_UNUSED = { _p0, _q20, _p1, _q40 };
   12995                 :       38500 :                                     if (gimple_simplify_262 (res_op, seq, valueize, type, captures, EQ_EXPR))
   12996                 :        4315 :                                       return true;
   12997                 :             :                                   }
   12998                 :       34185 :                                   break;
   12999                 :             :                                 }
   13000                 :             :                               default:;
   13001                 :             :                               }
   13002                 :             :                         }
   13003                 :             :                       break;
   13004                 :      638968 :                     default:;
   13005                 :             :                     }
   13006                 :      638968 :                   {
   13007                 :      638968 :                     tree captures[4] ATTRIBUTE_UNUSED = { _p0, _q20, _p1, _p1 };
   13008                 :      638968 :                     if (gimple_simplify_263 (res_op, seq, valueize, type, captures, EQ_EXPR))
   13009                 :       41355 :                       return true;
   13010                 :             :                   }
   13011                 :      597613 :                   switch (TREE_CODE (_q20))
   13012                 :             :                     {
   13013                 :      585372 :                     case SSA_NAME:
   13014                 :      585372 :                       if (gimple *_d2 = get_def (valueize, _q20))
   13015                 :             :                         {
   13016                 :      578115 :                           if (gassign *_a2 = dyn_cast <gassign *> (_d2))
   13017                 :      674276 :                             switch (gimple_assign_rhs_code (_a2))
   13018                 :             :                               {
   13019                 :        1122 :                               case BIT_IOR_EXPR:
   13020                 :        1122 :                                 {
   13021                 :        1122 :                                   tree _q30 = gimple_assign_rhs1 (_a2);
   13022                 :        1122 :                                   _q30 = do_valueize (valueize, _q30);
   13023                 :        1122 :                                   tree _q31 = gimple_assign_rhs2 (_a2);
   13024                 :        1122 :                                   _q31 = do_valueize (valueize, _q31);
   13025                 :        1122 :                                   if (tree_swap_operands_p (_q30, _q31))
   13026                 :          23 :                                     std::swap (_q30, _q31);
   13027                 :        1122 :                                   switch (TREE_CODE (_q31))
   13028                 :             :                                     {
   13029                 :         216 :                                     case INTEGER_CST:
   13030                 :         216 :                                       {
   13031                 :         216 :                                         switch (TREE_CODE (_p1))
   13032                 :             :                                           {
   13033                 :          56 :                                           case INTEGER_CST:
   13034                 :          56 :                                             {
   13035                 :          56 :                                               {
   13036                 :          56 :                                                 tree captures[4] ATTRIBUTE_UNUSED = { _p0, _q30, _q31, _p1 };
   13037                 :          56 :                                                 if (gimple_simplify_264 (res_op, seq, valueize, type, captures, EQ_EXPR))
   13038                 :           0 :                                                   return true;
   13039                 :             :                                               }
   13040                 :          56 :                                               break;
   13041                 :             :                                             }
   13042                 :             :                                           default:;
   13043                 :             :                                           }
   13044                 :             :                                         break;
   13045                 :             :                                       }
   13046                 :             :                                     default:;
   13047                 :             :                                     }
   13048                 :    69523686 :                                   break;
   13049                 :             :                                 }
   13050                 :             :                               default:;
   13051                 :             :                               }
   13052                 :             :                         }
   13053                 :             :                       break;
   13054                 :             :                     default:;
   13055                 :             :                     }
   13056                 :             :                   break;
   13057                 :             :                 }
   13058                 :      103465 :               case ADDR_EXPR:
   13059                 :      103465 :                 {
   13060                 :      103465 :                   switch (TREE_CODE (_p1))
   13061                 :             :                     {
   13062                 :       85447 :                     case SSA_NAME:
   13063                 :       85447 :                       {
   13064                 :       85447 :                         {
   13065                 :       85447 :                           tree captures[2] ATTRIBUTE_UNUSED = { _p0, _p1 };
   13066                 :       85447 :                           if (gimple_simplify_265 (res_op, seq, valueize, type, captures, EQ_EXPR))
   13067                 :           2 :                             return true;
   13068                 :             :                         }
   13069                 :       85445 :                         break;
   13070                 :             :                       }
   13071                 :             :                     default:;
   13072                 :             :                     }
   13073                 :             :                   break;
   13074                 :             :                 }
   13075                 :      106089 :               case BIT_IOR_EXPR:
   13076                 :      106089 :                 {
   13077                 :      106089 :                   tree _q20 = gimple_assign_rhs1 (_a1);
   13078                 :      106089 :                   _q20 = do_valueize (valueize, _q20);
   13079                 :      106089 :                   tree _q21 = gimple_assign_rhs2 (_a1);
   13080                 :      106089 :                   _q21 = do_valueize (valueize, _q21);
   13081                 :      106089 :                   if (tree_swap_operands_p (_q20, _q21))
   13082                 :        7462 :                     std::swap (_q20, _q21);
   13083                 :      106089 :                   switch (TREE_CODE (_q21))
   13084                 :             :                     {
   13085                 :        5308 :                     case INTEGER_CST:
   13086                 :        5308 :                       {
   13087                 :        5308 :                         switch (TREE_CODE (_p1))
   13088                 :             :                           {
   13089                 :        3636 :                           case INTEGER_CST:
   13090                 :        3636 :                             {
   13091                 :        3636 :                               {
   13092                 :        3636 :                                 tree captures[4] ATTRIBUTE_UNUSED = { _p0, _q20, _q21, _p1 };
   13093                 :        3636 :                                 if (gimple_simplify_264 (res_op, seq, valueize, type, captures, EQ_EXPR))
   13094                 :           0 :                                   return true;
   13095                 :             :                               }
   13096                 :        3636 :                               break;
   13097                 :             :                             }
   13098                 :             :                           default:;
   13099                 :             :                           }
   13100                 :             :                         break;
   13101                 :             :                       }
   13102                 :             :                     default:;
   13103                 :             :                     }
   13104                 :    69523686 :                   break;
   13105                 :             :                 }
   13106                 :         809 :               case BIT_XOR_EXPR:
   13107                 :         809 :                 {
   13108                 :         809 :                   tree _q20 = gimple_assign_rhs1 (_a1);
   13109                 :         809 :                   _q20 = do_valueize (valueize, _q20);
   13110                 :         809 :                   tree _q21 = gimple_assign_rhs2 (_a1);
   13111                 :         809 :                   _q21 = do_valueize (valueize, _q21);
   13112                 :         809 :                   if (tree_swap_operands_p (_q20, _q21))
   13113                 :         136 :                     std::swap (_q20, _q21);
   13114                 :         809 :                   if (integer_zerop (_p1))
   13115                 :             :                     {
   13116                 :         373 :                       {
   13117                 :         373 :                         tree captures[2] ATTRIBUTE_UNUSED = { _q20, _q21 };
   13118                 :         373 :                         if (gimple_simplify_266 (res_op, seq, valueize, type, captures, EQ_EXPR))
   13119                 :         373 :                           return true;
   13120                 :             :                       }
   13121                 :             :                     }
   13122                 :         436 :                   if ((_p1 == _q20 && ! TREE_SIDE_EFFECTS (_p1)) || (operand_equal_p (_p1, _q20, 0) && types_match (_p1, _q20)))
   13123                 :             :                     {
   13124                 :           0 :                       {
   13125                 :           0 :                         tree captures[2] ATTRIBUTE_UNUSED = { _q20, _q21 };
   13126                 :           0 :                         if (gimple_simplify_267 (res_op, seq, valueize, type, captures, EQ_EXPR))
   13127                 :           0 :                           return true;
   13128                 :             :                       }
   13129                 :             :                     }
   13130                 :         436 :                   if ((_p1 == _q21 && ! TREE_SIDE_EFFECTS (_p1)) || (operand_equal_p (_p1, _q21, 0) && types_match (_p1, _q21)))
   13131                 :             :                     {
   13132                 :           9 :                       {
   13133                 :           9 :                         tree captures[2] ATTRIBUTE_UNUSED = { _q21, _q20 };
   13134                 :           9 :                         if (gimple_simplify_267 (res_op, seq, valueize, type, captures, EQ_EXPR))
   13135                 :           9 :                           return true;
   13136                 :             :                       }
   13137                 :             :                     }
   13138                 :    69523686 :                   break;
   13139                 :             :                 }
   13140                 :             :               default:;
   13141                 :             :               }
   13142                 :     7768596 :           else if (gcall *_c1 = dyn_cast <gcall *> (_d1))
   13143                 :     4724714 :             switch (gimple_call_combined_fn (_c1))
   13144                 :             :               {
   13145                 :          56 :               case CFN_BUILT_IN_SQRTF:
   13146                 :          56 :                 if (gimple_call_num_args (_c1) == 1)
   13147                 :             :                   {
   13148                 :          56 :                     tree _q20 = gimple_call_arg (_c1, 0);
   13149                 :          56 :                     _q20 = do_valueize (valueize, _q20);
   13150                 :          56 :                     switch (TREE_CODE (_p1))
   13151                 :             :                       {
   13152                 :           2 :                       case SSA_NAME:
   13153                 :           2 :                         if (gimple *_d2 = get_def (valueize, _p1))
   13154                 :             :                           {
   13155                 :           2 :                             if (gcall *_c2 = dyn_cast <gcall *> (_d2))
   13156                 :           2 :                               switch (gimple_call_combined_fn (_c2))
   13157                 :             :                                 {
   13158                 :           2 :                                 case CFN_BUILT_IN_SQRTF:
   13159                 :           2 :                                   if (gimple_call_num_args (_c2) == 1)
   13160                 :             :                                     {
   13161                 :           2 :                                       tree _q40 = gimple_call_arg (_c2, 0);
   13162                 :           2 :                                       _q40 = do_valueize (valueize, _q40);
   13163                 :           2 :                                       {
   13164                 :           2 :                                         tree captures[2] ATTRIBUTE_UNUSED = { _q20, _q40 };
   13165                 :           2 :                                         if (gimple_simplify_256 (res_op, seq, valueize, type, captures, CFN_BUILT_IN_SQRTF, EQ_EXPR))
   13166                 :           2 :                                           return true;
   13167                 :             :                                       }
   13168                 :             :                                     }
   13169                 :             :                                   break;
   13170                 :             :                                 default:;
   13171                 :             :                                 }
   13172                 :             :                           }
   13173                 :             :                         break;
   13174                 :          54 :                       case REAL_CST:
   13175                 :          54 :                         {
   13176                 :          54 :                           {
   13177                 :          54 :                             tree captures[2] ATTRIBUTE_UNUSED = { _q20, _p1 };
   13178                 :          54 :                             if (gimple_simplify_255 (res_op, seq, valueize, type, captures, CFN_BUILT_IN_SQRTF, EQ_EXPR))
   13179                 :          12 :                               return true;
   13180                 :             :                           }
   13181                 :          42 :                           break;
   13182                 :             :                         }
   13183                 :             :                       default:;
   13184                 :             :                       }
   13185                 :             :                   }
   13186                 :             :                 break;
   13187                 :          14 :               case CFN_BUILT_IN_SQRTL:
   13188                 :          14 :                 if (gimple_call_num_args (_c1) == 1)
   13189                 :             :                   {
   13190                 :          14 :                     tree _q20 = gimple_call_arg (_c1, 0);
   13191                 :          14 :                     _q20 = do_valueize (valueize, _q20);
   13192                 :          14 :                     switch (TREE_CODE (_p1))
   13193                 :             :                       {
   13194                 :           2 :                       case SSA_NAME:
   13195                 :           2 :                         if (gimple *_d2 = get_def (valueize, _p1))
   13196                 :             :                           {
   13197                 :           2 :                             if (gcall *_c2 = dyn_cast <gcall *> (_d2))
   13198                 :           2 :                               switch (gimple_call_combined_fn (_c2))
   13199                 :             :                                 {
   13200                 :           2 :                                 case CFN_BUILT_IN_SQRTL:
   13201                 :           2 :                                   if (gimple_call_num_args (_c2) == 1)
   13202                 :             :                                     {
   13203                 :           2 :                                       tree _q40 = gimple_call_arg (_c2, 0);
   13204                 :           2 :                                       _q40 = do_valueize (valueize, _q40);
   13205                 :           2 :                                       {
   13206                 :           2 :                                         tree captures[2] ATTRIBUTE_UNUSED = { _q20, _q40 };
   13207                 :           2 :                                         if (gimple_simplify_256 (res_op, seq, valueize, type, captures, CFN_BUILT_IN_SQRTL, EQ_EXPR))
   13208                 :           2 :                                           return true;
   13209                 :             :                                       }
   13210                 :             :                                     }
   13211                 :             :                                   break;
   13212                 :             :                                 default:;
   13213                 :             :                                 }
   13214                 :             :                           }
   13215                 :             :                         break;
   13216                 :          12 :                       case REAL_CST:
   13217                 :          12 :                         {
   13218                 :          12 :                           {
   13219                 :          12 :                             tree captures[2] ATTRIBUTE_UNUSED = { _q20, _p1 };
   13220                 :          12 :                             if (gimple_simplify_255 (res_op, seq, valueize, type, captures, CFN_BUILT_IN_SQRTL, EQ_EXPR))
   13221                 :          12 :                               return true;
   13222                 :             :                           }
   13223                 :           0 :                           break;
   13224                 :             :                         }
   13225                 :             :                       default:;
   13226                 :             :                       }
   13227                 :             :                   }
   13228                 :             :                 break;
   13229                 :         146 :               case CFN_BUILT_IN_SQRT:
   13230                 :         146 :                 if (gimple_call_num_args (_c1) == 1)
   13231                 :             :                   {
   13232                 :         146 :                     tree _q20 = gimple_call_arg (_c1, 0);
   13233                 :         146 :                     _q20 = do_valueize (valueize, _q20);
   13234                 :         146 :                     switch (TREE_CODE (_p1))
   13235                 :             :                       {
   13236                 :           2 :                       case SSA_NAME:
   13237                 :           2 :                         if (gimple *_d2 = get_def (valueize, _p1))
   13238                 :             :                           {
   13239                 :           2 :                             if (gcall *_c2 = dyn_cast <gcall *> (_d2))
   13240                 :           2 :                               switch (gimple_call_combined_fn (_c2))
   13241                 :             :                                 {
   13242                 :           2 :                                 case CFN_BUILT_IN_SQRT:
   13243                 :           2 :                                   if (gimple_call_num_args (_c2) == 1)
   13244                 :             :                                     {
   13245                 :           2 :                                       tree _q40 = gimple_call_arg (_c2, 0);
   13246                 :           2 :                                       _q40 = do_valueize (valueize, _q40);
   13247                 :           2 :                                       {
   13248                 :           2 :                                         tree captures[2] ATTRIBUTE_UNUSED = { _q20, _q40 };
   13249                 :           2 :                                         if (gimple_simplify_256 (res_op, seq, valueize, type, captures, CFN_BUILT_IN_SQRT, EQ_EXPR))
   13250                 :           2 :                                           return true;
   13251                 :             :                                       }
   13252                 :             :                                     }
   13253                 :             :                                   break;
   13254                 :             :                                 default:;
   13255                 :             :                                 }
   13256                 :             :                           }
   13257                 :             :                         break;
   13258                 :         144 :                       case REAL_CST:
   13259                 :         144 :                         {
   13260                 :         144 :                           {
   13261                 :         144 :                             tree captures[2] ATTRIBUTE_UNUSED = { _q20, _p1 };
   13262                 :         144 :                             if (gimple_simplify_255 (res_op, seq, valueize, type, captures, CFN_BUILT_IN_SQRT, EQ_EXPR))
   13263                 :          12 :                               return true;
   13264                 :             :                           }
   13265                 :         132 :                           break;
   13266                 :             :                         }
   13267                 :             :                       default:;
   13268                 :             :                       }
   13269                 :             :                   }
   13270                 :             :                 break;
   13271                 :         127 :               case CFN_SQRT:
   13272                 :         127 :                 if (gimple_call_num_args (_c1) == 1)
   13273                 :             :                   {
   13274                 :         127 :                     tree _q20 = gimple_call_arg (_c1, 0);
   13275                 :         127 :                     _q20 = do_valueize (valueize, _q20);
   13276                 :         127 :                     switch (TREE_CODE (_p1))
   13277                 :             :                       {
   13278                 :           0 :                       case SSA_NAME:
   13279                 :           0 :                         if (gimple *_d2 = get_def (valueize, _p1))
   13280                 :             :                           {
   13281                 :           0 :                             if (gcall *_c2 = dyn_cast <gcall *> (_d2))
   13282                 :           0 :                               switch (gimple_call_combined_fn (_c2))
   13283                 :             :                                 {
   13284                 :           0 :                                 case CFN_SQRT:
   13285                 :           0 :                                   if (gimple_call_num_args (_c2) == 1)
   13286                 :             :                                     {
   13287                 :           0 :                                       tree _q40 = gimple_call_arg (_c2, 0);
   13288                 :           0 :                                       _q40 = do_valueize (valueize, _q40);
   13289                 :           0 :                                       {
   13290                 :           0 :                                         tree captures[2] ATTRIBUTE_UNUSED = { _q20, _q40 };
   13291                 :           0 :                                         if (gimple_simplify_256 (res_op, seq, valueize, type, captures, CFN_SQRT, EQ_EXPR))
   13292                 :           0 :                                           return true;
   13293                 :             :                                       }
   13294                 :             :                                     }
   13295                 :             :                                   break;
   13296                 :             :                                 default:;
   13297                 :             :                                 }
   13298                 :             :                           }
   13299                 :             :                         break;
   13300                 :         127 :                       case REAL_CST:
   13301                 :         127 :                         {
   13302                 :         127 :                           {
   13303                 :         127 :                             tree captures[2] ATTRIBUTE_UNUSED = { _q20, _p1 };
   13304                 :         127 :                             if (gimple_simplify_255 (res_op, seq, valueize, type, captures, CFN_SQRT, EQ_EXPR))
   13305                 :           0 :                               return true;
   13306                 :             :                           }
   13307                 :         127 :                           break;
   13308                 :             :                         }
   13309                 :             :                       default:;
   13310                 :             :                       }
   13311                 :             :                   }
   13312                 :             :                 break;
   13313                 :             :               default:;
   13314                 :             :               }
   13315                 :             :         }
   13316                 :             :       break;
   13317                 :     2489870 :     case ADDR_EXPR:
   13318                 :     2489870 :       {
   13319                 :     2489870 :         switch (TREE_CODE (_p1))
   13320                 :             :           {
   13321                 :     2410695 :           case SSA_NAME:
   13322                 :     2410695 :             {
   13323                 :     2410695 :               {
   13324                 :     2410695 :                 tree captures[2] ATTRIBUTE_UNUSED = { _p0, _p1 };
   13325                 :     2410695 :                 if (gimple_simplify_265 (res_op, seq, valueize, type, captures, EQ_EXPR))
   13326                 :          73 :                   return true;
   13327                 :             :               }
   13328                 :     2410622 :               break;
   13329                 :             :             }
   13330                 :             :           default:;
   13331                 :             :           }
   13332                 :             :         break;
   13333                 :             :       }
   13334                 :    69523686 :     default:;
   13335                 :             :     }
   13336                 :    69523686 :   switch (TREE_CODE (_p1))
   13337                 :             :     {
   13338                 :    12129823 :     case SSA_NAME:
   13339                 :    12129823 :       if (gimple *_d1 = get_def (valueize, _p1))
   13340                 :             :         {
   13341                 :     3867077 :           if (gassign *_a1 = dyn_cast <gassign *> (_d1))
   13342                 :     6042383 :             switch (gimple_assign_rhs_code (_a1))
   13343                 :             :               {
   13344                 :         299 :               case BIT_XOR_EXPR:
   13345                 :         299 :                 {
   13346                 :         299 :                   tree _q30 = gimple_assign_rhs1 (_a1);
   13347                 :         299 :                   _q30 = do_valueize (valueize, _q30);
   13348                 :         299 :                   tree _q31 = gimple_assign_rhs2 (_a1);
   13349                 :         299 :                   _q31 = do_valueize (valueize, _q31);
   13350                 :         299 :                   if (tree_swap_operands_p (_q30, _q31))
   13351                 :          12 :                     std::swap (_q30, _q31);
   13352                 :         299 :                   if ((_q30 == _p0 && ! TREE_SIDE_EFFECTS (_q30)) || (operand_equal_p (_q30, _p0, 0) && types_match (_q30, _p0)))
   13353                 :             :                     {
   13354                 :          18 :                       {
   13355                 :          18 :                         tree captures[2] ATTRIBUTE_UNUSED = { _p0, _q31 };
   13356                 :          18 :                         if (gimple_simplify_267 (res_op, seq, valueize, type, captures, EQ_EXPR))
   13357                 :          18 :                           return true;
   13358                 :             :                       }
   13359                 :             :                     }
   13360                 :         281 :                   if ((_q31 == _p0 && ! TREE_SIDE_EFFECTS (_q31)) || (operand_equal_p (_q31, _p0, 0) && types_match (_q31, _p0)))
   13361                 :             :                     {
   13362                 :           0 :                       {
   13363                 :           0 :                         tree captures[2] ATTRIBUTE_UNUSED = { _p0, _q30 };
   13364                 :           0 :                         if (gimple_simplify_267 (res_op, seq, valueize, type, captures, EQ_EXPR))
   13365                 :           0 :                           return true;
   13366                 :             :                       }
   13367                 :             :                     }
   13368                 :    69523668 :                   break;
   13369                 :             :                 }
   13370                 :             :               default:;
   13371                 :             :               }
   13372                 :             :         }
   13373                 :             :       break;
   13374                 :    69523668 :     default:;
   13375                 :             :     }
   13376                 :    69523668 :   switch (TREE_CODE (_p0))
   13377                 :             :     {
   13378                 :    66333262 :     case SSA_NAME:
   13379                 :    66333262 :       if (gimple *_d1 = get_def (valueize, _p0))
   13380                 :             :         {
   13381                 :    22535482 :           if (gassign *_a1 = dyn_cast <gassign *> (_d1))
   13382                 :    26687902 :             switch (gimple_assign_rhs_code (_a1))
   13383                 :             :               {
   13384                 :      979158 :               case BIT_AND_EXPR:
   13385                 :      979158 :                 {
   13386                 :      979158 :                   tree _q20 = gimple_assign_rhs1 (_a1);
   13387                 :      979158 :                   _q20 = do_valueize (valueize, _q20);
   13388                 :      979158 :                   tree _q21 = gimple_assign_rhs2 (_a1);
   13389                 :      979158 :                   _q21 = do_valueize (valueize, _q21);
   13390                 :      979158 :                   if (tree_swap_operands_p (_q20, _q21))
   13391                 :        5492 :                     std::swap (_q20, _q21);
   13392                 :      979158 :                   if ((_p1 == _q20 && ! TREE_SIDE_EFFECTS (_p1)) || (operand_equal_p (_p1, _q20, 0) && types_match (_p1, _q20)))
   13393                 :             :                     {
   13394                 :        2994 :                       {
   13395                 :        2994 :                         tree captures[2] ATTRIBUTE_UNUSED = { _q20, _q21 };
   13396                 :        2994 :                         if (gimple_simplify_268 (res_op, seq, valueize, type, captures, EQ_EXPR))
   13397                 :        2074 :                           return true;
   13398                 :             :                       }
   13399                 :             :                     }
   13400                 :      977084 :                   if ((_p1 == _q21 && ! TREE_SIDE_EFFECTS (_p1)) || (operand_equal_p (_p1, _q21, 0) && types_match (_p1, _q21)))
   13401                 :             :                     {
   13402                 :      149472 :                       {
   13403                 :      149472 :                         tree captures[2] ATTRIBUTE_UNUSED = { _q21, _q20 };
   13404                 :      149472 :                         if (gimple_simplify_268 (res_op, seq, valueize, type, captures, EQ_EXPR))
   13405                 :           0 :                           return true;
   13406                 :             :                       }
   13407                 :             :                     }
   13408                 :    69521594 :                   break;
   13409                 :             :                 }
   13410                 :             :               default:;
   13411                 :             :               }
   13412                 :             :         }
   13413                 :             :       break;
   13414                 :    69521594 :     default:;
   13415                 :             :     }
   13416                 :    69521594 :   switch (TREE_CODE (_p1))
   13417                 :             :     {
   13418                 :    12127731 :     case SSA_NAME:
   13419                 :    12127731 :       if (gimple *_d1 = get_def (valueize, _p1))
   13420                 :             :         {
   13421                 :     3864986 :           if (gassign *_a1 = dyn_cast <gassign *> (_d1))
   13422                 :     6040875 :             switch (gimple_assign_rhs_code (_a1))
   13423                 :             :               {
   13424                 :       30359 :               case BIT_AND_EXPR:
   13425                 :       30359 :                 {
   13426                 :       30359 :                   tree _q30 = gimple_assign_rhs1 (_a1);
   13427                 :       30359 :                   _q30 = do_valueize (valueize, _q30);
   13428                 :       30359 :                   tree _q31 = gimple_assign_rhs2 (_a1);
   13429                 :       30359 :                   _q31 = do_valueize (valueize, _q31);
   13430                 :       30359 :                   if (tree_swap_operands_p (_q30, _q31))
   13431                 :         161 :                     std::swap (_q30, _q31);
   13432                 :       30359 :                   if ((_q30 == _p0 && ! TREE_SIDE_EFFECTS (_q30)) || (operand_equal_p (_q30, _p0, 0) && types_match (_q30, _p0)))
   13433                 :             :                     {
   13434                 :       16961 :                       {
   13435                 :       16961 :                         tree captures[2] ATTRIBUTE_UNUSED = { _p0, _q31 };
   13436                 :       16961 :                         if (gimple_simplify_268 (res_op, seq, valueize, type, captures, EQ_EXPR))
   13437                 :        8143 :                           return true;
   13438                 :             :                       }
   13439                 :             :                     }
   13440                 :       22216 :                   if ((_q31 == _p0 && ! TREE_SIDE_EFFECTS (_q31)) || (operand_equal_p (_q31, _p0, 0) && types_match (_q31, _p0)))
   13441                 :             :                     {
   13442                 :          16 :                       {
   13443                 :          16 :                         tree captures[2] ATTRIBUTE_UNUSED = { _p0, _q30 };
   13444                 :          16 :                         if (gimple_simplify_268 (res_op, seq, valueize, type, captures, EQ_EXPR))
   13445                 :           0 :                           return true;
   13446                 :             :                       }
   13447                 :             :                     }
   13448                 :    69513451 :                   break;
   13449                 :             :                 }
   13450                 :             :               default:;
   13451                 :             :               }
   13452                 :             :         }
   13453                 :             :       break;
   13454                 :    69513451 :     default:;
   13455                 :             :     }
   13456                 :    69513451 :   switch (TREE_CODE (_p0))
   13457                 :             :     {
   13458                 :    66323045 :     case SSA_NAME:
   13459                 :    66323045 :       if (gimple *_d1 = get_def (valueize, _p0))
   13460                 :             :         {
   13461                 :    22525283 :           if (gassign *_a1 = dyn_cast <gassign *> (_d1))
   13462                 :    26679563 :             switch (gimple_assign_rhs_code (_a1))
   13463                 :             :               {
   13464                 :      597260 :               CASE_CONVERT:
   13465                 :      597260 :                 {
   13466                 :      597260 :                   tree _q20 = gimple_assign_rhs1 (_a1);
   13467                 :      597260 :                   _q20 = do_valueize (valueize, _q20);
   13468                 :      597260 :                   switch (TREE_CODE (_q20))
   13469                 :             :                     {
   13470                 :      585019 :                     case SSA_NAME:
   13471                 :      585019 :                       if (gimple *_d2 = get_def (valueize, _q20))
   13472                 :             :                         {
   13473                 :      577762 :                           if (gassign *_a2 = dyn_cast <gassign *> (_d2))
   13474                 :      673666 :                             switch (gimple_assign_rhs_code (_a2))
   13475                 :             :                               {
   13476                 :        3954 :                               case BIT_AND_EXPR:
   13477                 :        3954 :                                 {
   13478                 :        3954 :                                   tree _q30 = gimple_assign_rhs1 (_a2);
   13479                 :        3954 :                                   _q30 = do_valueize (valueize, _q30);
   13480                 :        3954 :                                   tree _q31 = gimple_assign_rhs2 (_a2);
   13481                 :        3954 :                                   _q31 = do_valueize (valueize, _q31);
   13482                 :        3954 :                                   if (tree_swap_operands_p (_q30, _q31))
   13483                 :           4 :                                     std::swap (_q30, _q31);
   13484                 :        3954 :                                   switch (TREE_CODE (_q30))
   13485                 :             :                                     {
   13486                 :        3954 :                                     case SSA_NAME:
   13487                 :        3954 :                                       if (gimple *_d3 = get_def (valueize, _q30))
   13488                 :             :                                         {
   13489                 :        3931 :                                           if (gassign *_a3 = dyn_cast <gassign *> (_d3))
   13490                 :        6049 :                                             switch (gimple_assign_rhs_code (_a3))
   13491                 :             :                                               {
   13492                 :          27 :                                               CASE_CONVERT:
   13493                 :          27 :                                                 {
   13494                 :          27 :                                                   tree _q40 = gimple_assign_rhs1 (_a3);
   13495                 :          27 :                                                   _q40 = do_valueize (valueize, _q40);
   13496                 :          27 :                                                   switch (TREE_CODE (_q31))
   13497                 :             :                                                     {
   13498                 :          18 :                                                     case INTEGER_CST:
   13499                 :          18 :                                                       {
   13500                 :          18 :                                                         switch (TREE_CODE (_p1))
   13501                 :             :                                                           {
   13502                 :           0 :                                                           case SSA_NAME:
   13503                 :           0 :                                                             if (gimple *_d4 = get_def (valueize, _p1))
   13504                 :             :                                                               {
   13505                 :           0 :                                                                 if (gassign *_a4 = dyn_cast <gassign *> (_d4))
   13506                 :           0 :                                                                   switch (gimple_assign_rhs_code (_a4))
   13507                 :             :                                                                     {
   13508                 :           0 :                                                                     CASE_CONVERT:
   13509                 :           0 :                                                                       {
   13510                 :           0 :                                                                         tree _q70 = gimple_assign_rhs1 (_a4);
   13511                 :           0 :                                                                         _q70 = do_valueize (valueize, _q70);
   13512                 :           0 :                                                                         if ((_q70 == _q40 && ! TREE_SIDE_EFFECTS (_q70)) || (operand_equal_p (_q70, _q40, 0) && types_match (_q70, _q40)))
   13513                 :             :                                                                           {
   13514                 :           0 :                                                                             {
   13515                 :           0 :                                                                               tree captures[4] ATTRIBUTE_UNUSED = { _p0, _q30, _q40, _q31 };
   13516                 :           0 :                                                                               if (gimple_simplify_269 (res_op, seq, valueize, type, captures, EQ_EXPR))
   13517                 :           0 :                                                                                 return true;
   13518                 :             :                                                                             }
   13519                 :             :                                                                           }
   13520                 :             :                                                                         break;
   13521                 :             :                                                                       }
   13522                 :             :                                                                     default:;
   13523                 :             :                                                                     }
   13524                 :             :                                                               }
   13525                 :             :                                                             break;
   13526                 :             :                                                           default:;
   13527                 :             :                                                           }
   13528                 :             :                                                         break;
   13529                 :             :                                                       }
   13530                 :             :                                                     default:;
   13531                 :             :                                                     }
   13532                 :             :                                                   break;
   13533                 :             :                                                 }
   13534                 :             :                                               default:;
   13535                 :             :                                               }
   13536                 :             :                                         }
   13537                 :             :                                       break;
   13538                 :             :                                     default:;
   13539                 :             :                                     }
   13540                 :      597260 :                                   break;
   13541                 :             :                                 }
   13542                 :             :                               default:;
   13543                 :             :                               }
   13544                 :             :                         }
   13545                 :             :                       break;
   13546                 :      597260 :                     default:;
   13547                 :             :                     }
   13548                 :      597260 :                   switch (TREE_CODE (_p1))
   13549                 :             :                     {
   13550                 :      148347 :                     case SSA_NAME:
   13551                 :      148347 :                       if (gimple *_d2 = get_def (valueize, _p1))
   13552                 :             :                         {
   13553                 :      139065 :                           if (gassign *_a2 = dyn_cast <gassign *> (_d2))
   13554                 :      160718 :                             switch (gimple_assign_rhs_code (_a2))
   13555                 :             :                               {
   13556                 :       34185 :                               CASE_CONVERT:
   13557                 :       34185 :                                 {
   13558                 :       34185 :                                   tree _q40 = gimple_assign_rhs1 (_a2);
   13559                 :       34185 :                                   _q40 = do_valueize (valueize, _q40);
   13560                 :       34185 :                                   switch (TREE_CODE (_q40))
   13561                 :             :                                     {
   13562                 :       18140 :                                     case SSA_NAME:
   13563                 :       18140 :                                       if (gimple *_d3 = get_def (valueize, _q40))
   13564                 :             :                                         {
   13565                 :       17986 :                                           if (gassign *_a3 = dyn_cast <gassign *> (_d3))
   13566                 :       23358 :                                             switch (gimple_assign_rhs_code (_a3))
   13567                 :             :                                               {
   13568                 :        3626 :                                               case BIT_AND_EXPR:
   13569                 :        3626 :                                                 {
   13570                 :        3626 :                                                   tree _q50 = gimple_assign_rhs1 (_a3);
   13571                 :        3626 :                                                   _q50 = do_valueize (valueize, _q50);
   13572                 :        3626 :                                                   tree _q51 = gimple_assign_rhs2 (_a3);
   13573                 :        3626 :                                                   _q51 = do_valueize (valueize, _q51);
   13574                 :        3626 :                                                   if (tree_swap_operands_p (_q50, _q51))
   13575                 :           0 :                                                     std::swap (_q50, _q51);
   13576                 :        3626 :                                                   switch (TREE_CODE (_q50))
   13577                 :             :                                                     {
   13578                 :        3626 :                                                     case SSA_NAME:
   13579                 :        3626 :                                                       if (gimple *_d4 = get_def (valueize, _q50))
   13580                 :             :                                                         {
   13581                 :        3626 :                                                           if (gassign *_a4 = dyn_cast <gassign *> (_d4))
   13582                 :        1954 :                                                             switch (gimple_assign_rhs_code (_a4))
   13583                 :             :                                                               {
   13584                 :          12 :                                                               CASE_CONVERT:
   13585                 :          12 :                                                                 {
   13586                 :          12 :                                                                   tree _q60 = gimple_assign_rhs1 (_a4);
   13587                 :          12 :                                                                   _q60 = do_valueize (valueize, _q60);
   13588                 :          12 :                                                                   if ((_q60 == _q20 && ! TREE_SIDE_EFFECTS (_q60)) || (operand_equal_p (_q60, _q20, 0) && types_match (_q60, _q20)))
   13589                 :             :                                                                     {
   13590                 :           0 :                                                                       switch (TREE_CODE (_q51))
   13591                 :             :                                                                         {
   13592                 :           0 :                                                                         case INTEGER_CST:
   13593                 :           0 :                                                                           {
   13594                 :           0 :                                                                             {
   13595                 :           0 :                                                                               tree captures[4] ATTRIBUTE_UNUSED = { _p1, _q50, _q20, _q51 };
   13596                 :           0 :                                                                               if (gimple_simplify_269 (res_op, seq, valueize, type, captures, EQ_EXPR))
   13597                 :           0 :                                                                                 return true;
   13598                 :             :                                                                             }
   13599                 :           0 :                                                                             break;
   13600                 :             :                                                                           }
   13601                 :             :                                                                         default:;
   13602                 :             :                                                                         }
   13603                 :             :                                                                     }
   13604                 :             :                                                                   break;
   13605                 :             :                                                                 }
   13606                 :             :                                                               default:;
   13607                 :             :                                                               }
   13608                 :             :                                                         }
   13609                 :             :                                                       break;
   13610                 :             :                                                     default:;
   13611                 :             :                                                     }
   13612                 :    69511268 :                                                   break;
   13613                 :             :                                                 }
   13614                 :             :                                               default:;
   13615                 :             :                                               }
   13616                 :             :                                         }
   13617                 :             :                                       break;
   13618                 :             :                                     default:;
   13619                 :             :                                     }
   13620                 :             :                                   break;
   13621                 :             :                                 }
   13622                 :             :                               default:;
   13623                 :             :                               }
   13624                 :             :                         }
   13625                 :             :                       break;
   13626                 :             :                     default:;
   13627                 :             :                     }
   13628                 :             :                   break;
   13629                 :             :                 }
   13630                 :      106089 :               case BIT_IOR_EXPR:
   13631                 :      106089 :                 {
   13632                 :      106089 :                   tree _q20 = gimple_assign_rhs1 (_a1);
   13633                 :      106089 :                   _q20 = do_valueize (valueize, _q20);
   13634                 :      106089 :                   tree _q21 = gimple_assign_rhs2 (_a1);
   13635                 :      106089 :                   _q21 = do_valueize (valueize, _q21);
   13636                 :      106089 :                   if (tree_swap_operands_p (_q20, _q21))
   13637                 :        7462 :                     std::swap (_q20, _q21);
   13638                 :      106089 :                   if ((_p1 == _q21 && ! TREE_SIDE_EFFECTS (_p1)) || (operand_equal_p (_p1, _q21, 0) && types_match (_p1, _q21)))
   13639                 :             :                     {
   13640                 :        2211 :                       {
   13641                 :        2211 :                         tree captures[2] ATTRIBUTE_UNUSED = { _q20, _q21 };
   13642                 :        2211 :                         if (gimple_simplify_270 (res_op, seq, valueize, type, captures, EQ_EXPR))
   13643                 :        2183 :                           return true;
   13644                 :             :                       }
   13645                 :             :                     }
   13646                 :      103906 :                   if ((_p1 == _q20 && ! TREE_SIDE_EFFECTS (_p1)) || (operand_equal_p (_p1, _q20, 0) && types_match (_p1, _q20)))
   13647                 :             :                     {
   13648                 :          15 :                       {
   13649                 :          15 :                         tree captures[2] ATTRIBUTE_UNUSED = { _q21, _q20 };
   13650                 :          15 :                         if (gimple_simplify_270 (res_op, seq, valueize, type, captures, EQ_EXPR))
   13651                 :           0 :                           return true;
   13652                 :             :                       }
   13653                 :             :                     }
   13654                 :    69511268 :                   break;
   13655                 :             :                 }
   13656                 :             :               default:;
   13657                 :             :               }
   13658                 :             :         }
   13659                 :             :       break;
   13660                 :    69511268 :     default:;
   13661                 :             :     }
   13662                 :    69511268 :   switch (TREE_CODE (_p1))
   13663                 :             :     {
   13664                 :    12119588 :     case SSA_NAME:
   13665                 :    12119588 :       if (gimple *_d1 = get_def (valueize, _p1))
   13666                 :             :         {
   13667                 :     3856843 :           if (gassign *_a1 = dyn_cast <gassign *> (_d1))
   13668                 :     6032732 :             switch (gimple_assign_rhs_code (_a1))
   13669                 :             :               {
   13670                 :        3713 :               case BIT_IOR_EXPR:
   13671                 :        3713 :                 {
   13672                 :        3713 :                   tree _q30 = gimple_assign_rhs1 (_a1);
   13673                 :        3713 :                   _q30 = do_valueize (valueize, _q30);
   13674                 :        3713 :                   tree _q31 = gimple_assign_rhs2 (_a1);
   13675                 :        3713 :                   _q31 = do_valueize (valueize, _q31);
   13676                 :        3713 :                   if (tree_swap_operands_p (_q30, _q31))
   13677                 :         109 :                     std::swap (_q30, _q31);
   13678                 :        3713 :                   if ((_q31 == _p0 && ! TREE_SIDE_EFFECTS (_q31)) || (operand_equal_p (_q31, _p0, 0) && types_match (_q31, _p0)))
   13679                 :             :                     {
   13680                 :          48 :                       {
   13681                 :          48 :                         tree captures[2] ATTRIBUTE_UNUSED = { _q30, _p0 };
   13682                 :          48 :                         if (gimple_simplify_270 (res_op, seq, valueize, type, captures, EQ_EXPR))
   13683                 :           0 :                           return true;
   13684                 :             :                       }
   13685                 :             :                     }
   13686                 :        3713 :                   if ((_q30 == _p0 && ! TREE_SIDE_EFFECTS (_q30)) || (operand_equal_p (_q30, _p0, 0) && types_match (_q30, _p0)))
   13687                 :             :                     {
   13688                 :         126 :                       {
   13689                 :         126 :                         tree captures[2] ATTRIBUTE_UNUSED = { _q31, _p0 };
   13690                 :         126 :                         if (gimple_simplify_270 (res_op, seq, valueize, type, captures, EQ_EXPR))
   13691                 :           0 :                           return true;
   13692                 :             :                       }
   13693                 :             :                     }
   13694                 :    69511268 :                   break;
   13695                 :             :                 }
   13696                 :             :               default:;
   13697                 :             :               }
   13698                 :             :         }
   13699                 :             :       break;
   13700                 :    69511268 :     default:;
   13701                 :             :     }
   13702                 :    69511268 :   switch (TREE_CODE (_p0))
   13703                 :             :     {
   13704                 :    66320862 :     case SSA_NAME:
   13705                 :    66320862 :       if (gimple *_d1 = get_def (valueize, _p0))
   13706                 :             :         {
   13707                 :    22523100 :           if (gassign *_a1 = dyn_cast <gassign *> (_d1))
   13708                 :    26677380 :             switch (gimple_assign_rhs_code (_a1))
   13709                 :             :               {
   13710                 :      597260 :               CASE_CONVERT:
   13711                 :      597260 :                 {
   13712                 :      597260 :                   tree _q20 = gimple_assign_rhs1 (_a1);
   13713                 :      597260 :                   _q20 = do_valueize (valueize, _q20);
   13714                 :      597260 :                   switch (TREE_CODE (_q20))
   13715                 :             :                     {
   13716                 :      585019 :                     case SSA_NAME:
   13717                 :      585019 :                       if (gimple *_d2 = get_def (valueize, _q20))
   13718                 :             :                         {
   13719                 :      577762 :                           if (gassign *_a2 = dyn_cast <gassign *> (_d2))
   13720                 :      673666 :                             switch (gimple_assign_rhs_code (_a2))
   13721                 :             :                               {
   13722                 :          28 :                               case BIT_XOR_EXPR:
   13723                 :          28 :                                 {
   13724                 :          28 :                                   tree _q30 = gimple_assign_rhs1 (_a2);
   13725                 :          28 :                                   _q30 = do_valueize (valueize, _q30);
   13726                 :          28 :                                   tree _q31 = gimple_assign_rhs2 (_a2);
   13727                 :          28 :                                   _q31 = do_valueize (valueize, _q31);
   13728                 :          28 :                                   if (tree_swap_operands_p (_q30, _q31))
   13729                 :           4 :                                     std::swap (_q30, _q31);
   13730                 :          28 :                                   switch (TREE_CODE (_q31))
   13731                 :             :                                     {
   13732                 :          20 :                                     case INTEGER_CST:
   13733                 :          20 :                                       {
   13734                 :          20 :                                         switch (TREE_CODE (_p1))
   13735                 :             :                                           {
   13736                 :          16 :                                           case INTEGER_CST:
   13737                 :          16 :                                             {
   13738                 :          16 :                                               {
   13739                 :          16 :                                                 tree captures[4] ATTRIBUTE_UNUSED = { _p0, _q30, _q31, _p1 };
   13740                 :          16 :                                                 if (gimple_simplify_271 (res_op, seq, valueize, type, captures, EQ_EXPR))
   13741                 :           0 :                                                   return true;
   13742                 :             :                                               }
   13743                 :          16 :                                               break;
   13744                 :             :                                             }
   13745                 :             :                                           default:;
   13746                 :             :                                           }
   13747                 :             :                                         break;
   13748                 :             :                                       }
   13749                 :             :                                     default:;
   13750                 :             :                                     }
   13751                 :    69511262 :                                   break;
   13752                 :             :                                 }
   13753                 :             :                               default:;
   13754                 :             :                               }
   13755                 :             :                         }
   13756                 :             :                       break;
   13757                 :             :                     default:;
   13758                 :             :                     }
   13759                 :             :                   break;
   13760                 :             :                 }
   13761                 :         427 :               case BIT_XOR_EXPR:
   13762                 :         427 :                 {
   13763                 :         427 :                   tree _q20 = gimple_assign_rhs1 (_a1);
   13764                 :         427 :                   _q20 = do_valueize (valueize, _q20);
   13765                 :         427 :                   tree _q21 = gimple_assign_rhs2 (_a1);
   13766                 :         427 :                   _q21 = do_valueize (valueize, _q21);
   13767                 :         427 :                   if (tree_swap_operands_p (_q20, _q21))
   13768                 :          43 :                     std::swap (_q20, _q21);
   13769                 :         427 :                   switch (TREE_CODE (_q21))
   13770                 :             :                     {
   13771                 :          43 :                     case INTEGER_CST:
   13772                 :          43 :                       {
   13773                 :          43 :                         switch (TREE_CODE (_p1))
   13774                 :             :                           {
   13775                 :           6 :                           case INTEGER_CST:
   13776                 :           6 :                             {
   13777                 :           6 :                               {
   13778                 :           6 :                                 tree captures[4] ATTRIBUTE_UNUSED = { _p0, _q20, _q21, _p1 };
   13779                 :           6 :                                 if (gimple_simplify_271 (res_op, seq, valueize, type, captures, EQ_EXPR))
   13780                 :           6 :                                   return true;
   13781                 :             :                               }
   13782                 :           0 :                               break;
   13783                 :             :                             }
   13784                 :             :                           default:;
   13785                 :             :                           }
   13786                 :             :                         break;
   13787                 :             :                       }
   13788                 :             :                     default:;
   13789                 :             :                     }
   13790                 :    69511262 :                   break;
   13791                 :             :                 }
   13792                 :             :               default:;
   13793                 :             :               }
   13794                 :             :         }
   13795                 :             :       break;
   13796                 :    69511262 :     default:;
   13797                 :             :     }
   13798                 :    69511262 : {
   13799                 :    69511262 :   tree _p0_pops[1];
   13800                 :    69511262 :   if (gimple_nop_convert (_p0, _p0_pops, valueize))
   13801                 :             :     {
   13802                 :      365751 :       tree _q20 = _p0_pops[0];
   13803                 :      365751 :       if (integer_zerop (_p1))
   13804                 :             :         {
   13805                 :      146832 :           {
   13806                 :      146832 :             tree captures[1] ATTRIBUTE_UNUSED = { _q20 };
   13807                 :      146832 :             if (gimple_simplify_272 (res_op, seq, valueize, type, captures, EQ_EXPR))
   13808                 :         182 :               return true;
   13809                 :             :           }
   13810                 :             :         }
   13811                 :             : }
   13812                 :             : }
   13813                 :    69511080 :   if (integer_zerop (_p1))
   13814                 :             :     {
   13815                 :    39578928 :       {
   13816                 :    39578928 :         tree captures[1] ATTRIBUTE_UNUSED = { _p0 };
   13817                 :    39578928 :         if (gimple_simplify_272 (res_op, seq, valueize, type, captures, EQ_EXPR))
   13818                 :       52392 :           return true;
   13819                 :             :       }
   13820                 :             :     }
   13821                 :    69458688 :   switch (TREE_CODE (_p0))
   13822                 :             :     {
   13823                 :    66316139 :     case SSA_NAME:
   13824                 :    66316139 :       if (gimple *_d1 = get_def (valueize, _p0))
   13825                 :             :         {
   13826                 :    22520796 :           if (gassign *_a1 = dyn_cast <gassign *> (_d1))
   13827                 :    26675470 :             switch (gimple_assign_rhs_code (_a1))
   13828                 :             :               {
   13829                 :      977084 :               case BIT_AND_EXPR:
   13830                 :      977084 :                 {
   13831                 :      977084 :                   tree _q20 = gimple_assign_rhs1 (_a1);
   13832                 :      977084 :                   _q20 = do_valueize (valueize, _q20);
   13833                 :      977084 :                   tree _q21 = gimple_assign_rhs2 (_a1);
   13834                 :      977084 :                   _q21 = do_valueize (valueize, _q21);
   13835                 :      977084 :                   if (tree_swap_operands_p (_q20, _q21))
   13836                 :        5492 :                     std::swap (_q20, _q21);
   13837                 :      977084 :                   switch (TREE_CODE (_p1))
   13838                 :             :                     {
   13839                 :       14501 :                     case SSA_NAME:
   13840                 :       14501 :                       if (gimple *_d2 = get_def (valueize, _p1))
   13841                 :             :                         {
   13842                 :       14234 :                           if (gassign *_a2 = dyn_cast <gassign *> (_d2))
   13843                 :       14578 :                             switch (gimple_assign_rhs_code (_a2))
   13844                 :             :                               {
   13845                 :        3171 :                               case BIT_AND_EXPR:
   13846                 :        3171 :                                 {
   13847                 :        3171 :                                   tree _q50 = gimple_assign_rhs1 (_a2);
   13848                 :        3171 :                                   _q50 = do_valueize (valueize, _q50);
   13849                 :        3171 :                                   tree _q51 = gimple_assign_rhs2 (_a2);
   13850                 :        3171 :                                   _q51 = do_valueize (valueize, _q51);
   13851                 :        3171 :                                   if (tree_swap_operands_p (_q50, _q51))
   13852                 :           0 :                                     std::swap (_q50, _q51);
   13853                 :        3171 :                                   if ((_q51 == _q21 && ! TREE_SIDE_EFFECTS (_q51)) || (operand_equal_p (_q51, _q21, 0) && types_match (_q51, _q21)))
   13854                 :             :                                     {
   13855                 :        1909 :                                       {
   13856                 :        1909 :                                         tree captures[5] ATTRIBUTE_UNUSED = { _p0, _q20, _q21, _p1, _q50 };
   13857                 :        1909 :                                         if (gimple_simplify_273 (res_op, seq, valueize, type, captures, EQ_EXPR))
   13858                 :          14 :                                           return true;
   13859                 :             :                                       }
   13860                 :             :                                     }
   13861                 :        3157 :                                   if ((_q50 == _q21 && ! TREE_SIDE_EFFECTS (_q50)) || (operand_equal_p (_q50, _q21, 0) && types_match (_q50, _q21)))
   13862                 :             :                                     {
   13863                 :           0 :                                       {
   13864                 :           0 :                                         tree captures[5] ATTRIBUTE_UNUSED = { _p0, _q20, _q21, _p1, _q51 };
   13865                 :           0 :                                         if (gimple_simplify_273 (res_op, seq, valueize, type, captures, EQ_EXPR))
   13866                 :           0 :                                           return true;
   13867                 :             :                                       }
   13868                 :             :                                     }
   13869                 :        3157 :                                   if ((_q51 == _q20 && ! TREE_SIDE_EFFECTS (_q51)) || (operand_equal_p (_q51, _q20, 0) && types_match (_q51, _q20)))
   13870                 :             :                                     {
   13871                 :           0 :                                       {
   13872                 :           0 :                                         tree captures[5] ATTRIBUTE_UNUSED = { _p0, _q21, _q20, _p1, _q50 };
   13873                 :           0 :                                         if (gimple_simplify_273 (res_op, seq, valueize, type, captures, EQ_EXPR))
   13874                 :           0 :                                           return true;
   13875                 :             :                                       }
   13876                 :             :                                     }
   13877                 :        3157 :                                   if ((_q50 == _q20 && ! TREE_SIDE_EFFECTS (_q50)) || (operand_equal_p (_q50, _q20, 0) && types_match (_q50, _q20)))
   13878                 :             :                                     {
   13879                 :           0 :                                       {
   13880                 :           0 :                                         tree captures[5] ATTRIBUTE_UNUSED = { _p0, _q21, _q20, _p1, _q51 };
   13881                 :           0 :                                         if (gimple_simplify_273 (res_op, seq, valueize, type, captures, EQ_EXPR))
   13882                 :           0 :                                           return true;
   13883                 :             :                                       }
   13884                 :             :                                     }
   13885                 :      977070 :                                   break;
   13886                 :             :                                 }
   13887                 :             :                               default:;
   13888                 :             :                               }
   13889                 :             :                         }
   13890                 :             :                       break;
   13891                 :      977070 :                     default:;
   13892                 :             :                     }
   13893                 :      977070 :                   if (integer_pow2p (_q21))
   13894                 :             :                     {
   13895                 :      349105 :                       if ((_p1 == _q21 && ! TREE_SIDE_EFFECTS (_p1)) || (operand_equal_p (_p1, _q21, 0) && types_match (_p1, _q21)))
   13896                 :             :                         {
   13897                 :         638 :                           {
   13898                 :         638 :                             tree captures[3] ATTRIBUTE_UNUSED = { _p0, _q20, _q21 };
   13899                 :         638 :                             if (gimple_simplify_274 (res_op, seq, valueize, type, captures, EQ_EXPR, NE_EXPR))
   13900                 :         638 :                               return true;
   13901                 :             :                           }
   13902                 :             :                         }
   13903                 :             :                     }
   13904                 :    69457749 :                   break;
   13905                 :             :                 }
   13906                 :         880 :               case GE_EXPR:
   13907                 :         880 :                 {
   13908                 :         880 :                   tree _q20 = gimple_assign_rhs1 (_a1);
   13909                 :         880 :                   _q20 = do_valueize (valueize, _q20);
   13910                 :         880 :                   tree _q21 = gimple_assign_rhs2 (_a1);
   13911                 :         880 :                   _q21 = do_valueize (valueize, _q21);
   13912                 :         880 :                   if (integer_zerop (_q21))
   13913                 :             :                     {
   13914                 :          12 :                       switch (TREE_CODE (_p1))
   13915                 :             :                         {
   13916                 :          12 :                         case SSA_NAME:
   13917                 :          12 :                           if (gimple *_d2 = get_def (valueize, _p1))
   13918                 :             :                             {
   13919                 :          12 :                               if (gassign *_a2 = dyn_cast <gassign *> (_d2))
   13920                 :          12 :                                 switch (gimple_assign_rhs_code (_a2))
   13921                 :             :                                   {
   13922                 :           2 :                                   case GE_EXPR:
   13923                 :           2 :                                     {
   13924                 :           2 :                                       tree _q50 = gimple_assign_rhs1 (_a2);
   13925                 :           2 :                                       _q50 = do_valueize (valueize, _q50);
   13926                 :           2 :                                       tree _q51 = gimple_assign_rhs2 (_a2);
   13927                 :           2 :                                       _q51 = do_valueize (valueize, _q51);
   13928                 :           2 :                                       if (integer_zerop (_q51))
   13929                 :             :                                         {
   13930                 :           2 :                                           {
   13931                 :           2 :                                             tree captures[3] ATTRIBUTE_UNUSED = { _q20, _q21, _q50 };
   13932                 :           2 :                                             if (gimple_simplify_275 (res_op, seq, valueize, type, captures, GE_EXPR, EQ_EXPR, GE_EXPR))
   13933                 :           1 :                                               return true;
   13934                 :             :                                           }
   13935                 :             :                                         }
   13936                 :             :                                       break;
   13937                 :             :                                     }
   13938                 :           2 :                                   case LT_EXPR:
   13939                 :           2 :                                     {
   13940                 :           2 :                                       tree _q50 = gimple_assign_rhs1 (_a2);
   13941                 :           2 :                                       _q50 = do_valueize (valueize, _q50);
   13942                 :           2 :                                       tree _q51 = gimple_assign_rhs2 (_a2);
   13943                 :           2 :                                       _q51 = do_valueize (valueize, _q51);
   13944                 :           2 :                                       if (integer_zerop (_q51))
   13945                 :             :                                         {
   13946                 :           2 :                                           {
   13947                 :           2 :                                             tree captures[3] ATTRIBUTE_UNUSED = { _q50, _q51, _q20 };
   13948                 :           2 :                                             if (gimple_simplify_276 (res_op, seq, valueize, type, captures, EQ_EXPR, LT_EXPR))
   13949                 :           1 :                                               return true;
   13950                 :             :                                           }
   13951                 :             :                                         }
   13952                 :             :                                       break;
   13953                 :             :                                     }
   13954                 :             :                                   default:;
   13955                 :             :                                   }
   13956                 :             :                             }
   13957                 :             :                           break;
   13958                 :             :                         default:;
   13959                 :             :                         }
   13960                 :             :                     }
   13961                 :             :                   break;
   13962                 :             :                 }
   13963                 :         899 :               case LT_EXPR:
   13964                 :         899 :                 {
   13965                 :         899 :                   tree _q20 = gimple_assign_rhs1 (_a1);
   13966                 :         899 :                   _q20 = do_valueize (valueize, _q20);
   13967                 :         899 :                   tree _q21 = gimple_assign_rhs2 (_a1);
   13968                 :         899 :                   _q21 = do_valueize (valueize, _q21);
   13969                 :         899 :                   if (integer_zerop (_q21))
   13970                 :             :                     {
   13971                 :          66 :                       switch (TREE_CODE (_p1))
   13972                 :             :                         {
   13973                 :          34 :                         case SSA_NAME:
   13974                 :          34 :                           if (gimple *_d2 = get_def (valueize, _p1))
   13975                 :             :                             {
   13976                 :          34 :                               if (gassign *_a2 = dyn_cast <gassign *> (_d2))
   13977                 :          34 :                                 switch (gimple_assign_rhs_code (_a2))
   13978                 :             :                                   {
   13979                 :          20 :                                   case LT_EXPR:
   13980                 :          20 :                                     {
   13981                 :          20 :                                       tree _q50 = gimple_assign_rhs1 (_a2);
   13982                 :          20 :                                       _q50 = do_valueize (valueize, _q50);
   13983                 :          20 :                                       tree _q51 = gimple_assign_rhs2 (_a2);
   13984                 :          20 :                                       _q51 = do_valueize (valueize, _q51);
   13985                 :          20 :                                       if (integer_zerop (_q51))
   13986                 :             :                                         {
   13987                 :          20 :                                           {
   13988                 :          20 :                                             tree captures[3] ATTRIBUTE_UNUSED = { _q20, _q21, _q50 };
   13989                 :          20 :                                             if (gimple_simplify_275 (res_op, seq, valueize, type, captures, LT_EXPR, EQ_EXPR, GE_EXPR))
   13990                 :          10 :                                               return true;
   13991                 :             :                                           }
   13992                 :             :                                         }
   13993                 :             :                                       break;
   13994                 :             :                                     }
   13995                 :           2 :                                   case GE_EXPR:
   13996                 :           2 :                                     {
   13997                 :           2 :                                       tree _q50 = gimple_assign_rhs1 (_a2);
   13998                 :           2 :                                       _q50 = do_valueize (valueize, _q50);
   13999                 :           2 :                                       tree _q51 = gimple_assign_rhs2 (_a2);
   14000                 :           2 :                                       _q51 = do_valueize (valueize, _q51);
   14001                 :           2 :                                       if (integer_zerop (_q51))
   14002                 :             :                                         {
   14003                 :           2 :                                           {
   14004                 :           2 :                                             tree captures[3] ATTRIBUTE_UNUSED = { _q20, _q21, _q50 };
   14005                 :           2 :                                             if (gimple_simplify_277 (res_op, seq, valueize, type, captures, EQ_EXPR, LT_EXPR))
   14006                 :           1 :                                               return true;
   14007                 :             :                                           }
   14008                 :             :                                         }
   14009                 :             :                                       break;
   14010                 :             :                                     }
   14011                 :             :                                   default:;
   14012                 :             :                                   }
   14013                 :             :                             }
   14014                 :             :                           break;
   14015                 :             :                         default:;
   14016                 :             :                         }
   14017                 :             :                     }
   14018                 :             :                   break;
   14019                 :             :                 }
   14020                 :        3649 :               case COND_EXPR:
   14021                 :        3649 :                 {
   14022                 :        3649 :                   tree _q20 = gimple_assign_rhs1 (_a1);
   14023                 :        3649 :                   _q20 = do_valueize (valueize, _q20);
   14024                 :        3649 :                   tree _q21 = gimple_assign_rhs2 (_a1);
   14025                 :        3649 :                   _q21 = do_valueize (valueize, _q21);
   14026                 :        3649 :                   tree _q22 = gimple_assign_rhs3 (_a1);
   14027                 :        3649 :                   _q22 = do_valueize (valueize, _q22);
   14028                 :        3649 :                   {
   14029                 :        3649 :                     tree captures[4] ATTRIBUTE_UNUSED = { _q20, _q21, _q22, _p1 };
   14030                 :        3649 :                     if (gimple_simplify_278 (res_op, seq, valueize, type, captures, EQ_EXPR))
   14031                 :         274 :                       return true;
   14032                 :             :                   }
   14033                 :        3375 :                   break;
   14034                 :             :                 }
   14035                 :             :               default:;
   14036                 :             :               }
   14037                 :             :         }
   14038                 :             :       break;
   14039                 :    69457749 :     default:;
   14040                 :             :     }
   14041                 :    69457749 :   switch (TREE_CODE (_p1))
   14042                 :             :     {
   14043                 :    12119561 :     case SSA_NAME:
   14044                 :    12119561 :       if (gimple *_d1 = get_def (valueize, _p1))
   14045                 :             :         {
   14046                 :     3856816 :           if (gassign *_a1 = dyn_cast <gassign *> (_d1))
   14047                 :     6032705 :             switch (gimple_assign_rhs_code (_a1))
   14048                 :             :               {
   14049                 :         797 :               case COND_EXPR:
   14050                 :         797 :                 {
   14051                 :         797 :                   tree _q30 = gimple_assign_rhs1 (_a1);
   14052                 :         797 :                   _q30 = do_valueize (valueize, _q30);
   14053                 :         797 :                   tree _q31 = gimple_assign_rhs2 (_a1);
   14054                 :         797 :                   _q31 = do_valueize (valueize, _q31);
   14055                 :         797 :                   tree _q32 = gimple_assign_rhs3 (_a1);
   14056                 :         797 :                   _q32 = do_valueize (valueize, _q32);
   14057                 :         797 :                   {
   14058                 :         797 :                     tree captures[4] ATTRIBUTE_UNUSED = { _q30, _q31, _q32, _p0 };
   14059                 :         797 :                     if (gimple_simplify_278 (res_op, seq, valueize, type, captures, EQ_EXPR))
   14060                 :           0 :                       return true;
   14061                 :             :                   }
   14062                 :         797 :                   break;
   14063                 :             :                 }
   14064                 :             :               default:;
   14065                 :             :               }
   14066                 :             :         }
   14067                 :             :       break;
   14068                 :    69457749 :     default:;
   14069                 :             :     }
   14070                 :    69457749 :   switch (TREE_CODE (_p0))
   14071                 :             :     {
   14072                 :    66315200 :     case SSA_NAME:
   14073                 :    66315200 :       if (gimple *_d1 = get_def (valueize, _p0))
   14074                 :             :         {
   14075                 :    22519857 :           if (gassign *_a1 = dyn_cast <gassign *> (_d1))
   14076                 :    26674531 :             switch (gimple_assign_rhs_code (_a1))
   14077                 :             :               {
   14078                 :      976432 :               case BIT_AND_EXPR:
   14079                 :      976432 :                 {
   14080                 :      976432 :                   tree _q20 = gimple_assign_rhs1 (_a1);
   14081                 :      976432 :                   _q20 = do_valueize (valueize, _q20);
   14082                 :      976432 :                   tree _q21 = gimple_assign_rhs2 (_a1);
   14083                 :      976432 :                   _q21 = do_valueize (valueize, _q21);
   14084                 :      976432 :                   if (tree_swap_operands_p (_q20, _q21))
   14085                 :        5492 :                     std::swap (_q20, _q21);
   14086                 :      976432 :                   switch (TREE_CODE (_q20))
   14087                 :             :                     {
   14088                 :      976432 :                     case SSA_NAME:
   14089                 :      976432 :                       if (gimple *_d2 = get_def (valueize, _q20))
   14090                 :             :                         {
   14091                 :      935400 :                           if (gassign *_a2 = dyn_cast <gassign *> (_d2))
   14092                 :     1225721 :                             switch (gimple_assign_rhs_code (_a2))
   14093                 :             :                               {
   14094                 :       72084 :                               CASE_CONVERT:
   14095                 :       72084 :                                 {
   14096                 :       72084 :                                   tree _q30 = gimple_assign_rhs1 (_a2);
   14097                 :       72084 :                                   _q30 = do_valueize (valueize, _q30);
   14098                 :       72084 :                                   if (integer_pow2p (_q21))
   14099                 :             :                                     {
   14100                 :        5988 :                                       if (integer_zerop (_p1))
   14101                 :             :                                         {
   14102                 :        5988 :                                           {
   14103                 :        5988 :                                             tree captures[3] ATTRIBUTE_UNUSED = { _q20, _q30, _q21 };
   14104                 :        5988 :                                             if (gimple_simplify_279 (res_op, seq, valueize, type, captures, EQ_EXPR, GE_EXPR))
   14105                 :          20 :                                               return true;
   14106                 :             :                                           }
   14107                 :             :                                         }
   14108                 :             :                                     }
   14109                 :             :                                   break;
   14110                 :             :                                 }
   14111                 :             :                               default:;
   14112                 :             :                               }
   14113                 :             :                         }
   14114                 :             :                       break;
   14115                 :      976412 :                     default:;
   14116                 :             :                     }
   14117                 :      976412 :                   if (integer_pow2p (_q21))
   14118                 :             :                     {
   14119                 :      348447 :                       if (integer_zerop (_p1))
   14120                 :             :                         {
   14121                 :      348254 :                           {
   14122                 :      348254 :                             tree captures[3] ATTRIBUTE_UNUSED = { _q20, _q20, _q21 };
   14123                 :      348254 :                             if (gimple_simplify_280 (res_op, seq, valueize, type, captures, EQ_EXPR, GE_EXPR))
   14124                 :         327 :                               return true;
   14125                 :             :                           }
   14126                 :             :                         }
   14127                 :             :                     }
   14128                 :    69441285 :                   break;
   14129                 :             :                 }
   14130                 :      596231 :               CASE_CONVERT:
   14131                 :      596231 :                 {
   14132                 :      596231 :                   tree _q20 = gimple_assign_rhs1 (_a1);
   14133                 :      596231 :                   _q20 = do_valueize (valueize, _q20);
   14134                 :      596231 :                   switch (TREE_CODE (_q20))
   14135                 :             :                     {
   14136                 :      584055 :                     case SSA_NAME:
   14137                 :      584055 :                       if (gimple *_d2 = get_def (valueize, _q20))
   14138                 :             :                         {
   14139                 :      576798 :                           if (gassign *_a2 = dyn_cast <gassign *> (_d2))
   14140                 :      673414 :                             switch (gimple_assign_rhs_code (_a2))
   14141                 :             :                               {
   14142                 :         184 :                               case ADDR_EXPR:
   14143                 :         184 :                                 {
   14144                 :         184 :                                   switch (TREE_CODE (_p1))
   14145                 :             :                                     {
   14146                 :         164 :                                     case SSA_NAME:
   14147                 :         164 :                                       if (gimple *_d3 = get_def (valueize, _p1))
   14148                 :             :                                         {
   14149                 :         157 :                                           if (gassign *_a3 = dyn_cast <gassign *> (_d3))
   14150                 :         262 :                                             switch (gimple_assign_rhs_code (_a3))
   14151                 :             :                                               {
   14152                 :          52 :                                               CASE_CONVERT:
   14153                 :          52 :                                                 {
   14154                 :          52 :                                                   tree _q40 = gimple_assign_rhs1 (_a3);
   14155                 :          52 :                                                   _q40 = do_valueize (valueize, _q40);
   14156                 :          52 :                                                   switch (TREE_CODE (_q40))
   14157                 :             :                                                     {
   14158                 :          52 :                                                     case SSA_NAME:
   14159                 :          52 :                                                       if (gimple *_d4 = get_def (valueize, _q40))
   14160                 :             :                                                         {
   14161                 :          52 :                                                           if (gassign *_a4 = dyn_cast <gassign *> (_d4))
   14162                 :         104 :                                                             switch (gimple_assign_rhs_code (_a4))
   14163                 :             :                                                               {
   14164                 :          52 :                                                               case ADDR_EXPR:
   14165                 :          52 :                                                                 {
   14166                 :          52 :                                                                   {
   14167                 :          52 :                                                                     tree captures[3] ATTRIBUTE_UNUSED = { _p0, _q20, _q40 };
   14168                 :          52 :                                                                     if (gimple_simplify_281 (res_op, seq, valueize, type, captures, EQ_EXPR))
   14169                 :           0 :                                                                       return true;
   14170                 :             :                                                                   }
   14171                 :          52 :                                                                   break;
   14172                 :             :                                                                 }
   14173                 :             :                                                               default:;
   14174                 :             :                                                               }
   14175                 :             :                                                         }
   14176                 :             :                                                       break;
   14177                 :           0 :                                                     case ADDR_EXPR:
   14178                 :           0 :                                                       {
   14179                 :           0 :                                                         {
   14180                 :           0 :                                                           tree captures[3] ATTRIBUTE_UNUSED = { _p0, _q20, _q40 };
   14181                 :           0 :                                                           if (gimple_simplify_281 (res_op, seq, valueize, type, captures, EQ_EXPR))
   14182                 :           0 :                                                             return true;
   14183                 :             :                                                         }
   14184                 :           0 :                                                         break;
   14185                 :             :                                                       }
   14186                 :             :                                                     default:;
   14187                 :             :                                                     }
   14188                 :             :                                                   break;
   14189                 :             :                                                 }
   14190                 :           0 :                                               case ADDR_EXPR:
   14191                 :           0 :                                                 {
   14192                 :           0 :                                                   {
   14193                 :           0 :                                                     tree captures[3] ATTRIBUTE_UNUSED = { _p0, _q20, _p1 };
   14194                 :           0 :                                                     if (gimple_simplify_281 (res_op, seq, valueize, type, captures, EQ_EXPR))
   14195                 :           0 :                                                       return true;
   14196                 :             :                                                   }
   14197                 :           0 :                                                   break;
   14198                 :             :                                                 }
   14199                 :             :                                               default:;
   14200                 :             :                                               }
   14201                 :             :                                         }
   14202                 :             :                                       break;
   14203                 :           0 :                                     case ADDR_EXPR:
   14204                 :           0 :                                       {
   14205                 :           0 :                                         {
   14206                 :           0 :                                           tree captures[3] ATTRIBUTE_UNUSED = { _p0, _q20, _p1 };
   14207                 :           0 :                                           if (gimple_simplify_281 (res_op, seq, valueize, type, captures, EQ_EXPR))
   14208                 :           0 :                                             return true;
   14209                 :             :                                         }
   14210                 :           0 :                                         break;
   14211                 :             :                                       }
   14212                 :             :                                     default:;
   14213                 :             :                                     }
   14214                 :             :                                   break;
   14215                 :             :                                 }
   14216                 :             :                               default:;
   14217                 :             :                               }
   14218                 :             :                         }
   14219                 :             :                       break;
   14220                 :       12176 :                     case ADDR_EXPR:
   14221                 :       12176 :                       {
   14222                 :       12176 :                         switch (TREE_CODE (_p1))
   14223                 :             :                           {
   14224                 :       12176 :                           case SSA_NAME:
   14225                 :       12176 :                             if (gimple *_d2 = get_def (valueize, _p1))
   14226                 :             :                               {
   14227                 :       12118 :                                 if (gassign *_a2 = dyn_cast <gassign *> (_d2))
   14228                 :       19604 :                                   switch (gimple_assign_rhs_code (_a2))
   14229                 :             :                                     {
   14230                 :        4511 :                                     CASE_CONVERT:
   14231                 :        4511 :                                       {
   14232                 :        4511 :                                         tree _q40 = gimple_assign_rhs1 (_a2);
   14233                 :        4511 :                                         _q40 = do_valueize (valueize, _q40);
   14234                 :        4511 :                                         switch (TREE_CODE (_q40))
   14235                 :             :                                           {
   14236                 :        4324 :                                           case SSA_NAME:
   14237                 :        4324 :                                             if (gimple *_d3 = get_def (valueize, _q40))
   14238                 :             :                                               {
   14239                 :        4300 :                                                 if (gassign *_a3 = dyn_cast <gassign *> (_d3))
   14240                 :        8480 :                                                   switch (gimple_assign_rhs_code (_a3))
   14241                 :             :                                                     {
   14242                 :           0 :                                                     case ADDR_EXPR:
   14243                 :           0 :                                                       {
   14244                 :           0 :                                                         {
   14245                 :           0 :                                                           tree captures[3] ATTRIBUTE_UNUSED = { _p0, _q20, _q40 };
   14246                 :           0 :                                                           if (gimple_simplify_281 (res_op, seq, valueize, type, captures, EQ_EXPR))
   14247                 :           0 :                                                             return true;
   14248                 :             :                                                         }
   14249                 :           0 :                                                         break;
   14250                 :             :                                                       }
   14251                 :             :                                                     default:;
   14252                 :             :                                                     }
   14253                 :             :                                               }
   14254                 :             :                                             break;
   14255                 :         187 :                                           case ADDR_EXPR:
   14256                 :         187 :                                             {
   14257                 :         187 :                                               {
   14258                 :         187 :                                                 tree captures[3] ATTRIBUTE_UNUSED = { _p0, _q20, _q40 };
   14259                 :         187 :                                                 if (gimple_simplify_281 (res_op, seq, valueize, type, captures, EQ_EXPR))
   14260                 :         157 :                                                   return true;
   14261                 :             :                                               }
   14262                 :          30 :                                               break;
   14263                 :             :                                             }
   14264                 :             :                                           default:;
   14265                 :             :                                           }
   14266                 :             :                                         break;
   14267                 :             :                                       }
   14268                 :           0 :                                     case ADDR_EXPR:
   14269                 :           0 :                                       {
   14270                 :           0 :                                         {
   14271                 :           0 :                                           tree captures[3] ATTRIBUTE_UNUSED = { _p0, _q20, _p1 };
   14272                 :           0 :                                           if (gimple_simplify_281 (res_op, seq, valueize, type, captures, EQ_EXPR))
   14273                 :           0 :                                             return true;
   14274                 :             :                                         }
   14275                 :           0 :                                         break;
   14276                 :             :                                       }
   14277                 :             :                                     default:;
   14278                 :             :                                     }
   14279                 :             :                               }
   14280                 :             :                             break;
   14281                 :           0 :                           case ADDR_EXPR:
   14282                 :           0 :                             {
   14283                 :           0 :                               {
   14284                 :           0 :                                 tree captures[3] ATTRIBUTE_UNUSED = { _p0, _q20, _p1 };
   14285                 :           0 :                                 if (gimple_simplify_281 (res_op, seq, valueize, type, captures, EQ_EXPR))
   14286                 :           0 :                                   return true;
   14287                 :             :                               }
   14288                 :           0 :                               break;
   14289                 :             :                             }
   14290                 :             :                           default:;
   14291                 :             :                           }
   14292                 :             :                         break;
   14293                 :             :                       }
   14294                 :             :                     default:;
   14295                 :             :                     }
   14296                 :             :                   break;
   14297                 :             :                 }
   14298                 :      103463 :               case ADDR_EXPR:
   14299                 :      103463 :                 {
   14300                 :      103463 :                   switch (TREE_CODE (_p1))
   14301                 :             :                     {
   14302                 :       85445 :                     case SSA_NAME:
   14303                 :       85445 :                       if (gimple *_d2 = get_def (valueize, _p1))
   14304                 :             :                         {
   14305                 :       83071 :                           if (gassign *_a2 = dyn_cast <gassign *> (_d2))
   14306                 :      140170 :                             switch (gimple_assign_rhs_code (_a2))
   14307                 :             :                               {
   14308                 :           1 :                               CASE_CONVERT:
   14309                 :           1 :                                 {
   14310                 :           1 :                                   tree _q30 = gimple_assign_rhs1 (_a2);
   14311                 :           1 :                                   _q30 = do_valueize (valueize, _q30);
   14312                 :           1 :                                   switch (TREE_CODE (_q30))
   14313                 :             :                                     {
   14314                 :           1 :                                     case SSA_NAME:
   14315                 :           1 :                                       if (gimple *_d3 = get_def (valueize, _q30))
   14316                 :             :                                         {
   14317                 :           1 :                                           if (gassign *_a3 = dyn_cast <gassign *> (_d3))
   14318                 :           1 :                                             switch (gimple_assign_rhs_code (_a3))
   14319                 :             :                                               {
   14320                 :           0 :                                               case ADDR_EXPR:
   14321                 :           0 :                                                 {
   14322                 :           0 :                                                   {
   14323                 :           0 :                                                     tree captures[3] ATTRIBUTE_UNUSED = { _p0, _p0, _q30 };
   14324                 :           0 :                                                     if (gimple_simplify_282 (res_op, seq, valueize, type, captures, EQ_EXPR))
   14325                 :           0 :                                                       return true;
   14326                 :             :                                                   }
   14327                 :           0 :                                                   break;
   14328                 :             :                                                 }
   14329                 :             :                                               default:;
   14330                 :             :                                               }
   14331                 :             :                                         }
   14332                 :             :                                       break;
   14333                 :           0 :                                     case ADDR_EXPR:
   14334                 :           0 :                                       {
   14335                 :           0 :                                         {
   14336                 :           0 :                                           tree captures[3] ATTRIBUTE_UNUSED = { _p0, _p0, _q30 };
   14337                 :           0 :                                           if (gimple_simplify_282 (res_op, seq, valueize, type, captures, EQ_EXPR))
   14338                 :           0 :                                             return true;
   14339                 :             :                                         }
   14340                 :           0 :                                         break;
   14341                 :             :                                       }
   14342                 :             :                                     default:;
   14343                 :             :                                     }
   14344                 :             :                                   break;
   14345                 :             :                                 }
   14346                 :        1755 :                               case ADDR_EXPR:
   14347                 :        1755 :                                 {
   14348                 :        1755 :                                   {
   14349                 :        1755 :                                     tree captures[3] ATTRIBUTE_UNUSED = { _p0, _p0, _p1 };
   14350                 :        1755 :                                     if (gimple_simplify_282 (res_op, seq, valueize, type, captures, EQ_EXPR))
   14351                 :         287 :                                       return true;
   14352                 :             :                                   }
   14353                 :        1468 :                                   break;
   14354                 :             :                                 }
   14355                 :             :                               default:;
   14356                 :             :                               }
   14357                 :             :                         }
   14358                 :             :                       break;
   14359                 :       11074 :                     case ADDR_EXPR:
   14360                 :       11074 :                       {
   14361                 :       11074 :                         {
   14362                 :       11074 :                           tree captures[3] ATTRIBUTE_UNUSED = { _p0, _p0, _p1 };
   14363                 :       11074 :                           if (gimple_simplify_282 (res_op, seq, valueize, type, captures, EQ_EXPR))
   14364                 :           8 :                             return true;
   14365                 :             :                         }
   14366                 :       11066 :                         break;
   14367                 :             :                       }
   14368                 :             :                     default:;
   14369                 :             :                     }
   14370                 :             :                   break;
   14371                 :             :                 }
   14372                 :             :               default:;
   14373                 :             :               }
   14374                 :             :         }
   14375                 :             :       break;
   14376                 :     2441940 :     case ADDR_EXPR:
   14377                 :     2441940 :       {
   14378                 :     2441940 :         switch (TREE_CODE (_p1))
   14379                 :             :           {
   14380                 :     2410622 :           case SSA_NAME:
   14381                 :     2410622 :             if (gimple *_d1 = get_def (valueize, _p1))
   14382                 :             :               {
   14383                 :      690196 :                 if (gassign *_a1 = dyn_cast <gassign *> (_d1))
   14384                 :     1279426 :                   switch (gimple_assign_rhs_code (_a1))
   14385                 :             :                     {
   14386                 :         312 :                     CASE_CONVERT:
   14387                 :         312 :                       {
   14388                 :         312 :                         tree _q30 = gimple_assign_rhs1 (_a1);
   14389                 :         312 :                         _q30 = do_valueize (valueize, _q30);
   14390                 :         312 :                         switch (TREE_CODE (_q30))
   14391                 :             :                           {
   14392                 :         312 :                           case SSA_NAME:
   14393                 :         312 :                             if (gimple *_d2 = get_def (valueize, _q30))
   14394                 :             :                               {
   14395                 :         310 :                                 if (gassign *_a2 = dyn_cast <gassign *> (_d2))
   14396                 :          60 :                                   switch (gimple_assign_rhs_code (_a2))
   14397                 :             :                                     {
   14398                 :           0 :                                     case ADDR_EXPR:
   14399                 :           0 :                                       {
   14400                 :           0 :                                         {
   14401                 :           0 :                                           tree captures[3] ATTRIBUTE_UNUSED = { _p0, _p0, _q30 };
   14402                 :           0 :                                           if (gimple_simplify_282 (res_op, seq, valueize, type, captures, EQ_EXPR))
   14403                 :           0 :                                             return true;
   14404                 :             :                                         }
   14405                 :           0 :                                         break;
   14406                 :             :                                       }
   14407                 :             :                                     default:;
   14408                 :             :                                     }
   14409                 :             :                               }
   14410                 :             :                             break;
   14411                 :           0 :                           case ADDR_EXPR:
   14412                 :           0 :                             {
   14413                 :           0 :                               {
   14414                 :           0 :                                 tree captures[3] ATTRIBUTE_UNUSED = { _p0, _p0, _q30 };
   14415                 :           0 :                                 if (gimple_simplify_282 (res_op, seq, valueize, type, captures, EQ_EXPR))
   14416                 :           0 :                                   return true;
   14417                 :             :                               }
   14418                 :           0 :                               break;
   14419                 :             :                             }
   14420                 :             :                           default:;
   14421                 :             :                           }
   14422                 :             :                         break;
   14423                 :             :                       }
   14424                 :        2427 :                     case ADDR_EXPR:
   14425                 :        2427 :                       {
   14426                 :        2427 :                         {
   14427                 :        2427 :                           tree captures[3] ATTRIBUTE_UNUSED = { _p0, _p0, _p1 };
   14428                 :        2427 :                           if (gimple_simplify_282 (res_op, seq, valueize, type, captures, EQ_EXPR))
   14429                 :          20 :                             return true;
   14430                 :             :                         }
   14431                 :        2407 :                         break;
   14432                 :             :                       }
   14433                 :             :                     default:;
   14434                 :             :                     }
   14435                 :             :               }
   14436                 :             :             break;
   14437                 :       22533 :           case ADDR_EXPR:
   14438                 :       22533 :             {
   14439                 :       22533 :               {
   14440                 :       22533 :                 tree captures[3] ATTRIBUTE_UNUSED = { _p0, _p0, _p1 };
   14441                 :       22533 :                 if (gimple_simplify_282 (res_op, seq, valueize, type, captures, EQ_EXPR))
   14442                 :       15645 :                   return true;
   14443                 :             :               }
   14444                 :        6888 :               break;
   14445                 :             :             }
   14446                 :             :           default:;
   14447                 :             :           }
   14448                 :             :         break;
   14449                 :             :       }
   14450                 :    69441285 :     default:;
   14451                 :             :     }
   14452                 :    69441285 :   {
   14453                 :    69441285 :     tree captures[2] ATTRIBUTE_UNUSED = { _p0, _p1 };
   14454                 :    69441285 :     if (gimple_simplify_283 (res_op, seq, valueize, type, captures, EQ_EXPR))
   14455                 :        1826 :       return true;
   14456                 :             :   }
   14457                 :    69439459 :   switch (TREE_CODE (_p0))
   14458                 :             :     {
   14459                 :    66314303 :     case SSA_NAME:
   14460                 :    66314303 :       if (gimple *_d1 = get_def (valueize, _p0))
   14461                 :             :         {
   14462                 :    22518960 :           if (gassign *_a1 = dyn_cast <gassign *> (_d1))
   14463                 :    26673329 :             switch (gimple_assign_rhs_code (_a1))
   14464                 :             :               {
   14465                 :      596074 :               CASE_CONVERT:
   14466                 :      596074 :                 {
   14467                 :      596074 :                   tree _q20 = gimple_assign_rhs1 (_a1);
   14468                 :      596074 :                   _q20 = do_valueize (valueize, _q20);
   14469                 :      596074 :                   switch (TREE_CODE (_p1))
   14470                 :             :                     {
   14471                 :      445881 :                     case INTEGER_CST:
   14472                 :      445881 :                       {
   14473                 :      445881 :                         {
   14474                 :      445881 :                           tree captures[2] ATTRIBUTE_UNUSED = { _q20, _p1 };
   14475                 :      445881 :                           if (gimple_simplify_284 (res_op, seq, valueize, type, captures, EQ_EXPR))
   14476                 :       18173 :                             return true;
   14477                 :             :                         }
   14478                 :      427708 :                         break;
   14479                 :             :                       }
   14480                 :      577901 :                     default:;
   14481                 :             :                     }
   14482                 :      577901 :                   switch (TREE_CODE (_q20))
   14483                 :             :                     {
   14484                 :      565882 :                     case SSA_NAME:
   14485                 :      565882 :                       if (gimple *_d2 = get_def (valueize, _q20))
   14486                 :             :                         {
   14487                 :      558662 :                           if (gassign *_a2 = dyn_cast <gassign *> (_d2))
   14488                 :      645112 :                             switch (gimple_assign_rhs_code (_a2))
   14489                 :             :                               {
   14490                 :         977 :                               case NE_EXPR:
   14491                 :         977 :                                 {
   14492                 :         977 :                                   tree _q30 = gimple_assign_rhs1 (_a2);
   14493                 :         977 :                                   _q30 = do_valueize (valueize, _q30);
   14494                 :         977 :                                   tree _q31 = gimple_assign_rhs2 (_a2);
   14495                 :         977 :                                   _q31 = do_valueize (valueize, _q31);
   14496                 :         977 :                                   if (tree_swap_operands_p (_q30, _q31))
   14497                 :           0 :                                     std::swap (_q30, _q31);
   14498                 :         977 :                                   switch (TREE_CODE (_q31))
   14499                 :             :                                     {
   14500                 :         975 :                                     case INTEGER_CST:
   14501                 :         975 :                                       {
   14502                 :         975 :                                         if ((_p1 == _q30 && ! TREE_SIDE_EFFECTS (_p1)) || (operand_equal_p (_p1, _q30, 0) && types_match (_p1, _q30)))
   14503                 :             :                                           {
   14504                 :          42 :                                             {
   14505                 :          42 :                                               tree captures[2] ATTRIBUTE_UNUSED = { _q30, _q31 };
   14506                 :          42 :                                               if (gimple_simplify_285 (res_op, seq, valueize, type, captures, NE_EXPR, EQ_EXPR))
   14507                 :          34 :                                                 return true;
   14508                 :             :                                             }
   14509                 :             :                                           }
   14510                 :             :                                         break;
   14511                 :             :                                       }
   14512                 :             :                                     default:;
   14513                 :             :                                     }
   14514                 :    69421218 :                                   break;
   14515                 :             :                                 }
   14516                 :        1661 :                               case EQ_EXPR:
   14517                 :        1661 :                                 {
   14518                 :        1661 :                                   tree _q30 = gimple_assign_rhs1 (_a2);
   14519                 :        1661 :                                   _q30 = do_valueize (valueize, _q30);
   14520                 :        1661 :                                   tree _q31 = gimple_assign_rhs2 (_a2);
   14521                 :        1661 :                                   _q31 = do_valueize (valueize, _q31);
   14522                 :        1661 :                                   if (tree_swap_operands_p (_q30, _q31))
   14523                 :           0 :                                     std::swap (_q30, _q31);
   14524                 :        1661 :                                   switch (TREE_CODE (_q31))
   14525                 :             :                                     {
   14526                 :        1575 :                                     case INTEGER_CST:
   14527                 :        1575 :                                       {
   14528                 :        1575 :                                         if ((_p1 == _q30 && ! TREE_SIDE_EFFECTS (_p1)) || (operand_equal_p (_p1, _q30, 0) && types_match (_p1, _q30)))
   14529                 :             :                                           {
   14530                 :          41 :                                             {
   14531                 :          41 :                                               tree captures[2] ATTRIBUTE_UNUSED = { _q30, _q31 };
   14532                 :          41 :                                               if (gimple_simplify_285 (res_op, seq, valueize, type, captures, EQ_EXPR, EQ_EXPR))
   14533                 :          34 :                                                 return true;
   14534                 :             :                                             }
   14535                 :             :                                           }
   14536                 :             :                                         break;
   14537                 :             :                                       }
   14538                 :             :                                     default:;
   14539                 :             :                                     }
   14540                 :    69421218 :                                   break;
   14541                 :             :                                 }
   14542                 :             :                               default:;
   14543                 :             :                               }
   14544                 :             :                         }
   14545                 :             :                       break;
   14546                 :             :                     default:;
   14547                 :             :                     }
   14548                 :             :                   break;
   14549                 :             :                 }
   14550                 :             :               default:;
   14551                 :             :               }
   14552                 :             :         }
   14553                 :             :       break;
   14554                 :    69421218 :     default:;
   14555                 :             :     }
   14556                 :    69421218 :   switch (TREE_CODE (_p1))
   14557                 :             :     {
   14558                 :    12117301 :     case SSA_NAME:
   14559                 :    12117301 :       if (gimple *_d1 = get_def (valueize, _p1))
   14560                 :             :         {
   14561                 :     3854896 :           if (gassign *_a1 = dyn_cast <gassign *> (_d1))
   14562                 :     6029693 :             switch (gimple_assign_rhs_code (_a1))
   14563                 :             :               {
   14564                 :      157515 :               CASE_CONVERT:
   14565                 :      157515 :                 {
   14566                 :      157515 :                   tree _q30 = gimple_assign_rhs1 (_a1);
   14567                 :      157515 :                   _q30 = do_valueize (valueize, _q30);
   14568                 :      157515 :                   switch (TREE_CODE (_q30))
   14569                 :             :                     {
   14570                 :      137059 :                     case SSA_NAME:
   14571                 :      137059 :                       if (gimple *_d2 = get_def (valueize, _q30))
   14572                 :             :                         {
   14573                 :      133668 :                           if (gassign *_a2 = dyn_cast <gassign *> (_d2))
   14574                 :      157033 :                             switch (gimple_assign_rhs_code (_a2))
   14575                 :             :                               {
   14576                 :         405 :                               case NE_EXPR:
   14577                 :         405 :                                 {
   14578                 :         405 :                                   tree _q40 = gimple_assign_rhs1 (_a2);
   14579                 :         405 :                                   _q40 = do_valueize (valueize, _q40);
   14580                 :         405 :                                   tree _q41 = gimple_assign_rhs2 (_a2);
   14581                 :         405 :                                   _q41 = do_valueize (valueize, _q41);
   14582                 :         405 :                                   if (tree_swap_operands_p (_q40, _q41))
   14583                 :          14 :                                     std::swap (_q40, _q41);
   14584                 :         405 :                                   if ((_q40 == _p0 && ! TREE_SIDE_EFFECTS (_q40)) || (operand_equal_p (_q40, _p0, 0) && types_match (_q40, _p0)))
   14585                 :             :                                     {
   14586                 :          81 :                                       switch (TREE_CODE (_q41))
   14587                 :             :                                         {
   14588                 :           1 :                                         case INTEGER_CST:
   14589                 :           1 :                                           {
   14590                 :           1 :                                             {
   14591                 :           1 :                                               tree captures[2] ATTRIBUTE_UNUSED = { _p0, _q41 };
   14592                 :           1 :                                               if (gimple_simplify_285 (res_op, seq, valueize, type, captures, NE_EXPR, EQ_EXPR))
   14593                 :           0 :                                                 return true;
   14594                 :             :                                             }
   14595                 :           1 :                                             break;
   14596                 :             :                                           }
   14597                 :             :                                         default:;
   14598                 :             :                                         }
   14599                 :             :                                     }
   14600                 :    69421217 :                                   break;
   14601                 :             :                                 }
   14602                 :          80 :                               case EQ_EXPR:
   14603                 :          80 :                                 {
   14604                 :          80 :                                   tree _q40 = gimple_assign_rhs1 (_a2);
   14605                 :          80 :                                   _q40 = do_valueize (valueize, _q40);
   14606                 :          80 :                                   tree _q41 = gimple_assign_rhs2 (_a2);
   14607                 :          80 :                                   _q41 = do_valueize (valueize, _q41);
   14608                 :          80 :                                   if (tree_swap_operands_p (_q40, _q41))
   14609                 :           0 :                                     std::swap (_q40, _q41);
   14610                 :          80 :                                   if ((_q40 == _p0 && ! TREE_SIDE_EFFECTS (_q40)) || (operand_equal_p (_q40, _p0, 0) && types_match (_q40, _p0)))
   14611                 :             :                                     {
   14612                 :           1 :                                       switch (TREE_CODE (_q41))
   14613                 :             :                                         {
   14614                 :           1 :                                         case INTEGER_CST:
   14615                 :           1 :                                           {
   14616                 :           1 :                                             {
   14617                 :           1 :                                               tree captures[2] ATTRIBUTE_UNUSED = { _p0, _q41 };
   14618                 :           1 :                                               if (gimple_simplify_285 (res_op, seq, valueize, type, captures, EQ_EXPR, EQ_EXPR))
   14619                 :           1 :                                                 return true;
   14620                 :             :                                             }
   14621                 :           0 :                                             break;
   14622                 :             :                                           }
   14623                 :             :                                         default:;
   14624                 :             :                                         }
   14625                 :             :                                     }
   14626                 :    69421217 :                                   break;
   14627                 :             :                                 }
   14628                 :             :                               default:;
   14629                 :             :                               }
   14630                 :             :                         }
   14631                 :             :                       break;
   14632                 :             :                     default:;
   14633                 :             :                     }
   14634                 :             :                   break;
   14635                 :             :                 }
   14636                 :             :               default:;
   14637                 :             :               }
   14638                 :             :         }
   14639                 :             :       break;
   14640                 :    69421217 :     default:;
   14641                 :             :     }
   14642                 :    69421217 : if (integer_onep (_p1))
   14643                 :             :   {
   14644                 :     3670786 :     {
   14645                 :     3670786 :       tree captures[1] ATTRIBUTE_UNUSED = { _p0 };
   14646                 :     3670786 :       if (TREE_CODE (TREE_TYPE (captures[0])) == BOOLEAN_TYPE
   14647                 :     3670786 :  && types_match (type, TREE_TYPE (captures[0]))
   14648                 :             : )
   14649                 :             :         {
   14650                 :       65395 :           gimple_seq *lseq = seq;
   14651                 :       65395 :           if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail1783;
   14652                 :       65395 :           {
   14653                 :       65395 :             tree tem;
   14654                 :       65395 :             tem = captures[0];
   14655                 :       65395 :             res_op->set_value (tem);
   14656                 :       65395 :             if (UNLIKELY (debug_dump)) gimple_dump_logs ("match.pd", 1010, __FILE__, __LINE__, true);
   14657                 :       65395 :             return true;
   14658                 :             :           }
   14659                 :           0 : next_after_fail1783:;
   14660                 :             :         }
   14661                 :             :     }
   14662                 :             :   }
   14663                 :    69355822 :   switch (TREE_CODE (_p0))
   14664                 :             :     {
   14665                 :    66231224 :     case SSA_NAME:
   14666                 :    66231224 :       if (gimple *_d1 = get_def (valueize, _p0))
   14667                 :             :         {
   14668                 :    22481028 :           if (gassign *_a1 = dyn_cast <gassign *> (_d1))
   14669                 :    26636690 :             switch (gimple_assign_rhs_code (_a1))
   14670                 :             :               {
   14671                 :      975755 :               case BIT_AND_EXPR:
   14672                 :      975755 :                 {
   14673                 :      975755 :                   tree _q20 = gimple_assign_rhs1 (_a1);
   14674                 :      975755 :                   _q20 = do_valueize (valueize, _q20);
   14675                 :      975755 :                   tree _q21 = gimple_assign_rhs2 (_a1);
   14676                 :      975755 :                   _q21 = do_valueize (valueize, _q21);
   14677                 :      975755 :                   if (tree_swap_operands_p (_q20, _q21))
   14678                 :        5492 :                     std::swap (_q20, _q21);
   14679                 :      975755 :                   switch (TREE_CODE (_q21))
   14680                 :             :                     {
   14681                 :        2327 :                     case VECTOR_CST:
   14682                 :        2327 :                       {
   14683                 :        2327 :                         if (integer_zerop (_p1))
   14684                 :             :                           {
   14685                 :        2313 :                             {
   14686                 :        2313 :                               tree captures[3] ATTRIBUTE_UNUSED = { _p0, _q20, _q21 };
   14687                 :        2313 :                               const enum tree_code cmp = EQ_EXPR;
   14688                 :        2313 :                               const enum tree_code icmp = LE_EXPR;
   14689                 :        2313 :                               {
   14690                 :        2313 :  tree csts = bitmask_inv_cst_vector_p (captures[2]);
   14691                 :        2313 :                                   if (csts && (VECTOR_TYPE_P (TREE_TYPE (captures[2])) || single_use (captures[0]))
   14692                 :             : )
   14693                 :             :                                     {
   14694                 :           9 :                                       {
   14695                 :           9 :  auto optab = VECTOR_TYPE_P (TREE_TYPE (captures[2]))
   14696                 :           9 :  ? optab_vector : optab_default;
   14697                 :           9 :  tree utype = unsigned_type_for (TREE_TYPE (captures[2]));
   14698                 :           9 :                                           if (target_supports_op_p (utype, icmp, optab)
   14699                 :           9 :  || (optimize_vectors_before_lowering_p ()
   14700                 :           6 :  && (!target_supports_op_p (type, cmp, optab)
   14701                 :           0 :  || !target_supports_op_p (type, BIT_AND_EXPR, optab)))
   14702                 :             : )
   14703                 :             :                                             {
   14704                 :           6 :                                               if (TYPE_UNSIGNED (TREE_TYPE (captures[2]))
   14705                 :             : )
   14706                 :             :                                                 {
   14707                 :           4 :                                                   gimple_seq *lseq = seq;
   14708                 :           4 :                                                   if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail1784;
   14709                 :           4 :                                                   {
   14710                 :           4 :                                                     res_op->set_op (icmp, type, 2);
   14711                 :           4 :                                                     res_op->ops[0] = captures[1];
   14712                 :           4 :                                                     res_op->ops[1] =  csts;
   14713                 :           4 :                                                     res_op->resimplify (lseq, valueize);
   14714                 :           4 :                                                     if (UNLIKELY (debug_dump)) gimple_dump_logs ("match.pd", 1011, __FILE__, __LINE__, true);
   14715                 :           4 :                                                     return true;
   14716                 :             :                                                   }
   14717                 :           0 : next_after_fail1784:;
   14718                 :             :                                                 }
   14719                 :             :                                               else
   14720                 :             :                                                 {
   14721                 :           2 :                                                   gimple_seq *lseq = seq;
   14722                 :           2 :                                                   if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail1785;
   14723                 :           2 :                                                   {
   14724                 :           2 :                                                     res_op->set_op (icmp, type, 2);
   14725                 :           2 :                                                     {
   14726                 :           2 :                                                       tree _o1[1], _r1;
   14727                 :           2 :                                                       _o1[0] = captures[1];
   14728                 :           2 :                                                       gimple_match_op tem_op (res_op->cond.any_else (), VIEW_CONVERT_EXPR, utype, _o1[0]);
   14729                 :           2 :                                                       tem_op.resimplify (lseq, valueize);
   14730                 :           2 :                                                       _r1 = maybe_push_res_to_seq (&tem_op, lseq);
   14731                 :           2 :                                                       if (!_r1) goto next_after_fail1785;
   14732                 :           0 :                                                       res_op->ops[0] = _r1;
   14733                 :             :                                                     }
   14734                 :           0 :                                                     res_op->ops[1] =  csts;
   14735                 :           0 :                                                     res_op->resimplify (lseq, valueize);
   14736                 :           0 :                                                     if (UNLIKELY (debug_dump)) gimple_dump_logs ("match.pd", 1012, __FILE__, __LINE__, true);
   14737                 :           0 :                                                     return true;
   14738                 :             :                                                   }
   14739                 :        2309 : next_after_fail1785:;
   14740                 :             :                                                 }
   14741                 :             :                                             }
   14742                 :             :                                       }
   14743                 :             :                                     }
   14744                 :             :                               }
   14745                 :             :                             }
   14746                 :             :                           }
   14747                 :             :                         break;
   14748                 :             :                       }
   14749                 :      911153 :                     case INTEGER_CST:
   14750                 :      911153 :                       {
   14751                 :      911153 :                         if (integer_zerop (_p1))
   14752                 :             :                           {
   14753                 :      525592 :                             {
   14754                 :      525592 :                               tree captures[3] ATTRIBUTE_UNUSED = { _p0, _q20, _q21 };
   14755                 :      525592 :                               const enum tree_code cmp = EQ_EXPR;
   14756                 :      525592 :                               const enum tree_code icmp = LE_EXPR;
   14757                 :      525592 :                               {
   14758                 :      525592 :  tree csts = bitmask_inv_cst_vector_p (captures[2]);
   14759                 :      525592 :                                   if (csts && (VECTOR_TYPE_P (TREE_TYPE (captures[2])) || single_use (captures[0]))
   14760                 :             : )
   14761                 :             :                                     {
   14762                 :         305 :                                       {
   14763                 :         305 :  auto optab = VECTOR_TYPE_P (TREE_TYPE (captures[2]))
   14764                 :         305 :  ? optab_vector : optab_default;
   14765                 :         305 :  tree utype = unsigned_type_for (TREE_TYPE (captures[2]));
   14766                 :         305 :                                           if (target_supports_op_p (utype, icmp, optab)
   14767                 :         305 :  || (optimize_vectors_before_lowering_p ()
   14768                 :         281 :  && (!target_supports_op_p (type, cmp, optab)
   14769                 :           0 :  || !target_supports_op_p (type, BIT_AND_EXPR, optab)))
   14770                 :             : )
   14771                 :             :                                             {
   14772                 :         281 :                                               if (TYPE_UNSIGNED (TREE_TYPE (captures[2]))
   14773                 :             : )
   14774                 :             :                                                 {
   14775                 :         277 :                                                   gimple_seq *lseq = seq;
   14776                 :         277 :                                                   if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail1786;
   14777                 :         277 :                                                   {
   14778                 :         277 :                                                     res_op->set_op (icmp, type, 2);
   14779                 :         277 :                                                     res_op->ops[0] = captures[1];
   14780                 :         277 :                                                     res_op->ops[1] =  csts;
   14781                 :         277 :                                                     res_op->resimplify (lseq, valueize);
   14782                 :         277 :                                                     if (UNLIKELY (debug_dump)) gimple_dump_logs ("match.pd", 1011, __FILE__, __LINE__, true);
   14783                 :         277 :                                                     return true;
   14784                 :             :                                                   }
   14785                 :           0 : next_after_fail1786:;
   14786                 :             :                                                 }
   14787                 :             :                                               else
   14788                 :             :                                                 {
   14789                 :           4 :                                                   gimple_seq *lseq = seq;
   14790                 :           4 :                                                   if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail1787;
   14791                 :           4 :                                                   {
   14792                 :           4 :                                                     res_op->set_op (icmp, type, 2);
   14793                 :           4 :                                                     {
   14794                 :           4 :                                                       tree _o1[1], _r1;
   14795                 :           4 :                                                       _o1[0] = captures[1];
   14796                 :           4 :                                                       gimple_match_op tem_op (res_op->cond.any_else (), VIEW_CONVERT_EXPR, utype, _o1[0]);
   14797                 :           4 :                                                       tem_op.resimplify (lseq, valueize);
   14798                 :           4 :                                                       _r1 = maybe_push_res_to_seq (&tem_op, lseq);
   14799                 :           4 :                                                       if (!_r1) goto next_after_fail1787;
   14800                 :           4 :                                                       res_op->ops[0] = _r1;
   14801                 :             :                                                     }
   14802                 :           4 :                                                     res_op->ops[1] =  csts;
   14803                 :           4 :                                                     res_op->resimplify (lseq, valueize);
   14804                 :           4 :                                                     if (UNLIKELY (debug_dump)) gimple_dump_logs ("match.pd", 1012, __FILE__, __LINE__, true);
   14805                 :           4 :                                                     return true;
   14806                 :             :                                                   }
   14807                 :      525311 : next_after_fail1787:;
   14808                 :             :                                                 }
   14809                 :             :                                             }
   14810                 :             :                                       }
   14811                 :             :                                     }
   14812                 :             :                               }
   14813                 :             :                             }
   14814                 :             :                           }
   14815                 :             :                         break;
   14816                 :             :                       }
   14817                 :      975470 :                     default:;
   14818                 :             :                     }
   14819                 :      975470 :                   switch (TREE_CODE (_q20))
   14820                 :             :                     {
   14821                 :           0 :                     case VECTOR_CST:
   14822                 :           0 :                       {
   14823                 :           0 :                         if (integer_zerop (_p1))
   14824                 :             :                           {
   14825                 :           0 :                             {
   14826                 :           0 :                               tree captures[3] ATTRIBUTE_UNUSED = { _p0, _q21, _q20 };
   14827                 :           0 :                               const enum tree_code cmp = EQ_EXPR;
   14828                 :           0 :                               const enum tree_code icmp = LE_EXPR;
   14829                 :           0 :                               {
   14830                 :           0 :  tree csts = bitmask_inv_cst_vector_p (captures[2]);
   14831                 :           0 :                                   if (csts && (VECTOR_TYPE_P (TREE_TYPE (captures[2])) || single_use (captures[0]))
   14832                 :             : )
   14833                 :             :                                     {
   14834                 :           0 :                                       {
   14835                 :           0 :  auto optab = VECTOR_TYPE_P (TREE_TYPE (captures[2]))
   14836                 :           0 :  ? optab_vector : optab_default;
   14837                 :           0 :  tree utype = unsigned_type_for (TREE_TYPE (captures[2]));
   14838                 :           0 :                                           if (target_supports_op_p (utype, icmp, optab)
   14839                 :           0 :  || (optimize_vectors_before_lowering_p ()
   14840                 :           0 :  && (!target_supports_op_p (type, cmp, optab)
   14841                 :           0 :  || !target_supports_op_p (type, BIT_AND_EXPR, optab)))
   14842                 :             : )
   14843                 :             :                                             {
   14844                 :           0 :                                               if (TYPE_UNSIGNED (TREE_TYPE (captures[2]))
   14845                 :             : )
   14846                 :             :                                                 {
   14847                 :           0 :                                                   gimple_seq *lseq = seq;
   14848                 :           0 :                                                   if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail1788;
   14849                 :           0 :                                                   {
   14850                 :           0 :                                                     res_op->set_op (icmp, type, 2);
   14851                 :           0 :                                                     res_op->ops[0] = captures[1];
   14852                 :           0 :                                                     res_op->ops[1] =  csts;
   14853                 :           0 :                                                     res_op->resimplify (lseq, valueize);
   14854                 :           0 :                                                     if (UNLIKELY (debug_dump)) gimple_dump_logs ("match.pd", 1011, __FILE__, __LINE__, true);
   14855                 :           0 :                                                     return true;
   14856                 :             :                                                   }
   14857                 :           0 : next_after_fail1788:;
   14858                 :             :                                                 }
   14859                 :             :                                               else
   14860                 :             :                                                 {
   14861                 :           0 :                                                   gimple_seq *lseq = seq;
   14862                 :           0 :                                                   if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail1789;
   14863                 :           0 :                                                   {
   14864                 :           0 :                                                     res_op->set_op (icmp, type, 2);
   14865                 :           0 :                                                     {
   14866                 :           0 :                                                       tree _o1[1], _r1;
   14867                 :           0 :                                                       _o1[0] = captures[1];
   14868                 :           0 :                                                       gimple_match_op tem_op (res_op->cond.any_else (), VIEW_CONVERT_EXPR, utype, _o1[0]);
   14869                 :           0 :                                                       tem_op.resimplify (lseq, valueize);
   14870                 :           0 :                                                       _r1 = maybe_push_res_to_seq (&tem_op, lseq);
   14871                 :           0 :                                                       if (!_r1) goto next_after_fail1789;
   14872                 :           0 :                                                       res_op->ops[0] = _r1;
   14873                 :             :                                                     }
   14874                 :           0 :                                                     res_op->ops[1] =  csts;
   14875                 :           0 :                                                     res_op->resimplify (lseq, valueize);
   14876                 :           0 :                                                     if (UNLIKELY (debug_dump)) gimple_dump_logs ("match.pd", 1012, __FILE__, __LINE__, true);
   14877                 :           0 :                                                     return true;
   14878                 :             :                                                   }
   14879                 :           0 : next_after_fail1789:;
   14880                 :             :                                                 }
   14881                 :             :                                             }
   14882                 :             :                                       }
   14883                 :             :                                     }
   14884                 :             :                               }
   14885                 :             :                             }
   14886                 :             :                           }
   14887                 :             :                         break;
   14888                 :             :                       }
   14889                 :           0 :                     case INTEGER_CST:
   14890                 :           0 :                       {
   14891                 :           0 :                         if (integer_zerop (_p1))
   14892                 :             :                           {
   14893                 :           0 :                             {
   14894                 :           0 :                               tree captures[3] ATTRIBUTE_UNUSED = { _p0, _q21, _q20 };
   14895                 :           0 :                               const enum tree_code cmp = EQ_EXPR;
   14896                 :           0 :                               const enum tree_code icmp = LE_EXPR;
   14897                 :           0 :                               {
   14898                 :           0 :  tree csts = bitmask_inv_cst_vector_p (captures[2]);
   14899                 :           0 :                                   if (csts && (VECTOR_TYPE_P (TREE_TYPE (captures[2])) || single_use (captures[0]))
   14900                 :             : )
   14901                 :             :                                     {
   14902                 :           0 :                                       {
   14903                 :           0 :  auto optab = VECTOR_TYPE_P (TREE_TYPE (captures[2]))
   14904                 :           0 :  ? optab_vector : optab_default;
   14905                 :           0 :  tree utype = unsigned_type_for (TREE_TYPE (captures[2]));
   14906                 :           0 :                                           if (target_supports_op_p (utype, icmp, optab)
   14907                 :           0 :  || (optimize_vectors_before_lowering_p ()
   14908                 :           0 :  && (!target_supports_op_p (type, cmp, optab)
   14909                 :           0 :  || !target_supports_op_p (type, BIT_AND_EXPR, optab)))
   14910                 :             : )
   14911                 :             :                                             {
   14912                 :           0 :                                               if (TYPE_UNSIGNED (TREE_TYPE (captures[2]))
   14913                 :             : )
   14914                 :             :                                                 {
   14915                 :           0 :                                                   gimple_seq *lseq = seq;
   14916                 :           0 :                                                   if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail1790;
   14917                 :           0 :                                                   {
   14918                 :           0 :                                                     res_op->set_op (icmp, type, 2);
   14919                 :           0 :                                                     res_op->ops[0] = captures[1];
   14920                 :           0 :                                                     res_op->ops[1] =  csts;
   14921                 :           0 :                                                     res_op->resimplify (lseq, valueize);
   14922                 :           0 :                                                     if (UNLIKELY (debug_dump)) gimple_dump_logs ("match.pd", 1011, __FILE__, __LINE__, true);
   14923                 :           0 :                                                     return true;
   14924                 :             :                                                   }
   14925                 :           0 : next_after_fail1790:;
   14926                 :             :                                                 }
   14927                 :             :                                               else
   14928                 :             :                                                 {
   14929                 :           0 :                                                   gimple_seq *lseq = seq;
   14930                 :           0 :                                                   if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail1791;
   14931                 :           0 :                                                   {
   14932                 :           0 :                                                     res_op->set_op (icmp, type, 2);
   14933                 :           0 :                                                     {
   14934                 :           0 :                                                       tree _o1[1], _r1;
   14935                 :           0 :                                                       _o1[0] = captures[1];
   14936                 :           0 :                                                       gimple_match_op tem_op (res_op->cond.any_else (), VIEW_CONVERT_EXPR, utype, _o1[0]);
   14937                 :           0 :                                                       tem_op.resimplify (lseq, valueize);
   14938                 :           0 :                                                       _r1 = maybe_push_res_to_seq (&tem_op, lseq);
   14939                 :           0 :                                                       if (!_r1) goto next_after_fail1791;
   14940                 :           0 :                                                       res_op->ops[0] = _r1;
   14941                 :             :                                                     }
   14942                 :           0 :                                                     res_op->ops[1] =  csts;
   14943                 :           0 :                                                     res_op->resimplify (lseq, valueize);
   14944                 :           0 :                                                     if (UNLIKELY (debug_dump)) gimple_dump_logs ("match.pd", 1012, __FILE__, __LINE__, true);
   14945                 :           0 :                                                     return true;
   14946                 :             :                                                   }
   14947                 :           0 : next_after_fail1791:;
   14948                 :             :                                                 }
   14949                 :             :                                             }
   14950                 :             :                                       }
   14951                 :             :                                     }
   14952                 :             :                               }
   14953                 :             :                             }
   14954                 :             :                           }
   14955                 :             :                         break;
   14956                 :             :                       }
   14957                 :             :                     default:;
   14958                 :             :                     }
   14959                 :    69661064 :                   break;
   14960                 :             :                 }
   14961                 :       34365 :               case RSHIFT_EXPR:
   14962                 :       34365 :                 {
   14963                 :       34365 :                   tree _q20 = gimple_assign_rhs1 (_a1);
   14964                 :       34365 :                   _q20 = do_valueize (valueize, _q20);
   14965                 :       34365 :                   tree _q21 = gimple_assign_rhs2 (_a1);
   14966                 :       34365 :                   _q21 = do_valueize (valueize, _q21);
   14967                 :       34365 :                   switch (TREE_CODE (_q20))
   14968                 :             :                     {
   14969                 :       33829 :                     case SSA_NAME:
   14970                 :       33829 :                       if (gimple *_d2 = get_def (valueize, _q20))
   14971                 :             :                         {
   14972                 :       33149 :                           if (gassign *_a2 = dyn_cast <gassign *> (_d2))
   14973                 :       26364 :                             switch (gimple_assign_rhs_code (_a2))
   14974                 :             :                               {
   14975                 :          56 :                               case MULT_EXPR:
   14976                 :          56 :                                 {
   14977                 :          56 :                                   tree _q30 = gimple_assign_rhs1 (_a2);
   14978                 :          56 :                                   _q30 = do_valueize (valueize, _q30);
   14979                 :          56 :                                   tree _q31 = gimple_assign_rhs2 (_a2);
   14980                 :          56 :                                   _q31 = do_valueize (valueize, _q31);
   14981                 :          56 :                                   if (tree_swap_operands_p (_q30, _q31))
   14982                 :           0 :                                     std::swap (_q30, _q31);
   14983                 :          56 :                                   switch (TREE_CODE (_q30))
   14984                 :             :                                     {
   14985                 :          56 :                                     case SSA_NAME:
   14986                 :          56 :                                       if (gimple *_d3 = get_def (valueize, _q30))
   14987                 :             :                                         {
   14988                 :          56 :                                           if (gassign *_a3 = dyn_cast <gassign *> (_d3))
   14989                 :          16 :                                             switch (gimple_assign_rhs_code (_a3))
   14990                 :             :                                               {
   14991                 :          16 :                                               CASE_CONVERT:
   14992                 :          16 :                                                 {
   14993                 :          16 :                                                   tree _q40 = gimple_assign_rhs1 (_a3);
   14994                 :          16 :                                                   _q40 = do_valueize (valueize, _q40);
   14995                 :          16 :                                                   switch (TREE_CODE (_q31))
   14996                 :             :                                                     {
   14997                 :           0 :                                                     case SSA_NAME:
   14998                 :           0 :                                                       if (gimple *_d4 = get_def (valueize, _q31))
   14999                 :             :                                                         {
   15000                 :           0 :                                                           if (gassign *_a4 = dyn_cast <gassign *> (_d4))
   15001                 :           0 :                                                             switch (gimple_assign_rhs_code (_a4))
   15002                 :             :                                                               {
   15003                 :           0 :                                                               CASE_CONVERT:
   15004                 :           0 :                                                                 {
   15005                 :           0 :                                                                   tree _q60 = gimple_assign_rhs1 (_a4);
   15006                 :           0 :                                                                   _q60 = do_valueize (valueize, _q60);
   15007                 :           0 :                                                                   switch (TREE_CODE (_q21))
   15008                 :             :                                                                     {
   15009                 :           0 :                                                                     case INTEGER_CST:
   15010                 :           0 :                                                                       {
   15011                 :           0 :                                                                         if (integer_zerop (_p1))
   15012                 :             :                                                                           {
   15013                 :           0 :                                                                             {
   15014                 :           0 :                                                                               tree captures[5] ATTRIBUTE_UNUSED = { _q20, _q30, _q40, _q60, _q21 };
   15015                 :           0 :                                                                               if (gimple_simplify_286 (res_op, seq, valueize, type, captures, EQ_EXPR))
   15016                 :           0 :                                                                                 return true;
   15017                 :             :                                                                             }
   15018                 :             :                                                                           }
   15019                 :             :                                                                         break;
   15020                 :             :                                                                       }
   15021                 :             :                                                                     default:;
   15022                 :             :                                                                     }
   15023                 :             :                                                                   break;
   15024                 :             :                                                                 }
   15025                 :             :                                                               default:;
   15026                 :             :                                                               }
   15027                 :             :                                                         }
   15028                 :             :                                                       break;
   15029                 :             :                                                     default:;
   15030                 :             :                                                     }
   15031                 :             :                                                   break;
   15032                 :             :                                                 }
   15033                 :             :                                               default:;
   15034                 :             :                                               }
   15035                 :             :                                         }
   15036                 :             :                                       break;
   15037                 :             :                                     default:;
   15038                 :             :                                     }
   15039                 :    69661064 :                                   break;
   15040                 :             :                                 }
   15041                 :             :                               default:;
   15042                 :             :                               }
   15043                 :             :                         }
   15044                 :             :                       break;
   15045                 :             :                     default:;
   15046                 :             :                     }
   15047                 :             :                   break;
   15048                 :             :                 }
   15049                 :      611966 :               case PLUS_EXPR:
   15050                 :      611966 :                 {
   15051                 :      611966 :                   tree _q20 = gimple_assign_rhs1 (_a1);
   15052                 :      611966 :                   _q20 = do_valueize (valueize, _q20);
   15053                 :      611966 :                   tree _q21 = gimple_assign_rhs2 (_a1);
   15054                 :      611966 :                   _q21 = do_valueize (valueize, _q21);
   15055                 :      611966 :                   if (tree_swap_operands_p (_q20, _q21))
   15056                 :        7708 :                     std::swap (_q20, _q21);
   15057                 :      611966 :                   switch (TREE_CODE (_q21))
   15058                 :             :                     {
   15059                 :      499852 :                     case INTEGER_CST:
   15060                 :      499852 :                       {
   15061                 :      499852 :                         switch (TREE_CODE (_p1))
   15062                 :             :                           {
   15063                 :      315904 :                           case INTEGER_CST:
   15064                 :      315904 :                             {
   15065                 :      315904 :                               {
   15066                 :      315904 :                                 tree captures[4] ATTRIBUTE_UNUSED = { _p0, _q20, _q21, _p1 };
   15067                 :      315904 :                                 if (gimple_simplify_287 (res_op, seq, valueize, type, captures, PLUS_EXPR, MINUS_EXPR, EQ_EXPR))
   15068                 :       29811 :                                   return true;
   15069                 :             :                               }
   15070                 :      286093 :                               break;
   15071                 :             :                             }
   15072                 :             :                           default:;
   15073                 :             :                           }
   15074                 :             :                         break;
   15075                 :             :                       }
   15076                 :             :                     default:;
   15077                 :             :                     }
   15078                 :    69661064 :                   break;
   15079                 :             :                 }
   15080                 :      161582 :               case MINUS_EXPR:
   15081                 :      161582 :                 {
   15082                 :      161582 :                   tree _q20 = gimple_assign_rhs1 (_a1);
   15083                 :      161582 :                   _q20 = do_valueize (valueize, _q20);
   15084                 :      161582 :                   tree _q21 = gimple_assign_rhs2 (_a1);
   15085                 :      161582 :                   _q21 = do_valueize (valueize, _q21);
   15086                 :      161582 :                   switch (TREE_CODE (_q21))
   15087                 :             :                     {
   15088                 :       13800 :                     case INTEGER_CST:
   15089                 :       13800 :                       {
   15090                 :       13800 :                         switch (TREE_CODE (_p1))
   15091                 :             :                           {
   15092                 :       13444 :                           case INTEGER_CST:
   15093                 :       13444 :                             {
   15094                 :       13444 :                               {
   15095                 :       13444 :                                 tree captures[4] ATTRIBUTE_UNUSED = { _p0, _q20, _q21, _p1 };
   15096                 :       13444 :                                 if (gimple_simplify_287 (res_op, seq, valueize, type, captures, MINUS_EXPR, PLUS_EXPR, EQ_EXPR))
   15097                 :           2 :                                   return true;
   15098                 :             :                               }
   15099                 :       13442 :                               break;
   15100                 :             :                             }
   15101                 :             :                           default:;
   15102                 :             :                           }
   15103                 :             :                         break;
   15104                 :             :                       }
   15105                 :             :                     default:;
   15106                 :             :                     }
   15107                 :             :                   break;
   15108                 :             :                 }
   15109                 :             :               default:;
   15110                 :             :               }
   15111                 :     7764731 :           else if (gcall *_c1 = dyn_cast <gcall *> (_d1))
   15112                 :     4723400 :             switch (gimple_call_combined_fn (_c1))
   15113                 :             :               {
   15114                 :         348 :               case CFN_BUILT_IN_CLZ:
   15115                 :         348 :                 if (gimple_call_num_args (_c1) == 1)
   15116                 :             :                   {
   15117                 :         348 :                     tree _q20 = gimple_call_arg (_c1, 0);
   15118                 :         348 :                     _q20 = do_valueize (valueize, _q20);
   15119                 :         348 :                     switch (TREE_CODE (_p1))
   15120                 :             :                       {
   15121                 :         348 :                       case INTEGER_CST:
   15122                 :         348 :                         {
   15123                 :         348 :                           {
   15124                 :         348 :                             tree captures[3] ATTRIBUTE_UNUSED = { _p0, _q20, _p1 };
   15125                 :         348 :                             if (gimple_simplify_288 (res_op, seq, valueize, type, captures, EQ_EXPR, LT_EXPR, CFN_BUILT_IN_CLZ))
   15126                 :           2 :                               return true;
   15127                 :             :                           }
   15128                 :         346 :                           break;
   15129                 :             :                         }
   15130                 :             :                       default:;
   15131                 :             :                       }
   15132                 :             :                   }
   15133                 :             :                 break;
   15134                 :           0 :               case CFN_BUILT_IN_CTZ:
   15135                 :           0 :                 if (gimple_call_num_args (_c1) == 1)
   15136                 :             :                   {
   15137                 :           0 :                     tree _q20 = gimple_call_arg (_c1, 0);
   15138                 :           0 :                     _q20 = do_valueize (valueize, _q20);
   15139                 :           0 :                     switch (TREE_CODE (_p1))
   15140                 :             :                       {
   15141                 :           0 :                       case INTEGER_CST:
   15142                 :           0 :                         {
   15143                 :           0 :                           {
   15144                 :           0 :                             tree captures[3] ATTRIBUTE_UNUSED = { _p0, _q20, _p1 };
   15145                 :           0 :                             if (gimple_simplify_290 (res_op, seq, valueize, type, captures, EQ_EXPR, CFN_BUILT_IN_CTZ))
   15146                 :           0 :                               return true;
   15147                 :             :                           }
   15148                 :           0 :                           break;
   15149                 :             :                         }
   15150                 :             :                       default:;
   15151                 :             :                       }
   15152                 :             :                   }
   15153                 :             :                 break;
   15154                 :           0 :               case CFN_BUILT_IN_FFS:
   15155                 :           0 :                 if (gimple_call_num_args (_c1) == 1)
   15156                 :             :                   {
   15157                 :           0 :                     tree _q20 = gimple_call_arg (_c1, 0);
   15158                 :           0 :                     _q20 = do_valueize (valueize, _q20);
   15159                 :           0 :                     switch (TREE_CODE (_p1))
   15160                 :             :                       {
   15161                 :           0 :                       case INTEGER_CST:
   15162                 :           0 :                         {
   15163                 :           0 :                           {
   15164                 :           0 :                             tree captures[3] ATTRIBUTE_UNUSED = { _p0, _q20, _p1 };
   15165                 :           0 :                             if (gimple_simplify_293 (res_op, seq, valueize, type, captures, EQ_EXPR, CFN_BUILT_IN_FFS))
   15166                 :           0 :                               return true;
   15167                 :             :                           }
   15168                 :           0 :                           break;
   15169                 :             :                         }
   15170                 :             :                       default:;
   15171                 :             :                       }
   15172                 :             :                   }
   15173                 :             :                 break;
   15174                 :           0 :               case CFN_BUILT_IN_FFSIMAX:
   15175                 :           0 :                 if (gimple_call_num_args (_c1) == 1)
   15176                 :             :                   {
   15177                 :           0 :                     tree _q20 = gimple_call_arg (_c1, 0);
   15178                 :           0 :                     _q20 = do_valueize (valueize, _q20);
   15179                 :           0 :                     switch (TREE_CODE (_p1))
   15180                 :             :                       {
   15181                 :           0 :                       case INTEGER_CST:
   15182                 :           0 :                         {
   15183                 :           0 :                           {
   15184                 :           0 :                             tree captures[3] ATTRIBUTE_UNUSED = { _p0, _q20, _p1 };
   15185                 :           0 :                             if (gimple_simplify_293 (res_op, seq, valueize, type, captures, EQ_EXPR, CFN_BUILT_IN_FFSIMAX))
   15186                 :           0 :                               return true;
   15187                 :             :                           }
   15188                 :           0 :                           break;
   15189                 :             :                         }
   15190                 :             :                       default:;
   15191                 :             :                       }
   15192                 :             :                   }
   15193                 :             :                 break;
   15194                 :         431 :               case CFN_BUILT_IN_POPCOUNT:
   15195                 :         431 :                 if (gimple_call_num_args (_c1) == 1)
   15196                 :             :                   {
   15197                 :         431 :                     tree _q20 = gimple_call_arg (_c1, 0);
   15198                 :         431 :                     _q20 = do_valueize (valueize, _q20);
   15199                 :         431 :                     if (integer_zerop (_p1))
   15200                 :             :                       {
   15201                 :           0 :                         {
   15202                 :           0 :                           tree captures[1] ATTRIBUTE_UNUSED = { _q20 };
   15203                 :           0 :                           if (gimple_simplify_292 (res_op, seq, valueize, type, captures, EQ_EXPR, EQ_EXPR, CFN_BUILT_IN_POPCOUNT))
   15204                 :           0 :                             return true;
   15205                 :             :                         }
   15206                 :             :                       }
   15207                 :             :                   }
   15208                 :             :                 break;
   15209                 :          74 :               case CFN_BUILT_IN_CLZL:
   15210                 :          74 :                 if (gimple_call_num_args (_c1) == 1)
   15211                 :             :                   {
   15212                 :          74 :                     tree _q20 = gimple_call_arg (_c1, 0);
   15213                 :          74 :                     _q20 = do_valueize (valueize, _q20);
   15214                 :          74 :                     switch (TREE_CODE (_p1))
   15215                 :             :                       {
   15216                 :          71 :                       case INTEGER_CST:
   15217                 :          71 :                         {
   15218                 :          71 :                           {
   15219                 :          71 :                             tree captures[3] ATTRIBUTE_UNUSED = { _p0, _q20, _p1 };
   15220                 :          71 :                             if (gimple_simplify_288 (res_op, seq, valueize, type, captures, EQ_EXPR, LT_EXPR, CFN_BUILT_IN_CLZL))
   15221                 :           7 :                               return true;
   15222                 :             :                           }
   15223                 :          64 :                           break;
   15224                 :             :                         }
   15225                 :             :                       default:;
   15226                 :             :                       }
   15227                 :             :                   }
   15228                 :             :                 break;
   15229                 :           1 :               case CFN_BUILT_IN_CTZL:
   15230                 :           1 :                 if (gimple_call_num_args (_c1) == 1)
   15231                 :             :                   {
   15232                 :           1 :                     tree _q20 = gimple_call_arg (_c1, 0);
   15233                 :           1 :                     _q20 = do_valueize (valueize, _q20);
   15234                 :           1 :                     switch (TREE_CODE (_p1))
   15235                 :             :                       {
   15236                 :           1 :                       case INTEGER_CST:
   15237                 :           1 :                         {
   15238                 :           1 :                           {
   15239                 :           1 :                             tree captures[3] ATTRIBUTE_UNUSED = { _p0, _q20, _p1 };
   15240                 :           1 :                             if (gimple_simplify_290 (res_op, seq, valueize, type, captures, EQ_EXPR, CFN_BUILT_IN_CTZL))
   15241                 :           1 :                               return true;
   15242                 :             :                           }
   15243                 :           0 :                           break;
   15244                 :             :                         }
   15245                 :             :                       default:;
   15246                 :             :                       }
   15247                 :             :                   }
   15248                 :             :                 break;
   15249                 :           0 :               case CFN_BUILT_IN_FFSL:
   15250                 :           0 :                 if (gimple_call_num_args (_c1) == 1)
   15251                 :             :                   {
   15252                 :           0 :                     tree _q20 = gimple_call_arg (_c1, 0);
   15253                 :           0 :                     _q20 = do_valueize (valueize, _q20);
   15254                 :           0 :                     switch (TREE_CODE (_p1))
   15255                 :             :                       {
   15256                 :           0 :                       case INTEGER_CST:
   15257                 :           0 :                         {
   15258                 :           0 :                           {
   15259                 :           0 :                             tree captures[3] ATTRIBUTE_UNUSED = { _p0, _q20, _p1 };
   15260                 :           0 :                             if (gimple_simplify_293 (res_op, seq, valueize, type, captures, EQ_EXPR, CFN_BUILT_IN_FFSL))
   15261                 :           0 :                               return true;
   15262                 :             :                           }
   15263                 :           0 :                           break;
   15264                 :             :                         }
   15265                 :             :                       default:;
   15266                 :             :                       }
   15267                 :             :                   }
   15268                 :             :                 break;
   15269                 :          30 :               case CFN_BUILT_IN_POPCOUNTLL:
   15270                 :          30 :                 if (gimple_call_num_args (_c1) == 1)
   15271                 :             :                   {
   15272                 :          30 :                     tree _q20 = gimple_call_arg (_c1, 0);
   15273                 :          30 :                     _q20 = do_valueize (valueize, _q20);
   15274                 :          30 :                     if (integer_zerop (_p1))
   15275                 :             :                       {
   15276                 :           0 :                         {
   15277                 :           0 :                           tree captures[1] ATTRIBUTE_UNUSED = { _q20 };
   15278                 :           0 :                           if (gimple_simplify_292 (res_op, seq, valueize, type, captures, EQ_EXPR, EQ_EXPR, CFN_BUILT_IN_POPCOUNTLL))
   15279                 :           0 :                             return true;
   15280                 :             :                         }
   15281                 :             :                       }
   15282                 :             :                   }
   15283                 :             :                 break;
   15284                 :           0 :               case CFN_BUILT_IN_CTZIMAX:
   15285                 :           0 :                 if (gimple_call_num_args (_c1) == 1)
   15286                 :             :                   {
   15287                 :           0 :                     tree _q20 = gimple_call_arg (_c1, 0);
   15288                 :           0 :                     _q20 = do_valueize (valueize, _q20);
   15289                 :           0 :                     switch (TREE_CODE (_p1))
   15290                 :             :                       {
   15291                 :           0 :                       case INTEGER_CST:
   15292                 :           0 :                         {
   15293                 :           0 :                           {
   15294                 :           0 :                             tree captures[3] ATTRIBUTE_UNUSED = { _p0, _q20, _p1 };
   15295                 :           0 :                             if (gimple_simplify_290 (res_op, seq, valueize, type, captures, EQ_EXPR, CFN_BUILT_IN_CTZIMAX))
   15296                 :           0 :                               return true;
   15297                 :             :                           }
   15298                 :           0 :                           break;
   15299                 :             :                         }
   15300                 :             :                       default:;
   15301                 :             :                       }
   15302                 :             :                   }
   15303                 :             :                 break;
   15304                 :           0 :               case CFN_POPCOUNT:
   15305                 :           0 :                 if (gimple_call_num_args (_c1) == 1)
   15306                 :             :                   {
   15307                 :           0 :                     tree _q20 = gimple_call_arg (_c1, 0);
   15308                 :           0 :                     _q20 = do_valueize (valueize, _q20);
   15309                 :           0 :                     if (integer_zerop (_p1))
   15310                 :             :                       {
   15311                 :           0 :                         {
   15312                 :           0 :                           tree captures[1] ATTRIBUTE_UNUSED = { _q20 };
   15313                 :           0 :                           if (gimple_simplify_292 (res_op, seq, valueize, type, captures, EQ_EXPR, EQ_EXPR, CFN_POPCOUNT))
   15314                 :           0 :                             return true;
   15315                 :             :                         }
   15316                 :             :                       }
   15317                 :             :                   }
   15318                 :             :                 break;
   15319                 :           0 :               case CFN_CLZ:
   15320                 :           0 :                 if (gimple_call_num_args (_c1) == 1)
   15321                 :             :                   {
   15322                 :           0 :                     tree _q20 = gimple_call_arg (_c1, 0);
   15323                 :           0 :                     _q20 = do_valueize (valueize, _q20);
   15324                 :           0 :                     switch (TREE_CODE (_p1))
   15325                 :             :                       {
   15326                 :           0 :                       case INTEGER_CST:
   15327                 :           0 :                         {
   15328                 :           0 :                           {
   15329                 :           0 :                             tree captures[3] ATTRIBUTE_UNUSED = { _p0, _q20, _p1 };
   15330                 :           0 :                             if (gimple_simplify_288 (res_op, seq, valueize, type, captures, EQ_EXPR, LT_EXPR, CFN_CLZ))
   15331                 :           0 :                               return true;
   15332                 :             :                           }
   15333                 :           0 :                           break;
   15334                 :             :                         }
   15335                 :             :                       default:;
   15336                 :             :                       }
   15337                 :             :                   }
   15338                 :           0 :                 if (gimple_call_num_args (_c1) == 2)
   15339                 :             :                   {
   15340                 :           0 :                     tree _q20 = gimple_call_arg (_c1, 0);
   15341                 :           0 :                     _q20 = do_valueize (valueize, _q20);
   15342                 :           0 :                     tree _q21 = gimple_call_arg (_c1, 1);
   15343                 :           0 :                     _q21 = do_valueize (valueize, _q21);
   15344                 :           0 :                     switch (TREE_CODE (_p1))
   15345                 :             :                       {
   15346                 :           0 :                       case INTEGER_CST:
   15347                 :           0 :                         {
   15348                 :           0 :                           {
   15349                 :           0 :                             tree captures[4] ATTRIBUTE_UNUSED = { _p0, _q20, _q21, _p1 };
   15350                 :           0 :                             if (gimple_simplify_289 (res_op, seq, valueize, type, captures, EQ_EXPR, LT_EXPR))
   15351                 :           0 :                               return true;
   15352                 :             :                           }
   15353                 :           0 :                           break;
   15354                 :             :                         }
   15355                 :             :                       default:;
   15356                 :             :                       }
   15357                 :             :                   }
   15358                 :             :                 break;
   15359                 :           0 :               case CFN_CTZ:
   15360                 :           0 :                 if (gimple_call_num_args (_c1) == 1)
   15361                 :             :                   {
   15362                 :           0 :                     tree _q20 = gimple_call_arg (_c1, 0);
   15363                 :           0 :                     _q20 = do_valueize (valueize, _q20);
   15364                 :           0 :                     switch (TREE_CODE (_p1))
   15365                 :             :                       {
   15366                 :           0 :                       case INTEGER_CST:
   15367                 :           0 :                         {
   15368                 :           0 :                           {
   15369                 :           0 :                             tree captures[3] ATTRIBUTE_UNUSED = { _p0, _q20, _p1 };
   15370                 :           0 :                             if (gimple_simplify_290 (res_op, seq, valueize, type, captures, EQ_EXPR, CFN_CTZ))
   15371                 :           0 :                               return true;
   15372                 :             :                           }
   15373                 :           0 :                           break;
   15374                 :             :                         }
   15375                 :             :                       default:;
   15376                 :             :                       }
   15377                 :             :                   }
   15378                 :           0 :                 if (gimple_call_num_args (_c1) == 2)
   15379                 :             :                   {
   15380                 :           0 :                     tree _q20 = gimple_call_arg (_c1, 0);
   15381                 :           0 :                     _q20 = do_valueize (valueize, _q20);
   15382                 :           0 :                     tree _q21 = gimple_call_arg (_c1, 1);
   15383                 :           0 :                     _q21 = do_valueize (valueize, _q21);
   15384                 :           0 :                     switch (TREE_CODE (_p1))
   15385                 :             :                       {
   15386                 :           0 :                       case INTEGER_CST:
   15387                 :           0 :                         {
   15388                 :           0 :                           {
   15389                 :           0 :                             tree captures[4] ATTRIBUTE_UNUSED = { _p0, _q20, _q21, _p1 };
   15390                 :           0 :                             if (gimple_simplify_291 (res_op, seq, valueize, type, captures, EQ_EXPR))
   15391                 :           0 :                               return true;
   15392                 :             :                           }
   15393                 :           0 :                           break;
   15394                 :             :                         }
   15395                 :             :                       default:;
   15396                 :             :                       }
   15397                 :             :                   }
   15398                 :             :                 break;
   15399                 :           0 :               case CFN_FFS:
   15400                 :           0 :                 if (gimple_call_num_args (_c1) == 1)
   15401                 :             :                   {
   15402                 :           0 :                     tree _q20 = gimple_call_arg (_c1, 0);
   15403                 :           0 :                     _q20 = do_valueize (valueize, _q20);
   15404                 :           0 :                     switch (TREE_CODE (_p1))
   15405                 :             :                       {
   15406                 :           0 :                       case INTEGER_CST:
   15407                 :           0 :                         {
   15408                 :           0 :                           {
   15409                 :           0 :                             tree captures[3] ATTRIBUTE_UNUSED = { _p0, _q20, _p1 };
   15410                 :           0 :                             if (gimple_simplify_293 (res_op, seq, valueize, type, captures, EQ_EXPR, CFN_FFS))
   15411                 :           0 :                               return true;
   15412                 :             :                           }
   15413                 :           0 :                           break;
   15414                 :             :                         }
   15415                 :             :                       default:;
   15416                 :             :                       }
   15417                 :             :                   }
   15418                 :             :                 break;
   15419                 :           0 :               case CFN_BUILT_IN_POPCOUNTIMAX:
   15420                 :           0 :                 if (gimple_call_num_args (_c1) == 1)
   15421                 :             :                   {
   15422                 :           0 :                     tree _q20 = gimple_call_arg (_c1, 0);
   15423                 :           0 :                     _q20 = do_valueize (valueize, _q20);
   15424                 :           0 :                     if (integer_zerop (_p1))
   15425                 :             :                       {
   15426                 :           0 :                         {
   15427                 :           0 :                           tree captures[1] ATTRIBUTE_UNUSED = { _q20 };
   15428                 :           0 :                           if (gimple_simplify_292 (res_op, seq, valueize, type, captures, EQ_EXPR, EQ_EXPR, CFN_BUILT_IN_POPCOUNTIMAX))
   15429                 :           0 :                             return true;
   15430                 :             :                         }
   15431                 :             :                       }
   15432                 :             :                   }
   15433                 :             :                 break;
   15434                 :           0 :               case CFN_BUILT_IN_CLZIMAX:
   15435                 :           0 :                 if (gimple_call_num_args (_c1) == 1)
   15436                 :             :                   {
   15437                 :           0 :                     tree _q20 = gimple_call_arg (_c1, 0);
   15438                 :           0 :                     _q20 = do_valueize (valueize, _q20);
   15439                 :           0 :                     switch (TREE_CODE (_p1))
   15440                 :             :                       {
   15441                 :           0 :                       case INTEGER_CST:
   15442                 :           0 :                         {
   15443                 :           0 :                           {
   15444                 :           0 :                             tree captures[3] ATTRIBUTE_UNUSED = { _p0, _q20, _p1 };
   15445                 :           0 :                             if (gimple_simplify_288 (res_op, seq, valueize, type, captures, EQ_EXPR, LT_EXPR, CFN_BUILT_IN_CLZIMAX))
   15446                 :           0 :                               return true;
   15447                 :             :                           }
   15448                 :           0 :                           break;
   15449                 :             :                         }
   15450                 :             :                       default:;
   15451                 :             :                       }
   15452                 :             :                   }
   15453                 :             :                 break;
   15454                 :           5 :               case CFN_BUILT_IN_POPCOUNTL:
   15455                 :           5 :                 if (gimple_call_num_args (_c1) == 1)
   15456                 :             :                   {
   15457                 :           5 :                     tree _q20 = gimple_call_arg (_c1, 0);
   15458                 :           5 :                     _q20 = do_valueize (valueize, _q20);
   15459                 :           5 :                     if (integer_zerop (_p1))
   15460                 :             :                       {
   15461                 :           0 :                         {
   15462                 :           0 :                           tree captures[1] ATTRIBUTE_UNUSED = { _q20 };
   15463                 :           0 :                           if (gimple_simplify_292 (res_op, seq, valueize, type, captures, EQ_EXPR, EQ_EXPR, CFN_BUILT_IN_POPCOUNTL))
   15464                 :           0 :                             return true;
   15465                 :             :                         }
   15466                 :             :                       }
   15467                 :             :                   }
   15468                 :             :                 break;
   15469                 :         340 :               case CFN_BUILT_IN_CLZLL:
   15470                 :         340 :                 if (gimple_call_num_args (_c1) == 1)
   15471                 :             :                   {
   15472                 :         340 :                     tree _q20 = gimple_call_arg (_c1, 0);
   15473                 :         340 :                     _q20 = do_valueize (valueize, _q20);
   15474                 :         340 :                     switch (TREE_CODE (_p1))
   15475                 :             :                       {
   15476                 :         340 :                       case INTEGER_CST:
   15477                 :         340 :                         {
   15478                 :         340 :                           {
   15479                 :         340 :                             tree captures[3] ATTRIBUTE_UNUSED = { _p0, _q20, _p1 };
   15480                 :         340 :                             if (gimple_simplify_288 (res_op, seq, valueize, type, captures, EQ_EXPR, LT_EXPR, CFN_BUILT_IN_CLZLL))
   15481                 :           4 :                               return true;
   15482                 :             :                           }
   15483                 :         336 :                           break;
   15484                 :             :                         }
   15485                 :             :                       default:;
   15486                 :             :                       }
   15487                 :             :                   }
   15488                 :             :                 break;
   15489                 :           0 :               case CFN_BUILT_IN_CTZLL:
   15490                 :           0 :                 if (gimple_call_num_args (_c1) == 1)
   15491                 :             :                   {
   15492                 :           0 :                     tree _q20 = gimple_call_arg (_c1, 0);
   15493                 :           0 :                     _q20 = do_valueize (valueize, _q20);
   15494                 :           0 :                     switch (TREE_CODE (_p1))
   15495                 :             :                       {
   15496                 :           0 :                       case INTEGER_CST:
   15497                 :           0 :                         {
   15498                 :           0 :                           {
   15499                 :           0 :                             tree captures[3] ATTRIBUTE_UNUSED = { _p0, _q20, _p1 };
   15500                 :           0 :                             if (gimple_simplify_290 (res_op, seq, valueize, type, captures, EQ_EXPR, CFN_BUILT_IN_CTZLL))
   15501                 :           0 :                               return true;
   15502                 :             :                           }
   15503                 :           0 :                           break;
   15504                 :             :                         }
   15505                 :             :                       default:;
   15506                 :             :                       }
   15507                 :             :                   }
   15508                 :             :                 break;
   15509                 :           0 :               case CFN_BUILT_IN_FFSLL:
   15510                 :           0 :                 if (gimple_call_num_args (_c1) == 1)
   15511                 :             :                   {
   15512                 :           0 :                     tree _q20 = gimple_call_arg (_c1, 0);
   15513                 :           0 :                     _q20 = do_valueize (valueize, _q20);
   15514                 :           0 :                     switch (TREE_CODE (_p1))
   15515                 :             :                       {
   15516                 :           0 :                       case INTEGER_CST:
   15517                 :           0 :                         {
   15518                 :           0 :                           {
   15519                 :           0 :                             tree captures[3] ATTRIBUTE_UNUSED = { _p0, _q20, _p1 };
   15520                 :           0 :                             if (gimple_simplify_293 (res_op, seq, valueize, type, captures, EQ_EXPR, CFN_BUILT_IN_FFSLL))
   15521                 :           0 :                               return true;
   15522                 :             :                           }
   15523                 :           0 :                           break;
   15524                 :             :                         }
   15525                 :             :                       default:;
   15526                 :             :                       }
   15527                 :             :                   }
   15528                 :             :                 break;
   15529                 :             :               default:;
   15530                 :             :               }
   15531                 :             :         }
   15532                 :             :       break;
   15533                 :             :     default:;
   15534                 :             :     }
   15535                 :             :   return false;
   15536                 :             : }
   15537                 :             : 
   15538                 :             : bool
   15539                 :        1771 : gimple_simplify_CFN_BUILT_IN_FMINF (gimple_match_op *res_op, gimple_seq *seq,
   15540                 :             :                  tree (*valueize)(tree) ATTRIBUTE_UNUSED,
   15541                 :             :                  code_helper ARG_UNUSED (code), tree ARG_UNUSED (type), tree _p0, tree _p1)
   15542                 :             : {
   15543                 :        1771 :   const bool debug_dump = dump_file && (dump_flags & TDF_FOLDING);
   15544                 :        1771 :   if ((_p1 == _p0 && ! TREE_SIDE_EFFECTS (_p1)) || (operand_equal_p (_p1, _p0, 0) && types_match (_p1, _p0)))
   15545                 :             :     {
   15546                 :          43 :       {
   15547                 :          43 :         tree captures[1] ATTRIBUTE_UNUSED = { _p0 };
   15548                 :          43 :         if (gimple_simplify_492 (res_op, seq, valueize, type, captures, CFN_BUILT_IN_FMINF))
   15549                 :          28 :           return true;
   15550                 :             :       }
   15551                 :             :     }
   15552                 :        1743 :   switch (TREE_CODE (_p1))
   15553                 :             :     {
   15554                 :         886 :     case REAL_CST:
   15555                 :         886 :       {
   15556                 :         886 :         {
   15557                 :         886 :           tree captures[2] ATTRIBUTE_UNUSED = { _p0, _p1 };
   15558                 :         886 :           if (gimple_simplify_493 (res_op, seq, valueize, type, captures, CFN_BUILT_IN_FMINF))
   15559                 :          38 :             return true;
   15560                 :             :         }
   15561                 :         848 :         break;
   15562                 :             :       }
   15563                 :        1705 :     default:;
   15564                 :             :     }
   15565                 :        1705 :   switch (TREE_CODE (_p0))
   15566                 :             :     {
   15567                 :         490 :     case REAL_CST:
   15568                 :         490 :       {
   15569                 :         490 :         {
   15570                 :         490 :           tree captures[2] ATTRIBUTE_UNUSED = { _p1, _p0 };
   15571                 :         490 :           if (gimple_simplify_493 (res_op, seq, valueize, type, captures, CFN_BUILT_IN_FMINF))
   15572                 :          60 :             return true;
   15573                 :             :         }
   15574                 :         430 :         break;
   15575                 :             :       }
   15576                 :        1645 :     default:;
   15577                 :             :     }
   15578                 :        1645 :   {
   15579                 :        1645 :     tree captures[2] ATTRIBUTE_UNUSED = { _p0, _p1 };
   15580                 :        1645 :     if (gimple_simplify_494 (res_op, seq, valueize, type, captures, CFN_BUILT_IN_FMINF))
   15581                 :          17 :       return true;
   15582                 :             :   }
   15583                 :        1628 :   switch (TREE_CODE (_p0))
   15584                 :             :     {
   15585                 :        1053 :     case SSA_NAME:
   15586                 :        1053 :       if (gimple *_d1 = get_def (valueize, _p0))
   15587                 :             :         {
   15588                 :         621 :           if (gassign *_a1 = dyn_cast <gassign *> (_d1))
   15589                 :         474 :             switch (gimple_assign_rhs_code (_a1))
   15590                 :             :               {
   15591                 :          40 :               case NEGATE_EXPR:
   15592                 :          40 :                 {
   15593                 :          40 :                   tree _q20 = gimple_assign_rhs1 (_a1);
   15594                 :          40 :                   _q20 = do_valueize (valueize, _q20);
   15595                 :          40 :                   switch (TREE_CODE (_p1))
   15596                 :             :                     {
   15597                 :           0 :                     case SSA_NAME:
   15598                 :           0 :                       if (gimple *_d2 = get_def (valueize, _p1))
   15599                 :             :                         {
   15600                 :           0 :                           if (gassign *_a2 = dyn_cast <gassign *> (_d2))
   15601                 :           0 :                             switch (gimple_assign_rhs_code (_a2))
   15602                 :             :                               {
   15603                 :           0 :                               case NEGATE_EXPR:
   15604                 :           0 :                                 {
   15605                 :           0 :                                   tree _q40 = gimple_assign_rhs1 (_a2);
   15606                 :           0 :                                   _q40 = do_valueize (valueize, _q40);
   15607                 :           0 :                                   {
   15608                 :           0 :                                     tree captures[4] ATTRIBUTE_UNUSED = { _p0, _q20, _p1, _q40 };
   15609                 :           0 :                                     if (FLOAT_TYPE_P (TREE_TYPE (captures[1]))
   15610                 :           0 :  || (ANY_INTEGRAL_TYPE_P (TREE_TYPE (captures[1]))
   15611                 :           0 :  && TYPE_OVERFLOW_UNDEFINED (TREE_TYPE (captures[1])))
   15612                 :             : )
   15613                 :             :                                       {
   15614                 :           0 :                                         gimple_seq *lseq = seq;
   15615                 :           0 :                                         if (lseq
   15616                 :           0 :                                             && (!single_use (captures[0])
   15617                 :           0 :                                                 || !single_use (captures[2])))
   15618                 :           0 :                                           lseq = NULL;
   15619                 :           0 :                                         if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail2114;
   15620                 :           0 :                                         {
   15621                 :           0 :                                           res_op->set_op (NEGATE_EXPR, type, 1);
   15622                 :           0 :                                           {
   15623                 :           0 :                                             tree _o1[2], _r1;
   15624                 :           0 :                                             _o1[0] = captures[1];
   15625                 :           0 :                                             _o1[1] = captures[3];
   15626                 :           0 :                                             gimple_match_op tem_op (res_op->cond.any_else (), CFN_BUILT_IN_FMAXF, TREE_TYPE (_o1[0]), _o1[0], _o1[1]);
   15627                 :           0 :                                             tem_op.resimplify (lseq, valueize);
   15628                 :           0 :                                             _r1 = maybe_push_res_to_seq (&tem_op, lseq);
   15629                 :           0 :                                             if (!_r1) goto next_after_fail2114;
   15630                 :           0 :                                             res_op->ops[0] = _r1;
   15631                 :             :                                           }
   15632                 :           0 :                                           res_op->resimplify (lseq, valueize);
   15633                 :           0 :                                           if (UNLIKELY (debug_dump)) gimple_dump_logs ("match.pd", 1073, __FILE__, __LINE__, true);
   15634                 :           0 :                                           return true;
   15635                 :             :                                         }
   15636                 :           0 : next_after_fail2114:;
   15637                 :             :                                       }
   15638                 :             :                                   }
   15639                 :           0 :                                   break;
   15640                 :             :                                 }
   15641                 :             :                               default:;
   15642                 :             :                               }
   15643                 :             :                         }
   15644                 :             :                       break;
   15645                 :             :                     default:;
   15646                 :             :                     }
   15647                 :             :                   break;
   15648                 :             :                 }
   15649                 :             :               default:;
   15650                 :             :               }
   15651                 :             :         }
   15652                 :             :       break;
   15653                 :             :     default:;
   15654                 :             :     }
   15655                 :             :   return false;
   15656                 :             : }
   15657                 :             : 
   15658                 :             : bool
   15659                 :          11 : gimple_simplify_CFN_BUILT_IN_FMINF16 (gimple_match_op *res_op, gimple_seq *seq,
   15660                 :             :                  tree (*valueize)(tree) ATTRIBUTE_UNUSED,
   15661                 :             :                  code_helper ARG_UNUSED (code), tree ARG_UNUSED (type), tree _p0, tree _p1)
   15662                 :             : {
   15663                 :          11 :   const bool debug_dump = dump_file && (dump_flags & TDF_FOLDING);
   15664                 :          11 :   if ((_p1 == _p0 && ! TREE_SIDE_EFFECTS (_p1)) || (operand_equal_p (_p1, _p0, 0) && types_match (_p1, _p0)))
   15665                 :             :     {
   15666                 :           0 :       {
   15667                 :           0 :         tree captures[1] ATTRIBUTE_UNUSED = { _p0 };
   15668                 :           0 :         if (gimple_simplify_492 (res_op, seq, valueize, type, captures, CFN_BUILT_IN_FMINF16))
   15669                 :           0 :           return true;
   15670                 :             :       }
   15671                 :             :     }
   15672                 :          11 :   switch (TREE_CODE (_p1))
   15673                 :             :     {
   15674                 :           0 :     case REAL_CST:
   15675                 :           0 :       {
   15676                 :           0 :         {
   15677                 :           0 :           tree captures[2] ATTRIBUTE_UNUSED = { _p0, _p1 };
   15678                 :           0 :           if (gimple_simplify_493 (res_op, seq, valueize, type, captures, CFN_BUILT_IN_FMINF16))
   15679                 :           0 :             return true;
   15680                 :             :         }
   15681                 :           0 :         break;
   15682                 :             :       }
   15683                 :          11 :     default:;
   15684                 :             :     }
   15685                 :          11 :   switch (TREE_CODE (_p0))
   15686                 :             :     {
   15687                 :           0 :     case REAL_CST:
   15688                 :           0 :       {
   15689                 :           0 :         {
   15690                 :           0 :           tree captures[2] ATTRIBUTE_UNUSED = { _p1, _p0 };
   15691                 :           0 :           if (gimple_simplify_493 (res_op, seq, valueize, type, captures, CFN_BUILT_IN_FMINF16))
   15692                 :           0 :             return true;
   15693                 :             :         }
   15694                 :           0 :         break;
   15695                 :             :       }
   15696                 :          11 :     default:;
   15697                 :             :     }
   15698                 :          11 :   {
   15699                 :          11 :     tree captures[2] ATTRIBUTE_UNUSED = { _p0, _p1 };
   15700                 :          11 :     if (gimple_simplify_494 (res_op, seq, valueize, type, captures, CFN_BUILT_IN_FMINF16))
   15701                 :          11 :       return true;
   15702                 :             :   }
   15703                 :           0 :   switch (TREE_CODE (_p0))
   15704                 :             :     {
   15705                 :           0 :     case SSA_NAME:
   15706                 :           0 :       if (gimple *_d1 = get_def (valueize, _p0))
   15707                 :             :         {
   15708                 :           0 :           if (gassign *_a1 = dyn_cast <gassign *> (_d1))
   15709                 :           0 :             switch (gimple_assign_rhs_code (_a1))
   15710                 :             :               {
   15711                 :           0 :               case NEGATE_EXPR:
   15712                 :           0 :                 {
   15713                 :           0 :                   tree _q20 = gimple_assign_rhs1 (_a1);
   15714                 :           0 :                   _q20 = do_valueize (valueize, _q20);
   15715                 :           0 :                   switch (TREE_CODE (_p1))
   15716                 :             :                     {
   15717                 :           0 :                     case SSA_NAME:
   15718                 :           0 :                       if (gimple *_d2 = get_def (valueize, _p1))
   15719                 :             :                         {
   15720                 :           0 :                           if (gassign *_a2 = dyn_cast <gassign *> (_d2))
   15721                 :           0 :                             switch (gimple_assign_rhs_code (_a2))
   15722                 :             :                               {
   15723                 :           0 :                               case NEGATE_EXPR:
   15724                 :           0 :                                 {
   15725                 :           0 :                                   tree _q40 = gimple_assign_rhs1 (_a2);
   15726                 :           0 :                                   _q40 = do_valueize (valueize, _q40);
   15727                 :           0 :                                   {
   15728                 :           0 :                                     tree captures[4] ATTRIBUTE_UNUSED = { _p0, _q20, _p1, _q40 };
   15729                 :           0 :                                     if (FLOAT_TYPE_P (TREE_TYPE (captures[1]))
   15730                 :           0 :  || (ANY_INTEGRAL_TYPE_P (TREE_TYPE (captures[1]))
   15731                 :           0 :  && TYPE_OVERFLOW_UNDEFINED (TREE_TYPE (captures[1])))
   15732                 :             : )
   15733                 :             :                                       {
   15734                 :           0 :                                         gimple_seq *lseq = seq;
   15735                 :           0 :                                         if (lseq
   15736                 :           0 :                                             && (!single_use (captures[0])
   15737                 :           0 :                                                 || !single_use (captures[2])))
   15738                 :           0 :                                           lseq = NULL;
   15739                 :           0 :                                         if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail2117;
   15740                 :           0 :                                         {
   15741                 :           0 :                                           res_op->set_op (NEGATE_EXPR, type, 1);
   15742                 :           0 :                                           {
   15743                 :           0 :                                             tree _o1[2], _r1;
   15744                 :           0 :                                             _o1[0] = captures[1];
   15745                 :           0 :                                             _o1[1] = captures[3];
   15746                 :           0 :                                             gimple_match_op tem_op (res_op->cond.any_else (), CFN_BUILT_IN_FMAXF16, TREE_TYPE (_o1[0]), _o1[0], _o1[1]);
   15747                 :           0 :                                             tem_op.resimplify (lseq, valueize);
   15748                 :           0 :                                             _r1 = maybe_push_res_to_seq (&tem_op, lseq);
   15749                 :           0 :                                             if (!_r1) goto next_after_fail2117;
   15750                 :           0 :                                             res_op->ops[0] = _r1;
   15751                 :             :                                           }
   15752                 :           0 :                                           res_op->resimplify (lseq, valueize);
   15753                 :           0 :                                           if (UNLIKELY (debug_dump)) gimple_dump_logs ("match.pd", 1073, __FILE__, __LINE__, true);
   15754                 :           0 :                                           return true;
   15755                 :             :                                         }
   15756                 :           0 : next_after_fail2117:;
   15757                 :             :                                       }
   15758                 :             :                                   }
   15759                 :           0 :                                   break;
   15760                 :             :                                 }
   15761                 :             :                               default:;
   15762                 :             :                               }
   15763                 :             :                         }
   15764                 :             :                       break;
   15765                 :             :                     default:;
   15766                 :             :                     }
   15767                 :             :                   break;
   15768                 :             :                 }
   15769                 :             :               default:;
   15770                 :             :               }
   15771                 :             :         }
   15772                 :             :       break;
   15773                 :             :     default:;
   15774                 :             :     }
   15775                 :             :   return false;
   15776                 :             : }
   15777                 :             : 
   15778                 :             : bool
   15779                 :          44 : gimple_simplify_CFN_BUILT_IN_FMINF128 (gimple_match_op *res_op, gimple_seq *seq,
   15780                 :             :                  tree (*valueize)(tree) ATTRIBUTE_UNUSED,
   15781                 :             :                  code_helper ARG_UNUSED (code), tree ARG_UNUSED (type), tree _p0, tree _p1)
   15782                 :             : {
   15783                 :          44 :   const bool debug_dump = dump_file && (dump_flags & TDF_FOLDING);
   15784                 :          44 :   if ((_p1 == _p0 && ! TREE_SIDE_EFFECTS (_p1)) || (operand_equal_p (_p1, _p0, 0) && types_match (_p1, _p0)))
   15785                 :             :     {
   15786                 :           0 :       {
   15787                 :           0 :         tree captures[1] ATTRIBUTE_UNUSED = { _p0 };
   15788                 :           0 :         if (gimple_simplify_492 (res_op, seq, valueize, type, captures, CFN_BUILT_IN_FMINF128))
   15789                 :           0 :           return true;
   15790                 :             :       }
   15791                 :             :     }
   15792                 :          44 :   switch (TREE_CODE (_p1))
   15793                 :             :     {
   15794                 :           0 :     case REAL_CST:
   15795                 :           0 :       {
   15796                 :           0 :         {
   15797                 :           0 :           tree captures[2] ATTRIBUTE_UNUSED = { _p0, _p1 };
   15798                 :           0 :           if (gimple_simplify_493 (res_op, seq, valueize, type, captures, CFN_BUILT_IN_FMINF128))
   15799                 :           0 :             return true;
   15800                 :             :         }
   15801                 :           0 :         break;
   15802                 :             :       }
   15803                 :          44 :     default:;
   15804                 :             :     }
   15805                 :          44 :   switch (TREE_CODE (_p0))
   15806                 :             :     {
   15807                 :           0 :     case REAL_CST:
   15808                 :           0 :       {
   15809                 :           0 :         {
   15810                 :           0 :           tree captures[2] ATTRIBUTE_UNUSED = { _p1, _p0 };
   15811                 :           0 :           if (gimple_simplify_493 (res_op, seq, valueize, type, captures, CFN_BUILT_IN_FMINF128))
   15812                 :           0 :             return true;
   15813                 :             :         }
   15814                 :           0 :         break;
   15815                 :             :       }
   15816                 :          44 :     default:;
   15817                 :             :     }
   15818                 :          44 :   {
   15819                 :          44 :     tree captures[2] ATTRIBUTE_UNUSED = { _p0, _p1 };
   15820                 :          44 :     if (gimple_simplify_494 (res_op, seq, valueize, type, captures, CFN_BUILT_IN_FMINF128))
   15821                 :           0 :       return true;
   15822                 :             :   }
   15823                 :          44 :   switch (TREE_CODE (_p0))
   15824                 :             :     {
   15825                 :          42 :     case SSA_NAME:
   15826                 :          42 :       if (gimple *_d1 = get_def (valueize, _p0))
   15827                 :             :         {
   15828                 :          28 :           if (gassign *_a1 = dyn_cast <gassign *> (_d1))
   15829                 :          44 :             switch (gimple_assign_rhs_code (_a1))
   15830                 :             :               {
   15831                 :           0 :               case NEGATE_EXPR:
   15832                 :           0 :                 {
   15833                 :           0 :                   tree _q20 = gimple_assign_rhs1 (_a1);
   15834                 :           0 :                   _q20 = do_valueize (valueize, _q20);
   15835                 :           0 :                   switch (TREE_CODE (_p1))
   15836                 :             :                     {
   15837                 :           0 :                     case SSA_NAME:
   15838                 :           0 :                       if (gimple *_d2 = get_def (valueize, _p1))
   15839                 :             :                         {
   15840                 :           0 :                           if (gassign *_a2 = dyn_cast <gassign *> (_d2))
   15841                 :           0 :                             switch (gimple_assign_rhs_code (_a2))
   15842                 :             :                               {
   15843                 :           0 :                               case NEGATE_EXPR:
   15844                 :           0 :                                 {
   15845                 :           0 :                                   tree _q40 = gimple_assign_rhs1 (_a2);
   15846                 :           0 :                                   _q40 = do_valueize (valueize, _q40);
   15847                 :           0 :                                   {
   15848                 :           0 :                                     tree captures[4] ATTRIBUTE_UNUSED = { _p0, _q20, _p1, _q40 };
   15849                 :           0 :                                     if (FLOAT_TYPE_P (TREE_TYPE (captures[1]))
   15850                 :           0 :  || (ANY_INTEGRAL_TYPE_P (TREE_TYPE (captures[1]))
   15851                 :           0 :  && TYPE_OVERFLOW_UNDEFINED (TREE_TYPE (captures[1])))
   15852                 :             : )
   15853                 :             :                                       {
   15854                 :           0 :                                         gimple_seq *lseq = seq;
   15855                 :           0 :                                         if (lseq
   15856                 :           0 :                                             && (!single_use (captures[0])
   15857                 :           0 :                                                 || !single_use (captures[2])))
   15858                 :           0 :                                           lseq = NULL;
   15859                 :           0 :                                         if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail2120;
   15860                 :           0 :                                         {
   15861                 :           0 :                                           res_op->set_op (NEGATE_EXPR, type, 1);
   15862                 :           0 :                                           {
   15863                 :           0 :                                             tree _o1[2], _r1;
   15864                 :           0 :                                             _o1[0] = captures[1];
   15865                 :           0 :                                             _o1[1] = captures[3];
   15866                 :           0 :                                             gimple_match_op tem_op (res_op->cond.any_else (), CFN_BUILT_IN_FMAXF128, TREE_TYPE (_o1[0]), _o1[0], _o1[1]);
   15867                 :           0 :                                             tem_op.resimplify (lseq, valueize);
   15868                 :           0 :                                             _r1 = maybe_push_res_to_seq (&tem_op, lseq);
   15869                 :           0 :                                             if (!_r1) goto next_after_fail2120;
   15870                 :           0 :                                             res_op->ops[0] = _r1;
   15871                 :             :                                           }
   15872                 :           0 :                                           res_op->resimplify (lseq, valueize);
   15873                 :           0 :                                           if (UNLIKELY (debug_dump)) gimple_dump_logs ("match.pd", 1073, __FILE__, __LINE__, true);
   15874                 :           0 :                                           return true;
   15875                 :             :                                         }
   15876                 :           0 : next_after_fail2120:;
   15877                 :             :                                       }
   15878                 :             :                                   }
   15879                 :           0 :                                   break;
   15880                 :             :                                 }
   15881                 :             :                               default:;
   15882                 :             :                               }
   15883                 :             :                         }
   15884                 :             :                       break;
   15885                 :             :                     default:;
   15886                 :             :                     }
   15887                 :             :                   break;
   15888                 :             :                 }
   15889                 :             :               default:;
   15890                 :             :               }
   15891                 :             :         }
   15892                 :             :       break;
   15893                 :             :     default:;
   15894                 :             :     }
   15895                 :             :   return false;
   15896                 :             : }
   15897                 :             : 
   15898                 :             : bool
   15899                 :           0 : gimple_simplify_CFN_BUILT_IN_FMINF128X (gimple_match_op *res_op, gimple_seq *seq,
   15900                 :             :                  tree (*valueize)(tree) ATTRIBUTE_UNUSED,
   15901                 :             :                  code_helper ARG_UNUSED (code), tree ARG_UNUSED (type), tree _p0, tree _p1)
   15902                 :             : {
   15903                 :           0 :   const bool debug_dump = dump_file && (dump_flags & TDF_FOLDING);
   15904                 :           0 :   if ((_p1 == _p0 && ! TREE_SIDE_EFFECTS (_p1)) || (operand_equal_p (_p1, _p0, 0) && types_match (_p1, _p0)))
   15905                 :             :     {
   15906                 :           0 :       {
   15907                 :           0 :         tree captures[1] ATTRIBUTE_UNUSED = { _p0 };
   15908                 :           0 :         if (gimple_simplify_492 (res_op, seq, valueize, type, captures, CFN_BUILT_IN_FMINF128X))
   15909                 :           0 :           return true;
   15910                 :             :       }
   15911                 :             :     }
   15912                 :           0 :   switch (TREE_CODE (_p1))
   15913                 :             :     {
   15914                 :           0 :     case REAL_CST:
   15915                 :           0 :       {
   15916                 :           0 :         {
   15917                 :           0 :           tree captures[2] ATTRIBUTE_UNUSED = { _p0, _p1 };
   15918                 :           0 :           if (gimple_simplify_493 (res_op, seq, valueize, type, captures, CFN_BUILT_IN_FMINF128X))
   15919                 :           0 :             return true;
   15920                 :             :         }
   15921                 :           0 :         break;
   15922                 :             :       }
   15923                 :           0 :     default:;
   15924                 :             :     }
   15925                 :           0 :   switch (TREE_CODE (_p0))
   15926                 :             :     {
   15927                 :           0 :     case REAL_CST:
   15928                 :           0 :       {
   15929                 :           0 :         {
   15930                 :           0 :           tree captures[2] ATTRIBUTE_UNUSED = { _p1, _p0 };
   15931                 :           0 :           if (gimple_simplify_493 (res_op, seq, valueize, type, captures, CFN_BUILT_IN_FMINF128X))
   15932                 :           0 :             return true;
   15933                 :             :         }
   15934                 :           0 :         break;
   15935                 :             :       }
   15936                 :           0 :     default:;
   15937                 :             :     }
   15938                 :           0 :   {
   15939                 :           0 :     tree captures[2] ATTRIBUTE_UNUSED = { _p0, _p1 };
   15940                 :           0 :     if (gimple_simplify_494 (res_op, seq, valueize, type, captures, CFN_BUILT_IN_FMINF128X))
   15941                 :           0 :       return true;
   15942                 :             :   }
   15943                 :           0 :   switch (TREE_CODE (_p0))
   15944                 :             :     {
   15945                 :           0 :     case SSA_NAME:
   15946                 :           0 :       if (gimple *_d1 = get_def (valueize, _p0))
   15947                 :             :         {
   15948                 :           0 :           if (gassign *_a1 = dyn_cast <gassign *> (_d1))
   15949                 :           0 :             switch (gimple_assign_rhs_code (_a1))
   15950                 :             :               {
   15951                 :           0 :               case NEGATE_EXPR:
   15952                 :           0 :                 {
   15953                 :           0 :                   tree _q20 = gimple_assign_rhs1 (_a1);
   15954                 :           0 :                   _q20 = do_valueize (valueize, _q20);
   15955                 :           0 :                   switch (TREE_CODE (_p1))
   15956                 :             :                     {
   15957                 :           0 :                     case SSA_NAME:
   15958                 :           0 :                       if (gimple *_d2 = get_def (valueize, _p1))
   15959                 :             :                         {
   15960                 :           0 :                           if (gassign *_a2 = dyn_cast <gassign *> (_d2))
   15961                 :           0 :                             switch (gimple_assign_rhs_code (_a2))
   15962                 :             :                               {
   15963                 :           0 :                               case NEGATE_EXPR:
   15964                 :           0 :                                 {
   15965                 :           0 :                                   tree _q40 = gimple_assign_rhs1 (_a2);
   15966                 :           0 :                                   _q40 = do_valueize (valueize, _q40);
   15967                 :           0 :                                   {
   15968                 :           0 :                                     tree captures[4] ATTRIBUTE_UNUSED = { _p0, _q20, _p1, _q40 };
   15969                 :           0 :                                     if (FLOAT_TYPE_P (TREE_TYPE (captures[1]))
   15970                 :           0 :  || (ANY_INTEGRAL_TYPE_P (TREE_TYPE (captures[1]))
   15971                 :           0 :  && TYPE_OVERFLOW_UNDEFINED (TREE_TYPE (captures[1])))
   15972                 :             : )
   15973                 :             :                                       {
   15974                 :           0 :                                         gimple_seq *lseq = seq;
   15975                 :           0 :                                         if (lseq
   15976                 :           0 :                                             && (!single_use (captures[0])
   15977                 :           0 :                                                 || !single_use (captures[2])))
   15978                 :           0 :                                           lseq = NULL;
   15979                 :           0 :                                         if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail2123;
   15980                 :           0 :                                         {
   15981                 :           0 :                                           res_op->set_op (NEGATE_EXPR, type, 1);
   15982                 :           0 :                                           {
   15983                 :           0 :                                             tree _o1[2], _r1;
   15984                 :           0 :                                             _o1[0] = captures[1];
   15985                 :           0 :                                             _o1[1] = captures[3];
   15986                 :           0 :                                             gimple_match_op tem_op (res_op->cond.any_else (), CFN_BUILT_IN_FMAXF128X, TREE_TYPE (_o1[0]), _o1[0], _o1[1]);
   15987                 :           0 :                                             tem_op.resimplify (lseq, valueize);
   15988                 :           0 :                                             _r1 = maybe_push_res_to_seq (&tem_op, lseq);
   15989                 :           0 :                                             if (!_r1) goto next_after_fail2123;
   15990                 :           0 :                                             res_op->ops[0] = _r1;
   15991                 :             :                                           }
   15992                 :           0 :                                           res_op->resimplify (lseq, valueize);
   15993                 :           0 :                                           if (UNLIKELY (debug_dump)) gimple_dump_logs ("match.pd", 1073, __FILE__, __LINE__, true);
   15994                 :           0 :                                           return true;
   15995                 :             :                                         }
   15996                 :           0 : next_after_fail2123:;
   15997                 :             :                                       }
   15998                 :             :                                   }
   15999                 :           0 :                                   break;
   16000                 :             :                                 }
   16001                 :             :                               default:;
   16002                 :             :                               }
   16003                 :             :                         }
   16004                 :             :                       break;
   16005                 :             :                     default:;
   16006                 :             :                     }
   16007                 :             :                   break;
   16008                 :             :                 }
   16009                 :             :               default:;
   16010                 :             :               }
   16011                 :             :         }
   16012                 :             :       break;
   16013                 :             :     default:;
   16014                 :             :     }
   16015                 :             :   return false;
   16016                 :             : }
   16017                 :             : 
   16018                 :             : bool
   16019                 :        2320 : gimple_simplify_CFN_BUILT_IN_FMAX (gimple_match_op *res_op, gimple_seq *seq,
   16020                 :             :                  tree (*valueize)(tree) ATTRIBUTE_UNUSED,
   16021                 :             :                  code_helper ARG_UNUSED (code), tree ARG_UNUSED (type), tree _p0, tree _p1)
   16022                 :             : {
   16023                 :        2320 :   const bool debug_dump = dump_file && (dump_flags & TDF_FOLDING);
   16024                 :        2320 :   if ((_p1 == _p0 && ! TREE_SIDE_EFFECTS (_p1)) || (operand_equal_p (_p1, _p0, 0) && types_match (_p1, _p0)))
   16025                 :             :     {
   16026                 :          56 :       {
   16027                 :          56 :         tree captures[1] ATTRIBUTE_UNUSED = { _p0 };
   16028                 :          56 :         if (gimple_simplify_492 (res_op, seq, valueize, type, captures, CFN_BUILT_IN_FMAX))
   16029                 :          28 :           return true;
   16030                 :             :       }
   16031                 :             :     }
   16032                 :        2292 :   switch (TREE_CODE (_p1))
   16033                 :             :     {
   16034                 :         929 :     case REAL_CST:
   16035                 :         929 :       {
   16036                 :         929 :         {
   16037                 :         929 :           tree captures[2] ATTRIBUTE_UNUSED = { _p0, _p1 };
   16038                 :         929 :           if (gimple_simplify_493 (res_op, seq, valueize, type, captures, CFN_BUILT_IN_FMAX))
   16039                 :          38 :             return true;
   16040                 :             :         }
   16041                 :         891 :         break;
   16042                 :             :       }
   16043                 :        2254 :     default:;
   16044                 :             :     }
   16045                 :        2254 :   switch (TREE_CODE (_p0))
   16046                 :             :     {
   16047                 :         514 :     case REAL_CST:
   16048                 :         514 :       {
   16049                 :         514 :         {
   16050                 :         514 :           tree captures[2] ATTRIBUTE_UNUSED = { _p1, _p0 };
   16051                 :         514 :           if (gimple_simplify_493 (res_op, seq, valueize, type, captures, CFN_BUILT_IN_FMAX))
   16052                 :          60 :             return true;
   16053                 :             :         }
   16054                 :         454 :         break;
   16055                 :             :       }
   16056                 :        2194 :     default:;
   16057                 :             :     }
   16058                 :        2194 :   {
   16059                 :        2194 :     tree captures[2] ATTRIBUTE_UNUSED = { _p0, _p1 };
   16060                 :        2194 :     if (gimple_simplify_495 (res_op, seq, valueize, type, captures, CFN_BUILT_IN_FMAX))
   16061                 :          30 :       return true;
   16062                 :             :   }
   16063                 :        2164 :   switch (TREE_CODE (_p0))
   16064                 :             :     {
   16065                 :        1546 :     case SSA_NAME:
   16066                 :        1546 :       if (gimple *_d1 = get_def (valueize, _p0))
   16067                 :             :         {
   16068                 :         851 :           if (gassign *_a1 = dyn_cast <gassign *> (_d1))
   16069                 :         675 :             switch (gimple_assign_rhs_code (_a1))
   16070                 :             :               {
   16071                 :          42 :               case NEGATE_EXPR:
   16072                 :          42 :                 {
   16073                 :          42 :                   tree _q20 = gimple_assign_rhs1 (_a1);
   16074                 :          42 :                   _q20 = do_valueize (valueize, _q20);
   16075                 :          42 :                   switch (TREE_CODE (_p1))
   16076                 :             :                     {
   16077                 :           2 :                     case SSA_NAME:
   16078                 :           2 :                       if (gimple *_d2 = get_def (valueize, _p1))
   16079                 :             :                         {
   16080                 :           2 :                           if (gassign *_a2 = dyn_cast <gassign *> (_d2))
   16081                 :           2 :                             switch (gimple_assign_rhs_code (_a2))
   16082                 :             :                               {
   16083                 :           2 :                               case NEGATE_EXPR:
   16084                 :           2 :                                 {
   16085                 :           2 :                                   tree _q40 = gimple_assign_rhs1 (_a2);
   16086                 :           2 :                                   _q40 = do_valueize (valueize, _q40);
   16087                 :           2 :                                   {
   16088                 :           2 :                                     tree captures[4] ATTRIBUTE_UNUSED = { _p0, _q20, _p1, _q40 };
   16089                 :           2 :                                     if (FLOAT_TYPE_P (TREE_TYPE (captures[1]))
   16090                 :           2 :  || (ANY_INTEGRAL_TYPE_P (TREE_TYPE (captures[1]))
   16091                 :           0 :  && TYPE_OVERFLOW_UNDEFINED (TREE_TYPE (captures[1])))
   16092                 :             : )
   16093                 :             :                                       {
   16094                 :           2 :                                         gimple_seq *lseq = seq;
   16095                 :           2 :                                         if (lseq
   16096                 :           1 :                                             && (!single_use (captures[0])
   16097                 :           1 :                                                 || !single_use (captures[2])))
   16098                 :           1 :                                           lseq = NULL;
   16099                 :           2 :                                         if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail2126;
   16100                 :           2 :                                         {
   16101                 :           2 :                                           res_op->set_op (NEGATE_EXPR, type, 1);
   16102                 :           2 :                                           {
   16103                 :           2 :                                             tree _o1[2], _r1;
   16104                 :           2 :                                             _o1[0] = captures[1];
   16105                 :           2 :                                             _o1[1] = captures[3];
   16106                 :           2 :                                             gimple_match_op tem_op (res_op->cond.any_else (), CFN_BUILT_IN_FMIN, TREE_TYPE (_o1[0]), _o1[0], _o1[1]);
   16107                 :           2 :                                             tem_op.resimplify (lseq, valueize);
   16108                 :           2 :                                             _r1 = maybe_push_res_to_seq (&tem_op, lseq);
   16109                 :           2 :                                             if (!_r1) goto next_after_fail2126;
   16110                 :           1 :                                             res_op->ops[0] = _r1;
   16111                 :             :                                           }
   16112                 :           1 :                                           res_op->resimplify (lseq, valueize);
   16113                 :           1 :                                           if (UNLIKELY (debug_dump)) gimple_dump_logs ("match.pd", 1073, __FILE__, __LINE__, true);
   16114                 :           1 :                                           return true;
   16115                 :             :                                         }
   16116                 :           1 : next_after_fail2126:;
   16117                 :             :                                       }
   16118                 :             :                                   }
   16119                 :           1 :                                   break;
   16120                 :             :                                 }
   16121                 :             :                               default:;
   16122                 :             :                               }
   16123                 :             :                         }
   16124                 :             :                       break;
   16125                 :             :                     default:;
   16126                 :             :                     }
   16127                 :             :                   break;
   16128                 :             :                 }
   16129                 :             :               default:;
   16130                 :             :               }
   16131                 :             :         }
   16132                 :             :       break;
   16133                 :             :     default:;
   16134                 :             :     }
   16135                 :             :   return false;
   16136                 :             : }
   16137                 :             : 
   16138                 :             : bool
   16139                 :           0 : gimple_simplify_CFN_BUILT_IN_FMAXF32 (gimple_match_op *res_op, gimple_seq *seq,
   16140                 :             :                  tree (*valueize)(tree) ATTRIBUTE_UNUSED,
   16141                 :             :                  code_helper ARG_UNUSED (code), tree ARG_UNUSED (type), tree _p0, tree _p1)
   16142                 :             : {
   16143                 :           0 :   const bool debug_dump = dump_file && (dump_flags & TDF_FOLDING);
   16144                 :           0 :   if ((_p1 == _p0 && ! TREE_SIDE_EFFECTS (_p1)) || (operand_equal_p (_p1, _p0, 0) && types_match (_p1, _p0)))
   16145                 :             :     {
   16146                 :           0 :       {
   16147                 :           0 :         tree captures[1] ATTRIBUTE_UNUSED = { _p0 };
   16148                 :           0 :         if (gimple_simplify_492 (res_op, seq, valueize, type, captures, CFN_BUILT_IN_FMAXF32))
   16149                 :           0 :           return true;
   16150                 :             :       }
   16151                 :             :     }
   16152                 :           0 :   switch (TREE_CODE (_p1))
   16153                 :             :     {
   16154                 :           0 :     case REAL_CST:
   16155                 :           0 :       {
   16156                 :           0 :         {
   16157                 :           0 :           tree captures[2] ATTRIBUTE_UNUSED = { _p0, _p1 };
   16158                 :           0 :           if (gimple_simplify_493 (res_op, seq, valueize, type, captures, CFN_BUILT_IN_FMAXF32))
   16159                 :           0 :             return true;
   16160                 :             :         }
   16161                 :           0 :         break;
   16162                 :             :       }
   16163                 :           0 :     default:;
   16164                 :             :     }
   16165                 :           0 :   switch (TREE_CODE (_p0))
   16166                 :             :     {
   16167                 :           0 :     case REAL_CST:
   16168                 :           0 :       {
   16169                 :           0 :         {
   16170                 :           0 :           tree captures[2] ATTRIBUTE_UNUSED = { _p1, _p0 };
   16171                 :           0 :           if (gimple_simplify_493 (res_op, seq, valueize, type, captures, CFN_BUILT_IN_FMAXF32))
   16172                 :           0 :             return true;
   16173                 :             :         }
   16174                 :           0 :         break;
   16175                 :             :       }
   16176                 :           0 :     default:;
   16177                 :             :     }
   16178                 :           0 :   {
   16179                 :           0 :     tree captures[2] ATTRIBUTE_UNUSED = { _p0, _p1 };
   16180                 :           0 :     if (gimple_simplify_495 (res_op, seq, valueize, type, captures, CFN_BUILT_IN_FMAXF32))
   16181                 :           0 :       return true;
   16182                 :             :   }
   16183                 :           0 :   switch (TREE_CODE (_p0))
   16184                 :             :     {
   16185                 :           0 :     case SSA_NAME:
   16186                 :           0 :       if (gimple *_d1 = get_def (valueize, _p0))
   16187                 :             :         {
   16188                 :           0 :           if (gassign *_a1 = dyn_cast <gassign *> (_d1))
   16189                 :           0 :             switch (gimple_assign_rhs_code (_a1))
   16190                 :             :               {
   16191                 :           0 :               case NEGATE_EXPR:
   16192                 :           0 :                 {
   16193                 :           0 :                   tree _q20 = gimple_assign_rhs1 (_a1);
   16194                 :           0 :                   _q20 = do_valueize (valueize, _q20);
   16195                 :           0 :                   switch (TREE_CODE (_p1))
   16196                 :             :                     {
   16197                 :           0 :                     case SSA_NAME:
   16198                 :           0 :                       if (gimple *_d2 = get_def (valueize, _p1))
   16199                 :             :                         {
   16200                 :           0 :                           if (gassign *_a2 = dyn_cast <gassign *> (_d2))
   16201                 :           0 :                             switch (gimple_assign_rhs_code (_a2))
   16202                 :             :                               {
   16203                 :           0 :                               case NEGATE_EXPR:
   16204                 :           0 :                                 {
   16205                 :           0 :                                   tree _q40 = gimple_assign_rhs1 (_a2);
   16206                 :           0 :                                   _q40 = do_valueize (valueize, _q40);
   16207                 :           0 :                                   {
   16208                 :           0 :                                     tree captures[4] ATTRIBUTE_UNUSED = { _p0, _q20, _p1, _q40 };
   16209                 :           0 :                                     if (FLOAT_TYPE_P (TREE_TYPE (captures[1]))
   16210                 :           0 :  || (ANY_INTEGRAL_TYPE_P (TREE_TYPE (captures[1]))
   16211                 :           0 :  && TYPE_OVERFLOW_UNDEFINED (TREE_TYPE (captures[1])))
   16212                 :             : )
   16213                 :             :                                       {
   16214                 :           0 :                                         gimple_seq *lseq = seq;
   16215                 :           0 :                                         if (lseq
   16216                 :           0 :                                             && (!single_use (captures[0])
   16217                 :           0 :                                                 || !single_use (captures[2])))
   16218                 :           0 :                                           lseq = NULL;
   16219                 :           0 :                                         if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail2129;
   16220                 :           0 :                                         {
   16221                 :           0 :                                           res_op->set_op (NEGATE_EXPR, type, 1);
   16222                 :           0 :                                           {
   16223                 :           0 :                                             tree _o1[2], _r1;
   16224                 :           0 :                                             _o1[0] = captures[1];
   16225                 :           0 :                                             _o1[1] = captures[3];
   16226                 :           0 :                                             gimple_match_op tem_op (res_op->cond.any_else (), CFN_BUILT_IN_FMINF32, TREE_TYPE (_o1[0]), _o1[0], _o1[1]);
   16227                 :           0 :                                             tem_op.resimplify (lseq, valueize);
   16228                 :           0 :                                             _r1 = maybe_push_res_to_seq (&tem_op, lseq);
   16229                 :           0 :                                             if (!_r1) goto next_after_fail2129;
   16230                 :           0 :                                             res_op->ops[0] = _r1;
   16231                 :             :                                           }
   16232                 :           0 :                                           res_op->resimplify (lseq, valueize);
   16233                 :           0 :                                           if (UNLIKELY (debug_dump)) gimple_dump_logs ("match.pd", 1073, __FILE__, __LINE__, true);
   16234                 :           0 :                                           return true;
   16235                 :             :                                         }
   16236                 :           0 : next_after_fail2129:;
   16237                 :             :                                       }
   16238                 :             :                                   }
   16239                 :           0 :                                   break;
   16240                 :             :                                 }
   16241                 :             :                               default:;
   16242                 :             :                               }
   16243                 :             :                         }
   16244                 :             :                       break;
   16245                 :             :                     default:;
   16246                 :             :                     }
   16247                 :             :                   break;
   16248                 :             :                 }
   16249                 :             :               default:;
   16250                 :             :               }
   16251                 :             :         }
   16252                 :             :       break;
   16253                 :             :     default:;
   16254                 :             :     }
   16255                 :             :   return false;
   16256                 :             : }
   16257                 :             : 
   16258                 :             : bool
   16259                 :           0 : gimple_simplify_CFN_BUILT_IN_FMAXF64X (gimple_match_op *res_op, gimple_seq *seq,
   16260                 :             :                  tree (*valueize)(tree) ATTRIBUTE_UNUSED,
   16261                 :             :                  code_helper ARG_UNUSED (code), tree ARG_UNUSED (type), tree _p0, tree _p1)
   16262                 :             : {
   16263                 :           0 :   const bool debug_dump = dump_file && (dump_flags & TDF_FOLDING);
   16264                 :           0 :   if ((_p1 == _p0 && ! TREE_SIDE_EFFECTS (_p1)) || (operand_equal_p (_p1, _p0, 0) && types_match (_p1, _p0)))
   16265                 :             :     {
   16266                 :           0 :       {
   16267                 :           0 :         tree captures[1] ATTRIBUTE_UNUSED = { _p0 };
   16268                 :           0 :         if (gimple_simplify_492 (res_op, seq, valueize, type, captures, CFN_BUILT_IN_FMAXF64X))
   16269                 :           0 :           return true;
   16270                 :             :       }
   16271                 :             :     }
   16272                 :           0 :   switch (TREE_CODE (_p1))
   16273                 :             :     {
   16274                 :           0 :     case REAL_CST:
   16275                 :           0 :       {
   16276                 :           0 :         {
   16277                 :           0 :           tree captures[2] ATTRIBUTE_UNUSED = { _p0, _p1 };
   16278                 :           0 :           if (gimple_simplify_493 (res_op, seq, valueize, type, captures, CFN_BUILT_IN_FMAXF64X))
   16279                 :           0 :             return true;
   16280                 :             :         }
   16281                 :           0 :         break;
   16282                 :             :       }
   16283                 :           0 :     default:;
   16284                 :             :     }
   16285                 :           0 :   switch (TREE_CODE (_p0))
   16286                 :             :     {
   16287                 :           0 :     case REAL_CST:
   16288                 :           0 :       {
   16289                 :           0 :         {
   16290                 :           0 :           tree captures[2] ATTRIBUTE_UNUSED = { _p1, _p0 };
   16291                 :           0 :           if (gimple_simplify_493 (res_op, seq, valueize, type, captures, CFN_BUILT_IN_FMAXF64X))
   16292                 :           0 :             return true;
   16293                 :             :         }
   16294                 :           0 :         break;
   16295                 :             :       }
   16296                 :           0 :     default:;
   16297                 :             :     }
   16298                 :           0 :   {
   16299                 :           0 :     tree captures[2] ATTRIBUTE_UNUSED = { _p0, _p1 };
   16300                 :           0 :     if (gimple_simplify_495 (res_op, seq, valueize, type, captures, CFN_BUILT_IN_FMAXF64X))
   16301                 :           0 :       return true;
   16302                 :             :   }
   16303                 :           0 :   switch (TREE_CODE (_p0))
   16304                 :             :     {
   16305                 :           0 :     case SSA_NAME:
   16306                 :           0 :       if (gimple *_d1 = get_def (valueize, _p0))
   16307                 :             :         {
   16308                 :           0 :           if (gassign *_a1 = dyn_cast <gassign *> (_d1))
   16309                 :           0 :             switch (gimple_assign_rhs_code (_a1))
   16310                 :             :               {
   16311                 :           0 :               case NEGATE_EXPR:
   16312                 :           0 :                 {
   16313                 :           0 :                   tree _q20 = gimple_assign_rhs1 (_a1);
   16314                 :           0 :                   _q20 = do_valueize (valueize, _q20);
   16315                 :           0 :                   switch (TREE_CODE (_p1))
   16316                 :             :                     {
   16317                 :           0 :                     case SSA_NAME:
   16318                 :           0 :                       if (gimple *_d2 = get_def (valueize, _p1))
   16319                 :             :                         {
   16320                 :           0 :                           if (gassign *_a2 = dyn_cast <gassign *> (_d2))
   16321                 :           0 :                             switch (gimple_assign_rhs_code (_a2))
   16322                 :             :                               {
   16323                 :           0 :                               case NEGATE_EXPR:
   16324                 :           0 :                                 {
   16325                 :           0 :                                   tree _q40 = gimple_assign_rhs1 (_a2);
   16326                 :           0 :                                   _q40 = do_valueize (valueize, _q40);
   16327                 :           0 :                                   {
   16328                 :           0 :                                     tree captures[4] ATTRIBUTE_UNUSED = { _p0, _q20, _p1, _q40 };
   16329                 :           0 :                                     if (FLOAT_TYPE_P (TREE_TYPE (captures[1]))
   16330                 :           0 :  || (ANY_INTEGRAL_TYPE_P (TREE_TYPE (captures[1]))
   16331                 :           0 :  && TYPE_OVERFLOW_UNDEFINED (TREE_TYPE (captures[1])))
   16332                 :             : )
   16333                 :             :                                       {
   16334                 :           0 :                                         gimple_seq *lseq = seq;
   16335                 :           0 :                                         if (lseq
   16336                 :           0 :                                             && (!single_use (captures[0])
   16337                 :           0 :                                                 || !single_use (captures[2])))
   16338                 :           0 :                                           lseq = NULL;
   16339                 :           0 :                                         if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail2133;
   16340                 :           0 :                                         {
   16341                 :           0 :                                           res_op->set_op (NEGATE_EXPR, type, 1);
   16342                 :           0 :                                           {
   16343                 :           0 :                                             tree _o1[2], _r1;
   16344                 :           0 :                                             _o1[0] = captures[1];
   16345                 :           0 :                                             _o1[1] = captures[3];
   16346                 :           0 :                                             gimple_match_op tem_op (res_op->cond.any_else (), CFN_BUILT_IN_FMINF64X, TREE_TYPE (_o1[0]), _o1[0], _o1[1]);
   16347                 :           0 :                                             tem_op.resimplify (lseq, valueize);
   16348                 :           0 :                                             _r1 = maybe_push_res_to_seq (&tem_op, lseq);
   16349                 :           0 :                                             if (!_r1) goto next_after_fail2133;
   16350                 :           0 :                                             res_op->ops[0] = _r1;
   16351                 :             :                                           }
   16352                 :           0 :                                           res_op->resimplify (lseq, valueize);
   16353                 :           0 :                                           if (UNLIKELY (debug_dump)) gimple_dump_logs ("match.pd", 1073, __FILE__, __LINE__, true);
   16354                 :           0 :                                           return true;
   16355                 :             :                                         }
   16356                 :           0 : next_after_fail2133:;
   16357                 :             :                                       }
   16358                 :             :                                   }
   16359                 :           0 :                                   break;
   16360                 :             :                                 }
   16361                 :             :                               default:;
   16362                 :             :                               }
   16363                 :             :                         }
   16364                 :             :                       break;
   16365                 :             :                     default:;
   16366                 :             :                     }
   16367                 :             :                   break;
   16368                 :             :                 }
   16369                 :             :               default:;
   16370                 :             :               }
   16371                 :             :         }
   16372                 :             :       break;
   16373                 :             :     default:;
   16374                 :             :     }
   16375                 :             :   return false;
   16376                 :             : }
   16377                 :             : 
   16378                 :             : bool
   16379                 :      197346 : gimple_simplify_COMPLEX_EXPR (gimple_match_op *res_op, gimple_seq *seq,
   16380                 :             :                  tree (*valueize)(tree) ATTRIBUTE_UNUSED,
   16381                 :             :                  code_helper ARG_UNUSED (code), tree ARG_UNUSED (type), tree _p0, tree _p1)
   16382                 :             : {
   16383                 :      197346 :   const bool debug_dump = dump_file && (dump_flags & TDF_FOLDING);
   16384                 :      197346 :   switch (TREE_CODE (_p0))
   16385                 :             :     {
   16386                 :      191514 :     case SSA_NAME:
   16387                 :      191514 :       if (gimple *_d1 = get_def (valueize, _p0))
   16388                 :             :         {
   16389                 :      133945 :           if (gassign *_a1 = dyn_cast <gassign *> (_d1))
   16390                 :      126766 :             switch (gimple_assign_rhs_code (_a1))
   16391                 :             :               {
   16392                 :        4718 :               case REALPART_EXPR:
   16393                 :        4718 :                 {
   16394                 :        4718 :                   tree _q20 = TREE_OPERAND (gimple_assign_rhs1 (_a1), 0);
   16395                 :        4718 :                   if ((TREE_CODE (_q20) == SSA_NAME
   16396                 :        4718 :                        || is_gimple_min_invariant (_q20)))
   16397                 :             :                     {
   16398                 :        3563 :                       _q20 = do_valueize (valueize, _q20);
   16399                 :        3563 :                       switch (TREE_CODE (_p1))
   16400                 :             :                         {
   16401                 :        3295 :                         case SSA_NAME:
   16402                 :        3295 :                           if (gimple *_d2 = get_def (valueize, _p1))
   16403                 :             :                             {
   16404                 :        3213 :                               if (gassign *_a2 = dyn_cast <gassign *> (_d2))
   16405                 :        4518 :                                 switch (gimple_assign_rhs_code (_a2))
   16406                 :             :                                   {
   16407                 :        1657 :                                   case IMAGPART_EXPR:
   16408                 :        1657 :                                     {
   16409                 :        1657 :                                       tree _q40 = TREE_OPERAND (gimple_assign_rhs1 (_a2), 0);
   16410                 :        1657 :                                       if ((TREE_CODE (_q40) == SSA_NAME
   16411                 :        1657 :                                            || is_gimple_min_invariant (_q40)))
   16412                 :             :                                         {
   16413                 :        1657 :                                           _q40 = do_valueize (valueize, _q40);
   16414                 :        1657 :                                           if ((_q40 == _q20 && ! TREE_SIDE_EFFECTS (_q40)) || (operand_equal_p (_q40, _q20, 0) && types_match (_q40, _q20)))
   16415                 :             :                                             {
   16416                 :        1611 :                                               {
   16417                 :        1611 :                                                 tree captures[1] ATTRIBUTE_UNUSED = { _q20 };
   16418                 :        1611 :                                                 gimple_seq *lseq = seq;
   16419                 :        1611 :                                                 if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail2137;
   16420                 :        1611 :                                                 {
   16421                 :        1611 :                                                   tree tem;
   16422                 :        1611 :                                                   tem = captures[0];
   16423                 :        1611 :                                                   res_op->set_value (tem);
   16424                 :        1611 :                                                   if (UNLIKELY (debug_dump)) gimple_dump_logs ("match.pd", 1079, __FILE__, __LINE__, true);
   16425                 :        1611 :                                                   return true;
   16426                 :             :                                                 }
   16427                 :           0 : next_after_fail2137:;
   16428                 :             :                                               }
   16429                 :             :                                             }
   16430                 :             :                                         }
   16431                 :             :                                       break;
   16432                 :             :                                     }
   16433                 :             :                                   default:;
   16434                 :             :                                   }
   16435                 :             :                             }
   16436                 :             :                           break;
   16437                 :             :                         default:;
   16438                 :             :                         }
   16439                 :             :                     }
   16440                 :             :                   break;
   16441                 :             :                 }
   16442                 :             :               default:;
   16443                 :             :               }
   16444                 :             :         }
   16445                 :             :       break;
   16446                 :             :     default:;
   16447                 :             :     }
   16448                 :             :   return false;
   16449                 :             : }
   16450                 :             : 
   16451                 :             : bool
   16452                 :      126200 : gimple_simplify_UNGT_EXPR (gimple_match_op *res_op, gimple_seq *seq,
   16453                 :             :                  tree (*valueize)(tree) ATTRIBUTE_UNUSED,
   16454                 :             :                  code_helper ARG_UNUSED (code), tree ARG_UNUSED (type), tree _p0, tree _p1)
   16455                 :             : {
   16456                 :      126200 :   const bool debug_dump = dump_file && (dump_flags & TDF_FOLDING);
   16457                 :      126200 :   switch (TREE_CODE (_p0))
   16458                 :             :     {
   16459                 :      125744 :     case SSA_NAME:
   16460                 :      125744 :       if (gimple *_d1 = get_def (valueize, _p0))
   16461                 :             :         {
   16462                 :       47497 :           if (gassign *_a1 = dyn_cast <gassign *> (_d1))
   16463                 :       52299 :             switch (gimple_assign_rhs_code (_a1))
   16464                 :             :               {
   16465                 :           0 :               case VEC_COND_EXPR:
   16466                 :           0 :                 {
   16467                 :           0 :                   tree _q20 = gimple_assign_rhs1 (_a1);
   16468                 :           0 :                   _q20 = do_valueize (valueize, _q20);
   16469                 :           0 :                   tree _q21 = gimple_assign_rhs2 (_a1);
   16470                 :           0 :                   _q21 = do_valueize (valueize, _q21);
   16471                 :           0 :                   tree _q22 = gimple_assign_rhs3 (_a1);
   16472                 :           0 :                   _q22 = do_valueize (valueize, _q22);
   16473                 :           0 :                   switch (TREE_CODE (_p1))
   16474                 :             :                     {
   16475                 :           0 :                     case SSA_NAME:
   16476                 :           0 :                       if (gimple *_d2 = get_def (valueize, _p1))
   16477                 :             :                         {
   16478                 :           0 :                           if (gassign *_a2 = dyn_cast <gassign *> (_d2))
   16479                 :           0 :                             switch (gimple_assign_rhs_code (_a2))
   16480                 :             :                               {
   16481                 :           0 :                               case VEC_COND_EXPR:
   16482                 :           0 :                                 {
   16483                 :           0 :                                   tree _q60 = gimple_assign_rhs1 (_a2);
   16484                 :           0 :                                   _q60 = do_valueize (valueize, _q60);
   16485                 :           0 :                                   tree _q61 = gimple_assign_rhs2 (_a2);
   16486                 :           0 :                                   _q61 = do_valueize (valueize, _q61);
   16487                 :           0 :                                   tree _q62 = gimple_assign_rhs3 (_a2);
   16488                 :           0 :                                   _q62 = do_valueize (valueize, _q62);
   16489                 :           0 :                                   if ((_q60 == _q20 && ! TREE_SIDE_EFFECTS (_q60)) || (operand_equal_p (_q60, _q20, 0) && types_match (_q60, _q20)))
   16490                 :             :                                     {
   16491                 :           0 :                                       {
   16492                 :           0 :                                         tree captures[7] ATTRIBUTE_UNUSED = { _p0, _q20, _q21, _q22, _p1, _q61, _q62 };
   16493                 :           0 :                                         if (TREE_CODE_CLASS (UNGT_EXPR) != tcc_comparison
   16494                 :           0 :  || types_match (type, TREE_TYPE (captures[2]))
   16495                 :           0 :  || expand_vec_cond_expr_p (type, TREE_TYPE (captures[1]), ERROR_MARK)
   16496                 :             :  || (optimize_vectors_before_lowering_p ()
   16497                 :           0 :  && !expand_vec_cond_expr_p (TREE_TYPE (captures[2]),
   16498                 :           0 :  TREE_TYPE (captures[1]), ERROR_MARK))
   16499                 :             : )
   16500                 :             :                                           {
   16501                 :           0 :                                             gimple_seq *lseq = seq;
   16502                 :           0 :                                             if (lseq
   16503                 :           0 :                                                 && (!single_use (captures[0])
   16504                 :           0 :                                                     || !single_use (captures[4])))
   16505                 :           0 :                                               lseq = NULL;
   16506                 :           0 :                                             if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail2154;
   16507                 :           0 :                                             {
   16508                 :           0 :                                               res_op->set_op (VEC_COND_EXPR, type, 3);
   16509                 :           0 :                                               res_op->ops[0] = captures[1];
   16510                 :           0 :                                               {
   16511                 :           0 :                                                 tree _o1[2], _r1;
   16512                 :           0 :                                                 _o1[0] = captures[2];
   16513                 :           0 :                                                 _o1[1] = captures[5];
   16514                 :           0 :                                                 gimple_match_op tem_op (res_op->cond.any_else (), UNGT_EXPR, type, _o1[0], _o1[1]);
   16515                 :           0 :                                                 tem_op.resimplify (NULL, valueize);
   16516                 :           0 :                                                 _r1 = maybe_push_res_to_seq (&tem_op, NULL);
   16517                 :           0 :                                                 if (!_r1) goto next_after_fail2154;
   16518                 :           0 :                                                 res_op->ops[1] = _r1;
   16519                 :             :                                               }
   16520                 :           0 :                                               {
   16521                 :           0 :                                                 tree _o1[2], _r1;
   16522                 :           0 :                                                 _o1[0] = captures[3];
   16523                 :           0 :                                                 _o1[1] = captures[6];
   16524                 :           0 :                                                 gimple_match_op tem_op (res_op->cond.any_else (), UNGT_EXPR, type, _o1[0], _o1[1]);
   16525                 :           0 :                                                 tem_op.resimplify (NULL, valueize);
   16526                 :           0 :                                                 _r1 = maybe_push_res_to_seq (&tem_op, NULL);
   16527                 :           0 :                                                 if (!_r1) goto next_after_fail2154;
   16528                 :           0 :                                                 res_op->ops[2] = _r1;
   16529                 :             :                                               }
   16530                 :           0 :                                               res_op->resimplify (lseq, valueize);
   16531                 :           0 :                                               if (UNLIKELY (debug_dump)) gimple_dump_logs ("match.pd", 925, __FILE__, __LINE__, true);
   16532                 :           0 :                                               return true;
   16533                 :             :                                             }
   16534                 :           0 : next_after_fail2154:;
   16535                 :             :                                           }
   16536                 :             :                                       }
   16537                 :             :                                     }
   16538                 :             :                                   break;
   16539                 :             :                                 }
   16540                 :             :                               default:;
   16541                 :             :                               }
   16542                 :             :                         }
   16543                 :             :                       break;
   16544                 :           0 :                     default:;
   16545                 :             :                     }
   16546                 :           0 :                   {
   16547                 :           0 :                     tree captures[5] ATTRIBUTE_UNUSED = { _p0, _q20, _q21, _q22, _p1 };
   16548                 :           0 :                     if (TREE_CODE_CLASS (UNGT_EXPR) != tcc_comparison
   16549                 :           0 :  || types_match (type, TREE_TYPE (captures[2]))
   16550                 :           0 :  || expand_vec_cond_expr_p (type, TREE_TYPE (captures[1]), ERROR_MARK)
   16551                 :             :  || (optimize_vectors_before_lowering_p ()
   16552                 :           0 :  && !expand_vec_cond_expr_p (TREE_TYPE (captures[2]),
   16553                 :           0 :  TREE_TYPE (captures[1]), ERROR_MARK))
   16554                 :             : )
   16555                 :             :                       {
   16556                 :           0 :                         gimple_seq *lseq = seq;
   16557                 :           0 :                         if (lseq
   16558                 :           0 :                             && (!single_use (captures[0])))
   16559                 :           0 :                           lseq = NULL;
   16560                 :           0 :                         if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail2155;
   16561                 :           0 :                         {
   16562                 :           0 :                           res_op->set_op (VEC_COND_EXPR, type, 3);
   16563                 :           0 :                           res_op->ops[0] = captures[1];
   16564                 :           0 :                           {
   16565                 :           0 :                             tree _o1[2], _r1;
   16566                 :           0 :                             _o1[0] = captures[2];
   16567                 :           0 :                             _o1[1] = captures[4];
   16568                 :           0 :                             gimple_match_op tem_op (res_op->cond.any_else (), UNGT_EXPR, type, _o1[0], _o1[1]);
   16569                 :           0 :                             tem_op.resimplify (NULL, valueize);
   16570                 :           0 :                             _r1 = maybe_push_res_to_seq (&tem_op, NULL);
   16571                 :           0 :                             if (!_r1) goto next_after_fail2155;
   16572                 :           0 :                             res_op->ops[1] = _r1;
   16573                 :             :                           }
   16574                 :           0 :                           {
   16575                 :           0 :                             tree _o1[2], _r1;
   16576                 :           0 :                             _o1[0] = captures[3];
   16577                 :           0 :                             _o1[1] = captures[4];
   16578                 :           0 :                             gimple_match_op tem_op (res_op->cond.any_else (), UNGT_EXPR, type, _o1[0], _o1[1]);
   16579                 :           0 :                             tem_op.resimplify (NULL, valueize);
   16580                 :           0 :                             _r1 = maybe_push_res_to_seq (&tem_op, NULL);
   16581                 :           0 :                             if (!_r1) goto next_after_fail2155;
   16582                 :           0 :                             res_op->ops[2] = _r1;
   16583                 :             :                           }
   16584                 :           0 :                           res_op->resimplify (lseq, valueize);
   16585                 :           0 :                           if (UNLIKELY (debug_dump)) gimple_dump_logs ("match.pd", 926, __FILE__, __LINE__, true);
   16586                 :           0 :                           return true;
   16587                 :             :                         }
   16588                 :           0 : next_after_fail2155:;
   16589                 :             :                       }
   16590                 :             :                   }
   16591                 :           0 :                   break;
   16592                 :             :                 }
   16593                 :             :               default:;
   16594                 :             :               }
   16595                 :             :         }
   16596                 :             :       break;
   16597                 :      126200 :     default:;
   16598                 :             :     }
   16599                 :      126200 :   switch (TREE_CODE (_p1))
   16600                 :             :     {
   16601                 :       13520 :     case SSA_NAME:
   16602                 :       13520 :       if (gimple *_d1 = get_def (valueize, _p1))
   16603                 :             :         {
   16604                 :        7634 :           if (gassign *_a1 = dyn_cast <gassign *> (_d1))
   16605                 :       10702 :             switch (gimple_assign_rhs_code (_a1))
   16606                 :             :               {
   16607                 :           0 :               case VEC_COND_EXPR:
   16608                 :           0 :                 {
   16609                 :           0 :                   tree _q30 = gimple_assign_rhs1 (_a1);
   16610                 :           0 :                   _q30 = do_valueize (valueize, _q30);
   16611                 :           0 :                   tree _q31 = gimple_assign_rhs2 (_a1);
   16612                 :           0 :                   _q31 = do_valueize (valueize, _q31);
   16613                 :           0 :                   tree _q32 = gimple_assign_rhs3 (_a1);
   16614                 :           0 :                   _q32 = do_valueize (valueize, _q32);
   16615                 :           0 :                   {
   16616                 :           0 :                     tree captures[5] ATTRIBUTE_UNUSED = { _p0, _p1, _q30, _q31, _q32 };
   16617                 :           0 :                     if (TREE_CODE_CLASS (UNGT_EXPR) != tcc_comparison
   16618                 :           0 :  || types_match (type, TREE_TYPE (captures[3]))
   16619                 :           0 :  || expand_vec_cond_expr_p (type, TREE_TYPE (captures[2]), ERROR_MARK)
   16620                 :             :  || (optimize_vectors_before_lowering_p ()
   16621                 :           0 :  && !expand_vec_cond_expr_p (TREE_TYPE (captures[3]),
   16622                 :           0 :  TREE_TYPE (captures[2]), ERROR_MARK))
   16623                 :             : )
   16624                 :             :                       {
   16625                 :           0 :                         gimple_seq *lseq = seq;
   16626                 :           0 :                         if (lseq
   16627                 :           0 :                             && (!single_use (captures[1])))
   16628                 :           0 :                           lseq = NULL;
   16629                 :           0 :                         if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail2156;
   16630                 :           0 :                         {
   16631                 :           0 :                           res_op->set_op (VEC_COND_EXPR, type, 3);
   16632                 :           0 :                           res_op->ops[0] = captures[2];
   16633                 :           0 :                           {
   16634                 :           0 :                             tree _o1[2], _r1;
   16635                 :           0 :                             _o1[0] = captures[0];
   16636                 :           0 :                             _o1[1] = captures[3];
   16637                 :           0 :                             gimple_match_op tem_op (res_op->cond.any_else (), UNGT_EXPR, type, _o1[0], _o1[1]);
   16638                 :           0 :                             tem_op.resimplify (NULL, valueize);
   16639                 :           0 :                             _r1 = maybe_push_res_to_seq (&tem_op, NULL);
   16640                 :           0 :                             if (!_r1) goto next_after_fail2156;
   16641                 :           0 :                             res_op->ops[1] = _r1;
   16642                 :             :                           }
   16643                 :           0 :                           {
   16644                 :           0 :                             tree _o1[2], _r1;
   16645                 :           0 :                             _o1[0] = captures[0];
   16646                 :           0 :                             _o1[1] = captures[4];
   16647                 :           0 :                             gimple_match_op tem_op (res_op->cond.any_else (), UNGT_EXPR, type, _o1[0], _o1[1]);
   16648                 :           0 :                             tem_op.resimplify (NULL, valueize);
   16649                 :           0 :                             _r1 = maybe_push_res_to_seq (&tem_op, NULL);
   16650                 :           0 :                             if (!_r1) goto next_after_fail2156;
   16651                 :           0 :                             res_op->ops[2] = _r1;
   16652                 :             :                           }
   16653                 :           0 :                           res_op->resimplify (lseq, valueize);
   16654                 :           0 :                           if (UNLIKELY (debug_dump)) gimple_dump_logs ("match.pd", 927, __FILE__, __LINE__, true);
   16655                 :           0 :                           return true;
   16656                 :             :                         }
   16657                 :           0 : next_after_fail2156:;
   16658                 :             :                       }
   16659                 :             :                   }
   16660                 :           0 :                   break;
   16661                 :             :                 }
   16662                 :             :               default:;
   16663                 :             :               }
   16664                 :             :         }
   16665                 :             :       break;
   16666                 :      126200 :     default:;
   16667                 :             :     }
   16668                 :      126200 :   if ((_p1 == _p0 && ! TREE_SIDE_EFFECTS (_p1)) || (operand_equal_p (_p1, _p0, 0) && types_match (_p1, _p0)))
   16669                 :             :     {
   16670                 :           5 :       {
   16671                 :           5 :         tree captures[1] ATTRIBUTE_UNUSED = { _p0 };
   16672                 :           5 :         if (gimple_simplify_595 (res_op, seq, valueize, type, captures, UNGT_EXPR))
   16673                 :           5 :           return true;
   16674                 :             :       }
   16675                 :             :     }
   16676                 :      126195 :   switch (TREE_CODE (_p0))
   16677                 :             :     {
   16678                 :      125739 :     case SSA_NAME:
   16679                 :      125739 :       if (gimple *_d1 = get_def (valueize, _p0))
   16680                 :             :         {
   16681                 :       47496 :           if (gassign *_a1 = dyn_cast <gassign *> (_d1))
   16682                 :       52299 :             switch (gimple_assign_rhs_code (_a1))
   16683                 :             :               {
   16684                 :         961 :               case FLOAT_EXPR:
   16685                 :         961 :                 {
   16686                 :         961 :                   tree _q20 = gimple_assign_rhs1 (_a1);
   16687                 :         961 :                   _q20 = do_valueize (valueize, _q20);
   16688                 :         961 :                   switch (TREE_CODE (_p1))
   16689                 :             :                     {
   16690                 :           0 :                     case SSA_NAME:
   16691                 :           0 :                       if (gimple *_d2 = get_def (valueize, _p1))
   16692                 :             :                         {
   16693                 :           0 :                           if (gassign *_a2 = dyn_cast <gassign *> (_d2))
   16694                 :           0 :                             switch (gimple_assign_rhs_code (_a2))
   16695                 :             :                               {
   16696                 :           0 :                               case FLOAT_EXPR:
   16697                 :           0 :                                 {
   16698                 :           0 :                                   tree _q40 = gimple_assign_rhs1 (_a2);
   16699                 :           0 :                                   _q40 = do_valueize (valueize, _q40);
   16700                 :           0 :                                   {
   16701                 :           0 :                                     tree captures[3] ATTRIBUTE_UNUSED = { _p0, _q20, _q40 };
   16702                 :           0 :                                     if (gimple_simplify_257 (res_op, seq, valueize, type, captures, UNGT_EXPR, GT_EXPR))
   16703                 :           0 :                                       return true;
   16704                 :             :                                   }
   16705                 :           0 :                                   break;
   16706                 :             :                                 }
   16707                 :             :                               default:;
   16708                 :             :                               }
   16709                 :             :                         }
   16710                 :             :                       break;
   16711                 :             :                     default:;
   16712                 :             :                     }
   16713                 :             :                   break;
   16714                 :             :                 }
   16715                 :          30 :               case NEGATE_EXPR:
   16716                 :          30 :                 {
   16717                 :          30 :                   tree _q20 = gimple_assign_rhs1 (_a1);
   16718                 :          30 :                   _q20 = do_valueize (valueize, _q20);
   16719                 :          30 :                   switch (TREE_CODE (_p1))
   16720                 :             :                     {
   16721                 :          30 :                     case SSA_NAME:
   16722                 :          30 :                       if (gimple *_d2 = get_def (valueize, _p1))
   16723                 :             :                         {
   16724                 :          30 :                           if (gassign *_a2 = dyn_cast <gassign *> (_d2))
   16725                 :          30 :                             switch (gimple_assign_rhs_code (_a2))
   16726                 :             :                               {
   16727                 :          30 :                               case NEGATE_EXPR:
   16728                 :          30 :                                 {
   16729                 :          30 :                                   tree _q40 = gimple_assign_rhs1 (_a2);
   16730                 :          30 :                                   _q40 = do_valueize (valueize, _q40);
   16731                 :          30 :                                   {
   16732                 :          30 :                                     tree captures[2] ATTRIBUTE_UNUSED = { _q20, _q40 };
   16733                 :          30 :                                     if (gimple_simplify_260 (res_op, seq, valueize, type, captures, UNGT_EXPR, UNLT_EXPR))
   16734                 :          30 :                                       return true;
   16735                 :             :                                   }
   16736                 :           0 :                                   break;
   16737                 :             :                                 }
   16738                 :             :                               default:;
   16739                 :             :                               }
   16740                 :             :                         }
   16741                 :             :                       break;
   16742                 :           0 :                     default:;
   16743                 :             :                     }
   16744                 :           0 :                 if (CONSTANT_CLASS_P (_p1))
   16745                 :             :                   {
   16746                 :           0 :                     {
   16747                 :           0 :                       tree captures[2] ATTRIBUTE_UNUSED = { _q20, _p1 };
   16748                 :           0 :                       if (gimple_simplify_261 (res_op, seq, valueize, type, captures, UNGT_EXPR, UNLT_EXPR))
   16749                 :           0 :                         return true;
   16750                 :             :                     }
   16751                 :             :                   }
   16752                 :             :                   break;
   16753                 :             :                 }
   16754                 :             :               default:;
   16755                 :             :               }
   16756                 :             :         }
   16757                 :             :       break;
   16758                 :      126165 :     default:;
   16759                 :             :     }
   16760                 :      126165 :   switch (TREE_CODE (_p1))
   16761                 :             :     {
   16762                 :      112345 :     case REAL_CST:
   16763                 :      112345 :       {
   16764                 :      112345 :         {
   16765                 :      112345 :           tree captures[2] ATTRIBUTE_UNUSED = { _p0, _p1 };
   16766                 :      112345 :           if (gimple_simplify_594 (res_op, seq, valueize, type, captures, UNGT_EXPR))
   16767                 :           0 :             return true;
   16768                 :             :         }
   16769                 :      112345 :         break;
   16770                 :             :       }
   16771                 :             :     default:;
   16772                 :             :     }
   16773                 :             :   return false;
   16774                 :             : }
   16775                 :             : 
   16776                 :             : bool
   16777                 :        1250 : gimple_simplify_CFN_BUILT_IN_LDEXPF (gimple_match_op *res_op, gimple_seq *seq,
   16778                 :             :                  tree (*valueize)(tree) ATTRIBUTE_UNUSED,
   16779                 :             :                  code_helper ARG_UNUSED (code), tree ARG_UNUSED (type), tree _p0, tree _p1)
   16780                 :             : {
   16781                 :        1250 :   const bool debug_dump = dump_file && (dump_flags & TDF_FOLDING);
   16782                 :        1250 :   if (real_zerop (_p0))
   16783                 :             :     {
   16784                 :          28 :       {
   16785                 :          28 :         tree captures[2] ATTRIBUTE_UNUSED = { _p0, _p1 };
   16786                 :          28 :         if (gimple_simplify_608 (res_op, seq, valueize, type, captures))
   16787                 :          28 :           return true;
   16788                 :             :       }
   16789                 :             :     }
   16790                 :        1222 :   if (integer_zerop (_p1))
   16791                 :             :     {
   16792                 :           7 :       {
   16793                 :           7 :         tree captures[2] ATTRIBUTE_UNUSED = { _p0, _p1 };
   16794                 :           7 :         if (gimple_simplify_609 (res_op, seq, valueize, type, captures))
   16795                 :           7 :           return true;
   16796                 :             :       }
   16797                 :             :     }
   16798                 :        1215 :   switch (TREE_CODE (_p0))
   16799                 :             :     {
   16800                 :         920 :     case REAL_CST:
   16801                 :         920 :       {
   16802                 :         920 :         {
   16803                 :         920 :           tree captures[2] ATTRIBUTE_UNUSED = { _p0, _p1 };
   16804                 :         920 :           if (!real_isfinite (TREE_REAL_CST_PTR (captures[0]))
   16805                 :             : )
   16806                 :             :             {
   16807                 :          56 :               gimple_seq *lseq = seq;
   16808                 :          56 :               if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail2167;
   16809                 :          56 :               {
   16810                 :          56 :                 tree tem;
   16811                 :          56 :                 tem = captures[0];
   16812                 :          56 :                 res_op->set_value (tem);
   16813                 :          56 :                 if (UNLIKELY (debug_dump)) gimple_dump_logs ("match.pd", 1085, __FILE__, __LINE__, true);
   16814                 :          56 :                 return true;
   16815                 :             :               }
   16816                 :           0 : next_after_fail2167:;
   16817                 :             :             }
   16818                 :             :         }
   16819                 :         864 :         break;
   16820                 :             :       }
   16821                 :             :     default:;
   16822                 :             :     }
   16823                 :             :   return false;
   16824                 :             : }
   16825                 :             : 
   16826                 :             : bool
   16827                 :        1715 : gimple_simplify_CFN_BUILT_IN_LDEXPL (gimple_match_op *res_op, gimple_seq *seq,
   16828                 :             :                  tree (*valueize)(tree) ATTRIBUTE_UNUSED,
   16829                 :             :                  code_helper ARG_UNUSED (code), tree ARG_UNUSED (type), tree _p0, tree _p1)
   16830                 :             : {
   16831                 :        1715 :   const bool debug_dump = dump_file && (dump_flags & TDF_FOLDING);
   16832                 :        1715 :   if (real_zerop (_p0))
   16833                 :             :     {
   16834                 :          28 :       {
   16835                 :          28 :         tree captures[2] ATTRIBUTE_UNUSED = { _p0, _p1 };
   16836                 :          28 :         if (gimple_simplify_608 (res_op, seq, valueize, type, captures))
   16837                 :          28 :           return true;
   16838                 :             :       }
   16839                 :             :     }
   16840                 :        1687 :   if (integer_zerop (_p1))
   16841                 :             :     {
   16842                 :           9 :       {
   16843                 :           9 :         tree captures[2] ATTRIBUTE_UNUSED = { _p0, _p1 };
   16844                 :           9 :         if (gimple_simplify_609 (res_op, seq, valueize, type, captures))
   16845                 :           9 :           return true;
   16846                 :             :       }
   16847                 :             :     }
   16848                 :        1678 :   switch (TREE_CODE (_p0))
   16849                 :             :     {
   16850                 :         949 :     case REAL_CST:
   16851                 :         949 :       {
   16852                 :         949 :         {
   16853                 :         949 :           tree captures[2] ATTRIBUTE_UNUSED = { _p0, _p1 };
   16854                 :         949 :           if (!real_isfinite (TREE_REAL_CST_PTR (captures[0]))
   16855                 :             : )
   16856                 :             :             {
   16857                 :          56 :               gimple_seq *lseq = seq;
   16858                 :          56 :               if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail2169;
   16859                 :          56 :               {
   16860                 :          56 :                 tree tem;
   16861                 :          56 :                 tem = captures[0];
   16862                 :          56 :                 res_op->set_value (tem);
   16863                 :          56 :                 if (UNLIKELY (debug_dump)) gimple_dump_logs ("match.pd", 1085, __FILE__, __LINE__, true);
   16864                 :          56 :                 return true;
   16865                 :             :               }
   16866                 :           0 : next_after_fail2169:;
   16867                 :             :             }
   16868                 :             :         }
   16869                 :         893 :         break;
   16870                 :             :       }
   16871                 :             :     default:;
   16872                 :             :     }
   16873                 :             :   return false;
   16874                 :             : }
   16875                 :             : 
   16876                 :             : bool
   16877                 :        1020 : gimple_simplify_CFN_BUILT_IN_SCALBLN (gimple_match_op *res_op, gimple_seq *seq,
   16878                 :             :                  tree (*valueize)(tree) ATTRIBUTE_UNUSED,
   16879                 :             :                  code_helper ARG_UNUSED (code), tree ARG_UNUSED (type), tree _p0, tree _p1)
   16880                 :             : {
   16881                 :        1020 :   const bool debug_dump = dump_file && (dump_flags & TDF_FOLDING);
   16882                 :        1020 :   if (real_zerop (_p0))
   16883                 :             :     {
   16884                 :          28 :       {
   16885                 :          28 :         tree captures[2] ATTRIBUTE_UNUSED = { _p0, _p1 };
   16886                 :          28 :         if (gimple_simplify_608 (res_op, seq, valueize, type, captures))
   16887                 :          28 :           return true;
   16888                 :             :       }
   16889                 :             :     }
   16890                 :         992 :   if (integer_zerop (_p1))
   16891                 :             :     {
   16892                 :           7 :       {
   16893                 :           7 :         tree captures[2] ATTRIBUTE_UNUSED = { _p0, _p1 };
   16894                 :           7 :         if (gimple_simplify_609 (res_op, seq, valueize, type, captures))
   16895                 :           7 :           return true;
   16896                 :             :       }
   16897                 :             :     }
   16898                 :         985 :   switch (TREE_CODE (_p0))
   16899                 :             :     {
   16900                 :         880 :     case REAL_CST:
   16901                 :         880 :       {
   16902                 :         880 :         {
   16903                 :         880 :           tree captures[2] ATTRIBUTE_UNUSED = { _p0, _p1 };
   16904                 :         880 :           if (!real_isfinite (TREE_REAL_CST_PTR (captures[0]))
   16905                 :             : )
   16906                 :             :             {
   16907                 :          56 :               gimple_seq *lseq = seq;
   16908                 :          56 :               if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail2175;
   16909                 :          56 :               {
   16910                 :          56 :                 tree tem;
   16911                 :          56 :                 tem = captures[0];
   16912                 :          56 :                 res_op->set_value (tem);
   16913                 :          56 :                 if (UNLIKELY (debug_dump)) gimple_dump_logs ("match.pd", 1085, __FILE__, __LINE__, true);
   16914                 :          56 :                 return true;
   16915                 :             :               }
   16916                 :           0 : next_after_fail2175:;
   16917                 :             :             }
   16918                 :             :         }
   16919                 :         824 :         break;
   16920                 :             :       }
   16921                 :             :     default:;
   16922                 :             :     }
   16923                 :             :   return false;
   16924                 :             : }
   16925                 :             : 
   16926                 :             : bool
   16927                 :      151038 : gimple_simplify_VEC_COND_EXPR (gimple_match_op *res_op, gimple_seq *seq,
   16928                 :             :                  tree (*valueize)(tree) ATTRIBUTE_UNUSED,
   16929                 :             :                  code_helper ARG_UNUSED (code), tree ARG_UNUSED (type), tree _p0, tree _p1, tree _p2)
   16930                 :             : {
   16931                 :      151038 :   const bool debug_dump = dump_file && (dump_flags & TDF_FOLDING);
   16932                 :      151038 :   switch (TREE_CODE (_p0))
   16933                 :             :     {
   16934                 :      150794 :     case SSA_NAME:
   16935                 :      150794 :       if (gimple *_d1 = get_def (valueize, _p0))
   16936                 :             :         {
   16937                 :      127993 :           if (gassign *_a1 = dyn_cast <gassign *> (_d1))
   16938                 :      128471 :             switch (gimple_assign_rhs_code (_a1))
   16939                 :             :               {
   16940                 :          30 :               case VEC_COND_EXPR:
   16941                 :          30 :                 {
   16942                 :          30 :                   tree _q20 = gimple_assign_rhs1 (_a1);
   16943                 :          30 :                   _q20 = do_valueize (valueize, _q20);
   16944                 :          30 :                   tree _q21 = gimple_assign_rhs2 (_a1);
   16945                 :          30 :                   _q21 = do_valueize (valueize, _q21);
   16946                 :          30 :                   tree _q22 = gimple_assign_rhs3 (_a1);
   16947                 :          30 :                   _q22 = do_valueize (valueize, _q22);
   16948                 :          30 :                   if (integer_zerop (_q22))
   16949                 :             :                     {
   16950                 :           0 :                       {
   16951                 :           0 :                         tree captures[5] ATTRIBUTE_UNUSED = { _p0, _q20, _q21, _p1, _p2 };
   16952                 :           0 :                         if (optimize_vectors_before_lowering_p () && types_match (captures[1], captures[2])
   16953                 :             : )
   16954                 :             :                           {
   16955                 :           0 :                             gimple_seq *lseq = seq;
   16956                 :           0 :                             if (lseq
   16957                 :           0 :                                 && (!single_use (captures[0])))
   16958                 :           0 :                               lseq = NULL;
   16959                 :           0 :                             if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail2233;
   16960                 :           0 :                             {
   16961                 :           0 :                               res_op->set_op (VEC_COND_EXPR, type, 3);
   16962                 :           0 :                               {
   16963                 :           0 :                                 tree _o1[2], _r1;
   16964                 :           0 :                                 _o1[0] = captures[1];
   16965                 :           0 :                                 _o1[1] = captures[2];
   16966                 :           0 :                                 gimple_match_op tem_op (res_op->cond.any_else (), BIT_AND_EXPR, TREE_TYPE (_o1[0]), _o1[0], _o1[1]);
   16967                 :           0 :                                 tem_op.resimplify (lseq, valueize);
   16968                 :           0 :                                 _r1 = maybe_push_res_to_seq (&tem_op, lseq);
   16969                 :           0 :                                 if (!_r1) goto next_after_fail2233;
   16970                 :           0 :                                 res_op->ops[0] = _r1;
   16971                 :             :                               }
   16972                 :           0 :                               res_op->ops[1] = captures[3];
   16973                 :           0 :                               res_op->ops[2] = captures[4];
   16974                 :           0 :                               res_op->resimplify (lseq, valueize);
   16975                 :           0 :                               if (UNLIKELY (debug_dump)) gimple_dump_logs ("match.pd", 1110, __FILE__, __LINE__, true);
   16976                 :           0 :                               return true;
   16977                 :             :                             }
   16978                 :           0 : next_after_fail2233:;
   16979                 :             :                           }
   16980                 :             :                       }
   16981                 :             :                     }
   16982                 :          30 :                   if (integer_all_onesp (_q21))
   16983                 :             :                     {
   16984                 :           3 :                       {
   16985                 :           3 :                         tree captures[5] ATTRIBUTE_UNUSED = { _p0, _q20, _q22, _p1, _p2 };
   16986                 :           6 :                         if (optimize_vectors_before_lowering_p () && types_match (captures[1], captures[2])
   16987                 :             : )
   16988                 :             :                           {
   16989                 :           3 :                             gimple_seq *lseq = seq;
   16990                 :           3 :                             if (lseq
   16991                 :           3 :                                 && (!single_use (captures[0])))
   16992                 :           0 :                               lseq = NULL;
   16993                 :           3 :                             if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail2234;
   16994                 :           3 :                             {
   16995                 :           3 :                               res_op->set_op (VEC_COND_EXPR, type, 3);
   16996                 :           3 :                               {
   16997                 :           3 :                                 tree _o1[2], _r1;
   16998                 :           3 :                                 _o1[0] = captures[1];
   16999                 :           3 :                                 _o1[1] = captures[2];
   17000                 :           3 :                                 gimple_match_op tem_op (res_op->cond.any_else (), BIT_IOR_EXPR, TREE_TYPE (_o1[0]), _o1[0], _o1[1]);
   17001                 :           3 :                                 tem_op.resimplify (lseq, valueize);
   17002                 :           3 :                                 _r1 = maybe_push_res_to_seq (&tem_op, lseq);
   17003                 :           3 :                                 if (!_r1) goto next_after_fail2234;
   17004                 :           3 :                                 res_op->ops[0] = _r1;
   17005                 :             :                               }
   17006                 :           3 :                               res_op->ops[1] = captures[3];
   17007                 :           3 :                               res_op->ops[2] = captures[4];
   17008                 :           3 :                               res_op->resimplify (lseq, valueize);
   17009                 :           3 :                               if (UNLIKELY (debug_dump)) gimple_dump_logs ("match.pd", 1111, __FILE__, __LINE__, true);
   17010                 :           3 :                               return true;
   17011                 :             :                             }
   17012                 :           0 : next_after_fail2234:;
   17013                 :             :                           }
   17014                 :             :                       }
   17015                 :             :                     }
   17016                 :          27 :                   if (integer_zerop (_q21))
   17017                 :             :                     {
   17018                 :          12 :                       {
   17019                 :          12 :                         tree captures[5] ATTRIBUTE_UNUSED = { _p0, _q20, _q22, _p1, _p2 };
   17020                 :          24 :                         if (optimize_vectors_before_lowering_p () && types_match (captures[1], captures[2])
   17021                 :             : )
   17022                 :             :                           {
   17023                 :          12 :                             gimple_seq *lseq = seq;
   17024                 :          12 :                             if (lseq
   17025                 :          12 :                                 && (!single_use (captures[0])))
   17026                 :           0 :                               lseq = NULL;
   17027                 :          12 :                             if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail2235;
   17028                 :          12 :                             {
   17029                 :          12 :                               res_op->set_op (VEC_COND_EXPR, type, 3);
   17030                 :          12 :                               {
   17031                 :          12 :                                 tree _o1[2], _r1;
   17032                 :          12 :                                 _o1[0] = captures[1];
   17033                 :          12 :                                 {
   17034                 :          12 :                                   tree _o2[1], _r2;
   17035                 :          12 :                                   _o2[0] = captures[2];
   17036                 :          12 :                                   gimple_match_op tem_op (res_op->cond.any_else (), BIT_NOT_EXPR, TREE_TYPE (_o2[0]), _o2[0]);
   17037                 :          12 :                                   tem_op.resimplify (lseq, valueize);
   17038                 :          12 :                                   _r2 = maybe_push_res_to_seq (&tem_op, lseq);
   17039                 :          12 :                                   if (!_r2) goto next_after_fail2235;
   17040                 :          12 :                                   _o1[1] = _r2;
   17041                 :             :                                 }
   17042                 :          12 :                                 gimple_match_op tem_op (res_op->cond.any_else (), BIT_IOR_EXPR, TREE_TYPE (_o1[0]), _o1[0], _o1[1]);
   17043                 :          12 :                                 tem_op.resimplify (lseq, valueize);
   17044                 :          12 :                                 _r1 = maybe_push_res_to_seq (&tem_op, lseq);
   17045                 :          12 :                                 if (!_r1) goto next_after_fail2235;
   17046                 :          12 :                                 res_op->ops[0] = _r1;
   17047                 :             :                               }
   17048                 :          12 :                               res_op->ops[1] = captures[4];
   17049                 :          12 :                               res_op->ops[2] = captures[3];
   17050                 :          12 :                               res_op->resimplify (lseq, valueize);
   17051                 :          12 :                               if (UNLIKELY (debug_dump)) gimple_dump_logs ("match.pd", 1112, __FILE__, __LINE__, true);
   17052                 :          12 :                               return true;
   17053                 :             :                             }
   17054                 :           0 : next_after_fail2235:;
   17055                 :             :                           }
   17056                 :             :                       }
   17057                 :             :                     }
   17058                 :          15 :                   if (integer_all_onesp (_q22))
   17059                 :             :                     {
   17060                 :          15 :                       {
   17061                 :          15 :                         tree captures[5] ATTRIBUTE_UNUSED = { _p0, _q20, _q21, _p1, _p2 };
   17062                 :          30 :                         if (optimize_vectors_before_lowering_p () && types_match (captures[1], captures[2])
   17063                 :             : )
   17064                 :             :                           {
   17065                 :          15 :                             gimple_seq *lseq = seq;
   17066                 :          15 :                             if (lseq
   17067                 :           9 :                                 && (!single_use (captures[0])))
   17068                 :           6 :                               lseq = NULL;
   17069                 :          15 :                             if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail2236;
   17070                 :          15 :                             {
   17071                 :          15 :                               res_op->set_op (VEC_COND_EXPR, type, 3);
   17072                 :          15 :                               {
   17073                 :          15 :                                 tree _o1[2], _r1;
   17074                 :          15 :                                 _o1[0] = captures[1];
   17075                 :          15 :                                 {
   17076                 :          15 :                                   tree _o2[1], _r2;
   17077                 :          15 :                                   _o2[0] = captures[2];
   17078                 :          15 :                                   gimple_match_op tem_op (res_op->cond.any_else (), BIT_NOT_EXPR, TREE_TYPE (_o2[0]), _o2[0]);
   17079                 :          15 :                                   tem_op.resimplify (lseq, valueize);
   17080                 :          15 :                                   _r2 = maybe_push_res_to_seq (&tem_op, lseq);
   17081                 :          15 :                                   if (!_r2) goto next_after_fail2236;
   17082                 :          15 :                                   _o1[1] = _r2;
   17083                 :             :                                 }
   17084                 :          15 :                                 gimple_match_op tem_op (res_op->cond.any_else (), BIT_AND_EXPR, TREE_TYPE (_o1[0]), _o1[0], _o1[1]);
   17085                 :          15 :                                 tem_op.resimplify (lseq, valueize);
   17086                 :          15 :                                 _r1 = maybe_push_res_to_seq (&tem_op, lseq);
   17087                 :          15 :                                 if (!_r1) goto next_after_fail2236;
   17088                 :           9 :                                 res_op->ops[0] = _r1;
   17089                 :             :                               }
   17090                 :           9 :                               res_op->ops[1] = captures[4];
   17091                 :           9 :                               res_op->ops[2] = captures[3];
   17092                 :           9 :                               res_op->resimplify (lseq, valueize);
   17093                 :           9 :                               if (UNLIKELY (debug_dump)) gimple_dump_logs ("match.pd", 1113, __FILE__, __LINE__, true);
   17094                 :           9 :                               return true;
   17095                 :             :                             }
   17096                 :           6 : next_after_fail2236:;
   17097                 :             :                           }
   17098                 :             :                       }
   17099                 :             :                     }
   17100                 :             :                   break;
   17101                 :             :                 }
   17102                 :       16055 :               case LT_EXPR:
   17103                 :       16055 :                 {
   17104                 :       16055 :                   tree _q20 = gimple_assign_rhs1 (_a1);
   17105                 :       16055 :                   _q20 = do_valueize (valueize, _q20);
   17106                 :       16055 :                   tree _q21 = gimple_assign_rhs2 (_a1);
   17107                 :       16055 :                   _q21 = do_valueize (valueize, _q21);
   17108                 :       16055 :                   switch (TREE_CODE (_q20))
   17109                 :             :                     {
   17110                 :       16055 :                     case SSA_NAME:
   17111                 :       16055 :                       if (gimple *_d2 = get_def (valueize, _q20))
   17112                 :             :                         {
   17113                 :       14777 :                           if (gassign *_a2 = dyn_cast <gassign *> (_d2))
   17114                 :       20635 :                             switch (gimple_assign_rhs_code (_a2))
   17115                 :             :                               {
   17116                 :        3111 :                               case VIEW_CONVERT_EXPR:
   17117                 :        3111 :                                 {
   17118                 :        3111 :                                   tree _q30 = TREE_OPERAND (gimple_assign_rhs1 (_a2), 0);
   17119                 :        3111 :                                   if ((TREE_CODE (_q30) == SSA_NAME
   17120                 :        3111 :                                        || is_gimple_min_invariant (_q30)))
   17121                 :             :                                     {
   17122                 :        3111 :                                       _q30 = do_valueize (valueize, _q30);
   17123                 :        3111 :                                       switch (TREE_CODE (_q30))
   17124                 :             :                                         {
   17125                 :        3111 :                                         case SSA_NAME:
   17126                 :        3111 :                                           if (gimple *_d3 = get_def (valueize, _q30))
   17127                 :             :                                             {
   17128                 :        3087 :                                               if (gassign *_a3 = dyn_cast <gassign *> (_d3))
   17129                 :        1832 :                                                 switch (gimple_assign_rhs_code (_a3))
   17130                 :             :                                                   {
   17131                 :          41 :                                                   case VEC_COND_EXPR:
   17132                 :          41 :                                                     {
   17133                 :          41 :                                                       tree _q40 = gimple_assign_rhs1 (_a3);
   17134                 :          41 :                                                       _q40 = do_valueize (valueize, _q40);
   17135                 :          41 :                                                       tree _q41 = gimple_assign_rhs2 (_a3);
   17136                 :          41 :                                                       _q41 = do_valueize (valueize, _q41);
   17137                 :          41 :                                                       tree _q42 = gimple_assign_rhs3 (_a3);
   17138                 :          41 :                                                       _q42 = do_valueize (valueize, _q42);
   17139                 :          41 :                                                       switch (TREE_CODE (_q40))
   17140                 :             :                                                         {
   17141                 :          41 :                                                         case SSA_NAME:
   17142                 :          41 :                                                           if (gimple *_d4 = get_def (valueize, _q40))
   17143                 :             :                                                             {
   17144                 :          41 :                                                               if (gassign *_a4 = dyn_cast <gassign *> (_d4))
   17145                 :          41 :                                                                 switch (gimple_assign_rhs_code (_a4))
   17146                 :             :                                                                   {
   17147                 :          27 :                                                                   case LT_EXPR:
   17148                 :          27 :                                                                     {
   17149                 :          27 :                                                                       tree _q50 = gimple_assign_rhs1 (_a4);
   17150                 :          27 :                                                                       _q50 = do_valueize (valueize, _q50);
   17151                 :          27 :                                                                       tree _q51 = gimple_assign_rhs2 (_a4);
   17152                 :          27 :                                                                       _q51 = do_valueize (valueize, _q51);
   17153                 :          27 :                                                                       if (integer_all_onesp (_q41))
   17154                 :             :                                                                         {
   17155                 :           2 :                                                                           if (integer_zerop (_q42))
   17156                 :             :                                                                             {
   17157                 :           2 :                                                                               if (integer_zerop (_q21))
   17158                 :             :                                                                                 {
   17159                 :           2 :                                                                                   {
   17160                 :           2 :                                                                                     tree captures[7] ATTRIBUTE_UNUSED = { _q20, _q30, _q40, _q50, _q51, _p1, _p2 };
   17161                 :           2 :                                                                                     if (gimple_simplify_574 (res_op, seq, valueize, type, captures, LT_EXPR))
   17162                 :           2 :                                                                                       return true;
   17163                 :             :                                                                                   }
   17164                 :             :                                                                                 }
   17165                 :             :                                                                             }
   17166                 :             :                                                                         }
   17167                 :             :                                                                       break;
   17168                 :             :                                                                     }
   17169                 :           0 :                                                                   case LE_EXPR:
   17170                 :           0 :                                                                     {
   17171                 :           0 :                                                                       tree _q50 = gimple_assign_rhs1 (_a4);
   17172                 :           0 :                                                                       _q50 = do_valueize (valueize, _q50);
   17173                 :           0 :                                                                       tree _q51 = gimple_assign_rhs2 (_a4);
   17174                 :           0 :                                                                       _q51 = do_valueize (valueize, _q51);
   17175                 :           0 :                                                                       if (integer_all_onesp (_q41))
   17176                 :             :                                                                         {
   17177                 :           0 :                                                                           if (integer_zerop (_q42))
   17178                 :             :                                                                             {
   17179                 :           0 :                                                                               if (integer_zerop (_q21))
   17180                 :             :                                                                                 {
   17181                 :           0 :                                                                                   {
   17182                 :           0 :                                                                                     tree captures[7] ATTRIBUTE_UNUSED = { _q20, _q30, _q40, _q50, _q51, _p1, _p2 };
   17183                 :           0 :                                                                                     if (gimple_simplify_574 (res_op, seq, valueize, type, captures, LE_EXPR))
   17184                 :           0 :                                                                                       return true;
   17185                 :             :                                                                                   }
   17186                 :             :                                                                                 }
   17187                 :             :                                                                             }
   17188                 :             :                                                                         }
   17189                 :             :                                                                       break;
   17190                 :             :                                                                     }
   17191                 :           0 :                                                                   case EQ_EXPR:
   17192                 :           0 :                                                                     {
   17193                 :           0 :                                                                       tree _q50 = gimple_assign_rhs1 (_a4);
   17194                 :           0 :                                                                       _q50 = do_valueize (valueize, _q50);
   17195                 :           0 :                                                                       tree _q51 = gimple_assign_rhs2 (_a4);
   17196                 :           0 :                                                                       _q51 = do_valueize (valueize, _q51);
   17197                 :           0 :                                                                       if (tree_swap_operands_p (_q50, _q51))
   17198                 :           0 :                                                                         std::swap (_q50, _q51);
   17199                 :           0 :                                                                       if (integer_all_onesp (_q41))
   17200                 :             :                                                                         {
   17201                 :           0 :                                                                           if (integer_zerop (_q42))
   17202                 :             :                                                                             {
   17203                 :           0 :                                                                               if (integer_zerop (_q21))
   17204                 :             :                                                                                 {
   17205                 :           0 :                                                                                   {
   17206                 :           0 :                                                                                     tree captures[7] ATTRIBUTE_UNUSED = { _q20, _q30, _q40, _q50, _q51, _p1, _p2 };
   17207                 :           0 :                                                                                     if (gimple_simplify_574 (res_op, seq, valueize, type, captures, EQ_EXPR))
   17208                 :           0 :                                                                                       return true;
   17209                 :             :                                                                                   }
   17210                 :             :                                                                                 }
   17211                 :             :                                                                             }
   17212                 :             :                                                                         }
   17213                 :      150866 :                                                                       break;
   17214                 :             :                                                                     }
   17215                 :           0 :                                                                   case NE_EXPR:
   17216                 :           0 :                                                                     {
   17217                 :           0 :                                                                       tree _q50 = gimple_assign_rhs1 (_a4);
   17218                 :           0 :                                                                       _q50 = do_valueize (valueize, _q50);
   17219                 :           0 :                                                                       tree _q51 = gimple_assign_rhs2 (_a4);
   17220                 :           0 :                                                                       _q51 = do_valueize (valueize, _q51);
   17221                 :           0 :                                                                       if (tree_swap_operands_p (_q50, _q51))
   17222                 :           0 :                                                                         std::swap (_q50, _q51);
   17223                 :           0 :                                                                       if (integer_all_onesp (_q41))
   17224                 :             :                                                                         {
   17225                 :           0 :                                                                           if (integer_zerop (_q42))
   17226                 :             :                                                                             {
   17227                 :           0 :                                                                               if (integer_zerop (_q21))
   17228                 :             :                                                                                 {
   17229                 :           0 :                                                                                   {
   17230                 :           0 :                                                                                     tree captures[7] ATTRIBUTE_UNUSED = { _q20, _q30, _q40, _q50, _q51, _p1, _p2 };
   17231                 :           0 :                                                                                     if (gimple_simplify_574 (res_op, seq, valueize, type, captures, NE_EXPR))
   17232                 :           0 :                                                                                       return true;
   17233                 :             :                                                                                   }
   17234                 :             :                                                                                 }
   17235                 :             :                                                                             }
   17236                 :             :                                                                         }
   17237                 :      150866 :                                                                       break;
   17238                 :             :                                                                     }
   17239                 :          12 :                                                                   case GE_EXPR:
   17240                 :          12 :                                                                     {
   17241                 :          12 :                                                                       tree _q50 = gimple_assign_rhs1 (_a4);
   17242                 :          12 :                                                                       _q50 = do_valueize (valueize, _q50);
   17243                 :          12 :                                                                       tree _q51 = gimple_assign_rhs2 (_a4);
   17244                 :          12 :                                                                       _q51 = do_valueize (valueize, _q51);
   17245                 :          12 :                                                                       if (integer_all_onesp (_q41))
   17246                 :             :                                                                         {
   17247                 :          12 :                                                                           if (integer_zerop (_q42))
   17248                 :             :                                                                             {
   17249                 :          12 :                                                                               if (integer_zerop (_q21))
   17250                 :             :                                                                                 {
   17251                 :          12 :                                                                                   {
   17252                 :          12 :                                                                                     tree captures[7] ATTRIBUTE_UNUSED = { _q20, _q30, _q40, _q50, _q51, _p1, _p2 };
   17253                 :          12 :                                                                                     if (gimple_simplify_574 (res_op, seq, valueize, type, captures, GE_EXPR))
   17254                 :           8 :                                                                                       return true;
   17255                 :             :                                                                                   }
   17256                 :             :                                                                                 }
   17257                 :             :                                                                             }
   17258                 :             :                                                                         }
   17259                 :             :                                                                       break;
   17260                 :             :                                                                     }
   17261                 :           2 :                                                                   case GT_EXPR:
   17262                 :           2 :                                                                     {
   17263                 :           2 :                                                                       tree _q50 = gimple_assign_rhs1 (_a4);
   17264                 :           2 :                                                                       _q50 = do_valueize (valueize, _q50);
   17265                 :           2 :                                                                       tree _q51 = gimple_assign_rhs2 (_a4);
   17266                 :           2 :                                                                       _q51 = do_valueize (valueize, _q51);
   17267                 :           2 :                                                                       if (integer_all_onesp (_q41))
   17268                 :             :                                                                         {
   17269                 :           2 :                                                                           if (integer_zerop (_q42))
   17270                 :             :                                                                             {
   17271                 :           2 :                                                                               if (integer_zerop (_q21))
   17272                 :             :                                                                                 {
   17273                 :           2 :                                                                                   {
   17274                 :           2 :                                                                                     tree captures[7] ATTRIBUTE_UNUSED = { _q20, _q30, _q40, _q50, _q51, _p1, _p2 };
   17275                 :           2 :                                                                                     if (gimple_simplify_574 (res_op, seq, valueize, type, captures, GT_EXPR))
   17276                 :           2 :                                                                                       return true;
   17277                 :             :                                                                                   }
   17278                 :             :                                                                                 }
   17279                 :             :                                                                             }
   17280                 :             :                                                                         }
   17281                 :             :                                                                       break;
   17282                 :             :                                                                     }
   17283                 :             :                                                                   default:;
   17284                 :             :                                                                   }
   17285                 :             :                                                             }
   17286                 :             :                                                           break;
   17287                 :             :                                                         default:;
   17288                 :             :                                                         }
   17289                 :             :                                                       break;
   17290                 :             :                                                     }
   17291                 :             :                                                   default:;
   17292                 :             :                                                   }
   17293                 :             :                                             }
   17294                 :             :                                           break;
   17295                 :             :                                         default:;
   17296                 :             :                                         }
   17297                 :             :                                     }
   17298                 :             :                                   break;
   17299                 :             :                                 }
   17300                 :             :                               default:;
   17301                 :             :                               }
   17302                 :             :                         }
   17303                 :             :                       break;
   17304                 :             :                     default:;
   17305                 :             :                     }
   17306                 :             :                   break;
   17307                 :             :                 }
   17308                 :             :               default:;
   17309                 :             :               }
   17310                 :             :         }
   17311                 :             :       break;
   17312                 :         244 :     case VECTOR_CST:
   17313                 :         244 :       {
   17314                 :         244 :         {
   17315                 :         244 :           tree captures[3] ATTRIBUTE_UNUSED = { _p0, _p1, _p2 };
   17316                 :         244 :           if (integer_all_onesp (captures[0])
   17317                 :             : )
   17318                 :             :             {
   17319                 :          16 :               gimple_seq *lseq = seq;
   17320                 :          16 :               if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail2237;
   17321                 :          16 :               {
   17322                 :          16 :                 tree tem;
   17323                 :          16 :                 tem = captures[1];
   17324                 :          16 :                 res_op->set_value (tem);
   17325                 :          16 :                 if (UNLIKELY (debug_dump)) gimple_dump_logs ("match.pd", 1114, __FILE__, __LINE__, true);
   17326                 :          16 :                 return true;
   17327                 :             :               }
   17328                 :           0 : next_after_fail2237:;
   17329                 :             :             }
   17330                 :             :           else
   17331                 :             :             {
   17332                 :         228 :               if (integer_zerop (captures[0])
   17333                 :             : )
   17334                 :             :                 {
   17335                 :         120 :                   gimple_seq *lseq = seq;
   17336                 :         120 :                   if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail2238;
   17337                 :         120 :                   {
   17338                 :         120 :                     tree tem;
   17339                 :         120 :                     tem = captures[2];
   17340                 :         120 :                     res_op->set_value (tem);
   17341                 :         120 :                     if (UNLIKELY (debug_dump)) gimple_dump_logs ("match.pd", 1115, __FILE__, __LINE__, true);
   17342                 :         120 :                     return true;
   17343                 :             :                   }
   17344                 :           0 : next_after_fail2238:;
   17345                 :             :                 }
   17346                 :             :             }
   17347                 :             :         }
   17348                 :         108 :         break;
   17349                 :             :       }
   17350                 :      150866 :     default:;
   17351                 :             :     }
   17352                 :      150866 :   switch (TREE_CODE (_p1))
   17353                 :             :     {
   17354                 :       24888 :     case SSA_NAME:
   17355                 :       24888 :       if (gimple *_d1 = get_def (valueize, _p1))
   17356                 :             :         {
   17357                 :       22171 :           if (gassign *_a1 = dyn_cast <gassign *> (_d1))
   17358                 :       21055 :             switch (gimple_assign_rhs_code (_a1))
   17359                 :             :               {
   17360                 :        1098 :               case VEC_COND_EXPR:
   17361                 :        1098 :                 {
   17362                 :        1098 :                   tree _q30 = gimple_assign_rhs1 (_a1);
   17363                 :        1098 :                   _q30 = do_valueize (valueize, _q30);
   17364                 :        1098 :                   tree _q31 = gimple_assign_rhs2 (_a1);
   17365                 :        1098 :                   _q31 = do_valueize (valueize, _q31);
   17366                 :        1098 :                   tree _q32 = gimple_assign_rhs3 (_a1);
   17367                 :        1098 :                   _q32 = do_valueize (valueize, _q32);
   17368                 :        1098 :                   if ((_p2 == _q32 && ! TREE_SIDE_EFFECTS (_p2)) || (operand_equal_p (_p2, _q32, 0) && types_match (_p2, _q32)))
   17369                 :             :                     {
   17370                 :         752 :                       {
   17371                 :         752 :                         tree captures[5] ATTRIBUTE_UNUSED = { _p0, _p1, _q30, _q31, _q32 };
   17372                 :        1041 :                         if (optimize_vectors_before_lowering_p () && types_match (captures[0], captures[2])
   17373                 :             : )
   17374                 :             :                           {
   17375                 :         289 :                             gimple_seq *lseq = seq;
   17376                 :         289 :                             if (lseq
   17377                 :          34 :                                 && (!single_use (captures[1])))
   17378                 :         255 :                               lseq = NULL;
   17379                 :         289 :                             if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail2239;
   17380                 :         289 :                             {
   17381                 :         289 :                               res_op->set_op (VEC_COND_EXPR, type, 3);
   17382                 :         289 :                               {
   17383                 :         289 :                                 tree _o1[2], _r1;
   17384                 :         289 :                                 _o1[0] = captures[0];
   17385                 :         289 :                                 _o1[1] = captures[2];
   17386                 :         289 :                                 gimple_match_op tem_op (res_op->cond.any_else (), BIT_AND_EXPR, TREE_TYPE (_o1[0]), _o1[0], _o1[1]);
   17387                 :         289 :                                 tem_op.resimplify (lseq, valueize);
   17388                 :         289 :                                 _r1 = maybe_push_res_to_seq (&tem_op, lseq);
   17389                 :         289 :                                 if (!_r1) goto next_after_fail2239;
   17390                 :          58 :                                 res_op->ops[0] = _r1;
   17391                 :             :                               }
   17392                 :          58 :                               res_op->ops[1] = captures[3];
   17393                 :          58 :                               res_op->ops[2] = captures[4];
   17394                 :          58 :                               res_op->resimplify (lseq, valueize);
   17395                 :          58 :                               if (UNLIKELY (debug_dump)) gimple_dump_logs ("match.pd", 1116, __FILE__, __LINE__, true);
   17396                 :          58 :                               return true;
   17397                 :             :                             }
   17398                 :         694 : next_after_fail2239:;
   17399                 :             :                           }
   17400                 :             :                       }
   17401                 :             :                     }
   17402                 :             :                   break;
   17403                 :             :                 }
   17404                 :             :               default:;
   17405                 :             :               }
   17406                 :             :         }
   17407                 :             :       break;
   17408                 :      150808 :     default:;
   17409                 :             :     }
   17410                 :      150808 :   switch (TREE_CODE (_p2))
   17411                 :             :     {
   17412                 :       24988 :     case SSA_NAME:
   17413                 :       24988 :       if (gimple *_d1 = get_def (valueize, _p2))
   17414                 :             :         {
   17415                 :       22591 :           if (gassign *_a1 = dyn_cast <gassign *> (_d1))
   17416                 :       21547 :             switch (gimple_assign_rhs_code (_a1))
   17417                 :             :               {
   17418                 :        1473 :               case VEC_COND_EXPR:
   17419                 :        1473 :                 {
   17420                 :        1473 :                   tree _q40 = gimple_assign_rhs1 (_a1);
   17421                 :        1473 :                   _q40 = do_valueize (valueize, _q40);
   17422                 :        1473 :                   tree _q41 = gimple_assign_rhs2 (_a1);
   17423                 :        1473 :                   _q41 = do_valueize (valueize, _q41);
   17424                 :        1473 :                   tree _q42 = gimple_assign_rhs3 (_a1);
   17425                 :        1473 :                   _q42 = do_valueize (valueize, _q42);
   17426                 :        1473 :                   if ((_q41 == _p1 && ! TREE_SIDE_EFFECTS (_q41)) || (operand_equal_p (_q41, _p1, 0) && types_match (_q41, _p1)))
   17427                 :             :                     {
   17428                 :         593 :                       {
   17429                 :         593 :                         tree captures[5] ATTRIBUTE_UNUSED = { _p0, _p1, _p2, _q40, _q42 };
   17430                 :         727 :                         if (optimize_vectors_before_lowering_p () && types_match (captures[0], captures[3])
   17431                 :             : )
   17432                 :             :                           {
   17433                 :         134 :                             gimple_seq *lseq = seq;
   17434                 :         134 :                             if (lseq
   17435                 :          47 :                                 && (!single_use (captures[2])))
   17436                 :          99 :                               lseq = NULL;
   17437                 :         134 :                             if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail2240;
   17438                 :         134 :                             {
   17439                 :         134 :                               res_op->set_op (VEC_COND_EXPR, type, 3);
   17440                 :         134 :                               {
   17441                 :         134 :                                 tree _o1[2], _r1;
   17442                 :         134 :                                 _o1[0] = captures[0];
   17443                 :         134 :                                 _o1[1] = captures[3];
   17444                 :         134 :                                 gimple_match_op tem_op (res_op->cond.any_else (), BIT_IOR_EXPR, TREE_TYPE (_o1[0]), _o1[0], _o1[1]);
   17445                 :         134 :                                 tem_op.resimplify (lseq, valueize);
   17446                 :         134 :                                 _r1 = maybe_push_res_to_seq (&tem_op, lseq);
   17447                 :         134 :                                 if (!_r1) goto next_after_fail2240;
   17448                 :          59 :                                 res_op->ops[0] = _r1;
   17449                 :             :                               }
   17450                 :          59 :                               res_op->ops[1] = captures[1];
   17451                 :          59 :                               res_op->ops[2] = captures[4];
   17452                 :          59 :                               res_op->resimplify (lseq, valueize);
   17453                 :          59 :                               if (UNLIKELY (debug_dump)) gimple_dump_logs ("match.pd", 1117, __FILE__, __LINE__, true);
   17454                 :          59 :                               return true;
   17455                 :             :                             }
   17456                 :         534 : next_after_fail2240:;
   17457                 :             :                           }
   17458                 :             :                       }
   17459                 :             :                     }
   17460                 :             :                   break;
   17461                 :             :                 }
   17462                 :             :               default:;
   17463                 :             :               }
   17464                 :             :         }
   17465                 :             :       break;
   17466                 :      150749 :     default:;
   17467                 :             :     }
   17468                 :      150749 :   switch (TREE_CODE (_p1))
   17469                 :             :     {
   17470                 :       24821 :     case SSA_NAME:
   17471                 :       24821 :       if (gimple *_d1 = get_def (valueize, _p1))
   17472                 :             :         {
   17473                 :       22113 :           if (gassign *_a1 = dyn_cast <gassign *> (_d1))
   17474                 :       20997 :             switch (gimple_assign_rhs_code (_a1))
   17475                 :             :               {
   17476                 :        1040 :               case VEC_COND_EXPR:
   17477                 :        1040 :                 {
   17478                 :        1040 :                   tree _q30 = gimple_assign_rhs1 (_a1);
   17479                 :        1040 :                   _q30 = do_valueize (valueize, _q30);
   17480                 :        1040 :                   tree _q31 = gimple_assign_rhs2 (_a1);
   17481                 :        1040 :                   _q31 = do_valueize (valueize, _q31);
   17482                 :        1040 :                   tree _q32 = gimple_assign_rhs3 (_a1);
   17483                 :        1040 :                   _q32 = do_valueize (valueize, _q32);
   17484                 :        1040 :                   if ((_p2 == _q31 && ! TREE_SIDE_EFFECTS (_p2)) || (operand_equal_p (_p2, _q31, 0) && types_match (_p2, _q31)))
   17485                 :             :                     {
   17486                 :          16 :                       {
   17487                 :          16 :                         tree captures[5] ATTRIBUTE_UNUSED = { _p0, _p1, _q30, _q31, _q32 };
   17488                 :          32 :                         if (optimize_vectors_before_lowering_p () && types_match (captures[0], captures[2])
   17489                 :             : )
   17490                 :             :                           {
   17491                 :          16 :                             gimple_seq *lseq = seq;
   17492                 :          16 :                             if (lseq
   17493                 :           8 :                                 && (!single_use (captures[1])))
   17494                 :           8 :                               lseq = NULL;
   17495                 :          16 :                             if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail2241;
   17496                 :          16 :                             {
   17497                 :          16 :                               res_op->set_op (VEC_COND_EXPR, type, 3);
   17498                 :          16 :                               {
   17499                 :          16 :                                 tree _o1[2], _r1;
   17500                 :          16 :                                 {
   17501                 :          16 :                                   tree _o2[1], _r2;
   17502                 :          16 :                                   _o2[0] = captures[0];
   17503                 :          16 :                                   gimple_match_op tem_op (res_op->cond.any_else (), BIT_NOT_EXPR, TREE_TYPE (_o2[0]), _o2[0]);
   17504                 :          16 :                                   tem_op.resimplify (lseq, valueize);
   17505                 :          16 :                                   _r2 = maybe_push_res_to_seq (&tem_op, lseq);
   17506                 :          16 :                                   if (!_r2) goto next_after_fail2241;
   17507                 :           8 :                                   _o1[0] = _r2;
   17508                 :             :                                 }
   17509                 :           8 :                                 _o1[1] = captures[2];
   17510                 :           8 :                                 gimple_match_op tem_op (res_op->cond.any_else (), BIT_IOR_EXPR, TREE_TYPE (_o1[0]), _o1[0], _o1[1]);
   17511                 :           8 :                                 tem_op.resimplify (lseq, valueize);
   17512                 :           8 :                                 _r1 = maybe_push_res_to_seq (&tem_op, lseq);
   17513                 :           8 :                                 if (!_r1) goto next_after_fail2241;
   17514                 :           8 :                                 res_op->ops[0] = _r1;
   17515                 :             :                               }
   17516                 :           8 :                               res_op->ops[1] = captures[3];
   17517                 :           8 :                               res_op->ops[2] = captures[4];
   17518                 :           8 :                               res_op->resimplify (lseq, valueize);
   17519                 :           8 :                               if (UNLIKELY (debug_dump)) gimple_dump_logs ("match.pd", 1118, __FILE__, __LINE__, true);
   17520                 :           8 :                               return true;
   17521                 :             :                             }
   17522                 :           8 : next_after_fail2241:;
   17523                 :             :                           }
   17524                 :             :                       }
   17525                 :             :                     }
   17526                 :             :                   break;
   17527                 :             :                 }
   17528                 :             :               default:;
   17529                 :             :               }
   17530                 :             :         }
   17531                 :             :       break;
   17532                 :      150741 :     default:;
   17533                 :             :     }
   17534                 :      150741 :   switch (TREE_CODE (_p2))
   17535                 :             :     {
   17536                 :       24929 :     case SSA_NAME:
   17537                 :       24929 :       if (gimple *_d1 = get_def (valueize, _p2))
   17538                 :             :         {
   17539                 :       22532 :           if (gassign *_a1 = dyn_cast <gassign *> (_d1))
   17540                 :       21488 :             switch (gimple_assign_rhs_code (_a1))
   17541                 :             :               {
   17542                 :        1414 :               case VEC_COND_EXPR:
   17543                 :        1414 :                 {
   17544                 :        1414 :                   tree _q40 = gimple_assign_rhs1 (_a1);
   17545                 :        1414 :                   _q40 = do_valueize (valueize, _q40);
   17546                 :        1414 :                   tree _q41 = gimple_assign_rhs2 (_a1);
   17547                 :        1414 :                   _q41 = do_valueize (valueize, _q41);
   17548                 :        1414 :                   tree _q42 = gimple_assign_rhs3 (_a1);
   17549                 :        1414 :                   _q42 = do_valueize (valueize, _q42);
   17550                 :        1414 :                   if ((_q42 == _p1 && ! TREE_SIDE_EFFECTS (_q42)) || (operand_equal_p (_q42, _p1, 0) && types_match (_q42, _p1)))
   17551                 :             :                     {
   17552                 :           0 :                       {
   17553                 :           0 :                         tree captures[5] ATTRIBUTE_UNUSED = { _p0, _p1, _p2, _q40, _q41 };
   17554                 :           0 :                         if (optimize_vectors_before_lowering_p () && types_match (captures[0], captures[3])
   17555                 :             : )
   17556                 :             :                           {
   17557                 :           0 :                             gimple_seq *lseq = seq;
   17558                 :           0 :                             if (lseq
   17559                 :           0 :                                 && (!single_use (captures[2])))
   17560                 :           0 :                               lseq = NULL;
   17561                 :           0 :                             if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail2242;
   17562                 :           0 :                             {
   17563                 :           0 :                               res_op->set_op (VEC_COND_EXPR, type, 3);
   17564                 :           0 :                               {
   17565                 :           0 :                                 tree _o1[2], _r1;
   17566                 :           0 :                                 {
   17567                 :           0 :                                   tree _o2[1], _r2;
   17568                 :           0 :                                   _o2[0] = captures[0];
   17569                 :           0 :                                   gimple_match_op tem_op (res_op->cond.any_else (), BIT_NOT_EXPR, TREE_TYPE (_o2[0]), _o2[0]);
   17570                 :           0 :                                   tem_op.resimplify (lseq, valueize);
   17571                 :           0 :                                   _r2 = maybe_push_res_to_seq (&tem_op, lseq);
   17572                 :           0 :                                   if (!_r2) goto next_after_fail2242;
   17573                 :           0 :                                   _o1[0] = _r2;
   17574                 :             :                                 }
   17575                 :           0 :                                 _o1[1] = captures[3];
   17576                 :           0 :                                 gimple_match_op tem_op (res_op->cond.any_else (), BIT_AND_EXPR, TREE_TYPE (_o1[0]), _o1[0], _o1[1]);
   17577                 :           0 :                                 tem_op.resimplify (lseq, valueize);
   17578                 :           0 :                                 _r1 = maybe_push_res_to_seq (&tem_op, lseq);
   17579                 :           0 :                                 if (!_r1) goto next_after_fail2242;
   17580                 :           0 :                                 res_op->ops[0] = _r1;
   17581                 :             :                               }
   17582                 :           0 :                               res_op->ops[1] = captures[4];
   17583                 :           0 :                               res_op->ops[2] = captures[1];
   17584                 :           0 :                               res_op->resimplify (lseq, valueize);
   17585                 :           0 :                               if (UNLIKELY (debug_dump)) gimple_dump_logs ("match.pd", 1119, __FILE__, __LINE__, true);
   17586                 :           0 :                               return true;
   17587                 :             :                             }
   17588                 :           0 : next_after_fail2242:;
   17589                 :             :                           }
   17590                 :             :                       }
   17591                 :             :                     }
   17592                 :             :                   break;
   17593                 :             :                 }
   17594                 :             :               default:;
   17595                 :             :               }
   17596                 :             :         }
   17597                 :             :       break;
   17598                 :      150741 :     default:;
   17599                 :             :     }
   17600                 :      150741 :   switch (TREE_CODE (_p1))
   17601                 :             :     {
   17602                 :      125389 :     case VECTOR_CST:
   17603                 :      125389 :       {
   17604                 :      125389 :         switch (TREE_CODE (_p2))
   17605                 :             :           {
   17606                 :      121928 :           case VECTOR_CST:
   17607                 :      121928 :             {
   17608                 :      121928 :               {
   17609                 :      121928 :                 tree captures[3] ATTRIBUTE_UNUSED = { _p0, _p1, _p2 };
   17610                 :      121928 :                 if (VECTOR_BOOLEAN_TYPE_P (type)
   17611                 :      122062 :  && types_match (type, TREE_TYPE (captures[0]))
   17612                 :             : )
   17613                 :             :                   {
   17614                 :         134 :                     if (integer_zerop (captures[1]) && integer_all_onesp (captures[2])
   17615                 :             : )
   17616                 :             :                       {
   17617                 :          21 :                         gimple_seq *lseq = seq;
   17618                 :          21 :                         if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail2243;
   17619                 :          21 :                         {
   17620                 :          21 :                           res_op->set_op (BIT_NOT_EXPR, type, 1);
   17621                 :          21 :                           res_op->ops[0] = captures[0];
   17622                 :          21 :                           res_op->resimplify (lseq, valueize);
   17623                 :          21 :                           if (UNLIKELY (debug_dump)) gimple_dump_logs ("match.pd", 1120, __FILE__, __LINE__, true);
   17624                 :          21 :                           return true;
   17625                 :             :                         }
   17626                 :           0 : next_after_fail2243:;
   17627                 :             :                       }
   17628                 :             :                     else
   17629                 :             :                       {
   17630                 :         113 :                         if (integer_all_onesp (captures[1]) && integer_zerop (captures[2])
   17631                 :             : )
   17632                 :             :                           {
   17633                 :          48 :                             gimple_seq *lseq = seq;
   17634                 :          48 :                             if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail2244;
   17635                 :          48 :                             {
   17636                 :          48 :                               tree tem;
   17637                 :          48 :                               tem = captures[0];
   17638                 :          48 :                               res_op->set_value (tem);
   17639                 :          48 :                               if (UNLIKELY (debug_dump)) gimple_dump_logs ("match.pd", 1121, __FILE__, __LINE__, true);
   17640                 :          48 :                               return true;
   17641                 :             :                             }
   17642                 :           0 : next_after_fail2244:;
   17643                 :             :                           }
   17644                 :             :                       }
   17645                 :             :                   }
   17646                 :             :               }
   17647                 :      121859 :               break;
   17648                 :             :             }
   17649                 :             :           default:;
   17650                 :             :           }
   17651                 :             :         break;
   17652                 :             :       }
   17653                 :      150672 :     default:;
   17654                 :             :     }
   17655                 :      150672 :   switch (TREE_CODE (_p0))
   17656                 :             :     {
   17657                 :      150564 :     case SSA_NAME:
   17658                 :      150564 :       if (gimple *_d1 = get_def (valueize, _p0))
   17659                 :             :         {
   17660                 :      127775 :           if (gassign *_a1 = dyn_cast <gassign *> (_d1))
   17661                 :      128249 :             switch (gimple_assign_rhs_code (_a1))
   17662                 :             :               {
   17663                 :       15999 :               case LT_EXPR:
   17664                 :       15999 :                 {
   17665                 :       15999 :                   tree _q20 = gimple_assign_rhs1 (_a1);
   17666                 :       15999 :                   _q20 = do_valueize (valueize, _q20);
   17667                 :       15999 :                   tree _q21 = gimple_assign_rhs2 (_a1);
   17668                 :       15999 :                   _q21 = do_valueize (valueize, _q21);
   17669                 :       15999 :                   if ((_p1 == _q20 && ! TREE_SIDE_EFFECTS (_p1)) || (operand_equal_p (_p1, _q20, 0) && types_match (_p1, _q20)))
   17670                 :             :                     {
   17671                 :         603 :                       if ((_p2 == _q21 && ! TREE_SIDE_EFFECTS (_p2)) || (operand_equal_p (_p2, _q21, 0) && types_match (_p2, _q21)))
   17672                 :             :                         {
   17673                 :         397 :                           {
   17674                 :         397 :                             tree captures[2] ATTRIBUTE_UNUSED = { _q20, _q21 };
   17675                 :         397 :                             if (gimple_simplify_575 (res_op, seq, valueize, type, captures, LT_EXPR, MIN_EXPR, MIN_EXPR))
   17676                 :           2 :                               return true;
   17677                 :             :                           }
   17678                 :             :                         }
   17679                 :             :                     }
   17680                 :       15997 :                   if ((_p1 == _q21 && ! TREE_SIDE_EFFECTS (_p1)) || (operand_equal_p (_p1, _q21, 0) && types_match (_p1, _q21)))
   17681                 :             :                     {
   17682                 :         519 :                       if ((_p2 == _q20 && ! TREE_SIDE_EFFECTS (_p2)) || (operand_equal_p (_p2, _q20, 0) && types_match (_p2, _q20)))
   17683                 :             :                         {
   17684                 :         420 :                           {
   17685                 :         420 :                             tree captures[2] ATTRIBUTE_UNUSED = { _q20, _q21 };
   17686                 :         420 :                             if (gimple_simplify_576 (res_op, seq, valueize, type, captures, LT_EXPR, MAX_EXPR, MAX_EXPR))
   17687                 :           2 :                               return true;
   17688                 :             :                           }
   17689                 :             :                         }
   17690                 :             :                     }
   17691                 :             :                   break;
   17692                 :             :                 }
   17693                 :        9367 :               case LE_EXPR:
   17694                 :        9367 :                 {
   17695                 :        9367 :                   tree _q20 = gimple_assign_rhs1 (_a1);
   17696                 :        9367 :                   _q20 = do_valueize (valueize, _q20);
   17697                 :        9367 :                   tree _q21 = gimple_assign_rhs2 (_a1);
   17698                 :        9367 :                   _q21 = do_valueize (valueize, _q21);
   17699                 :        9367 :                   if ((_p1 == _q20 && ! TREE_SIDE_EFFECTS (_p1)) || (operand_equal_p (_p1, _q20, 0) && types_match (_p1, _q20)))
   17700                 :             :                     {
   17701                 :         271 :                       if ((_p2 == _q21 && ! TREE_SIDE_EFFECTS (_p2)) || (operand_equal_p (_p2, _q21, 0) && types_match (_p2, _q21)))
   17702                 :             :                         {
   17703                 :           0 :                           {
   17704                 :           0 :                             tree captures[2] ATTRIBUTE_UNUSED = { _q20, _q21 };
   17705                 :           0 :                             if (gimple_simplify_575 (res_op, seq, valueize, type, captures, LE_EXPR, MIN_EXPR, MIN_EXPR))
   17706                 :           0 :                               return true;
   17707                 :             :                           }
   17708                 :             :                         }
   17709                 :             :                     }
   17710                 :        9367 :                   if ((_p1 == _q21 && ! TREE_SIDE_EFFECTS (_p1)) || (operand_equal_p (_p1, _q21, 0) && types_match (_p1, _q21)))
   17711                 :             :                     {
   17712                 :          36 :                       if ((_p2 == _q20 && ! TREE_SIDE_EFFECTS (_p2)) || (operand_equal_p (_p2, _q20, 0) && types_match (_p2, _q20)))
   17713                 :             :                         {
   17714                 :           0 :                           {
   17715                 :           0 :                             tree captures[2] ATTRIBUTE_UNUSED = { _q20, _q21 };
   17716                 :           0 :                             if (gimple_simplify_576 (res_op, seq, valueize, type, captures, LE_EXPR, MAX_EXPR, MAX_EXPR))
   17717                 :           0 :                               return true;
   17718                 :             :                           }
   17719                 :             :                         }
   17720                 :             :                     }
   17721                 :             :                   break;
   17722                 :             :                 }
   17723                 :         157 :               case UNGT_EXPR:
   17724                 :         157 :                 {
   17725                 :         157 :                   tree _q20 = gimple_assign_rhs1 (_a1);
   17726                 :         157 :                   _q20 = do_valueize (valueize, _q20);
   17727                 :         157 :                   tree _q21 = gimple_assign_rhs2 (_a1);
   17728                 :         157 :                   _q21 = do_valueize (valueize, _q21);
   17729                 :         157 :                   if ((_p1 == _q20 && ! TREE_SIDE_EFFECTS (_p1)) || (operand_equal_p (_p1, _q20, 0) && types_match (_p1, _q20)))
   17730                 :             :                     {
   17731                 :           0 :                       if ((_p2 == _q21 && ! TREE_SIDE_EFFECTS (_p2)) || (operand_equal_p (_p2, _q21, 0) && types_match (_p2, _q21)))
   17732                 :             :                         {
   17733                 :           0 :                           {
   17734                 :           0 :                             tree captures[2] ATTRIBUTE_UNUSED = { _q20, _q21 };
   17735                 :           0 :                             if (gimple_simplify_575 (res_op, seq, valueize, type, captures, UNGT_EXPR, MIN_EXPR, MIN_EXPR))
   17736                 :           0 :                               return true;
   17737                 :             :                           }
   17738                 :             :                         }
   17739                 :             :                     }
   17740                 :         157 :                   if ((_p1 == _q21 && ! TREE_SIDE_EFFECTS (_p1)) || (operand_equal_p (_p1, _q21, 0) && types_match (_p1, _q21)))
   17741                 :             :                     {
   17742                 :           0 :                       if ((_p2 == _q20 && ! TREE_SIDE_EFFECTS (_p2)) || (operand_equal_p (_p2, _q20, 0) && types_match (_p2, _q20)))
   17743                 :             :                         {
   17744                 :           0 :                           {
   17745                 :           0 :                             tree captures[2] ATTRIBUTE_UNUSED = { _q20, _q21 };
   17746                 :           0 :                             if (gimple_simplify_576 (res_op, seq, valueize, type, captures, UNGT_EXPR, MAX_EXPR, MAX_EXPR))
   17747                 :           0 :                               return true;
   17748                 :             :                           }
   17749                 :             :                         }
   17750                 :             :                     }
   17751                 :             :                   break;
   17752                 :             :                 }
   17753                 :         127 :               case UNGE_EXPR:
   17754                 :         127 :                 {
   17755                 :         127 :                   tree _q20 = gimple_assign_rhs1 (_a1);
   17756                 :         127 :                   _q20 = do_valueize (valueize, _q20);
   17757                 :         127 :                   tree _q21 = gimple_assign_rhs2 (_a1);
   17758                 :         127 :                   _q21 = do_valueize (valueize, _q21);
   17759                 :         127 :                   if ((_p1 == _q20 && ! TREE_SIDE_EFFECTS (_p1)) || (operand_equal_p (_p1, _q20, 0) && types_match (_p1, _q20)))
   17760                 :             :                     {
   17761                 :           0 :                       if ((_p2 == _q21 && ! TREE_SIDE_EFFECTS (_p2)) || (operand_equal_p (_p2, _q21, 0) && types_match (_p2, _q21)))
   17762                 :             :                         {
   17763                 :           0 :                           {
   17764                 :           0 :                             tree captures[2] ATTRIBUTE_UNUSED = { _q20, _q21 };
   17765                 :           0 :                             if (gimple_simplify_575 (res_op, seq, valueize, type, captures, UNGE_EXPR, MIN_EXPR, MIN_EXPR))
   17766                 :           0 :                               return true;
   17767                 :             :                           }
   17768                 :             :                         }
   17769                 :             :                     }
   17770                 :         127 :                   if ((_p1 == _q21 && ! TREE_SIDE_EFFECTS (_p1)) || (operand_equal_p (_p1, _q21, 0) && types_match (_p1, _q21)))
   17771                 :             :                     {
   17772                 :           0 :                       if ((_p2 == _q20 && ! TREE_SIDE_EFFECTS (_p2)) || (operand_equal_p (_p2, _q20, 0) && types_match (_p2, _q20)))
   17773                 :             :                         {
   17774                 :           0 :                           {
   17775                 :           0 :                             tree captures[2] ATTRIBUTE_UNUSED = { _q20, _q21 };
   17776                 :           0 :                             if (gimple_simplify_576 (res_op, seq, valueize, type, captures, UNGE_EXPR, MAX_EXPR, MAX_EXPR))
   17777                 :           0 :                               return true;
   17778                 :             :                           }
   17779                 :             :                         }
   17780                 :             :                     }
   17781                 :             :                   break;
   17782                 :             :                 }
   17783                 :       11149 :               case GT_EXPR:
   17784                 :       11149 :                 {
   17785                 :       11149 :                   tree _q20 = gimple_assign_rhs1 (_a1);
   17786                 :       11149 :                   _q20 = do_valueize (valueize, _q20);
   17787                 :       11149 :                   tree _q21 = gimple_assign_rhs2 (_a1);
   17788                 :       11149 :                   _q21 = do_valueize (valueize, _q21);
   17789                 :       11149 :                   if ((_p1 == _q20 && ! TREE_SIDE_EFFECTS (_p1)) || (operand_equal_p (_p1, _q20, 0) && types_match (_p1, _q20)))
   17790                 :             :                     {
   17791                 :         419 :                       if ((_p2 == _q21 && ! TREE_SIDE_EFFECTS (_p2)) || (operand_equal_p (_p2, _q21, 0) && types_match (_p2, _q21)))
   17792                 :             :                         {
   17793                 :         383 :                           {
   17794                 :         383 :                             tree captures[2] ATTRIBUTE_UNUSED = { _q20, _q21 };
   17795                 :         383 :                             if (gimple_simplify_575 (res_op, seq, valueize, type, captures, GT_EXPR, MAX_EXPR, MAX_EXPR))
   17796                 :           3 :                               return true;
   17797                 :             :                           }
   17798                 :             :                         }
   17799                 :             :                     }
   17800                 :       11146 :                   if ((_p1 == _q21 && ! TREE_SIDE_EFFECTS (_p1)) || (operand_equal_p (_p1, _q21, 0) && types_match (_p1, _q21)))
   17801                 :             :                     {
   17802                 :         128 :                       if ((_p2 == _q20 && ! TREE_SIDE_EFFECTS (_p2)) || (operand_equal_p (_p2, _q20, 0) && types_match (_p2, _q20)))
   17803                 :             :                         {
   17804                 :          74 :                           {
   17805                 :          74 :                             tree captures[2] ATTRIBUTE_UNUSED = { _q20, _q21 };
   17806                 :          74 :                             if (gimple_simplify_576 (res_op, seq, valueize, type, captures, GT_EXPR, MIN_EXPR, MIN_EXPR))
   17807                 :           2 :                               return true;
   17808                 :             :                           }
   17809                 :             :                         }
   17810                 :             :                     }
   17811                 :             :                   break;
   17812                 :             :                 }
   17813                 :        9615 :               case GE_EXPR:
   17814                 :        9615 :                 {
   17815                 :        9615 :                   tree _q20 = gimple_assign_rhs1 (_a1);
   17816                 :        9615 :                   _q20 = do_valueize (valueize, _q20);
   17817                 :        9615 :                   tree _q21 = gimple_assign_rhs2 (_a1);
   17818                 :        9615 :                   _q21 = do_valueize (valueize, _q21);
   17819                 :        9615 :                   if ((_p1 == _q20 && ! TREE_SIDE_EFFECTS (_p1)) || (operand_equal_p (_p1, _q20, 0) && types_match (_p1, _q20)))
   17820                 :             :                     {
   17821                 :         361 :                       if ((_p2 == _q21 && ! TREE_SIDE_EFFECTS (_p2)) || (operand_equal_p (_p2, _q21, 0) && types_match (_p2, _q21)))
   17822                 :             :                         {
   17823                 :           0 :                           {
   17824                 :           0 :                             tree captures[2] ATTRIBUTE_UNUSED = { _q20, _q21 };
   17825                 :           0 :                             if (gimple_simplify_575 (res_op, seq, valueize, type, captures, GE_EXPR, MAX_EXPR, MAX_EXPR))
   17826                 :           0 :                               return true;
   17827                 :             :                           }
   17828                 :             :                         }
   17829                 :             :                     }
   17830                 :        9615 :                   if ((_p1 == _q21 && ! TREE_SIDE_EFFECTS (_p1)) || (operand_equal_p (_p1, _q21, 0) && types_match (_p1, _q21)))
   17831                 :             :                     {
   17832                 :           9 :                       if ((_p2 == _q20 && ! TREE_SIDE_EFFECTS (_p2)) || (operand_equal_p (_p2, _q20, 0) && types_match (_p2, _q20)))
   17833                 :             :                         {
   17834                 :           0 :                           {
   17835                 :           0 :                             tree captures[2] ATTRIBUTE_UNUSED = { _q20, _q21 };
   17836                 :           0 :                             if (gimple_simplify_576 (res_op, seq, valueize, type, captures, GE_EXPR, MIN_EXPR, MIN_EXPR))
   17837                 :           0 :                               return true;
   17838                 :             :                           }
   17839                 :             :                         }
   17840                 :             :                     }
   17841                 :             :                   break;
   17842                 :             :                 }
   17843                 :         157 :               case UNLT_EXPR:
   17844                 :         157 :                 {
   17845                 :         157 :                   tree _q20 = gimple_assign_rhs1 (_a1);
   17846                 :         157 :                   _q20 = do_valueize (valueize, _q20);
   17847                 :         157 :                   tree _q21 = gimple_assign_rhs2 (_a1);
   17848                 :         157 :                   _q21 = do_valueize (valueize, _q21);
   17849                 :         157 :                   if ((_p1 == _q20 && ! TREE_SIDE_EFFECTS (_p1)) || (operand_equal_p (_p1, _q20, 0) && types_match (_p1, _q20)))
   17850                 :             :                     {
   17851                 :           0 :                       if ((_p2 == _q21 && ! TREE_SIDE_EFFECTS (_p2)) || (operand_equal_p (_p2, _q21, 0) && types_match (_p2, _q21)))
   17852                 :             :                         {
   17853                 :           0 :                           {
   17854                 :           0 :                             tree captures[2] ATTRIBUTE_UNUSED = { _q20, _q21 };
   17855                 :           0 :                             if (gimple_simplify_575 (res_op, seq, valueize, type, captures, UNLT_EXPR, MAX_EXPR, MAX_EXPR))
   17856                 :           0 :                               return true;
   17857                 :             :                           }
   17858                 :             :                         }
   17859                 :             :                     }
   17860                 :         157 :                   if ((_p1 == _q21 && ! TREE_SIDE_EFFECTS (_p1)) || (operand_equal_p (_p1, _q21, 0) && types_match (_p1, _q21)))
   17861                 :             :                     {
   17862                 :           0 :                       if ((_p2 == _q20 && ! TREE_SIDE_EFFECTS (_p2)) || (operand_equal_p (_p2, _q20, 0) && types_match (_p2, _q20)))
   17863                 :             :                         {
   17864                 :           0 :                           {
   17865                 :           0 :                             tree captures[2] ATTRIBUTE_UNUSED = { _q20, _q21 };
   17866                 :           0 :                             if (gimple_simplify_576 (res_op, seq, valueize, type, captures, UNLT_EXPR, MIN_EXPR, MIN_EXPR))
   17867                 :           0 :                               return true;
   17868                 :             :                           }
   17869                 :             :                         }
   17870                 :             :                     }
   17871                 :             :                   break;
   17872                 :             :                 }
   17873                 :         187 :               case UNLE_EXPR:
   17874                 :         187 :                 {
   17875                 :         187 :                   tree _q20 = gimple_assign_rhs1 (_a1);
   17876                 :         187 :                   _q20 = do_valueize (valueize, _q20);
   17877                 :         187 :                   tree _q21 = gimple_assign_rhs2 (_a1);
   17878                 :         187 :                   _q21 = do_valueize (valueize, _q21);
   17879                 :         187 :                   if ((_p1 == _q20 && ! TREE_SIDE_EFFECTS (_p1)) || (operand_equal_p (_p1, _q20, 0) && types_match (_p1, _q20)))
   17880                 :             :                     {
   17881                 :           0 :                       if ((_p2 == _q21 && ! TREE_SIDE_EFFECTS (_p2)) || (operand_equal_p (_p2, _q21, 0) && types_match (_p2, _q21)))
   17882                 :             :                         {
   17883                 :           0 :                           {
   17884                 :           0 :                             tree captures[2] ATTRIBUTE_UNUSED = { _q20, _q21 };
   17885                 :           0 :                             if (gimple_simplify_575 (res_op, seq, valueize, type, captures, UNLE_EXPR, MAX_EXPR, MAX_EXPR))
   17886                 :           0 :                               return true;
   17887                 :             :                           }
   17888                 :             :                         }
   17889                 :             :                     }
   17890                 :         187 :                   if ((_p1 == _q21 && ! TREE_SIDE_EFFECTS (_p1)) || (operand_equal_p (_p1, _q21, 0) && types_match (_p1, _q21)))
   17891                 :             :                     {
   17892                 :           0 :                       if ((_p2 == _q20 && ! TREE_SIDE_EFFECTS (_p2)) || (operand_equal_p (_p2, _q20, 0) && types_match (_p2, _q20)))
   17893                 :             :                         {
   17894                 :           0 :                           {
   17895                 :           0 :                             tree captures[2] ATTRIBUTE_UNUSED = { _q20, _q21 };
   17896                 :           0 :                             if (gimple_simplify_576 (res_op, seq, valueize, type, captures, UNLE_EXPR, MIN_EXPR, MIN_EXPR))
   17897                 :           0 :                               return true;
   17898                 :             :                           }
   17899                 :             :                         }
   17900                 :             :                     }
   17901                 :             :                   break;
   17902                 :             :                 }
   17903                 :       18761 :               case NE_EXPR:
   17904                 :       18761 :                 {
   17905                 :       18761 :                   tree _q20 = gimple_assign_rhs1 (_a1);
   17906                 :       18761 :                   _q20 = do_valueize (valueize, _q20);
   17907                 :       18761 :                   tree _q21 = gimple_assign_rhs2 (_a1);
   17908                 :       18761 :                   _q21 = do_valueize (valueize, _q21);
   17909                 :       18761 :                   if (tree_swap_operands_p (_q20, _q21))
   17910                 :        1255 :                     std::swap (_q20, _q21);
   17911                 :       18761 :                   switch (TREE_CODE (_p1))
   17912                 :             :                     {
   17913                 :        2055 :                     case SSA_NAME:
   17914                 :        2055 :                       if (gimple *_d2 = get_def (valueize, _p1))
   17915                 :             :                         {
   17916                 :        2008 :                           if (gassign *_a2 = dyn_cast <gassign *> (_d2))
   17917                 :        3001 :                             switch (gimple_assign_rhs_code (_a2))
   17918                 :             :                               {
   17919                 :         285 :                               case MINUS_EXPR:
   17920                 :         285 :                                 {
   17921                 :         285 :                                   tree _q50 = gimple_assign_rhs1 (_a2);
   17922                 :         285 :                                   _q50 = do_valueize (valueize, _q50);
   17923                 :         285 :                                   tree _q51 = gimple_assign_rhs2 (_a2);
   17924                 :         285 :                                   _q51 = do_valueize (valueize, _q51);
   17925                 :         285 :                                   if ((_q50 == _q20 && ! TREE_SIDE_EFFECTS (_q50)) || (operand_equal_p (_q50, _q20, 0) && types_match (_q50, _q20)))
   17926                 :             :                                     {
   17927                 :           0 :                                       if ((_q51 == _q21 && ! TREE_SIDE_EFFECTS (_q51)) || (operand_equal_p (_q51, _q21, 0) && types_match (_q51, _q21)))
   17928                 :             :                                         {
   17929                 :           0 :                                           if (integer_zerop (_p2))
   17930                 :             :                                             {
   17931                 :           0 :                                               {
   17932                 :           0 :                                                 tree captures[3] ATTRIBUTE_UNUSED = { _q20, _q21, _p1 };
   17933                 :           0 :                                                 if (gimple_simplify_577 (res_op, seq, valueize, type, captures))
   17934                 :           0 :                                                   return true;
   17935                 :             :                                               }
   17936                 :             :                                             }
   17937                 :             :                                         }
   17938                 :             :                                     }
   17939                 :         285 :                                   if ((_q50 == _q21 && ! TREE_SIDE_EFFECTS (_q50)) || (operand_equal_p (_q50, _q21, 0) && types_match (_q50, _q21)))
   17940                 :             :                                     {
   17941                 :           0 :                                       if ((_q51 == _q20 && ! TREE_SIDE_EFFECTS (_q51)) || (operand_equal_p (_q51, _q20, 0) && types_match (_q51, _q20)))
   17942                 :             :                                         {
   17943                 :           0 :                                           if (integer_zerop (_p2))
   17944                 :             :                                             {
   17945                 :           0 :                                               {
   17946                 :           0 :                                                 tree captures[3] ATTRIBUTE_UNUSED = { _q21, _q20, _p1 };
   17947                 :           0 :                                                 if (gimple_simplify_577 (res_op, seq, valueize, type, captures))
   17948                 :           0 :                                                   return true;
   17949                 :             :                                               }
   17950                 :             :                                             }
   17951                 :             :                                         }
   17952                 :             :                                     }
   17953                 :             :                                   break;
   17954                 :             :                                 }
   17955                 :          19 :                               case BIT_XOR_EXPR:
   17956                 :          19 :                                 {
   17957                 :          19 :                                   tree _q50 = gimple_assign_rhs1 (_a2);
   17958                 :          19 :                                   _q50 = do_valueize (valueize, _q50);
   17959                 :          19 :                                   tree _q51 = gimple_assign_rhs2 (_a2);
   17960                 :          19 :                                   _q51 = do_valueize (valueize, _q51);
   17961                 :          19 :                                   if (tree_swap_operands_p (_q50, _q51))
   17962                 :           8 :                                     std::swap (_q50, _q51);
   17963                 :          19 :                                   if ((_q50 == _q20 && ! TREE_SIDE_EFFECTS (_q50)) || (operand_equal_p (_q50, _q20, 0) && types_match (_q50, _q20)))
   17964                 :             :                                     {
   17965                 :           0 :                                       if ((_q51 == _q21 && ! TREE_SIDE_EFFECTS (_q51)) || (operand_equal_p (_q51, _q21, 0) && types_match (_q51, _q21)))
   17966                 :             :                                         {
   17967                 :           0 :                                           if (integer_zerop (_p2))
   17968                 :             :                                             {
   17969                 :           0 :                                               {
   17970                 :           0 :                                                 tree captures[3] ATTRIBUTE_UNUSED = { _q20, _q21, _p1 };
   17971                 :           0 :                                                 if (gimple_simplify_578 (res_op, seq, valueize, type, captures))
   17972                 :           0 :                                                   return true;
   17973                 :             :                                               }
   17974                 :           0 :                                               {
   17975                 :           0 :                                                 tree captures[3] ATTRIBUTE_UNUSED = { _q21, _q20, _p1 };
   17976                 :           0 :                                                 if (gimple_simplify_578 (res_op, seq, valueize, type, captures))
   17977                 :           0 :                                                   return true;
   17978                 :             :                                               }
   17979                 :             :                                             }
   17980                 :             :                                         }
   17981                 :             :                                     }
   17982                 :          19 :                                   if ((_q50 == _q21 && ! TREE_SIDE_EFFECTS (_q50)) || (operand_equal_p (_q50, _q21, 0) && types_match (_q50, _q21)))
   17983                 :             :                                     {
   17984                 :           0 :                                       if ((_q51 == _q20 && ! TREE_SIDE_EFFECTS (_q51)) || (operand_equal_p (_q51, _q20, 0) && types_match (_q51, _q20)))
   17985                 :             :                                         {
   17986                 :           0 :                                           if (integer_zerop (_p2))
   17987                 :             :                                             {
   17988                 :           0 :                                               {
   17989                 :           0 :                                                 tree captures[3] ATTRIBUTE_UNUSED = { _q20, _q21, _p1 };
   17990                 :           0 :                                                 if (gimple_simplify_578 (res_op, seq, valueize, type, captures))
   17991                 :           0 :                                                   return true;
   17992                 :             :                                               }
   17993                 :           0 :                                               {
   17994                 :           0 :                                                 tree captures[3] ATTRIBUTE_UNUSED = { _q21, _q20, _p1 };
   17995                 :           0 :                                                 if (gimple_simplify_578 (res_op, seq, valueize, type, captures))
   17996                 :           0 :                                                   return true;
   17997                 :             :                                               }
   17998                 :             :                                             }
   17999                 :             :                                         }
   18000                 :             :                                     }
   18001                 :      150655 :                                   break;
   18002                 :             :                                 }
   18003                 :          31 :                               case BIT_AND_EXPR:
   18004                 :          31 :                                 {
   18005                 :          31 :                                   tree _q50 = gimple_assign_rhs1 (_a2);
   18006                 :          31 :                                   _q50 = do_valueize (valueize, _q50);
   18007                 :          31 :                                   tree _q51 = gimple_assign_rhs2 (_a2);
   18008                 :          31 :                                   _q51 = do_valueize (valueize, _q51);
   18009                 :          31 :                                   if (tree_swap_operands_p (_q50, _q51))
   18010                 :           8 :                                     std::swap (_q50, _q51);
   18011                 :          31 :                                   if ((_q50 == _q20 && ! TREE_SIDE_EFFECTS (_q50)) || (operand_equal_p (_q50, _q20, 0) && types_match (_q50, _q20)))
   18012                 :             :                                     {
   18013                 :           0 :                                       if ((_q51 == _q21 && ! TREE_SIDE_EFFECTS (_q51)) || (operand_equal_p (_q51, _q21, 0) && types_match (_q51, _q21)))
   18014                 :             :                                         {
   18015                 :           0 :                                           if ((_p2 == _q20 && ! TREE_SIDE_EFFECTS (_p2)) || (operand_equal_p (_p2, _q20, 0) && types_match (_p2, _q20)))
   18016                 :             :                                             {
   18017                 :           0 :                                               {
   18018                 :           0 :                                                 tree captures[3] ATTRIBUTE_UNUSED = { _q20, _q21, _p1 };
   18019                 :           0 :                                                 if (gimple_simplify_579 (res_op, seq, valueize, type, captures, BIT_AND_EXPR))
   18020                 :           0 :                                                   return true;
   18021                 :             :                                               }
   18022                 :             :                                             }
   18023                 :           0 :                                           if ((_p2 == _q21 && ! TREE_SIDE_EFFECTS (_p2)) || (operand_equal_p (_p2, _q21, 0) && types_match (_p2, _q21)))
   18024                 :             :                                             {
   18025                 :           0 :                                               {
   18026                 :           0 :                                                 tree captures[3] ATTRIBUTE_UNUSED = { _q21, _q20, _p1 };
   18027                 :           0 :                                                 if (gimple_simplify_579 (res_op, seq, valueize, type, captures, BIT_AND_EXPR))
   18028                 :           0 :                                                   return true;
   18029                 :             :                                               }
   18030                 :             :                                             }
   18031                 :             :                                         }
   18032                 :             :                                     }
   18033                 :          31 :                                   if ((_q50 == _q21 && ! TREE_SIDE_EFFECTS (_q50)) || (operand_equal_p (_q50, _q21, 0) && types_match (_q50, _q21)))
   18034                 :             :                                     {
   18035                 :           0 :                                       if ((_q51 == _q20 && ! TREE_SIDE_EFFECTS (_q51)) || (operand_equal_p (_q51, _q20, 0) && types_match (_q51, _q20)))
   18036                 :             :                                         {
   18037                 :           0 :                                           if ((_p2 == _q20 && ! TREE_SIDE_EFFECTS (_p2)) || (operand_equal_p (_p2, _q20, 0) && types_match (_p2, _q20)))
   18038                 :             :                                             {
   18039                 :           0 :                                               {
   18040                 :           0 :                                                 tree captures[3] ATTRIBUTE_UNUSED = { _q20, _q21, _p1 };
   18041                 :           0 :                                                 if (gimple_simplify_579 (res_op, seq, valueize, type, captures, BIT_AND_EXPR))
   18042                 :           0 :                                                   return true;
   18043                 :             :                                               }
   18044                 :             :                                             }
   18045                 :           0 :                                           if ((_p2 == _q21 && ! TREE_SIDE_EFFECTS (_p2)) || (operand_equal_p (_p2, _q21, 0) && types_match (_p2, _q21)))
   18046                 :             :                                             {
   18047                 :           0 :                                               {
   18048                 :           0 :                                                 tree captures[3] ATTRIBUTE_UNUSED = { _q21, _q20, _p1 };
   18049                 :           0 :                                                 if (gimple_simplify_579 (res_op, seq, valueize, type, captures, BIT_AND_EXPR))
   18050                 :           0 :                                                   return true;
   18051                 :             :                                               }
   18052                 :             :                                             }
   18053                 :             :                                         }
   18054                 :             :                                     }
   18055                 :      150655 :                                   break;
   18056                 :             :                                 }
   18057                 :          19 :                               case BIT_IOR_EXPR:
   18058                 :          19 :                                 {
   18059                 :          19 :                                   tree _q50 = gimple_assign_rhs1 (_a2);
   18060                 :          19 :                                   _q50 = do_valueize (valueize, _q50);
   18061                 :          19 :                                   tree _q51 = gimple_assign_rhs2 (_a2);
   18062                 :          19 :                                   _q51 = do_valueize (valueize, _q51);
   18063                 :          19 :                                   if (tree_swap_operands_p (_q50, _q51))
   18064                 :           8 :                                     std::swap (_q50, _q51);
   18065                 :          19 :                                   if ((_q50 == _q20 && ! TREE_SIDE_EFFECTS (_q50)) || (operand_equal_p (_q50, _q20, 0) && types_match (_q50, _q20)))
   18066                 :             :                                     {
   18067                 :           0 :                                       if ((_q51 == _q21 && ! TREE_SIDE_EFFECTS (_q51)) || (operand_equal_p (_q51, _q21, 0) && types_match (_q51, _q21)))
   18068                 :             :                                         {
   18069                 :           0 :                                           if ((_p2 == _q20 && ! TREE_SIDE_EFFECTS (_p2)) || (operand_equal_p (_p2, _q20, 0) && types_match (_p2, _q20)))
   18070                 :             :                                             {
   18071                 :           0 :                                               {
   18072                 :           0 :                                                 tree captures[3] ATTRIBUTE_UNUSED = { _q20, _q21, _p1 };
   18073                 :           0 :                                                 if (gimple_simplify_579 (res_op, seq, valueize, type, captures, BIT_IOR_EXPR))
   18074                 :           0 :                                                   return true;
   18075                 :             :                                               }
   18076                 :             :                                             }
   18077                 :           0 :                                           if ((_p2 == _q21 && ! TREE_SIDE_EFFECTS (_p2)) || (operand_equal_p (_p2, _q21, 0) && types_match (_p2, _q21)))
   18078                 :             :                                             {
   18079                 :           0 :                                               {
   18080                 :           0 :                                                 tree captures[3] ATTRIBUTE_UNUSED = { _q21, _q20, _p1 };
   18081                 :           0 :                                                 if (gimple_simplify_579 (res_op, seq, valueize, type, captures, BIT_IOR_EXPR))
   18082                 :           0 :                                                   return true;
   18083                 :             :                                               }
   18084                 :             :                                             }
   18085                 :             :                                         }
   18086                 :             :                                     }
   18087                 :          19 :                                   if ((_q50 == _q21 && ! TREE_SIDE_EFFECTS (_q50)) || (operand_equal_p (_q50, _q21, 0) && types_match (_q50, _q21)))
   18088                 :             :                                     {
   18089                 :           0 :                                       if ((_q51 == _q20 && ! TREE_SIDE_EFFECTS (_q51)) || (operand_equal_p (_q51, _q20, 0) && types_match (_q51, _q20)))
   18090                 :             :                                         {
   18091                 :           0 :                                           if ((_p2 == _q20 && ! TREE_SIDE_EFFECTS (_p2)) || (operand_equal_p (_p2, _q20, 0) && types_match (_p2, _q20)))
   18092                 :             :                                             {
   18093                 :           0 :                                               {
   18094                 :           0 :                                                 tree captures[3] ATTRIBUTE_UNUSED = { _q20, _q21, _p1 };
   18095                 :           0 :                                                 if (gimple_simplify_579 (res_op, seq, valueize, type, captures, BIT_IOR_EXPR))
   18096                 :           0 :                                                   return true;
   18097                 :             :                                               }
   18098                 :             :                                             }
   18099                 :           0 :                                           if ((_p2 == _q21 && ! TREE_SIDE_EFFECTS (_p2)) || (operand_equal_p (_p2, _q21, 0) && types_match (_p2, _q21)))
   18100                 :             :                                             {
   18101                 :           0 :                                               {
   18102                 :           0 :                                                 tree captures[3] ATTRIBUTE_UNUSED = { _q21, _q20, _p1 };
   18103                 :           0 :                                                 if (gimple_simplify_579 (res_op, seq, valueize, type, captures, BIT_IOR_EXPR))
   18104                 :           0 :                                                   return true;
   18105                 :             :                                               }
   18106                 :             :                                             }
   18107                 :             :                                         }
   18108                 :             :                                     }
   18109                 :      150655 :                                   break;
   18110                 :             :                                 }
   18111                 :           4 :                               case MIN_EXPR:
   18112                 :           4 :                                 {
   18113                 :           4 :                                   tree _q50 = gimple_assign_rhs1 (_a2);
   18114                 :           4 :                                   _q50 = do_valueize (valueize, _q50);
   18115                 :           4 :                                   tree _q51 = gimple_assign_rhs2 (_a2);
   18116                 :           4 :                                   _q51 = do_valueize (valueize, _q51);
   18117                 :           4 :                                   if (tree_swap_operands_p (_q50, _q51))
   18118                 :           0 :                                     std::swap (_q50, _q51);
   18119                 :           4 :                                   if ((_q50 == _q20 && ! TREE_SIDE_EFFECTS (_q50)) || (operand_equal_p (_q50, _q20, 0) && types_match (_q50, _q20)))
   18120                 :             :                                     {
   18121                 :           4 :                                       if ((_q51 == _q21 && ! TREE_SIDE_EFFECTS (_q51)) || (operand_equal_p (_q51, _q21, 0) && types_match (_q51, _q21)))
   18122                 :             :                                         {
   18123                 :           4 :                                           if ((_p2 == _q20 && ! TREE_SIDE_EFFECTS (_p2)) || (operand_equal_p (_p2, _q20, 0) && types_match (_p2, _q20)))
   18124                 :             :                                             {
   18125                 :           4 :                                               {
   18126                 :           4 :                                                 tree captures[3] ATTRIBUTE_UNUSED = { _q20, _q21, _p1 };
   18127                 :           4 :                                                 if (gimple_simplify_579 (res_op, seq, valueize, type, captures, MIN_EXPR))
   18128                 :           4 :                                                   return true;
   18129                 :             :                                               }
   18130                 :             :                                             }
   18131                 :           0 :                                           if ((_p2 == _q21 && ! TREE_SIDE_EFFECTS (_p2)) || (operand_equal_p (_p2, _q21, 0) && types_match (_p2, _q21)))
   18132                 :             :                                             {
   18133                 :           0 :                                               {
   18134                 :           0 :                                                 tree captures[3] ATTRIBUTE_UNUSED = { _q21, _q20, _p1 };
   18135                 :           0 :                                                 if (gimple_simplify_579 (res_op, seq, valueize, type, captures, MIN_EXPR))
   18136                 :           0 :                                                   return true;
   18137                 :             :                                               }
   18138                 :             :                                             }
   18139                 :             :                                         }
   18140                 :             :                                     }
   18141                 :           0 :                                   if ((_q50 == _q21 && ! TREE_SIDE_EFFECTS (_q50)) || (operand_equal_p (_q50, _q21, 0) && types_match (_q50, _q21)))
   18142                 :             :                                     {
   18143                 :           0 :                                       if ((_q51 == _q20 && ! TREE_SIDE_EFFECTS (_q51)) || (operand_equal_p (_q51, _q20, 0) && types_match (_q51, _q20)))
   18144                 :             :                                         {
   18145                 :           0 :                                           if ((_p2 == _q20 && ! TREE_SIDE_EFFECTS (_p2)) || (operand_equal_p (_p2, _q20, 0) && types_match (_p2, _q20)))
   18146                 :             :                                             {
   18147                 :           0 :                                               {
   18148                 :           0 :                                                 tree captures[3] ATTRIBUTE_UNUSED = { _q20, _q21, _p1 };
   18149                 :           0 :                                                 if (gimple_simplify_579 (res_op, seq, valueize, type, captures, MIN_EXPR))
   18150                 :           0 :                                                   return true;
   18151                 :             :                                               }
   18152                 :             :                                             }
   18153                 :           0 :                                           if ((_p2 == _q21 && ! TREE_SIDE_EFFECTS (_p2)) || (operand_equal_p (_p2, _q21, 0) && types_match (_p2, _q21)))
   18154                 :             :                                             {
   18155                 :           0 :                                               {
   18156                 :           0 :                                                 tree captures[3] ATTRIBUTE_UNUSED = { _q21, _q20, _p1 };
   18157                 :           0 :                                                 if (gimple_simplify_579 (res_op, seq, valueize, type, captures, MIN_EXPR))
   18158                 :           0 :                                                   return true;
   18159                 :             :                                               }
   18160                 :             :                                             }
   18161                 :             :                                         }
   18162                 :             :                                     }
   18163                 :      150655 :                                   break;
   18164                 :             :                                 }
   18165                 :           4 :                               case MAX_EXPR:
   18166                 :           4 :                                 {
   18167                 :           4 :                                   tree _q50 = gimple_assign_rhs1 (_a2);
   18168                 :           4 :                                   _q50 = do_valueize (valueize, _q50);
   18169                 :           4 :                                   tree _q51 = gimple_assign_rhs2 (_a2);
   18170                 :           4 :                                   _q51 = do_valueize (valueize, _q51);
   18171                 :           4 :                                   if (tree_swap_operands_p (_q50, _q51))
   18172                 :           0 :                                     std::swap (_q50, _q51);
   18173                 :           4 :                                   if ((_q50 == _q20 && ! TREE_SIDE_EFFECTS (_q50)) || (operand_equal_p (_q50, _q20, 0) && types_match (_q50, _q20)))
   18174                 :             :                                     {
   18175                 :           4 :                                       if ((_q51 == _q21 && ! TREE_SIDE_EFFECTS (_q51)) || (operand_equal_p (_q51, _q21, 0) && types_match (_q51, _q21)))
   18176                 :             :                                         {
   18177                 :           4 :                                           if ((_p2 == _q20 && ! TREE_SIDE_EFFECTS (_p2)) || (operand_equal_p (_p2, _q20, 0) && types_match (_p2, _q20)))
   18178                 :             :                                             {
   18179                 :           4 :                                               {
   18180                 :           4 :                                                 tree captures[3] ATTRIBUTE_UNUSED = { _q20, _q21, _p1 };
   18181                 :           4 :                                                 if (gimple_simplify_579 (res_op, seq, valueize, type, captures, MAX_EXPR))
   18182                 :           4 :                                                   return true;
   18183                 :             :                                               }
   18184                 :             :                                             }
   18185                 :           0 :                                           if ((_p2 == _q21 && ! TREE_SIDE_EFFECTS (_p2)) || (operand_equal_p (_p2, _q21, 0) && types_match (_p2, _q21)))
   18186                 :             :                                             {
   18187                 :           0 :                                               {
   18188                 :           0 :                                                 tree captures[3] ATTRIBUTE_UNUSED = { _q21, _q20, _p1 };
   18189                 :           0 :                                                 if (gimple_simplify_579 (res_op, seq, valueize, type, captures, MAX_EXPR))
   18190                 :           0 :                                                   return true;
   18191                 :             :                                               }
   18192                 :             :                                             }
   18193                 :             :                                         }
   18194                 :             :                                     }
   18195                 :           0 :                                   if ((_q50 == _q21 && ! TREE_SIDE_EFFECTS (_q50)) || (operand_equal_p (_q50, _q21, 0) && types_match (_q50, _q21)))
   18196                 :             :                                     {
   18197                 :           0 :                                       if ((_q51 == _q20 && ! TREE_SIDE_EFFECTS (_q51)) || (operand_equal_p (_q51, _q20, 0) && types_match (_q51, _q20)))
   18198                 :             :                                         {
   18199                 :           0 :                                           if ((_p2 == _q20 && ! TREE_SIDE_EFFECTS (_p2)) || (operand_equal_p (_p2, _q20, 0) && types_match (_p2, _q20)))
   18200                 :             :                                             {
   18201                 :           0 :                                               {
   18202                 :           0 :                                                 tree captures[3] ATTRIBUTE_UNUSED = { _q20, _q21, _p1 };
   18203                 :           0 :                                                 if (gimple_simplify_579 (res_op, seq, valueize, type, captures, MAX_EXPR))
   18204                 :           0 :                                                   return true;
   18205                 :             :                                               }
   18206                 :             :                                             }
   18207                 :           0 :                                           if ((_p2 == _q21 && ! TREE_SIDE_EFFECTS (_p2)) || (operand_equal_p (_p2, _q21, 0) && types_match (_p2, _q21)))
   18208                 :             :                                             {
   18209                 :           0 :                                               {
   18210                 :           0 :                                                 tree captures[3] ATTRIBUTE_UNUSED = { _q21, _q20, _p1 };
   18211                 :           0 :                                                 if (gimple_simplify_579 (res_op, seq, valueize, type, captures, MAX_EXPR))
   18212                 :           0 :                                                   return true;
   18213                 :             :                                               }
   18214                 :             :                                             }
   18215                 :             :                                         }
   18216                 :             :                                     }
   18217                 :      150655 :                                   break;
   18218                 :             :                                 }
   18219                 :          25 :                               case MULT_EXPR:
   18220                 :          25 :                                 {
   18221                 :          25 :                                   tree _q50 = gimple_assign_rhs1 (_a2);
   18222                 :          25 :                                   _q50 = do_valueize (valueize, _q50);
   18223                 :          25 :                                   tree _q51 = gimple_assign_rhs2 (_a2);
   18224                 :          25 :                                   _q51 = do_valueize (valueize, _q51);
   18225                 :          25 :                                   if (tree_swap_operands_p (_q50, _q51))
   18226                 :           8 :                                     std::swap (_q50, _q51);
   18227                 :          25 :                                   if ((_q50 == _q20 && ! TREE_SIDE_EFFECTS (_q50)) || (operand_equal_p (_q50, _q20, 0) && types_match (_q50, _q20)))
   18228                 :             :                                     {
   18229                 :           0 :                                       if ((_q51 == _q21 && ! TREE_SIDE_EFFECTS (_q51)) || (operand_equal_p (_q51, _q21, 0) && types_match (_q51, _q21)))
   18230                 :             :                                         {
   18231                 :           0 :                                           switch (TREE_CODE (_p2))
   18232                 :             :                                             {
   18233                 :           0 :                                             case SSA_NAME:
   18234                 :           0 :                                               if (gimple *_d3 = get_def (valueize, _p2))
   18235                 :             :                                                 {
   18236                 :           0 :                                                   if (gassign *_a3 = dyn_cast <gassign *> (_d3))
   18237                 :           0 :                                                     switch (gimple_assign_rhs_code (_a3))
   18238                 :             :                                                       {
   18239                 :           0 :                                                       case MULT_EXPR:
   18240                 :           0 :                                                         {
   18241                 :           0 :                                                           tree _q80 = gimple_assign_rhs1 (_a3);
   18242                 :           0 :                                                           _q80 = do_valueize (valueize, _q80);
   18243                 :           0 :                                                           tree _q81 = gimple_assign_rhs2 (_a3);
   18244                 :           0 :                                                           _q81 = do_valueize (valueize, _q81);
   18245                 :           0 :                                                           if (tree_swap_operands_p (_q80, _q81))
   18246                 :           0 :                                                             std::swap (_q80, _q81);
   18247                 :           0 :                                                           if ((_q80 == _q20 && ! TREE_SIDE_EFFECTS (_q80)) || (operand_equal_p (_q80, _q20, 0) && types_match (_q80, _q20)))
   18248                 :             :                                                             {
   18249                 :           0 :                                                               if ((_q81 == _q20 && ! TREE_SIDE_EFFECTS (_q81)) || (operand_equal_p (_q81, _q20, 0) && types_match (_q81, _q20)))
   18250                 :             :                                                                 {
   18251                 :           0 :                                                                   {
   18252                 :           0 :                                                                     tree captures[3] ATTRIBUTE_UNUSED = { _q20, _q21, _p1 };
   18253                 :           0 :                                                                     const enum tree_code op = MULT_EXPR;
   18254                 :           0 :                                                                     if (ANY_INTEGRAL_TYPE_P (type)
   18255                 :             : )
   18256                 :             :                                                                       {
   18257                 :           0 :                                                                         gimple_seq *lseq = seq;
   18258                 :           0 :                                                                         if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail2245;
   18259                 :           0 :                                                                         {
   18260                 :           0 :                                                                           tree tem;
   18261                 :           0 :                                                                           tem = captures[2];
   18262                 :           0 :                                                                           res_op->set_value (tem);
   18263                 :           0 :                                                                           if (UNLIKELY (debug_dump)) gimple_dump_logs ("match.pd", 718, __FILE__, __LINE__, true);
   18264                 :           0 :                                                                           return true;
   18265                 :             :                                                                         }
   18266                 :           0 : next_after_fail2245:;
   18267                 :             :                                                                       }
   18268                 :             :                                                                   }
   18269                 :             :                                                                 }
   18270                 :             :                                                             }
   18271                 :          25 :                                                           break;
   18272                 :             :                                                         }
   18273                 :             :                                                       default:;
   18274                 :             :                                                       }
   18275                 :             :                                                 }
   18276                 :             :                                               break;
   18277                 :             :                                             default:;
   18278                 :             :                                             }
   18279                 :             :                                         }
   18280                 :             :                                     }
   18281                 :          25 :                                   if ((_q50 == _q21 && ! TREE_SIDE_EFFECTS (_q50)) || (operand_equal_p (_q50, _q21, 0) && types_match (_q50, _q21)))
   18282                 :             :                                     {
   18283                 :           0 :                                       if ((_q51 == _q20 && ! TREE_SIDE_EFFECTS (_q51)) || (operand_equal_p (_q51, _q20, 0) && types_match (_q51, _q20)))
   18284                 :             :                                         {
   18285                 :           0 :                                           switch (TREE_CODE (_p2))
   18286                 :             :                                             {
   18287                 :           0 :                                             case SSA_NAME:
   18288                 :           0 :                                               if (gimple *_d3 = get_def (valueize, _p2))
   18289                 :             :                                                 {
   18290                 :           0 :                                                   if (gassign *_a3 = dyn_cast <gassign *> (_d3))
   18291                 :           0 :                                                     switch (gimple_assign_rhs_code (_a3))
   18292                 :             :                                                       {
   18293                 :           0 :                                                       case MULT_EXPR:
   18294                 :           0 :                                                         {
   18295                 :           0 :                                                           tree _q80 = gimple_assign_rhs1 (_a3);
   18296                 :           0 :                                                           _q80 = do_valueize (valueize, _q80);
   18297                 :           0 :                                                           tree _q81 = gimple_assign_rhs2 (_a3);
   18298                 :           0 :                                                           _q81 = do_valueize (valueize, _q81);
   18299                 :           0 :                                                           if (tree_swap_operands_p (_q80, _q81))
   18300                 :           0 :                                                             std::swap (_q80, _q81);
   18301                 :           0 :                                                           if ((_q80 == _q21 && ! TREE_SIDE_EFFECTS (_q80)) || (operand_equal_p (_q80, _q21, 0) && types_match (_q80, _q21)))
   18302                 :             :                                                             {
   18303                 :           0 :                                                               if ((_q81 == _q21 && ! TREE_SIDE_EFFECTS (_q81)) || (operand_equal_p (_q81, _q21, 0) && types_match (_q81, _q21)))
   18304                 :             :                                                                 {
   18305                 :           0 :                                                                   {
   18306                 :           0 :                                                                     tree captures[3] ATTRIBUTE_UNUSED = { _q21, _q20, _p1 };
   18307                 :           0 :                                                                     const enum tree_code op = MULT_EXPR;
   18308                 :           0 :                                                                     if (ANY_INTEGRAL_TYPE_P (type)
   18309                 :             : )
   18310                 :             :                                                                       {
   18311                 :           0 :                                                                         gimple_seq *lseq = seq;
   18312                 :           0 :                                                                         if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail2246;
   18313                 :           0 :                                                                         {
   18314                 :           0 :                                                                           tree tem;
   18315                 :           0 :                                                                           tem = captures[2];
   18316                 :           0 :                                                                           res_op->set_value (tem);
   18317                 :           0 :                                                                           if (UNLIKELY (debug_dump)) gimple_dump_logs ("match.pd", 718, __FILE__, __LINE__, true);
   18318                 :           0 :                                                                           return true;
   18319                 :             :                                                                         }
   18320                 :           0 : next_after_fail2246:;
   18321                 :             :                                                                       }
   18322                 :             :                                                                   }
   18323                 :             :                                                                 }
   18324                 :             :                                                             }
   18325                 :      150655 :                                                           break;
   18326                 :             :                                                         }
   18327                 :             :                                                       default:;
   18328                 :             :                                                       }
   18329                 :             :                                                 }
   18330                 :             :                                               break;
   18331                 :             :                                             default:;
   18332                 :             :                                             }
   18333                 :             :                                         }
   18334                 :             :                                     }
   18335                 :      150655 :                                   break;
   18336                 :             :                                 }
   18337                 :          12 :                               case PLUS_EXPR:
   18338                 :          12 :                                 {
   18339                 :          12 :                                   tree _q50 = gimple_assign_rhs1 (_a2);
   18340                 :          12 :                                   _q50 = do_valueize (valueize, _q50);
   18341                 :          12 :                                   tree _q51 = gimple_assign_rhs2 (_a2);
   18342                 :          12 :                                   _q51 = do_valueize (valueize, _q51);
   18343                 :          12 :                                   if (tree_swap_operands_p (_q50, _q51))
   18344                 :           0 :                                     std::swap (_q50, _q51);
   18345                 :          12 :                                   if ((_q50 == _q20 && ! TREE_SIDE_EFFECTS (_q50)) || (operand_equal_p (_q50, _q20, 0) && types_match (_q50, _q20)))
   18346                 :             :                                     {
   18347                 :           0 :                                       if ((_q51 == _q21 && ! TREE_SIDE_EFFECTS (_q51)) || (operand_equal_p (_q51, _q21, 0) && types_match (_q51, _q21)))
   18348                 :             :                                         {
   18349                 :           0 :                                           switch (TREE_CODE (_p2))
   18350                 :             :                                             {
   18351                 :           0 :                                             case SSA_NAME:
   18352                 :           0 :                                               if (gimple *_d3 = get_def (valueize, _p2))
   18353                 :             :                                                 {
   18354                 :           0 :                                                   if (gassign *_a3 = dyn_cast <gassign *> (_d3))
   18355                 :           0 :                                                     switch (gimple_assign_rhs_code (_a3))
   18356                 :             :                                                       {
   18357                 :           0 :                                                       case PLUS_EXPR:
   18358                 :           0 :                                                         {
   18359                 :           0 :                                                           tree _q80 = gimple_assign_rhs1 (_a3);
   18360                 :           0 :                                                           _q80 = do_valueize (valueize, _q80);
   18361                 :           0 :                                                           tree _q81 = gimple_assign_rhs2 (_a3);
   18362                 :           0 :                                                           _q81 = do_valueize (valueize, _q81);
   18363                 :           0 :                                                           if (tree_swap_operands_p (_q80, _q81))
   18364                 :           0 :                                                             std::swap (_q80, _q81);
   18365                 :           0 :                                                           if ((_q80 == _q20 && ! TREE_SIDE_EFFECTS (_q80)) || (operand_equal_p (_q80, _q20, 0) && types_match (_q80, _q20)))
   18366                 :             :                                                             {
   18367                 :           0 :                                                               if ((_q81 == _q20 && ! TREE_SIDE_EFFECTS (_q81)) || (operand_equal_p (_q81, _q20, 0) && types_match (_q81, _q20)))
   18368                 :             :                                                                 {
   18369                 :           0 :                                                                   {
   18370                 :           0 :                                                                     tree captures[3] ATTRIBUTE_UNUSED = { _q20, _q21, _p1 };
   18371                 :           0 :                                                                     const enum tree_code op = PLUS_EXPR;
   18372                 :           0 :                                                                     if (ANY_INTEGRAL_TYPE_P (type)
   18373                 :             : )
   18374                 :             :                                                                       {
   18375                 :           0 :                                                                         gimple_seq *lseq = seq;
   18376                 :           0 :                                                                         if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail2247;
   18377                 :           0 :                                                                         {
   18378                 :           0 :                                                                           tree tem;
   18379                 :           0 :                                                                           tem = captures[2];
   18380                 :           0 :                                                                           res_op->set_value (tem);
   18381                 :           0 :                                                                           if (UNLIKELY (debug_dump)) gimple_dump_logs ("match.pd", 718, __FILE__, __LINE__, true);
   18382                 :           0 :                                                                           return true;
   18383                 :             :                                                                         }
   18384                 :           0 : next_after_fail2247:;
   18385                 :             :                                                                       }
   18386                 :             :                                                                   }
   18387                 :             :                                                                 }
   18388                 :             :                                                             }
   18389                 :          12 :                                                           break;
   18390                 :             :                                                         }
   18391                 :           0 :                                                       case MULT_EXPR:
   18392                 :           0 :                                                         {
   18393                 :           0 :                                                           tree _q80 = gimple_assign_rhs1 (_a3);
   18394                 :           0 :                                                           _q80 = do_valueize (valueize, _q80);
   18395                 :           0 :                                                           tree _q81 = gimple_assign_rhs2 (_a3);
   18396                 :           0 :                                                           _q81 = do_valueize (valueize, _q81);
   18397                 :           0 :                                                           if (tree_swap_operands_p (_q80, _q81))
   18398                 :           0 :                                                             std::swap (_q80, _q81);
   18399                 :           0 :                                                           if ((_q80 == _q20 && ! TREE_SIDE_EFFECTS (_q80)) || (operand_equal_p (_q80, _q20, 0) && types_match (_q80, _q20)))
   18400                 :             :                                                             {
   18401                 :           0 :                                                               if (uniform_integer_cst_p (_q81))
   18402                 :             :                                                                 {
   18403                 :           0 :                                                                   {
   18404                 :           0 :                                                                     tree captures[4] ATTRIBUTE_UNUSED = { _q20, _q21, _p1, _q81 };
   18405                 :           0 :                                                                     if (wi::to_wide (uniform_integer_cst_p (captures[3])) == 2
   18406                 :             : )
   18407                 :             :                                                                       {
   18408                 :           0 :                                                                         gimple_seq *lseq = seq;
   18409                 :           0 :                                                                         if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail2248;
   18410                 :           0 :                                                                         {
   18411                 :           0 :                                                                           tree tem;
   18412                 :           0 :                                                                           tem = captures[2];
   18413                 :           0 :                                                                           res_op->set_value (tem);
   18414                 :           0 :                                                                           if (UNLIKELY (debug_dump)) gimple_dump_logs ("match.pd", 719, __FILE__, __LINE__, true);
   18415                 :           0 :                                                                           return true;
   18416                 :             :                                                                         }
   18417                 :           0 : next_after_fail2248:;
   18418                 :             :                                                                       }
   18419                 :             :                                                                   }
   18420                 :             :                                                                 }
   18421                 :             :                                                             }
   18422                 :           0 :                                                           if ((_q80 == _q21 && ! TREE_SIDE_EFFECTS (_q80)) || (operand_equal_p (_q80, _q21, 0) && types_match (_q80, _q21)))
   18423                 :             :                                                             {
   18424                 :           0 :                                                               if (uniform_integer_cst_p (_q81))
   18425                 :             :                                                                 {
   18426                 :           0 :                                                                   {
   18427                 :           0 :                                                                     tree captures[4] ATTRIBUTE_UNUSED = { _q21, _q20, _p1, _q81 };
   18428                 :           0 :                                                                     if (wi::to_wide (uniform_integer_cst_p (captures[3])) == 2
   18429                 :             : )
   18430                 :             :                                                                       {
   18431                 :           0 :                                                                         gimple_seq *lseq = seq;
   18432                 :           0 :                                                                         if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail2249;
   18433                 :           0 :                                                                         {
   18434                 :           0 :                                                                           tree tem;
   18435                 :           0 :                                                                           tem = captures[2];
   18436                 :           0 :                                                                           res_op->set_value (tem);
   18437                 :           0 :                                                                           if (UNLIKELY (debug_dump)) gimple_dump_logs ("match.pd", 719, __FILE__, __LINE__, true);
   18438                 :           0 :                                                                           return true;
   18439                 :             :                                                                         }
   18440                 :           0 : next_after_fail2249:;
   18441                 :             :                                                                       }
   18442                 :             :                                                                   }
   18443                 :             :                                                                 }
   18444                 :             :                                                             }
   18445                 :          12 :                                                           break;
   18446                 :             :                                                         }
   18447                 :             :                                                       default:;
   18448                 :             :                                                       }
   18449                 :             :                                                 }
   18450                 :             :                                               break;
   18451                 :             :                                             default:;
   18452                 :             :                                             }
   18453                 :             :                                         }
   18454                 :             :                                     }
   18455                 :          12 :                                   if ((_q50 == _q21 && ! TREE_SIDE_EFFECTS (_q50)) || (operand_equal_p (_q50, _q21, 0) && types_match (_q50, _q21)))
   18456                 :             :                                     {
   18457                 :           0 :                                       if ((_q51 == _q20 && ! TREE_SIDE_EFFECTS (_q51)) || (operand_equal_p (_q51, _q20, 0) && types_match (_q51, _q20)))
   18458                 :             :                                         {
   18459                 :           0 :                                           switch (TREE_CODE (_p2))
   18460                 :             :                                             {
   18461                 :           0 :                                             case SSA_NAME:
   18462                 :           0 :                                               if (gimple *_d3 = get_def (valueize, _p2))
   18463                 :             :                                                 {
   18464                 :           0 :                                                   if (gassign *_a3 = dyn_cast <gassign *> (_d3))
   18465                 :           0 :                                                     switch (gimple_assign_rhs_code (_a3))
   18466                 :             :                                                       {
   18467                 :           0 :                                                       case PLUS_EXPR:
   18468                 :           0 :                                                         {
   18469                 :           0 :                                                           tree _q80 = gimple_assign_rhs1 (_a3);
   18470                 :           0 :                                                           _q80 = do_valueize (valueize, _q80);
   18471                 :           0 :                                                           tree _q81 = gimple_assign_rhs2 (_a3);
   18472                 :           0 :                                                           _q81 = do_valueize (valueize, _q81);
   18473                 :           0 :                                                           if (tree_swap_operands_p (_q80, _q81))
   18474                 :           0 :                                                             std::swap (_q80, _q81);
   18475                 :           0 :                                                           if ((_q80 == _q21 && ! TREE_SIDE_EFFECTS (_q80)) || (operand_equal_p (_q80, _q21, 0) && types_match (_q80, _q21)))
   18476                 :             :                                                             {
   18477                 :           0 :                                                               if ((_q81 == _q21 && ! TREE_SIDE_EFFECTS (_q81)) || (operand_equal_p (_q81, _q21, 0) && types_match (_q81, _q21)))
   18478                 :             :                                                                 {
   18479                 :           0 :                                                                   {
   18480                 :           0 :                                                                     tree captures[3] ATTRIBUTE_UNUSED = { _q21, _q20, _p1 };
   18481                 :           0 :                                                                     const enum tree_code op = PLUS_EXPR;
   18482                 :           0 :                                                                     if (ANY_INTEGRAL_TYPE_P (type)
   18483                 :             : )
   18484                 :             :                                                                       {
   18485                 :           0 :                                                                         gimple_seq *lseq = seq;
   18486                 :           0 :                                                                         if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail2250;
   18487                 :           0 :                                                                         {
   18488                 :           0 :                                                                           tree tem;
   18489                 :           0 :                                                                           tem = captures[2];
   18490                 :           0 :                                                                           res_op->set_value (tem);
   18491                 :           0 :                                                                           if (UNLIKELY (debug_dump)) gimple_dump_logs ("match.pd", 718, __FILE__, __LINE__, true);
   18492                 :           0 :                                                                           return true;
   18493                 :             :                                                                         }
   18494                 :           0 : next_after_fail2250:;
   18495                 :             :                                                                       }
   18496                 :             :                                                                   }
   18497                 :             :                                                                 }
   18498                 :             :                                                             }
   18499                 :      150655 :                                                           break;
   18500                 :             :                                                         }
   18501                 :           0 :                                                       case MULT_EXPR:
   18502                 :           0 :                                                         {
   18503                 :           0 :                                                           tree _q80 = gimple_assign_rhs1 (_a3);
   18504                 :           0 :                                                           _q80 = do_valueize (valueize, _q80);
   18505                 :           0 :                                                           tree _q81 = gimple_assign_rhs2 (_a3);
   18506                 :           0 :                                                           _q81 = do_valueize (valueize, _q81);
   18507                 :           0 :                                                           if (tree_swap_operands_p (_q80, _q81))
   18508                 :           0 :                                                             std::swap (_q80, _q81);
   18509                 :           0 :                                                           if ((_q80 == _q20 && ! TREE_SIDE_EFFECTS (_q80)) || (operand_equal_p (_q80, _q20, 0) && types_match (_q80, _q20)))
   18510                 :             :                                                             {
   18511                 :           0 :                                                               if (uniform_integer_cst_p (_q81))
   18512                 :             :                                                                 {
   18513                 :           0 :                                                                   {
   18514                 :           0 :                                                                     tree captures[4] ATTRIBUTE_UNUSED = { _q20, _q21, _p1, _q81 };
   18515                 :           0 :                                                                     if (wi::to_wide (uniform_integer_cst_p (captures[3])) == 2
   18516                 :             : )
   18517                 :             :                                                                       {
   18518                 :           0 :                                                                         gimple_seq *lseq = seq;
   18519                 :           0 :                                                                         if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail2251;
   18520                 :           0 :                                                                         {
   18521                 :           0 :                                                                           tree tem;
   18522                 :           0 :                                                                           tem = captures[2];
   18523                 :           0 :                                                                           res_op->set_value (tem);
   18524                 :           0 :                                                                           if (UNLIKELY (debug_dump)) gimple_dump_logs ("match.pd", 719, __FILE__, __LINE__, true);
   18525                 :           0 :                                                                           return true;
   18526                 :             :                                                                         }
   18527                 :           0 : next_after_fail2251:;
   18528                 :             :                                                                       }
   18529                 :             :                                                                   }
   18530                 :             :                                                                 }
   18531                 :             :                                                             }
   18532                 :           0 :                                                           if ((_q80 == _q21 && ! TREE_SIDE_EFFECTS (_q80)) || (operand_equal_p (_q80, _q21, 0) && types_match (_q80, _q21)))
   18533                 :             :                                                             {
   18534                 :           0 :                                                               if (uniform_integer_cst_p (_q81))
   18535                 :             :                                                                 {
   18536                 :           0 :                                                                   {
   18537                 :           0 :                                                                     tree captures[4] ATTRIBUTE_UNUSED = { _q21, _q20, _p1, _q81 };
   18538                 :           0 :                                                                     if (wi::to_wide (uniform_integer_cst_p (captures[3])) == 2
   18539                 :             : )
   18540                 :             :                                                                       {
   18541                 :           0 :                                                                         gimple_seq *lseq = seq;
   18542                 :           0 :                                                                         if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail2252;
   18543                 :           0 :                                                                         {
   18544                 :           0 :                                                                           tree tem;
   18545                 :           0 :                                                                           tem = captures[2];
   18546                 :           0 :                                                                           res_op->set_value (tem);
   18547                 :           0 :                                                                           if (UNLIKELY (debug_dump)) gimple_dump_logs ("match.pd", 719, __FILE__, __LINE__, true);
   18548                 :           0 :                                                                           return true;
   18549                 :             :                                                                         }
   18550                 :           0 : next_after_fail2252:;
   18551                 :             :                                                                       }
   18552                 :             :                                                                   }
   18553                 :             :                                                                 }
   18554                 :             :                                                             }
   18555                 :      150655 :                                                           break;
   18556                 :             :                                                         }
   18557                 :             :                                                       default:;
   18558                 :             :                                                       }
   18559                 :             :                                                 }
   18560                 :             :                                               break;
   18561                 :             :                                             default:;
   18562                 :             :                                             }
   18563                 :             :                                         }
   18564                 :             :                                     }
   18565                 :      150655 :                                   break;
   18566                 :             :                                 }
   18567                 :             :                               default:;
   18568                 :             :                               }
   18569                 :             :                         }
   18570                 :             :                       break;
   18571                 :             :                     default:;
   18572                 :             :                     }
   18573                 :      150655 :                   break;
   18574                 :             :                 }
   18575                 :             :               default:;
   18576                 :             :               }
   18577                 :             :         }
   18578                 :             :       break;
   18579                 :      150655 :     default:;
   18580                 :             :     }
   18581                 :      150655 :   switch (TREE_CODE (_p1))
   18582                 :             :     {
   18583                 :       24796 :     case SSA_NAME:
   18584                 :       24796 :       if (gimple *_d1 = get_def (valueize, _p1))
   18585                 :             :         {
   18586                 :       22088 :           if (gassign *_a1 = dyn_cast <gassign *> (_d1))
   18587                 :       20965 :             switch (gimple_assign_rhs_code (_a1))
   18588                 :             :               {
   18589                 :        1032 :               case VEC_COND_EXPR:
   18590                 :        1032 :                 {
   18591                 :        1032 :                   tree _q30 = gimple_assign_rhs1 (_a1);
   18592                 :        1032 :                   _q30 = do_valueize (valueize, _q30);
   18593                 :        1032 :                   tree _q31 = gimple_assign_rhs2 (_a1);
   18594                 :        1032 :                   _q31 = do_valueize (valueize, _q31);
   18595                 :        1032 :                   tree _q32 = gimple_assign_rhs3 (_a1);
   18596                 :        1032 :                   _q32 = do_valueize (valueize, _q32);
   18597                 :        1032 :                   if ((_q30 == _p0 && ! TREE_SIDE_EFFECTS (_q30)) || (operand_equal_p (_q30, _p0, 0) && types_match (_q30, _p0)))
   18598                 :             :                     {
   18599                 :           0 :                       {
   18600                 :           0 :                         tree captures[4] ATTRIBUTE_UNUSED = { _p0, _q31, _q32, _p2 };
   18601                 :           0 :                         gimple_seq *lseq = seq;
   18602                 :           0 :                         if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail2253;
   18603                 :           0 :                         {
   18604                 :           0 :                           res_op->set_op (VEC_COND_EXPR, type, 3);
   18605                 :           0 :                           res_op->ops[0] = captures[0];
   18606                 :           0 :                           res_op->ops[1] = captures[1];
   18607                 :           0 :                           res_op->ops[2] = captures[3];
   18608                 :           0 :                           res_op->resimplify (lseq, valueize);
   18609                 :           0 :                           if (UNLIKELY (debug_dump)) gimple_dump_logs ("match.pd", 1102, __FILE__, __LINE__, true);
   18610                 :           0 :                           return true;
   18611                 :             :                         }
   18612                 :           0 : next_after_fail2253:;
   18613                 :             :                       }
   18614                 :             :                     }
   18615                 :             :                   break;
   18616                 :             :                 }
   18617                 :             :               default:;
   18618                 :             :               }
   18619                 :             :         }
   18620                 :             :       break;
   18621                 :      150655 :     default:;
   18622                 :             :     }
   18623                 :      150655 :   switch (TREE_CODE (_p2))
   18624                 :             :     {
   18625                 :       24912 :     case SSA_NAME:
   18626                 :       24912 :       if (gimple *_d1 = get_def (valueize, _p2))
   18627                 :             :         {
   18628                 :       22515 :           if (gassign *_a1 = dyn_cast <gassign *> (_d1))
   18629                 :       21472 :             switch (gimple_assign_rhs_code (_a1))
   18630                 :             :               {
   18631                 :        1414 :               case VEC_COND_EXPR:
   18632                 :        1414 :                 {
   18633                 :        1414 :                   tree _q40 = gimple_assign_rhs1 (_a1);
   18634                 :        1414 :                   _q40 = do_valueize (valueize, _q40);
   18635                 :        1414 :                   tree _q41 = gimple_assign_rhs2 (_a1);
   18636                 :        1414 :                   _q41 = do_valueize (valueize, _q41);
   18637                 :        1414 :                   tree _q42 = gimple_assign_rhs3 (_a1);
   18638                 :        1414 :                   _q42 = do_valueize (valueize, _q42);
   18639                 :        1414 :                   if ((_q40 == _p0 && ! TREE_SIDE_EFFECTS (_q40)) || (operand_equal_p (_q40, _p0, 0) && types_match (_q40, _p0)))
   18640                 :             :                     {
   18641                 :          24 :                       {
   18642                 :          24 :                         tree captures[4] ATTRIBUTE_UNUSED = { _p0, _p1, _q41, _q42 };
   18643                 :          24 :                         gimple_seq *lseq = seq;
   18644                 :          24 :                         if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail2254;
   18645                 :          24 :                         {
   18646                 :          24 :                           res_op->set_op (VEC_COND_EXPR, type, 3);
   18647                 :          24 :                           res_op->ops[0] = captures[0];
   18648                 :          24 :                           res_op->ops[1] = captures[1];
   18649                 :          24 :                           res_op->ops[2] = captures[3];
   18650                 :          24 :                           res_op->resimplify (lseq, valueize);
   18651                 :          24 :                           if (UNLIKELY (debug_dump)) gimple_dump_logs ("match.pd", 1103, __FILE__, __LINE__, true);
   18652                 :          24 :                           return true;
   18653                 :             :                         }
   18654                 :           0 : next_after_fail2254:;
   18655                 :             :                       }
   18656                 :             :                     }
   18657                 :        1390 :                   {
   18658                 :        1390 :                     tree captures[5] ATTRIBUTE_UNUSED = { _p0, _p1, _q40, _q41, _q42 };
   18659                 :        1390 :                     if (inverse_conditions_p (captures[0], captures[2])
   18660                 :             : )
   18661                 :             :                       {
   18662                 :           0 :                         gimple_seq *lseq = seq;
   18663                 :           0 :                         if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail2255;
   18664                 :           0 :                         {
   18665                 :           0 :                           res_op->set_op (VEC_COND_EXPR, type, 3);
   18666                 :           0 :                           res_op->ops[0] = captures[0];
   18667                 :           0 :                           res_op->ops[1] = captures[1];
   18668                 :           0 :                           res_op->ops[2] = captures[3];
   18669                 :           0 :                           res_op->resimplify (lseq, valueize);
   18670                 :           0 :                           if (UNLIKELY (debug_dump)) gimple_dump_logs ("match.pd", 1104, __FILE__, __LINE__, true);
   18671                 :           0 :                           return true;
   18672                 :             :                         }
   18673                 :           0 : next_after_fail2255:;
   18674                 :             :                       }
   18675                 :             :                   }
   18676                 :        1390 :                   break;
   18677                 :             :                 }
   18678                 :             :               default:;
   18679                 :             :               }
   18680                 :             :         }
   18681                 :             :       break;
   18682                 :      150631 :     default:;
   18683                 :             :     }
   18684                 :      150631 :   switch (TREE_CODE (_p1))
   18685                 :             :     {
   18686                 :       24780 :     case SSA_NAME:
   18687                 :       24780 :       if (gimple *_d1 = get_def (valueize, _p1))
   18688                 :             :         {
   18689                 :       22072 :           if (gassign *_a1 = dyn_cast <gassign *> (_d1))
   18690                 :       20933 :             switch (gimple_assign_rhs_code (_a1))
   18691                 :             :               {
   18692                 :        1032 :               case VEC_COND_EXPR:
   18693                 :        1032 :                 {
   18694                 :        1032 :                   tree _q30 = gimple_assign_rhs1 (_a1);
   18695                 :        1032 :                   _q30 = do_valueize (valueize, _q30);
   18696                 :        1032 :                   tree _q31 = gimple_assign_rhs2 (_a1);
   18697                 :        1032 :                   _q31 = do_valueize (valueize, _q31);
   18698                 :        1032 :                   tree _q32 = gimple_assign_rhs3 (_a1);
   18699                 :        1032 :                   _q32 = do_valueize (valueize, _q32);
   18700                 :        1032 :                   {
   18701                 :        1032 :                     tree captures[5] ATTRIBUTE_UNUSED = { _p0, _q30, _q31, _q32, _p2 };
   18702                 :        1032 :                     if (inverse_conditions_p (captures[0], captures[1])
   18703                 :             : )
   18704                 :             :                       {
   18705                 :           0 :                         gimple_seq *lseq = seq;
   18706                 :           0 :                         if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail2256;
   18707                 :           0 :                         {
   18708                 :           0 :                           res_op->set_op (VEC_COND_EXPR, type, 3);
   18709                 :           0 :                           res_op->ops[0] = captures[0];
   18710                 :           0 :                           res_op->ops[1] = captures[3];
   18711                 :           0 :                           res_op->ops[2] = captures[4];
   18712                 :           0 :                           res_op->resimplify (lseq, valueize);
   18713                 :           0 :                           if (UNLIKELY (debug_dump)) gimple_dump_logs ("match.pd", 1105, __FILE__, __LINE__, true);
   18714                 :           0 :                           return true;
   18715                 :             :                         }
   18716                 :           0 : next_after_fail2256:;
   18717                 :             :                       }
   18718                 :             :                   }
   18719                 :        1032 :                   break;
   18720                 :             :                 }
   18721                 :             :               default:;
   18722                 :             :               }
   18723                 :             :         }
   18724                 :             :       break;
   18725                 :      150631 :     default:;
   18726                 :             :     }
   18727                 :      150631 :   if ((_p2 == _p1 && ! TREE_SIDE_EFFECTS (_p2)) || (operand_equal_p (_p2, _p1, 0) && types_match (_p2, _p1)))
   18728                 :             :     {
   18729                 :        1182 :       {
   18730                 :        1182 :         tree captures[2] ATTRIBUTE_UNUSED = { _p0, _p1 };
   18731                 :        1182 :         gimple_seq *lseq = seq;
   18732                 :        1182 :         if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail2257;
   18733                 :        1182 :         {
   18734                 :        1182 :           tree tem;
   18735                 :        1182 :           tem = captures[1];
   18736                 :        1182 :           res_op->set_value (tem);
   18737                 :        1182 :           if (UNLIKELY (debug_dump)) gimple_dump_logs ("match.pd", 1106, __FILE__, __LINE__, true);
   18738                 :        1182 :           return true;
   18739                 :             :         }
   18740                 :           0 : next_after_fail2257:;
   18741                 :             :       }
   18742                 :             :     }
   18743                 :      149449 :   switch (TREE_CODE (_p0))
   18744                 :             :     {
   18745                 :      149341 :     case SSA_NAME:
   18746                 :      149341 :       if (gimple *_d1 = get_def (valueize, _p0))
   18747                 :             :         {
   18748                 :      126714 :           if (gassign *_a1 = dyn_cast <gassign *> (_d1))
   18749                 :      127168 :             switch (gimple_assign_rhs_code (_a1))
   18750                 :             :               {
   18751                 :       39382 :               case EQ_EXPR:
   18752                 :       39382 :                 {
   18753                 :       39382 :                   tree _q20 = gimple_assign_rhs1 (_a1);
   18754                 :       39382 :                   _q20 = do_valueize (valueize, _q20);
   18755                 :       39382 :                   tree _q21 = gimple_assign_rhs2 (_a1);
   18756                 :       39382 :                   _q21 = do_valueize (valueize, _q21);
   18757                 :       39382 :                   if (tree_swap_operands_p (_q20, _q21))
   18758                 :        1410 :                     std::swap (_q20, _q21);
   18759                 :       39382 :                   if (zerop (_q21))
   18760                 :             :                     {
   18761                 :        5507 :                       switch (TREE_CODE (_p2))
   18762                 :             :                         {
   18763                 :         319 :                         case SSA_NAME:
   18764                 :         319 :                           if (gimple *_d2 = get_def (valueize, _p2))
   18765                 :             :                             {
   18766                 :         309 :                               if (gassign *_a2 = dyn_cast <gassign *> (_d2))
   18767                 :         299 :                                 switch (gimple_assign_rhs_code (_a2))
   18768                 :             :                                   {
   18769                 :           0 :                                   case NEGATE_EXPR:
   18770                 :           0 :                                     {
   18771                 :           0 :                                       tree _q60 = gimple_assign_rhs1 (_a2);
   18772                 :           0 :                                       _q60 = do_valueize (valueize, _q60);
   18773                 :           0 :                                       if ((_q60 == _p1 && ! TREE_SIDE_EFFECTS (_q60)) || (operand_equal_p (_q60, _p1, 0) && types_match (_q60, _p1)))
   18774                 :             :                                         {
   18775                 :           0 :                                           {
   18776                 :           0 :                                             tree captures[3] ATTRIBUTE_UNUSED = { _q20, _p1, _p2 };
   18777                 :           0 :                                             const enum tree_code cmp = EQ_EXPR;
   18778                 :           0 :                                             if (!HONOR_SIGNED_ZEROS (type)
   18779                 :           0 :  && bitwise_equal_p (captures[0], captures[1])
   18780                 :             : )
   18781                 :             :                                               {
   18782                 :           0 :                                                 gimple_seq *lseq = seq;
   18783                 :           0 :                                                 if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail2258;
   18784                 :           0 :                                                 {
   18785                 :           0 :                                                   tree tem;
   18786                 :           0 :                                                   tem = captures[2];
   18787                 :           0 :                                                   res_op->set_value (tem);
   18788                 :           0 :                                                   if (UNLIKELY (debug_dump)) gimple_dump_logs ("match.pd", 725, __FILE__, __LINE__, true);
   18789                 :           0 :                                                   return true;
   18790                 :             :                                                 }
   18791                 :           0 : next_after_fail2258:;
   18792                 :             :                                               }
   18793                 :             :                                           }
   18794                 :             :                                         }
   18795                 :             :                                       break;
   18796                 :             :                                     }
   18797                 :             :                                   default:;
   18798                 :             :                                   }
   18799                 :             :                             }
   18800                 :             :                           break;
   18801                 :        5507 :                         default:;
   18802                 :             :                         }
   18803                 :        5507 :                       if (zerop (_p1))
   18804                 :             :                         {
   18805                 :         107 :                           switch (TREE_CODE (_p2))
   18806                 :             :                             {
   18807                 :         107 :                             case SSA_NAME:
   18808                 :         107 :                               if (gimple *_d2 = get_def (valueize, _p2))
   18809                 :             :                                 {
   18810                 :         107 :                                   if (gassign *_a2 = dyn_cast <gassign *> (_d2))
   18811                 :          50 :                                     switch (gimple_assign_rhs_code (_a2))
   18812                 :             :                                       {
   18813                 :           0 :                                       case NEGATE_EXPR:
   18814                 :           0 :                                         {
   18815                 :           0 :                                           tree _q60 = gimple_assign_rhs1 (_a2);
   18816                 :           0 :                                           _q60 = do_valueize (valueize, _q60);
   18817                 :           0 :                                           {
   18818                 :           0 :                                             tree captures[3] ATTRIBUTE_UNUSED = { _q20, _p2, _q60 };
   18819                 :           0 :                                             const enum tree_code cmp = EQ_EXPR;
   18820                 :           0 :                                             if (!HONOR_SIGNED_ZEROS (type)
   18821                 :           0 :  && bitwise_equal_p (captures[0], captures[2])
   18822                 :             : )
   18823                 :             :                                               {
   18824                 :           0 :                                                 gimple_seq *lseq = seq;
   18825                 :           0 :                                                 if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail2259;
   18826                 :           0 :                                                 {
   18827                 :           0 :                                                   tree tem;
   18828                 :           0 :                                                   tem = captures[1];
   18829                 :           0 :                                                   res_op->set_value (tem);
   18830                 :           0 :                                                   if (UNLIKELY (debug_dump)) gimple_dump_logs ("match.pd", 726, __FILE__, __LINE__, true);
   18831                 :           0 :                                                   return true;
   18832                 :             :                                                 }
   18833                 :           0 : next_after_fail2259:;
   18834                 :             :                                               }
   18835                 :             :                                           }
   18836                 :           0 :                                           break;
   18837                 :             :                                         }
   18838                 :             :                                       default:;
   18839                 :             :                                       }
   18840                 :             :                                 }
   18841                 :             :                               break;
   18842                 :             :                             default:;
   18843                 :             :                             }
   18844                 :             :                         }
   18845                 :             :                     }
   18846                 :       39382 :                   switch (TREE_CODE (_q20))
   18847                 :             :                     {
   18848                 :       39382 :                     case SSA_NAME:
   18849                 :       39382 :                       if (gimple *_d2 = get_def (valueize, _q20))
   18850                 :             :                         {
   18851                 :       38826 :                           if (gassign *_a2 = dyn_cast <gassign *> (_d2))
   18852                 :       66435 :                             switch (gimple_assign_rhs_code (_a2))
   18853                 :             :                               {
   18854                 :        2640 :                               case MINUS_EXPR:
   18855                 :        2640 :                                 {
   18856                 :        2640 :                                   tree _q30 = gimple_assign_rhs1 (_a2);
   18857                 :        2640 :                                   _q30 = do_valueize (valueize, _q30);
   18858                 :        2640 :                                   tree _q31 = gimple_assign_rhs2 (_a2);
   18859                 :        2640 :                                   _q31 = do_valueize (valueize, _q31);
   18860                 :        2640 :                                   if (zerop (_q21))
   18861                 :             :                                     {
   18862                 :           0 :                                       if ((_p1 == _q20 && ! TREE_SIDE_EFFECTS (_p1)) || (operand_equal_p (_p1, _q20, 0) && types_match (_p1, _q20)))
   18863                 :             :                                         {
   18864                 :           0 :                                           switch (TREE_CODE (_p2))
   18865                 :             :                                             {
   18866                 :           0 :                                             case SSA_NAME:
   18867                 :           0 :                                               if (gimple *_d3 = get_def (valueize, _p2))
   18868                 :             :                                                 {
   18869                 :           0 :                                                   if (gassign *_a3 = dyn_cast <gassign *> (_d3))
   18870                 :           0 :                                                     switch (gimple_assign_rhs_code (_a3))
   18871                 :             :                                                       {
   18872                 :           0 :                                                       case MINUS_EXPR:
   18873                 :           0 :                                                         {
   18874                 :           0 :                                                           tree _q80 = gimple_assign_rhs1 (_a3);
   18875                 :           0 :                                                           _q80 = do_valueize (valueize, _q80);
   18876                 :           0 :                                                           tree _q81 = gimple_assign_rhs2 (_a3);
   18877                 :           0 :                                                           _q81 = do_valueize (valueize, _q81);
   18878                 :           0 :                                                           if ((_q80 == _q31 && ! TREE_SIDE_EFFECTS (_q80)) || (operand_equal_p (_q80, _q31, 0) && types_match (_q80, _q31)))
   18879                 :             :                                                             {
   18880                 :           0 :                                                               if ((_q81 == _q30 && ! TREE_SIDE_EFFECTS (_q81)) || (operand_equal_p (_q81, _q30, 0) && types_match (_q81, _q30)))
   18881                 :             :                                                                 {
   18882                 :           0 :                                                                   {
   18883                 :           0 :                                                                     tree captures[4] ATTRIBUTE_UNUSED = { _q20, _q30, _q31, _p2 };
   18884                 :           0 :                                                                     const enum tree_code cmp = EQ_EXPR;
   18885                 :           0 :                                                                     if (!HONOR_SIGNED_ZEROS (type)
   18886                 :             : )
   18887                 :             :                                                                       {
   18888                 :           0 :                                                                         gimple_seq *lseq = seq;
   18889                 :           0 :                                                                         if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail2260;
   18890                 :           0 :                                                                         {
   18891                 :           0 :                                                                           tree tem;
   18892                 :           0 :                                                                           tem = captures[3];
   18893                 :           0 :                                                                           res_op->set_value (tem);
   18894                 :           0 :                                                                           if (UNLIKELY (debug_dump)) gimple_dump_logs ("match.pd", 727, __FILE__, __LINE__, true);
   18895                 :           0 :                                                                           return true;
   18896                 :             :                                                                         }
   18897                 :           0 : next_after_fail2260:;
   18898                 :             :                                                                       }
   18899                 :             :                                                                   }
   18900                 :             :                                                                 }
   18901                 :             :                                                             }
   18902                 :             :                                                           break;
   18903                 :             :                                                         }
   18904                 :             :                                                       default:;
   18905                 :             :                                                       }
   18906                 :             :                                                 }
   18907                 :             :                                               break;
   18908                 :             :                                             default:;
   18909                 :             :                                             }
   18910                 :             :                                         }
   18911                 :             :                                     }
   18912                 :        2640 :                                   if (integer_zerop (_q21))
   18913                 :             :                                     {
   18914                 :           0 :                                       if (integer_zerop (_p1))
   18915                 :             :                                         {
   18916                 :           0 :                                           switch (TREE_CODE (_p2))
   18917                 :             :                                             {
   18918                 :           0 :                                             case SSA_NAME:
   18919                 :           0 :                                               if (gimple *_d3 = get_def (valueize, _p2))
   18920                 :             :                                                 {
   18921                 :           0 :                                                   if (gassign *_a3 = dyn_cast <gassign *> (_d3))
   18922                 :           0 :                                                     switch (gimple_assign_rhs_code (_a3))
   18923                 :             :                                                       {
   18924                 :           0 :                                                       case MINUS_EXPR:
   18925                 :           0 :                                                         {
   18926                 :           0 :                                                           tree _q80 = gimple_assign_rhs1 (_a3);
   18927                 :           0 :                                                           _q80 = do_valueize (valueize, _q80);
   18928                 :           0 :                                                           tree _q81 = gimple_assign_rhs2 (_a3);
   18929                 :           0 :                                                           _q81 = do_valueize (valueize, _q81);
   18930                 :           0 :                                                           if ((_q80 == _q31 && ! TREE_SIDE_EFFECTS (_q80)) || (operand_equal_p (_q80, _q31, 0) && types_match (_q80, _q31)))
   18931                 :             :                                                             {
   18932                 :           0 :                                                               if ((_q81 == _q30 && ! TREE_SIDE_EFFECTS (_q81)) || (operand_equal_p (_q81, _q30, 0) && types_match (_q81, _q30)))
   18933                 :             :                                                                 {
   18934                 :           0 :                                                                   {
   18935                 :           0 :                                                                     tree captures[4] ATTRIBUTE_UNUSED = { _q20, _q30, _q31, _p2 };
   18936                 :           0 :                                                                     if (gimple_simplify_580 (res_op, seq, valueize, type, captures, EQ_EXPR))
   18937                 :           0 :                                                                       return true;
   18938                 :             :                                                                   }
   18939                 :             :                                                                 }
   18940                 :             :                                                             }
   18941                 :             :                                                           break;
   18942                 :             :                                                         }
   18943                 :             :                                                       default:;
   18944                 :             :                                                       }
   18945                 :             :                                                 }
   18946                 :             :                                               break;
   18947                 :             :                                             default:;
   18948                 :             :                                             }
   18949                 :             :                                         }
   18950                 :             :                                     }
   18951                 :             :                                   break;
   18952                 :             :                                 }
   18953                 :             :                               default:;
   18954                 :             :                               }
   18955                 :             :                         }
   18956                 :             :                       break;
   18957                 :             :                     default:;
   18958                 :             :                     }
   18959                 :      149446 :                   break;
   18960                 :             :                 }
   18961                 :         287 :               case UNEQ_EXPR:
   18962                 :         287 :                 {
   18963                 :         287 :                   tree _q20 = gimple_assign_rhs1 (_a1);
   18964                 :         287 :                   _q20 = do_valueize (valueize, _q20);
   18965                 :         287 :                   tree _q21 = gimple_assign_rhs2 (_a1);
   18966                 :         287 :                   _q21 = do_valueize (valueize, _q21);
   18967                 :         287 :                   if (tree_swap_operands_p (_q20, _q21))
   18968                 :          19 :                     std::swap (_q20, _q21);
   18969                 :         287 :                   if (zerop (_q21))
   18970                 :             :                     {
   18971                 :           8 :                       switch (TREE_CODE (_p2))
   18972                 :             :                         {
   18973                 :           0 :                         case SSA_NAME:
   18974                 :           0 :                           if (gimple *_d2 = get_def (valueize, _p2))
   18975                 :             :                             {
   18976                 :           0 :                               if (gassign *_a2 = dyn_cast <gassign *> (_d2))
   18977                 :           0 :                                 switch (gimple_assign_rhs_code (_a2))
   18978                 :             :                                   {
   18979                 :           0 :                                   case NEGATE_EXPR:
   18980                 :           0 :                                     {
   18981                 :           0 :                                       tree _q60 = gimple_assign_rhs1 (_a2);
   18982                 :           0 :                                       _q60 = do_valueize (valueize, _q60);
   18983                 :           0 :                                       if ((_q60 == _p1 && ! TREE_SIDE_EFFECTS (_q60)) || (operand_equal_p (_q60, _p1, 0) && types_match (_q60, _p1)))
   18984                 :             :                                         {
   18985                 :           0 :                                           {
   18986                 :           0 :                                             tree captures[3] ATTRIBUTE_UNUSED = { _q20, _p1, _p2 };
   18987                 :           0 :                                             const enum tree_code cmp = UNEQ_EXPR;
   18988                 :           0 :                                             if (!HONOR_SIGNED_ZEROS (type)
   18989                 :           0 :  && bitwise_equal_p (captures[0], captures[1])
   18990                 :             : )
   18991                 :             :                                               {
   18992                 :           0 :                                                 gimple_seq *lseq = seq;
   18993                 :           0 :                                                 if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail2261;
   18994                 :           0 :                                                 {
   18995                 :           0 :                                                   tree tem;
   18996                 :           0 :                                                   tem = captures[2];
   18997                 :           0 :                                                   res_op->set_value (tem);
   18998                 :           0 :                                                   if (UNLIKELY (debug_dump)) gimple_dump_logs ("match.pd", 725, __FILE__, __LINE__, true);
   18999                 :           0 :                                                   return true;
   19000                 :             :                                                 }
   19001                 :           0 : next_after_fail2261:;
   19002                 :             :                                               }
   19003                 :             :                                           }
   19004                 :             :                                         }
   19005                 :             :                                       break;
   19006                 :             :                                     }
   19007                 :             :                                   default:;
   19008                 :             :                                   }
   19009                 :             :                             }
   19010                 :             :                           break;
   19011                 :           8 :                         default:;
   19012                 :             :                         }
   19013                 :           8 :                       if (zerop (_p1))
   19014                 :             :                         {
   19015                 :           0 :                           switch (TREE_CODE (_p2))
   19016                 :             :                             {
   19017                 :           0 :                             case SSA_NAME:
   19018                 :           0 :                               if (gimple *_d2 = get_def (valueize, _p2))
   19019                 :             :                                 {
   19020                 :           0 :                                   if (gassign *_a2 = dyn_cast <gassign *> (_d2))
   19021                 :           0 :                                     switch (gimple_assign_rhs_code (_a2))
   19022                 :             :                                       {
   19023                 :           0 :                                       case NEGATE_EXPR:
   19024                 :           0 :                                         {
   19025                 :           0 :                                           tree _q60 = gimple_assign_rhs1 (_a2);
   19026                 :           0 :                                           _q60 = do_valueize (valueize, _q60);
   19027                 :           0 :                                           {
   19028                 :           0 :                                             tree captures[3] ATTRIBUTE_UNUSED = { _q20, _p2, _q60 };
   19029                 :           0 :                                             const enum tree_code cmp = UNEQ_EXPR;
   19030                 :           0 :                                             if (!HONOR_SIGNED_ZEROS (type)
   19031                 :           0 :  && bitwise_equal_p (captures[0], captures[2])
   19032                 :             : )
   19033                 :             :                                               {
   19034                 :           0 :                                                 gimple_seq *lseq = seq;
   19035                 :           0 :                                                 if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail2262;
   19036                 :           0 :                                                 {
   19037                 :           0 :                                                   tree tem;
   19038                 :           0 :                                                   tem = captures[1];
   19039                 :           0 :                                                   res_op->set_value (tem);
   19040                 :           0 :                                                   if (UNLIKELY (debug_dump)) gimple_dump_logs ("match.pd", 726, __FILE__, __LINE__, true);
   19041                 :           0 :                                                   return true;
   19042                 :             :                                                 }
   19043                 :           0 : next_after_fail2262:;
   19044                 :             :                                               }
   19045                 :             :                                           }
   19046                 :           0 :                                           break;
   19047                 :             :                                         }
   19048                 :             :                                       default:;
   19049                 :             :                                       }
   19050                 :             :                                 }
   19051                 :             :                               break;
   19052                 :             :                             default:;
   19053                 :             :                             }
   19054                 :             :                         }
   19055                 :             :                     }
   19056                 :         287 :                   switch (TREE_CODE (_q20))
   19057                 :             :                     {
   19058                 :         287 :                     case SSA_NAME:
   19059                 :         287 :                       if (gimple *_d2 = get_def (valueize, _q20))
   19060                 :             :                         {
   19061                 :         277 :                           if (gassign *_a2 = dyn_cast <gassign *> (_d2))
   19062                 :         554 :                             switch (gimple_assign_rhs_code (_a2))
   19063                 :             :                               {
   19064                 :           0 :                               case MINUS_EXPR:
   19065                 :           0 :                                 {
   19066                 :           0 :                                   tree _q30 = gimple_assign_rhs1 (_a2);
   19067                 :           0 :                                   _q30 = do_valueize (valueize, _q30);
   19068                 :           0 :                                   tree _q31 = gimple_assign_rhs2 (_a2);
   19069                 :           0 :                                   _q31 = do_valueize (valueize, _q31);
   19070                 :           0 :                                   if (zerop (_q21))
   19071                 :             :                                     {
   19072                 :           0 :                                       if ((_p1 == _q20 && ! TREE_SIDE_EFFECTS (_p1)) || (operand_equal_p (_p1, _q20, 0) && types_match (_p1, _q20)))
   19073                 :             :                                         {
   19074                 :           0 :                                           switch (TREE_CODE (_p2))
   19075                 :             :                                             {
   19076                 :           0 :                                             case SSA_NAME:
   19077                 :           0 :                                               if (gimple *_d3 = get_def (valueize, _p2))
   19078                 :             :                                                 {
   19079                 :           0 :                                                   if (gassign *_a3 = dyn_cast <gassign *> (_d3))
   19080                 :           0 :                                                     switch (gimple_assign_rhs_code (_a3))
   19081                 :             :                                                       {
   19082                 :           0 :                                                       case MINUS_EXPR:
   19083                 :           0 :                                                         {
   19084                 :           0 :                                                           tree _q80 = gimple_assign_rhs1 (_a3);
   19085                 :           0 :                                                           _q80 = do_valueize (valueize, _q80);
   19086                 :           0 :                                                           tree _q81 = gimple_assign_rhs2 (_a3);
   19087                 :           0 :                                                           _q81 = do_valueize (valueize, _q81);
   19088                 :           0 :                                                           if ((_q80 == _q31 && ! TREE_SIDE_EFFECTS (_q80)) || (operand_equal_p (_q80, _q31, 0) && types_match (_q80, _q31)))
   19089                 :             :                                                             {
   19090                 :           0 :                                                               if ((_q81 == _q30 && ! TREE_SIDE_EFFECTS (_q81)) || (operand_equal_p (_q81, _q30, 0) && types_match (_q81, _q30)))
   19091                 :             :                                                                 {
   19092                 :           0 :                                                                   {
   19093                 :           0 :                                                                     tree captures[4] ATTRIBUTE_UNUSED = { _q20, _q30, _q31, _p2 };
   19094                 :           0 :                                                                     const enum tree_code cmp = UNEQ_EXPR;
   19095                 :           0 :                                                                     if (!HONOR_SIGNED_ZEROS (type)
   19096                 :             : )
   19097                 :             :                                                                       {
   19098                 :           0 :                                                                         gimple_seq *lseq = seq;
   19099                 :           0 :                                                                         if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail2263;
   19100                 :           0 :                                                                         {
   19101                 :           0 :                                                                           tree tem;
   19102                 :           0 :                                                                           tem = captures[3];
   19103                 :           0 :                                                                           res_op->set_value (tem);
   19104                 :           0 :                                                                           if (UNLIKELY (debug_dump)) gimple_dump_logs ("match.pd", 727, __FILE__, __LINE__, true);
   19105                 :           0 :                                                                           return true;
   19106                 :             :                                                                         }
   19107                 :           0 : next_after_fail2263:;
   19108                 :             :                                                                       }
   19109                 :             :                                                                   }
   19110                 :             :                                                                 }
   19111                 :             :                                                             }
   19112                 :             :                                                           break;
   19113                 :             :                                                         }
   19114                 :             :                                                       default:;
   19115                 :             :                                                       }
   19116                 :             :                                                 }
   19117                 :             :                                               break;
   19118                 :             :                                             default:;
   19119                 :             :                                             }
   19120                 :             :                                         }
   19121                 :             :                                     }
   19122                 :           0 :                                   if (integer_zerop (_q21))
   19123                 :             :                                     {
   19124                 :           0 :                                       if (integer_zerop (_p1))
   19125                 :             :                                         {
   19126                 :           0 :                                           switch (TREE_CODE (_p2))
   19127                 :             :                                             {
   19128                 :           0 :                                             case SSA_NAME:
   19129                 :           0 :                                               if (gimple *_d3 = get_def (valueize, _p2))
   19130                 :             :                                                 {
   19131                 :           0 :                                                   if (gassign *_a3 = dyn_cast <gassign *> (_d3))
   19132                 :           0 :                                                     switch (gimple_assign_rhs_code (_a3))
   19133                 :             :                                                       {
   19134                 :           0 :                                                       case MINUS_EXPR:
   19135                 :           0 :                                                         {
   19136                 :           0 :                                                           tree _q80 = gimple_assign_rhs1 (_a3);
   19137                 :           0 :                                                           _q80 = do_valueize (valueize, _q80);
   19138                 :           0 :                                                           tree _q81 = gimple_assign_rhs2 (_a3);
   19139                 :           0 :                                                           _q81 = do_valueize (valueize, _q81);
   19140                 :           0 :                                                           if ((_q80 == _q31 && ! TREE_SIDE_EFFECTS (_q80)) || (operand_equal_p (_q80, _q31, 0) && types_match (_q80, _q31)))
   19141                 :             :                                                             {
   19142                 :           0 :                                                               if ((_q81 == _q30 && ! TREE_SIDE_EFFECTS (_q81)) || (operand_equal_p (_q81, _q30, 0) && types_match (_q81, _q30)))
   19143                 :             :                                                                 {
   19144                 :           0 :                                                                   {
   19145                 :           0 :                                                                     tree captures[4] ATTRIBUTE_UNUSED = { _q20, _q30, _q31, _p2 };
   19146                 :           0 :                                                                     if (gimple_simplify_580 (res_op, seq, valueize, type, captures, UNEQ_EXPR))
   19147                 :           0 :                                                                       return true;
   19148                 :             :                                                                   }
   19149                 :             :                                                                 }
   19150                 :             :                                                             }
   19151                 :             :                                                           break;
   19152                 :             :                                                         }
   19153                 :             :                                                       default:;
   19154                 :             :                                                       }
   19155                 :             :                                                 }
   19156                 :             :                                               break;
   19157                 :             :                                             default:;
   19158                 :             :                                             }
   19159                 :             :                                         }
   19160                 :             :                                     }
   19161                 :             :                                   break;
   19162                 :             :                                 }
   19163                 :             :                               default:;
   19164                 :             :                               }
   19165                 :             :                         }
   19166                 :             :                       break;
   19167                 :             :                     default:;
   19168                 :             :                     }
   19169                 :      149446 :                   break;
   19170                 :             :                 }
   19171                 :       18317 :               case NE_EXPR:
   19172                 :       18317 :                 {
   19173                 :       18317 :                   tree _q20 = gimple_assign_rhs1 (_a1);
   19174                 :       18317 :                   _q20 = do_valueize (valueize, _q20);
   19175                 :       18317 :                   tree _q21 = gimple_assign_rhs2 (_a1);
   19176                 :       18317 :                   _q21 = do_valueize (valueize, _q21);
   19177                 :       18317 :                   if (tree_swap_operands_p (_q20, _q21))
   19178                 :        1255 :                     std::swap (_q20, _q21);
   19179                 :       18317 :                   if (zerop (_q21))
   19180                 :             :                     {
   19181                 :        5041 :                       switch (TREE_CODE (_p2))
   19182                 :             :                         {
   19183                 :        1062 :                         case SSA_NAME:
   19184                 :        1062 :                           if (gimple *_d2 = get_def (valueize, _p2))
   19185                 :             :                             {
   19186                 :        1041 :                               if (gassign *_a2 = dyn_cast <gassign *> (_d2))
   19187                 :        1070 :                                 switch (gimple_assign_rhs_code (_a2))
   19188                 :             :                                   {
   19189                 :           2 :                                   case NEGATE_EXPR:
   19190                 :           2 :                                     {
   19191                 :           2 :                                       tree _q60 = gimple_assign_rhs1 (_a2);
   19192                 :           2 :                                       _q60 = do_valueize (valueize, _q60);
   19193                 :           2 :                                       if ((_q60 == _p1 && ! TREE_SIDE_EFFECTS (_q60)) || (operand_equal_p (_q60, _p1, 0) && types_match (_q60, _p1)))
   19194                 :             :                                         {
   19195                 :           2 :                                           {
   19196                 :           2 :                                             tree captures[2] ATTRIBUTE_UNUSED = { _q20, _p1 };
   19197                 :           2 :                                             const enum tree_code cmp = NE_EXPR;
   19198                 :           2 :                                             if (!HONOR_SIGNED_ZEROS (type)
   19199                 :           2 :  && bitwise_equal_p (captures[0], captures[1])
   19200                 :             : )
   19201                 :             :                                               {
   19202                 :           0 :                                                 gimple_seq *lseq = seq;
   19203                 :           0 :                                                 if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail2264;
   19204                 :           0 :                                                 {
   19205                 :           0 :                                                   tree tem;
   19206                 :           0 :                                                   tem = captures[1];
   19207                 :           0 :                                                   res_op->set_value (tem);
   19208                 :           0 :                                                   if (UNLIKELY (debug_dump)) gimple_dump_logs ("match.pd", 729, __FILE__, __LINE__, true);
   19209                 :           0 :                                                   return true;
   19210                 :             :                                                 }
   19211                 :           0 : next_after_fail2264:;
   19212                 :             :                                               }
   19213                 :             :                                           }
   19214                 :             :                                         }
   19215                 :             :                                       break;
   19216                 :             :                                     }
   19217                 :             :                                   default:;
   19218                 :             :                                   }
   19219                 :             :                             }
   19220                 :             :                           break;
   19221                 :        5041 :                         default:;
   19222                 :             :                         }
   19223                 :        5041 :                     if (integer_zerop (_p2))
   19224                 :             :                       {
   19225                 :        3332 :                         {
   19226                 :        3332 :                           tree captures[2] ATTRIBUTE_UNUSED = { _q20, _p1 };
   19227                 :        3332 :                           const enum tree_code cmp = NE_EXPR;
   19228                 :        3332 :                           if (!HONOR_SIGNED_ZEROS (type)
   19229                 :        3332 :  && bitwise_equal_p (captures[0], captures[1])
   19230                 :             : )
   19231                 :             :                             {
   19232                 :           3 :                               gimple_seq *lseq = seq;
   19233                 :           3 :                               if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail2265;
   19234                 :           3 :                               {
   19235                 :           3 :                                 tree tem;
   19236                 :           3 :                                 tem = captures[1];
   19237                 :           3 :                                 res_op->set_value (tem);
   19238                 :           3 :                                 if (UNLIKELY (debug_dump)) gimple_dump_logs ("match.pd", 730, __FILE__, __LINE__, true);
   19239                 :           3 :                                 return true;
   19240                 :             :                               }
   19241                 :           0 : next_after_fail2265:;
   19242                 :             :                             }
   19243                 :             :                         }
   19244                 :             :                       }
   19245                 :             :                     }
   19246                 :       18314 :                   switch (TREE_CODE (_q20))
   19247                 :             :                     {
   19248                 :       18314 :                     case SSA_NAME:
   19249                 :       18314 :                       if (gimple *_d2 = get_def (valueize, _q20))
   19250                 :             :                         {
   19251                 :       17675 :                           if (gassign *_a2 = dyn_cast <gassign *> (_d2))
   19252                 :       27665 :                             switch (gimple_assign_rhs_code (_a2))
   19253                 :             :                               {
   19254                 :         135 :                               case MINUS_EXPR:
   19255                 :         135 :                                 {
   19256                 :         135 :                                   tree _q30 = gimple_assign_rhs1 (_a2);
   19257                 :         135 :                                   _q30 = do_valueize (valueize, _q30);
   19258                 :         135 :                                   tree _q31 = gimple_assign_rhs2 (_a2);
   19259                 :         135 :                                   _q31 = do_valueize (valueize, _q31);
   19260                 :         135 :                                   if (zerop (_q21))
   19261                 :             :                                     {
   19262                 :           0 :                                       if ((_p1 == _q20 && ! TREE_SIDE_EFFECTS (_p1)) || (operand_equal_p (_p1, _q20, 0) && types_match (_p1, _q20)))
   19263                 :             :                                         {
   19264                 :           0 :                                           switch (TREE_CODE (_p2))
   19265                 :             :                                             {
   19266                 :           0 :                                             case SSA_NAME:
   19267                 :           0 :                                               if (gimple *_d3 = get_def (valueize, _p2))
   19268                 :             :                                                 {
   19269                 :           0 :                                                   if (gassign *_a3 = dyn_cast <gassign *> (_d3))
   19270                 :           0 :                                                     switch (gimple_assign_rhs_code (_a3))
   19271                 :             :                                                       {
   19272                 :           0 :                                                       case MINUS_EXPR:
   19273                 :           0 :                                                         {
   19274                 :           0 :                                                           tree _q80 = gimple_assign_rhs1 (_a3);
   19275                 :           0 :                                                           _q80 = do_valueize (valueize, _q80);
   19276                 :           0 :                                                           tree _q81 = gimple_assign_rhs2 (_a3);
   19277                 :           0 :                                                           _q81 = do_valueize (valueize, _q81);
   19278                 :           0 :                                                           if ((_q80 == _q31 && ! TREE_SIDE_EFFECTS (_q80)) || (operand_equal_p (_q80, _q31, 0) && types_match (_q80, _q31)))
   19279                 :             :                                                             {
   19280                 :           0 :                                                               if ((_q81 == _q30 && ! TREE_SIDE_EFFECTS (_q81)) || (operand_equal_p (_q81, _q30, 0) && types_match (_q81, _q30)))
   19281                 :             :                                                                 {
   19282                 :           0 :                                                                   {
   19283                 :           0 :                                                                     tree captures[3] ATTRIBUTE_UNUSED = { _q20, _q30, _q31 };
   19284                 :           0 :                                                                     const enum tree_code cmp = NE_EXPR;
   19285                 :           0 :                                                                     if (!HONOR_SIGNED_ZEROS (type)
   19286                 :             : )
   19287                 :             :                                                                       {
   19288                 :           0 :                                                                         gimple_seq *lseq = seq;
   19289                 :           0 :                                                                         if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail2266;
   19290                 :           0 :                                                                         {
   19291                 :           0 :                                                                           tree tem;
   19292                 :           0 :                                                                           tem = captures[0];
   19293                 :           0 :                                                                           res_op->set_value (tem);
   19294                 :           0 :                                                                           if (UNLIKELY (debug_dump)) gimple_dump_logs ("match.pd", 731, __FILE__, __LINE__, true);
   19295                 :           0 :                                                                           return true;
   19296                 :             :                                                                         }
   19297                 :           0 : next_after_fail2266:;
   19298                 :             :                                                                       }
   19299                 :             :                                                                   }
   19300                 :             :                                                                 }
   19301                 :             :                                                             }
   19302                 :             :                                                           break;
   19303                 :             :                                                         }
   19304                 :             :                                                       default:;
   19305                 :             :                                                       }
   19306                 :             :                                                 }
   19307                 :             :                                               break;
   19308                 :             :                                             default:;
   19309                 :             :                                             }
   19310                 :             :                                         }
   19311                 :             :                                     }
   19312                 :         135 :                                   if (integer_zerop (_q21))
   19313                 :             :                                     {
   19314                 :           0 :                                       if ((_p1 == _q20 && ! TREE_SIDE_EFFECTS (_p1)) || (operand_equal_p (_p1, _q20, 0) && types_match (_p1, _q20)))
   19315                 :             :                                         {
   19316                 :           0 :                                           if (integer_zerop (_p2))
   19317                 :             :                                             {
   19318                 :           0 :                                               {
   19319                 :           0 :                                                 tree captures[3] ATTRIBUTE_UNUSED = { _q20, _q30, _q31 };
   19320                 :           0 :                                                 if (gimple_simplify_581 (res_op, seq, valueize, type, captures, NE_EXPR))
   19321                 :           0 :                                                   return true;
   19322                 :             :                                               }
   19323                 :             :                                             }
   19324                 :             :                                         }
   19325                 :             :                                     }
   19326                 :             :                                   break;
   19327                 :             :                                 }
   19328                 :             :                               default:;
   19329                 :             :                               }
   19330                 :             :                         }
   19331                 :             :                       break;
   19332                 :             :                     default:;
   19333                 :             :                     }
   19334                 :      149446 :                   break;
   19335                 :             :                 }
   19336                 :          12 :               case LTGT_EXPR:
   19337                 :          12 :                 {
   19338                 :          12 :                   tree _q20 = gimple_assign_rhs1 (_a1);
   19339                 :          12 :                   _q20 = do_valueize (valueize, _q20);
   19340                 :          12 :                   tree _q21 = gimple_assign_rhs2 (_a1);
   19341                 :          12 :                   _q21 = do_valueize (valueize, _q21);
   19342                 :          12 :                   if (tree_swap_operands_p (_q20, _q21))
   19343                 :           0 :                     std::swap (_q20, _q21);
   19344                 :          12 :                   if (zerop (_q21))
   19345                 :             :                     {
   19346                 :           0 :                       switch (TREE_CODE (_p2))
   19347                 :             :                         {
   19348                 :           0 :                         case SSA_NAME:
   19349                 :           0 :                           if (gimple *_d2 = get_def (valueize, _p2))
   19350                 :             :                             {
   19351                 :           0 :                               if (gassign *_a2 = dyn_cast <gassign *> (_d2))
   19352                 :           0 :                                 switch (gimple_assign_rhs_code (_a2))
   19353                 :             :                                   {
   19354                 :           0 :                                   case NEGATE_EXPR:
   19355                 :           0 :                                     {
   19356                 :           0 :                                       tree _q60 = gimple_assign_rhs1 (_a2);
   19357                 :           0 :                                       _q60 = do_valueize (valueize, _q60);
   19358                 :           0 :                                       if ((_q60 == _p1 && ! TREE_SIDE_EFFECTS (_q60)) || (operand_equal_p (_q60, _p1, 0) && types_match (_q60, _p1)))
   19359                 :             :                                         {
   19360                 :           0 :                                           {
   19361                 :           0 :                                             tree captures[2] ATTRIBUTE_UNUSED = { _q20, _p1 };
   19362                 :           0 :                                             const enum tree_code cmp = LTGT_EXPR;
   19363                 :           0 :                                             if (!HONOR_SIGNED_ZEROS (type)
   19364                 :           0 :  && bitwise_equal_p (captures[0], captures[1])
   19365                 :             : )
   19366                 :             :                                               {
   19367                 :           0 :                                                 gimple_seq *lseq = seq;
   19368                 :           0 :                                                 if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail2267;
   19369                 :           0 :                                                 {
   19370                 :           0 :                                                   tree tem;
   19371                 :           0 :                                                   tem = captures[1];
   19372                 :           0 :                                                   res_op->set_value (tem);
   19373                 :           0 :                                                   if (UNLIKELY (debug_dump)) gimple_dump_logs ("match.pd", 729, __FILE__, __LINE__, true);
   19374                 :           0 :                                                   return true;
   19375                 :             :                                                 }
   19376                 :           0 : next_after_fail2267:;
   19377                 :             :                                               }
   19378                 :             :                                           }
   19379                 :             :                                         }
   19380                 :             :                                       break;
   19381                 :             :                                     }
   19382                 :             :                                   default:;
   19383                 :             :                                   }
   19384                 :             :                             }
   19385                 :             :                           break;
   19386                 :           0 :                         default:;
   19387                 :             :                         }
   19388                 :           0 :                     if (integer_zerop (_p2))
   19389                 :             :                       {
   19390                 :           0 :                         {
   19391                 :           0 :                           tree captures[2] ATTRIBUTE_UNUSED = { _q20, _p1 };
   19392                 :           0 :                           const enum tree_code cmp = LTGT_EXPR;
   19393                 :           0 :                           if (!HONOR_SIGNED_ZEROS (type)
   19394                 :           0 :  && bitwise_equal_p (captures[0], captures[1])
   19395                 :             : )
   19396                 :             :                             {
   19397                 :           0 :                               gimple_seq *lseq = seq;
   19398                 :           0 :                               if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail2268;
   19399                 :           0 :                               {
   19400                 :           0 :                                 tree tem;
   19401                 :           0 :                                 tem = captures[1];
   19402                 :           0 :                                 res_op->set_value (tem);
   19403                 :           0 :                                 if (UNLIKELY (debug_dump)) gimple_dump_logs ("match.pd", 730, __FILE__, __LINE__, true);
   19404                 :           0 :                                 return true;
   19405                 :             :                               }
   19406                 :           0 : next_after_fail2268:;
   19407                 :             :                             }
   19408                 :             :                         }
   19409                 :             :                       }
   19410                 :             :                     }
   19411                 :          12 :                   switch (TREE_CODE (_q20))
   19412                 :             :                     {
   19413                 :          12 :                     case SSA_NAME:
   19414                 :          12 :                       if (gimple *_d2 = get_def (valueize, _q20))
   19415                 :             :                         {
   19416                 :          10 :                           if (gassign *_a2 = dyn_cast <gassign *> (_d2))
   19417                 :          20 :                             switch (gimple_assign_rhs_code (_a2))
   19418                 :             :                               {
   19419                 :           0 :                               case MINUS_EXPR:
   19420                 :           0 :                                 {
   19421                 :           0 :                                   tree _q30 = gimple_assign_rhs1 (_a2);
   19422                 :           0 :                                   _q30 = do_valueize (valueize, _q30);
   19423                 :           0 :                                   tree _q31 = gimple_assign_rhs2 (_a2);
   19424                 :           0 :                                   _q31 = do_valueize (valueize, _q31);
   19425                 :           0 :                                   if (zerop (_q21))
   19426                 :             :                                     {
   19427                 :           0 :                                       if ((_p1 == _q20 && ! TREE_SIDE_EFFECTS (_p1)) || (operand_equal_p (_p1, _q20, 0) && types_match (_p1, _q20)))
   19428                 :             :                                         {
   19429                 :           0 :                                           switch (TREE_CODE (_p2))
   19430                 :             :                                             {
   19431                 :           0 :                                             case SSA_NAME:
   19432                 :           0 :                                               if (gimple *_d3 = get_def (valueize, _p2))
   19433                 :             :                                                 {
   19434                 :           0 :                                                   if (gassign *_a3 = dyn_cast <gassign *> (_d3))
   19435                 :           0 :                                                     switch (gimple_assign_rhs_code (_a3))
   19436                 :             :                                                       {
   19437                 :           0 :                                                       case MINUS_EXPR:
   19438                 :           0 :                                                         {
   19439                 :           0 :                                                           tree _q80 = gimple_assign_rhs1 (_a3);
   19440                 :           0 :                                                           _q80 = do_valueize (valueize, _q80);
   19441                 :           0 :                                                           tree _q81 = gimple_assign_rhs2 (_a3);
   19442                 :           0 :                                                           _q81 = do_valueize (valueize, _q81);
   19443                 :           0 :                                                           if ((_q80 == _q31 && ! TREE_SIDE_EFFECTS (_q80)) || (operand_equal_p (_q80, _q31, 0) && types_match (_q80, _q31)))
   19444                 :             :                                                             {
   19445                 :           0 :                                                               if ((_q81 == _q30 && ! TREE_SIDE_EFFECTS (_q81)) || (operand_equal_p (_q81, _q30, 0) && types_match (_q81, _q30)))
   19446                 :             :                                                                 {
   19447                 :           0 :                                                                   {
   19448                 :           0 :                                                                     tree captures[3] ATTRIBUTE_UNUSED = { _q20, _q30, _q31 };
   19449                 :           0 :                                                                     const enum tree_code cmp = LTGT_EXPR;
   19450                 :           0 :                                                                     if (!HONOR_SIGNED_ZEROS (type)
   19451                 :             : )
   19452                 :             :                                                                       {
   19453                 :           0 :                                                                         gimple_seq *lseq = seq;
   19454                 :           0 :                                                                         if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail2269;
   19455                 :           0 :                                                                         {
   19456                 :           0 :                                                                           tree tem;
   19457                 :           0 :                                                                           tem = captures[0];
   19458                 :           0 :                                                                           res_op->set_value (tem);
   19459                 :           0 :                                                                           if (UNLIKELY (debug_dump)) gimple_dump_logs ("match.pd", 731, __FILE__, __LINE__, true);
   19460                 :           0 :                                                                           return true;
   19461                 :             :                                                                         }
   19462                 :           0 : next_after_fail2269:;
   19463                 :             :                                                                       }
   19464                 :             :                                                                   }
   19465                 :             :                                                                 }
   19466                 :             :                                                             }
   19467                 :             :                                                           break;
   19468                 :             :                                                         }
   19469                 :             :                                                       default:;
   19470                 :             :                                                       }
   19471                 :             :                                                 }
   19472                 :             :                                               break;
   19473                 :             :                                             default:;
   19474                 :             :                                             }
   19475                 :             :                                         }
   19476                 :             :                                     }
   19477                 :           0 :                                   if (integer_zerop (_q21))
   19478                 :             :                                     {
   19479                 :           0 :                                       if ((_p1 == _q20 && ! TREE_SIDE_EFFECTS (_p1)) || (operand_equal_p (_p1, _q20, 0) && types_match (_p1, _q20)))
   19480                 :             :                                         {
   19481                 :           0 :                                           if (integer_zerop (_p2))
   19482                 :             :                                             {
   19483                 :           0 :                                               {
   19484                 :           0 :                                                 tree captures[3] ATTRIBUTE_UNUSED = { _q20, _q30, _q31 };
   19485                 :           0 :                                                 if (gimple_simplify_581 (res_op, seq, valueize, type, captures, LTGT_EXPR))
   19486                 :           0 :                                                   return true;
   19487                 :             :                                               }
   19488                 :             :                                             }
   19489                 :             :                                         }
   19490                 :             :                                     }
   19491                 :             :                                   break;
   19492                 :             :                                 }
   19493                 :             :                               default:;
   19494                 :             :                               }
   19495                 :             :                         }
   19496                 :             :                       break;
   19497                 :             :                     default:;
   19498                 :             :                     }
   19499                 :      149446 :                   break;
   19500                 :             :                 }
   19501                 :        9602 :               case GE_EXPR:
   19502                 :        9602 :                 {
   19503                 :        9602 :                   tree _q20 = gimple_assign_rhs1 (_a1);
   19504                 :        9602 :                   _q20 = do_valueize (valueize, _q20);
   19505                 :        9602 :                   tree _q21 = gimple_assign_rhs2 (_a1);
   19506                 :        9602 :                   _q21 = do_valueize (valueize, _q21);
   19507                 :        9602 :                   if (zerop (_q21))
   19508                 :             :                     {
   19509                 :        2061 :                       switch (TREE_CODE (_p2))
   19510                 :             :                         {
   19511                 :        1211 :                         case SSA_NAME:
   19512                 :        1211 :                           if (gimple *_d2 = get_def (valueize, _p2))
   19513                 :             :                             {
   19514                 :        1200 :                               if (gassign *_a2 = dyn_cast <gassign *> (_d2))
   19515                 :         184 :                                 switch (gimple_assign_rhs_code (_a2))
   19516                 :             :                                   {
   19517                 :           0 :                                   case NEGATE_EXPR:
   19518                 :           0 :                                     {
   19519                 :           0 :                                       tree _q60 = gimple_assign_rhs1 (_a2);
   19520                 :           0 :                                       _q60 = do_valueize (valueize, _q60);
   19521                 :           0 :                                       if ((_q60 == _p1 && ! TREE_SIDE_EFFECTS (_q60)) || (operand_equal_p (_q60, _p1, 0) && types_match (_q60, _p1)))
   19522                 :             :                                         {
   19523                 :           0 :                                           {
   19524                 :           0 :                                             tree captures[2] ATTRIBUTE_UNUSED = { _q20, _p1 };
   19525                 :           0 :                                             const enum tree_code cmp = GE_EXPR;
   19526                 :           0 :                                             if (!HONOR_SIGNED_ZEROS (TREE_TYPE(captures[0]))
   19527                 :           0 :  && !TYPE_UNSIGNED (TREE_TYPE(captures[0]))
   19528                 :           0 :  && bitwise_equal_p (captures[0], captures[1])
   19529                 :             : )
   19530                 :             :                                               {
   19531                 :           0 :                                                 if (TYPE_UNSIGNED (type)
   19532                 :             : )
   19533                 :             :                                                   {
   19534                 :           0 :                                                     gimple_seq *lseq = seq;
   19535                 :           0 :                                                     if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail2270;
   19536                 :           0 :                                                     {
   19537                 :           0 :                                                       res_op->set_op (ABSU_EXPR, type, 1);
   19538                 :           0 :                                                       res_op->ops[0] = captures[0];
   19539                 :           0 :                                                       res_op->resimplify (lseq, valueize);
   19540                 :           0 :                                                       if (UNLIKELY (debug_dump)) gimple_dump_logs ("match.pd", 735, __FILE__, __LINE__, true);
   19541                 :           0 :                                                       return true;
   19542                 :             :                                                     }
   19543                 :           0 : next_after_fail2270:;
   19544                 :             :                                                   }
   19545                 :             :                                                 else
   19546                 :             :                                                   {
   19547                 :           0 :                                                     gimple_seq *lseq = seq;
   19548                 :           0 :                                                     if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail2271;
   19549                 :           0 :                                                     {
   19550                 :           0 :                                                       res_op->set_op (ABS_EXPR, type, 1);
   19551                 :           0 :                                                       res_op->ops[0] = captures[0];
   19552                 :           0 :                                                       res_op->resimplify (lseq, valueize);
   19553                 :           0 :                                                       if (UNLIKELY (debug_dump)) gimple_dump_logs ("match.pd", 736, __FILE__, __LINE__, true);
   19554                 :           0 :                                                       return true;
   19555                 :             :                                                     }
   19556                 :           0 : next_after_fail2271:;
   19557                 :             :                                                   }
   19558                 :             :                                               }
   19559                 :             :                                           }
   19560                 :             :                                         }
   19561                 :             :                                       break;
   19562                 :             :                                     }
   19563                 :             :                                   default:;
   19564                 :             :                                   }
   19565                 :             :                             }
   19566                 :             :                           break;
   19567                 :             :                         default:;
   19568                 :             :                         }
   19569                 :             :                     }
   19570                 :        9602 :                   switch (TREE_CODE (_q20))
   19571                 :             :                     {
   19572                 :        9578 :                     case SSA_NAME:
   19573                 :        9578 :                       if (gimple *_d2 = get_def (valueize, _q20))
   19574                 :             :                         {
   19575                 :        9125 :                           if (gassign *_a2 = dyn_cast <gassign *> (_d2))
   19576                 :        9140 :                             switch (gimple_assign_rhs_code (_a2))
   19577                 :             :                               {
   19578                 :          10 :                               case MINUS_EXPR:
   19579                 :          10 :                                 {
   19580                 :          10 :                                   tree _q30 = gimple_assign_rhs1 (_a2);
   19581                 :          10 :                                   _q30 = do_valueize (valueize, _q30);
   19582                 :          10 :                                   tree _q31 = gimple_assign_rhs2 (_a2);
   19583                 :          10 :                                   _q31 = do_valueize (valueize, _q31);
   19584                 :          10 :                                   if (zerop (_q21))
   19585                 :             :                                     {
   19586                 :           0 :                                       if ((_p1 == _q20 && ! TREE_SIDE_EFFECTS (_p1)) || (operand_equal_p (_p1, _q20, 0) && types_match (_p1, _q20)))
   19587                 :             :                                         {
   19588                 :           0 :                                           switch (TREE_CODE (_p2))
   19589                 :             :                                             {
   19590                 :           0 :                                             case SSA_NAME:
   19591                 :           0 :                                               if (gimple *_d3 = get_def (valueize, _p2))
   19592                 :             :                                                 {
   19593                 :           0 :                                                   if (gassign *_a3 = dyn_cast <gassign *> (_d3))
   19594                 :           0 :                                                     switch (gimple_assign_rhs_code (_a3))
   19595                 :             :                                                       {
   19596                 :           0 :                                                       case MINUS_EXPR:
   19597                 :           0 :                                                         {
   19598                 :           0 :                                                           tree _q80 = gimple_assign_rhs1 (_a3);
   19599                 :           0 :                                                           _q80 = do_valueize (valueize, _q80);
   19600                 :           0 :                                                           tree _q81 = gimple_assign_rhs2 (_a3);
   19601                 :           0 :                                                           _q81 = do_valueize (valueize, _q81);
   19602                 :           0 :                                                           if ((_q80 == _q31 && ! TREE_SIDE_EFFECTS (_q80)) || (operand_equal_p (_q80, _q31, 0) && types_match (_q80, _q31)))
   19603                 :             :                                                             {
   19604                 :           0 :                                                               if ((_q81 == _q30 && ! TREE_SIDE_EFFECTS (_q81)) || (operand_equal_p (_q81, _q30, 0) && types_match (_q81, _q30)))
   19605                 :             :                                                                 {
   19606                 :           0 :                                                                   {
   19607                 :           0 :                                                                     tree captures[3] ATTRIBUTE_UNUSED = { _q20, _q30, _q31 };
   19608                 :           0 :                                                                     const enum tree_code cmp = GE_EXPR;
   19609                 :           0 :                                                                     if (!HONOR_SIGNED_ZEROS (type)
   19610                 :           0 :  && !TYPE_UNSIGNED (type)
   19611                 :             : )
   19612                 :             :                                                                       {
   19613                 :           0 :                                                                         gimple_seq *lseq = seq;
   19614                 :           0 :                                                                         if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail2272;
   19615                 :           0 :                                                                         {
   19616                 :           0 :                                                                           res_op->set_op (ABS_EXPR, type, 1);
   19617                 :           0 :                                                                           res_op->ops[0] = captures[0];
   19618                 :           0 :                                                                           res_op->resimplify (lseq, valueize);
   19619                 :           0 :                                                                           if (UNLIKELY (debug_dump)) gimple_dump_logs ("match.pd", 737, __FILE__, __LINE__, true);
   19620                 :           0 :                                                                           return true;
   19621                 :             :                                                                         }
   19622                 :           0 : next_after_fail2272:;
   19623                 :             :                                                                       }
   19624                 :             :                                                                   }
   19625                 :             :                                                                 }
   19626                 :             :                                                             }
   19627                 :             :                                                           break;
   19628                 :             :                                                         }
   19629                 :             :                                                       default:;
   19630                 :             :                                                       }
   19631                 :             :                                                 }
   19632                 :             :                                               break;
   19633                 :             :                                             default:;
   19634                 :             :                                             }
   19635                 :             :                                         }
   19636                 :             :                                     }
   19637                 :             :                                   break;
   19638                 :             :                                 }
   19639                 :             :                               default:;
   19640                 :             :                               }
   19641                 :             :                         }
   19642                 :             :                       break;
   19643                 :             :                     default:;
   19644                 :             :                     }
   19645                 :             :                   break;
   19646                 :             :                 }
   19647                 :       11128 :               case GT_EXPR:
   19648                 :       11128 :                 {
   19649                 :       11128 :                   tree _q20 = gimple_assign_rhs1 (_a1);
   19650                 :       11128 :                   _q20 = do_valueize (valueize, _q20);
   19651                 :       11128 :                   tree _q21 = gimple_assign_rhs2 (_a1);
   19652                 :       11128 :                   _q21 = do_valueize (valueize, _q21);
   19653                 :       11128 :                   if (zerop (_q21))
   19654                 :             :                     {
   19655                 :         406 :                       switch (TREE_CODE (_p2))
   19656                 :             :                         {
   19657                 :          52 :                         case SSA_NAME:
   19658                 :          52 :                           if (gimple *_d2 = get_def (valueize, _p2))
   19659                 :             :                             {
   19660                 :          48 :                               if (gassign *_a2 = dyn_cast <gassign *> (_d2))
   19661                 :          62 :                                 switch (gimple_assign_rhs_code (_a2))
   19662                 :             :                                   {
   19663                 :           0 :                                   case NEGATE_EXPR:
   19664                 :           0 :                                     {
   19665                 :           0 :                                       tree _q60 = gimple_assign_rhs1 (_a2);
   19666                 :           0 :                                       _q60 = do_valueize (valueize, _q60);
   19667                 :           0 :                                       if ((_q60 == _p1 && ! TREE_SIDE_EFFECTS (_q60)) || (operand_equal_p (_q60, _p1, 0) && types_match (_q60, _p1)))
   19668                 :             :                                         {
   19669                 :           0 :                                           {
   19670                 :           0 :                                             tree captures[2] ATTRIBUTE_UNUSED = { _q20, _p1 };
   19671                 :           0 :                                             const enum tree_code cmp = GT_EXPR;
   19672                 :           0 :                                             if (!HONOR_SIGNED_ZEROS (TREE_TYPE(captures[0]))
   19673                 :           0 :  && !TYPE_UNSIGNED (TREE_TYPE(captures[0]))
   19674                 :           0 :  && bitwise_equal_p (captures[0], captures[1])
   19675                 :             : )
   19676                 :             :                                               {
   19677                 :           0 :                                                 if (TYPE_UNSIGNED (type)
   19678                 :             : )
   19679                 :             :                                                   {
   19680                 :           0 :                                                     gimple_seq *lseq = seq;
   19681                 :           0 :                                                     if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail2273;
   19682                 :           0 :                                                     {
   19683                 :           0 :                                                       res_op->set_op (ABSU_EXPR, type, 1);
   19684                 :           0 :                                                       res_op->ops[0] = captures[0];
   19685                 :           0 :                                                       res_op->resimplify (lseq, valueize);
   19686                 :           0 :                                                       if (UNLIKELY (debug_dump)) gimple_dump_logs ("match.pd", 735, __FILE__, __LINE__, true);
   19687                 :           0 :                                                       return true;
   19688                 :             :                                                     }
   19689                 :           0 : next_after_fail2273:;
   19690                 :             :                                                   }
   19691                 :             :                                                 else
   19692                 :             :                                                   {
   19693                 :           0 :                                                     gimple_seq *lseq = seq;
   19694                 :           0 :                                                     if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail2274;
   19695                 :           0 :                                                     {
   19696                 :           0 :                                                       res_op->set_op (ABS_EXPR, type, 1);
   19697                 :           0 :                                                       res_op->ops[0] = captures[0];
   19698                 :           0 :                                                       res_op->resimplify (lseq, valueize);
   19699                 :           0 :                                                       if (UNLIKELY (debug_dump)) gimple_dump_logs ("match.pd", 736, __FILE__, __LINE__, true);
   19700                 :           0 :                                                       return true;
   19701                 :             :                                                     }
   19702                 :           0 : next_after_fail2274:;
   19703                 :             :                                                   }
   19704                 :             :                                               }
   19705                 :             :                                           }
   19706                 :             :                                         }
   19707                 :             :                                       break;
   19708                 :             :                                     }
   19709                 :             :                                   default:;
   19710                 :             :                                   }
   19711                 :             :                             }
   19712                 :             :                           break;
   19713                 :             :                         default:;
   19714                 :             :                         }
   19715                 :             :                     }
   19716                 :       11128 :                   switch (TREE_CODE (_q20))
   19717                 :             :                     {
   19718                 :       11128 :                     case SSA_NAME:
   19719                 :       11128 :                       if (gimple *_d2 = get_def (valueize, _q20))
   19720                 :             :                         {
   19721                 :       10609 :                           if (gassign *_a2 = dyn_cast <gassign *> (_d2))
   19722                 :       10192 :                             switch (gimple_assign_rhs_code (_a2))
   19723                 :             :                               {
   19724                 :           0 :                               case MINUS_EXPR:
   19725                 :           0 :                                 {
   19726                 :           0 :                                   tree _q30 = gimple_assign_rhs1 (_a2);
   19727                 :           0 :                                   _q30 = do_valueize (valueize, _q30);
   19728                 :           0 :                                   tree _q31 = gimple_assign_rhs2 (_a2);
   19729                 :           0 :                                   _q31 = do_valueize (valueize, _q31);
   19730                 :           0 :                                   if (zerop (_q21))
   19731                 :             :                                     {
   19732                 :           0 :                                       if ((_p1 == _q20 && ! TREE_SIDE_EFFECTS (_p1)) || (operand_equal_p (_p1, _q20, 0) && types_match (_p1, _q20)))
   19733                 :             :                                         {
   19734                 :           0 :                                           switch (TREE_CODE (_p2))
   19735                 :             :                                             {
   19736                 :           0 :                                             case SSA_NAME:
   19737                 :           0 :                                               if (gimple *_d3 = get_def (valueize, _p2))
   19738                 :             :                                                 {
   19739                 :           0 :                                                   if (gassign *_a3 = dyn_cast <gassign *> (_d3))
   19740                 :           0 :                                                     switch (gimple_assign_rhs_code (_a3))
   19741                 :             :                                                       {
   19742                 :           0 :                                                       case MINUS_EXPR:
   19743                 :           0 :                                                         {
   19744                 :           0 :                                                           tree _q80 = gimple_assign_rhs1 (_a3);
   19745                 :           0 :                                                           _q80 = do_valueize (valueize, _q80);
   19746                 :           0 :                                                           tree _q81 = gimple_assign_rhs2 (_a3);
   19747                 :           0 :                                                           _q81 = do_valueize (valueize, _q81);
   19748                 :           0 :                                                           if ((_q80 == _q31 && ! TREE_SIDE_EFFECTS (_q80)) || (operand_equal_p (_q80, _q31, 0) && types_match (_q80, _q31)))
   19749                 :             :                                                             {
   19750                 :           0 :                                                               if ((_q81 == _q30 && ! TREE_SIDE_EFFECTS (_q81)) || (operand_equal_p (_q81, _q30, 0) && types_match (_q81, _q30)))
   19751                 :             :                                                                 {
   19752                 :           0 :                                                                   {
   19753                 :           0 :                                                                     tree captures[3] ATTRIBUTE_UNUSED = { _q20, _q30, _q31 };
   19754                 :           0 :                                                                     const enum tree_code cmp = GT_EXPR;
   19755                 :           0 :                                                                     if (!HONOR_SIGNED_ZEROS (type)
   19756                 :           0 :  && !TYPE_UNSIGNED (type)
   19757                 :             : )
   19758                 :             :                                                                       {
   19759                 :           0 :                                                                         gimple_seq *lseq = seq;
   19760                 :           0 :                                                                         if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail2275;
   19761                 :           0 :                                                                         {
   19762                 :           0 :                                                                           res_op->set_op (ABS_EXPR, type, 1);
   19763                 :           0 :                                                                           res_op->ops[0] = captures[0];
   19764                 :           0 :                                                                           res_op->resimplify (lseq, valueize);
   19765                 :           0 :                                                                           if (UNLIKELY (debug_dump)) gimple_dump_logs ("match.pd", 737, __FILE__, __LINE__, true);
   19766                 :           0 :                                                                           return true;
   19767                 :             :                                                                         }
   19768                 :           0 : next_after_fail2275:;
   19769                 :             :                                                                       }
   19770                 :             :                                                                   }
   19771                 :             :                                                                 }
   19772                 :             :                                                             }
   19773                 :             :                                                           break;
   19774                 :             :                                                         }
   19775                 :             :                                                       default:;
   19776                 :             :                                                       }
   19777                 :             :                                                 }
   19778                 :             :                                               break;
   19779                 :             :                                             default:;
   19780                 :             :                                             }
   19781                 :             :                                         }
   19782                 :             :                                     }
   19783                 :             :                                   break;
   19784                 :             :                                 }
   19785                 :             :                               default:;
   19786                 :             :                               }
   19787                 :             :                         }
   19788                 :             :                       break;
   19789                 :             :                     default:;
   19790                 :             :                     }
   19791                 :             :                   break;
   19792                 :             :                 }
   19793                 :        9359 :               case LE_EXPR:
   19794                 :        9359 :                 {
   19795                 :        9359 :                   tree _q20 = gimple_assign_rhs1 (_a1);
   19796                 :        9359 :                   _q20 = do_valueize (valueize, _q20);
   19797                 :        9359 :                   tree _q21 = gimple_assign_rhs2 (_a1);
   19798                 :        9359 :                   _q21 = do_valueize (valueize, _q21);
   19799                 :        9359 :                   if (zerop (_q21))
   19800                 :             :                     {
   19801                 :         634 :                       switch (TREE_CODE (_p2))
   19802                 :             :                         {
   19803                 :         105 :                         case SSA_NAME:
   19804                 :         105 :                           if (gimple *_d2 = get_def (valueize, _p2))
   19805                 :             :                             {
   19806                 :         105 :                               if (gassign *_a2 = dyn_cast <gassign *> (_d2))
   19807                 :         134 :                                 switch (gimple_assign_rhs_code (_a2))
   19808                 :             :                                   {
   19809                 :           0 :                                   case NEGATE_EXPR:
   19810                 :           0 :                                     {
   19811                 :           0 :                                       tree _q60 = gimple_assign_rhs1 (_a2);
   19812                 :           0 :                                       _q60 = do_valueize (valueize, _q60);
   19813                 :           0 :                                       if ((_q60 == _p1 && ! TREE_SIDE_EFFECTS (_q60)) || (operand_equal_p (_q60, _p1, 0) && types_match (_q60, _p1)))
   19814                 :             :                                         {
   19815                 :           0 :                                           {
   19816                 :           0 :                                             tree captures[2] ATTRIBUTE_UNUSED = { _q20, _p1 };
   19817                 :           0 :                                             const enum tree_code cmp = LE_EXPR;
   19818                 :           0 :                                             if (!HONOR_SIGNED_ZEROS (TREE_TYPE(captures[0]))
   19819                 :           0 :  && !TYPE_UNSIGNED (TREE_TYPE(captures[0]))
   19820                 :           0 :  && bitwise_equal_p (captures[0], captures[1])
   19821                 :             : )
   19822                 :             :                                               {
   19823                 :           0 :                                                 if ((ANY_INTEGRAL_TYPE_P (TREE_TYPE (captures[0]))
   19824                 :           0 :  && !TYPE_OVERFLOW_WRAPS (TREE_TYPE (captures[0])))
   19825                 :           0 :  || TYPE_UNSIGNED (type)
   19826                 :             : )
   19827                 :             :                                                   {
   19828                 :           0 :                                                     {
   19829                 :           0 :  tree utype = unsigned_type_for (TREE_TYPE(captures[0]));
   19830                 :           0 :                                                         gimple_seq *lseq = seq;
   19831                 :           0 :                                                         if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail2276;
   19832                 :           0 :                                                         {
   19833                 :           0 :                                                           res_op->set_op (NOP_EXPR, type, 1);
   19834                 :           0 :                                                           {
   19835                 :           0 :                                                             tree _o1[1], _r1;
   19836                 :           0 :                                                             {
   19837                 :           0 :                                                               tree _o2[1], _r2;
   19838                 :           0 :                                                               _o2[0] = captures[0];
   19839                 :           0 :                                                               gimple_match_op tem_op (res_op->cond.any_else (), ABSU_EXPR, utype, _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_fail2276;
   19843                 :           0 :                                                               _o1[0] = _r2;
   19844                 :             :                                                             }
   19845                 :           0 :                                                             gimple_match_op tem_op (res_op->cond.any_else (), NEGATE_EXPR, TREE_TYPE (_o1[0]), _o1[0]);
   19846                 :           0 :                                                             tem_op.resimplify (lseq, valueize);
   19847                 :           0 :                                                             _r1 = maybe_push_res_to_seq (&tem_op, lseq);
   19848                 :           0 :                                                             if (!_r1) goto next_after_fail2276;
   19849                 :           0 :                                                             res_op->ops[0] = _r1;
   19850                 :             :                                                           }
   19851                 :           0 :                                                           res_op->resimplify (lseq, valueize);
   19852                 :           0 :                                                           if (UNLIKELY (debug_dump)) gimple_dump_logs ("match.pd", 742, __FILE__, __LINE__, true);
   19853                 :           0 :                                                           return true;
   19854                 :             :                                                         }
   19855                 :           0 : next_after_fail2276:;
   19856                 :             :                                                     }
   19857                 :             :                                                   }
   19858                 :             :                                                 else
   19859                 :             :                                                   {
   19860                 :           0 :                                                     gimple_seq *lseq = seq;
   19861                 :           0 :                                                     if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail2277;
   19862                 :           0 :                                                     {
   19863                 :           0 :                                                       res_op->set_op (NEGATE_EXPR, type, 1);
   19864                 :           0 :                                                       {
   19865                 :           0 :                                                         tree _o1[1], _r1;
   19866                 :           0 :                                                         _o1[0] = captures[0];
   19867                 :           0 :                                                         gimple_match_op tem_op (res_op->cond.any_else (), ABS_EXPR, TREE_TYPE (_o1[0]), _o1[0]);
   19868                 :           0 :                                                         tem_op.resimplify (lseq, valueize);
   19869                 :           0 :                                                         _r1 = maybe_push_res_to_seq (&tem_op, lseq);
   19870                 :           0 :                                                         if (!_r1) goto next_after_fail2277;
   19871                 :           0 :                                                         res_op->ops[0] = _r1;
   19872                 :             :                                                       }
   19873                 :           0 :                                                       res_op->resimplify (lseq, valueize);
   19874                 :           0 :                                                       if (UNLIKELY (debug_dump)) gimple_dump_logs ("match.pd", 743, __FILE__, __LINE__, true);
   19875                 :           0 :                                                       return true;
   19876                 :             :                                                     }
   19877                 :           0 : next_after_fail2277:;
   19878                 :             :                                                   }
   19879                 :             :                                               }
   19880                 :             :                                           }
   19881                 :             :                                         }
   19882                 :             :                                       break;
   19883                 :             :                                     }
   19884                 :             :                                   default:;
   19885                 :             :                                   }
   19886                 :             :                             }
   19887                 :             :                           break;
   19888                 :             :                         default:;
   19889                 :             :                         }
   19890                 :             :                     }
   19891                 :        9359 :                   switch (TREE_CODE (_q20))
   19892                 :             :                     {
   19893                 :        9358 :                     case SSA_NAME:
   19894                 :        9358 :                       if (gimple *_d2 = get_def (valueize, _q20))
   19895                 :             :                         {
   19896                 :        8829 :                           if (gassign *_a2 = dyn_cast <gassign *> (_d2))
   19897                 :        9786 :                             switch (gimple_assign_rhs_code (_a2))
   19898                 :             :                               {
   19899                 :           0 :                               case MINUS_EXPR:
   19900                 :           0 :                                 {
   19901                 :           0 :                                   tree _q30 = gimple_assign_rhs1 (_a2);
   19902                 :           0 :                                   _q30 = do_valueize (valueize, _q30);
   19903                 :           0 :                                   tree _q31 = gimple_assign_rhs2 (_a2);
   19904                 :           0 :                                   _q31 = do_valueize (valueize, _q31);
   19905                 :           0 :                                   if (zerop (_q21))
   19906                 :             :                                     {
   19907                 :           0 :                                       if ((_p1 == _q20 && ! TREE_SIDE_EFFECTS (_p1)) || (operand_equal_p (_p1, _q20, 0) && types_match (_p1, _q20)))
   19908                 :             :                                         {
   19909                 :           0 :                                           switch (TREE_CODE (_p2))
   19910                 :             :                                             {
   19911                 :           0 :                                             case SSA_NAME:
   19912                 :           0 :                                               if (gimple *_d3 = get_def (valueize, _p2))
   19913                 :             :                                                 {
   19914                 :           0 :                                                   if (gassign *_a3 = dyn_cast <gassign *> (_d3))
   19915                 :           0 :                                                     switch (gimple_assign_rhs_code (_a3))
   19916                 :             :                                                       {
   19917                 :           0 :                                                       case MINUS_EXPR:
   19918                 :           0 :                                                         {
   19919                 :           0 :                                                           tree _q80 = gimple_assign_rhs1 (_a3);
   19920                 :           0 :                                                           _q80 = do_valueize (valueize, _q80);
   19921                 :           0 :                                                           tree _q81 = gimple_assign_rhs2 (_a3);
   19922                 :           0 :                                                           _q81 = do_valueize (valueize, _q81);
   19923                 :           0 :                                                           if ((_q80 == _q31 && ! TREE_SIDE_EFFECTS (_q80)) || (operand_equal_p (_q80, _q31, 0) && types_match (_q80, _q31)))
   19924                 :             :                                                             {
   19925                 :           0 :                                                               if ((_q81 == _q30 && ! TREE_SIDE_EFFECTS (_q81)) || (operand_equal_p (_q81, _q30, 0) && types_match (_q81, _q30)))
   19926                 :             :                                                                 {
   19927                 :           0 :                                                                   {
   19928                 :           0 :                                                                     tree captures[3] ATTRIBUTE_UNUSED = { _q20, _q30, _q31 };
   19929                 :           0 :                                                                     const enum tree_code cmp = LE_EXPR;
   19930                 :           0 :                                                                     if (!HONOR_SIGNED_ZEROS (type)
   19931                 :           0 :  && !TYPE_UNSIGNED (type)
   19932                 :             : )
   19933                 :             :                                                                       {
   19934                 :           0 :                                                                         if (ANY_INTEGRAL_TYPE_P (type)
   19935                 :           0 :  && !TYPE_OVERFLOW_WRAPS (type)
   19936                 :             : )
   19937                 :             :                                                                           {
   19938                 :           0 :                                                                             {
   19939                 :           0 :  tree utype = unsigned_type_for (type);
   19940                 :           0 :                                                                                 gimple_seq *lseq = seq;
   19941                 :           0 :                                                                                 if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail2278;
   19942                 :           0 :                                                                                 {
   19943                 :           0 :                                                                                   res_op->set_op (NOP_EXPR, type, 1);
   19944                 :           0 :                                                                                   {
   19945                 :           0 :                                                                                     tree _o1[1], _r1;
   19946                 :           0 :                                                                                     {
   19947                 :           0 :                                                                                       tree _o2[1], _r2;
   19948                 :           0 :                                                                                       _o2[0] = captures[0];
   19949                 :           0 :                                                                                       gimple_match_op tem_op (res_op->cond.any_else (), ABSU_EXPR, utype, _o2[0]);
   19950                 :           0 :                                                                                       tem_op.resimplify (lseq, valueize);
   19951                 :           0 :                                                                                       _r2 = maybe_push_res_to_seq (&tem_op, lseq);
   19952                 :           0 :                                                                                       if (!_r2) goto next_after_fail2278;
   19953                 :           0 :                                                                                       _o1[0] = _r2;
   19954                 :             :                                                                                     }
   19955                 :           0 :                                                                                     gimple_match_op tem_op (res_op->cond.any_else (), NEGATE_EXPR, TREE_TYPE (_o1[0]), _o1[0]);
   19956                 :           0 :                                                                                     tem_op.resimplify (lseq, valueize);
   19957                 :           0 :                                                                                     _r1 = maybe_push_res_to_seq (&tem_op, lseq);
   19958                 :           0 :                                                                                     if (!_r1) goto next_after_fail2278;
   19959                 :           0 :                                                                                     res_op->ops[0] = _r1;
   19960                 :             :                                                                                   }
   19961                 :           0 :                                                                                   res_op->resimplify (lseq, valueize);
   19962                 :           0 :                                                                                   if (UNLIKELY (debug_dump)) gimple_dump_logs ("match.pd", 744, __FILE__, __LINE__, true);
   19963                 :           0 :                                                                                   return true;
   19964                 :             :                                                                                 }
   19965                 :           0 : next_after_fail2278:;
   19966                 :             :                                                                             }
   19967                 :             :                                                                           }
   19968                 :             :                                                                         else
   19969                 :             :                                                                           {
   19970                 :           0 :                                                                             gimple_seq *lseq = seq;
   19971                 :           0 :                                                                             if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail2279;
   19972                 :           0 :                                                                             {
   19973                 :           0 :                                                                               res_op->set_op (NEGATE_EXPR, type, 1);
   19974                 :           0 :                                                                               {
   19975                 :           0 :                                                                                 tree _o1[1], _r1;
   19976                 :           0 :                                                                                 _o1[0] = captures[0];
   19977                 :           0 :                                                                                 gimple_match_op tem_op (res_op->cond.any_else (), ABS_EXPR, TREE_TYPE (_o1[0]), _o1[0]);
   19978                 :           0 :                                                                                 tem_op.resimplify (lseq, valueize);
   19979                 :           0 :                                                                                 _r1 = maybe_push_res_to_seq (&tem_op, lseq);
   19980                 :           0 :                                                                                 if (!_r1) goto next_after_fail2279;
   19981                 :           0 :                                                                                 res_op->ops[0] = _r1;
   19982                 :             :                                                                               }
   19983                 :           0 :                                                                               res_op->resimplify (lseq, valueize);
   19984                 :           0 :                                                                               if (UNLIKELY (debug_dump)) gimple_dump_logs ("match.pd", 745, __FILE__, __LINE__, true);
   19985                 :           0 :                                                                               return true;
   19986                 :             :                                                                             }
   19987                 :           0 : next_after_fail2279:;
   19988                 :             :                                                                           }
   19989                 :             :                                                                       }
   19990                 :             :                                                                   }
   19991                 :             :                                                                 }
   19992                 :             :                                                             }
   19993                 :             :                                                           break;
   19994                 :             :                                                         }
   19995                 :             :                                                       default:;
   19996                 :             :                                                       }
   19997                 :             :                                                 }
   19998                 :             :                                               break;
   19999                 :             :                                             default:;
   20000                 :             :                                             }
   20001                 :             :                                         }
   20002                 :             :                                     }
   20003                 :             :                                   break;
   20004                 :             :                                 }
   20005                 :             :                               default:;
   20006                 :             :                               }
   20007                 :             :                         }
   20008                 :             :                       break;
   20009                 :             :                     default:;
   20010                 :             :                     }
   20011                 :             :                   break;
   20012                 :             :                 }
   20013                 :       15989 :               case LT_EXPR:
   20014                 :       15989 :                 {
   20015                 :       15989 :                   tree _q20 = gimple_assign_rhs1 (_a1);
   20016                 :       15989 :                   _q20 = do_valueize (valueize, _q20);
   20017                 :       15989 :                   tree _q21 = gimple_assign_rhs2 (_a1);
   20018                 :       15989 :                   _q21 = do_valueize (valueize, _q21);
   20019                 :       15989 :                   if (zerop (_q21))
   20020                 :             :                     {
   20021                 :        8386 :                       switch (TREE_CODE (_p2))
   20022                 :             :                         {
   20023                 :        3414 :                         case SSA_NAME:
   20024                 :        3414 :                           if (gimple *_d2 = get_def (valueize, _p2))
   20025                 :             :                             {
   20026                 :        3346 :                               if (gassign *_a2 = dyn_cast <gassign *> (_d2))
   20027                 :        3277 :                                 switch (gimple_assign_rhs_code (_a2))
   20028                 :             :                                   {
   20029                 :          10 :                                   case NEGATE_EXPR:
   20030                 :          10 :                                     {
   20031                 :          10 :                                       tree _q60 = gimple_assign_rhs1 (_a2);
   20032                 :          10 :                                       _q60 = do_valueize (valueize, _q60);
   20033                 :          10 :                                       if ((_q60 == _p1 && ! TREE_SIDE_EFFECTS (_q60)) || (operand_equal_p (_q60, _p1, 0) && types_match (_q60, _p1)))
   20034                 :             :                                         {
   20035                 :           0 :                                           {
   20036                 :           0 :                                             tree captures[2] ATTRIBUTE_UNUSED = { _q20, _p1 };
   20037                 :           0 :                                             const enum tree_code cmp = LT_EXPR;
   20038                 :           0 :                                             if (!HONOR_SIGNED_ZEROS (TREE_TYPE(captures[0]))
   20039                 :           0 :  && !TYPE_UNSIGNED (TREE_TYPE(captures[0]))
   20040                 :           0 :  && bitwise_equal_p (captures[0], captures[1])
   20041                 :             : )
   20042                 :             :                                               {
   20043                 :           0 :                                                 if ((ANY_INTEGRAL_TYPE_P (TREE_TYPE (captures[0]))
   20044                 :           0 :  && !TYPE_OVERFLOW_WRAPS (TREE_TYPE (captures[0])))
   20045                 :           0 :  || TYPE_UNSIGNED (type)
   20046                 :             : )
   20047                 :             :                                                   {
   20048                 :           0 :                                                     {
   20049                 :           0 :  tree utype = unsigned_type_for (TREE_TYPE(captures[0]));
   20050                 :           0 :                                                         gimple_seq *lseq = seq;
   20051                 :           0 :                                                         if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail2280;
   20052                 :           0 :                                                         {
   20053                 :           0 :                                                           res_op->set_op (NOP_EXPR, type, 1);
   20054                 :           0 :                                                           {
   20055                 :           0 :                                                             tree _o1[1], _r1;
   20056                 :           0 :                                                             {
   20057                 :           0 :                                                               tree _o2[1], _r2;
   20058                 :           0 :                                                               _o2[0] = captures[0];
   20059                 :           0 :                                                               gimple_match_op tem_op (res_op->cond.any_else (), ABSU_EXPR, utype, _o2[0]);
   20060                 :           0 :                                                               tem_op.resimplify (lseq, valueize);
   20061                 :           0 :                                                               _r2 = maybe_push_res_to_seq (&tem_op, lseq);
   20062                 :           0 :                                                               if (!_r2) goto next_after_fail2280;
   20063                 :           0 :                                                               _o1[0] = _r2;
   20064                 :             :                                                             }
   20065                 :           0 :                                                             gimple_match_op tem_op (res_op->cond.any_else (), NEGATE_EXPR, TREE_TYPE (_o1[0]), _o1[0]);
   20066                 :           0 :                                                             tem_op.resimplify (lseq, valueize);
   20067                 :           0 :                                                             _r1 = maybe_push_res_to_seq (&tem_op, lseq);
   20068                 :           0 :                                                             if (!_r1) goto next_after_fail2280;
   20069                 :           0 :                                                             res_op->ops[0] = _r1;
   20070                 :             :                                                           }
   20071                 :           0 :                                                           res_op->resimplify (lseq, valueize);
   20072                 :           0 :                                                           if (UNLIKELY (debug_dump)) gimple_dump_logs ("match.pd", 742, __FILE__, __LINE__, true);
   20073                 :           0 :                                                           return true;
   20074                 :             :                                                         }
   20075                 :           0 : next_after_fail2280:;
   20076                 :             :                                                     }
   20077                 :             :                                                   }
   20078                 :             :                                                 else
   20079                 :             :                                                   {
   20080                 :           0 :                                                     gimple_seq *lseq = seq;
   20081                 :           0 :                                                     if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail2281;
   20082                 :           0 :                                                     {
   20083                 :           0 :                                                       res_op->set_op (NEGATE_EXPR, type, 1);
   20084                 :           0 :                                                       {
   20085                 :           0 :                                                         tree _o1[1], _r1;
   20086                 :           0 :                                                         _o1[0] = captures[0];
   20087                 :           0 :                                                         gimple_match_op tem_op (res_op->cond.any_else (), ABS_EXPR, TREE_TYPE (_o1[0]), _o1[0]);
   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_fail2281;
   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", 743, __FILE__, __LINE__, true);
   20095                 :           0 :                                                       return true;
   20096                 :             :                                                     }
   20097                 :           0 : next_after_fail2281:;
   20098                 :             :                                                   }
   20099                 :             :                                               }
   20100                 :             :                                           }
   20101                 :             :                                         }
   20102                 :             :                                       break;
   20103                 :             :                                     }
   20104                 :             :                                   default:;
   20105                 :             :                                   }
   20106                 :             :                             }
   20107                 :             :                           break;
   20108                 :             :                         default:;
   20109                 :             :                         }
   20110                 :             :                     }
   20111                 :       15989 :                   switch (TREE_CODE (_q20))
   20112                 :             :                     {
   20113                 :       15989 :                     case SSA_NAME:
   20114                 :       15989 :                       if (gimple *_d2 = get_def (valueize, _q20))
   20115                 :             :                         {
   20116                 :       14712 :                           if (gassign *_a2 = dyn_cast <gassign *> (_d2))
   20117                 :       20561 :                             switch (gimple_assign_rhs_code (_a2))
   20118                 :             :                               {
   20119                 :          98 :                               case MINUS_EXPR:
   20120                 :          98 :                                 {
   20121                 :          98 :                                   tree _q30 = gimple_assign_rhs1 (_a2);
   20122                 :          98 :                                   _q30 = do_valueize (valueize, _q30);
   20123                 :          98 :                                   tree _q31 = gimple_assign_rhs2 (_a2);
   20124                 :          98 :                                   _q31 = do_valueize (valueize, _q31);
   20125                 :          98 :                                   if (zerop (_q21))
   20126                 :             :                                     {
   20127                 :          80 :                                       if ((_p1 == _q20 && ! TREE_SIDE_EFFECTS (_p1)) || (operand_equal_p (_p1, _q20, 0) && types_match (_p1, _q20)))
   20128                 :             :                                         {
   20129                 :           0 :                                           switch (TREE_CODE (_p2))
   20130                 :             :                                             {
   20131                 :           0 :                                             case SSA_NAME:
   20132                 :           0 :                                               if (gimple *_d3 = get_def (valueize, _p2))
   20133                 :             :                                                 {
   20134                 :           0 :                                                   if (gassign *_a3 = dyn_cast <gassign *> (_d3))
   20135                 :           0 :                                                     switch (gimple_assign_rhs_code (_a3))
   20136                 :             :                                                       {
   20137                 :           0 :                                                       case MINUS_EXPR:
   20138                 :           0 :                                                         {
   20139                 :           0 :                                                           tree _q80 = gimple_assign_rhs1 (_a3);
   20140                 :           0 :                                                           _q80 = do_valueize (valueize, _q80);
   20141                 :           0 :                                                           tree _q81 = gimple_assign_rhs2 (_a3);
   20142                 :           0 :                                                           _q81 = do_valueize (valueize, _q81);
   20143                 :           0 :                                                           if ((_q80 == _q31 && ! TREE_SIDE_EFFECTS (_q80)) || (operand_equal_p (_q80, _q31, 0) && types_match (_q80, _q31)))
   20144                 :             :                                                             {
   20145                 :           0 :                                                               if ((_q81 == _q30 && ! TREE_SIDE_EFFECTS (_q81)) || (operand_equal_p (_q81, _q30, 0) && types_match (_q81, _q30)))
   20146                 :             :                                                                 {
   20147                 :           0 :                                                                   {
   20148                 :           0 :                                                                     tree captures[3] ATTRIBUTE_UNUSED = { _q20, _q30, _q31 };
   20149                 :           0 :                                                                     const enum tree_code cmp = LT_EXPR;
   20150                 :           0 :                                                                     if (!HONOR_SIGNED_ZEROS (type)
   20151                 :           0 :  && !TYPE_UNSIGNED (type)
   20152                 :             : )
   20153                 :             :                                                                       {
   20154                 :           0 :                                                                         if (ANY_INTEGRAL_TYPE_P (type)
   20155                 :           0 :  && !TYPE_OVERFLOW_WRAPS (type)
   20156                 :             : )
   20157                 :             :                                                                           {
   20158                 :           0 :                                                                             {
   20159                 :           0 :  tree utype = unsigned_type_for (type);
   20160                 :           0 :                                                                                 gimple_seq *lseq = seq;
   20161                 :           0 :                                                                                 if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail2282;
   20162                 :           0 :                                                                                 {
   20163                 :           0 :                                                                                   res_op->set_op (NOP_EXPR, type, 1);
   20164                 :           0 :                                                                                   {
   20165                 :           0 :                                                                                     tree _o1[1], _r1;
   20166                 :           0 :                                                                                     {
   20167                 :           0 :                                                                                       tree _o2[1], _r2;
   20168                 :           0 :                                                                                       _o2[0] = captures[0];
   20169                 :           0 :                                                                                       gimple_match_op tem_op (res_op->cond.any_else (), ABSU_EXPR, utype, _o2[0]);
   20170                 :           0 :                                                                                       tem_op.resimplify (lseq, valueize);
   20171                 :           0 :                                                                                       _r2 = maybe_push_res_to_seq (&tem_op, lseq);
   20172                 :           0 :                                                                                       if (!_r2) goto next_after_fail2282;
   20173                 :           0 :                                                                                       _o1[0] = _r2;
   20174                 :             :                                                                                     }
   20175                 :           0 :                                                                                     gimple_match_op tem_op (res_op->cond.any_else (), NEGATE_EXPR, TREE_TYPE (_o1[0]), _o1[0]);
   20176                 :           0 :                                                                                     tem_op.resimplify (lseq, valueize);
   20177                 :           0 :                                                                                     _r1 = maybe_push_res_to_seq (&tem_op, lseq);
   20178                 :           0 :                                                                                     if (!_r1) goto next_after_fail2282;
   20179                 :           0 :                                                                                     res_op->ops[0] = _r1;
   20180                 :             :                                                                                   }
   20181                 :           0 :                                                                                   res_op->resimplify (lseq, valueize);
   20182                 :           0 :                                                                                   if (UNLIKELY (debug_dump)) gimple_dump_logs ("match.pd", 744, __FILE__, __LINE__, true);
   20183                 :           0 :                                                                                   return true;
   20184                 :             :                                                                                 }
   20185                 :           0 : next_after_fail2282:;
   20186                 :             :                                                                             }
   20187                 :             :                                                                           }
   20188                 :             :                                                                         else
   20189                 :             :                                                                           {
   20190                 :           0 :                                                                             gimple_seq *lseq = seq;
   20191                 :           0 :                                                                             if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail2283;
   20192                 :           0 :                                                                             {
   20193                 :           0 :                                                                               res_op->set_op (NEGATE_EXPR, type, 1);
   20194                 :           0 :                                                                               {
   20195                 :           0 :                                                                                 tree _o1[1], _r1;
   20196                 :           0 :                                                                                 _o1[0] = captures[0];
   20197                 :           0 :                                                                                 gimple_match_op tem_op (res_op->cond.any_else (), ABS_EXPR, TREE_TYPE (_o1[0]), _o1[0]);
   20198                 :           0 :                                                                                 tem_op.resimplify (lseq, valueize);
   20199                 :           0 :                                                                                 _r1 = maybe_push_res_to_seq (&tem_op, lseq);
   20200                 :           0 :                                                                                 if (!_r1) goto next_after_fail2283;
   20201                 :           0 :                                                                                 res_op->ops[0] = _r1;
   20202                 :             :                                                                               }
   20203                 :           0 :                                                                               res_op->resimplify (lseq, valueize);
   20204                 :           0 :                                                                               if (UNLIKELY (debug_dump)) gimple_dump_logs ("match.pd", 745, __FILE__, __LINE__, true);
   20205                 :           0 :                                                                               return true;
   20206                 :             :                                                                             }
   20207                 :           0 : next_after_fail2283:;
   20208                 :             :                                                                           }
   20209                 :             :                                                                       }
   20210                 :             :                                                                   }
   20211                 :             :                                                                 }
   20212                 :             :                                                             }
   20213                 :             :                                                           break;
   20214                 :             :                                                         }
   20215                 :             :                                                       default:;
   20216                 :             :                                                       }
   20217                 :             :                                                 }
   20218                 :             :                                               break;
   20219                 :             :                                             default:;
   20220                 :             :                                             }
   20221                 :             :                                         }
   20222                 :             :                                     }
   20223                 :             :                                   break;
   20224                 :             :                                 }
   20225                 :             :                               default:;
   20226                 :             :                               }
   20227                 :             :                         }
   20228                 :             :                       break;
   20229                 :             :                     default:;
   20230                 :             :                     }
   20231                 :             :                   break;
   20232                 :             :                 }
   20233                 :             :               default:;
   20234                 :             :               }
   20235                 :             :         }
   20236                 :             :       break;
   20237                 :      149446 :     default:;
   20238                 :             :     }
   20239                 :      149446 : {
   20240                 :      149446 :   tree _p0_pops[1];
   20241                 :      149446 :   if (gimple_logical_inverted_value (_p0, _p0_pops, valueize))
   20242                 :             :     {
   20243                 :        5475 :       tree _q20 = _p0_pops[0];
   20244                 :        5475 :       if (gimple_truth_valued_p (_q20, valueize))
   20245                 :             :         {
   20246                 :           0 :           {
   20247                 :           0 :             tree captures[3] ATTRIBUTE_UNUSED = { _q20, _p1, _p2 };
   20248                 :           0 :             gimple_seq *lseq = seq;
   20249                 :           0 :             if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail2284;
   20250                 :           0 :             {
   20251                 :           0 :               res_op->set_op (VEC_COND_EXPR, type, 3);
   20252                 :           0 :               res_op->ops[0] = captures[0];
   20253                 :           0 :               res_op->ops[1] = captures[2];
   20254                 :           0 :               res_op->ops[2] = captures[1];
   20255                 :           0 :               res_op->resimplify (lseq, valueize);
   20256                 :           0 :               if (UNLIKELY (debug_dump)) gimple_dump_logs ("match.pd", 1107, __FILE__, __LINE__, true);
   20257                 :           0 :               return true;
   20258                 :             :             }
   20259                 :           0 : next_after_fail2284:;
   20260                 :             :           }
   20261                 :             :         }
   20262                 :             : }
   20263                 :             : }
   20264                 :      149446 :   switch (TREE_CODE (_p1))
   20265                 :             :     {
   20266                 :       24171 :     case SSA_NAME:
   20267                 :       24171 :       if (gimple *_d1 = get_def (valueize, _p1))
   20268                 :             :         {
   20269                 :       21807 :           if (gassign *_a1 = dyn_cast <gassign *> (_d1))
   20270                 :       20403 :             switch (gimple_assign_rhs_code (_a1))
   20271                 :             :               {
   20272                 :        2043 :               case VIEW_CONVERT_EXPR:
   20273                 :        2043 :                 {
   20274                 :        2043 :                   tree _q30 = TREE_OPERAND (gimple_assign_rhs1 (_a1), 0);
   20275                 :        2043 :                   if ((TREE_CODE (_q30) == SSA_NAME
   20276                 :        2043 :                        || is_gimple_min_invariant (_q30)))
   20277                 :             :                     {
   20278                 :        2043 :                       _q30 = do_valueize (valueize, _q30);
   20279                 :        2043 :                       switch (TREE_CODE (_q30))
   20280                 :             :                         {
   20281                 :        2043 :                         case SSA_NAME:
   20282                 :        2043 :                           if (gimple *_d2 = get_def (valueize, _q30))
   20283                 :             :                             {
   20284                 :        2019 :                               if (gassign *_a2 = dyn_cast <gassign *> (_d2))
   20285                 :        1353 :                                 switch (gimple_assign_rhs_code (_a2))
   20286                 :             :                                   {
   20287                 :         132 :                                   case NEGATE_EXPR:
   20288                 :         132 :                                     {
   20289                 :         132 :                                       tree _q40 = gimple_assign_rhs1 (_a2);
   20290                 :         132 :                                       _q40 = do_valueize (valueize, _q40);
   20291                 :         132 :                                       {
   20292                 :         132 :                                         tree captures[4] ATTRIBUTE_UNUSED = { _p0, _q30, _q40, _p2 };
   20293                 :         132 :                                         {
   20294                 :         132 :  tree op_type = TREE_TYPE (captures[1]);
   20295                 :         132 :                                             if (vectorized_internal_fn_supported_p (as_internal_fn (CFN_COND_NEG), op_type)
   20296                 :         132 :  && is_truth_type_for (op_type, TREE_TYPE (captures[0]))
   20297                 :             : )
   20298                 :             :                                               {
   20299                 :           0 :                                                 gimple_seq *lseq = seq;
   20300                 :           0 :                                                 if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail2285;
   20301                 :           0 :                                                 {
   20302                 :           0 :                                                   res_op->set_op (CFN_COND_NEG, type, 3);
   20303                 :           0 :                                                   res_op->ops[0] = captures[0];
   20304                 :           0 :                                                   {
   20305                 :           0 :                                                     tree _o1[1], _r1;
   20306                 :           0 :                                                     _o1[0] = captures[2];
   20307                 :           0 :                                                     gimple_match_op tem_op (res_op->cond.any_else (), VIEW_CONVERT_EXPR, type, _o1[0]);
   20308                 :           0 :                                                     tem_op.resimplify (lseq, valueize);
   20309                 :           0 :                                                     _r1 = maybe_push_res_to_seq (&tem_op, lseq);
   20310                 :           0 :                                                     if (!_r1) goto next_after_fail2285;
   20311                 :           0 :                                                     res_op->ops[1] = _r1;
   20312                 :             :                                                   }
   20313                 :           0 :                                                   res_op->ops[2] = captures[3];
   20314                 :           0 :                                                   res_op->resimplify (lseq, valueize);
   20315                 :           0 :                                                   if (UNLIKELY (debug_dump)) gimple_dump_logs ("match.pd", 1122, __FILE__, __LINE__, true);
   20316                 :           0 :                                                   return true;
   20317                 :             :                                                 }
   20318                 :         132 : next_after_fail2285:;
   20319                 :             :                                               }
   20320                 :             :                                         }
   20321                 :             :                                       }
   20322                 :         132 :                                       break;
   20323                 :             :                                     }
   20324                 :           0 :                                   case BIT_NOT_EXPR:
   20325                 :           0 :                                     {
   20326                 :           0 :                                       tree _q40 = gimple_assign_rhs1 (_a2);
   20327                 :           0 :                                       _q40 = do_valueize (valueize, _q40);
   20328                 :           0 :                                       {
   20329                 :           0 :                                         tree captures[4] ATTRIBUTE_UNUSED = { _p0, _q30, _q40, _p2 };
   20330                 :           0 :                                         {
   20331                 :           0 :  tree op_type = TREE_TYPE (captures[1]);
   20332                 :           0 :                                             if (vectorized_internal_fn_supported_p (as_internal_fn (CFN_COND_NOT), op_type)
   20333                 :           0 :  && is_truth_type_for (op_type, TREE_TYPE (captures[0]))
   20334                 :             : )
   20335                 :             :                                               {
   20336                 :           0 :                                                 gimple_seq *lseq = seq;
   20337                 :           0 :                                                 if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail2286;
   20338                 :           0 :                                                 {
   20339                 :           0 :                                                   res_op->set_op (CFN_COND_NOT, type, 3);
   20340                 :           0 :                                                   res_op->ops[0] = captures[0];
   20341                 :           0 :                                                   {
   20342                 :           0 :                                                     tree _o1[1], _r1;
   20343                 :           0 :                                                     _o1[0] = captures[2];
   20344                 :           0 :                                                     gimple_match_op tem_op (res_op->cond.any_else (), VIEW_CONVERT_EXPR, type, _o1[0]);
   20345                 :           0 :                                                     tem_op.resimplify (lseq, valueize);
   20346                 :           0 :                                                     _r1 = maybe_push_res_to_seq (&tem_op, lseq);
   20347                 :           0 :                                                     if (!_r1) goto next_after_fail2286;
   20348                 :           0 :                                                     res_op->ops[1] = _r1;
   20349                 :             :                                                   }
   20350                 :           0 :                                                   res_op->ops[2] = captures[3];
   20351                 :           0 :                                                   res_op->resimplify (lseq, valueize);
   20352                 :           0 :                                                   if (UNLIKELY (debug_dump)) gimple_dump_logs ("match.pd", 1122, __FILE__, __LINE__, true);
   20353                 :           0 :                                                   return true;
   20354                 :             :                                                 }
   20355                 :           0 : next_after_fail2286:;
   20356                 :             :                                               }
   20357                 :             :                                         }
   20358                 :             :                                       }
   20359                 :           0 :                                       break;
   20360                 :             :                                     }
   20361                 :             :                                   default:;
   20362                 :             :                                   }
   20363                 :             :                             }
   20364                 :             :                           break;
   20365                 :             :                         default:;
   20366                 :             :                         }
   20367                 :             :                     }
   20368                 :             :                   break;
   20369                 :             :                 }
   20370                 :          88 :               case NEGATE_EXPR:
   20371                 :          88 :                 {
   20372                 :          88 :                   tree _q30 = gimple_assign_rhs1 (_a1);
   20373                 :          88 :                   _q30 = do_valueize (valueize, _q30);
   20374                 :          88 :                   {
   20375                 :          88 :                     tree captures[4] ATTRIBUTE_UNUSED = { _p0, _p1, _q30, _p2 };
   20376                 :          88 :                     {
   20377                 :          88 :  tree op_type = TREE_TYPE (captures[1]);
   20378                 :          88 :                         if (vectorized_internal_fn_supported_p (as_internal_fn (CFN_COND_NEG), op_type)
   20379                 :          88 :  && is_truth_type_for (op_type, TREE_TYPE (captures[0]))
   20380                 :             : )
   20381                 :             :                           {
   20382                 :           0 :                             gimple_seq *lseq = seq;
   20383                 :           0 :                             if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail2287;
   20384                 :           0 :                             {
   20385                 :           0 :                               res_op->set_op (CFN_COND_NEG, type, 3);
   20386                 :           0 :                               res_op->ops[0] = captures[0];
   20387                 :           0 :                               {
   20388                 :           0 :                                 tree _o1[1], _r1;
   20389                 :           0 :                                 _o1[0] = captures[2];
   20390                 :           0 :                                 gimple_match_op tem_op (res_op->cond.any_else (), VIEW_CONVERT_EXPR, type, _o1[0]);
   20391                 :           0 :                                 tem_op.resimplify (lseq, valueize);
   20392                 :           0 :                                 _r1 = maybe_push_res_to_seq (&tem_op, lseq);
   20393                 :           0 :                                 if (!_r1) goto next_after_fail2287;
   20394                 :           0 :                                 res_op->ops[1] = _r1;
   20395                 :             :                               }
   20396                 :           0 :                               res_op->ops[2] = captures[3];
   20397                 :           0 :                               res_op->resimplify (lseq, valueize);
   20398                 :           0 :                               if (UNLIKELY (debug_dump)) gimple_dump_logs ("match.pd", 1122, __FILE__, __LINE__, true);
   20399                 :           0 :                               return true;
   20400                 :             :                             }
   20401                 :          88 : next_after_fail2287:;
   20402                 :             :                           }
   20403                 :             :                     }
   20404                 :             :                   }
   20405                 :          88 :                   break;
   20406                 :             :                 }
   20407                 :           0 :               case BIT_NOT_EXPR:
   20408                 :           0 :                 {
   20409                 :           0 :                   tree _q30 = gimple_assign_rhs1 (_a1);
   20410                 :           0 :                   _q30 = do_valueize (valueize, _q30);
   20411                 :           0 :                   {
   20412                 :           0 :                     tree captures[4] ATTRIBUTE_UNUSED = { _p0, _p1, _q30, _p2 };
   20413                 :           0 :                     {
   20414                 :           0 :  tree op_type = TREE_TYPE (captures[1]);
   20415                 :           0 :                         if (vectorized_internal_fn_supported_p (as_internal_fn (CFN_COND_NOT), op_type)
   20416                 :           0 :  && is_truth_type_for (op_type, TREE_TYPE (captures[0]))
   20417                 :             : )
   20418                 :             :                           {
   20419                 :           0 :                             gimple_seq *lseq = seq;
   20420                 :           0 :                             if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail2288;
   20421                 :           0 :                             {
   20422                 :           0 :                               res_op->set_op (CFN_COND_NOT, type, 3);
   20423                 :           0 :                               res_op->ops[0] = captures[0];
   20424                 :           0 :                               {
   20425                 :           0 :                                 tree _o1[1], _r1;
   20426                 :           0 :                                 _o1[0] = captures[2];
   20427                 :           0 :                                 gimple_match_op tem_op (res_op->cond.any_else (), VIEW_CONVERT_EXPR, type, _o1[0]);
   20428                 :           0 :                                 tem_op.resimplify (lseq, valueize);
   20429                 :           0 :                                 _r1 = maybe_push_res_to_seq (&tem_op, lseq);
   20430                 :           0 :                                 if (!_r1) goto next_after_fail2288;
   20431                 :           0 :                                 res_op->ops[1] = _r1;
   20432                 :             :                               }
   20433                 :           0 :                               res_op->ops[2] = captures[3];
   20434                 :           0 :                               res_op->resimplify (lseq, valueize);
   20435                 :           0 :                               if (UNLIKELY (debug_dump)) gimple_dump_logs ("match.pd", 1122, __FILE__, __LINE__, true);
   20436                 :           0 :                               return true;
   20437                 :             :                             }
   20438                 :           0 : next_after_fail2288:;
   20439                 :             :                           }
   20440                 :             :                     }
   20441                 :             :                   }
   20442                 :           0 :                   break;
   20443                 :             :                 }
   20444                 :             :               default:;
   20445                 :             :               }
   20446                 :             :         }
   20447                 :             :       break;
   20448                 :      149446 :     default:;
   20449                 :             :     }
   20450                 :      149446 :   switch (TREE_CODE (_p2))
   20451                 :             :     {
   20452                 :       24282 :     case SSA_NAME:
   20453                 :       24282 :       if (gimple *_d1 = get_def (valueize, _p2))
   20454                 :             :         {
   20455                 :       22229 :           if (gassign *_a1 = dyn_cast <gassign *> (_d1))
   20456                 :       20924 :             switch (gimple_assign_rhs_code (_a1))
   20457                 :             :               {
   20458                 :        2408 :               case VIEW_CONVERT_EXPR:
   20459                 :        2408 :                 {
   20460                 :        2408 :                   tree _q40 = TREE_OPERAND (gimple_assign_rhs1 (_a1), 0);
   20461                 :        2408 :                   if ((TREE_CODE (_q40) == SSA_NAME
   20462                 :        2408 :                        || is_gimple_min_invariant (_q40)))
   20463                 :             :                     {
   20464                 :        2408 :                       _q40 = do_valueize (valueize, _q40);
   20465                 :        2408 :                       switch (TREE_CODE (_q40))
   20466                 :             :                         {
   20467                 :        2408 :                         case SSA_NAME:
   20468                 :        2408 :                           if (gimple *_d2 = get_def (valueize, _q40))
   20469                 :             :                             {
   20470                 :        2347 :                               if (gassign *_a2 = dyn_cast <gassign *> (_d2))
   20471                 :        1396 :                                 switch (gimple_assign_rhs_code (_a2))
   20472                 :             :                                   {
   20473                 :          53 :                                   case NEGATE_EXPR:
   20474                 :          53 :                                     {
   20475                 :          53 :                                       tree _q50 = gimple_assign_rhs1 (_a2);
   20476                 :          53 :                                       _q50 = do_valueize (valueize, _q50);
   20477                 :          53 :                                       {
   20478                 :          53 :                                         tree captures[4] ATTRIBUTE_UNUSED = { _p0, _p1, _q40, _q50 };
   20479                 :          53 :                                         {
   20480                 :          53 :  tree op_type = TREE_TYPE (captures[2]);
   20481                 :          53 :                                             if (vectorized_internal_fn_supported_p (as_internal_fn (CFN_COND_NEG), op_type)
   20482                 :          53 :  && is_truth_type_for (op_type, TREE_TYPE (captures[0]))
   20483                 :             : )
   20484                 :             :                                               {
   20485                 :           0 :                                                 gimple_seq *lseq = seq;
   20486                 :           0 :                                                 if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail2289;
   20487                 :           0 :                                                 {
   20488                 :           0 :                                                   res_op->set_op (CFN_COND_NEG, type, 3);
   20489                 :           0 :                                                   {
   20490                 :           0 :                                                     tree _o1[1], _r1;
   20491                 :           0 :                                                     _o1[0] = captures[0];
   20492                 :           0 :                                                     gimple_match_op tem_op (res_op->cond.any_else (), BIT_NOT_EXPR, TREE_TYPE (_o1[0]), _o1[0]);
   20493                 :           0 :                                                     tem_op.resimplify (lseq, valueize);
   20494                 :           0 :                                                     _r1 = maybe_push_res_to_seq (&tem_op, lseq);
   20495                 :           0 :                                                     if (!_r1) goto next_after_fail2289;
   20496                 :           0 :                                                     res_op->ops[0] = _r1;
   20497                 :             :                                                   }
   20498                 :           0 :                                                   {
   20499                 :           0 :                                                     tree _o1[1], _r1;
   20500                 :           0 :                                                     _o1[0] = captures[3];
   20501                 :           0 :                                                     gimple_match_op tem_op (res_op->cond.any_else (), VIEW_CONVERT_EXPR, type, _o1[0]);
   20502                 :           0 :                                                     tem_op.resimplify (lseq, valueize);
   20503                 :           0 :                                                     _r1 = maybe_push_res_to_seq (&tem_op, lseq);
   20504                 :           0 :                                                     if (!_r1) goto next_after_fail2289;
   20505                 :           0 :                                                     res_op->ops[1] = _r1;
   20506                 :             :                                                   }
   20507                 :           0 :                                                   res_op->ops[2] = captures[1];
   20508                 :           0 :                                                   res_op->resimplify (lseq, valueize);
   20509                 :           0 :                                                   if (UNLIKELY (debug_dump)) gimple_dump_logs ("match.pd", 1123, __FILE__, __LINE__, true);
   20510                 :           0 :                                                   return true;
   20511                 :             :                                                 }
   20512                 :          53 : next_after_fail2289:;
   20513                 :             :                                               }
   20514                 :             :                                         }
   20515                 :             :                                       }
   20516                 :          53 :                                       break;
   20517                 :             :                                     }
   20518                 :           0 :                                   case BIT_NOT_EXPR:
   20519                 :           0 :                                     {
   20520                 :           0 :                                       tree _q50 = gimple_assign_rhs1 (_a2);
   20521                 :           0 :                                       _q50 = do_valueize (valueize, _q50);
   20522                 :           0 :                                       {
   20523                 :           0 :                                         tree captures[4] ATTRIBUTE_UNUSED = { _p0, _p1, _q40, _q50 };
   20524                 :           0 :                                         {
   20525                 :           0 :  tree op_type = TREE_TYPE (captures[2]);
   20526                 :           0 :                                             if (vectorized_internal_fn_supported_p (as_internal_fn (CFN_COND_NOT), op_type)
   20527                 :           0 :  && is_truth_type_for (op_type, TREE_TYPE (captures[0]))
   20528                 :             : )
   20529                 :             :                                               {
   20530                 :           0 :                                                 gimple_seq *lseq = seq;
   20531                 :           0 :                                                 if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail2290;
   20532                 :           0 :                                                 {
   20533                 :           0 :                                                   res_op->set_op (CFN_COND_NOT, type, 3);
   20534                 :           0 :                                                   {
   20535                 :           0 :                                                     tree _o1[1], _r1;
   20536                 :           0 :                                                     _o1[0] = captures[0];
   20537                 :           0 :                                                     gimple_match_op tem_op (res_op->cond.any_else (), BIT_NOT_EXPR, TREE_TYPE (_o1[0]), _o1[0]);
   20538                 :           0 :                                                     tem_op.resimplify (lseq, valueize);
   20539                 :           0 :                                                     _r1 = maybe_push_res_to_seq (&tem_op, lseq);
   20540                 :           0 :                                                     if (!_r1) goto next_after_fail2290;
   20541                 :           0 :                                                     res_op->ops[0] = _r1;
   20542                 :             :                                                   }
   20543                 :           0 :                                                   {
   20544                 :           0 :                                                     tree _o1[1], _r1;
   20545                 :           0 :                                                     _o1[0] = captures[3];
   20546                 :           0 :                                                     gimple_match_op tem_op (res_op->cond.any_else (), VIEW_CONVERT_EXPR, type, _o1[0]);
   20547                 :           0 :                                                     tem_op.resimplify (lseq, valueize);
   20548                 :           0 :                                                     _r1 = maybe_push_res_to_seq (&tem_op, lseq);
   20549                 :           0 :                                                     if (!_r1) goto next_after_fail2290;
   20550                 :           0 :                                                     res_op->ops[1] = _r1;
   20551                 :             :                                                   }
   20552                 :           0 :                                                   res_op->ops[2] = captures[1];
   20553                 :           0 :                                                   res_op->resimplify (lseq, valueize);
   20554                 :           0 :                                                   if (UNLIKELY (debug_dump)) gimple_dump_logs ("match.pd", 1123, __FILE__, __LINE__, true);
   20555                 :           0 :                                                   return true;
   20556                 :             :                                                 }
   20557                 :           0 : next_after_fail2290:;
   20558                 :             :                                               }
   20559                 :             :                                         }
   20560                 :             :                                       }
   20561                 :           0 :                                       break;
   20562                 :             :                                     }
   20563                 :             :                                   default:;
   20564                 :             :                                   }
   20565                 :             :                             }
   20566                 :             :                           break;
   20567                 :             :                         default:;
   20568                 :             :                         }
   20569                 :             :                     }
   20570                 :             :                   break;
   20571                 :             :                 }
   20572                 :          84 :               case NEGATE_EXPR:
   20573                 :          84 :                 {
   20574                 :          84 :                   tree _q40 = gimple_assign_rhs1 (_a1);
   20575                 :          84 :                   _q40 = do_valueize (valueize, _q40);
   20576                 :          84 :                   {
   20577                 :          84 :                     tree captures[4] ATTRIBUTE_UNUSED = { _p0, _p1, _p2, _q40 };
   20578                 :          84 :                     {
   20579                 :          84 :  tree op_type = TREE_TYPE (captures[2]);
   20580                 :          84 :                         if (vectorized_internal_fn_supported_p (as_internal_fn (CFN_COND_NEG), op_type)
   20581                 :          84 :  && is_truth_type_for (op_type, TREE_TYPE (captures[0]))
   20582                 :             : )
   20583                 :             :                           {
   20584                 :           0 :                             gimple_seq *lseq = seq;
   20585                 :           0 :                             if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail2291;
   20586                 :           0 :                             {
   20587                 :           0 :                               res_op->set_op (CFN_COND_NEG, type, 3);
   20588                 :           0 :                               {
   20589                 :           0 :                                 tree _o1[1], _r1;
   20590                 :           0 :                                 _o1[0] = captures[0];
   20591                 :           0 :                                 gimple_match_op tem_op (res_op->cond.any_else (), BIT_NOT_EXPR, TREE_TYPE (_o1[0]), _o1[0]);
   20592                 :           0 :                                 tem_op.resimplify (lseq, valueize);
   20593                 :           0 :                                 _r1 = maybe_push_res_to_seq (&tem_op, lseq);
   20594                 :           0 :                                 if (!_r1) goto next_after_fail2291;
   20595                 :           0 :                                 res_op->ops[0] = _r1;
   20596                 :             :                               }
   20597                 :           0 :                               {
   20598                 :           0 :                                 tree _o1[1], _r1;
   20599                 :           0 :                                 _o1[0] = captures[3];
   20600                 :           0 :                                 gimple_match_op tem_op (res_op->cond.any_else (), VIEW_CONVERT_EXPR, type, _o1[0]);
   20601                 :           0 :                                 tem_op.resimplify (lseq, valueize);
   20602                 :           0 :                                 _r1 = maybe_push_res_to_seq (&tem_op, lseq);
   20603                 :           0 :                                 if (!_r1) goto next_after_fail2291;
   20604                 :           0 :                                 res_op->ops[1] = _r1;
   20605                 :             :                               }
   20606                 :           0 :                               res_op->ops[2] = captures[1];
   20607                 :           0 :                               res_op->resimplify (lseq, valueize);
   20608                 :           0 :                               if (UNLIKELY (debug_dump)) gimple_dump_logs ("match.pd", 1123, __FILE__, __LINE__, true);
   20609                 :           0 :                               return true;
   20610                 :             :                             }
   20611                 :          84 : next_after_fail2291:;
   20612                 :             :                           }
   20613                 :             :                     }
   20614                 :             :                   }
   20615                 :          84 :                   break;
   20616                 :             :                 }
   20617                 :           2 :               case BIT_NOT_EXPR:
   20618                 :           2 :                 {
   20619                 :           2 :                   tree _q40 = gimple_assign_rhs1 (_a1);
   20620                 :           2 :                   _q40 = do_valueize (valueize, _q40);
   20621                 :           2 :                   {
   20622                 :           2 :                     tree captures[4] ATTRIBUTE_UNUSED = { _p0, _p1, _p2, _q40 };
   20623                 :           2 :                     {
   20624                 :           2 :  tree op_type = TREE_TYPE (captures[2]);
   20625                 :           2 :                         if (vectorized_internal_fn_supported_p (as_internal_fn (CFN_COND_NOT), op_type)
   20626                 :           2 :  && is_truth_type_for (op_type, TREE_TYPE (captures[0]))
   20627                 :             : )
   20628                 :             :                           {
   20629                 :           0 :                             gimple_seq *lseq = seq;
   20630                 :           0 :                             if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail2292;
   20631                 :           0 :                             {
   20632                 :           0 :                               res_op->set_op (CFN_COND_NOT, type, 3);
   20633                 :           0 :                               {
   20634                 :           0 :                                 tree _o1[1], _r1;
   20635                 :           0 :                                 _o1[0] = captures[0];
   20636                 :           0 :                                 gimple_match_op tem_op (res_op->cond.any_else (), BIT_NOT_EXPR, TREE_TYPE (_o1[0]), _o1[0]);
   20637                 :           0 :                                 tem_op.resimplify (lseq, valueize);
   20638                 :           0 :                                 _r1 = maybe_push_res_to_seq (&tem_op, lseq);
   20639                 :           0 :                                 if (!_r1) goto next_after_fail2292;
   20640                 :           0 :                                 res_op->ops[0] = _r1;
   20641                 :             :                               }
   20642                 :           0 :                               {
   20643                 :           0 :                                 tree _o1[1], _r1;
   20644                 :           0 :                                 _o1[0] = captures[3];
   20645                 :           0 :                                 gimple_match_op tem_op (res_op->cond.any_else (), VIEW_CONVERT_EXPR, type, _o1[0]);
   20646                 :           0 :                                 tem_op.resimplify (lseq, valueize);
   20647                 :           0 :                                 _r1 = maybe_push_res_to_seq (&tem_op, lseq);
   20648                 :           0 :                                 if (!_r1) goto next_after_fail2292;
   20649                 :           0 :                                 res_op->ops[1] = _r1;
   20650                 :             :                               }
   20651                 :           0 :                               res_op->ops[2] = captures[1];
   20652                 :           0 :                               res_op->resimplify (lseq, valueize);
   20653                 :           0 :                               if (UNLIKELY (debug_dump)) gimple_dump_logs ("match.pd", 1123, __FILE__, __LINE__, true);
   20654                 :           0 :                               return true;
   20655                 :             :                             }
   20656                 :           2 : next_after_fail2292:;
   20657                 :             :                           }
   20658                 :             :                     }
   20659                 :             :                   }
   20660                 :           2 :                   break;
   20661                 :             :                 }
   20662                 :             :               default:;
   20663                 :             :               }
   20664                 :             :         }
   20665                 :             :       break;
   20666                 :      149446 :     default:;
   20667                 :             :     }
   20668                 :      149446 :   switch (TREE_CODE (_p1))
   20669                 :             :     {
   20670                 :       24171 :     case SSA_NAME:
   20671                 :       24171 :       if (gimple *_d1 = get_def (valueize, _p1))
   20672                 :             :         {
   20673                 :       21807 :           if (gassign *_a1 = dyn_cast <gassign *> (_d1))
   20674                 :       20403 :             switch (gimple_assign_rhs_code (_a1))
   20675                 :             :               {
   20676                 :        2043 :               case VIEW_CONVERT_EXPR:
   20677                 :        2043 :                 {
   20678                 :        2043 :                   tree _q30 = TREE_OPERAND (gimple_assign_rhs1 (_a1), 0);
   20679                 :        2043 :                   if ((TREE_CODE (_q30) == SSA_NAME
   20680                 :        2043 :                        || is_gimple_min_invariant (_q30)))
   20681                 :             :                     {
   20682                 :        2043 :                       _q30 = do_valueize (valueize, _q30);
   20683                 :        2043 :                       switch (TREE_CODE (_q30))
   20684                 :             :                         {
   20685                 :        2043 :                         case SSA_NAME:
   20686                 :        2043 :                           if (gimple *_d2 = get_def (valueize, _q30))
   20687                 :             :                             {
   20688                 :        2019 :                               if (gassign *_a2 = dyn_cast <gassign *> (_d2))
   20689                 :        1353 :                                 switch (gimple_assign_rhs_code (_a2))
   20690                 :             :                                   {
   20691                 :         348 :                                   case PLUS_EXPR:
   20692                 :         348 :                                     {
   20693                 :         348 :                                       tree _q40 = gimple_assign_rhs1 (_a2);
   20694                 :         348 :                                       _q40 = do_valueize (valueize, _q40);
   20695                 :         348 :                                       tree _q41 = gimple_assign_rhs2 (_a2);
   20696                 :         348 :                                       _q41 = do_valueize (valueize, _q41);
   20697                 :         348 :                                       if (tree_swap_operands_p (_q40, _q41))
   20698                 :          23 :                                         std::swap (_q40, _q41);
   20699                 :         348 :                                       {
   20700                 :         348 :                                         tree captures[5] ATTRIBUTE_UNUSED = { _p0, _q30, _q40, _q41, _p2 };
   20701                 :         348 :                                         {
   20702                 :         348 :  tree op_type = TREE_TYPE (captures[1]);
   20703                 :         348 :                                             if (vectorized_internal_fn_supported_p (as_internal_fn (CFN_COND_ADD), op_type)
   20704                 :          29 :  && is_truth_type_for (op_type, TREE_TYPE (captures[0]))
   20705                 :         377 :  && single_use (captures[1])
   20706                 :             : )
   20707                 :             :                                               {
   20708                 :          29 :                                                 gimple_seq *lseq = seq;
   20709                 :          29 :                                                 if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail2293;
   20710                 :          29 :                                                 {
   20711                 :          29 :                                                   res_op->set_op (VIEW_CONVERT_EXPR, type, 1);
   20712                 :          29 :                                                   {
   20713                 :          29 :                                                     tree _o1[4], _r1;
   20714                 :          29 :                                                     _o1[0] = captures[0];
   20715                 :          29 :                                                     _o1[1] = captures[2];
   20716                 :          29 :                                                     _o1[2] = captures[3];
   20717                 :          29 :                                                     {
   20718                 :          29 :                                                       tree _o2[1], _r2;
   20719                 :          29 :                                                       _o2[0] = captures[4];
   20720                 :          29 :                                                       gimple_match_op tem_op (res_op->cond.any_else (), VIEW_CONVERT_EXPR, op_type, _o2[0]);
   20721                 :          29 :                                                       tem_op.resimplify (lseq, valueize);
   20722                 :          29 :                                                       _r2 = maybe_push_res_to_seq (&tem_op, lseq);
   20723                 :          29 :                                                       if (!_r2) goto next_after_fail2293;
   20724                 :          11 :                                                       _o1[3] = _r2;
   20725                 :             :                                                     }
   20726                 :          11 :                                                     gimple_match_op tem_op (res_op->cond.any_else (), CFN_COND_ADD, TREE_TYPE (_o1[1]), _o1[0], _o1[1], _o1[2], _o1[3]);
   20727                 :          11 :                                                     tem_op.resimplify (lseq, valueize);
   20728                 :          11 :                                                     _r1 = maybe_push_res_to_seq (&tem_op, lseq);
   20729                 :          11 :                                                     if (!_r1) goto next_after_fail2293;
   20730                 :          10 :                                                     res_op->ops[0] = _r1;
   20731                 :             :                                                   }
   20732                 :          10 :                                                   res_op->resimplify (lseq, valueize);
   20733                 :          10 :                                                   if (UNLIKELY (debug_dump)) gimple_dump_logs ("match.pd", 1124, __FILE__, __LINE__, true);
   20734                 :          10 :                                                   return true;
   20735                 :             :                                                 }
   20736                 :         338 : next_after_fail2293:;
   20737                 :             :                                               }
   20738                 :             :                                         }
   20739                 :             :                                       }
   20740                 :         338 :                                       break;
   20741                 :             :                                     }
   20742                 :         130 :                                   case MINUS_EXPR:
   20743                 :         130 :                                     {
   20744                 :         130 :                                       tree _q40 = gimple_assign_rhs1 (_a2);
   20745                 :         130 :                                       _q40 = do_valueize (valueize, _q40);
   20746                 :         130 :                                       tree _q41 = gimple_assign_rhs2 (_a2);
   20747                 :         130 :                                       _q41 = do_valueize (valueize, _q41);
   20748                 :         130 :                                       {
   20749                 :         130 :                                         tree captures[5] ATTRIBUTE_UNUSED = { _p0, _q30, _q40, _q41, _p2 };
   20750                 :         130 :                                         {
   20751                 :         130 :  tree op_type = TREE_TYPE (captures[1]);
   20752                 :         130 :                                             if (vectorized_internal_fn_supported_p (as_internal_fn (CFN_COND_SUB), op_type)
   20753                 :          27 :  && is_truth_type_for (op_type, TREE_TYPE (captures[0]))
   20754                 :         157 :  && single_use (captures[1])
   20755                 :             : )
   20756                 :             :                                               {
   20757                 :          27 :                                                 gimple_seq *lseq = seq;
   20758                 :          27 :                                                 if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail2294;
   20759                 :          27 :                                                 {
   20760                 :          27 :                                                   res_op->set_op (VIEW_CONVERT_EXPR, type, 1);
   20761                 :          27 :                                                   {
   20762                 :          27 :                                                     tree _o1[4], _r1;
   20763                 :          27 :                                                     _o1[0] = captures[0];
   20764                 :          27 :                                                     _o1[1] = captures[2];
   20765                 :          27 :                                                     _o1[2] = captures[3];
   20766                 :          27 :                                                     {
   20767                 :          27 :                                                       tree _o2[1], _r2;
   20768                 :          27 :                                                       _o2[0] = captures[4];
   20769                 :          27 :                                                       gimple_match_op tem_op (res_op->cond.any_else (), VIEW_CONVERT_EXPR, op_type, _o2[0]);
   20770                 :          27 :                                                       tem_op.resimplify (lseq, valueize);
   20771                 :          27 :                                                       _r2 = maybe_push_res_to_seq (&tem_op, lseq);
   20772                 :          27 :                                                       if (!_r2) goto next_after_fail2294;
   20773                 :           9 :                                                       _o1[3] = _r2;
   20774                 :             :                                                     }
   20775                 :           9 :                                                     gimple_match_op tem_op (res_op->cond.any_else (), CFN_COND_SUB, TREE_TYPE (_o1[1]), _o1[0], _o1[1], _o1[2], _o1[3]);
   20776                 :           9 :                                                     tem_op.resimplify (lseq, valueize);
   20777                 :           9 :                                                     _r1 = maybe_push_res_to_seq (&tem_op, lseq);
   20778                 :           9 :                                                     if (!_r1) goto next_after_fail2294;
   20779                 :           9 :                                                     res_op->ops[0] = _r1;
   20780                 :             :                                                   }
   20781                 :           9 :                                                   res_op->resimplify (lseq, valueize);
   20782                 :           9 :                                                   if (UNLIKELY (debug_dump)) gimple_dump_logs ("match.pd", 1124, __FILE__, __LINE__, true);
   20783                 :           9 :                                                   return true;
   20784                 :             :                                                 }
   20785                 :         121 : next_after_fail2294:;
   20786                 :             :                                               }
   20787                 :             :                                         }
   20788                 :             :                                       }
   20789                 :         121 :                                       break;
   20790                 :             :                                     }
   20791                 :         171 :                                   case MULT_EXPR:
   20792                 :         171 :                                     {
   20793                 :         171 :                                       tree _q40 = gimple_assign_rhs1 (_a2);
   20794                 :         171 :                                       _q40 = do_valueize (valueize, _q40);
   20795                 :         171 :                                       tree _q41 = gimple_assign_rhs2 (_a2);
   20796                 :         171 :                                       _q41 = do_valueize (valueize, _q41);
   20797                 :         171 :                                       if (tree_swap_operands_p (_q40, _q41))
   20798                 :           9 :                                         std::swap (_q40, _q41);
   20799                 :         171 :                                       {
   20800                 :         171 :                                         tree captures[5] ATTRIBUTE_UNUSED = { _p0, _q30, _q40, _q41, _p2 };
   20801                 :         171 :                                         {
   20802                 :         171 :  tree op_type = TREE_TYPE (captures[1]);
   20803                 :         171 :                                             if (vectorized_internal_fn_supported_p (as_internal_fn (CFN_COND_MUL), op_type)
   20804                 :          27 :  && is_truth_type_for (op_type, TREE_TYPE (captures[0]))
   20805                 :         198 :  && single_use (captures[1])
   20806                 :             : )
   20807                 :             :                                               {
   20808                 :          27 :                                                 gimple_seq *lseq = seq;
   20809                 :          27 :                                                 if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail2295;
   20810                 :          27 :                                                 {
   20811                 :          27 :                                                   res_op->set_op (VIEW_CONVERT_EXPR, type, 1);
   20812                 :          27 :                                                   {
   20813                 :          27 :                                                     tree _o1[4], _r1;
   20814                 :          27 :                                                     _o1[0] = captures[0];
   20815                 :          27 :                                                     _o1[1] = captures[2];
   20816                 :          27 :                                                     _o1[2] = captures[3];
   20817                 :          27 :                                                     {
   20818                 :          27 :                                                       tree _o2[1], _r2;
   20819                 :          27 :                                                       _o2[0] = captures[4];
   20820                 :          27 :                                                       gimple_match_op tem_op (res_op->cond.any_else (), VIEW_CONVERT_EXPR, op_type, _o2[0]);
   20821                 :          27 :                                                       tem_op.resimplify (lseq, valueize);
   20822                 :          27 :                                                       _r2 = maybe_push_res_to_seq (&tem_op, lseq);
   20823                 :          27 :                                                       if (!_r2) goto next_after_fail2295;
   20824                 :           9 :                                                       _o1[3] = _r2;
   20825                 :             :                                                     }
   20826                 :           9 :                                                     gimple_match_op tem_op (res_op->cond.any_else (), CFN_COND_MUL, TREE_TYPE (_o1[1]), _o1[0], _o1[1], _o1[2], _o1[3]);
   20827                 :           9 :                                                     tem_op.resimplify (lseq, valueize);
   20828                 :           9 :                                                     _r1 = maybe_push_res_to_seq (&tem_op, lseq);
   20829                 :           9 :                                                     if (!_r1) goto next_after_fail2295;
   20830                 :           9 :                                                     res_op->ops[0] = _r1;
   20831                 :             :                                                   }
   20832                 :           9 :                                                   res_op->resimplify (lseq, valueize);
   20833                 :           9 :                                                   if (UNLIKELY (debug_dump)) gimple_dump_logs ("match.pd", 1124, __FILE__, __LINE__, true);
   20834                 :           9 :                                                   return true;
   20835                 :             :                                                 }
   20836                 :         162 : next_after_fail2295:;
   20837                 :             :                                               }
   20838                 :             :                                         }
   20839                 :             :                                       }
   20840                 :         162 :                                       break;
   20841                 :             :                                     }
   20842                 :           0 :                                   case TRUNC_DIV_EXPR:
   20843                 :           0 :                                     {
   20844                 :           0 :                                       tree _q40 = gimple_assign_rhs1 (_a2);
   20845                 :           0 :                                       _q40 = do_valueize (valueize, _q40);
   20846                 :           0 :                                       tree _q41 = gimple_assign_rhs2 (_a2);
   20847                 :           0 :                                       _q41 = do_valueize (valueize, _q41);
   20848                 :           0 :                                       {
   20849                 :           0 :                                         tree captures[5] ATTRIBUTE_UNUSED = { _p0, _q30, _q40, _q41, _p2 };
   20850                 :           0 :                                         {
   20851                 :           0 :  tree op_type = TREE_TYPE (captures[1]);
   20852                 :           0 :                                             if (vectorized_internal_fn_supported_p (as_internal_fn (CFN_COND_DIV), op_type)
   20853                 :           0 :  && is_truth_type_for (op_type, TREE_TYPE (captures[0]))
   20854                 :           0 :  && single_use (captures[1])
   20855                 :             : )
   20856                 :             :                                               {
   20857                 :           0 :                                                 gimple_seq *lseq = seq;
   20858                 :           0 :                                                 if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail2296;
   20859                 :           0 :                                                 {
   20860                 :           0 :                                                   res_op->set_op (VIEW_CONVERT_EXPR, type, 1);
   20861                 :           0 :                                                   {
   20862                 :           0 :                                                     tree _o1[4], _r1;
   20863                 :           0 :                                                     _o1[0] = captures[0];
   20864                 :           0 :                                                     _o1[1] = captures[2];
   20865                 :           0 :                                                     _o1[2] = captures[3];
   20866                 :           0 :                                                     {
   20867                 :           0 :                                                       tree _o2[1], _r2;
   20868                 :           0 :                                                       _o2[0] = captures[4];
   20869                 :           0 :                                                       gimple_match_op tem_op (res_op->cond.any_else (), VIEW_CONVERT_EXPR, op_type, _o2[0]);
   20870                 :           0 :                                                       tem_op.resimplify (lseq, valueize);
   20871                 :           0 :                                                       _r2 = maybe_push_res_to_seq (&tem_op, lseq);
   20872                 :           0 :                                                       if (!_r2) goto next_after_fail2296;
   20873                 :           0 :                                                       _o1[3] = _r2;
   20874                 :             :                                                     }
   20875                 :           0 :                                                     gimple_match_op tem_op (res_op->cond.any_else (), CFN_COND_DIV, TREE_TYPE (_o1[1]), _o1[0], _o1[1], _o1[2], _o1[3]);
   20876                 :           0 :                                                     tem_op.resimplify (lseq, valueize);
   20877                 :           0 :                                                     _r1 = maybe_push_res_to_seq (&tem_op, lseq);
   20878                 :           0 :                                                     if (!_r1) goto next_after_fail2296;
   20879                 :           0 :                                                     res_op->ops[0] = _r1;
   20880                 :             :                                                   }
   20881                 :           0 :                                                   res_op->resimplify (lseq, valueize);
   20882                 :           0 :                                                   if (UNLIKELY (debug_dump)) gimple_dump_logs ("match.pd", 1124, __FILE__, __LINE__, true);
   20883                 :           0 :                                                   return true;
   20884                 :             :                                                 }
   20885                 :           0 : next_after_fail2296:;
   20886                 :             :                                               }
   20887                 :             :                                         }
   20888                 :             :                                       }
   20889                 :           0 :                                       break;
   20890                 :             :                                     }
   20891                 :           0 :                                   case TRUNC_MOD_EXPR:
   20892                 :           0 :                                     {
   20893                 :           0 :                                       tree _q40 = gimple_assign_rhs1 (_a2);
   20894                 :           0 :                                       _q40 = do_valueize (valueize, _q40);
   20895                 :           0 :                                       tree _q41 = gimple_assign_rhs2 (_a2);
   20896                 :           0 :                                       _q41 = do_valueize (valueize, _q41);
   20897                 :           0 :                                       {
   20898                 :           0 :                                         tree captures[5] ATTRIBUTE_UNUSED = { _p0, _q30, _q40, _q41, _p2 };
   20899                 :           0 :                                         {
   20900                 :           0 :  tree op_type = TREE_TYPE (captures[1]);
   20901                 :           0 :                                             if (vectorized_internal_fn_supported_p (as_internal_fn (CFN_COND_MOD), op_type)
   20902                 :           0 :  && is_truth_type_for (op_type, TREE_TYPE (captures[0]))
   20903                 :           0 :  && single_use (captures[1])
   20904                 :             : )
   20905                 :             :                                               {
   20906                 :           0 :                                                 gimple_seq *lseq = seq;
   20907                 :           0 :                                                 if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail2297;
   20908                 :           0 :                                                 {
   20909                 :           0 :                                                   res_op->set_op (VIEW_CONVERT_EXPR, type, 1);
   20910                 :           0 :                                                   {
   20911                 :           0 :                                                     tree _o1[4], _r1;
   20912                 :           0 :                                                     _o1[0] = captures[0];
   20913                 :           0 :                                                     _o1[1] = captures[2];
   20914                 :           0 :                                                     _o1[2] = captures[3];
   20915                 :           0 :                                                     {
   20916                 :           0 :                                                       tree _o2[1], _r2;
   20917                 :           0 :                                                       _o2[0] = captures[4];
   20918                 :           0 :                                                       gimple_match_op tem_op (res_op->cond.any_else (), VIEW_CONVERT_EXPR, op_type, _o2[0]);
   20919                 :           0 :                                                       tem_op.resimplify (lseq, valueize);
   20920                 :           0 :                                                       _r2 = maybe_push_res_to_seq (&tem_op, lseq);
   20921                 :           0 :                                                       if (!_r2) goto next_after_fail2297;
   20922                 :           0 :                                                       _o1[3] = _r2;
   20923                 :             :                                                     }
   20924                 :           0 :                                                     gimple_match_op tem_op (res_op->cond.any_else (), CFN_COND_MOD, TREE_TYPE (_o1[1]), _o1[0], _o1[1], _o1[2], _o1[3]);
   20925                 :           0 :                                                     tem_op.resimplify (lseq, valueize);
   20926                 :           0 :                                                     _r1 = maybe_push_res_to_seq (&tem_op, lseq);
   20927                 :           0 :                                                     if (!_r1) goto next_after_fail2297;
   20928                 :           0 :                                                     res_op->ops[0] = _r1;
   20929                 :             :                                                   }
   20930                 :           0 :                                                   res_op->resimplify (lseq, valueize);
   20931                 :           0 :                                                   if (UNLIKELY (debug_dump)) gimple_dump_logs ("match.pd", 1124, __FILE__, __LINE__, true);
   20932                 :           0 :                                                   return true;
   20933                 :             :                                                 }
   20934                 :           0 : next_after_fail2297:;
   20935                 :             :                                               }
   20936                 :             :                                         }
   20937                 :             :                                       }
   20938                 :           0 :                                       break;
   20939                 :             :                                     }
   20940                 :           0 :                                   case RDIV_EXPR:
   20941                 :           0 :                                     {
   20942                 :           0 :                                       tree _q40 = gimple_assign_rhs1 (_a2);
   20943                 :           0 :                                       _q40 = do_valueize (valueize, _q40);
   20944                 :           0 :                                       tree _q41 = gimple_assign_rhs2 (_a2);
   20945                 :           0 :                                       _q41 = do_valueize (valueize, _q41);
   20946                 :           0 :                                       {
   20947                 :           0 :                                         tree captures[5] ATTRIBUTE_UNUSED = { _p0, _q30, _q40, _q41, _p2 };
   20948                 :           0 :                                         {
   20949                 :           0 :  tree op_type = TREE_TYPE (captures[1]);
   20950                 :           0 :                                             if (vectorized_internal_fn_supported_p (as_internal_fn (CFN_COND_RDIV), op_type)
   20951                 :           0 :  && is_truth_type_for (op_type, TREE_TYPE (captures[0]))
   20952                 :           0 :  && single_use (captures[1])
   20953                 :             : )
   20954                 :             :                                               {
   20955                 :           0 :                                                 gimple_seq *lseq = seq;
   20956                 :           0 :                                                 if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail2298;
   20957                 :           0 :                                                 {
   20958                 :           0 :                                                   res_op->set_op (VIEW_CONVERT_EXPR, type, 1);
   20959                 :           0 :                                                   {
   20960                 :           0 :                                                     tree _o1[4], _r1;
   20961                 :           0 :                                                     _o1[0] = captures[0];
   20962                 :           0 :                                                     _o1[1] = captures[2];
   20963                 :           0 :                                                     _o1[2] = captures[3];
   20964                 :           0 :                                                     {
   20965                 :           0 :                                                       tree _o2[1], _r2;
   20966                 :           0 :                                                       _o2[0] = captures[4];
   20967                 :           0 :                                                       gimple_match_op tem_op (res_op->cond.any_else (), VIEW_CONVERT_EXPR, op_type, _o2[0]);
   20968                 :           0 :                                                       tem_op.resimplify (lseq, valueize);
   20969                 :           0 :                                                       _r2 = maybe_push_res_to_seq (&tem_op, lseq);
   20970                 :           0 :                                                       if (!_r2) goto next_after_fail2298;
   20971                 :           0 :                                                       _o1[3] = _r2;
   20972                 :             :                                                     }
   20973                 :           0 :                                                     gimple_match_op tem_op (res_op->cond.any_else (), CFN_COND_RDIV, TREE_TYPE (_o1[1]), _o1[0], _o1[1], _o1[2], _o1[3]);
   20974                 :           0 :                                                     tem_op.resimplify (lseq, valueize);
   20975                 :           0 :                                                     _r1 = maybe_push_res_to_seq (&tem_op, lseq);
   20976                 :           0 :                                                     if (!_r1) goto next_after_fail2298;
   20977                 :           0 :                                                     res_op->ops[0] = _r1;
   20978                 :             :                                                   }
   20979                 :           0 :                                                   res_op->resimplify (lseq, valueize);
   20980                 :           0 :                                                   if (UNLIKELY (debug_dump)) gimple_dump_logs ("match.pd", 1124, __FILE__, __LINE__, true);
   20981                 :           0 :                                                   return true;
   20982                 :             :                                                 }
   20983                 :           0 : next_after_fail2298:;
   20984                 :             :                                               }
   20985                 :             :                                         }
   20986                 :             :                                       }
   20987                 :           0 :                                       break;
   20988                 :             :                                     }
   20989                 :           0 :                                   case MIN_EXPR:
   20990                 :           0 :                                     {
   20991                 :           0 :                                       tree _q40 = gimple_assign_rhs1 (_a2);
   20992                 :           0 :                                       _q40 = do_valueize (valueize, _q40);
   20993                 :           0 :                                       tree _q41 = gimple_assign_rhs2 (_a2);
   20994                 :           0 :                                       _q41 = do_valueize (valueize, _q41);
   20995                 :           0 :                                       if (tree_swap_operands_p (_q40, _q41))
   20996                 :           0 :                                         std::swap (_q40, _q41);
   20997                 :           0 :                                       {
   20998                 :           0 :                                         tree captures[5] ATTRIBUTE_UNUSED = { _p0, _q30, _q40, _q41, _p2 };
   20999                 :           0 :                                         {
   21000                 :           0 :  tree op_type = TREE_TYPE (captures[1]);
   21001                 :           0 :                                             if (vectorized_internal_fn_supported_p (as_internal_fn (CFN_COND_MIN), op_type)
   21002                 :           0 :  && is_truth_type_for (op_type, TREE_TYPE (captures[0]))
   21003                 :           0 :  && single_use (captures[1])
   21004                 :             : )
   21005                 :             :                                               {
   21006                 :           0 :                                                 gimple_seq *lseq = seq;
   21007                 :           0 :                                                 if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail2299;
   21008                 :           0 :                                                 {
   21009                 :           0 :                                                   res_op->set_op (VIEW_CONVERT_EXPR, type, 1);
   21010                 :           0 :                                                   {
   21011                 :           0 :                                                     tree _o1[4], _r1;
   21012                 :           0 :                                                     _o1[0] = captures[0];
   21013                 :           0 :                                                     _o1[1] = captures[2];
   21014                 :           0 :                                                     _o1[2] = captures[3];
   21015                 :           0 :                                                     {
   21016                 :           0 :                                                       tree _o2[1], _r2;
   21017                 :           0 :                                                       _o2[0] = captures[4];
   21018                 :           0 :                                                       gimple_match_op tem_op (res_op->cond.any_else (), VIEW_CONVERT_EXPR, op_type, _o2[0]);
   21019                 :           0 :                                                       tem_op.resimplify (lseq, valueize);
   21020                 :           0 :                                                       _r2 = maybe_push_res_to_seq (&tem_op, lseq);
   21021                 :           0 :                                                       if (!_r2) goto next_after_fail2299;
   21022                 :           0 :                                                       _o1[3] = _r2;
   21023                 :             :                                                     }
   21024                 :           0 :                                                     gimple_match_op tem_op (res_op->cond.any_else (), CFN_COND_MIN, TREE_TYPE (_o1[1]), _o1[0], _o1[1], _o1[2], _o1[3]);
   21025                 :           0 :                                                     tem_op.resimplify (lseq, valueize);
   21026                 :           0 :                                                     _r1 = maybe_push_res_to_seq (&tem_op, lseq);
   21027                 :           0 :                                                     if (!_r1) goto next_after_fail2299;
   21028                 :           0 :                                                     res_op->ops[0] = _r1;
   21029                 :             :                                                   }
   21030                 :           0 :                                                   res_op->resimplify (lseq, valueize);
   21031                 :           0 :                                                   if (UNLIKELY (debug_dump)) gimple_dump_logs ("match.pd", 1124, __FILE__, __LINE__, true);
   21032                 :           0 :                                                   return true;
   21033                 :             :                                                 }
   21034                 :           0 : next_after_fail2299:;
   21035                 :             :                                               }
   21036                 :             :                                         }
   21037                 :             :                                       }
   21038                 :           0 :                                       break;
   21039                 :             :                                     }
   21040                 :           0 :                                   case MAX_EXPR:
   21041                 :           0 :                                     {
   21042                 :           0 :                                       tree _q40 = gimple_assign_rhs1 (_a2);
   21043                 :           0 :                                       _q40 = do_valueize (valueize, _q40);
   21044                 :           0 :                                       tree _q41 = gimple_assign_rhs2 (_a2);
   21045                 :           0 :                                       _q41 = do_valueize (valueize, _q41);
   21046                 :           0 :                                       if (tree_swap_operands_p (_q40, _q41))
   21047                 :           0 :                                         std::swap (_q40, _q41);
   21048                 :           0 :                                       {
   21049                 :           0 :                                         tree captures[5] ATTRIBUTE_UNUSED = { _p0, _q30, _q40, _q41, _p2 };
   21050                 :           0 :                                         {
   21051                 :           0 :  tree op_type = TREE_TYPE (captures[1]);
   21052                 :           0 :                                             if (vectorized_internal_fn_supported_p (as_internal_fn (CFN_COND_MAX), op_type)
   21053                 :           0 :  && is_truth_type_for (op_type, TREE_TYPE (captures[0]))
   21054                 :           0 :  && single_use (captures[1])
   21055                 :             : )
   21056                 :             :                                               {
   21057                 :           0 :                                                 gimple_seq *lseq = seq;
   21058                 :           0 :                                                 if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail2300;
   21059                 :           0 :                                                 {
   21060                 :           0 :                                                   res_op->set_op (VIEW_CONVERT_EXPR, type, 1);
   21061                 :           0 :                                                   {
   21062                 :           0 :                                                     tree _o1[4], _r1;
   21063                 :           0 :                                                     _o1[0] = captures[0];
   21064                 :           0 :                                                     _o1[1] = captures[2];
   21065                 :           0 :                                                     _o1[2] = captures[3];
   21066                 :           0 :                                                     {
   21067                 :           0 :                                                       tree _o2[1], _r2;
   21068                 :           0 :                                                       _o2[0] = captures[4];
   21069                 :           0 :                                                       gimple_match_op tem_op (res_op->cond.any_else (), VIEW_CONVERT_EXPR, op_type, _o2[0]);
   21070                 :           0 :                                                       tem_op.resimplify (lseq, valueize);
   21071                 :           0 :                                                       _r2 = maybe_push_res_to_seq (&tem_op, lseq);
   21072                 :           0 :                                                       if (!_r2) goto next_after_fail2300;
   21073                 :           0 :                                                       _o1[3] = _r2;
   21074                 :             :                                                     }
   21075                 :           0 :                                                     gimple_match_op tem_op (res_op->cond.any_else (), CFN_COND_MAX, TREE_TYPE (_o1[1]), _o1[0], _o1[1], _o1[2], _o1[3]);
   21076                 :           0 :                                                     tem_op.resimplify (lseq, valueize);
   21077                 :           0 :                                                     _r1 = maybe_push_res_to_seq (&tem_op, lseq);
   21078                 :           0 :                                                     if (!_r1) goto next_after_fail2300;
   21079                 :           0 :                                                     res_op->ops[0] = _r1;
   21080                 :             :                                                   }
   21081                 :           0 :                                                   res_op->resimplify (lseq, valueize);
   21082                 :           0 :                                                   if (UNLIKELY (debug_dump)) gimple_dump_logs ("match.pd", 1124, __FILE__, __LINE__, true);
   21083                 :           0 :                                                   return true;
   21084                 :             :                                                 }
   21085                 :           0 : next_after_fail2300:;
   21086                 :             :                                               }
   21087                 :             :                                         }
   21088                 :             :                                       }
   21089                 :           0 :                                       break;
   21090                 :             :                                     }
   21091                 :           5 :                                   case BIT_AND_EXPR:
   21092                 :           5 :                                     {
   21093                 :           5 :                                       tree _q40 = gimple_assign_rhs1 (_a2);
   21094                 :           5 :                                       _q40 = do_valueize (valueize, _q40);
   21095                 :           5 :                                       tree _q41 = gimple_assign_rhs2 (_a2);
   21096                 :           5 :                                       _q41 = do_valueize (valueize, _q41);
   21097                 :           5 :                                       if (tree_swap_operands_p (_q40, _q41))
   21098                 :           0 :                                         std::swap (_q40, _q41);
   21099                 :           5 :                                       {
   21100                 :           5 :                                         tree captures[5] ATTRIBUTE_UNUSED = { _p0, _q30, _q40, _q41, _p2 };
   21101                 :           5 :                                         {
   21102                 :           5 :  tree op_type = TREE_TYPE (captures[1]);
   21103                 :           5 :                                             if (vectorized_internal_fn_supported_p (as_internal_fn (CFN_COND_AND), op_type)
   21104                 :           1 :  && is_truth_type_for (op_type, TREE_TYPE (captures[0]))
   21105                 :           6 :  && single_use (captures[1])
   21106                 :             : )
   21107                 :             :                                               {
   21108                 :           1 :                                                 gimple_seq *lseq = seq;
   21109                 :           1 :                                                 if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail2301;
   21110                 :           1 :                                                 {
   21111                 :           1 :                                                   res_op->set_op (VIEW_CONVERT_EXPR, type, 1);
   21112                 :           1 :                                                   {
   21113                 :           1 :                                                     tree _o1[4], _r1;
   21114                 :           1 :                                                     _o1[0] = captures[0];
   21115                 :           1 :                                                     _o1[1] = captures[2];
   21116                 :           1 :                                                     _o1[2] = captures[3];
   21117                 :           1 :                                                     {
   21118                 :           1 :                                                       tree _o2[1], _r2;
   21119                 :           1 :                                                       _o2[0] = captures[4];
   21120                 :           1 :                                                       gimple_match_op tem_op (res_op->cond.any_else (), VIEW_CONVERT_EXPR, op_type, _o2[0]);
   21121                 :           1 :                                                       tem_op.resimplify (lseq, valueize);
   21122                 :           1 :                                                       _r2 = maybe_push_res_to_seq (&tem_op, lseq);
   21123                 :           1 :                                                       if (!_r2) goto next_after_fail2301;
   21124                 :           1 :                                                       _o1[3] = _r2;
   21125                 :             :                                                     }
   21126                 :           1 :                                                     gimple_match_op tem_op (res_op->cond.any_else (), CFN_COND_AND, TREE_TYPE (_o1[1]), _o1[0], _o1[1], _o1[2], _o1[3]);
   21127                 :           1 :                                                     tem_op.resimplify (lseq, valueize);
   21128                 :           1 :                                                     _r1 = maybe_push_res_to_seq (&tem_op, lseq);
   21129                 :           1 :                                                     if (!_r1) goto next_after_fail2301;
   21130                 :           1 :                                                     res_op->ops[0] = _r1;
   21131                 :             :                                                   }
   21132                 :           1 :                                                   res_op->resimplify (lseq, valueize);
   21133                 :           1 :                                                   if (UNLIKELY (debug_dump)) gimple_dump_logs ("match.pd", 1124, __FILE__, __LINE__, true);
   21134                 :           1 :                                                   return true;
   21135                 :             :                                                 }
   21136                 :           4 : next_after_fail2301:;
   21137                 :             :                                               }
   21138                 :             :                                         }
   21139                 :             :                                       }
   21140                 :           4 :                                       break;
   21141                 :             :                                     }
   21142                 :          93 :                                   case BIT_IOR_EXPR:
   21143                 :          93 :                                     {
   21144                 :          93 :                                       tree _q40 = gimple_assign_rhs1 (_a2);
   21145                 :          93 :                                       _q40 = do_valueize (valueize, _q40);
   21146                 :          93 :                                       tree _q41 = gimple_assign_rhs2 (_a2);
   21147                 :          93 :                                       _q41 = do_valueize (valueize, _q41);
   21148                 :          93 :                                       if (tree_swap_operands_p (_q40, _q41))
   21149                 :           0 :                                         std::swap (_q40, _q41);
   21150                 :          93 :                                       {
   21151                 :          93 :                                         tree captures[5] ATTRIBUTE_UNUSED = { _p0, _q30, _q40, _q41, _p2 };
   21152                 :          93 :                                         {
   21153                 :          93 :  tree op_type = TREE_TYPE (captures[1]);
   21154                 :          93 :                                             if (vectorized_internal_fn_supported_p (as_internal_fn (CFN_COND_IOR), op_type)
   21155                 :          39 :  && is_truth_type_for (op_type, TREE_TYPE (captures[0]))
   21156                 :         132 :  && single_use (captures[1])
   21157                 :             : )
   21158                 :             :                                               {
   21159                 :          39 :                                                 gimple_seq *lseq = seq;
   21160                 :          39 :                                                 if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail2302;
   21161                 :          39 :                                                 {
   21162                 :          39 :                                                   res_op->set_op (VIEW_CONVERT_EXPR, type, 1);
   21163                 :          39 :                                                   {
   21164                 :          39 :                                                     tree _o1[4], _r1;
   21165                 :          39 :                                                     _o1[0] = captures[0];
   21166                 :          39 :                                                     _o1[1] = captures[2];
   21167                 :          39 :                                                     _o1[2] = captures[3];
   21168                 :          39 :                                                     {
   21169                 :          39 :                                                       tree _o2[1], _r2;
   21170                 :          39 :                                                       _o2[0] = captures[4];
   21171                 :          39 :                                                       gimple_match_op tem_op (res_op->cond.any_else (), VIEW_CONVERT_EXPR, op_type, _o2[0]);
   21172                 :          39 :                                                       tem_op.resimplify (lseq, valueize);
   21173                 :          39 :                                                       _r2 = maybe_push_res_to_seq (&tem_op, lseq);
   21174                 :          39 :                                                       if (!_r2) goto next_after_fail2302;
   21175                 :          39 :                                                       _o1[3] = _r2;
   21176                 :             :                                                     }
   21177                 :          39 :                                                     gimple_match_op tem_op (res_op->cond.any_else (), CFN_COND_IOR, TREE_TYPE (_o1[1]), _o1[0], _o1[1], _o1[2], _o1[3]);
   21178                 :          39 :                                                     tem_op.resimplify (lseq, valueize);
   21179                 :          39 :                                                     _r1 = maybe_push_res_to_seq (&tem_op, lseq);
   21180                 :          39 :                                                     if (!_r1) goto next_after_fail2302;
   21181                 :          13 :                                                     res_op->ops[0] = _r1;
   21182                 :             :                                                   }
   21183                 :          13 :                                                   res_op->resimplify (lseq, valueize);
   21184                 :          13 :                                                   if (UNLIKELY (debug_dump)) gimple_dump_logs ("match.pd", 1124, __FILE__, __LINE__, true);
   21185                 :          13 :                                                   return true;
   21186                 :             :                                                 }
   21187                 :          80 : next_after_fail2302:;
   21188                 :             :                                               }
   21189                 :             :                                         }
   21190                 :             :                                       }
   21191                 :          80 :                                       break;
   21192                 :             :                                     }
   21193                 :         120 :                                   case BIT_XOR_EXPR:
   21194                 :         120 :                                     {
   21195                 :         120 :                                       tree _q40 = gimple_assign_rhs1 (_a2);
   21196                 :         120 :                                       _q40 = do_valueize (valueize, _q40);
   21197                 :         120 :                                       tree _q41 = gimple_assign_rhs2 (_a2);
   21198                 :         120 :                                       _q41 = do_valueize (valueize, _q41);
   21199                 :         120 :                                       if (tree_swap_operands_p (_q40, _q41))
   21200                 :           0 :                                         std::swap (_q40, _q41);
   21201                 :         120 :                                       {
   21202                 :         120 :                                         tree captures[5] ATTRIBUTE_UNUSED = { _p0, _q30, _q40, _q41, _p2 };
   21203                 :         120 :                                         {
   21204                 :         120 :  tree op_type = TREE_TYPE (captures[1]);
   21205                 :         120 :                                             if (vectorized_internal_fn_supported_p (as_internal_fn (CFN_COND_XOR), op_type)
   21206                 :           1 :  && is_truth_type_for (op_type, TREE_TYPE (captures[0]))
   21207                 :         121 :  && single_use (captures[1])
   21208                 :             : )
   21209                 :             :                                               {
   21210                 :           1 :                                                 gimple_seq *lseq = seq;
   21211                 :           1 :                                                 if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail2303;
   21212                 :           1 :                                                 {
   21213                 :           1 :                                                   res_op->set_op (VIEW_CONVERT_EXPR, type, 1);
   21214                 :           1 :                                                   {
   21215                 :           1 :                                                     tree _o1[4], _r1;
   21216                 :           1 :                                                     _o1[0] = captures[0];
   21217                 :           1 :                                                     _o1[1] = captures[2];
   21218                 :           1 :                                                     _o1[2] = captures[3];
   21219                 :           1 :                                                     {
   21220                 :           1 :                                                       tree _o2[1], _r2;
   21221                 :           1 :                                                       _o2[0] = captures[4];
   21222                 :           1 :                                                       gimple_match_op tem_op (res_op->cond.any_else (), VIEW_CONVERT_EXPR, op_type, _o2[0]);
   21223                 :           1 :                                                       tem_op.resimplify (lseq, valueize);
   21224                 :           1 :                                                       _r2 = maybe_push_res_to_seq (&tem_op, lseq);
   21225                 :           1 :                                                       if (!_r2) goto next_after_fail2303;
   21226                 :           1 :                                                       _o1[3] = _r2;
   21227                 :             :                                                     }
   21228                 :           1 :                                                     gimple_match_op tem_op (res_op->cond.any_else (), CFN_COND_XOR, TREE_TYPE (_o1[1]), _o1[0], _o1[1], _o1[2], _o1[3]);
   21229                 :           1 :                                                     tem_op.resimplify (lseq, valueize);
   21230                 :           1 :                                                     _r1 = maybe_push_res_to_seq (&tem_op, lseq);
   21231                 :           1 :                                                     if (!_r1) goto next_after_fail2303;
   21232                 :           1 :                                                     res_op->ops[0] = _r1;
   21233                 :             :                                                   }
   21234                 :           1 :                                                   res_op->resimplify (lseq, valueize);
   21235                 :           1 :                                                   if (UNLIKELY (debug_dump)) gimple_dump_logs ("match.pd", 1124, __FILE__, __LINE__, true);
   21236                 :           1 :                                                   return true;
   21237                 :             :                                                 }
   21238                 :         119 : next_after_fail2303:;
   21239                 :             :                                               }
   21240                 :             :                                         }
   21241                 :             :                                       }
   21242                 :         119 :                                       break;
   21243                 :             :                                     }
   21244                 :           6 :                                   case LSHIFT_EXPR:
   21245                 :           6 :                                     {
   21246                 :           6 :                                       tree _q40 = gimple_assign_rhs1 (_a2);
   21247                 :           6 :                                       _q40 = do_valueize (valueize, _q40);
   21248                 :           6 :                                       tree _q41 = gimple_assign_rhs2 (_a2);
   21249                 :           6 :                                       _q41 = do_valueize (valueize, _q41);
   21250                 :           6 :                                       {
   21251                 :           6 :                                         tree captures[5] ATTRIBUTE_UNUSED = { _p0, _q30, _q40, _q41, _p2 };
   21252                 :           6 :                                         {
   21253                 :           6 :  tree op_type = TREE_TYPE (captures[1]);
   21254                 :           6 :                                             if (vectorized_internal_fn_supported_p (as_internal_fn (CFN_COND_SHL), op_type)
   21255                 :           0 :  && is_truth_type_for (op_type, TREE_TYPE (captures[0]))
   21256                 :           6 :  && single_use (captures[1])
   21257                 :             : )
   21258                 :             :                                               {
   21259                 :           0 :                                                 gimple_seq *lseq = seq;
   21260                 :           0 :                                                 if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail2304;
   21261                 :           0 :                                                 {
   21262                 :           0 :                                                   res_op->set_op (VIEW_CONVERT_EXPR, type, 1);
   21263                 :           0 :                                                   {
   21264                 :           0 :                                                     tree _o1[4], _r1;
   21265                 :           0 :                                                     _o1[0] = captures[0];
   21266                 :           0 :                                                     _o1[1] = captures[2];
   21267                 :           0 :                                                     _o1[2] = captures[3];
   21268                 :           0 :                                                     {
   21269                 :           0 :                                                       tree _o2[1], _r2;
   21270                 :           0 :                                                       _o2[0] = captures[4];
   21271                 :           0 :                                                       gimple_match_op tem_op (res_op->cond.any_else (), VIEW_CONVERT_EXPR, op_type, _o2[0]);
   21272                 :           0 :                                                       tem_op.resimplify (lseq, valueize);
   21273                 :           0 :                                                       _r2 = maybe_push_res_to_seq (&tem_op, lseq);
   21274                 :           0 :                                                       if (!_r2) goto next_after_fail2304;
   21275                 :           0 :                                                       _o1[3] = _r2;
   21276                 :             :                                                     }
   21277                 :           0 :                                                     gimple_match_op tem_op (res_op->cond.any_else (), CFN_COND_SHL, TREE_TYPE (_o1[1]), _o1[0], _o1[1], _o1[2], _o1[3]);
   21278                 :           0 :                                                     tem_op.resimplify (lseq, valueize);
   21279                 :           0 :                                                     _r1 = maybe_push_res_to_seq (&tem_op, lseq);
   21280                 :           0 :                                                     if (!_r1) goto next_after_fail2304;
   21281                 :           0 :                                                     res_op->ops[0] = _r1;
   21282                 :             :                                                   }
   21283                 :           0 :                                                   res_op->resimplify (lseq, valueize);
   21284                 :           0 :                                                   if (UNLIKELY (debug_dump)) gimple_dump_logs ("match.pd", 1124, __FILE__, __LINE__, true);
   21285                 :           0 :                                                   return true;
   21286                 :             :                                                 }
   21287                 :           6 : next_after_fail2304:;
   21288                 :             :                                               }
   21289                 :             :                                         }
   21290                 :             :                                       }
   21291                 :           6 :                                       break;
   21292                 :             :                                     }
   21293                 :           0 :                                   case RSHIFT_EXPR:
   21294                 :           0 :                                     {
   21295                 :           0 :                                       tree _q40 = gimple_assign_rhs1 (_a2);
   21296                 :           0 :                                       _q40 = do_valueize (valueize, _q40);
   21297                 :           0 :                                       tree _q41 = gimple_assign_rhs2 (_a2);
   21298                 :           0 :                                       _q41 = do_valueize (valueize, _q41);
   21299                 :           0 :                                       {
   21300                 :           0 :                                         tree captures[5] ATTRIBUTE_UNUSED = { _p0, _q30, _q40, _q41, _p2 };
   21301                 :           0 :                                         {
   21302                 :           0 :  tree op_type = TREE_TYPE (captures[1]);
   21303                 :           0 :                                             if (vectorized_internal_fn_supported_p (as_internal_fn (CFN_COND_SHR), op_type)
   21304                 :           0 :  && is_truth_type_for (op_type, TREE_TYPE (captures[0]))
   21305                 :           0 :  && single_use (captures[1])
   21306                 :             : )
   21307                 :             :                                               {
   21308                 :           0 :                                                 gimple_seq *lseq = seq;
   21309                 :           0 :                                                 if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail2305;
   21310                 :           0 :                                                 {
   21311                 :           0 :                                                   res_op->set_op (VIEW_CONVERT_EXPR, type, 1);
   21312                 :           0 :                                                   {
   21313                 :           0 :                                                     tree _o1[4], _r1;
   21314                 :           0 :                                                     _o1[0] = captures[0];
   21315                 :           0 :                                                     _o1[1] = captures[2];
   21316                 :           0 :                                                     _o1[2] = captures[3];
   21317                 :           0 :                                                     {
   21318                 :           0 :                                                       tree _o2[1], _r2;
   21319                 :           0 :                                                       _o2[0] = captures[4];
   21320                 :           0 :                                                       gimple_match_op tem_op (res_op->cond.any_else (), VIEW_CONVERT_EXPR, op_type, _o2[0]);
   21321                 :           0 :                                                       tem_op.resimplify (lseq, valueize);
   21322                 :           0 :                                                       _r2 = maybe_push_res_to_seq (&tem_op, lseq);
   21323                 :           0 :                                                       if (!_r2) goto next_after_fail2305;
   21324                 :           0 :                                                       _o1[3] = _r2;
   21325                 :             :                                                     }
   21326                 :           0 :                                                     gimple_match_op tem_op (res_op->cond.any_else (), CFN_COND_SHR, TREE_TYPE (_o1[1]), _o1[0], _o1[1], _o1[2], _o1[3]);
   21327                 :           0 :                                                     tem_op.resimplify (lseq, valueize);
   21328                 :           0 :                                                     _r1 = maybe_push_res_to_seq (&tem_op, lseq);
   21329                 :           0 :                                                     if (!_r1) goto next_after_fail2305;
   21330                 :           0 :                                                     res_op->ops[0] = _r1;
   21331                 :             :                                                   }
   21332                 :           0 :                                                   res_op->resimplify (lseq, valueize);
   21333                 :           0 :                                                   if (UNLIKELY (debug_dump)) gimple_dump_logs ("match.pd", 1124, __FILE__, __LINE__, true);
   21334                 :           0 :                                                   return true;
   21335                 :             :                                                 }
   21336                 :           0 : next_after_fail2305:;
   21337                 :             :                                               }
   21338                 :             :                                         }
   21339                 :             :                                       }
   21340                 :           0 :                                       break;
   21341                 :             :                                     }
   21342                 :             :                                   default:;
   21343                 :             :                                   }
   21344                 :         828 :                               else if (gcall *_c2 = dyn_cast <gcall *> (_d2))
   21345                 :           0 :                                 switch (gimple_call_combined_fn (_c2))
   21346                 :             :                                   {
   21347                 :           0 :                                   case CFN_FMAX:
   21348                 :           0 :                                     if (gimple_call_num_args (_c2) == 2)
   21349                 :             :                                       {
   21350                 :           0 :                                         tree _q40 = gimple_call_arg (_c2, 0);
   21351                 :           0 :                                         _q40 = do_valueize (valueize, _q40);
   21352                 :           0 :                                         tree _q41 = gimple_call_arg (_c2, 1);
   21353                 :           0 :                                         _q41 = do_valueize (valueize, _q41);
   21354                 :           0 :                                         {
   21355                 :           0 :                                           tree captures[5] ATTRIBUTE_UNUSED = { _p0, _q30, _q40, _q41, _p2 };
   21356                 :           0 :                                           {
   21357                 :           0 :  tree op_type = TREE_TYPE (captures[1]);
   21358                 :           0 :                                               if (vectorized_internal_fn_supported_p (as_internal_fn (CFN_COND_FMAX), op_type)
   21359                 :           0 :  && is_truth_type_for (op_type, TREE_TYPE (captures[0]))
   21360                 :           0 :  && single_use (captures[1])
   21361                 :             : )
   21362                 :             :                                                 {
   21363                 :           0 :                                                   gimple_seq *lseq = seq;
   21364                 :           0 :                                                   if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail2306;
   21365                 :           0 :                                                   {
   21366                 :           0 :                                                     res_op->set_op (VIEW_CONVERT_EXPR, type, 1);
   21367                 :           0 :                                                     {
   21368                 :           0 :                                                       tree _o1[4], _r1;
   21369                 :           0 :                                                       _o1[0] = captures[0];
   21370                 :           0 :                                                       _o1[1] = captures[2];
   21371                 :           0 :                                                       _o1[2] = captures[3];
   21372                 :           0 :                                                       {
   21373                 :           0 :                                                         tree _o2[1], _r2;
   21374                 :           0 :                                                         _o2[0] = captures[4];
   21375                 :           0 :                                                         gimple_match_op tem_op (res_op->cond.any_else (), VIEW_CONVERT_EXPR, op_type, _o2[0]);
   21376                 :           0 :                                                         tem_op.resimplify (lseq, valueize);
   21377                 :           0 :                                                         _r2 = maybe_push_res_to_seq (&tem_op, lseq);
   21378                 :           0 :                                                         if (!_r2) goto next_after_fail2306;
   21379                 :           0 :                                                         _o1[3] = _r2;
   21380                 :             :                                                       }
   21381                 :           0 :                                                       gimple_match_op tem_op (res_op->cond.any_else (), CFN_COND_FMAX, TREE_TYPE (_o1[1]), _o1[0], _o1[1], _o1[2], _o1[3]);
   21382                 :           0 :                                                       tem_op.resimplify (lseq, valueize);
   21383                 :           0 :                                                       _r1 = maybe_push_res_to_seq (&tem_op, lseq);
   21384                 :           0 :                                                       if (!_r1) goto next_after_fail2306;
   21385                 :           0 :                                                       res_op->ops[0] = _r1;
   21386                 :             :                                                     }
   21387                 :           0 :                                                     res_op->resimplify (lseq, valueize);
   21388                 :           0 :                                                     if (UNLIKELY (debug_dump)) gimple_dump_logs ("match.pd", 1124, __FILE__, __LINE__, true);
   21389                 :           0 :                                                     return true;
   21390                 :             :                                                   }
   21391                 :           0 : next_after_fail2306:;
   21392                 :             :                                                 }
   21393                 :             :                                           }
   21394                 :             :                                         }
   21395                 :             :                                       }
   21396                 :             :                                     break;
   21397                 :           0 :                                   case CFN_FMIN:
   21398                 :           0 :                                     if (gimple_call_num_args (_c2) == 2)
   21399                 :             :                                       {
   21400                 :           0 :                                         tree _q40 = gimple_call_arg (_c2, 0);
   21401                 :           0 :                                         _q40 = do_valueize (valueize, _q40);
   21402                 :           0 :                                         tree _q41 = gimple_call_arg (_c2, 1);
   21403                 :           0 :                                         _q41 = do_valueize (valueize, _q41);
   21404                 :           0 :                                         {
   21405                 :           0 :                                           tree captures[5] ATTRIBUTE_UNUSED = { _p0, _q30, _q40, _q41, _p2 };
   21406                 :           0 :                                           {
   21407                 :           0 :  tree op_type = TREE_TYPE (captures[1]);
   21408                 :           0 :                                               if (vectorized_internal_fn_supported_p (as_internal_fn (CFN_COND_FMIN), op_type)
   21409                 :           0 :  && is_truth_type_for (op_type, TREE_TYPE (captures[0]))
   21410                 :           0 :  && single_use (captures[1])
   21411                 :             : )
   21412                 :             :                                                 {
   21413                 :           0 :                                                   gimple_seq *lseq = seq;
   21414                 :           0 :                                                   if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail2307;
   21415                 :           0 :                                                   {
   21416                 :           0 :                                                     res_op->set_op (VIEW_CONVERT_EXPR, type, 1);
   21417                 :           0 :                                                     {
   21418                 :           0 :                                                       tree _o1[4], _r1;
   21419                 :           0 :                                                       _o1[0] = captures[0];
   21420                 :           0 :                                                       _o1[1] = captures[2];
   21421                 :           0 :                                                       _o1[2] = captures[3];
   21422                 :           0 :                                                       {
   21423                 :           0 :                                                         tree _o2[1], _r2;
   21424                 :           0 :                                                         _o2[0] = captures[4];
   21425                 :           0 :                                                         gimple_match_op tem_op (res_op->cond.any_else (), VIEW_CONVERT_EXPR, op_type, _o2[0]);
   21426                 :           0 :                                                         tem_op.resimplify (lseq, valueize);
   21427                 :           0 :                                                         _r2 = maybe_push_res_to_seq (&tem_op, lseq);
   21428                 :           0 :                                                         if (!_r2) goto next_after_fail2307;
   21429                 :           0 :                                                         _o1[3] = _r2;
   21430                 :             :                                                       }
   21431                 :           0 :                                                       gimple_match_op tem_op (res_op->cond.any_else (), CFN_COND_FMIN, TREE_TYPE (_o1[1]), _o1[0], _o1[1], _o1[2], _o1[3]);
   21432                 :           0 :                                                       tem_op.resimplify (lseq, valueize);
   21433                 :           0 :                                                       _r1 = maybe_push_res_to_seq (&tem_op, lseq);
   21434                 :           0 :                                                       if (!_r1) goto next_after_fail2307;
   21435                 :           0 :                                                       res_op->ops[0] = _r1;
   21436                 :             :                                                     }
   21437                 :           0 :                                                     res_op->resimplify (lseq, valueize);
   21438                 :           0 :                                                     if (UNLIKELY (debug_dump)) gimple_dump_logs ("match.pd", 1124, __FILE__, __LINE__, true);
   21439                 :           0 :                                                     return true;
   21440                 :             :                                                   }
   21441                 :           0 : next_after_fail2307:;
   21442                 :             :                                                 }
   21443                 :             :                                           }
   21444                 :             :                                         }
   21445                 :             :                                       }
   21446                 :             :                                     break;
   21447                 :           0 :                                   case CFN_COPYSIGN:
   21448                 :           0 :                                     if (gimple_call_num_args (_c2) == 2)
   21449                 :             :                                       {
   21450                 :           0 :                                         tree _q40 = gimple_call_arg (_c2, 0);
   21451                 :           0 :                                         _q40 = do_valueize (valueize, _q40);
   21452                 :           0 :                                         tree _q41 = gimple_call_arg (_c2, 1);
   21453                 :           0 :                                         _q41 = do_valueize (valueize, _q41);
   21454                 :           0 :                                         {
   21455                 :           0 :                                           tree captures[5] ATTRIBUTE_UNUSED = { _p0, _q30, _q40, _q41, _p2 };
   21456                 :           0 :                                           {
   21457                 :           0 :  tree op_type = TREE_TYPE (captures[1]);
   21458                 :           0 :                                               if (vectorized_internal_fn_supported_p (as_internal_fn (CFN_COND_COPYSIGN), op_type)
   21459                 :           0 :  && is_truth_type_for (op_type, TREE_TYPE (captures[0]))
   21460                 :           0 :  && single_use (captures[1])
   21461                 :             : )
   21462                 :             :                                                 {
   21463                 :           0 :                                                   gimple_seq *lseq = seq;
   21464                 :           0 :                                                   if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail2308;
   21465                 :           0 :                                                   {
   21466                 :           0 :                                                     res_op->set_op (VIEW_CONVERT_EXPR, type, 1);
   21467                 :           0 :                                                     {
   21468                 :           0 :                                                       tree _o1[4], _r1;
   21469                 :           0 :                                                       _o1[0] = captures[0];
   21470                 :           0 :                                                       _o1[1] = captures[2];
   21471                 :           0 :                                                       _o1[2] = captures[3];
   21472                 :           0 :                                                       {
   21473                 :           0 :                                                         tree _o2[1], _r2;
   21474                 :           0 :                                                         _o2[0] = captures[4];
   21475                 :           0 :                                                         gimple_match_op tem_op (res_op->cond.any_else (), VIEW_CONVERT_EXPR, op_type, _o2[0]);
   21476                 :           0 :                                                         tem_op.resimplify (lseq, valueize);
   21477                 :           0 :                                                         _r2 = maybe_push_res_to_seq (&tem_op, lseq);
   21478                 :           0 :                                                         if (!_r2) goto next_after_fail2308;
   21479                 :           0 :                                                         _o1[3] = _r2;
   21480                 :             :                                                       }
   21481                 :           0 :                                                       gimple_match_op tem_op (res_op->cond.any_else (), CFN_COND_COPYSIGN, TREE_TYPE (_o1[1]), _o1[0], _o1[1], _o1[2], _o1[3]);
   21482                 :           0 :                                                       tem_op.resimplify (lseq, valueize);
   21483                 :           0 :                                                       _r1 = maybe_push_res_to_seq (&tem_op, lseq);
   21484                 :           0 :                                                       if (!_r1) goto next_after_fail2308;
   21485                 :           0 :                                                       res_op->ops[0] = _r1;
   21486                 :             :                                                     }
   21487                 :           0 :                                                     res_op->resimplify (lseq, valueize);
   21488                 :           0 :                                                     if (UNLIKELY (debug_dump)) gimple_dump_logs ("match.pd", 1124, __FILE__, __LINE__, true);
   21489                 :           0 :                                                     return true;
   21490                 :             :                                                   }
   21491                 :           0 : next_after_fail2308:;
   21492                 :             :                                                 }
   21493                 :             :                                           }
   21494                 :             :                                         }
   21495                 :             :                                       }
   21496                 :             :                                     break;
   21497                 :             :                                   default:;
   21498                 :             :                                   }
   21499                 :             :                             }
   21500                 :             :                           break;
   21501                 :             :                         default:;
   21502                 :             :                         }
   21503                 :             :                     }
   21504                 :             :                   break;
   21505                 :             :                 }
   21506                 :         208 :               case PLUS_EXPR:
   21507                 :         208 :                 {
   21508                 :         208 :                   tree _q30 = gimple_assign_rhs1 (_a1);
   21509                 :         208 :                   _q30 = do_valueize (valueize, _q30);
   21510                 :         208 :                   tree _q31 = gimple_assign_rhs2 (_a1);
   21511                 :         208 :                   _q31 = do_valueize (valueize, _q31);
   21512                 :         208 :                   if (tree_swap_operands_p (_q30, _q31))
   21513                 :          22 :                     std::swap (_q30, _q31);
   21514                 :         208 :                   {
   21515                 :         208 :                     tree captures[5] ATTRIBUTE_UNUSED = { _p0, _p1, _q30, _q31, _p2 };
   21516                 :         208 :                     {
   21517                 :         208 :  tree op_type = TREE_TYPE (captures[1]);
   21518                 :         208 :                         if (vectorized_internal_fn_supported_p (as_internal_fn (CFN_COND_ADD), op_type)
   21519                 :          16 :  && is_truth_type_for (op_type, TREE_TYPE (captures[0]))
   21520                 :         224 :  && single_use (captures[1])
   21521                 :             : )
   21522                 :             :                           {
   21523                 :          16 :                             gimple_seq *lseq = seq;
   21524                 :          16 :                             if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail2309;
   21525                 :          16 :                             {
   21526                 :          16 :                               res_op->set_op (VIEW_CONVERT_EXPR, type, 1);
   21527                 :          16 :                               {
   21528                 :          16 :                                 tree _o1[4], _r1;
   21529                 :          16 :                                 _o1[0] = captures[0];
   21530                 :          16 :                                 _o1[1] = captures[2];
   21531                 :          16 :                                 _o1[2] = captures[3];
   21532                 :          16 :                                 {
   21533                 :          16 :                                   tree _o2[1], _r2;
   21534                 :          16 :                                   _o2[0] = captures[4];
   21535                 :          16 :                                   gimple_match_op tem_op (res_op->cond.any_else (), VIEW_CONVERT_EXPR, op_type, _o2[0]);
   21536                 :          16 :                                   tem_op.resimplify (lseq, valueize);
   21537                 :          16 :                                   _r2 = maybe_push_res_to_seq (&tem_op, lseq);
   21538                 :          16 :                                   if (!_r2) goto next_after_fail2309;
   21539                 :          16 :                                   _o1[3] = _r2;
   21540                 :             :                                 }
   21541                 :          16 :                                 gimple_match_op tem_op (res_op->cond.any_else (), CFN_COND_ADD, TREE_TYPE (_o1[1]), _o1[0], _o1[1], _o1[2], _o1[3]);
   21542                 :          16 :                                 tem_op.resimplify (lseq, valueize);
   21543                 :          16 :                                 _r1 = maybe_push_res_to_seq (&tem_op, lseq);
   21544                 :          16 :                                 if (!_r1) goto next_after_fail2309;
   21545                 :           8 :                                 res_op->ops[0] = _r1;
   21546                 :             :                               }
   21547                 :           8 :                               res_op->resimplify (lseq, valueize);
   21548                 :           8 :                               if (UNLIKELY (debug_dump)) gimple_dump_logs ("match.pd", 1124, __FILE__, __LINE__, true);
   21549                 :           8 :                               return true;
   21550                 :             :                             }
   21551                 :         200 : next_after_fail2309:;
   21552                 :             :                           }
   21553                 :             :                     }
   21554                 :             :                   }
   21555                 :         200 :                   break;
   21556                 :             :                 }
   21557                 :         390 :               case MINUS_EXPR:
   21558                 :         390 :                 {
   21559                 :         390 :                   tree _q30 = gimple_assign_rhs1 (_a1);
   21560                 :         390 :                   _q30 = do_valueize (valueize, _q30);
   21561                 :         390 :                   tree _q31 = gimple_assign_rhs2 (_a1);
   21562                 :         390 :                   _q31 = do_valueize (valueize, _q31);
   21563                 :         390 :                   {
   21564                 :         390 :                     tree captures[5] ATTRIBUTE_UNUSED = { _p0, _p1, _q30, _q31, _p2 };
   21565                 :         390 :                     {
   21566                 :         390 :  tree op_type = TREE_TYPE (captures[1]);
   21567                 :         390 :                         if (vectorized_internal_fn_supported_p (as_internal_fn (CFN_COND_SUB), op_type)
   21568                 :          37 :  && is_truth_type_for (op_type, TREE_TYPE (captures[0]))
   21569                 :         427 :  && single_use (captures[1])
   21570                 :             : )
   21571                 :             :                           {
   21572                 :          37 :                             gimple_seq *lseq = seq;
   21573                 :          37 :                             if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail2310;
   21574                 :          37 :                             {
   21575                 :          37 :                               res_op->set_op (VIEW_CONVERT_EXPR, type, 1);
   21576                 :          37 :                               {
   21577                 :          37 :                                 tree _o1[4], _r1;
   21578                 :          37 :                                 _o1[0] = captures[0];
   21579                 :          37 :                                 _o1[1] = captures[2];
   21580                 :          37 :                                 _o1[2] = captures[3];
   21581                 :          37 :                                 {
   21582                 :          37 :                                   tree _o2[1], _r2;
   21583                 :          37 :                                   _o2[0] = captures[4];
   21584                 :          37 :                                   gimple_match_op tem_op (res_op->cond.any_else (), VIEW_CONVERT_EXPR, op_type, _o2[0]);
   21585                 :          37 :                                   tem_op.resimplify (lseq, valueize);
   21586                 :          37 :                                   _r2 = maybe_push_res_to_seq (&tem_op, lseq);
   21587                 :          37 :                                   if (!_r2) goto next_after_fail2310;
   21588                 :          37 :                                   _o1[3] = _r2;
   21589                 :             :                                 }
   21590                 :          37 :                                 gimple_match_op tem_op (res_op->cond.any_else (), CFN_COND_SUB, TREE_TYPE (_o1[1]), _o1[0], _o1[1], _o1[2], _o1[3]);
   21591                 :          37 :                                 tem_op.resimplify (lseq, valueize);
   21592                 :          37 :                                 _r1 = maybe_push_res_to_seq (&tem_op, lseq);
   21593                 :          37 :                                 if (!_r1) goto next_after_fail2310;
   21594                 :          17 :                                 res_op->ops[0] = _r1;
   21595                 :             :                               }
   21596                 :          17 :                               res_op->resimplify (lseq, valueize);
   21597                 :          17 :                               if (UNLIKELY (debug_dump)) gimple_dump_logs ("match.pd", 1124, __FILE__, __LINE__, true);
   21598                 :          17 :                               return true;
   21599                 :             :                             }
   21600                 :         373 : next_after_fail2310:;
   21601                 :             :                           }
   21602                 :             :                     }
   21603                 :             :                   }
   21604                 :         373 :                   break;
   21605                 :             :                 }
   21606                 :         208 :               case MULT_EXPR:
   21607                 :         208 :                 {
   21608                 :         208 :                   tree _q30 = gimple_assign_rhs1 (_a1);
   21609                 :         208 :                   _q30 = do_valueize (valueize, _q30);
   21610                 :         208 :                   tree _q31 = gimple_assign_rhs2 (_a1);
   21611                 :         208 :                   _q31 = do_valueize (valueize, _q31);
   21612                 :         208 :                   if (tree_swap_operands_p (_q30, _q31))
   21613                 :          44 :                     std::swap (_q30, _q31);
   21614                 :         208 :                   {
   21615                 :         208 :                     tree captures[5] ATTRIBUTE_UNUSED = { _p0, _p1, _q30, _q31, _p2 };
   21616                 :         208 :                     {
   21617                 :         208 :  tree op_type = TREE_TYPE (captures[1]);
   21618                 :         208 :                         if (vectorized_internal_fn_supported_p (as_internal_fn (CFN_COND_MUL), op_type)
   21619                 :           3 :  && is_truth_type_for (op_type, TREE_TYPE (captures[0]))
   21620                 :         211 :  && single_use (captures[1])
   21621                 :             : )
   21622                 :             :                           {
   21623                 :           3 :                             gimple_seq *lseq = seq;
   21624                 :           3 :                             if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail2311;
   21625                 :           3 :                             {
   21626                 :           3 :                               res_op->set_op (VIEW_CONVERT_EXPR, type, 1);
   21627                 :           3 :                               {
   21628                 :           3 :                                 tree _o1[4], _r1;
   21629                 :           3 :                                 _o1[0] = captures[0];
   21630                 :           3 :                                 _o1[1] = captures[2];
   21631                 :           3 :                                 _o1[2] = captures[3];
   21632                 :           3 :                                 {
   21633                 :           3 :                                   tree _o2[1], _r2;
   21634                 :           3 :                                   _o2[0] = captures[4];
   21635                 :           3 :                                   gimple_match_op tem_op (res_op->cond.any_else (), VIEW_CONVERT_EXPR, op_type, _o2[0]);
   21636                 :           3 :                                   tem_op.resimplify (lseq, valueize);
   21637                 :           3 :                                   _r2 = maybe_push_res_to_seq (&tem_op, lseq);
   21638                 :           3 :                                   if (!_r2) goto next_after_fail2311;
   21639                 :           3 :                                   _o1[3] = _r2;
   21640                 :             :                                 }
   21641                 :           3 :                                 gimple_match_op tem_op (res_op->cond.any_else (), CFN_COND_MUL, TREE_TYPE (_o1[1]), _o1[0], _o1[1], _o1[2], _o1[3]);
   21642                 :           3 :                                 tem_op.resimplify (lseq, valueize);
   21643                 :           3 :                                 _r1 = maybe_push_res_to_seq (&tem_op, lseq);
   21644                 :           3 :                                 if (!_r1) goto next_after_fail2311;
   21645                 :           1 :                                 res_op->ops[0] = _r1;
   21646                 :             :                               }
   21647                 :           1 :                               res_op->resimplify (lseq, valueize);
   21648                 :           1 :                               if (UNLIKELY (debug_dump)) gimple_dump_logs ("match.pd", 1124, __FILE__, __LINE__, true);
   21649                 :           1 :                               return true;
   21650                 :             :                             }
   21651                 :         207 : next_after_fail2311:;
   21652                 :             :                           }
   21653                 :             :                     }
   21654                 :             :                   }
   21655                 :         207 :                   break;
   21656                 :             :                 }
   21657                 :           0 :               case TRUNC_DIV_EXPR:
   21658                 :           0 :                 {
   21659                 :           0 :                   tree _q30 = gimple_assign_rhs1 (_a1);
   21660                 :           0 :                   _q30 = do_valueize (valueize, _q30);
   21661                 :           0 :                   tree _q31 = gimple_assign_rhs2 (_a1);
   21662                 :           0 :                   _q31 = do_valueize (valueize, _q31);
   21663                 :           0 :                   {
   21664                 :           0 :                     tree captures[5] ATTRIBUTE_UNUSED = { _p0, _p1, _q30, _q31, _p2 };
   21665                 :           0 :                     {
   21666                 :           0 :  tree op_type = TREE_TYPE (captures[1]);
   21667                 :           0 :                         if (vectorized_internal_fn_supported_p (as_internal_fn (CFN_COND_DIV), op_type)
   21668                 :           0 :  && is_truth_type_for (op_type, TREE_TYPE (captures[0]))
   21669                 :           0 :  && single_use (captures[1])
   21670                 :             : )
   21671                 :             :                           {
   21672                 :           0 :                             gimple_seq *lseq = seq;
   21673                 :           0 :                             if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail2312;
   21674                 :           0 :                             {
   21675                 :           0 :                               res_op->set_op (VIEW_CONVERT_EXPR, type, 1);
   21676                 :           0 :                               {
   21677                 :           0 :                                 tree _o1[4], _r1;
   21678                 :           0 :                                 _o1[0] = captures[0];
   21679                 :           0 :                                 _o1[1] = captures[2];
   21680                 :           0 :                                 _o1[2] = captures[3];
   21681                 :           0 :                                 {
   21682                 :           0 :                                   tree _o2[1], _r2;
   21683                 :           0 :                                   _o2[0] = captures[4];
   21684                 :           0 :                                   gimple_match_op tem_op (res_op->cond.any_else (), VIEW_CONVERT_EXPR, op_type, _o2[0]);
   21685                 :           0 :                                   tem_op.resimplify (lseq, valueize);
   21686                 :           0 :                                   _r2 = maybe_push_res_to_seq (&tem_op, lseq);
   21687                 :           0 :                                   if (!_r2) goto next_after_fail2312;
   21688                 :           0 :                                   _o1[3] = _r2;
   21689                 :             :                                 }
   21690                 :           0 :                                 gimple_match_op tem_op (res_op->cond.any_else (), CFN_COND_DIV, TREE_TYPE (_o1[1]), _o1[0], _o1[1], _o1[2], _o1[3]);
   21691                 :           0 :                                 tem_op.resimplify (lseq, valueize);
   21692                 :           0 :                                 _r1 = maybe_push_res_to_seq (&tem_op, lseq);
   21693                 :           0 :                                 if (!_r1) goto next_after_fail2312;
   21694                 :           0 :                                 res_op->ops[0] = _r1;
   21695                 :             :                               }
   21696                 :           0 :                               res_op->resimplify (lseq, valueize);
   21697                 :           0 :                               if (UNLIKELY (debug_dump)) gimple_dump_logs ("match.pd", 1124, __FILE__, __LINE__, true);
   21698                 :           0 :                               return true;
   21699                 :             :                             }
   21700                 :           0 : next_after_fail2312:;
   21701                 :             :                           }
   21702                 :             :                     }
   21703                 :             :                   }
   21704                 :           0 :                   break;
   21705                 :             :                 }
   21706                 :           0 :               case TRUNC_MOD_EXPR:
   21707                 :           0 :                 {
   21708                 :           0 :                   tree _q30 = gimple_assign_rhs1 (_a1);
   21709                 :           0 :                   _q30 = do_valueize (valueize, _q30);
   21710                 :           0 :                   tree _q31 = gimple_assign_rhs2 (_a1);
   21711                 :           0 :                   _q31 = do_valueize (valueize, _q31);
   21712                 :           0 :                   {
   21713                 :           0 :                     tree captures[5] ATTRIBUTE_UNUSED = { _p0, _p1, _q30, _q31, _p2 };
   21714                 :           0 :                     {
   21715                 :           0 :  tree op_type = TREE_TYPE (captures[1]);
   21716                 :           0 :                         if (vectorized_internal_fn_supported_p (as_internal_fn (CFN_COND_MOD), op_type)
   21717                 :           0 :  && is_truth_type_for (op_type, TREE_TYPE (captures[0]))
   21718                 :           0 :  && single_use (captures[1])
   21719                 :             : )
   21720                 :             :                           {
   21721                 :           0 :                             gimple_seq *lseq = seq;
   21722                 :           0 :                             if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail2313;
   21723                 :           0 :                             {
   21724                 :           0 :                               res_op->set_op (VIEW_CONVERT_EXPR, type, 1);
   21725                 :           0 :                               {
   21726                 :           0 :                                 tree _o1[4], _r1;
   21727                 :           0 :                                 _o1[0] = captures[0];
   21728                 :           0 :                                 _o1[1] = captures[2];
   21729                 :           0 :                                 _o1[2] = captures[3];
   21730                 :           0 :                                 {
   21731                 :           0 :                                   tree _o2[1], _r2;
   21732                 :           0 :                                   _o2[0] = captures[4];
   21733                 :           0 :                                   gimple_match_op tem_op (res_op->cond.any_else (), VIEW_CONVERT_EXPR, op_type, _o2[0]);
   21734                 :           0 :                                   tem_op.resimplify (lseq, valueize);
   21735                 :           0 :                                   _r2 = maybe_push_res_to_seq (&tem_op, lseq);
   21736                 :           0 :                                   if (!_r2) goto next_after_fail2313;
   21737                 :           0 :                                   _o1[3] = _r2;
   21738                 :             :                                 }
   21739                 :           0 :                                 gimple_match_op tem_op (res_op->cond.any_else (), CFN_COND_MOD, TREE_TYPE (_o1[1]), _o1[0], _o1[1], _o1[2], _o1[3]);
   21740                 :           0 :                                 tem_op.resimplify (lseq, valueize);
   21741                 :           0 :                                 _r1 = maybe_push_res_to_seq (&tem_op, lseq);
   21742                 :           0 :                                 if (!_r1) goto next_after_fail2313;
   21743                 :           0 :                                 res_op->ops[0] = _r1;
   21744                 :             :                               }
   21745                 :           0 :                               res_op->resimplify (lseq, valueize);
   21746                 :           0 :                               if (UNLIKELY (debug_dump)) gimple_dump_logs ("match.pd", 1124, __FILE__, __LINE__, true);
   21747                 :           0 :                               return true;
   21748                 :             :                             }
   21749                 :           0 : next_after_fail2313:;
   21750                 :             :                           }
   21751                 :             :                     }
   21752                 :             :                   }
   21753                 :           0 :                   break;
   21754                 :             :                 }
   21755                 :          20 :               case RDIV_EXPR:
   21756                 :          20 :                 {
   21757                 :          20 :                   tree _q30 = gimple_assign_rhs1 (_a1);
   21758                 :          20 :                   _q30 = do_valueize (valueize, _q30);
   21759                 :          20 :                   tree _q31 = gimple_assign_rhs2 (_a1);
   21760                 :          20 :                   _q31 = do_valueize (valueize, _q31);
   21761                 :          20 :                   {
   21762                 :          20 :                     tree captures[5] ATTRIBUTE_UNUSED = { _p0, _p1, _q30, _q31, _p2 };
   21763                 :          20 :                     {
   21764                 :          20 :  tree op_type = TREE_TYPE (captures[1]);
   21765                 :          20 :                         if (vectorized_internal_fn_supported_p (as_internal_fn (CFN_COND_RDIV), op_type)
   21766                 :           0 :  && is_truth_type_for (op_type, TREE_TYPE (captures[0]))
   21767                 :          20 :  && single_use (captures[1])
   21768                 :             : )
   21769                 :             :                           {
   21770                 :           0 :                             gimple_seq *lseq = seq;
   21771                 :           0 :                             if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail2314;
   21772                 :           0 :                             {
   21773                 :           0 :                               res_op->set_op (VIEW_CONVERT_EXPR, type, 1);
   21774                 :           0 :                               {
   21775                 :           0 :                                 tree _o1[4], _r1;
   21776                 :           0 :                                 _o1[0] = captures[0];
   21777                 :           0 :                                 _o1[1] = captures[2];
   21778                 :           0 :                                 _o1[2] = captures[3];
   21779                 :           0 :                                 {
   21780                 :           0 :                                   tree _o2[1], _r2;
   21781                 :           0 :                                   _o2[0] = captures[4];
   21782                 :           0 :                                   gimple_match_op tem_op (res_op->cond.any_else (), VIEW_CONVERT_EXPR, op_type, _o2[0]);
   21783                 :           0 :                                   tem_op.resimplify (lseq, valueize);
   21784                 :           0 :                                   _r2 = maybe_push_res_to_seq (&tem_op, lseq);
   21785                 :           0 :                                   if (!_r2) goto next_after_fail2314;
   21786                 :           0 :                                   _o1[3] = _r2;
   21787                 :             :                                 }
   21788                 :           0 :                                 gimple_match_op tem_op (res_op->cond.any_else (), CFN_COND_RDIV, TREE_TYPE (_o1[1]), _o1[0], _o1[1], _o1[2], _o1[3]);
   21789                 :           0 :                                 tem_op.resimplify (lseq, valueize);
   21790                 :           0 :                                 _r1 = maybe_push_res_to_seq (&tem_op, lseq);
   21791                 :           0 :                                 if (!_r1) goto next_after_fail2314;
   21792                 :           0 :                                 res_op->ops[0] = _r1;
   21793                 :             :                               }
   21794                 :           0 :                               res_op->resimplify (lseq, valueize);
   21795                 :           0 :                               if (UNLIKELY (debug_dump)) gimple_dump_logs ("match.pd", 1124, __FILE__, __LINE__, true);
   21796                 :           0 :                               return true;
   21797                 :             :                             }
   21798                 :          20 : next_after_fail2314:;
   21799                 :             :                           }
   21800                 :             :                     }
   21801                 :             :                   }
   21802                 :          20 :                   break;
   21803                 :             :                 }
   21804                 :          96 :               case MIN_EXPR:
   21805                 :          96 :                 {
   21806                 :          96 :                   tree _q30 = gimple_assign_rhs1 (_a1);
   21807                 :          96 :                   _q30 = do_valueize (valueize, _q30);
   21808                 :          96 :                   tree _q31 = gimple_assign_rhs2 (_a1);
   21809                 :          96 :                   _q31 = do_valueize (valueize, _q31);
   21810                 :          96 :                   if (tree_swap_operands_p (_q30, _q31))
   21811                 :          60 :                     std::swap (_q30, _q31);
   21812                 :          96 :                   {
   21813                 :          96 :                     tree captures[5] ATTRIBUTE_UNUSED = { _p0, _p1, _q30, _q31, _p2 };
   21814                 :          96 :                     {
   21815                 :          96 :  tree op_type = TREE_TYPE (captures[1]);
   21816                 :          96 :                         if (vectorized_internal_fn_supported_p (as_internal_fn (CFN_COND_MIN), op_type)
   21817                 :          96 :  && is_truth_type_for (op_type, TREE_TYPE (captures[0]))
   21818                 :         192 :  && single_use (captures[1])
   21819                 :             : )
   21820                 :             :                           {
   21821                 :          96 :                             gimple_seq *lseq = seq;
   21822                 :          96 :                             if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail2315;
   21823                 :          96 :                             {
   21824                 :          96 :                               res_op->set_op (VIEW_CONVERT_EXPR, type, 1);
   21825                 :          96 :                               {
   21826                 :          96 :                                 tree _o1[4], _r1;
   21827                 :          96 :                                 _o1[0] = captures[0];
   21828                 :          96 :                                 _o1[1] = captures[2];
   21829                 :          96 :                                 _o1[2] = captures[3];
   21830                 :          96 :                                 {
   21831                 :          96 :                                   tree _o2[1], _r2;
   21832                 :          96 :                                   _o2[0] = captures[4];
   21833                 :          96 :                                   gimple_match_op tem_op (res_op->cond.any_else (), VIEW_CONVERT_EXPR, op_type, _o2[0]);
   21834                 :          96 :                                   tem_op.resimplify (lseq, valueize);
   21835                 :          96 :                                   _r2 = maybe_push_res_to_seq (&tem_op, lseq);
   21836                 :          96 :                                   if (!_r2) goto next_after_fail2315;
   21837                 :          96 :                                   _o1[3] = _r2;
   21838                 :             :                                 }
   21839                 :          96 :                                 gimple_match_op tem_op (res_op->cond.any_else (), CFN_COND_MIN, TREE_TYPE (_o1[1]), _o1[0], _o1[1], _o1[2], _o1[3]);
   21840                 :          96 :                                 tem_op.resimplify (lseq, valueize);
   21841                 :          96 :                                 _r1 = maybe_push_res_to_seq (&tem_op, lseq);
   21842                 :          96 :                                 if (!_r1) goto next_after_fail2315;
   21843                 :          32 :                                 res_op->ops[0] = _r1;
   21844                 :             :                               }
   21845                 :          32 :                               res_op->resimplify (lseq, valueize);
   21846                 :          32 :                               if (UNLIKELY (debug_dump)) gimple_dump_logs ("match.pd", 1124, __FILE__, __LINE__, true);
   21847                 :          32 :                               return true;
   21848                 :             :                             }
   21849                 :          64 : next_after_fail2315:;
   21850                 :             :                           }
   21851                 :             :                     }
   21852                 :             :                   }
   21853                 :          64 :                   break;
   21854                 :             :                 }
   21855                 :         134 :               case MAX_EXPR:
   21856                 :         134 :                 {
   21857                 :         134 :                   tree _q30 = gimple_assign_rhs1 (_a1);
   21858                 :         134 :                   _q30 = do_valueize (valueize, _q30);
   21859                 :         134 :                   tree _q31 = gimple_assign_rhs2 (_a1);
   21860                 :         134 :                   _q31 = do_valueize (valueize, _q31);
   21861                 :         134 :                   if (tree_swap_operands_p (_q30, _q31))
   21862                 :          60 :                     std::swap (_q30, _q31);
   21863                 :         134 :                   {
   21864                 :         134 :                     tree captures[5] ATTRIBUTE_UNUSED = { _p0, _p1, _q30, _q31, _p2 };
   21865                 :         134 :                     {
   21866                 :         134 :  tree op_type = TREE_TYPE (captures[1]);
   21867                 :         134 :                         if (vectorized_internal_fn_supported_p (as_internal_fn (CFN_COND_MAX), op_type)
   21868                 :          96 :  && is_truth_type_for (op_type, TREE_TYPE (captures[0]))
   21869                 :         230 :  && single_use (captures[1])
   21870                 :             : )
   21871                 :             :                           {
   21872                 :          96 :                             gimple_seq *lseq = seq;
   21873                 :          96 :                             if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail2316;
   21874                 :          96 :                             {
   21875                 :          96 :                               res_op->set_op (VIEW_CONVERT_EXPR, type, 1);
   21876                 :          96 :                               {
   21877                 :          96 :                                 tree _o1[4], _r1;
   21878                 :          96 :                                 _o1[0] = captures[0];
   21879                 :          96 :                                 _o1[1] = captures[2];
   21880                 :          96 :                                 _o1[2] = captures[3];
   21881                 :          96 :                                 {
   21882                 :          96 :                                   tree _o2[1], _r2;
   21883                 :          96 :                                   _o2[0] = captures[4];
   21884                 :          96 :                                   gimple_match_op tem_op (res_op->cond.any_else (), VIEW_CONVERT_EXPR, op_type, _o2[0]);
   21885                 :          96 :                                   tem_op.resimplify (lseq, valueize);
   21886                 :          96 :                                   _r2 = maybe_push_res_to_seq (&tem_op, lseq);
   21887                 :          96 :                                   if (!_r2) goto next_after_fail2316;
   21888                 :          96 :                                   _o1[3] = _r2;
   21889                 :             :                                 }
   21890                 :          96 :                                 gimple_match_op tem_op (res_op->cond.any_else (), CFN_COND_MAX, TREE_TYPE (_o1[1]), _o1[0], _o1[1], _o1[2], _o1[3]);
   21891                 :          96 :                                 tem_op.resimplify (lseq, valueize);
   21892                 :          96 :                                 _r1 = maybe_push_res_to_seq (&tem_op, lseq);
   21893                 :          96 :                                 if (!_r1) goto next_after_fail2316;
   21894                 :          32 :                                 res_op->ops[0] = _r1;
   21895                 :             :                               }
   21896                 :          32 :                               res_op->resimplify (lseq, valueize);
   21897                 :          32 :                               if (UNLIKELY (debug_dump)) gimple_dump_logs ("match.pd", 1124, __FILE__, __LINE__, true);
   21898                 :          32 :                               return true;
   21899                 :             :                             }
   21900                 :         102 : next_after_fail2316:;
   21901                 :             :                           }
   21902                 :             :                     }
   21903                 :             :                   }
   21904                 :         102 :                   break;
   21905                 :             :                 }
   21906                 :          67 :               case BIT_AND_EXPR:
   21907                 :          67 :                 {
   21908                 :          67 :                   tree _q30 = gimple_assign_rhs1 (_a1);
   21909                 :          67 :                   _q30 = do_valueize (valueize, _q30);
   21910                 :          67 :                   tree _q31 = gimple_assign_rhs2 (_a1);
   21911                 :          67 :                   _q31 = do_valueize (valueize, _q31);
   21912                 :          67 :                   if (tree_swap_operands_p (_q30, _q31))
   21913                 :          20 :                     std::swap (_q30, _q31);
   21914                 :          67 :                   {
   21915                 :          67 :                     tree captures[5] ATTRIBUTE_UNUSED = { _p0, _p1, _q30, _q31, _p2 };
   21916                 :          67 :                     {
   21917                 :          67 :  tree op_type = TREE_TYPE (captures[1]);
   21918                 :          67 :                         if (vectorized_internal_fn_supported_p (as_internal_fn (CFN_COND_AND), op_type)
   21919                 :          30 :  && is_truth_type_for (op_type, TREE_TYPE (captures[0]))
   21920                 :          97 :  && single_use (captures[1])
   21921                 :             : )
   21922                 :             :                           {
   21923                 :          30 :                             gimple_seq *lseq = seq;
   21924                 :          30 :                             if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail2317;
   21925                 :          30 :                             {
   21926                 :          30 :                               res_op->set_op (VIEW_CONVERT_EXPR, type, 1);
   21927                 :          30 :                               {
   21928                 :          30 :                                 tree _o1[4], _r1;
   21929                 :          30 :                                 _o1[0] = captures[0];
   21930                 :          30 :                                 _o1[1] = captures[2];
   21931                 :          30 :                                 _o1[2] = captures[3];
   21932                 :          30 :                                 {
   21933                 :          30 :                                   tree _o2[1], _r2;
   21934                 :          30 :                                   _o2[0] = captures[4];
   21935                 :          30 :                                   gimple_match_op tem_op (res_op->cond.any_else (), VIEW_CONVERT_EXPR, op_type, _o2[0]);
   21936                 :          30 :                                   tem_op.resimplify (lseq, valueize);
   21937                 :          30 :                                   _r2 = maybe_push_res_to_seq (&tem_op, lseq);
   21938                 :          30 :                                   if (!_r2) goto next_after_fail2317;
   21939                 :          30 :                                   _o1[3] = _r2;
   21940                 :             :                                 }
   21941                 :          30 :                                 gimple_match_op tem_op (res_op->cond.any_else (), CFN_COND_AND, TREE_TYPE (_o1[1]), _o1[0], _o1[1], _o1[2], _o1[3]);
   21942                 :          30 :                                 tem_op.resimplify (lseq, valueize);
   21943                 :          30 :                                 _r1 = maybe_push_res_to_seq (&tem_op, lseq);
   21944                 :          30 :                                 if (!_r1) goto next_after_fail2317;
   21945                 :          10 :                                 res_op->ops[0] = _r1;
   21946                 :             :                               }
   21947                 :          10 :                               res_op->resimplify (lseq, valueize);
   21948                 :          10 :                               if (UNLIKELY (debug_dump)) gimple_dump_logs ("match.pd", 1124, __FILE__, __LINE__, true);
   21949                 :          10 :                               return true;
   21950                 :             :                             }
   21951                 :          57 : next_after_fail2317:;
   21952                 :             :                           }
   21953                 :             :                     }
   21954                 :             :                   }
   21955                 :          57 :                   break;
   21956                 :             :                 }
   21957                 :         393 :               case BIT_IOR_EXPR:
   21958                 :         393 :                 {
   21959                 :         393 :                   tree _q30 = gimple_assign_rhs1 (_a1);
   21960                 :         393 :                   _q30 = do_valueize (valueize, _q30);
   21961                 :         393 :                   tree _q31 = gimple_assign_rhs2 (_a1);
   21962                 :         393 :                   _q31 = do_valueize (valueize, _q31);
   21963                 :         393 :                   if (tree_swap_operands_p (_q30, _q31))
   21964                 :          20 :                     std::swap (_q30, _q31);
   21965                 :         393 :                   {
   21966                 :         393 :                     tree captures[5] ATTRIBUTE_UNUSED = { _p0, _p1, _q30, _q31, _p2 };
   21967                 :         393 :                     {
   21968                 :         393 :  tree op_type = TREE_TYPE (captures[1]);
   21969                 :         393 :                         if (vectorized_internal_fn_supported_p (as_internal_fn (CFN_COND_IOR), op_type)
   21970                 :          97 :  && is_truth_type_for (op_type, TREE_TYPE (captures[0]))
   21971                 :         490 :  && single_use (captures[1])
   21972                 :             : )
   21973                 :             :                           {
   21974                 :          97 :                             gimple_seq *lseq = seq;
   21975                 :          97 :                             if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail2318;
   21976                 :          97 :                             {
   21977                 :          97 :                               res_op->set_op (VIEW_CONVERT_EXPR, type, 1);
   21978                 :          97 :                               {
   21979                 :          97 :                                 tree _o1[4], _r1;
   21980                 :          97 :                                 _o1[0] = captures[0];
   21981                 :          97 :                                 _o1[1] = captures[2];
   21982                 :          97 :                                 _o1[2] = captures[3];
   21983                 :          97 :                                 {
   21984                 :          97 :                                   tree _o2[1], _r2;
   21985                 :          97 :                                   _o2[0] = captures[4];
   21986                 :          97 :                                   gimple_match_op tem_op (res_op->cond.any_else (), VIEW_CONVERT_EXPR, op_type, _o2[0]);
   21987                 :          97 :                                   tem_op.resimplify (lseq, valueize);
   21988                 :          97 :                                   _r2 = maybe_push_res_to_seq (&tem_op, lseq);
   21989                 :          97 :                                   if (!_r2) goto next_after_fail2318;
   21990                 :          97 :                                   _o1[3] = _r2;
   21991                 :             :                                 }
   21992                 :          97 :                                 gimple_match_op tem_op (res_op->cond.any_else (), CFN_COND_IOR, TREE_TYPE (_o1[1]), _o1[0], _o1[1], _o1[2], _o1[3]);
   21993                 :          97 :                                 tem_op.resimplify (lseq, valueize);
   21994                 :          97 :                                 _r1 = maybe_push_res_to_seq (&tem_op, lseq);
   21995                 :          97 :                                 if (!_r1) goto next_after_fail2318;
   21996                 :          31 :                                 res_op->ops[0] = _r1;
   21997                 :             :                               }
   21998                 :          31 :                               res_op->resimplify (lseq, valueize);
   21999                 :          31 :                               if (UNLIKELY (debug_dump)) gimple_dump_logs ("match.pd", 1124, __FILE__, __LINE__, true);
   22000                 :          31 :                               return true;
   22001                 :             :                             }
   22002                 :         362 : next_after_fail2318:;
   22003                 :             :                           }
   22004                 :             :                     }
   22005                 :             :                   }
   22006                 :         362 :                   break;
   22007                 :             :                 }
   22008                 :         176 :               case BIT_XOR_EXPR:
   22009                 :         176 :                 {
   22010                 :         176 :                   tree _q30 = gimple_assign_rhs1 (_a1);
   22011                 :         176 :                   _q30 = do_valueize (valueize, _q30);
   22012                 :         176 :                   tree _q31 = gimple_assign_rhs2 (_a1);
   22013                 :         176 :                   _q31 = do_valueize (valueize, _q31);
   22014                 :         176 :                   if (tree_swap_operands_p (_q30, _q31))
   22015                 :          20 :                     std::swap (_q30, _q31);
   22016                 :         176 :                   {
   22017                 :         176 :                     tree captures[5] ATTRIBUTE_UNUSED = { _p0, _p1, _q30, _q31, _p2 };
   22018                 :         176 :                     {
   22019                 :         176 :  tree op_type = TREE_TYPE (captures[1]);
   22020                 :         176 :                         if (vectorized_internal_fn_supported_p (as_internal_fn (CFN_COND_XOR), op_type)
   22021                 :          21 :  && is_truth_type_for (op_type, TREE_TYPE (captures[0]))
   22022                 :         197 :  && single_use (captures[1])
   22023                 :             : )
   22024                 :             :                           {
   22025                 :          21 :                             gimple_seq *lseq = seq;
   22026                 :          21 :                             if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail2319;
   22027                 :          21 :                             {
   22028                 :          21 :                               res_op->set_op (VIEW_CONVERT_EXPR, type, 1);
   22029                 :          21 :                               {
   22030                 :          21 :                                 tree _o1[4], _r1;
   22031                 :          21 :                                 _o1[0] = captures[0];
   22032                 :          21 :                                 _o1[1] = captures[2];
   22033                 :          21 :                                 _o1[2] = captures[3];
   22034                 :          21 :                                 {
   22035                 :          21 :                                   tree _o2[1], _r2;
   22036                 :          21 :                                   _o2[0] = captures[4];
   22037                 :          21 :                                   gimple_match_op tem_op (res_op->cond.any_else (), VIEW_CONVERT_EXPR, op_type, _o2[0]);
   22038                 :          21 :                                   tem_op.resimplify (lseq, valueize);
   22039                 :          21 :                                   _r2 = maybe_push_res_to_seq (&tem_op, lseq);
   22040                 :          21 :                                   if (!_r2) goto next_after_fail2319;
   22041                 :          21 :                                   _o1[3] = _r2;
   22042                 :             :                                 }
   22043                 :          21 :                                 gimple_match_op tem_op (res_op->cond.any_else (), CFN_COND_XOR, TREE_TYPE (_o1[1]), _o1[0], _o1[1], _o1[2], _o1[3]);
   22044                 :          21 :                                 tem_op.resimplify (lseq, valueize);
   22045                 :          21 :                                 _r1 = maybe_push_res_to_seq (&tem_op, lseq);
   22046                 :          21 :                                 if (!_r1) goto next_after_fail2319;
   22047                 :           7 :                                 res_op->ops[0] = _r1;
   22048                 :             :                               }
   22049                 :           7 :                               res_op->resimplify (lseq, valueize);
   22050                 :           7 :                               if (UNLIKELY (debug_dump)) gimple_dump_logs ("match.pd", 1124, __FILE__, __LINE__, true);
   22051                 :           7 :                               return true;
   22052                 :             :                             }
   22053                 :         169 : next_after_fail2319:;
   22054                 :             :                           }
   22055                 :             :                     }
   22056                 :             :                   }
   22057                 :         169 :                   break;
   22058                 :             :                 }
   22059                 :         110 :               case LSHIFT_EXPR:
   22060                 :         110 :                 {
   22061                 :         110 :                   tree _q30 = gimple_assign_rhs1 (_a1);
   22062                 :         110 :                   _q30 = do_valueize (valueize, _q30);
   22063                 :         110 :                   tree _q31 = gimple_assign_rhs2 (_a1);
   22064                 :         110 :                   _q31 = do_valueize (valueize, _q31);
   22065                 :         110 :                   {
   22066                 :         110 :                     tree captures[5] ATTRIBUTE_UNUSED = { _p0, _p1, _q30, _q31, _p2 };
   22067                 :         110 :                     {
   22068                 :         110 :  tree op_type = TREE_TYPE (captures[1]);
   22069                 :         110 :                         if (vectorized_internal_fn_supported_p (as_internal_fn (CFN_COND_SHL), op_type)
   22070                 :         100 :  && is_truth_type_for (op_type, TREE_TYPE (captures[0]))
   22071                 :         210 :  && single_use (captures[1])
   22072                 :             : )
   22073                 :             :                           {
   22074                 :         100 :                             gimple_seq *lseq = seq;
   22075                 :         100 :                             if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail2320;
   22076                 :         100 :                             {
   22077                 :         100 :                               res_op->set_op (VIEW_CONVERT_EXPR, type, 1);
   22078                 :         100 :                               {
   22079                 :         100 :                                 tree _o1[4], _r1;
   22080                 :         100 :                                 _o1[0] = captures[0];
   22081                 :         100 :                                 _o1[1] = captures[2];
   22082                 :         100 :                                 _o1[2] = captures[3];
   22083                 :         100 :                                 {
   22084                 :         100 :                                   tree _o2[1], _r2;
   22085                 :         100 :                                   _o2[0] = captures[4];
   22086                 :         100 :                                   gimple_match_op tem_op (res_op->cond.any_else (), VIEW_CONVERT_EXPR, op_type, _o2[0]);
   22087                 :         100 :                                   tem_op.resimplify (lseq, valueize);
   22088                 :         100 :                                   _r2 = maybe_push_res_to_seq (&tem_op, lseq);
   22089                 :         100 :                                   if (!_r2) goto next_after_fail2320;
   22090                 :         100 :                                   _o1[3] = _r2;
   22091                 :             :                                 }
   22092                 :         100 :                                 gimple_match_op tem_op (res_op->cond.any_else (), CFN_COND_SHL, TREE_TYPE (_o1[1]), _o1[0], _o1[1], _o1[2], _o1[3]);
   22093                 :         100 :                                 tem_op.resimplify (lseq, valueize);
   22094                 :         100 :                                 _r1 = maybe_push_res_to_seq (&tem_op, lseq);
   22095                 :         100 :                                 if (!_r1) goto next_after_fail2320;
   22096                 :          35 :                                 res_op->ops[0] = _r1;
   22097                 :             :                               }
   22098                 :          35 :                               res_op->resimplify (lseq, valueize);
   22099                 :          35 :                               if (UNLIKELY (debug_dump)) gimple_dump_logs ("match.pd", 1124, __FILE__, __LINE__, true);
   22100                 :          35 :                               return true;
   22101                 :             :                             }
   22102                 :          75 : next_after_fail2320:;
   22103                 :             :                           }
   22104                 :             :                     }
   22105                 :             :                   }
   22106                 :          75 :                   break;
   22107                 :             :                 }
   22108                 :         233 :               case RSHIFT_EXPR:
   22109                 :         233 :                 {
   22110                 :         233 :                   tree _q30 = gimple_assign_rhs1 (_a1);
   22111                 :         233 :                   _q30 = do_valueize (valueize, _q30);
   22112                 :         233 :                   tree _q31 = gimple_assign_rhs2 (_a1);
   22113                 :         233 :                   _q31 = do_valueize (valueize, _q31);
   22114                 :         233 :                   {
   22115                 :         233 :                     tree captures[5] ATTRIBUTE_UNUSED = { _p0, _p1, _q30, _q31, _p2 };
   22116                 :         233 :                     {
   22117                 :         233 :  tree op_type = TREE_TYPE (captures[1]);
   22118                 :         233 :                         if (vectorized_internal_fn_supported_p (as_internal_fn (CFN_COND_SHR), op_type)
   22119                 :         185 :  && is_truth_type_for (op_type, TREE_TYPE (captures[0]))
   22120                 :         418 :  && single_use (captures[1])
   22121                 :             : )
   22122                 :             :                           {
   22123                 :         185 :                             gimple_seq *lseq = seq;
   22124                 :         185 :                             if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail2321;
   22125                 :         185 :                             {
   22126                 :         185 :                               res_op->set_op (VIEW_CONVERT_EXPR, type, 1);
   22127                 :         185 :                               {
   22128                 :         185 :                                 tree _o1[4], _r1;
   22129                 :         185 :                                 _o1[0] = captures[0];
   22130                 :         185 :                                 _o1[1] = captures[2];
   22131                 :         185 :                                 _o1[2] = captures[3];
   22132                 :         185 :                                 {
   22133                 :         185 :                                   tree _o2[1], _r2;
   22134                 :         185 :                                   _o2[0] = captures[4];
   22135                 :         185 :                                   gimple_match_op tem_op (res_op->cond.any_else (), VIEW_CONVERT_EXPR, op_type, _o2[0]);
   22136                 :         185 :                                   tem_op.resimplify (lseq, valueize);
   22137                 :         185 :                                   _r2 = maybe_push_res_to_seq (&tem_op, lseq);
   22138                 :         185 :                                   if (!_r2) goto next_after_fail2321;
   22139                 :         185 :                                   _o1[3] = _r2;
   22140                 :             :                                 }
   22141                 :         185 :                                 gimple_match_op tem_op (res_op->cond.any_else (), CFN_COND_SHR, TREE_TYPE (_o1[1]), _o1[0], _o1[1], _o1[2], _o1[3]);
   22142                 :         185 :                                 tem_op.resimplify (lseq, valueize);
   22143                 :         185 :                                 _r1 = maybe_push_res_to_seq (&tem_op, lseq);
   22144                 :         185 :                                 if (!_r1) goto next_after_fail2321;
   22145                 :          55 :                                 res_op->ops[0] = _r1;
   22146                 :             :                               }
   22147                 :          55 :                               res_op->resimplify (lseq, valueize);
   22148                 :          55 :                               if (UNLIKELY (debug_dump)) gimple_dump_logs ("match.pd", 1124, __FILE__, __LINE__, true);
   22149                 :          55 :                               return true;
   22150                 :             :                             }
   22151                 :         178 : next_after_fail2321:;
   22152                 :             :                           }
   22153                 :             :                     }
   22154                 :             :                   }
   22155                 :         178 :                   break;
   22156                 :             :                 }
   22157                 :             :               default:;
   22158                 :             :               }
   22159                 :        9854 :           else if (gcall *_c1 = dyn_cast <gcall *> (_d1))
   22160                 :        1019 :             switch (gimple_call_combined_fn (_c1))
   22161                 :             :               {
   22162                 :           0 :               case CFN_FMAX:
   22163                 :           0 :                 if (gimple_call_num_args (_c1) == 2)
   22164                 :             :                   {
   22165                 :           0 :                     tree _q30 = gimple_call_arg (_c1, 0);
   22166                 :           0 :                     _q30 = do_valueize (valueize, _q30);
   22167                 :           0 :                     tree _q31 = gimple_call_arg (_c1, 1);
   22168                 :           0 :                     _q31 = do_valueize (valueize, _q31);
   22169                 :           0 :                     {
   22170                 :           0 :                       tree captures[5] ATTRIBUTE_UNUSED = { _p0, _p1, _q30, _q31, _p2 };
   22171                 :           0 :                       {
   22172                 :           0 :  tree op_type = TREE_TYPE (captures[1]);
   22173                 :           0 :                           if (vectorized_internal_fn_supported_p (as_internal_fn (CFN_COND_FMAX), op_type)
   22174                 :           0 :  && is_truth_type_for (op_type, TREE_TYPE (captures[0]))
   22175                 :           0 :  && single_use (captures[1])
   22176                 :             : )
   22177                 :             :                             {
   22178                 :           0 :                               gimple_seq *lseq = seq;
   22179                 :           0 :                               if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail2322;
   22180                 :           0 :                               {
   22181                 :           0 :                                 res_op->set_op (VIEW_CONVERT_EXPR, type, 1);
   22182                 :           0 :                                 {
   22183                 :           0 :                                   tree _o1[4], _r1;
   22184                 :           0 :                                   _o1[0] = captures[0];
   22185                 :           0 :                                   _o1[1] = captures[2];
   22186                 :           0 :                                   _o1[2] = captures[3];
   22187                 :           0 :                                   {
   22188                 :           0 :                                     tree _o2[1], _r2;
   22189                 :           0 :                                     _o2[0] = captures[4];
   22190                 :           0 :                                     gimple_match_op tem_op (res_op->cond.any_else (), VIEW_CONVERT_EXPR, op_type, _o2[0]);
   22191                 :           0 :                                     tem_op.resimplify (lseq, valueize);
   22192                 :           0 :                                     _r2 = maybe_push_res_to_seq (&tem_op, lseq);
   22193                 :           0 :                                     if (!_r2) goto next_after_fail2322;
   22194                 :           0 :                                     _o1[3] = _r2;
   22195                 :             :                                   }
   22196                 :           0 :                                   gimple_match_op tem_op (res_op->cond.any_else (), CFN_COND_FMAX, TREE_TYPE (_o1[1]), _o1[0], _o1[1], _o1[2], _o1[3]);
   22197                 :           0 :                                   tem_op.resimplify (lseq, valueize);
   22198                 :           0 :                                   _r1 = maybe_push_res_to_seq (&tem_op, lseq);
   22199                 :           0 :                                   if (!_r1) goto next_after_fail2322;
   22200                 :           0 :                                   res_op->ops[0] = _r1;
   22201                 :             :                                 }
   22202                 :           0 :                                 res_op->resimplify (lseq, valueize);
   22203                 :           0 :                                 if (UNLIKELY (debug_dump)) gimple_dump_logs ("match.pd", 1124, __FILE__, __LINE__, true);
   22204                 :           0 :                                 return true;
   22205                 :             :                               }
   22206                 :           0 : next_after_fail2322:;
   22207                 :             :                             }
   22208                 :             :                       }
   22209                 :             :                     }
   22210                 :             :                   }
   22211                 :             :                 break;
   22212                 :           0 :               case CFN_FMIN:
   22213                 :           0 :                 if (gimple_call_num_args (_c1) == 2)
   22214                 :             :                   {
   22215                 :           0 :                     tree _q30 = gimple_call_arg (_c1, 0);
   22216                 :           0 :                     _q30 = do_valueize (valueize, _q30);
   22217                 :           0 :                     tree _q31 = gimple_call_arg (_c1, 1);
   22218                 :           0 :                     _q31 = do_valueize (valueize, _q31);
   22219                 :           0 :                     {
   22220                 :           0 :                       tree captures[5] ATTRIBUTE_UNUSED = { _p0, _p1, _q30, _q31, _p2 };
   22221                 :           0 :                       {
   22222                 :           0 :  tree op_type = TREE_TYPE (captures[1]);
   22223                 :           0 :                           if (vectorized_internal_fn_supported_p (as_internal_fn (CFN_COND_FMIN), op_type)
   22224                 :           0 :  && is_truth_type_for (op_type, TREE_TYPE (captures[0]))
   22225                 :           0 :  && single_use (captures[1])
   22226                 :             : )
   22227                 :             :                             {
   22228                 :           0 :                               gimple_seq *lseq = seq;
   22229                 :           0 :                               if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail2323;
   22230                 :           0 :                               {
   22231                 :           0 :                                 res_op->set_op (VIEW_CONVERT_EXPR, type, 1);
   22232                 :           0 :                                 {
   22233                 :           0 :                                   tree _o1[4], _r1;
   22234                 :           0 :                                   _o1[0] = captures[0];
   22235                 :           0 :                                   _o1[1] = captures[2];
   22236                 :           0 :                                   _o1[2] = captures[3];
   22237                 :           0 :                                   {
   22238                 :           0 :                                     tree _o2[1], _r2;
   22239                 :           0 :                                     _o2[0] = captures[4];
   22240                 :           0 :                                     gimple_match_op tem_op (res_op->cond.any_else (), VIEW_CONVERT_EXPR, op_type, _o2[0]);
   22241                 :           0 :                                     tem_op.resimplify (lseq, valueize);
   22242                 :           0 :                                     _r2 = maybe_push_res_to_seq (&tem_op, lseq);
   22243                 :           0 :                                     if (!_r2) goto next_after_fail2323;
   22244                 :           0 :                                     _o1[3] = _r2;
   22245                 :             :                                   }
   22246                 :           0 :                                   gimple_match_op tem_op (res_op->cond.any_else (), CFN_COND_FMIN, TREE_TYPE (_o1[1]), _o1[0], _o1[1], _o1[2], _o1[3]);
   22247                 :           0 :                                   tem_op.resimplify (lseq, valueize);
   22248                 :           0 :                                   _r1 = maybe_push_res_to_seq (&tem_op, lseq);
   22249                 :           0 :                                   if (!_r1) goto next_after_fail2323;
   22250                 :           0 :                                   res_op->ops[0] = _r1;
   22251                 :             :                                 }
   22252                 :           0 :                                 res_op->resimplify (lseq, valueize);
   22253                 :           0 :                                 if (UNLIKELY (debug_dump)) gimple_dump_logs ("match.pd", 1124, __FILE__, __LINE__, true);
   22254                 :           0 :                                 return true;
   22255                 :             :                               }
   22256                 :           0 : next_after_fail2323:;
   22257                 :             :                             }
   22258                 :             :                       }
   22259                 :             :                     }
   22260                 :             :                   }
   22261                 :             :                 break;
   22262                 :           0 :               case CFN_COPYSIGN:
   22263                 :           0 :                 if (gimple_call_num_args (_c1) == 2)
   22264                 :             :                   {
   22265                 :           0 :                     tree _q30 = gimple_call_arg (_c1, 0);
   22266                 :           0 :                     _q30 = do_valueize (valueize, _q30);
   22267                 :           0 :                     tree _q31 = gimple_call_arg (_c1, 1);
   22268                 :           0 :                     _q31 = do_valueize (valueize, _q31);
   22269                 :           0 :                     {
   22270                 :           0 :                       tree captures[5] ATTRIBUTE_UNUSED = { _p0, _p1, _q30, _q31, _p2 };
   22271                 :           0 :                       {
   22272                 :           0 :  tree op_type = TREE_TYPE (captures[1]);
   22273                 :           0 :                           if (vectorized_internal_fn_supported_p (as_internal_fn (CFN_COND_COPYSIGN), op_type)
   22274                 :           0 :  && is_truth_type_for (op_type, TREE_TYPE (captures[0]))
   22275                 :           0 :  && single_use (captures[1])
   22276                 :             : )
   22277                 :             :                             {
   22278                 :           0 :                               gimple_seq *lseq = seq;
   22279                 :           0 :                               if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail2324;
   22280                 :           0 :                               {
   22281                 :           0 :                                 res_op->set_op (VIEW_CONVERT_EXPR, type, 1);
   22282                 :           0 :                                 {
   22283                 :           0 :                                   tree _o1[4], _r1;
   22284                 :           0 :                                   _o1[0] = captures[0];
   22285                 :           0 :                                   _o1[1] = captures[2];
   22286                 :           0 :                                   _o1[2] = captures[3];
   22287                 :           0 :                                   {
   22288                 :           0 :                                     tree _o2[1], _r2;
   22289                 :           0 :                                     _o2[0] = captures[4];
   22290                 :           0 :                                     gimple_match_op tem_op (res_op->cond.any_else (), VIEW_CONVERT_EXPR, op_type, _o2[0]);
   22291                 :           0 :                                     tem_op.resimplify (lseq, valueize);
   22292                 :           0 :                                     _r2 = maybe_push_res_to_seq (&tem_op, lseq);
   22293                 :           0 :                                     if (!_r2) goto next_after_fail2324;
   22294                 :           0 :                                     _o1[3] = _r2;
   22295                 :             :                                   }
   22296                 :           0 :                                   gimple_match_op tem_op (res_op->cond.any_else (), CFN_COND_COPYSIGN, TREE_TYPE (_o1[1]), _o1[0], _o1[1], _o1[2], _o1[3]);
   22297                 :           0 :                                   tem_op.resimplify (lseq, valueize);
   22298                 :           0 :                                   _r1 = maybe_push_res_to_seq (&tem_op, lseq);
   22299                 :           0 :                                   if (!_r1) goto next_after_fail2324;
   22300                 :           0 :                                   res_op->ops[0] = _r1;
   22301                 :             :                                 }
   22302                 :           0 :                                 res_op->resimplify (lseq, valueize);
   22303                 :           0 :                                 if (UNLIKELY (debug_dump)) gimple_dump_logs ("match.pd", 1124, __FILE__, __LINE__, true);
   22304                 :           0 :                                 return true;
   22305                 :             :                               }
   22306                 :           0 : next_after_fail2324:;
   22307                 :             :                             }
   22308                 :             :                       }
   22309                 :             :                     }
   22310                 :             :                   }
   22311                 :             :                 break;
   22312                 :             :               default:;
   22313                 :             :               }
   22314                 :             :         }
   22315                 :             :       break;
   22316                 :      149175 :     default:;
   22317                 :             :     }
   22318                 :      149175 :   switch (TREE_CODE (_p2))
   22319                 :             :     {
   22320                 :       24050 :     case SSA_NAME:
   22321                 :       24050 :       if (gimple *_d1 = get_def (valueize, _p2))
   22322                 :             :         {
   22323                 :       22034 :           if (gassign *_a1 = dyn_cast <gassign *> (_d1))
   22324                 :       20661 :             switch (gimple_assign_rhs_code (_a1))
   22325                 :             :               {
   22326                 :        2340 :               case VIEW_CONVERT_EXPR:
   22327                 :        2340 :                 {
   22328                 :        2340 :                   tree _q40 = TREE_OPERAND (gimple_assign_rhs1 (_a1), 0);
   22329                 :        2340 :                   if ((TREE_CODE (_q40) == SSA_NAME
   22330                 :        2340 :                        || is_gimple_min_invariant (_q40)))
   22331                 :             :                     {
   22332                 :        2340 :                       _q40 = do_valueize (valueize, _q40);
   22333                 :        2340 :                       switch (TREE_CODE (_q40))
   22334                 :             :                         {
   22335                 :        2340 :                         case SSA_NAME:
   22336                 :        2340 :                           if (gimple *_d2 = get_def (valueize, _q40))
   22337                 :             :                             {
   22338                 :        2291 :                               if (gassign *_a2 = dyn_cast <gassign *> (_d2))
   22339                 :        1332 :                                 switch (gimple_assign_rhs_code (_a2))
   22340                 :             :                                   {
   22341                 :         533 :                                   case PLUS_EXPR:
   22342                 :         533 :                                     {
   22343                 :         533 :                                       tree _q50 = gimple_assign_rhs1 (_a2);
   22344                 :         533 :                                       _q50 = do_valueize (valueize, _q50);
   22345                 :         533 :                                       tree _q51 = gimple_assign_rhs2 (_a2);
   22346                 :         533 :                                       _q51 = do_valueize (valueize, _q51);
   22347                 :         533 :                                       if (tree_swap_operands_p (_q50, _q51))
   22348                 :          15 :                                         std::swap (_q50, _q51);
   22349                 :         533 :                                       {
   22350                 :         533 :                                         tree captures[5] ATTRIBUTE_UNUSED = { _p0, _p1, _q40, _q50, _q51 };
   22351                 :         533 :                                         {
   22352                 :         533 :  tree op_type = TREE_TYPE (captures[2]);
   22353                 :         533 :                                             if (vectorized_internal_fn_supported_p (as_internal_fn (CFN_COND_ADD), op_type)
   22354                 :          56 :  && is_truth_type_for (op_type, TREE_TYPE (captures[0]))
   22355                 :         589 :  && single_use (captures[2])
   22356                 :             : )
   22357                 :             :                                               {
   22358                 :          30 :                                                 gimple_seq *lseq = seq;
   22359                 :          30 :                                                 if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail2325;
   22360                 :          30 :                                                 {
   22361                 :          30 :                                                   res_op->set_op (VIEW_CONVERT_EXPR, type, 1);
   22362                 :          30 :                                                   {
   22363                 :          30 :                                                     tree _o1[4], _r1;
   22364                 :          30 :                                                     {
   22365                 :          30 :                                                       tree _o2[1], _r2;
   22366                 :          30 :                                                       _o2[0] = captures[0];
   22367                 :          30 :                                                       gimple_match_op tem_op (res_op->cond.any_else (), BIT_NOT_EXPR, TREE_TYPE (_o2[0]), _o2[0]);
   22368                 :          30 :                                                       tem_op.resimplify (lseq, valueize);
   22369                 :          30 :                                                       _r2 = maybe_push_res_to_seq (&tem_op, lseq);
   22370                 :          30 :                                                       if (!_r2) goto next_after_fail2325;
   22371                 :          12 :                                                       _o1[0] = _r2;
   22372                 :             :                                                     }
   22373                 :          12 :                                                     _o1[1] = captures[3];
   22374                 :          12 :                                                     _o1[2] = captures[4];
   22375                 :          12 :                                                     {
   22376                 :          12 :                                                       tree _o2[1], _r2;
   22377                 :          12 :                                                       _o2[0] = captures[1];
   22378                 :          12 :                                                       gimple_match_op tem_op (res_op->cond.any_else (), VIEW_CONVERT_EXPR, op_type, _o2[0]);
   22379                 :          12 :                                                       tem_op.resimplify (lseq, valueize);
   22380                 :          12 :                                                       _r2 = maybe_push_res_to_seq (&tem_op, lseq);
   22381                 :          12 :                                                       if (!_r2) goto next_after_fail2325;
   22382                 :          12 :                                                       _o1[3] = _r2;
   22383                 :             :                                                     }
   22384                 :          12 :                                                     gimple_match_op tem_op (res_op->cond.any_else (), CFN_COND_ADD, TREE_TYPE (_o1[1]), _o1[0], _o1[1], _o1[2], _o1[3]);
   22385                 :          12 :                                                     tem_op.resimplify (lseq, valueize);
   22386                 :          12 :                                                     _r1 = maybe_push_res_to_seq (&tem_op, lseq);
   22387                 :          12 :                                                     if (!_r1) goto next_after_fail2325;
   22388                 :          12 :                                                     res_op->ops[0] = _r1;
   22389                 :             :                                                   }
   22390                 :          12 :                                                   res_op->resimplify (lseq, valueize);
   22391                 :          12 :                                                   if (UNLIKELY (debug_dump)) gimple_dump_logs ("match.pd", 1125, __FILE__, __LINE__, true);
   22392                 :          12 :                                                   return true;
   22393                 :             :                                                 }
   22394                 :         521 : next_after_fail2325:;
   22395                 :             :                                               }
   22396                 :             :                                         }
   22397                 :             :                                       }
   22398                 :         521 :                                       break;
   22399                 :             :                                     }
   22400                 :         120 :                                   case MINUS_EXPR:
   22401                 :         120 :                                     {
   22402                 :         120 :                                       tree _q50 = gimple_assign_rhs1 (_a2);
   22403                 :         120 :                                       _q50 = do_valueize (valueize, _q50);
   22404                 :         120 :                                       tree _q51 = gimple_assign_rhs2 (_a2);
   22405                 :         120 :                                       _q51 = do_valueize (valueize, _q51);
   22406                 :         120 :                                       {
   22407                 :         120 :                                         tree captures[5] ATTRIBUTE_UNUSED = { _p0, _p1, _q40, _q50, _q51 };
   22408                 :         120 :                                         {
   22409                 :         120 :  tree op_type = TREE_TYPE (captures[2]);
   22410                 :         120 :                                             if (vectorized_internal_fn_supported_p (as_internal_fn (CFN_COND_SUB), op_type)
   22411                 :          84 :  && is_truth_type_for (op_type, TREE_TYPE (captures[0]))
   22412                 :         204 :  && single_use (captures[2])
   22413                 :             : )
   22414                 :             :                                               {
   22415                 :          84 :                                                 gimple_seq *lseq = seq;
   22416                 :          84 :                                                 if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail2326;
   22417                 :          84 :                                                 {
   22418                 :          84 :                                                   res_op->set_op (VIEW_CONVERT_EXPR, type, 1);
   22419                 :          84 :                                                   {
   22420                 :          84 :                                                     tree _o1[4], _r1;
   22421                 :          84 :                                                     {
   22422                 :          84 :                                                       tree _o2[1], _r2;
   22423                 :          84 :                                                       _o2[0] = captures[0];
   22424                 :          84 :                                                       gimple_match_op tem_op (res_op->cond.any_else (), BIT_NOT_EXPR, TREE_TYPE (_o2[0]), _o2[0]);
   22425                 :          84 :                                                       tem_op.resimplify (lseq, valueize);
   22426                 :          84 :                                                       _r2 = maybe_push_res_to_seq (&tem_op, lseq);
   22427                 :          84 :                                                       if (!_r2) goto next_after_fail2326;
   22428                 :           0 :                                                       _o1[0] = _r2;
   22429                 :             :                                                     }
   22430                 :           0 :                                                     _o1[1] = captures[3];
   22431                 :           0 :                                                     _o1[2] = captures[4];
   22432                 :           0 :                                                     {
   22433                 :           0 :                                                       tree _o2[1], _r2;
   22434                 :           0 :                                                       _o2[0] = captures[1];
   22435                 :           0 :                                                       gimple_match_op tem_op (res_op->cond.any_else (), VIEW_CONVERT_EXPR, op_type, _o2[0]);
   22436                 :           0 :                                                       tem_op.resimplify (lseq, valueize);
   22437                 :           0 :                                                       _r2 = maybe_push_res_to_seq (&tem_op, lseq);
   22438                 :           0 :                                                       if (!_r2) goto next_after_fail2326;
   22439                 :           0 :                                                       _o1[3] = _r2;
   22440                 :             :                                                     }
   22441                 :           0 :                                                     gimple_match_op tem_op (res_op->cond.any_else (), CFN_COND_SUB, TREE_TYPE (_o1[1]), _o1[0], _o1[1], _o1[2], _o1[3]);
   22442                 :           0 :                                                     tem_op.resimplify (lseq, valueize);
   22443                 :           0 :                                                     _r1 = maybe_push_res_to_seq (&tem_op, lseq);
   22444                 :           0 :                                                     if (!_r1) goto next_after_fail2326;
   22445                 :           0 :                                                     res_op->ops[0] = _r1;
   22446                 :             :                                                   }
   22447                 :           0 :                                                   res_op->resimplify (lseq, valueize);
   22448                 :           0 :                                                   if (UNLIKELY (debug_dump)) gimple_dump_logs ("match.pd", 1125, __FILE__, __LINE__, true);
   22449                 :           0 :                                                   return true;
   22450                 :             :                                                 }
   22451                 :         120 : next_after_fail2326:;
   22452                 :             :                                               }
   22453                 :             :                                         }
   22454                 :             :                                       }
   22455                 :         120 :                                       break;
   22456                 :             :                                     }
   22457                 :         140 :                                   case MULT_EXPR:
   22458                 :         140 :                                     {
   22459                 :         140 :                                       tree _q50 = gimple_assign_rhs1 (_a2);
   22460                 :         140 :                                       _q50 = do_valueize (valueize, _q50);
   22461                 :         140 :                                       tree _q51 = gimple_assign_rhs2 (_a2);
   22462                 :         140 :                                       _q51 = do_valueize (valueize, _q51);
   22463                 :         140 :                                       if (tree_swap_operands_p (_q50, _q51))
   22464                 :           8 :                                         std::swap (_q50, _q51);
   22465                 :         140 :                                       {
   22466                 :         140 :                                         tree captures[5] ATTRIBUTE_UNUSED = { _p0, _p1, _q40, _q50, _q51 };
   22467                 :         140 :                                         {
   22468                 :         140 :  tree op_type = TREE_TYPE (captures[2]);
   22469                 :         140 :                                             if (vectorized_internal_fn_supported_p (as_internal_fn (CFN_COND_MUL), op_type)
   22470                 :           0 :  && is_truth_type_for (op_type, TREE_TYPE (captures[0]))
   22471                 :         140 :  && single_use (captures[2])
   22472                 :             : )
   22473                 :             :                                               {
   22474                 :           0 :                                                 gimple_seq *lseq = seq;
   22475                 :           0 :                                                 if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail2327;
   22476                 :           0 :                                                 {
   22477                 :           0 :                                                   res_op->set_op (VIEW_CONVERT_EXPR, type, 1);
   22478                 :           0 :                                                   {
   22479                 :           0 :                                                     tree _o1[4], _r1;
   22480                 :           0 :                                                     {
   22481                 :           0 :                                                       tree _o2[1], _r2;
   22482                 :           0 :                                                       _o2[0] = captures[0];
   22483                 :           0 :                                                       gimple_match_op tem_op (res_op->cond.any_else (), BIT_NOT_EXPR, TREE_TYPE (_o2[0]), _o2[0]);
   22484                 :           0 :                                                       tem_op.resimplify (lseq, valueize);
   22485                 :           0 :                                                       _r2 = maybe_push_res_to_seq (&tem_op, lseq);
   22486                 :           0 :                                                       if (!_r2) goto next_after_fail2327;
   22487                 :           0 :                                                       _o1[0] = _r2;
   22488                 :             :                                                     }
   22489                 :           0 :                                                     _o1[1] = captures[3];
   22490                 :           0 :                                                     _o1[2] = captures[4];
   22491                 :           0 :                                                     {
   22492                 :           0 :                                                       tree _o2[1], _r2;
   22493                 :           0 :                                                       _o2[0] = captures[1];
   22494                 :           0 :                                                       gimple_match_op tem_op (res_op->cond.any_else (), VIEW_CONVERT_EXPR, op_type, _o2[0]);
   22495                 :           0 :                                                       tem_op.resimplify (lseq, valueize);
   22496                 :           0 :                                                       _r2 = maybe_push_res_to_seq (&tem_op, lseq);
   22497                 :           0 :                                                       if (!_r2) goto next_after_fail2327;
   22498                 :           0 :                                                       _o1[3] = _r2;
   22499                 :             :                                                     }
   22500                 :           0 :                                                     gimple_match_op tem_op (res_op->cond.any_else (), CFN_COND_MUL, TREE_TYPE (_o1[1]), _o1[0], _o1[1], _o1[2], _o1[3]);
   22501                 :           0 :                                                     tem_op.resimplify (lseq, valueize);
   22502                 :           0 :                                                     _r1 = maybe_push_res_to_seq (&tem_op, lseq);
   22503                 :           0 :                                                     if (!_r1) goto next_after_fail2327;
   22504                 :           0 :                                                     res_op->ops[0] = _r1;
   22505                 :             :                                                   }
   22506                 :           0 :                                                   res_op->resimplify (lseq, valueize);
   22507                 :           0 :                                                   if (UNLIKELY (debug_dump)) gimple_dump_logs ("match.pd", 1125, __FILE__, __LINE__, true);
   22508                 :           0 :                                                   return true;
   22509                 :             :                                                 }
   22510                 :         140 : next_after_fail2327:;
   22511                 :             :                                               }
   22512                 :             :                                         }
   22513                 :             :                                       }
   22514                 :         140 :                                       break;
   22515                 :             :                                     }
   22516                 :           0 :                                   case TRUNC_DIV_EXPR:
   22517                 :           0 :                                     {
   22518                 :           0 :                                       tree _q50 = gimple_assign_rhs1 (_a2);
   22519                 :           0 :                                       _q50 = do_valueize (valueize, _q50);
   22520                 :           0 :                                       tree _q51 = gimple_assign_rhs2 (_a2);
   22521                 :           0 :                                       _q51 = do_valueize (valueize, _q51);
   22522                 :           0 :                                       {
   22523                 :           0 :                                         tree captures[5] ATTRIBUTE_UNUSED = { _p0, _p1, _q40, _q50, _q51 };
   22524                 :           0 :                                         {
   22525                 :           0 :  tree op_type = TREE_TYPE (captures[2]);
   22526                 :           0 :                                             if (vectorized_internal_fn_supported_p (as_internal_fn (CFN_COND_DIV), op_type)
   22527                 :           0 :  && is_truth_type_for (op_type, TREE_TYPE (captures[0]))
   22528                 :           0 :  && single_use (captures[2])
   22529                 :             : )
   22530                 :             :                                               {
   22531                 :           0 :                                                 gimple_seq *lseq = seq;
   22532                 :           0 :                                                 if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail2328;
   22533                 :           0 :                                                 {
   22534                 :           0 :                                                   res_op->set_op (VIEW_CONVERT_EXPR, type, 1);
   22535                 :           0 :                                                   {
   22536                 :           0 :                                                     tree _o1[4], _r1;
   22537                 :           0 :                                                     {
   22538                 :           0 :                                                       tree _o2[1], _r2;
   22539                 :           0 :                                                       _o2[0] = captures[0];
   22540                 :           0 :                                                       gimple_match_op tem_op (res_op->cond.any_else (), BIT_NOT_EXPR, TREE_TYPE (_o2[0]), _o2[0]);
   22541                 :           0 :                                                       tem_op.resimplify (lseq, valueize);
   22542                 :           0 :                                                       _r2 = maybe_push_res_to_seq (&tem_op, lseq);
   22543                 :           0 :                                                       if (!_r2) goto next_after_fail2328;
   22544                 :           0 :                                                       _o1[0] = _r2;
   22545                 :             :                                                     }
   22546                 :           0 :                                                     _o1[1] = captures[3];
   22547                 :           0 :                                                     _o1[2] = captures[4];
   22548                 :           0 :                                                     {
   22549                 :           0 :                                                       tree _o2[1], _r2;
   22550                 :           0 :                                                       _o2[0] = captures[1];
   22551                 :           0 :                                                       gimple_match_op tem_op (res_op->cond.any_else (), VIEW_CONVERT_EXPR, op_type, _o2[0]);
   22552                 :           0 :                                                       tem_op.resimplify (lseq, valueize);
   22553                 :           0 :                                                       _r2 = maybe_push_res_to_seq (&tem_op, lseq);
   22554                 :           0 :                                                       if (!_r2) goto next_after_fail2328;
   22555                 :           0 :                                                       _o1[3] = _r2;
   22556                 :             :                                                     }
   22557                 :           0 :                                                     gimple_match_op tem_op (res_op->cond.any_else (), CFN_COND_DIV, TREE_TYPE (_o1[1]), _o1[0], _o1[1], _o1[2], _o1[3]);
   22558                 :           0 :                                                     tem_op.resimplify (lseq, valueize);
   22559                 :           0 :                                                     _r1 = maybe_push_res_to_seq (&tem_op, lseq);
   22560                 :           0 :                                                     if (!_r1) goto next_after_fail2328;
   22561                 :           0 :                                                     res_op->ops[0] = _r1;
   22562                 :             :                                                   }
   22563                 :           0 :                                                   res_op->resimplify (lseq, valueize);
   22564                 :           0 :                                                   if (UNLIKELY (debug_dump)) gimple_dump_logs ("match.pd", 1125, __FILE__, __LINE__, true);
   22565                 :           0 :                                                   return true;
   22566                 :             :                                                 }
   22567                 :           0 : next_after_fail2328:;
   22568                 :             :                                               }
   22569                 :             :                                         }
   22570                 :             :                                       }
   22571                 :           0 :                                       break;
   22572                 :             :                                     }
   22573                 :           0 :                                   case TRUNC_MOD_EXPR:
   22574                 :           0 :                                     {
   22575                 :           0 :                                       tree _q50 = gimple_assign_rhs1 (_a2);
   22576                 :           0 :                                       _q50 = do_valueize (valueize, _q50);
   22577                 :           0 :                                       tree _q51 = gimple_assign_rhs2 (_a2);
   22578                 :           0 :                                       _q51 = do_valueize (valueize, _q51);
   22579                 :           0 :                                       {
   22580                 :           0 :                                         tree captures[5] ATTRIBUTE_UNUSED = { _p0, _p1, _q40, _q50, _q51 };
   22581                 :           0 :                                         {
   22582                 :           0 :  tree op_type = TREE_TYPE (captures[2]);
   22583                 :           0 :                                             if (vectorized_internal_fn_supported_p (as_internal_fn (CFN_COND_MOD), op_type)
   22584                 :           0 :  && is_truth_type_for (op_type, TREE_TYPE (captures[0]))
   22585                 :           0 :  && single_use (captures[2])
   22586                 :             : )
   22587                 :             :                                               {
   22588                 :           0 :                                                 gimple_seq *lseq = seq;
   22589                 :           0 :                                                 if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail2329;
   22590                 :           0 :                                                 {
   22591                 :           0 :                                                   res_op->set_op (VIEW_CONVERT_EXPR, type, 1);
   22592                 :           0 :                                                   {
   22593                 :           0 :                                                     tree _o1[4], _r1;
   22594                 :           0 :                                                     {
   22595                 :           0 :                                                       tree _o2[1], _r2;
   22596                 :           0 :                                                       _o2[0] = captures[0];
   22597                 :           0 :                                                       gimple_match_op tem_op (res_op->cond.any_else (), BIT_NOT_EXPR, TREE_TYPE (_o2[0]), _o2[0]);
   22598                 :           0 :                                                       tem_op.resimplify (lseq, valueize);
   22599                 :           0 :                                                       _r2 = maybe_push_res_to_seq (&tem_op, lseq);
   22600                 :           0 :                                                       if (!_r2) goto next_after_fail2329;
   22601                 :           0 :                                                       _o1[0] = _r2;
   22602                 :             :                                                     }
   22603                 :           0 :                                                     _o1[1] = captures[3];
   22604                 :           0 :                                                     _o1[2] = captures[4];
   22605                 :           0 :                                                     {
   22606                 :           0 :                                                       tree _o2[1], _r2;
   22607                 :           0 :                                                       _o2[0] = captures[1];
   22608                 :           0 :                                                       gimple_match_op tem_op (res_op->cond.any_else (), VIEW_CONVERT_EXPR, op_type, _o2[0]);
   22609                 :           0 :                                                       tem_op.resimplify (lseq, valueize);
   22610                 :           0 :                                                       _r2 = maybe_push_res_to_seq (&tem_op, lseq);
   22611                 :           0 :                                                       if (!_r2) goto next_after_fail2329;
   22612                 :           0 :                                                       _o1[3] = _r2;
   22613                 :             :                                                     }
   22614                 :           0 :                                                     gimple_match_op tem_op (res_op->cond.any_else (), CFN_COND_MOD, TREE_TYPE (_o1[1]), _o1[0], _o1[1], _o1[2], _o1[3]);
   22615                 :           0 :                                                     tem_op.resimplify (lseq, valueize);
   22616                 :           0 :                                                     _r1 = maybe_push_res_to_seq (&tem_op, lseq);
   22617                 :           0 :                                                     if (!_r1) goto next_after_fail2329;
   22618                 :           0 :                                                     res_op->ops[0] = _r1;
   22619                 :             :                                                   }
   22620                 :           0 :                                                   res_op->resimplify (lseq, valueize);
   22621                 :           0 :                                                   if (UNLIKELY (debug_dump)) gimple_dump_logs ("match.pd", 1125, __FILE__, __LINE__, true);
   22622                 :           0 :                                                   return true;
   22623                 :             :                                                 }
   22624                 :           0 : next_after_fail2329:;
   22625                 :             :                                               }
   22626                 :             :                                         }
   22627                 :             :                                       }
   22628                 :           0 :                                       break;
   22629                 :             :                                     }
   22630                 :           0 :                                   case RDIV_EXPR:
   22631                 :           0 :                                     {
   22632                 :           0 :                                       tree _q50 = gimple_assign_rhs1 (_a2);
   22633                 :           0 :                                       _q50 = do_valueize (valueize, _q50);
   22634                 :           0 :                                       tree _q51 = gimple_assign_rhs2 (_a2);
   22635                 :           0 :                                       _q51 = do_valueize (valueize, _q51);
   22636                 :           0 :                                       {
   22637                 :           0 :                                         tree captures[5] ATTRIBUTE_UNUSED = { _p0, _p1, _q40, _q50, _q51 };
   22638                 :           0 :                                         {
   22639                 :           0 :  tree op_type = TREE_TYPE (captures[2]);
   22640                 :           0 :                                             if (vectorized_internal_fn_supported_p (as_internal_fn (CFN_COND_RDIV), op_type)
   22641                 :           0 :  && is_truth_type_for (op_type, TREE_TYPE (captures[0]))
   22642                 :           0 :  && single_use (captures[2])
   22643                 :             : )
   22644                 :             :                                               {
   22645                 :           0 :                                                 gimple_seq *lseq = seq;
   22646                 :           0 :                                                 if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail2330;
   22647                 :           0 :                                                 {
   22648                 :           0 :                                                   res_op->set_op (VIEW_CONVERT_EXPR, type, 1);
   22649                 :           0 :                                                   {
   22650                 :           0 :                                                     tree _o1[4], _r1;
   22651                 :           0 :                                                     {
   22652                 :           0 :                                                       tree _o2[1], _r2;
   22653                 :           0 :                                                       _o2[0] = captures[0];
   22654                 :           0 :                                                       gimple_match_op tem_op (res_op->cond.any_else (), BIT_NOT_EXPR, TREE_TYPE (_o2[0]), _o2[0]);
   22655                 :           0 :                                                       tem_op.resimplify (lseq, valueize);
   22656                 :           0 :                                                       _r2 = maybe_push_res_to_seq (&tem_op, lseq);
   22657                 :           0 :                                                       if (!_r2) goto next_after_fail2330;
   22658                 :           0 :                                                       _o1[0] = _r2;
   22659                 :             :                                                     }
   22660                 :           0 :                                                     _o1[1] = captures[3];
   22661                 :           0 :                                                     _o1[2] = captures[4];
   22662                 :           0 :                                                     {
   22663                 :           0 :                                                       tree _o2[1], _r2;
   22664                 :           0 :                                                       _o2[0] = captures[1];
   22665                 :           0 :                                                       gimple_match_op tem_op (res_op->cond.any_else (), VIEW_CONVERT_EXPR, op_type, _o2[0]);
   22666                 :           0 :                                                       tem_op.resimplify (lseq, valueize);
   22667                 :           0 :                                                       _r2 = maybe_push_res_to_seq (&tem_op, lseq);
   22668                 :           0 :                                                       if (!_r2) goto next_after_fail2330;
   22669                 :           0 :                                                       _o1[3] = _r2;
   22670                 :             :                                                     }
   22671                 :           0 :                                                     gimple_match_op tem_op (res_op->cond.any_else (), CFN_COND_RDIV, TREE_TYPE (_o1[1]), _o1[0], _o1[1], _o1[2], _o1[3]);
   22672                 :           0 :                                                     tem_op.resimplify (lseq, valueize);
   22673                 :           0 :                                                     _r1 = maybe_push_res_to_seq (&tem_op, lseq);
   22674                 :           0 :                                                     if (!_r1) goto next_after_fail2330;
   22675                 :           0 :                                                     res_op->ops[0] = _r1;
   22676                 :             :                                                   }
   22677                 :           0 :                                                   res_op->resimplify (lseq, valueize);
   22678                 :           0 :                                                   if (UNLIKELY (debug_dump)) gimple_dump_logs ("match.pd", 1125, __FILE__, __LINE__, true);
   22679                 :           0 :                                                   return true;
   22680                 :             :                                                 }
   22681                 :           0 : next_after_fail2330:;
   22682                 :             :                                               }
   22683                 :             :                                         }
   22684                 :             :                                       }
   22685                 :           0 :                                       break;
   22686                 :             :                                     }
   22687                 :           0 :                                   case MIN_EXPR:
   22688                 :           0 :                                     {
   22689                 :           0 :                                       tree _q50 = gimple_assign_rhs1 (_a2);
   22690                 :           0 :                                       _q50 = do_valueize (valueize, _q50);
   22691                 :           0 :                                       tree _q51 = gimple_assign_rhs2 (_a2);
   22692                 :           0 :                                       _q51 = do_valueize (valueize, _q51);
   22693                 :           0 :                                       if (tree_swap_operands_p (_q50, _q51))
   22694                 :           0 :                                         std::swap (_q50, _q51);
   22695                 :           0 :                                       {
   22696                 :           0 :                                         tree captures[5] ATTRIBUTE_UNUSED = { _p0, _p1, _q40, _q50, _q51 };
   22697                 :           0 :                                         {
   22698                 :           0 :  tree op_type = TREE_TYPE (captures[2]);
   22699                 :           0 :                                             if (vectorized_internal_fn_supported_p (as_internal_fn (CFN_COND_MIN), op_type)
   22700                 :           0 :  && is_truth_type_for (op_type, TREE_TYPE (captures[0]))
   22701                 :           0 :  && single_use (captures[2])
   22702                 :             : )
   22703                 :             :                                               {
   22704                 :           0 :                                                 gimple_seq *lseq = seq;
   22705                 :           0 :                                                 if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail2331;
   22706                 :           0 :                                                 {
   22707                 :           0 :                                                   res_op->set_op (VIEW_CONVERT_EXPR, type, 1);
   22708                 :           0 :                                                   {
   22709                 :           0 :                                                     tree _o1[4], _r1;
   22710                 :           0 :                                                     {
   22711                 :           0 :                                                       tree _o2[1], _r2;
   22712                 :           0 :                                                       _o2[0] = captures[0];
   22713                 :           0 :                                                       gimple_match_op tem_op (res_op->cond.any_else (), BIT_NOT_EXPR, TREE_TYPE (_o2[0]), _o2[0]);
   22714                 :           0 :                                                       tem_op.resimplify (lseq, valueize);
   22715                 :           0 :                                                       _r2 = maybe_push_res_to_seq (&tem_op, lseq);
   22716                 :           0 :                                                       if (!_r2) goto next_after_fail2331;
   22717                 :           0 :                                                       _o1[0] = _r2;
   22718                 :             :                                                     }
   22719                 :           0 :                                                     _o1[1] = captures[3];
   22720                 :           0 :                                                     _o1[2] = captures[4];
   22721                 :           0 :                                                     {
   22722                 :           0 :                                                       tree _o2[1], _r2;
   22723                 :           0 :                                                       _o2[0] = captures[1];
   22724                 :           0 :                                                       gimple_match_op tem_op (res_op->cond.any_else (), VIEW_CONVERT_EXPR, op_type, _o2[0]);
   22725                 :           0 :                                                       tem_op.resimplify (lseq, valueize);
   22726                 :           0 :                                                       _r2 = maybe_push_res_to_seq (&tem_op, lseq);
   22727                 :           0 :                                                       if (!_r2) goto next_after_fail2331;
   22728                 :           0 :                                                       _o1[3] = _r2;
   22729                 :             :                                                     }
   22730                 :           0 :                                                     gimple_match_op tem_op (res_op->cond.any_else (), CFN_COND_MIN, TREE_TYPE (_o1[1]), _o1[0], _o1[1], _o1[2], _o1[3]);
   22731                 :           0 :                                                     tem_op.resimplify (lseq, valueize);
   22732                 :           0 :                                                     _r1 = maybe_push_res_to_seq (&tem_op, lseq);
   22733                 :           0 :                                                     if (!_r1) goto next_after_fail2331;
   22734                 :           0 :                                                     res_op->ops[0] = _r1;
   22735                 :             :                                                   }
   22736                 :           0 :                                                   res_op->resimplify (lseq, valueize);
   22737                 :           0 :                                                   if (UNLIKELY (debug_dump)) gimple_dump_logs ("match.pd", 1125, __FILE__, __LINE__, true);
   22738                 :           0 :                                                   return true;
   22739                 :             :                                                 }
   22740                 :           0 : next_after_fail2331:;
   22741                 :             :                                               }
   22742                 :             :                                         }
   22743                 :             :                                       }
   22744                 :           0 :                                       break;
   22745                 :             :                                     }
   22746                 :           0 :                                   case MAX_EXPR:
   22747                 :           0 :                                     {
   22748                 :           0 :                                       tree _q50 = gimple_assign_rhs1 (_a2);
   22749                 :           0 :                                       _q50 = do_valueize (valueize, _q50);
   22750                 :           0 :                                       tree _q51 = gimple_assign_rhs2 (_a2);
   22751                 :           0 :                                       _q51 = do_valueize (valueize, _q51);
   22752                 :           0 :                                       if (tree_swap_operands_p (_q50, _q51))
   22753                 :           0 :                                         std::swap (_q50, _q51);
   22754                 :           0 :                                       {
   22755                 :           0 :                                         tree captures[5] ATTRIBUTE_UNUSED = { _p0, _p1, _q40, _q50, _q51 };
   22756                 :           0 :                                         {
   22757                 :           0 :  tree op_type = TREE_TYPE (captures[2]);
   22758                 :           0 :                                             if (vectorized_internal_fn_supported_p (as_internal_fn (CFN_COND_MAX), op_type)
   22759                 :           0 :  && is_truth_type_for (op_type, TREE_TYPE (captures[0]))
   22760                 :           0 :  && single_use (captures[2])
   22761                 :             : )
   22762                 :             :                                               {
   22763                 :           0 :                                                 gimple_seq *lseq = seq;
   22764                 :           0 :                                                 if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail2332;
   22765                 :           0 :                                                 {
   22766                 :           0 :                                                   res_op->set_op (VIEW_CONVERT_EXPR, type, 1);
   22767                 :           0 :                                                   {
   22768                 :           0 :                                                     tree _o1[4], _r1;
   22769                 :           0 :                                                     {
   22770                 :           0 :                                                       tree _o2[1], _r2;
   22771                 :           0 :                                                       _o2[0] = captures[0];
   22772                 :           0 :                                                       gimple_match_op tem_op (res_op->cond.any_else (), BIT_NOT_EXPR, TREE_TYPE (_o2[0]), _o2[0]);
   22773                 :           0 :                                                       tem_op.resimplify (lseq, valueize);
   22774                 :           0 :                                                       _r2 = maybe_push_res_to_seq (&tem_op, lseq);
   22775                 :           0 :                                                       if (!_r2) goto next_after_fail2332;
   22776                 :           0 :                                                       _o1[0] = _r2;
   22777                 :             :                                                     }
   22778                 :           0 :                                                     _o1[1] = captures[3];
   22779                 :           0 :                                                     _o1[2] = captures[4];
   22780                 :           0 :                                                     {
   22781                 :           0 :                                                       tree _o2[1], _r2;
   22782                 :           0 :                                                       _o2[0] = captures[1];
   22783                 :           0 :                                                       gimple_match_op tem_op (res_op->cond.any_else (), VIEW_CONVERT_EXPR, op_type, _o2[0]);
   22784                 :           0 :                                                       tem_op.resimplify (lseq, valueize);
   22785                 :           0 :                                                       _r2 = maybe_push_res_to_seq (&tem_op, lseq);
   22786                 :           0 :                                                       if (!_r2) goto next_after_fail2332;
   22787                 :           0 :                                                       _o1[3] = _r2;
   22788                 :             :                                                     }
   22789                 :           0 :                                                     gimple_match_op tem_op (res_op->cond.any_else (), CFN_COND_MAX, TREE_TYPE (_o1[1]), _o1[0], _o1[1], _o1[2], _o1[3]);
   22790                 :           0 :                                                     tem_op.resimplify (lseq, valueize);
   22791                 :           0 :                                                     _r1 = maybe_push_res_to_seq (&tem_op, lseq);
   22792                 :           0 :                                                     if (!_r1) goto next_after_fail2332;
   22793                 :           0 :                                                     res_op->ops[0] = _r1;
   22794                 :             :                                                   }
   22795                 :           0 :                                                   res_op->resimplify (lseq, valueize);
   22796                 :           0 :                                                   if (UNLIKELY (debug_dump)) gimple_dump_logs ("match.pd", 1125, __FILE__, __LINE__, true);
   22797                 :           0 :                                                   return true;
   22798                 :             :                                                 }
   22799                 :           0 : next_after_fail2332:;
   22800                 :             :                                               }
   22801                 :             :                                         }
   22802                 :             :                                       }
   22803                 :           0 :                                       break;
   22804                 :             :                                     }
   22805                 :           0 :                                   case BIT_AND_EXPR:
   22806                 :           0 :                                     {
   22807                 :           0 :                                       tree _q50 = gimple_assign_rhs1 (_a2);
   22808                 :           0 :                                       _q50 = do_valueize (valueize, _q50);
   22809                 :           0 :                                       tree _q51 = gimple_assign_rhs2 (_a2);
   22810                 :           0 :                                       _q51 = do_valueize (valueize, _q51);
   22811                 :           0 :                                       if (tree_swap_operands_p (_q50, _q51))
   22812                 :           0 :                                         std::swap (_q50, _q51);
   22813                 :           0 :                                       {
   22814                 :           0 :                                         tree captures[5] ATTRIBUTE_UNUSED = { _p0, _p1, _q40, _q50, _q51 };
   22815                 :           0 :                                         {
   22816                 :           0 :  tree op_type = TREE_TYPE (captures[2]);
   22817                 :           0 :                                             if (vectorized_internal_fn_supported_p (as_internal_fn (CFN_COND_AND), op_type)
   22818                 :           0 :  && is_truth_type_for (op_type, TREE_TYPE (captures[0]))
   22819                 :           0 :  && single_use (captures[2])
   22820                 :             : )
   22821                 :             :                                               {
   22822                 :           0 :                                                 gimple_seq *lseq = seq;
   22823                 :           0 :                                                 if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail2333;
   22824                 :           0 :                                                 {
   22825                 :           0 :                                                   res_op->set_op (VIEW_CONVERT_EXPR, type, 1);
   22826                 :           0 :                                                   {
   22827                 :           0 :                                                     tree _o1[4], _r1;
   22828                 :           0 :                                                     {
   22829                 :           0 :                                                       tree _o2[1], _r2;
   22830                 :           0 :                                                       _o2[0] = captures[0];
   22831                 :           0 :                                                       gimple_match_op tem_op (res_op->cond.any_else (), BIT_NOT_EXPR, TREE_TYPE (_o2[0]), _o2[0]);
   22832                 :           0 :                                                       tem_op.resimplify (lseq, valueize);
   22833                 :           0 :                                                       _r2 = maybe_push_res_to_seq (&tem_op, lseq);
   22834                 :           0 :                                                       if (!_r2) goto next_after_fail2333;
   22835                 :           0 :                                                       _o1[0] = _r2;
   22836                 :             :                                                     }
   22837                 :           0 :                                                     _o1[1] = captures[3];
   22838                 :           0 :                                                     _o1[2] = captures[4];
   22839                 :           0 :                                                     {
   22840                 :           0 :                                                       tree _o2[1], _r2;
   22841                 :           0 :                                                       _o2[0] = captures[1];
   22842                 :           0 :                                                       gimple_match_op tem_op (res_op->cond.any_else (), VIEW_CONVERT_EXPR, op_type, _o2[0]);
   22843                 :           0 :                                                       tem_op.resimplify (lseq, valueize);
   22844                 :           0 :                                                       _r2 = maybe_push_res_to_seq (&tem_op, lseq);
   22845                 :           0 :                                                       if (!_r2) goto next_after_fail2333;
   22846                 :           0 :                                                       _o1[3] = _r2;
   22847                 :             :                                                     }
   22848                 :           0 :                                                     gimple_match_op tem_op (res_op->cond.any_else (), CFN_COND_AND, TREE_TYPE (_o1[1]), _o1[0], _o1[1], _o1[2], _o1[3]);
   22849                 :           0 :                                                     tem_op.resimplify (lseq, valueize);
   22850                 :           0 :                                                     _r1 = maybe_push_res_to_seq (&tem_op, lseq);
   22851                 :           0 :                                                     if (!_r1) goto next_after_fail2333;
   22852                 :           0 :                                                     res_op->ops[0] = _r1;
   22853                 :             :                                                   }
   22854                 :           0 :                                                   res_op->resimplify (lseq, valueize);
   22855                 :           0 :                                                   if (UNLIKELY (debug_dump)) gimple_dump_logs ("match.pd", 1125, __FILE__, __LINE__, true);
   22856                 :           0 :                                                   return true;
   22857                 :             :                                                 }
   22858                 :           0 : next_after_fail2333:;
   22859                 :             :                                               }
   22860                 :             :                                         }
   22861                 :             :                                       }
   22862                 :           0 :                                       break;
   22863                 :             :                                     }
   22864                 :           0 :                                   case BIT_IOR_EXPR:
   22865                 :           0 :                                     {
   22866                 :           0 :                                       tree _q50 = gimple_assign_rhs1 (_a2);
   22867                 :           0 :                                       _q50 = do_valueize (valueize, _q50);
   22868                 :           0 :                                       tree _q51 = gimple_assign_rhs2 (_a2);
   22869                 :           0 :                                       _q51 = do_valueize (valueize, _q51);
   22870                 :           0 :                                       if (tree_swap_operands_p (_q50, _q51))
   22871                 :           0 :                                         std::swap (_q50, _q51);
   22872                 :           0 :                                       {
   22873                 :           0 :                                         tree captures[5] ATTRIBUTE_UNUSED = { _p0, _p1, _q40, _q50, _q51 };
   22874                 :           0 :                                         {
   22875                 :           0 :  tree op_type = TREE_TYPE (captures[2]);
   22876                 :           0 :                                             if (vectorized_internal_fn_supported_p (as_internal_fn (CFN_COND_IOR), op_type)
   22877                 :           0 :  && is_truth_type_for (op_type, TREE_TYPE (captures[0]))
   22878                 :           0 :  && single_use (captures[2])
   22879                 :             : )
   22880                 :             :                                               {
   22881                 :           0 :                                                 gimple_seq *lseq = seq;
   22882                 :           0 :                                                 if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail2334;
   22883                 :           0 :                                                 {
   22884                 :           0 :                                                   res_op->set_op (VIEW_CONVERT_EXPR, type, 1);
   22885                 :           0 :                                                   {
   22886                 :           0 :                                                     tree _o1[4], _r1;
   22887                 :           0 :                                                     {
   22888                 :           0 :                                                       tree _o2[1], _r2;
   22889                 :           0 :                                                       _o2[0] = captures[0];
   22890                 :           0 :                                                       gimple_match_op tem_op (res_op->cond.any_else (), BIT_NOT_EXPR, TREE_TYPE (_o2[0]), _o2[0]);
   22891                 :           0 :                                                       tem_op.resimplify (lseq, valueize);
   22892                 :           0 :                                                       _r2 = maybe_push_res_to_seq (&tem_op, lseq);
   22893                 :           0 :                                                       if (!_r2) goto next_after_fail2334;
   22894                 :           0 :                                                       _o1[0] = _r2;
   22895                 :             :                                                     }
   22896                 :           0 :                                                     _o1[1] = captures[3];
   22897                 :           0 :                                                     _o1[2] = captures[4];
   22898                 :           0 :                                                     {
   22899                 :           0 :                                                       tree _o2[1], _r2;
   22900                 :           0 :                                                       _o2[0] = captures[1];
   22901                 :           0 :                                                       gimple_match_op tem_op (res_op->cond.any_else (), VIEW_CONVERT_EXPR, op_type, _o2[0]);
   22902                 :           0 :                                                       tem_op.resimplify (lseq, valueize);
   22903                 :           0 :                                                       _r2 = maybe_push_res_to_seq (&tem_op, lseq);
   22904                 :           0 :                                                       if (!_r2) goto next_after_fail2334;
   22905                 :           0 :                                                       _o1[3] = _r2;
   22906                 :             :                                                     }
   22907                 :           0 :                                                     gimple_match_op tem_op (res_op->cond.any_else (), CFN_COND_IOR, TREE_TYPE (_o1[1]), _o1[0], _o1[1], _o1[2], _o1[3]);
   22908                 :           0 :                                                     tem_op.resimplify (lseq, valueize);
   22909                 :           0 :                                                     _r1 = maybe_push_res_to_seq (&tem_op, lseq);
   22910                 :           0 :                                                     if (!_r1) goto next_after_fail2334;
   22911                 :           0 :                                                     res_op->ops[0] = _r1;
   22912                 :             :                                                   }
   22913                 :           0 :                                                   res_op->resimplify (lseq, valueize);
   22914                 :           0 :                                                   if (UNLIKELY (debug_dump)) gimple_dump_logs ("match.pd", 1125, __FILE__, __LINE__, true);
   22915                 :           0 :                                                   return true;
   22916                 :             :                                                 }
   22917                 :           0 : next_after_fail2334:;
   22918                 :             :                                               }
   22919                 :             :                                         }
   22920                 :             :                                       }
   22921                 :           0 :                                       break;
   22922                 :             :                                     }
   22923                 :           0 :                                   case BIT_XOR_EXPR:
   22924                 :           0 :                                     {
   22925                 :           0 :                                       tree _q50 = gimple_assign_rhs1 (_a2);
   22926                 :           0 :                                       _q50 = do_valueize (valueize, _q50);
   22927                 :           0 :                                       tree _q51 = gimple_assign_rhs2 (_a2);
   22928                 :           0 :                                       _q51 = do_valueize (valueize, _q51);
   22929                 :           0 :                                       if (tree_swap_operands_p (_q50, _q51))
   22930                 :           0 :                                         std::swap (_q50, _q51);
   22931                 :           0 :                                       {
   22932                 :           0 :                                         tree captures[5] ATTRIBUTE_UNUSED = { _p0, _p1, _q40, _q50, _q51 };
   22933                 :           0 :                                         {
   22934                 :           0 :  tree op_type = TREE_TYPE (captures[2]);
   22935                 :           0 :                                             if (vectorized_internal_fn_supported_p (as_internal_fn (CFN_COND_XOR), op_type)
   22936                 :           0 :  && is_truth_type_for (op_type, TREE_TYPE (captures[0]))
   22937                 :           0 :  && single_use (captures[2])
   22938                 :             : )
   22939                 :             :                                               {
   22940                 :           0 :                                                 gimple_seq *lseq = seq;
   22941                 :           0 :                                                 if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail2335;
   22942                 :           0 :                                                 {
   22943                 :           0 :                                                   res_op->set_op (VIEW_CONVERT_EXPR, type, 1);
   22944                 :           0 :                                                   {
   22945                 :           0 :                                                     tree _o1[4], _r1;
   22946                 :           0 :                                                     {
   22947                 :           0 :                                                       tree _o2[1], _r2;
   22948                 :           0 :                                                       _o2[0] = captures[0];
   22949                 :           0 :                                                       gimple_match_op tem_op (res_op->cond.any_else (), BIT_NOT_EXPR, TREE_TYPE (_o2[0]), _o2[0]);
   22950                 :           0 :                                                       tem_op.resimplify (lseq, valueize);
   22951                 :           0 :                                                       _r2 = maybe_push_res_to_seq (&tem_op, lseq);
   22952                 :           0 :                                                       if (!_r2) goto next_after_fail2335;
   22953                 :           0 :                                                       _o1[0] = _r2;
   22954                 :             :                                                     }
   22955                 :           0 :                                                     _o1[1] = captures[3];
   22956                 :           0 :                                                     _o1[2] = captures[4];
   22957                 :           0 :                                                     {
   22958                 :           0 :                                                       tree _o2[1], _r2;
   22959                 :           0 :                                                       _o2[0] = captures[1];
   22960                 :           0 :                                                       gimple_match_op tem_op (res_op->cond.any_else (), VIEW_CONVERT_EXPR, op_type, _o2[0]);
   22961                 :           0 :                                                       tem_op.resimplify (lseq, valueize);
   22962                 :           0 :                                                       _r2 = maybe_push_res_to_seq (&tem_op, lseq);
   22963                 :           0 :                                                       if (!_r2) goto next_after_fail2335;
   22964                 :           0 :                                                       _o1[3] = _r2;
   22965                 :             :                                                     }
   22966                 :           0 :                                                     gimple_match_op tem_op (res_op->cond.any_else (), CFN_COND_XOR, TREE_TYPE (_o1[1]), _o1[0], _o1[1], _o1[2], _o1[3]);
   22967                 :           0 :                                                     tem_op.resimplify (lseq, valueize);
   22968                 :           0 :                                                     _r1 = maybe_push_res_to_seq (&tem_op, lseq);
   22969                 :           0 :                                                     if (!_r1) goto next_after_fail2335;
   22970                 :           0 :                                                     res_op->ops[0] = _r1;
   22971                 :             :                                                   }
   22972                 :           0 :                                                   res_op->resimplify (lseq, valueize);
   22973                 :           0 :                                                   if (UNLIKELY (debug_dump)) gimple_dump_logs ("match.pd", 1125, __FILE__, __LINE__, true);
   22974                 :           0 :                                                   return true;
   22975                 :             :                                                 }
   22976                 :           0 : next_after_fail2335:;
   22977                 :             :                                               }
   22978                 :             :                                         }
   22979                 :             :                                       }
   22980                 :           0 :                                       break;
   22981                 :             :                                     }
   22982                 :          72 :                                   case LSHIFT_EXPR:
   22983                 :          72 :                                     {
   22984                 :          72 :                                       tree _q50 = gimple_assign_rhs1 (_a2);
   22985                 :          72 :                                       _q50 = do_valueize (valueize, _q50);
   22986                 :          72 :                                       tree _q51 = gimple_assign_rhs2 (_a2);
   22987                 :          72 :                                       _q51 = do_valueize (valueize, _q51);
   22988                 :          72 :                                       {
   22989                 :          72 :                                         tree captures[5] ATTRIBUTE_UNUSED = { _p0, _p1, _q40, _q50, _q51 };
   22990                 :          72 :                                         {
   22991                 :          72 :  tree op_type = TREE_TYPE (captures[2]);
   22992                 :          72 :                                             if (vectorized_internal_fn_supported_p (as_internal_fn (CFN_COND_SHL), op_type)
   22993                 :          24 :  && is_truth_type_for (op_type, TREE_TYPE (captures[0]))
   22994                 :          96 :  && single_use (captures[2])
   22995                 :             : )
   22996                 :             :                                               {
   22997                 :           0 :                                                 gimple_seq *lseq = seq;
   22998                 :           0 :                                                 if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail2336;
   22999                 :           0 :                                                 {
   23000                 :           0 :                                                   res_op->set_op (VIEW_CONVERT_EXPR, type, 1);
   23001                 :           0 :                                                   {
   23002                 :           0 :                                                     tree _o1[4], _r1;
   23003                 :           0 :                                                     {
   23004                 :           0 :                                                       tree _o2[1], _r2;
   23005                 :           0 :                                                       _o2[0] = captures[0];
   23006                 :           0 :                                                       gimple_match_op tem_op (res_op->cond.any_else (), BIT_NOT_EXPR, TREE_TYPE (_o2[0]), _o2[0]);
   23007                 :           0 :                                                       tem_op.resimplify (lseq, valueize);
   23008                 :           0 :                                                       _r2 = maybe_push_res_to_seq (&tem_op, lseq);
   23009                 :           0 :                                                       if (!_r2) goto next_after_fail2336;
   23010                 :           0 :                                                       _o1[0] = _r2;
   23011                 :             :                                                     }
   23012                 :           0 :                                                     _o1[1] = captures[3];
   23013                 :           0 :                                                     _o1[2] = captures[4];
   23014                 :           0 :                                                     {
   23015                 :           0 :                                                       tree _o2[1], _r2;
   23016                 :           0 :                                                       _o2[0] = captures[1];
   23017                 :           0 :                                                       gimple_match_op tem_op (res_op->cond.any_else (), VIEW_CONVERT_EXPR, op_type, _o2[0]);
   23018                 :           0 :                                                       tem_op.resimplify (lseq, valueize);
   23019                 :           0 :                                                       _r2 = maybe_push_res_to_seq (&tem_op, lseq);
   23020                 :           0 :                                                       if (!_r2) goto next_after_fail2336;
   23021                 :           0 :                                                       _o1[3] = _r2;
   23022                 :             :                                                     }
   23023                 :           0 :                                                     gimple_match_op tem_op (res_op->cond.any_else (), CFN_COND_SHL, TREE_TYPE (_o1[1]), _o1[0], _o1[1], _o1[2], _o1[3]);
   23024                 :           0 :                                                     tem_op.resimplify (lseq, valueize);
   23025                 :           0 :                                                     _r1 = maybe_push_res_to_seq (&tem_op, lseq);
   23026                 :           0 :                                                     if (!_r1) goto next_after_fail2336;
   23027                 :           0 :                                                     res_op->ops[0] = _r1;
   23028                 :             :                                                   }
   23029                 :           0 :                                                   res_op->resimplify (lseq, valueize);
   23030                 :           0 :                                                   if (UNLIKELY (debug_dump)) gimple_dump_logs ("match.pd", 1125, __FILE__, __LINE__, true);
   23031                 :           0 :                                                   return true;
   23032                 :             :                                                 }
   23033                 :          72 : next_after_fail2336:;
   23034                 :             :                                               }
   23035                 :             :                                         }
   23036                 :             :                                       }
   23037                 :          72 :                                       break;
   23038                 :             :                                     }
   23039                 :           0 :                                   case RSHIFT_EXPR:
   23040                 :           0 :                                     {
   23041                 :           0 :                                       tree _q50 = gimple_assign_rhs1 (_a2);
   23042                 :           0 :                                       _q50 = do_valueize (valueize, _q50);
   23043                 :           0 :                                       tree _q51 = gimple_assign_rhs2 (_a2);
   23044                 :           0 :                                       _q51 = do_valueize (valueize, _q51);
   23045                 :           0 :                                       {
   23046                 :           0 :                                         tree captures[5] ATTRIBUTE_UNUSED = { _p0, _p1, _q40, _q50, _q51 };
   23047                 :           0 :                                         {
   23048                 :           0 :  tree op_type = TREE_TYPE (captures[2]);
   23049                 :           0 :                                             if (vectorized_internal_fn_supported_p (as_internal_fn (CFN_COND_SHR), op_type)
   23050                 :           0 :  && is_truth_type_for (op_type, TREE_TYPE (captures[0]))
   23051                 :           0 :  && single_use (captures[2])
   23052                 :             : )
   23053                 :             :                                               {
   23054                 :           0 :                                                 gimple_seq *lseq = seq;
   23055                 :           0 :                                                 if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail2337;
   23056                 :           0 :                                                 {
   23057                 :           0 :                                                   res_op->set_op (VIEW_CONVERT_EXPR, type, 1);
   23058                 :           0 :                                                   {
   23059                 :           0 :                                                     tree _o1[4], _r1;
   23060                 :           0 :                                                     {
   23061                 :           0 :                                                       tree _o2[1], _r2;
   23062                 :           0 :                                                       _o2[0] = captures[0];
   23063                 :           0 :                                                       gimple_match_op tem_op (res_op->cond.any_else (), BIT_NOT_EXPR, TREE_TYPE (_o2[0]), _o2[0]);
   23064                 :           0 :                                                       tem_op.resimplify (lseq, valueize);
   23065                 :           0 :                                                       _r2 = maybe_push_res_to_seq (&tem_op, lseq);
   23066                 :           0 :                                                       if (!_r2) goto next_after_fail2337;
   23067                 :           0 :                                                       _o1[0] = _r2;
   23068                 :             :                                                     }
   23069                 :           0 :                                                     _o1[1] = captures[3];
   23070                 :           0 :                                                     _o1[2] = captures[4];
   23071                 :           0 :                                                     {
   23072                 :           0 :                                                       tree _o2[1], _r2;
   23073                 :           0 :                                                       _o2[0] = captures[1];
   23074                 :           0 :                                                       gimple_match_op tem_op (res_op->cond.any_else (), VIEW_CONVERT_EXPR, op_type, _o2[0]);
   23075                 :           0 :                                                       tem_op.resimplify (lseq, valueize);
   23076                 :           0 :                                                       _r2 = maybe_push_res_to_seq (&tem_op, lseq);
   23077                 :           0 :                                                       if (!_r2) goto next_after_fail2337;
   23078                 :           0 :                                                       _o1[3] = _r2;
   23079                 :             :                                                     }
   23080                 :           0 :                                                     gimple_match_op tem_op (res_op->cond.any_else (), CFN_COND_SHR, TREE_TYPE (_o1[1]), _o1[0], _o1[1], _o1[2], _o1[3]);
   23081                 :           0 :                                                     tem_op.resimplify (lseq, valueize);
   23082                 :           0 :                                                     _r1 = maybe_push_res_to_seq (&tem_op, lseq);
   23083                 :           0 :                                                     if (!_r1) goto next_after_fail2337;
   23084                 :           0 :                                                     res_op->ops[0] = _r1;
   23085                 :             :                                                   }
   23086                 :           0 :                                                   res_op->resimplify (lseq, valueize);
   23087                 :           0 :                                                   if (UNLIKELY (debug_dump)) gimple_dump_logs ("match.pd", 1125, __FILE__, __LINE__, true);
   23088                 :           0 :                                                   return true;
   23089                 :             :                                                 }
   23090                 :           0 : next_after_fail2337:;
   23091                 :             :                                               }
   23092                 :             :                                         }
   23093                 :             :                                       }
   23094                 :           0 :                                       break;
   23095                 :             :                                     }
   23096                 :             :                                   default:;
   23097                 :             :                                   }
   23098                 :        1135 :                               else if (gcall *_c2 = dyn_cast <gcall *> (_d2))
   23099                 :         461 :                                 switch (gimple_call_combined_fn (_c2))
   23100                 :             :                                   {
   23101                 :           0 :                                   case CFN_FMAX:
   23102                 :           0 :                                     if (gimple_call_num_args (_c2) == 2)
   23103                 :             :                                       {
   23104                 :           0 :                                         tree _q50 = gimple_call_arg (_c2, 0);
   23105                 :           0 :                                         _q50 = do_valueize (valueize, _q50);
   23106                 :           0 :                                         tree _q51 = gimple_call_arg (_c2, 1);
   23107                 :           0 :                                         _q51 = do_valueize (valueize, _q51);
   23108                 :           0 :                                         {
   23109                 :           0 :                                           tree captures[5] ATTRIBUTE_UNUSED = { _p0, _p1, _q40, _q50, _q51 };
   23110                 :           0 :                                           {
   23111                 :           0 :  tree op_type = TREE_TYPE (captures[2]);
   23112                 :           0 :                                               if (vectorized_internal_fn_supported_p (as_internal_fn (CFN_COND_FMAX), op_type)
   23113                 :           0 :  && is_truth_type_for (op_type, TREE_TYPE (captures[0]))
   23114                 :           0 :  && single_use (captures[2])
   23115                 :             : )
   23116                 :             :                                                 {
   23117                 :           0 :                                                   gimple_seq *lseq = seq;
   23118                 :           0 :                                                   if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail2338;
   23119                 :           0 :                                                   {
   23120                 :           0 :                                                     res_op->set_op (VIEW_CONVERT_EXPR, type, 1);
   23121                 :           0 :                                                     {
   23122                 :           0 :                                                       tree _o1[4], _r1;
   23123                 :           0 :                                                       {
   23124                 :           0 :                                                         tree _o2[1], _r2;
   23125                 :           0 :                                                         _o2[0] = captures[0];
   23126                 :           0 :                                                         gimple_match_op tem_op (res_op->cond.any_else (), BIT_NOT_EXPR, TREE_TYPE (_o2[0]), _o2[0]);
   23127                 :           0 :                                                         tem_op.resimplify (lseq, valueize);
   23128                 :           0 :                                                         _r2 = maybe_push_res_to_seq (&tem_op, lseq);
   23129                 :           0 :                                                         if (!_r2) goto next_after_fail2338;
   23130                 :           0 :                                                         _o1[0] = _r2;
   23131                 :             :                                                       }
   23132                 :           0 :                                                       _o1[1] = captures[3];
   23133                 :           0 :                                                       _o1[2] = captures[4];
   23134                 :           0 :                                                       {
   23135                 :           0 :                                                         tree _o2[1], _r2;
   23136                 :           0 :                                                         _o2[0] = captures[1];
   23137                 :           0 :                                                         gimple_match_op tem_op (res_op->cond.any_else (), VIEW_CONVERT_EXPR, op_type, _o2[0]);
   23138                 :           0 :                                                         tem_op.resimplify (lseq, valueize);
   23139                 :           0 :                                                         _r2 = maybe_push_res_to_seq (&tem_op, lseq);
   23140                 :           0 :                                                         if (!_r2) goto next_after_fail2338;
   23141                 :           0 :                                                         _o1[3] = _r2;
   23142                 :             :                                                       }
   23143                 :           0 :                                                       gimple_match_op tem_op (res_op->cond.any_else (), CFN_COND_FMAX, TREE_TYPE (_o1[1]), _o1[0], _o1[1], _o1[2], _o1[3]);
   23144                 :           0 :                                                       tem_op.resimplify (lseq, valueize);
   23145                 :           0 :                                                       _r1 = maybe_push_res_to_seq (&tem_op, lseq);
   23146                 :           0 :                                                       if (!_r1) goto next_after_fail2338;
   23147                 :           0 :                                                       res_op->ops[0] = _r1;
   23148                 :             :                                                     }
   23149                 :           0 :                                                     res_op->resimplify (lseq, valueize);
   23150                 :           0 :                                                     if (UNLIKELY (debug_dump)) gimple_dump_logs ("match.pd", 1125, __FILE__, __LINE__, true);
   23151                 :           0 :                                                     return true;
   23152                 :             :                                                   }
   23153                 :           0 : next_after_fail2338:;
   23154                 :             :                                                 }
   23155                 :             :                                           }
   23156                 :             :                                         }
   23157                 :             :                                       }
   23158                 :             :                                     break;
   23159                 :           0 :                                   case CFN_FMIN:
   23160                 :           0 :                                     if (gimple_call_num_args (_c2) == 2)
   23161                 :             :                                       {
   23162                 :           0 :                                         tree _q50 = gimple_call_arg (_c2, 0);
   23163                 :           0 :                                         _q50 = do_valueize (valueize, _q50);
   23164                 :           0 :                                         tree _q51 = gimple_call_arg (_c2, 1);
   23165                 :           0 :                                         _q51 = do_valueize (valueize, _q51);
   23166                 :           0 :                                         {
   23167                 :           0 :                                           tree captures[5] ATTRIBUTE_UNUSED = { _p0, _p1, _q40, _q50, _q51 };
   23168                 :           0 :                                           {
   23169                 :           0 :  tree op_type = TREE_TYPE (captures[2]);
   23170                 :           0 :                                               if (vectorized_internal_fn_supported_p (as_internal_fn (CFN_COND_FMIN), op_type)
   23171                 :           0 :  && is_truth_type_for (op_type, TREE_TYPE (captures[0]))
   23172                 :           0 :  && single_use (captures[2])
   23173                 :             : )
   23174                 :             :                                                 {
   23175                 :           0 :                                                   gimple_seq *lseq = seq;
   23176                 :           0 :                                                   if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail2339;
   23177                 :           0 :                                                   {
   23178                 :           0 :                                                     res_op->set_op (VIEW_CONVERT_EXPR, type, 1);
   23179                 :           0 :                                                     {
   23180                 :           0 :                                                       tree _o1[4], _r1;
   23181                 :           0 :                                                       {
   23182                 :           0 :                                                         tree _o2[1], _r2;
   23183                 :           0 :                                                         _o2[0] = captures[0];
   23184                 :           0 :                                                         gimple_match_op tem_op (res_op->cond.any_else (), BIT_NOT_EXPR, TREE_TYPE (_o2[0]), _o2[0]);
   23185                 :           0 :                                                         tem_op.resimplify (lseq, valueize);
   23186                 :           0 :                                                         _r2 = maybe_push_res_to_seq (&tem_op, lseq);
   23187                 :           0 :                                                         if (!_r2) goto next_after_fail2339;
   23188                 :           0 :                                                         _o1[0] = _r2;
   23189                 :             :                                                       }
   23190                 :           0 :                                                       _o1[1] = captures[3];
   23191                 :           0 :                                                       _o1[2] = captures[4];
   23192                 :           0 :                                                       {
   23193                 :           0 :                                                         tree _o2[1], _r2;
   23194                 :           0 :                                                         _o2[0] = captures[1];
   23195                 :           0 :                                                         gimple_match_op tem_op (res_op->cond.any_else (), VIEW_CONVERT_EXPR, op_type, _o2[0]);
   23196                 :           0 :                                                         tem_op.resimplify (lseq, valueize);
   23197                 :           0 :                                                         _r2 = maybe_push_res_to_seq (&tem_op, lseq);
   23198                 :           0 :                                                         if (!_r2) goto next_after_fail2339;
   23199                 :           0 :                                                         _o1[3] = _r2;
   23200                 :             :                                                       }
   23201                 :           0 :                                                       gimple_match_op tem_op (res_op->cond.any_else (), CFN_COND_FMIN, TREE_TYPE (_o1[1]), _o1[0], _o1[1], _o1[2], _o1[3]);
   23202                 :           0 :                                                       tem_op.resimplify (lseq, valueize);
   23203                 :           0 :                                                       _r1 = maybe_push_res_to_seq (&tem_op, lseq);
   23204                 :           0 :                                                       if (!_r1) goto next_after_fail2339;
   23205                 :           0 :                                                       res_op->ops[0] = _r1;
   23206                 :             :                                                     }
   23207                 :           0 :                                                     res_op->resimplify (lseq, valueize);
   23208                 :           0 :                                                     if (UNLIKELY (debug_dump)) gimple_dump_logs ("match.pd", 1125, __FILE__, __LINE__, true);
   23209                 :           0 :                                                     return true;
   23210                 :             :                                                   }
   23211                 :           0 : next_after_fail2339:;
   23212                 :             :                                                 }
   23213                 :             :                                           }
   23214                 :             :                                         }
   23215                 :             :                                       }
   23216                 :             :                                     break;
   23217                 :           0 :                                   case CFN_COPYSIGN:
   23218                 :           0 :                                     if (gimple_call_num_args (_c2) == 2)
   23219                 :             :                                       {
   23220                 :           0 :                                         tree _q50 = gimple_call_arg (_c2, 0);
   23221                 :           0 :                                         _q50 = do_valueize (valueize, _q50);
   23222                 :           0 :                                         tree _q51 = gimple_call_arg (_c2, 1);
   23223                 :           0 :                                         _q51 = do_valueize (valueize, _q51);
   23224                 :           0 :                                         {
   23225                 :           0 :                                           tree captures[5] ATTRIBUTE_UNUSED = { _p0, _p1, _q40, _q50, _q51 };
   23226                 :           0 :                                           {
   23227                 :           0 :  tree op_type = TREE_TYPE (captures[2]);
   23228                 :           0 :                                               if (vectorized_internal_fn_supported_p (as_internal_fn (CFN_COND_COPYSIGN), op_type)
   23229                 :           0 :  && is_truth_type_for (op_type, TREE_TYPE (captures[0]))
   23230                 :           0 :  && single_use (captures[2])
   23231                 :             : )
   23232                 :             :                                                 {
   23233                 :           0 :                                                   gimple_seq *lseq = seq;
   23234                 :           0 :                                                   if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail2340;
   23235                 :           0 :                                                   {
   23236                 :           0 :                                                     res_op->set_op (VIEW_CONVERT_EXPR, type, 1);
   23237                 :           0 :                                                     {
   23238                 :           0 :                                                       tree _o1[4], _r1;
   23239                 :           0 :                                                       {
   23240                 :           0 :                                                         tree _o2[1], _r2;
   23241                 :           0 :                                                         _o2[0] = captures[0];
   23242                 :           0 :                                                         gimple_match_op tem_op (res_op->cond.any_else (), BIT_NOT_EXPR, TREE_TYPE (_o2[0]), _o2[0]);
   23243                 :           0 :                                                         tem_op.resimplify (lseq, valueize);
   23244                 :           0 :                                                         _r2 = maybe_push_res_to_seq (&tem_op, lseq);
   23245                 :           0 :                                                         if (!_r2) goto next_after_fail2340;
   23246                 :           0 :                                                         _o1[0] = _r2;
   23247                 :             :                                                       }
   23248                 :           0 :                                                       _o1[1] = captures[3];
   23249                 :           0 :                                                       _o1[2] = captures[4];
   23250                 :           0 :                                                       {
   23251                 :           0 :                                                         tree _o2[1], _r2;
   23252                 :           0 :                                                         _o2[0] = captures[1];
   23253                 :           0 :                                                         gimple_match_op tem_op (res_op->cond.any_else (), VIEW_CONVERT_EXPR, op_type, _o2[0]);
   23254                 :           0 :                                                         tem_op.resimplify (lseq, valueize);
   23255                 :           0 :                                                         _r2 = maybe_push_res_to_seq (&tem_op, lseq);
   23256                 :           0 :                                                         if (!_r2) goto next_after_fail2340;
   23257                 :           0 :                                                         _o1[3] = _r2;
   23258                 :             :                                                       }
   23259                 :           0 :                                                       gimple_match_op tem_op (res_op->cond.any_else (), CFN_COND_COPYSIGN, TREE_TYPE (_o1[1]), _o1[0], _o1[1], _o1[2], _o1[3]);
   23260                 :           0 :                                                       tem_op.resimplify (lseq, valueize);
   23261                 :           0 :                                                       _r1 = maybe_push_res_to_seq (&tem_op, lseq);
   23262                 :           0 :                                                       if (!_r1) goto next_after_fail2340;
   23263                 :           0 :                                                       res_op->ops[0] = _r1;
   23264                 :             :                                                     }
   23265                 :           0 :                                                     res_op->resimplify (lseq, valueize);
   23266                 :           0 :                                                     if (UNLIKELY (debug_dump)) gimple_dump_logs ("match.pd", 1125, __FILE__, __LINE__, true);
   23267                 :           0 :                                                     return true;
   23268                 :             :                                                   }
   23269                 :           0 : next_after_fail2340:;
   23270                 :             :                                                 }
   23271                 :             :                                           }
   23272                 :             :                                         }
   23273                 :             :                                       }
   23274                 :             :                                     break;
   23275                 :             :                                   default:;
   23276                 :             :                                   }
   23277                 :             :                             }
   23278                 :             :                           break;
   23279                 :             :                         default:;
   23280                 :             :                         }
   23281                 :             :                     }
   23282                 :             :                   break;
   23283                 :             :                 }
   23284                 :         330 :               case PLUS_EXPR:
   23285                 :         330 :                 {
   23286                 :         330 :                   tree _q40 = gimple_assign_rhs1 (_a1);
   23287                 :         330 :                   _q40 = do_valueize (valueize, _q40);
   23288                 :         330 :                   tree _q41 = gimple_assign_rhs2 (_a1);
   23289                 :         330 :                   _q41 = do_valueize (valueize, _q41);
   23290                 :         330 :                   if (tree_swap_operands_p (_q40, _q41))
   23291                 :           8 :                     std::swap (_q40, _q41);
   23292                 :         330 :                   {
   23293                 :         330 :                     tree captures[5] ATTRIBUTE_UNUSED = { _p0, _p1, _p2, _q40, _q41 };
   23294                 :         330 :                     {
   23295                 :         330 :  tree op_type = TREE_TYPE (captures[2]);
   23296                 :         330 :                         if (vectorized_internal_fn_supported_p (as_internal_fn (CFN_COND_ADD), op_type)
   23297                 :         119 :  && is_truth_type_for (op_type, TREE_TYPE (captures[0]))
   23298                 :         449 :  && single_use (captures[2])
   23299                 :             : )
   23300                 :             :                           {
   23301                 :           0 :                             gimple_seq *lseq = seq;
   23302                 :           0 :                             if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail2341;
   23303                 :           0 :                             {
   23304                 :           0 :                               res_op->set_op (VIEW_CONVERT_EXPR, type, 1);
   23305                 :           0 :                               {
   23306                 :           0 :                                 tree _o1[4], _r1;
   23307                 :           0 :                                 {
   23308                 :           0 :                                   tree _o2[1], _r2;
   23309                 :           0 :                                   _o2[0] = captures[0];
   23310                 :           0 :                                   gimple_match_op tem_op (res_op->cond.any_else (), BIT_NOT_EXPR, TREE_TYPE (_o2[0]), _o2[0]);
   23311                 :           0 :                                   tem_op.resimplify (lseq, valueize);
   23312                 :           0 :                                   _r2 = maybe_push_res_to_seq (&tem_op, lseq);
   23313                 :           0 :                                   if (!_r2) goto next_after_fail2341;
   23314                 :           0 :                                   _o1[0] = _r2;
   23315                 :             :                                 }
   23316                 :           0 :                                 _o1[1] = captures[3];
   23317                 :           0 :                                 _o1[2] = captures[4];
   23318                 :           0 :                                 {
   23319                 :           0 :                                   tree _o2[1], _r2;
   23320                 :           0 :                                   _o2[0] = captures[1];
   23321                 :           0 :                                   gimple_match_op tem_op (res_op->cond.any_else (), VIEW_CONVERT_EXPR, op_type, _o2[0]);
   23322                 :           0 :                                   tem_op.resimplify (lseq, valueize);
   23323                 :           0 :                                   _r2 = maybe_push_res_to_seq (&tem_op, lseq);
   23324                 :           0 :                                   if (!_r2) goto next_after_fail2341;
   23325                 :           0 :                                   _o1[3] = _r2;
   23326                 :             :                                 }
   23327                 :           0 :                                 gimple_match_op tem_op (res_op->cond.any_else (), CFN_COND_ADD, TREE_TYPE (_o1[1]), _o1[0], _o1[1], _o1[2], _o1[3]);
   23328                 :           0 :                                 tem_op.resimplify (lseq, valueize);
   23329                 :           0 :                                 _r1 = maybe_push_res_to_seq (&tem_op, lseq);
   23330                 :           0 :                                 if (!_r1) goto next_after_fail2341;
   23331                 :           0 :                                 res_op->ops[0] = _r1;
   23332                 :             :                               }
   23333                 :           0 :                               res_op->resimplify (lseq, valueize);
   23334                 :           0 :                               if (UNLIKELY (debug_dump)) gimple_dump_logs ("match.pd", 1125, __FILE__, __LINE__, true);
   23335                 :           0 :                               return true;
   23336                 :             :                             }
   23337                 :         330 : next_after_fail2341:;
   23338                 :             :                           }
   23339                 :             :                     }
   23340                 :             :                   }
   23341                 :         330 :                   break;
   23342                 :             :                 }
   23343                 :         430 :               case MINUS_EXPR:
   23344                 :         430 :                 {
   23345                 :         430 :                   tree _q40 = gimple_assign_rhs1 (_a1);
   23346                 :         430 :                   _q40 = do_valueize (valueize, _q40);
   23347                 :         430 :                   tree _q41 = gimple_assign_rhs2 (_a1);
   23348                 :         430 :                   _q41 = do_valueize (valueize, _q41);
   23349                 :         430 :                   {
   23350                 :         430 :                     tree captures[5] ATTRIBUTE_UNUSED = { _p0, _p1, _p2, _q40, _q41 };
   23351                 :         430 :                     {
   23352                 :         430 :  tree op_type = TREE_TYPE (captures[2]);
   23353                 :         430 :                         if (vectorized_internal_fn_supported_p (as_internal_fn (CFN_COND_SUB), op_type)
   23354                 :          80 :  && is_truth_type_for (op_type, TREE_TYPE (captures[0]))
   23355                 :         510 :  && single_use (captures[2])
   23356                 :             : )
   23357                 :             :                           {
   23358                 :          80 :                             gimple_seq *lseq = seq;
   23359                 :          80 :                             if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail2342;
   23360                 :          80 :                             {
   23361                 :          80 :                               res_op->set_op (VIEW_CONVERT_EXPR, type, 1);
   23362                 :          80 :                               {
   23363                 :          80 :                                 tree _o1[4], _r1;
   23364                 :          80 :                                 {
   23365                 :          80 :                                   tree _o2[1], _r2;
   23366                 :          80 :                                   _o2[0] = captures[0];
   23367                 :          80 :                                   gimple_match_op tem_op (res_op->cond.any_else (), BIT_NOT_EXPR, TREE_TYPE (_o2[0]), _o2[0]);
   23368                 :          80 :                                   tem_op.resimplify (lseq, valueize);
   23369                 :          80 :                                   _r2 = maybe_push_res_to_seq (&tem_op, lseq);
   23370                 :          80 :                                   if (!_r2) goto next_after_fail2342;
   23371                 :           0 :                                   _o1[0] = _r2;
   23372                 :             :                                 }
   23373                 :           0 :                                 _o1[1] = captures[3];
   23374                 :           0 :                                 _o1[2] = captures[4];
   23375                 :           0 :                                 {
   23376                 :           0 :                                   tree _o2[1], _r2;
   23377                 :           0 :                                   _o2[0] = captures[1];
   23378                 :           0 :                                   gimple_match_op tem_op (res_op->cond.any_else (), VIEW_CONVERT_EXPR, op_type, _o2[0]);
   23379                 :           0 :                                   tem_op.resimplify (lseq, valueize);
   23380                 :           0 :                                   _r2 = maybe_push_res_to_seq (&tem_op, lseq);
   23381                 :           0 :                                   if (!_r2) goto next_after_fail2342;
   23382                 :           0 :                                   _o1[3] = _r2;
   23383                 :             :                                 }
   23384                 :           0 :                                 gimple_match_op tem_op (res_op->cond.any_else (), CFN_COND_SUB, TREE_TYPE (_o1[1]), _o1[0], _o1[1], _o1[2], _o1[3]);
   23385                 :           0 :                                 tem_op.resimplify (lseq, valueize);
   23386                 :           0 :                                 _r1 = maybe_push_res_to_seq (&tem_op, lseq);
   23387                 :           0 :                                 if (!_r1) goto next_after_fail2342;
   23388                 :           0 :                                 res_op->ops[0] = _r1;
   23389                 :             :                               }
   23390                 :           0 :                               res_op->resimplify (lseq, valueize);
   23391                 :           0 :                               if (UNLIKELY (debug_dump)) gimple_dump_logs ("match.pd", 1125, __FILE__, __LINE__, true);
   23392                 :           0 :                               return true;
   23393                 :             :                             }
   23394                 :         430 : next_after_fail2342:;
   23395                 :             :                           }
   23396                 :             :                     }
   23397                 :             :                   }
   23398                 :         430 :                   break;
   23399                 :             :                 }
   23400                 :         249 :               case MULT_EXPR:
   23401                 :         249 :                 {
   23402                 :         249 :                   tree _q40 = gimple_assign_rhs1 (_a1);
   23403                 :         249 :                   _q40 = do_valueize (valueize, _q40);
   23404                 :         249 :                   tree _q41 = gimple_assign_rhs2 (_a1);
   23405                 :         249 :                   _q41 = do_valueize (valueize, _q41);
   23406                 :         249 :                   if (tree_swap_operands_p (_q40, _q41))
   23407                 :          13 :                     std::swap (_q40, _q41);
   23408                 :         249 :                   {
   23409                 :         249 :                     tree captures[5] ATTRIBUTE_UNUSED = { _p0, _p1, _p2, _q40, _q41 };
   23410                 :         249 :                     {
   23411                 :         249 :  tree op_type = TREE_TYPE (captures[2]);
   23412                 :         249 :                         if (vectorized_internal_fn_supported_p (as_internal_fn (CFN_COND_MUL), op_type)
   23413                 :          39 :  && is_truth_type_for (op_type, TREE_TYPE (captures[0]))
   23414                 :         288 :  && single_use (captures[2])
   23415                 :             : )
   23416                 :             :                           {
   23417                 :           2 :                             gimple_seq *lseq = seq;
   23418                 :           2 :                             if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail2343;
   23419                 :           2 :                             {
   23420                 :           2 :                               res_op->set_op (VIEW_CONVERT_EXPR, type, 1);
   23421                 :           2 :                               {
   23422                 :           2 :                                 tree _o1[4], _r1;
   23423                 :           2 :                                 {
   23424                 :           2 :                                   tree _o2[1], _r2;
   23425                 :           2 :                                   _o2[0] = captures[0];
   23426                 :           2 :                                   gimple_match_op tem_op (res_op->cond.any_else (), BIT_NOT_EXPR, TREE_TYPE (_o2[0]), _o2[0]);
   23427                 :           2 :                                   tem_op.resimplify (lseq, valueize);
   23428                 :           2 :                                   _r2 = maybe_push_res_to_seq (&tem_op, lseq);
   23429                 :           2 :                                   if (!_r2) goto next_after_fail2343;
   23430                 :           1 :                                   _o1[0] = _r2;
   23431                 :             :                                 }
   23432                 :           1 :                                 _o1[1] = captures[3];
   23433                 :           1 :                                 _o1[2] = captures[4];
   23434                 :           1 :                                 {
   23435                 :           1 :                                   tree _o2[1], _r2;
   23436                 :           1 :                                   _o2[0] = captures[1];
   23437                 :           1 :                                   gimple_match_op tem_op (res_op->cond.any_else (), VIEW_CONVERT_EXPR, op_type, _o2[0]);
   23438                 :           1 :                                   tem_op.resimplify (lseq, valueize);
   23439                 :           1 :                                   _r2 = maybe_push_res_to_seq (&tem_op, lseq);
   23440                 :           1 :                                   if (!_r2) goto next_after_fail2343;
   23441                 :           1 :                                   _o1[3] = _r2;
   23442                 :             :                                 }
   23443                 :           1 :                                 gimple_match_op tem_op (res_op->cond.any_else (), CFN_COND_MUL, TREE_TYPE (_o1[1]), _o1[0], _o1[1], _o1[2], _o1[3]);
   23444                 :           1 :                                 tem_op.resimplify (lseq, valueize);
   23445                 :           1 :                                 _r1 = maybe_push_res_to_seq (&tem_op, lseq);
   23446                 :           1 :                                 if (!_r1) goto next_after_fail2343;
   23447                 :           1 :                                 res_op->ops[0] = _r1;
   23448                 :             :                               }
   23449                 :           1 :                               res_op->resimplify (lseq, valueize);
   23450                 :           1 :                               if (UNLIKELY (debug_dump)) gimple_dump_logs ("match.pd", 1125, __FILE__, __LINE__, true);
   23451                 :           1 :                               return true;
   23452                 :             :                             }
   23453                 :         248 : next_after_fail2343:;
   23454                 :             :                           }
   23455                 :             :                     }
   23456                 :             :                   }
   23457                 :         248 :                   break;
   23458                 :             :                 }
   23459                 :           0 :               case TRUNC_DIV_EXPR:
   23460                 :           0 :                 {
   23461                 :           0 :                   tree _q40 = gimple_assign_rhs1 (_a1);
   23462                 :           0 :                   _q40 = do_valueize (valueize, _q40);
   23463                 :           0 :                   tree _q41 = gimple_assign_rhs2 (_a1);
   23464                 :           0 :                   _q41 = do_valueize (valueize, _q41);
   23465                 :           0 :                   {
   23466                 :           0 :                     tree captures[5] ATTRIBUTE_UNUSED = { _p0, _p1, _p2, _q40, _q41 };
   23467                 :           0 :                     {
   23468                 :           0 :  tree op_type = TREE_TYPE (captures[2]);
   23469                 :           0 :                         if (vectorized_internal_fn_supported_p (as_internal_fn (CFN_COND_DIV), op_type)
   23470                 :           0 :  && is_truth_type_for (op_type, TREE_TYPE (captures[0]))
   23471                 :           0 :  && single_use (captures[2])
   23472                 :             : )
   23473                 :             :                           {
   23474                 :           0 :                             gimple_seq *lseq = seq;
   23475                 :           0 :                             if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail2344;
   23476                 :           0 :                             {
   23477                 :           0 :                               res_op->set_op (VIEW_CONVERT_EXPR, type, 1);
   23478                 :           0 :                               {
   23479                 :           0 :                                 tree _o1[4], _r1;
   23480                 :           0 :                                 {
   23481                 :           0 :                                   tree _o2[1], _r2;
   23482                 :           0 :                                   _o2[0] = captures[0];
   23483                 :           0 :                                   gimple_match_op tem_op (res_op->cond.any_else (), BIT_NOT_EXPR, TREE_TYPE (_o2[0]), _o2[0]);
   23484                 :           0 :                                   tem_op.resimplify (lseq, valueize);
   23485                 :           0 :                                   _r2 = maybe_push_res_to_seq (&tem_op, lseq);
   23486                 :           0 :                                   if (!_r2) goto next_after_fail2344;
   23487                 :           0 :                                   _o1[0] = _r2;
   23488                 :             :                                 }
   23489                 :           0 :                                 _o1[1] = captures[3];
   23490                 :           0 :                                 _o1[2] = captures[4];
   23491                 :           0 :                                 {
   23492                 :           0 :                                   tree _o2[1], _r2;
   23493                 :           0 :                                   _o2[0] = captures[1];
   23494                 :           0 :                                   gimple_match_op tem_op (res_op->cond.any_else (), VIEW_CONVERT_EXPR, op_type, _o2[0]);
   23495                 :           0 :                                   tem_op.resimplify (lseq, valueize);
   23496                 :           0 :                                   _r2 = maybe_push_res_to_seq (&tem_op, lseq);
   23497                 :           0 :                                   if (!_r2) goto next_after_fail2344;
   23498                 :           0 :                                   _o1[3] = _r2;
   23499                 :             :                                 }
   23500                 :           0 :                                 gimple_match_op tem_op (res_op->cond.any_else (), CFN_COND_DIV, TREE_TYPE (_o1[1]), _o1[0], _o1[1], _o1[2], _o1[3]);
   23501                 :           0 :                                 tem_op.resimplify (lseq, valueize);
   23502                 :           0 :                                 _r1 = maybe_push_res_to_seq (&tem_op, lseq);
   23503                 :           0 :                                 if (!_r1) goto next_after_fail2344;
   23504                 :           0 :                                 res_op->ops[0] = _r1;
   23505                 :             :                               }
   23506                 :           0 :                               res_op->resimplify (lseq, valueize);
   23507                 :           0 :                               if (UNLIKELY (debug_dump)) gimple_dump_logs ("match.pd", 1125, __FILE__, __LINE__, true);
   23508                 :           0 :                               return true;
   23509                 :             :                             }
   23510                 :           0 : next_after_fail2344:;
   23511                 :             :                           }
   23512                 :             :                     }
   23513                 :             :                   }
   23514                 :           0 :                   break;
   23515                 :             :                 }
   23516                 :           0 :               case TRUNC_MOD_EXPR:
   23517                 :           0 :                 {
   23518                 :           0 :                   tree _q40 = gimple_assign_rhs1 (_a1);
   23519                 :           0 :                   _q40 = do_valueize (valueize, _q40);
   23520                 :           0 :                   tree _q41 = gimple_assign_rhs2 (_a1);
   23521                 :           0 :                   _q41 = do_valueize (valueize, _q41);
   23522                 :           0 :                   {
   23523                 :           0 :                     tree captures[5] ATTRIBUTE_UNUSED = { _p0, _p1, _p2, _q40, _q41 };
   23524                 :           0 :                     {
   23525                 :           0 :  tree op_type = TREE_TYPE (captures[2]);
   23526                 :           0 :                         if (vectorized_internal_fn_supported_p (as_internal_fn (CFN_COND_MOD), op_type)
   23527                 :           0 :  && is_truth_type_for (op_type, TREE_TYPE (captures[0]))
   23528                 :           0 :  && single_use (captures[2])
   23529                 :             : )
   23530                 :             :                           {
   23531                 :           0 :                             gimple_seq *lseq = seq;
   23532                 :           0 :                             if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail2345;
   23533                 :           0 :                             {
   23534                 :           0 :                               res_op->set_op (VIEW_CONVERT_EXPR, type, 1);
   23535                 :           0 :                               {
   23536                 :           0 :                                 tree _o1[4], _r1;
   23537                 :           0 :                                 {
   23538                 :           0 :                                   tree _o2[1], _r2;
   23539                 :           0 :                                   _o2[0] = captures[0];
   23540                 :           0 :                                   gimple_match_op tem_op (res_op->cond.any_else (), BIT_NOT_EXPR, TREE_TYPE (_o2[0]), _o2[0]);
   23541                 :           0 :                                   tem_op.resimplify (lseq, valueize);
   23542                 :           0 :                                   _r2 = maybe_push_res_to_seq (&tem_op, lseq);
   23543                 :           0 :                                   if (!_r2) goto next_after_fail2345;
   23544                 :           0 :                                   _o1[0] = _r2;
   23545                 :             :                                 }
   23546                 :           0 :                                 _o1[1] = captures[3];
   23547                 :           0 :                                 _o1[2] = captures[4];
   23548                 :           0 :                                 {
   23549                 :           0 :                                   tree _o2[1], _r2;
   23550                 :           0 :                                   _o2[0] = captures[1];
   23551                 :           0 :                                   gimple_match_op tem_op (res_op->cond.any_else (), VIEW_CONVERT_EXPR, op_type, _o2[0]);
   23552                 :           0 :                                   tem_op.resimplify (lseq, valueize);
   23553                 :           0 :                                   _r2 = maybe_push_res_to_seq (&tem_op, lseq);
   23554                 :           0 :                                   if (!_r2) goto next_after_fail2345;
   23555                 :           0 :                                   _o1[3] = _r2;
   23556                 :             :                                 }
   23557                 :           0 :                                 gimple_match_op tem_op (res_op->cond.any_else (), CFN_COND_MOD, TREE_TYPE (_o1[1]), _o1[0], _o1[1], _o1[2], _o1[3]);
   23558                 :           0 :                                 tem_op.resimplify (lseq, valueize);
   23559                 :           0 :                                 _r1 = maybe_push_res_to_seq (&tem_op, lseq);
   23560                 :           0 :                                 if (!_r1) goto next_after_fail2345;
   23561                 :           0 :                                 res_op->ops[0] = _r1;
   23562                 :             :                               }
   23563                 :           0 :                               res_op->resimplify (lseq, valueize);
   23564                 :           0 :                               if (UNLIKELY (debug_dump)) gimple_dump_logs ("match.pd", 1125, __FILE__, __LINE__, true);
   23565                 :           0 :                               return true;
   23566                 :             :                             }
   23567                 :           0 : next_after_fail2345:;
   23568                 :             :                           }
   23569                 :             :                     }
   23570                 :             :                   }
   23571                 :           0 :                   break;
   23572                 :             :                 }
   23573                 :          18 :               case RDIV_EXPR:
   23574                 :          18 :                 {
   23575                 :          18 :                   tree _q40 = gimple_assign_rhs1 (_a1);
   23576                 :          18 :                   _q40 = do_valueize (valueize, _q40);
   23577                 :          18 :                   tree _q41 = gimple_assign_rhs2 (_a1);
   23578                 :          18 :                   _q41 = do_valueize (valueize, _q41);
   23579                 :          18 :                   {
   23580                 :          18 :                     tree captures[5] ATTRIBUTE_UNUSED = { _p0, _p1, _p2, _q40, _q41 };
   23581                 :          18 :                     {
   23582                 :          18 :  tree op_type = TREE_TYPE (captures[2]);
   23583                 :          18 :                         if (vectorized_internal_fn_supported_p (as_internal_fn (CFN_COND_RDIV), op_type)
   23584                 :           0 :  && is_truth_type_for (op_type, TREE_TYPE (captures[0]))
   23585                 :          18 :  && single_use (captures[2])
   23586                 :             : )
   23587                 :             :                           {
   23588                 :           0 :                             gimple_seq *lseq = seq;
   23589                 :           0 :                             if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail2346;
   23590                 :           0 :                             {
   23591                 :           0 :                               res_op->set_op (VIEW_CONVERT_EXPR, type, 1);
   23592                 :           0 :                               {
   23593                 :           0 :                                 tree _o1[4], _r1;
   23594                 :           0 :                                 {
   23595                 :           0 :                                   tree _o2[1], _r2;
   23596                 :           0 :                                   _o2[0] = captures[0];
   23597                 :           0 :                                   gimple_match_op tem_op (res_op->cond.any_else (), BIT_NOT_EXPR, TREE_TYPE (_o2[0]), _o2[0]);
   23598                 :           0 :                                   tem_op.resimplify (lseq, valueize);
   23599                 :           0 :                                   _r2 = maybe_push_res_to_seq (&tem_op, lseq);
   23600                 :           0 :                                   if (!_r2) goto next_after_fail2346;
   23601                 :           0 :                                   _o1[0] = _r2;
   23602                 :             :                                 }
   23603                 :           0 :                                 _o1[1] = captures[3];
   23604                 :           0 :                                 _o1[2] = captures[4];
   23605                 :           0 :                                 {
   23606                 :           0 :                                   tree _o2[1], _r2;
   23607                 :           0 :                                   _o2[0] = captures[1];
   23608                 :           0 :                                   gimple_match_op tem_op (res_op->cond.any_else (), VIEW_CONVERT_EXPR, op_type, _o2[0]);
   23609                 :           0 :                                   tem_op.resimplify (lseq, valueize);
   23610                 :           0 :                                   _r2 = maybe_push_res_to_seq (&tem_op, lseq);
   23611                 :           0 :                                   if (!_r2) goto next_after_fail2346;
   23612                 :           0 :                                   _o1[3] = _r2;
   23613                 :             :                                 }
   23614                 :           0 :                                 gimple_match_op tem_op (res_op->cond.any_else (), CFN_COND_RDIV, TREE_TYPE (_o1[1]), _o1[0], _o1[1], _o1[2], _o1[3]);
   23615                 :           0 :                                 tem_op.resimplify (lseq, valueize);
   23616                 :           0 :                                 _r1 = maybe_push_res_to_seq (&tem_op, lseq);
   23617                 :           0 :                                 if (!_r1) goto next_after_fail2346;
   23618                 :           0 :                                 res_op->ops[0] = _r1;
   23619                 :             :                               }
   23620                 :           0 :                               res_op->resimplify (lseq, valueize);
   23621                 :           0 :                               if (UNLIKELY (debug_dump)) gimple_dump_logs ("match.pd", 1125, __FILE__, __LINE__, true);
   23622                 :           0 :                               return true;
   23623                 :             :                             }
   23624                 :          18 : next_after_fail2346:;
   23625                 :             :                           }
   23626                 :             :                     }
   23627                 :             :                   }
   23628                 :          18 :                   break;
   23629                 :             :                 }
   23630                 :          18 :               case MIN_EXPR:
   23631                 :          18 :                 {
   23632                 :          18 :                   tree _q40 = gimple_assign_rhs1 (_a1);
   23633                 :          18 :                   _q40 = do_valueize (valueize, _q40);
   23634                 :          18 :                   tree _q41 = gimple_assign_rhs2 (_a1);
   23635                 :          18 :                   _q41 = do_valueize (valueize, _q41);
   23636                 :          18 :                   if (tree_swap_operands_p (_q40, _q41))
   23637                 :           0 :                     std::swap (_q40, _q41);
   23638                 :          18 :                   {
   23639                 :          18 :                     tree captures[5] ATTRIBUTE_UNUSED = { _p0, _p1, _p2, _q40, _q41 };
   23640                 :          18 :                     {
   23641                 :          18 :  tree op_type = TREE_TYPE (captures[2]);
   23642                 :          18 :                         if (vectorized_internal_fn_supported_p (as_internal_fn (CFN_COND_MIN), op_type)
   23643                 :           0 :  && is_truth_type_for (op_type, TREE_TYPE (captures[0]))
   23644                 :          18 :  && single_use (captures[2])
   23645                 :             : )
   23646                 :             :                           {
   23647                 :           0 :                             gimple_seq *lseq = seq;
   23648                 :           0 :                             if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail2347;
   23649                 :           0 :                             {
   23650                 :           0 :                               res_op->set_op (VIEW_CONVERT_EXPR, type, 1);
   23651                 :           0 :                               {
   23652                 :           0 :                                 tree _o1[4], _r1;
   23653                 :           0 :                                 {
   23654                 :           0 :                                   tree _o2[1], _r2;
   23655                 :           0 :                                   _o2[0] = captures[0];
   23656                 :           0 :                                   gimple_match_op tem_op (res_op->cond.any_else (), BIT_NOT_EXPR, TREE_TYPE (_o2[0]), _o2[0]);
   23657                 :           0 :                                   tem_op.resimplify (lseq, valueize);
   23658                 :           0 :                                   _r2 = maybe_push_res_to_seq (&tem_op, lseq);
   23659                 :           0 :                                   if (!_r2) goto next_after_fail2347;
   23660                 :           0 :                                   _o1[0] = _r2;
   23661                 :             :                                 }
   23662                 :           0 :                                 _o1[1] = captures[3];
   23663                 :           0 :                                 _o1[2] = captures[4];
   23664                 :           0 :                                 {
   23665                 :           0 :                                   tree _o2[1], _r2;
   23666                 :           0 :                                   _o2[0] = captures[1];
   23667                 :           0 :                                   gimple_match_op tem_op (res_op->cond.any_else (), VIEW_CONVERT_EXPR, op_type, _o2[0]);
   23668                 :           0 :                                   tem_op.resimplify (lseq, valueize);
   23669                 :           0 :                                   _r2 = maybe_push_res_to_seq (&tem_op, lseq);
   23670                 :           0 :                                   if (!_r2) goto next_after_fail2347;
   23671                 :           0 :                                   _o1[3] = _r2;
   23672                 :             :                                 }
   23673                 :           0 :                                 gimple_match_op tem_op (res_op->cond.any_else (), CFN_COND_MIN, TREE_TYPE (_o1[1]), _o1[0], _o1[1], _o1[2], _o1[3]);
   23674                 :           0 :                                 tem_op.resimplify (lseq, valueize);
   23675                 :           0 :                                 _r1 = maybe_push_res_to_seq (&tem_op, lseq);
   23676                 :           0 :                                 if (!_r1) goto next_after_fail2347;
   23677                 :           0 :                                 res_op->ops[0] = _r1;
   23678                 :             :                               }
   23679                 :           0 :                               res_op->resimplify (lseq, valueize);
   23680                 :           0 :                               if (UNLIKELY (debug_dump)) gimple_dump_logs ("match.pd", 1125, __FILE__, __LINE__, true);
   23681                 :           0 :                               return true;
   23682                 :             :                             }
   23683                 :          18 : next_after_fail2347:;
   23684                 :             :                           }
   23685                 :             :                     }
   23686                 :             :                   }
   23687                 :          18 :                   break;
   23688                 :             :                 }
   23689                 :         228 :               case MAX_EXPR:
   23690                 :         228 :                 {
   23691                 :         228 :                   tree _q40 = gimple_assign_rhs1 (_a1);
   23692                 :         228 :                   _q40 = do_valueize (valueize, _q40);
   23693                 :         228 :                   tree _q41 = gimple_assign_rhs2 (_a1);
   23694                 :         228 :                   _q41 = do_valueize (valueize, _q41);
   23695                 :         228 :                   if (tree_swap_operands_p (_q40, _q41))
   23696                 :         176 :                     std::swap (_q40, _q41);
   23697                 :         228 :                   {
   23698                 :         228 :                     tree captures[5] ATTRIBUTE_UNUSED = { _p0, _p1, _p2, _q40, _q41 };
   23699                 :         228 :                     {
   23700                 :         228 :  tree op_type = TREE_TYPE (captures[2]);
   23701                 :         228 :                         if (vectorized_internal_fn_supported_p (as_internal_fn (CFN_COND_MAX), op_type)
   23702                 :         210 :  && is_truth_type_for (op_type, TREE_TYPE (captures[0]))
   23703                 :         438 :  && single_use (captures[2])
   23704                 :             : )
   23705                 :             :                           {
   23706                 :         210 :                             gimple_seq *lseq = seq;
   23707                 :         210 :                             if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail2348;
   23708                 :         210 :                             {
   23709                 :         210 :                               res_op->set_op (VIEW_CONVERT_EXPR, type, 1);
   23710                 :         210 :                               {
   23711                 :         210 :                                 tree _o1[4], _r1;
   23712                 :         210 :                                 {
   23713                 :         210 :                                   tree _o2[1], _r2;
   23714                 :         210 :                                   _o2[0] = captures[0];
   23715                 :         210 :                                   gimple_match_op tem_op (res_op->cond.any_else (), BIT_NOT_EXPR, TREE_TYPE (_o2[0]), _o2[0]);
   23716                 :         210 :                                   tem_op.resimplify (lseq, valueize);
   23717                 :         210 :                                   _r2 = maybe_push_res_to_seq (&tem_op, lseq);
   23718                 :         210 :                                   if (!_r2) goto next_after_fail2348;
   23719                 :          12 :                                   _o1[0] = _r2;
   23720                 :             :                                 }
   23721                 :          12 :                                 _o1[1] = captures[3];
   23722                 :          12 :                                 _o1[2] = captures[4];
   23723                 :          12 :                                 {
   23724                 :          12 :                                   tree _o2[1], _r2;
   23725                 :          12 :                                   _o2[0] = captures[1];
   23726                 :          12 :                                   gimple_match_op tem_op (res_op->cond.any_else (), VIEW_CONVERT_EXPR, op_type, _o2[0]);
   23727                 :          12 :                                   tem_op.resimplify (lseq, valueize);
   23728                 :          12 :                                   _r2 = maybe_push_res_to_seq (&tem_op, lseq);
   23729                 :          12 :                                   if (!_r2) goto next_after_fail2348;
   23730                 :          12 :                                   _o1[3] = _r2;
   23731                 :             :                                 }
   23732                 :          12 :                                 gimple_match_op tem_op (res_op->cond.any_else (), CFN_COND_MAX, TREE_TYPE (_o1[1]), _o1[0], _o1[1], _o1[2], _o1[3]);
   23733                 :          12 :                                 tem_op.resimplify (lseq, valueize);
   23734                 :          12 :                                 _r1 = maybe_push_res_to_seq (&tem_op, lseq);
   23735                 :          12 :                                 if (!_r1) goto next_after_fail2348;
   23736                 :          12 :                                 res_op->ops[0] = _r1;
   23737                 :             :                               }
   23738                 :          12 :                               res_op->resimplify (lseq, valueize);
   23739                 :          12 :                               if (UNLIKELY (debug_dump)) gimple_dump_logs ("match.pd", 1125, __FILE__, __LINE__, true);
   23740                 :          12 :                               return true;
   23741                 :             :                             }
   23742                 :         216 : next_after_fail2348:;
   23743                 :             :                           }
   23744                 :             :                     }
   23745                 :             :                   }
   23746                 :         216 :                   break;
   23747                 :             :                 }
   23748                 :           0 :               case BIT_AND_EXPR:
   23749                 :           0 :                 {
   23750                 :           0 :                   tree _q40 = gimple_assign_rhs1 (_a1);
   23751                 :           0 :                   _q40 = do_valueize (valueize, _q40);
   23752                 :           0 :                   tree _q41 = gimple_assign_rhs2 (_a1);
   23753                 :           0 :                   _q41 = do_valueize (valueize, _q41);
   23754                 :           0 :                   if (tree_swap_operands_p (_q40, _q41))
   23755                 :           0 :                     std::swap (_q40, _q41);
   23756                 :           0 :                   {
   23757                 :           0 :                     tree captures[5] ATTRIBUTE_UNUSED = { _p0, _p1, _p2, _q40, _q41 };
   23758                 :           0 :                     {
   23759                 :           0 :  tree op_type = TREE_TYPE (captures[2]);
   23760                 :           0 :                         if (vectorized_internal_fn_supported_p (as_internal_fn (CFN_COND_AND), op_type)
   23761                 :           0 :  && is_truth_type_for (op_type, TREE_TYPE (captures[0]))
   23762                 :           0 :  && single_use (captures[2])
   23763                 :             : )
   23764                 :             :                           {
   23765                 :           0 :                             gimple_seq *lseq = seq;
   23766                 :           0 :                             if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail2349;
   23767                 :           0 :                             {
   23768                 :           0 :                               res_op->set_op (VIEW_CONVERT_EXPR, type, 1);
   23769                 :           0 :                               {
   23770                 :           0 :                                 tree _o1[4], _r1;
   23771                 :           0 :                                 {
   23772                 :           0 :                                   tree _o2[1], _r2;
   23773                 :           0 :                                   _o2[0] = captures[0];
   23774                 :           0 :                                   gimple_match_op tem_op (res_op->cond.any_else (), BIT_NOT_EXPR, TREE_TYPE (_o2[0]), _o2[0]);
   23775                 :           0 :                                   tem_op.resimplify (lseq, valueize);
   23776                 :           0 :                                   _r2 = maybe_push_res_to_seq (&tem_op, lseq);
   23777                 :           0 :                                   if (!_r2) goto next_after_fail2349;
   23778                 :           0 :                                   _o1[0] = _r2;
   23779                 :             :                                 }
   23780                 :           0 :                                 _o1[1] = captures[3];
   23781                 :           0 :                                 _o1[2] = captures[4];
   23782                 :           0 :                                 {
   23783                 :           0 :                                   tree _o2[1], _r2;
   23784                 :           0 :                                   _o2[0] = captures[1];
   23785                 :           0 :                                   gimple_match_op tem_op (res_op->cond.any_else (), VIEW_CONVERT_EXPR, op_type, _o2[0]);
   23786                 :           0 :                                   tem_op.resimplify (lseq, valueize);
   23787                 :           0 :                                   _r2 = maybe_push_res_to_seq (&tem_op, lseq);
   23788                 :           0 :                                   if (!_r2) goto next_after_fail2349;
   23789                 :           0 :                                   _o1[3] = _r2;
   23790                 :             :                                 }
   23791                 :           0 :                                 gimple_match_op tem_op (res_op->cond.any_else (), CFN_COND_AND, TREE_TYPE (_o1[1]), _o1[0], _o1[1], _o1[2], _o1[3]);
   23792                 :           0 :                                 tem_op.resimplify (lseq, valueize);
   23793                 :           0 :                                 _r1 = maybe_push_res_to_seq (&tem_op, lseq);
   23794                 :           0 :                                 if (!_r1) goto next_after_fail2349;
   23795                 :           0 :                                 res_op->ops[0] = _r1;
   23796                 :             :                               }
   23797                 :           0 :                               res_op->resimplify (lseq, valueize);
   23798                 :           0 :                               if (UNLIKELY (debug_dump)) gimple_dump_logs ("match.pd", 1125, __FILE__, __LINE__, true);
   23799                 :           0 :                               return true;
   23800                 :             :                             }
   23801                 :           0 : next_after_fail2349:;
   23802                 :             :                           }
   23803                 :             :                     }
   23804                 :             :                   }
   23805                 :           0 :                   break;
   23806                 :             :                 }
   23807                 :           0 :               case BIT_IOR_EXPR:
   23808                 :           0 :                 {
   23809                 :           0 :                   tree _q40 = gimple_assign_rhs1 (_a1);
   23810                 :           0 :                   _q40 = do_valueize (valueize, _q40);
   23811                 :           0 :                   tree _q41 = gimple_assign_rhs2 (_a1);
   23812                 :           0 :                   _q41 = do_valueize (valueize, _q41);
   23813                 :           0 :                   if (tree_swap_operands_p (_q40, _q41))
   23814                 :           0 :                     std::swap (_q40, _q41);
   23815                 :           0 :                   {
   23816                 :           0 :                     tree captures[5] ATTRIBUTE_UNUSED = { _p0, _p1, _p2, _q40, _q41 };
   23817                 :           0 :                     {
   23818                 :           0 :  tree op_type = TREE_TYPE (captures[2]);
   23819                 :           0 :                         if (vectorized_internal_fn_supported_p (as_internal_fn (CFN_COND_IOR), op_type)
   23820                 :           0 :  && is_truth_type_for (op_type, TREE_TYPE (captures[0]))
   23821                 :           0 :  && single_use (captures[2])
   23822                 :             : )
   23823                 :             :                           {
   23824                 :           0 :                             gimple_seq *lseq = seq;
   23825                 :           0 :                             if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail2350;
   23826                 :           0 :                             {
   23827                 :           0 :                               res_op->set_op (VIEW_CONVERT_EXPR, type, 1);
   23828                 :           0 :                               {
   23829                 :           0 :                                 tree _o1[4], _r1;
   23830                 :           0 :                                 {
   23831                 :           0 :                                   tree _o2[1], _r2;
   23832                 :           0 :                                   _o2[0] = captures[0];
   23833                 :           0 :                                   gimple_match_op tem_op (res_op->cond.any_else (), BIT_NOT_EXPR, TREE_TYPE (_o2[0]), _o2[0]);
   23834                 :           0 :                                   tem_op.resimplify (lseq, valueize);
   23835                 :           0 :                                   _r2 = maybe_push_res_to_seq (&tem_op, lseq);
   23836                 :           0 :                                   if (!_r2) goto next_after_fail2350;
   23837                 :           0 :                                   _o1[0] = _r2;
   23838                 :             :                                 }
   23839                 :           0 :                                 _o1[1] = captures[3];
   23840                 :           0 :                                 _o1[2] = captures[4];
   23841                 :           0 :                                 {
   23842                 :           0 :                                   tree _o2[1], _r2;
   23843                 :           0 :                                   _o2[0] = captures[1];
   23844                 :           0 :                                   gimple_match_op tem_op (res_op->cond.any_else (), VIEW_CONVERT_EXPR, op_type, _o2[0]);
   23845                 :           0 :                                   tem_op.resimplify (lseq, valueize);
   23846                 :           0 :                                   _r2 = maybe_push_res_to_seq (&tem_op, lseq);
   23847                 :           0 :                                   if (!_r2) goto next_after_fail2350;
   23848                 :           0 :                                   _o1[3] = _r2;
   23849                 :             :                                 }
   23850                 :           0 :                                 gimple_match_op tem_op (res_op->cond.any_else (), CFN_COND_IOR, TREE_TYPE (_o1[1]), _o1[0], _o1[1], _o1[2], _o1[3]);
   23851                 :           0 :                                 tem_op.resimplify (lseq, valueize);
   23852                 :           0 :                                 _r1 = maybe_push_res_to_seq (&tem_op, lseq);
   23853                 :           0 :                                 if (!_r1) goto next_after_fail2350;
   23854                 :           0 :                                 res_op->ops[0] = _r1;
   23855                 :             :                               }
   23856                 :           0 :                               res_op->resimplify (lseq, valueize);
   23857                 :           0 :                               if (UNLIKELY (debug_dump)) gimple_dump_logs ("match.pd", 1125, __FILE__, __LINE__, true);
   23858                 :           0 :                               return true;
   23859                 :             :                             }
   23860                 :           0 : next_after_fail2350:;
   23861                 :             :                           }
   23862                 :             :                     }
   23863                 :             :                   }
   23864                 :           0 :                   break;
   23865                 :             :                 }
   23866                 :           0 :               case BIT_XOR_EXPR:
   23867                 :           0 :                 {
   23868                 :           0 :                   tree _q40 = gimple_assign_rhs1 (_a1);
   23869                 :           0 :                   _q40 = do_valueize (valueize, _q40);
   23870                 :           0 :                   tree _q41 = gimple_assign_rhs2 (_a1);
   23871                 :           0 :                   _q41 = do_valueize (valueize, _q41);
   23872                 :           0 :                   if (tree_swap_operands_p (_q40, _q41))
   23873                 :           0 :                     std::swap (_q40, _q41);
   23874                 :           0 :                   {
   23875                 :           0 :                     tree captures[5] ATTRIBUTE_UNUSED = { _p0, _p1, _p2, _q40, _q41 };
   23876                 :           0 :                     {
   23877                 :           0 :  tree op_type = TREE_TYPE (captures[2]);
   23878                 :           0 :                         if (vectorized_internal_fn_supported_p (as_internal_fn (CFN_COND_XOR), op_type)
   23879                 :           0 :  && is_truth_type_for (op_type, TREE_TYPE (captures[0]))
   23880                 :           0 :  && single_use (captures[2])
   23881                 :             : )
   23882                 :             :                           {
   23883                 :           0 :                             gimple_seq *lseq = seq;
   23884                 :           0 :                             if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail2351;
   23885                 :           0 :                             {
   23886                 :           0 :                               res_op->set_op (VIEW_CONVERT_EXPR, type, 1);
   23887                 :           0 :                               {
   23888                 :           0 :                                 tree _o1[4], _r1;
   23889                 :           0 :                                 {
   23890                 :           0 :                                   tree _o2[1], _r2;
   23891                 :           0 :                                   _o2[0] = captures[0];
   23892                 :           0 :                                   gimple_match_op tem_op (res_op->cond.any_else (), BIT_NOT_EXPR, TREE_TYPE (_o2[0]), _o2[0]);
   23893                 :           0 :                                   tem_op.resimplify (lseq, valueize);
   23894                 :           0 :                                   _r2 = maybe_push_res_to_seq (&tem_op, lseq);
   23895                 :           0 :                                   if (!_r2) goto next_after_fail2351;
   23896                 :           0 :                                   _o1[0] = _r2;
   23897                 :             :                                 }
   23898                 :           0 :                                 _o1[1] = captures[3];
   23899                 :           0 :                                 _o1[2] = captures[4];
   23900                 :           0 :                                 {
   23901                 :           0 :                                   tree _o2[1], _r2;
   23902                 :           0 :                                   _o2[0] = captures[1];
   23903                 :           0 :                                   gimple_match_op tem_op (res_op->cond.any_else (), VIEW_CONVERT_EXPR, op_type, _o2[0]);
   23904                 :           0 :                                   tem_op.resimplify (lseq, valueize);
   23905                 :           0 :                                   _r2 = maybe_push_res_to_seq (&tem_op, lseq);
   23906                 :           0 :                                   if (!_r2) goto next_after_fail2351;
   23907                 :           0 :                                   _o1[3] = _r2;
   23908                 :             :                                 }
   23909                 :           0 :                                 gimple_match_op tem_op (res_op->cond.any_else (), CFN_COND_XOR, TREE_TYPE (_o1[1]), _o1[0], _o1[1], _o1[2], _o1[3]);
   23910                 :           0 :                                 tem_op.resimplify (lseq, valueize);
   23911                 :           0 :                                 _r1 = maybe_push_res_to_seq (&tem_op, lseq);
   23912                 :           0 :                                 if (!_r1) goto next_after_fail2351;
   23913                 :           0 :                                 res_op->ops[0] = _r1;
   23914                 :             :                               }
   23915                 :           0 :                               res_op->resimplify (lseq, valueize);
   23916                 :           0 :                               if (UNLIKELY (debug_dump)) gimple_dump_logs ("match.pd", 1125, __FILE__, __LINE__, true);
   23917                 :           0 :                               return true;
   23918                 :             :                             }
   23919                 :           0 : next_after_fail2351:;
   23920                 :             :                           }
   23921                 :             :                     }
   23922                 :             :                   }
   23923                 :           0 :                   break;
   23924                 :             :                 }
   23925                 :         303 :               case LSHIFT_EXPR:
   23926                 :         303 :                 {
   23927                 :         303 :                   tree _q40 = gimple_assign_rhs1 (_a1);
   23928                 :         303 :                   _q40 = do_valueize (valueize, _q40);
   23929                 :         303 :                   tree _q41 = gimple_assign_rhs2 (_a1);
   23930                 :         303 :                   _q41 = do_valueize (valueize, _q41);
   23931                 :         303 :                   {
   23932                 :         303 :                     tree captures[5] ATTRIBUTE_UNUSED = { _p0, _p1, _p2, _q40, _q41 };
   23933                 :         303 :                     {
   23934                 :         303 :  tree op_type = TREE_TYPE (captures[2]);
   23935                 :         303 :                         if (vectorized_internal_fn_supported_p (as_internal_fn (CFN_COND_SHL), op_type)
   23936                 :          34 :  && is_truth_type_for (op_type, TREE_TYPE (captures[0]))
   23937                 :         337 :  && single_use (captures[2])
   23938                 :             : )
   23939                 :             :                           {
   23940                 :           6 :                             gimple_seq *lseq = seq;
   23941                 :           6 :                             if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail2352;
   23942                 :           6 :                             {
   23943                 :           6 :                               res_op->set_op (VIEW_CONVERT_EXPR, type, 1);
   23944                 :           6 :                               {
   23945                 :           6 :                                 tree _o1[4], _r1;
   23946                 :           6 :                                 {
   23947                 :           6 :                                   tree _o2[1], _r2;
   23948                 :           6 :                                   _o2[0] = captures[0];
   23949                 :           6 :                                   gimple_match_op tem_op (res_op->cond.any_else (), BIT_NOT_EXPR, TREE_TYPE (_o2[0]), _o2[0]);
   23950                 :           6 :                                   tem_op.resimplify (lseq, valueize);
   23951                 :           6 :                                   _r2 = maybe_push_res_to_seq (&tem_op, lseq);
   23952                 :           6 :                                   if (!_r2) goto next_after_fail2352;
   23953                 :           2 :                                   _o1[0] = _r2;
   23954                 :             :                                 }
   23955                 :           2 :                                 _o1[1] = captures[3];
   23956                 :           2 :                                 _o1[2] = captures[4];
   23957                 :           2 :                                 {
   23958                 :           2 :                                   tree _o2[1], _r2;
   23959                 :           2 :                                   _o2[0] = captures[1];
   23960                 :           2 :                                   gimple_match_op tem_op (res_op->cond.any_else (), VIEW_CONVERT_EXPR, op_type, _o2[0]);
   23961                 :           2 :                                   tem_op.resimplify (lseq, valueize);
   23962                 :           2 :                                   _r2 = maybe_push_res_to_seq (&tem_op, lseq);
   23963                 :           2 :                                   if (!_r2) goto next_after_fail2352;
   23964                 :           2 :                                   _o1[3] = _r2;
   23965                 :             :                                 }
   23966                 :           2 :                                 gimple_match_op tem_op (res_op->cond.any_else (), CFN_COND_SHL, TREE_TYPE (_o1[1]), _o1[0], _o1[1], _o1[2], _o1[3]);
   23967                 :           2 :                                 tem_op.resimplify (lseq, valueize);
   23968                 :           2 :                                 _r1 = maybe_push_res_to_seq (&tem_op, lseq);
   23969                 :           2 :                                 if (!_r1) goto next_after_fail2352;
   23970                 :           2 :                                 res_op->ops[0] = _r1;
   23971                 :             :                               }
   23972                 :           2 :                               res_op->resimplify (lseq, valueize);
   23973                 :           2 :                               if (UNLIKELY (debug_dump)) gimple_dump_logs ("match.pd", 1125, __FILE__, __LINE__, true);
   23974                 :           2 :                               return true;
   23975                 :             :                             }
   23976                 :         301 : next_after_fail2352:;
   23977                 :             :                           }
   23978                 :             :                     }
   23979                 :             :                   }
   23980                 :         301 :                   break;
   23981                 :             :                 }
   23982                 :          71 :               case RSHIFT_EXPR:
   23983                 :          71 :                 {
   23984                 :          71 :                   tree _q40 = gimple_assign_rhs1 (_a1);
   23985                 :          71 :                   _q40 = do_valueize (valueize, _q40);
   23986                 :          71 :                   tree _q41 = gimple_assign_rhs2 (_a1);
   23987                 :          71 :                   _q41 = do_valueize (valueize, _q41);
   23988                 :          71 :                   {
   23989                 :          71 :                     tree captures[5] ATTRIBUTE_UNUSED = { _p0, _p1, _p2, _q40, _q41 };
   23990                 :          71 :                     {
   23991                 :          71 :  tree op_type = TREE_TYPE (captures[2]);
   23992                 :          71 :                         if (vectorized_internal_fn_supported_p (as_internal_fn (CFN_COND_SHR), op_type)
   23993                 :          10 :  && is_truth_type_for (op_type, TREE_TYPE (captures[0]))
   23994                 :          81 :  && single_use (captures[2])
   23995                 :             : )
   23996                 :             :                           {
   23997                 :           0 :                             gimple_seq *lseq = seq;
   23998                 :           0 :                             if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail2353;
   23999                 :           0 :                             {
   24000                 :           0 :                               res_op->set_op (VIEW_CONVERT_EXPR, type, 1);
   24001                 :           0 :                               {
   24002                 :           0 :                                 tree _o1[4], _r1;
   24003                 :           0 :                                 {
   24004                 :           0 :                                   tree _o2[1], _r2;
   24005                 :           0 :                                   _o2[0] = captures[0];
   24006                 :           0 :                                   gimple_match_op tem_op (res_op->cond.any_else (), BIT_NOT_EXPR, TREE_TYPE (_o2[0]), _o2[0]);
   24007                 :           0 :                                   tem_op.resimplify (lseq, valueize);
   24008                 :           0 :                                   _r2 = maybe_push_res_to_seq (&tem_op, lseq);
   24009                 :           0 :                                   if (!_r2) goto next_after_fail2353;
   24010                 :           0 :                                   _o1[0] = _r2;
   24011                 :             :                                 }
   24012                 :           0 :                                 _o1[1] = captures[3];
   24013                 :           0 :                                 _o1[2] = captures[4];
   24014                 :           0 :                                 {
   24015                 :           0 :                                   tree _o2[1], _r2;
   24016                 :           0 :                                   _o2[0] = captures[1];
   24017                 :           0 :                                   gimple_match_op tem_op (res_op->cond.any_else (), VIEW_CONVERT_EXPR, op_type, _o2[0]);
   24018                 :           0 :                                   tem_op.resimplify (lseq, valueize);
   24019                 :           0 :                                   _r2 = maybe_push_res_to_seq (&tem_op, lseq);
   24020                 :           0 :                                   if (!_r2) goto next_after_fail2353;
   24021                 :           0 :                                   _o1[3] = _r2;
   24022                 :             :                                 }
   24023                 :           0 :                                 gimple_match_op tem_op (res_op->cond.any_else (), CFN_COND_SHR, TREE_TYPE (_o1[1]), _o1[0], _o1[1], _o1[2], _o1[3]);
   24024                 :           0 :                                 tem_op.resimplify (lseq, valueize);
   24025                 :           0 :                                 _r1 = maybe_push_res_to_seq (&tem_op, lseq);
   24026                 :           0 :                                 if (!_r1) goto next_after_fail2353;
   24027                 :           0 :                                 res_op->ops[0] = _r1;
   24028                 :             :                               }
   24029                 :           0 :                               res_op->resimplify (lseq, valueize);
   24030                 :           0 :                               if (UNLIKELY (debug_dump)) gimple_dump_logs ("match.pd", 1125, __FILE__, __LINE__, true);
   24031                 :           0 :                               return true;
   24032                 :             :                             }
   24033                 :          71 : next_after_fail2353:;
   24034                 :             :                           }
   24035                 :             :                     }
   24036                 :             :                   }
   24037                 :          71 :                   break;
   24038                 :             :                 }
   24039                 :             :               default:;
   24040                 :             :               }
   24041                 :        9473 :           else if (gcall *_c1 = dyn_cast <gcall *> (_d1))
   24042                 :         338 :             switch (gimple_call_combined_fn (_c1))
   24043                 :             :               {
   24044                 :           0 :               case CFN_FMAX:
   24045                 :           0 :                 if (gimple_call_num_args (_c1) == 2)
   24046                 :             :                   {
   24047                 :           0 :                     tree _q40 = gimple_call_arg (_c1, 0);
   24048                 :           0 :                     _q40 = do_valueize (valueize, _q40);
   24049                 :           0 :                     tree _q41 = gimple_call_arg (_c1, 1);
   24050                 :           0 :                     _q41 = do_valueize (valueize, _q41);
   24051                 :           0 :                     {
   24052                 :           0 :                       tree captures[5] ATTRIBUTE_UNUSED = { _p0, _p1, _p2, _q40, _q41 };
   24053                 :           0 :                       {
   24054                 :           0 :  tree op_type = TREE_TYPE (captures[2]);
   24055                 :           0 :                           if (vectorized_internal_fn_supported_p (as_internal_fn (CFN_COND_FMAX), op_type)
   24056                 :           0 :  && is_truth_type_for (op_type, TREE_TYPE (captures[0]))
   24057                 :           0 :  && single_use (captures[2])
   24058                 :             : )
   24059                 :             :                             {
   24060                 :           0 :                               gimple_seq *lseq = seq;
   24061                 :           0 :                               if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail2354;
   24062                 :           0 :                               {
   24063                 :           0 :                                 res_op->set_op (VIEW_CONVERT_EXPR, type, 1);
   24064                 :           0 :                                 {
   24065                 :           0 :                                   tree _o1[4], _r1;
   24066                 :           0 :                                   {
   24067                 :           0 :                                     tree _o2[1], _r2;
   24068                 :           0 :                                     _o2[0] = captures[0];
   24069                 :           0 :                                     gimple_match_op tem_op (res_op->cond.any_else (), BIT_NOT_EXPR, TREE_TYPE (_o2[0]), _o2[0]);
   24070                 :           0 :                                     tem_op.resimplify (lseq, valueize);
   24071                 :           0 :                                     _r2 = maybe_push_res_to_seq (&tem_op, lseq);
   24072                 :           0 :                                     if (!_r2) goto next_after_fail2354;
   24073                 :           0 :                                     _o1[0] = _r2;
   24074                 :             :                                   }
   24075                 :           0 :                                   _o1[1] = captures[3];
   24076                 :           0 :                                   _o1[2] = captures[4];
   24077                 :           0 :                                   {
   24078                 :           0 :                                     tree _o2[1], _r2;
   24079                 :           0 :                                     _o2[0] = captures[1];
   24080                 :           0 :                                     gimple_match_op tem_op (res_op->cond.any_else (), VIEW_CONVERT_EXPR, op_type, _o2[0]);
   24081                 :           0 :                                     tem_op.resimplify (lseq, valueize);
   24082                 :           0 :                                     _r2 = maybe_push_res_to_seq (&tem_op, lseq);
   24083                 :           0 :                                     if (!_r2) goto next_after_fail2354;
   24084                 :           0 :                                     _o1[3] = _r2;
   24085                 :             :                                   }
   24086                 :           0 :                                   gimple_match_op tem_op (res_op->cond.any_else (), CFN_COND_FMAX, TREE_TYPE (_o1[1]), _o1[0], _o1[1], _o1[2], _o1[3]);
   24087                 :           0 :                                   tem_op.resimplify (lseq, valueize);
   24088                 :           0 :                                   _r1 = maybe_push_res_to_seq (&tem_op, lseq);
   24089                 :           0 :                                   if (!_r1) goto next_after_fail2354;
   24090                 :           0 :                                   res_op->ops[0] = _r1;
   24091                 :             :                                 }
   24092                 :           0 :                                 res_op->resimplify (lseq, valueize);
   24093                 :           0 :                                 if (UNLIKELY (debug_dump)) gimple_dump_logs ("match.pd", 1125, __FILE__, __LINE__, true);
   24094                 :           0 :                                 return true;
   24095                 :             :                               }
   24096                 :           0 : next_after_fail2354:;
   24097                 :             :                             }
   24098                 :             :                       }
   24099                 :             :                     }
   24100                 :             :                   }
   24101                 :             :                 break;
   24102                 :           0 :               case CFN_FMIN:
   24103                 :           0 :                 if (gimple_call_num_args (_c1) == 2)
   24104                 :             :                   {
   24105                 :           0 :                     tree _q40 = gimple_call_arg (_c1, 0);
   24106                 :           0 :                     _q40 = do_valueize (valueize, _q40);
   24107                 :           0 :                     tree _q41 = gimple_call_arg (_c1, 1);
   24108                 :           0 :                     _q41 = do_valueize (valueize, _q41);
   24109                 :           0 :                     {
   24110                 :           0 :                       tree captures[5] ATTRIBUTE_UNUSED = { _p0, _p1, _p2, _q40, _q41 };
   24111                 :           0 :                       {
   24112                 :           0 :  tree op_type = TREE_TYPE (captures[2]);
   24113                 :           0 :                           if (vectorized_internal_fn_supported_p (as_internal_fn (CFN_COND_FMIN), op_type)
   24114                 :           0 :  && is_truth_type_for (op_type, TREE_TYPE (captures[0]))
   24115                 :           0 :  && single_use (captures[2])
   24116                 :             : )
   24117                 :             :                             {
   24118                 :           0 :                               gimple_seq *lseq = seq;
   24119                 :           0 :                               if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail2355;
   24120                 :           0 :                               {
   24121                 :           0 :                                 res_op->set_op (VIEW_CONVERT_EXPR, type, 1);
   24122                 :           0 :                                 {
   24123                 :           0 :                                   tree _o1[4], _r1;
   24124                 :           0 :                                   {
   24125                 :           0 :                                     tree _o2[1], _r2;
   24126                 :           0 :                                     _o2[0] = captures[0];
   24127                 :           0 :                                     gimple_match_op tem_op (res_op->cond.any_else (), BIT_NOT_EXPR, TREE_TYPE (_o2[0]), _o2[0]);
   24128                 :           0 :                                     tem_op.resimplify (lseq, valueize);
   24129                 :           0 :                                     _r2 = maybe_push_res_to_seq (&tem_op, lseq);
   24130                 :           0 :                                     if (!_r2) goto next_after_fail2355;
   24131                 :           0 :                                     _o1[0] = _r2;
   24132                 :             :                                   }
   24133                 :           0 :                                   _o1[1] = captures[3];
   24134                 :           0 :                                   _o1[2] = captures[4];
   24135                 :           0 :                                   {
   24136                 :           0 :                                     tree _o2[1], _r2;
   24137                 :           0 :                                     _o2[0] = captures[1];
   24138                 :           0 :                                     gimple_match_op tem_op (res_op->cond.any_else (), VIEW_CONVERT_EXPR, op_type, _o2[0]);
   24139                 :           0 :                                     tem_op.resimplify (lseq, valueize);
   24140                 :           0 :                                     _r2 = maybe_push_res_to_seq (&tem_op, lseq);
   24141                 :           0 :                                     if (!_r2) goto next_after_fail2355;
   24142                 :           0 :                                     _o1[3] = _r2;
   24143                 :             :                                   }
   24144                 :           0 :                                   gimple_match_op tem_op (res_op->cond.any_else (), CFN_COND_FMIN, TREE_TYPE (_o1[1]), _o1[0], _o1[1], _o1[2], _o1[3]);
   24145                 :           0 :                                   tem_op.resimplify (lseq, valueize);
   24146                 :           0 :                                   _r1 = maybe_push_res_to_seq (&tem_op, lseq);
   24147                 :           0 :                                   if (!_r1) goto next_after_fail2355;
   24148                 :           0 :                                   res_op->ops[0] = _r1;
   24149                 :             :                                 }
   24150                 :           0 :                                 res_op->resimplify (lseq, valueize);
   24151                 :           0 :                                 if (UNLIKELY (debug_dump)) gimple_dump_logs ("match.pd", 1125, __FILE__, __LINE__, true);
   24152                 :           0 :                                 return true;
   24153                 :             :                               }
   24154                 :           0 : next_after_fail2355:;
   24155                 :             :                             }
   24156                 :             :                       }
   24157                 :             :                     }
   24158                 :             :                   }
   24159                 :             :                 break;
   24160                 :           0 :               case CFN_COPYSIGN:
   24161                 :           0 :                 if (gimple_call_num_args (_c1) == 2)
   24162                 :             :                   {
   24163                 :           0 :                     tree _q40 = gimple_call_arg (_c1, 0);
   24164                 :           0 :                     _q40 = do_valueize (valueize, _q40);
   24165                 :           0 :                     tree _q41 = gimple_call_arg (_c1, 1);
   24166                 :           0 :                     _q41 = do_valueize (valueize, _q41);
   24167                 :           0 :                     {
   24168                 :           0 :                       tree captures[5] ATTRIBUTE_UNUSED = { _p0, _p1, _p2, _q40, _q41 };
   24169                 :           0 :                       {
   24170                 :           0 :  tree op_type = TREE_TYPE (captures[2]);
   24171                 :           0 :                           if (vectorized_internal_fn_supported_p (as_internal_fn (CFN_COND_COPYSIGN), op_type)
   24172                 :           0 :  && is_truth_type_for (op_type, TREE_TYPE (captures[0]))
   24173                 :           0 :  && single_use (captures[2])
   24174                 :             : )
   24175                 :             :                             {
   24176                 :           0 :                               gimple_seq *lseq = seq;
   24177                 :           0 :                               if (UNLIKELY (!dbg_cnt (match))) goto next_after_fail2356;
   24178                 :           0 :                               {
   24179                 :           0 :                                 res_op->set_op (VIEW_CONVERT_EXPR, type, 1);
   24180                 :           0 :                                 {
   24181                 :           0 :                                   tree _o1[4], _r1;
   24182                 :           0 :                                   {
   24183                 :           0 :                                     tree _o2[1], _r2;
   24184                 :           0 :                                     _o2[0] = captures[0];
   24185                 :           0 :                                     gimple_match_op tem_op (res_op->cond.any_else (), BIT_NOT_EXPR, TREE_TYPE (_o2[0]), _o2[0]);
   24186                 :           0 :                                     tem_op.resimplify (lseq, valueize);
   24187                 :           0 :                                     _r2 = maybe_push_res_to_seq (&tem_op, lseq);
   24188                 :           0 :                                     if (!_r2) goto next_after_fail2356;
   24189                 :           0 :                                     _o1[0] = _r2;
   24190                 :             :                                   }
   24191                 :           0 :                                   _o1[1] = captures[3];
   24192                 :           0 :                                   _o1[2] = captures[4];
   24193                 :           0 :                                   {
   24194                 :           0 :                                     tree _o2[1], _r2;
   24195                 :           0 :                                     _o2[0] = captures[1];
   24196                 :           0 :                                     gimple_match_op tem_op (res_op->cond.any_else (), VIEW_CONVERT_EXPR, op_type, _o2[0]);
   24197                 :           0 :                                     tem_op.resimplify (lseq, valueize);
   24198                 :           0 :                                     _r2 = maybe_push_res_to_seq (&tem_op, lseq);
   24199                 :           0 :                                     if (!_r2) goto next_after_fail2356;
   24200                 :           0 :                                     _o1[3] = _r2;
   24201                 :             :                                   }
   24202                 :           0 :                                   gimple_match_op tem_op (res_op->cond.any_else (), CFN_COND_COPYSIGN, TREE_TYPE (_o1[1]), _o1[0], _o1[1], _o1[2], _o1[3]);
   24203                 :           0 :                                   tem_op.resimplify (lseq, valueize);
   24204                 :           0 :                                   _r1 = maybe_push_res_to_seq (&tem_op, lseq);
   24205                 :           0 :                                   if (!_r1) goto next_after_fail2356;
   24206                 :           0 :                                   res_op->ops[0] = _r1;
   24207                 :             :                                 }
   24208                 :           0 :                                 res_op->resimplify (lseq, valueize);
   24209                 :           0 :                                 if (UNLIKELY (debug_dump)) gimple_dump_logs ("match.pd", 1125, __FILE__, __LINE__, true);
   24210                 :           0 :                                 return true;
   24211                 :             :                               }
   24212                 :           0 : next_after_fail2356:;
   24213                 :             :                             }
   24214                 :             :                       }
   24215                 :             :                     }
   24216                 :             :                   }
   24217                 :             :                 break;
   24218                 :             :               default:;
   24219                 :             :               }
   24220                 :             :         }
   24221                 :             :       break;
   24222                 :      149148 :     default:;
   24223                 :             :     }
   24224                 :      149148 :   switch (TREE_CODE (_p1))
   24225                 :             :     {
   24226                 :       23885 :     case SSA_NAME:
   24227                 :       23885 :       if (gimple *_d1 = get_def (valueize, _p1))
   24228                 :             :         {
   24229                 :       21521 :           if (gassign *_a1 = dyn_cast <gassign *> (_d1))
   24230                 :       20071 :             switch (gimple_assign_rhs_code (_a1))
   24231                 :             :               {
   24232                 :        1998 :               case VIEW_CONVERT_EXPR:
   24233                 :        1998 :                 {
   24234                 :        1998 :                   tree _q30 = TREE_OPERAND (gimple_assign_rhs1 (_a1), 0);
   24235                 :        1998 :                   if ((TREE_CODE (_q30) == SSA_NAME
   24236                 :        1998 :                        || is_gimple_min_invariant (_q30)))
   24237                 :             :                     {
   24238                 :        1998 :                       _q30 = do_valueize (valueize, _q30);
   24239                 :        1998 :                       switch (TREE_CODE (_q30))
   24240                 :             :                         {
   24241                 :        1998 :                         case SSA_NAME:
   24242                 :        1998 :                           if (gimple *_d2 = get_def (valueize, _q30))
   24243                 :             :                             {
   24244                 :        1975 :                               if (gcall *_c2 = dyn_cast <gcall *> (_d2))
   24245                 :           0 :                                 switch (gimple_call_combined_fn (_c2))
   24246                 :             :                                   {
   24247                 :           0 :                                   case CFN_FMA:
   24248                 :           0 :                                     if (gimple_call_num_args (_c2) == 3)
   24249                 :             :                                       {
   24250                 :           0 :                                         tree _q40 = gimple_call_arg (_c2, 0);
   24251                 :           0 :                                         _q40 = do_valueize (valueize, _q40);
   24252                 :           0 :                                         tree _q41 = gimple_call_arg (_c2, 1);
   24253                 :           0 :                                         _q41 = do_valueize (valueize, _q41);
   24254                 :           0 :                                         tree _q42 = gimple_call_arg (_c2, 2);
   24255                 :           0 :                                         _q42 = do_valueize (valueize, _q42);
   24256                 :           0 :                                         if (tree_swap_operands_p (_q40, _q41))
   24257                 :           0 :                                           std::swap (_q40, _q41);
   24258                 :           0 :                                         {
   24259                 :           0 :                                           tree captures[6] ATTRIBUTE_UNUSED = { _p0, _q30, _q40, _q41, _q42, _p2 };
   24260                 :           0 :                                           if (gimple_simplify_582 (res_op, seq, valueize, type, captures, CFN_FMA, CFN_COND_FMA))
   24261                 :           0 :                                             return true;
   24262                 :             :                                         }
   24263                 :             :                                       }
   24264                 :             :                                     break;
   24265                 :           0 :                                   case CFN_FMS:
   24266                 :           0 :                                     if (gimple_call_num_args (_c2) == 3)
   24267                 :             :                                       {
   24268                 :           0 :                                         tree _q40 = gimple_call_arg (_c2, 0);
   24269                 :           0 :                                         _q40 = do_valueize (valueize, _q40);
   24270                 :           0 :                                         tree _q41 = gimple_call_arg (_c2, 1);
   24271                 :           0 :                                         _q41 = do_valueize (valueize, _q41);
   24272                 :           0 :                                         tree _q42 = gimple_call_arg (_c2, 2);
   24273                 :           0 :                                         _q42 = do_valueize (valueize, _q42);
   24274                 :           0 :                                         if (tree_swap_operands_p (_q40, _q41))
   24275                 :           0 :                                           std::swap (_q40, _q41);
   24276                 :           0 :                                         {
   24277                 :           0 :                                           tree captures[6] ATTRIBUTE_UNUSED = { _p0, _q30, _q40, _q41, _q42, _p2 };
   24278                 :           0 :                                           if (gimple_simplify_582 (res_op, seq, valueize, type, captures, CFN_FMS, CFN_COND_FMS))
   24279                 :           0 :                                             return true;
   24280                 :             :                                         }
   24281                 :             :                                       }
   24282                 :             :                                     break;
   24283                 :           0 :                                   case CFN_FNMA:
   24284                 :           0 :                                     if (gimple_call_num_args (_c2) == 3)
   24285                 :             :                                       {
   24286                 :           0 :                                         tree _q40 = gimple_call_arg (_c2, 0);
   24287                 :           0 :                                         _q40 = do_valueize (valueize, _q40);
   24288                 :           0 :                                         tree _q41 = gimple_call_arg (_c2, 1);
   24289                 :           0 :                                         _q41 = do_valueize (valueize, _q41);
   24290                 :           0 :                                         tree _q42 = gimple_call_arg (_c2, 2);
   24291                 :           0 :                                         _q42 = do_valueize (valueize, _q42);
   24292                 :           0 :                                         if (tree_swap_operands_p (_q40, _q41))
   24293                 :           0 :                                           std::swap (_q40, _q41);
   24294                 :           0 :                                         {
   24295                 :           0 :                                           tree captures[6] ATTRIBUTE_UNUSED = { _p0, _q30, _q40, _q41, _q42, _p2 };
   24296                 :           0 :                                           if (gimple_simplify_582 (res_op, seq, valueize, type, captures, CFN_FNMA, CFN_COND_FNMA))
   24297                 :           0 :                                             return true;
   24298                 :             :                                         }
   24299                 :             :                                       }
   24300                 :             :                                     break;
   24301                 :           0 :                                   case CFN_FNMS:
   24302                 :           0 :                                     if (gimple_call_num_args (_c2) == 3)
   24303                 :             :                                       {
   24304                 :           0 :                                         tree _q40 = gimple_call_arg (_c2, 0);
   24305                 :           0 :                                         _q40 = do_valueize (valueize, _q40);
   24306                 :           0 :                                         tree _q41 = gimple_call_arg (_c2, 1);
   24307                 :           0 :                                         _q41 = do_valueize (valueize, _q41);
   24308                 :           0 :                                         tree _q42 = gimple_call_arg (_c2, 2);
   24309                 :           0 :                                         _q42 = do_valueize (valueize, _q42);
   24310                 :           0 :                                         if (tree_swap_operands_p (_q40, _q41))
   24311                 :           0 :                                           std::swap (_q40, _q41);
   24312                 :           0 :                                         {
   24313                 :           0 :                                           tree captures[6] ATTRIBUTE_UNUSED = { _p0, _q30, _q40, _q41, _q42, _p2 };
   24314                 :           0 :                                           if (gimple_simplify_582 (res_op, seq, valueize, type, captures, CFN_FNMS, CFN_COND_FNMS))
   24315                 :           0 :                                             return true;
   24316                 :             :                                         }
   24317                 :             :                                       }
   24318                 :             :                                     break;
   24319                 :             :                                   default:;
   24320                 :             :                                   }
   24321                 :             :                             }
   24322                 :             :                           break;
   24323                 :             :                         default:;
   24324                 :             :                         }
   24325                 :             :                     }
   24326                 :             :                   break;
   24327                 :             :                 }
   24328                 :             :               default:;
   24329                 :             :               }
   24330                 :        9854 :           else if (gcall *_c1 = dyn_cast <gcall *> (_d1))
   24331                 :        1019 :             switch (gimple_call_combined_fn (_c1))
   24332                 :             :               {
   24333                 :         306 :               case CFN_FMA:
   24334                 :         306 :                 if (gimple_call_num_args (_c1) == 3)
   24335                 :             :                   {
   24336                 :         306 :                     tree _q30 = gimple_call_arg (_c1, 0);
   24337                 :         306 :                     _q30 = do_valueize (valueize, _q30);
   24338                 :         306 :                     tree _q31 = gimple_call_arg (_c1, 1);
   24339                 :         306 :                     _q31 = do_valueize (valueize, _q31);
   24340                 :         306 :                     tree _q32 = gimple_call_arg (_c1, 2);
   24341                 :         306 :                     _q32 = do_valueize (valueize, _q32);
   24342                 :         306 :                     if (tree_swap_operands_p (_q30, _q31))
   24343                 :          54 :                       std::swap (_q30, _q31);
   24344                 :         306 :                     {
   24345                 :         306 :                       tree captures[6] ATTRIBUTE_UNUSED = { _p0, _p1, _q30, _q31, _q32, _p2 };
   24346                 :         306 :                       if (gimple_simplify_582 (res_op, seq, valueize, type, captures, CFN_FMA, CFN_COND_FMA))
   24347                 :          58 :                         return true;
   24348                 :             :                     }
   24349                 :             :                   }
   24350                 :             :                 break;
   24351                 :          26 :               case CFN_FMS:
   24352                 :          26 :                 if (gimple_call_num_args (_c1) == 3)
   24353                 :             :                   {
   24354                 :          26 :                     tree _q30 = gimple_call_arg (_c1, 0);
   24355                 :          26 :                     _q30 = do_valueize (valueize, _q30);
   24356                 :          26 :                     tree _q31 = gimple_call_arg (_c1, 1);
   24357                 :          26 :                     _q31 = do_valueize (valueize, _q31);
   24358                 :          26 :                     tree _q32 = gimple_call_arg (_c1, 2);
   24359                 :          26 :                     _q32 = do_valueize (valueize, _q32);
   24360                 :          26 :                     if (tree_swap_operands_p (_q30, _q31))
   24361                 :           0 :                       std::swap (_q30, _q31);
   24362                 :          26 :                     {
   24363                 :          26 :                       tree captures[6] ATTRIBUTE_UNUSED = { _p0, _p1, _q30, _q31, _q32, _p2 };
   24364                 :          26 :                       if (gimple_simplify_582 (res_op, seq, valueize, type, captures, CFN_FMS, CFN_COND_FMS))
   24365                 :          26 :                         return true;
   24366                 :             :                     }
   24367                 :             :                   }
   24368                 :             :                 break;
   24369                 :          26 :               case CFN_FNMA:
   24370                 :          26 :                 if (gimple_call_num_args (_c1) == 3)
   24371                 :             :                   {
   24372                 :          26 :                     tree _q30 = gimple_call_arg (_c1, 0);
   24373                 :          26 :                     _q30 = do_valueize (valueize, _q30);
   24374                 :          26 :                     tree _q31 = gimple_call_arg (_c1, 1);
   24375                 :          26 :                     _q31 = do_valueize (valueize, _q31);
   24376                 :          26 :                     tree _q32 = gimple_call_arg (_c1, 2);
   24377                 :          26 :                     _q32 = do_valueize (valueize, _q32);
   24378                 :          26 :                     if (tree_swap_operands_p (_q30, _q31))
   24379                 :           0 :                       std::swap (_q30, _q31);
   24380                 :          26 :                     {
   24381                 :          26 :                       tree captures[6] ATTRIBUTE_UNUSED = { _p0, _p1, _q30, _q31, _q32, _p2 };
   24382                 :          26 :                       if (gimple_simplify_582 (res_op, seq, valueize, type, captures, CFN_FNMA, CFN_COND_FNMA))
   24383                 :          26 :                         return true;
   24384                 :             :                     }
   24385                 :             :                   }
   24386                 :             :                 break;
   24387                 :          26 :               case CFN_FNMS:
   24388                 :          26 :                 if (gimple_call_num_args (_c1) == 3)
   24389                 :             :                   {
   24390                 :          26 :                     tree _q30 = gimple_call_arg (_c1, 0);
   24391                 :          26 :                     _q30 = do_valueize (valueize, _q30);
   24392                 :          26 :                     tree _q31 = gimple_call_arg (_c1, 1);
   24393                 :          26 :                     _q31 = do_valueize (valueize, _q31);
   24394                 :          26 :                     tree _q32 = gimple_call_arg (_c1, 2);
   24395                 :          26 :                     _q32 = do_valueize (valueize, _q32);
   24396                 :          26 :                     if (tree_swap_operands_p (_q30, _q31))
   24397                 :           0 :                       std::swap (_q30, _q31);
   24398                 :          26 :                     {
   24399                 :          26 :                       tree captures[6] ATTRIBUTE_UNUSED = { _p0, _p1, _q30, _q31, _q32, _p2 };
   24400                 :          26 :                       if (gimple_simplify_582 (res_op, seq, valueize, type, captures, CFN_FNMS, CFN_COND_FNMS))
   24401                 :          26 :                         return true;
   24402                 :             :                     }
   24403                 :             :                   }
   24404                 :             :                 break;
   24405                 :             :               default:;
   24406                 :             :               }
   24407                 :             :         }
   24408                 :             :       break;
   24409                 :      149012 :     default:;
   24410                 :             :     }
   24411                 :      149012 :   switch (TREE_CODE (_p2))
   24412                 :             :     {
   24413                 :       23919 :     case SSA_NAME:
   24414                 :       23919 :       if (gimple *_d1 = get_def (valueize, _p2))
   24415                 :             :         {
   24416                 :       22007 :           if (gassign *_a1 = dyn_cast <gassign *> (_d1))
   24417                 :       20622 :             switch (gimple_assign_rhs_code (_a1))
   24418                 :             :               {
   24419                 :        2328 :               case VIEW_CONVERT_EXPR:
   24420                 :        2328 :                 {
   24421                 :        2328 :                   tree _q40 = TREE_OPERAND (gimple_assign_rhs1 (_a1), 0);
   24422                 :        2328 :                   if ((TREE_CODE (_q40) == SSA_NAME
   24423                 :        2328 :                        || is_gimple_min_invariant (_q40)))
   24424                 :             :                     {
   24425                 :        2328 :                       _q40 = do_valueize (valueize, _q40);
   24426                 :        2328 :                       switch (TREE_CODE (_q40))
   24427                 :             :                         {
   24428                 :        2328 :                         case SSA_NAME:
   24429                 :        2328 :                           if (gimple *_d2 = get_def (valueize, _q40))
   24430                 :             :                             {
   24431                 :        2279 :                               if (gcall *_c2 = dyn_cast <gcall *> (_d2))
   24432                 :         461 :                                 switch (gimple_call_combined_fn (_c2))
   24433                 :             :                                   {
   24434                 :           0 :                                   case CFN_FMA:
   24435                 :           0 :                                     if (gimple_call_num_args (_c2) == 3)
   24436                 :             :                                       {
   24437                 :           0 :                                         tree _q50 = gimple_call_arg (_c2, 0);
   24438                 :           0 :                                         _q50 = do_valueize (valueize, _q50);
   24439                 :           0 :                                         tree _q51 = gimple_call_arg (_c2, 1);
   24440                 :           0 :                                         _q51 = do_valueize (valueize, _q51);
   24441                 :           0 :                                         tree _q52 = gimple_call_arg (_c2, 2);
   24442                 :           0 :                                         _q52 = do_valueize (valueize, _q52);
   24443                 :           0 :                                         if (tree_swap_operands_p (_q50, _q51))
   24444                 :           0 :                                           std::swap (_q50, _q51);
   24445                 :           0 :                                         {
   24446                 :           0 :                                           tree captures[6] ATTRIBUTE_UNUSED = { _p0, _p1, _q40, _q50, _q51, _q52 };
   24447                 :           0 :                                           if (gimple_simplify_583 (res_op, seq, valueize, type, captures, CFN_FMA, CFN_COND_FMA))
   24448                 :           0 :                                             return true;
   24449                 :             :                                         }
   24450                 :             :                                       }
   24451                 :             :                                     break;
   24452                 :           0 :                                   case CFN_FMS:
   24453                 :           0 :                                     if (gimple_call_num_args (_c2) == 3)
   24454                 :             :                                       {
   24455                 :           0 :                                         tree _q50 = gimple_call_arg (_c2, 0);
   24456                 :           0 :                                         _q50 = do_valueize (valueize, _q50);
   24457                 :           0 :                                         tree _q51 = gimple_call_arg (_c2, 1);
   24458                 :           0 :                                         _q51 = do_valueize (valueize, _q51);
   24459                 :           0 :                                         tree _q52 = gimple_call_arg (_c2, 2);
   24460                 :           0 :                                         _q52 = do_valueize (valueize, _q52);
   24461                 :           0 :                                         if (tree_swap_operands_p (_q50, _q51))
   24462                 :           0 :                                           std::swap (_q50, _q51);
   24463                 :           0 :                                         {
   24464                 :           0 :                                           tree captures[6] ATTRIBUTE_UNUSED = { _p0, _p1, _q40, _q50, _q51, _q52 };
   24465                 :           0 :                                           if (gimple_simplify_583 (res_op, seq, valueize, type, captures, CFN_FMS, CFN_COND_FMS))
   24466                 :           0 :                                             return true;
   24467                 :             :                                         }
   24468                 :             :                                       }
   24469                 :             :                                     break;
   24470                 :           0 :                                   case CFN_FNMA:
   24471                 :           0 :                                     if (gimple_call_num_args (_c2) == 3)
   24472                 :             :                                       {
   24473                 :           0 :                                         tree _q50 = gimple_call_arg (_c2, 0);
   24474                 :           0 :                                         _q50 = do_valueize (valueize, _q50);
   24475                 :           0 :                                         tree _q51 = gimple_call_arg (_c2, 1);
   24476                 :           0 :                                         _q51 = do_valueize (valueize, _q51);
   24477                 :           0 :                                         tree _q52 = gimple_call_arg (_c2, 2);
   24478                 :           0 :                                         _q52 = do_valueize (valueize, _q52);
   24479                 :           0 :                                         if (tree_swap_operands_p (_q50, _q51))
   24480                 :           0 :                                           std::swap (_q50, _q51);
   24481                 :           0 :                                         {
   24482                 :           0 :                                           tree captures[6] ATTRIBUTE_UNUSED = { _p0, _p1, _q40, _q50, _q51, _q52 };
   24483                 :           0 :                                           if (gimple_simplify_583 (res_op, seq, valueize, type, captures, CFN_FNMA, CFN_COND_FNMA))
   24484                 :           0 :                                             return true;
   24485                 :             :                                         }
   24486                 :             :                                       }
   24487                 :             :                                     break;
   24488                 :           0 :                                   case CFN_FNMS:
   24489                 :           0 :                                     if (gimple_call_num_args (_c2) == 3)
   24490                 :             :                                       {
   24491                 :           0 :                                         tree _q50 = gimple_call_arg (_c2, 0);
   24492                 :           0 :                                         _q50 = do_valueize (valueize, _q50);
   24493                 :           0 :                                         tree _q51 = gimple_call_arg (_c2, 1);
   24494                 :           0 :                                         _q51 = do_valueize (valueize, _q51);
   24495                 :           0 :                                         tree _q52 = gimple_call_arg (_c2, 2);
   24496                 :           0 :                                         _q52 = do_valueize (valueize, _q52);
   24497                 :           0 :                                         if (tree_swap_operands_p (_q50, _q51))
   24498                 :           0 :                                           std::swap (_q50, _q51);
   24499                 :           0 :                                         {
   24500                 :           0 :                                           tree captures[6] ATTRIBUTE_UNUSED = { _p0, _p1, _q40, _q50, _q51, _q52 };
   24501                 :           0 :                                           if (gimple_simplify_583 (res_op, seq, valueize, type, captures, CFN_FNMS, CFN_COND_FNMS))
   24502                 :           0 :                                             return true;
   24503                 :             :                                         }
   24504                 :             :                                       }
   24505                 :             :                                     break;
   24506                 :             :                                   default:;
   24507                 :             :                                   }
   24508                 :             :                             }
   24509                 :             :                           break;
   24510                 :             :                         default:;
   24511                 :             :                         }
   24512                 :             :                     }
   24513                 :             :                   break;
   24514                 :             :                 }
   24515                 :             :               default:;
   24516                 :             :               }
   24517                 :        9473 :           else if (gcall *_c1 = dyn_cast <gcall *> (_d1))
   24518                 :         338 :             switch (gimple_call_combined_fn (_c1))
   24519                 :             :               {
   24520                 :          10 :               case CFN_FMA:
   24521                 :          10 :                 if (gimple_call_num_args (_c1) == 3)
   24522                 :             :                   {
   24523                 :          10 :                     tree _q40 = gimple_call_arg (_c1, 0);
   24524                 :          10 :                     _q40 = do_valueize (valueize, _q40);
   24525                 :          10 :                     tree _q41 = gimple_call_arg (_c1, 1);
   24526                 :          10 :                     _q41 = do_valueize (valueize, _q41);
   24527                 :          10 :                     tree _q42 = gimple_call_arg (_c1, 2);
   24528                 :          10 :                     _q42 = do_valueize (valueize, _q42);
   24529                 :          10 :                     if (tree_swap_operands_p (_q40, _q41))
   24530                 :           0 :                       std::swap (_q40, _q41);
   24531                 :          10 :                     {
   24532                 :          10 :                       tree captures[6] ATTRIBUTE_UNUSED = { _p0, _p1, _p2, _q40, _q41, _q42 };
   24533                 :          10 :                       if (gimple_simplify_583 (res_op, seq, valueize, type, captures, CFN_FMA, CFN_COND_FMA))
   24534                 :           0 :                         return true;
   24535                 :             :                     }
   24536                 :             :                   }
   24537                 :             :                 break;
   24538                 :           0 :               case CFN_FMS:
   24539                 :           0 :                 if (gimple_call_num_args (_c1) == 3)
   24540                 :             :                   {
   24541                 :           0 :                     tree _q40 = gimple_call_arg (_c1, 0);
   24542                 :           0 :                     _q40 = do_valueize (valueize, _q40);
   24543                 :           0 :                     tree _q41 = gimple_call_arg (_c1, 1);
   24544                 :           0 :                     _q41 = do_valueize (valueize, _q41);
   24545                 :           0 :                     tree _q42 = gimple_call_arg (_c1, 2);
   24546                 :           0 :                     _q42 = do_valueize (valueize, _q42);
   24547                 :           0 :                     if (tree_swap_operands_p (_q40, _q41))
   24548                 :           0 :                       std::swap (_q40, _q41);
   24549                 :           0 :                     {
   24550                 :           0 :                       tree captures[6] ATTRIBUTE_UNUSED = { _p0, _p1, _p2, _q40, _q41, _q42 };
   24551                 :           0 :                       if (gimple_simplify_583 (res_op, seq, valueize, type, captures, CFN_FMS, CFN_COND_FMS))
   24552                 :           0 :                         return true;
   24553                 :             :                     }
   24554                 :             :                   }
   24555                 :             :                 break;
   24556                 :           0 :               case CFN_FNMA:
   24557                 :           0 :                 if (gimple_call_num_args (_c1) == 3)
   24558                 :             :                   {
   24559                 :           0 :                     tree _q40 = gimple_call_arg (_c1, 0);
   24560                 :           0 :                     _q40 = do_valueize (valueize, _q40);
   24561                 :           0 :                     tree _q41 = gimple_call_arg (_c1, 1);
   24562                 :           0 :                     _q41 = do_valueize (valueize, _q41);
   24563                 :           0 :                     tree _q42 = gimple_call_arg (_c1, 2);
   24564                 :           0 :                     _q42 = do_valueize (valueize, _q42);
   24565                 :           0 :                     if (tree_swap_operands_p (_q40, _q41))
   24566                 :           0 :                       std::swap (_q40, _q41);
   24567                 :           0 :                     {
   24568                 :           0 :                       tree captures[6] ATTRIBUTE_UNUSED = { _p0, _p1, _p2, _q40, _q41, _q42 };
   24569                 :           0 :                       if (gimple_simplify_583 (res_op, seq, valueize, type, captures, CFN_FNMA, CFN_COND_FNMA))
   24570                 :           0 :                         return true;
   24571                 :             :                     }
   24572                 :             :                   }
   24573                 :             :                 break;
   24574                 :           0 :               case CFN_FNMS:
   24575                 :           0 :                 if (gimple_call_num_args (_c1) == 3)
   24576                 :             :                   {
   24577                 :           0 :                     tree _q40 = gimple_call_arg (_c1, 0);
   24578                 :           0 :                     _q40 = do_valueize (valueize, _q40);
   24579                 :           0 :                     tree _q41 = gimple_call_arg (_c1, 1);
   24580                 :           0 :                     _q41 = do_valueize (valueize, _q41);
   24581                 :           0 :                     tree _q42 = gimple_call_arg (_c1, 2);
   24582                 :           0 :                     _q42 = do_valueize (valueize, _q42);
   24583                 :           0 :                     if (tree_swap_operands_p (_q40, _q41))
   24584                 :           0 :                       std::swap (_q40, _q41);
   24585                 :           0 :                     {
   24586                 :           0 :                       tree captures[6] ATTRIBUTE_UNUSED = { _p0, _p1, _p2, _q40, _q41, _q42 };
   24587                 :           0 :                       if (gimple_simplify_583 (res_op, seq, valueize, type, captures, CFN_FNMS, CFN_COND_FNMS))
   24588                 :           0 :                         return true;
   24589                 :             :                     }
   24590                 :             :                   }
   24591                 :             :                 break;
   24592                 :             :               default:;
   24593                 :             :               }
   24594                 :             :         }
   24595                 :             :       break;
   24596                 :      149012 :     default:;
   24597                 :             :     }
   24598                 :      149012 :   switch (TREE_CODE (_p1))
   24599                 :             :     {
   24600                 :       23749 :     case SSA_NAME:
   24601                 :       23749 :       if (gimple *_d1 = get_def (valueize, _p1))
   24602                 :             :         {
   24603                 :       21385 :           if (gassign *_a1 = dyn_cast <gassign *> (_d1))
   24604                 :       20071 :             switch (gimple_assign_rhs_code (_a1))
   24605                 :             :               {
   24606                 :        1998 :               case VIEW_CONVERT_EXPR:
   24607                 :        1998 :                 {
   24608                 :        1998 :                   tree _q30 = TREE_OPERAND (gimple_assign_rhs1 (_a1), 0);
   24609                 :        1998 :                   if ((TREE_CODE (_q30) == SSA_NAME
   24610                 :        1998 :                        || is_gimple_min_invariant (_q30)))
   24611                 :             :                     {
   24612                 :        1998 :                       _q30 = do_valueize (valueize, _q30);
   24613                 :        1998 :                       switch (TREE_CODE (_q30))
   24614                 :             :                         {
   24615                 :        1998 :                         case SSA_NAME:
   24616                 :        1998 :                           if (gimple *_d2 = get_def (valueize, _q30))
   24617                 :             :                             {
   24618                 :        1975 :                               if (gcall *_c2 = dyn_cast <gcall *> (_d2))
   24619                 :           0 :                                 switch (gimple_call_combined_fn (_c2))
   24620                 :             :                                   {
   24621                 :           0 :                                   case CFN_COND_ADD:
   24622                 :           0 :                                     if (gimple_call_num_args (_c2) == 4)
   24623                 :             :                                       {
   24624                 :           0 :                                         tree _q40 = gimple_call_arg (_c2, 0);
   24625                 :           0 :                                         _q40 = do_valueize (valueize, _q40);
   24626                 :           0 :                                         tree _q41 = gimple_call_arg (_c2, 1);
   24627                 :           0 :                                         _q41 = do_valueize (valueize, _q41);
   24628                 :           0 :                                         tree _q42 = gimple_call_arg (_c2, 2);
   24629                 :           0 :                                         _q42 = do_valueize (valueize, _q42);
   24630                 :           0 :                                         tree _q43 = gimple_call_arg (_c2, 3);
   24631                 :           0 :                                         _q43 = do_valueize (valueize, _q43);
   24632                 :           0 :                                         if (tree_swap_operands_p (_q41, _q42))
   24633                 :           0 :                                           std::swap (_q41, _q42);
   24634                 :           0 :                                         if ((_q40 == _p0 && ! TREE_SIDE_EFFECTS (_q40)) || (operand_equal_p (_q40, _p0, 0) && types_match (_q40, _p0)))
   24635                 :             :                                           {
   24636                 :           0 :                                             {
   24637                 :           0 :                                               tree captures[5] ATTRIBUTE_UNUSED = { _p0, _q41, _q42, _q43, _p2 };
   24638                 :           0 :                                               if (gimple_simplify_584 (res_op, seq, valueize, type, captures, CFN_COND_ADD))
   24639                 :           0 :                                                 return true;
   24640                 :             :                                             }
   24641                 :             :                                           }
   24642                 :             :                                       }
   24643                 :             :                                     break;
   24644                 :           0 :                                   case CFN_COND_AND:
   24645                 :           0 :                                     if (gimple_call_num_args (_c2) == 4)
   24646                 :             :                                       {
   24647                 :           0 :                                         tree _q40 = gimple_call_arg (_c2, 0);
   24648                 :           0 :                                         _q40 = do_valueize (valueize, _q40);
   24649                 :           0 :                                         tree _q41 = gimple_call_arg (_c2, 1);
   24650                 :           0 :                                         _q41 = do_valueize (valueize, _q41);
   24651                 :           0 :                                         tree _q42 = gimple_call_arg (_c2, 2);
   24652                 :           0 :                                         _q42 = do_valueize (valueize, _q42);
   24653                 :           0 :                                         tree _q43 = gimple_call_arg (_c2, 3);
   24654                 :           0 :                                         _q43 = do_valueize (valueize, _q43);
   24655                 :           0 :                                         if (tree_swap_operands_p (_q41, _q42))
   24656                 :           0 :                                           std::swap (_q41, _q42);
   24657                 :           0 :                                         if ((_q40 == _p0 && ! TREE_SIDE_EFFECTS (_q40)) || (operand_equal_p (_q40, _p0, 0) && types_match (_q40, _p0)))
   24658                 :             :                                           {
   24659                 :           0 :                                             {
   24660                 :           0 :                                               tree captures[5] ATTRIBUTE_UNUSED = { _p0, _q41, _q42, _q43, _p2 };
   24661                 :           0 :                                               if (gimple_simplify_584 (res_op, seq, valueize, type, captures, CFN_COND_AND))
   24662                 :           0 :                                                 return true;
   24663                 :             :                                             }
   24664                 :             :                                           }
   24665                 :             :                                       }
   24666                 :             :                                     break;
   24667                 :           0 :                                   case CFN_COND_DIV:
   24668                 :           0 :                                     if (gimple_call_num_args (_c2) == 4)
   24669                 :             :                                       {
   24670                 :           0 :                                         tree _q40 = gimple_call_arg (_c2, 0);
   24671                 :           0 :                                         _q40 = do_valueize (valueize, _q40);
   24672                 :           0 :                                         tree _q41 = gimple_call_arg (_c2, 1);
   24673                 :           0 :                                         _q41 = do_valueize (valueize, _q41);
   24674                 :           0 :                                         tree _q42 = gimple_call_arg (_c2, 2);
   24675                 :           0 :                                         _q42 = do_valueize (valueize, _q42);
   24676                 :           0 :                                         tree _q43 = gimple_call_arg (_c2, 3);
   24677                 :           0 :                                         _q43 = do_valueize (valueize, _q43);
   24678                 :           0 :                                         if ((_q40 == _p0 && ! TREE_SIDE_EFFECTS (_q40)) || (operand_equal_p (_q40, _p0, 0) && types_match (_q40, _p0)))
   24679                 :             :                                           {
   24680                 :           0 :                                             {
   24681                 :           0 :                                               tree captures[5] ATTRIBUTE_UNUSED = { _p0, _q41, _q42, _q43, _p2 };
   24682                 :           0 :                                               if (gimple_simplify_584 (res_op, seq, valueize, type, captures, CFN_COND_DIV))
   24683                 :           0 :                                                 return true;
   24684                 :             :                                             }
   24685                 :             :                                           }
   24686                 :             :                                       }
   24687                 :             :                                     break;
   24688                 :           0 :                                   case CFN_COND_IOR:
   24689                 :           0 :                                     if (gimple_call_num_args (_c2) == 4)
   24690                 :             :                                       {
   24691                 :           0 :                                         tree _q40 = gimple_call_arg (_c2, 0);
   24692                 :           0 :                                         _q40 = do_valueize (valueize, _q40);
   24693                 :           0 :                                         tree _q41 = gimple_call_arg (_c2, 1);
   24694                 :           0 :                                         _q41 = do_valueize (valueize, _q41);
   24695                 :           0 :                                         tree _q42 = gimple_call_arg (_c2, 2);
   24696                 :           0 :                                         _q42 = do_valueize (valueize, _q42);
   24697                 :           0 :                                         tree _q43 = gimple_call_arg (_c2, 3);
   24698                 :           0 :                                         _q43 = do_valueize (valueize, _q43);
   24699                 :           0 :                                         if (tree_swap_operands_p (_q41, _q42))
   24700                 :           0 :                                           std::swap (_q41, _q42);
   24701                 :           0 :                                         if ((_q40 == _p0 && ! TREE_SIDE_EFFECTS (_q40)) || (operand_equal_p (_q40, _p0, 0) && types_match (_q40, _p0)))
   24702                 :             :                                           {
   24703                 :           0 :                                             {
   24704                 :           0 :                                               tree captures[5] ATTRIBUTE_UNUSED = { _p0, _q41, _q42, _q43, _p2 };
   24705                 :           0 :                                               if (gimple_simplify_584 (res_op, seq, valueize, type, captures, CFN_COND_IOR))
   24706                 :           0 :                                                 return true;
   24707                 :             :                                             }
   24708                 :             :                                           }
   24709                 :             :                                       }
   24710                 :             :                                     break;
   24711                 :           0 :                                   case CFN_COND_MAX:
   24712                 :           0 :                                     if (gimple_call_num_args (_c2) == 4)
   24713                 :             :                                       {
   24714                 :           0 :                                         tree _q40 = gimple_call_arg (_c2, 0);
   24715                 :           0 :                                         _q40 = do_valueize (valueize, _q40);
   24716                 :           0 :                                         tree _q41 = gimple_call_arg (_c2, 1);
   24717                 :           0 :                                         _q41 = do_valueize (valueize, _q41);
   24718                 :           0 :                                         tree _q42 = gimple_call_arg (_c2, 2);
   24719                 :           0 :                                         _q42 = do_valueize (valueize, _q42);
   24720                 :           0 :                                         tree _q43 = gimple_call_arg (_c2, 3);
   24721                 :           0 :                                         _q43 = do_valueize (valueize, _q43);
   24722                 :           0 :                                         if (tree_swap_operands_p (_q41, _q42))
   24723                 :           0 :                                           std::swap (_q41, _q42);
   24724                 :           0 :                                         if ((_q40 == _p0 && ! TREE_SIDE_EFFECTS (_q40)) || (operand_equal_p (_q40, _p0, 0) && types_match (_q40, _p0)))
   24725                 :             :                                           {
   24726                 :           0 :                                             {
   24727                 :           0 :                                               tree captures[5] ATTRIBUTE_UNUSED = { _p0, _q41, _q42, _q43, _p2 };
   24728                 :           0 :                                               if (gimple_simplify_584 (res_op, seq, valueize, type, captures, CFN_COND_MAX))
   24729                 :           0 :                                                 return true;
   24730                 :             :                                             }
   24731                 :             :                                           }
   24732                 :             :                                       }
   24733                 :             :                                     break;
   24734                 :           0 :                                   case CFN_COND_MIN:
   24735                 :           0 :                                     if (gimple_call_num_args (_c2) == 4)
   24736                 :             :                                       {
   24737                 :           0 :                                         tree _q40 = gimple_call_arg (_c2, 0);
   24738                 :           0 :                                         _q40 = do_valueize (valueize, _q40);
   24739                 :           0 :                                         tree _q41 = gimple_call_arg (_c2, 1);
   24740                 :           0 :                                         _q41 = do_valueize (valueize, _q41);
   24741                 :           0 :                                         tree _q42 = gimple_call_arg (_c2, 2);
   24742                 :           0 :                                         _q42 = do_valueize (valueize, _q42);
   24743                 :           0 :                                         tree _q43 = gimple_call_arg (_c2, 3);
   24744                 :           0 :                                         _q43 = do_valueize (valueize, _q43);
   24745                 :           0 :                                         if (tree_swap_operands_p (_q41, _q42))
   24746                 :           0 :                                           std::swap (_q41, _q42);
   24747                 :           0 :                                         if ((_q40 == _p0 && ! TREE_SIDE_EFFECTS (_q40)) || (operand_equal_p (_q40, _p0, 0) && types_match (_q40, _p0)))
   24748                 :             :                                           {
   24749                 :           0 :                                             {
   24750                 :           0 :                                               tree captures[5] ATTRIBUTE_UNUSED = { _p0, _q41, _q42, _q43, _p2 };
   24751                 :           0 :                                               if (gimple_simplify_584 (res_op, seq, valueize, type, captures, CFN_COND_MIN))
   24752                 :           0 :                                                 return true;
   24753                 :             :                                             }
   24754                 :             :                                           }
   24755                 :             :                                       }
   24756                 :             :                                     break;
   24757                 :           0 :                                   case CFN_COND_MOD:
   24758                 :           0 :                                     if (gimple_call_num_args (_c2) == 4)
   24759                 :             :                                       {
   24760                 :           0 :                                         tree _q40 = gimple_call_arg (_c2, 0);
   24761                 :           0 :                                         _q40 = do_valueize (valueize, _q40);
   24762                 :           0 :                                         tree _q41 = gimple_call_arg (_c2, 1);
   24763                 :           0 :                                         _q41 = do_valueize (valueize, _q41);
   24764                 :           0 :                                         tree _q42 = gimple_call_arg (_c2, 2);
   24765                 :           0 :                                         _q42 = do_valueize (valueize, _q42);
   24766                 :           0 :                                         tree _q43 = gimple_call_arg (_c2, 3);
   24767                 :           0 :                                         _q43 = do_valueize (valueize, _q43);
   24768                 :           0 :                                         if ((_q40 == _p0 && ! TREE_SIDE_EFFECTS (_q40)) || (operand_equal_p (_q40, _p0, 0) && types_match (_q40, _p0)))
   24769                 :             :                                           {
   24770                 :           0 :                                             {
   24771                 :           0 :                                               tree captures[5] ATTRIBUTE_UNUSED = { _p0, _q41, _q42, _q43, _p2 };
   24772                 :           0 :                                               if (gimple_simplify_584 (res_op, seq, valueize, type, captures, CFN_COND_MOD))
   24773                 :           0 :                                                 return true;
   24774                 :             :                                             }
   24775                 :             :                                           }
   24776                 :             :                                       }
   24777                 :             :                                     break;
   24778                 :           0 :                                   case CFN_COND_MUL:
   24779                 :           0 :                                     if (gimple_call_num_args (_c2) == 4)
   24780                 :             :                                       {
   24781                 :           0 :                                         tree _q40 = gimple_call_arg (_c2, 0);
   24782                 :           0 :                                         _q40 = do_valueize (valueize, _q40);
   24783                 :           0 :                                         tree _q41 = gimple_call_arg (_c2, 1);
   24784                 :           0 :                                         _q41 = do_valueize (valueize, _q41);
   24785                 :           0 :                                         tree _q42 = gimple_call_arg (_c2, 2);
   24786                 :           0 :                                         _q42 = do_valueize (valueize, _q42);
   24787                 :           0 :                                         tree _q43 = gimple_call_arg (_c2, 3);
   24788                 :           0 :                                         _q43 = do_valueize (valueize, _q43);
   24789                 :           0 :                                         if (tree_swap_operands_p (_q41, _q42))
   24790                 :           0 :                                           std::swap (_q41, _q42);
   24791                 :           0 :                                         if ((_q40 == _p0 && ! TREE_SIDE_EFFECTS (_q40)) || (operand_equal_p (_q40, _p0, 0) && types_match (_q40, _p0)))
   24792                 :             :                                           {
   24793                 :           0 :                                             {
   24794                 :           0 :                                               tree captures[5] ATTRIBUTE_UNUSED = { _p0, _q41, _q42, _q43, _p2 };
   24795                 :           0 :                                               if (gimple_simplify_584 (res_op, seq, valueize, type, captures, CFN_COND_MUL))
   24796                 :           0 :                                                 return true;
   24797                 :             :                                             }
   24798                 :             :                                           }
   24799                 :             :                                       }
   24800                 :             :                                     break;
   24801                 :           0 :                                   case CFN_COND_SHL:
   24802                 :           0 :                                     if (gimple_call_num_args (_c2) == 4)
   24803                 :             :                                       {
   24804                 :           0 :                                         tree _q40 = gimple_call_arg (_c2, 0);
   24805                 :           0 :                                         _q40 = do_valueize (valueize, _q40);
   24806                 :           0 :                                         tree _q41 = gimple_call_arg (_c2, 1);
   24807                 :           0 :                                         _q41 = do_valueize (valueize, _q41);
   24808                 :           0 :                                         tree _q42 = gimple_call_arg (_c2, 2);
   24809                 :           0 :                                         _q42 = do_valueize (valueize, _q42);
   24810                 :           0 :                                         tree _q43 = gimple_call_arg (_c2, 3);
   24811                 :           0 :                                         _q43 = do_valueize (valueize, _q43);
   24812                 :           0 :                                         if ((_q40 == _p0 && ! TREE_SIDE_EFFECTS (_q40)) || (operand_equal_p (_q40, _p0, 0) && types_match (_q40, _p0)))
   24813                 :             :                                           {
   24814                 :           0 :                                             {
   24815                 :           0 :                                               tree captures[5] ATTRIBUTE_UNUSED = { _p0, _q41, _q42, _q43, _p2 };
   24816                 :           0 :                                               if (gimple_simplify_584 (res_op, seq, valueize, type, captures, CFN_COND_SHL))
   24817                 :           0 :                                                 return true;
   24818                 :             :                                             }
   24819                 :             :                                           }
   24820                 :             :                                       }
   24821                 :             :                                     break;
   24822                 :           0 :                                   case CFN_COND_SHR:
   24823                 :           0 :                                     if (gimple_call_num_args (_c2) == 4)
   24824                 :             :                                       {
   24825                 :           0 :                                         tree _q40 = gimple_call_arg (_c2, 0);
   24826                 :           0 :                                         _q40 = do_valueize (valueize, _q40);
   24827                 :           0 :                                         tree _q41 = gimple_call_arg (_c2, 1);
   24828                 :           0 :                                         _q41 = do_valueize (valueize, _q41);
   24829                 :           0 :                                         tree _q42 = gimple_call_arg (_c2, 2);
   24830                 :           0 :                                         _q42 = do_valueize (valueize, _q42);
   24831                 :           0 :                                         tree _q43 = gimple_call_arg (_c2, 3);
   24832                 :           0 :                                         _q43 = do_valueize (valueize, _q43);
   24833                 :           0 :                                         if ((_q40 == _p0 && ! TREE_SIDE_EFFECTS (_q40)) || (operand_equal_p (_q40, _p0, 0) && types_match (_q40, _p0)))
   24834                 :             :                                           {
   24835                 :           0 :                                             {
   24836                 :           0 :                                               tree captures[5] ATTRIBUTE_UNUSED = { _p0, _q41, _q42, _q43, _p2 };
   24837                 :           0 :                                               if (gimple_simplify_584 (res_op, seq, valueize, type, captures, CFN_COND_SHR))
   24838                 :           0 :                                                 return true;
   24839                 :             :                                             }
   24840                 :             :                                           }
   24841                 :             :                                       }
   24842                 :             :                                     break;
   24843                 :           0 :                                   case CFN_COND_SUB:
   24844                 :           0 :                                     if (gimple_call_num_args (_c2) == 4)
   24845                 :             :                                       {
   24846                 :           0 :                                         tree _q40 = gimple_call_arg (_c2, 0);
   24847                 :           0 :                                         _q40 = do_valueize (valueize, _q40);
   24848                 :           0 :                                         tree _q41 = gimple_call_arg (_c2, 1);
   24849                 :           0 :                                         _q41 = do_valueize (valueize, _q41);
   24850                 :           0 :                                         tree _q42 = gimple_call_arg (_c2, 2);
   24851                 :           0 :                                         _q42 = do_valueize (valueize, _q42);
   24852                 :           0 :                                         tree _q43 = gimple_call_arg (_c2, 3);
   24853                 :           0 :                                         _q43 = do_valueize (valueize, _q43);
   24854                 :           0 :                                         if ((_q40 == _p0 && ! TREE_SIDE_EFFECTS (_q40)) || (operand_equal_p (_q40, _p0, 0) && types_match (_q40, _p0)))
   24855                 :             :                                           {
   24856                 :           0 :                                             {
   24857                 :           0 :                                               tree captures[5] ATTRIBUTE_UNUSED = { _p0, _q41, _q42, _q43, _p2 };
   24858                 :           0 :                                               if (gimple_simplify_584 (res_op, seq, valueize, type, captures, CFN_COND_SUB))
   24859                 :           0 :                                                 return true;
   24860                 :             :                                             }
   24861                 :             :                                           }
   24862                 :             :                                       }
   24863                 :             :                                     break;
   24864                 :           0 :                                   case CFN_COND_XOR:
   24865                 :           0 :                                     if (gimple_call_num_args (_c2) == 4)
   24866                 :             :                                       {
   24867                 :           0 :                                         tree _q40 = gimple_call_arg (_c2, 0);
   24868                 :           0 :                                         _q40 = do_valueize (valueize, _q40);
   24869                 :           0 :                                         tree _q41 = gimple_call_arg (_c2, 1);
   24870                 :           0 :                                         _q41 = do_valueize (valueize, _q41);
   24871                 :           0 :                                         tree _q42 = gimple_call_arg (_c2, 2);
   24872                 :           0 :                                         _q42 = do_valueize (valueize, _q42);
   24873                 :           0 :                                         tree _q43 = gimple_call_arg (_c2, 3);
   24874                 :           0 :                                         _q43 = do_valueize (valueize, _q43);
   24875                 :           0 :                                         if (tree_swap_operands_p (_q41, _q42))
   24876                 :           0 :                                           std::swap (_q41, _q42);
   24877                 :           0 :                                         if ((_q40 == _p0 && ! TREE_SIDE_EFFECTS (_q40)) || (operand_equal_p (_q40, _p0, 0) && types_match (_q40, _p0)))
   24878                 :             :                                           {
   24879                 :           0 :                                             {
   24880                 :           0 :                                               tree captures[5] ATTRIBUTE_UNUSED = { _p0, _q41, _q42, _q43, _p2 };
   24881                 :           0 :                                               if (gimple_simplify_584 (res_op, seq, valueize, type, captures, CFN_COND_XOR))
   24882                 :           0 :                                                 return true;
   24883                 :             :                                             }
   24884                 :             :                                           }
   24885                 :             :                                       }
   24886                 :             :                                     break;
   24887                 :           0 :                                   case CFN_COND_COPYSIGN:
   24888                 :           0 :                                     if (gimple_call_num_args (_c2) == 4)
   24889                 :             :                                       {
   24890                 :           0 :                                         tree _q40 = gimple_call_arg (_c2, 0);
   24891                 :           0 :                                         _q40 = do_valueize (valueize, _q40);
   24892                 :           0 :                                         tree _q41 = gimple_call_arg (_c2, 1);
   24893                 :           0 :                                         _q41 = do_valueize (valueize, _q41);
   24894                 :           0 :                                         tree _q42 = gimple_call_arg (_c2, 2);
   24895                 :           0 :                                         _q42 = do_valueize (valueize, _q42);
   24896                 :           0 :                                         tree _q43 = gimple_call_arg (_c2, 3);
   24897                 :           0 :                                         _q43 = do_valueize (valueize, _q43);
   24898                 :           0 :                                         if ((_q40 == _p0 && ! TREE_SIDE_EFFECTS (_q40)) || (operand_equal_p (_q40, _p0, 0) && types_match (_q40, _p0)))
   24899                 :             :                                           {
   24900                 :           0 :                                             {
   24901                 :           0 :                                               tree captures[5] ATTRIBUTE_UNUSED = { _p0, _q41, _q42, _q43, _p2 };
   24902                 :           0 :                                               if (gimple_simplify_584 (res_op, seq, valueize, type, captures, CFN_COND_COPYSIGN))
   24903                 :           0 :                                                 return true;
   24904                 :             :                                             }
   24905                 :             :                                           }
   24906                 :             :                                       }
   24907                 :             :                                     break;
   24908                 :           0 :                                   case CFN_COND_FMAX:
   24909                 :           0 :                                     if (gimple_call_num_args (_c2) == 4)
   24910                 :             :                                       {
   24911                 :           0 :                                         tree _q40 = gimple_call_arg (_c2, 0);
   24912                 :           0 :                                         _q40 = do_valueize (valueize, _q40);
   24913                 :           0 :                                         tree _q41 = gimple_call_arg (_c2, 1);
   24914                 :           0 :                                         _q41 = do_valueize (valueize, _q41);
   24915                 :           0 :                                         tree _q42 = gimple_call_arg (_c2, 2);
   24916                 :           0 :                                         _q42 = do_valueize (valueize, _q42);
   24917                 :           0 :                                         tree _q43 = gimple_call_arg (_c2, 3);
   24918                 :           0 :                                         _q43 = do_valueize (valueize, _q43);
   24919                 :           0 :                                         if (tree_swap_operands_p (_q41, _q42))
   24920                 :           0 :                                           std::swap (_q41, _q42);
   24921                 :           0 :                                         if ((_q40 == _p0 && ! TREE_SIDE_EFFECTS (_q40)) || (operand_equal_p (_q40, _p0, 0) && types_match (_q40, _p0)))
   24922                 :             :                                           {
   24923                 :           0 :                                             {
   24924                 :           0 :                                               tree captures[5] ATTRIBUTE_UNUSED = { _p0, _q41, _q42, _q43, _p2 };
   24925                 :           0 :                                               if (gimple_simplify_584 (res_op, seq, valueize, type, captures, CFN_COND_FMAX))
   24926                 :           0 :                                                 return true;
   24927                 :             :                                             }
   24928                 :             :                                           }
   24929                 :             :                                       }
   24930                 :             :                                     break;
   24931                 :           0 :                                   case CFN_COND_FMIN:
   24932                 :           0 :                                     if (gimple_call_num_args (_c2) == 4)
   24933                 :             :                                       {
   24934                 :           0 :                                         tree _q40 = gimple_call_arg (_c2, 0);
   24935                 :           0 :                                         _q40 = do_valueize (valueize, _q40);
   24936                 :           0 :                                         tree _q41 = gimple_call_arg (_c2, 1);
   24937                 :           0 :                                         _q41 = do_valueize (valueize, _q41);
   24938                 :           0 :                                         tree _q42 = gimple_call_arg (_c2, 2);
   24939                 :           0 :                                         _q42 = do_valueize (valueize, _q42);
   24940                 :           0 :                                         tree _q43 = gimple_call_arg (_c2, 3);
   24941                 :           0 :                                         _q43 = do_valueize (valueize, _q43);
   24942                 :           0 :                                         if (tree_swap_operands_p (_q41, _q42))
   24943                 :           0 :                                           std::swap (_q41, _q42);
   24944                 :           0 :                                         if ((_q40 == _p0 && ! TREE_SIDE_EFFECTS (_q40)) || (operand_equal_p (_q40, _p0, 0) && types_match (_q40, _p0)))
   24945                 :             :                                           {
   24946                 :           0 :                                             {
   24947                 :           0 :                                               tree captures[5] ATTRIBUTE_UNUSED = { _p0, _q41, _q42, _q43, _p2 };
   24948                 :           0 :                                               if (gimple_simplify_584 (res_op, seq, valueize, type, captures, CFN_COND_FMIN))
   24949                 :           0 :                                                 return true;
   24950                 :             :                                             }
   24951                 :             :                                           }
   24952                 :             :                                       }
   24953                 :             :                                     break;
   24954                 :           0 :                                   case CFN_COND_RDIV:
   24955                 :           0 :                                     if (gimple_call_num_args (_c2) == 4)
   24956                 :             :                                       {
   24957                 :           0 :                                         tree _q40 = gimple_call_arg (_c2, 0);
   24958                 :           0 :                                         _q40 = do_valueize (valueize, _q40);
   24959                 :           0 :                                         tree _q41 = gimple_call_arg (_c2, 1);
   24960                 :           0 :                                         _q41 = do_valueize (valueize, _q41);
   24961                 :           0 :                                         tree _q42 = gimple_call_arg (_c2, 2);
   24962                 :           0 :                                         _q42 = do_valueize (valueize, _q42);
   24963                 :           0 :                                         tree _q43 = gimple_call_arg (_c2, 3);
   24964                 :           0 :                                         _q43 = do_valueize (valueize, _q43);
   24965                 :           0 :                                         if ((_q40 == _p0 && ! TREE_SIDE_EFFECTS (_q40)) || (operand_equal_p (_q40, _p0, 0) && types_match (_q40, _p0)))
   24966                 :             :                                           {
   24967                 :           0 :                                             {
   24968                 :           0 :                                               tree captures[5] ATTRIBUTE_UNUSED = { _p0, _q41, _q42, _q43, _p2 };
   24969                 :           0 :                                               if (gimple_simplify_584 (res_op, seq, valueize, type, captures, CFN_COND_RDIV))
   24970                 :           0 :                                                 return true;
   24971                 :             :                                             }
   24972                 :             :                                           }
   24973                 :             :                                       }
   24974                 :             :                                     break;
   24975                 :             :                                   default:;
   24976                 :             :                                   }
   24977                 :             :                             }
   24978                 :             :                           break;
   24979                 :             :                         default:;
   24980                 :             :                         }
   24981                 :             :                     }
   24982                 :             :                   break;
   24983                 :             :                 }
   24984                 :             :               default:;
   24985                 :             :               }
   24986                 :        9718 :           else if (gcall *_c1 = dyn_cast <gcall *> (_d1))
   24987                 :         883 :             switch (gimple_call_combined_fn (_c1))
   24988                 :             :               {
   24989                 :          22 :               case CFN_COND_ADD:
   24990                 :          22 :                 if (gimple_call_num_args (_c1) == 4)
   24991                 :             :                   {
   24992                 :          22 :                     tree _q30 = gimple_call_arg (_c1, 0);
   24993                 :          22 :                     _q30 = do_valueize (valueize, _q30);
   24994                 :          22 :                     tree _q31 = gimple_call_arg (_c1, 1);
   24995                 :          22 :                     _q31 = do_valueize (valueize, _q31);
   24996                 :          22 :                     tree _q32 = gimple_call_arg (_c1, 2);
   24997                 :          22 :                     _q32 = do_valueize (valueize, _q32);
   24998                 :          22 :                     tree _q33 = gimple_call_arg (_c1, 3);
   24999                 :          22 :                     _q33 = do_valueize (valueize, _q33);
   25000                 :          22 :                     if (tree_swap_operands_p (_q31, _q32))
   25001                 :           0 :                       std::swap (_q31, _q32);
   25002                 :          22 :                     if ((_q30 == _p0 && ! TREE_SIDE_EFFECTS (_q30)) || (operand_equal_p (_q30, _p0, 0) && types_match (_q30, _p0)))
   25003                 :             :                       {
   25004                 :          22 :                         {
   25005                 :          22 :                           tree captures[5] ATTRIBUTE_UNUSED = { _p0, _q31, _q32, _q33, _p2 };
   25006                 :          22 :                           if (gimple_simplify_584 (res_op, seq, valueize, type, captures, CFN_COND_ADD))
   25007                 :           8 :                             return true;
   25008                 :             :                         }
   25009                 :             :                       }
   25010                 :             :                   }
   25011                 :             :                 break;
   25012                 :           0 :               case CFN_COND_AND:
   25013                 :           0 :                 if (gimple_call_num_args (_c1) == 4)
   25014                 :             :                   {
   25015                 :           0 :                     tree _q30 = gimple_call_arg (_c1, 0);
   25016                 :           0 :                     _q30 = do_valueize (valueize, _q30);
   25017                 :           0 :                     tree _q31 = gimple_call_arg (_c1, 1);
   25018                 :           0 :                     _q31 = do_valueize (valueize, _q31);
   25019                 :           0 :                     tree _q32 = gimple_call_arg (_c1, 2);
   25020                 :           0 :                     _q32 = do_valueize (valueize, _q32);
   25021                 :           0 :                     tree _q33 = gimple_call_arg (_c1, 3);
   25022                 :           0 :                     _q33 = do_valueize (valueize, _q33);
   25023                 :           0 :                     if (tree_swap_operands_p (_q31, _q32))
   25024                 :           0 :                       std::swap (_q31, _q32);
   25025                 :           0 :                     if ((_q30 == _p0 && ! TREE_SIDE_EFFECTS (_q30)) || (operand_equal_p (_q30, _p0, 0) && types_match (_q30, _p0)))
   25026                 :             :                       {
   25027                 :           0 :                         {
   25028                 :           0 :                           tree captures[5] ATTRIBUTE_UNUSED = { _p0, _q31, _q32, _q33, _p2 };
   25029                 :           0 :                           if (gimple_simplify_584 (res_op, seq, valueize, type, captures, CFN_COND_AND))
   25030                 :           0 :                             return true;
   25031                 :             :                         }
   25032                 :             :                       }
   25033                 :             :                   }
   25034                 :             :                 break;
   25035                 :           0 :               case CFN_COND_DIV:
   25036                 :           0 :                 if (gimple_call_num_args (_c1) == 4)
   25037                 :             :                   {
   25038                 :           0 :                     tree _q30 = gimple_call_arg (_c1, 0);
   25039                 :           0 :                     _q30 = do_valueize (valueize, _q30);
   25040                 :           0 :                     tree _q31 = gimple_call_arg (_c1, 1);
   25041                 :           0 :                     _q31 = do_valueize (valueize, _q31);
   25042                 :           0 :                     tree _q32 = gimple_call_arg (_c1, 2);
   25043                 :           0 :                     _q32 = do_valueize (valueize, _q32);
   25044                 :           0 :                     tree _q33 = gimple_call_arg (_c1, 3);
   25045                 :           0 :                     _q33 = do_valueize (valueize, _q33);
   25046                 :           0 :                     if ((_q30 == _p0 && ! TREE_SIDE_EFFECTS (_q30)) || (operand_equal_p (_q30, _p0, 0) && types_match (_q30, _p0)))
   25047                 :             :                       {
   25048                 :           0 :                         {
   25049                 :           0 :                           tree captures[5] ATTRIBUTE_UNUSED = { _p0, _q31, _q32, _q33, _p2 };
   25050                 :           0 :                           if (gimple_simplify_584 (res_op, seq, valueize, type, captures, CFN_COND_DIV))
   25051                 :           0 :                             return true;
   25052                 :             :                         }
   25053                 :             :                       }
   25054                 :             :                   }
   25055                 :             :                 break;
   25056                 :           0 :               case CFN_COND_IOR:
   25057                 :           0 :                 if (gimple_call_num_args (_c1) == 4)
   25058                 :             :                   {
   25059                 :           0 :                     tree _q30 = gimple_call_arg (_c1, 0);
   25060                 :           0 :                     _q30 = do_valueize (valueize, _q30);
   25061                 :           0 :                     tree _q31 = gimple_call_arg (_c1, 1);
   25062                 :           0 :                     _q31 = do_valueize (valueize, _q31);
   25063                 :           0 :                     tree _q32 = gimple_call_arg (_c1, 2);
   25064                 :           0 :                     _q32 = do_valueize (valueize, _q32);
   25065                 :           0 :                     tree _q33 = gimple_call_arg (_c1, 3);
   25066                 :           0 :                     _q33 = do_valueize (valueize, _q33);
   25067                 :           0 :                     if (tree_swap_operands_p (_q31, _q32))
   25068                 :           0 :                       std::swap (_q31, _q32);
   25069                 :           0 :                     if ((_q30 == _p0 && ! TREE_SIDE_EFFECTS (_q30)) || (operand_equal_p (_q30, _p0, 0) && types_match (_q30, _p0)))
   25070                 :             :                       {
   25071                 :           0 :                         {
   25072                 :           0 :                           tree captures[5] ATTRIBUTE_UNUSED = { _p0, _q31, _q32, _q33, _p2 };
   25073                 :           0 :                           if (gimple_simplify_584 (res_op, seq, valueize, type, captures, CFN_COND_IOR))
   25074                 :           0 :                             return true;
   25075                 :             :                         }
   25076                 :             :                       }
   25077                 :             :                   }
   25078                 :             :                 break;
   25079                 :           0 :               case CFN_COND_MAX:
   25080                 :           0 :                 if (gimple_call_num_args (_c1) == 4)
   25081                 :             :                   {
   25082                 :           0 :                     tree _q30 = gimple_call_arg (_c1, 0);
   25083                 :           0 :                     _q30 = do_valueize (valueize, _q30);
   25084                 :           0 :                     tree _q31 = gimple_call_arg (_c1, 1);
   25085                 :           0 :                     _q31 = do_valueize (valueize, _q31);
   25086                 :           0 :                     tree _q32 = gimple_call_arg (_c1, 2);
   25087                 :           0 :                     _q32 = do_valueize (valueize, _q32);
   25088                 :           0 :                     tree _q33 = gimple_call_arg (_c1, 3);
   25089                 :           0 :                     _q33 = do_valueize (valueize, _q33);
   25090                 :           0 :                     if (tree_swap_operands_p (_q31, _q32))
   25091                 :           0 :                       std::swap (_q31, _q32);
   25092                 :           0 :                     if ((_q30 == _p0 && ! TREE_SIDE_EFFECTS (_q30)) || (operand_equal_p (_q30, _p0, 0) && types_match (_q30, _p0)))
   25093                 :             :                       {
   25094                 :           0 :                         {
   25095                 :           0 :                           tree captures[5] ATTRIBUTE_UNUSED = { _p0, _q31, _q32, _q33, _p2 };
   25096                 :           0 :                           if (gimple_simplify_584 (res_op, seq, valueize, type, captures, CFN_COND_MAX))
   25097                 :           0 :                             return true;
   25098                 :             :                         }
   25099                 :             :                       }
   25100                 :             :                   }
   25101                 :             :                 break;
   25102                 :           0 :               case CFN_COND_MIN:
   25103                 :           0 :                 if (gimple_call_num_args (_c1) == 4)
   25104                 :             :                   {
   25105                 :           0 :                     tree _q30 = gimple_call_arg (_c1, 0);
   25106                 :           0 :                     _q30 = do_valueize (valueize, _q30);
   25107                 :           0 :                     tree _q31 = gimple_call_arg (_c1, 1);
   25108                 :           0 :                     _q31 = do_valueize (valueize, _q31);
   25109                 :           0 :                     tree _q32 = gimple_call_arg (_c1, 2);
   25110                 :           0 :                     _q32 = do_valueize (valueize, _q32);
   25111                 :           0 :                     tree _q33 = gimple_call_arg (_c1, 3);
   25112                 :           0 :                     _q33 = do_valueize (valueize, _q33);
   25113                 :           0 :                     if (tree_swap_operands_p (_q31, _q32))
   25114                 :           0 :                       std::swap (_q31, _q32);
   25115                 :           0 :                     if ((_q30 == _p0 && ! TREE_SIDE_EFFECTS (_q30)) || (operand_equal_p (_q30, _p0, 0) && types_match (_q30, _p0)))
   25116                 :             :                       {
   25117                 :           0 :                         {
   25118                 :           0 :                           tree captures[5] ATTRIBUTE_UNUSED = { _p0, _q31, _q32, _q33, _p2 };
   25119                 :           0 :                           if (gimple_simplify_584 (res_op, seq, valueize, type, captures, CFN_COND_MIN))
   25120                 :           0 :                             return true;
   25121                 :             :                         }
   25122                 :             :                       }
   25123                 :             :                   }
   25124                 :             :                 break;
   25125                 :           0 :               case CFN_COND_MOD:
   25126                 :           0 :                 if (gimple_call_num_args (_c1) == 4)
   25127                 :             :                   {
   25128                 :           0 :                     tree _q30 = gimple_call_arg (_c1, 0);
   25129                 :           0 :                     _q30 = do_valueize (valueize, _q30);
   25130                 :           0 :                     tree _q31 = gimple_call_arg (_c1, 1);
   25131                 :           0 :                     _q31 = do_valueize (valueize, _q31);
   25132                 :           0 :                     tree _q32 = gimple_call_arg (_c1, 2);
   25133                 :           0 :                     _q32 = do_valueize (valueize, _q32);
   25134                 :           0 :                     tree _q33 = gimple_call_arg (_c1, 3);
   25135                 :           0 :                     _q33 = do_valueize (valueize, _q33);
   25136                 :           0 :                     if ((_q30 == _p0 && ! TREE_SIDE_EFFECTS (_q30)) || (operand_equal_p (_q30, _p0, 0) && types_match (_q30, _p0)))
   25137                 :             :                       {
   25138                 :           0 :                         {
   25139                 :           0 :                           tree captures[5] ATTRIBUTE_UNUSED = { _p0, _q31, _q32, _q33, _p2 };
   25140                 :           0 :                           if (gimple_simplify_584 (res_op, seq, valueize, type, captures, CFN_COND_MOD))
   25141                 :           0 :                             return true;
   25142                 :             :                         }
   25143                 :             :                       }
   25144                 :             :                   }
   25145                 :             :                 break;
   25146                 :           0 :               case CFN_COND_MUL:
   25147                 :           0 :                 if (gimple_call_num_args (_c1) == 4)
   25148                 :             :                   {
   25149                 :           0 :                     tree _q30 = gimple_call_arg (_c1, 0);
   25150                 :           0 :                     _q30 = do_valueize (valueize, _q30);
   25151                 :           0 :                     tree _q31 = gimple_call_arg (_c1, 1);
   25152                 :           0 :                     _q31 = do_valueize (valueize, _q31);
   25153                 :           0 :                     tree _q32 = gimple_call_arg (_c1, 2);
   25154                 :           0 :                     _q32 = do_valueize (valueize, _q32);
   25155                 :           0 :                     tree _q33 = gimple_call_arg (_c1, 3);
   25156                 :           0 :                     _q33 = do_valueize (valueize, _q33);
   25157                 :           0 :                     if (tree_swap_operands_p (_q31, _q32))
   25158                 :           0 :                       std::swap (_q31, _q32);
   25159                 :           0 :                     if ((_q30 == _p0 && ! TREE_SIDE_EFFECTS (_q30)) || (operand_equal_p (_q30, _p0, 0) && types_match (_q30, _p0)))
   25160                 :             :                       {
   25161                 :           0 :                         {
   25162                 :           0 :                           tree captures[5] ATTRIBUTE_UNUSED = { _p0, _q31, _q32, _q33, _p2 };
   25163                 :           0 :                           if (gimple_simplify_584 (res_op, seq, valueize, type, captures, CFN_COND_MUL))
   25164                 :           0 :                             return true;
   25165                 :             :                         }
   25166                 :             :                       }
   25167                 :             :                   }
   25168                 :             :                 break;
   25169                 :           0 :               case CFN_COND_SHL:
   25170                 :           0 :                 if (gimple_call_num_args (_c1) == 4)
   25171                 :             :                   {
   25172                 :           0 :                     tree _q30 = gimple_call_arg (_c1, 0);
   25173                 :           0 :                     _q30 = do_valueize (valueize, _q30);
   25174                 :           0 :                     tree _q31 = gimple_call_arg (_c1, 1);
   25175                 :           0 :                     _q31 = do_valueize (valueize, _q31);
   25176                 :           0 :                     tree _q32 = gimple_call_arg (_c1, 2);
   25177                 :           0 :                     _q32 = do_valueize (valueize, _q32);
   25178                 :           0 :                     tree _q33 = gimple_call_arg (_c1, 3);
   25179                 :           0 :                     _q33 = do_valueize (valueize, _q33);
   25180                 :           0 :                     if ((_q30 == _p0 && ! TREE_SIDE_EFFECTS (_q30)) || (operand_equal_p (_q30, _p0, 0) && types_match (_q30, _p0)))
   25181                 :             :                       {
   25182                 :           0 :                         {
   25183                 :           0 :                           tree captures[5] ATTRIBUTE_UNUSED = { _p0, _q31, _q32, _q33, _p2 };
   25184                 :           0 :                           if (gimple_simplify_584 (res_op, seq, valueize, type, captures, CFN_COND_SHL))
   25185                 :           0 :                             return true;
   25186                 :             :                         }
   25187                 :             :                       }
   25188                 :             :                   }
   25189                 :             :                 break;
   25190                 :           0 :               case CFN_COND_SHR:
   25191                 :           0 :                 if (gimple_call_num_args (_c1) == 4)
   25192                 :             :                   {
   25193                 :           0 :                     tree _q30 = gimple_call_arg (_c1, 0);
   25194                 :           0 :                     _q30 = do_valueize (valueize, _q30);
   25195                 :           0 :                     tree _q31 = gimple_call_arg (_c1, 1);
   25196                 :           0 :                     _q31 = do_valueize (valueize, _q31);
   25197                 :           0 :                     tree _q32 = gimple_call_arg (_c1, 2);
   25198                 :           0 :                     _q32 = do_valueize (valueize, _q32);
   25199                 :           0 :                     tree _q33 = gimple_call_arg (_c1, 3);
   25200                 :           0 :                     _q33 = do_valueize (valueize, _q33);
   25201                 :           0 :                     if ((_q30 == _p0 && ! TREE_SIDE_EFFECTS (_q30)) || (operand_equal_p (_q30, _p0, 0) && types_match (_q30, _p0)))
   25202                 :             :                       {
   25203                 :           0 :                         {
   25204                 :           0 :                           tree captures[5] ATTRIBUTE_UNUSED = { _p0, _q31, _q32, _q33, _p2 };
   25205                 :           0 :                           if (gimple_simplify_584 (res_op, seq, valueize, type, captures, CFN_COND_SHR))
   25206                 :           0 :                             return true;
   25207                 :             :                         }
   25208                 :             :                       }
   25209                 :             :                   }
   25210                 :             :                 break;
   25211                 :           0 :               case CFN_COND_SUB:
   25212                 :           0 :                 if (gimple_call_num_args (_c1) == 4)
   25213                 :             :                   {
   25214                 :           0 :                     tree _q30 = gimple_call_arg (_c1, 0);
   25215                 :           0 :                     _q30 = do_valueize (valueize, _q30);
   25216                 :           0 :                     tree _q31 = gimple_call_arg (_c1, 1);
   25217                 :           0 :                     _q31 = do_valueize (valueize, _q31);
   25218                 :           0 :                     tree _q32 = gimple_call_arg (_c1, 2);
   25219                 :           0 :                     _q32 = do_valueize (valueize, _q32);
   25220                 :           0 :                     tree _q33 = gimple_call_arg (_c1, 3);
   25221                 :           0 :                     _q33 = do_valueize (valueize, _q33);
   25222                 :           0 :                     if ((_q30 == _p0 && ! TREE_SIDE_EFFECTS (_q30)) || (operand_equal_p (_q30, _p0, 0) && types_match (_q30, _p0)))
   25223                 :             :                       {
   25224                 :           0 :                         {
   25225                 :           0 :                           tree captures[5] ATTRIBUTE_UNUSED = { _p0, _q31, _q32, _q33, _p2 };
   25226                 :           0 :                           if (gimple_simplify_584 (res_op, seq, valueize, type, captures, CFN_COND_SUB))
   25227                 :           0 :                             return true;
   25228                 :             :                         }
   25229                 :             :                       }
   25230                 :             :                   }
   25231                 :             :                 break;
   25232                 :           0 :               case CFN_COND_XOR:
   25233                 :           0 :                 if (gimple_call_num_args (_c1) == 4)
   25234                 :             :                   {
   25235                 :           0 :                     tree _q30 = gimple_call_arg (_c1, 0);
   25236                 :           0 :                     _q30 = do_valueize (valueize, _q30);
   25237                 :           0 :                     tree _q31 = gimple_call_arg (_c1, 1);
   25238                 :           0 :                     _q31 = do_valueize (valueize, _q31);
   25239                 :           0 :                     tree _q32 = gimple_call_arg (_c1, 2);
   25240                 :           0 :                     _q32 = do_valueize (valueize, _q32);
   25241                 :           0 :                     tree _q33 = gimple_call_arg (_c1, 3);
   25242                 :           0 :                     _q33 = do_valueize (valueize, _q33);
   25243                 :           0 :                     if (tree_swap_operands_p (_q31, _q32))
   25244                 :           0 :                       std::swap (_q31, _q32);
   25245                 :           0 :                     if ((_q30 == _p0 && ! TREE_SIDE_EFFECTS (_q30)) || (operand_equal_p (_q30, _p0, 0) && types_match (_q30, _p0)))
   25246                 :             :                       {
   25247                 :           0 :                         {
   25248                 :           0 :                           tree captures[5] ATTRIBUTE_UNUSED = { _p0, _q31, _q32, _q33, _p2 };
   25249                 :           0 :                           if (gimple_simplify_584 (res_op, seq, valueize, type, captures, CFN_COND_XOR))
   25250                 :           0 :                             return true;
   25251                 :             :                         }
   25252                 :             :                       }
   25253                 :             :                   }
   25254                 :             :                 break;
   25255                 :           0 :               case CFN_COND_COPYSIGN:
   25256                 :           0 :                 if (gimple_call_num_args (_c1) == 4)
   25257                 :             :                   {
   25258                 :           0 :                     tree _q30 = gimple_call_arg (_c1, 0);
   25259                 :           0 :                     _q30 = do_valueize (valueize, _q30);
   25260                 :           0 :                     tree _q31 = gimple_call_arg (_c1, 1);
   25261                 :           0 :                     _q31 = do_valueize (valueize, _q31);
   25262                 :           0 :                     tree _q32 = gimple_call_arg (_c1, 2);
   25263                 :           0 :                     _q32 = do_valueize (valueize, _q32);
   25264                 :           0 :                     tree _q33 = gimple_call_arg (_c1, 3);
   25265                 :           0 :                     _q33 = do_valueize (valueize, _q33);
   25266                 :           0 :                     if ((_q30 == _p0 && ! TREE_SIDE_EFFECTS (_q30)) || (operand_equal_p (_q30, _p0, 0) && types_match (_q30, _p0)))
   25267                 :             :                       {
   25268                 :           0 :                         {
   25269                 :           0 :                           tree captures[5] ATTRIBUTE_UNUSED = { _p0, _q31, _q32, _q33, _p2 };
   25270                 :           0 :                           if (gimple_simplify_584 (res_op, seq, valueize, type, captures, CFN_COND_COPYSIGN))
   25271                 :           0 :                             return true;
   25272                 :             :                         }
   25273                 :             :                       }
   25274                 :             :                   }
   25275                 :             :                 break;
   25276                 :           0 :               case CFN_COND_FMAX:
   25277                 :           0 :                 if (gimple_call_num_args (_c1) == 4)
   25278                 :             :                   {
   25279                 :           0 :                     tree _q30 = gimple_call_arg (_c1, 0);
   25280                 :           0 :                     _q30 = do_valueize (valueize, _q30);
   25281                 :           0 :                     tree _q31 = gimple_call_arg (_c1, 1);
   25282                 :           0 :                     _q31 = do_valueize (valueize, _q31);
   25283                 :           0 :                     tree _q32 = gimple_call_arg (_c1, 2);
   25284                 :           0 :                     _q32 = do_valueize (valueize, _q32);
   25285                 :           0 :                     tree _q33 = gimple_call_arg (_c1, 3);
   25286                 :           0 :                     _q33 = do_valueize (valueize, _q33);
   25287                 :           0 :                     if (tree_swap_operands_p (_q31, _q32))
   25288                 :           0 :                       std::swap (_q31, _q32);
   25289                 :           0 :                     if ((_q30 == _p0 && ! TREE_SIDE_EFFECTS (_q30)) || (operand_equal_p (_q30, _p0, 0) && types_match (_q30, _p0)))
   25290                 :             :                       {
   25291                 :           0 :                         {
   25292                 :           0 :                           tree captures[5] ATTRIBUTE_UNUSED = { _p0, _q31, _q32, _q33, _p2 };
   25293                 :           0 :                           if (gimple_simplify_584 (res_op, seq, valueize, type, captures, CFN_COND_FMAX))
   25294                 :           0 :                             return true;
   25295                 :             :                         }
   25296                 :             :                       }
   25297                 :             :                   }
   25298                 :             :                 break;
   25299                 :           0 :               case CFN_COND_FMIN:
   25300                 :           0 :                 if (gimple_call_num_args (_c1) == 4)
   25301                 :             :                   {
   25302                 :           0 :                     tree _q30 = gimple_call_arg (_c1, 0);
   25303                 :           0 :                     _q30 = do_valueize (valueize, _q30);
   25304                 :           0 :                     tree _q31 = gimple_call_arg (_c1, 1);
   25305                 :           0 :                     _q31 = do_valueize (valueize, _q31);
   25306                 :           0 :                     tree _q32 = gimple_call_arg (_c1, 2);
   25307                 :           0 :                     _q32 = do_valueize (valueize, _q32);
   25308                 :           0 :                     tree _q33 = gimple_call_arg (_c1, 3);
   25309                 :           0 :                     _q33 = do_valueize (valueize, _q33);
   25310                 :           0 :                     if (tree_swap_operands_p (_q31, _q32))
   25311                 :           0 :                       std::swap (_q31, _q32);
   25312                 :           0 :                     if ((_q30 == _p0 && ! TREE_SIDE_EFFECTS (_q30)) || (operand_equal_p (_q30, _p0, 0) && types_match (_q30, _p0)))
   25313                 :             :                       {
   25314                 :           0 :                         {
   25315                 :           0 :                           tree captures[5] ATTRIBUTE_UNUSED = { _p0, _q31, _q32, _q33, _p2 };
   25316                 :           0 :                           if (gimple_simplify_584 (res_op, seq, valueize, type, captures, CFN_COND_FMIN))
   25317                 :           0 :                             return true;
   25318                 :             :                         }
   25319                 :             :                       }
   25320                 :             :                   }
   25321                 :             :                 break;
   25322                 :          22 :               case CFN_COND_RDIV:
   25323                 :          22 :                 if (gimple_call_num_args (_c1) == 4)
   25324                 :             :                   {
   25325                 :          22 :                     tree _q30 = gimple_call_arg (_c1, 0);
   25326                 :          22 :                     _q30 = do_valueize (valueize, _q30);
   25327                 :          22 :                     tree _q31 = gimple_call_arg (_c1, 1);
   25328                 :          22 :                     _q31 = do_valueize (valueize, _q31);
   25329                 :          22 :                     tree _q32 = gimple_call_arg (_c1, 2);
   25330                 :          22 :                     _q32 = do_valueize (valueize, _q32);
   25331                 :          22 :                     tree _q33 = gimple_call_arg (_c1, 3);
   25332                 :          22 :                     _q33 = do_valueize (valueize, _q33);
   25333                 :          22 :                     if ((_q30 == _p0 && ! TREE_SIDE_EFFECTS (_q30)) || (operand_equal_p (_q30, _p0, 0) && types_match (_q30, _p0)))
   25334                 :             :                       {
   25335                 :           0 :                         {
   25336                 :           0 :                           tree captures[5] ATTRIBUTE_UNUSED = { _p0, _q31, _q32, _q33, _p2 };
   25337                 :           0 :                           if (gimple_simplify_584 (res_op, seq, valueize, type, captures, CFN_COND_RDIV))
   25338                 :           0 :                             return true;
   25339                 :             :                         }
   25340                 :             :                       }
   25341                 :             :                   }
   25342                 :             :                 break;
   25343                 :             :               default:;
   25344                 :             :               }
   25345                 :             :         }
   25346                 :             :       break;
   25347                 :      149004 :     default:;
   25348                 :             :     }
   25349                 :      149004 :   switch (TREE_CODE (_p2))
   25350                 :             :     {
   25351                 :       23911 :     case SSA_NAME:
   25352                 :       23911 :       if (gimple *_d1 = get_def (valueize, _p2))
   25353                 :             :         {
   25354                 :       21999 :           if (gassign *_a1 = dyn_cast <gassign *> (_d1))
   25355                 :       20622 :             switch (gimple_assign_rhs_code (_a1))
   25356                 :             :               {
   25357                 :        2328 :               case VIEW_CONVERT_EXPR:
   25358                 :        2328 :                 {
   25359                 :        2328 :                   tree _q40 = TREE_OPERAND (gimple_assign_rhs1 (_a1), 0);
   25360                 :        2328 :                   if ((TREE_CODE (_q40) == SSA_NAME
   25361                 :        2328 :                        || is_gimple_min_invariant (_q40)))
   25362                 :             :                     {
   25363                 :        2328 :                       _q40 = do_valueize (valueize, _q40);
   25364                 :        2328 :                       switch (TREE_CODE (_q40))
   25365                 :             :                         {
   25366                 :        2328 :                         case SSA_NAME:
   25367                 :        2328 :                           if (gimple *_d2 = get_def (valueize, _q40))
   25368                 :             :                             {
   25369                 :        2279 :                               if (gcall *_c2 = dyn_cast <gcall *> (_d2))
   25370                 :         461 :                                 switch (gimple_call_combined_fn (_c2))
   25371                 :             :                                   {
   25372                 :           0 :                                   case CFN_COND_ADD:
   25373                 :           0 :                                     if (gimple_call_num_args (_c2) == 4)
   25374                 :             :                                       {
   25375                 :           0 :                                         tree _q50 = gimple_call_arg (_c2, 0);
   25376                 :           0 :                                         _q50 = do_valueize (valueize, _q50);
   25377                 :           0 :                                         tree _q51 = gimple_call_arg (_c2, 1);
   25378                 :           0 :                                         _q51 = do_valueize (valueize, _q51);
   25379                 :           0 :                                         tree _q52 = gimple_call_arg (_c2, 2);
   25380                 :           0 :                                         _q52 = do_valueize (valueize, _q52);
   25381                 :           0 :                                         tree _q53 = gimple_call_arg (_c2, 3);
   25382                 :           0 :                                         _q53 = do_valueize (valueize, _q53);
   25383                 :           0 :                                         if (tree_swap_operands_p (_q51, _q52))
   25384                 :           0 :                                           std::swap (_q51, _q52);
   25385                 :           0 :                                         {
   25386                 :           0 :                                           tree captures[6] ATTRIBUTE_UNUSED = { _p0, _p1, _q50, _q51, _q52, _q53 };
   25387                 :           0 :                                           if (gimple_simplify_585 (res_op, seq, valueize, type, captures, CFN_COND_ADD))
   25388                 :           0 :                                             return true;
   25389                 :             :                                         }
   25390                 :             :                                       }
   25391                 :             :                                     break;
   25392                 :           0 :                                   case CFN_COND_AND:
   25393                 :           0 :                                     if (gimple_call_num_args (_c2) == 4)
   25394                 :             :                                       {
   25395                 :           0 :                                         tree _q50 = gimple_call_arg (_c2, 0);
   25396                 :           0 :                                         _q50 = do_valueize (valueize, _q50);
   25397                 :           0 :                                         tree _q51 = gimple_call_arg (_c2, 1);
   25398                 :           0 :                                         _q51 = do_valueize (valueize, _q51);
   25399                 :           0 :                                         tree _q52 = gimple_call_arg (_c2, 2);
   25400                 :           0 :                                         _q52 = do_valueize (valueize, _q52);
   25401                 :           0 :                                         tree _q53 = gimple_call_arg (_c2, 3);
   25402                 :           0 :                                         _q53 = do_valueize (valueize, _q53);
   25403                 :           0 :                                         if (tree_swap_operands_p (_q51, _q52))
   25404                 :           0 :                                           std::swap (_q51, _q52);
   25405                 :           0 :                                         {
   25406                 :           0 :                                           tree captures[6] ATTRIBUTE_UNUSED = { _p0, _p1, _q50, _q51, _q52, _q53 };
   25407                 :           0 :                                           if (gimple_simplify_585 (res_op, seq, valueize, type, captures, CFN_COND_AND))
   25408                 :           0 :                                             return true;
   25409                 :             :                                         }
   25410                 :             :                                       }
   25411                 :             :                                     break;
   25412                 :           0 :                                   case CFN_COND_DIV:
   25413                 :           0 :                                     if (gimple_call_num_args (_c2) == 4)
   25414                 :             :                                       {
   25415                 :           0 :                                         tree _q50 = gimple_call_arg (_c2, 0);
   25416                 :           0 :                                         _q50 = do_valueize (valueize, _q50);
   25417                 :           0 :                                         tree _q51 = gimple_call_arg (_c2, 1);
   25418                 :           0 :                                         _q51 = do_valueize (valueize, _q51);
   25419                 :           0 :                                         tree _q52 = gimple_call_arg (_c2, 2);
   25420                 :           0 :                                         _q52 = do_valueize (valueize, _q52);
   25421                 :           0 :                                         tree _q53 = gimple_call_arg (_c2, 3);
   25422                 :           0 :                                         _q53 = do_valueize (valueize, _q53);
   25423                 :           0 :                                         {
   25424                 :           0 :                                           tree captures[6] ATTRIBUTE_UNUSED = { _p0, _p1, _q50, _q51, _q52, _q53 };
   25425                 :           0 :                                           if (gimple_simplify_585 (res_op, seq, valueize, type, captures, CFN_COND_DIV))
   25426                 :           0 :                                             return true;
   25427                 :             :                                         }
   25428                 :             :                                       }
   25429                 :             :                                     break;
   25430                 :           0 :                                   case CFN_COND_IOR:
   25431                 :           0 :                                     if (gimple_call_num_args (_c2) == 4)
   25432                 :             :                                       {
   25433                 :           0 :                                         tree _q50 = gimple_call_arg (_c2, 0);
   25434                 :           0 :                                         _q50 = do_valueize (valueize, _q50);
   25435                 :           0 :                                         tree _q51 = gimple_call_arg (_c2, 1);
   25436                 :           0 :                                         _q51 = do_valueize (valueize, _q51);
   25437                 :           0 :                                         tree _q52 = gimple_call_arg (_c2, 2);
   25438                 :           0 :                                         _q52 = do_valueize (valueize, _q52);
   25439                 :           0 :                                         tree _q53 = gimple_call_arg (_c2, 3);
   25440                 :           0 :                                         _q53 = do_valueize (valueize, _q53);
   25441                 :           0 :                                         if (tree_swap_operands_p (_q51, _q52))
   25442                 :           0 :                                           std::swap (_q51, _q52);
   25443                 :           0 :                                         {
   25444                 :           0 :                                           tree captures[6] ATTRIBUTE_UNUSED = { _p0, _p1, _q50, _q51, _q52, _q53 };
   25445                 :           0 :                                           if (gimple_simplify_585 (res_op, seq, valueize, type, captures, CFN_COND_IOR))
   25446                 :           0 :                                             return true;
   25447                 :             :                                         }
   25448                 :             :                                       }
   25449                 :             :                                     break;
   25450                 :           0 :                                   case CFN_COND_MAX:
   25451                 :           0 :                                     if (gimple_call_num_args (_c2) == 4)
   25452                 :             :                                       {
   25453                 :           0 :                                         tree _q50 = gimple_call_arg (_c2, 0);
   25454                 :           0 :                                         _q50 = do_valueize (valueize, _q50);
   25455                 :           0 :                                         tree _q51 = gimple_call_arg (_c2, 1);
   25456                 :           0 :                                         _q51 = do_valueize (valueize, _q51);
   25457                 :           0 :                                         tree _q52 = gimple_call_arg (_c2, 2);
   25458                 :           0 :                                         _q52 = do_valueize (valueize, _q52);
   25459                 :           0 :                                         tree _q53 = gimple_call_arg (_c2, 3);
   25460                 :           0 :                                         _q53 = do_valueize (valueize, _q53);
   25461                 :           0 :                                         if (tree_swap_operands_p (_q51, _q52))
   25462                 :           0 :                                           std::swap (_q51, _q52);
   25463                 :           0 :                                         {
   25464                 :           0 :                                           tree captures[6] ATTRIBUTE_UNUSED = { _p0, _p1, _q50, _q51, _q52, _q53 };
   25465                 :           0 :                                           if (gimple_simplify_585 (res_op, seq, valueize, type, captures, CFN_COND_MAX))
   25466                 :           0 :                                             return true;
   25467                 :             :                                         }
   25468                 :             :                                       }
   25469                 :             :                                     break;
   25470                 :           0 :                                   case CFN_COND_MIN:
   25471                 :           0 :                                     if (gimple_call_num_args (_c2) == 4)
   25472                 :             :                                       {
   25473                 :           0 :                                         tree _q50 = gimple_call_arg (_c2, 0);
   25474                 :           0 :                                         _q50 = do_valueize (valueize, _q50);
   25475                 :           0 :                                         tree _q51 = gimple_call_arg (_c2, 1);
   25476                 :           0 :                                         _q51 = do_valueize (valueize, _q51);
   25477                 :           0 :                                         tree _q52 = gimple_call_arg (_c2, 2);
   25478                 :           0 :                                         _q52 = do_valueize (valueize, _q52);
   25479                 :           0 :                                         tree _q53 = gimple_call_arg (_c2, 3);
   25480                 :           0 :                                         _q53 = do_valueize (valueize, _q53);
   25481                 :           0 :                                         if (tree_swap_operands_p (_q51, _q52))
   25482                 :           0 :                                           std::swap (_q51, _q52);
   25483                 :           0 :                                         {
   25484                 :           0 :                                           tree captures[6] ATTRIBUTE_UNUSED = { _p0, _p1, _q50, _q51, _q52, _q53 };
   25485                 :           0 :                                           if (gimple_simplify_585 (res_op, seq, valueize, type, captures, CFN_COND_MIN))
   25486                 :           0 :                                             return true;
   25487                 :             :                                         }
   25488                 :             :                                       }
   25489                 :             :                                     break;
   25490                 :           0 :                                   case CFN_COND_MOD:
   25491                 :           0 :                                     if (gimple_call_num_args (_c2) == 4)
   25492                 :             :                                       {
   25493                 :           0 :                                         tree _q50 = gimple_call_arg (_c2, 0);
   25494                 :           0 :                                         _q50 = do_valueize (valueize, _q50);
   25495                 :           0 :                                         tree _q51 = gimple_call_arg (_c2, 1);
   25496                 :           0 :                                         _q51 = do_valueize (valueize, _q51);
   25497                 :           0 :                                         tree _q52 = gimple_call_arg (_c2, 2);
   25498                 :           0 :                                         _q52 = do_valueize (valueize, _q52);
   25499                 :           0 :                                         tree _q53 = gimple_call_arg (_c2, 3);
   25500                 :           0 :                                         _q53 = do_valueize (valueize, _q53);
   25501                 :           0 :                                         {
   25502                 :           0 :                                           tree captures[6] ATTRIBUTE_UNUSED = { _p0, _p1, _q50, _q51, _q52, _q53 };
   25503                 :           0 :                                           if (gimple_simplify_585 (res_op, seq, valueize, type, captures, CFN_COND_MOD))
   25504                 :           0 :                                             return true;
   25505                 :             :                                         }
   25506                 :             :                                       }
   25507                 :             :                                     break;
   25508                 :           0 :                                   case CFN_COND_MUL:
   25509                 :           0 :                                     if (gimple_call_num_args (_c2) == 4)
   25510                 :             :                                       {
   25511                 :           0 :                                         tree _q50 = gimple_call_arg (_c2, 0);
   25512                 :           0 :                                         _q50 = do_valueize (valueize, _q50);
   25513                 :           0 :                                         tree _q51 = gimple_call_arg (_c2, 1);
   25514                 :           0 :                                         _q51 = do_valueize (valueize, _q51);
   25515                 :           0 :                                         tree _q52 = gimple_call_arg (_c2, 2);
   25516                 :           0 :                                         _q52 = do_valueize (valueize, _q52);
   25517                 :           0 :                                         tree _q53 = gimple_call_arg (_c2, 3);
   25518                 :           0 :                                         _q53 = do_valueize (valueize, _q53);
   25519                 :           0 :                                         if (tree_swap_operands_p (_q51, _q52))
   25520                 :           0 :                                           std::swap (_q51, _q52);
   25521                 :           0 :                                         {
   25522                 :           0 :                                           tree captures[6] ATTRIBUTE_UNUSED = { _p0, _p1, _q50, _q51, _q52, _q53 };
   25523                 :           0 :                                           if (gimple_simplify_585 (res_op, seq, valueize, type, captures, CFN_COND_MUL))
   25524                 :           0 :                                             return true;
   25525                 :             :                                         }
   25526                 :             :                                       }
   25527                 :             :                                     break;
   25528                 :           0 :                                   case CFN_COND_SHL:
   25529                 :           0 :                                     if (gimple_call_num_args (_c2) == 4)
   25530                 :             :                                       {
   25531                 :           0 :                                         tree _q50 = gimple_call_arg (_c2, 0);
   25532                 :           0 :                                         _q50 = do_valueize (valueize, _q50);
   25533                 :           0 :                                         tree _q51 = gimple_call_arg (_c2, 1);
   25534                 :           0 :                                         _q51 = do_valueize (valueize, _q51);
   25535                 :           0 :                                         tree _q52 = gimple_call_arg (_c2, 2);
   25536                 :           0 :                                         _q52 = do_valueize (valueize, _q52);
   25537                 :           0 :                                         tree _q53 = gimple_call_arg (_c2, 3);
   25538                 :           0 :                                         _q53 = do_valueize (valueize, _q53);
   25539                 :           0 :                                         {
   25540                 :           0 :                                           tree captures[6] ATTRIBUTE_UNUSED = { _p0, _p1, _q50, _q51, _q52, _q53 };
   25541                 :           0 :                                           if (gimple_simplify_585 (res_op, seq, valueize, type, captures, CFN_COND_SHL))
   25542                 :           0 :                                             return true;
   25543                 :             :                                         }
   25544                 :             :                                       }
   25545                 :             :                                     break;
   25546                 :           0 :                                   case CFN_COND_SHR:
   25547                 :           0 :                                     if (gimple_call_num_args (_c2) == 4)
   25548                 :             :                                       {
   25549                 :           0 :                                         tree _q50 = gimple_call_arg (_c2, 0);
   25550                 :           0 :                                         _q50 = do_valueize (valueize, _q50);
   25551                 :           0 :                                         tree _q51 = gimple_call_arg (_c2, 1);
   25552                 :           0 :                                         _q51 = do_valueize (valueize, _q51);
   25553                 :           0 :                                         tree _q52 = gimple_call_arg (_c2, 2);
   25554                 :           0 :                                         _q52 = do_valueize (valueize, _q52);
   25555                 :           0 :                                         tree _q53 = gimple_call_arg (_c2, 3);
   25556                 :           0 :                                         _q53 = do_valueize (valueize, _q53);
   25557                 :           0 :                                         {
   25558                 :           0 :                                           tree captures[6] ATTRIBUTE_UNUSED = { _p0, _p1, _q50, _q51, _q52, _q53 };
   25559                 :           0 :                                           if (gimple_simplify_585 (res_op, seq, valueize, type, captures, CFN_COND_SHR))
   25560                 :           0 :                                             return true;
   25561                 :             :                                         }
   25562                 :             :                                       }
   25563                 :             :                                     break;
   25564                 :           0 :                                   case CFN_COND_SUB:
   25565                 :           0 :                                     if (gimple_call_num_args (_c2) == 4)
   25566                 :             :                                       {
   25567                 :           0 :                                         tree _q50 = gimple_call_arg (_c2, 0);
   25568                 :           0 :                                         _q50 = do_valueize (valueize, _q50);
   25569                 :           0 :                                         tree _q51 = gimple_call_arg (_c2, 1);
   25570                 :           0 :                                         _q51 = do_valueize (valueize, _q51);
   25571                 :           0 :                                         tree _q52 = gimple_call_arg (_c2, 2);
   25572                 :           0 :                                         _q52 = do_valueize (valueize, _q52);
   25573                 :           0 :                                         tree _q53 = gimple_call_arg (_c2, 3);
   25574                 :           0 :                                         _q53 = do_valueize (valueize, _q53);
   25575                 :           0 :                                         {
   25576                 :           0 :                                           tree captures[6] ATTRIBUTE_UNUSED = { _p0, _p1, _q50, _q51, _q52, _q53 };
   25577                 :           0 :                                           if (gimple_simplify_585 (res_op, seq, valueize, type, captures, CFN_COND_SUB))
   25578                 :           0 :                                             return true;
   25579                 :             :                                         }
   25580                 :             :                                       }
   25581                 :             :                                     break;
   25582                 :           0 :                                   case CFN_COND_XOR:
   25583                 :           0 :                                     if (gimple_call_num_args (_c2) == 4)
   25584                 :             :                                       {
   25585                 :           0 :                                         tree _q50 = gimple_call_arg (_c2, 0);
   25586                 :           0 :                                         _q50 = do_valueize (valueize, _q50);
   25587                 :           0 :                                         tree _q51 = gimple_call_arg (_c2, 1);
   25588                 :           0 :                                         _q51 = do_valueize (valueize, _q51);
   25589                 :           0 :                                         tree _q52 = gimple_call_arg (_c2, 2);
   25590                 :           0 :                                         _q52 = do_valueize (valueize, _q52);
   25591                 :           0 :                                         tree _q53 = gimple_call_arg (_c2, 3);
   25592                 :           0 :                                         _q53 = do_valueize (valueize, _q53);
   25593                 :           0 :                                         if (tree_swap_operands_p (_q51, _q52))
   25594                 :           0 :                                           std::swap (_q51, _q52);
   25595                 :           0 :                                         {
   25596                 :           0 :                                           tree captures[6] ATTRIBUTE_UNUSED = { _p0, _p1, _q50, _q51, _q52, _q53 };
   25597                 :           0 :                                           if (gimple_simplify_585 (res_op, seq, valueize, type, captures, CFN_COND_XOR))
   25598                 :           0 :                                             return true;
   25599                 :             :                                         }
   25600                 :             :                                       }
   25601                 :             :                                     break;
   25602                 :           0 :                                   case CFN_COND_COPYSIGN:
   25603                 :           0 :                                     if (gimple_call_num_args (_c2) == 4)
   25604                 :             :                                       {
   25605                 :           0 :                                         tree _q50 = gimple_call_arg (_c2, 0);
   25606                 :           0 :                                         _q50 = do_valueize (valueize, _q50);
   25607                 :           0 :                                         tree _q51 = gimple_call_arg (_c2, 1);
   25608                 :           0 :                                         _q51 = do_valueize (valueize, _q51);
   25609                 :           0 :                                         tree _q52 = gimple_call_arg (_c2, 2);
   25610                 :           0 :                                         _q52 = do_valueize (valueize, _q52);
   25611                 :           0 :                                         tree _q53 = gimple_call_arg (_c2, 3);
   25612                 :           0 :                                         _q53 = do_valueize (valueize, _q53);
   25613                 :           0 :                                         {
   25614                 :           0 :                                           tree captures[6] ATTRIBUTE_UNUSED = { _p0, _p1, _q50, _q51, _q52, _q53 };
   25615                 :           0 :                                           if (gimple_simplify_585 (res_op, seq, valueize, type, captures, CFN_COND_COPYSIGN))
   25616                 :           0 :                                             return true;
   25617                 :             :                                         }
   25618                 :             :                                       }
   25619                 :             :                                     break;
   25620                 :           0 :                                   case CFN_COND_FMAX:
   25621                 :           0 :                                     if (gimple_call_num_args (_c2) == 4)
   25622                 :             :                                       {
   25623                 :           0 :                                         tree _q50 = gimple_call_arg (_c2, 0);
   25624                 :           0 :                                         _q50 = do_valueize (valueize, _q50);
   25625                 :           0 :                                         tree _q51 = gimple_call_arg (_c2, 1);
   25626                 :           0 :                                         _q51 = do_valueize (valueize, _q51);
   25627                 :           0 :                                         tree _q52 = gimple_call_arg (_c2, 2);
   25628                 :           0 :                                         _q52 = do_valueize (valueize, _q52);
   25629                 :           0 :                                         tree _q53 = gimple_call_arg (_c2, 3);
   25630                 :           0 :                                         _q53 = do_valueize (valueize, _q53);
   25631                 :           0 :                                         if (tree_swap_operands_p (_q51, _q52))
   25632                 :           0 :                                           std::swap (_q51, _q52);
   25633                 :           0 :                                         {
   25634                 :           0 :                                           tree captures[6] ATTRIBUTE_UNUSED = { _p0, _p1, _q50, _q51, _q52, _q53 };
   25635                 :           0 :                                           if (gimple_simplify_585 (res_op, seq, valueize, type, captures, CFN_COND_FMAX))
   25636                 :           0 :                                             return true;
   25637                 :             :                                         }
   25638                 :             :                                       }
   25639                 :             :                                     break;
   25640                 :           0 :                                   case CFN_COND_FMIN:
   25641                 :           0 :                                     if (gimple_call_num_args (_c2) == 4)
   25642                 :             :                                       {
   25643                 :           0 :                                         tree _q50 = gimple_call_arg (_c2, 0);
   25644                 :           0 :                                         _q50 = do_valueize (valueize, _q50);
   25645                 :           0 :                                         tree _q51 = gimple_call_arg (_c2, 1);
   25646                 :           0 :                                         _q51 = do_valueize (valueize, _q51);
   25647                 :           0 :                                         tree _q52 = gimple_call_arg (_c2, 2);
   25648                 :           0 :                                         _q52 = do_valueize (valueize, _q52);
   25649                 :           0 :                                         tree _q53 = gimple_call_arg (_c2, 3);
   25650                 :           0 :                                         _q53 = do_valueize (valueize, _q53);
   25651                 :           0 :                                         if (tree_swap_operands_p (_q51, _q52))
   25652                 :           0 :                                           std::swap (_q51, _q52);
   25653                 :           0 :                                         {
   25654                 :           0 :                                           tree captures[6] ATTRIBUTE_UNUSED = { _p0, _p1, _q50, _q51, _q52, _q53 };
   25655                 :           0 :                                           if (gimple_simplify_585 (res_op, seq, valueize, type, captures, CFN_COND_FMIN))
   25656                 :           0 :                                             return true;
   25657                 :             :                                         }
   25658                 :             :                                       }
   25659                 :             :                                     break;
   25660                 :           0 :                                   case CFN_COND_RDIV:
   25661                 :           0 :                                     if (gimple_call_num_args (_c2) == 4)
   25662                 :             :                                       {
   25663                 :           0 :                                         tree _q50 = gimple_call_arg (_c2, 0);
   25664                 :           0 :                                         _q50 = do_valueize (valueize, _q50);
   25665                 :           0 :                                         tree _q51 = gimple_call_arg (_c2, 1);
   25666                 :           0 :                                         _q51 = do_valueize (valueize, _q51);
   25667                 :           0 :                                         tree _q52 = gimple_call_arg (_c2, 2);
   25668                 :           0 :                                         _q52 = do_valueize (valueize, _q52);
   25669                 :           0 :                                         tree _q53 = gimple_call_arg (_c2, 3);
   25670                 :           0 :                                         _q53 = do_valueize (valueize, _q53);
   25671                 :           0 :                                         {
   25672                 :           0 :                                           tree captures[6] ATTRIBUTE_UNUSED = { _p0, _p1, _q50, _q51, _q52, _q53 };
   25673                 :           0 :                                           if (gimple_simplify_585 (res_op, seq, valueize, type, captures, CFN_COND_RDIV))
   25674                 :           0 :                                             return true;
   25675                 :             :                                         }
   25676                 :             :                                       }
   25677                 :             :                                     break;
   25678                 :             :                                   default:;
   25679                 :             :                                   }
   25680                 :             :                             }
   25681                 :             :                           break;
   25682                 :             :                         default:;
   25683                 :             :                         }
   25684                 :             :                     }
   25685                 :             :                   break;
   25686                 :             :                 }
   25687                 :             :               default:;
   25688                 :             :               }
   25689                 :        9465 :           else if (gcall *_c1 = dyn_cast <gcall *> (_d1))
   25690                 :         330 :             switch (gimple_call_combined_fn (_c1))
   25691                 :             :               {
   25692                 :          14 :               case CFN_COND_ADD:
   25693                 :          14 :                 if (gimple_call_num_args (_c1) == 4)
   25694                 :             :                   {
   25695                 :          14 :                     tree _q40 = gimple_call_arg (_c1, 0);
   25696                 :          14 :                     _q40 = do_valueize (valueize, _q40);
   25697                 :          14 :                     tree _q41 = gimple_call_arg (_c1, 1);
   25698                 :          14 :                     _q41 = do_valueize (valueize, _q41);
   25699                 :          14 :                     tree _q42 = gimple_call_arg (_c1, 2);
   25700                 :          14 :                     _q42 = do_valueize (valueize, _q42);
   25701                 :          14 :                     tree _q43 = gimple_call_arg (_c1, 3);
   25702                 :          14 :                     _q43 = do_valueize (valueize, _q43);
   25703                 :          14 :                     if (tree_swap_operands_p (_q41, _q42))
   25704                 :           0 :                       std::swap (_q41, _q42);
   25705                 :          14 :                     {
   25706                 :          14 :                       tree captures[6] ATTRIBUTE_UNUSED = { _p0, _p1, _q40, _q41, _q42, _q43 };
   25707                 :          14 :                       if (gimple_simplify_585 (res_op, seq, valueize, type, captures, CFN_COND_ADD))
   25708                 :           0 :                         return true;
   25709                 :             :                     }
   25710                 :             :                   }
   25711                 :             :                 break;
   25712                 :           0 :               case CFN_COND_AND:
   25713                 :           0 :                 if (gimple_call_num_args (_c1) == 4)
   25714                 :             :                   {
   25715                 :           0 :                     tree _q40 = gimple_call_arg (_c1, 0);
   25716                 :           0 :                     _q40 = do_valueize (valueize, _q40);
   25717                 :           0 :                     tree _q41 = gimple_call_arg (_c1, 1);
   25718                 :           0 :                     _q41 = do_valueize (valueize, _q41);
   25719                 :           0 :                     tree _q42 = gimple_call_arg (_c1, 2);
   25720                 :           0 :                     _q42 = do_valueize (valueize, _q42);
   25721                 :           0 :                     tree _q43 = gimple_call_arg (_c1, 3);
   25722                 :           0 :                     _q43 = do_valueize (valueize, _q43);
   25723                 :           0 :                     if (tree_swap_operands_p (_q41, _q42))
   25724                 :           0 :                       std::swap (_q41, _q42);
   25725                 :           0 :                     {
   25726                 :           0 :                       tree captures[6] ATTRIBUTE_UNUSED = { _p0, _p1, _q40, _q41, _q42, _q43 };
   25727                 :           0 :                       if (gimple_simplify_585 (res_op, seq, valueize, type, captures, CFN_COND_AND))
   25728                 :           0 :                         return true;
   25729                 :             :                     }
   25730                 :             :                   }
   25731                 :             :                 break;
   25732                 :           0 :               case CFN_COND_DIV:
   25733                 :           0 :                 if (gimple_call_num_args (_c1) == 4)
   25734                 :             :                   {
   25735                 :           0 :                     tree _q40 = gimple_call_arg (_c1, 0);
   25736                 :           0 :                     _q40 = do_valueize (valueize, _q40);
   25737                 :           0 :                     tree _q41 = gimple_call_arg (_c1, 1);
   25738                 :           0 :                     _q41 = do_valueize (valueize, _q41);
   25739                 :           0 :                     tree _q42 = gimple_call_arg (_c1, 2);
   25740                 :           0 :                     _q42 = do_valueize (valueize, _q42);
   25741                 :           0 :                     tree _q43 = gimple_call_arg (_c1, 3);
   25742                 :           0 :                     _q43 = do_valueize (valueize, _q43);
   25743                 :           0 :                     {
   25744                 :           0 :                       tree captures[6] ATTRIBUTE_UNUSED = { _p0, _p1, _q40, _q41, _q42, _q43 };
   25745                 :           0 :                       if (gimple_simplify_585 (res_op, seq, valueize, type, captures, CFN_COND_DIV))
   25746                 :           0 :                         return true;
   25747                 :             :                     }
   25748                 :             :                   }
   25749                 :             :                 break;
   25750                 :           0 :               case CFN_COND_IOR:
   25751                 :           0 :                 if (gimple_call_num_args (_c1) == 4)
   25752                 :             :                   {
   25753                 :           0 :                     tree _q40 = gimple_call_arg (_c1, 0);
   25754                 :           0 :                     _q40 = do_valueize (valueize, _q40);
   25755                 :           0 :                     tree _q41 = gimple_call_arg (_c1, 1);
   25756                 :           0 :                     _q41 = do_valueize (valueize, _q41);
   25757                 :           0 :                     tree _q42 = gimple_call_arg (_c1, 2);
   25758                 :           0 :                     _q42 = do_valueize (valueize, _q42);
   25759                 :           0 :                     tree _q43 = gimple_call_arg (_c1, 3);
   25760                 :           0 :                     _q43 = do_valueize (valueize, _q43);
   25761                 :           0 :                     if (tree_swap_operands_p (_q41, _q42))
   25762                 :           0 :                       std::swap (_q41, _q42);
   25763                 :           0 :                     {
   25764                 :           0 :                       tree captures[6] ATTRIBUTE_UNUSED = { _p0, _p1, _q40, _q41, _q42, _q43 };
   25765                 :           0 :                       if (gimple_simplify_585 (res_op, seq, valueize, type, captures, CFN_COND_IOR))
   25766                 :           0 :                         return true;
   25767                 :             :                     }
   25768                 :             :                   }
   25769                 :             :                 break;
   25770                 :           0 :               case CFN_COND_MAX:
   25771                 :           0 :                 if (gimple_call_num_args (_c1) == 4)
   25772                 :             :                   {
   25773                 :           0 :                     tree _q40 = gimple_call_arg (_c1, 0);
   25774                 :           0 :                     _q40 = do_valueize (valueize, _q40);
   25775                 :           0 :                     tree _q41 = gimple_call_arg (_c1, 1);
   25776                 :           0 :                     _q41 = do_valueize (valueize, _q41);
   25777                 :           0 :                     tree _q42 = gimple_call_arg (_c1, 2);
   25778                 :           0 :                     _q42 = do_valueize (valueize, _q42);
   25779                 :           0 :                     tree _q43 = gimple_call_arg (_c1, 3);
   25780                 :           0 :                     _q43 = do_valueize (valueize, _q43);
   25781                 :           0 :                     if (tree_swap_operands_p (_q41, _q42))
   25782                 :           0 :                       std::swap (_q41, _q42);
   25783                 :           0 :                     {
   25784                 :           0 :                       tree captures[6] ATTRIBUTE_UNUSED = { _p0, _p1, _q40, _q41, _q42, _q43 };
   25785                 :           0 :                       if (gimple_simplify_585 (res_op, seq, valueize, type, captures, CFN_COND_MAX))
   25786                 :           0 :                         return true;
   25787                 :             :                     }
   25788                 :             :                   }
   25789                 :             :                 break;
   25790                 :           0 :               case CFN_COND_MIN:
   25791                 :           0 :                 if (gimple_call_num_args (_c1) == 4)
   25792                 :             :                   {
   25793                 :           0 :                     tree _q40 = gimple_call_arg (_c1, 0);
   25794                 :           0 :                     _q40 = do_valueize (valueize, _q40);
   25795                 :           0 :                     tree _q41 = gimple_call_arg (_c1, 1);
   25796                 :           0 :                     _q41 = do_valueize (valueize, _q41);
   25797                 :           0 :                     tree _q42 = gimple_call_arg (_c1, 2);
   25798                 :           0 :                     _q42 = do_valueize (valueize, _q42);
   25799                 :           0 :                     tree _q43 = gimple_call_arg (_c1, 3);
   25800                 :           0 :                     _q43 = do_valueize (valueize, _q43);
   25801                 :           0 :                     if (tree_swap_operands_p (_q41, _q42))
   25802                 :           0 :                       std::swap (_q41, _q42);
   25803                 :           0 :                     {
   25804                 :           0 :                       tree captures[6] ATTRIBUTE_UNUSED = { _p0, _p1, _q40, _q41, _q42, _q43 };
   25805                 :           0 :                       if (gimple_simplify_585 (res_op, seq, valueize, type, captures, CFN_COND_MIN))
   25806                 :           0 :                         return true;
   25807                 :             :                     }
   25808                 :             :                   }
   25809                 :             :                 break;
   25810                 :           0 :               case CFN_COND_MOD:
   25811                 :           0 :                 if (gimple_call_num_args (_c1) == 4)
   25812                 :             :                   {
   25813                 :           0 :                     tree _q40 = gimple_call_arg (_c1, 0);
   25814                 :           0 :                     _q40 = do_valueize (valueize, _q40);
   25815                 :           0 :                     tree _q41 = gimple_call_arg (_c1, 1);
   25816                 :           0 :                     _q41 = do_valueize (valueize, _q41);
   25817                 :           0 :                     tree _q42 = gimple_call_arg (_c1, 2);
   25818                 :           0 :                     _q42 = do_valueize (valueize, _q42);
   25819                 :           0 :                     tree _q43 = gimple_call_arg (_c1, 3);
   25820                 :           0 :                     _q43 = do_valueize (valueize, _q43);
   25821                 :           0 :                     {
   25822                 :           0 :                       tree captures[6] ATTRIBUTE_UNUSED = { _p0, _p1, _q40, _q41, _q42, _q43 };
   25823                 :           0 :                       if (gimple_simplify_585 (res_op, seq, valueize, type, captures, CFN_COND_MOD))
   25824                 :           0 :                         return true;
   25825                 :             :                     }
   25826                 :             :                   }
   25827                 :             :                 break;
   25828                 :           0 :               case CFN_COND_MUL:
   25829                 :           0 :                 if (gimple_call_num_args (_c1) == 4)
   25830                 :             :                   {
   25831                 :           0 :                     tree _q40 = gimple_call_arg (_c1, 0);
   25832                 :           0 :                     _q40 = do_valueize (valueize, _q40);
   25833                 :           0 :                     tree _q41 = gimple_call_arg (_c1, 1);
   25834                 :           0 :                     _q41 = do_valueize (valueize, _q41);
   25835                 :           0 :                     tree _q42 = gimple_call_arg (_c1, 2);
   25836                 :           0 :                     _q42 = do_valueize (valueize, _q42);
   25837                 :           0 :                     tree _q43 = gimple_call_arg (_c1, 3);
   25838                 :           0 :                     _q43 = do_valueize (valueize, _q43);
   25839                 :           0 :                     if (tree_swap_operands_p (_q41, _q42))
   25840                 :           0 :                       std::swap (_q41, _q42);
   25841                 :           0 :                     {
   25842                 :           0 :                       tree captures[6] ATTRIBUTE_UNUSED = { _p0, _p1, _q40, _q41, _q42, _q43 };
   25843                 :           0 :                       if (gimple_simplify_585 (res_op, seq, valueize, type, captures, CFN_COND_MUL))
   25844                 :           0 :                         return true;
   25845                 :             :                     }
   25846                 :             :                   }
   25847                 :             :                 break;
   25848                 :           0 :               case CFN_COND_SHL:
   25849                 :           0 :                 if (gimple_call_num_args (_c1) == 4)
   25850                 :             :                   {
   25851                 :           0 :                     tree _q40 = gimple_call_arg (_c1, 0);
   25852                 :           0 :                     _q40 = do_valueize (valueize, _q40);
   25853                 :           0 :                     tree _q41 = gimple_call_arg (_c1, 1);
   25854                 :           0 :                     _q41 = do_valueize (valueize, _q41);
   25855                 :           0 :                     tree _q42 = gimple_call_arg (_c1, 2);
   25856                 :           0 :                     _q42 = do_valueize (valueize, _q42);
   25857                 :           0 :                     tree _q43 = gimple_call_arg (_c1, 3);
   25858                 :           0 :                     _q43 = do_valueize (valueize, _q43);
   25859                 :           0 :                     {
   25860                 :           0 :                       tree captures[6] ATTRIBUTE_UNUSED = { _p0, _p1, _q40, _q41, _q42, _q43 };
   25861                 :           0 :                       if (gimple_simplify_585 (res_op, seq, valueize, type, captures, CFN_COND_SHL))
   25862                 :           0 :                         return true;
   25863                 :             :                     }
   25864                 :             :                   }
   25865                 :             :                 break;
   25866                 :           0 :               case CFN_COND_SHR:
   25867                 :           0 :                 if (gimple_call_num_args (_c1) == 4)
   25868                 :             :                   {
   25869                 :           0 :                     tree _q40 = gimple_call_arg (_c1, 0);
   25870                 :           0 :                     _q40 = do_valueize (valueize, _q40);
   25871                 :           0 :                     tree _q41 = gimple_call_arg (_c1, 1);
   25872                 :           0 :                     _q41 = do_valueize (valueize, _q41);
   25873                 :           0 :                     tree _q42 = gimple_call_arg (_c1, 2);
   25874                 :           0 :                     _q42 = do_valueize (valueize, _q42);
   25875                 :           0 :                     tree _q43 = gimple_call_arg (_c1, 3);
   25876                 :           0 :                     _q43 = do_valueize (valueize, _q43);
   25877                 :           0 :                     {
   25878                 :           0 :                       tree captures[6] ATTRIBUTE_UNUSED = { _p0, _p1, _q40, _q41, _q42, _q43 };
   25879                 :           0 :                       if (gimple_simplify_585 (res_op, seq, valueize, type, captures, CFN_COND_SHR))
   25880                 :           0 :                         return true;
   25881                 :             :                     }
   25882                 :             :                   }
   25883                 :             :                 break;
   25884                 :           0 :               case CFN_COND_SUB:
   25885                 :           0 :                 if (gimple_call_num_args (_c1) == 4)
   25886                 :             :                   {
   25887                 :           0 :                     tree _q40 = gimple_call_arg (_c1, 0);
   25888                 :           0 :                     _q40 = do_valueize (valueize, _q40);
   25889                 :           0 :                     tree _q41 = gimple_call_arg (_c1, 1);
   25890                 :           0 :                     _q41 = do_valueize (valueize, _q41);
   25891                 :           0 :                     tree _q42 = gimple_call_arg (_c1, 2);
   25892                 :           0 :                     _q42 = do_valueize (valueize, _q42);
   25893                 :           0 :                     tree _q43 = gimple_call_arg (_c1, 3);
   25894                 :           0 :                     _q43 = do_valueize (valueize, _q43);
   25895                 :           0 :                     {
   25896                 :           0 :                       tree captures[6] ATTRIBUTE_UNUSED = { _p0, _p1, _q40, _q41, _q42, _q43 };
   25897                 :           0 :                       if (gimple_simplify_585 (res_op, seq, valueize, type, captures, CFN_COND_SUB))
   25898                 :           0 :                         return true;
   25899                 :             :                     }
   25900                 :             :                   }
   25901                 :             :                 break;
   25902                 :           0 :               case CFN_COND_XOR:
   25903                 :           0 :                 if (gimple_call_num_args (_c1) == 4)
   25904                 :             :                   {
   25905                 :           0 :                     tree _q40 = gimple_call_arg (_c1, 0);
   25906                 :           0 :                     _q40 = do_valueize (valueize, _q40);
   25907                 :           0 :                     tree _q41 = gimple_call_arg (_c1, 1);
   25908                 :           0 :                     _q41 = do_valueize (valueize, _q41);
   25909                 :           0 :                     tree _q42 = gimple_call_arg (_c1, 2);
   25910                 :           0 :                     _q42 = do_valueize (valueize, _q42);
   25911                 :           0 :                     tree _q43 = gimple_call_arg (_c1, 3);
   25912                 :           0 :                     _q43 = do_valueize (valueize, _q43);
   25913                 :           0 :                     if (tree_swap_operands_p (_q41, _q42))
   25914                 :           0 :                       std::swap (_q41, _q42);
   25915                 :           0 :                     {
   25916                 :           0 :                       tree captures[6] ATTRIBUTE_UNUSED = { _p0, _p1, _q40, _q41, _q42, _q43 };
   25917                 :           0 :                       if (gimple_simplify_585 (res_op, seq, valueize, type, captures, CFN_COND_XOR))
   25918                 :           0 :                         return true;
   25919                 :             :                     }
   25920                 :             :                   }
   25921                 :             :                 break;
   25922                 :           0 :               case CFN_COND_COPYSIGN:
   25923                 :           0 :                 if (gimple_call_num_args (_c1) == 4)
   25924                 :             :                   {
   25925                 :           0 :                     tree _q40 = gimple_call_arg (_c1, 0);
   25926                 :           0 :                     _q40 = do_valueize (valueize, _q40);
   25927                 :           0 :                     tree _q41 = gimple_call_arg (_c1, 1);
   25928                 :           0 :                     _q41 = do_valueize (valueize, _q41);
   25929                 :           0 :                     tree _q42 = gimple_call_arg (_c1, 2);
   25930                 :           0 :                     _q42 = do_valueize (valueize, _q42);
   25931                 :           0 :                     tree _q43 = gimple_call_arg (_c1, 3);
   25932                 :           0 :                     _q43 = do_valueize (valueize, _q43);
   25933                 :           0 :                     {
   25934                 :           0 :                       tree captures[6] ATTRIBUTE_UNUSED = { _p0, _p1, _q40, _q41, _q42, _q43 };
   25935                 :           0 :                       if (gimple_simplify_585 (res_op, seq, valueize, type, captures, CFN_COND_COPYSIGN))
   25936                 :           0 :                         return true;
   25937                 :             :                     }
   25938                 :             :                   }
   25939                 :             :                 break;
   25940                 :           0 :               case CFN_COND_FMAX:
   25941                 :           0 :                 if (gimple_call_num_args (_c1) == 4)
   25942                 :             :                   {
   25943                 :           0 :                     tree _q40 = gimple_call_arg (_c1, 0);
   25944                 :           0 :                     _q40 = do_valueize (valueize, _q40);
   25945                 :           0 :                     tree _q41 = gimple_call_arg (_c1, 1);
   25946                 :           0 :                     _q41 = do_valueize (valueize, _q41);
   25947                 :           0 :                     tree _q42 = gimple_call_arg (_c1, 2);
   25948                 :           0 :                     _q42 = do_valueize (valueize, _q42);
   25949                 :           0 :                     tree _q43 = gimple_call_arg (_c1, 3);
   25950                 :           0 :                     _q43 = do_valueize (valueize, _q43);
   25951                 :           0 :                     if (tree_swap_operands_p (_q41, _q42))
   25952                 :           0 :                       std::swap (_q41, _q42);
   25953                 :           0 :                     {
   25954                 :           0 :                       tree captures[6] ATTRIBUTE_UNUSED = { _p0, _p1, _q40, _q41, _q42, _q43 };
   25955                 :           0 :                       if (gimple_simplify_585 (res_op, seq, valueize, type, captures, CFN_COND_FMAX))
   25956                 :           0 :                         return true;
   25957                 :             :                     }
   25958                 :             :                   }
   25959                 :             :                 break;
   25960                 :           0 :               case CFN_COND_FMIN:
   25961                 :           0 :                 if (gimple_call_num_args (_c1) == 4)
   25962                 :             :                   {
   25963                 :           0 :                     tree _q40 = gimple_call_arg (_c1, 0);
   25964                 :           0 :                     _q40 = do_valueize (valueize, _q40);
   25965                 :           0 :                     tree _q41 = gimple_call_arg (_c1, 1);
   25966                 :           0 :                     _q41 = do_valueize (valueize, _q41);
   25967                 :           0 :                     tree _q42 = gimple_call_arg (_c1, 2);
   25968                 :           0 :                     _q42 = do_valueize (valueize, _q42);
   25969                 :           0 :                     tree _q43 = gimple_call_arg (_c1, 3);
   25970                 :           0 :                     _q43 = do_valueize (valueize, _q43);
   25971                 :           0 :                     if (tree_swap_operands_p (_q41, _q42))
   25972                 :           0 :                       std::swap (_q41, _q42);
   25973                 :           0 :                     {
   25974                 :           0 :                       tree captures[6] ATTRIBUTE_UNUSED = { _p0, _p1, _q40, _q41, _q42, _q43 };
   25975                 :           0 :                       if (gimple_simplify_585 (res_op, seq, valueize, type, captures, CFN_COND_FMIN))
   25976                 :           0 :                         return true;
   25977                 :             :                     }
   25978                 :             :                   }
   25979                 :             :                 break;
   25980                 :          22 :               case CFN_COND_RDIV:
   25981                 :          22 :                 if (gimple_call_num_args (_c1) == 4)
   25982                 :             :                   {
   25983                 :          22 :                     tree _q40 = gimple_call_arg (_c1, 0);
   25984                 :          22 :                     _q40 = do_valueize (valueize, _q40);
   25985                 :          22 :                     tree _q41 = gimple_call_arg (_c1, 1);
   25986                 :          22 :                     _q41 = do_valueize (valueize, _q41);
   25987                 :          22 :                     tree _q42 = gimple_call_arg (_c1, 2);
   25988                 :          22 :                     _q42 = do_valueize (valueize, _q42);
   25989                 :          22 :                     tree _q43 = gimple_call_arg (_c1, 3);
   25990                 :          22 :                     _q43 = do_valueize (valueize, _q43);
   25991                 :          22 :                     {
   25992                 :          22 :                       tree captures[6] ATTRIBUTE_UNUSED = { _p0, _p1, _q40, _q41, _q42, _q43 };
   25993                 :          22 :                       if (gimple_simplify_585 (res_op, seq, valueize, type, captures, CFN_COND_RDIV))
   25994                 :           0 :                         return true;
   25995                 :             :                     }
   25996                 :             :                   }
   25997                 :             :                 break;
   25998                 :             :               default:;
   25999                 :             :               }
   26000                 :             :         }
   26001                 :             :       break;
   26002                 :      149004 :     default:;
   26003                 :             :     }
   26004                 :      149004 :   switch (TREE_CODE (_p1))
   26005                 :             :     {
   26006                 :       23741 :     case SSA_NAME:
   26007                 :       23741 :       if (gimple *_d1 = get_def (valueize, _p1))
   26008                 :             :         {
   26009                 :       21377 :           if (gassign *_a1 = dyn_cast <gassign *> (_d1))
   26010                 :       20071 :             switch (gimple_assign_rhs_code (_a1))
   26011                 :             :               {
   26012                 :        1998 :               case VIEW_CONVERT_EXPR:
   26013                 :        1998 :                 {
   26014                 :        1998 :                   tree _q30 = TREE_OPERAND (gimple_assign_rhs1 (_a1), 0);
   26015                 :        1998 :                   if ((TREE_CODE (_q30) == SSA_NAME
   26016                 :        1998 :                        || is_gimple_min_invariant (_q30)))
   26017                 :             :                     {
   26018                 :        1998 :                       _q30 = do_valueize (valueize, _q30);
   26019                 :        1998 :                       switch (TREE_CODE (_q30))
   26020                 :             :                         {
   26021                 :        1998 :                         case SSA_NAME:
   26022                 :        1998 :                           if (gimple *_d2 = get_def (valueize, _q30))
   26023                 :             :                             {
   26024                 :        1975 :                               if (gcall *_c2 = dyn_cast <gcall *> (_d2))
   26025                 :           0 :                                 switch (gimple_call_combined_fn (_c2))
   26026                 :             :                                   {
   26027                 :           0 :                                   case CFN_COND_FMA:
   26028                 :           0 :                                     if (gimple_call_num_args (_c2) == 5)
   26029                 :             :                                       {
   26030                 :           0 :                                         tree _q40 = gimple_call_arg (_c2, 0);
   26031                 :           0 :                                         _q40 = do_valueize (valueize, _q40);
   26032                 :           0 :                                         tree _q41 = gimple_call_arg (_c2, 1);
   26033                 :           0 :                                         _q41 = do_valueize (valueize, _q41);
   26034                 :           0 :                                         tree _q42 = gimple_call_arg (_c2, 2);
   26035                 :           0 :                                         _q42 = do_valueize (valueize, _q42);
   26036                 :           0 :                                         tree _q43 = gimple_call_arg (_c2, 3);
   26037                 :           0 :                                         _q43 = do_valueize (valueize, _q43);
   26038                 :           0 :                                         tree _q44 = gimple_call_arg (_c2, 4);
   26039                 :           0 :                                         _q44 = do_valueize (valueize, _q44);
   26040                 :           0 :                                         if (tree_swap_operands_p (_q41, _q42))
   26041                 :           0 :                                           std::swap (_q41, _q42);
   26042                 :           0 :                                         if ((_q40 == _p0 && ! TREE_SIDE_EFFECTS (_q40)) || (operand_equal_p (_q40, _p0, 0) && types_match (_q40, _p0)))
   26043                 :             :                                           {
   26044                 :           0 :                                             {
   26045                 :           0 :                                               tree captures[6] ATTRIBUTE_UNUSED = { _p0, _q41, _q42, _q43, _q44, _p2 };
   26046                 :           0 :                                               if (gimple_simplify_586 (res_op, seq, valueize, type, captures, CFN_COND_FMA))
   26047                 :           0 :                                                 return true;
   26048                 :             :                                             }
   26049                 :             :                                           }
   26050                 :             :                                       }
   26051                 :             :                                     break;
   26052                 :           0 :                                   case CFN_COND_FMS:
   26053                 :           0 :                                     if (gimple_call_num_args (_c2) == 5)
   26054                 :             :                                       {
   26055                 :           0 :                                         tree _q40 = gimple_call_arg (_c2, 0);
   26056                 :           0 :                                         _q40 = do_valueize (valueize, _q40);
   26057                 :           0 :                                         tree _q41 = gimple_call_arg (_c2, 1);
   26058                 :           0 :                                         _q41 = do_valueize (valueize, _q41);
   26059                 :           0 :                                         tree _q42 = gimple_call_arg (_c2, 2);
   26060                 :           0 :                                         _q42 = do_valueize (valueize, _q42);
   26061                 :           0 :                                         tree _q43 = gimple_call_arg (_c2, 3);
   26062                 :           0 :                                         _q43 = do_valueize (valueize, _q43);
   26063                 :           0 :                                         tree _q44 = gimple_call_arg (_c2, 4);
   26064                 :           0 :                                         _q44 = do_valueize (valueize, _q44);
   26065                 :           0 :                                         if (tree_swap_operands_p (_q41, _q42))
   26066                 :           0 :                                           std::swap (_q41, _q42);
   26067                 :           0 :                                         if ((_q40 == _p0 && ! TREE_SIDE_EFFECTS (_q40)) || (operand_equal_p (_q40, _p0, 0) && types_match (_q40, _p0)))
   26068                 :             :                                           {
   26069                 :           0 :                                             {
   26070                 :           0 :                                               tree captures[6] ATTRIBUTE_UNUSED = { _p0, _q41, _q42, _q43, _q44, _p2 };
   26071                 :           0 :                                               if (gimple_simplify_586 (res_op, seq, valueize, type, captures, CFN_COND_FMS))
   26072                 :           0 :                                                 return true;
   26073                 :             :                                             }
   26074                 :             :                                           }
   26075                 :             :                                       }
   26076                 :             :                                     break;
   26077                 :           0 :                                   case CFN_COND_FNMA:
   26078                 :           0 :                                     if (gimple_call_num_args (_c2) == 5)
   26079                 :             :                                       {
   26080                 :           0 :                                         tree _q40 = gimple_call_arg (_c2, 0);
   26081                 :           0 :                                         _q40 = do_valueize (valueize, _q40);
   26082                 :           0 :                                         tree _q41 = gimple_call_arg (_c2, 1);
   26083                 :           0 :                                         _q41 = do_valueize (valueize, _q41);
   26084                 :           0 :                                         tree _q42 = gimple_call_arg (_c2, 2);
   26085                 :           0 :                                         _q42 = do_valueize (valueize, _q42);
   26086                 :           0 :                                         tree _q43 = gimple_call_arg (_c2, 3);
   26087                 :           0 :                                         _q43 = do_valueize (valueize, _q43);
   26088                 :           0 :                                         tree _q44 = gimple_call_arg (_c2, 4);
   26089                 :           0 :                                         _q44 = do_valueize (valueize, _q44);
   26090                 :           0 :                                         if (tree_swap_operands_p (_q41, _q42))
   26091                 :           0 :                                           std::swap (_q41, _q42);
   26092                 :           0 :                                         if ((_q40 == _p0 && ! TREE_SIDE_EFFECTS (_q40)) || (operand_equal_p (_q40, _p0, 0) && types_match (_q40, _p0)))
   26093                 :             :                                           {
   26094                 :           0 :                                             {
   26095                 :           0 :                                               tree captures[6] ATTRIBUTE_UNUSED = { _p0, _q41, _q42, _q43, _q44, _p2 };
   26096                 :           0 :                                               if (gimple_simplify_586 (res_op, seq, valueize, type, captures, CFN_COND_FNMA))
   26097                 :           0 :                                                 return true;
   26098                 :             :                                             }
   26099                 :             :                                           }
   26100                 :             :                                       }
   26101                 :             :                                     break;
   26102                 :           0 :                                   case CFN_COND_FNMS:
   26103                 :           0 :                                     if (gimple_call_num_args (_c2) == 5)
   26104                 :             :                                       {
   26105                 :           0 :                                         tree _q40 = gimple_call_arg (_c2, 0);
   26106                 :           0 :                                         _q40 = do_valueize (valueize, _q40);
   26107                 :           0 :                                         tree _q41 = gimple_call_arg (_c2, 1);
   26108                 :           0 :                                         _q41 = do_valueize (valueize, _q41);
   26109                 :           0 :                                         tree _q42 = gimple_call_arg (_c2, 2);
   26110                 :           0 :                                         _q42 = do_valueize (valueize, _q42);
   26111                 :           0 :                                         tree _q43 = gimple_call_arg (_c2, 3);
   26112                 :           0 :                                         _q43 = do_valueize (valueize, _q43);
   26113                 :           0 :                                         tree _q44 = gimple_call_arg (_c2, 4);
   26114                 :           0 :                                         _q44 = do_valueize (valueize, _q44);
   26115                 :           0 :                                         if (tree_swap_operands_p (_q41, _q42))
   26116                 :           0 :                                           std::swap (_q41, _q42);
   26117                 :           0 :                                         if ((_q40 == _p0 && ! TREE_SIDE_EFFECTS (_q40)) || (operand_equal_p (_q40, _p0, 0) && types_match (_q40, _p0)))
   26118                 :             :                                           {
   26119                 :           0 :                                             {
   26120                 :           0 :                                               tree captures[6] ATTRIBUTE_UNUSED = { _p0, _q41, _q42, _q43, _q44, _p2 };
   26121                 :           0 :                                               if (gimple_simplify_586 (res_op, seq, valueize, type, captures, CFN_COND_FNMS))
   26122                 :           0 :                                                 return true;
   26123                 :             :                                             }
   26124                 :             :                                           }
   26125                 :             :                                       }
   26126                 :             :                                     break;
   26127                 :             :                                   default:;
   26128                 :             :                                   }
   26129                 :             :                             }
   26130                 :             :                           break;
   26131                 :             :                         default:;
   26132                 :             :                         }
   26133                 :             :                     }
   26134                 :             :                   break;
   26135                 :             :                 }
   26136                 :             :               default:;
   26137                 :             :               }
   26138                 :        9710 :           else if (gcall *_c1 = dyn_cast <gcall *> (_d1))
   26139                 :         875 :             switch (gimple_call_combined_fn (_c1))
   26140                 :             :               {
   26141                 :           0 :               case CFN_COND_FMA:
   26142                 :           0 :                 if (gimple_call_num_args (_c1) == 5)
   26143                 :             :                   {
   26144                 :           0 :                     tree _q30 = gimple_call_arg (_c1, 0);
   26145                 :           0 :                     _q30 = do_valueize (valueize, _q30);
   26146                 :           0 :                     tree _q31 = gimple_call_arg (_c1, 1);
   26147                 :           0 :                     _q31 = do_valueize (valueize, _q31);
   26148                 :           0 :                     tree _q32 = gimple_call_arg (_c1, 2);
   26149                 :           0 :                     _q32 = do_valueize (valueize, _q32);
   26150                 :           0 :                     tree _q33 = gimple_call_arg (_c1, 3);
   26151                 :           0 :                     _q33 = do_valueize (valueize, _q33);
   26152                 :           0 :                     tree _q34 = gimple_call_arg (_c1, 4);
   26153                 :           0 :                     _q34 = do_valueize (valueize, _q34);
   26154                 :           0 :                     if (tree_swap_operands_p (_q31, _q32))
   26155                 :           0 :                       std::swap (_q31, _q32);
   26156                 :           0 :                     if ((_q30 == _p0 && ! TREE_SIDE_EFFECTS (_q30)) || (operand_equal_p (_q30, _p0, 0) && types_match (_q30, _p0)))
   26157                 :             :                       {
   26158                 :           0 :                         {
   26159                 :           0 :                           tree captures[6] ATTRIBUTE_UNUSED = { _p0, _q31, _q32, _q33, _q34, _p2 };
   26160                 :           0 :                           if (gimple_simplify_586 (res_op, seq, valueize, type, captures, CFN_COND_FMA))
   26161                 :           0 :                             return true;
   26162                 :             :                         }
   26163                 :             :                       }
   26164                 :             :                   }
   26165                 :             :                 break;
   26166                 :           0 :               case CFN_COND_FMS:
   26167                 :           0 :                 if (gimple_call_num_args (_c1) == 5)
   26168                 :             :                   {
   26169                 :           0 :                     tree _q30 = gimple_call_arg (_c1, 0);
   26170                 :           0 :                     _q30 = do_valueize (valueize, _q30);
   26171                 :           0 :                     tree _q31 = gimple_call_arg (_c1, 1);
   26172                 :           0 :                     _q31 = do_valueize (valueize, _q31);
   26173                 :           0 :                     tree _q32 = gimple_call_arg (_c1, 2);
   26174                 :           0 :                     _q32 = do_valueize (valueize, _q32);
   26175                 :           0 :                     tree _q33 = gimple_call_arg (_c1, 3);
   26176                 :           0 :                     _q33 = do_valueize (valueize, _q33);
   26177                 :           0 :                     tree _q34 = gimple_call_arg (_c1, 4);
   26178                 :           0 :                     _q34 = do_valueize (valueize, _q34);
   26179                 :           0 :                     if (tree_swap_operands_p (_q31, _q32))
   26180                 :           0 :                       std::swap (_q31, _q32);
   26181                 :           0 :                     if ((_q30 == _p0 && ! TREE_SIDE_EFFECTS (_q30)) || (operand_equal_p (_q30, _p0, 0) && types_match (_q30, _p0)))
   26182                 :             :                       {
   26183                 :           0 :                         {
   26184                 :           0 :                           tree captures[6] ATTRIBUTE_UNUSED = { _p0, _q31, _q32, _q33, _q34, _p2 };
   26185                 :           0 :                           if (gimple_simplify_586 (res_op, seq, valueize, type, captures, CFN_COND_FMS))
   26186                 :           0 :                             return true;
   26187                 :             :                         }
   26188                 :             :                       }
   26189                 :             :                   }
   26190                 :             :                 break;
   26191                 :           0 :               case CFN_COND_FNMA:
   26192                 :           0 :                 if (gimple_call_num_args (_c1) == 5)
   26193                 :             :                   {
   26194                 :           0 :                     tree _q30 = gimple_call_arg (_c1, 0);
   26195                 :           0 :                     _q30 = do_valueize (valueize, _q30);
   26196                 :           0 :                     tree _q31 = gimple_call_arg (_c1, 1);
   26197                 :           0 :                     _q31 = do_valueize (valueize, _q31);
   26198                 :           0 :                     tree _q32 = gimple_call_arg (_c1, 2);
   26199                 :           0 :                     _q32 = do_valueize (valueize, _q32);
   26200                 :           0 :                     tree _q33 = gimple_call_arg (_c1, 3);
   26201                 :           0 :                     _q33 = do_valueize (valueize, _q33);
   26202                 :           0 :                     tree _q34 = gimple_call_arg (_c1, 4);
   26203                 :           0 :                     _q34 = do_valueize (valueize, _q34);
   26204                 :           0 :                     if (tree_swap_operands_p (_q31, _q32))
   26205                 :           0 :                       std::swap (_q31, _q32);
   26206                 :           0 :                     if ((_q30 == _p0 && ! TREE_SIDE_EFFECTS (_q30)) || (operand_equal_p (_q30, _p0, 0) && types_match (_q30, _p0)))
   26207                 :             :                       {
   26208                 :           0 :                         {
   26209                 :           0 :                           tree captures[6] ATTRIBUTE_UNUSED = { _p0, _q31, _q32, _q33, _q34, _p2 };
   26210                 :           0 :                           if (gimple_simplify_586 (res_op, seq, valueize, type, captures, CFN_COND_FNMA))
   26211                 :           0 :                             return true;
   26212                 :             :                         }
   26213                 :             :                       }
   26214                 :             :                   }
   26215                 :             :                 break;
   26216                 :           0 :               case CFN_COND_FNMS:
   26217                 :           0 :                 if (gimple_call_num_args (_c1) == 5)
   26218                 :             :                   {
   26219                 :           0 :                     tree _q30 = gimple_call_arg (_c1, 0);
   26220                 :           0 :                     _q30 = do_valueize (valueize, _q30);
   26221                 :           0 :                     tree _q31 = gimple_call_arg (_c1, 1);
   26222                 :           0 :                     _q31 = do_valueize (valueize, _q31);
   26223                 :           0 :                     tree _q32 = gimple_call_arg (_c1, 2);
   26224                 :           0 :                     _q32 = do_valueize (valueize, _q32);
   26225                 :           0 :                     tree _q33 = gimple_call_arg (_c1, 3);
   26226                 :           0 :                     _q33 = do_valueize (valueize, _q33);
   26227                 :           0 :                     tree _q34 = gimple_call_arg (_c1, 4);
   26228                 :           0 :                     _q34 = do_valueize (valueize, _q34);
   26229                 :           0 :                     if (tree_swap_operands_p (_q31, _q32))
   26230                 :           0 :                       std::swap (_q31, _q32);
   26231                 :           0 :                     if ((_q30 == _p0 && ! TREE_SIDE_EFFECTS (_q30)) || (operand_equal_p (_q30, _p0, 0) && types_match (_q30, _p0)))
   26232                 :             :                       {
   26233                 :           0 :                         {
   26234                 :           0 :                           tree captures[6] ATTRIBUTE_UNUSED = { _p0, _q31, _q32, _q33, _q34, _p2 };
   26235                 :           0 :                           if (gimple_simplify_586 (res_op, seq, valueize, type, captures, CFN_COND_FNMS))
   26236                 :           0 :                             return true;
   26237                 :             :                         }
   26238                 :             :                       }
   26239                 :             :                   }
   26240                 :             :                 break;
   26241                 :             :               default:;
   26242                 :             :               }
   26243                 :             :         }
   26244                 :             :       break;
   26245                 :      149004 :     default:;
   26246                 :             :     }
   26247                 :      149004 :   switch (TREE_CODE (_p2))
   26248                 :             :     {
   26249                 :       23911 :     case SSA_NAME:
   26250                 :       23911 :       if (gimple *_d1 = get_def (valueize, _p2))
   26251                 :             :         {
   26252                 :       21999 :           if (gassign *_a1 = dyn_cast <gassign *> (_d1))
   26253                 :       20622 :             switch (gimple_assign_rhs_code (_a1))
   26254                 :             :               {
   26255                 :        2328 :               case VIEW_CONVERT_EXPR:
   26256                 :        2328 :                 {
   26257                 :        2328 :                   tree _q40 = TREE_OPERAND (gimple_assign_rhs1 (_a1), 0);
   26258                 :        2328 :                   if ((TREE_CODE (_q40) == SSA_NAME
   26259                 :        2328 :                        || is_gimple_min_invariant (_q40)))
   26260                 :             :                     {
   26261                 :        2328 :                       _q40 = do_valueize (valueize, _q40);
   26262                 :        2328 :                       switch (TREE_CODE (_q40))
   26263                 :             :                         {
   26264                 :        2328 :                         case SSA_NAME:
   26265                 :        2328 :                           if (gimple *_d2 = get_def (valueize, _q40))
   26266                 :             :                             {
   26267                 :        2279 :                               if (gcall *_c2 = dyn_cast <gcall *> (_d2))
   26268                 :         461 :                                 switch (gimple_call_combined_fn (_c2))
   26269                 :             :                                   {
   26270                 :           0 :                                   case CFN_COND_FMA:
   26271                 :           0 :                                     if (gimple_call_num_args (_c2) == 5)
   26272                 :             :                                       {
   26273                 :           0 :                                         tree _q50 = gimple_call_arg (_c2, 0);
   26274                 :           0 :                                         _q50 = do_valueize (valueize, _q50);
   26275                 :           0 :                                         tree _q51 = gimple_call_arg (_c2, 1);
   26276                 :           0 :                                         _q51 = do_valueize (valueize, _q51);
   26277                 :           0 :                                         tree _q52 = gimple_call_arg (_c2, 2);
   26278                 :           0 :                                         _q52 = do_valueize (valueize, _q52);
   26279                 :           0 :                                         tree _q53 = gimple_call_arg (_c2, 3);
   26280                 :           0 :                                         _q53 = do_valueize (valueize, _q53);
   26281                 :           0 :                                         tree _q54 = gimple_call_arg (_c2, 4);
   26282                 :           0 :                                         _q54 = do_valueize (valueize, _q54);
   26283                 :           0 :                                         if (tree_swap_operands_p (_q51, _q52))
   26284                 :           0 :                                           std::swap (_q51, _q52);
   26285                 :           0 :                                         {
   26286                 :           0 :                                           tree captures[7] ATTRIBUTE_UNUSED = { _p0, _p1, _q50, _q51, _q52, _q53, _q54 };
   26287                 :           0 :                                           if (gimple_simplify_587 (res_op, seq, valueize, type, captures, CFN_COND_FMA))
   26288                 :           0 :                                             return true;
   26289                 :             :                                         }
   26290                 :             :                                       }
   26291                 :             :                                     break;
   26292                 :           0 :                                   case CFN_COND_FMS:
   26293                 :           0 :                                     if (gimple_call_num_args (_c2) == 5)
   26294                 :             :                                       {
   26295                 :           0 :                                         tree _q50 = gimple_call_arg (_c2, 0);
   26296                 :           0 :                                         _q50 = do_valueize (valueize, _q50);
   26297                 :           0 :                                         tree _q51 = gimple_call_arg (_c2, 1);
   26298                 :           0 :                                         _q51 = do_valueize (valueize, _q51);
   26299                 :           0 :                                         tree _q52 = gimple_call_arg (_c2, 2);
   26300                 :           0 :                                         _q52 = do_valueize (valueize, _q52);
   26301                 :           0 :                                         tree _q53 = gimple_call_arg (_c2, 3);
   26302                 :           0 :                                         _q53 = do_valueize (valueize, _q53);
   26303                 :           0 :                                         tree _q54 = gimple_call_arg (_c2, 4);
   26304                 :           0 :                                         _q54 = do_valueize (valueize, _q54);
   26305                 :           0 :                                         if (tree_swap_operands_p (_q51, _q52))
   26306                 :           0 :                                           std::swap (_q51, _q52);
   26307                 :           0 :                                         {
   26308                 :           0 :                                           tree captures[7] ATTRIBUTE_UNUSED = { _p0, _p1, _q50, _q51, _q52, _q53, _q54 };
   26309                 :           0 :                                           if (gimple_simplify_587 (res_op, seq, valueize, type, captures, CFN_COND_FMS))
   26310                 :           0 :                                             return true;
   26311                 :             :                                         }
   26312                 :             :                                       }
   26313                 :             :                                     break;
   26314                 :           0 :                                   case CFN_COND_FNMA:
   26315                 :           0 :                                     if (gimple_call_num_args (_c2) == 5)
   26316                 :             :                                       {
   26317                 :           0 :                                         tree _q50 = gimple_call_arg (_c2, 0);
   26318                 :           0 :                                         _q50 = do_valueize (valueize, _q50);
   26319                 :           0 :                                         tree _q51 = gimple_call_arg (_c2, 1);
   26320                 :           0 :                                         _q51 = do_valueize (valueize, _q51);
   26321                 :           0 :                                         tree _q52 = gimple_call_arg (_c2, 2);
   26322                 :           0 :                                         _q52 = do_valueize (valueize, _q52);
   26323                 :           0 :                                         tree _q53 = gimple_call_arg (_c2, 3);
   26324                 :           0 :                                         _q53 = do_valueize (valueize, _q53);
   26325                 :           0 :                                         tree _q54 = gimple_call_arg (_c2, 4);
   26326                 :           0 :                                         _q54 = do_valueize (valueize, _q54);
   26327                 :           0 :                                         if (tree_swap_operands_p (_q51, _q52))
   26328                 :           0 :                                           std::swap (_q51, _q52);
   26329                 :           0 :                                         {
   26330                 :           0 :                                           tree captures[7] ATTRIBUTE_UNUSED = { _p0, _p1, _q50, _q51, _q52, _q53, _q54 };
   26331                 :           0 :                                           if (gimple_simplify_587 (res_op, seq, valueize, type, captures, CFN_COND_FNMA))
   26332                 :           0 :                                             return true;
   26333                 :             :                                         }
   26334                 :             :                                       }
   26335                 :             :                                     break;
   26336                 :           0 :                                   case CFN_COND_FNMS:
   26337                 :           0 :                                     if (gimple_call_num_args (_c2) == 5)
   26338                 :             :                                       {
   26339                 :           0 :                                         tree _q50 = gimple_call_arg (_c2, 0);
   26340                 :           0 :                                         _q50 = do_valueize (valueize, _q50);
   26341                 :           0 :                                         tree _q51 = gimple_call_arg (_c2, 1);
   26342                 :           0 :                                         _q51 = do_valueize (valueize, _q51);
   26343                 :           0 :                                         tree _q52 = gimple_call_arg (_c2, 2);
   26344                 :           0 :                                         _q52 = do_valueize (valueize, _q52);
   26345                 :           0 :                                         tree _q53 = gimple_call_arg (_c2, 3);
   26346                 :           0 :                                         _q53 = do_valueize (valueize, _q53);
   26347                 :           0 :                                         tree _q54 = gimple_call_arg (_c2, 4);
   26348                 :           0 :                                         _q54 = do_valueize (valueize, _q54);
   26349                 :           0 :                                         if (tree_swap_operands_p (_q51, _q52))
   26350                 :           0 :                                           std::swap (_q51, _q52);
   26351                 :           0 :                                         {
   26352                 :           0 :                                           tree captures[7] ATTRIBUTE_UNUSED = { _p0, _p1, _q50, _q51, _q52, _q53, _q54 };
   26353                 :           0 :                                           if (gimple_simplify_587 (res_op, seq, valueize, type, captures, CFN_COND_FNMS))
   26354                 :           0 :                                             return true;
   26355                 :             :                                         }
   26356                 :             :                                       }
   26357                 :             :                                     break;
   26358                 :             :                                   default:;
   26359                 :             :                                   }
   26360                 :             :                             }
   26361                 :             :                           break;
   26362                 :             :                         default:;
   26363                 :             :                         }
   26364                 :             :                     }
   26365                 :             :                   break;
   26366                 :             :                 }
   26367                 :             :               default:;
   26368                 :             :               }
   26369                 :        9465 :           else if (gcall *_c1 = dyn_cast <gcall *> (_d1))
   26370                 :         330 :             switch (gimple_call_combined_fn (_c1))
   26371                 :             :               {
   26372                 :           0 :               case CFN_COND_FMA:
   26373                 :           0 :                 if (gimple_call_num_args (_c1) == 5)
   26374                 :             :                   {
   26375                 :           0 :                     tree _q40 = gimple_call_arg (_c1, 0);
   26376                 :           0 :                     _q40 = do_valueize (valueize, _q40);
   26377                 :           0 :                     tree _q41 = gimple_call_arg (_c1, 1);
   26378                 :           0 :                     _q41 = do_valueize (valueize, _q41);
   26379                 :           0 :                     tree _q42 = gimple_call_arg (_c1, 2);
   26380                 :           0 :                     _q42 = do_valueize (valueize, _q42);
   26381                 :           0 :                     tree _q43 = gimple_call_arg (_c1, 3);
   26382                 :           0 :                     _q43 = do_valueize (valueize, _q43);
   26383                 :           0 :                     tree _q44 = gimple_call_arg (_c1, 4);
   26384                 :           0 :                     _q44 = do_valueize (valueize, _q44);
   26385                 :           0 :                     if (tree_swap_operands_p (_q41, _q42))
   26386                 :           0 :                       std::swap (_q41, _q42);
   26387                 :           0 :                     {
   26388                 :           0 :                       tree captures[7] ATTRIBUTE_UNUSED = { _p0, _p1, _q40, _q41, _q42, _q43, _q44 };
   26389                 :           0 :                       if (gimple_simplify_587 (res_op, seq, valueize, type, captures, CFN_COND_FMA))
   26390                 :           0 :                         return true;
   26391                 :             :                     }
   26392                 :             :                   }
   26393                 :             :                 break;
   26394                 :           0 :               case CFN_COND_FMS:
   26395                 :           0 :                 if (gimple_call_num_args (_c1) == 5)
   26396                 :             :                   {
   26397                 :           0 :                     tree _q40 = gimple_call_arg (_c1, 0);
   26398                 :           0 :                     _q40 = do_valueize (valueize, _q40);
   26399                 :           0 :                     tree _q41 = gimple_call_arg (_c1, 1);
   26400                 :           0 :                     _q41 = do_valueize (valueize, _q41);
   26401                 :           0 :                     tree _q42 = gimple_call_arg (_c1, 2);
   26402                 :           0 :                     _q42 = do_valueize (valueize, _q42);
   26403                 :           0 :                     tree _q43 = gimple_call_arg (_c1, 3);
   26404                 :           0 :                     _q43 = do_valueize (valueize, _q43);
   26405                 :           0 :                     tree _q44 = gimple_call_arg (_c1, 4);
   26406                 :           0 :                     _q44 = do_valueize (valueize, _q44);
   26407                 :           0 :                     if (tree_swap_operands_p (_q41, _q42))
   26408                 :           0 :                       std::swap (_q41, _q42);
   26409                 :           0 :                     {
   26410                 :           0 :                       tree captures[7] ATTRIBUTE_UNUSED = { _p0, _p1, _q40, _q41, _q42, _q43, _q44 };
   26411                 :           0 :                       if (gimple_simplify_587 (res_op, seq, valueize, type, captures, CFN_COND_FMS))
   26412                 :           0 :                         return true;
   26413                 :             :                     }
   26414                 :             :                   }
   26415                 :             :                 break;
   26416                 :           0 :               case CFN_COND_FNMA:
   26417                 :           0 :                 if (gimple_call_num_args (_c1) == 5)
   26418                 :             :                   {
   26419                 :           0 :                     tree _q40 = gimple_call_arg (_c1, 0);
   26420                 :           0 :                     _q40 = do_valueize (valueize, _q40);
   26421                 :           0 :                     tree _q41 = gimple_call_arg (_c1, 1);
   26422                 :           0 :                     _q41 = do_valueize (valueize, _q41);
   26423                 :           0 :                     tree _q42 = gimple_call_arg (_c1, 2);
   26424                 :           0 :                     _q42 = do_valueize (valueize, _q42);
   26425                 :           0 :                     tree _q43 = gimple_call_arg (_c1, 3);
   26426                 :           0 :                     _q43 = do_valueize (valueize, _q43);
   26427                 :           0 :                     tree _q44 = gimple_call_arg (_c1, 4);
   26428                 :           0 :                     _q44 = do_valueize (valueize, _q44);
   26429                 :           0 :                     if (tree_swap_operands_p (_q41, _q42))
   26430                 :           0 :                       std::swap (_q41, _q42);
   26431                 :           0 :                     {
   26432                 :           0 :                       tree captures[7] ATTRIBUTE_UNUSED = { _p0, _p1, _q40, _q41, _q42, _q43, _q44 };
   26433                 :           0 :                       if (gimple_simplify_587 (res_op, seq, valueize, type, captures, CFN_COND_FNMA))
   26434                 :           0 :                         return true;
   26435                 :             :                     }
   26436                 :             :                   }
   26437                 :             :                 break;
   26438                 :           0 :               case CFN_COND_FNMS:
   26439                 :           0 :                 if (gimple_call_num_args (_c1) == 5)
   26440                 :             :                   {
   26441                 :           0 :                     tree _q40 = gimple_call_arg (_c1, 0);
   26442                 :           0 :                     _q40 = do_valueize (valueize, _q40);
   26443                 :           0 :                     tree _q41 = gimple_call_arg (_c1, 1);
   26444                 :           0 :                     _q41 = do_valueize (valueize, _q41);
   26445                 :           0 :                     tree _q42 = gimple_call_arg (_c1, 2);
   26446                 :           0 :                     _q42 = do_valueize (valueize, _q42);
   26447                 :           0 :                     tree _q43 = gimple_call_arg (_c1, 3);
   26448                 :           0 :                     _q43 = do_valueize (valueize, _q43);
   26449                 :           0 :                     tree _q44 = gimple_call_arg (_c1, 4);
   26450                 :           0 :                     _q44 = do_valueize (valueize, _q44);
   26451                 :           0 :                     if (tree_swap_operands_p (_q41, _q42))
   26452                 :           0 :                       std::swap (_q41, _q42);
   26453                 :           0 :                     {
   26454                 :           0 :                       tree captures[7] ATTRIBUTE_UNUSED = { _p0, _p1, _q40, _q41, _q42, _q43, _q44 };
   26455                 :           0 :                       if (gimple_simplify_587 (res_op, seq, valueize, type, captures, CFN_COND_FNMS))
   26456                 :           0 :                         return true;
   26457                 :             :                     }
   26458                 :             :                   }
   26459                 :             :                 break;
   26460                 :             :               default:;
   26461                 :             :               }
   26462                 :             :         }
   26463                 :             :       break;
   26464                 :      149004 :     default:;
   26465                 :             :     }
   26466                 :      149004 :   switch (TREE_CODE (_p1))
   26467                 :             :     {
   26468                 :       23741 :     case SSA_NAME:
   26469                 :       23741 :       if (gimple *_d1 = get_def (valueize, _p1))
   26470                 :             :         {
   26471                 :       21377 :           if (gassign *_a1 = dyn_cast <gassign *> (_d1))
   26472                 :       20071 :             switch (gimple_assign_rhs_code (_a1))
   26473                 :             :               {
   26474                 :        1998 :               case VIEW_CONVERT_EXPR:
   26475                 :        1998 :                 {
   26476                 :        1998 :                   tree _q30 = TREE_OPERAND (gimple_assign_rhs1 (_a1), 0);
   26477                 :        1998 :                   if ((TREE_CODE (_q30) == SSA_NAME
   26478                 :        1998 :                        || is_gimple_min_invariant (_q30)))
   26479                 :             :                     {
   26480                 :        1998 :                       _q30 = do_valueize (valueize, _q30);
   26481                 :        1998 :                       switch (TREE_CODE (_q30))
   26482                 :             :                         {
   26483                 :        1998 :                         case SSA_NAME:
   26484                 :        1998 :                           if (gimple *_d2 = get_def (valueize, _q30))
   26485                 :             :                             {
   26486                 :        1975 :                               if (gcall *_c2 = dyn_cast <gcall *> (_d2))
   26487                 :           0 :                                 switch (gimple_call_combined_fn (_c2))
   26488                 :             :                                   {
   26489                 :           0 :                                   case CFN_COND_LEN_ADD:
   26490                 :           0 :                                     if (gimple_call_num_args (_c2) == 6)
   26491                 :             :                                       {
   26492                 :           0 :                                         tree _q40 = gimple_call_arg (_c2, 0);
   26493                 :           0 :                                         _q40 = do_valueize (valueize, _q40);
   26494                 :           0 :                                         tree _q41 = gimple_call_arg (_c2, 1);
   26495                 :           0 :                                         _q41 = do_valueize (valueize, _q41);
   26496                 :           0 :                                         tree _q42 = gimple_call_arg (_c2, 2);
   26497                 :           0 :                                         _q42 = do_valueize (valueize, _q42);
   26498                 :           0 :                                         tree _q43 = gimple_call_arg (_c2, 3);
   26499                 :           0 :                                         _q43 = do_valueize (valueize, _q43);
   26500                 :           0 :                                         tree _q44 = gimple_call_arg (_c2, 4);
   26501                 :           0 :                                         _q44 = do_valueize (valueize, _q44);
   26502                 :           0 :                                         tree _q45 = gimple_call_arg (_c2, 5);
   26503                 :           0 :                                         _q45 = do_valueize (valueize, _q45);
   26504                 :           0 :                                         if (tree_swap_operands_p (_q41, _q42))
   26505                 :           0 :                                           std::swap (_q41, _q42);
   26506                 :           0 :                                         if ((_q40 == _p0 && ! TREE_SIDE_EFFECTS (_q40)) || (operand_equal_p (_q40, _p0, 0) && types_match (_q40, _p0)))
   26507                 :             :                                           {
   26508                 :           0 :                                             {
   26509                 :           0 :                                               tree captures[7] ATTRIBUTE_UNUSED = { _p0, _q41, _q42, _q43, _q44, _q45, _p2 };
   26510                 :           0 :                                               if (gimple_simplify_588 (res_op, seq, valueize, type, captures, CFN_COND_LEN_ADD))
   26511                 :           0 :                                                 return true;
   26512                 :             :                                             }
   26513                 :             :                                           }
   26514                 :             :                                       }
   26515                 :             :                                     break;
   26516                 :           0 :                                   case CFN_COND_LEN_AND:
   26517                 :           0 :                                     if (gimple_call_num_args (_c2) == 6)
   26518                 :             :                                       {
   26519                 :           0 :                                         tree _q40 = gimple_call_arg (_c2, 0);
   26520                 :           0 :                                         _q40 = do_valueize (valueize, _q40);
   26521                 :           0 :                                         tree _q41 = gimple_call_arg (_c2, 1);
   26522                 :           0 :                                         _q41 = do_valueize (valueize, _q41);
   26523                 :           0 :                                         tree _q42 = gimple_call_arg (_c2, 2);
   26524                 :           0 :                                         _q42 = do_valueize (valueize, _q42);
   26525                 :           0 :                                         tree _q43 = gimple_call_arg (_c2, 3);
   26526                 :           0 :                                         _q43 = do_valueize (valueize, _q43);
   26527                 :           0 :                                         tree _q44 = gimple_call_arg (_c2, 4);
   26528                 :           0 :                                         _q44 = do_valueize (valueize, _q44);
   26529                 :           0 :                                         tree _q45 = gimple_call_arg (_c2, 5);
   26530                 :           0 :                                         _q45 = do_valueize (valueize, _q45);
   26531                 :           0 :                                         if (tree_swap_operands_p (_q41, _q42))
   26532                 :           0 :                                           std::swap (_q41, _q42);
   26533                 :           0 :                                         if ((_q40 == _p0 && ! TREE_SIDE_EFFECTS (_q40)) || (operand_equal_p (_q40, _p0, 0) && types_match (_q40, _p0)))
   26534                 :             :                                           {
   26535                 :           0 :                                             {
   26536                 :           0 :                                               tree captures[7] ATTRIBUTE_UNUSED = { _p0, _q41, _q42, _q43, _q44, _q45, _p2 };
   26537                 :           0 :                                               if (gimple_simplify_588 (res_op, seq, valueize, type, captures, CFN_COND_LEN_AND))
   26538                 :           0 :                                                 return true;
   26539                 :             :                                             }
   26540                 :             :                                           }
   26541                 :             :                                       }
   26542                 :             :                                     break;
   26543                 :           0 :                                   case CFN_COND_LEN_DIV:
   26544                 :           0 :                                     if (gimple_call_num_args (_c2) == 6)
   26545                 :             :                                       {
   26546                 :           0 :                                         tree _q40 = gimple_call_arg (_c2, 0);
   26547                 :           0 :                                         _q40 = do_valueize (valueize, _q40);
   26548                 :           0 :                                         tree _q41 = gimple_call_arg (_c2, 1);
   26549                 :           0 :                                         _q41 = do_valueize (valueize, _q41);
   26550                 :           0 :                                         tree _q42 = gimple_call_arg (_c2, 2);
   26551                 :           0 :                                         _q42 = do_valueize (valueize, _q42);
   26552                 :           0 :                                         tree _q43 = gimple_call_arg (_c2, 3);
   26553                 :           0 :                                         _q43 = do_valueize (valueize, _q43);
   26554                 :           0 :                                         tree _q44 = gimple_call_arg (_c2, 4);
   26555                 :           0 :                                         _q44 = do_valueize (valueize, _q44);
   26556                 :           0 :                                         tree _q45 = gimple_call_arg (_c2, 5);
   26557                 :           0 :                                         _q45 = do_valueize (valueize, _q45);
   26558                 :           0 :                                         if ((_q40 == _p0 && ! TREE_SIDE_EFFECTS (_q40)) || (operand_equal_p (_q40, _p0, 0) && types_match (_q40, _p0)))
   26559                 :             :                                           {
   26560                 :           0 :                                             {
   26561                 :           0 :                                               tree captures[7] ATTRIBUTE_UNUSED = { _p0, _q41, _q42, _q43, _q44, _q45, _p2 };
   26562                 :           0 :                                               if (gimple_simplify_588 (res_op, seq, valueize, type, captures, CFN_COND_LEN_DIV))
   26563                 :           0 :                                                 return true;
   26564                 :             :                                             }
   26565                 :             :                                           }
   26566                 :             :                                       }
   26567                 :             :                                     break;
   26568                 :           0 :                                   case CFN_COND_LEN_IOR:
   26569                 :           0 :                                     if (gimple_call_num_args (_c2) == 6)
   26570                 :             :                                       {
   26571                 :           0 :                                         tree _q40 = gimple_call_arg (_c2, 0);
   26572                 :           0 :                                         _q40 = do_valueize (valueize, _q40);
   26573                 :           0 :                                         tree _q41 = gimple_call_arg (_c2, 1);
   26574                 :           0 :                                         _q41 = do_valueize (valueize, _q41);
   26575                 :           0 :                                         tree _q42 = gimple_call_arg (_c2, 2);
   26576                 :           0 :                                         _q42 = do_valueize (valueize, _q42);
   26577                 :           0 :                                         tree _q43 = gimple_call_arg (_c2, 3);
   26578                 :           0 :                                         _q43 = do_valueize (valueize, _q43);
   26579                 :           0 :                                         tree _q44 = gimple_call_arg (_c2, 4);
   26580                 :           0 :                                         _q44 = do_valueize (valueize, _q44);
   26581                 :           0 :                                         tree _q45 = gimple_call_arg (_c2, 5);
   26582                 :           0 :                                         _q45 = do_valueize (valueize, _q45);
   26583                 :           0 :                                         if (tree_swap_operands_p (_q41, _q42))
   26584                 :           0 :                                           std::swap (_q41, _q42);
   26585                 :           0 :                                         if ((_q40 == _p0 && ! TREE_SIDE_EFFECTS (_q40)) || (operand_equal_p (_q40, _p0, 0) && types_match (_q40, _p0)))
   26586                 :             :                                           {
   26587                 :           0 :                                             {
   26588                 :           0 :                                               tree captures[7] ATTRIBUTE_UNUSED = { _p0, _q41, _q42, _q43, _q44, _q45, _p2 };
   26589                 :           0 :                                               if (gimple_simplify_588 (res_op, seq, valueize, type, captures, CFN_COND_LEN_IOR))
   26590                 :           0 :                                                 return true;
   26591                 :             :                                             }
   26592                 :             :                                           }
   26593                 :             :                                       }
   26594                 :             :                                     break;
   26595                 :           0 :                                   case CFN_COND_LEN_MAX:
   26596                 :           0 :                                     if (gimple_call_num_args (_c2) == 6)
   26597                 :             :                                       {
   26598                 :           0 :                                         tree _q40 = gimple_call_arg (_c2, 0);
   26599                 :           0 :                                         _q40 = do_valueize (valueize, _q40);
   26600                 :           0 :                                         tree _q41 = gimple_call_arg (_c2, 1);
   26601                 :           0 :                                         _q41 = do_valueize (valueize, _q41);
   26602                 :           0 :                                         tree _q42 = gimple_call_arg (_c2, 2);
   26603                 :           0 :                                         _q42 = do_valueize (valueize, _q42);
   26604                 :           0 :                                         tree _q43 = gimple_call_arg (_c2, 3);
   26605                 :           0 :                                         _q43 = do_valueize (valueize, _q43);
   26606                 :           0 :                                         tree _q44 = gimple_call_arg (_c2, 4);
   26607                 :           0 :                                         _q44 = do_valueize (valueize, _q44);
   26608                 :           0 :                                         tree _q45 = gimple_call_arg (_c2, 5);
   26609                 :           0 :                                         _q45 = do_valueize (valueize, _q45);
   26610                 :           0 :                                         if (tree_swap_operands_p (_q41, _q42))
   26611                 :           0 :                                           std::swap (_q41, _q42);
   26612                 :           0 :                                         if ((_q40 == _p0 && ! TREE_SIDE_EFFECTS (_q40)) || (operand_equal_p (_q40, _p0, 0) && types_match (_q40, _p0)))
   26613                 :             :                                           {
   26614                 :           0 :                                             {
   26615                 :           0 :                                               tree captures[7] ATTRIBUTE_UNUSED = { _p0, _q41, _q42, _q43, _q44, _q45, _p2 };
   26616                 :           0 :                                               if (gimple_simplify_588 (res_op, seq, valueize, type, captures, CFN_COND_LEN_MAX))
   26617                 :           0 :                                                 return true;
   26618                 :             :                                             }
   26619                 :             :                                           }
   26620                 :             :                                       }
   26621                 :             :                                     break;
   26622                 :           0 :                                   case CFN_COND_LEN_MIN:
   26623                 :           0 :                                     if (gimple_call_num_args (_c2) == 6)
   26624                 :             :                                       {
   26625                 :           0 :                                         tree _q40 = gimple_call_arg (_c2, 0);
   26626                 :           0 :                                         _q40 = do_valueize (valueize, _q40);
   26627                 :           0 :                                         tree _q41 = gimple_call_arg (_c2, 1);
   26628                 :           0 :                                         _q41 = do_valueize (valueize, _q41);
   26629                 :           0 :                                         tree _q42 = gimple_call_arg (_c2, 2);
   26630                 :           0 :                                         _q42 = do_valueize (valueize, _q42);
   26631                 :           0 :                                         tree _q43 = gimple_call_arg (_c2, 3);
   26632                 :           0 :                                         _q43 = do_valueize (valueize, _q43);
   26633                 :           0 :                                         tree _q44 = gimple_call_arg (_c2, 4);
   26634                 :           0 :                                         _q44 = do_valueize (valueize, _q44);
   26635                 :           0 :                                         tree _q45 = gimple_call_arg (_c2, 5);
   26636                 :           0 :                                         _q45 = do_valueize (valueize, _q45);
   26637                 :           0 :                                         if (tree_swap_operands_p (_q41, _q42))
   26638                 :           0 :                                           std::swap (_q41, _q42);
   26639                 :           0 :                                         if ((_q40 == _p0 && ! TREE_SIDE_EFFECTS (_q40)) || (operand_equal_p (_q40, _p0, 0) && types_match (_q40, _p0)))
   26640                 :             :                                           {
   26641                 :           0 :                                             {
   26642                 :           0 :                                               tree captures[7] ATTRIBUTE_UNUSED = { _p0, _q41, _q42, _q43, _q44, _q45, _p2 };
   26643                 :           0 :                                               if (gimple_simplify_588 (res_op, seq, valueize, type, captures, CFN_COND_LEN_MIN))
   26644                 :           0 :                                                 return true;
   26645                 :             :                                             }
   26646                 :             :                                           }
   26647                 :             :                                       }
   26648                 :             :                                     break;
   26649                 :           0 :                                   case CFN_COND_LEN_MOD:
   26650                 :           0 :                                     if (gimple_call_num_args (_c2) == 6)
   26651                 :             :                                       {
   26652                 :           0 :                                         tree _q40 = gimple_call_arg (_c2, 0);
   26653                 :           0 :                                         _q40 = do_valueize (valueize, _q40);
   26654                 :           0 :                                         tree _q41 = gimple_call_arg (_c2, 1);
   26655                 :           0 :                                         _q41 = do_valueize (valueize, _q41);
   26656                 :           0 :                                         tree _q42 = gimple_call_arg (_c2, 2);
   26657                 :           0 :                                         _q42 = do_valueize (valueize, _q42);
   26658                 :           0 :                                         tree _q43 = gimple_call_arg (_c2, 3);
   26659                 :           0 :                                         _q43 = do_valueize (valueize, _q43);
   26660                 :           0 :                                         tree _q44 = gimple_call_arg (_c2, 4);
   26661                 :           0 :                                         _q44 = do_valueize (valueize, _q44);
   26662                 :           0 :                                         tree _q45 = gimple_call_arg (_c2, 5);
   26663                 :           0 :                                         _q45 = do_valueize (valueize, _q45);
   26664                 :           0 :                                         if ((_q40 == _p0 && ! TREE_SIDE_EFFECTS (_q40)) || (operand_equal_p (_q40, _p0, 0) && types_match (_q40, _p0)))
   26665                 :             :                                           {
   26666                 :           0 :                                             {
   26667                 :           0 :                                               tree captures[7] ATTRIBUTE_UNUSED = { _p0, _q41, _q42, _q43, _q44, _q45, _p2 };
   26668                 :           0 :                                               if (gimple_simplify_588 (res_op, seq, valueize, type, captures, CFN_COND_LEN_MOD))
   26669                 :           0 :                                                 return true;
   26670                 :             :                                             }
   26671                 :             :                                           }
   26672                 :             :                                       }
   26673                 :             :                                     break;
   26674                 :           0 :                                   case CFN_COND_LEN_MUL:
   26675                 :           0 :                                     if (gimple_call_num_args (_c2) == 6)
   26676                 :             :                                       {
   26677                 :           0 :                                         tree _q40 = gimple_call_arg (_c2, 0);
   26678                 :           0 :                                         _q40 = do_valueize (valueize, _q40);
   26679                 :           0 :                                         tree _q41 = gimple_call_arg (_c2, 1);
   26680                 :           0 :                                         _q41 = do_valueize (valueize, _q41);
   26681                 :           0 :                                         tree _q42 = gimple_call_arg (_c2, 2);
   26682                 :           0 :                                         _q42 = do_valueize (valueize, _q42);
   26683                 :           0 :                                         tree _q43 = gimple_call_arg (_c2, 3);
   26684                 :           0 :                                         _q43 = do_valueize (valueize, _q43);
   26685                 :           0 :                                         tree _q44 = gimple_call_arg (_c2, 4);
   26686                 :           0 :                                         _q44 = do_valueize (valueize, _q44);
   26687                 :           0 :                                         tree _q45 = gimple_call_arg (_c2, 5);
   26688                 :           0 :                                         _q45 = do_valueize (valueize, _q45);
   26689                 :           0 :                                         if (tree_swap_operands_p (_q41, _q42))
   26690                 :           0 :                                           std::swap (_q41, _q42);
   26691                 :           0 :                                         if ((_q40 == _p0 && ! TREE_SIDE_EFFECTS (_q40)) || (operand_equal_p (_q40, _p0, 0) && types_match (_q40, _p0)))
   26692                 :             :                                           {
   26693                 :           0 :                                             {
   26694                 :           0 :                                               tree captures[7] ATTRIBUTE_UNUSED = { _p0, _q41, _q42, _q43, _q44, _q45, _p2 };
   26695                 :           0 :                                               if (gimple_simplify_588 (res_op, seq, valueize, type, captures, CFN_COND_LEN_MUL))
   26696                 :           0 :                                                 return true;
   26697                 :             :                                             }
   26698                 :             :                                           }
   26699                 :             :                                       }
   26700                 :             :                                     break;
   26701                 :           0 :                                   case CFN_COND_LEN_SHL:
   26702                 :           0 :                                     if (gimple_call_num_args (_c2) == 6)
   26703                 :             :                                       {
   26704                 :           0 :                                         tree _q40 = gimple_call_arg (_c2, 0);
   26705                 :           0 :                                         _q40 = do_valueize (valueize, _q40);
   26706                 :           0 :                                         tree _q41 = gimple_call_arg (_c2, 1);
   26707                 :           0 :                                         _q41 = do_valueize (valueize, _q41);
   26708                 :           0 :                                         tree _q42 = gimple_call_arg (_c2, 2);
   26709                 :           0 :                                         _q42 = do_valueize (valueize, _q42);
   26710                 :           0 :                                         tree _q43 = gimple_call_arg (_c2, 3);
   26711                 :           0 :                                         _q43 = do_valueize (valueize, _q43);
   26712                 :           0 :                                         tree _q44 = gimple_call_arg (_c2, 4);
   26713                 :           0 :                                         _q44 = do_valueize (valueize, _q44);
   26714                 :           0 :                                         tree _q45 = gimple_call_arg (_c2, 5);
   26715                 :           0 :                                         _q45 = do_valueize (valueize, _q45);
   26716                 :           0 :                                         if ((_q40 == _p0 && ! TREE_SIDE_EFFECTS (_q40)) || (operand_equal_p (_q40, _p0, 0) && types_match (_q40, _p0)))
   26717                 :             :                                           {
   26718                 :           0 :                                             {
   26719                 :           0 :                                               tree captures[7] ATTRIBUTE_UNUSED = { _p0, _q41, _q42, _q43, _q44, _q45, _p2 };
   26720                 :           0 :                                               if (gimple_simplify_588 (res_op, seq, valueize, type, captures, CFN_COND_LEN_SHL))
   26721                 :           0 :                                                 return true;
   26722                 :             :                                             }
   26723                 :             :                                           }
   26724                 :             :                                       }
   26725                 :             :                                     break;
   26726                 :           0 :                                   case CFN_COND_LEN_SHR:
   26727                 :           0 :                                     if (gimple_call_num_args (_c2) == 6)
   26728                 :             :                                       {
   26729                 :           0 :                                         tree _q40 = gimple_call_arg (_c2, 0);
   26730                 :           0 :                                         _q40 = do_valueize (valueize, _q40);
   26731                 :           0 :                                         tree _q41 = gimple_call_arg (_c2, 1);
   26732                 :           0 :                                         _q41 = do_valueize (valueize, _q41);
   26733                 :           0 :                                         tree _q42 = gimple_call_arg (_c2, 2);
   26734                 :           0 :                                         _q42 = do_valueize (valueize, _q42);
   26735                 :           0 :                                         tree _q43 = gimple_call_arg (_c2, 3);
   26736                 :           0 :                                         _q43 = do_valueize (valueize, _q43);
   26737                 :           0 :                                         tree _q44 = gimple_call_arg (_c2, 4);
   26738                 :           0 :                                         _q44 = do_valueize (valueize, _q44);
   26739                 :           0 :                                         tree _q45 = gimple_call_arg (_c2, 5);
   26740                 :           0 :                                         _q45 = do_valueize (valueize, _q45);
   26741                 :           0 :                                         if ((_q40 == _p0 && ! TREE_SIDE_EFFECTS (_q40)) || (operand_equal_p (_q40, _p0, 0) && types_match (_q40, _p0)))
   26742                 :             :                                           {
   26743                 :           0 :                                             {
   26744                 :           0 :                                               tree captures[7] ATTRIBUTE_UNUSED = { _p0, _q41, _q42, _q43, _q44, _q45, _p2 };
   26745                 :           0 :                                               if (gimple_simplify_588 (res_op, seq, valueize, type, captures, CFN_COND_LEN_SHR))
   26746                 :           0 :                                                 return true;
   26747                 :             :                                             }
   26748                 :             :                                           }
   26749                 :             :                                       }
   26750                 :             :                                     break;
   26751                 :           0 :                                   case CFN_COND_LEN_SUB:
   26752                 :           0 :                                     if (gimple_call_num_args (_c2) == 6)
   26753                 :             :                                       {
   26754                 :           0 :                                         tree _q40 = gimple_call_arg (_c2, 0);
   26755                 :           0 :                                         _q40 = do_valueize (valueize, _q40);
   26756                 :           0 :                                         tree _q41 = gimple_call_arg (_c2, 1);
   26757                 :           0 :                                         _q41 = do_valueize (valueize, _q41);
   26758                 :           0 :                                         tree _q42 = gimple_call_arg (_c2, 2);
   26759                 :           0 :                                         _q42 = do_valueize (valueize, _q42);
   26760                 :           0 :                                         tree _q43 = gimple_call_arg (_c2, 3);
   26761                 :           0 :                                         _q43 = do_valueize (valueize, _q43);
   26762                 :           0 :                                         tree _q44 = gimple_call_arg (_c2, 4);
   26763                 :           0 :                                         _q44 = do_valueize (valueize, _q44);
   26764                 :           0 :                                         tree _q45 = gimple_call_arg (_c2, 5);
   26765                 :           0 :                                         _q45 = do_valueize (valueize, _q45);
   26766                 :           0 :                                         if ((_q40 == _p0 && ! TREE_SIDE_EFFECTS (_q40)) || (operand_equal_p (_q40, _p0, 0) && types_match (_q40, _p0)))
   26767                 :             :                                           {
   26768                 :           0 :                                             {
   26769                 :           0 :                                               tree captures[7] ATTRIBUTE_UNUSED = { _p0, _q41, _q42, _q43, _q44, _q45, _p2 };
   26770                 :           0 :                                               if (gimple_simplify_588 (res_op, seq, valueize, type, captures, CFN_COND_LEN_SUB))
   26771                 :           0 :                                                 return true;
   26772                 :             :                                             }
   26773                 :             :                                           }
   26774                 :             :                                       }
   26775                 :             :                                     break;
   26776                 :           0 :                                   case CFN_COND_LEN_XOR:
   26777                 :           0 :                                     if (gimple_call_num_args (_c2) == 6)
   26778                 :             :                                       {
   26779                 :           0 :                                         tree _q40 = gimple_call_arg (_c2, 0);
   26780                 :           0 :                                         _q40 = do_valueize (valueize, _q40);
   26781                 :           0 :                                         tree _q41 = gimple_call_arg (_c2, 1);
   26782                 :           0 :                                         _q41 = do_valueize (valueize, _q41);
   26783                 :           0 :                                         tree _q42 = gimple_call_arg (_c2, 2);
   26784                 :           0 :                                         _q42 = do_valueize (valueize, _q42);
   26785                 :           0 :                                         tree _q43 = gimple_call_arg (_c2, 3);
   26786                 :           0 :                                         _q43 = do_valueize (valueize, _q43);
   26787                 :           0 :                                         tree _q44 = gimple_call_arg (_c2, 4);
   26788                 :           0 :                                         _q44 = do_valueize (valueize, _q44);
   26789                 :           0 :                                         tree _q45 = gimple_call_arg (_c2, 5);
   26790                 :           0 :                                         _q45 = do_valueize (valueize, _q45);
   26791                 :           0 :                                         if (tree_swap_operands_p (_q41, _q42))
   26792                 :           0 :                                           std::swap (_q41, _q42);
   26793                 :           0 :                                         if ((_q40 == _p0 && ! TREE_SIDE_EFFECTS (_q40)) || (operand_equal_p (_q40, _p0, 0) && types_match (_q40, _p0)))
   26794                 :             :                                           {
   26795                 :           0 :                                             {
   26796                 :           0 :                                               tree captures[7] ATTRIBUTE_UNUSED = { _p0, _q41, _q42, _q43, _q44, _q45, _p2 };
   26797                 :           0 :                                               if (gimple_simplify_588 (res_op, seq, valueize, type, captures, CFN_COND_LEN_XOR))
   26798                 :           0 :                                                 return true;
   26799                 :             :                                             }
   26800                 :             :                                           }
   26801                 :             :                                       }
   26802                 :             :                                     break;
   26803                 :           0 :                                   case CFN_COND_LEN_FMAX:
   26804                 :           0 :                                     if (gimple_call_num_args (_c2) == 6)
   26805                 :             :                                       {
   26806                 :           0 :                                         tree _q40 = gimple_call_arg (_c2, 0);
   26807                 :           0 :                                         _q40 = do_valueize (valueize, _q40);
   26808                 :           0 :                                         tree _q41 = gimple_call_arg (_c2, 1);
   26809                 :           0 :                                         _q41 = do_valueize (valueize, _q41);
   26810                 :           0 :                                         tree _q42 = gimple_call_arg (_c2, 2);
   26811                 :           0 :                                         _q42 = do_valueize (valueize, _q42);
   26812                 :           0 :                                         tree _q43 = gimple_call_arg (_c2, 3);
   26813                 :           0 :                                         _q43 = do_valueize (valueize, _q43);
   26814                 :           0 :                                         tree _q44 = gimple_call_arg (_c2, 4);
   26815                 :           0 :                                         _q44 = do_valueize (valueize, _q44);
   26816                 :           0 :                                         tree _q45 = gimple_call_arg (_c2, 5);
   26817                 :           0 :                                         _q45 = do_valueize (valueize, _q45);
   26818                 :           0 :                                         if (tree_swap_operands_p (_q41, _q42))
   26819                 :           0 :                                           std::swap (_q41, _q42);
   26820                 :           0 :                                         if ((_q40 == _p0 && ! TREE_SIDE_EFFECTS (_q40)) || (operand_equal_p (_q40, _p0, 0) && types_match (_q40, _p0)))
   26821                 :             :                                           {
   26822                 :           0 :                                             {
   26823                 :           0 :                                               tree captures[7] ATTRIBUTE_UNUSED = { _p0, _q41, _q42, _q43, _q44, _q45, _p2 };
   26824                 :           0 :                                               if (gimple_simplify_588 (res_op, seq, valueize, type, captures, CFN_COND_LEN_FMAX))
   26825                 :           0 :                                                 return true;
   26826                 :             :                                             }
   26827                 :             :                                           }
   26828                 :             :                                       }
   26829                 :             :                                     break;
   26830                 :           0 :                                   case CFN_COND_LEN_FMIN:
   26831                 :           0 :                                     if (gimple_call_num_args (_c2) == 6)
   26832                 :             :                                       {
   26833                 :           0 :                                         tree _q40 = gimple_call_arg (_c2, 0);
   26834                 :           0 :                                         _q40 = do_valueize (valueize, _q40);
   26835                 :           0 :                                         tree _q41 = gimple_call_arg (_c2, 1);
   26836                 :           0 :                                         _q41 = do_valueize (valueize, _q41);
   26837                 :           0 :                                         tree _q42 = gimple_call_arg (_c2, 2);
   26838                 :           0 :                                         _q42 = do_valueize (valueize, _q42);
   26839                 :           0 :                                         tree _q43 = gimple_call_arg (_c2, 3);
   26840                 :           0 :                                         _q43 = do_valueize (valueize, _q43);
   26841                 :           0 :                                         tree _q44 = gimple_call_arg (_c2, 4);
   26842                 :           0 :                                         _q44 = do_valueize (valueize, _q44);
   26843                 :           0 :                                         tree _q45 = gimple_call_arg (_c2, 5);
   26844                 :           0 :                                         _q45 = do_valueize (valueize, _q45);
   26845                 :           0 :                                         if (tree_swap_operands_p (_q41, _q42))
   26846                 :           0 :                                           std::swap (_q41, _q42);
   26847                 :           0 :                                         if ((_q40 == _p0 && ! TREE_SIDE_EFFECTS (_q40)) || (operand_equal_p (_q40, _p0, 0) && types_match (_q40, _p0)))
   26848                 :             :                                           {
   26849                 :           0 :                                             {
   26850                 :           0 :                                               tree captures[7] ATTRIBUTE_UNUSED = { _p0, _q41, _q42, _q43, _q44, _q45, _p2 };
   26851                 :           0 :                                               if (gimple_simplify_588 (res_op, seq, valueize, type, captures, CFN_COND_LEN_FMIN))
   26852                 :           0 :                                                 return true;
   26853                 :             :                                             }
   26854                 :             :                                           }
   26855                 :             :                                       }
   26856                 :             :                                     break;
   26857                 :           0 :                                   case CFN_COND_LEN_RDIV:
   26858                 :           0 :                                     if (gimple_call_num_args (_c2) == 6)
   26859                 :             :                                       {
   26860                 :           0 :                                         tree _q40 = gimple_call_arg (_c2, 0);
   26861                 :           0 :                                         _q40 = do_valueize (valueize, _q40);
   26862                 :           0 :                                         tree _q41 = gimple_call_arg (_c2, 1);
   26863                 :           0 :                                         _q41 = do_valueize (valueize, _q41);
   26864                 :           0 :                                         tree _q42 = gimple_call_arg (_c2, 2);
   26865                 :           0 :                                         _q42 = do_valueize (valueize, _q42);
   26866                 :           0 :                                         tree _q43 = gimple_call_arg (_c2, 3);
   26867                 :           0 :                                         _q43 = do_valueize (valueize, _q43);
   26868                 :           0 :                                         tree _q44 = gimple_call_arg (_c2, 4);
   26869                 :           0 :                                         _q44 = do_valueize (valueize, _q44);
   26870                 :           0 :                                         tree _q45 = gimple_call_arg (_c2, 5);
   26871                 :           0 :                                         _q45 = do_valueize (valueize, _q45);
   26872                 :           0 :                                         if ((_q40 == _p0 && ! TREE_SIDE_EFFECTS (_q40)) || (operand_equal_p (_q40, _p0, 0) && types_match (_q40, _p0)))
   26873                 :             :                                           {
   26874                 :           0 :                                             {
   26875                 :           0 :                                               tree captures[7] ATTRIBUTE_UNUSED = { _p0, _q41, _q42, _q43, _q44, _q45, _p2 };
   26876                 :           0 :                                               if (gimple_simplify_588 (res_op, seq, valueize, type, captures, CFN_COND_LEN_RDIV))
   26877                 :           0 :                                                 return true;
   26878                 :             :                                             }
   26879                 :             :                                           }
   26880                 :             :                                       }
   26881                 :             :                                     break;
   26882                 :           0 :                                   case CFN_COND_LEN_COPYSIGN:
   26883                 :           0 :                                     if (gimple_call_num_args (_c2) == 6)
   26884                 :             :                                       {
   26885                 :           0 :                                         tree _q40 = gimple_call_arg (_c2, 0);
   26886                 :           0 :                                         _q40 = do_valueize (valueize, _q40);
   26887                 :           0 :                                         tree _q41 = gimple_call_arg (_c2, 1);
   26888                 :           0 :                                         _q41 = do_valueize (valueize, _q41);
   26889                 :           0 :                                         tree _q42 = gimple_call_arg (_c2, 2);
   26890                 :           0 :                                         _q42 = do_valueize (valueize, _q42);
   26891                 :           0 :                                         tree _q43 = gimple_call_arg (_c2, 3);
   26892                 :           0 :                                         _q43 = do_valueize (valueize, _q43);
   26893                 :           0 :                                         tree _q44 = gimple_call_arg (_c2, 4);
   26894                 :           0 :                                         _q44 = do_valueize (valueize, _q44);
   26895                 :           0 :                                         tree _q45 = gimple_call_arg (_c2, 5);
   26896                 :           0 :                                         _q45 = do_valueize (valueize, _q45);
   26897                 :           0 :                                         if ((_q40 == _p0 && ! TREE_SIDE_EFFECTS (_q40)) || (operand_equal_p (_q40, _p0, 0) && types_match (_q40, _p0)))
   26898                 :             :                                           {
   26899                 :           0 :                                             {
   26900                 :           0 :                                               tree captures[7] ATTRIBUTE_UNUSED = { _p0, _q41, _q42, _q43, _q44, _q45, _p2 };
   26901                 :           0 :                                               if (gimple_simplify_588 (res_op, seq, valueize, type, captures, CFN_COND_LEN_COPYSIGN))
   26902                 :           0 :                                                 return true;
   26903                 :             :                                             }
   26904                 :             :                                           }
   26905                 :             :                                       }
   26906                 :             :                                     break;
   26907                 :             :                                   default:;
   26908                 :             :                                   }
   26909                 :             :                             }
   26910                 :             :                           break;
   26911                 :             :                         default:;
   26912                 :             :                         }
   26913                 :             :                     }
   26914                 :             :                   break;
   26915                 :             :                 }
   26916                 :             :               default:;
   26917                 :             :               }
   26918                 :        9710 :           else if (gcall *_c1 = dyn_cast <gcall *> (_d1))
   26919                 :         875 :             switch (gimple_call_combined_fn (_c1))
   26920                 :             :               {
   26921                 :           0 :               case CFN_COND_LEN_ADD:
   26922                 :           0 :                 if (gimple_call_num_args (_c1) == 6)
   26923                 :             :                   {
   26924                 :           0 :                     tree _q30 = gimple_call_arg (_c1, 0);
   26925                 :           0 :                     _q30 = do_valueize (valueize, _q30);
   26926                 :           0 :                     tree _q31 = gimple_call_arg (_c1, 1);
   26927                 :           0 :                     _q31 = do_valueize (valueize, _q31);
   26928                 :           0 :                     tree _q32 = gimple_call_arg (_c1, 2);
   26929                 :           0 :                     _q32 = do_valueize (valueize, _q32);
   26930                 :           0 :                     tree _q33 = gimple_call_arg (_c1, 3);
   26931                 :           0 :                     _q33 = do_valueize (valueize, _q33);
   26932                 :           0 :                     tree _q34 = gimple_call_arg (_c1, 4);
   26933                 :           0 :                     _q34 = do_valueize (valueize, _q34);
   26934                 :           0 :                     tree _q35 = gimple_call_arg (_c1, 5);
   26935                 :           0 :                     _q35 = do_valueize (valueize, _q35);
   26936                 :           0 :                     if (tree_swap_operands_p (_q31, _q32))
   26937                 :           0 :                       std::swap (_q31, _q32);
   26938                 :           0 :                     if ((_q30 == _p0 && ! TREE_SIDE_EFFECTS (_q30)) || (operand_equal_p (_q30, _p0, 0) && types_match (_q30, _p0)))
   26939                 :             :                       {
   26940                 :           0 :                         {
   26941                 :           0 :                           tree captures[7] ATTRIBUTE_UNUSED = { _p0, _q31, _q32, _q33, _q34, _q35, _p2 };
   26942                 :           0 :                           if (gimple_simplify_588 (res_op, seq, valueize, type, captures, CFN_COND_LEN_ADD))
   26943                 :           0 :                             return true;
   26944                 :             :                         }
   26945                 :             :                       }
   26946                 :             :                   }
   26947                 :             :                 break;
   26948                 :           0 :               case CFN_COND_LEN_AND:
   26949                 :           0 :                 if (gimple_call_num_args (_c1) == 6)
   26950                 :             :                   {
   26951                 :           0 :                     tree _q30 = gimple_call_arg (_c1, 0);
   26952                 :           0 :                     _q30 = do_valueize (valueize, _q30);
   26953                 :           0 :                     tree _q31 = gimple_call_arg (_c1, 1);
   26954                 :           0 :                     _q31 = do_valueize (valueize, _q31);
   26955                 :           0 :                     tree _q32 = gimple_call_arg (_c1, 2);
   26956                 :           0 :                     _q32 = do_valueize (valueize, _q32);
   26957                 :           0 :                     tree _q33 = gimple_call_arg (_c1, 3);
   26958                 :           0 :                     _q33 = do_valueize (valueize, _q33);
   26959                 :           0 :                     tree _q34 = gimple_call_arg (_c1, 4);
   26960                 :           0 :                     _q34 = do_valueize (valueize, _q34);
   26961                 :           0 :                     tree _q35 = gimple_call_arg (_c1, 5);
   26962                 :           0 :                     _q35 = do_valueize (valueize, _q35);
   26963                 :           0 :                     if (tree_swap_operands_p (_q31, _q32))
   26964                 :           0 :                       std::swap (_q31, _q32);
   26965                 :           0 :                     if ((_q30 == _p0 && ! TREE_SIDE_EFFECTS (_q30)) || (operand_equal_p (_q30, _p0, 0) && types_match (_q30, _p0)))
   26966                 :             :                       {
   26967                 :           0 :                         {
   26968                 :           0 :                           tree captures[7] ATTRIBUTE_UNUSED = { _p0, _q31, _q32, _q33, _q34, _q35, _p2 };
   26969                 :           0 :                           if (gimple_simplify_588 (res_op, seq, valueize, type, captures, CFN_COND_LEN_AND))
   26970                 :           0 :                             return true;
   26971                 :             :                         }
   26972                 :             :                       }
   26973                 :             :                   }
   26974                 :             :                 break;
   26975                 :           0 :               case CFN_COND_LEN_DIV:
   26976                 :           0 :                 if (gimple_call_num_args (_c1) == 6)
   26977                 :             :                   {
   26978                 :           0 :                     tree _q30 = gimple_call_arg (_c1, 0);
   26979                 :           0 :                     _q30 = do_valueize (valueize, _q30);
   26980                 :           0 :                     tree _q31 = gimple_call_arg (_c1, 1);
   26981                 :           0 :                     _q31 = do_valueize (valueize, _q31);
   26982                 :           0 :                     tree _q32 = gimple_call_arg (_c1, 2);
   26983                 :           0 :                     _q32 = do_valueize (valueize, _q32);
   26984                 :           0 :                     tree _q33 = gimple_call_arg (_c1, 3);
   26985                 :           0 :                     _q33 = do_valueize (valueize, _q33);
   26986                 :           0 :                     tree _q34 = gimple_call_arg (_c1, 4);
   26987                 :           0 :                     _q34 = do_valueize (valueize, _q34);
   26988                 :           0 :                     tree _q35 = gimple_call_arg (_c1, 5);
   26989                 :           0 :                     _q35 = do_valueize (valueize, _q35);
   26990                 :           0 :                     if ((_q30 == _p0 && ! TREE_SIDE_EFFECTS (_q30)) || (operand_equal_p (_q30, _p0, 0) && types_match (_q30, _p0)))
   26991                 :             :                       {
   26992                 :           0 :                         {
   26993                 :           0 :                           tree captures[7] ATTRIBUTE_UNUSED = { _p0, _q31, _q32, _q33, _q34, _q35, _p2 };
   26994                 :           0 :                           if (gimple_simplify_588 (res_op, seq, valueize, type, captures, CFN_COND_LEN_DIV))
   26995                 :           0 :                             return true;
   26996                 :             :                         }
   26997                 :             :                       }
   26998                 :             :                   }
   26999                 :             :                 break;
   27000                 :           0 :               case CFN_COND_LEN_IOR:
   27001                 :           0 :                 if (gimple_call_num_args (_c1) == 6)
   27002                 :             :                   {
   27003                 :           0 :                     tree _q30 = gimple_call_arg (_c1, 0);
   27004                 :           0 :                     _q30 = do_valueize (valueize, _q30);
   27005                 :           0 :                     tree _q31 = gimple_call_arg (_c1, 1);
   27006                 :           0 :                     _q31 = do_valueize (valueize, _q31);
   27007                 :           0 :                     tree _q32 = gimple_call_arg (_c1, 2);
   27008                 :           0 :                     _q32 = do_valueize (valueize, _q32);
   27009                 :           0 :                     tree _q33 = gimple_call_arg (_c1, 3);
   27010                 :           0 :                     _q33 = do_valueize (valueize, _q33);
   27011                 :           0 :                     tree _q34 = gimple_call_arg (_c1, 4);
   27012                 :           0 :                     _q34 = do_valueize (valueize, _q34);
   27013                 :           0 :                     tree _q35 = gimple_call_arg (_c1, 5);
   27014                 :           0 :                     _q35 = do_valueize (valueize, _q35);
   27015                 :           0 :                     if (tree_swap_operands_p (_q31, _q32))
   27016                 :           0 :                       std::swap (_q31, _q32);
   27017                 :           0 :                     if ((_q30 == _p0 && ! TREE_SIDE_EFFECTS (_q30)) || (operand_equal_p (_q30, _p0, 0) && types_match (_q30, _p0)))
   27018                 :             :                       {
   27019                 :           0 :                         {
   27020                 :           0 :                           tree captures[7] ATTRIBUTE_UNUSED = { _p0, _q31, _q32, _q33, _q34, _q35, _p2 };
   27021                 :           0 :                           if (gimple_simplify_588 (res_op, seq, valueize, type, captures, CFN_COND_LEN_IOR))
   27022                 :           0 :                             return true;
   27023                 :             :                         }
   27024                 :             :                       }
   27025                 :             :                   }
   27026                 :             :                 break;
   27027                 :           0 :               case CFN_COND_LEN_MAX:
   27028                 :           0 :                 if (gimple_call_num_args (_c1) == 6)
   27029                 :             :                   {
   27030                 :           0 :                     tree _q30 = gimple_call_arg (_c1, 0);
   27031                 :           0 :                     _q30 = do_valueize (valueize, _q30);
   27032                 :           0 :                     tree _q31 = gimple_call_arg (_c1, 1);
   27033                 :           0 :                     _q31 = do_valueize (valueize, _q31);
   27034                 :           0 :                     tree _q32 = gimple_call_arg (_c1, 2);
   27035                 :           0 :                     _q32 = do_valueize (valueize, _q32);
   27036                 :           0 :                     tree _q33 = gimple_call_arg (_c1, 3);
   27037                 :           0 :                     _q33 = do_valueize (valueize, _q33);
   27038                 :           0 :                     tree _q34 = gimple_call_arg (_c1, 4);
   27039                 :           0 :                     _q34 = do_valueize (valueize, _q34);
   27040                 :           0 :                     tree _q35 = gimple_call_arg (_c1, 5);
   27041                 :           0 :                     _q35 = do_valueize (valueize, _q35);
   27042                 :           0 :                     if (tree_swap_operands_p (_q31, _q32))
   27043                 :           0 :                       std::swap (_q31, _q32);
   27044                 :           0 :                     if ((_q30 == _p0 && ! TREE_SIDE_EFFECTS (_q30)) || (operand_equal_p (_q30, _p0, 0) && types_match (_q30, _p0)))
   27045                 :             :                       {
   27046                 :           0 :                         {
   27047                 :           0 :                           tree captures[7] ATTRIBUTE_UNUSED = { _p0, _q31, _q32, _q33, _q34, _q35, _p2 };
   27048                 :           0 :                           if (gimple_simplify_588 (res_op, seq, valueize, type, captures, CFN_COND_LEN_MAX))
   27049                 :           0 :                             return true;
   27050                 :             :                         }
   27051                 :             :                       }
   27052                 :             :                   }
   27053                 :             :                 break;
   27054                 :           0 :               case CFN_COND_LEN_MIN:
   27055                 :           0 :                 if (gimple_call_num_args (_c1) == 6)
   27056                 :             :                   {
   27057                 :           0 :                     tree _q30 = gimple_call_arg (_c1, 0);
   27058                 :           0 :                     _q30 = do_valueize (valueize, _q30);
   27059                 :           0 :                     tree _q31 = gimple_call_arg (_c1, 1);
   27060                 :           0 :                     _q31 = do_valueize (valueize, _q31);
   27061                 :           0 :                     tree _q32 = gimple_call_arg (_c1, 2);
   27062                 :           0 :                     _q32 = do_valueize (valueize, _q32);
   27063                 :           0 :                     tree _q33 = gimple_call_arg (_c1, 3);
   27064                 :           0 :                     _q33 = do_valueize (valueize, _q33);
   27065                 :           0 :                     tree _q34 = gimple_call_arg (_c1, 4);
   27066                 :           0 :                     _q34 = do_valueize (valueize, _q34);
   27067                 :           0 :                     tree _q35 = gimple_call_arg (_c1, 5);
   27068                 :           0 :                     _q35 = do_valueize (valueize, _q35);
   27069                 :           0 :                     if (tree_swap_operands_p (_q31, _q32))
   27070                 :           0 :                       std::swap (_q31, _q32);
   27071                 :           0 :                     if ((_q30 == _p0 && ! TREE_SIDE_EFFECTS (_q30)) || (operand_equal_p (_q30, _p0, 0) && types_match (_q30, _p0)))
   27072                 :             :                       {
   27073                 :           0 :                         {
   27074                 :           0 :                           tree captures[7] ATTRIBUTE_UNUSED = { _p0, _q31, _q32, _q33, _q34, _q35, _p2 };
   27075                 :           0 :                           if (gimple_simplify_588 (res_op, seq, valueize, type, captures, CFN_COND_LEN_MIN))
   27076                 :           0 :                             return true;
   27077                 :             :                         }
   27078                 :             :                       }
   27079                 :             :                   }
   27080                 :             :                 break;
   27081                 :           0 :               case CFN_COND_LEN_MOD:
   27082                 :           0 :                 if (gimple_call_num_args (_c1) == 6)
   27083                 :             :                   {
   27084                 :           0 :                     tree _q30 = gimple_call_arg (_c1, 0);
   27085                 :           0 :                     _q30 = do_valueize (valueize, _q30);
   27086                 :           0 :                     tree _q31 = gimple_call_arg (_c1, 1);
   27087                 :           0 :                     _q31 = do_valueize (valueize, _q31);
   27088                 :           0 :                     tree _q32 = gimple_call_arg (_c1, 2);
   27089                 :           0 :                     _q32 = do_valueize (valueize, _q32);
   27090                 :           0 :                     tree _q33 = gimple_call_arg (_c1, 3);
   27091                 :           0 :                     _q33 = do_valueize (valueize, _q33);
   27092                 :           0 :                     tree _q34 = gimple_call_arg (_c1, 4);
   27093                 :           0 :                     _q34 = do_valueize (valueize, _q34);
   27094                 :           0 :                     tree _q35 = gimple_call_arg (_c1, 5);
   27095                 :           0 :                     _q35 = do_valueize (valueize, _q35);
   27096                 :           0 :                     if ((_q30 == _p0 && ! TREE_SIDE_EFFECTS (_q30)) || (operand_equal_p (_q30, _p0, 0) && types_match (_q30, _p0)))
   27097                 :             :                       {
   27098                 :           0 :                         {
   27099                 :           0 :                           tree captures[7] ATTRIBUTE_UNUSED = { _p0, _q31, _q32, _q33, _q34, _q35, _p2 };
   27100                 :           0 :                           if (gimple_simplify_588 (res_op, seq, valueize, type, captures, CFN_COND_LEN_MOD))
   27101                 :           0 :                             return true;
   27102                 :             :                         }
   27103                 :             :                       }
   27104                 :             :                   }
   27105                 :             :                 break;
   27106                 :           0 :               case CFN_COND_LEN_MUL:
   27107                 :           0 :                 if (gimple_call_num_args (_c1) == 6)
   27108                 :             :                   {
   27109                 :           0 :                     tree _q30 = gimple_call_arg (_c1, 0);
   27110                 :           0 :                     _q30 = do_valueize (valueize, _q30);
   27111                 :           0 :                     tree _q31 = gimple_call_arg (_c1, 1);
   27112                 :           0 :                     _q31 = do_valueize (valueize, _q31);
   27113                 :           0 :                     tree _q32 = gimple_call_arg (_c1, 2);
   27114                 :           0 :                     _q32 = do_valueize (valueize, _q32);
   27115                 :           0 :                     tree _q33 = gimple_call_arg (_c1, 3);
   27116                 :           0 :                     _q33 = do_valueize (valueize, _q33);
   27117                 :           0 :                     tree _q34 = gimple_call_arg (_c1, 4);
   27118                 :           0 :                     _q34 = do_valueize (valueize, _q34);
   27119                 :           0 :                     tree _q35 = gimple_call_arg (_c1, 5);
   27120                 :           0 :                     _q35 = do_valueize (valueize, _q35);
   27121                 :           0 :                     if (tree_swap_operands_p (_q31, _q32))
   27122                 :           0 :                       std::swap (_q31, _q32);
   27123                 :           0 :                     if ((_q30 == _p0 && ! TREE_SIDE_EFFECTS (_q30)) || (operand_equal_p (_q30, _p0, 0) && types_match (_q30, _p0)))
   27124                 :             :                       {
   27125                 :           0 :                         {
   27126                 :           0 :                           tree captures[7] ATTRIBUTE_UNUSED = { _p0, _q31, _q32, _q33, _q34, _q35, _p2 };
   27127                 :           0 :                           if (gimple_simplify_588 (res_op, seq, valueize, type, captures, CFN_COND_LEN_MUL))
   27128                 :           0 :                             return true;
   27129                 :             :                         }
   27130                 :             :                       }
   27131                 :             :                   }
   27132                 :             :                 break;
   27133                 :           0 :               case CFN_COND_LEN_SHL:
   27134                 :           0 :                 if (gimple_call_num_args (_c1) == 6)
   27135                 :             :                   {
   27136                 :           0 :                     tree _q30 = gimple_call_arg (_c1, 0);
   27137                 :           0 :                     _q30 = do_valueize (valueize, _q30);
   27138                 :           0 :                     tree _q31 = gimple_call_arg (_c1, 1);
   27139                 :           0 :                     _q31 = do_valueize (valueize, _q31);
   27140                 :           0 :                     tree _q32 = gimple_call_arg (_c1, 2);
   27141                 :           0 :                     _q32 = do_valueize (valueize, _q32);
   27142                 :           0 :                     tree _q33 = gimple_call_arg (_c1, 3);
   27143                 :           0 :                     _q33 = do_valueize (valueize, _q33);
   27144                 :           0 :                     tree _q34 = gimple_call_arg (_c1, 4);
   27145                 :           0 :                     _q34 = do_valueize (valueize, _q34);
   27146                 :           0 :                     tree _q35 = gimple_call_arg (_c1, 5);
   27147                 :           0 :                     _q35 = do_valueize (valueize, _q35);
   27148                 :           0 :                     if ((_q30 == _p0 && ! TREE_SIDE_EFFECTS (_q30)) || (operand_equal_p (_q30, _p0, 0) && types_match (_q30, _p0)))
   27149                 :             :                       {
   27150                 :           0 :                         {
   27151                 :           0 :                           tree captures[7] ATTRIBUTE_UNUSED = { _p0, _q31, _q32, _q33, _q34, _q35, _p2 };
   27152                 :           0 :                           if (gimple_simplify_588 (res_op, seq, valueize, type, captures, CFN_COND_LEN_SHL))
   27153                 :           0 :                             return true;
   27154                 :             :                         }
   27155                 :             :                       }
   27156                 :             :                   }
   27157                 :             :                 break;
   27158                 :           0 :               case CFN_COND_LEN_SHR:
   27159                 :           0 :                 if (gimple_call_num_args (_c1) == 6)
   27160                 :             :                   {
   27161                 :           0 :                     tree _q30 = gimple_call_arg (_c1, 0);
   27162                 :           0 :                     _q30 = do_valueize (valueize, _q30);
   27163                 :           0 :                     tree _q31 = gimple_call_arg (_c1, 1);
   27164                 :           0 :                     _q31 = do_valueize (valueize, _q31);
   27165                 :           0 :                     tree _q32 = gimple_call_arg (_c1, 2);
   27166                 :           0 :                     _q32 = do_valueize (valueize, _q32);
   27167                 :           0 :                     tree _q33 = gimple_call_arg (_c1, 3);
   27168                 :           0 :                     _q33 = do_valueize (valueize, _q33);
   27169                 :           0 :                     tree _q34 = gimple_call_arg (_c1, 4);
   27170                 :           0 :                     _q34 = do_valueize (valueize, _q34);
   27171                 :           0 :                     tree _q35 = gimple_call_arg (_c1, 5);
   27172                 :           0 :                     _q35 = do_valueize (valueize, _q35);
   27173                 :           0 :                     if ((_q30 == _p0 && ! TREE_SIDE_EFFECTS (_q30)) || (operand_equal_p (_q30, _p0, 0) && types_match (_q30, _p0)))
   27174                 :             :                       {
   27175                 :           0 :                         {
   27176                 :           0 :                           tree captures[7] ATTRIBUTE_UNUSED = { _p0, _q31, _q32, _q33, _q34, _q35, _p2 };
   27177                 :           0 :                           if (gimple_simplify_588 (res_op, seq, valueize, type, captures, CFN_COND_LEN_SHR))
   27178                 :           0 :                             return true;
   27179                 :             :                         }
   27180                 :             :                       }
   27181                 :             :                   }
   27182                 :             :                 break;
   27183                 :           0 :               case CFN_COND_LEN_SUB:
   27184                 :           0 :                 if (gimple_call_num_args (_c1) == 6)
   27185                 :             :                   {
   27186                 :           0 :                     tree _q30 = gimple_call_arg (_c1, 0);
   27187                 :           0 :                     _q30 = do_valueize (valueize, _q30);
   27188                 :           0 :                     tree _q31 = gimple_call_arg (_c1, 1);
   27189                 :           0 :                     _q31 = do_valueize (valueize, _q31);
   27190                 :           0 :                     tree _q32 = gimple_call_arg (_c1, 2);
   27191                 :           0 :                     _q32 = do_valueize (valueize, _q32);
   27192                 :           0 :                     tree _q33 = gimple_call_arg (_c1, 3);
   27193                 :           0 :                     _q33 = do_valueize (valueize, _q33);
   27194                 :           0 :                     tree _q34 = gimple_call_arg (_c1, 4);
   27195                 :           0 :                     _q34 = do_valueize (valueize, _q34);
   27196                 :           0 :                     tree _q35 = gimple_call_arg (_c1, 5);
   27197                 :           0 :                     _q35 = do_valueize (valueize, _q35);
   27198                 :           0 :                     if ((_q30 == _p0 && ! TREE_SIDE_EFFECTS (_q30)) || (operand_equal_p (_q30, _p0, 0) && types_match (_q30, _p0)))
   27199                 :             :                       {
   27200                 :           0 :                         {
   27201                 :           0 :                           tree captures[7] ATTRIBUTE_UNUSED = { _p0, _q31, _q32, _q33, _q34, _q35, _p2 };
   27202                 :           0 :                           if (gimple_simplify_588 (res_op, seq, valueize, type, captures, CFN_COND_LEN_SUB))
   27203                 :           0 :                             return true;
   27204                 :             :                         }
   27205                 :             :                       }
   27206                 :             :                   }
   27207                 :             :                 break;
   27208                 :           0 :               case CFN_COND_LEN_XOR:
   27209                 :           0 :                 if (gimple_call_num_args (_c1) == 6)
   27210                 :             :                   {
   27211                 :           0 :                     tree _q30 = gimple_call_arg (_c1, 0);
   27212                 :           0 :                     _q30 = do_valueize (valueize, _q30);
   27213                 :           0 :                     tree _q31 = gimple_call_arg (_c1, 1);
   27214                 :           0 :                     _q31 = do_valueize (valueize, _q31);
   27215                 :           0 :                     tree _q32 = gimple_call_arg (_c1, 2);
   27216                 :           0 :                     _q32 = do_valueize (valueize, _q32);
   27217                 :           0 :                     tree _q33 = gimple_call_arg (_c1, 3);
   27218                 :           0 :                     _q33 = do_valueize (valueize, _q33);
   27219                 :           0 :                     tree _q34 = gimple_call_arg (_c1, 4);
   27220                 :           0 :                     _q34 = do_valueize (valueize, _q34);
   27221                 :           0 :                     tree _q35 = gimple_call_arg (_c1, 5);
   27222                 :           0 :                     _q35 = do_valueize (valueize, _q35);
   27223                 :           0 :                     if (tree_swap_operands_p (_q31, _q32))
   27224                 :           0 :                       std::swap (_q31, _q32);
   27225                 :           0 :                     if ((_q30 == _p0 && ! TREE_SIDE_EFFECTS (_q30)) || (operand_equal_p (_q30, _p0, 0) && types_match (_q30, _p0)))
   27226                 :             :                       {
   27227                 :           0 :                         {
   27228                 :           0 :                           tree captures[7] ATTRIBUTE_UNUSED = { _p0, _q31, _q32, _q33, _q34, _q35, _p2 };
   27229                 :           0 :                           if (gimple_simplify_588 (res_op, seq, valueize, type, captures, CFN_COND_LEN_XOR))
   27230                 :           0 :                             return true;
   27231                 :             :                         }
   27232                 :             :                       }
   27233                 :             :                   }
   27234                 :             :                 break;
   27235                 :           0 :               case CFN_COND_LEN_FMAX:
   27236                 :           0 :                 if (gimple_call_num_args (_c1) == 6)
   27237                 :             :                   {
   27238                 :           0 :                     tree _q30 = gimple_call_arg (_c1, 0);
   27239                 :           0 :                     _q30 = do_valueize (valueize, _q30);
   27240                 :           0 :                     tree _q31 = gimple_call_arg (_c1, 1);
   27241                 :           0 :                     _q31 = do_valueize (valueize, _q31);
   27242                 :           0 :                     tree _q32 = gimple_call_arg (_c1, 2);
   27243                 :           0 :                     _q32 = do_valueize (valueize, _q32);
   27244                 :           0 :                     tree _q33 = gimple_call_arg (_c1, 3);
   27245                 :           0 :                     _q33 = do_valueize (valueize, _q33);
   27246                 :           0 :                     tree _q34 = gimple_call_arg (_c1, 4);
   27247                 :           0 :                     _q34 = do_valueize (valueize, _q34);
   27248                 :           0 :                     tree _q35 = gimple_call_arg (_c1, 5);
   27249                 :           0 :                     _q35 = do_valueize (valueize, _q35);
   27250                 :           0 :                     if (tree_swap_operands_p (_q31, _q32))
   27251                 :           0 :                       std::swap (_q31, _q32);
   27252                 :           0 :                     if ((_q30 == _p0 && ! TREE_SIDE_EFFECTS (_q30)) || (operand_equal_p (_q30, _p0, 0) && types_match (_q30, _p0)))
   27253                 :             :                       {
   27254                 :           0 :                         {
   27255                 :           0 :                           tree captures[7] ATTRIBUTE_UNUSED = { _p0, _q31, _q32, _q33, _q34, _q35, _p2 };
   27256                 :           0 :                           if (gimple_simplify_588 (res_op, seq, valueize, type, captures, CFN_COND_LEN_FMAX))
   27257                 :           0 :                             return true;
   27258                 :             :                         }
   27259                 :             :                       }
   27260                 :             :                   }
   27261                 :             :                 break;
   27262                 :           0 :               case CFN_COND_LEN_FMIN:
   27263                 :           0 :                 if (gimple_call_num_args (_c1) == 6)
   27264                 :             :                   {
   27265                 :           0 :                     tree _q30 = gimple_call_arg (_c1, 0);
   27266                 :           0 :                     _q30 = do_valueize (valueize, _q30);
   27267                 :           0 :                     tree _q31 = gimple_call_arg (_c1, 1);
   27268                 :           0 :                     _q31 = do_valueize (valueize, _q31);
   27269                 :           0 :                     tree _q32 = gimple_call_arg (_c1, 2);
   27270                 :           0 :                     _q32 = do_valueize (valueize, _q32);
   27271                 :           0 :                     tree _q33 = gimple_call_arg (_c1, 3);
   27272                 :           0 :                     _q33 = do_valueize (valueize, _q33);
   27273                 :           0 :                     tree _q34 = gimple_call_arg (_c1, 4);
   27274                 :           0 :                     _q34 = do_valueize (valueize, _q34);
   27275                 :           0 :                     tree _q35 = gimple_call_arg (_c1, 5);
   27276                 :           0 :                     _q35 = do_valueize (valueize, _q35);
   27277                 :           0 :                     if (tree_swap_operands_p (_q31, _q32))
   27278                 :           0 :                       std::swap (_q31, _q32);
   27279                 :           0 :                     if ((_q30 == _p0 && ! TREE_SIDE_EFFECTS (_q30)) || (operand_equal_p (_q30, _p0, 0) && types_match (_q30, _p0)))
   27280                 :             :                       {
   27281                 :           0 :                         {
   27282                 :           0 :                           tree captures[7] ATTRIBUTE_UNUSED = { _p0, _q31, _q32, _q33, _q34, _q35, _p2 };
   27283                 :           0 :                           if (gimple_simplify_588 (res_op, seq, valueize, type, captures, CFN_COND_LEN_FMIN))
   27284                 :           0 :                             return true;
   27285                 :             :                         }
   27286                 :             :                       }
   27287                 :             :                   }
   27288                 :             :                 break;
   27289                 :           0 :               case CFN_COND_LEN_RDIV:
   27290                 :           0 :                 if (gimple_call_num_args (_c1) == 6)
   27291                 :             :                   {
   27292                 :           0 :                     tree _q30 = gimple_call_arg (_c1, 0);
   27293                 :           0 :                     _q30 = do_valueize (valueize, _q30);
   27294                 :           0 :                     tree _q31 = gimple_call_arg (_c1, 1);
   27295                 :           0 :                     _q31 = do_valueize (valueize, _q31);
   27296                 :           0 :                     tree _q32 = gimple_call_arg (_c1, 2);
   27297                 :           0 :                     _q32 = do_valueize (valueize, _q32);
   27298                 :           0 :                     tree _q33 = gimple_call_arg (_c1, 3);
   27299                 :           0 :                     _q33 = do_valueize (valueize, _q33);
   27300                 :           0 :                     tree _q34 = gimple_call_arg (_c1, 4);
   27301                 :           0 :                     _q34 = do_valueize (valueize, _q34);
   27302                 :           0 :                     tree _q35 = gimple_call_arg (_c1, 5);
   27303                 :           0 :                     _q35 = do_valueize (valueize, _q35);
   27304                 :           0 :                     if ((_q30 == _p0 && ! TREE_SIDE_EFFECTS (_q30)) || (operand_equal_p (_q30, _p0, 0) && types_match (_q30, _p0)))
   27305                 :             :                       {
   27306                 :           0 :                         {
   27307                 :           0 :                           tree captures[7] ATTRIBUTE_UNUSED = { _p0, _q31, _q32, _q33, _q34, _q35, _p2 };
   27308                 :           0 :                           if (gimple_simplify_588 (res_op, seq, valueize, type, captures, CFN_COND_LEN_RDIV))
   27309                 :           0 :                             return true;
   27310                 :             :                         }
   27311                 :             :                       }
   27312                 :             :                   }
   27313                 :             :                 break;
   27314                 :           0 :               case CFN_COND_LEN_COPYSIGN:
   27315                 :           0 :                 if (gimple_call_num_args (_c1) == 6)
   27316                 :             :                   {
   27317                 :           0 :                     tree _q30 = gimple_call_arg (_c1, 0);
   27318                 :           0 :                     _q30 = do_valueize (valueize, _q30);
   27319                 :           0 :                     tree _q31 = gimple_call_arg (_c1, 1);
   27320                 :           0 :                     _q31 = do_valueize (valueize, _q31);
   27321                 :           0 :                     tree _q32 = gimple_call_arg (_c1, 2);
   27322                 :           0 :                     _q32 = do_valueize (valueize, _q32);
   27323                 :           0 :                     tree _q33 = gimple_call_arg (_c1, 3);
   27324                 :           0 :                     _q33 = do_valueize (valueize, _q33);
   27325                 :           0 :                     tree _q34 = gimple_call_arg (_c1, 4);
   27326                 :           0 :                     _q34 = do_valueize (valueize, _q34);
   27327                 :           0 :                     tree _q35 = gimple_call_arg (_c1, 5);
   27328                 :           0 :                     _q35 = do_valueize (valueize, _q35);
   27329                 :           0 :                     if ((_q30 == _p0 && ! TREE_SIDE_EFFECTS (_q30)) || (operand_equal_p (_q30, _p0, 0) && types_match (_q30, _p0)))
   27330                 :             :                       {
   27331                 :           0 :                         {
   27332                 :           0 :                           tree captures[7] ATTRIBUTE_UNUSED = { _p0, _q31, _q32, _q33, _q34, _q35, _p2 };
   27333                 :           0 :                           if (gimple_simplify_588 (res_op, seq, valueize, type, captures, CFN_COND_LEN_COPYSIGN))
   27334                 :           0 :                             return true;
   27335                 :             :                         }
   27336                 :             :                       }
   27337                 :             :                   }
   27338                 :             :                 break;
   27339                 :             :               default:;
   27340                 :             :               }
   27341                 :             :         }
   27342                 :             :       break;
   27343                 :      149004 :     default:;
   27344                 :             :     }
   27345                 :      149004 :   switch (TREE_CODE (_p2))
   27346                 :             :     {
   27347                 :       23911 :     case SSA_NAME:
   27348                 :       23911 :       if (gimple *_d1 = get_def (valueize, _p2))
   27349                 :             :         {
   27350                 :       21999 :           if (gassign *_a1 = dyn_cast <gassign *> (_d1))
   27351                 :       20622 :             switch (gimple_assign_rhs_code (_a1))
   27352                 :             :               {
   27353                 :        2328 :               case VIEW_CONVERT_EXPR:
   27354                 :        2328 :                 {
   27355                 :        2328 :                   tree _q40 = TREE_OPERAND (gimple_assign_rhs1 (_a1), 0);
   27356                 :        2328 :                   if ((TREE_CODE (_q40) == SSA_NAME
   27357                 :        2328 :                        || is_gimple_min_invariant (_q40)))
   27358                 :             :                     {
   27359                 :        2328 :                       _q40 = do_valueize (valueize, _q40);
   27360                 :        2328 :                       switch (TREE_CODE (_q40))
   27361                 :             :                         {
   27362                 :        2328 :                         case SSA_NAME:
   27363                 :        2328 :                           if (gimple *_d2 = get_def (valueize, _q40))
   27364                 :             :                             {
   27365                 :        2279 :                               if (gcall *_c2 = dyn_cast <gcall *> (_d2))
   27366                 :         461 :                                 switch (gimple_call_combined_fn (_c2))
   27367                 :             :                                   {
   27368                 :           0 :                                   case CFN_COND_LEN_ADD:
   27369                 :           0 :                                     if (gimple_call_num_args (_c2) == 6)
   27370                 :             :                                       {
   27371                 :           0 :                                         tree _q50 = gimple_call_arg (_c2, 0);
   27372                 :           0 :                                         _q50 = do_valueize (valueize, _q50);
   27373                 :           0 :                                         tree _q51 = gimple_call_arg (_c2, 1);
   27374                 :           0 :                                         _q51 = do_valueize (valueize, _q51);
   27375                 :           0 :                                         tree _q52 = gimple_call_arg (_c2, 2);
   27376                 :           0 :                                         _q52 = do_valueize (valueize, _q52);
   27377                 :           0 :                                         tree _q53 = gimple_call_arg (_c2, 3);
   27378                 :           0 :                                         _q53 = do_valueize (valueize, _q53);
   27379                 :           0 :                                         tree _q54 = gimple_call_arg (_c2, 4);
   27380                 :           0 :                                         _q54 = do_valueize (valueize, _q54);
   27381                 :           0 :                                         tree _q55 = gimple_call_arg (_c2, 5);
   27382                 :           0 :                                         _q55 = do_valueize (valueize, _q55);
   27383                 :           0 :                                         if (tree_swap_operands_p (_q51, _q52))
   27384                 :           0 :                                           std::swap (_q51, _q52);
   27385                 :           0 :                                         {
   27386                 :           0 :                                           tree captures[8] ATTRIBUTE_UNUSED = { _p0, _p1, _q50, _q51, _q52, _q53, _q54, _q55 };
   27387                 :           0 :                                           if (gimple_simplify_589 (res_op, seq, valueize, type, captures, CFN_COND_LEN_ADD))
   27388                 :           0 :                                             return true;
   27389                 :             :                                         }
   27390                 :             :                                       }
   27391                 :             :                                     break;
   27392                 :           0 :                                   case CFN_COND_LEN_AND:
   27393                 :           0 :                                     if (gimple_call_num_args (_c2) == 6)
   27394                 :             :                                       {
   27395                 :           0 :                                         tree _q50 = gimple_call_arg (_c2, 0);
   27396                 :           0 :                                         _q50 = do_valueize (valueize, _q50);
   27397                 :           0 :                                         tree _q51 = gimple_call_arg (_c2, 1);
   27398                 :           0 :                                         _q51 = do_valueize (valueize, _q51);
   27399                 :           0 :                                         tree _q52 = gimple_call_arg (_c2, 2);
   27400                 :           0 :                                         _q52 = do_valueize (valueize, _q52);
   27401                 :           0 :                                         tree _q53 = gimple_call_arg (_c2, 3);
   27402                 :           0 :                                         _q53 = do_valueize (valueize, _q53);
   27403                 :           0 :                                         tree _q54 = gimple_call_arg (_c2, 4);
   27404                 :           0 :                                         _q54 = do_valueize (valueize, _q54);
   27405                 :           0 :                                         tree _q55 = gimple_call_arg (_c2, 5);
   27406                 :           0 :                                         _q55 = do_valueize (valueize, _q55);
   27407                 :           0 :                                         if (tree_swap_operands_p (_q51, _q52))
   27408                 :           0 :                                           std::swap (_q51, _q52);
   27409                 :           0 :                                         {
   27410                 :           0 :                                           tree captures[8] ATTRIBUTE_UNUSED = { _p0, _p1, _q50, _q51, _q52, _q53, _q54, _q55 };
   27411                 :           0 :                                           if (gimple_simplify_589 (res_op, seq, valueize, type, captures, CFN_COND_LEN_AND))
   27412                 :           0 :                                             return true;
   27413                 :             :                                         }
   27414                 :             :                                       }
   27415                 :             :                                     break;
   27416                 :           0 :                                   case CFN_COND_LEN_DIV:
   27417                 :           0 :                                     if (gimple_call_num_args (_c2) == 6)
   27418                 :             :                                       {
   27419                 :           0 :                                         tree _q50 = gimple_call_arg (_c2, 0);
   27420                 :           0 :                                         _q50 = do_valueize (valueize, _q50);
   27421                 :           0 :                                         tree _q51 = gimple_call_arg (_c2, 1);
   27422                 :           0 :                                         _q51 = do_valueize (valueize, _q51);
   27423                 :           0 :                                         tree _q52 = gimple_call_arg (_c2, 2);
   27424                 :           0 :                                         _q52 = do_valueize (valueize, _q52);
   27425                 :           0 :                                         tree _q53 = gimple_call_arg (_c2, 3);
   27426                 :           0 :                                         _q53 = do_valueize (valueize, _q53);
   27427                 :           0 :                                         tree _q54 = gimple_call_arg (_c2, 4);
   27428                 :           0 :                                         _q54 = do_valueize (valueize, _q54);
   27429                 :           0 :                                         tree _q55 = gimple_call_arg (_c2, 5);
   27430                 :           0 :                                         _q55 = do_valueize (valueize, _q55);
   27431                 :           0 :                                         {
   27432                 :           0 :                                           tree captures[8] ATTRIBUTE_UNUSED = { _p0, _p1, _q50, _q51, _q52, _q53, _q54, _q55 };
   27433                 :           0 :                                           if (gimple_simplify_589 (res_op, seq, valueize, type, captures, CFN_COND_LEN_DIV))
   27434                 :           0 :                                             return true;
   27435                 :             :                                         }
   27436                 :             :                                       }
   27437                 :             :                                     break;
   27438                 :           0 :                                   case CFN_COND_LEN_IOR:
   27439                 :           0 :                                     if (gimple_call_num_args (_c2) == 6)
   27440                 :             :                                       {
   27441                 :           0 :                                         tree _q50 = gimple_call_arg (_c2, 0);
   27442                 :           0 :                                         _q50 = do_valueize (valueize, _q50);
   27443                 :           0 :                                         tree _q51 = gimple_call_arg (_c2, 1);
   27444                 :           0 :                                         _q51 = do_valueize (valueize, _q51);
   27445                 :           0 :                                         tree _q52 = gimple_call_arg (_c2, 2);
   27446                 :           0 :                                         _q52 = do_valueize (valueize, _q52);
   27447                 :           0 :                                         tree _q53 = gimple_call_arg (_c2, 3);
   27448                 :           0 :                                         _q53 = do_valueize (valueize, _q53);
   27449                 :           0 :                                         tree _q54 = gimple_call_arg (_c2, 4);
   27450                 :           0 :                                         _q54 = do_valueize (valueize, _q54);
   27451                 :           0 :                                         tree _q55 = gimple_call_arg (_c2, 5);
   27452                 :           0 :                                         _q55 = do_valueize (valueize, _q55);
   27453                 :           0 :                                         if (tree_swap_operands_p (_q51, _q52))
   27454                 :           0 :                                           std::swap (_q51, _q52);
   27455                 :           0 :                                         {
   27456                 :           0 :                                           tree captures[8] ATTRIBUTE_UNUSED = { _p0, _p1, _q50, _q51, _q52, _q53, _q54, _q55 };
   27457                 :           0 :                                           if (gimple_simplify_589 (res_op, seq, valueize, type, captures, CFN_COND_LEN_IOR))
   27458                 :           0 :                                             return true;
   27459                 :             :                                         }
   27460                 :             :                                       }
   27461                 :             :                                     break;
   27462                 :           0 :                                   case CFN_COND_LEN_MAX:
   27463                 :           0 :                                     if (gimple_call_num_args (_c2) == 6)
   27464                 :             :                                       {
   27465                 :           0 :                                         tree _q50 = gimple_call_arg (_c2, 0);
   27466                 :           0 :                                         _q50 = do_valueize (valueize, _q50);
   27467                 :           0 :                                         tree _q51 = gimple_call_arg (_c2, 1);
   27468                 :           0 :                                         _q51 = do_valueize (valueize, _q51);
   27469                 :           0 :                                         tree _q52 = gimple_call_arg (_c2, 2);
   27470                 :           0 :                                         _q52 = do_valueize (valueize, _q52);
   27471                 :           0 :                                         tree _q53 = gimple_call_arg (_c2, 3);
   27472                 :           0 :                                         _q53 = do_valueize (valueize, _q53);
   27473                 :           0 :                                         tree _q54 = gimple_call_arg (_c2, 4);
   27474                 :           0 :                                         _q54 = do_valueize (valueize, _q54);
   27475                 :           0 :                                         tree _q55 = gimple_call_arg (_c2, 5);
   27476                 :           0 :                                         _q55 = do_valueize (valueize, _q55);
   27477                 :           0 :                                         if (tree_swap_operands_p (_q51, _q52))
   27478                 :           0 :                                           std::swap (_q51, _q52);
   27479                 :           0 :                                         {
   27480                 :           0 :                                           tree captures[8] ATTRIBUTE_UNUSED = { _p0, _p1, _q50, _q51, _q52, _q53, _q54, _q55 };
   27481                 :           0 :                                           if (gimple_simplify_589 (res_op, seq, valueize, type, captures, CFN_COND_LEN_MAX))
   27482                 :           0 :                                             return true;
   27483                 :             :                                         }
   27484                 :             :                                       }
   27485                 :             :                                     break;
   27486                 :           0 :                                   case CFN_COND_LEN_MIN:
   27487                 :           0 :                                     if (gimple_call_num_args (_c2) == 6)
   27488                 :             :                                       {
   27489                 :           0 :                                         tree _q50 = gimple_call_arg (_c2, 0);
   27490                 :           0 :                                         _q50 = do_valueize (valueize, _q50);
   27491                 :           0 :                                         tree _q51 = gimple_call_arg (_c2, 1);
   27492                 :           0 :                                         _q51 = do_valueize (valueize, _q51);
   27493                 :           0 :                                         tree _q52 = gimple_call_arg (_c2, 2);
   27494                 :           0 :                                         _q52 = do_valueize (valueize, _q52);
   27495                 :           0 :                                         tree _q53 = gimple_call_arg (_c2, 3);
   27496                 :           0 :                                         _q53 = do_valueize (valueize, _q53);
   27497                 :           0 :                                         tree _q54 = gimple_call_arg (_c2, 4);
   27498                 :           0 :                                         _q54 = do_valueize (valueize, _q54);
   27499                 :           0 :                                         tree _q55 = gimple_call_arg (_c2, 5);
   27500                 :           0 :                                         _q55 = do_valueize (valueize, _q55);
   27501                 :           0 :                                         if (tree_swap_operands_p (_q51, _q52))
   27502                 :           0 :                                           std::swap (_q51, _q52);
   27503                 :           0 :                                         {
   27504                 :           0 :                                           tree captures[8] ATTRIBUTE_UNUSED = { _p0, _p1, _q50, _q51, _q52, _q53, _q54, _q55 };
   27505                 :           0 :                                           if (gimple_simplify_589 (res_op, seq, valueize, type, captures, CFN_COND_LEN_MIN))
   27506                 :           0 :                                             return true;
   27507                 :             :                                         }
   27508                 :             :                                       }
   27509                 :             :                                     break;
   27510                 :           0 :                                   case CFN_COND_LEN_MOD:
   27511                 :           0 :                                     if (gimple_call_num_args (_c2) == 6)
   27512                 :             :                                       {
   27513                 :           0 :                                         tree _q50 = gimple_call_arg (_c2, 0);
   27514                 :           0 :                                         _q50 = do_valueize (valueize, _q50);
   27515                 :           0 :                                         tree _q51 = gimple_call_arg (_c2, 1);
   27516                 :           0 :                                         _q51 = do_valueize (valueize, _q51);
   27517                 :           0 :                                         tree _q52 = gimple_call_arg (_c2, 2);
   27518                 :           0 :                                         _q52 = do_valueize (valueize, _q52);
   27519                 :           0 :                                         tree _q53 = gimple_call_arg (_c2, 3);
   27520                 :           0 :                                         _q53 = do_valueize (valueize, _q53);
   27521                 :           0 :                                         tree _q54 = gimple_call_arg (_c2, 4);
   27522                 :           0 :                                         _q54 = do_valueize (valueize, _q54);
   27523                 :           0 :                                         tree _q55 = gimple_call_arg (_c2, 5);
   27524                 :           0 :                                         _q55 = do_valueize (valueize, _q55);
   27525                 :           0 :                                         {
   27526                 :           0 :                                           tree captures[8] ATTRIBUTE_UNUSED = { _p0, _p1, _q50, _q51, _q52, _q53, _q54, _q55 };
   27527                 :           0 :                                           if (gimple_simplify_589 (res_op, seq, valueize, type, captures, CFN_COND_LEN_MOD))
   27528                 :           0 :                                             return true;
   27529                 :             :                                         }
   27530                 :             :                                       }
   27531                 :             :                                     break;
   27532                 :           0 :                                   case CFN_COND_LEN_MUL:
   27533                 :           0 :                                     if (gimple_call_num_args (_c2) == 6)
   27534                 :             :                                       {
   27535                 :           0 :                                         tree _q50 = gimple_call_arg (_c2, 0);
   27536                 :           0 :                                         _q50 = do_valueize (valueize, _q50);
   27537                 :           0 :                                         tree _q51 = gimple_call_arg (_c2, 1);
   27538                 :           0 :                                         _q51 = do_valueize (valueize, _q51);
   27539                 :           0 :                                         tree _q52 = gimple_call_arg (_c2, 2);
   27540                 :           0 :                                         _q52 = do_valueize (valueize, _q52);
   27541                 :           0 :                                         tree _q53 = gimple_call_arg (_c2, 3);
   27542                 :           0 :                                         _q53 = do_valueize (valueize, _q53);
   27543                 :           0 :                                         tree _q54 = gimple_call_arg (_c2, 4);
   27544                 :           0 :                                         _q54 = do_valueize (valueize, _q54);
   27545                 :           0 :                                         tree _q55 = gimple_call_arg (_c2, 5);
   27546                 :           0 :                                         _q55 = do_valueize (valueize, _q55);
   27547                 :           0 :                                         if (tree_swap_operands_p (_q51, _q52))
   27548                 :           0 :                                           std::swap (_q51, _q52);
   27549                 :           0 :                                         {
   27550                 :           0 :                                           tree captures[8] ATTRIBUTE_UNUSED = { _p0, _p1, _q50, _q51, _q52, _q53, _q54, _q55 };
   27551                 :           0 :                                           if (gimple_simplify_589 (res_op, seq, valueize, type, captures, CFN_COND_LEN_MUL))
   27552                 :           0 :                                             return true;
   27553                 :             :                                         }
   27554                 :             :                                       }
   27555                 :             :                                     break;
   27556                 :           0 :                                   case CFN_COND_LEN_SHL:
   27557                 :           0 :                                     if (gimple_call_num_args (_c2) == 6)
   27558                 :             :                                       {
   27559                 :           0 :                                         tree _q50 = gimple_call_arg (_c2, 0);
   27560                 :           0 :                                         _q50 = do_valueize (valueize, _q50);
   27561                 :           0 :                                         tree _q51 = gimple_call_arg (_c2, 1);
   27562                 :           0 :                                         _q51 = do_valueize (valueize, _q51);
   27563                 :           0 :                                         tree _q52 = gimple_call_arg (_c2, 2);
   27564                 :           0 :                                         _q52 = do_valueize (valueize, _q52);
   27565                 :           0 :                                         tree _q53 = gimple_call_arg (_c2, 3);
   27566                 :           0 :                                         _q53 = do_valueize (valueize, _q53);
   27567                 :           0 :                                         tree _q54 = gimple_call_arg (_c2, 4);
   27568                 :           0 :                                         _q54 = do_valueize (valueize, _q54);
   27569                 :           0 :                                         tree _q55 = gimple_call_arg (_c2, 5);
   27570                 :           0 :                                         _q55 = do_valueize (valueize, _q55);
   27571                 :           0 :                                         {
   27572                 :           0 :                                           tree captures[8] ATTRIBUTE_UNUSED = { _p0, _p1, _q50, _q51, _q52, _q53, _q54, _q55 };
   27573                 :           0 :                                           if (gimple_simplify_589 (res_op, seq, valueize, type, captures, CFN_COND_LEN_SHL))
   27574                 :           0 :                                             return true;
   27575                 :             :                                         }
   27576                 :             :                                       }
   27577                 :             :                                     break;
   27578                 :           0 :                                   case CFN_COND_LEN_SHR:
   27579                 :           0 :                                     if (gimple_call_num_args (_c2) == 6)
   27580                 :             :                                       {
   27581                 :           0 :                                         tree _q50 = gimple_call_arg (_c2, 0);
   27582                 :           0 :                                         _q50 = do_valueize (valueize, _q50);
   27583                 :           0 :                                         tree _q51 = gimple_call_arg (_c2, 1);
   27584                 :           0 :                                         _q51 = do_valueize (valueize, _q51);
   27585                 :           0 :                                         tree _q52 = gimple_call_arg (_c2, 2);
   27586                 :           0 :                                         _q52 = do_valueize (valueize, _q52);
   27587                 :           0 :                                         tree _q53 = gimple_call_arg (_c2, 3);
   27588                 :           0 :                                         _q53 = do_valueize (valueize, _q53);
   27589                 :           0 :                                         tree _q54 = gimple_call_arg (_c2, 4);
   27590                 :           0 :                                         _q54 = do_valueize (valueize, _q54);
   27591                 :           0 :                                         tree _q55 = gimple_call_arg (_c2, 5);
   27592                 :           0 :                                         _q55 = do_valueize (valueize, _q55);
   27593                 :           0 :                                         {
   27594                 :           0 :                                           tree captures[8] ATTRIBUTE_UNUSED = { _p0, _p1, _q50, _q51, _q52, _q53, _q54, _q55 };
   27595                 :           0 :                                           if (gimple_simplify_589 (res_op, seq, valueize, type, captures, CFN_COND_LEN_SHR))
   27596                 :           0 :                                             return true;
   27597                 :             :                                         }
   27598                 :             :                                       }
   27599                 :             :                                     break;
   27600                 :           0 :                                   case CFN_COND_LEN_SUB:
   27601                 :           0 :                                     if (gimple_call_num_args (_c2) == 6)
   27602                 :             :                                       {
   27603                 :           0 :                                         tree _q50 = gimple_call_arg (_c2, 0);
   27604                 :           0 :                                         _q50 = do_valueize (valueize, _q50);
   27605                 :           0 :                                         tree _q51 = gimple_call_arg (_c2, 1);
   27606                 :           0 :                                         _q51 = do_valueize (valueize, _q51);
   27607                 :           0 :                                         tree _q52 = gimple_call_arg (_c2, 2);
   27608                 :           0 :                                         _q52 = do_valueize (valueize, _q52);
   27609                 :           0 :                                         tree _q53 = gimple_call_arg (_c2, 3);
   27610                 :           0 :                                         _q53 = do_valueize (valueize, _q53);
   27611                 :           0 :                                         tree _q54 = gimple_call_arg (_c2, 4);
   27612                 :           0 :                                         _q54 = do_valueize (valueize, _q54);
   27613                 :           0 :                                         tree _q55 = gimple_call_arg (_c2, 5);
   27614                 :           0 :                                         _q55 = do_valueize (valueize, _q55);
   27615                 :           0 :                                         {
   27616                 :           0 :                                           tree captures[8] ATTRIBUTE_UNUSED = { _p0, _p1, _q50, _q51, _q52, _q53, _q54, _q55 };
   27617                 :           0 :                                           if (gimple_simplify_589 (res_op, seq, valueize, type, captures, CFN_COND_LEN_SUB))
   27618                 :           0 :                                             return true;
   27619                 :             :                                         }
   27620                 :             :                                       }
   27621                 :             :                                     break;
   27622                 :           0 :                                   case CFN_COND_LEN_XOR:
   27623                 :           0 :                                     if (gimple_call_num_args (_c2) == 6)
   27624                 :             :                                       {
   27625                 :           0 :                                         tree _q50 = gimple_call_arg (_c2, 0);
   27626                 :           0 :                                         _q50 = do_valueize (valueize, _q50);
   27627                 :           0 :                                         tree _q51 = gimple_call_arg (_c2, 1);
   27628                 :           0 :                                         _q51 = do_valueize (valueize, _q51);
   27629                 :           0 :                                         tree _q52 = gimple_call_arg (_c2, 2);
   27630                 :           0 :                                         _q52 = do_valueize (valueize, _q52);
   27631                 :           0 :                                         tree _q53 = gimple_call_arg (_c2, 3);
   27632                 :           0 :                                         _q53 = do_valueize (valueize, _q53);
   27633                 :           0 :                                         tree _q54 = gimple_call_arg (_c2, 4);
   27634                 :           0 :                                         _q54 = do_valueize (valueize, _q54);
   27635                 :           0 :                                         tree _q55 = gimple_call_arg (_c2, 5);
   27636                 :           0 :                                         _q55 = do_valueize (valueize, _q55);
   27637                 :           0 :                                         if (tree_swap_operands_p (_q51, _q52))
   27638                 :           0 :                                           std::swap (_q51, _q52);
   27639                 :           0 :                                         {
   27640                 :           0 :                                           tree captures[8] ATTRIBUTE_UNUSED = { _p0, _p1, _q50, _q51, _q52, _q53, _q54, _q55 };
   27641                 :           0 :                                           if (gimple_simplify_589 (res_op, seq, valueize, type, captures, CFN_COND_LEN_XOR))
   27642                 :           0 :                                             return true;
   27643                 :             :                                         }
   27644                 :             :                                       }
   27645                 :             :                                     break;
   27646                 :           0 :                                   case CFN_COND_LEN_FMAX:
   27647                 :           0 :                                     if (gimple_call_num_args (_c2) == 6)
   27648                 :             :                                       {
   27649                 :           0 :                                         tree _q50 = gimple_call_arg (_c2, 0);
   27650                 :           0 :                                         _q50 = do_valueize (valueize, _q50);
   27651                 :           0 :                                         tree _q51 = gimple_call_arg (_c2, 1);
   27652                 :           0 :                                         _q51 = do_valueize (valueize, _q51);
   27653                 :           0 :                                         tree _q52 = gimple_call_arg (_c2, 2);
   27654                 :           0 :                                         _q52 = do_valueize (valueize, _q52);
   27655                 :           0 :                                         tree _q53 = gimple_call_arg (_c2, 3);
   27656                 :           0 :                                         _q53 = do_valueize (valueize, _q53);
   27657                 :           0 :                                         tree _q54 = gimple_call_arg (_c2, 4);
   27658                 :           0 :                                         _q54 = do_valueize (valueize, _q54);
   27659                 :           0 :                                         tree _q55 = gimple_call_arg (_c2, 5);
   27660                 :           0 :                                         _q55 = do_valueize (valueize, _q55);
   27661                 :           0 :                                         if (tree_swap_operands_p (_q51, _q52))
   27662                 :           0 :                                           std::swap (_q51, _q52);
   27663                 :           0 :                                         {
   27664                 :           0 :                                           tree captures[8] ATTRIBUTE_UNUSED = { _p0, _p1, _q50, _q51, _q52, _q53, _q54, _q55 };
   27665                 :           0 :                                           if (gimple_simplify_589 (res_op, seq, valueize, type, captures, CFN_COND_LEN_FMAX))
   27666                 :           0 :                                             return true;
   27667                 :             :                                         }
   27668                 :             :                                       }
   27669                 :             :                                     break;
   27670                 :           0 :                                   case CFN_COND_LEN_FMIN:
   27671                 :           0 :                                     if (gimple_call_num_args (_c2) == 6)
   27672                 :             :                                       {
   27673                 :           0 :                                         tree _q50 = gimple_call_arg (_c2, 0);
   27674                 :           0 :                                         _q50 = do_valueize (valueize, _q50);
   27675                 :           0 :                                         tree _q51 = gimple_call_arg (_c2, 1);
   27676                 :           0 :                                         _q51 = do_valueize (valueize, _q51);
   27677                 :           0 :                                         tree _q52 = gimple_call_arg (_c2, 2);
   27678                 :           0 :                                         _q52 = do_valueize (valueize, _q52);
   27679                 :           0 :                                         tree _q53 = gimple_call_arg (_c2, 3);
   27680                 :           0 :                                         _q53 = do_valueize (valueize, _q53);
   27681                 :           0 :                                         tree _q54 = gimple_call_arg (_c2, 4);
   27682                 :           0 :                                         _q54 = do_valueize (valueize, _q54);
   27683                 :           0 :                                         tree _q55 = gimple_call_arg (_c2, 5);
   27684                 :           0 :                                         _q55 = do_valueize (valueize, _q55);
   27685                 :           0 :                                         if (tree_swap_operands_p (_q51, _q52))
   27686                 :           0 :                                           std::swap (_q51, _q52);
   27687                 :           0 :                                         {
   27688                 :           0 :                                           tree captures[8] ATTRIBUTE_UNUSED = { _p0, _p1, _q50, _q51, _q52, _q53, _q54, _q55 };
   27689                 :           0 :                                           if (gimple_simplify_589 (res_op, seq, valueize, type, captures, CFN_COND_LEN_FMIN))
   27690                 :           0 :                                             return true;
   27691                 :             :                                         }
   27692                 :             :                                       }
   27693                 :             :                                     break;
   27694                 :           0 :                                   case CFN_COND_LEN_RDIV:
   27695                 :           0 :                                     if (gimple_call_num_args (_c2) == 6)
   27696                 :             :                                       {
   27697                 :           0 :                                         tree _q50 = gimple_call_arg (_c2, 0);
   27698                 :           0 :                                         _q50 = do_valueize (valueize, _q50);
   27699                 :           0 :                                         tree _q51 = gimple_call_arg (_c2, 1);
   27700                 :           0 :                                         _q51 = do_valueize (valueize, _q51);
   27701                 :           0 :                                         tree _q52 = gimple_call_arg (_c2, 2);
   27702                 :           0 :                                         _q52 = do_valueize (valueize, _q52);
   27703                 :           0 :                                         tree _q53 = gimple_call_arg (_c2, 3);
   27704                 :           0 :                                         _q53 = do_valueize (valueize, _q53);
   27705                 :           0 :                                         tree _q54 = gimple_call_arg (_c2, 4);
   27706                 :           0 :                                         _q54 = do_valueize (valueize, _q54);
   27707                 :           0 :                                         tree _q55 = gimple_call_arg (_c2, 5);
   27708                 :           0 :                                         _q55 = do_valueize (valueize, _q55);
   27709                 :           0 :                                         {
   27710                 :           0 :                                           tree captures[8] ATTRIBUTE_UNUSED = { _p0, _p1, _q50, _q51, _q52, _q53, _q54, _q55 };
   27711                 :           0 :                                           if (gimple_simplify_589 (res_op, seq, valueize, type, captures, CFN_COND_LEN_RDIV))
   27712                 :           0 :                                             return true;
   27713                 :             :                                         }
   27714                 :             :                                       }
   27715                 :             :                                     break;
   27716                 :           0 :                                   case CFN_COND_LEN_COPYSIGN:
   27717                 :           0 :                                     if (gimple_call_num_args (_c2) == 6)
   27718                 :             :                                       {
   27719                 :           0 :                                         tree _q50 = gimple_call_arg (_c2, 0);
   27720                 :           0 :                                         _q50 = do_valueize (valueize, _q50);
   27721                 :           0 :                                         tree _q51 = gimple_call_arg (_c2, 1);
   27722                 :           0 :                                         _q51 = do_valueize (valueize, _q51);
   27723                 :           0 :                                         tree _q52 = gimple_call_arg (_c2, 2);
   27724                 :           0 :                                         _q52 = do_valueize (valueize, _q52);
   27725                 :           0 :                                         tree _q53 = gimple_call_arg (_c2, 3);
   27726                 :           0 :                                         _q53 = do_valueize (valueize, _q53);
   27727                 :           0 :                                         tree _q54 = gimple_call_arg (_c2, 4);
   27728                 :           0 :                                         _q54 = do_valueize (valueize, _q54);
   27729                 :           0 :                                         tree _q55 = gimple_call_arg (_c2, 5);
   27730                 :           0 :                                         _q55 = do_valueize (valueize, _q55);
   27731                 :           0 :                                         {
   27732                 :           0 :                                           tree captures[8] ATTRIBUTE_UNUSED = { _p0, _p1, _q50, _q51, _q52, _q53, _q54, _q55 };
   27733                 :           0 :                                           if (gimple_simplify_589 (res_op, seq, valueize, type, captures, CFN_COND_LEN_COPYSIGN))
   27734                 :           0 :                                             return true;
   27735                 :             :                                         }
   27736                 :             :                                       }
   27737                 :             :                                     break;
   27738                 :             :                                   default:;
   27739                 :             :                                   }
   27740                 :             :                             }
   27741                 :             :                           break;
   27742                 :             :                         default:;
   27743                 :             :                         }
   27744                 :             :                     }
   27745                 :             :                   break;
   27746                 :             :                 }
   27747                 :             :               default:;
   27748                 :             :               }
   27749                 :        9465 :           else if (gcall *_c1 = dyn_cast <gcall *> (_d1))
   27750                 :         330 :             switch (gimple_call_combined_fn (_c1))
   27751                 :             :               {
   27752                 :           0 :               case CFN_COND_LEN_ADD:
   27753                 :           0 :                 if (gimple_call_num_args (_c1) == 6)
   27754                 :             :                   {
   27755                 :           0 :                     tree _q40 = gimple_call_arg (_c1, 0);
   27756                 :           0 :                     _q40 = do_valueize (valueize, _q40);
   27757                 :           0 :                     tree _q41 = gimple_call_arg (_c1, 1);
   27758                 :           0 :                     _q41 = do_valueize (valueize, _q41);
   27759                 :           0 :                     tree _q42 = gimple_call_arg (_c1, 2);
   27760                 :           0 :                     _q42 = do_valueize (valueize, _q42);
   27761                 :           0 :                     tree _q43 = gimple_call_arg (_c1, 3);
   27762                 :           0 :                     _q43 = do_valueize (valueize, _q43);
   27763                 :           0 :                     tree _q44 = gimple_call_arg (_c1, 4);
   27764                 :           0 :                     _q44 = do_valueize (valueize, _q44);
   27765                 :           0 :                     tree _q45 = gimple_call_arg (_c1, 5);
   27766                 :           0 :                     _q45 = do_valueize (valueize, _q45);
   27767                 :           0 :                     if (tree_swap_operands_p (_q41, _q42))
   27768                 :           0 :                       std::swap (_q41, _q42);
   27769                 :           0 :                     {
   27770                 :           0 :                       tree captures[8] ATTRIBUTE_UNUSED = { _p0, _p1, _q40, _q41, _q42, _q43, _q44, _q45 };
   27771                 :           0 :                       if (gimple_simplify_589 (res_op, seq, valueize, type, captures, CFN_COND_LEN_ADD))
   27772                 :           0 :                         return true;
   27773                 :             :                     }
   27774                 :             :                   }
   27775                 :             :                 break;
   27776                 :           0 :               case CFN_COND_LEN_AND:
   27777                 :           0 :                 if (gimple_call_num_args (_c1) == 6)
   27778                 :             :                   {
   27779                 :           0 :                     tree _q40 = gimple_call_arg (_c1, 0);
   27780                 :           0 :                     _q40 = do_valueize (valueize, _q40);
   27781                 :           0 :                     tree _q41 = gimple_call_arg (_c1, 1);
   27782                 :           0 :                     _q41 = do_valueize (valueize, _q41);
   27783                 :           0 :                     tree _q42 = gimple_call_arg (_c1, 2);
   27784                 :           0 :                     _q42 = do_valueize (valueize, _q42);
   27785                 :           0 :                     tree _q43 = gimple_call_arg (_c1, 3);
   27786                 :           0 :                     _q43 = do_valueize (valueize, _q43);
   27787                 :           0 :                     tree _q44 = gimple_call_arg (_c1, 4);
   27788                 :           0 :                     _q44 = do_valueize (valueize, _q44);
   27789                 :           0 :                     tree _q45 = gimple_call_arg (_c1, 5);
   27790                 :           0 :                     _q45 = do_valueize (valueize, _q45);
   27791                 :           0 :                     if (tree_swap_operands_p (_q41, _q42))
   27792                 :           0 :                       std::swap (_q41, _q42);
   27793                 :           0 :                     {
   27794                 :           0 :                       tree captures[8] ATTRIBUTE_UNUSED = { _p0, _p1, _q40, _q41, _q42, _q43, _q44, _q45 };
   27795                 :           0 :                       if (gimple_simplify_589 (res_op, seq, valueize, type, captures, CFN_COND_LEN_AND))
   27796                 :           0 :                         return true;
   27797                 :             :                     }
   27798                 :             :                   }
   27799                 :             :                 break;
   27800                 :           0 :               case CFN_COND_LEN_DIV:
   27801                 :           0 :                 if (gimple_call_num_args (_c1) == 6)
   27802                 :             :                   {
   27803                 :           0 :                     tree _q40 = gimple_call_arg (_c1, 0);
   27804                 :           0 :                     _q40 = do_valueize (valueize, _q40);
   27805                 :           0 :                     tree _q41 = gimple_call_arg (_c1, 1);
   27806                 :           0 :                     _q41 = do_valueize (valueize, _q41);
   27807                 :           0 :                     tree _q42 = gimple_call_arg (_c1, 2);
   27808                 :           0 :                     _q42 = do_valueize (valueize, _q42);
   27809                 :           0 :                     tree _q43 = gimple_call_arg (_c1, 3);
   27810                 :           0 :                     _q43 = do_valueize (valueize, _q43);
   27811                 :           0 :                     tree _q44 = gimple_call_arg (_c1, 4);
   27812                 :           0 :                     _q44 = do_valueize (valueize, _q44);
   27813                 :           0 :                     tree _q45 = gimple_call_arg (_c1, 5);
   27814                 :           0 :                     _q45 = do_valueize (valueize, _q45);
   27815                 :           0 :                     {
   27816                 :           0 :                       tree captures[8] ATTRIBUTE_UNUSED = { _p0, _p1, _q40, _q41, _q42, _q43, _q44, _q45 };
   27817                 :           0 :                       if (gimple_simplify_589 (res_op, seq, valueize, type, captures, CFN_COND_LEN_DIV))
   27818                 :           0 :                         return true;
   27819                 :             :                     }
   27820                 :             :                   }
   27821                 :             :                 break;
   27822                 :           0 :               case CFN_COND_LEN_IOR:
   27823                 :           0 :                 if (gimple_call_num_args (_c1) == 6)
   27824                 :             :                   {
   27825                 :           0 :                     tree _q40 = gimple_call_arg (_c1, 0);
   27826                 :           0 :                     _q40 = do_valueize (valueize, _q40);
   27827                 :           0 :                     tree _q41 = gimple_call_arg (_c1, 1);
   27828                 :           0 :                     _q41 = do_valueize (valueize, _q41);
   27829                 :           0 :                     tree _q42 = gimple_call_arg (_c1, 2);
   27830                 :           0 :                     _q42 = do_valueize (valueize, _q42);
   27831                 :           0 :                     tree _q43 = gimple_call_arg (_c1, 3);
   27832                 :           0 :                     _q43 = do_valueize (valueize, _q43);
   27833                 :           0 :                     tree _q44 = gimple_call_arg (_c1, 4);
   27834                 :           0 :                     _q44 = do_valueize (valueize, _q44);
   27835                 :           0 :                     tree _q45 = gimple_call_arg (_c1, 5);
   27836                 :           0 :                     _q45 = do_valueize (valueize, _q45);
   27837                 :           0 :                     if (tree_swap_operands_p (_q41, _q42))
   27838                 :           0 :                       std::swap (_q41, _q42);
   27839                 :           0 :                     {
   27840                 :           0 :                       tree captures[8] ATTRIBUTE_UNUSED = { _p0, _p1, _q40, _q41, _q42, _q43, _q44, _q45 };
   27841                 :           0 :                       if (gimple_simplify_589 (res_op, seq, valueize, type, captures, CFN_COND_LEN_IOR))
   27842                 :           0 :                         return true;
   27843                 :             :                     }
   27844                 :             :                   }
   27845                 :             :                 break;
   27846                 :           0 :               case CFN_COND_LEN_MAX:
   27847                 :           0 :                 if (gimple_call_num_args (_c1) == 6)
   27848                 :             :                   {
   27849                 :           0 :                     tree _q40 = gimple_call_arg (_c1, 0);
   27850                 :           0 :                     _q40 = do_valueize (valueize, _q40);
   27851                 :           0 :                     tree _q41 = gimple_call_arg (_c1, 1);
   27852                 :           0 :                     _q41 = do_valueize (valueize, _q41);
   27853                 :           0 :                     tree _q42 = gimple_call_arg (_c1, 2);
   27854                 :           0 :                     _q42 = do_valueize (valueize, _q42);
   27855                 :           0 :                     tree _q43 = gimple_call_arg (_c1, 3);
   27856                 :           0 :                     _q43 = do_valueize (valueize, _q43);
   27857                 :           0 :                     tree _q44 = gimple_call_arg (_c1, 4);
   27858                 :           0 :                     _q44 = do_valueize (valueize, _q44);
   27859                 :           0 :                     tree _q45 = gimple_call_arg (_c1, 5);
   27860                 :           0 :                     _q45 = do_valueize (valueize, _q45);
   27861                 :           0 :                     if (tree_swap_operands_p (_q41, _q42))
   27862                 :           0 :                       std::swap (_q41, _q42);
   27863                 :           0 :                     {
   27864                 :           0 :                       tree captures[8] ATTRIBUTE_UNUSED = { _p0, _p1, _q40, _q41, _q42, _q43, _q44, _q45 };
   27865                 :           0 :                       if (gimple_simplify_589 (res_op, seq, valueize, type, captures, CFN_COND_LEN_MAX))
   27866                 :           0 :                         return true;
   27867                 :             :                     }
   27868                 :             :                   }
   27869                 :             :                 break;
   27870                 :           0 :               case CFN_COND_LEN_MIN:
   27871                 :           0 :                 if (gimple_call_num_args (_c1) == 6)
   27872                 :             :                   {
   27873                 :           0 :                     tree _q40 = gimple_call_arg (_c1, 0);
   27874                 :           0 :                     _q40 = do_valueize (valueize, _q40);
   27875                 :           0 :                     tree _q41 = gimple_call_arg (_c1, 1);
   27876                 :           0 :                     _q41 = do_valueize (valueize, _q41);
   27877                 :           0 :                     tree _q42 = gimple_call_arg (_c1, 2);
   27878                 :           0 :                     _q42 = do_valueize (valueize, _q42);
   27879                 :           0 :                     tree _q43 = gimple_call_arg (_c1, 3);
   27880                 :           0 :                     _q43 = do_valueize (valueize, _q43);
   27881                 :           0 :                     tree _q44 = gimple_call_arg (_c1, 4);
   27882                 :           0 :                     _q44 = do_valueize (valueize, _q44);
   27883                 :           0 :                     tree _q45 = gimple_call_arg (_c1, 5);
   27884                 :           0 :                     _q45 = do_valueize (valueize, _q45);
   27885                 :           0 :                     if (tree_swap_operands_p (_q41, _q42))
   27886                 :           0 :                       std::swap (_q41, _q42);
   27887                 :           0 :                     {
   27888                 :           0 :                       tree captures[8] ATTRIBUTE_UNUSED = { _p0, _p1, _q40, _q41, _q42, _q43, _q44, _q45 };
   27889                 :           0 :                       if (gimple_simplify_589 (res_op, seq, valueize, type, captures, CFN_COND_LEN_MIN))
   27890                 :           0 :                         return true;
   27891                 :             :                     }
   27892                 :             :                   }
   27893                 :             :                 break;
   27894                 :           0 :               case CFN_COND_LEN_MOD:
   27895                 :           0 :                 if (gimple_call_num_args (_c1) == 6)
   27896                 :             :                   {
   27897                 :           0 :                     tree _q40 = gimple_call_arg (_c1, 0);
   27898                 :           0 :                     _q40 = do_valueize (valueize, _q40);
   27899                 :           0 :                     tree _q41 = gimple_call_arg (_c1, 1);
   27900                 :           0 :                     _q41 = do_valueize (valueize, _q41);
   27901                 :           0 :                     tree _q42 = gimple_call_arg (_c1, 2);
   27902                 :           0 :                     _q42 = do_valueize (valueize, _q42);
   27903                 :           0 :                     tree _q43 = gimple_call_arg (_c1, 3);
   27904                 :           0 :                     _q43 = do_valueize (valueize, _q43);
   27905                 :           0 :                     tree _q44 = gimple_call_arg (_c1, 4);
   27906                 :           0 :                     _q44 = do_valueize (valueize, _q44);
   27907                 :           0 :                     tree _q45 = gimple_call_arg (_c1, 5);
   27908                 :           0 :                     _q45 = do_valueize (valueize, _q45);
   27909                 :           0 :                     {
   27910                 :           0 :                       tree captures[8] ATTRIBUTE_UNUSED = { _p0, _p1, _q40, _q41, _q42, _q43, _q44, _q45 };
   27911                 :           0 :                       if (gimple_simplify_589 (res_op, seq, valueize, type, captures, CFN_COND_LEN_MOD))
   27912                 :           0 :                         return true;
   27913                 :             :                     }
   27914                 :             :                   }
   27915                 :             :                 break;
   27916                 :           0 :               case CFN_COND_LEN_MUL:
   27917                 :           0 :                 if (gimple_call_num_args (_c1) == 6)
   27918                 :             :                   {
   27919                 :           0 :                     tree _q40 = gimple_call_arg (_c1, 0);
   27920                 :           0 :                     _q40 = do_valueize (valueize, _q40);
   27921                 :           0 :                     tree _q41 = gimple_call_arg (_c1, 1);
   27922                 :           0 :                     _q41 = do_valueize (valueize, _q41);
   27923                 :           0 :                     tree _q42 = gimple_call_arg (_c1, 2);
   27924                 :           0 :                     _q42 = do_valueize (valueize, _q42);
   27925                 :           0 :                     tree _q43 = gimple_call_arg (_c1, 3);
   27926                 :           0 :                     _q43 = do_valueize (valueize, _q43);
   27927                 :           0 :                     tree _q44 = gimple_call_arg (_c1, 4);
   27928                 :           0 :                     _q44 = do_valueize (valueize, _q44);
   27929                 :           0 :                     tree _q45 = gimple_call_arg (_c1, 5);
   27930                 :           0 :                     _q45 = do_valueize (valueize, _q45);
   27931                 :           0 :                     if (tree_swap_operands_p (_q41, _q42))
   27932                 :           0 :                       std::swap (_q41, _q42);
   27933                 :           0 :                     {
   27934                 :           0 :                       tree captures[8] ATTRIBUTE_UNUSED = { _p0, _p1, _q40, _q41, _q42, _q43, _q44, _q45 };
   27935                 :           0 :                       if (gimple_simplify_589 (res_op, seq, valueize, type, captures, CFN_COND_LEN_MUL))
   27936                 :           0 :                         return true;
   27937                 :             :                     }
   27938                 :             :                   }
   27939                 :             :                 break;
   27940                 :           0 :               case CFN_COND_LEN_SHL:
   27941                 :           0 :                 if (gimple_call_num_args (_c1) == 6)
   27942                 :             :                   {
   27943                 :           0 :                     tree _q40 = gimple_call_arg (_c1, 0);
   27944                 :           0 :                     _q40 = do_valueize (valueize, _q40);
   27945                 :           0 :                     tree _q41 = gimple_call_arg (_c1, 1);
   27946                 :           0 :                     _q41 = do_valueize (valueize, _q41);
   27947                 :           0 :                     tree _q42 = gimple_call_arg (_c1, 2);
   27948                 :           0 :                     _q42 = do_valueize (valueize, _q42);
   27949                 :           0 :                     tree _q43 = gimple_call_arg (_c1, 3);
   27950                 :           0 :                     _q43 = do_valueize (valueize, _q43);
   27951                 :           0 :                     tree _q44 = gimple_call_arg (_c1, 4);
   27952                 :           0 :                     _q44 = do_valueize (valueize, _q44);
   27953                 :           0 :                     tree _q45 = gimple_call_arg (_c1, 5);
   27954                 :           0 :                     _q45 = do_valueize (valueize, _q45);
   27955                 :           0 :                     {
   27956                 :           0 :                       tree captures[8] ATTRIBUTE_UNUSED = { _p0, _p1, _q40, _q41, _q42, _q43, _q44, _q45 };
   27957                 :           0 :                       if (gimple_simplify_589 (res_op, seq, valueize, type, captures, CFN_COND_LEN_SHL))
   27958                 :           0 :                         return true;
   27959                 :             :                     }
   27960                 :             :                   }
   27961                 :             :                 break;
   27962                 :           0 :               case CFN_COND_LEN_SHR:
   27963                 :           0 :                 if (gimple_call_num_args (_c1) == 6)
   27964                 :             :                   {
   27965                 :           0 :                     tree _q40 = gimple_call_arg (_c1, 0);
   27966                 :           0 :                     _q40 = do_valueize (valueize, _q40);
   27967                 :           0 :                     tree _q41 = gimple_call_arg (_c1, 1);
   27968                 :           0 :                     _q41 = do_valueize (valueize, _q41);
   27969                 :           0 :                     tree _q42 = gimple_call_arg (_c1, 2);
   27970                 :           0 :                     _q42 = do_valueize (valueize, _q42);
   27971                 :           0 :                     tree _q43 = gimple_call_arg (_c1, 3);
   27972                 :           0 :                     _q43 = do_valueize (valueize, _q43);
   27973                 :           0 :                     tree _q44 = gimple_call_arg (_c1, 4);
   27974                 :           0 :                     _q44 = do_valueize (valueize, _q44);
   27975                 :           0 :                     tree _q45 = gimple_call_arg (_c1, 5);
   27976                 :           0 :                     _q45 = do_valueize (valueize, _q45);
   27977                 :           0 :                     {
   27978                 :           0 :                       tree captures[8] ATTRIBUTE_UNUSED = { _p0, _p1, _q40, _q41, _q42, _q43, _q44, _q45 };
   27979                 :           0 :                       if (gimple_simplify_589 (res_op, seq, valueize, type, captures, CFN_COND_LEN_SHR))
   27980                 :           0 :                         return true;
   27981                 :             :                     }
   27982                 :             :                   }
   27983                 :             :                 break;
   27984                 :           0 :               case CFN_COND_LEN_SUB:
   27985                 :           0 :                 if (gimple_call_num_args (_c1) == 6)
   27986                 :             :                   {
   27987                 :           0 :                     tree _q40 = gimple_call_arg (_c1, 0);
   27988                 :           0 :                     _q40 = do_valueize (valueize, _q40);
   27989                 :           0 :                     tree _q41 = gimple_call_arg (_c1, 1);
   27990                 :           0 :                     _q41 = do_valueize (valueize, _q41);
   27991                 :           0 :                     tree _q42 = gimple_call_arg (_c1, 2);
   27992                 :           0 :                     _q42 = do_valueize (valueize, _q42);
   27993                 :           0 :                     tree _q43 = gimple_call_arg (_c1, 3);
   27994                 :           0 :                     _q43 = do_valueize (valueize, _q43);
   27995                 :           0 :                     tree _q44 = gimple_call_arg (_c1, 4);
   27996                 :           0 :                     _q44 = do_valueize (valueize, _q44);
   27997                 :           0 :                     tree _q45 = gimple_call_arg (_c1, 5);
   27998                 :           0 :                     _q45 = do_valueize (valueize, _q45);
   27999                 :           0 :                     {
   28000                 :           0 :                       tree captures[8] ATTRIBUTE_UNUSED = { _p0, _p1, _q40, _q41, _q42, _q43, _q44, _q45 };
   28001                 :           0 :                       if (gimple_simplify_589 (res_op, seq, valueize, type, captures, CFN_COND_LEN_SUB))
   28002                 :           0 :                         return true;
   28003                 :             :                     }
   28004                 :             :                   }
   28005                 :             :                 break;
   28006                 :           0 :               case CFN_COND_LEN_XOR:
   28007                 :           0 :                 if (gimple_call_num_args (_c1) == 6)
   28008                 :             :                   {
   28009                 :           0 :                     tree _q40 = gimple_call_arg (_c1, 0);
   28010                 :           0 :                     _q40 = do_valueize (valueize, _q40);
   28011                 :           0 :                     tree _q41 = gimple_call_arg (_c1, 1);
   28012                 :           0 :                     _q41 = do_valueize (valueize, _q41);
   28013                 :           0 :                     tree _q42 = gimple_call_arg (_c1, 2);
   28014                 :           0 :                     _q42 = do_valueize (valueize, _q42);
   28015                 :           0 :                     tree _q43 = gimple_call_arg (_c1, 3);
   28016                 :           0 :                     _q43 = do_valueize (valueize, _q43);
   28017                 :           0 :                     tree _q44 = gimple_call_arg (_c1, 4);
   28018                 :           0 :                     _q44 = do_valueize (valueize, _q44);
   28019                 :           0 :                     tree _q45 = gimple_call_arg (_c1, 5);
   28020                 :           0 :                     _q45 = do_valueize (valueize, _q45);
   28021                 :           0 :                     if (tree_swap_operands_p (_q41, _q42))
   28022                 :           0 :                       std::swap (_q41, _q42);
   28023                 :           0 :                     {
   28024                 :           0 :                       tree captures[8] ATTRIBUTE_UNUSED = { _p0, _p1, _q40, _q41, _q42, _q43, _q44, _q45 };
   28025                 :           0 :                       if (gimple_simplify_589 (res_op, seq, valueize, type, captures, CFN_COND_LEN_XOR))
   28026                 :           0 :                         return true;
   28027                 :             :                     }
   28028                 :             :                   }
   28029                 :             :                 break;
   28030                 :           0 :               case CFN_COND_LEN_FMAX:
   28031                 :           0 :                 if (gimple_call_num_args (_c1) == 6)
   28032                 :             :                   {
   28033                 :           0 :                     tree _q40 = gimple_call_arg (_c1, 0);
   28034                 :           0 :                     _q40 = do_valueize (valueize, _q40);
   28035                 :           0 :                     tree _q41 = gimple_call_arg (_c1, 1);
   28036                 :           0 :                     _q41 = do_valueize (valueize, _q41);
   28037                 :           0 :                     tree _q42 = gimple_call_arg (_c1, 2);
   28038                 :           0 :                     _q42 = do_valueize (valueize, _q42);
   28039                 :           0 :                     tree _q43 = gimple_call_arg (_c1, 3);
   28040                 :           0 :                     _q43 = do_valueize (valueize, _q43);
   28041                 :           0 :                     tree _q44 = gimple_call_arg (_c1, 4);
   28042                 :           0 :                     _q44 = do_valueize (valueize, _q44);
   28043                 :           0 :                     tree _q45 = gimple_call_arg (_c1, 5);
   28044                 :           0 :                     _q45 = do_valueize (valueize, _q45);
   28045                 :           0 :                     if (tree_swap_operands_p (_q41, _q42))
   28046                 :           0 :                       std::swap (_q41, _q42);
   28047                 :           0 :                     {
   28048                 :           0 :                       tree captures[8] ATTRIBUTE_UNUSED = { _p0, _p1, _q40, _q41, _q42, _q43, _q44, _q45 };
   28049                 :           0 :                       if (gimple_simplify_589 (res_op, seq, valueize, type, captures, CFN_COND_LEN_FMAX))
   28050                 :           0 :                         return true;
   28051                 :             :                     }
   28052                 :             :                   }
   28053                 :             :                 break;
   28054                 :           0 :               case CFN_COND_LEN_FMIN:
   28055                 :           0 :                 if (gimple_call_num_args (_c1) == 6)
   28056                 :             :                   {
   28057                 :           0 :                     tree _q40 = gimple_call_arg (_c1, 0);
   28058                 :           0 :                     _q40 = do_valueize (valueize, _q40);
   28059                 :           0 :                     tree _q41 = gimple_call_arg (_c1, 1);
   28060                 :           0 :                     _q41 = do_valueize (valueize, _q41);
   28061                 :           0 :                     tree _q42 = gimple_call_arg (_c1, 2);
   28062                 :           0 :                     _q42 = do_valueize (valueize, _q42);
   28063                 :           0 :                     tree _q43 = gimple_call_arg (_c1, 3);
   28064                 :           0 :                     _q43 = do_valueize (valueize, _q43);
   28065                 :           0 :                     tree _q44 = gimple_call_arg (_c1, 4);
   28066                 :           0 :                     _q44 = do_valueize (valueize, _q44);
   28067                 :           0 :                     tree _q45 = gimple_call_arg (_c1, 5);
   28068                 :           0 :                     _q45 = do_valueize (valueize, _q45);
   28069                 :           0 :                     if (tree_swap_operands_p (_q41, _q42))
   28070                 :           0 :                       std::swap (_q41, _q42);
   28071                 :           0 :                     {
   28072                 :           0 :                       tree captures[8] ATTRIBUTE_UNUSED = { _p0, _p1, _q40, _q41, _q42, _q43, _q44, _q45 };
   28073                 :           0 :                       if (gimple_simplify_589 (res_op, seq, valueize, type, captures, CFN_COND_LEN_FMIN))
   28074                 :           0 :                         return true;
   28075                 :             :                     }
   28076                 :             :                   }
   28077                 :             :                 break;
   28078                 :           0 :               case CFN_COND_LEN_RDIV:
   28079                 :           0 :                 if (gimple_call_num_args (_c1) == 6)
   28080                 :             :                   {
   28081                 :           0 :                     tree _q40 = gimple_call_arg (_c1, 0);
   28082                 :           0 :                     _q40 = do_valueize (valueize, _q40);
   28083                 :           0 :                     tree _q41 = gimple_call_arg (_c1, 1);
   28084                 :           0 :                     _q41 = do_valueize (valueize, _q41);
   28085                 :           0 :                     tree _q42 = gimple_call_arg (_c1, 2);
   28086                 :           0 :                     _q42 = do_valueize (valueize, _q42);
   28087                 :           0 :                     tree _q43 = gimple_call_arg (_c1, 3);
   28088                 :           0 :                     _q43 = do_valueize (valueize, _q43);
   28089                 :           0 :                     tree _q44 = gimple_call_arg (_c1, 4);
   28090                 :           0 :                     _q44 = do_valueize (valueize, _q44);
   28091                 :           0 :                     tree _q45 = gimple_call_arg (_c1, 5);
   28092                 :           0 :                     _q45 = do_valueize (valueize, _q45);
   28093                 :           0 :                     {
   28094                 :           0 :                       tree captures[8] ATTRIBUTE_UNUSED = { _p0, _p1, _q40, _q41, _q42, _q43, _q44, _q45 };
   28095                 :           0 :                       if (gimple_simplify_589 (res_op, seq, valueize, type, captures, CFN_COND_LEN_RDIV))
   28096                 :           0 :                         return true;
   28097                 :             :                     }
   28098                 :             :                   }
   28099                 :             :                 break;
   28100                 :           0 :               case CFN_COND_LEN_COPYSIGN:
   28101                 :           0 :                 if (gimple_call_num_args (_c1) == 6)
   28102                 :             :                   {
   28103                 :           0 :                     tree _q40 = gimple_call_arg (_c1, 0);
   28104                 :           0 :                     _q40 = do_valueize (valueize, _q40);
   28105                 :           0 :                     tree _q41 = gimple_call_arg (_c1, 1);
   28106                 :           0 :                     _q41 = do_valueize (valueize, _q41);
   28107                 :           0 :                     tree _q42 = gimple_call_arg (_c1, 2);
   28108                 :           0 :                     _q42 = do_valueize (valueize, _q42);
   28109                 :           0 :                     tree _q43 = gimple_call_arg (_c1, 3);
   28110                 :           0 :                     _q43 = do_valueize (valueize, _q43);
   28111                 :           0 :                     tree _q44 = gimple_call_arg (_c1, 4);
   28112                 :           0 :                     _q44 = do_valueize (valueize, _q44);
   28113                 :           0 :                     tree _q45 = gimple_call_arg (_c1, 5);
   28114                 :           0 :                     _q45 = do_valueize (valueize, _q45);
   28115                 :           0 :                     {
   28116                 :           0 :                       tree captures[8] ATTRIBUTE_UNUSED = { _p0, _p1, _q40, _q41, _q42, _q43, _q44, _q45 };
   28117                 :           0 :                       if (gimple_simplify_589 (res_op, seq, valueize, type, captures, CFN_COND_LEN_COPYSIGN))
   28118                 :           0 :                         return true;
   28119                 :             :                     }
   28120                 :             :                   }
   28121                 :             :                 break;
   28122                 :             :               default:;
   28123                 :             :               }
   28124                 :             :         }
   28125                 :             :       break;
   28126                 :      149004 :     default:;
   28127                 :             :     }
   28128                 :      149004 :   switch (TREE_CODE (_p1))
   28129                 :             :     {
   28130                 :       23741 :     case SSA_NAME:
   28131                 :       23741 :       if (gimple *_d1 = get_def (valueize, _p1))
   28132                 :             :         {
   28133                 :       21377 :           if (gassign *_a1 = dyn_cast <gassign *> (_d1))
   28134                 :       20071 :             switch (gimple_assign_rhs_code (_a1))
   28135                 :             :               {
   28136                 :        1998 :               case VIEW_CONVERT_EXPR:
   28137                 :        1998 :                 {
   28138                 :        1998 :                   tree _q30 = TREE_OPERAND (gimple_assign_rhs1 (_a1), 0);
   28139                 :        1998 :                   if ((TREE_CODE (_q30) == SSA_NAME
   28140                 :        1998 :                        || is_gimple_min_invariant (_q30)))
   28141                 :             :                     {
   28142                 :        1998 :                       _q30 = do_valueize (valueize, _q30);
   28143                 :        1998 :                       switch (TREE_CODE (_q30))
   28144                 :             :                         {
   28145                 :        1998 :                         case SSA_NAME:
   28146                 :        1998 :                           if (gimple *_d2 = get_def (valueize, _q30))
   28147                 :             :                             {
   28148                 :        1975 :                               if (gcall *_c2 = dyn_cast <gcall *> (_d2))
   28149                 :           0 :                                 switch (gimple_call_combined_fn (_c2))
   28150                 :             :                                   {
   28151                 :           0 :                                   case CFN_COND_LEN_FMA:
   28152                 :           0 :                                     if (gimple_call_num_args (_c2) == 7)
   28153                 :             :                                       {
   28154                 :           0 :                                         tree _q40 = gimple_call_arg (_c2, 0);
   28155                 :           0 :                                         _q40 = do_valueize (valueize, _q40);
   28156                 :           0 :                                         tree _q41 = gimple_call_arg (_c2, 1);
   28157                 :           0 :                                         _q41 = do_valueize (valueize, _q41);
   28158                 :           0 :                                         tree _q42 = gimple_call_arg (_c2, 2);
   28159                 :           0 :                                         _q42 = do_valueize (valueize, _q42);
   28160                 :           0 :                                         tree _q43 = gimple_call_arg (_c2, 3);
   28161                 :           0 :                                         _q43 = do_valueize (valueize, _q43);
   28162                 :           0 :                                         tree _q44 = gimple_call_arg (_c2, 4);
   28163                 :           0 :                                         _q44 = do_valueize (valueize, _q44);
   28164                 :           0 :                                         tree _q45 = gimple_call_arg (_c2, 5);
   28165                 :           0 :                                         _q45 = do_valueize (valueize, _q45);
   28166                 :           0 :                                         tree _q46 = gimple_call_arg (_c2, 6);
   28167                 :           0 :                                         _q46 = do_valueize (valueize, _q46);
   28168                 :           0 :                                         if (tree_swap_operands_p (_q41, _q42))
   28169                 :           0 :                                           std::swap (_q41, _q42);
   28170                 :           0 :                                         if ((_q40 == _p0 && ! TREE_SIDE_EFFECTS (_q40)) || (operand_equal_p (_q40, _p0, 0) && types_match (_q40, _p0)))
   28171                 :             :                                           {
   28172                 :           0 :                                             {
   28173                 :           0 :                                               tree captures[8] ATTRIBUTE_UNUSED = { _p0, _q41, _q42, _q43, _q44, _q45, _q46, _p2 };
   28174                 :           0 :                                               if (gimple_simplify_590 (res_op, seq, valueize, type, captures, CFN_COND_LEN_FMA))
   28175                 :           0 :                                                 return true;
   28176                 :             :                                             }
   28177                 :             :                                           }
   28178                 :             :                                       }
   28179                 :             :                                     break;
   28180                 :           0 :                                   case CFN_COND_LEN_FMS:
   28181                 :           0 :                                     if (gimple_call_num_args (_c2) == 7)
   28182                 :             :                                       {
   28183                 :           0 :                                         tree _q40 = gimple_call_arg (_c2, 0);
   28184                 :           0 :                                         _q40 = do_valueize (valueize, _q40);
   28185                 :           0 :                                         tree _q41 = gimple_call_arg (_c2, 1);
   28186                 :           0 :                                         _q41 = do_valueize (valueize, _q41);
   28187                 :           0 :                                         tree _q42 = gimple_call_arg (_c2, 2);
   28188                 :           0 :                                         _q42 = do_valueize (valueize, _q42);
   28189                 :           0 :                                         tree _q43 = gimple_call_arg (_c2, 3);
   28190                 :           0 :                                         _q43 = do_valueize (valueize, _q43);
   28191                 :           0 :                                         tree _q44 = gimple_call_arg (_c2, 4);
   28192                 :           0 :                                         _q44 = do_valueize (valueize, _q44);
   28193                 :           0 :                                         tree _q45 = gimple_call_arg (_c2, 5);
   28194                 :           0 :                                         _q45 = do_valueize (valueize, _q45);
   28195                 :           0 :                                         tree _q46 = gimple_call_arg (_c2, 6);
   28196                 :           0 :                                         _q46 = do_valueize (valueize, _q46);
   28197                 :           0 :                                         if (tree_swap_operands_p (_q41, _q42))
   28198                 :           0 :                                           std::swap (_q41, _q42);
   28199                 :           0 :                                         if ((_q40 == _p0 && ! TREE_SIDE_EFFECTS (_q40)) || (operand_equal_p (_q40, _p0, 0) && types_match (_q40, _p0)))
   28200                 :             :                                           {
   28201                 :           0 :                                             {
   28202                 :           0 :                                               tree captures[8] ATTRIBUTE_UNUSED = { _p0, _q41, _q42, _q43, _q44, _q45, _q46, _p2 };
   28203                 :           0 :                                               if (gimple_simplify_590 (res_op, seq, valueize, type, captures, CFN_COND_LEN_FMS))
   28204                 :           0 :                                                 return true;
   28205                 :             :                                             }
   28206                 :             :                                           }
   28207                 :             :                                       }
   28208                 :             :                                     break;
   28209                 :           0 :                                   case CFN_COND_LEN_FNMA:
   28210                 :           0 :                                     if (gimple_call_num_args (_c2) == 7)
   28211                 :             :                                       {
   28212                 :           0 :                                         tree _q40 = gimple_call_arg (_c2, 0);
   28213                 :           0 :                                         _q40 = do_valueize (valueize, _q40);
   28214                 :           0 :                                         tree _q41 = gimple_call_arg (_c2, 1);
   28215                 :           0 :                                         _q41 = do_valueize (valueize, _q41);
   28216                 :           0 :                                         tree _q42 = gimple_call_arg (_c2, 2);
   28217                 :           0 :                                         _q42 = do_valueize (valueize, _q42);
   28218                 :           0 :                                         tree _q43 = gimple_call_arg (_c2, 3);
   28219                 :           0 :                                         _q43 = do_valueize (valueize, _q43);
   28220                 :           0 :                                         tree _q44 = gimple_call_arg (_c2, 4);
   28221                 :           0 :                                         _q44 = do_valueize (valueize, _q44);
   28222                 :           0 :                                         tree _q45 = gimple_call_arg (_c2, 5);
   28223                 :           0 :                                         _q45 = do_valueize (valueize, _q45);
   28224                 :           0 :                                         tree _q46 = gimple_call_arg (_c2, 6);
   28225                 :           0 :                                         _q46 = do_valueize (valueize, _q46);
   28226                 :           0 :                                         if (tree_swap_operands_p (_q41, _q42))
   28227                 :           0 :                                           std::swap (_q41, _q42);
   28228                 :           0 :                                         if ((_q40 == _p0 && ! TREE_SIDE_EFFECTS (_q40)) || (operand_equal_p (_q40, _p0, 0) && types_match (_q40, _p0)))
   28229                 :             :                                           {
   28230                 :           0 :                                             {
   28231                 :           0 :                                               tree captures[8] ATTRIBUTE_UNUSED = { _p0, _q41, _q42, _q43, _q44, _q45, _q46, _p2 };
   28232                 :           0 :                                               if (gimple_simplify_590 (res_op, seq, valueize, type, captures, CFN_COND_LEN_FNMA))
   28233                 :           0 :                                                 return true;
   28234                 :             :                                             }
   28235                 :             :                                           }
   28236                 :             :                                       }
   28237                 :             :                                     break;
   28238                 :           0 :                                   case CFN_COND_LEN_FNMS:
   28239                 :           0 :                                     if (gimple_call_num_args (_c2) == 7)
   28240                 :             :                                       {
   28241                 :           0 :                                         tree _q40 = gimple_call_arg (_c2, 0);
   28242                 :           0 :                                         _q40 = do_valueize (valueize, _q40);
   28243                 :           0 :                                         tree _q41 = gimple_call_arg (_c2, 1);
   28244                 :           0 :                                         _q41 = do_valueize (valueize, _q41);
   28245                 :           0 :                                         tree _q42 = gimple_call_arg (_c2, 2);
   28246                 :           0 :                                         _q42 = do_valueize (valueize, _q42);
   28247                 :           0 :                                         tree _q43 = gimple_call_arg (_c2, 3);
   28248                 :           0 :                                         _q43 = do_valueize (valueize, _q43);
   28249                 :           0 :                                         tree _q44 = gimple_call_arg (_c2, 4);
   28250                 :           0 :                                         _q44 = do_valueize (valueize, _q44);
   28251                 :           0 :                                         tree _q45 = gimple_call_arg (_c2, 5);
   28252                 :           0 :                                         _q45 = do_valueize (valueize, _q45);
   28253                 :           0 :                                         tree _q46 = gimple_call_arg (_c2, 6);
   28254                 :           0 :                                         _q46 = do_valueize (valueize, _q46);
   28255                 :           0 :                                         if (tree_swap_operands_p (_q41, _q42))
   28256                 :           0 :                                           std::swap (_q41, _q42);
   28257                 :           0 :                                         if ((_q40 == _p0 && ! TREE_SIDE_EFFECTS (_q40)) || (operand_equal_p (_q40, _p0, 0) && types_match (_q40, _p0)))
   28258                 :             :                                           {
   28259                 :           0 :                                             {
   28260                 :           0 :                                               tree captures[8] ATTRIBUTE_UNUSED = { _p0, _q41, _q42, _q43, _q44, _q45, _q46, _p2 };
   28261                 :           0 :                                               if (gimple_simplify_590 (res_op, seq, valueize, type, captures, CFN_COND_LEN_FNMS))
   28262                 :           0 :                                                 return true;
   28263                 :             :                                             }
   28264                 :             :                                           }
   28265                 :             :                                       }
   28266                 :             :                                     break;
   28267                 :             :                                   default:;
   28268                 :             :                                   }
   28269                 :             :                             }
   28270                 :             :                           break;
   28271                 :             :                         default:;
   28272                 :             :                         }
   28273                 :             :                     }
   28274                 :             :                   break;
   28275                 :             :                 }
   28276                 :             :               default:;
   28277                 :             :               }
   28278                 :        9710 :           else if (gcall *_c1 = dyn_cast <gcall *> (_d1))
   28279                 :         875 :             switch (gimple_call_combined_fn (_c1))
   28280                 :             :               {
   28281                 :           0 :               case CFN_COND_LEN_FMA:
   28282                 :           0 :                 if (gimple_call_num_args (_c1) == 7)
   28283                 :             :                   {
   28284                 :           0 :                     tree _q30 = gimple_call_arg (_c1, 0);
   28285                 :           0 :                     _q30 = do_valueize (valueize, _q30);
   28286                 :           0 :                     tree _q31 = gimple_call_arg (_c1, 1);
   28287                 :           0 :                     _q31 = do_valueize (valueize, _q31);
   28288                 :           0 :                     tree _q32 = gimple_call_arg (_c1, 2);
   28289                 :           0 :                     _q32 = do_valueize (valueize, _q32);
   28290                 :           0 :                     tree _q33 = gimple_call_arg (_c1, 3);
   28291                 :           0 :                     _q33 = do_valueize (valueize, _q33);
   28292                 :           0 :                     tree _q34 = gimple_call_arg (_c1, 4);
   28293                 :           0 :                     _q34 = do_valueize (valueize, _q34);
   28294                 :           0 :                     tree _q35 = gimple_call_arg (_c1, 5);
   28295                 :           0 :                     _q35 = do_valueize (valueize, _q35);
   28296                 :           0 :                     tree _q36 = gimple_call_arg (_c1, 6);
   28297                 :           0 :                     _q36 = do_valueize (valueize, _q36);
   28298                 :           0 :                     if (tree_swap_operands_p (_q31, _q32))
   28299                 :           0 :                       std::swap (_q31, _q32);
   28300                 :           0 :                     if ((_q30 == _p0 && ! TREE_SIDE_EFFECTS (_q30)) || (operand_equal_p (_q30, _p0, 0) && types_match (_q30, _p0)))
   28301                 :             :                       {
   28302                 :           0 :                         {
   28303                 :           0 :                           tree captures[8] ATTRIBUTE_UNUSED = { _p0, _q31, _q32, _q33, _q34, _q35, _q36, _p2 };
   28304                 :           0 :                           if (gimple_simplify_590 (res_op, seq, valueize, type, captures, CFN_COND_LEN_FMA))
   28305                 :           0 :                             return true;
   28306                 :             :                         }
   28307                 :             :                       }
   28308                 :             :                   }
   28309                 :             :                 break;
   28310                 :           0 :               case CFN_COND_LEN_FMS:
   28311                 :           0 :                 if (gimple_call_num_args (_c1) == 7)
   28312                 :             :                   {
   28313                 :           0 :                     tree _q30 = gimple_call_arg (_c1, 0);
   28314                 :           0 :                     _q30 = do_valueize (valueize, _q30);
   28315                 :           0 :                     tree _q31 = gimple_call_arg (_c1, 1);
   28316                 :           0 :                     _q31 = do_valueize (valueize, _q31);
   28317                 :           0 :                     tree _q32 = gimple_call_arg (_c1, 2);
   28318                 :           0 :                     _q32 = do_valueize (valueize, _q32);
   28319                 :           0 :                     tree _q33 = gimple_call_arg (_c1, 3);
   28320                 :           0 :                     _q33 = do_valueize (valueize, _q33);
   28321                 :           0 :                     tree _q34 = gimple_call_arg (_c1, 4);
   28322                 :           0 :                     _q34 = do_valueize (valueize, _q34);
   28323                 :           0 :                     tree _q35 = gimple_call_arg (_c1, 5);
   28324                 :           0 :                     _q35 = do_valueize (valueize, _q35);
   28325                 :           0 :                     tree _q36 = gimple_call_arg (_c1, 6);
   28326                 :           0 :                     _q36 = do_valueize (valueize, _q36);
   28327                 :           0 :                     if (tree_swap_operands_p (_q31, _q32))
   28328                 :           0 :                       std::swap (_q31, _q32);
   28329                 :           0 :                     if ((_q30 == _p0 && ! TREE_SIDE_EFFECTS (_q30)) || (operand_equal_p (_q30, _p0, 0) && types_match (_q30, _p0)))
   28330                 :             :                       {
   28331                 :           0 :                         {
   28332                 :           0 :                           tree captures[8] ATTRIBUTE_UNUSED = { _p0, _q31, _q32, _q33, _q34, _q35, _q36, _p2 };
   28333                 :           0 :                           if (gimple_simplify_590 (res_op, seq, valueize, type, captures, CFN_COND_LEN_FMS))
   28334                 :           0 :                             return true;
   28335                 :             :                         }
   28336                 :             :                       }
   28337                 :             :                   }
   28338                 :             :                 break;
   28339                 :           0 :               case CFN_COND_LEN_FNMA:
   28340                 :           0 :                 if (gimple_call_num_args (_c1) == 7)
   28341                 :             :                   {
   28342                 :           0 :                     tree _q30 = gimple_call_arg (_c1, 0);
   28343                 :           0 :                     _q30 = do_valueize (valueize, _q30);
   28344                 :           0 :                     tree _q31 = gimple_call_arg (_c1, 1);
   28345                 :           0 :                     _q31 = do_valueize (valueize, _q31);
   28346                 :           0 :                     tree _q32 = gimple_call_arg (_c1, 2);
   28347                 :           0 :                     _q32 = do_valueize (valueize, _q32);
   28348                 :           0 :                     tree _q33 = gimple_call_arg (_c1, 3);
   28349                 :           0 :                     _q33 = do_valueize (valueize, _q33);
   28350                 :           0 :                     tree _q34 = gimple_call_arg (_c1, 4);
   28351                 :           0 :                     _q34 = do_valueize (valueize, _q34);
   28352                 :           0 :                     tree _q35 = gimple_call_arg (_c1, 5);
   28353                 :           0 :                     _q35 = do_valueize (valueize, _q35);
   28354                 :           0 :                     tree _q36 = gimple_call_arg (_c1, 6);
   28355                 :           0 :                     _q36 = do_valueize (valueize, _q36);
   28356                 :           0 :                     if (tree_swap_operands_p (_q31, _q32))
   28357                 :           0 :                       std::swap (_q31, _q32);
   28358                 :           0 :                     if ((_q30 == _p0 && ! TREE_SIDE_EFFECTS (_q30)) || (operand_equal_p (_q30, _p0, 0) && types_match (_q30, _p0)))
   28359                 :             :                       {
   28360                 :           0 :                         {
   28361                 :           0 :                           tree captures[8] ATTRIBUTE_UNUSED = { _p0, _q31, _q32, _q33, _q34, _q35, _q36, _p2 };
   28362                 :           0 :                           if (gimple_simplify_590 (res_op, seq, valueize, type, captures, CFN_COND_LEN_FNMA))
   28363                 :           0 :                             return true;
   28364                 :             :                         }
   28365                 :             :                       }
   28366                 :             :                   }
   28367                 :             :                 break;
   28368                 :           0 :               case CFN_COND_LEN_FNMS:
   28369                 :           0 :                 if (gimple_call_num_args (_c1) == 7)
   28370                 :             :                   {
   28371                 :           0 :                     tree _q30 = gimple_call_arg (_c1, 0);
   28372                 :           0 :                     _q30 = do_valueize (valueize, _q30);
   28373                 :           0 :                     tree _q31 = gimple_call_arg (_c1, 1);
   28374                 :           0 :                     _q31 = do_valueize (valueize, _q31);
   28375                 :           0 :                     tree _q32 = gimple_call_arg (_c1, 2);
   28376                 :           0 :                     _q32 = do_valueize (valueize, _q32);
   28377                 :           0 :                     tree _q33 = gimple_call_arg (_c1, 3);
   28378                 :           0 :                     _q33 = do_valueize (valueize, _q33);
   28379                 :           0 :                     tree _q34 = gimple_call_arg (_c1, 4);
   28380                 :           0 :                     _q34 = do_valueize (valueize, _q34);
   28381                 :           0 :                     tree _q35 = gimple_call_arg (_c1, 5);
   28382                 :           0 :                     _q35 = do_valueize (valueize, _q35);
   28383                 :           0 :                     tree _q36 = gimple_call_arg (_c1, 6);
   28384                 :           0 :                     _q36 = do_valueize (valueize, _q36);
   28385                 :           0 :                     if (tree_swap_operands_p (_q31, _q32))
   28386                 :           0 :                       std::swap (_q31, _q32);
   28387                 :           0 :                     if ((_q30 == _p0 && ! TREE_SIDE_EFFECTS (_q30)) || (operand_equal_p (_q30, _p0, 0) && types_match (_q30, _p0)))
   28388                 :             :                       {
   28389                 :           0 :                         {
   28390                 :           0 :                           tree captures[8] ATTRIBUTE_UNUSED = { _p0, _q31, _q32, _q33, _q34, _q35, _q36, _p2 };
   28391                 :           0 :                           if (gimple_simplify_590 (res_op, seq, valueize, type, captures, CFN_COND_LEN_FNMS))
   28392                 :           0 :                             return true;
   28393                 :             :                         }
   28394                 :             :                       }
   28395                 :             :                   }
   28396                 :             :                 break;
   28397                 :             :               default:;
   28398                 :             :               }
   28399                 :             :         }
   28400                 :             :       break;
   28401                 :      149004 :     default:;
   28402                 :             :     }
   28403                 :      149004 :   switch (TREE_CODE (_p2))
   28404                 :             :     {
   28405                 :       23911 :     case SSA_NAME:
   28406                 :       23911 :       if (gimple *_d1 = get_def (valueize, _p2))
   28407                 :             :         {
   28408                 :       21999 :           if (gassign *_a1 = dyn_cast <gassign *> (_d1))
   28409                 :       20622 :             switch (gimple_assign_rhs_code (_a1))
   28410                 :             :               {
   28411                 :        2328 :               case VIEW_CONVERT_EXPR:
   28412                 :        2328 :                 {
   28413                 :        2328 :                   tree _q40 = TREE_OPERAND (gimple_assign_rhs1 (_a1), 0);
   28414                 :        2328 :                   if ((TREE_CODE (_q40) == SSA_NAME
   28415                 :        2328 :                        || is_gimple_min_invariant (_q40)))
   28416                 :             :                     {
   28417                 :        2328 :                       _q40 = do_valueize (valueize, _q40);
   28418                 :        2328 :                       switch (TREE_CODE (_q40))
   28419                 :             :                         {
   28420                 :        2328 :                         case SSA_NAME:
   28421                 :        2328 :                           if (gimple *_d2 = get_def (valueize, _q40))
   28422                 :             :                             {
   28423                 :        2279 :                               if (gcall *_c2 = dyn_cast <gcall *> (_d2))
   28424                 :         461 :                                 switch (gimple_call_combined_fn (_c2))
   28425                 :             :                                   {
   28426                 :           0 :                                   case CFN_COND_LEN_FMA:
   28427                 :           0 :                                     if (gimple_call_num_args (_c2) == 7)
   28428                 :             :                                       {
   28429                 :           0 :                                         tree _q50 = gimple_call_arg (_c2, 0);
   28430                 :           0 :                                         _q50 = do_valueize (valueize, _q50);
   28431                 :           0 :                                         tree _q51 = gimple_call_arg (_c2, 1);
   28432                 :           0 :                                         _q51 = do_valueize (valueize, _q51);
   28433                 :           0 :                                         tree _q52 = gimple_call_arg (_c2, 2);
   28434                 :           0 :                                         _q52 = do_valueize (valueize, _q52);
   28435                 :           0 :                                         tree _q53 = gimple_call_arg (_c2, 3);
   28436                 :           0 :                                         _q53 = do_valueize (valueize, _q53);
   28437                 :           0 :                                         tree _q54 = gimple_call_arg (_c2, 4);
   28438                 :           0 :                                         _q54 = do_valueize (valueize, _q54);
   28439                 :           0 :                                         tree _q55 = gimple_call_arg (_c2, 5);
   28440                 :           0 :                                         _q55 = do_valueize (valueize, _q55);
   28441                 :           0 :                                         tree _q56 = gimple_call_arg (_c2, 6);
   28442                 :           0 :                                         _q56 = do_valueize (valueize, _q56);
   28443                 :           0 :                                         if (tree_swap_operands_p (_q51, _q52))
   28444                 :           0 :                                           std::swap (_q51, _q52);
   28445                 :           0 :                                         {
   28446                 :           0 :                                           tree captures[9] ATTRIBUTE_UNUSED = { _p0, _p1, _q50, _q51, _q52, _q53, _q54, _q55, _q56 };
   28447                 :           0 :                                           if (gimple_simplify_591 (res_op, seq, valueize, type, captures, CFN_COND_LEN_FMA))
   28448                 :           0 :                                             return true;
   28449                 :             :                                         }
   28450                 :             :                                       }
   28451                 :             :                                     break;
   28452                 :           0 :                                   case CFN_COND_LEN_FMS:
   28453                 :           0 :                                     if (gimple_call_num_args (_c2) == 7)
   28454                 :             :                                       {
   28455                 :           0 :                                         tree _q50 = gimple_call_arg (_c2, 0);
   28456                 :           0 :                                         _q50 = do_valueize (valueize, _q50);
   28457                 :           0 :                                         tree _q51 = gimple_call_arg (_c2, 1);
   28458                 :           0 :                                         _q51 = do_valueize (valueize, _q51);
   28459                 :           0 :                                         tree _q52 = gimple_call_arg (_c2, 2);
   28460                 :           0 :                                         _q52 = do_valueize (valueize, _q52);
   28461                 :           0 :                                         tree _q53 = gimple_call_arg (_c2, 3);
   28462                 :           0 :                                         _q53 = do_valueize (valueize, _q53);
   28463                 :           0 :                                         tree _q54 = gimple_call_arg (_c2, 4);
   28464                 :           0 :                                         _q54 = do_valueize (valueize, _q54);
   28465                 :           0 :                                         tree _q55 = gimple_call_arg (_c2, 5);
   28466                 :           0 :                                         _q55 = do_valueize (valueize, _q55);
   28467                 :           0 :                                         tree _q56 = gimple_call_arg (_c2, 6);
   28468                 :           0 :                                         _q56 = do_valueize (valueize, _q56);
   28469                 :           0 :                                         if (tree_swap_operands_p (_q51, _q52))
   28470                 :           0 :                                           std::swap (_q51, _q52);
   28471                 :           0 :                                         {
   28472                 :           0 :                                           tree captures[9] ATTRIBUTE_UNUSED = { _p0, _p1, _q50, _q51, _q52, _q53, _q54, _q55, _q56 };
   28473                 :           0 :                                           if (gimple_simplify_591 (res_op, seq, valueize, type, captures, CFN_COND_LEN_FMS))
   28474                 :           0 :                                             return true;
   28475                 :             :                                         }
   28476                 :             :                                       }
   28477                 :             :                                     break;
   28478                 :           0 :                                   case CFN_COND_LEN_FNMA:
   28479                 :           0 :                                     if (gimple_call_num_args (_c2) == 7)
   28480                 :             :                                       {
   28481                 :           0 :                                         tree _q50 = gimple_call_arg (_c2, 0);
   28482                 :           0 :                                         _q50 = do_valueize (valueize, _q50);
   28483                 :           0 :                                         tree _q51 = gimple_call_arg (_c2, 1);
   28484                 :           0 :                                         _q51 = do_valueize (valueize, _q51);
   28485                 :           0 :                                         tree _q52 = gimple_call_arg (_c2, 2);
   28486                 :           0 :                                         _q52 = do_valueize (valueize, _q52);
   28487                 :           0 :                                         tree _q53 = gimple_call_arg (_c2, 3);
   28488                 :           0 :                                         _q53 = do_valueize (valueize, _q53);
   28489                 :           0 :                                         tree _q54 = gimple_call_arg (_c2, 4);
   28490                 :           0 :                                         _q54 = do_valueize (valueize, _q54);
   28491                 :           0 :                                         tree _q55 = gimple_call_arg (_c2, 5);
   28492                 :           0 :                                         _q55 = do_valueize (valueize, _q55);
   28493                 :           0 :                                         tree _q56 = gimple_call_arg (_c2, 6);
   28494                 :           0 :                                         _q56 = do_valueize (valueize, _q56);
   28495                 :           0 :                                         if (tree_swap_operands_p (_q51, _q52))
   28496                 :           0 :                                           std::swap (_q51, _q52);
   28497                 :           0 :                                         {
   28498                 :           0 :                                           tree captures[9] ATTRIBUTE_UNUSED = { _p0, _p1, _q50, _q51, _q52, _q53, _q54, _q55, _q56 };
   28499                 :           0 :                                           if (gimple_simplify_591 (res_op, seq, valueize, type, captures, CFN_COND_LEN_FNMA))
   28500                 :           0 :                                             return true;
   28501                 :             :                                         }
   28502                 :             :                                       }
   28503                 :             :                                     break;
   28504                 :           0 :                                   case CFN_COND_LEN_FNMS:
   28505                 :           0 :                                     if (gimple_call_num_args (_c2) == 7)
   28506                 :             :                                       {
   28507                 :           0 :                                         tree _q50 = gimple_call_arg (_c2, 0);
   28508                 :           0 :                                         _q50 = do_valueize (valueize, _q50);
   28509                 :           0 :                                         tree _q51 = gimple_call_arg (_c2, 1);
   28510                 :           0 :                                         _q51 = do_valueize (valueize, _q51);
   28511                 :           0 :                                         tree _q52 = gimple_call_arg (_c2, 2);
   28512                 :           0 :                                         _q52 = do_valueize (valueize, _q52);
   28513                 :           0 :                                         tree _q53 = gimple_call_arg (_c2, 3);
   28514                 :           0 :                                         _q53 = do_valueize (valueize, _q53);
   28515                 :           0 :                                         tree _q54 = gimple_call_arg (_c2, 4);
   28516                 :           0 :                                         _q54 = do_valueize (valueize, _q54);
   28517                 :           0 :                                         tree _q55 = gimple_call_arg (_c2, 5);
   28518                 :           0 :                                         _q55 = do_valueize (valueize, _q55);
   28519                 :           0 :                                         tree _q56 = gimple_call_arg (_c2, 6);
   28520                 :           0 :                                         _q56 = do_valueize (valueize, _q56);
   28521                 :           0 :                                         if (tree_swap_operands_p (_q51, _q52))
   28522                 :           0 :                                           std::swap (_q51, _q52);
   28523                 :           0 :                                         {
   28524                 :           0 :                                           tree captures[9] ATTRIBUTE_UNUSED = { _p0, _p1, _q50, _q51, _q52, _q53, _q54, _q55, _q56 };
   28525                 :           0 :                                           if (gimple_simplify_591 (res_op, seq, valueize, type, captures, CFN_COND_LEN_FNMS))
   28526                 :           0 :                                             return true;
   28527                 :             :                                         }
   28528                 :             :                                       }
   28529                 :             :                                     break;
   28530                 :             :                                   default:;
   28531                 :             :                                   }
   28532                 :             :                             }
   28533                 :             :                           break;
   28534                 :             :                         default:;
   28535                 :             :                         }
   28536                 :             :                     }
   28537                 :             :                   break;
   28538                 :             :                 }
   28539                 :             :               default:;
   28540                 :             :               }
   28541                 :        9465 :           else if (gcall *_c1 = dyn_cast <gcall *> (_d1))
   28542                 :         330 :             switch (gimple_call_combined_fn (_c1))
   28543                 :             :               {
   28544                 :           0 :               case CFN_COND_LEN_FMA:
   28545                 :           0 :                 if (gimple_call_num_args (_c1) == 7)
   28546                 :             :                   {
   28547                 :           0 :                     tree _q40 = gimple_call_arg (_c1, 0);
   28548                 :           0 :                     _q40 = do_valueize (valueize, _q40);
   28549                 :           0 :                     tree _q41 = gimple_call_arg (_c1, 1);
   28550                 :           0 :                     _q41 = do_valueize (valueize, _q41);
   28551                 :           0 :                     tree _q42 = gimple_call_arg (_c1, 2);
   28552                 :           0 :                     _q42 = do_valueize (valueize, _q42);
   28553                 :           0 :                     tree _q43 = gimple_call_arg (_c1, 3);
   28554                 :           0 :                     _q43 = do_valueize (valueize, _q43);
   28555                 :           0 :                     tree _q44 = gimple_call_arg (_c1, 4);
   28556                 :           0 :                     _q44 = do_valueize (valueize, _q44);
   28557                 :           0 :                     tree _q45 = gimple_call_arg (_c1, 5);
   28558                 :           0 :                     _q45 = do_valueize (valueize, _q45);
   28559                 :           0 :                     tree _q46 = gimple_call_arg (_c1, 6);
   28560                 :           0 :                     _q46 = do_valueize (valueize, _q46);
   28561                 :           0 :                     if (tree_swap_operands_p (_q41, _q42))
   28562                 :           0 :                       std::swap (_q41, _q42);
   28563                 :           0 :                     {
   28564                 :           0 :                       tree captures[9] ATTRIBUTE_UNUSED = { _p0, _p1, _q40, _q41, _q42, _q43, _q44, _q45, _q46 };
   28565                 :           0 :                       if (gimple_simplify_591 (res_op, seq, valueize, type, captures, CFN_COND_LEN_FMA))
   28566                 :           0 :                         return true;
   28567                 :             :                     }
   28568                 :             :                   }
   28569                 :             :                 break;
   28570                 :           0 :               case CFN_COND_LEN_FMS:
   28571                 :           0 :                 if (gimple_call_num_args (_c1) == 7)
   28572                 :             :                   {
   28573                 :           0 :                     tree _q40 = gimple_call_arg (_c1, 0);
   28574                 :           0 :                     _q40 = do_valueize (valueize, _q40);
   28575                 :           0 :                     tree _q41 = gimple_call_arg (_c1, 1);
   28576                 :           0 :                     _q41 = do_valueize (valueize, _q41);
   28577                 :           0 :                     tree _q42 = gimple_call_arg (_c1, 2);
   28578                 :           0 :                     _q42 = do_valueize (valueize, _q42);
   28579                 :           0 :                     tree _q43 = gimple_call_arg (_c1, 3);
   28580                 :           0 :                     _q43 = do_valueize (valueize, _q43);
   28581                 :           0 :                     tree _q44 = gimple_call_arg (_c1, 4);
   28582                 :           0 :                     _q44 = do_valueize (valueize, _q44);
   28583                 :           0 :                     tree _q45 = gimple_call_arg (_c1, 5);
   28584                 :           0 :                     _q45 = do_valueize (valueize, _q45);
   28585                 :           0 :                     tree _q46 = gimple_call_arg (_c1, 6);
   28586                 :           0 :                     _q46 = do_valueize (valueize, _q46);
   28587                 :           0 :                     if (tree_swap_operands_p (_q41, _q42))
   28588                 :           0 :                       std::swap (_q41, _q42);
   28589                 :           0 :                     {
   28590                 :           0 :                       tree captures[9] ATTRIBUTE_UNUSED = { _p0, _p1, _q40, _q41, _q42, _q43, _q44, _q45, _q46 };
   28591                 :           0 :                       if (gimple_simplify_591 (res_op, seq, valueize, type, captures, CFN_COND_LEN_FMS))
   28592                 :           0 :                         return true;
   28593                 :             :                     }
   28594                 :             :                   }
   28595                 :             :                 break;
   28596                 :           0 :               case CFN_COND_LEN_FNMA:
   28597                 :           0 :                 if (gimple_call_num_args (_c1) == 7)
   28598                 :             :                   {
   28599                 :           0 :                     tree _q40 = gimple_call_arg (_c1, 0);
   28600                 :           0 :                     _q40 = do_valueize (valueize, _q40);
   28601                 :           0 :                     tree _q41 = gimple_call_arg (_c1, 1);
   28602                 :           0 :                     _q41 = do_valueize (valueize, _q41);
   28603                 :           0 :                     tree _q42 = gimple_call_arg (_c1, 2);
   28604                 :           0 :                     _q42 = do_valueize (valueize, _q42);
   28605                 :           0 :                     tree _q43 = gimple_call_arg (_c1, 3);
   28606                 :           0 :                     _q43 = do_valueize (valueize, _q43);
   28607                 :           0 :                     tree _q44 = gimple_call_arg (_c1, 4);
   28608                 :           0 :                     _q44 = do_valueize (valueize, _q44);
   28609                 :           0 :                     tree _q45 = gimple_call_arg (_c1, 5);
   28610                 :           0 :                     _q45 = do_valueize (valueize, _q45);
   28611                 :           0 :                     tree _q46 = gimple_call_arg (_c1, 6);
   28612                 :           0 :                     _q46 = do_valueize (valueize, _q46);
   28613                 :           0 :                     if (tree_swap_operands_p (_q41, _q42))
   28614                 :           0 :                       std::swap (_q41, _q42);
   28615                 :           0 :                     {
   28616                 :           0 :                       tree captures[9] ATTRIBUTE_UNUSED = { _p0, _p1, _q40, _q41, _q42, _q43, _q44, _q45, _q46 };
   28617                 :           0 :                       if (gimple_simplify_591 (res_op, seq, valueize, type, captures, CFN_COND_LEN_FNMA))
   28618                 :           0 :                         return true;
   28619                 :             :                     }
   28620                 :             :                   }
   28621                 :             :                 break;
   28622                 :           0 :               case CFN_COND_LEN_FNMS:
   28623                 :           0 :                 if (gimple_call_num_args (_c1) == 7)
   28624                 :             :                   {
   28625                 :           0 :                     tree _q40 = gimple_call_arg (_c1, 0);
   28626                 :           0 :                     _q40 = do_valueize (valueize, _q40);
   28627                 :           0 :                     tree _q41 = gimple_call_arg (_c1, 1);
   28628                 :           0 :                     _q41 = do_valueize (valueize, _q41);
   28629                 :           0 :                     tree _q42 = gimple_call_arg (_c1, 2);
   28630                 :           0 :                     _q42 = do_valueize (valueize, _q42);
   28631                 :           0 :                     tree _q43 = gimple_call_arg (_c1, 3);
   28632                 :           0 :                     _q43 = do_valueize (valueize, _q43);
   28633                 :           0 :                     tree _q44 = gimple_call_arg (_c1, 4);
   28634                 :           0 :                     _q44 = do_valueize (valueize, _q44);
   28635                 :           0 :                     tree _q45 = gimple_call_arg (_c1, 5);
   28636                 :           0 :                     _q45 = do_valueize (valueize, _q45);
   28637                 :           0 :                     tree _q46 = gimple_call_arg (_c1, 6);
   28638                 :           0 :                     _q46 = do_valueize (valueize, _q46);
   28639                 :           0 :                     if (tree_swap_operands_p (_q41, _q42))
   28640                 :           0 :                       std::swap (_q41, _q42);
   28641                 :           0 :                     {
   28642                 :           0 :                       tree captures[9] ATTRIBUTE_UNUSED = { _p0, _p1, _q40, _q41, _q42, _q43, _q44, _q45, _q46 };
   28643                 :           0 :                       if (gimple_simplify_591 (res_op, seq, valueize, type, captures, CFN_COND_LEN_FNMS))
   28644                 :           0 :                         return true;
   28645                 :             :                     }
   28646                 :             :                   }
   28647                 :             :                 break;
   28648                 :             :               default:;
   28649                 :             :               }
   28650                 :             :         }
   28651                 :             :       break;
   28652                 :      149004 :     default:;
   28653                 :             :     }
   28654                 :      149004 :   switch (TREE_CODE (_p1))
   28655                 :             :     {
   28656                 :       23741 :     case SSA_NAME:
   28657                 :       23741 :       if (gimple *_d1 = get_def (valueize, _p1))
   28658                 :             :         {
   28659                 :       21377 :           if (gcall *_c1 = dyn_cast <gcall *> (_d1))
   28660                 :         875 :             switch (gimple_call_combined_fn (_c1))
   28661                 :             :               {
   28662                 :          14 :               case CFN_COND_ADD:
   28663                 :          14 :                 if (gimple_call_num_args (_c1) == 4)
   28664                 :             :                   {
   28665                 :          14 :                     tree _q30 = gimple_call_arg (_c1, 0);
   28666                 :          14 :                     _q30 = do_valueize (valueize, _q30);
   28667                 :          14 :                     tree _q31 = gimple_call_arg (_c1, 1);
   28668                 :          14 :                     _q31 = do_valueize (valueize, _q31);
   28669                 :          14 :                     tree _q32 = gimple_call_arg (_c1, 2);
   28670                 :          14 :                     _q32 = do_valueize (valueize, _q32);
   28671                 :          14 :                     tree _q33 = gimple_call_arg (_c1, 3);
   28672                 :          14 :                     _q33 = do_valueize (valueize, _q33);
   28673                 :          14 :                     if (tree_swap_operands_p (_q31, _q32))
   28674                 :           0 :                       std::swap (_q31, _q32);
   28675                 :          14 :                     if ((_p2 == _q33 && ! TREE_SIDE_EFFECTS (_p2)) || (operand_equal_p (_p2, _q33, 0) && types_match (_p2, _q33)))
   28676                 :             :                       {
   28677                 :           0 :                         {
   28678                 :           0 :                           tree captures[6] ATTRIBUTE_UNUSED = { _p0, _p1, _q30, _q31, _q32, _q33 };
   28679                 :           0 :                           if (gimple_simplify_592 (res_op, seq, valueize, type, captures, CFN_COND_ADD))
   28680                 :           0 :                             return true;
   28681                 :             :                         }
   28682                 :             :                       }
   28683                 :             :                   }
   28684                 :             :                 break;
   28685                 :           0 :               case CFN_COND_AND:
   28686                 :           0 :                 if (gimple_call_num_args (_c1) == 4)
   28687                 :             :                   {
   28688                 :           0 :                     tree _q30 = gimple_call_arg (_c1, 0);
   28689                 :           0 :                     _q30 = do_valueize (valueize, _q30);
   28690                 :           0 :                     tree _q31 = gimple_call_arg (_c1, 1);
   28691                 :           0 :                     _q31 = do_valueize (valueize, _q31);
   28692                 :           0 :                     tree _q32 = gimple_call_arg (_c1, 2);
   28693                 :           0 :                     _q32 = do_valueize (valueize, _q32);
   28694                 :           0 :                     tree _q33 = gimple_call_arg (_c1, 3);
   28695                 :           0 :                     _q33 = do_valueize (valueize, _q33);
   28696                 :           0 :                     if (tree_swap_operands_p (_q31, _q32))
   28697                 :           0 :                       std::swap (_q31, _q32);
   28698                 :           0 :                     if ((_p2 == _q33 && ! TREE_SIDE_EFFECTS (_p2)) || (operand_equal_p (_p2, _q33, 0) && types_match (_p2, _q33)))
   28699                 :             :                       {
   28700                 :           0 :                         {
   28701                 :           0 :                           tree captures[6] ATTRIBUTE_UNUSED = { _p0, _p1, _q30, _q31, _q32, _q33 };
   28702                 :           0 :                           if (gimple_simplify_592 (res_op, seq, valueize, type, captures, CFN_COND_AND))
   28703                 :           0 :                             return true;
   28704                 :             :                         }
   28705                 :             :                       }
   28706                 :             :                   }
   28707                 :             :                 break;
   28708                 :           0 :               case CFN_COND_DIV:
   28709                 :           0 :                 if (gimple_call_num_args (_c1) == 4)
   28710                 :             :                   {
   28711                 :           0 :                     tree _q30 = gimple_call_arg (_c1, 0);
   28712                 :           0 :                     _q30 = do_valueize (valueize, _q30);
   28713                 :           0 :                     tree _q31 = gimple_call_arg (_c1, 1);
   28714                 :           0 :                     _q31 = do_valueize (valueize, _q31);
   28715                 :           0 :                     tree _q32 = gimple_call_arg (_c1, 2);
   28716                 :           0 :                     _q32 = do_valueize (valueize, _q32);
   28717                 :           0 :                     tree _q33 = gimple_call_arg (_c1, 3);
   28718                 :           0 :                     _q33 = do_valueize (valueize, _q33);
   28719                 :           0 :                     if ((_p2 == _q33 && ! TREE_SIDE_EFFECTS (_p2)) || (operand_equal_p (_p2, _q33, 0) && types_match (_p2, _q33)))
   28720                 :             :                       {
   28721                 :           0 :                         {
   28722                 :           0 :                           tree captures[6] ATTRIBUTE_UNUSED = { _p0, _p1, _q30, _q31, _q32, _q33 };
   28723                 :           0 :                           if (gimple_simplify_592 (res_op, seq, valueize, type, captures, CFN_COND_DIV))
   28724                 :           0 :                             return true;
   28725                 :             :                         }
   28726                 :             :                       }
   28727                 :             :                   }
   28728                 :             :                 break;
   28729                 :           0 :               case CFN_COND_FMA:
   28730                 :           0 :                 if (gimple_call_num_args (_c1) == 5)
   28731                 :             :                   {
   28732                 :           0 :                     tree _q30 = gimple_call_arg (_c1, 0);
   28733                 :           0 :                     _q30 = do_valueize (valueize, _q30);
   28734                 :           0 :                     tree _q31 = gimple_call_arg (_c1, 1);
   28735                 :           0 :                     _q31 = do_valueize (valueize, _q31);
   28736                 :           0 :                     tree _q32 = gimple_call_arg (_c1, 2);
   28737                 :           0 :                     _q32 = do_valueize (valueize, _q32);
   28738                 :           0 :                     tree _q33 = gimple_call_arg (_c1, 3);
   28739                 :           0 :                     _q33 = do_valueize (valueize, _q33);
   28740                 :           0 :                     tree _q34 = gimple_call_arg (_c1, 4);
   28741                 :           0 :                     _q34 = do_valueize (valueize, _q34);
   28742                 :           0 :                     if (tree_swap_operands_p (_q31, _q32))
   28743                 :           0 :                       std::swap (_q31, _q32);
   28744                 :           0 :                     if ((_p2 == _q34 && ! TREE_SIDE_EFFECTS (_p2)) || (operand_equal_p (_p2, _q34, 0) && types_match (_p2, _q34)))
   28745                 :             :                       {
   28746                 :           0 :                         {
   28747                 :           0 :                           tree captures[7] ATTRIBUTE_UNUSED = { _p0, _p1, _q30, _q31, _q32, _q33, _q34 };
   28748                 :           0 :                           if (gimple_simplify_593 (res_op, seq, valueize, type, captures, CFN_COND_FMA))
   28749                 :           0 :                             return true;
   28750                 :             :                         }
   28751                 :             :                       }
   28752                 :             :                   }
   28753                 :             :                 break;
   28754                 :           0 :               case CFN_COND_FMS:
   28755                 :           0 :                 if (gimple_call_num_args (_c1) == 5)
   28756                 :             :                   {
   28757                 :           0 :                     tree _q30 = gimple_call_arg (_c1, 0);
   28758                 :           0 :                     _q30 = do_valueize (valueize, _q30);
   28759                 :           0 :                     tree _q31 = gimple_call_arg (_c1, 1);
   28760                 :           0 :                     _q31 = do_valueize (valueize, _q31);
   28761                 :           0 :                     tree _q32 = gimple_call_arg (_c1, 2);
   28762                 :           0 :                     _q32 = do_valueize (valueize, _q32);
   28763                 :           0 :                     tree _q33 = gimple_call_arg (_c1, 3);
   28764                 :           0 :                     _q33 = do_valueize (valueize, _q33);
   28765                 :           0 :                     tree _q34 = gimple_call_arg (_c1, 4);
   28766                 :           0 :                     _q34 = do_valueize (valueize, _q34);
   28767                 :           0 :                     if (tree_swap_operands_p (_q31, _q32))
   28768                 :           0 :                       std::swap (_q31, _q32);
   28769                 :           0 :                     if ((_p2 == _q34 && ! TREE_SIDE_EFFECTS (_p2)) || (operand_equal_p (_p2, _q34, 0) && types_match (_p2, _q34)))
   28770                 :             :                       {
   28771                 :           0 :                         {
   28772                 :           0 :                           tree captures[7] ATTRIBUTE_UNUSED = { _p0, _p1, _q30, _q31, _q32, _q33, _q34 };
   28773                 :           0 :                           if (gimple_simplify_593 (res_op, seq, valueize, type, captures, CFN_COND_FMS))
   28774                 :           0 :                             return true;
   28775                 :             :                         }
   28776                 :             :                       }
   28777                 :             :                   }
   28778                 :             :                 break;
   28779                 :           0 :               case CFN_COND_IOR:
   28780                 :           0 :                 if (gimple_call_num_args (_c1) == 4)
   28781                 :             :                   {
   28782                 :           0 :                     tree _q30 = gimple_call_arg (_c1, 0);
   28783                 :           0 :                     _q30 = do_valueize (valueize, _q30);
   28784                 :           0 :                     tree _q31 = gimple_call_arg (_c1, 1);
   28785                 :           0 :                     _q31 = do_valueize (valueize, _q31);
   28786                 :           0 :                     tree _q32 = gimple_call_arg (_c1, 2);
   28787                 :           0 :                     _q32 = do_valueize (valueize, _q32);
   28788                 :           0 :                     tree _q33 = gimple_call_arg (_c1, 3);
   28789                 :           0 :                     _q33 = do_valueize (valueize, _q33);
   28790                 :           0 :                     if (tree_swap_operands_p (_q31, _q32))
   28791                 :           0 :                       std::swap (_q31, _q32);
   28792                 :           0 :                     if ((_p2 == _q33 && ! TREE_SIDE_EFFECTS (_p2)) || (operand_equal_p (_p2, _q33, 0) && types_match (_p2, _q33)))
   28793                 :             :                       {
   28794                 :           0 :                         {
   28795                 :           0 :                           tree captures[6] ATTRIBUTE_UNUSED = { _p0, _p1, _q30, _q31, _q32, _q33 };
   28796                 :           0 :                           if (gimple_simplify_592 (res_op, seq, valueize, type, captures, CFN_COND_IOR))
   28797                 :           0 :                             return true;
   28798                 :             :                         }
   28799                 :             :                       }
   28800                 :             :                   }
   28801                 :             :                 break;
   28802                 :           0 :               case CFN_COND_MAX:
   28803                 :           0 :                 if (gimple_call_num_args (_c1) == 4)
   28804                 :             :                   {
   28805                 :           0 :                     tree _q30 = gimple_call_arg (_c1, 0);
   28806                 :           0 :                     _q30 = do_valueize (valueize, _q30);
   28807                 :           0 :                     tree _q31 = gimple_call_arg (_c1, 1);
   28808                 :           0 :                     _q31 = do_valueize (valueize, _q31);
   28809                 :           0 :                     tree _q32 = gimple_call_arg (_c1, 2);
   28810                 :           0 :                     _q32 = do_valueize (valueize, _q32);
   28811                 :           0 :                     tree _q33 = gimple_call_arg (_c1, 3);
   28812                 :           0 :                     _q33 = do_valueize (valueize, _q33);
   28813                 :           0 :                     if (tree_swap_operands_p (_q31, _q32))
   28814                 :           0 :                       std::swap (_q31, _q32);
   28815                 :           0 :                     if ((_p2 == _q33 && ! TREE_SIDE_EFFECTS (_p2)) || (operand_equal_p (_p2, _q33, 0) && types_match (_p2, _q33)))
   28816                 :             :                       {
   28817                 :           0 :                         {
   28818                 :           0 :                           tree captures[6] ATTRIBUTE_UNUSED = { _p0, _p1, _q30, _q31, _q32, _q33 };
   28819                 :           0 :                           if (gimple_simplify_592 (res_op, seq, valueize, type, captures, CFN_COND_MAX))
   28820                 :           0 :                             return true;
   28821                 :             :                         }
   28822                 :             :                       }
   28823                 :             :                   }
   28824                 :             :                 break;
   28825                 :           0 :               case CFN_COND_MIN:
   28826                 :           0 :                 if (gimple_call_num_args (_c1) == 4)
   28827                 :             :                   {
   28828                 :           0 :                     tree _q30 = gimple_call_arg (_c1, 0);
   28829                 :           0 :                     _q30 = do_valueize (valueize, _q30);
   28830                 :           0 :                     tree _q31 = gimple_call_arg (_c1, 1);
   28831                 :           0 :                     _q31 = do_valueize (valueize, _q31);
   28832                 :           0 :                     tree _q32 = gimple_call_arg (_c1, 2);
   28833                 :           0 :                     _q32 = do_valueize (valueize, _q32);
   28834                 :           0 :                     tree _q33 = gimple_call_arg (_c1, 3);
   28835                 :           0 :                     _q33 = do_valueize (valueize, _q33);
   28836                 :           0 :                     if (tree_swap_operands_p (_q31, _q32))
   28837                 :           0 :                       std::swap (_q31, _q32);
   28838                 :           0 :                     if ((_p2 == _q33 && ! TREE_SIDE_EFFECTS (_p2)) || (operand_equal_p (_p2, _q33, 0) && types_match (_p2, _q33)))
   28839                 :             :                       {
   28840                 :           0 :                         {
   28841                 :           0 :                           tree captures[6] ATTRIBUTE_UNUSED = { _p0, _p1, _q30, _q31, _q32, _q33 };
   28842                 :           0 :                           if (gimple_simplify_592 (res_op, seq, valueize, type, captures, CFN_COND_MIN))
   28843                 :           0 :                             return true;
   28844                 :             :                         }
   28845                 :             :                       }
   28846                 :             :                   }
   28847                 :             :                 break;
   28848                 :           0 :               case CFN_COND_MOD:
   28849                 :           0 :                 if (gimple_call_num_args (_c1) == 4)
   28850                 :             :                   {
   28851                 :           0 :                     tree _q30 = gimple_call_arg (_c1, 0);
   28852                 :           0 :                     _q30 = do_valueize (valueize, _q30);
   28853                 :           0 :                     tree _q31 = gimple_call_arg (_c1, 1);
   28854                 :           0 :                     _q31 = do_valueize (valueize, _q31);
   28855                 :           0 :                     tree _q32 = gimple_call_arg (_c1, 2);
   28856                 :           0 :                     _q32 = do_valueize (valueize, _q32);
   28857                 :           0 :                     tree _q33 = gimple_call_arg (_c1, 3);
   28858                 :           0 :                     _q33 = do_valueize (valueize, _q33);
   28859                 :           0 :                     if ((_p2 == _q33 && ! TREE_SIDE_EFFECTS (_p2)) || (operand_equal_p (_p2, _q33, 0) && types_match (_p2, _q33)))
   28860                 :             :                       {
   28861                 :           0 :                         {
   28862                 :           0 :                           tree captures[6] ATTRIBUTE_UNUSED = { _p0, _p1, _q30, _q31, _q32, _q33 };
   28863                 :           0 :                           if (gimple_simplify_592 (res_op, seq, valueize, type, captures, CFN_COND_MOD))
   28864                 :           0 :                             return true;
   28865                 :             :                         }
   28866                 :             :                       }
   28867                 :             :                   }
   28868                 :             :                 break;
   28869                 :           0 :               case CFN_COND_MUL:
   28870                 :           0 :                 if (gimple_call_num_args (_c1) == 4)
   28871                 :             :                   {
   28872                 :           0 :                     tree _q30 = gimple_call_arg (_c1, 0);
   28873                 :           0 :                     _q30 = do_valueize (valueize, _q30);
   28874                 :           0 :                     tree _q31 = gimple_call_arg (_c1, 1);
   28875                 :           0 :                     _q31 = do_valueize (valueize, _q31);
   28876                 :           0 :                     tree _q32 = gimple_call_arg (_c1, 2);
   28877                 :           0 :                     _q32 = do_valueize (valueize, _q32);
   28878                 :           0 :                     tree _q33 = gimple_call_arg (_c1, 3);
   28879                 :           0 :                     _q33 = do_valueize (valueize, _q33);
   28880                 :           0 :                     if (tree_swap_operands_p (_q31, _q32))
   28881                 :           0 :                       std::swap (_q31, _q32);
   28882                 :           0 :                     if ((_p2 == _q33 && ! TREE_SIDE_EFFECTS (_p2)) || (operand_equal_p (_p2, _q33, 0) && types_match (_p2, _q33)))
   28883                 :             :                       {
   28884                 :           0 :                         {
   28885                 :           0 :                           tree captures[6] ATTRIBUTE_UNUSED = { _p0, _p1, _q30, _q31, _q32, _q33 };
   28886                 :           0 :                           if (gimple_simplify_592 (res_op, seq, valueize, type, captures, CFN_COND_MUL))
   28887                 :           0 :                             return true;
   28888                 :             :                         }
   28889                 :             :                       }
   28890                 :             :                   }
   28891                 :             :                 break;
   28892                 :           0 :               case CFN_COND_SHL:
   28893                 :           0 :                 if (gimple_call_num_args (_c1) == 4)
   28894                 :             :                   {
   28895                 :           0 :                     tree _q30 = gimple_call_arg (_c1, 0);
   28896                 :           0 :                     _q30 = do_valueize (valueize, _q30);
   28897                 :           0 :                     tree _q31 = gimple_call_arg (_c1, 1);
   28898                 :           0 :                     _q31 = do_valueize (valueize, _q31);
   28899                 :           0 :                     tree _q32 = gimple_call_arg (_c1, 2);
   28900                 :           0 :                     _q32 = do_valueize (valueize, _q32);
   28901                 :           0 :                     tree _q33 = gimple_call_arg (_c1, 3);
   28902                 :           0 :                     _q33 = do_valueize (valueize, _q33);
   28903                 :           0 :                     if ((_p2 == _q33 && ! TREE_SIDE_EFFECTS (_p2)) || (operand_equal_p (_p2, _q33, 0) && types_match (_p2, _q33)))
   28904                 :             :                       {
   28905                 :           0 :                         {
   28906                 :           0 :                           tree captures[6] ATTRIBUTE_UNUSED = { _p0, _p1, _q30, _q31, _q32, _q33 };
   28907                 :           0 :                           if (gimple_simplify_592 (res_op, seq, valueize, type, captures, CFN_COND_SHL))
   28908                 :           0 :                             return true;
   28909                 :             :                         }
   28910                 :             :                       }
   28911                 :             :                   }
   28912                 :             :                 break;
   28913                 :           0 :               case CFN_COND_SHR:
   28914                 :           0 :                 if (gimple_call_num_args (_c1) == 4)
   28915                 :             :                   {
   28916                 :           0 :                     tree _q30 = gimple_call_arg (_c1, 0);
   28917                 :           0 :                     _q30 = do_valueize (valueize, _q30);
   28918                 :           0 :                     tree _q31 = gimple_call_arg (_c1, 1);
   28919                 :           0 :                     _q31 = do_valueize (valueize, _q31);
   28920                 :           0 :                     tree _q32 = gimple_call_arg (_c1, 2);
   28921                 :           0 :                     _q32 = do_valueize (valueize, _q32);
   28922                 :           0 :                     tree _q33 = gimple_call_arg (_c1, 3);
   28923                 :           0 :                     _q33 = do_valueize (valueize, _q33);
   28924                 :           0 :                     if ((_p2 == _q33 && ! TREE_SIDE_EFFECTS (_p2)) || (operand_equal_p (_p2, _q33, 0) && types_match (_p2, _q33)))
   28925                 :             :                       {
   28926                 :           0 :                         {
   28927                 :           0 :                           tree captures[6] ATTRIBUTE_UNUSED = { _p0, _p1, _q30, _q31, _q32, _q33 };
   28928                 :           0 :                           if (gimple_simplify_592 (res_op, seq, valueize, type, captures, CFN_COND_SHR))
   28929                 :           0 :                             return true;
   28930                 :             :                         }
   28931                 :             :                       }
   28932                 :             :                   }
   28933                 :             :                 break;
   28934                 :           0 :               case CFN_COND_SUB:
   28935                 :           0 :                 if (gimple_call_num_args (_c1) == 4)
   28936                 :             :                   {
   28937                 :           0 :                     tree _q30 = gimple_call_arg (_c1, 0);
   28938                 :           0 :                     _q30 = do_valueize (valueize, _q30);
   28939                 :           0 :                     tree _q31 = gimple_call_arg (_c1, 1);
   28940                 :           0 :                     _q31 = do_valueize (valueize, _q31);
   28941                 :           0 :                     tree _q32 = gimple_call_arg (_c1, 2);
   28942                 :           0 :                     _q32 = do_valueize (valueize, _q32);
   28943                 :           0 :                     tree _q33 = gimple_call_arg (_c1, 3);
   28944                 :           0 :                     _q33 = do_valueize (valueize, _q33);
   28945                 :           0 :                     if ((_p2 == _q33 && ! TREE_SIDE_EFFECTS (_p2)) || (operand_equal_p (_p2, _q33, 0) && types_match (_p2, _q33)))
   28946                 :             :                       {
   28947                 :           0 :                         {
   28948                 :           0 :                           tree captures[6] ATTRIBUTE_UNUSED = { _p0, _p1, _q30, _q31, _q32, _q33 };
   28949                 :           0 :                           if (gimple_simplify_592 (res_op, seq, valueize, type, captures, CFN_COND_SUB))
   28950                 :           0 :                             return true;
   28951                 :             :                         }
   28952                 :             :                       }
   28953                 :             :                   }
   28954                 :             :                 break;
   28955                 :           0 :               case CFN_COND_XOR:
   28956                 :           0 :                 if (gimple_call_num_args (_c1) == 4)
   28957                 :             :                   {
   28958                 :           0 :                     tree _q30 = gimple_call_arg (_c1, 0);
   28959                 :           0 :                     _q30 = do_valueize (valueize, _q30);
   28960                 :           0 :                     tree _q31 = gimple_call_arg (_c1, 1);
   28961                 :           0 :                     _q31 = do_valueize (valueize, _q31);
   28962                 :           0 :                     tree _q32 = gimple_call_arg (_c1, 2);
   28963                 :           0 :                     _q32 = do_valueize (valueize, _q32);
   28964                 :           0 :                     tree _q33 = gimple_call_arg (_c1, 3);
   28965                 :           0 :                     _q33 = do_valueize (valueize, _q33);
   28966                 :           0 :                     if (tree_swap_operands_p (_q31, _q32))
   28967                 :           0 :                       std::swap (_q31, _q32);
   28968                 :           0 :                     if ((_p2 == _q33 && ! TREE_SIDE_EFFECTS (_p2)) || (operand_equal_p (_p2, _q33, 0) && types_match (_p2, _q33)))
   28969                 :             :                       {
   28970                 :           0 :                         {
   28971                 :           0 :                           tree captures[6] ATTRIBUTE_UNUSED = { _p0, _p1, _q30, _q31, _q32, _q33 };
   28972                 :           0 :                           if (gimple_simplify_592 (res_op, seq, valueize, type, captures, CFN_COND_XOR))
   28973                 :           0 :                             return true;
   28974                 :             :                         }
   28975                 :             :                       }
   28976                 :             :                   }
   28977                 :             :                 break;
   28978                 :           0 :               case CFN_COND_COPYSIGN:
   28979                 :           0 :                 if (gimple_call_num_args (_c1) == 4)
   28980                 :             :                   {
   28981                 :           0 :                     tree _q30 = gimple_call_arg (_c1, 0);
   28982                 :           0 :                     _q30 = do_valueize (valueize, _q30);
   28983                 :           0 :                     tree _q31 = gimple_call_arg (_c1, 1);
   28984                 :           0 :                     _q31 = do_valueize (valueize, _q31);
   28985                 :           0 :                     tree _q32 = gimple_call_arg (_c1, 2);
   28986                 :           0 :                     _q32 = do_valueize (valueize, _q32);
   28987                 :           0 :                     tree _q33 = gimple_call_arg (_c1, 3);
   28988                 :           0 :                     _q33 = do_valueize (valueize, _q33);
   28989                 :           0 :                     if ((_p2 == _q33 && ! TREE_SIDE_EFFECTS (_p2)) || (operand_equal_p (_p2, _q33, 0) && types_match (_p2, _q33)))
   28990                 :             :                       {
   28991                 :           0 :                         {
   28992                 :           0 :                           tree captures[6] ATTRIBUTE_UNUSED = { _p0, _p1, _q30, _q31, _q32, _q33 };
   28993                 :           0 :                           if (gimple_simplify_592 (res_op, seq, valueize, type, captures, CFN_COND_COPYSIGN))
   28994                 :           0 :                             return true;
   28995                 :             :                         }
   28996                 :             :                       }
   28997                 :             :                   }
   28998                 :             :                 break;
   28999                 :           0 :               case CFN_COND_FMAX:
   29000                 :           0 :                 if (gimple_call_num_args (_c1) == 4)
   29001                 :             :                   {
   29002                 :           0 :                     tree _q30 = gimple_call_arg (_c1, 0);
   29003                 :           0 :                     _q30 = do_valueize (valueize, _q30);
   29004                 :           0 :                     tree _q31 = gimple_call_arg (_c1, 1);
   29005                 :           0 :                     _q31 = do_valueize (valueize, _q31);
   29006                 :           0 :                     tree _q32 = gimple_call_arg (_c1, 2);
   29007                 :           0 :                     _q32 = do_valueize (valueize, _q32);
   29008                 :           0 :                     tree _q33 = gimple_call_arg (_c1, 3);
   29009                 :           0 :                     _q33 = do_valueize (valueize, _q33);
   29010                 :           0 :                     if (tree_swap_operands_p (_q31, _q32))
   29011                 :           0 :                       std::swap (_q31, _q32);
   29012                 :           0 :                     if ((_p2 == _q33 && ! TREE_SIDE_EFFECTS (_p2)) || (operand_equal_p (_p2, _q33, 0) && types_match (_p2, _q33)))
   29013                 :             :                       {
   29014                 :           0 :                         {
   29015                 :           0 :                           tree captures[6] ATTRIBUTE_UNUSED = { _p0, _p1, _q30, _q31, _q32, _q33 };
   29016                 :           0 :                           if (gimple_simplify_592 (res_op, seq, valueize, type, captures, CFN_COND_FMAX))
   29017                 :           0 :                             return true;
   29018                 :             :                         }
   29019                 :             :                       }
   29020                 :             :                   }
   29021                 :             :                 break;
   29022                 :           0 :               case CFN_COND_FMIN:
   29023                 :           0 :                 if (gimple_call_num_args (_c1) == 4)
   29024                 :             :                   {
   29025                 :           0 :                     tree _q30 = gimple_call_arg (_c1, 0);
   29026                 :           0 :                     _q30 = do_valueize (valueize, _q30);
   29027                 :           0 :                     tree _q31 = gimple_call_arg (_c1, 1);
   29028                 :           0 :                     _q31 = do_valueize (valueize, _q31);
   29029                 :           0 :                     tree _q32 = gimple_call_arg (_c1, 2);
   29030                 :           0 :                     _q32 = do_valueize (valueize, _q32);
   29031                 :           0 :                     tree _q33 = gimple_call_arg (_c1, 3);
   29032                 :           0 :                     _q33 = do_valueize (valueize, _q33);
   29033                 :           0 :                     if (tree_swap_operands_p (_q31, _q32))
   29034                 :           0 :                       std::swap (_q31, _q32);
   29035                 :           0 :                     if ((_p2 == _q33 && ! TREE_SIDE_EFFECTS (_p2)) || (operand_equal_p (_p2, _q33, 0) && types_match (_p2, _q33)))
   29036                 :             :                       {
   29037                 :           0 :                         {
   29038                 :           0 :                           tree captures[6] ATTRIBUTE_UNUSED = { _p0, _p1, _q30, _q31, _q32, _q33 };
   29039                 :           0 :                           if (gimple_simplify_592 (res_op, seq, valueize, type, captures, CFN_COND_FMIN))
   29040                 :           0 :                             return true;
   29041                 :             :                         }
   29042                 :             :                       }
   29043                 :             :                   }
   29044                 :             :                 break;
   29045                 :           0 :               case CFN_COND_FNMA:
   29046                 :           0 :                 if (gimple_call_num_args (_c1) == 5)
   29047                 :             :                   {
   29048                 :           0 :                     tree _q30 = gimple_call_arg (_c1, 0);
   29049                 :           0 :                     _q30 = do_valueize (valueize, _q30);
   29050                 :           0 :                     tree _q31 = gimple_call_arg (_c1, 1);
   29051                 :           0 :                     _q31 = do_valueize (valueize, _q31);
   29052                 :           0 :                     tree _q32 = gimple_call_arg (_c1, 2);
   29053                 :           0 :                     _q32 = do_valueize (valueize, _q32);
   29054                 :           0 :                     tree _q33 = gimple_call_arg (_c1, 3);
   29055                 :           0 :                     _q33 = do_valueize (valueize, _q33);
   29056                 :           0 :                     tree _q34 = gimple_call_arg (_c1, 4);
   29057                 :           0 :                     _q34 = do_valueize (valueize, _q34);
   29058                 :           0 :                     if (tree_swap_operands_p (_q31, _q32))
   29059                 :           0 :                       std::swap (_q31, _q32);
   29060                 :           0 :                     if ((_p2 == _q34 && ! TREE_SIDE_EFFECTS (_p2)) || (operand_equal_p (_p2, _q34, 0) && types_match (_p2, _q34)))
   29061                 :             :                       {
   29062                 :           0 :                         {
   29063                 :           0 :                           tree captures[7] ATTRIBUTE_UNUSED = { _p0, _p1, _q30, _q31, _q32, _q33, _q34 };
   29064                 :           0 :                           if (gimple_simplify_593 (res_op, seq, valueize, type, captures, CFN_COND_FNMA))
   29065                 :           0 :                             return true;
   29066                 :             :                         }
   29067                 :             :                       }
   29068                 :             :                   }
   29069                 :             :                 break;
   29070                 :           0 :               case CFN_COND_FNMS:
   29071                 :           0 :                 if (gimple_call_num_args (_c1) == 5)
   29072                 :             :                   {
   29073                 :           0 :                     tree _q30 = gimple_call_arg (_c1, 0);
   29074                 :           0 :                     _q30 = do_valueize (valueize, _q30);
   29075                 :           0 :                     tree _q31 = gimple_call_arg (_c1, 1);
   29076                 :           0 :                     _q31 = do_valueize (valueize, _q31);
   29077                 :           0 :                     tree _q32 = gimple_call_arg (_c1, 2);
   29078                 :           0 :                     _q32 = do_valueize (valueize, _q32);
   29079                 :           0 :                     tree _q33 = gimple_call_arg (_c1, 3);
   29080                 :           0 :                     _q33 = do_valueize (valueize, _q33);
   29081                 :           0 :                     tree _q34 = gimple_call_arg (_c1, 4);
   29082                 :           0 :                     _q34 = do_valueize (valueize, _q34);
   29083                 :           0 :                     if (tree_swap_operands_p (_q31, _q32))
   29084                 :           0 :                       std::swap (_q31, _q32);
   29085                 :           0 :                     if ((_p2 == _q34 && ! TREE_SIDE_EFFECTS (_p2)) || (operand_equal_p (_p2, _q34, 0) && types_match (_p2, _q34)))
   29086                 :             :                       {
   29087                 :           0 :                         {
   29088                 :           0 :                           tree captures[7] ATTRIBUTE_UNUSED = { _p0, _p1, _q30, _q31, _q32, _q33, _q34 };
   29089                 :           0 :                           if (gimple_simplify_593 (res_op, seq, valueize, type, captures, CFN_COND_FNMS))
   29090                 :           0 :                             return true;
   29091                 :             :                         }
   29092                 :             :                       }
   29093                 :             :                   }
   29094                 :             :                 break;
   29095                 :          22 :               case CFN_COND_RDIV:
   29096                 :          22 :                 if (gimple_call_num_args (_c1) == 4)
   29097                 :             :                   {
   29098                 :          22 :                     tree _q30 = gimple_call_arg (_c1, 0);
   29099                 :          22 :                     _q30 = do_valueize (valueize, _q30);
   29100                 :          22 :                     tree _q31 = gimple_call_arg (_c1, 1);
   29101                 :          22 :                     _q31 = do_valueize (valueize, _q31);
   29102                 :          22 :                     tree _q32 = gimple_call_arg (_c1, 2);
   29103                 :          22 :                     _q32 = do_valueize (valueize, _q32);
   29104                 :          22 :                     tree _q33 = gimple_call_arg (_c1, 3);
   29105                 :          22 :                     _q33 = do_valueize (valueize, _q33);
   29106                 :          22 :                     if ((_p2 == _q33 && ! TREE_SIDE_EFFECTS (_p2)) || (operand_equal_p (_p2, _q33, 0) && types_match (_p2, _q33)))
   29107                 :             :                       {
   29108                 :           0 :                         {
   29109                 :           0 :                           tree captures[6] ATTRIBUTE_UNUSED = { _p0, _p1, _q30, _q31, _q32, _q33 };
   29110                 :           0 :                           if (gimple_simplify_592 (res_op, seq, valueize, type, captures, CFN_COND_RDIV))
   29111                 :           0 :                             return true;
   29112                 :             :                         }
   29113                 :             :                       }
   29114                 :             :                   }
   29115                 :             :                 break;
   29116                 :             :               default:;
   29117                 :             :               }
   29118                 :             :         }
   29119                 :             :       break;
   29120                 :             :     default:;
   29121                 :             :     }
   29122                 :             :   return false;
   29123                 :             : }
   29124                 :             : #pragma GCC diagnostic pop
        

Generated by: LCOV version 2.0-1

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.