| /freebsd-14.2/contrib/llvm-project/llvm/lib/Transforms/Scalar/ |
| H A D | LoopSink.cpp | 82 T += BFI.getBlockFreq(B); in adjustedSumFreq() 142 BFI.getBlockFreq(ColdestBB)) { in findBBsToSinkInto() 161 BFI.getBlockFreq(L.getLoopPreheader())) in findBBsToSinkInto() 292 const BlockFrequency PreheaderFreq = BFI.getBlockFreq(Preheader); in sinkLoopInvariantInstructions() 297 return BFI.getBlockFreq(BB) > PreheaderFreq; in sinkLoopInvariantInstructions() 311 if (BFI.getBlockFreq(B) < BFI.getBlockFreq(L.getLoopPreheader())) { in sinkLoopInvariantInstructions() 316 return BFI.getBlockFreq(A) < BFI.getBlockFreq(B); in sinkLoopInvariantInstructions()
|
| H A D | ConstantHoisting.cpp | 284 if (InsertPtsFreq > BFI.getBlockFreq(Node) || in findBestInsertionSet() 285 (InsertPtsFreq == BFI.getBlockFreq(Node) && InsertPts.size() > 1)) in findBestInsertionSet() 305 (InsertPtsFreq > BFI.getBlockFreq(Node) || in findBestInsertionSet() 306 (InsertPtsFreq == BFI.getBlockFreq(Node) && InsertPts.size() > 1)))) { in findBestInsertionSet() 308 ParentPtsFreq += BFI.getBlockFreq(Node); in findBestInsertionSet()
|
| H A D | JumpThreading.cpp | 2293 auto NewBBFreq = BFI->getBlockFreq(PredPredBB) * in threadThroughTwoBasicBlocks() 2420 BFI->getBlockFreq(PredBB) * BPI->getEdgeProbability(PredBB, BB); in threadEdge() 2482 Pred, BFI->getBlockFreq(Pred) * BPI->getEdgeProbability(Pred, BB))); in splitBlockPreds() 2542 auto BBOrigFreq = BFI->getBlockFreq(BB); in updateBlockFreqAndEdgeWeight() 2543 auto NewBBFreq = BFI->getBlockFreq(NewBB); in updateBlockFreqAndEdgeWeight() 2806 auto NewBBFreq = BFI->getBlockFreq(Pred) * PredToNewBBProb; in unfoldSelectInstr()
|
| /freebsd-14.2/contrib/llvm-project/llvm/lib/CodeGen/ |
| H A D | MBFIWrapper.cpp | 20 BlockFrequency MBFIWrapper::getBlockFreq(const MachineBasicBlock *MBB) const { in getBlockFreq() function in MBFIWrapper 26 return MBFI.getBlockFreq(MBB); in getBlockFreq()
|
| H A D | MachineBlockPlacement.cpp | 451 return MBFI->getBlockFreq(BB); in getBlockCountOrFrequency() 842 auto BBFreq = MBFI->getBlockFreq(BB); in isProfitableToTailDup() 843 auto SuccFreq = MBFI->getBlockFreq(Succ); in isProfitableToTailDup() 872 auto Freq = MBFI->getBlockFreq(SuccPred) in isProfitableToTailDup() 1992 FallThrough2Exit = MBFI->getBlockFreq(NewTop) * in FallThroughGains() 2451 auto EdgeFreq = MBFI->getBlockFreq(Pred) * in rotateLoopWithProfile() 2526 auto TailBBFreq = MBFI->getBlockFreq(TailBB); in rotateLoopWithProfile() 2578 LoopFreq += MBFI->getBlockFreq(LoopPred) * in collectLoopBlockSet() 2950 BlockFrequency Freq = MBFI->getBlockFreq(ChainBB); in alignBlocks() 3242 return MBFI->getBlockFreq(A) > MBFI->getBlockFreq(B); in findDuplicateCandidates() [all …]
|
| H A D | MachineBlockFrequencyInfo.cpp | 229 MachineBlockFrequencyInfo::getBlockFreq(const MachineBasicBlock *MBB) const { in getBlockFreq() function in MachineBlockFrequencyInfo 230 return MBFI ? MBFI->getBlockFreq(MBB) : BlockFrequency(0); in getBlockFreq() 262 auto NewSuccFreq = MBFI->getBlockFreq(&NewPredecessor) * in onEdgeSplit() 289 return printBlockFreq(MBFI, MBFI.getBlockFreq(&MBB)); in printBlockFreq()
|
| H A D | ShrinkWrap.cpp | 643 EntryFreq < MBFI->getBlockFreq(NewSave) || in postShrinkWrapping() 678 assert((EntryFreq >= MBFI->getBlockFreq(Save) && in postShrinkWrapping() 679 EntryFreq >= MBFI->getBlockFreq(Restore)) && in postShrinkWrapping() 894 if (((IsSaveCheap = EntryFreq >= MBFI->getBlockFreq(Save)) && in performShrinkWrapping() 895 EntryFreq >= MBFI->getBlockFreq(Restore)) && in performShrinkWrapping()
|
| H A D | MachineSizeOpts.cpp | 49 BlockFrequency BlockFreq = MBFIW->getBlockFreq(MBB); in shouldOptimizeForSize()
|
| H A D | MachineCSE.cpp | 934 return MBFI->getBlockFreq(CandidateBB) <= in isProfitableToHoistInto() 935 MBFI->getBlockFreq(MBB) + MBFI->getBlockFreq(MBB1); in isProfitableToHoistInto()
|
| H A D | SpillPlacement.cpp | 207 BlockFrequencies[Num] = MBFI->getBlockFreq(&I); in runOnMachineFunction()
|
| H A D | SelectOptimize.cpp | 625 BFI->setBlockFreq(EndBlock, BFI->getBlockFreq(StartBlock)); in convertProfitableSIGroups() 1014 if (BFI->getBlockFreq(II->getParent()) < BFI->getBlockFreq(I->getParent())) in getExclBackwardsSlice()
|
| /freebsd-14.2/contrib/llvm-project/llvm/lib/Analysis/ |
| H A D | BlockFrequencyInfo.cpp | 201 BlockFrequency BlockFrequencyInfo::getBlockFreq(const BasicBlock *BB) const { in getBlockFreq() function in BlockFrequencyInfo 202 return BFI ? BFI->getBlockFreq(BB) : BlockFrequency(0); in getBlockFreq() 238 APInt OldFreq(128, BFI->getBlockFreq(ReferenceBB).getFrequency()); in setBlockFreqAndScale() 241 BBFreq = BFI->getBlockFreq(BB).getFrequency(); in setBlockFreqAndScale() 293 return printBlockFreq(BFI, BFI.getBlockFreq(&BB)); in printBlockFreq()
|
| H A D | HeatUtils.cpp | 56 uint64_t freqVal = BFI->getBlockFreq(&BB).getFrequency(); in getMaxFreq()
|
| H A D | CFGPrinter.cpp | 187 BlockFrequency NodeFreq = BFI->getBlockFreq(Node); in isNodeHidden()
|
| H A D | BlockFrequencyInfoImpl.cpp | 568 BlockFrequencyInfoImplBase::getBlockFreq(const BlockNode &Node) const { in getBlockFreq() function in BlockFrequencyInfoImplBase 587 return getProfileCountFromFreq(F, getBlockFreq(Node), AllowSynthetic); in getBlockProfileCount()
|
| /freebsd-14.2/contrib/llvm-project/llvm/include/llvm/CodeGen/ |
| H A D | MachineBlockFrequencyInfo.h | 64 BlockFrequency getBlockFreq(const MachineBasicBlock *MBB) const; 71 return static_cast<double>(getBlockFreq(MBB).getFrequency()) / in getBlockFreqRelativeToEntryBlock()
|
| H A D | MBFIWrapper.h | 30 BlockFrequency getBlockFreq(const MachineBasicBlock *MBB) const;
|
| /freebsd-14.2/contrib/llvm-project/llvm/lib/Transforms/Utils/ |
| H A D | BreakCriticalEdges.cpp | 390 BFI->setBlockFreq(BodyBlock, BFI->getBlockFreq(Target)); in SplitIndirectBrCriticalEdges() 410 BlockFreqForDirectSucc += BFI->getBlockFreq(Src) * in SplitIndirectBrCriticalEdges() 416 BFI->getBlockFreq(Target) - BlockFreqForDirectSucc; in SplitIndirectBrCriticalEdges()
|
| /freebsd-14.2/contrib/llvm-project/llvm/lib/CodeGen/GlobalISel/ |
| H A D | RegBankSelect.cpp | 452 MappingCost Cost(MBFI ? MBFI->getBlockFreq(MI.getParent()) in computeMapping() 925 return MBFI->getBlockFreq(Instr.getParent()).getFrequency(); in frequency() 933 return MBFI->getBlockFreq(&MBB).getFrequency(); in frequency() 955 return MBFI->getBlockFreq(DstOrSplit).getFrequency(); in frequency() 962 return (MBFI->getBlockFreq(&Src) * MBPI->getEdgeProbability(&Src, DstOrSplit)) in frequency()
|
| /freebsd-14.2/contrib/llvm-project/llvm/include/llvm/Analysis/ |
| H A D | BlockFrequencyInfoImpl.h | 525 BlockFrequency getBlockFreq(const BlockNode &Node) const; 1019 BlockFrequency getBlockFreq(const BlockT *BB) const { 1020 return BlockFrequencyInfoImplBase::getBlockFreq(getNode(BB)); 1726 << ", int = " << getBlockFreq(&BB).getFrequency(); 1831 std::max(MaxFrequency, Graph->getBlockFreq(N).getFrequency()); 1834 BlockFrequency Freq = Graph->getBlockFreq(Node); 1862 OS << Graph->getBlockFreq(Node).getFrequency(); 1895 BlockFrequency EFreq = BFI->getBlockFreq(Node) * BP;
|
| H A D | BlockFrequencyInfo.h | 66 BlockFrequency getBlockFreq(const BasicBlock *BB) const;
|
| H A D | CFGPrinter.h | 89 return BFI->getBlockFreq(BB).getFrequency(); in getFreq()
|
| /freebsd-14.2/contrib/llvm-project/llvm/lib/ExecutionEngine/Orc/ |
| H A D | SpeculateAnalyses.cpp | 104 BBFreqs.push_back({I, BFI.getBlockFreq(I).getFrequency()}); in operator ()() 248 BBFreqs.push_back({I, BFI.getBlockFreq(I).getFrequency()}); in queryCFG()
|
| /freebsd-14.2/contrib/llvm-project/llvm/lib/Transforms/IPO/ |
| H A D | SyntheticCountsPropagation.cpp | 115 Scaled64 BBCount(BFI.getBlockFreq(CSBB).getFrequency(), 0); in run()
|
| /freebsd-14.2/contrib/llvm-project/llvm/include/llvm/Transforms/Instrumentation/ |
| H A D | CFGMST.h | 142 (BFI != nullptr ? BFI->getBlockFreq(&BB).getFrequency() : 2); in buildEdges()
|