Home
last modified time | relevance | path

Searched refs:vector_costs (Results 1 – 10 of 10) sorted by relevance

/netbsd-src/external/gpl3/gcc/dist/gcc/
H A Dtree-vectorizer.h642 class vector_costs *vector_costs;
645 class vector_costs *scalar_costs;
1455 class vector_costs
1458 vector_costs (vec_info *, bool);
1459 virtual ~vector_costs () {}
1490 virtual void finish_cost (const vector_costs *scalar_costs);
1500 virtual bool better_main_loop_than_p (const vector_costs *other) const;
1504 virtual bool better_epilogue_loop_than_p (const vector_costs *other,
1519 int compare_inside_loop_cost (const vector_costs *) const;
1520 int compare_outside_loop_cost (const vector_costs *) const;
[all …]
H A Dtree-vectorizer.cc1771 vector_costs::add_stmt_cost (int count, vect_cost_for_stmt kind, in add_stmt_cost()
1784 vector_costs::finish_cost (const vector_costs *) in finish_cost() argument
1795 vector_costs::record_stmt_cost (stmt_vec_info stmt_info, in record_stmt_cost()
1809 vector_costs::adjust_cost_for_freq (stmt_vec_info stmt_info, in adjust_cost_for_freq()
1829 vector_costs::better_main_loop_than_p (const vector_costs *other) const in better_main_loop_than_p()
1848 vector_costs::better_epilogue_loop_than_p (const vector_costs *other, in better_epilogue_loop_than_p()
1931 vector_costs::compare_inside_loop_cost (const vector_costs *other) const in compare_inside_loop_cost()
1955 poly_int64 rel_this = this_loop_vinfo->vector_costs->body_cost () * other_vf; in compare_inside_loop_cost()
1957 = other_loop_vinfo->vector_costs->body_cost () * this_vf; in compare_inside_loop_cost()
2022 vector_costs::compare_outside_loop_cost (const vector_costs *other) const in compare_outside_loop_cost()
H A Dtree-vect-loop.cc826 vector_costs (nullptr), in _loop_vec_info()
939 delete vector_costs; in ~_loop_vec_info()
1788 add_stmt_costs (loop_vinfo->vector_costs, &cost_vec); in vect_analyze_loop_operations()
2413 loop_vinfo->vector_costs = init_cost (loop_vinfo, false); in vect_analyze_loop_2()
2780 delete loop_vinfo->vector_costs; in vect_analyze_loop_2()
2781 loop_vinfo->vector_costs = nullptr; in vect_analyze_loop_2()
2822 const auto *old_costs = old_loop_vinfo->vector_costs; in vect_better_loop_vinfo_p()
2823 const auto *new_costs = new_loop_vinfo->vector_costs; in vect_better_loop_vinfo_p()
3918 vector_costs *target_cost_data = loop_vinfo->vector_costs; in vect_estimate_min_profitable_iters()
4268 finish_cost (loop_vinfo->vector_costs, loop_vinfo->scalar_costs, in vect_estimate_min_profitable_iters()
H A Dtree-vect-slp.cc5034 add_stmt_costs (loop_vinfo->vector_costs, &cost_vec); in vect_slp_analyze_operations()
5422 stmt_vector_for_cost vector_costs = vNULL; in vect_bb_vectorization_profitable_p() local
5438 vector_costs.safe_splice (instance->cost_vec); in vect_bb_vectorization_profitable_p()
5456 li_vector_costs (vector_costs.length ()); in vect_bb_vectorization_profitable_p()
5466 FOR_EACH_VEC_ELT (vector_costs, i, cost) in vect_bb_vectorization_profitable_p()
5502 class vector_costs *scalar_target_cost_data = init_cost (bb_vinfo, true); in vect_bb_vectorization_profitable_p()
5515 class vector_costs *vect_target_cost_data = init_cost (bb_vinfo, false); in vect_bb_vectorization_profitable_p()
5566 vector_costs.release (); in vect_bb_vectorization_profitable_p()
H A DChangeLog-20215415 * tree-vectorizer.h (vector_costs::finish_cost): Take the
5421 * tree-vectorizer.c (vector_costs::finish_cost): Likewise.
5432 (vector_costs::total_cost): New function.
5443 * tree-vectorizer.h (vector_costs::better_main_loop_than_p)
5444 (vector_costs::better_epilogue_loop_than_p)
5445 (vector_costs::compare_inside_loop_cost)
5446 (vector_costs::compare_outside_loop_cost): Likewise.
5447 * tree-vectorizer.c (vector_costs::better_main_loop_than_p)
5448 (vector_costs::better_epilogue_loop_than_p)
5449 (vector_costs::compare_inside_loop_cost)
[all …]
H A DChangeLog10098 (vector_costs::add_stmt_cost): Add SLP node parameter.
10104 (vector_costs::add_stmt_cost): Adjust.
13050 (vector_costs::vector_costs): Add new member m_suggested_unroll_factor.
13051 (vector_costs::suggested_unroll_factor): New getter function.
/netbsd-src/external/gpl3/gcc/dist/gcc/config/aarch64/
H A Daarch64.cc15768 class aarch64_vector_costs : public vector_costs
15777 void finish_cost (const vector_costs *) override;
15778 bool better_main_loop_than_p (const vector_costs *other) const override;
15876 : vector_costs (vinfo, costing_for_scalar), in aarch64_vector_costs()
15893 vector_costs *
17116 aarch64_vector_costs::finish_cost (const vector_costs *uncast_scalar_costs) in finish_cost()
17148 vector_costs::finish_cost (scalar_costs); in finish_cost()
17153 better_main_loop_than_p (const vector_costs *uncast_other) const in better_main_loop_than_p()
17260 return vector_costs::better_main_loop_than_p (other); in better_main_loop_than_p()
/netbsd-src/external/gpl3/gcc/dist/gcc/config/rs6000/
H A Drs6000.cc5185 class rs6000_cost_data : public vector_costs
5188 using vector_costs::vector_costs;
5194 void finish_cost (const vector_costs *) override;
5303 static vector_costs *
5456 rs6000_cost_data::finish_cost (const vector_costs *scalar_costs) in finish_cost()
5473 vector_costs::finish_cost (scalar_costs); in finish_cost()
/netbsd-src/external/gpl3/gcc/dist/gcc/config/i386/
H A Di386.cc23138 class ix86_vector_costs : public vector_costs
23140 using vector_costs::vector_costs;
23150 static vector_costs *
/netbsd-src/external/gpl3/gcc/dist/gcc/doc/
H A Dgccint.info38180 -- Target Hook: class vector_costs * TARGET_VECTORIZE_CREATE_COSTS