diff options
author | Richard Biener <rguenther@suse.de> | 2015-06-22 10:44:02 +0000 |
---|---|---|
committer | Richard Biener <rguenth@gcc.gnu.org> | 2015-06-22 10:44:02 +0000 |
commit | 6d098c572aef870f6a068d7e6697fde5a4ed2ccc (patch) | |
tree | 0e00bc071e7f538a73a3b51455376d755bd38499 /gcc/tree-parloops.c | |
parent | 606e3099e8fb81ab22e046421a6fe5a7338b2cd7 (diff) | |
download | gcc-6d098c572aef870f6a068d7e6697fde5a4ed2ccc.zip gcc-6d098c572aef870f6a068d7e6697fde5a4ed2ccc.tar.gz gcc-6d098c572aef870f6a068d7e6697fde5a4ed2ccc.tar.bz2 |
tree-vectorizer.h (_loop_vec_info): Add scalar_cost_vec and single_scalar_iteration_cost members.
2015-06-22 Richard Biener <rguenther@suse.de>
* tree-vectorizer.h (_loop_vec_info): Add scalar_cost_vec
and single_scalar_iteration_cost members.
(LOOP_VINFO_SCALAR_ITERATION_COST): New.
(LOOP_VINFO_SINGLE_SCALAR_ITERATION_COST): Likewise.
(vect_get_single_scalar_iteration_cost): Remove.
* tree-vect-data-refs.c (vect_peeling_hash_get_lowest_cost):
Use LOOP_VINFO_SCALAR_ITERATION_COST.
* tree-vect-loop.c (destroy_loop_vec_info): Free
scalar_cost_vec.
(vect_get_single_scalar_iteration_cost): Compute result into
LOOP_VINFO_SINGLE_SCALAR_ITERATION_COST and
LOOP_VINFO_SCALAR_ITERATION_COST. Make static.
(vect_analyze_loop_2): Call vect_get_single_scalar_iteration_cost.
(vect_estimate_min_profitable_iters): Use them.
From-SVN: r224723
Diffstat (limited to 'gcc/tree-parloops.c')
0 files changed, 0 insertions, 0 deletions