| /freebsd/contrib/llvm-project/llvm/include/llvm/Analysis/ |
| H A D | ProfileSummaryInfo.h | 119 std::optional<Function::ProfileCount> FunctionCount = getEntryCount(F); in isFunctionEntryHot() 330 std::optional<Function::ProfileCount> getEntryCount(const FuncT *F) const { in getEntryCount() 353 std::optional<Function::ProfileCount>
|
| H A D | BlockFrequencyInfoImpl.h | 1699 if (std::optional<uint64_t> ProfileCount = 1702 OS << ", count = " << *ProfileCount;
|
| /freebsd/contrib/llvm-project/llvm/include/llvm/IR/ |
| H A D | Function.h | 297 class ProfileCount { 303 ProfileCount(uint64_t Count, ProfileCountType PCT) in ProfileCount() function 316 void setEntryCount(ProfileCount Count, 327 std::optional<ProfileCount> getEntryCount(bool AllowSynthetic = false) const;
|
| /freebsd/contrib/llvm-project/llvm/lib/IR/ |
| H A D | Function.cpp | 59 using ProfileCount = Function::ProfileCount; typedef 1099 void Function::setEntryCount(ProfileCount Count, in setEntryCount() 1118 setEntryCount(ProfileCount(Count, Type), Imports); in setEntryCount() 1121 std::optional<ProfileCount> Function::getEntryCount(bool AllowSynthetic) const { in getEntryCount() 1132 return ProfileCount(Count, PCT_Real); in getEntryCount() 1138 return ProfileCount(Count, PCT_Synthetic); in getEntryCount()
|
| /freebsd/contrib/llvm-project/llvm/include/llvm/Transforms/Utils/ |
| H A D | SampleProfileLoaderBaseImpl.h | 50 using ProfileCount = Function::ProfileCount; variable 1061 ProfileCount(Samples->getHeadSamples() + 1, Function::PCT_Real), 1094 ProfileCount(BlockWeights[EntryBB], Function::PCT_Real),
|
| /freebsd/contrib/llvm-project/llvm/lib/CodeGen/ |
| H A D | MIRSampleProfile.cpp | 40 using ProfileCount = Function::ProfileCount; typedef
|
| H A D | MachineFunction.cpp | 1605 std::optional<Function::ProfileCount>
|
| /freebsd/contrib/llvm-project/llvm/lib/Analysis/ |
| H A D | ModuleSummaryAnalysis.cpp | 167 static CalleeInfo::HotnessType getHotness(uint64_t ProfileCount, in getHotness() argument 171 if (PSI->isHotCount(ProfileCount)) in getHotness() 173 if (PSI->isColdCount(ProfileCount)) in getHotness()
|
| H A D | InlineCost.cpp | 858 auto ProfileCount = BFI->getBlockProfileCount(BB); in onBlockAnalyzed() local 859 if (*ProfileCount == 0) in onBlockAnalyzed() 1012 auto ProfileCount = CalleeBFI->getBlockProfileCount(&BB); in costBenefitAnalysis() local 1013 CurrentSavings *= *ProfileCount; in costBenefitAnalysis()
|
| /freebsd/contrib/llvm-project/llvm/lib/Transforms/Instrumentation/ |
| H A D | ControlHeightReduction.cpp | 350 BranchInst *MergedBR, uint64_t ProfileCount); 1694 std::optional<uint64_t> ProfileCount = BFI.getBlockProfileCount(EntryBlock); in transformScopes() local 1747 ProfileCount.value_or(0)); in transformScopes() 1841 uint64_t ProfileCount) { in fixupBranchesAndSelects() argument 1859 Stats.WeightedNumBranchesDelta += (NumCHRedBranches - 1) * ProfileCount; in fixupBranchesAndSelects()
|
| H A D | PGOInstrumentation.cpp | 131 using ProfileCount = Function::ProfileCount; typedef 1682 F.setEntryCount(ProfileCount(FuncEntryCount, Function::PCT_Real)); in populateCounters() 2070 F.setEntryCount(ProfileCount(NewEntryCount, Function::PCT_Real)); in fixFuncEntryCount() 2262 F.setEntryCount(ProfileCount(0, Function::PCT_Real)); in annotateAllFunctions()
|
| /freebsd/contrib/llvm-project/llvm/lib/Transforms/IPO/ |
| H A D | SampleProfile.cpp | 97 using ProfileCount = Function::ProfileCount; typedef 2291 F.setEntryCount(ProfileCount(initialEntryCount, Function::PCT_Real)); in runOnFunction()
|
| H A D | PartialInlining.cpp | 1406 Cloner.OrigFunc->setEntryCount(Function::ProfileCount( in tryPartialInline()
|
| /freebsd/contrib/llvm-project/llvm/lib/Transforms/Utils/ |
| H A D | CodeExtractor.cpp | 71 using ProfileCount = Function::ProfileCount; typedef 1059 ProfileCount(*Count, Function::PCT_Real)); // FIXME in constructFunctionDeclaration()
|
| H A D | InlineFunction.cpp | 90 using ProfileCount = Function::ProfileCount; typedef 2053 const ProfileCount &CalleeEntryCount, in updateCallProfile()
|