haifa-sched.c (split_hard_reg_notes): Move to flow.c
authorBob Manson <manson@cygnus.com>
Tue, 24 Aug 1999 22:35:55 +0000 (22:35 +0000)
committerRichard Henderson <rth@gcc.gnu.org>
Tue, 24 Aug 1999 22:35:55 +0000 (15:35 -0700)
commitf2a1bc02679df06d8461df03f48ebaafe5e4307e
treee86a9635ca292ea67589cef742a73eea422d2d19
parent952d33b8db3341dd48dc4e73186720f33a8525db
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 <rth@cygnus.com>
From-SVN: r28828
gcc/ChangeLog
gcc/flow.c
gcc/haifa-sched.c
gcc/output.h
gcc/recog.c
gcc/resource.c
gcc/rtl.h