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

/freebsd-13-stable/contrib/llvm-project/llvm/lib/Analysis/
H A DInlineCost.cpp430 const int CostUpperBound = INT_MAX - InlineConstants::InstrCost - 1;
505 void onCallPenalty() override { addCost(InlineConstants::CallPenalty); }
509 addCost(Call.arg_size() * InlineConstants::InstrCost);
513 addCost(3 * InlineConstants::InstrCost);
518 addCost(Call.arg_size() * InlineConstants::InstrCost);
528 InlineConstants::IndirectCallThreshold;
540 addCost(InlineConstants::CallPenalty);
549 int64_t JTCost = (int64_t)JumpTableSize * InlineConstants::InstrCost +
550 4 * InlineConstants::InstrCost;
572 addCost(NumCaseCluster * 2 * InlineConstants
[all...]
H A DInlineAdvisor.cpp253 TotalSecondaryCost -= InlineConstants::LastCallToStaticBonus;
/freebsd-13-stable/contrib/llvm-project/llvm/include/llvm/Analysis/
H A DInlineCost.h32 namespace InlineConstants { namespace in namespace:llvm
55 } // namespace InlineConstants
/freebsd-13-stable/contrib/llvm-project/llvm/lib/Transforms/IPO/
H A DPartialInlining.cpp880 InlineCost += (SI->getNumCases() + 1) * InlineConstants::InstrCost;
883 InlineCost += InlineConstants::InstrCost;
909 2 * InlineConstants::InstrCost * Cloner.OutlinedFunctions.size();

Completed in 107 milliseconds