Home
last modified time | relevance | path

Searched refs:MaxWeight (Results 1 – 4 of 4) sorted by relevance

/freebsd-12.1/contrib/llvm/lib/CodeGen/
H A DRegAllocGreedy.cpp278 float MaxWeight = 0; ///< Maximum spill weight evicted. member
289 return std::tie(BrokenHints, MaxWeight) < in operator <()
290 std::tie(O.BrokenHints, O.MaxWeight); in operator <()
925 Cost.MaxWeight = std::max(Cost.MaxWeight, Intf->weight); in canEvictInterference()
985 Cost.MaxWeight = std::max(Cost.MaxWeight, Intf->weight); in canEvictInterferenceInRange()
992 if (Cost.MaxWeight == 0) in canEvictInterferenceInRange()
1016 BestEvictCost.MaxWeight = VirtReg.weight; in getCheapestEvicteeWeight()
1029 *BestEvictweight = BestEvictCost.MaxWeight; in getCheapestEvicteeWeight()
1111 BestCost.MaxWeight = VirtReg.weight; in tryEvict()
1481 float MaxWeight = 0; in splitCanCauseEvictionChain() local
[all …]
/freebsd-12.1/contrib/llvm/tools/clang/lib/CodeGen/
H A DCodeGenPGO.cpp992 static uint64_t calculateWeightScale(uint64_t MaxWeight) { in calculateWeightScale() argument
993 return MaxWeight < UINT32_MAX ? 1 : MaxWeight / UINT32_MAX + 1; in calculateWeightScale()
1033 uint64_t MaxWeight = *std::max_element(Weights.begin(), Weights.end()); in createProfileWeights() local
1034 if (MaxWeight == 0) in createProfileWeights()
1038 uint64_t Scale = calculateWeightScale(MaxWeight); in createProfileWeights()
/freebsd-12.1/contrib/llvm/utils/TableGen/
H A DCodeGenRegisters.cpp1643 unsigned MaxWeight = 0, Weight = 0; in computeUberWeights() local
1646 if (Weight > MaxWeight) in computeUberWeights()
1647 MaxWeight = Weight; in computeUberWeights()
1660 if (Weight > MaxWeight) in computeUberWeights()
1661 MaxWeight = Weight; in computeUberWeights()
1662 if (I->Weight != MaxWeight) { in computeUberWeights()
1664 << MaxWeight; in computeUberWeights()
1670 I->Weight = MaxWeight; in computeUberWeights()
/freebsd-12.1/contrib/llvm/lib/Transforms/IPO/
H A DSampleProfile.cpp1321 uint32_t MaxWeight = 0; in propagateWeights() local
1339 if (Weight > MaxWeight) { in propagateWeights()
1340 MaxWeight = Weight; in propagateWeights()
1352 if (MaxWeight > 0 && !TI->extractProfTotalWeight(TempWeight)) { in propagateWeights()