Searched refs:getBlockProfileCount (Results 1 – 8 of 8) sorted by relevance
/external/llvm/unittests/Analysis/ |
D | BlockFrequencyInfoTest.cpp | 79 EXPECT_EQ(BFI.getBlockProfileCount(&BB0).getValue(), UINT64_C(100)); in TEST_F() 80 EXPECT_EQ(BFI.getBlockProfileCount(BB3).getValue(), UINT64_C(100)); in TEST_F() 81 EXPECT_EQ(BFI.getBlockProfileCount(BB1).getValue(), 100 * BB1Freq / BB0Freq); in TEST_F() 82 EXPECT_EQ(BFI.getBlockProfileCount(BB2).getValue(), 100 * BB2Freq / BB0Freq); in TEST_F()
|
/external/llvm/lib/CodeGen/ |
D | MachineBlockFrequencyInfo.cpp | 172 Optional<uint64_t> MachineBlockFrequencyInfo::getBlockProfileCount( in getBlockProfileCount() function in MachineBlockFrequencyInfo 175 return MBFI ? MBFI->getBlockProfileCount(*F, MBB) : None; in getBlockProfileCount()
|
/external/llvm/include/llvm/CodeGen/ |
D | MachineBlockFrequencyInfo.h | 54 Optional<uint64_t> getBlockProfileCount(const MachineBasicBlock *MBB) const;
|
/external/llvm/lib/Analysis/ |
D | BlockFrequencyInfo.cpp | 158 BlockFrequencyInfo::getBlockProfileCount(const BasicBlock *BB) const { in getBlockProfileCount() function in BlockFrequencyInfo 162 return BFI->getBlockProfileCount(*getFunction(), BB); in getBlockProfileCount()
|
D | ModuleSummaryAnalysis.cpp | 88 auto ScaledCount = BFI ? BFI->getBlockProfileCount(&BB) : None; in computeFunctionSummary()
|
D | BlockFrequencyInfoImpl.cpp | 534 BlockFrequencyInfoImplBase::getBlockProfileCount(const Function &F, in getBlockProfileCount() function in BlockFrequencyInfoImplBase
|
/external/llvm/include/llvm/Analysis/ |
D | BlockFrequencyInfo.h | 62 Optional<uint64_t> getBlockProfileCount(const BasicBlock *BB) const;
|
D | BlockFrequencyInfoImpl.h | 483 Optional<uint64_t> getBlockProfileCount(const Function &F, 924 Optional<uint64_t> getBlockProfileCount(const Function &F, 926 return BlockFrequencyInfoImplBase::getBlockProfileCount(F, getNode(BB)); 1302 auto Count = Graph->getBlockProfileCount(Node);
|