Home | History | Annotate | Download | only in IPO

Lines Matching defs:IC

232 bool Inliner::shouldBeDeferred(Function *Caller, CallSite CS, InlineCost IC,
256 int CandidateCost = IC.getCost() - (InlineConstants::CallPenalty + 1);
296 if (inliningPreventsSomeOuterInline && TotalSecondaryCost < IC.getCost())
304 InlineCost IC = getInlineCost(CS);
306 if (IC.isAlways()) {
314 if (IC.isNever()) {
323 if (!IC) {
324 DEBUG(dbgs() << " NOT Inlining: cost=" << IC.getCost()
325 << ", thres=" << (IC.getCostDelta() + IC.getCost())
329 Twine(IC.getCost()) + ", threshold=" +
330 Twine(IC.getCostDelta() + IC.getCost()) + ")");
335 if (shouldBeDeferred(Caller, CS, IC, TotalSecondaryCost)) {
337 << " Cost = " << IC.getCost()
346 DEBUG(dbgs() << " Inlining: cost=" << IC.getCost()
347 << ", thres=" << (IC.getCostDelta() + IC.getCost())
351 CS.getCaller()->getName() + " with cost=" + Twine(IC.getCost()) +
352 " (threshold=" + Twine(IC.getCostDelta() + IC.getCost()) + ")");