Home
last modified time | relevance | path

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

/external/clang/lib/CodeGen/
DCodeGenPGO.cpp827 static uint64_t calculateWeightScale(uint64_t MaxWeight) { in calculateWeightScale() argument
828 return MaxWeight < UINT32_MAX ? 1 : MaxWeight / UINT32_MAX + 1; in calculateWeightScale()
868 uint64_t MaxWeight = *std::max_element(Weights.begin(), Weights.end()); in createProfileWeights() local
869 if (MaxWeight == 0) in createProfileWeights()
873 uint64_t Scale = calculateWeightScale(MaxWeight); in createProfileWeights()
/external/swiftshader/third_party/llvm-10.0/llvm/lib/CodeGen/
DRegAllocGreedy.cpp277 float MaxWeight = 0; ///< Maximum spill weight evicted. member
288 return std::tie(BrokenHints, MaxWeight) < in operator <()
289 std::tie(O.BrokenHints, O.MaxWeight); in operator <()
937 Cost.MaxWeight = std::max(Cost.MaxWeight, Intf->weight); in canEvictInterference()
997 Cost.MaxWeight = std::max(Cost.MaxWeight, Intf->weight); in canEvictInterferenceInRange()
1004 if (Cost.MaxWeight == 0) in canEvictInterferenceInRange()
1028 BestEvictCost.MaxWeight = VirtReg.weight; in getCheapestEvicteeWeight()
1041 *BestEvictweight = BestEvictCost.MaxWeight; in getCheapestEvicteeWeight()
1124 BestCost.MaxWeight = VirtReg.weight; in tryEvict()
1495 float MaxWeight = 0; in splitCanCauseEvictionChain() local
[all …]
/external/llvm-project/llvm/lib/CodeGen/
DRegAllocGreedy.cpp272 float MaxWeight = 0; ///< Maximum spill weight evicted. member
283 return std::tie(BrokenHints, MaxWeight) < in operator <()
284 std::tie(O.BrokenHints, O.MaxWeight); in operator <()
946 Cost.MaxWeight = std::max(Cost.MaxWeight, Intf->weight()); in canEvictInterference()
1004 Cost.MaxWeight = std::max(Cost.MaxWeight, Intf->weight()); in canEvictInterferenceInRange()
1011 if (Cost.MaxWeight == 0) in canEvictInterferenceInRange()
1035 BestEvictCost.MaxWeight = VirtReg.weight(); in getCheapestEvicteeWeight()
1048 *BestEvictweight = BestEvictCost.MaxWeight; in getCheapestEvicteeWeight()
1130 BestCost.MaxWeight = VirtReg.weight(); in tryEvict()
1500 float MaxWeight = 0; in splitCanCauseEvictionChain() local
[all …]
/external/llvm-project/clang/lib/CodeGen/
DCodeGenPGO.cpp1020 static uint64_t calculateWeightScale(uint64_t MaxWeight) { in calculateWeightScale() argument
1021 return MaxWeight < UINT32_MAX ? 1 : MaxWeight / UINT32_MAX + 1; in calculateWeightScale()
1061 uint64_t MaxWeight = *std::max_element(Weights.begin(), Weights.end()); in createProfileWeights() local
1062 if (MaxWeight == 0) in createProfileWeights()
1066 uint64_t Scale = calculateWeightScale(MaxWeight); in createProfileWeights()
/external/llvm/lib/Transforms/IPO/
DSampleProfile.cpp1012 uint32_t MaxWeight = 0; in propagateWeights() local
1028 if (Weight > MaxWeight) { in propagateWeights()
1029 MaxWeight = Weight; in propagateWeights()
1037 if (MaxWeight > 0) { in propagateWeights()
/external/llvm/utils/TableGen/
DCodeGenRegisters.cpp1391 unsigned MaxWeight = 0, Weight = 0; in computeUberWeights() local
1394 if (Weight > MaxWeight) in computeUberWeights()
1395 MaxWeight = Weight; in computeUberWeights()
1406 if (Weight > MaxWeight) in computeUberWeights()
1407 MaxWeight = Weight; in computeUberWeights()
1408 if (I->Weight != MaxWeight) { in computeUberWeights()
1410 dbgs() << "UberSet " << I - UberSets.begin() << " Weight " << MaxWeight; in computeUberWeights()
1415 I->Weight = MaxWeight; in computeUberWeights()
/external/llvm-project/llvm/utils/TableGen/
DCodeGenRegisters.cpp1671 unsigned MaxWeight = 0, Weight = 0; in computeUberWeights() local
1674 if (Weight > MaxWeight) in computeUberWeights()
1675 MaxWeight = Weight; in computeUberWeights()
1688 if (Weight > MaxWeight) in computeUberWeights()
1689 MaxWeight = Weight; in computeUberWeights()
1690 if (I->Weight != MaxWeight) { in computeUberWeights()
1692 << MaxWeight; in computeUberWeights()
1698 I->Weight = MaxWeight; in computeUberWeights()
/external/llvm/lib/CodeGen/
DRegAllocGreedy.cpp234 float MaxWeight; ///< Maximum spill weight evicted. member
236 EvictionCost(): BrokenHints(0), MaxWeight(0) {} in EvictionCost()
245 return std::tie(BrokenHints, MaxWeight) < in operator <()
246 std::tie(O.BrokenHints, O.MaxWeight); in operator <()
782 Cost.MaxWeight = std::max(Cost.MaxWeight, Intf->weight); in canEvictInterference()
874 BestCost.MaxWeight = VirtReg.weight; in tryEvict()
/external/llvm-project/llvm/lib/Transforms/IPO/
DSampleProfile.cpp1630 uint32_t MaxWeight = 0; in propagateWeights() local
1648 if (Weight > MaxWeight) { in propagateWeights()
1649 MaxWeight = Weight; in propagateWeights()
1661 if (MaxWeight > 0 && !TI->extractProfTotalWeight(TempWeight)) { in propagateWeights()
/external/swiftshader/third_party/llvm-10.0/llvm/lib/Transforms/IPO/
DSampleProfile.cpp1569 uint32_t MaxWeight = 0; in propagateWeights() local
1587 if (Weight > MaxWeight) { in propagateWeights()
1588 MaxWeight = Weight; in propagateWeights()
1602 if (MaxWeight > 0 && !TI->extractProfTotalWeight(TempWeight)) { in propagateWeights()