Lines Matching refs:Threshold

564   int Threshold = 0;  member in __anoncf8652d10111::InlineCostCallAnalyzer
648 Threshold += *AttrCallThresholdBonus; in onCallBaseVisitStart()
766 Threshold -= SingleBBBonus; in onBlockAnalyzed()
777 InstructionCostDetailMap[I].ThresholdBefore = Threshold; in onInstructionAnalysisStart()
786 InstructionCostDetailMap[I].ThresholdAfter = Threshold; in onInstructionAnalysisFinish()
867 if (Threshold == 0) in costBenefitAnalysis()
958 APInt Threshold(128, PSI->getOrCompHotCountThreshold()); in costBenefitAnalysis() local
959 Threshold *= Size; in costBenefitAnalysis()
963 if (UpperBoundCycleSavings.uge(Threshold)) in costBenefitAnalysis()
969 if (LowerBoundCycleSavings.ult(Threshold)) in costBenefitAnalysis()
1000 Threshold -= VectorBonus; in finalizeAnalysis()
1002 Threshold -= VectorBonus / 2; in finalizeAnalysis()
1015 Threshold = *AttrThreshold; in finalizeAnalysis()
1029 return Cost < std::max(1, Threshold) in finalizeAnalysis()
1039 if (Cost < Threshold) in shouldStop()
1069 assert(Threshold >= 0); in onAnalysisStart()
1076 Threshold += (SingleBBBonus + VectorBonus); in onAnalysisStart()
1090 if (Cost >= Threshold && !ComputeFullInlineCost) in onAnalysisStart()
1109 Params(Params), Threshold(Params.DefaultThreshold), in InlineCostCallAnalyzer()
1132 int getThreshold() const { return Threshold; } in getThreshold()
1163 int Threshold = 5; member in __anoncf8652d10111::InlineCostFeaturesAnalyzer
1277 Threshold -= SingleBBBonus; in onBlockAnalyzed()
1302 Threshold -= VectorBonus; in finalizeAnalysis()
1304 Threshold -= VectorBonus / 2; in finalizeAnalysis()
1306 set(InlineCostFeatureIndex::threshold, Threshold); in finalizeAnalysis()
1332 Threshold += TTI.adjustInliningThreshold(&CandidateCall); in onAnalysisStart()
1333 Threshold *= TTI.getInliningThresholdMultiplier(); in onAnalysisStart()
1334 SingleBBBonus = Threshold * SingleBBBonusPercent / 100; in onAnalysisStart()
1335 VectorBonus = Threshold * VectorBonusPercent / 100; in onAnalysisStart()
1336 Threshold += (SingleBBBonus + VectorBonus); in onAnalysisStart()
1904 Threshold = 0; in updateThreshold()
1946 Threshold = MinIfValid(Threshold, Params.OptMinSizeThreshold); in updateThreshold()
1954 Threshold = MinIfValid(Threshold, Params.OptSizeThreshold); in updateThreshold()
1960 Threshold = MaxIfValid(Threshold, Params.HintThreshold); in updateThreshold()
1977 Threshold = *HotCallSiteThreshold; in updateThreshold()
1985 Threshold = MinIfValid(Threshold, Params.ColdCallSiteThreshold); in updateThreshold()
1994 Threshold = MaxIfValid(Threshold, Params.HintThreshold); in updateThreshold()
2002 Threshold = MinIfValid(Threshold, Params.ColdThreshold); in updateThreshold()
2007 Threshold += TTI.adjustInliningThreshold(&Call); in updateThreshold()
2011 Threshold *= TTI.getInliningThresholdMultiplier(); in updateThreshold()
2013 SingleBBBonus = Threshold * SingleBBBonusPercent / 100; in updateThreshold()
2014 VectorBonus = Threshold * VectorBonusPercent / 100; in updateThreshold()
2865 DEBUG_PRINT_STAT(Threshold); in print()
3153 InlineParams llvm::getInlineParams(int Threshold) { in getInlineParams() argument
3166 Params.DefaultThreshold = Threshold; in getInlineParams()