diff options
Diffstat (limited to 'gcc-4.4.3/gcc/profile.c')
-rw-r--r-- | gcc-4.4.3/gcc/profile.c | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/gcc-4.4.3/gcc/profile.c b/gcc-4.4.3/gcc/profile.c index f35214a6e..a6d3c44a6 100644 --- a/gcc-4.4.3/gcc/profile.c +++ b/gcc-4.4.3/gcc/profile.c @@ -178,6 +178,10 @@ instrument_values (histogram_values values) t = GCOV_COUNTER_V_SINGLE; break; + case HIST_TYPE_SINGLE_FLOAT_VALUE: + t = GCOV_COUNTER_V_SINGLE_FLOAT; + break; + case HIST_TYPE_CONST_DELTA: t = GCOV_COUNTER_V_DELTA; break; @@ -218,6 +222,10 @@ instrument_values (histogram_values values) (profile_hooks->gen_one_value_profiler) (hist, t, 0); break; + case HIST_TYPE_SINGLE_FLOAT_VALUE: + (profile_hooks->gen_one_float_value_profiler) (hist, t, 0); + break; + case HIST_TYPE_CONST_DELTA: (profile_hooks->gen_const_delta_profiler) (hist, t, 0); break; @@ -1198,6 +1206,12 @@ branch_prob (void) EXIT_BLOCK_PTR->index = EXIT_BLOCK; #undef BB_TO_GCOV_INDEX + if (flag_profile_reusedist) + profile_hooks->reusedist_profiler (); + + if (flag_optimize_locality) + profile_hooks->optimize_reusedist (); + if (flag_profile_values) find_values_to_profile (&values); @@ -1227,6 +1241,9 @@ branch_prob (void) /* Commit changes done by instrumentation. */ gsi_commit_edge_inserts (); + + if (flag_profile_generate_sampling) + add_sampling_to_edge_counters (); } free_aux_for_edges (); |