diff options
author | rguenth <rguenth@138bc75d-0d04-0410-961f-82ee72b054a4> | 2013-11-21 09:19:31 +0000 |
---|---|---|
committer | rguenth <rguenth@138bc75d-0d04-0410-961f-82ee72b054a4> | 2013-11-21 09:19:31 +0000 |
commit | 782fd1d1ab1d43ad677c38d7f06bace99643664e (patch) | |
tree | 23b6817225b21487b85dd002e5453634bef5bd95 /gcc/tree-vectorizer.h | |
parent | 19a8301a96cbab1046766864f4e527906f3fe846 (diff) | |
download | gcc-782fd1d1ab1d43ad677c38d7f06bace99643664e.tar.gz |
2013-11-21 Richard Biener <rguenther@suse.de>
* tree-vect-loop-manip.c (vect_build_loop_niters,
vect_generate_tmps_on_preheader): Move ...
* tree-vect-loop.c (vect_build_loop_niters,
vect_generate_tmps_on_preheader): ... here and simplify.
(vect_transform_loop): Call them here and pass down results
to consumers.
* tree-vect-loop-manip.c (vect_do_peeling_for_loop_bound):
Get niter variables from caller.
(vect_do_peeling_for_alignment): Likewise.
* tree-vectorizer.h (vect_generate_tmps_on_preheader): Remove.
(vect_do_peeling_for_loop_bound, vect_do_peeling_for_alignment):
Adjust prototypes.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@205199 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/tree-vectorizer.h')
-rw-r--r-- | gcc/tree-vectorizer.h | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/gcc/tree-vectorizer.h b/gcc/tree-vectorizer.h index 1634d7fa7f5..1297fab6cfe 100644 --- a/gcc/tree-vectorizer.h +++ b/gcc/tree-vectorizer.h @@ -937,11 +937,10 @@ extern void slpeel_make_loop_iterate_ntimes (struct loop *, tree); extern bool slpeel_can_duplicate_loop_p (const struct loop *, const_edge); struct loop *slpeel_tree_duplicate_loop_to_edge_cfg (struct loop *, edge); extern void vect_loop_versioning (loop_vec_info, unsigned int, bool); -extern void vect_generate_tmps_on_preheader (loop_vec_info, tree *, tree *, - tree *, gimple_seq); -extern void vect_do_peeling_for_loop_bound (loop_vec_info, tree *, +extern void vect_do_peeling_for_loop_bound (loop_vec_info, tree, tree, unsigned int, bool); -extern void vect_do_peeling_for_alignment (loop_vec_info, unsigned int, bool); +extern void vect_do_peeling_for_alignment (loop_vec_info, tree, + unsigned int, bool); extern LOC find_loop_location (struct loop *); extern bool vect_can_advance_ivs_p (loop_vec_info); |