Home
last modified time | relevance | path

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

123

/external/swiftshader/third_party/llvm-7.0/llvm/unittests/Analysis/
DBlockFrequencyInfoTest.cpp69 uint64_t BB0Freq = BFI.getBlockFreq(&BB0).getFrequency(); in TEST_F()
70 uint64_t BB1Freq = BFI.getBlockFreq(BB1).getFrequency(); in TEST_F()
71 uint64_t BB2Freq = BFI.getBlockFreq(BB2).getFrequency(); in TEST_F()
72 uint64_t BB3Freq = BFI.getBlockFreq(BB3).getFrequency(); in TEST_F()
86 EXPECT_EQ(BFI.getBlockFreq(&BB0).getFrequency(), 2 * BB0Freq); in TEST_F()
87 EXPECT_EQ(BFI.getBlockFreq(BB1).getFrequency(), 2 * BB1Freq); in TEST_F()
88 EXPECT_EQ(BFI.getBlockFreq(BB2).getFrequency(), 2 * BB2Freq); in TEST_F()
89 EXPECT_EQ(BFI.getBlockFreq(BB3).getFrequency(), BB3Freq); in TEST_F()
/external/swiftshader/third_party/llvm-7.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()
263 const BlockFrequency PreheaderFreq = BFI.getBlockFreq(Preheader); in sinkLoopInvariantInstructions()
268 return BFI.getBlockFreq(BB) > PreheaderFreq; in sinkLoopInvariantInstructions()
284 if (BFI.getBlockFreq(B) < BFI.getBlockFreq(L.getLoopPreheader())) { in sinkLoopInvariantInstructions()
290 return BFI.getBlockFreq(A) < BFI.getBlockFreq(B); in sinkLoopInvariantInstructions()
DConstantHoisting.cpp260 if (InsertPtsFreq > BFI.getBlockFreq(Node) || in findBestInsertionSet()
261 (InsertPtsFreq == BFI.getBlockFreq(Node) && InsertPts.size() > 1)) in findBestInsertionSet()
281 (InsertPtsFreq > BFI.getBlockFreq(Node) || in findBestInsertionSet()
282 (InsertPtsFreq == BFI.getBlockFreq(Node) && InsertPts.size() > 1)))) { in findBestInsertionSet()
284 ParentPtsFreq += BFI.getBlockFreq(Node); in findBestInsertionSet()
/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()
/external/swiftshader/third_party/llvm-7.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()
237 APInt OldFreq(128, BFI->getBlockFreq(ReferenceBB).getFrequency()); in setBlockFreqAndScale()
240 BBFreq = BFI->getBlockFreq(BB).getFrequency(); in setBlockFreqAndScale()
/external/swiftshader/third_party/llvm-7.0/llvm/lib/CodeGen/
DMachineBlockPlacement.cpp756 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()
1403 BlockFrequency CandidateEdgeFreq = MBFI->getBlockFreq(BB) * RealSuccProb; in hasBetterLayoutPredecessor()
1429 MBFI->getBlockFreq(Pred) * MBPI->getEdgeProbability(Pred, Succ); in hasBetterLayoutPredecessor()
1601 BlockFrequency CandidateFreq = MBFI->getBlockFreq(MBB); in selectBestCandidateBlock()
1804 BlockFrequency PredFreq = MBFI->getBlockFreq(Pred); in findBestLoopTop()
1901 BlockFrequency ExitEdgeFreq = MBFI->getBlockFreq(MBB) * SuccProb; in findBestLoopExit()
2070 MBFI->getBlockFreq(Pred) * MBPI->getEdgeProbability(Pred, HeaderBB); in rotateLoopWithProfile()
[all …]
DShrinkWrap.cpp538 << 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()
DMachineBlockFrequencyInfo.cpp221 MachineBlockFrequencyInfo::getBlockFreq(const MachineBasicBlock *MBB) const { in getBlockFreq() function in MachineBlockFrequencyInfo
222 return MBFI ? MBFI->getBlockFreq(MBB) : 0; in getBlockFreq()
/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-7.0/llvm/include/llvm/Analysis/
DBlockFrequencyInfoImpl.h526 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;
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Transforms/Utils/
DBreakCriticalEdges.cpp375 BFI->setBlockFreq(BodyBlock, BFI->getBlockFreq(Target).getFrequency()); in SplitIndirectBrCriticalEdges()
395 BlockFreqForDirectSucc += BFI->getBlockFreq(Src) * in SplitIndirectBrCriticalEdges()
401 BFI->getBlockFreq(Target) - BlockFreqForDirectSucc; in SplitIndirectBrCriticalEdges()
/external/swiftshader/third_party/llvm-7.0/llvm/lib/CodeGen/GlobalISel/
DRegBankSelect.cpp399 MappingCost Cost(MBFI ? MBFI->getBlockFreq(MI.getParent()) : 1); in computeMapping()
815 return MBFI->getBlockFreq(Instr.getParent()).getFrequency(); in frequency()
823 return MBFI->getBlockFreq(&MBB).getFrequency(); in frequency()
845 return MBFI->getBlockFreq(DstOrSplit).getFrequency(); in frequency()
852 return (MBFI->getBlockFreq(&Src) * MBPI->getEdgeProbability(&Src, DstOrSplit)) in frequency()
/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/swiftshader/third_party/LLVM/include/llvm/CodeGen/
DMachineBlockFrequencyInfo.h49 BlockFrequency getBlockFreq(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()
/external/llvm/include/llvm/CodeGen/
DMachineBlockFrequencyInfo.h52 BlockFrequency getBlockFreq(const MachineBasicBlock *MBB) const;
/external/swiftshader/third_party/llvm-7.0/llvm/include/llvm/CodeGen/
DMachineBlockFrequencyInfo.h60 BlockFrequency getBlockFreq(const MachineBasicBlock *MBB) const;

123