aboutsummaryrefslogtreecommitdiff
path: root/gcc/rtl.h
diff options
context:
space:
mode:
authorDavid S. Miller <davem@tanya.rutgers.edu>1997-09-23 07:14:07 +0000
committerJeff Law <law@gcc.gnu.org>1997-09-23 01:14:07 -0600
commitc107334d5c3780a3c78067922b8b2a8caf7ea2b0 (patch)
treebacbc60b12bc81575fde04ef6114280a5e5fbc54 /gcc/rtl.h
parent5cd278f39919dc2c8ff16d5b74e096cf3cafba32 (diff)
downloadgcc-c107334d5c3780a3c78067922b8b2a8caf7ea2b0.zip
gcc-c107334d5c3780a3c78067922b8b2a8caf7ea2b0.tar.gz
gcc-c107334d5c3780a3c78067922b8b2a8caf7ea2b0.tar.bz2
reorg.c (dbr_schedule): At end of this pass...
* reorg.c (dbr_schedule): At end of this pass, add REG_BR_PRED note holding get_jump_flags() calculation to all JUMP_INSNs. * rtl.h (enum reg_note): New note types REG_BR_PRED and REG_SAVE_AREA. * rtl.c (reg_note_name): Add new note types. From-SVN: r15670
Diffstat (limited to 'gcc/rtl.h')
-rw-r--r--gcc/rtl.h10
1 files changed, 8 insertions, 2 deletions
diff --git a/gcc/rtl.h b/gcc/rtl.h
index f4d1db9..f95adc5 100644
--- a/gcc/rtl.h
+++ b/gcc/rtl.h
@@ -307,7 +307,12 @@ typedef struct rtvec_def{
probability that this call won't return.
REG_EXEC_COUNT is attached to the first insn of each basic block, and
the first insn after each CALL_INSN. It indicates how many times this
- block was executed. */
+ block was executed.
+ REG_SAVE_AREA is used to optimize rtl generated by dynamic stack
+ allocations for targets where SETJMP_VIA_SAVE_AREA is true.
+ REG_BR_PRED is attached to JUMP_INSNs only, it holds the branch prediction
+ flags computed by get_jump_flags() after dbr scheduling is complete. */
+
#define REG_NOTES(INSN) ((INSN)->fld[6].rtx)
@@ -317,7 +322,8 @@ enum reg_note { REG_DEAD = 1, REG_INC = 2, REG_EQUIV = 3, REG_WAS_0 = 4,
REG_NONNEG = 8, REG_NO_CONFLICT = 9, REG_UNUSED = 10,
REG_CC_SETTER = 11, REG_CC_USER = 12, REG_LABEL = 13,
REG_DEP_ANTI = 14, REG_DEP_OUTPUT = 15, REG_BR_PROB = 16,
- REG_EXEC_COUNT = 17, REG_NOALIAS = 18 };
+ REG_EXEC_COUNT = 17, REG_NOALIAS = 18, REG_SAVE_AREA = 19,
+ REG_BR_PRED = 20 };
/* The base value for branch probability notes. */
#define REG_BR_PROB_BASE 10000