Home
last modified time | relevance | path

Searched refs:getBlockProfileCount (Results 1 – 21 of 21) 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/swiftshader/third_party/llvm-7.0/llvm/unittests/Analysis/
DBlockFrequencyInfoTest.cpp78 EXPECT_EQ(BFI.getBlockProfileCount(&BB0).getValue(), UINT64_C(100)); in TEST_F()
79 EXPECT_EQ(BFI.getBlockProfileCount(BB3).getValue(), UINT64_C(100)); in TEST_F()
80 EXPECT_EQ(BFI.getBlockProfileCount(BB1).getValue(), 100 * BB1Freq / BB0Freq); in TEST_F()
81 EXPECT_EQ(BFI.getBlockProfileCount(BB2).getValue(), 100 * BB2Freq / BB0Freq); in TEST_F()
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Analysis/
DProfileSummaryInfo.cpp101 return BFI->getBlockProfileCount(Inst->getParent()); in getProfileCount()
239 auto Count = BFI->getBlockProfileCount(B); in isHotBB()
245 auto Count = BFI->getBlockProfileCount(B); in isColdBB()
DBlockFrequencyInfo.cpp207 BlockFrequencyInfo::getBlockProfileCount(const BasicBlock *BB) const { in getBlockProfileCount() function in BlockFrequencyInfo
211 return BFI->getBlockProfileCount(*getFunction(), BB); in getBlockProfileCount()
DOptimizationRemarkEmitter.cpp63 return BFI->getBlockProfileCount(cast<BasicBlock>(V)); in computeHotness()
DBlockFrequencyInfoImpl.cpp560 BlockFrequencyInfoImplBase::getBlockProfileCount(const Function &F, in getBlockProfileCount() function in BlockFrequencyInfoImplBase
/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/swiftshader/third_party/llvm-7.0/llvm/lib/CodeGen/
DMachineBlockFrequencyInfo.cpp225 Optional<uint64_t> MachineBlockFrequencyInfo::getBlockProfileCount( in getBlockProfileCount() function in MachineBlockFrequencyInfo
228 return MBFI ? MBFI->getBlockProfileCount(F, MBB) : None; in getBlockProfileCount()
DMachineOptimizationRemarkEmitter.cpp39 return MBFI->getBlockProfileCount(&MBB); in computeHotness()
/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/CodeGen/
DMachineBlockFrequencyInfo.h54 Optional<uint64_t> getBlockProfileCount(const MachineBasicBlock *MBB) const;
/external/swiftshader/third_party/llvm-7.0/llvm/include/llvm/CodeGen/
DMachineBlockFrequencyInfo.h62 Optional<uint64_t> getBlockProfileCount(const MachineBasicBlock *MBB) const;
/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);
/external/swiftshader/third_party/llvm-7.0/llvm/include/llvm/Analysis/
DBlockFrequencyInfo.h71 Optional<uint64_t> getBlockProfileCount(const BasicBlock *BB) const;
DBlockFrequencyInfoImpl.h527 Optional<uint64_t> getBlockProfileCount(const Function &F,
975 Optional<uint64_t> getBlockProfileCount(const Function &F,
977 return BlockFrequencyInfoImplBase::getBlockProfileCount(F, getNode(BB));
1346 BlockFrequencyInfoImplBase::getBlockProfileCount(
1428 auto Count = Graph->getBlockProfileCount(Node);
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Transforms/Instrumentation/
DCGProfile.cpp49 Optional<uint64_t> BBCount = BFI.getBlockProfileCount(&BB); in run()
DPGOMemOPSizeOpt.cpp246 auto BBEdgeCount = BFI.getBlockProfileCount(MI->getParent()); in perform()
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Transforms/IPO/
DPartialInlining.cpp433 return BFI->getBlockProfileCount(BB) in computeOutliningColdRegionsInfo()
434 ? BFI->getBlockProfileCount(BB).getValue() in computeOutliningColdRegionsInfo()
948 auto Count = CurrentCallerBFI->getBlockProfileCount(CallBB); in computeCallsiteToProfCountMap()