Returns true if function F is suggested to be size-optimized based on the profile.
Declared in <llvm/Transforms/Utils/SizeOpts.h>
template<
typename FuncT,
typename BFIT>
bool
shouldFuncOptimizeForSizeImpl(
FuncT const* F,
ProfileSummaryInfo* PSI,
BFIT* BFI,
PGSOQueryType QueryType);
True if F should be optimized for size.
| Name | Description |
|---|---|
| F | The function to consider for size optimization. |
| PSI | Profile summary information used to classify hot/cold code. |
| BFI | Block frequency information for F. |
| QueryType | The caller context of this size-optimization query. |