| /freebsd-14.2/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 | 97 using ProfileCount = Function::ProfileCount; typedef 2657 F.setEntryCount(ProfileCount(initialEntryCount, Function::PCT_Real)); in runOnFunction()
|
| H A D | PartialInlining.cpp | 1415 Cloner.OrigFunc->setEntryCount(Function::ProfileCount( in tryPartialInline()
|
| /freebsd-14.2/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 | 1727 if (std::optional<uint64_t> ProfileCount = 1730 OS << ", count = " << *ProfileCount;
|
| /freebsd-14.2/contrib/llvm-project/llvm/include/llvm/IR/ |
| H A D | Function.h | 277 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 D | MIRSampleProfile.cpp | 40 using ProfileCount = Function::ProfileCount; typedef
|
| H A D | MachineFunction.cpp | 1523 std::optional<Function::ProfileCount>
|
| /freebsd-14.2/contrib/llvm-project/llvm/include/llvm/Transforms/Utils/ |
| H A D | SampleProfileLoaderBaseImpl.h | 49 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 D | Function.cpp | 74 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 D | FunctionImportUtils.cpp | 232 F->setEntryCount(Function::ProfileCount(FS->entryCount(), in processGlobalForThinLTO()
|
| H A D | CodeExtractor.cpp | 72 using ProfileCount = Function::ProfileCount; typedef 1830 ProfileCount(*Count, Function::PCT_Real)); // FIXME in extractCodeRegion()
|
| H A D | InlineFunction.cpp | 82 using ProfileCount = Function::ProfileCount; typedef 1881 const ProfileCount &CalleeEntryCount, in updateCallProfile()
|
| /freebsd-14.2/contrib/llvm-project/llvm/lib/Analysis/ |
| H A D | ModuleSummaryAnalysis.cpp | 130 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 D | InlineCost.cpp | 754 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 D | PGOInstrumentation.cpp | 128 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 D | ControlHeightReduction.cpp | 351 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()
|