diff options
author | Steven Bosscher <stevenb@suse.de> | 2005-04-10 08:45:25 +0000 |
---|---|---|
committer | Steven Bosscher <stevenb@suse.de> | 2005-04-10 08:45:25 +0000 |
commit | 287d91602639ce30dafe3d6c2a2190748b61969b (patch) | |
tree | 6229d5f39b16f05c907b4000ab97e789cb96da6b /gcc/cselib.h | |
parent | 9c022e6303180bc3d953d7c66f4c92baed71dd50 (diff) |
* cselib.c (clear_table): Rename to cselib_clear_table.
* cselib.h (cselib_clear_table): Add prototype.
* gcse.c (gcse_main): Make 'f' argument unused.
(alloc_gcse_mem): Do not walk the insn chain, walk the contents
of each basic block instead.
(compute_sets, compute_hash_table_work): Likewise.
(constprop_register): Change int 'alter_jumps' argument to bool.
(do_local_cprop): Likewise.
(local_cprop_pass): Likewise. Also walk basic blocks instead of
the insn chain. Explicitly clear the cselib tables after finishing
one basic block. Make sure there are no unterminated libcall blocks.
Update compute_sets call.
(cprop): Walk basic blocks instead of the insn chain.
(one_cprop_pass, compute_ld_motion_mems, compute_store_table):
Likewise.
(bypass_jumps): Update alloc_gcse_mem, compute_sets, and
one_cprop_pass calls.
git-svn-id: https://gcc.gnu.org/svn/gcc/trunk@97945 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/cselib.h')
-rw-r--r-- | gcc/cselib.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/gcc/cselib.h b/gcc/cselib.h index 1aff2514f30..394e7319319 100644 --- a/gcc/cselib.h +++ b/gcc/cselib.h @@ -64,6 +64,7 @@ struct elt_list GTY(()) extern cselib_val *cselib_lookup (rtx, enum machine_mode, int); extern void cselib_init (bool record_memory); +extern void cselib_clear_table (void); extern void cselib_finish (void); extern void cselib_process_insn (rtx); extern enum machine_mode cselib_reg_set_mode (rtx); |