Lines Matching defs:scalar_stmts
192 /* Create an SLP node for SCALAR_STMTS. */
204 /* Create an SLP node for SCALAR_STMTS. */
208 vec<stmt_vec_info> scalar_stmts, unsigned nops)
210 SLP_TREE_SCALAR_STMTS (node) = scalar_stmts;
213 SLP_TREE_REPRESENTATIVE (node) = scalar_stmts[0];
214 SLP_TREE_LANES (node) = scalar_stmts.length ();
218 /* Create an SLP node for SCALAR_STMTS. */
221 vect_create_new_slp_node (vec<stmt_vec_info> scalar_stmts, unsigned nops)
223 return vect_create_new_slp_node (new _slp_tree, scalar_stmts, nops);
3040 /* Analyze an SLP instance starting from SCALAR_STMTS which are a group
3046 vec<stmt_vec_info> &scalar_stmts,
3057 for (unsigned i = 0; i < scalar_stmts.length (); ++i)
3059 " %G", scalar_stmts[i]->stmt);
3063 unsigned int group_size = scalar_stmts.length ();
3068 slp_tree node = vect_build_slp_tree (vinfo, scalar_stmts, group_size,
3125 = vect_orig_stmt (scalar_stmts[group_size - 1])->stmt;
3126 if (STMT_VINFO_DEF_TYPE (scalar_stmts[0]) != vect_reduction_def)
3136 scalar_stmts = vNULL;
3137 scalar_stmts.create (group_size);
3139 scalar_stmts.quick_push (next_info);
3140 slp_tree conv = vect_create_new_slp_node (scalar_stmts, 1);
3200 scalar_stmts.release ();
3315 vec<stmt_vec_info> scalar_stmts;
3323 /* Collect the stores and store them in scalar_stmts. */
3324 scalar_stmts.create (DR_GROUP_SIZE (stmt_info));
3327 scalar_stmts.quick_push (vect_stmt_to_vectorize (next_info));
3333 /* Collect the reduction stmts and store them in scalar_stmts. */
3334 scalar_stmts.create (REDUC_GROUP_SIZE (stmt_info));
3337 scalar_stmts.quick_push (vect_stmt_to_vectorize (next_info));
3344 = STMT_VINFO_DEF_TYPE (scalar_stmts.last ());
3346 = STMT_VINFO_REDUC_DEF (vect_orig_stmt (scalar_stmts.last ()));
3352 scalar_stmts.create (CONSTRUCTOR_NELTS (rhs));
3357 scalar_stmts.quick_push (def_info);
3369 scalar_stmts.create (reductions.length ());
3378 scalar_stmts.quick_push (next_info);
3380 if (scalar_stmts.length () < 2)
3393 bool res = vect_build_slp_instance (vinfo, kind, scalar_stmts,