aboutsummaryrefslogtreecommitdiff
path: root/gcc/passes.c
diff options
context:
space:
mode:
authorPaolo Bonzini <bonzini@gnu.org>2005-01-17 08:46:19 +0000
committerPaolo Bonzini <bonzini@gcc.gnu.org>2005-01-17 08:46:19 +0000
commitc80a0f261bda57f3c3fbbe4ebb876f081ad21a1a (patch)
tree2c6472f8ec139069ce40dade8e67840b5c726ed7 /gcc/passes.c
parentfbf53020b5a62deb6f105aaca0b62906b8fe49ea (diff)
downloadgcc-c80a0f261bda57f3c3fbbe4ebb876f081ad21a1a.zip
gcc-c80a0f261bda57f3c3fbbe4ebb876f081ad21a1a.tar.gz
gcc-c80a0f261bda57f3c3fbbe4ebb876f081ad21a1a.tar.bz2
bb-reorder.c (fix_edges_for_rarely_executed_code): Remove last parameter to reg_scan.
2005-01-15 Paolo Bonzini <bonzini@gnu.org> * bb-reorder.c (fix_edges_for_rarely_executed_code): Remove last parameter to reg_scan. * loop.c (loop_optimize): Likewise. * passes.c (rest_of_handle_tracer, rest_of_handle_if_conversion, rest_of_handle_web, rest_of_handle_cfg, rest_of_handle_jump_bypass, rest_of_handle_life, rest_of_handle_cse, rest_of_handle_cse2, rest_of_handle_gcse, rest_of_handle_loop_optimize, rest_of_handle_loop2, rest_of_handle_jump2): Likewise. * regclass.c (reg_scan): Likewise, for the declaration. * rtl.h (reg_scan): Likewise, for the prototype. From-SVN: r93758
Diffstat (limited to 'gcc/passes.c')
-rw-r--r--gcc/passes.c29
1 files changed, 14 insertions, 15 deletions
diff --git a/gcc/passes.c b/gcc/passes.c
index 1dc45ff..1d83558 100644
--- a/gcc/passes.c
+++ b/gcc/passes.c
@@ -734,7 +734,7 @@ rest_of_handle_tracer (void)
dump_flow_info (dump_file);
tracer (0);
cleanup_cfg (CLEANUP_EXPENSIVE);
- reg_scan (get_insns (), max_reg_num (), 0);
+ reg_scan (get_insns (), max_reg_num ());
close_dump_file (DFI_tracer, print_rtl_with_bb, get_insns ());
}
@@ -750,13 +750,13 @@ rest_of_handle_if_conversion (void)
if (dump_file)
dump_flow_info (dump_file);
cleanup_cfg (CLEANUP_EXPENSIVE);
- reg_scan (get_insns (), max_reg_num (), 0);
+ reg_scan (get_insns (), max_reg_num ());
if_convert (0);
}
timevar_push (TV_JUMP);
cleanup_cfg (CLEANUP_EXPENSIVE);
- reg_scan (get_insns (), max_reg_num (), 0);
+ reg_scan (get_insns (), max_reg_num ());
timevar_pop (TV_JUMP);
close_dump_file (DFI_ce1, print_rtl_with_bb, get_insns ());
@@ -807,7 +807,7 @@ rest_of_handle_web (void)
timevar_pop (TV_WEB);
close_dump_file (DFI_web, print_rtl_with_bb, get_insns ());
- reg_scan (get_insns (), max_reg_num (), 0);
+ reg_scan (get_insns (), max_reg_num ());
}
/* Do branch profiling and static profile estimation passes. */
@@ -883,7 +883,7 @@ rest_of_handle_cfg (void)
{
/* Alias analysis depends on this information and mark_constant_function
depends on alias analysis. */
- reg_scan (get_insns (), max_reg_num (), 1);
+ reg_scan (get_insns (), max_reg_num ());
mark_constant_function ();
}
@@ -898,7 +898,7 @@ rest_of_handle_jump_bypass (void)
open_dump_file (DFI_bypass, current_function_decl);
cleanup_cfg (CLEANUP_EXPENSIVE);
- reg_scan (get_insns (), max_reg_num (), 1);
+ reg_scan (get_insns (), max_reg_num ());
if (bypass_jumps (dump_file))
{
@@ -959,8 +959,7 @@ rest_of_handle_life (void)
#endif
life_analysis (dump_file, PROP_FINAL);
if (optimize)
- cleanup_cfg ((optimize ? CLEANUP_EXPENSIVE : 0) | CLEANUP_UPDATE_LIFE
- | CLEANUP_LOG_LINKS
+ cleanup_cfg (CLEANUP_EXPENSIVE | CLEANUP_UPDATE_LIFE | CLEANUP_LOG_LINKS
| (flag_thread_jumps ? CLEANUP_THREADING : 0));
if (extra_warnings)
@@ -1001,7 +1000,7 @@ rest_of_handle_cse (void)
dump_flow_info (dump_file);
timevar_push (TV_CSE);
- reg_scan (get_insns (), max_reg_num (), 1);
+ reg_scan (get_insns (), max_reg_num ());
tem = cse_main (get_insns (), max_reg_num (), dump_file);
if (tem)
@@ -1053,7 +1052,7 @@ rest_of_handle_cse2 (void)
cleanup_cfg (CLEANUP_EXPENSIVE);
timevar_pop (TV_JUMP);
}
- reg_scan (get_insns (), max_reg_num (), 0);
+ reg_scan (get_insns (), max_reg_num ());
close_dump_file (DFI_cse2, print_rtl_with_bb, get_insns ());
timevar_pop (TV_CSE2);
@@ -1083,7 +1082,7 @@ rest_of_handle_gcse (void)
if (flag_expensive_optimizations)
{
timevar_push (TV_CSE);
- reg_scan (get_insns (), max_reg_num (), 1);
+ reg_scan (get_insns (), max_reg_num ());
tem2 = cse_main (get_insns (), max_reg_num (), dump_file);
purge_all_dead_edges (0);
delete_trivially_dead_insns (get_insns (), max_reg_num ());
@@ -1104,7 +1103,7 @@ rest_of_handle_gcse (void)
if (flag_expensive_optimizations)
{
timevar_push (TV_CSE);
- reg_scan (get_insns (), max_reg_num (), 1);
+ reg_scan (get_insns (), max_reg_num ());
tem2 = cse_main (get_insns (), max_reg_num (), dump_file);
purge_all_dead_edges (0);
delete_trivially_dead_insns (get_insns (), max_reg_num ());
@@ -1155,7 +1154,7 @@ rest_of_handle_loop_optimize (void)
/* The regscan pass is currently necessary as the alias
analysis code depends on this information. */
- reg_scan (get_insns (), max_reg_num (), 1);
+ reg_scan (get_insns (), max_reg_num ());
}
cleanup_barriers ();
loop_optimize (get_insns (), dump_file, do_prefetch);
@@ -1228,7 +1227,7 @@ rest_of_handle_loop2 (void)
cleanup_cfg (CLEANUP_EXPENSIVE);
delete_trivially_dead_insns (get_insns (), max_reg_num ());
- reg_scan (get_insns (), max_reg_num (), 0);
+ reg_scan (get_insns (), max_reg_num ());
if (dump_file)
dump_flow_info (dump_file);
close_dump_file (DFI_loop2, print_rtl_with_bb, get_insns ());
@@ -1390,7 +1389,7 @@ rest_of_handle_jump2 (void)
expected_value_to_br_prob ();
delete_trivially_dead_insns (get_insns (), max_reg_num ());
- reg_scan (get_insns (), max_reg_num (), 0);
+ reg_scan (get_insns (), max_reg_num ());
if (dump_file)
dump_flow_info (dump_file);
cleanup_cfg ((optimize ? CLEANUP_EXPENSIVE : 0) | CLEANUP_PRE_LOOP