diff options
author | Richard Henderson <rth@cygnus.com> | 1999-10-10 16:45:27 -0700 |
---|---|---|
committer | Richard Henderson <rth@gcc.gnu.org> | 1999-10-10 16:45:27 -0700 |
commit | c46a37c4175e5dc851903b6af00323cd21f13ae3 (patch) | |
tree | 2288001767de55cd13118a18d6c1d5ef87b07b50 /gcc/rtl.h | |
parent | 715e7fbc831af02e80acc60be2fa19208ab62dfc (diff) | |
download | gcc-c46a37c4175e5dc851903b6af00323cd21f13ae3.zip gcc-c46a37c4175e5dc851903b6af00323cd21f13ae3.tar.gz gcc-c46a37c4175e5dc851903b6af00323cd21f13ae3.tar.bz2 |
haifa-sched.c (sched_reg_n_calls_crossed): Delete.
* haifa-sched.c (sched_reg_n_calls_crossed): Delete.
(sched_reg_live_length, sched_reg_basic_block): Delete.
(current_block_num, bb_live_regs, old_live_regs): Delete.
(dead_notes, struct sometimes): Delete.
(sched_note_set, birthing_insn_p): Delete.
(adjust_priority): Gut useless reg lifetime code.
(create_reg_dead_note, attach_deaths): Delete.
(attach_deaths_insn, new_sometimes_live): Delete.
(finish_sometimes_live): Delete.
(find_pre_sched_live, find_post_sched_live): Delete.
(update_reg_usage): Delete.
(find_insn_reg_weight): New, from corpse of find_pre_sched_live.
(schedule_insns): Delete reg lifetime code.
(sched_analyze): Use REG_SAVE_NOTE to stuff NOTE_INSN notes away.
(unlink_other_notes): Adjust REG_NOTE commentary.
(reemit_notes): Use REG_SAVE_NOTE.
(schedule_block): Likewise.
(schedule_region): Allocate bitmap of blocks in region. Use
count_or_remove_death_notes. Use update_life_info.
* rtl.h (REG_SAVE_NOTE): New.
* rtl.c (reg_note_name): Update.
From-SVN: r29894
Diffstat (limited to 'gcc/rtl.h')
-rw-r--r-- | gcc/rtl.h | 11 |
1 files changed, 6 insertions, 5 deletions
@@ -456,8 +456,8 @@ extern void rtvec_check_failed_bounds PROTO((rtvec, int, flags computed by get_jump_flags() after dbr scheduling is complete. REG_FRAME_RELATED_EXPR is attached to insns that are RTX_FRAME_RELATED_P, but are too complex for DWARF to interpret what they imply. The attached - rtx is used instead of intuition. */ -/* REG_EH_REGION is used to indicate what exception region an INSN + rtx is used instead of intuition. + REG_EH_REGION is used to indicate what exception region an INSN belongs in. This can be used to indicate what region a call may throw to. a REGION of 0 indicates that a call cannot throw at all. a REGION of -1 indicates that it cannot throw, nor will it execute @@ -465,8 +465,9 @@ extern void rtvec_check_failed_bounds PROTO((rtvec, int, REG_EH_RETHROW is used to indicate that a call is actually a call to rethrow, and specifies the rethrow symbol for the region the rethrow is targetting. This provides a way to generate the - non standard flow edges required for a rethrow. */ - + non standard flow edges required for a rethrow. + REG_SAVE_NOTE is used by haifa-sched to save NOTE_INSN notes + across scheduling. */ #define REG_NOTES(INSN) XEXP(INSN, 6) @@ -481,7 +482,7 @@ enum reg_note { REG_DEAD = 1, REG_INC = 2, REG_EQUIV = 3, REG_WAS_0 = 4, REG_EXEC_COUNT = 17, REG_NOALIAS = 18, REG_SAVE_AREA = 19, REG_BR_PRED = 20, REG_EH_CONTEXT = 21, REG_FRAME_RELATED_EXPR = 22, REG_EH_REGION = 23, - REG_EH_RETHROW = 24 }; + REG_EH_RETHROW = 24, REG_SAVE_NOTE = 25 }; /* The base value for branch probability notes. */ #define REG_BR_PROB_BASE 10000 |