Searched defs:GetInlineCost (Results 1 - 2 of 2) sorted by relevance

/netbsd-current/external/apache2/llvm/dist/llvm/lib/Transforms/IPO/
H A DInliner.cpp298 inlineCallsImpl(CallGraphSCC &SCC, CallGraph &CG, std::function<AssumptionCache &(Function &)> GetAssumptionCache, ProfileSummaryInfo *PSI, std::function<const TargetLibraryInfo &(Function &)> GetTLI, bool InsertLifetime, function_ref<InlineCost(CallBase &CB)> GetInlineCost, function_ref<AAResults &(Function &)> AARGetter, ImportedFunctionsInliningStatistics &ImportedFunctionsStats) argument
/netbsd-current/external/apache2/llvm/dist/llvm/lib/Analysis/
H A DInlineAdvisor.cpp94 auto GetInlineCost = [&](CallBase &CB) { local
194 shouldBeDeferred(Function *Caller, InlineCost IC, int &TotalSecondaryCost, function_ref<InlineCost(CallBase &CB)> GetInlineCost) argument
321 shouldInline(CallBase &CB, function_ref<InlineCost(CallBase &CB)> GetInlineCost, OptimizationRemarkEmitter &ORE, bool EnableDeferral) argument

Completed in 209 milliseconds