Home
last modified time | relevance | path

Searched refs:getFrequency (Results 1 – 25 of 34) sorted by relevance

12

/openbsd/src/gnu/llvm/llvm/lib/CodeGen/
DMachineSizeOpts.cpp41 auto Count = MBFI->getProfileCountFromFreq(BlockFreq.getFrequency()); in isColdBlock()
58 auto Count = MBFI->getProfileCountFromFreq(BlockFreq.getFrequency()); in isHotBlockNthPercentile()
74 auto Count = MBFI->getProfileCountFromFreq(BlockFreq.getFrequency()); in isColdBlockNthPercentile()
DShrinkWrap.cpp547 << MBFI->getBlockFreq(Save).getFrequency() in runOnMachineFunction()
550 << MBFI->getBlockFreq(Restore).getFrequency() << '\n'); in runOnMachineFunction()
553 if (((IsSaveCheap = EntryFreq >= MBFI->getBlockFreq(Save).getFrequency()) && in runOnMachineFunction()
554 EntryFreq >= MBFI->getBlockFreq(Restore).getFrequency()) && in runOnMachineFunction()
DMBFIWrapper.cpp41 return MBFI.getProfileCountFromFreq(I->second.getFrequency()); in getBlockProfileCount()
DMachineBlockPlacement.cpp802 return (Gain / ThresholdProb).getFrequency() >= EntryFreq; in greaterWithBias()
2527 Cost += ScaleBlockFrequency(TailBBFreq.getFrequency(), in rotateLoopWithProfile()
2542 << " to the top: " << Cost.getFrequency() << "\n"); in rotateLoopWithProfile()
2584 auto Freq = MBFI->getBlockFreq(LoopBB).getFrequency(); in collectLoopBlockSet()
2585 if (Freq == 0 || LoopFreq.getFrequency() / Freq > LoopToColdBlockRatio) in collectLoopBlockSet()
3163 return DupThreshold.getFrequency() * countMBBInstruction(BB); in scaleThreshold()
3509 BlockCounts[BlockIndex[&MBB]] = BlockFreq.getFrequency(); in applyExtTsp()
3525 JumpCounts.push_back(std::make_pair(Jump, JumpFreq.getFrequency())); in applyExtTsp()
3697 BranchTakenFreq += EdgeFreq.getFrequency(); in INITIALIZE_PASS_DEPENDENCY()
DMachineBlockFrequencyInfo.cpp266 MBFI->setBlockFreq(&NewSuccessor, NewSuccFreq.getFrequency()); in onEdgeSplit()
DSpillPlacement.cpp253 uint64_t Freq = Entry.getFrequency(); in setThreshold()
DRegAllocGreedy.cpp1555 SpillPlacer->getBlockFrequency(BI.MBB->getNumber()).getFrequency() * in tryLocalSplit()
2120 if (!CSRCost.getFrequency()) in initializeCSRCost()
2137 CSRCost = CSRCost.getFrequency() * (ActualEntry / FixedEntry); in initializeCSRCost()
2237 LLVM_DEBUG(dbgs() << "Old Cost: " << OldCopiesCost.getFrequency() in tryHintRecoloring()
2238 << "\nNew Cost: " << NewCopiesCost.getFrequency() in tryHintRecoloring()
2323 if (CSRCost.getFrequency() && in selectOrSplitImpl()
DMachineLICM.cpp1508 uint64_t SrcBF = MBFI->getBlockFreq(SrcBlock).getFrequency(); in isTgtHotterThanSrc()
1509 uint64_t DstBF = MBFI->getBlockFreq(TgtBlock).getFrequency(); in isTgtHotterThanSrc()
/openbsd/src/gnu/llvm/llvm/lib/Transforms/Utils/
DBreakCriticalEdges.cpp390 BFI->setBlockFreq(BodyBlock, BFI->getBlockFreq(Target).getFrequency()); in SplitIndirectBrCriticalEdges()
414 BFI->setBlockFreq(DirectSucc, BlockFreqForDirectSucc.getFrequency()); in SplitIndirectBrCriticalEdges()
417 BFI->setBlockFreq(Target, NewBlockFreqForTarget.getFrequency()); in SplitIndirectBrCriticalEdges()
DInlineFunction.cpp1836 uint64_t Freq = CalleeBFI->getBlockFreq(OrigBB).getFrequency(); in updateCallerBFI()
1841 uint64_t NewFreq = CallerBFI->getBlockFreq(ClonedBB).getFrequency(); in updateCallerBFI()
1849 EntryClone, CallerBFI->getBlockFreq(CallSiteBlock).getFrequency(), in updateCallerBFI()
2785 AfterCallBB, IFI.CallerBFI->getBlockFreq(OrigBB).getFrequency()); in InlineFunction()
/openbsd/src/gnu/llvm/llvm/lib/Analysis/
DHeatUtils.cpp56 uint64_t freqVal = BFI->getBlockFreq(&BB).getFrequency(); in getMaxFreq()
DBlockFrequencyInfo.cpp239 APInt OldFreq(128, BFI->getBlockFreq(ReferenceBB).getFrequency()); in setBlockFreqAndScale()
242 BBFreq = BFI->getBlockFreq(BB).getFrequency(); in setBlockFreqAndScale()
DCFGPrinter.cpp321 uint64_t NodeFreq = BFI->getBlockFreq(Node).getFrequency(); in isNodeHidden()
DBlockFrequencyInfoImpl.cpp592 return getProfileCountFromFreq(F, getBlockFreq(Node).getFrequency(), in getBlockProfileCount()
654 Scaled64 Block(Freq.getFrequency(), 0); in printBlockFreq()
/openbsd/src/gnu/llvm/llvm/include/llvm/Support/
DBlockFrequency.h34 uint64_t getFrequency() const { return Frequency; } in getFrequency() function
/openbsd/src/gnu/llvm/llvm/lib/CodeGen/GlobalISel/
DRegBankSelect.cpp922 return MBFI->getBlockFreq(Instr.getParent()).getFrequency(); in frequency()
930 return MBFI->getBlockFreq(&MBB).getFrequency(); in frequency()
952 return MBFI->getBlockFreq(DstOrSplit).getFrequency(); in frequency()
960 .getFrequency(); in frequency()
973 : LocalFreq(LocalFreq.getFrequency()) {} in MappingCost()
/openbsd/src/gnu/llvm/llvm/include/llvm/CodeGen/
DMachineBlockFrequencyInfo.h69 return getBlockFreq(MBB).getFrequency() * (1.0f / getEntryFreq()); in getBlockFreqRelativeToEntryBlock()
/openbsd/src/gnu/llvm/llvm/lib/ExecutionEngine/Orc/
DSpeculateAnalyses.cpp105 BBFreqs.push_back({I, BFI.getBlockFreq(I).getFrequency()}); in operator ()()
249 BBFreqs.push_back({I, BFI.getBlockFreq(I).getFrequency()}); in queryCFG()
/openbsd/src/gnu/llvm/llvm/lib/Transforms/IPO/
DPartialInlining.cpp735 if (OutliningCallFreq.getFrequency() > EntryFreq.getFrequency()) in getOutliningCallBBRelativeFreq()
739 OutliningCallFreq.getFrequency(), EntryFreq.getFrequency()); in getOutliningCallBBRelativeFreq()
827 << NV("Overhead", (unsigned)WeightedOutliningRcost.getFrequency()) in shouldPartialInline()
829 << NV("Savings", (unsigned)NormWeightedSavings.getFrequency()) in shouldPartialInline()
DSyntheticCountsPropagation.cpp115 Scaled64 BBCount(BFI.getBlockFreq(CSBB).getFrequency(), 0); in run()
/openbsd/src/gnu/llvm/llvm/lib/Transforms/Instrumentation/
DCFGMST.h128 (BFI != nullptr ? BFI->getBlockFreq(&BB).getFrequency() : 2); in buildEdges()
DPGOMemOPSizeOpt.cpp381 BFI.setBlockFreq(MergeBB, OrigBBFreq.getFrequency()); in perform()
/openbsd/src/gnu/llvm/llvm/include/llvm/Analysis/
DCFGPrinter.h85 return BFI->getBlockFreq(BB).getFrequency(); in getFreq()
DBlockFrequencyInfoImpl.h1731 << ", int = " << getBlockFreq(&BB).getFrequency();
1836 std::max(MaxFrequency, Graph->getBlockFreq(N).getFrequency());
1867 OS << Graph->getBlockFreq(Node).getFrequency();
/openbsd/src/gnu/llvm/llvm/lib/Transforms/Scalar/
DJumpThreading.cpp2313 BFI->setBlockFreq(NewBB, NewBBFreq.getFrequency()); in threadThroughTwoBasicBlocks()
2433 BFI->setBlockFreq(NewBB, NewBBFreq.getFrequency()); in threadEdge()
2515 BFI->setBlockFreq(NewBB, NewBBFreq.getFrequency()); in splitBlockPreds()
2546 BFI->setBlockFreq(BB, BBNewFreq.getFrequency()); in updateBlockFreqAndEdgeWeight()
2555 BBSuccFreq.push_back(SuccFreq.getFrequency()); in updateBlockFreqAndEdgeWeight()
2795 BFI->setBlockFreq(NewBB, NewBBFreq.getFrequency()); in unfoldSelectInstr()

12