From f2a1bc02679df06d8461df03f48ebaafe5e4307e Mon Sep 17 00:00:00 2001 From: Bob Manson Date: Tue, 24 Aug 1999 22:35:55 +0000 Subject: haifa-sched.c (split_hard_reg_notes): Move to flow.c * haifa-sched.c (split_hard_reg_notes): Move to flow.c (new_insn_dead_notes): Likewise. (update_n_sets): Likewise. (update_flow_info): Move to flow.c, renamed to update_life_info; extend to handle multiple source insns. * flow.c: Include resource.h (unlink_insn_chain): New. (split_hard_reg_notes): New. (maybe_add_dead_note): New. (maybe_add_dead_note_use): New. (find_insn_with_note): New. (new_insn_dead_notes): New. (update_n_sets): New. (sets_reg_or_subreg_1, sets_reg_or_subreg): New. (maybe_remove_dead_notes): New. (update_life_info): New. (prepend_reg_notes): New. (replace_insns): New. * output.h (update_life_info): Declare. * recog.c (split_block_insns): Use update_life_info. * resource.c (find_free_register): Use reg_alloc_order, don't use fixed regs, make sure the mode is supported, don't use new regs. (reg_dead_p): New. * rtl.h (replace_insns): Declare. Co-Authored-By: Richard Henderson From-SVN: r28828 --- gcc/rtl.h | 1 + 1 file changed, 1 insertion(+) (limited to 'gcc/rtl.h') diff --git a/gcc/rtl.h b/gcc/rtl.h index c5fc12a..40a3125 100644 --- a/gcc/rtl.h +++ b/gcc/rtl.h @@ -1412,6 +1412,7 @@ extern void recompute_reg_usage PROTO ((rtx, int)); extern void dump_flow_info PROTO ((FILE *)); #endif extern void free_bb_mem PROTO ((void)); +extern void replace_insns PROTO ((rtx, rtx, rtx, rtx)); /* In expmed.c */ extern void init_expmed PROTO ((void)); -- cgit v1.1