/freebsd/contrib/llvm-project/llvm/lib/Support/ |
H A D | BlockFrequency.cpp | 51 void llvm::printRelativeBlockFreq(raw_ostream &OS, BlockFrequency EntryFreq, in printRelativeBlockFreq() argument 57 if (EntryFreq == BlockFrequency(0)) { in printRelativeBlockFreq() 62 ScaledNumber<uint64_t> Entry(EntryFreq.getFrequency(), 0); in printRelativeBlockFreq()
|
/freebsd/contrib/llvm-project/llvm/lib/CodeGen/ |
H A D | ShrinkWrap.cpp | 142 BlockFrequency EntryFreq; member in __anon8a4a73dd0111::ShrinkWrap 235 EntryFreq = MBFI->getEntryFreq(); in init() 645 EntryFreq < MBFI->getBlockFreq(NewSave) || in postShrinkWrapping() 680 assert((EntryFreq >= MBFI->getBlockFreq(Save) && in postShrinkWrapping() 681 EntryFreq >= MBFI->getBlockFreq(Restore)) && in postShrinkWrapping() 884 << EntryFreq.getFrequency() << '\n'); in performShrinkWrapping() 896 if (((IsSaveCheap = EntryFreq >= MBFI->getBlockFreq(Save)) && in performShrinkWrapping() 897 EntryFreq >= MBFI->getBlockFreq(Restore)) && in performShrinkWrapping()
|
H A D | MachineBlockPlacement.cpp | 803 BlockFrequency EntryFreq) { in greaterWithBias() argument 806 return (Gain / ThresholdProb) >= EntryFreq; in greaterWithBias() 851 BlockFrequency EntryFreq = MBFI->getEntryFreq(); in isProfitableToTailDup() local 855 return greaterWithBias(P, Qout, EntryFreq); in isProfitableToTailDup() 911 return greaterWithBias(BaseCost, DupCost, EntryFreq); in isProfitableToTailDup() 953 EntryFreq); in isProfitableToTailDup() 958 EntryFreq); in isProfitableToTailDup() 2944 BlockFrequency EntryFreq = MBFI->getBlockFreq(&F->front()); in alignBlocks() local 2945 BlockFrequency WeightedEntryFreq = EntryFreq * ColdProb; in alignBlocks()
|
/freebsd/contrib/llvm-project/llvm/lib/Transforms/IPO/ |
H A D | SyntheticCountsPropagation.cpp | 114 Scaled64 EntryFreq(BFI.getEntryFreq().getFrequency(), 0); in run() local 116 BBCount /= EntryFreq; in run()
|
H A D | PartialInlining.cpp | 681 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/contrib/llvm-project/llvm/include/llvm/Support/ |
H A D | BlockFrequency.h | 123 void printRelativeBlockFreq(raw_ostream &OS, BlockFrequency EntryFreq,
|
/freebsd/contrib/llvm-project/llvm/lib/Analysis/ |
H A D | CFGPrinter.cpp | 188 BlockFrequency EntryFreq = BFI->getEntryFreq(); in runOnFunction() 190 if ((double)NodeFreq.getFrequency() / EntryFreq.getFrequency() < in runOnFunction() 322 uint64_t EntryFreq = BFI->getEntryFreq(); isNodeHidden() local
|
H A D | BlockFrequencyInfoImpl.cpp | 598 APInt EntryFreq(128, getEntryFreq().getFrequency()); in getProfileCountFromFreq() local 602 BlockCount = (BlockCount + EntryFreq.lshr(1)).udiv(EntryFreq); in getProfileCountFromFreq()
|
H A D | ModuleSummaryAnalysis.cpp | 449 uint64_t EntryFreq = BFI->getEntryFreq().getFrequency(); in computeFunctionSummary() local 450 ValueInfo.updateRelBlockFreq(BBFreq, EntryFreq); in computeFunctionSummary()
|
/freebsd/contrib/llvm-project/llvm/lib/Transforms/Utils/ |
H A D | CodeExtractor.cpp | 1729 BlockFrequency EntryFreq; in extractCodeRegion() local 1735 EntryFreq += in extractCodeRegion() 1865 auto Count = BFI->getProfileCountFromFreq(EntryFreq); in extractCodeRegion() 1869 BFI->setBlockFreq(codeReplacer, EntryFreq); in extractCodeRegion()
|
/freebsd/contrib/llvm-project/llvm/include/llvm/IR/ |
H A D | ModuleSummaryIndex.h | 104 void updateRelBlockFreq(uint64_t BlockFreq, uint64_t EntryFreq) { in updateRelBlockFreq() 105 if (EntryFreq == 0) in updateRelBlockFreq() 109 Temp /= Scaled64::get(EntryFreq); in updateRelBlockFreq()
|
/freebsd/contrib/llvm-project/llvm/lib/Target/PowerPC/ |
H A D | PPCMIPeephole.cpp | 124 BlockFrequency EntryFreq; member 207 EntryFreq = MBFI->getEntryFreq(); in initialize() 317 if (CurrBlockFreq > EntryFreq || MPDT->dominates(MI->getParent(), Entry)) in UpdateTOCSaves()
|