Construct inlining context with optional profile and assumption helpers.
Synopsis
Declared in <llvm/Transforms/Utils/Cloning.h>
explicit
InlineFunctionInfo(
function_ref<AssumptionCache&(xref:llvm/Function.adoc[Function&)>] GetAssumptionCache = nullptr,
ProfileSummaryInfo* PSI = nullptr,
BlockFrequencyInfo* CallerBFI = nullptr,
BlockFrequencyInfo* CalleeBFI = nullptr,
bool UpdateProfile = true);
Parameters
Name |
Description |
GetAssumptionCache |
Callback that returns the assumption cache for a function, or null if assumption caches are unused. |
PSI |
Optional profile summary information used when updating profiles. |
CallerBFI |
Optional block‐frequency info for the caller. |
CalleeBFI |
Optional block‐frequency info for the callee. |
UpdateProfile |
Whether callee and cloned profiles should be updated. |
Created with MrDocs