• Home
  • History
  • Annotate
  • Raw
  • Download
  • only in /freebsd-13-stable/contrib/llvm-project/llvm/lib/Analysis/

Lines Matching refs:InlineConstants

430   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::InstrCost);
578 ExpectedNumberOfCompare * 2 * InlineConstants::InstrCost;
583 addCost(InlineConstants::InstrCost);
596 CostIt->second += InlineConstants::InstrCost;
597 SROACostSavings += InlineConstants::InstrCost;
648 addCost(NumLoops * InlineConstants::CallPenalty);
670 LoadEliminationCost += InlineConstants::InstrCost;
709 Cost += InlineConstants::ColdccPenalty;
872 if (AllocatedSize > InlineConstants::MaxSimplifiedDynamicAllocaToInline) {
1330 int LastCallToStaticBonus = InlineConstants::LastCallToStaticBonus;
1966 AllocatedSize > InlineConstants::TotalAllocaSizeRecursiveCaller) {
2276 Cost += 2 * NumStores * InlineConstants::InstrCost;
2280 Cost += InlineConstants::InstrCost;
2284 Cost += InlineConstants::InstrCost + InlineConstants::CallPenalty;
2522 Params.OptMinSizeThreshold = InlineConstants::OptMinSizeThreshold;
2523 Params.OptSizeThreshold = InlineConstants::OptSizeThreshold;
2540 return InlineConstants::OptAggressiveThreshold;
2542 return InlineConstants::OptSizeThreshold;
2544 return InlineConstants::OptMinSizeThreshold;