Lines Matching defs:Max
235 W.Amount = std::max(UINT64_C(1), shiftRightAndRound(W.Amount, Shift));
359 DEBUG(dbgs() << " - reduced-to-max-scale: " << getMaxLoopScale() << "\n");
425 const Scaled64 &Min, const Scaled64 &Max) {
427 // be scaled so that Max == UINT64_MAX so that they can be best
433 // Scaled64(1,64)/Max.
435 if ((Max / Min).lg() < 60)
439 DEBUG(dbgs() << "float-to-int: min = " << Min << ", max = " << Max
443 BFI.Freqs[Index].Integer = std::max(UINT64_C(1), Scaled.toInt<uint64_t>());
486 // Unwrap loop packages in reverse post-order, tracking min and max
489 auto Max = Scaled64::getZero();
491 // Update min/max scale.
493 Max = std::max(Max, Freqs[Index].Scaled);
497 convertFloatingToInteger(*this, Min, Max);