Searched refs:MaxWeight (Results 1 – 5 of 5) sorted by relevance
| /netbsd-src/external/apache2/llvm/dist/llvm/lib/Analysis/ |
| H A D | BranchProbabilityInfo.cpp | 623 Optional<uint32_t> MaxWeight; in getMaxEstimatedEdgeWeight() local 631 if (!MaxWeight || MaxWeight.getValue() < Weight.getValue()) in getMaxEstimatedEdgeWeight() 632 MaxWeight = Weight; in getMaxEstimatedEdgeWeight() 635 return MaxWeight; in getMaxEstimatedEdgeWeight() 815 auto MaxWeight = getMaxEstimatedEdgeWeight(LoopBB, successors(BB)); in computeEestimateBlockWeight() local 817 if (MaxWeight) in computeEestimateBlockWeight() 818 propagateEstimatedBlockWeight(LoopBB, DT, PDT, MaxWeight.getValue(), in computeEestimateBlockWeight()
|
| /netbsd-src/external/apache2/llvm/dist/llvm/lib/CodeGen/ |
| H A D | RegAllocGreedy.cpp | 273 float MaxWeight = 0; ///< Maximum spill weight evicted. member 284 return std::tie(BrokenHints, MaxWeight) < in operator <() 285 std::tie(O.BrokenHints, O.MaxWeight); in operator <() 983 Cost.MaxWeight = std::max(Cost.MaxWeight, Intf->weight()); in canEvictInterference() 1042 Cost.MaxWeight = std::max(Cost.MaxWeight, Intf->weight()); in canEvictInterferenceInRange() 1049 if (Cost.MaxWeight == 0) in canEvictInterferenceInRange() 1073 BestEvictCost.MaxWeight = VirtReg.weight(); in getCheapestEvicteeWeight() 1086 *BestEvictweight = BestEvictCost.MaxWeight; in getCheapestEvicteeWeight() 1167 BestCost.MaxWeight = VirtReg.weight(); in tryEvict() 1534 float MaxWeight = 0; in splitCanCauseEvictionChain() local [all …]
|
| /netbsd-src/external/apache2/llvm/dist/clang/lib/CodeGen/ |
| H A D | CodeGenPGO.cpp | 1047 static uint64_t calculateWeightScale(uint64_t MaxWeight) { in calculateWeightScale() argument 1048 return MaxWeight < UINT32_MAX ? 1 : MaxWeight / UINT32_MAX + 1; in calculateWeightScale() 1088 uint64_t MaxWeight = *std::max_element(Weights.begin(), Weights.end()); in createProfileWeights() local 1089 if (MaxWeight == 0) in createProfileWeights() 1093 uint64_t Scale = calculateWeightScale(MaxWeight); in createProfileWeights()
|
| /netbsd-src/external/apache2/llvm/dist/llvm/utils/TableGen/ |
| H A D | CodeGenRegisters.cpp | 1662 unsigned MaxWeight = 0, Weight = 0; in computeUberWeights() local 1665 if (Weight > MaxWeight) in computeUberWeights() 1666 MaxWeight = Weight; in computeUberWeights() 1679 if (Weight > MaxWeight) in computeUberWeights() 1680 MaxWeight = Weight; in computeUberWeights() 1681 if (I->Weight != MaxWeight) { in computeUberWeights() 1683 << MaxWeight; in computeUberWeights() 1689 I->Weight = MaxWeight; in computeUberWeights()
|
| /netbsd-src/external/apache2/llvm/dist/llvm/lib/Transforms/IPO/ |
| H A D | SampleProfile.cpp | 1519 uint32_t MaxWeight = 0; in generateMDProfMetadata() local 1537 if (Weight > MaxWeight) { in generateMDProfMetadata() 1538 MaxWeight = Weight; in generateMDProfMetadata() 1553 if (MaxWeight > 0 && in generateMDProfMetadata()
|