gcse.c (ae_gen): Remove.
authorSteven Bosscher <steven@gcc.gnu.org>
Thu, 30 Apr 2009 10:51:08 +0000 (10:51 +0000)
committerSteven Bosscher <steven@gcc.gnu.org>
Thu, 30 Apr 2009 10:51:08 +0000 (10:51 +0000)
commitdf35c271df60646a09af5279506c76c676a83217
tree5267d15c4c34801fce266c5a6afb6cea477323ea
parentf711a87a64fb1c46e076f065d3b94b528432242a
gcse.c (ae_gen): Remove.

* gcse.c (ae_gen): Remove.
(can_assign_to_reg_p): Rename to can_assign_to_reg_without_clobbers_p
and make non-static function to make it available in store-motion.c.
Update call sites with search-and-replace.
(enumerate_ldsts, reg_set_info, reg_clear_last_set, store_ops_ok,
extract_mentioned_regs, extract_mentioned_regs_helper,
find_moveable_store, compute_store_table, load_kills_store, find_loads,
store_killed_in_insn, store_killed_after, store_killed_before,
build_store_vectors, insert_insn_start_basic_block, insert-store,
remove_reachable_equiv_notes, replace_store_insn, delete_store,
free_store_memory, one_store_motion_pass, gate_rtl_store_motion,
execute_rtl_store_motion, pass_rtl_store_motion): Move to...
* store-motion.c: ...new file.  Also copy data structures from gcse.c
and clean up to remove parts not used by store motion.
* rtl.h (can_assign_to_reg_without_clobbers_p): Add prototype.
* Makefile.in (store-motion.o): New rule. Add to OBJS-common.

From-SVN: r147001
gcc/ChangeLog
gcc/Makefile.in
gcc/gcse.c
gcc/rtl.h
gcc/store-motion.c [new file with mode: 0644]