Home
last modified time | relevance | path

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

/external/llvm/lib/CodeGen/
DMachineBranchProbabilityInfo.cpp90 uint32_t MaxWeight = 0; in getHotSucc() local
95 if (Weight > MaxWeight) { in getHotSucc()
96 MaxWeight = Weight; in getHotSucc()
DRegAllocGreedy.cpp219 float MaxWeight; ///< Maximum spill weight evicted. member
221 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()
/external/clang/lib/CodeGen/
DCodeGenPGO.cpp822 static uint64_t calculateWeightScale(uint64_t MaxWeight) { in calculateWeightScale() argument
823 return MaxWeight < UINT32_MAX ? 1 : MaxWeight / UINT32_MAX + 1; in calculateWeightScale()
862 uint64_t MaxWeight = *std::max_element(Weights.begin(), Weights.end()); in createBranchWeights() local
863 if (MaxWeight == 0) in createBranchWeights()
867 uint64_t Scale = calculateWeightScale(MaxWeight); in createBranchWeights()
/external/llvm/lib/Analysis/
DBranchProbabilityInfo.cpp571 uint32_t MaxWeight = 0; in getHotSucc() local
582 if (Weight > MaxWeight) { in getHotSucc()
583 MaxWeight = Weight; in getHotSucc()
589 if (BranchProbability(MaxWeight, Sum) > BranchProbability(4, 5)) in getHotSucc()
/external/llvm/utils/TableGen/
DCodeGenRegisters.cpp1381 unsigned MaxWeight = 0, Weight = 0; in computeUberWeights() local
1384 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()