Home
last modified time | relevance | path

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

/freebsd-14.2/contrib/llvm-project/llvm/lib/Transforms/IPO/
H A DSyntheticCountsPropagation.cpp38 using ProfileCount = Function::ProfileCount; typedef
134 Entry.first->setEntryCount(ProfileCount( in run()
H A DSampleProfile.cpp97 using ProfileCount = Function::ProfileCount; typedef
2657 F.setEntryCount(ProfileCount(initialEntryCount, Function::PCT_Real)); in runOnFunction()
H A DPartialInlining.cpp1415 Cloner.OrigFunc->setEntryCount(Function::ProfileCount( in tryPartialInline()
/freebsd-14.2/contrib/llvm-project/llvm/include/llvm/Analysis/
H A DProfileSummaryInfo.h118 std::optional<Function::ProfileCount> FunctionCount = getEntryCount(F); in isFunctionEntryHot()
326 std::optional<Function::ProfileCount> getEntryCount(const FuncT *F) const { in getEntryCount()
349 std::optional<Function::ProfileCount>
H A DBlockFrequencyInfoImpl.h1727 if (std::optional<uint64_t> ProfileCount =
1730 OS << ", count = " << *ProfileCount;
/freebsd-14.2/contrib/llvm-project/llvm/include/llvm/IR/
H A DFunction.h277 class ProfileCount {
283 ProfileCount(uint64_t Count, ProfileCountType PCT) in ProfileCount() function
296 void setEntryCount(ProfileCount Count,
307 std::optional<ProfileCount> getEntryCount(bool AllowSynthetic = false) const;
/freebsd-14.2/contrib/llvm-project/llvm/lib/CodeGen/
H A DMIRSampleProfile.cpp40 using ProfileCount = Function::ProfileCount; typedef
H A DMachineFunction.cpp1523 std::optional<Function::ProfileCount>
/freebsd-14.2/contrib/llvm-project/llvm/include/llvm/Transforms/Utils/
H A DSampleProfileLoaderBaseImpl.h49 using ProfileCount = Function::ProfileCount; variable
1036 ProfileCount(Samples->getHeadSamples() + 1, Function::PCT_Real),
1069 ProfileCount(BlockWeights[EntryBB], Function::PCT_Real),
/freebsd-14.2/contrib/llvm-project/llvm/lib/IR/
H A DFunction.cpp74 using ProfileCount = Function::ProfileCount; typedef
1930 void Function::setEntryCount(ProfileCount Count, in setEntryCount()
1949 setEntryCount(ProfileCount(Count, Type), Imports); in setEntryCount()
1952 std::optional<ProfileCount> Function::getEntryCount(bool AllowSynthetic) const { in getEntryCount()
1963 return ProfileCount(Count, PCT_Real); in getEntryCount()
1968 return ProfileCount(Count, PCT_Synthetic); in getEntryCount()
/freebsd-14.2/contrib/llvm-project/llvm/lib/Transforms/Utils/
H A DFunctionImportUtils.cpp232 F->setEntryCount(Function::ProfileCount(FS->entryCount(), in processGlobalForThinLTO()
H A DCodeExtractor.cpp72 using ProfileCount = Function::ProfileCount; typedef
1830 ProfileCount(*Count, Function::PCT_Real)); // FIXME in extractCodeRegion()
H A DInlineFunction.cpp82 using ProfileCount = Function::ProfileCount; typedef
1881 const ProfileCount &CalleeEntryCount, in updateCallProfile()
/freebsd-14.2/contrib/llvm-project/llvm/lib/Analysis/
H A DModuleSummaryAnalysis.cpp130 static CalleeInfo::HotnessType getHotness(uint64_t ProfileCount, in getHotness() argument
134 if (PSI->isHotCount(ProfileCount)) in getHotness()
136 if (PSI->isColdCount(ProfileCount)) in getHotness()
H A DInlineCost.cpp754 auto ProfileCount = BFI->getBlockProfileCount(BB); in onBlockAnalyzed() local
755 if (*ProfileCount == 0) in onBlockAnalyzed()
907 auto ProfileCount = CalleeBFI->getBlockProfileCount(&BB); in costBenefitAnalysis() local
908 CurrentSavings *= *ProfileCount; in costBenefitAnalysis()
/freebsd-14.2/contrib/llvm-project/llvm/lib/Transforms/Instrumentation/
H A DPGOInstrumentation.cpp128 using ProfileCount = Function::ProfileCount; typedef
1545 F.setEntryCount(ProfileCount(FuncEntryCount, Function::PCT_Real)); in populateCounters()
1874 F.setEntryCount(ProfileCount(NewEntryCount, Function::PCT_Real)); in fixFuncEntryCount()
2046 F.setEntryCount(ProfileCount(0, Function::PCT_Real)); in annotateAllFunctions()
H A DControlHeightReduction.cpp351 BranchInst *MergedBR, uint64_t ProfileCount);
1703 std::optional<uint64_t> ProfileCount = BFI.getBlockProfileCount(EntryBlock); in transformScopes() local
1756 ProfileCount.value_or(0)); in transformScopes()
1850 uint64_t ProfileCount) { in fixupBranchesAndSelects() argument
1867 Stats.WeightedNumBranchesDelta += (NumCHRedBranches - 1) * ProfileCount; in fixupBranchesAndSelects()