Home
last modified time | relevance | path

Searched refs:BlockFreq (Results 1 – 10 of 10) sorted by relevance

/freebsd/contrib/llvm-project/llvm/include/llvm/Analysis/
H A DProfileSummaryInfo.h213 bool isColdBlock(BlockFrequency BlockFreq, const BFIT *BFI) const { in isColdBlock() argument
214 auto Count = BFI->getProfileCountFromFreq(BlockFreq); in isColdBlock()
226 bool isHotBlockNthPercentile(int PercentileCutoff, BlockFrequency BlockFreq, in isHotBlockNthPercentile() argument
229 BlockFreq, BFI); in isHotBlockNthPercentile()
243 bool isColdBlockNthPercentile(int PercentileCutoff, BlockFrequency BlockFreq, in isColdBlockNthPercentile() argument
246 BlockFreq, BFI); in isColdBlockNthPercentile()
320 BlockFrequency BlockFreq, in isHotOrColdBlockNthPercentile() argument
322 auto Count = BFI->getProfileCountFromFreq(BlockFreq); in isHotOrColdBlockNthPercentile()
/freebsd/contrib/llvm-project/llvm/lib/CodeGen/
H A DMachineSizeOpts.cpp55 BlockFrequency BlockFreq = MBFIW->getBlockFreq(MBB); in shouldOptimizeForSize() local
56 return shouldOptimizeForSizeImpl(BlockFreq, PSI, &MBFIW->getMBFI(), in shouldOptimizeForSize()
H A DMachineBlockPlacement.cpp3699 BlockFrequency BlockFreq = MBFI->getBlockFreq(&MBB); in applyExtTsp() local
3700 BlockCounts[BlockIndex[&MBB]] = OptForSize ? 1 : BlockFreq.getFrequency(); in applyExtTsp()
3739 BlockFrequency JumpFreq = BlockFreq * EP; in applyExtTsp()
3923 BlockFrequency BlockFreq = MBFI->getBlockFreq(&MBB); in run() local
3934 BlockFreq * MBPI->getEdgeProbability(&MBB, Succ); in run()
H A DBranchFolding.cpp1201 BlockFrequency BlockFreq = MBBFreqInfo.getBlockFreq(SrcMBB); in setCommonTailEdgeWeights() local
1202 AccumulatedMBBFreq += BlockFreq; in setCommonTailEdgeWeights()
1213 *EdgeFreq += BlockFreq * MBPI.getEdgeProbability(SrcMBB, *SuccI); in setCommonTailEdgeWeights()
/freebsd/contrib/llvm-project/llvm/lib/Target/Hexagon/
H A DHexagonLoopAlign.cpp149 BlockFrequency BlockFreq = MBFI->getBlockFreq(&MBB); in attemptToBalignSmallLoop() local
151 BlockFrequency EdgeFreq = BlockFreq * BrProb; in attemptToBalignSmallLoop()
/freebsd/contrib/llvm-project/llvm/include/llvm/Object/
H A DELFTypes.h1019 BlockFrequency BlockFreq;
1024 return std::tie(BlockFreq, Successors) ==
1025 std::tie(Other.BlockFreq, Other.Successors);
/freebsd/contrib/llvm-project/llvm/lib/Analysis/
H A DBlockFrequencyInfoImpl.cpp597 APInt BlockFreq(128, Freq.getFrequency()); in getProfileCountFromFreq() local
599 BlockCount *= BlockFreq; in getProfileCountFromFreq()
/freebsd/contrib/llvm-project/llvm/include/llvm/IR/
H A DModuleSummaryIndex.h108 void updateRelBlockFreq(uint64_t BlockFreq, uint64_t EntryFreq) { in updateRelBlockFreq()
112 Scaled64 Temp(BlockFreq, ScaleShift); in updateRelBlockFreq()
/freebsd/contrib/llvm-project/llvm/tools/llvm-objdump/
H A Dllvm-objdump.cpp217 printRelativeBlockFreq(PGOSS, PGOMap.BBEntries.front().BlockFreq, in constructPGOLabelString()
218 PGOBBEntry.BlockFreq); in constructPGOLabelString()
220 PGOSS << Twine(PGOBBEntry.BlockFreq.getFrequency()); in constructPGOLabelString()
/freebsd/contrib/llvm-project/llvm/tools/llvm-readobj/
H A DELFDumper.cpp7959 printRelativeBlockFreq(SS, PAM.BBEntries.front().BlockFreq, in printBBAddrMaps()
7960 PBBE.BlockFreq); in printBBAddrMaps()
7963 W.printNumber("Frequency", PBBE.BlockFreq.getFrequency()); in printBBAddrMaps()