Add rewrite_virtuals_into_loop_closed_ssa
authorTom de Vries <tom@codesourcery.com>
Tue, 7 Jul 2015 16:25:12 +0000 (16:25 +0000)
committerTom de Vries <vries@gcc.gnu.org>
Tue, 7 Jul 2015 16:25:12 +0000 (16:25 +0000)
commit338392ed0fd9ca466905860e931b7a480179bce4
tree3eb1e7150ba1a00608cd3f4c2b16ae22ac5438b1
parent9b20858a9ba7039a12cef6e724e541bdcce2ba25
Add rewrite_virtuals_into_loop_closed_ssa

2015-07-07  Tom de Vries  <tom@codesourcery.com>

* tree-cfg.c (get_virtual_phi): New function.
* tree-cfg.h (get_virtual_phi): Declare.
* tree-ssa-loop-manip.c (replace_uses_in_dominated_bbs)
(rewrite_virtuals_into_loop_closed_ssa): New function.
* tree-ssa-loop-manip.h (rewrite_virtuals_into_loop_closed_ssa):
Declare.
* tree-parloops.c (replace_uses_in_bbs_by): Remove.
(transform_to_exit_first_loop_alt): Use
rewrite_virtuals_into_loop_closed_ssa.

From-SVN: r225520
gcc/ChangeLog
gcc/tree-cfg.c
gcc/tree-cfg.h
gcc/tree-parloops.c
gcc/tree-ssa-loop-manip.c
gcc/tree-ssa-loop-manip.h