Searched refs:getCost (Results 1 – 4 of 4) sorted by relevance
245 DEBUG(dbgs() << " NOT Inlining: cost=" << IC.getCost() in shouldInline()246 << ", thres=" << (IC.getCostDelta() + IC.getCost()) in shouldInline()271 int CandidateCost = IC.getCost() - (InlineConstants::CallPenalty + 1); in shouldInline()302 TotalSecondaryCost += IC2.getCost(); in shouldInline()312 if (inliningPreventsSomeOuterInline && TotalSecondaryCost < IC.getCost()) { in shouldInline()314 " Cost = " << IC.getCost() << in shouldInline()320 DEBUG(dbgs() << " Inlining: cost=" << IC.getCost() in shouldInline()321 << ", thres=" << (IC.getCostDelta() + IC.getCost()) in shouldInline()
91 int getCost() const { in getCost() function99 int getCostDelta() const { return Threshold - getCost(); } in getCostDelta()
140 int getCost() { return Cost; } in getCost() function in __anon8a7661030111::CallAnalyzer669 Cost -= std::max(0, InlineConstants::IndirectCallThreshold - CA.getCost()); in visitCallSite()1014 if (!ShouldInline && CA.getCost() < CA.getThreshold()) in getInlineCost()1016 if (ShouldInline && CA.getCost() >= CA.getThreshold()) in getInlineCost()1019 return llvm::InlineCost::get(CA.getCost(), CA.getThreshold()); in getInlineCost()
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()