Home
last modified time | relevance | path

Searched refs:cost_vec (Results 1 – 9 of 9) sorted by relevance

/netbsd-src/external/gpl3/gcc.old/dist/gcc/
H A Dtree-vect-stmts.c792 stmt_vector_for_cost *cost_vec) in vect_prologue_cost_for_slp_op() argument
840 (cost_vec, 1, in vect_prologue_cost_for_slp_op()
863 stmt_vector_for_cost *cost_vec,
868 gcc_assert (cost_vec != NULL);
890 i, dt, cost_vec);
899 prologue_cost += record_stmt_cost (cost_vec, 1, scalar_to_vec,
906 inside_cost += record_stmt_cost (cost_vec, ncopies, vec_perm,
911 inside_cost += record_stmt_cost (cost_vec, ncopies, kind,
932 stmt_vector_for_cost *cost_vec) in vect_model_promotion_demotion_cost() argument
939 inside_cost += record_stmt_cost (cost_vec, ncopies, vec_promote_demote, in vect_model_promotion_demotion_cost()
[all …]
H A Dtree-vect-loop.c1478 auto_vec<stmt_info_for_cost> cost_vec; in vect_analyze_loop_operations() local
1555 &cost_vec); in vect_analyze_loop_operations()
1561 ok = vectorizable_reduction (stmt_info, NULL, NULL, &cost_vec); in vect_analyze_loop_operations()
1569 -1, false, &cost_vec); in vect_analyze_loop_operations()
1587 NULL, NULL, &cost_vec); in vect_analyze_loop_operations()
1594 add_stmt_costs (loop_vinfo->target_cost_data, &cost_vec); in vect_analyze_loop_operations()
3984 int ncopies, stmt_vector_for_cost *cost_vec) in vect_model_reduction_cost() argument
4018 inside_cost = record_stmt_cost (cost_vec, ncopies, vec_to_scalar, in vect_model_reduction_cost()
4024 inside_cost = record_stmt_cost (cost_vec, nelements, in vect_model_reduction_cost()
4027 inside_cost += record_stmt_cost (cost_vec, nelements, in vect_model_reduction_cost()
[all …]
H A Dtree-vect-slp.c2719 stmt_vector_for_cost *cost_vec) in vect_slp_analyze_node_operations_1() argument
2755 return vect_analyze_stmt (stmt_info, &dummy, node, node_instance, cost_vec); in vect_slp_analyze_node_operations_1()
2801 stmt_vector_for_cost *cost_vec) in vect_slp_analyze_node_operations() argument
2820 visited, lvisited, cost_vec)) in vect_slp_analyze_node_operations()
2862 cost_vec); in vect_slp_analyze_node_operations()
2893 stmt_vector_for_cost cost_vec; in vect_slp_analyze_operations() local
2894 cost_vec.create (2); in vect_slp_analyze_operations()
2898 &cost_vec) in vect_slp_analyze_operations()
2913 cost_vec.release (); in vect_slp_analyze_operations()
2922 add_stmt_costs (vinfo->target_cost_data, &cost_vec); in vect_slp_analyze_operations()
[all …]
H A Dtree-vectorizer.h1410 add_stmt_costs (void *data, stmt_vector_for_cost *cost_vec)
1414 FOR_EACH_VEC_ELT (*cost_vec, i, cost)
/netbsd-src/external/gpl3/gcc/dist/gcc/
H A Dtree-vect-stmts.cc836 stmt_vector_for_cost *cost_vec, in vect_model_simple_cost() argument
841 gcc_assert (cost_vec != NULL); in vect_model_simple_cost()
853 prologue_cost += record_stmt_cost (cost_vec, 1, scalar_to_vec, in vect_model_simple_cost()
857 inside_cost += record_stmt_cost (cost_vec, ncopies, kind, in vect_model_simple_cost()
879 stmt_vector_for_cost *cost_vec, in vect_model_promotion_demotion_cost() argument
887 inside_cost += record_stmt_cost (cost_vec, ncopies, in vect_model_promotion_demotion_cost()
897 prologue_cost += record_stmt_cost (cost_vec, 1, vector_stmt, in vect_model_promotion_demotion_cost()
948 stmt_vector_for_cost *cost_vec) in vect_model_store_cost() argument
961 prologue_cost += record_stmt_cost (cost_vec, 1, scalar_to_vec, in vect_model_store_cost()
986 inside_cost = record_stmt_cost (cost_vec, nstmts, vec_perm, in vect_model_store_cost()
[all …]
H A Dtree-vect-slp.cc187 instance->cost_vec.release (); in vect_free_slp_instance()
3108 new_instance->cost_vec = vNULL; in vect_build_slp_instance()
4517 stmt_vector_for_cost *cost_vec) in vect_slp_analyze_node_operations_1() argument
4554 if (!vectorizable_slp_permutation (vinfo, NULL, node, cost_vec)) in vect_slp_analyze_node_operations_1()
4565 false, cost_vec)) in vect_slp_analyze_node_operations_1()
4573 node, node_instance, cost_vec); in vect_slp_analyze_node_operations_1()
4647 stmt_vector_for_cost *cost_vec) in vect_prologue_cost_for_slp() argument
4690 record_stmt_cost (cost_vec, 1, kind, node, vectype, 0, vect_prologue); in vect_prologue_cost_for_slp()
4704 stmt_vector_for_cost *cost_vec) in vect_slp_analyze_node_operations() argument
4732 unsigned cost_vec_rec_start = cost_vec->length (); in vect_slp_analyze_node_operations()
[all …]
H A Dtree-vect-loop.cc1666 auto_vec<stmt_info_for_cost> cost_vec; in vect_analyze_loop_operations() local
1745 &cost_vec); in vect_analyze_loop_operations()
1752 stmt_info, NULL, NULL, &cost_vec); in vect_analyze_loop_operations()
1761 -1, false, &cost_vec); in vect_analyze_loop_operations()
1781 NULL, NULL, &cost_vec); in vect_analyze_loop_operations()
1788 add_stmt_costs (loop_vinfo->vector_costs, &cost_vec); in vect_analyze_loop_operations()
4541 int ncopies, stmt_vector_for_cost *cost_vec) in vect_model_reduction_cost() argument
4574 inside_cost = record_stmt_cost (cost_vec, ncopies, vec_to_scalar, in vect_model_reduction_cost()
4580 inside_cost = record_stmt_cost (cost_vec, nelements, in vect_model_reduction_cost()
4583 inside_cost += record_stmt_cost (cost_vec, nelements, in vect_model_reduction_cost()
[all …]
H A Dtree-vectorizer.h256 stmt_vector_for_cost cost_vec;
1802 add_stmt_costs (vector_costs *costs, stmt_vector_for_cost *cost_vec)
1806 FOR_EACH_VEC_ELT (*cost_vec, i, cost)
H A DChangeLog-20206573 (vect_analyze_stmt): Pass cost_vec to vectorizable_phi.
13599 * tree-vectorizer.h (_slp_instance::cost_vec): New.
13603 cost_vec and subgraph_entries.