diff options
Diffstat (limited to 'gcc/rtl.h')
-rwxr-xr-x | gcc/rtl.h | 29 |
1 files changed, 6 insertions, 23 deletions
@@ -331,14 +331,7 @@ typedef struct rtvec_def{ dependencies. REG_DEP_OUTPUT is used in LOG_LINKS which represent output (write after write) dependencies. Data dependencies, which are the only type of LOG_LINK created by flow, are represented by a 0 reg note kind. */ -/* REG_BR_PROB is attached to JUMP_INSNs and CALL_INSNs when the flag - -fbranch-probabilities is given. It has an integer value. For jumps, - it is the probability that this is a taken branch. For calls, it is the - 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. - REG_SAVE_AREA is used to optimize rtl generated by dynamic stack +/* 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. @@ -363,13 +356,11 @@ enum reg_note { REG_DEAD = 1, REG_INC = 2, REG_EQUIV = 3, REG_WAS_0 = 4, REG_EQUAL = 5, REG_RETVAL = 6, REG_LIBCALL = 7, 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_SAVE_AREA = 19, - REG_BR_PRED = 20, REG_EH_CONTEXT = 21, - REG_FRAME_RELATED_EXPR = 22, REG_EH_REGION = 23, - REG_EH_RETHROW = 24 }; -/* The base value for branch probability notes. */ -#define REG_BR_PROB_BASE 10000 + REG_DEP_ANTI = 14, REG_DEP_OUTPUT = 15, + REG_NOALIAS = 16, REG_SAVE_AREA = 17, + REG_BR_PRED = 18, REG_EH_CONTEXT = 19, + REG_FRAME_RELATED_EXPR = 20, REG_EH_REGION = 21, + REG_EH_RETHROW = 22 }; /* Define macros to extract and insert the reg-note kind in an EXPR_LIST. */ #define REG_NOTE_KIND(LINK) ((enum reg_note) GET_MODE (LINK)) @@ -1512,14 +1503,6 @@ extern int reload PROTO ((rtx, int, FILE *)); /* In caller-save.c */ extern void init_caller_save PROTO ((void)); -/* In profile.c */ -extern void init_branch_prob PROTO ((char *)); -#ifdef BUFSIZ -extern void branch_prob PROTO ((rtx, FILE *)); -extern void end_branch_prob PROTO ((FILE *)); -#endif -extern void output_func_start_profiler PROTO ((void)); - /* In reg-stack.c */ #ifdef BUFSIZ extern void reg_to_stack PROTO ((rtx, FILE *)); |