diff options
Diffstat (limited to 'gcc/auto-profile.h')
-rw-r--r-- | gcc/auto-profile.h | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/gcc/auto-profile.h b/gcc/auto-profile.h index 83d523c..d31a208 100644 --- a/gcc/auto-profile.h +++ b/gcc/auto-profile.h @@ -28,4 +28,11 @@ 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 *); + #endif /* AUTO_PROFILE_H */ |