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

/external/llvm/lib/CodeGen/
H A DMachineBranchProbabilityInfo.cpp90 uint32_t MaxWeight = 0; local
95 if (Weight > MaxWeight) {
96 MaxWeight = Weight;
H A DRegAllocGreedy.cpp219 float MaxWeight; ///< Maximum spill weight evicted. member in struct:__anon25792::RAGreedy::EvictionCost
221 EvictionCost(): BrokenHints(0), MaxWeight(0) {}
230 return std::tie(BrokenHints, MaxWeight) <
231 std::tie(O.BrokenHints, O.MaxWeight);
701 // Check if any interfering live range is heavier than MaxWeight.
732 Cost.MaxWeight = std::max(Cost.MaxWeight, Intf->weight);
814 BestCost.MaxWeight = VirtReg.weight;
/external/llvm/lib/Analysis/
H A DBranchProbabilityInfo.cpp563 uint32_t MaxWeight = 0; local
574 if (Weight > MaxWeight) {
575 MaxWeight = Weight;
581 if (BranchProbability(MaxWeight, Sum) > BranchProbability(4, 5))
/external/clang/lib/CodeGen/
H A DCodeGenPGO.cpp942 static uint64_t calculateWeightScale(uint64_t MaxWeight) { argument
943 return MaxWeight < UINT32_MAX ? 1 : MaxWeight / UINT32_MAX + 1;
982 uint64_t MaxWeight = *std::max_element(Weights.begin(), Weights.end());
983 if (MaxWeight == 0)
987 uint64_t Scale = calculateWeightScale(MaxWeight);
/external/llvm/utils/TableGen/
H A DCodeGenRegisters.cpp1316 unsigned MaxWeight = 0, Weight = 0; local
1319 if (Weight > MaxWeight)
1320 MaxWeight = Weight;
1331 if (Weight > MaxWeight)
1332 MaxWeight = Weight;
1333 if (I->Weight != MaxWeight) {
1335 dbgs() << "UberSet " << I - UberSets.begin() << " Weight " << MaxWeight;
1343 I->Weight = MaxWeight;

Completed in 136 milliseconds