/netbsd/external/apache2/llvm/dist/llvm/lib/Transforms/Scalar/ |
H A D | LoopSink.cpp | 98 T += BFI.getBlockFreq(B); in adjustedSumFreq() 158 BFI.getBlockFreq(ColdestBB)) { in findBBsToSinkInto() 177 BFI.getBlockFreq(L.getLoopPreheader())) in findBBsToSinkInto() 291 const BlockFrequency PreheaderFreq = BFI.getBlockFreq(Preheader); in sinkLoopInvariantInstructions() 296 return BFI.getBlockFreq(BB) > PreheaderFreq; in sinkLoopInvariantInstructions() 315 if (BFI.getBlockFreq(B) < BFI.getBlockFreq(L.getLoopPreheader())) { in sinkLoopInvariantInstructions() 320 return BFI.getBlockFreq(A) < BFI.getBlockFreq(B); in sinkLoopInvariantInstructions()
|
H A D | ConstantHoisting.cpp | 283 if (InsertPtsFreq > BFI.getBlockFreq(Node) || in findBestInsertionSet() 284 (InsertPtsFreq == BFI.getBlockFreq(Node) && InsertPts.size() > 1)) in findBestInsertionSet() 304 (InsertPtsFreq > BFI.getBlockFreq(Node) || in findBestInsertionSet() 305 (InsertPtsFreq == BFI.getBlockFreq(Node) && InsertPts.size() > 1)))) { in findBestInsertionSet() 307 ParentPtsFreq += BFI.getBlockFreq(Node); in findBestInsertionSet()
|
H A D | JumpThreading.cpp | 2277 auto NewBBFreq = BFI->getBlockFreq(PredPredBB) * in threadThroughTwoBasicBlocks() 2398 BFI->getBlockFreq(PredBB) * BPI->getEdgeProbability(PredBB, BB); in threadEdge() 2458 Pred, BFI->getBlockFreq(Pred) * BPI->getEdgeProbability(Pred, BB))); in splitBlockPreds() 2519 auto BBOrigFreq = BFI->getBlockFreq(BB); in updateBlockFreqAndEdgeWeight() 2520 auto NewBBFreq = BFI->getBlockFreq(NewBB); in updateBlockFreqAndEdgeWeight()
|
/netbsd/external/apache2/llvm/dist/llvm/lib/CodeGen/ |
H A D | MBFIWrapper.cpp | 19 BlockFrequency MBFIWrapper::getBlockFreq(const MachineBasicBlock *MBB) const { in getBlockFreq() function in MBFIWrapper 25 return MBFI.getBlockFreq(MBB); in getBlockFreq() 47 return MBFI.printBlockFreq(OS, getBlockFreq(MBB)); in printBlockFreq()
|
H A D | MachineBlockPlacement.cpp | 429 return MBFI->getBlockFreq(BB); in getBlockCountOrFrequency() 811 auto BBFreq = MBFI->getBlockFreq(BB); in isProfitableToTailDup() 812 auto SuccFreq = MBFI->getBlockFreq(Succ); in isProfitableToTailDup() 841 auto Freq = MBFI->getBlockFreq(SuccPred) in isProfitableToTailDup() 1960 FallThrough2Exit = MBFI->getBlockFreq(NewTop) * in FallThroughGains() 2416 auto EdgeFreq = MBFI->getBlockFreq(Pred) * in rotateLoopWithProfile() 2491 auto TailBBFreq = MBFI->getBlockFreq(TailBB); in rotateLoopWithProfile() 2544 LoopFreq += MBFI->getBlockFreq(LoopPred) * in collectLoopBlockSet() 2894 BlockFrequency Freq = MBFI->getBlockFreq(ChainBB); in alignBlocks() 3173 return MBFI->getBlockFreq(A) > MBFI->getBlockFreq(B); in findDuplicateCandidates() [all …]
|
H A D | ShrinkWrap.cpp | 539 << MBFI->getBlockFreq(Save).getFrequency() in runOnMachineFunction() 542 << MBFI->getBlockFreq(Restore).getFrequency() << '\n'); in runOnMachineFunction() 545 if (((IsSaveCheap = EntryFreq >= MBFI->getBlockFreq(Save).getFrequency()) && in runOnMachineFunction() 546 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 | 907 return MBFI->getBlockFreq(CandidateBB) <= in isProfitableToHoistInto() 908 MBFI->getBlockFreq(MBB) + MBFI->getBlockFreq(MBB1); in isProfitableToHoistInto()
|
H A D | MachineSizeOpts.cpp | 207 BlockFrequency BlockFreq = MBFIW->getBlockFreq(MBB); in shouldOptimizeForSize()
|
H A D | SpillPlacement.cpp | 209 BlockFrequencies[Num] = MBFI->getBlockFreq(&I); in runOnMachineFunction()
|
H A D | InlineSpiller.cpp | 1432 SpillsInSubTreeMap[*RIt].second = MBFI.getBlockFreq(Block); in runHoistSpills() 1473 if (SubTreeCost > MBFI.getBlockFreq(Block) * MarginProb) { in runHoistSpills() 1498 SubTreeCost = MBFI.getBlockFreq(Block); in runHoistSpills()
|
/netbsd/external/apache2/llvm/dist/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 | 29 BlockFrequency getBlockFreq(const MachineBasicBlock *MBB) const;
|
/netbsd/external/apache2/llvm/dist/llvm/lib/Analysis/ |
H A D | BlockFrequencyInfo.cpp | 204 BlockFrequency BlockFrequencyInfo::getBlockFreq(const BasicBlock *BB) const { in getBlockFreq() function in BlockFrequencyInfo 205 return BFI ? BFI->getBlockFreq(BB) : 0; in getBlockFreq() 240 APInt OldFreq(128, BFI->getBlockFreq(ReferenceBB).getFrequency()); in setBlockFreqAndScale() 243 BBFreq = BFI->getBlockFreq(BB).getFrequency(); in setBlockFreqAndScale()
|
H A D | HeatUtils.cpp | 55 uint64_t freqVal = BFI->getBlockFreq(&BB).getFrequency(); in getMaxFreq()
|
H A D | BlockFrequencyInfoImpl.cpp | 560 BlockFrequencyInfoImplBase::getBlockFreq(const BlockNode &Node) const { in getBlockFreq() function in BlockFrequencyInfoImplBase 579 return getProfileCountFromFreq(F, getBlockFreq(Node).getFrequency(), in getBlockProfileCount()
|
/netbsd/external/apache2/llvm/dist/llvm/include/llvm/Analysis/ |
H A D | BlockFrequencyInfoImpl.h | 524 BlockFrequency getBlockFreq(const BlockNode &Node) const; 980 BlockFrequency getBlockFreq(const BlockT *BB) const { 981 return BlockFrequencyInfoImplBase::getBlockFreq(getNode(BB)); 1405 << ", int = " << getBlockFreq(&BB).getFrequency(); 1510 std::max(MaxFrequency, Graph->getBlockFreq(N).getFrequency()); 1513 BlockFrequency Freq = Graph->getBlockFreq(Node); 1541 OS << Graph->getBlockFreq(Node).getFrequency(); 1574 BlockFrequency EFreq = BFI->getBlockFreq(Node) * BP;
|
H A D | BlockFrequencyInfo.h | 65 BlockFrequency getBlockFreq(const BasicBlock *BB) const;
|
H A D | CFGPrinter.h | 84 return BFI->getBlockFreq(BB).getFrequency(); in getFreq()
|
/netbsd/external/apache2/llvm/dist/llvm/lib/Transforms/Utils/ |
H A D | BreakCriticalEdges.cpp | 399 BFI->setBlockFreq(BodyBlock, BFI->getBlockFreq(Target).getFrequency()); in SplitIndirectBrCriticalEdges() 419 BlockFreqForDirectSucc += BFI->getBlockFreq(Src) * in SplitIndirectBrCriticalEdges() 425 BFI->getBlockFreq(Target) - BlockFreqForDirectSucc; in SplitIndirectBrCriticalEdges()
|
H A D | InlineFunction.cpp | 1585 uint64_t Freq = CalleeBFI->getBlockFreq(OrigBB).getFrequency(); in updateCallerBFI() 1590 uint64_t NewFreq = CallerBFI->getBlockFreq(ClonedBB).getFrequency(); in updateCallerBFI() 1598 EntryClone, CallerBFI->getBlockFreq(CallSiteBlock).getFrequency(), in updateCallerBFI() 2516 AfterCallBB, IFI.CallerBFI->getBlockFreq(OrigBB).getFrequency()); in InlineFunction()
|
/netbsd/external/apache2/llvm/dist/llvm/lib/CodeGen/GlobalISel/ |
H A D | RegBankSelect.cpp | 452 MappingCost Cost(MBFI ? MBFI->getBlockFreq(MI.getParent()) : 1); in computeMapping() 918 return MBFI->getBlockFreq(Instr.getParent()).getFrequency(); in frequency() 926 return MBFI->getBlockFreq(&MBB).getFrequency(); in frequency() 948 return MBFI->getBlockFreq(DstOrSplit).getFrequency(); in frequency() 955 return (MBFI->getBlockFreq(&Src) * MBPI->getEdgeProbability(&Src, DstOrSplit)) in frequency()
|
/netbsd/external/apache2/llvm/dist/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()
|
/netbsd/external/apache2/llvm/dist/llvm/lib/Transforms/IPO/ |
H A D | SyntheticCountsPropagation.cpp | 121 Scaled64 BBCount(BFI.getBlockFreq(CSBB).getFrequency(), 0); in run()
|
/netbsd/external/apache2/llvm/dist/llvm/lib/Transforms/Instrumentation/ |
H A D | CFGMST.h | 128 (BFI != nullptr ? BFI->getBlockFreq(&BB).getFrequency() : 2); in buildEdges()
|