Searched refs:InlineConstants (Results 1 - 3 of 3) sorted by relevance

/freebsd-10.2-release/contrib/llvm/include/llvm/Analysis/
H A DInlineCost.h27 namespace InlineConstants { namespace in namespace:llvm
/freebsd-10.2-release/contrib/llvm/lib/Analysis/IPA/
H A DInlineCost.cpp560 accumulateSROACost(CostIt, InlineConstants::InstrCost);
623 accumulateSROACost(CostIt, InlineConstants::InstrCost);
638 accumulateSROACost(CostIt, InlineConstants::InstrCost);
757 Cost += CS.arg_size() * InlineConstants::InstrCost;
762 Cost += InlineConstants::CallPenalty;
774 Cost += CS.arg_size() * InlineConstants::InstrCost;
787 CallAnalyzer CA(TD, TTI, *F, InlineConstants::IndirectCallThreshold);
791 Cost -= std::max(0, InlineConstants::IndirectCallThreshold - CA.getCost());
887 Cost += InlineConstants::InstrCost;
898 AllocatedSize > InlineConstants
[all...]
/freebsd-10.2-release/contrib/llvm/lib/Transforms/IPO/
H A DInliner.cpp328 int CandidateCost = IC.getCost() - (InlineConstants::CallPenalty + 1);
367 TotalSecondaryCost += InlineConstants::LastCallToStaticBonus;

Completed in 112 milliseconds