Home
last modified time | relevance | path

Searched refs:getFrequency (Results 1 – 16 of 16) sorted by relevance

/external/llvm/unittests/Support/
DBlockFrequencyTest.cpp24 EXPECT_EQ(Freq.getFrequency(), 0u); in TEST()
28 EXPECT_EQ(Freq.getFrequency(), 0u); in TEST()
35 EXPECT_EQ(Freq.getFrequency(), 1u); in TEST()
39 EXPECT_EQ(Freq.getFrequency(), 1u); in TEST()
46 EXPECT_EQ(Freq.getFrequency(), 1u); in TEST()
50 EXPECT_EQ(Freq.getFrequency(), 1u); in TEST()
57 EXPECT_EQ(Freq.getFrequency(), 9223372036854775807ULL); in TEST()
61 EXPECT_EQ(Freq.getFrequency(), 9223372036854775807ULL); in TEST()
70 EXPECT_EQ(Freq.getFrequency(), Big); in TEST()
74 EXPECT_EQ(Freq.getFrequency(), Big); in TEST()
[all …]
/external/llvm/lib/CodeGen/
DShrinkWrap.cpp443 << MBFI->getBlockFreq(Save).getFrequency() << "\nRestore: " in runOnMachineFunction()
445 << MBFI->getBlockFreq(Restore).getFrequency() << '\n'); in runOnMachineFunction()
448 if (((IsSaveCheap = EntryFreq >= MBFI->getBlockFreq(Save).getFrequency()) && in runOnMachineFunction()
449 EntryFreq >= MBFI->getBlockFreq(Restore).getFrequency()) && in runOnMachineFunction()
DMachineBlockPlacement.cpp958 Cost += ScaleBlockFrequency(TailBBFreq.getFrequency(), in rotateLoopWithProfile()
972 << " to the top: " << Cost.getFrequency() << "\n"); in rotateLoopWithProfile()
1012 auto Freq = MBFI->getBlockFreq(LoopBB).getFrequency(); in collectLoopBlockSet()
1013 if (Freq == 0 || LoopFreq.getFrequency() / Freq > LoopToColdBlockRatio) in collectLoopBlockSet()
1466 BranchTakenFreq += EdgeFreq.getFrequency(); in INITIALIZE_PASS_DEPENDENCY()
DMachineBlockFrequencyInfo.cpp101 OS << Graph->getBlockFreq(Node).getFrequency(); in getNodeLabel()
DMachineSink.cpp572 uint64_t LHSFreq = MBFI ? MBFI->getBlockFreq(L).getFrequency() : 0; in GetAllSortedSuccessors()
573 uint64_t RHSFreq = MBFI ? MBFI->getBlockFreq(R).getFrequency() : 0; in GetAllSortedSuccessors()
DRegAllocGreedy.cpp1795 SpillPlacer->getBlockFrequency(BI.MBB->getNumber()).getFrequency() * in tryLocalSplit()
2284 if (!CSRCost.getFrequency()) in initializeCSRCost()
2301 CSRCost = CSRCost.getFrequency() * (ActualEntry / FixedEntry); in initializeCSRCost()
2397 DEBUG(dbgs() << "Old Cost: " << OldCopiesCost.getFrequency() in tryHintRecoloring()
2398 << "\nNew Cost: " << NewCopiesCost.getFrequency() << '\n'); in tryHintRecoloring()
2479 if (CSRCost.getFrequency() && isUnusedCalleeSavedReg(PhysReg) && in selectOrSplitImpl()
DSpillPlacement.cpp234 uint64_t Freq = Entry.getFrequency(); in setThreshold()
DBranchFolding.cpp1104 .getFrequency(); in setCommonTailEdgeWeights()
1111 EdgeFreq->getFrequency(), SumEdgeFreq); in setCommonTailEdgeWeights()
DRegAllocPBQP.cpp423 PBQP::PBQPNum CBenefit = MBFI.getBlockFreq(&MBB).getFrequency() * Scale; in apply()
DLiveIntervalAnalysis.cpp846 return (isDef + isUse) * (Freq.getFrequency() * Scale); in getSpillWeight()
/external/llvm/include/llvm/Support/
DBlockFrequency.h36 uint64_t getFrequency() const { return Frequency; } in getFrequency() function
/external/llvm/lib/Analysis/
DBlockFrequencyInfo.cpp94 OS << Graph->getBlockFreq(Node).getFrequency(); in getNodeLabel()
DBlockFrequencyInfoImpl.cpp558 Scaled64 Block(Freq.getFrequency(), 0); in printBlockFreq()
/external/llvm/lib/Transforms/Instrumentation/
DCFGMST.h104 (BFI != nullptr ? BFI->getBlockFreq(&*BB).getFrequency() : 2); in buildEdges()
/external/llvm/lib/Transforms/Scalar/
DJumpThreading.cpp1501 BFI->setBlockFreq(NewBB, NewBBFreq.getFrequency()); in ThreadEdge()
1614 BFI->setBlockFreq(PredBB, PredBBFreq.getFrequency()); in SplitBlockPreds()
1636 BFI->setBlockFreq(BB, BBNewFreq.getFrequency()); in UpdateBlockFreqAndEdgeWeight()
1645 BBSuccFreq.push_back(SuccFreq.getFrequency()); in UpdateBlockFreqAndEdgeWeight()
/external/llvm/include/llvm/Analysis/
DBlockFrequencyInfoImpl.h1219 << ", int = " << getBlockFreq(&BB).getFrequency() << "\n";