aboutsummaryrefslogtreecommitdiff
path: root/gcc/rtl.h
diff options
context:
space:
mode:
authorSteven Bosscher <steven@gcc.gnu.org>2009-04-30 10:51:08 +0000
committerSteven Bosscher <steven@gcc.gnu.org>2009-04-30 10:51:08 +0000
commitdf35c271df60646a09af5279506c76c676a83217 (patch)
tree5267d15c4c34801fce266c5a6afb6cea477323ea /gcc/rtl.h
parentf711a87a64fb1c46e076f065d3b94b528432242a (diff)
downloadgcc-df35c271df60646a09af5279506c76c676a83217.zip
gcc-df35c271df60646a09af5279506c76c676a83217.tar.gz
gcc-df35c271df60646a09af5279506c76c676a83217.tar.bz2
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
Diffstat (limited to 'gcc/rtl.h')
-rw-r--r--gcc/rtl.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/gcc/rtl.h b/gcc/rtl.h
index 9941a97..1282b90 100644
--- a/gcc/rtl.h
+++ b/gcc/rtl.h
@@ -2222,6 +2222,7 @@ extern void expand_dec (rtx, rtx);
/* In gcse.c */
extern bool can_copy_p (enum machine_mode);
+extern bool can_assign_to_reg_without_clobbers_p (rtx);
extern rtx fis_get_condition (rtx);
/* In ira.c */