Home
last modified time | relevance | path

Searched refs:BBFreq (Results 1 – 5 of 5) sorted by relevance

/external/swiftshader/third_party/llvm-7.0/llvm/lib/Analysis/
DBlockFrequencyInfo.cpp238 APInt BBFreq(128, 0); in setBlockFreqAndScale() local
240 BBFreq = BFI->getBlockFreq(BB).getFrequency(); in setBlockFreqAndScale()
243 BBFreq *= NewFreq; in setBlockFreqAndScale()
247 BBFreq = BBFreq.udiv(OldFreq); in setBlockFreqAndScale()
248 BFI->setBlockFreq(BB, BBFreq.getLimitedValue()); in setBlockFreqAndScale()
DModuleSummaryAnalysis.cpp308 uint64_t BBFreq = BFI->getBlockFreq(&BB).getFrequency(); in computeFunctionSummary() local
310 ValueInfo.updateRelBlockFreq(BBFreq, EntryFreq); in computeFunctionSummary()
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Transforms/IPO/
DSyntheticCountsPropagation.cpp117 Scaled64 BBFreq(BFI.getBlockFreq(CSBB).getFrequency(), 0); in run() local
118 BBFreq /= EntryFreq; in run()
119 return Optional<Scaled64>(BBFreq); in run()
/external/swiftshader/third_party/llvm-7.0/llvm/lib/CodeGen/
DMachineBlockPlacement.cpp756 auto BBFreq = MBFI->getBlockFreq(BB); in isProfitableToTailDup() local
758 BlockFrequency P = BBFreq * PProb; in isProfitableToTailDup()
759 BlockFrequency Qout = BBFreq * QProb; in isProfitableToTailDup()
DCodeGenPrepare.cpp695 BlockFrequency BBFreq = BFI->getBlockFreq(BB); in isMergingEmptyBlockProfitable() local
700 BBFreq += BFI->getBlockFreq(SameValueBB); in isMergingEmptyBlockProfitable()
703 BBFreq.getFrequency() * FreqRatioToSkipMerge; in isMergingEmptyBlockProfitable()