| /openbsd-src/gnu/llvm/llvm/lib/Transforms/Scalar/ |
| H A D | LoopSink.cpp | 84 T += BFI.getBlockFreq(B); in adjustedSumFreq() 144 BFI.getBlockFreq(ColdestBB)) { in findBBsToSinkInto() 163 BFI.getBlockFreq(L.getLoopPreheader())) in findBBsToSinkInto() 276 const BlockFrequency PreheaderFreq = BFI.getBlockFreq(Preheader); in sinkLoopInvariantInstructions() 281 return BFI.getBlockFreq(BB) > PreheaderFreq; in sinkLoopInvariantInstructions() 295 if (BFI.getBlockFreq(B) < BFI.getBlockFreq(L.getLoopPreheader())) { in sinkLoopInvariantInstructions() 300 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() 302 (InsertPtsFreq > BFI.getBlockFreq(Node) || in findBestInsertionSet() 303 (InsertPtsFreq == BFI.getBlockFreq(Node) && InsertPts.size() > 1)))) { in findBestInsertionSet() 305 ParentPtsFreq += BFI.getBlockFreq(Node); in findBestInsertionSet()
|
| H A D | JumpThreading.cpp | 2311 auto NewBBFreq = BFI->getBlockFreq(PredPredBB) * in threadThroughTwoBasicBlocks() 2432 BFI->getBlockFreq(PredBB) * BPI->getEdgeProbability(PredBB, BB); in threadEdge() 2492 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() 2794 BFI->getBlockFreq(Pred) * BPI->getEdgeProbability(Pred, NewBB); in unfoldSelectInstr()
|
| /openbsd-src/gnu/llvm/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() 48 return MBFI.printBlockFreq(OS, getBlockFreq(MBB)); in printBlockFreq()
|
| H A D | MachineBlockPlacement.cpp | 452 return MBFI->getBlockFreq(BB); in getBlockCountOrFrequency() 843 auto BBFreq = MBFI->getBlockFreq(BB); in isProfitableToTailDup() 844 auto SuccFreq = MBFI->getBlockFreq(Succ); in isProfitableToTailDup() 873 auto Freq = MBFI->getBlockFreq(SuccPred) in isProfitableToTailDup() 1086 BlockFrequency EdgeFreq = MBFI->getBlockFreq(SuccPred) * in getBestTrellisSuccessor() 1538 BlockFrequency CandidateEdgeFreq = MBFI->getBlockFreq(BB) * RealSuccProb; in hasBetterLayoutPredecessor() 1565 MBFI->getBlockFreq(Pred) * MBPI->getEdgeProbability(Pred, Succ); in hasBetterLayoutPredecessor() 1732 BlockFrequency CandidateFreq = MBFI->getBlockFreq(MBB); in selectBestCandidateBlock() 1952 BlockFrequency EdgeFreq = MBFI->getBlockFreq(Pred) * in TopFallThroughFreq() 1992 FallThrough2Exit = MBFI->getBlockFreq(NewTop) * in FallThroughGains() [all …]
|
| H A D | ShrinkWrap.cpp | 547 << 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()
|
| H A D | MachineBlockFrequencyInfo.cpp | 230 MachineBlockFrequencyInfo::getBlockFreq(const MachineBasicBlock *MBB) const { in getBlockFreq() function in MachineBlockFrequencyInfo 231 return MBFI ? MBFI->getBlockFreq(MBB) : 0; in getBlockFreq() 263 auto NewSuccFreq = MBFI->getBlockFreq(&NewPredecessor) * in onEdgeSplit()
|
| H A D | MachineCSE.cpp | 932 return MBFI->getBlockFreq(CandidateBB) <= in isProfitableToHoistInto() 933 MBFI->getBlockFreq(MBB) + MBFI->getBlockFreq(MBB1); in isProfitableToHoistInto()
|
| H A D | MachineSizeOpts.cpp | 207 BlockFrequency BlockFreq = MBFIW->getBlockFreq(MBB); in shouldOptimizeForSize()
|
| H A D | SelectOptimize.cpp | 427 BFI->setBlockFreq(EndBlock, BFI->getBlockFreq(StartBlock).getFrequency()); in convertProfitableSIGroups() 787 if (BFI->getBlockFreq(II->getParent()) < BFI->getBlockFreq(I->getParent())) in getExclBackwardsSlice()
|
| H A D | SpillPlacement.cpp | 209 BlockFrequencies[Num] = MBFI->getBlockFreq(&I); in runOnMachineFunction()
|
| /openbsd-src/gnu/llvm/llvm/include/llvm/CodeGen/ |
| H A D | MachineBlockFrequencyInfo.h | 64 BlockFrequency getBlockFreq(const MachineBasicBlock *MBB) const; 69 return getBlockFreq(MBB).getFrequency() * (1.0f / getEntryFreq()); in getBlockFreqRelativeToEntryBlock()
|
| H A D | MBFIWrapper.h | 31 BlockFrequency getBlockFreq(const MachineBasicBlock *MBB) const;
|
| /openbsd-src/gnu/llvm/llvm/lib/Analysis/ |
| H A D | BlockFrequencyInfo.cpp | 203 BlockFrequency BlockFrequencyInfo::getBlockFreq(const BasicBlock *BB) const { in getBlockFreq() function in BlockFrequencyInfo 204 return BFI ? BFI->getBlockFreq(BB) : 0; in getBlockFreq() 239 APInt OldFreq(128, BFI->getBlockFreq(ReferenceBB).getFrequency()); in setBlockFreqAndScale() 242 BBFreq = BFI->getBlockFreq(BB).getFrequency(); in setBlockFreqAndScale()
|
| H A D | HeatUtils.cpp | 56 uint64_t freqVal = BFI->getBlockFreq(&BB).getFrequency(); in getMaxFreq()
|
| H A D | CFGPrinter.cpp | 321 uint64_t NodeFreq = BFI->getBlockFreq(Node).getFrequency(); in isNodeHidden()
|
| H A D | BlockFrequencyInfoImpl.cpp | 573 BlockFrequencyInfoImplBase::getBlockFreq(const BlockNode &Node) const { in getBlockFreq() function in BlockFrequencyInfoImplBase 592 return getProfileCountFromFreq(F, getBlockFreq(Node).getFrequency(), in getBlockProfileCount()
|
| /openbsd-src/gnu/llvm/llvm/lib/Transforms/Utils/ |
| H A D | BreakCriticalEdges.cpp | 390 BFI->setBlockFreq(BodyBlock, BFI->getBlockFreq(Target).getFrequency()); in SplitIndirectBrCriticalEdges() 410 BlockFreqForDirectSucc += BFI->getBlockFreq(Src) * in SplitIndirectBrCriticalEdges() 416 BFI->getBlockFreq(Target) - BlockFreqForDirectSucc; in SplitIndirectBrCriticalEdges()
|
| /openbsd-src/gnu/llvm/llvm/lib/CodeGen/GlobalISel/ |
| H A D | RegBankSelect.cpp | 450 MappingCost Cost(MBFI ? MBFI->getBlockFreq(MI.getParent()) : 1); in computeMapping() 922 return MBFI->getBlockFreq(Instr.getParent()).getFrequency(); in frequency() 930 return MBFI->getBlockFreq(&MBB).getFrequency(); in frequency() 952 return MBFI->getBlockFreq(DstOrSplit).getFrequency(); in frequency() 959 return (MBFI->getBlockFreq(&Src) * MBPI->getEdgeProbability(&Src, DstOrSplit)) in frequency()
|
| /openbsd-src/gnu/llvm/llvm/include/llvm/Analysis/ |
| H A D | BlockFrequencyInfoImpl.h | 524 BlockFrequency getBlockFreq(const BlockNode &Node) const; 1019 BlockFrequency getBlockFreq(const BlockT *BB) const { 1020 return BlockFrequencyInfoImplBase::getBlockFreq(getNode(BB)); 1731 << ", int = " << getBlockFreq(&BB).getFrequency(); 1836 std::max(MaxFrequency, Graph->getBlockFreq(N).getFrequency()); 1839 BlockFrequency Freq = Graph->getBlockFreq(Node); 1867 OS << Graph->getBlockFreq(Node).getFrequency(); 1900 BlockFrequency EFreq = BFI->getBlockFreq(Node) * BP;
|
| H A D | BlockFrequencyInfo.h | 65 BlockFrequency getBlockFreq(const BasicBlock *BB) const;
|
| H A D | CFGPrinter.h | 85 return BFI->getBlockFreq(BB).getFrequency(); in getFreq()
|
| /openbsd-src/gnu/llvm/llvm/lib/ExecutionEngine/Orc/ |
| H A D | SpeculateAnalyses.cpp | 105 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/ |
| H A D | SyntheticCountsPropagation.cpp | 115 Scaled64 BBCount(BFI.getBlockFreq(CSBB).getFrequency(), 0); in run()
|
| /openbsd-src/gnu/llvm/llvm/lib/Transforms/Instrumentation/ |
| H A D | CFGMST.h | 128 (BFI != nullptr ? BFI->getBlockFreq(&BB).getFrequency() : 2); in buildEdges()
|