diff options
author | Richard Guenther <rguenther@suse.de> | 2012-05-09 11:01:16 +0000 |
---|---|---|
committer | Richard Biener <rguenth@gcc.gnu.org> | 2012-05-09 11:01:16 +0000 |
commit | 368117e868b67d8e7daa2b3a2d27249bdf2e207f (patch) | |
tree | 036af27bac578af05d4facd8b5abcc09fe905e8f /gcc/tree-vectorizer.h | |
parent | 4ede37cd48e572a97e5afca7a1dde311a6dfb229 (diff) | |
download | gcc-368117e868b67d8e7daa2b3a2d27249bdf2e207f.zip gcc-368117e868b67d8e7daa2b3a2d27249bdf2e207f.tar.gz gcc-368117e868b67d8e7daa2b3a2d27249bdf2e207f.tar.bz2 |
tree-vectorizer.h (vect_loop_versioning): Adjust prototype.
2012-05-09 Richard Guenther <rguenther@suse.de>
* tree-vectorizer.h (vect_loop_versioning): Adjust prototype.
(vect_do_peeling_for_loop_bound): Likewise.
(vect_do_peeling_for_alignment): Likewise.
* tree-vect-loop-manip.c (conservative_cost_threshold): Remove.
(vect_do_peeling_for_loop_bound): Get check_profitability and
threshold as parameters.
(vect_do_peeling_for_alignment): Likewise.
(vect_loop_versioning): Likewise.
* tree-vect-loop.c (vect_transform_loop): Compute check_profitability
and threshold here. Control where to put the check here.
From-SVN: r187323
Diffstat (limited to 'gcc/tree-vectorizer.h')
-rw-r--r-- | gcc/tree-vectorizer.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/gcc/tree-vectorizer.h b/gcc/tree-vectorizer.h index 095af93..e8ca7cb 100644 --- a/gcc/tree-vectorizer.h +++ b/gcc/tree-vectorizer.h @@ -807,10 +807,10 @@ extern LOC vect_loop_location; in tree-vect-loop-manip.c. */ extern void slpeel_make_loop_iterate_ntimes (struct loop *, tree); extern bool slpeel_can_duplicate_loop_p (const struct loop *, const_edge); -extern void vect_loop_versioning (loop_vec_info); +extern void vect_loop_versioning (loop_vec_info, unsigned int, bool); extern void vect_do_peeling_for_loop_bound (loop_vec_info, tree *, - tree, gimple_seq); -extern void vect_do_peeling_for_alignment (loop_vec_info); + unsigned int, bool); +extern void vect_do_peeling_for_alignment (loop_vec_info, unsigned int, bool); extern LOC find_loop_location (struct loop *); extern bool vect_can_advance_ivs_p (loop_vec_info); |