Home
last modified time | relevance | path

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

/freebsd/contrib/llvm-project/llvm/lib/Support/
H A DBlockFrequency.cpp51 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 DShrinkWrap.cpp142 BlockFrequency EntryFreq; member in __anon8a4a73dd0111::ShrinkWrapImpl
230 EntryFreq = MBFI->getEntryFreq(); in init()
648 EntryFreq < MBFI->getBlockFreq(NewSave) || in postShrinkWrapping()
683 assert((EntryFreq >= MBFI->getBlockFreq(Save) && in postShrinkWrapping()
684 EntryFreq >= MBFI->getBlockFreq(Restore)) && in postShrinkWrapping()
887 << EntryFreq.getFrequency() << '\n'); in performShrinkWrapping()
899 if (((IsSaveCheap = EntryFreq >= MBFI->getBlockFreq(Save)) && in performShrinkWrapping()
900 EntryFreq >= MBFI->getBlockFreq(Restore)) && in performShrinkWrapping()
H A DMachineBlockPlacement.cpp859 BlockFrequency EntryFreq) { in greaterWithBias() argument
862 return (Gain / ThresholdProb) >= EntryFreq; in greaterWithBias()
907 BlockFrequency EntryFreq = MBFI->getEntryFreq(); in isProfitableToTailDup() local
911 return greaterWithBias(P, Qout, EntryFreq); in isProfitableToTailDup()
967 return greaterWithBias(BaseCost, DupCost, EntryFreq); in isProfitableToTailDup()
1009 EntryFreq); in isProfitableToTailDup()
1014 EntryFreq); in isProfitableToTailDup()
3017 BlockFrequency EntryFreq = MBFI->getBlockFreq(&F->front()); in alignBlocks() local
3018 BlockFrequency WeightedEntryFreq = EntryFreq * ColdProb; in alignBlocks()
/freebsd/contrib/llvm-project/llvm/include/llvm/Transforms/Utils/
H A DCodeExtractor.h287 BlockFrequency EntryFreq,
306 BlockFrequency EntryFreq,
/freebsd/contrib/llvm-project/llvm/lib/Analysis/
H A DCFGPrinter.cpp215 BlockFrequency EntryFreq = BFI->getEntryFreq(); in isNodeHidden() local
217 if ((double)NodeFreq.getFrequency() / EntryFreq.getFrequency() < in isNodeHidden()
H A DBlockFrequencyInfoImpl.cpp598 APInt EntryFreq(128, getEntryFreq().getFrequency()); in getProfileCountFromFreq() local
602 BlockCount = (BlockCount + EntryFreq.lshr(1)).udiv(EntryFreq); in getProfileCountFromFreq()
H A DModuleSummaryAnalysis.cpp462 uint64_t EntryFreq = BFI->getEntryFreq().getFrequency(); in computeFunctionSummary() local
463 ValueInfo.updateRelBlockFreq(BBFreq, EntryFreq); in computeFunctionSummary()
/freebsd/contrib/llvm-project/llvm/include/llvm/Support/
H A DBlockFrequency.h124 LLVM_ABI void printRelativeBlockFreq(raw_ostream &OS, BlockFrequency EntryFreq,
/freebsd/contrib/llvm-project/llvm/lib/Transforms/Utils/
H A DCodeExtractor.cpp833 const ValueSet &inputs, const ValueSet &outputs, BlockFrequency EntryFreq, in constructFunctionDeclaration() argument
1056 auto Count = BFI->getProfileCountFromFreq(EntryFreq); in constructFunctionDeclaration()
1478 BlockFrequency EntryFreq; in extractCodeRegion() local
1485 EntryFreq += in extractCodeRegion()
1516 inputs, outputs, EntryFreq, oldFunction->getName() + "." + SuffixToUse, in extractCodeRegion()
1526 EntryFreq, LifetimesStart.getArrayRef(), Reloads); in extractCodeRegion()
1828 BlockFrequency EntryFreq, ArrayRef<Value *> LifetimesStart, in emitReplacerCall() argument
1845 BFI->setBlockFreq(codeReplacer, EntryFreq); in emitReplacerCall()
/freebsd/contrib/llvm-project/llvm/lib/Transforms/IPO/
H A DPartialInlining.cpp676 auto EntryFreq = in getOutliningCallBBRelativeFreq() local
683 if (OutliningCallFreq.getFrequency() > EntryFreq.getFrequency()) in getOutliningCallBBRelativeFreq()
684 OutliningCallFreq = EntryFreq; in getOutliningCallBBRelativeFreq()
687 OutliningCallFreq.getFrequency(), EntryFreq.getFrequency()); in getOutliningCallBBRelativeFreq()
/freebsd/contrib/llvm-project/llvm/include/llvm/IR/
H A DModuleSummaryIndex.h108 void updateRelBlockFreq(uint64_t BlockFreq, uint64_t EntryFreq) { in updateRelBlockFreq()
109 if (EntryFreq == 0) in updateRelBlockFreq()
113 Temp /= Scaled64::get(EntryFreq); in updateRelBlockFreq()
/freebsd/contrib/llvm-project/llvm/lib/Target/PowerPC/
H A DPPCMIPeephole.cpp121 BlockFrequency EntryFreq; member
203 EntryFreq = MBFI->getEntryFreq(); in initialize()
313 if (CurrBlockFreq > EntryFreq || MPDT->dominates(MI->getParent(), Entry)) in UpdateTOCSaves()