Searched refs:CycleSavings (Results 1 – 1 of 1) sorted by relevance
950 void OverrideCycleSavingsAndSizeForTesting(APInt &CycleSavings, int &Size) { in OverrideCycleSavingsAndSizeForTesting() argument953 CycleSavings = *AttrCycleSavings; in OverrideCycleSavingsAndSizeForTesting()990 APInt CycleSavings(128, 0); in costBenefitAnalysis() local1014 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 …]