Searched refs:MaxWeight (Results 1 – 5 of 5) sorted by relevance
90 uint32_t MaxWeight = 0; in getHotSucc() local95 if (Weight > MaxWeight) { in getHotSucc()96 MaxWeight = Weight; in getHotSucc()
219 float MaxWeight; ///< Maximum spill weight evicted. member221 EvictionCost(): BrokenHints(0), MaxWeight(0) {} in EvictionCost()230 return std::tie(BrokenHints, MaxWeight) < in operator <()231 std::tie(O.BrokenHints, O.MaxWeight); in operator <()757 Cost.MaxWeight = std::max(Cost.MaxWeight, Intf->weight); in canEvictInterference()839 BestCost.MaxWeight = VirtReg.weight; in tryEvict()
822 static uint64_t calculateWeightScale(uint64_t MaxWeight) { in calculateWeightScale() argument823 return MaxWeight < UINT32_MAX ? 1 : MaxWeight / UINT32_MAX + 1; in calculateWeightScale()862 uint64_t MaxWeight = *std::max_element(Weights.begin(), Weights.end()); in createBranchWeights() local863 if (MaxWeight == 0) in createBranchWeights()867 uint64_t Scale = calculateWeightScale(MaxWeight); in createBranchWeights()
571 uint32_t MaxWeight = 0; in getHotSucc() local582 if (Weight > MaxWeight) { in getHotSucc()583 MaxWeight = Weight; in getHotSucc()589 if (BranchProbability(MaxWeight, Sum) > BranchProbability(4, 5)) in getHotSucc()
1381 unsigned MaxWeight = 0, Weight = 0; in computeUberWeights() local1384 if (Weight > MaxWeight) in computeUberWeights()1385 MaxWeight = Weight; in computeUberWeights()1396 if (Weight > MaxWeight) in computeUberWeights()1397 MaxWeight = Weight; in computeUberWeights()1398 if (I->Weight != MaxWeight) { in computeUberWeights()1400 dbgs() << "UberSet " << I - UberSets.begin() << " Weight " << MaxWeight; in computeUberWeights()1405 I->Weight = MaxWeight; in computeUberWeights()