Home
last modified time | relevance | path

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

12

/external/llvm/unittests/Analysis/
DBlockFrequencyInfoTest.cpp70 uint64_t BB0Freq = BFI.getBlockFreq(&BB0).getFrequency(); in TEST_F()
71 uint64_t BB1Freq = BFI.getBlockFreq(BB1).getFrequency(); in TEST_F()
72 uint64_t BB2Freq = BFI.getBlockFreq(BB2).getFrequency(); in TEST_F()
73 uint64_t BB3Freq = BFI.getBlockFreq(BB3).getFrequency(); in TEST_F()
/external/swiftshader/third_party/LLVM/lib/CodeGen/
DMachineBlockFrequencyInfo.cpp59 getBlockFreq(MachineBasicBlock *MBB) const { in getBlockFreq() function in MachineBlockFrequencyInfo
60 return MBFI->getBlockFreq(MBB); in getBlockFreq()
/external/swiftshader/third_party/LLVM/lib/Analysis/
DBlockFrequencyInfo.cpp61 BlockFrequency BlockFrequencyInfo::getBlockFreq(BasicBlock *BB) const { in getBlockFreq() function in BlockFrequencyInfo
62 return BFI->getBlockFreq(BB); in getBlockFreq()
/external/llvm/lib/CodeGen/
DMachineBlockPlacement.cpp621 BlockFrequency CandidateEdgeFreq = MBFI->getBlockFreq(BB) * RealSuccProb; in hasBetterLayoutPredecessor()
643 MBFI->getBlockFreq(Pred) * MBPI->getEdgeProbability(Pred, Succ); in hasBetterLayoutPredecessor()
750 BlockFrequency CandidateFreq = MBFI->getBlockFreq(MBB); in selectBestCandidateBlock()
925 BlockFrequency PredFreq = MBFI->getBlockFreq(Pred); in findBestLoopTop()
1022 BlockFrequency ExitEdgeFreq = MBFI->getBlockFreq(MBB) * SuccProb; in findBestLoopExit()
1147 MBFI->getBlockFreq(Pred) * MBPI->getEdgeProbability(Pred, HeaderBB); in rotateLoopWithProfile()
1173 auto ExitFreq = MBFI->getBlockFreq(BB) * LargestExitEdgeProb; in rotateLoopWithProfile()
1221 auto TailBBFreq = MBFI->getBlockFreq(TailBB); in rotateLoopWithProfile()
1273 LoopFreq += MBFI->getBlockFreq(LoopPred) * in collectLoopBlockSet()
1277 auto Freq = MBFI->getBlockFreq(LoopBB).getFrequency(); in collectLoopBlockSet()
[all …]
DShrinkWrap.cpp488 << MBFI->getBlockFreq(Save).getFrequency() << "\nRestore: " in runOnMachineFunction()
490 << MBFI->getBlockFreq(Restore).getFrequency() << '\n'); in runOnMachineFunction()
493 if (((IsSaveCheap = EntryFreq >= MBFI->getBlockFreq(Save).getFrequency()) && in runOnMachineFunction()
494 EntryFreq >= MBFI->getBlockFreq(Restore).getFrequency()) && in runOnMachineFunction()
DMachineBlockFrequencyInfo.cpp168 MachineBlockFrequencyInfo::getBlockFreq(const MachineBasicBlock *MBB) const { in getBlockFreq() function in MachineBlockFrequencyInfo
169 return MBFI ? MBFI->getBlockFreq(MBB) : 0; in getBlockFreq()
DBranchFolding.h114 BlockFrequency getBlockFreq(const MachineBasicBlock *MBB) const;
DBranchFolding.cpp468 MBBFreqInfo.setBlockFreq(NewMBB, MBBFreqInfo.getBlockFreq(&CurMBB)); in SplitMBBAt()
545 BranchFolder::MBFIWrapper::getBlockFreq(const MachineBasicBlock *MBB) const { in getBlockFreq() function in BranchFolder::MBFIWrapper
551 return MBFI.getBlockFreq(MBB); in getBlockFreq()
562 return MBFI.printBlockFreq(OS, getBlockFreq(MBB)); in printBlockFreq()
1112 BlockFrequency BlockFreq = MBBFreqInfo.getBlockFreq(SrcMBB); in setCommonTailEdgeWeights()
DMachineSink.cpp570 uint64_t LHSFreq = MBFI ? MBFI->getBlockFreq(L).getFrequency() : 0; in GetAllSortedSuccessors()
571 uint64_t RHSFreq = MBFI ? MBFI->getBlockFreq(R).getFrequency() : 0; in GetAllSortedSuccessors()
DSpillPlacement.cpp205 BlockFrequencies[Num] = MBFI->getBlockFreq(&I); in runOnMachineFunction()
DInlineSpiller.cpp1268 SpillsInSubTreeMap[*RIt].second = MBFI.getBlockFreq(Block); in runHoistSpills()
1312 if (SubTreeCost > MBFI.getBlockFreq(Block) * MarginProb) { in runHoistSpills()
1337 SubTreeCost = MBFI.getBlockFreq(Block); in runHoistSpills()
DSplitKit.cpp865 Costs[ParentVNI->id] += MBFI.getBlockFreq(ValMBB); in hoistCopies()
885 MBFI.getBlockFreq(Dom.first) > Costs[ParentVNI->id]) { in hoistCopies()
DRegAllocPBQP.cpp430 PBQP::PBQPNum CBenefit = MBFI.getBlockFreq(&MBB).getFrequency() * Scale; in apply()
/external/swiftshader/third_party/LLVM/include/llvm/Analysis/
DBlockFrequencyImpl.h77 return getBlockFreq(Src) * Prob; in getEdgeFreq()
245 uint64_t D = getBlockFreq(Head).getFrequency(); in doLoop()
311 BlockFrequency getBlockFreq(BlockT *BB) const { in getBlockFreq() function
322 OS << " " << getBlockName(BB) << " = " << getBlockFreq(BB) << "\n"; in print()
DBlockFrequencyInfo.h50 BlockFrequency getBlockFreq(BasicBlock *BB) const;
/external/llvm/include/llvm/Analysis/
DBlockFrequencyInfoImpl.h482 BlockFrequency getBlockFreq(const BlockNode &Node) const;
921 BlockFrequency getBlockFreq(const BlockT *BB) const {
922 return BlockFrequencyInfoImplBase::getBlockFreq(getNode(BB));
1229 << ", int = " << getBlockFreq(&BB).getFrequency() << "\n";
1271 std::max(MaxFrequency, Graph->getBlockFreq(&N).getFrequency());
1274 BlockFrequency Freq = Graph->getBlockFreq(Node);
1299 OS << Graph->getBlockFreq(Node).getFrequency();
1332 BlockFrequency EFreq = BFI->getBlockFreq(Node) * BP;
DBlockFrequencyInfo.h57 BlockFrequency getBlockFreq(const BasicBlock *BB) const;
/external/swiftshader/third_party/LLVM/include/llvm/CodeGen/
DMachineBlockFrequencyInfo.h49 BlockFrequency getBlockFreq(MachineBasicBlock *MBB) const;
/external/llvm/include/llvm/CodeGen/
DMachineBlockFrequencyInfo.h52 BlockFrequency getBlockFreq(const MachineBasicBlock *MBB) const;
/external/llvm/lib/Analysis/
DBlockFrequencyInfo.cpp153 BlockFrequency BlockFrequencyInfo::getBlockFreq(const BasicBlock *BB) const { in getBlockFreq() function in BlockFrequencyInfo
154 return BFI ? BFI->getBlockFreq(BB) : 0; in getBlockFreq()
DBlockFrequencyInfoImpl.cpp527 BlockFrequencyInfoImplBase::getBlockFreq(const BlockNode &Node) const { in getBlockFreq() function in BlockFrequencyInfoImplBase
541 APInt BlockFreq(128, getBlockFreq(Node).getFrequency()); in getBlockProfileCount()
/external/llvm/lib/CodeGen/GlobalISel/
DRegBankSelect.cpp352 MappingCost Cost(MBFI ? MBFI->getBlockFreq(MI.getParent()) : 1); in computeMapping()
729 return MBFI->getBlockFreq(Instr.getParent()).getFrequency(); in frequency()
737 return MBFI->getBlockFreq(&MBB).getFrequency(); in frequency()
759 return MBFI->getBlockFreq(DstOrSplit).getFrequency(); in frequency()
766 return (MBFI->getBlockFreq(&Src) * MBPI->getEdgeProbability(&Src, DstOrSplit)) in frequency()
/external/llvm/lib/Transforms/Instrumentation/
DCFGMST.h103 (BFI != nullptr ? BFI->getBlockFreq(&*BB).getFrequency() : 2); in buildEdges()
/external/llvm/lib/Transforms/Scalar/
DJumpThreading.cpp1495 BFI->getBlockFreq(PredBB) * BPI->getEdgeProbability(PredBB, BB); in ThreadEdge()
1602 PredBBFreq += BFI->getBlockFreq(Pred) * BPI->getEdgeProbability(Pred, BB); in SplitBlockPreds()
1627 auto BBOrigFreq = BFI->getBlockFreq(BB); in UpdateBlockFreqAndEdgeWeight()
1628 auto NewBBFreq = BFI->getBlockFreq(NewBB); in UpdateBlockFreqAndEdgeWeight()
DLoopUnswitch.cpp560 BlockFrequency LoopEntryFreq = BFI.getBlockFreq(loopHeader); in processCurrentLoop()

12