Home
last modified time | relevance | path

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

/freebsd-14.2/contrib/llvm-project/llvm/lib/CodeGen/
H A DShrinkWrap.cpp142 BlockFrequency EntryFreq; member in __anon7eef84130111::ShrinkWrap
233 EntryFreq = MBFI->getEntryFreq(); in init()
643 EntryFreq < MBFI->getBlockFreq(NewSave) || in postShrinkWrapping()
678 assert((EntryFreq >= MBFI->getBlockFreq(Save) && in postShrinkWrapping()
679 EntryFreq >= MBFI->getBlockFreq(Restore)) && in postShrinkWrapping()
882 << EntryFreq.getFrequency() << '\n'); in performShrinkWrapping()
894 if (((IsSaveCheap = EntryFreq >= MBFI->getBlockFreq(Save)) && in performShrinkWrapping()
895 EntryFreq >= MBFI->getBlockFreq(Restore)) && in performShrinkWrapping()
H A DMachineBlockPlacement.cpp798 BlockFrequency EntryFreq) { in greaterWithBias() argument
801 return (Gain / ThresholdProb) >= EntryFreq; in greaterWithBias()
846 BlockFrequency EntryFreq = MBFI->getEntryFreq(); in isProfitableToTailDup() local
850 return greaterWithBias(P, Qout, EntryFreq); in isProfitableToTailDup()
906 return greaterWithBias(BaseCost, DupCost, EntryFreq); in isProfitableToTailDup()
948 EntryFreq); in isProfitableToTailDup()
953 EntryFreq); in isProfitableToTailDup()
2908 BlockFrequency EntryFreq = MBFI->getBlockFreq(&F->front()); in alignBlocks() local
2909 BlockFrequency WeightedEntryFreq = EntryFreq * ColdProb; in alignBlocks()
/freebsd-14.2/contrib/llvm-project/llvm/lib/Transforms/IPO/
H A DSyntheticCountsPropagation.cpp114 Scaled64 EntryFreq(BFI.getEntryFreq().getFrequency(), 0); in run() local
116 BBCount /= EntryFreq; in run()
H A DPartialInlining.cpp681 auto EntryFreq = in getOutliningCallBBRelativeFreq() local
688 if (OutliningCallFreq.getFrequency() > EntryFreq.getFrequency()) in getOutliningCallBBRelativeFreq()
689 OutliningCallFreq = EntryFreq; in getOutliningCallBBRelativeFreq()
692 OutliningCallFreq.getFrequency(), EntryFreq.getFrequency()); in getOutliningCallBBRelativeFreq()
/freebsd-14.2/contrib/llvm-project/llvm/lib/Analysis/
H A DBlockFrequencyInfoImpl.cpp598 APInt EntryFreq(128, getEntryFreq().getFrequency()); in getProfileCountFromFreq() local
602 BlockCount = (BlockCount + EntryFreq.lshr(1)).udiv(EntryFreq); in getProfileCountFromFreq()
637 void llvm::printBlockFreqImpl(raw_ostream &OS, BlockFrequency EntryFreq, in printBlockFreqImpl() argument
643 if (EntryFreq == BlockFrequency(0)) { in printBlockFreqImpl()
648 Scaled64 Entry(EntryFreq.getFrequency(), 0); in printBlockFreqImpl()
H A DCFGPrinter.cpp188 BlockFrequency EntryFreq = BFI->getEntryFreq(); in isNodeHidden() local
190 if ((double)NodeFreq.getFrequency() / EntryFreq.getFrequency() < in isNodeHidden()
H A DModuleSummaryAnalysis.cpp418 uint64_t EntryFreq = BFI->getEntryFreq().getFrequency(); in computeFunctionSummary() local
419 ValueInfo.updateRelBlockFreq(BBFreq, EntryFreq); in computeFunctionSummary()
/freebsd-14.2/contrib/llvm-project/llvm/lib/Transforms/Utils/
H A DCodeExtractor.cpp1695 BlockFrequency EntryFreq; in extractCodeRegion() local
1701 EntryFreq += in extractCodeRegion()
1827 auto Count = BFI->getProfileCountFromFreq(EntryFreq); in extractCodeRegion()
1831 BFI->setBlockFreq(codeReplacer, EntryFreq); in extractCodeRegion()
/freebsd-14.2/contrib/llvm-project/llvm/include/llvm/IR/
H A DModuleSummaryIndex.h103 void updateRelBlockFreq(uint64_t BlockFreq, uint64_t EntryFreq) { in updateRelBlockFreq()
104 if (EntryFreq == 0) in updateRelBlockFreq()
108 Temp /= Scaled64::get(EntryFreq); in updateRelBlockFreq()
/freebsd-14.2/contrib/llvm-project/llvm/lib/Target/PowerPC/
H A DPPCMIPeephole.cpp116 BlockFrequency EntryFreq; member
199 EntryFreq = MBFI->getEntryFreq(); in initialize()
309 if (CurrBlockFreq > EntryFreq || MPDT->dominates(MI->getParent(), Entry)) in UpdateTOCSaves()
/freebsd-14.2/contrib/llvm-project/llvm/include/llvm/Analysis/
H A DBlockFrequencyInfoImpl.h542 void printBlockFreqImpl(raw_ostream &OS, BlockFrequency EntryFreq,