Searched refs:EntryFreq (Results 1 - 9 of 9) sorted by relevance

/freebsd-11-stable/contrib/llvm-project/llvm/lib/Transforms/IPO/
H A DSyntheticCountsPropagation.cpp121 Scaled64 EntryFreq(BFI.getEntryFreq(), 0);
123 BBCount /= EntryFreq;
H A DPartialInlining.cpp724 auto EntryFreq = local
730 // OutliningCallFreq is *slightly* bigger than the EntryFreq.
731 if (OutliningCallFreq.getFrequency() > EntryFreq.getFrequency()) {
732 OutliningCallFreq = EntryFreq;
735 OutliningCallFreq.getFrequency(), EntryFreq.getFrequency());
/freebsd-11-stable/contrib/llvm-project/llvm/lib/CodeGen/
H A DShrinkWrap.cpp138 uint64_t EntryFreq; member in class:__anon1825::ShrinkWrap
197 EntryFreq = MBFI->getEntryFreq();
539 LLVM_DEBUG(dbgs() << "\n ** Results **\nFrequency of the Entry: " << EntryFreq
552 if (((IsSaveCheap = EntryFreq >= MBFI->getBlockFreq(Save).getFrequency()) &&
553 EntryFreq >= MBFI->getBlockFreq(Restore).getFrequency()) &&
H A DMachineBlockPlacement.cpp732 uint64_t EntryFreq) {
735 return (Gain / ThresholdProb).getFrequency() >= EntryFreq;
780 uint64_t EntryFreq = MBFI->getEntryFreq(); local
784 return greaterWithBias(P, Qout, EntryFreq);
840 return greaterWithBias(BaseCost, DupCost, EntryFreq);
882 EntryFreq);
887 EntryFreq);
2812 BlockFrequency EntryFreq = MBFI->getBlockFreq(&F->front()); local
2813 BlockFrequency WeightedEntryFreq = EntryFreq * ColdProb;
731 greaterWithBias(BlockFrequency A, BlockFrequency B, uint64_t EntryFreq) argument
/freebsd-11-stable/contrib/llvm-project/llvm/lib/Analysis/
H A DBlockFrequencyInfoImpl.cpp576 APInt EntryFreq(128, getEntryFreq());
578 // Rounded division of BlockCount by EntryFreq. Since EntryFreq is unsigned
579 // lshr by 1 gives EntryFreq/2.
580 BlockCount = (BlockCount + EntryFreq.lshr(1)).udiv(EntryFreq);
H A DModuleSummaryAnalysis.cpp361 uint64_t EntryFreq = BFI->getEntryFreq(); local
362 ValueInfo.updateRelBlockFreq(BBFreq, EntryFreq);
/freebsd-11-stable/contrib/llvm-project/llvm/include/llvm/IR/
H A DModuleSummaryIndex.h84 /// Update \p RelBlockFreq from \p BlockFreq and \p EntryFreq
86 /// BlockFreq is divided by EntryFreq and added to RelBlockFreq. To represent
89 void updateRelBlockFreq(uint64_t BlockFreq, uint64_t EntryFreq) { argument
90 if (EntryFreq == 0)
94 Temp /= Scaled64::get(EntryFreq);
/freebsd-11-stable/contrib/llvm-project/llvm/lib/Transforms/Utils/
H A DCodeExtractor.cpp1397 BlockFrequency EntryFreq; local
1403 EntryFreq +=
1518 auto Count = BFI->getProfileCountFromFreq(EntryFreq.getFrequency());
1522 BFI->setBlockFreq(codeReplacer, EntryFreq.getFrequency());
/freebsd-11-stable/contrib/llvm-project/llvm/lib/Target/PowerPC/
H A DPPCMIPeephole.cpp97 uint64_t EntryFreq; member in struct:__anon2365::PPCMIPeephole
141 EntryFreq = MBFI->getEntryFreq();
233 if (CurrBlockFreq > EntryFreq || MPDT->dominates(MI->getParent(), Entry))

Completed in 122 milliseconds