aboutsummaryrefslogtreecommitdiffstats
path: root/gcc-4.4.0/gcc/basic-block.h
diff options
context:
space:
mode:
Diffstat (limited to 'gcc-4.4.0/gcc/basic-block.h')
-rw-r--r--gcc-4.4.0/gcc/basic-block.h13
1 files changed, 10 insertions, 3 deletions
diff --git a/gcc-4.4.0/gcc/basic-block.h b/gcc-4.4.0/gcc/basic-block.h
index bfda03220..a2905c4f6 100644
--- a/gcc-4.4.0/gcc/basic-block.h
+++ b/gcc-4.4.0/gcc/basic-block.h
@@ -216,6 +216,13 @@ struct rtl_bb_info;
basic block even though these insns can follow or precede insns in
basic blocks. */
+enum sample_profile_confidence
+{
+ LOW_CONFIDENCE = 0,
+ NORMAL_CONFIDENCE,
+ HIGH_CONFIDENCE
+};
+
/* Basic block information indexed by block number. */
struct basic_block_def GTY((chain_next ("%h.next_bb"), chain_prev ("%h.prev_bb")))
{
@@ -244,6 +251,9 @@ struct basic_block_def GTY((chain_next ("%h.next_bb"), chain_prev ("%h.prev_bb")
/* Expected number of executions: calculated in profile.c. */
gcov_type count;
+ /* Confidence level for the profile */
+ enum sample_profile_confidence confidence;
+
/* The index of this block. */
int index;
@@ -253,9 +263,6 @@ struct basic_block_def GTY((chain_next ("%h.next_bb"), chain_prev ("%h.prev_bb")
/* Expected frequency. Normalized to be in range 0 to BB_FREQ_MAX. */
int frequency;
- /* The discriminator for this block. */
- int discriminator;
-
/* Various flags. See BB_* below. */
int flags;
};