Searched refs:Scaled64 (Results 1 – 8 of 8) sorted by relevance
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Transforms/IPO/ |
D | SyntheticCountsPropagation.cpp | 43 using Scaled64 = ScaledNumber<uint64_t>; typedef 108 Optional<Scaled64> Res = None; in run() 116 Scaled64 EntryFreq(BFI.getEntryFreq(), 0); in run() 117 Scaled64 BBFreq(BFI.getBlockFreq(CSBB).getFrequency(), 0); in run() 119 return Optional<Scaled64>(BBFreq); in run()
|
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Analysis/ |
D | BlockFrequencyInfoImpl.cpp | 72 using Scaled64 = BlockFrequencyInfoImplBase::Scaled64; typedef 379 const Scaled64 InfiniteLoopScale(1, 12); in computeLoopScale() 462 const Scaled64 &Min, const Scaled64 &Max) { in convertFloatingToInteger() 471 Scaled64 ScalingFactor; in convertFloatingToInteger() 481 ScalingFactor = Scaled64(1, MaxBits) / Max; in convertFloatingToInteger() 488 Scaled64 Scaled = BFI.Freqs[Index].Scaled * ScalingFactor; in convertFloatingToInteger() 513 Scaled64 &F = Working.isAPackage() ? Working.getPackagedLoop()->Scale in unwrapLoop() 515 Scaled64 New = Loop.Scale * F; in unwrapLoop() 534 auto Min = Scaled64::getLargest(); in finalizeMetrics() 535 auto Max = Scaled64::getZero(); in finalizeMetrics() [all …]
|
D | SyntheticCountsUtils.cpp | 62 Scaled64 RelFreq = OptRelFreq.getValue(); in propagateFromSCC() 65 RelFreq *= Scaled64(GetCount(Caller), 0); in propagateFromSCC() 79 Scaled64 RelFreq = OptRelFreq.getValue(); in propagateFromSCC() 82 RelFreq *= Scaled64(GetCount(Caller), 0); in propagateFromSCC()
|
/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-7.0/llvm/include/llvm/Analysis/ |
D | SyntheticCountsUtils.h | 33 using Scaled64 = ScaledNumber<uint64_t>; 39 using GetRelBBFreqTy = function_ref<Optional<Scaled64>(EdgeRef)>;
|
D | BlockFrequencyInfoImpl.h | 177 using Scaled64 = ScaledNumber<uint64_t>; 211 Scaled64 Scaled; 231 Scaled64 Scale; 524 Scaled64 getFloatingBlockFreq(const BlockNode &Node) const; 991 Scaled64 getFloatingBlockFreq(const BlockT *BB) const {
|
/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/swiftshader/third_party/llvm-7.0/llvm/include/llvm/IR/ |
D | ModuleSummaryIndex.h | 91 using Scaled64 = ScaledNumber<uint64_t>; in updateRelBlockFreq() local 92 Scaled64 Temp(BlockFreq, ScaleShift); in updateRelBlockFreq() 93 Temp /= Scaled64::get(EntryFreq); in updateRelBlockFreq()
|