Home
last modified time | relevance | path

Searched refs:getEntryCount (Results 1 – 17 of 17) sorted by relevance

/llvm-project-15.0.7/llvm/lib/Analysis/
H A DProfileSummaryInfo.cpp101 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 DInlineCost.cpp763 if (!Caller->getEntryCount()) in isCostBenefitAnalysisEnabled()
775 auto EntryCount = F.getEntryCount(); in isCostBenefitAnalysisEnabled()
841 auto EntryProfileCount = F.getEntryCount(); in costBenefitAnalysis()
H A DBlockFrequencyInfoImpl.cpp600 auto EntryCount = F.getEntryCount(AllowSynthetic); in getProfileCountFromFreq()
/llvm-project-15.0.7/llvm/lib/CodeGen/
H A DMachineSizeOpts.cpp84 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 DCGProfile.cpp69 if (F.isDeclaration() || (LazyBFI && !F.getEntryCount())) in runCGProfilePass()
H A DPGOInstrumentation.cpp1619 auto BFIEntryCount = F.getEntryCount(); in fixFuncEntryCount()
/llvm-project-15.0.7/llvm/include/llvm/IR/
H A DFunction.h283 Optional<ProfileCount> getEntryCount(bool AllowSynthetic = false) const;
291 return getEntryCount(IncludeSynthetic).has_value();
/llvm-project-15.0.7/llvm/lib/ProfileData/
H A DGCOV.cpp357 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 DGCOV.h241 uint64_t getEntryCount() const;
/llvm-project-15.0.7/llvm/lib/DebugInfo/CodeView/
H A DRecordName.cpp213 Name = formatv("<vftable {0} methods>", Shape.getEntryCount()); in visitKnownRecord()
H A DTypeDumpVisitor.cpp405 W->printNumber("VFEntryCount", Shape.getEntryCount()); in visitKnownRecord()
/llvm-project-15.0.7/llvm/lib/IR/
H A DFunction.cpp1976 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 DInlineFunction.cpp1648 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 DTypeRecord.h568 uint32_t getEntryCount() const { return getSlots().size(); } in getEntryCount() function
/llvm-project-15.0.7/llvm/lib/Transforms/IPO/
H A DPartialInlining.cpp1408 auto CalleeEntryCount = Cloner.OrigFunc->getEntryCount(); in tryPartialInline()
H A DSampleProfile.cpp2125 if (!F.getEntryCount()) in runOnFunction()
/llvm-project-15.0.7/llvm/unittests/IR/
H A DMetadataTest.cpp3459 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()