Home
last modified time | relevance | path

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

/external/clang/lib/CodeGen/
DCodeGenPGO.cpp774 static uint64_t calculateWeightScale(uint64_t MaxWeight) { in calculateWeightScale() argument
775 return MaxWeight < UINT32_MAX ? 1 : MaxWeight / UINT32_MAX + 1; in calculateWeightScale()
815 uint64_t MaxWeight = *std::max_element(Weights.begin(), Weights.end()); in createProfileWeights() local
816 if (MaxWeight == 0) in createProfileWeights()
820 uint64_t Scale = calculateWeightScale(MaxWeight); in createProfileWeights()
/external/llvm/lib/Analysis/
DBranchProbabilityInfo.cpp558 uint32_t MaxWeight = 0; in getHotSucc() local
569 if (Weight > MaxWeight) { in getHotSucc()
570 MaxWeight = Weight; in getHotSucc()
576 if (BranchProbability(MaxWeight, Sum) > BranchProbability(4, 5)) in getHotSucc()
/external/llvm/lib/Transforms/IPO/
DSampleProfile.cpp1032 uint32_t MaxWeight = 0; in propagateWeights() local
1048 if (Weight > MaxWeight) { in propagateWeights()
1049 MaxWeight = Weight; in propagateWeights()
1057 if (MaxWeight > 0) { in propagateWeights()
/external/llvm/utils/TableGen/
DCodeGenRegisters.cpp1380 unsigned MaxWeight = 0, Weight = 0; in computeUberWeights() local
1383 if (Weight > MaxWeight) in computeUberWeights()
1384 MaxWeight = Weight; in computeUberWeights()
1395 if (Weight > MaxWeight) in computeUberWeights()
1396 MaxWeight = Weight; in computeUberWeights()
1397 if (I->Weight != MaxWeight) { in computeUberWeights()
1399 dbgs() << "UberSet " << I - UberSets.begin() << " Weight " << MaxWeight; in computeUberWeights()
1404 I->Weight = MaxWeight; in computeUberWeights()
/external/llvm/lib/CodeGen/
DRegAllocGreedy.cpp232 float MaxWeight; ///< Maximum spill weight evicted. member
234 EvictionCost(): BrokenHints(0), MaxWeight(0) {} in EvictionCost()
243 return std::tie(BrokenHints, MaxWeight) < in operator <()
244 std::tie(O.BrokenHints, O.MaxWeight); in operator <()
780 Cost.MaxWeight = std::max(Cost.MaxWeight, Intf->weight); in canEvictInterference()
872 BestCost.MaxWeight = VirtReg.weight; in tryEvict()