diff options
Diffstat (limited to 'gcc/auto-profile.h')
-rw-r--r-- | gcc/auto-profile.h | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/gcc/auto-profile.h b/gcc/auto-profile.h index 83d523c..639e263 100644 --- a/gcc/auto-profile.h +++ b/gcc/auto-profile.h @@ -28,4 +28,18 @@ extern void end_auto_profile (void); /* Returns TRUE if EDGE is hot enough to be inlined early. */ extern bool afdo_callsite_hot_enough_for_early_inline (struct cgraph_edge *); +/* Try to turn indirect calls into speculative calls for early inlining. */ +extern bool afdo_vpt_for_early_inline (cgraph_node *node); + +/* If speculation was early inlined, remove it from profile data so we + do not repeat it later. */ +extern void remove_afdo_speculative_target (cgraph_edge *); + +/* profile counts determined by AFDO smaller than afdo_hot_bb_threshold are + considered cols. */ +extern gcov_type afdo_hot_bb_threshold; + +/* Return ture if COUNT is possiby hot. */ +extern bool maybe_hot_afdo_count_p (profile_count count); + #endif /* AUTO_PROFILE_H */ |