diff options
Diffstat (limited to 'gcc/value-prof.h')
-rw-r--r-- | gcc/value-prof.h | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/gcc/value-prof.h b/gcc/value-prof.h index b6c77b6..7030d90 100644 --- a/gcc/value-prof.h +++ b/gcc/value-prof.h @@ -33,7 +33,8 @@ enum hist_type HIST_TYPE_INDIR_CALL, /* Tries to identify the function that is (almost) called in indirect call */ HIST_TYPE_AVERAGE, /* Compute average value (sum of all values). */ - HIST_TYPE_IOR /* Used to compute expected alignment. */ + HIST_TYPE_IOR, /* Used to compute expected alignment. */ + HIST_TYPE_MAX }; #define COUNTER_FOR_HIST_TYPE(TYPE) ((int) (TYPE) + GCOV_FIRST_VALUE_COUNTER) @@ -98,6 +99,8 @@ extern void gimple_gen_const_delta_profiler (histogram_value, unsigned, unsigned); extern void gimple_gen_average_profiler (histogram_value, unsigned, unsigned); extern void gimple_gen_ior_profiler (histogram_value, unsigned, unsigned); +extern void stream_out_histogram_value (struct output_block *, histogram_value); +extern void stream_in_histogram_value (struct lto_input_block *, gimple); /* In profile.c. */ extern void init_branch_prob (void); |