/external/swiftshader/third_party/llvm-10.0/llvm/lib/Transforms/IPO/ |
D | SyntheticCountsPropagation.cpp | 43 using Scaled64 = ScaledNumber<uint64_t>; typedef 101 DenseMap<Function *, Scaled64> Counts; in run() 104 M, [&](Function *F, uint64_t Count) { Counts[F] = Scaled64(Count, 0); }); in run() 110 Optional<Scaled64> Res = None; in run() 121 Scaled64 EntryFreq(BFI.getEntryFreq(), 0); in run() 122 Scaled64 BBCount(BFI.getBlockFreq(CSBB).getFrequency(), 0); in run() 125 return Optional<Scaled64>(BBCount); in run() 131 &CG, GetCallSiteProfCount, [&](const CallGraphNode *N, Scaled64 New) { in run()
|
/external/llvm-project/llvm/lib/Transforms/IPO/ |
D | SyntheticCountsPropagation.cpp | 42 using Scaled64 = ScaledNumber<uint64_t>; typedef 100 DenseMap<Function *, Scaled64> Counts; in run() 103 M, [&](Function *F, uint64_t Count) { Counts[F] = Scaled64(Count, 0); }); in run() 109 Optional<Scaled64> Res = None; in run() 119 Scaled64 EntryFreq(BFI.getEntryFreq(), 0); in run() 120 Scaled64 BBCount(BFI.getBlockFreq(CSBB).getFrequency(), 0); in run() 123 return Optional<Scaled64>(BBCount); in run() 129 &CG, GetCallSiteProfCount, [&](const CallGraphNode *N, Scaled64 New) { in run()
|
/external/llvm-project/llvm/lib/LTO/ |
D | SummaryBasedOptimizations.cpp | 49 using Scaled64 = ScaledNumber<uint64_t>; in computeSyntheticCounts() typedef 52 return Scaled64(Edge.second.RelBlockFreq, -CalleeInfo::ScaleShift); in computeSyntheticCounts() 63 auto AddToEntryCount = [](ValueInfo V, Scaled64 New) { in computeSyntheticCounts() 76 Scaled64 EC(GetEntryCount(V), 0); in computeSyntheticCounts()
|
/external/swiftshader/third_party/llvm-10.0/llvm/lib/LTO/ |
D | SummaryBasedOptimizations.cpp | 49 using Scaled64 = ScaledNumber<uint64_t>; in computeSyntheticCounts() typedef 52 return Scaled64(Edge.second.RelBlockFreq, -CalleeInfo::ScaleShift); in computeSyntheticCounts() 63 auto AddToEntryCount = [](ValueInfo V, Scaled64 New) { in computeSyntheticCounts() 76 Scaled64 EC(GetEntryCount(V), 0); in computeSyntheticCounts()
|
/external/llvm-project/llvm/include/llvm/Analysis/ |
D | SyntheticCountsUtils.h | 29 using Scaled64 = ScaledNumber<uint64_t>; 37 using GetProfCountTy = function_ref<Optional<Scaled64>(NodeRef, EdgeRef)>; 38 using AddCountTy = function_ref<void(NodeRef, Scaled64)>;
|
D | BlockFrequencyInfoImpl.h | 176 using Scaled64 = ScaledNumber<uint64_t>; 210 Scaled64 Scaled; 230 Scaled64 Scale; 523 Scaled64 getFloatingBlockFreq(const BlockNode &Node) const; 1012 Scaled64 getFloatingBlockFreq(const BlockT *BB) const {
|
/external/swiftshader/third_party/llvm-10.0/llvm/include/llvm/Analysis/ |
D | SyntheticCountsUtils.h | 32 using Scaled64 = ScaledNumber<uint64_t>; 40 using GetProfCountTy = function_ref<Optional<Scaled64>(NodeRef, EdgeRef)>; 41 using AddCountTy = function_ref<void(NodeRef, Scaled64)>;
|
D | BlockFrequencyInfoImpl.h | 172 using Scaled64 = ScaledNumber<uint64_t>; 206 Scaled64 Scaled; 226 Scaled64 Scale; 519 Scaled64 getFloatingBlockFreq(const BlockNode &Node) const; 992 Scaled64 getFloatingBlockFreq(const BlockT *BB) const {
|
/external/llvm/lib/Analysis/ |
D | BlockFrequencyInfoImpl.cpp | 51 typedef BlockFrequencyInfoImplBase::Scaled64 Scaled64; typedef 354 const Scaled64 InfiniteLoopScale(1, 12); in computeLoopScale() 436 const Scaled64 &Min, const Scaled64 &Max) { in convertFloatingToInteger() 445 Scaled64 ScalingFactor; in convertFloatingToInteger() 455 ScalingFactor = Scaled64(1, MaxBits) / Max; in convertFloatingToInteger() 462 Scaled64 Scaled = BFI.Freqs[Index].Scaled * ScalingFactor; in convertFloatingToInteger() 487 Scaled64 &F = Working.isAPackage() ? Working.getPackagedLoop()->Scale in unwrapLoop() 489 Scaled64 New = Loop.Scale * F; in unwrapLoop() 508 auto Min = Scaled64::getLargest(); in finalizeMetrics() 509 auto Max = Scaled64::getZero(); in finalizeMetrics() [all …]
|
/external/swiftshader/third_party/llvm-10.0/llvm/lib/Analysis/ |
D | BlockFrequencyInfoImpl.cpp | 71 using Scaled64 = BlockFrequencyInfoImplBase::Scaled64; typedef 378 const Scaled64 InfiniteLoopScale(1, 12); in computeLoopScale() 461 const Scaled64 &Min, const Scaled64 &Max) { in convertFloatingToInteger() 470 Scaled64 ScalingFactor; in convertFloatingToInteger() 480 ScalingFactor = Scaled64(1, MaxBits) / Max; in convertFloatingToInteger() 487 Scaled64 Scaled = BFI.Freqs[Index].Scaled * ScalingFactor; in convertFloatingToInteger() 512 Scaled64 &F = Working.isAPackage() ? Working.getPackagedLoop()->Scale in unwrapLoop() 514 Scaled64 New = Loop.Scale * F; in unwrapLoop() 533 auto Min = Scaled64::getLargest(); in finalizeMetrics() 534 auto Max = Scaled64::getZero(); in finalizeMetrics() [all …]
|
D | SyntheticCountsUtils.cpp | 55 DenseMap<NodeRef, Scaled64> AdditionalCounts; in propagateFromSCC()
|
/external/llvm-project/llvm/lib/Analysis/ |
D | BlockFrequencyInfoImpl.cpp | 77 using Scaled64 = BlockFrequencyInfoImplBase::Scaled64; typedef 384 const Scaled64 InfiniteLoopScale(1, 12); in computeLoopScale() 467 const Scaled64 &Min, const Scaled64 &Max) { in convertFloatingToInteger() 476 Scaled64 ScalingFactor; in convertFloatingToInteger() 486 ScalingFactor = Scaled64(1, MaxBits) / Max; in convertFloatingToInteger() 493 Scaled64 Scaled = BFI.Freqs[Index].Scaled * ScalingFactor; in convertFloatingToInteger() 518 Scaled64 &F = Working.isAPackage() ? Working.getPackagedLoop()->Scale in unwrapLoop() 520 Scaled64 New = Loop.Scale * F; in unwrapLoop() 539 auto Min = Scaled64::getLargest(); in finalizeMetrics() 540 auto Max = Scaled64::getZero(); in finalizeMetrics() [all …]
|
D | SyntheticCountsUtils.cpp | 54 DenseMap<NodeRef, Scaled64> AdditionalCounts; in propagateFromSCC()
|
/external/llvm/include/llvm/Analysis/ |
D | BlockFrequencyInfoImpl.h | 162 typedef ScaledNumber<uint64_t> Scaled64; 192 Scaled64 Scaled; 211 Scaled64 Scale; 480 Scaled64 getFloatingBlockFreq(const BlockNode &Node) const; 929 Scaled64 getFloatingBlockFreq(const BlockT *BB) const {
|
/external/llvm-project/llvm/include/llvm/IR/ |
D | ModuleSummaryIndex.h | 93 using Scaled64 = ScaledNumber<uint64_t>; in updateRelBlockFreq() local 94 Scaled64 Temp(BlockFreq, ScaleShift); in updateRelBlockFreq() 95 Temp /= Scaled64::get(EntryFreq); in updateRelBlockFreq()
|
/external/swiftshader/third_party/llvm-10.0/llvm/include/llvm/IR/ |
D | ModuleSummaryIndex.h | 92 using Scaled64 = ScaledNumber<uint64_t>; in updateRelBlockFreq() local 93 Scaled64 Temp(BlockFreq, ScaleShift); in updateRelBlockFreq() 94 Temp /= Scaled64::get(EntryFreq); in updateRelBlockFreq()
|