Searched refs:getFrequency (Results 1 – 16 of 16) sorted by relevance
/external/llvm/unittests/Support/ |
D | BlockFrequencyTest.cpp | 24 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/ |
D | ShrinkWrap.cpp | 443 << 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()
|
D | MachineBlockPlacement.cpp | 958 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()
|
D | MachineBlockFrequencyInfo.cpp | 101 OS << Graph->getBlockFreq(Node).getFrequency(); in getNodeLabel()
|
D | MachineSink.cpp | 572 uint64_t LHSFreq = MBFI ? MBFI->getBlockFreq(L).getFrequency() : 0; in GetAllSortedSuccessors() 573 uint64_t RHSFreq = MBFI ? MBFI->getBlockFreq(R).getFrequency() : 0; in GetAllSortedSuccessors()
|
D | RegAllocGreedy.cpp | 1795 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()
|
D | SpillPlacement.cpp | 234 uint64_t Freq = Entry.getFrequency(); in setThreshold()
|
D | BranchFolding.cpp | 1104 .getFrequency(); in setCommonTailEdgeWeights() 1111 EdgeFreq->getFrequency(), SumEdgeFreq); in setCommonTailEdgeWeights()
|
D | RegAllocPBQP.cpp | 423 PBQP::PBQPNum CBenefit = MBFI.getBlockFreq(&MBB).getFrequency() * Scale; in apply()
|
D | LiveIntervalAnalysis.cpp | 846 return (isDef + isUse) * (Freq.getFrequency() * Scale); in getSpillWeight()
|
/external/llvm/include/llvm/Support/ |
D | BlockFrequency.h | 36 uint64_t getFrequency() const { return Frequency; } in getFrequency() function
|
/external/llvm/lib/Analysis/ |
D | BlockFrequencyInfo.cpp | 94 OS << Graph->getBlockFreq(Node).getFrequency(); in getNodeLabel()
|
D | BlockFrequencyInfoImpl.cpp | 558 Scaled64 Block(Freq.getFrequency(), 0); in printBlockFreq()
|
/external/llvm/lib/Transforms/Instrumentation/ |
D | CFGMST.h | 104 (BFI != nullptr ? BFI->getBlockFreq(&*BB).getFrequency() : 2); in buildEdges()
|
/external/llvm/lib/Transforms/Scalar/ |
D | JumpThreading.cpp | 1501 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/ |
D | BlockFrequencyInfoImpl.h | 1219 << ", int = " << getBlockFreq(&BB).getFrequency() << "\n";
|