Home
last modified time | relevance | path

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

/freebsd/contrib/llvm-project/llvm/include/llvm/Analysis/
H A DProfileSummaryInfo.h119 std::optional<Function::ProfileCount> FunctionCount = getEntryCount(F); in isFunctionEntryHot()
131 if (auto FunctionCount = getEntryCount(F)) in isFunctionHotInCallGraph()
151 if (auto FunctionCount = getEntryCount(F)) in isFunctionColdInCallGraph()
281 if (auto FunctionCount = getEntryCount(F)) { in isFunctionHotOrColdInCallGraphNthPercentile()
330 std::optional<Function::ProfileCount> getEntryCount(const FuncT *F) const { in getEntryCount() function
331 return F->getEntryCount(); in getEntryCount()
354 ProfileSummaryInfo::getEntryCount<MachineFunction>(
/freebsd/contrib/llvm-project/llvm/lib/Transforms/Scalar/
H A DTailRecursionElimination.cpp446 OrigEntryCount(F.getEntryCount() ? F.getEntryCount()->getCount() : 0) { in TailRecursionEliminator()
761 assert(F.getEntryCount().has_value()); in eliminateCall()
771 auto OldEntryCount = F.getEntryCount()->getCount(); in eliminateCall()
779 F.setEntryCount(OldEntryCount - ToSubtract, F.getEntryCount()->getType()); in eliminateCall()
995 F.getEntryCount().has_value() && F.getEntryCount()->getCount()) in run()
/freebsd/contrib/llvm-project/llvm/lib/Analysis/
H A DProfileSummaryInfo.cpp95 return !F.getEntryCount(); in isFunctionHotnessUnknown()
108 auto FunctionCount = F->getEntryCount(); in isFunctionEntryCold()
H A DInlineCost.cpp913 if (!Caller->getEntryCount()) in isCostBenefitAnalysisEnabled()
925 auto EntryCount = F.getEntryCount(); in isCostBenefitAnalysisEnabled()
1018 auto EntryProfileCount = F.getEntryCount(); in costBenefitAnalysis()
H A DBlockFrequencyInfoImpl.cpp592 auto EntryCount = F.getEntryCount(AllowSynthetic); in getProfileCountFromFreq()
/freebsd/contrib/llvm-project/llvm/lib/Transforms/Instrumentation/
H A DCGProfile.cpp67 if (F.isDeclaration() || !F.getEntryCount()) in runCGProfilePass()
H A DPGOInstrumentation.cpp1949 if (auto EntryCount = F.getEntryCount()) in skipPGOGen()
2037 auto BFIEntryCount = F.getEntryCount(); in fixFuncEntryCount()
/freebsd/contrib/llvm-project/llvm/include/llvm/IR/
H A DFunction.h327 std::optional<ProfileCount> getEntryCount(bool AllowSynthetic = false) const;
335 return getEntryCount(IncludeSynthetic).has_value();
/freebsd/contrib/llvm-project/llvm/lib/ProfileData/
H A DGCOV.cpp357 uint64_t GCOVFunction::getEntryCount() const { in getEntryCount() function in GCOVFunction
848 os << "function:" << f->startLine << ',' << f->getEntryCount() << ',' in printSourceToIntermediate()
954 const uint64_t entryCount = f.getEntryCount(); in printFunctionDetails()
/freebsd/contrib/llvm-project/llvm/include/llvm/ProfileData/
H A DGCOV.h246 LLVM_ABI uint64_t getEntryCount() const;
/freebsd/contrib/llvm-project/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()
/freebsd/contrib/llvm-project/llvm/lib/IR/
H A DFunction.cpp1102 auto PrevCount = getEntryCount(); in setEntryCount()
1121 std::optional<ProfileCount> Function::getEntryCount(bool AllowSynthetic) const { in getEntryCount() function in Function
/freebsd/contrib/llvm-project/llvm/lib/CodeGen/
H A DMachineFunction.cpp1606 ProfileSummaryInfo::getEntryCount<llvm::MachineFunction>( in getEntryCount() function in ProfileSummaryInfo
1608 return F->getFunction().getEntryCount(); in getEntryCount()
/freebsd/contrib/llvm-project/llvm/include/llvm/DebugInfo/CodeView/
H A DTypeRecord.h568 uint32_t getEntryCount() const { return getSlots().size(); } in getEntryCount() function
/freebsd/contrib/llvm-project/llvm/lib/Transforms/IPO/
H A DPartialInlining.cpp1350 auto CalleeEntryCount = Cloner.OrigFunc->getEntryCount(); in tryPartialInline()
H A DSampleProfile.cpp2290 if (!F.getEntryCount()) in runOnFunction()
/freebsd/contrib/llvm-project/llvm/lib/Transforms/Utils/
H A DInlineFunction.cpp2068 auto CalleeCount = Callee->getEntryCount(); in updateProfileCallee()
2719 if (auto Profile = CalledFunc->getEntryCount()) in InlineFunction()
/freebsd/contrib/llvm-project/llvm/lib/DebugInfo/LogicalView/Readers/
H A DLVCodeViewVisitor.cpp2523 W.printNumber("VFEntryCount", Shape.getEntryCount()); in visitKnownRecord()
/freebsd/contrib/llvm-project/llvm/lib/CodeGen/AsmPrinter/
H A DAsmPrinter.cpp1524 auto MaybeEntryCount = MF.getFunction().getEntryCount(); in emitBBAddrMapSection()