| /freebsd/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() 162 if (adjustedSumFreq(BBsToSinkInto, BFI) <= BFI.getBlockFreq(ColdestBB)) in findBBsToSinkInto() 177 BFI.getBlockFreq(L.getLoopPreheader())) in findBBsToSinkInto() 308 const BlockFrequency PreheaderFreq = BFI.getBlockFreq(Preheader); in sinkLoopInvariantInstructions() 313 return BFI.getBlockFreq(BB) > PreheaderFreq; in sinkLoopInvariantInstructions() 327 if (BFI.getBlockFreq(B) < BFI.getBlockFreq(L.getLoopPreheader())) { in sinkLoopInvariantInstructions() 332 return BFI.getBlockFreq(A) < BFI.getBlockFreq(B); in sinkLoopInvariantInstructions()
|
| H A D | ConstantHoisting.cpp | 281 if (InsertPtsFreq > BFI.getBlockFreq(Node) || in findBestInsertionSet() 282 (InsertPtsFreq == BFI.getBlockFreq(Node) && InsertPts.size() > 1)) in findBestInsertionSet() 301 (InsertPtsFreq > BFI.getBlockFreq(Node) || in findBestInsertionSet() 302 (InsertPtsFreq == BFI.getBlockFreq(Node) && InsertPts.size() > 1)))) { in findBestInsertionSet() 304 ParentPtsFreq += BFI.getBlockFreq(Node); in findBestInsertionSet()
|
| H A D | TailRecursionElimination.cpp | 445 BFI ? BFI->getBlockFreq(&F.getEntryBlock()).getFrequency() : 0U), in TailRecursionEliminator() 767 static_cast<double>(BFI->getBlockFreq(BB).getFrequency()) / in eliminateCall()
|
| /freebsd/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 | 476 return MBFI->getBlockFreq(BB); in getBlockCountOrFrequency() 903 auto BBFreq = MBFI->getBlockFreq(BB); in isProfitableToTailDup() 904 auto SuccFreq = MBFI->getBlockFreq(Succ); in isProfitableToTailDup() 934 MBFI->getBlockFreq(SuccPred) * MBPI->getEdgeProbability(SuccPred, Succ); in isProfitableToTailDup() 1153 BlockFrequency EdgeFreq = MBFI->getBlockFreq(SuccPred) * in getBestTrellisSuccessor() 1608 BlockFrequency CandidateEdgeFreq = MBFI->getBlockFreq(BB) * RealSuccProb; in hasBetterLayoutPredecessor() 1635 MBFI->getBlockFreq(Pred) * MBPI->getEdgeProbability(Pred, Succ); in hasBetterLayoutPredecessor() 1802 BlockFrequency CandidateFreq = MBFI->getBlockFreq(MBB); in selectBestCandidateBlock() 2049 MBFI->getBlockFreq(Pred) * MBPI->getEdgeProbability(Pred, Top); in TopFallThroughFreq() 2086 MBFI->getBlockFreq(NewTop) * MBPI->getEdgeProbability(NewTop, ExitBB); in FallThroughGains() [all …]
|
| H A D | MachineBlockFrequencyInfo.cpp | 268 MachineBlockFrequencyInfo::getBlockFreq(const MachineBasicBlock *MBB) const { in getBlockFreq() function in MachineBlockFrequencyInfo 269 return MBFI ? MBFI->getBlockFreq(MBB) : BlockFrequency(0); in getBlockFreq() 301 auto NewSuccFreq = MBFI->getBlockFreq(&NewPredecessor) * in onEdgeSplit() 328 return printBlockFreq(MBFI, MBFI.getBlockFreq(&MBB)); in printBlockFreq()
|
| H A D | ShrinkWrap.cpp | 648 EntryFreq < MBFI->getBlockFreq(NewSave) || in postShrinkWrapping() 683 assert((EntryFreq >= MBFI->getBlockFreq(Save) && in postShrinkWrapping() 684 EntryFreq >= MBFI->getBlockFreq(Restore)) && in postShrinkWrapping() 899 if (((IsSaveCheap = EntryFreq >= MBFI->getBlockFreq(Save)) && in performShrinkWrapping() 900 EntryFreq >= MBFI->getBlockFreq(Restore)) && in performShrinkWrapping()
|
| H A D | MachineSizeOpts.cpp | 55 BlockFrequency BlockFreq = MBFIW->getBlockFreq(MBB); in shouldOptimizeForSize()
|
| H A D | MachineCSE.cpp | 928 return MBFI->getBlockFreq(CandidateBB) <= in isProfitableToHoistInto() 929 MBFI->getBlockFreq(MBB) + MBFI->getBlockFreq(MBB1); in isProfitableToHoistInto()
|
| H A D | SpillPlacement.cpp | 248 BlockFrequencies[Num] = MBFI->getBlockFreq(&I); in run()
|
| H A D | SelectOptimize.cpp | 620 BFI->setBlockFreq(EndBlock, BFI->getBlockFreq(StartBlock)); in convertProfitableSIGroups() 1183 if (BFI->getBlockFreq(II->getParent()) < BFI->getBlockFreq(I->getParent())) in getExclBackwardsSlice()
|
| /freebsd/contrib/llvm-project/llvm/lib/Analysis/ |
| H A D | BlockFrequencyInfo.cpp | 200 BlockFrequency BlockFrequencyInfo::getBlockFreq(const BasicBlock *BB) const { in getBlockFreq() function in BlockFrequencyInfo 201 return BFI ? BFI->getBlockFreq(BB) : BlockFrequency(0); in getBlockFreq() 237 APInt OldFreq(128, BFI->getBlockFreq(ReferenceBB).getFrequency()); in setBlockFreqAndScale() 240 BBFreq = BFI->getBlockFreq(BB).getFrequency(); in setBlockFreqAndScale() 292 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 | 214 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/contrib/llvm-project/llvm/include/llvm/CodeGen/ |
| H A D | MachineBlockFrequencyInfo.h | 67 LLVM_ABI BlockFrequency getBlockFreq(const MachineBasicBlock *MBB) const; 74 return static_cast<double>(getBlockFreq(MBB).getFrequency()) / in getBlockFreqRelativeToEntryBlock()
|
| H A D | MBFIWrapper.h | 30 BlockFrequency getBlockFreq(const MachineBasicBlock *MBB) const;
|
| /freebsd/contrib/llvm-project/llvm/lib/Transforms/Utils/ |
| H A D | BreakCriticalEdges.cpp | 396 BFI->setBlockFreq(BodyBlock, BFI->getBlockFreq(Target)); in SplitIndirectBrCriticalEdges() 419 BlockFreqForDirectSucc += BFI->getBlockFreq(Src) * in SplitIndirectBrCriticalEdges() 425 BFI->getBlockFreq(Target) - BlockFreqForDirectSucc; in SplitIndirectBrCriticalEdges()
|
| /freebsd/contrib/llvm-project/llvm/lib/CodeGen/GlobalISel/ |
| H A D | RegBankSelect.cpp | 453 MappingCost Cost(MBFI ? MBFI->getBlockFreq(MI.getParent()) in computeMapping() 925 return MBFIWrapper->getMBFI().getBlockFreq(Instr.getParent()).getFrequency(); in frequency() 933 return MBFIWrapper->getMBFI().getBlockFreq(&MBB).getFrequency(); in frequency() 956 return MBFI->getBlockFreq(DstOrSplit).getFrequency(); in frequency() 965 return (MBFI->getBlockFreq(&Src) * MBPI->getEdgeProbability(&Src, DstOrSplit)) in frequency()
|
| /freebsd/contrib/llvm-project/llvm/include/llvm/Analysis/ |
| H A D | BlockFrequencyInfoImpl.h | 522 BlockFrequency getBlockFreq(const BlockNode &Node) const; 1010 BlockFrequency getBlockFreq(const BlockT *BB) const { 1011 return BlockFrequencyInfoImplBase::getBlockFreq(getNode(BB)); 1698 << ", int = " << getBlockFreq(&BB).getFrequency(); 1803 std::max(MaxFrequency, Graph->getBlockFreq(N).getFrequency()); 1806 BlockFrequency Freq = Graph->getBlockFreq(Node); 1834 OS << Graph->getBlockFreq(Node).getFrequency(); 1867 BlockFrequency EFreq = BFI->getBlockFreq(Node) * BP;
|
| H A D | BlockFrequencyInfo.h | 67 LLVM_ABI BlockFrequency getBlockFreq(const BasicBlock *BB) const;
|
| H A D | CFGPrinter.h | 91 return BFI->getBlockFreq(BB).getFrequency(); in getFreq()
|
| /freebsd/contrib/llvm-project/llvm/lib/ExecutionEngine/Orc/ |
| H A D | SpeculateAnalyses.cpp | 102 BBFreqs.push_back({I, BFI.getBlockFreq(I).getFrequency()}); in operator ()() 246 BBFreqs.push_back({I, BFI.getBlockFreq(I).getFrequency()}); in queryCFG()
|
| /freebsd/contrib/llvm-project/llvm/lib/Target/Hexagon/ |
| H A D | HexagonLoopAlign.cpp | 149 BlockFrequency BlockFreq = MBFI->getBlockFreq(&MBB); in attemptToBalignSmallLoop()
|
| /freebsd/contrib/llvm-project/llvm/include/llvm/Transforms/Instrumentation/ |
| H A D | CFGMST.h | 147 (BFI != nullptr ? BFI->getBlockFreq(&BB).getFrequency() : 2); in buildEdges()
|