Searched refs:getCost (Results 1 – 4 of 4) sorted by relevance
279 DEBUG(dbgs() << " NOT Inlining: cost=" << IC.getCost() in shouldInline()280 << ", thres=" << (IC.getCostDelta() + IC.getCost()) in shouldInline()305 int CandidateCost = IC.getCost() - (InlineConstants::CallPenalty + 1); in shouldInline()336 TotalSecondaryCost += IC2.getCost(); in shouldInline()346 if (inliningPreventsSomeOuterInline && TotalSecondaryCost < IC.getCost()) { in shouldInline()348 " Cost = " << IC.getCost() << in shouldInline()354 DEBUG(dbgs() << " Inlining: cost=" << IC.getCost() in shouldInline()355 << ", thres=" << (IC.getCostDelta() + IC.getCost()) in shouldInline()
90 int getCost() const { in getCost() function98 int getCostDelta() const { return Threshold - getCost(); } in getCostDelta()
125 unsigned getCost() const { return Cost; } in getCost() function309 unsigned Cost = ShufTab[LHS].Cost + Op->getCost(); in main()347 unsigned Cost = NumVals + Op->getCost(); in main()
152 int getCost() { return Cost; } in getCost() function in __anon4296eb6c0111::CallAnalyzer778 Cost -= std::max(0, InlineConstants::IndirectCallThreshold - CA.getCost()); in visitCallSite()1203 if (!ShouldInline && CA.getCost() < CA.getThreshold()) in getInlineCost()1205 if (ShouldInline && CA.getCost() >= CA.getThreshold()) in getInlineCost()1208 return llvm::InlineCost::get(CA.getCost(), CA.getThreshold()); in getInlineCost()