Searched defs:MaxWeight (Results 1 - 5 of 5) sorted by relevance

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

Completed in 427 milliseconds