Lines Matching refs:getCost
367 DEBUG(dbgs() << " NOT Inlining: cost=" << IC.getCost() in shouldInline()
368 << ", thres=" << (IC.getCostDelta() + IC.getCost()) in shouldInline()
372 Twine(IC.getCost()) + ", threshold=" + in shouldInline()
373 Twine(IC.getCostDelta() + IC.getCost()) + ")"); in shouldInline()
396 int CandidateCost = IC.getCost() - (InlineConstants::CallPenalty + 1); in shouldInline()
426 TotalSecondaryCost += IC2.getCost(); in shouldInline()
436 if (inliningPreventsSomeOuterInline && TotalSecondaryCost < IC.getCost()) { in shouldInline()
438 " Cost = " << IC.getCost() << in shouldInline()
449 DEBUG(dbgs() << " Inlining: cost=" << IC.getCost() in shouldInline()
450 << ", thres=" << (IC.getCostDelta() + IC.getCost()) in shouldInline()
454 CS.getCaller()->getName() + " with cost=" + Twine(IC.getCost()) + in shouldInline()
455 " (threshold=" + Twine(IC.getCostDelta() + IC.getCost()) + ")"); in shouldInline()