| /freebsd-12.1/contrib/llvm/lib/Transforms/Scalar/ |
| H A D | LoopSink.cpp | 87 T += BFI.getBlockFreq(B); in adjustedSumFreq() 147 BFI.getBlockFreq(ColdestBB)) { in findBBsToSinkInto() 166 BFI.getBlockFreq(L.getLoopPreheader())) in findBBsToSinkInto() 268 const BlockFrequency PreheaderFreq = BFI.getBlockFreq(Preheader); in sinkLoopInvariantInstructions() 273 return BFI.getBlockFreq(BB) > PreheaderFreq; in sinkLoopInvariantInstructions() 290 if (BFI.getBlockFreq(B) < BFI.getBlockFreq(L.getLoopPreheader())) { in sinkLoopInvariantInstructions() 296 return BFI.getBlockFreq(A) < BFI.getBlockFreq(B); in sinkLoopInvariantInstructions()
|
| H A D | ConstantHoisting.cpp | 270 if (InsertPtsFreq > BFI.getBlockFreq(Node) || in findBestInsertionSet() 271 (InsertPtsFreq == BFI.getBlockFreq(Node) && InsertPts.size() > 1)) in findBestInsertionSet() 291 (InsertPtsFreq > BFI.getBlockFreq(Node) || in findBestInsertionSet() 292 (InsertPtsFreq == BFI.getBlockFreq(Node) && InsertPts.size() > 1)))) { in findBestInsertionSet() 294 ParentPtsFreq += BFI.getBlockFreq(Node); in findBestInsertionSet()
|
| H A D | JumpThreading.cpp | 1974 BFI->getBlockFreq(PredBB) * BPI->getEdgeProbability(PredBB, BB); in ThreadEdge() 2089 Pred, BFI->getBlockFreq(Pred) * BPI->getEdgeProbability(Pred, BB))); in SplitBlockPreds() 2150 auto BBOrigFreq = BFI->getBlockFreq(BB); in UpdateBlockFreqAndEdgeWeight() 2151 auto NewBBFreq = BFI->getBlockFreq(NewBB); in UpdateBlockFreqAndEdgeWeight()
|
| /freebsd-12.1/contrib/llvm/lib/Analysis/ |
| H A D | BlockFrequencyInfo.cpp | 202 BlockFrequency BlockFrequencyInfo::getBlockFreq(const BasicBlock *BB) const { in getBlockFreq() function in BlockFrequencyInfo 203 return BFI ? BFI->getBlockFreq(BB) : 0; in getBlockFreq() 237 APInt OldFreq(128, BFI->getBlockFreq(ReferenceBB).getFrequency()); in setBlockFreqAndScale() 240 BBFreq = BFI->getBlockFreq(BB).getFrequency(); in setBlockFreqAndScale()
|
| H A D | BlockFrequencyInfoImpl.cpp | 553 BlockFrequencyInfoImplBase::getBlockFreq(const BlockNode &Node) const { in getBlockFreq() function in BlockFrequencyInfoImplBase 562 return getProfileCountFromFreq(F, getBlockFreq(Node).getFrequency()); in getBlockProfileCount()
|
| H A D | InlineCost.cpp | 814 auto CallSiteFreq = CallerBFI->getBlockFreq(CallSiteBB); in isColdCallSite() 816 CallerBFI->getBlockFreq(&(CS.getCaller()->getEntryBlock())); in isColdCallSite() 839 auto CallSiteFreq = CallerBFI->getBlockFreq(CallSiteBB).getFrequency(); in getHotCallSiteThreshold()
|
| /freebsd-12.1/contrib/llvm/lib/CodeGen/ |
| H A D | MachineBlockPlacement.cpp | 756 auto BBFreq = MBFI->getBlockFreq(BB); in isProfitableToTailDup() 757 auto SuccFreq = MBFI->getBlockFreq(Succ); in isProfitableToTailDup() 786 auto Freq = MBFI->getBlockFreq(SuccPred) in isProfitableToTailDup() 999 BlockFrequency EdgeFreq = MBFI->getBlockFreq(SuccPred) * in getBestTrellisSuccessor() 1601 BlockFrequency CandidateFreq = MBFI->getBlockFreq(MBB); in selectBestCandidateBlock() 1804 BlockFrequency PredFreq = MBFI->getBlockFreq(Pred); in findBestLoopTop() 2144 auto TailBBFreq = MBFI->getBlockFreq(TailBB); in rotateLoopWithProfile() 2197 LoopFreq += MBFI->getBlockFreq(LoopPred) * in collectLoopBlockSet() 2201 auto Freq = MBFI->getBlockFreq(LoopBB).getFrequency(); in collectLoopBlockSet() 2528 BlockFrequency Freq = MBFI->getBlockFreq(ChainBB); in alignBlocks() [all …]
|
| H A D | ShrinkWrap.cpp | 538 << MBFI->getBlockFreq(Save).getFrequency() in runOnMachineFunction() 541 << MBFI->getBlockFreq(Restore).getFrequency() << '\n'); in runOnMachineFunction() 544 if (((IsSaveCheap = EntryFreq >= MBFI->getBlockFreq(Save).getFrequency()) && in runOnMachineFunction() 545 EntryFreq >= MBFI->getBlockFreq(Restore).getFrequency()) && in runOnMachineFunction()
|
| H A D | MachineBlockFrequencyInfo.cpp | 221 MachineBlockFrequencyInfo::getBlockFreq(const MachineBasicBlock *MBB) const { in getBlockFreq() function in MachineBlockFrequencyInfo 222 return MBFI ? MBFI->getBlockFreq(MBB) : 0; in getBlockFreq()
|
| H A D | BranchFolding.h | 141 BlockFrequency getBlockFreq(const MachineBasicBlock *MBB) const;
|
| H A D | BranchFolding.cpp | 473 MBBFreqInfo.setBlockFreq(NewMBB, MBBFreqInfo.getBlockFreq(&CurMBB)); in SplitMBBAt() 551 BranchFolder::MBFIWrapper::getBlockFreq(const MachineBasicBlock *MBB) const { in getBlockFreq() function in BranchFolder::MBFIWrapper 557 return MBFI.getBlockFreq(MBB); in getBlockFreq() 568 return MBFI.printBlockFreq(OS, getBlockFreq(MBB)); in printBlockFreq() 1252 BlockFrequency BlockFreq = MBBFreqInfo.getBlockFreq(SrcMBB); in setCommonTailEdgeWeights()
|
| H A D | SpillPlacement.cpp | 213 BlockFrequencies[Num] = MBFI->getBlockFreq(&I); in runOnMachineFunction()
|
| H A D | MachineSink.cpp | 591 uint64_t LHSFreq = MBFI ? MBFI->getBlockFreq(L).getFrequency() : 0; in GetAllSortedSuccessors() 592 uint64_t RHSFreq = MBFI ? MBFI->getBlockFreq(R).getFrequency() : 0; in GetAllSortedSuccessors()
|
| H A D | InlineSpiller.cpp | 1325 SpillsInSubTreeMap[*RIt].second = MBFI.getBlockFreq(Block); in runHoistSpills() 1369 if (SubTreeCost > MBFI.getBlockFreq(Block) * MarginProb) { in runHoistSpills() 1394 SubTreeCost = MBFI.getBlockFreq(Block); in runHoistSpills()
|
| /freebsd-12.1/contrib/llvm/include/llvm/Analysis/ |
| H A D | BlockFrequencyInfoImpl.h | 526 BlockFrequency getBlockFreq(const BlockNode &Node) const; 971 BlockFrequency getBlockFreq(const BlockT *BB) const { 972 return BlockFrequencyInfoImplBase::getBlockFreq(getNode(BB)); 1344 << ", int = " << getBlockFreq(&BB).getFrequency(); 1394 std::max(MaxFrequency, Graph->getBlockFreq(N).getFrequency()); 1397 BlockFrequency Freq = Graph->getBlockFreq(Node); 1425 OS << Graph->getBlockFreq(Node).getFrequency(); 1458 BlockFrequency EFreq = BFI->getBlockFreq(Node) * BP;
|
| H A D | BlockFrequencyInfo.h | 66 BlockFrequency getBlockFreq(const BasicBlock *BB) const;
|
| /freebsd-12.1/contrib/llvm/lib/Transforms/Utils/ |
| H A D | BreakCriticalEdges.cpp | 381 BFI->setBlockFreq(BodyBlock, BFI->getBlockFreq(Target).getFrequency()); in SplitIndirectBrCriticalEdges() 401 BlockFreqForDirectSucc += BFI->getBlockFreq(Src) * in SplitIndirectBrCriticalEdges() 407 BFI->getBlockFreq(Target) - BlockFreqForDirectSucc; in SplitIndirectBrCriticalEdges()
|
| H A D | InlineFunction.cpp | 1424 uint64_t Freq = CalleeBFI->getBlockFreq(OrigBB).getFrequency(); in updateCallerBFI() 1429 uint64_t NewFreq = CallerBFI->getBlockFreq(ClonedBB).getFrequency(); in updateCallerBFI() 1437 EntryClone, CallerBFI->getBlockFreq(CallSiteBlock).getFrequency(), in updateCallerBFI() 2250 AfterCallBB, IFI.CallerBFI->getBlockFreq(OrigBB).getFrequency()); in InlineFunction()
|
| H A D | CodeExtractor.cpp | 1288 BFI->getBlockFreq(Pred) * BPI->getEdgeProbability(Pred, header); in extractCodeRegion() 1307 BF += BFI->getBlockFreq(Block) * BPI->getEdgeProbability(Block, *SI); in extractCodeRegion()
|
| /freebsd-12.1/contrib/llvm/lib/CodeGen/GlobalISel/ |
| H A D | RegBankSelect.cpp | 399 MappingCost Cost(MBFI ? MBFI->getBlockFreq(MI.getParent()) : 1); in computeMapping() 821 return MBFI->getBlockFreq(Instr.getParent()).getFrequency(); in frequency() 829 return MBFI->getBlockFreq(&MBB).getFrequency(); in frequency() 851 return MBFI->getBlockFreq(DstOrSplit).getFrequency(); in frequency() 858 return (MBFI->getBlockFreq(&Src) * MBPI->getEdgeProbability(&Src, DstOrSplit)) in frequency()
|
| /freebsd-12.1/contrib/llvm/include/llvm/CodeGen/ |
| H A D | MachineBlockFrequencyInfo.h | 60 BlockFrequency getBlockFreq(const MachineBasicBlock *MBB) const;
|
| /freebsd-12.1/contrib/llvm/lib/Transforms/IPO/ |
| H A D | SyntheticCountsPropagation.cpp | 123 Scaled64 BBCount(BFI.getBlockFreq(CSBB).getFrequency(), 0); in run()
|
| H A D | PartialInlining.cpp | 715 Cloner.ClonedFuncBFI->getBlockFreq(&Cloner.ClonedFunc->getEntryBlock()); in getOutliningCallBBRelativeFreq() 717 Cloner.ClonedFuncBFI->getBlockFreq(OutliningCallBB); in getOutliningCallBBRelativeFreq()
|
| /freebsd-12.1/contrib/llvm/lib/Transforms/Instrumentation/ |
| H A D | CFGMST.h | 124 (BFI != nullptr ? BFI->getBlockFreq(&*BB).getFrequency() : 2); in buildEdges()
|
| H A D | PGOMemOPSizeOpt.cpp | 341 auto OrigBBFreq = BFI.getBlockFreq(BB); in perform()
|