Home
last modified time | relevance | path

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

/freebsd/contrib/llvm-project/llvm/lib/Analysis/
H A DInlineCost.cpp950 void OverrideCycleSavingsAndSizeForTesting(APInt &CycleSavings, int &Size) { in OverrideCycleSavingsAndSizeForTesting() argument
953 CycleSavings = *AttrCycleSavings; in OverrideCycleSavingsAndSizeForTesting()
990 APInt CycleSavings(128, 0); in costBenefitAnalysis() local
1014 CycleSavings += CurrentSavings; in costBenefitAnalysis()
1021 CycleSavings += EntryCount / 2; in costBenefitAnalysis()
1022 CycleSavings = CycleSavings.udiv(EntryCount); in costBenefitAnalysis()
1027 CycleSavings += getCallsiteCost(TTI, this->CandidateCall, DL); in costBenefitAnalysis()
1028 CycleSavings *= *CallerBFI->getBlockProfileCount(CallerBB); in costBenefitAnalysis()
1039 OverrideCycleSavingsAndSizeForTesting(CycleSavings, Size); in costBenefitAnalysis()
1040 CostBenefit.emplace(APInt(128, Size), CycleSavings); in costBenefitAnalysis()
[all …]