Home
last modified time | relevance | path

Searched refs:getCost (Results 1 – 4 of 4) sorted by relevance

/external/llvm/lib/Transforms/IPO/
DInliner.cpp279 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()
/external/llvm/include/llvm/Analysis/
DInlineCost.h90 int getCost() const { in getCost() function
98 int getCostDelta() const { return Threshold - getCost(); } in getCostDelta()
/external/llvm/utils/PerfectShuffle/
DPerfectShuffle.cpp125 unsigned getCost() const { return Cost; } in getCost() function
309 unsigned Cost = ShufTab[LHS].Cost + Op->getCost(); in main()
347 unsigned Cost = NumVals + Op->getCost(); in main()
/external/llvm/lib/Analysis/IPA/
DInlineCost.cpp152 int getCost() { return Cost; } in getCost() function in __anon4296eb6c0111::CallAnalyzer
778 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()