diff options
author | Antoniu Pop <antoniu.pop@gmail.com> | 2008-04-24 16:23:51 +0100 |
---|---|---|
committer | Antoniu Pop <apop@gcc.gnu.org> | 2008-04-24 16:23:51 +0100 |
commit | 9f9f72aa49dee36affe983b7791da8815a8125e3 (patch) | |
tree | 8a8952352263f9599f127aad8876b779ad320e7e /gcc/tree-flow.h | |
parent | 601e33320a9c26e3b051aa4595d783f568800787 (diff) | |
download | gcc-9f9f72aa49dee36affe983b7791da8815a8125e3.zip gcc-9f9f72aa49dee36affe983b7791da8815a8125e3.tar.gz gcc-9f9f72aa49dee36affe983b7791da8815a8125e3.tar.bz2 |
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
Diffstat (limited to 'gcc/tree-flow.h')
-rw-r--r-- | gcc/tree-flow.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/gcc/tree-flow.h b/gcc/tree-flow.h index f26181f..74cb073 100644 --- a/gcc/tree-flow.h +++ b/gcc/tree-flow.h @@ -771,6 +771,8 @@ extern bool tree_duplicate_sese_region (edge, edge, basic_block *, unsigned, basic_block *); extern bool tree_duplicate_sese_tail (edge, edge, basic_block *, unsigned, basic_block *); +extern void gather_blocks_in_sese_region (basic_block entry, basic_block exit, + VEC(basic_block,heap) **bbs_p); extern void add_phi_args_after_copy_bb (basic_block); extern void add_phi_args_after_copy (basic_block *, unsigned, edge); extern bool tree_purge_dead_abnormal_call_edges (basic_block); |