Commit 5affca01 by Steven Bosscher Committed by Steven Bosscher

cse.c (cse_around_loop, [...]): Remove.

	* cse.c (cse_around_loop, cse_check_loop_start,
	cse_set_around_loop): Remove.
	(cse_basic_block): Remove the around_loop argument.
	(cse_end_of_basic_block): Remove the after_loop argument.
	(cse_main): Likewise.
	* rtl.h (cse_main): Update prototype.
	* passes.c (rest_of_handle_cse, rest_of_handle_cse2,
	rest_of_handle_gcse): Update cse_main calls.

From-SVN: r86546
parent 15793d0c
2004-08-25 Steven Bosscher <stevenb@suse.de>
* cse.c (cse_around_loop, cse_check_loop_start,
cse_set_around_loop): Remove.
(cse_basic_block): Remove the around_loop argument.
(cse_end_of_basic_block): Remove the after_loop argument.
(cse_main): Likewise.
* rtl.h (cse_main): Update prototype.
* passes.c (rest_of_handle_cse, rest_of_handle_cse2,
rest_of_handle_gcse): Update cse_main calls.
2004-08-25 Nathan Sidwell <nathan@codesourcery.com> 2004-08-25 Nathan Sidwell <nathan@codesourcery.com>
* tree.h (build_int_cst): New, sign extended constant. * tree.h (build_int_cst): New, sign extended constant.
......
...@@ -1146,7 +1146,7 @@ rest_of_handle_cse (void) ...@@ -1146,7 +1146,7 @@ rest_of_handle_cse (void)
reg_scan (get_insns (), max_reg_num (), 1); reg_scan (get_insns (), max_reg_num (), 1);
tem = cse_main (get_insns (), max_reg_num (), 0, dump_file); tem = cse_main (get_insns (), max_reg_num (), dump_file);
if (tem) if (tem)
rebuild_jump_labels (get_insns ()); rebuild_jump_labels (get_insns ());
if (purge_all_dead_edges (0)) if (purge_all_dead_edges (0))
...@@ -1178,7 +1178,7 @@ rest_of_handle_cse2 (void) ...@@ -1178,7 +1178,7 @@ rest_of_handle_cse2 (void)
if (dump_file) if (dump_file)
dump_flow_info (dump_file); dump_flow_info (dump_file);
/* CFG is no longer maintained up-to-date. */ /* CFG is no longer maintained up-to-date. */
tem = cse_main (get_insns (), max_reg_num (), 1, dump_file); tem = cse_main (get_insns (), max_reg_num (), dump_file);
/* Run a pass to eliminate duplicated assignments to condition code /* Run a pass to eliminate duplicated assignments to condition code
registers. We have to run this after bypass_jumps, because it registers. We have to run this after bypass_jumps, because it
...@@ -1227,7 +1227,7 @@ rest_of_handle_gcse (void) ...@@ -1227,7 +1227,7 @@ rest_of_handle_gcse (void)
{ {
timevar_push (TV_CSE); timevar_push (TV_CSE);
reg_scan (get_insns (), max_reg_num (), 1); reg_scan (get_insns (), max_reg_num (), 1);
tem2 = cse_main (get_insns (), max_reg_num (), 0, dump_file); tem2 = cse_main (get_insns (), max_reg_num (), dump_file);
purge_all_dead_edges (0); purge_all_dead_edges (0);
delete_trivially_dead_insns (get_insns (), max_reg_num ()); delete_trivially_dead_insns (get_insns (), max_reg_num ());
timevar_pop (TV_CSE); timevar_pop (TV_CSE);
...@@ -1248,7 +1248,7 @@ rest_of_handle_gcse (void) ...@@ -1248,7 +1248,7 @@ rest_of_handle_gcse (void)
{ {
timevar_push (TV_CSE); timevar_push (TV_CSE);
reg_scan (get_insns (), max_reg_num (), 1); reg_scan (get_insns (), max_reg_num (), 1);
tem2 = cse_main (get_insns (), max_reg_num (), 0, dump_file); tem2 = cse_main (get_insns (), max_reg_num (), dump_file);
purge_all_dead_edges (0); purge_all_dead_edges (0);
delete_trivially_dead_insns (get_insns (), max_reg_num ()); delete_trivially_dead_insns (get_insns (), max_reg_num ());
timevar_pop (TV_CSE); timevar_pop (TV_CSE);
......
...@@ -1914,7 +1914,7 @@ extern int rtx_to_tree_code (enum rtx_code); ...@@ -1914,7 +1914,7 @@ extern int rtx_to_tree_code (enum rtx_code);
/* In cse.c */ /* In cse.c */
extern int delete_trivially_dead_insns (rtx, int); extern int delete_trivially_dead_insns (rtx, int);
extern int cse_main (rtx, int, int, FILE *); extern int cse_main (rtx, int, FILE *);
extern void cse_condition_code_reg (void); extern void cse_condition_code_reg (void);
extern int exp_equiv_p (rtx, rtx, int, bool); extern int exp_equiv_p (rtx, rtx, int, bool);
extern unsigned hash_rtx (rtx x, enum machine_mode, int *, int *, bool); extern unsigned hash_rtx (rtx x, enum machine_mode, int *, int *, bool);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment