/freebsd/contrib/llvm-project/llvm/lib/Transforms/IPO/ |
H A D | SyntheticCountsPropagation.cpp | 38 using ProfileCount = Function::ProfileCount; typedef 134 Entry.first->setEntryCount(ProfileCount( in run()
|
H A D | SampleProfile.cpp | 98 using ProfileCount = Function::ProfileCount; typedef 2269 F.setEntryCount(ProfileCount(initialEntryCount, Function::PCT_Real)); in runOnFunction()
|
H A D | PartialInlining.cpp | 1415 Cloner.OrigFunc->setEntryCount(Function::ProfileCount( in tryPartialInline()
|
/freebsd/contrib/llvm-project/llvm/include/llvm/Analysis/ |
H A D | ProfileSummaryInfo.h | 118 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 D | BlockFrequencyInfoImpl.h | 1724 if (std::optional<uint64_t> ProfileCount = 1727 OS << ", count = " << *ProfileCount;
|
/freebsd/contrib/llvm-project/llvm/include/llvm/IR/ |
H A D | Function.h | 289 class ProfileCount { 295 ProfileCount(uint64_t Count, ProfileCountType PCT) in ProfileCount() function 308 void setEntryCount(ProfileCount Count, 319 std::optional<ProfileCount> getEntryCount(bool AllowSynthetic = false) const;
|
/freebsd/contrib/llvm-project/llvm/lib/CodeGen/ |
H A D | MIRSampleProfile.cpp | 40 using ProfileCount = Function::ProfileCount; typedef
|
H A D | MachineFunction.cpp | 1535 std::optional<Function::ProfileCount>
|
/freebsd/contrib/llvm-project/llvm/include/llvm/Transforms/Utils/ |
H A D | SampleProfileLoaderBaseImpl.h | 50 using ProfileCount = Function::ProfileCount; variable 1064 ProfileCount(Samples->getHeadSamples() + 1, Function::PCT_Real), 1097 ProfileCount(BlockWeights[EntryBB], Function::PCT_Real),
|
/freebsd/contrib/llvm-project/llvm/lib/IR/ |
H A D | Function.cpp | 76 using ProfileCount = Function::ProfileCount; typedef 2026 void Function::setEntryCount(ProfileCount Count, in setEntryCount() 2045 setEntryCount(ProfileCount(Count, Type), Imports); in setEntryCount() 2048 std::optional<ProfileCount> Function::getEntryCount(bool AllowSynthetic) const { in getEntryCount() 2059 return ProfileCount(Count, PCT_Real); in getEntryCount() 2064 return ProfileCount(Count, PCT_Synthetic); in getEntryCount()
|
/freebsd/contrib/llvm-project/llvm/lib/Transforms/Utils/ |
H A D | FunctionImportUtils.cpp | 232 F->setEntryCount(Function::ProfileCount(FS->entryCount(), in processGlobalForThinLTO()
|
H A D | CodeExtractor.cpp | 72 using ProfileCount = Function::ProfileCount; typedef 1868 ProfileCount(*Count, Function::PCT_Real)); // FIXME in extractCodeRegion()
|
H A D | InlineFunction.cpp | 85 using ProfileCount = Function::ProfileCount; typedef 1965 const ProfileCount &CalleeEntryCount, in updateCallProfile()
|
/freebsd/contrib/llvm-project/llvm/lib/Analysis/ |
H A D | ModuleSummaryAnalysis.cpp | 161 static CalleeInfo::HotnessType getHotness(uint64_t ProfileCount, in getHotness() argument 165 if (PSI->isHotCount(ProfileCount)) in getHotness() 167 if (PSI->isColdCount(ProfileCount)) in getHotness()
|
H A D | InlineCost.cpp | 760 auto ProfileCount = BFI->getBlockProfileCount(BB); in onBlockAnalyzed() local 761 if (*ProfileCount == 0) in onBlockAnalyzed() 913 auto ProfileCount = CalleeBFI->getBlockProfileCount(&BB); in costBenefitAnalysis() local 914 CurrentSavings *= *ProfileCount; in costBenefitAnalysis()
|
/freebsd/contrib/llvm-project/llvm/lib/Transforms/Instrumentation/ |
H A D | ControlHeightReduction.cpp | 352 BranchInst *MergedBR, uint64_t ProfileCount); 1704 std::optional<uint64_t> ProfileCount = BFI.getBlockProfileCount(EntryBlock); in transformScopes() local 1757 ProfileCount.value_or(0)); in transformScopes() 1851 uint64_t ProfileCount) { in fixupBranchesAndSelects() argument 1868 Stats.WeightedNumBranchesDelta += (NumCHRedBranches - 1) * ProfileCount; in fixupBranchesAndSelects()
|
H A D | PGOInstrumentation.cpp | 130 using ProfileCount = Function::ProfileCount; typedef 1599 F.setEntryCount(ProfileCount(FuncEntryCount, Function::PCT_Real)); in populateCounters() 1968 F.setEntryCount(ProfileCount(NewEntryCount, Function::PCT_Real)); in fixFuncEntryCount() 2151 F.setEntryCount(ProfileCount(0, Function::PCT_Real)); in annotateAllFunctions()
|