| /freebsd/contrib/llvm-project/llvm/include/llvm/Analysis/ |
| H A D | ProfileSummaryInfo.h | 119 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 D | TailRecursionElimination.cpp | 446 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 D | ProfileSummaryInfo.cpp | 95 return !F.getEntryCount(); in isFunctionHotnessUnknown() 108 auto FunctionCount = F->getEntryCount(); in isFunctionEntryCold()
|
| H A D | InlineCost.cpp | 913 if (!Caller->getEntryCount()) in isCostBenefitAnalysisEnabled() 925 auto EntryCount = F.getEntryCount(); in isCostBenefitAnalysisEnabled() 1018 auto EntryProfileCount = F.getEntryCount(); in costBenefitAnalysis()
|
| H A D | BlockFrequencyInfoImpl.cpp | 592 auto EntryCount = F.getEntryCount(AllowSynthetic); in getProfileCountFromFreq()
|
| /freebsd/contrib/llvm-project/llvm/lib/Transforms/Instrumentation/ |
| H A D | CGProfile.cpp | 67 if (F.isDeclaration() || !F.getEntryCount()) in runCGProfilePass()
|
| H A D | PGOInstrumentation.cpp | 1949 if (auto EntryCount = F.getEntryCount()) in skipPGOGen() 2037 auto BFIEntryCount = F.getEntryCount(); in fixFuncEntryCount()
|
| /freebsd/contrib/llvm-project/llvm/include/llvm/IR/ |
| H A D | Function.h | 327 std::optional<ProfileCount> getEntryCount(bool AllowSynthetic = false) const; 335 return getEntryCount(IncludeSynthetic).has_value();
|
| /freebsd/contrib/llvm-project/llvm/lib/ProfileData/ |
| H A D | GCOV.cpp | 357 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 D | GCOV.h | 246 LLVM_ABI uint64_t getEntryCount() const;
|
| /freebsd/contrib/llvm-project/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()
|
| /freebsd/contrib/llvm-project/llvm/lib/IR/ |
| H A D | Function.cpp | 1102 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 D | MachineFunction.cpp | 1606 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 D | TypeRecord.h | 568 uint32_t getEntryCount() const { return getSlots().size(); } in getEntryCount() function
|
| /freebsd/contrib/llvm-project/llvm/lib/Transforms/IPO/ |
| H A D | PartialInlining.cpp | 1350 auto CalleeEntryCount = Cloner.OrigFunc->getEntryCount(); in tryPartialInline()
|
| H A D | SampleProfile.cpp | 2290 if (!F.getEntryCount()) in runOnFunction()
|
| /freebsd/contrib/llvm-project/llvm/lib/Transforms/Utils/ |
| H A D | InlineFunction.cpp | 2068 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 D | LVCodeViewVisitor.cpp | 2523 W.printNumber("VFEntryCount", Shape.getEntryCount()); in visitKnownRecord()
|
| /freebsd/contrib/llvm-project/llvm/lib/CodeGen/AsmPrinter/ |
| H A D | AsmPrinter.cpp | 1524 auto MaybeEntryCount = MF.getFunction().getEntryCount(); in emitBBAddrMapSection()
|