diff options
author | Steven Bosscher <steven@gcc.gnu.org> | 2004-05-15 09:39:30 +0000 |
---|---|---|
committer | Steven Bosscher <steven@gcc.gnu.org> | 2004-05-15 09:39:30 +0000 |
commit | 827c06b6cfd22d7ca78f56614a5be1b50dadca79 (patch) | |
tree | dcc9e5b2879fa3fbd06b71b8cf966772d254405b /gcc/config | |
parent | 91cde0c3f5e20c4a77f68a91fc077666872483ab (diff) | |
download | gcc-827c06b6cfd22d7ca78f56614a5be1b50dadca79.zip gcc-827c06b6cfd22d7ca78f56614a5be1b50dadca79.tar.gz gcc-827c06b6cfd22d7ca78f56614a5be1b50dadca79.tar.bz2 |
basic-block.h (life_analysis, [...]): Update prototypes.
* basic-block.h (life_analysis, delete_noop_moves):
Update prototypes.
* bt-load.c (branch_target_load_optimize): Don't take the
insns stream as an argument. Update the life_analysis calls.
* combine.c (combine_instructions): Update delete_noop_moves
calls.
* flow.c (notice_stack_pointer_modification): Don't take the
insns stream as an argument. Work on the flow graph.
(life_analysis): Likewise.
(delete_noop_moves): Likewise.
* passes.c (rest_of_handle_stack_regs): Update reg_to_stack call.
(rest_of_handle_life): Update life_analysis call.
(rest_of_compilation): Likewise, and also update
branch_target_load_optimize call.
* ra.c (reg_alloc): Update life_analysis call.
* reg-stack.c (reg_to_stack): Likewise. Also, don't take
the insns stream as an argument.
* regrename.c (copyprop_hardreg_forward): Update delete_noop_moves
call.
* rtl.c (branch_target_load_optimize, reg_to_stack): Update
prototypes.
* value-profile.c (branch_prob): Update life_analysis call.
* web.c (web_main): Work on the CFG, not on the insns stream.
* config/ip2k/ip2k.c (ip2k_reorg): Update life_analysis calls.
* config/m68hc11/m68hc11.c (m68hc11_reorg): Likewise.
* config/sh/sh.c (sh_output_mi_thunk): Likewise.
From-SVN: r81873
Diffstat (limited to 'gcc/config')
-rw-r--r-- | gcc/config/ip2k/ip2k.c | 22 | ||||
-rw-r--r-- | gcc/config/m68hc11/m68hc11.c | 2 | ||||
-rw-r--r-- | gcc/config/sh/sh.c | 2 |
3 files changed, 13 insertions, 13 deletions
diff --git a/gcc/config/ip2k/ip2k.c b/gcc/config/ip2k/ip2k.c index 05ccb61..452737e 100644 --- a/gcc/config/ip2k/ip2k.c +++ b/gcc/config/ip2k/ip2k.c @@ -5315,7 +5315,7 @@ ip2k_reorg (void) things in such a way that another go will win. Do so now! */ reload_cse_regs (first_insn); find_basic_blocks (first_insn, max_reg_num (), 0); - life_analysis (first_insn, 0, PROP_REG_INFO | PROP_DEATH_NOTES); + life_analysis (0, PROP_REG_INFO | PROP_DEATH_NOTES); /* Look for where absurd things are happening with DP. */ mdr_try_dp_reload_elim (first_insn); @@ -5327,7 +5327,7 @@ ip2k_reorg (void) reload_cse_regs (first_insn); find_basic_blocks (first_insn, max_reg_num (), 0); - life_analysis (first_insn, 0, PROP_REG_INFO | PROP_DEATH_NOTES); + life_analysis (0, PROP_REG_INFO | PROP_DEATH_NOTES); if (flag_peephole2) peephole2_optimize (NULL); @@ -5354,7 +5354,7 @@ ip2k_reorg (void) mdr_try_move_pushes (first_insn); find_basic_blocks (first_insn, max_reg_num (), 0); - life_analysis (first_insn, 0, PROP_FINAL); + life_analysis (0, PROP_FINAL); mdr_try_propagate_move (first_insn); mdr_resequence_xy_yx (first_insn); @@ -5368,14 +5368,14 @@ ip2k_reorg (void) reload_cse_regs (first_insn); find_basic_blocks (first_insn, max_reg_num (), 0); - life_analysis (first_insn, 0, PROP_FINAL); + life_analysis (0, PROP_FINAL); if (flag_peephole2) peephole2_optimize (NULL); mdr_try_propagate_move (first_insn); find_basic_blocks (first_insn, max_reg_num (), 0); - life_analysis (first_insn, 0, PROP_FINAL); + life_analysis (0, PROP_FINAL); ip2k_reorg_split_simode = 1; split_all_insns (0); @@ -5386,14 +5386,14 @@ ip2k_reorg (void) reload_cse_regs (first_insn); find_basic_blocks (first_insn, max_reg_num (), 0); - life_analysis (first_insn, 0, PROP_FINAL); + life_analysis (0, PROP_FINAL); if (flag_peephole2) peephole2_optimize (NULL); mdr_try_propagate_move (first_insn); find_basic_blocks (first_insn, max_reg_num (), 0); - life_analysis (first_insn, 0, PROP_FINAL); + life_analysis (0, PROP_FINAL); ip2k_reorg_split_himode = 1; ip2k_reorg_merge_qimode = 1; @@ -5411,21 +5411,21 @@ ip2k_reorg (void) /* Call to jump_optimize (...) was here, but now I removed it. */ find_basic_blocks (first_insn, max_reg_num (), 0); - life_analysis (first_insn, 0, PROP_FINAL); + life_analysis (0, PROP_FINAL); if (flag_peephole2) peephole2_optimize (NULL); mdr_try_propagate_move (first_insn); find_basic_blocks (first_insn, max_reg_num (), 0); - life_analysis (first_insn, 0, PROP_FINAL); + life_analysis (0, PROP_FINAL); mdr_try_remove_redundant_insns (first_insn); mdr_try_propagate_clr (first_insn); mdr_try_propagate_move (first_insn); find_basic_blocks (first_insn, max_reg_num (), 0); - life_analysis (first_insn, 0, PROP_FINAL); + life_analysis (0, PROP_FINAL); ip2k_reorg_split_qimode = 1; split_all_insns (0); @@ -5434,7 +5434,7 @@ ip2k_reorg (void) mdr_try_propagate_move (first_insn); find_basic_blocks (first_insn, max_reg_num (), 0); - life_analysis (first_insn, 0, PROP_FINAL); + life_analysis (0, PROP_FINAL); #endif } diff --git a/gcc/config/m68hc11/m68hc11.c b/gcc/config/m68hc11/m68hc11.c index 45ef1bc..dadbd9a 100644 --- a/gcc/config/m68hc11/m68hc11.c +++ b/gcc/config/m68hc11/m68hc11.c @@ -5272,7 +5272,7 @@ m68hc11_reorg (void) } } - life_analysis (first, 0, PROP_REG_INFO | PROP_DEATH_NOTES); + life_analysis (0, PROP_REG_INFO | PROP_DEATH_NOTES); } z_replacement_completed = 2; diff --git a/gcc/config/sh/sh.c b/gcc/config/sh/sh.c index 30526c2..1289543 100644 --- a/gcc/config/sh/sh.c +++ b/gcc/config/sh/sh.c @@ -9526,7 +9526,7 @@ sh_output_mi_thunk (FILE *file, tree thunk_fndecl ATTRIBUTE_UNUSED, if (optimize > 0 && flag_schedule_insns_after_reload) { find_basic_blocks (insns, max_reg_num (), dump_file); - life_analysis (insns, dump_file, PROP_FINAL); + life_analysis (dump_file, PROP_FINAL); split_all_insns (1); |