Searched refs:Scaled64 (Results 1 – 6 of 6) sorted by relevance
| /freebsd/contrib/llvm-project/llvm/lib/CodeGen/ |
| H A D | SelectOptimize.cpp | 118 using Scaled64 = ScaledNumber<uint64_t>; typedef in __anon135b54a50111::SelectOptimizeImpl 122 Scaled64 PredCost; 124 Scaled64 NonPredCost; 189 Scaled64 getOpCostOnBranch( in getOpCostOnBranch() 197 : Scaled64::getZero(); in getOpCostOnBranch() 199 return Scaled64::getZero(); in getOpCostOnBranch() 209 auto TotalCost = Scaled64::get(Cost.getValue()); in getOpCostOnBranch() 295 Scaled64 getMispredictionCost(const SelectLike SI, const Scaled64 CondCost); 298 Scaled64 getPredictedPathCost(Scaled64 TrueCost, Scaled64 FalseCost, 968 CostInfo LoopCost[2] = {{Scaled64::getZero(), Scaled64::getZero()}, in findProfitableSIGroupsInnerLoops() [all …]
|
| /freebsd/contrib/llvm-project/llvm/include/llvm/Analysis/ |
| H A D | SyntheticCountsUtils.h | 30 using Scaled64 = ScaledNumber<uint64_t>; 39 function_ref<std::optional<Scaled64>(NodeRef, EdgeRef)>; 40 using AddCountTy = function_ref<void(NodeRef, Scaled64)>;
|
| H A D | BlockFrequencyInfoImpl.h | 179 using Scaled64 = ScaledNumber<uint64_t>; 213 Scaled64 Scaled; 233 Scaled64 Scale; 520 Scaled64 getFloatingBlockFreq(const BlockNode &Node) const; 976 using ProbMatrixType = std::vector<std::vector<std::pair<size_t, Scaled64>>>; 980 std::vector<Scaled64> &Freq) const; 996 Scaled64 discrepancy(const ProbMatrixType &ProbMatrix, 997 const std::vector<Scaled64> &Freq) const; 1041 Scaled64 getFloatingBlockFreq(const BlockT *BB) const { 1376 auto Freq = std::vector<Scaled64>(ReachableBlocks.size()); [all …]
|
| /freebsd/contrib/llvm-project/llvm/lib/Analysis/ |
| H A D | BlockFrequencyInfoImpl.cpp | 93 using Scaled64 = BlockFrequencyInfoImplBase::Scaled64; typedef 400 const Scaled64 InfiniteLoopScale(1, 12); in computeLoopScale() 483 const Scaled64 &Min, const Scaled64 &Max) { in convertFloatingToInteger() 491 const unsigned MaxBits = sizeof(Scaled64::DigitsType) * CHAR_BIT; in convertFloatingToInteger() 496 Scaled64 ScalingFactor = Scaled64(1, MaxBits - Slack) / Max; in convertFloatingToInteger() 503 Scaled64 Scaled = BFI.Freqs[Index].Scaled * ScalingFactor; in convertFloatingToInteger() 528 Scaled64 &F = Working.isAPackage() ? Working.getPackagedLoop()->Scale in unwrapLoop() 530 Scaled64 New = Loop.Scale * F; in unwrapLoop() 549 auto Min = Scaled64::getLargest(); in finalizeMetrics() 550 auto Max = Scaled64::getZero(); in finalizeMetrics() [all …]
|
| H A D | SyntheticCountsUtils.cpp | 48 DenseMap<NodeRef, Scaled64> AdditionalCounts; in propagateFromSCC()
|
| /freebsd/contrib/llvm-project/llvm/include/llvm/IR/ |
| H A D | ModuleSummaryIndex.h | 111 using Scaled64 = ScaledNumber<uint64_t>; in updateRelBlockFreq() local 112 Scaled64 Temp(BlockFreq, ScaleShift); in updateRelBlockFreq() 113 Temp /= Scaled64::get(EntryFreq); in updateRelBlockFreq()
|