Searched refs:MaxWeight (Results 1 – 7 of 7) sorted by relevance
80 float MaxWeight = 0; ///< Maximum spill weight evicted. member91 return std::tie(BrokenHints, MaxWeight) <92 std::tie(O.BrokenHints, O.MaxWeight);
309 Cost.MaxWeight = std::max(Cost.MaxWeight, Intf->weight()); in canEvictInterferenceBasedOnCost()347 BestCost.MaxWeight = VirtReg.weight(); in tryFindEvictionCandidate()
234 uint32_t MaxWeight = std::numeric_limits<uint32_t>::max(); in setBranchProbs() local236 if (BBWeight > MaxWeight) { in setBranchProbs()237 Factor = BBWeight / MaxWeight + 1; in setBranchProbs()
669 std::optional<uint32_t> MaxWeight; in getMaxEstimatedEdgeWeight() local677 if (!MaxWeight || *MaxWeight < *Weight) in getMaxEstimatedEdgeWeight()678 MaxWeight = Weight; in getMaxEstimatedEdgeWeight()681 return MaxWeight; in getMaxEstimatedEdgeWeight()860 auto MaxWeight = getMaxEstimatedEdgeWeight(LoopBB, successors(BB)); in estimateBlockWeights() local862 if (MaxWeight) in estimateBlockWeights()863 propagateEstimatedBlockWeight(LoopBB, DT, PDT, *MaxWeight, in estimateBlockWeights()
1447 static uint64_t calculateWeightScale(uint64_t MaxWeight) { in calculateWeightScale() argument1448 return MaxWeight < UINT32_MAX ? 1 : MaxWeight / UINT32_MAX + 1; in calculateWeightScale()1488 uint64_t MaxWeight = *llvm::max_element(Weights); in createProfileWeights() local1489 if (MaxWeight == 0) in createProfileWeights()1493 uint64_t Scale = calculateWeightScale(MaxWeight); in createProfileWeights()
1796 unsigned MaxWeight = 0; in computeUberWeights() local1809 MaxWeight = std::max(MaxWeight, Weight); in computeUberWeights()1811 if (S.Weight != MaxWeight) { in computeUberWeights()1814 << MaxWeight; in computeUberWeights()1820 S.Weight = MaxWeight; in computeUberWeights()
1698 uint32_t MaxWeight = 0; in generateMDProfMetadata() local1741 if (Weight > MaxWeight) { in generateMDProfMetadata()1742 MaxWeight = Weight; in generateMDProfMetadata()1759 if (MaxWeight > 0 && in generateMDProfMetadata()