/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Transforms/Scalar/ |
D | LoopSink.cpp | 87 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()
|
D | ConstantHoisting.cpp | 276 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()
|
D | JumpThreading.cpp | 2095 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/ |
D | MachineBlockPlacement.cpp | 776 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 …]
|
D | ShrinkWrap.cpp | 546 << 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()
|
D | MachineBlockFrequencyInfo.cpp | 228 MachineBlockFrequencyInfo::getBlockFreq(const MachineBasicBlock *MBB) const { in getBlockFreq() function in MachineBlockFrequencyInfo 229 return MBFI ? MBFI->getBlockFreq(MBB) : 0; in getBlockFreq()
|
D | MachineCSE.cpp | 878 return MBFI->getBlockFreq(CandidateBB) <= in isProfitableToHoistInto() 879 MBFI->getBlockFreq(MBB) + MBFI->getBlockFreq(MBB1); in isProfitableToHoistInto()
|
D | BranchFolding.h | 142 BlockFrequency getBlockFreq(const MachineBasicBlock *MBB) const;
|
D | BranchFolding.cpp | 427 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()
|
D | SpillPlacement.cpp | 213 BlockFrequencies[Num] = MBFI->getBlockFreq(&I); in runOnMachineFunction()
|
D | InlineSpiller.cpp | 1356 SpillsInSubTreeMap[*RIt].second = MBFI.getBlockFreq(Block); in runHoistSpills() 1400 if (SubTreeCost > MBFI.getBlockFreq(Block) * MarginProb) { in runHoistSpills() 1425 SubTreeCost = MBFI.getBlockFreq(Block); in runHoistSpills()
|
D | MachineSink.cpp | 637 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/ |
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() 238 APInt OldFreq(128, BFI->getBlockFreq(ReferenceBB).getFrequency()); in setBlockFreqAndScale() 241 BBFreq = BFI->getBlockFreq(BB).getFrequency(); in setBlockFreqAndScale()
|
D | BlockFrequencyInfoImpl.cpp | 552 BlockFrequencyInfoImplBase::getBlockFreq(const BlockNode &Node) const { in getBlockFreq() function in BlockFrequencyInfoImplBase 562 return getProfileCountFromFreq(F, getBlockFreq(Node).getFrequency(), in getBlockProfileCount()
|
D | InlineCost.cpp | 1100 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/ |
D | BlockFrequencyInfoImpl.h | 521 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;
|
D | BlockFrequencyInfo.h | 65 BlockFrequency getBlockFreq(const BasicBlock *BB) const;
|
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Transforms/Utils/ |
D | BreakCriticalEdges.cpp | 398 BFI->setBlockFreq(BodyBlock, BFI->getBlockFreq(Target).getFrequency()); in SplitIndirectBrCriticalEdges() 418 BlockFreqForDirectSucc += BFI->getBlockFreq(Src) * in SplitIndirectBrCriticalEdges() 424 BFI->getBlockFreq(Target) - BlockFreqForDirectSucc; in SplitIndirectBrCriticalEdges()
|
D | InlineFunction.cpp | 1481 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/ |
D | RegBankSelect.cpp | 452 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/ |
D | MachineBlockFrequencyInfo.h | 62 BlockFrequency getBlockFreq(const MachineBasicBlock *MBB) const;
|
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/ExecutionEngine/Orc/ |
D | SpeculateAnalyses.cpp | 105 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/ |
D | SyntheticCountsPropagation.cpp | 122 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/ |
D | CFGMST.h | 123 (BFI != nullptr ? BFI->getBlockFreq(&*BB).getFrequency() : 2); in buildEdges()
|
D | PGOMemOPSizeOpt.cpp | 341 auto OrigBBFreq = BFI.getBlockFreq(BB); in perform()
|