diff options
author | Richard Biener <rguenther@suse.de> | 2015-04-21 11:40:46 +0000 |
---|---|---|
committer | Richard Biener <rguenth@gcc.gnu.org> | 2015-04-21 11:40:46 +0000 |
commit | c4d281b29a03c1e7637936434a04e9a419f22c00 (patch) | |
tree | c25284f96a167e670591c7a8289f962d38b6e60e /gcc/cfghooks.h | |
parent | 8409e468a5f94b7577ccfa073f8b859481a86800 (diff) | |
download | gcc-c4d281b29a03c1e7637936434a04e9a419f22c00.zip gcc-c4d281b29a03c1e7637936434a04e9a419f22c00.tar.gz gcc-c4d281b29a03c1e7637936434a04e9a419f22c00.tar.bz2 |
cfghooks.h (create_basic_block): Replace with two overloads for RTL and GIMPLE.
2015-04-21 Richard Biener <rguenther@suse.de>
* cfghooks.h (create_basic_block): Replace with two overloads
for RTL and GIMPLE.
(split_block): Likewise.
* cfghooks.c (split_block): Rename to ...
(split_block_1): ... this.
(split_block): Add two type-safe overloads for RTL and GIMPLE.
(split_block_after_labels): Call split_block_1.
(create_basic_block): Rename to ...
(create_basic_block_1): ... this.
(create_basic_block): Add two type-safe overloads for RTL and GIMPLE.
(create_empty_bb): Call create_basic_block_1.
* cfgrtl.c (fixup_fallthru_exit_predecessor): Use
split_block_after_labels.
* omp-low.c (expand_parallel_call): Likewise.
(expand_omp_target): Likewise.
(simd_clone_adjust): Likewise.
* tree-chkp.c (chkp_get_entry_block): Likewise.
* cgraphunit.c (init_lowered_empty_function): Use the GIMPLE
create_basic_block overload.
(cgraph_node::expand_thunk): Likewise.
* tree-cfg.c (make_blocks): Likewise.
(handle_abnormal_edges): Likewise.
* tree-inline.c (copy_bb): Likewise.
From-SVN: r222264
Diffstat (limited to 'gcc/cfghooks.h')
-rw-r--r-- | gcc/cfghooks.h | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/gcc/cfghooks.h b/gcc/cfghooks.h index 4a1340e..a8fbe5d 100644 --- a/gcc/cfghooks.h +++ b/gcc/cfghooks.h @@ -196,12 +196,14 @@ extern edge redirect_edge_succ_nodup (edge, basic_block); extern bool can_remove_branch_p (const_edge); extern void remove_branch (edge); extern void remove_edge (edge); -extern edge split_block (basic_block, void *); +extern edge split_block (basic_block, rtx); +extern edge split_block (basic_block, gimple); extern edge split_block_after_labels (basic_block); extern bool move_block_after (basic_block, basic_block); extern void delete_basic_block (basic_block); extern basic_block split_edge (edge); -extern basic_block create_basic_block (void *, void *, basic_block); +extern basic_block create_basic_block (rtx, rtx, basic_block); +extern basic_block create_basic_block (gimple_seq, basic_block); extern basic_block create_empty_bb (basic_block); extern bool can_merge_blocks_p (basic_block, basic_block); extern void merge_blocks (basic_block, basic_block); |