Home
last modified time | relevance | path

Searched refs:getBlockProfileCount (Results 1 – 8 of 8) sorted by relevance

/external/llvm/unittests/Analysis/
DBlockFrequencyInfoTest.cpp79 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/
DMachineBlockFrequencyInfo.cpp172 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/
DMachineBlockFrequencyInfo.h54 Optional<uint64_t> getBlockProfileCount(const MachineBasicBlock *MBB) const;
/external/llvm/lib/Analysis/
DBlockFrequencyInfo.cpp158 BlockFrequencyInfo::getBlockProfileCount(const BasicBlock *BB) const { in getBlockProfileCount() function in BlockFrequencyInfo
162 return BFI->getBlockProfileCount(*getFunction(), BB); in getBlockProfileCount()
DModuleSummaryAnalysis.cpp88 auto ScaledCount = BFI ? BFI->getBlockProfileCount(&BB) : None; in computeFunctionSummary()
DBlockFrequencyInfoImpl.cpp534 BlockFrequencyInfoImplBase::getBlockProfileCount(const Function &F, in getBlockProfileCount() function in BlockFrequencyInfoImplBase
/external/llvm/include/llvm/Analysis/
DBlockFrequencyInfo.h62 Optional<uint64_t> getBlockProfileCount(const BasicBlock *BB) const;
DBlockFrequencyInfoImpl.h483 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);