tree-parloops.c (take_address_of, [...]): Make them work on a region of code delimite...
authorAntoniu Pop <antoniu.pop@gmail.com>
Thu, 24 Apr 2008 15:23:51 +0000 (16:23 +0100)
committerAntoniu Pop <apop@gcc.gnu.org>
Thu, 24 Apr 2008 15:23:51 +0000 (16:23 +0100)
commit9f9f72aa49dee36affe983b7791da8815a8125e3
tree8a8952352263f9599f127aad8876b779ad320e7e
parent601e33320a9c26e3b051aa4595d783f568800787
tree-parloops.c (take_address_of, [...]): Make them work on a region of code delimited by two edges in the CFG.

2008-04-22  Antoniu Pop  <antoniu.pop@gmail.com>
            Sebastian Pop  <sebastian.pop@amd.com>

* tree-parloops.c (take_address_of, eliminate_local_variables_1,
eliminate_local_variables_stmt, eliminate_local_variables,
separate_decls_in_loop_name, separate_decls_in_loop_stmt,
separate_decls_in_loop, gen_parallel_loop): Make them work on a region
of code delimited by two edges in the CFG.
(separate_decls_in_loop_name): Renamed separate_decls_in_region_name.
(separate_decls_in_loop_stmt): Renamed separate_decls_in_region_stmt.
(separate_decls_in_loop): Renamed separate_decls_in_region.  Isolate
the case of parallelisation of reductions.
(expr_invariant_in_region_p): New.

* tree-flow.h (gather_blocks_in_sese_region): Declared.
* tree-cfg.c (gather_blocks_in_sese_region): Extern.

Co-Authored-By: Sebastian Pop <sebastian.pop@amd.com>
From-SVN: r134632
gcc/ChangeLog
gcc/tree-cfg.c
gcc/tree-flow.h
gcc/tree-parloops.c