Lines Matching refs:Stats
273 static void updateLoopCountStatistic(ScopDetection::LoopStats Stats,
373 LoopStats Stats = countBeneficialLoops(&DC.CurRegion, SE, LI, 0); in detect() local
374 updateLoopCountStatistic(Stats, false /* OnlyProfitable */); in detect()
376 updateLoopCountStatistic(Stats, true /* OnlyProfitable */); in detect()
1372 LoopStats Stats = countBeneficialSubLoops(SubLoop, SE, MinProfitableTrips); in countBeneficialSubLoops() local
1373 NumLoops += Stats.NumLoops; in countBeneficialSubLoops()
1374 MaxLoopDepth = std::max(MaxLoopDepth, Stats.MaxDepth + 1); in countBeneficialSubLoops()
1400 LoopStats Stats = in countBeneficialLoops() local
1402 LoopNum += Stats.NumLoops; in countBeneficialLoops()
1403 MaxLoopDepth = std::max(MaxLoopDepth, Stats.MaxDepth); in countBeneficialLoops()
1883 static void updateLoopCountStatistic(ScopDetection::LoopStats Stats, in updateLoopCountStatistic() argument
1886 NumLoopsInScop += Stats.NumLoops; in updateLoopCountStatistic()
1888 std::max(MaxNumLoopsInScop.getValue(), (uint64_t)Stats.NumLoops); in updateLoopCountStatistic()
1889 if (Stats.MaxDepth == 0) in updateLoopCountStatistic()
1891 else if (Stats.MaxDepth == 1) in updateLoopCountStatistic()
1893 else if (Stats.MaxDepth == 2) in updateLoopCountStatistic()
1895 else if (Stats.MaxDepth == 3) in updateLoopCountStatistic()
1897 else if (Stats.MaxDepth == 4) in updateLoopCountStatistic()
1899 else if (Stats.MaxDepth == 5) in updateLoopCountStatistic()
1904 NumLoopsInProfScop += Stats.NumLoops; in updateLoopCountStatistic()
1906 std::max(MaxNumLoopsInProfScop.getValue(), (uint64_t)Stats.NumLoops); in updateLoopCountStatistic()
1907 if (Stats.MaxDepth == 0) in updateLoopCountStatistic()
1909 else if (Stats.MaxDepth == 1) in updateLoopCountStatistic()
1911 else if (Stats.MaxDepth == 2) in updateLoopCountStatistic()
1913 else if (Stats.MaxDepth == 3) in updateLoopCountStatistic()
1915 else if (Stats.MaxDepth == 4) in updateLoopCountStatistic()
1917 else if (Stats.MaxDepth == 5) in updateLoopCountStatistic()