Home
last modified time | relevance | path

Searched refs:TotalSecondaryCost (Results 1 – 1 of 1) sorted by relevance

/freebsd/contrib/llvm-project/llvm/lib/Analysis/
H A DInlineAdvisor.cpp250 shouldBeDeferred(Function *Caller, InlineCost IC, int &TotalSecondaryCost, in shouldBeDeferred() argument
276 TotalSecondaryCost = 0; in shouldBeDeferred()
310 TotalSecondaryCost += IC2.getCost(); in shouldBeDeferred()
323 TotalSecondaryCost -= InlineConstants::LastCallToStaticBonus; in shouldBeDeferred()
328 return TotalSecondaryCost < IC.getCost(); in shouldBeDeferred()
330 int TotalCost = TotalSecondaryCost + IC.getCost() * NumCallerUsers; in shouldBeDeferred()
415 int TotalSecondaryCost = 0; in shouldInline() local
417 shouldBeDeferred(Caller, IC, TotalSecondaryCost, GetInlineCost)) { in shouldInline()
420 << ", outer Cost = " << TotalSecondaryCost << '\n'); in shouldInline()