| /llvm-project-15.0.7/llvm/lib/Analysis/ |
| H A D | ProfileSummaryInfo.cpp | 101 auto FunctionCount = F->getEntryCount(); in isFunctionEntryHot() 117 if (auto FunctionCount = F->getEntryCount()) in isFunctionHotInCallGraph() 146 if (auto FunctionCount = F->getEntryCount()) in isFunctionColdInCallGraph() 168 return !F.getEntryCount(); in isFunctionHotnessUnknown() 176 if (auto FunctionCount = F->getEntryCount()) { in isFunctionHotOrColdInCallGraphNthPercentile() 228 auto FunctionCount = F->getEntryCount(); in isFunctionEntryCold()
|
| H A D | InlineCost.cpp | 763 if (!Caller->getEntryCount()) in isCostBenefitAnalysisEnabled() 775 auto EntryCount = F.getEntryCount(); in isCostBenefitAnalysisEnabled() 841 auto EntryProfileCount = F.getEntryCount(); in costBenefitAnalysis()
|
| H A D | BlockFrequencyInfoImpl.cpp | 600 auto EntryCount = F.getEntryCount(AllowSynthetic); in getProfileCountFromFreq()
|
| /llvm-project-15.0.7/llvm/lib/CodeGen/ |
| H A D | MachineSizeOpts.cpp | 84 if (auto FunctionCount = MF->getFunction().getEntryCount()) in isFunctionColdInCallGraph() 100 if (auto FunctionCount = MF->getFunction().getEntryCount()) in isFunctionHotInCallGraphNthPercentile() 113 if (auto FunctionCount = MF->getFunction().getEntryCount()) in isFunctionColdInCallGraphNthPercentile()
|
| /llvm-project-15.0.7/llvm/lib/Transforms/Instrumentation/ |
| H A D | CGProfile.cpp | 69 if (F.isDeclaration() || (LazyBFI && !F.getEntryCount())) in runCGProfilePass()
|
| H A D | PGOInstrumentation.cpp | 1619 auto BFIEntryCount = F.getEntryCount(); in fixFuncEntryCount()
|
| /llvm-project-15.0.7/llvm/include/llvm/IR/ |
| H A D | Function.h | 283 Optional<ProfileCount> getEntryCount(bool AllowSynthetic = false) const; 291 return getEntryCount(IncludeSynthetic).has_value();
|
| /llvm-project-15.0.7/llvm/lib/ProfileData/ |
| H A D | GCOV.cpp | 357 uint64_t GCOVFunction::getEntryCount() const { in getEntryCount() function in GCOVFunction 806 os << "function:" << f->startLine << ',' << f->getEntryCount() << ',' in printSourceToIntermediate() 912 const uint64_t entryCount = f.getEntryCount(); in printFunctionDetails()
|
| /llvm-project-15.0.7/llvm/include/llvm/ProfileData/ |
| H A D | GCOV.h | 241 uint64_t getEntryCount() const;
|
| /llvm-project-15.0.7/llvm/lib/DebugInfo/CodeView/ |
| H A D | RecordName.cpp | 213 Name = formatv("<vftable {0} methods>", Shape.getEntryCount()); in visitKnownRecord()
|
| H A D | TypeDumpVisitor.cpp | 405 W->printNumber("VFEntryCount", Shape.getEntryCount()); in visitKnownRecord()
|
| /llvm-project-15.0.7/llvm/lib/IR/ |
| H A D | Function.cpp | 1976 auto PrevCount = getEntryCount(); in setEntryCount() 1995 Optional<ProfileCount> Function::getEntryCount(bool AllowSynthetic) const { in getEntryCount() function in Function
|
| /llvm-project-15.0.7/llvm/lib/Transforms/Utils/ |
| H A D | InlineFunction.cpp | 1648 auto CalleeCount = Callee->getEntryCount(); in updateProfileCallee() 2012 if (auto Profile = CalledFunc->getEntryCount()) in InlineFunction()
|
| /llvm-project-15.0.7/llvm/include/llvm/DebugInfo/CodeView/ |
| H A D | TypeRecord.h | 568 uint32_t getEntryCount() const { return getSlots().size(); } in getEntryCount() function
|
| /llvm-project-15.0.7/llvm/lib/Transforms/IPO/ |
| H A D | PartialInlining.cpp | 1408 auto CalleeEntryCount = Cloner.OrigFunc->getEntryCount(); in tryPartialInline()
|
| H A D | SampleProfile.cpp | 2125 if (!F.getEntryCount()) in runOnFunction()
|
| /llvm-project-15.0.7/llvm/unittests/IR/ |
| H A D | MetadataTest.cpp | 3459 EXPECT_FALSE(F->getEntryCount().has_value()); in TEST_F() 3461 auto Count = F->getEntryCount(); in TEST_F() 3469 EXPECT_FALSE(F->getEntryCount().has_value()); in TEST_F() 3471 auto Count = F->getEntryCount(true /*allow synthetic*/); in TEST_F()
|