Home
last modified time | relevance | path

Searched refs:EntryFreq (Results 1 – 12 of 12) sorted by relevance

/external/swiftshader/third_party/LLVM/include/llvm/Analysis/
DBlockFrequencyImpl.h52 const uint32_t EntryFreq; variable
179 setBlockFreq(BB, EntryFreq); in doBlock()
214 assert(EntryFreq >= CycleProb[BB]); in doBlock()
216 uint32_t Numerator = EntryFreq - CProb ? EntryFreq - CProb : 1; in doBlock()
217 divBlockFreq(BB, BranchProbability(Numerator, EntryFreq)); in doBlock()
246 assert(N <= EntryFreq && "Backedge frequency must be <= EntryFreq!"); in doLoop()
247 uint64_t Res = (N * EntryFreq) / D; in doLoop()
260 BlockFrequencyImpl() : EntryFreq(BlockFrequency::getEntryFrequency()) { } in BlockFrequencyImpl()
/external/llvm/lib/CodeGen/
DShrinkWrap.cpp119 uint64_t EntryFreq; member in __anone305433f0111::ShrinkWrap
168 EntryFreq = MBFI->getEntryFreq(); in init()
481 DEBUG(dbgs() << "\n ** Results **\nFrequency of the Entry: " << EntryFreq in runOnMachineFunction()
493 if (((IsSaveCheap = EntryFreq >= MBFI->getBlockFreq(Save).getFrequency()) && in runOnMachineFunction()
494 EntryFreq >= MBFI->getBlockFreq(Restore).getFrequency()) && in runOnMachineFunction()
DMachineBlockPlacement.cpp1586 BlockFrequency EntryFreq = MBFI->getBlockFreq(&F->front()); in alignBlocks() local
1587 BlockFrequency WeightedEntryFreq = EntryFreq * ColdProb; in alignBlocks()
/external/swiftshader/third_party/llvm-7.0/llvm/lib/CodeGen/
DShrinkWrap.cpp138 uint64_t EntryFreq; member in __anonaebcf7770111::ShrinkWrap
197 EntryFreq = MBFI->getEntryFreq(); in init()
531 LLVM_DEBUG(dbgs() << "\n ** Results **\nFrequency of the Entry: " << EntryFreq in runOnMachineFunction()
544 if (((IsSaveCheap = EntryFreq >= MBFI->getBlockFreq(Save).getFrequency()) && in runOnMachineFunction()
545 EntryFreq >= MBFI->getBlockFreq(Restore).getFrequency()) && in runOnMachineFunction()
DMachineBlockPlacement.cpp712 uint64_t EntryFreq) { in greaterWithBias() argument
715 return (Gain / ThresholdProb).getFrequency() >= EntryFreq; in greaterWithBias()
760 uint64_t EntryFreq = MBFI->getEntryFreq(); in isProfitableToTailDup() local
764 return greaterWithBias(P, Qout, EntryFreq); in isProfitableToTailDup()
820 return greaterWithBias(BaseCost, DupCost, EntryFreq); in isProfitableToTailDup()
862 EntryFreq); in isProfitableToTailDup()
867 EntryFreq); in isProfitableToTailDup()
2507 BlockFrequency EntryFreq = MBFI->getBlockFreq(&F->front()); in alignBlocks() local
2508 BlockFrequency WeightedEntryFreq = EntryFreq * ColdProb; in alignBlocks()
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Transforms/IPO/
DSyntheticCountsPropagation.cpp116 Scaled64 EntryFreq(BFI.getEntryFreq(), 0); in run() local
118 BBFreq /= EntryFreq; in run()
DPartialInlining.cpp714 auto EntryFreq = in getOutliningCallBBRelativeFreq() local
721 if (OutliningCallFreq.getFrequency() > EntryFreq.getFrequency()) { in getOutliningCallBBRelativeFreq()
722 OutliningCallFreq = EntryFreq; in getOutliningCallBBRelativeFreq()
725 OutliningCallFreq.getFrequency(), EntryFreq.getFrequency()); in getOutliningCallBBRelativeFreq()
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Transforms/Utils/
DCodeExtractor.cpp1142 BlockFrequency EntryFreq; in extractCodeRegion() local
1148 EntryFreq += in extractCodeRegion()
1231 auto Count = BFI->getProfileCountFromFreq(EntryFreq.getFrequency()); in extractCodeRegion()
1235 BFI->setBlockFreq(codeReplacer, EntryFreq.getFrequency()); in extractCodeRegion()
/external/swiftshader/third_party/llvm-7.0/llvm/include/llvm/IR/
DModuleSummaryIndex.h88 void updateRelBlockFreq(uint64_t BlockFreq, uint64_t EntryFreq) { in updateRelBlockFreq()
89 if (EntryFreq == 0) in updateRelBlockFreq()
93 Temp /= Scaled64::get(EntryFreq); in updateRelBlockFreq()
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Analysis/
DModuleSummaryAnalysis.cpp309 uint64_t EntryFreq = BFI->getEntryFreq(); in computeFunctionSummary() local
310 ValueInfo.updateRelBlockFreq(BBFreq, EntryFreq); in computeFunctionSummary()
DBlockFrequencyInfoImpl.cpp574 APInt EntryFreq(128, getEntryFreq()); in getProfileCountFromFreq() local
576 BlockCount = BlockCount.udiv(EntryFreq); in getProfileCountFromFreq()
/external/llvm/lib/Analysis/
DBlockFrequencyInfoImpl.cpp542 APInt EntryFreq(128, getEntryFreq()); in getBlockProfileCount() local
544 BlockCount = BlockCount.udiv(EntryFreq); in getBlockProfileCount()