Home
last modified time | relevance | path

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

/external/swiftshader/third_party/LLVM/lib/CodeGen/
DMachineBranchProbabilityInfo.cpp69 uint32_t MaxWeight = 0; in getHotSucc() local
81 if (Weight > MaxWeight) { in getHotSucc()
82 MaxWeight = Weight; in getHotSucc()
88 if ((uint64_t)MaxWeight * 5 >= (uint64_t)Sum * 4) in getHotSucc()
DRegAllocGreedy.cpp160 float MaxWeight; ///< Maximum spill weight evicted. member
162 EvictionCost(unsigned B = 0) : BrokenHints(B), MaxWeight(0) {} in EvictionCost()
167 return MaxWeight < O.MaxWeight; in operator <()
566 Cost.MaxWeight = std::max(Cost.MaxWeight, Intf->weight); in canEvictInterference()
627 BestCost.MaxWeight = VirtReg.weight; in tryEvict()
/external/swiftshader/third_party/LLVM/lib/Analysis/
DBranchProbabilityInfo.cpp447 uint32_t MaxWeight = 0; in getHotSucc() local
458 if (Weight > MaxWeight) { in getHotSucc()
459 MaxWeight = Weight; in getHotSucc()
465 if ((uint64_t)MaxWeight * 5 > (uint64_t)Sum * 4) in getHotSucc()
/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-7.0/llvm/lib/CodeGen/
DRegAllocGreedy.cpp278 float MaxWeight = 0; ///< Maximum spill weight evicted. member
289 return std::tie(BrokenHints, MaxWeight) < in operator <()
290 std::tie(O.BrokenHints, O.MaxWeight); in operator <()
925 Cost.MaxWeight = std::max(Cost.MaxWeight, Intf->weight); in canEvictInterference()
985 Cost.MaxWeight = std::max(Cost.MaxWeight, Intf->weight); in canEvictInterferenceInRange()
992 if (Cost.MaxWeight == 0) in canEvictInterferenceInRange()
1016 BestEvictCost.MaxWeight = VirtReg.weight; in getCheapestEvicteeWeight()
1029 *BestEvictweight = BestEvictCost.MaxWeight; in getCheapestEvicteeWeight()
1111 BestCost.MaxWeight = VirtReg.weight; in tryEvict()
1458 float MaxWeight = 0; in splitCanCauseEvictionChain() local
[all …]
/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/swiftshader/third_party/llvm-7.0/llvm/utils/TableGen/
DCodeGenRegisters.cpp1589 unsigned MaxWeight = 0, Weight = 0; in computeUberWeights() local
1592 if (Weight > MaxWeight) in computeUberWeights()
1593 MaxWeight = Weight; in computeUberWeights()
1606 if (Weight > MaxWeight) in computeUberWeights()
1607 MaxWeight = Weight; in computeUberWeights()
1608 if (I->Weight != MaxWeight) { in computeUberWeights()
1610 << MaxWeight; in computeUberWeights()
1616 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/swiftshader/third_party/llvm-7.0/llvm/lib/Transforms/IPO/
DSampleProfile.cpp1307 uint32_t MaxWeight = 0; in propagateWeights() local
1325 if (Weight > MaxWeight) { in propagateWeights()
1326 MaxWeight = Weight; in propagateWeights()
1338 if (MaxWeight > 0 && !TI->extractProfTotalWeight(TempWeight)) { in propagateWeights()