ΒΆllvm::InlineCost getInlineCost(
llvm::CallBase& Call,
llvm::Function* Callee,
const llvm::InlineParams& Params,
llvm::TargetTransformInfo& CalleeTTI,
function_ref<llvm::AssumptionCache&(
llvm::Function&)> GetAssumptionCache,
function_ref<const llvm::TargetLibraryInfo&(
llvm::Function&)> GetTLI,
function_ref<llvm::BlockFrequencyInfo&(
llvm::Function&)> GetBFI = nullptr,
llvm::ProfileSummaryInfo* PSI = nullptr,
llvm::OptimizationRemarkEmitter* ORE =
nullptr)
llvm::InlineCost getInlineCost(
llvm::CallBase& Call,
llvm::Function* Callee,
const llvm::InlineParams& Params,
llvm::TargetTransformInfo& CalleeTTI,
function_ref<llvm::AssumptionCache&(
llvm::Function&)> GetAssumptionCache,
function_ref<const llvm::TargetLibraryInfo&(
llvm::Function&)> GetTLI,
function_ref<llvm::BlockFrequencyInfo&(
llvm::Function&)> GetBFI = nullptr,
llvm::ProfileSummaryInfo* PSI = nullptr,
llvm::OptimizationRemarkEmitter* ORE =
nullptr)
Description
Get an InlineCost with the callee explicitly specified. This allows you to calculate the cost of inlining a function via a pointer. This behaves exactly as the version with no explicit callee parameter in all other respects.
Declared at: llvm/include/llvm/Analysis/InlineCost.h:275
Parameters
- llvm::CallBase& Call
- llvm::Function* Callee
- const llvm::InlineParams& Params
- llvm::TargetTransformInfo& CalleeTTI
- function_ref<llvm::AssumptionCache&( llvm::Function&)> GetAssumptionCache
- function_ref<const llvm::TargetLibraryInfo&( llvm::Function&)> GetTLI
- function_ref<llvm::BlockFrequencyInfo&( llvm::Function&)> GetBFI = nullptr
- llvm::ProfileSummaryInfo* PSI = nullptr
- llvm::OptimizationRemarkEmitter* ORE = nullptr