Home
last modified time | relevance | path

Searched refs:getBlockFreq (Results 1 – 25 of 36) sorted by relevance

12

/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Transforms/Scalar/
DLoopSink.cpp87 T += BFI.getBlockFreq(B); in adjustedSumFreq()
147 BFI.getBlockFreq(ColdestBB)) { in findBBsToSinkInto()
166 BFI.getBlockFreq(L.getLoopPreheader())) in findBBsToSinkInto()
265 const BlockFrequency PreheaderFreq = BFI.getBlockFreq(Preheader); in sinkLoopInvariantInstructions()
270 return BFI.getBlockFreq(BB) > PreheaderFreq; in sinkLoopInvariantInstructions()
287 if (BFI.getBlockFreq(B) < BFI.getBlockFreq(L.getLoopPreheader())) { in sinkLoopInvariantInstructions()
292 return BFI.getBlockFreq(A) < BFI.getBlockFreq(B); in sinkLoopInvariantInstructions()
DConstantHoisting.cpp276 if (InsertPtsFreq > BFI.getBlockFreq(Node) || in findBestInsertionSet()
277 (InsertPtsFreq == BFI.getBlockFreq(Node) && InsertPts.size() > 1)) in findBestInsertionSet()
297 (InsertPtsFreq > BFI.getBlockFreq(Node) || in findBestInsertionSet()
298 (InsertPtsFreq == BFI.getBlockFreq(Node) && InsertPts.size() > 1)))) { in findBestInsertionSet()
300 ParentPtsFreq += BFI.getBlockFreq(Node); in findBestInsertionSet()
DJumpThreading.cpp2095 BFI->getBlockFreq(PredBB) * BPI->getEdgeProbability(PredBB, BB); in ThreadEdge()
2155 Pred, BFI->getBlockFreq(Pred) * BPI->getEdgeProbability(Pred, BB))); in SplitBlockPreds()
2216 auto BBOrigFreq = BFI->getBlockFreq(BB); in UpdateBlockFreqAndEdgeWeight()
2217 auto NewBBFreq = BFI->getBlockFreq(NewBB); in UpdateBlockFreqAndEdgeWeight()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/CodeGen/
DMachineBlockPlacement.cpp776 auto BBFreq = MBFI->getBlockFreq(BB); in isProfitableToTailDup()
777 auto SuccFreq = MBFI->getBlockFreq(Succ); in isProfitableToTailDup()
806 auto Freq = MBFI->getBlockFreq(SuccPred) in isProfitableToTailDup()
1019 BlockFrequency EdgeFreq = MBFI->getBlockFreq(SuccPred) * in getBestTrellisSuccessor()
1469 BlockFrequency CandidateEdgeFreq = MBFI->getBlockFreq(BB) * RealSuccProb; in hasBetterLayoutPredecessor()
1496 MBFI->getBlockFreq(Pred) * MBPI->getEdgeProbability(Pred, Succ); in hasBetterLayoutPredecessor()
1665 BlockFrequency CandidateFreq = MBFI->getBlockFreq(MBB); in selectBestCandidateBlock()
1885 BlockFrequency EdgeFreq = MBFI->getBlockFreq(Pred) * in TopFallThroughFreq()
1925 FallThrough2Exit = MBFI->getBlockFreq(NewTop) * in FallThroughGains()
1927 BlockFrequency BackEdgeFreq = MBFI->getBlockFreq(NewTop) * in FallThroughGains()
[all …]
DShrinkWrap.cpp546 << MBFI->getBlockFreq(Save).getFrequency() in runOnMachineFunction()
549 << MBFI->getBlockFreq(Restore).getFrequency() << '\n'); in runOnMachineFunction()
552 if (((IsSaveCheap = EntryFreq >= MBFI->getBlockFreq(Save).getFrequency()) && in runOnMachineFunction()
553 EntryFreq >= MBFI->getBlockFreq(Restore).getFrequency()) && in runOnMachineFunction()
DMachineBlockFrequencyInfo.cpp228 MachineBlockFrequencyInfo::getBlockFreq(const MachineBasicBlock *MBB) const { in getBlockFreq() function in MachineBlockFrequencyInfo
229 return MBFI ? MBFI->getBlockFreq(MBB) : 0; in getBlockFreq()
DMachineCSE.cpp878 return MBFI->getBlockFreq(CandidateBB) <= in isProfitableToHoistInto()
879 MBFI->getBlockFreq(MBB) + MBFI->getBlockFreq(MBB1); in isProfitableToHoistInto()
DBranchFolding.h142 BlockFrequency getBlockFreq(const MachineBasicBlock *MBB) const;
DBranchFolding.cpp427 MBBFreqInfo.setBlockFreq(NewMBB, MBBFreqInfo.getBlockFreq(&CurMBB)); in SplitMBBAt()
505 BranchFolder::MBFIWrapper::getBlockFreq(const MachineBasicBlock *MBB) const { in getBlockFreq() function in BranchFolder::MBFIWrapper
511 return MBFI.getBlockFreq(MBB); in getBlockFreq()
522 return MBFI.printBlockFreq(OS, getBlockFreq(MBB)); in printBlockFreq()
1198 BlockFrequency BlockFreq = MBBFreqInfo.getBlockFreq(SrcMBB); in setCommonTailEdgeWeights()
DSpillPlacement.cpp213 BlockFrequencies[Num] = MBFI->getBlockFreq(&I); in runOnMachineFunction()
DInlineSpiller.cpp1356 SpillsInSubTreeMap[*RIt].second = MBFI.getBlockFreq(Block); in runHoistSpills()
1400 if (SubTreeCost > MBFI.getBlockFreq(Block) * MarginProb) { in runHoistSpills()
1425 SubTreeCost = MBFI.getBlockFreq(Block); in runHoistSpills()
DMachineSink.cpp637 uint64_t LHSFreq = MBFI ? MBFI->getBlockFreq(L).getFrequency() : 0; in GetAllSortedSuccessors()
638 uint64_t RHSFreq = MBFI ? MBFI->getBlockFreq(R).getFrequency() : 0; in GetAllSortedSuccessors()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Analysis/
DBlockFrequencyInfo.cpp202 BlockFrequency BlockFrequencyInfo::getBlockFreq(const BasicBlock *BB) const { in getBlockFreq() function in BlockFrequencyInfo
203 return BFI ? BFI->getBlockFreq(BB) : 0; in getBlockFreq()
238 APInt OldFreq(128, BFI->getBlockFreq(ReferenceBB).getFrequency()); in setBlockFreqAndScale()
241 BBFreq = BFI->getBlockFreq(BB).getFrequency(); in setBlockFreqAndScale()
DBlockFrequencyInfoImpl.cpp552 BlockFrequencyInfoImplBase::getBlockFreq(const BlockNode &Node) const { in getBlockFreq() function in BlockFrequencyInfoImplBase
562 return getProfileCountFromFreq(F, getBlockFreq(Node).getFrequency(), in getBlockProfileCount()
DInlineCost.cpp1100 auto CallSiteFreq = CallerBFI->getBlockFreq(CallSiteBB); in isColdCallSite()
1102 CallerBFI->getBlockFreq(&(Call.getCaller()->getEntryBlock())); in isColdCallSite()
1126 auto CallSiteFreq = CallerBFI->getBlockFreq(CallSiteBB).getFrequency(); in getHotCallSiteThreshold()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/include/llvm/Analysis/
DBlockFrequencyInfoImpl.h521 BlockFrequency getBlockFreq(const BlockNode &Node) const;
968 BlockFrequency getBlockFreq(const BlockT *BB) const {
969 return BlockFrequencyInfoImplBase::getBlockFreq(getNode(BB));
1345 << ", int = " << getBlockFreq(&BB).getFrequency();
1395 std::max(MaxFrequency, Graph->getBlockFreq(N).getFrequency());
1398 BlockFrequency Freq = Graph->getBlockFreq(Node);
1426 OS << Graph->getBlockFreq(Node).getFrequency();
1459 BlockFrequency EFreq = BFI->getBlockFreq(Node) * BP;
DBlockFrequencyInfo.h65 BlockFrequency getBlockFreq(const BasicBlock *BB) const;
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Transforms/Utils/
DBreakCriticalEdges.cpp398 BFI->setBlockFreq(BodyBlock, BFI->getBlockFreq(Target).getFrequency()); in SplitIndirectBrCriticalEdges()
418 BlockFreqForDirectSucc += BFI->getBlockFreq(Src) * in SplitIndirectBrCriticalEdges()
424 BFI->getBlockFreq(Target) - BlockFreqForDirectSucc; in SplitIndirectBrCriticalEdges()
DInlineFunction.cpp1481 uint64_t Freq = CalleeBFI->getBlockFreq(OrigBB).getFrequency(); in updateCallerBFI()
1486 uint64_t NewFreq = CallerBFI->getBlockFreq(ClonedBB).getFrequency(); in updateCallerBFI()
1494 EntryClone, CallerBFI->getBlockFreq(CallSiteBlock).getFrequency(), in updateCallerBFI()
2312 AfterCallBB, IFI.CallerBFI->getBlockFreq(OrigBB).getFrequency()); in InlineFunction()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/CodeGen/GlobalISel/
DRegBankSelect.cpp452 MappingCost Cost(MBFI ? MBFI->getBlockFreq(MI.getParent()) : 1); in computeMapping()
888 return MBFI->getBlockFreq(Instr.getParent()).getFrequency(); in frequency()
896 return MBFI->getBlockFreq(&MBB).getFrequency(); in frequency()
918 return MBFI->getBlockFreq(DstOrSplit).getFrequency(); in frequency()
925 return (MBFI->getBlockFreq(&Src) * MBPI->getEdgeProbability(&Src, DstOrSplit)) in frequency()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/include/llvm/CodeGen/
DMachineBlockFrequencyInfo.h62 BlockFrequency getBlockFreq(const MachineBasicBlock *MBB) const;
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/ExecutionEngine/Orc/
DSpeculateAnalyses.cpp105 BBFreqs.push_back({I, BFI.getBlockFreq(I).getFrequency()}); in operator ()()
250 BBFreqs.push_back({I, BFI.getBlockFreq(I).getFrequency()}); in queryCFG()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Transforms/IPO/
DSyntheticCountsPropagation.cpp122 Scaled64 BBCount(BFI.getBlockFreq(CSBB).getFrequency(), 0); in run()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Transforms/Instrumentation/
DCFGMST.h123 (BFI != nullptr ? BFI->getBlockFreq(&*BB).getFrequency() : 2); in buildEdges()
DPGOMemOPSizeOpt.cpp341 auto OrigBBFreq = BFI.getBlockFreq(BB); in perform()

12