* cselib.c (clear_table): Rename to cselib_clear_table.
commitdefc80168592ecb030888c160c71320514b2cbf0
authorsteven <steven@138bc75d-0d04-0410-961f-82ee72b054a4>
Sun, 10 Apr 2005 08:45:25 +0000 (10 08:45 +0000)
committersteven <steven@138bc75d-0d04-0410-961f-82ee72b054a4>
Sun, 10 Apr 2005 08:45:25 +0000 (10 08:45 +0000)
tree6229d5f39b16f05c907b4000ab97e789cb96da6b
parentef948a604bd208b1079f290c30b29153ef0ed0b9
* 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: svn+ssh://gcc.gnu.org/svn/gcc/trunk@97945 138bc75d-0d04-0410-961f-82ee72b054a4
gcc/ChangeLog
gcc/cselib.c
gcc/cselib.h
gcc/gcse.c