Searched refs:MaxWeight (Results 1 – 7 of 7) sorted by relevance
/freebsd/contrib/llvm-project/llvm/lib/CodeGen/ |
H A D | RegAllocEvictionAdvisor.h | 79 float MaxWeight = 0; ///< Maximum spill weight evicted. member 90 return std::tie(BrokenHints, MaxWeight) < 91 std::tie(O.BrokenHints, O.MaxWeight);
|
H A D | RegAllocEvictionAdvisor.cpp | 254 Cost.MaxWeight = std::max(Cost.MaxWeight, Intf->weight()); in canEvictInterferenceBasedOnCost() 292 BestCost.MaxWeight = VirtReg.weight(); in tryFindEvictionCandidate()
|
H A D | MIRSampleProfile.cpp | 231 uint32_t MaxWeight = std::numeric_limits<uint32_t>::max(); in setBranchProbs() local 233 if (BBWeight > MaxWeight) { in setBranchProbs() 234 Factor = BBWeight / MaxWeight + 1; in setBranchProbs()
|
/freebsd/contrib/llvm-project/llvm/lib/Analysis/ |
H A D | BranchProbabilityInfo.cpp | 674 std::optional<uint32_t> MaxWeight; in getMaxEstimatedEdgeWeight() local 682 if (!MaxWeight || *MaxWeight < *Weight) in getMaxEstimatedEdgeWeight() 683 MaxWeight = Weight; in getMaxEstimatedEdgeWeight() 686 return MaxWeight; in getMaxEstimatedEdgeWeight() 864 auto MaxWeight = getMaxEstimatedEdgeWeight(LoopBB, successors(BB)); in computeEestimateBlockWeight() local 866 if (MaxWeight) in computeEestimateBlockWeight() 867 propagateEstimatedBlockWeight(LoopBB, DT, PDT, *MaxWeight, in computeEestimateBlockWeight()
|
/freebsd/contrib/llvm-project/clang/lib/CodeGen/ |
H A D | CodeGenPGO.cpp | 1433 static uint64_t calculateWeightScale(uint64_t MaxWeight) { in calculateWeightScale() argument 1434 return MaxWeight < UINT32_MAX ? 1 : MaxWeight / UINT32_MAX + 1; in calculateWeightScale() 1474 uint64_t MaxWeight = *std::max_element(Weights.begin(), Weights.end()); in createProfileWeights() local 1475 if (MaxWeight == 0) in createProfileWeights() 1479 uint64_t Scale = calculateWeightScale(MaxWeight); in createProfileWeights()
|
/freebsd/contrib/llvm-project/llvm/utils/TableGen/Common/ |
H A D | CodeGenRegisters.cpp | 1793 unsigned MaxWeight = 0, Weight = 0; in computeUberWeights() local 1796 if (Weight > MaxWeight) in computeUberWeights() 1797 MaxWeight = Weight; in computeUberWeights() 1810 if (Weight > MaxWeight) in computeUberWeights() 1811 MaxWeight = Weight; in computeUberWeights() 1812 if (I->Weight != MaxWeight) { in computeUberWeights() 1814 << MaxWeight; in computeUberWeights() 1820 I->Weight = MaxWeight; in computeUberWeights()
|
/freebsd/contrib/llvm-project/llvm/lib/Transforms/IPO/ |
H A D | SampleProfile.cpp | 1698 uint32_t MaxWeight = 0; in generateMDProfMetadata() local 1741 if (Weight > MaxWeight) { in generateMDProfMetadata() 1742 MaxWeight = Weight; in generateMDProfMetadata() 1759 if (MaxWeight > 0 && in generateMDProfMetadata()
|