| /openbsd-src/gnu/llvm/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 | 97 using ProfileCount = Function::ProfileCount; typedef 2309 F.setEntryCount(ProfileCount(initialEntryCount, Function::PCT_Real)); in runOnFunction()
|
| H A D | PartialInlining.cpp | 1461 Cloner.OrigFunc->setEntryCount(Function::ProfileCount( in tryPartialInline()
|
| /openbsd-src/gnu/llvm/llvm/include/llvm/IR/ |
| H A D | Function.h | 252 class ProfileCount { 258 ProfileCount(uint64_t Count, ProfileCountType PCT) in ProfileCount() function 271 void setEntryCount(ProfileCount Count, 282 std::optional<ProfileCount> getEntryCount(bool AllowSynthetic = false) const;
|
| /openbsd-src/gnu/llvm/llvm/include/llvm/Transforms/Utils/ |
| H A D | SampleProfileLoaderBaseImpl.h | 47 using ProfileCount = Function::ProfileCount; variable 893 ProfileCount(Samples->getHeadSamples() + 1, Function::PCT_Real), 926 ProfileCount(BlockWeights[EntryBB], Function::PCT_Real),
|
| /openbsd-src/gnu/llvm/llvm/lib/CodeGen/ |
| H A D | MIRSampleProfile.cpp | 36 using ProfileCount = Function::ProfileCount; typedef
|
| /openbsd-src/gnu/llvm/llvm/lib/IR/ |
| H A D | Function.cpp | 73 using ProfileCount = Function::ProfileCount; typedef 2059 void Function::setEntryCount(ProfileCount Count, in setEntryCount() 2078 setEntryCount(ProfileCount(Count, Type), Imports); in setEntryCount() 2081 std::optional<ProfileCount> Function::getEntryCount(bool AllowSynthetic) const { in getEntryCount() 2092 return ProfileCount(Count, PCT_Real); in getEntryCount() 2097 return ProfileCount(Count, PCT_Synthetic); in getEntryCount()
|
| /openbsd-src/gnu/llvm/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 1791 ProfileCount(*Count, Function::PCT_Real)); // FIXME in extractCodeRegion()
|
| H A D | InlineFunction.cpp | 81 using ProfileCount = Function::ProfileCount; typedef 1855 const ProfileCount &CalleeEntryCount, in updateCallProfile()
|
| /openbsd-src/gnu/llvm/llvm/lib/Analysis/ |
| H A D | ModuleSummaryAnalysis.cpp | 128 static CalleeInfo::HotnessType getHotness(uint64_t ProfileCount, in getHotness() argument 132 if (PSI->isHotCount(ProfileCount)) in getHotness() 134 if (PSI->isColdCount(ProfileCount)) in getHotness()
|
| H A D | InlineCost.cpp | 740 auto ProfileCount = BFI->getBlockProfileCount(BB); in onBlockAnalyzed() local 741 if (*ProfileCount == 0) in onBlockAnalyzed() 864 auto ProfileCount = CalleeBFI->getBlockProfileCount(&BB); in costBenefitAnalysis() local 865 CurrentSavings *= *ProfileCount; in costBenefitAnalysis()
|
| /openbsd-src/gnu/llvm/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() 1844 uint64_t ProfileCount) { in fixupBranchesAndSelects() argument 1861 Stats.WeightedNumBranchesDelta += (NumCHRedBranches - 1) * ProfileCount; in fixupBranchesAndSelects()
|
| H A D | PGOInstrumentation.cpp | 133 using ProfileCount = Function::ProfileCount; typedef 1654 F.setEntryCount(ProfileCount(FuncEntryCount, Function::PCT_Real)); in populateCounters() 1977 F.setEntryCount(ProfileCount(NewEntryCount, Function::PCT_Real)); in fixFuncEntryCount() 2154 F.setEntryCount(ProfileCount(0, Function::PCT_Real)); in annotateAllFunctions()
|
| /openbsd-src/gnu/llvm/llvm/include/llvm/Analysis/ |
| H A D | BlockFrequencyInfoImpl.h | 1732 if (std::optional<uint64_t> ProfileCount = 1735 OS << ", count = " << *ProfileCount;
|