Lines Matching refs:getCost
256 int CandidateCost = IC.getCost() - (InlineConstants::CallPenalty + 1); in shouldBeDeferred()
286 TotalSecondaryCost += IC2.getCost(); in shouldBeDeferred()
296 if (inliningPreventsSomeOuterInline && TotalSecondaryCost < IC.getCost()) in shouldBeDeferred()
324 DEBUG(dbgs() << " NOT Inlining: cost=" << IC.getCost() in shouldInline()
325 << ", thres=" << (IC.getCostDelta() + IC.getCost()) in shouldInline()
329 Twine(IC.getCost()) + ", threshold=" + in shouldInline()
330 Twine(IC.getCostDelta() + IC.getCost()) + ")"); in shouldInline()
337 << " Cost = " << IC.getCost() in shouldInline()
346 DEBUG(dbgs() << " Inlining: cost=" << IC.getCost() in shouldInline()
347 << ", thres=" << (IC.getCostDelta() + IC.getCost()) in shouldInline()
351 CS.getCaller()->getName() + " with cost=" + Twine(IC.getCost()) + in shouldInline()
352 " (threshold=" + Twine(IC.getCostDelta() + IC.getCost()) + ")"); in shouldInline()