Lines Matching refs:getCost
319 DEBUG(dbgs() << " NOT Inlining: cost=" << IC.getCost() in shouldInline()
320 << ", thres=" << (IC.getCostDelta() + IC.getCost()) in shouldInline()
324 Twine(IC.getCost()) + ", threshold=" + in shouldInline()
325 Twine(IC.getCostDelta() + IC.getCost()) + ")"); in shouldInline()
348 int CandidateCost = IC.getCost() - (InlineConstants::CallPenalty + 1); in shouldInline()
378 TotalSecondaryCost += IC2.getCost(); in shouldInline()
388 if (inliningPreventsSomeOuterInline && TotalSecondaryCost < IC.getCost()) { in shouldInline()
390 " Cost = " << IC.getCost() << in shouldInline()
401 DEBUG(dbgs() << " Inlining: cost=" << IC.getCost() in shouldInline()
402 << ", thres=" << (IC.getCostDelta() + IC.getCost()) in shouldInline()
406 CS.getCaller()->getName() + " with cost=" + Twine(IC.getCost()) + in shouldInline()
407 " (threshold=" + Twine(IC.getCostDelta() + IC.getCost()) + ")"); in shouldInline()