summaryrefslogtreecommitdiff
path: root/gcc/regs.h
diff options
context:
space:
mode:
authoramodra <amodra@138bc75d-0d04-0410-961f-82ee72b054a4>2016-04-30 00:01:52 +0000
committeramodra <amodra@138bc75d-0d04-0410-961f-82ee72b054a4>2016-04-30 00:01:52 +0000
commit32305c37f8dc110a8ff4d4394782621b731b4bdb (patch)
tree5bca41dc3722b844c53a1c4d53b03443abff64a0 /gcc/regs.h
parentb662dace58b77000acf8f7997d1faacfde98c009 (diff)
downloadgcc-32305c37f8dc110a8ff4d4394782621b731b4bdb.tar.gz
Goodbye REG_FREQ_CALLS_CROSSED and REG_N_THROWING_CALLS_CROSSED
* regs.h (struct reg_info_t): Delete freq_calls_crossed and throw_calls_crossed. (REG_FREQ_CALLS_CROSSED): Delete. (REG_N_THROWING_CALLS_CROSSED): Delete. * regstat.c (regstat_bb_compute_ri): Don't calculate REG_FREQ_CALLS_CROSSED and REG_N_THROWING_CALLS_CROSSED. (dump_reg_info): Don't print call cross frequency. * ira.c (combine_and_move_insns): Don't set REG_FREQ_CALLS_CROSSED and REG_N_THROWING_CALLS_CROSSED. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@235664 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/regs.h')
-rw-r--r--gcc/regs.h8
1 files changed, 0 insertions, 8 deletions
diff --git a/gcc/regs.h b/gcc/regs.h
index 244250d127c..e07a003f4c4 100644
--- a/gcc/regs.h
+++ b/gcc/regs.h
@@ -106,8 +106,6 @@ struct reg_info_t
int freq; /* # estimated frequency (REG n) is used or set */
int deaths; /* # of times (REG n) dies */
int calls_crossed; /* # of calls (REG n) is live across */
- int freq_calls_crossed; /* # estimated frequency (REG n) crosses call */
- int throw_calls_crossed; /* # of calls that may throw (REG n) is live across */
int basic_block; /* # of basic blocks (REG n) is used in */
};
@@ -162,12 +160,6 @@ extern size_t reg_info_p_size;
/* Indexed by N, gives number of CALL_INSNS across which (REG n) is live. */
#define REG_N_CALLS_CROSSED(N) (reg_info_p[N].calls_crossed)
-#define REG_FREQ_CALLS_CROSSED(N) (reg_info_p[N].freq_calls_crossed)
-
-/* Indexed by N, gives number of CALL_INSNS that may throw, across which
- (REG n) is live. */
-
-#define REG_N_THROWING_CALLS_CROSSED(N) (reg_info_p[N].throw_calls_crossed)
/* Indexed by n, gives number of basic block that (REG n) is used in.
If the value is REG_BLOCK_GLOBAL (-1),