Searched refs:TotalSecondaryCost (Results 1 – 1 of 1) sorted by relevance
250 shouldBeDeferred(Function *Caller, InlineCost IC, int &TotalSecondaryCost, in shouldBeDeferred() argument276 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() local417 shouldBeDeferred(Caller, IC, TotalSecondaryCost, GetInlineCost)) { in shouldInline()420 << ", outer Cost = " << TotalSecondaryCost << '\n'); in shouldInline()