| /llvm-project-15.0.7/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 | 95 using ProfileCount = Function::ProfileCount; typedef 2126 F.setEntryCount(ProfileCount(initialEntryCount, Function::PCT_Real)); in runOnFunction()
|
| H A D | PartialInlining.cpp | 1465 Cloner.OrigFunc->setEntryCount(Function::ProfileCount( in tryPartialInline()
|
| /llvm-project-15.0.7/llvm/include/llvm/IR/ |
| H A D | Function.h | 253 class ProfileCount { 259 ProfileCount(uint64_t Count, ProfileCountType PCT) in ProfileCount() function 272 void setEntryCount(ProfileCount Count, 283 Optional<ProfileCount> getEntryCount(bool AllowSynthetic = false) const;
|
| /llvm-project-15.0.7/llvm/include/llvm/Transforms/Utils/ |
| H A D | SampleProfileLoaderBaseImpl.h | 47 using ProfileCount = Function::ProfileCount; variable 894 ProfileCount(Samples->getHeadSamples() + 1, Function::PCT_Real), 928 ProfileCount(BlockWeights[EntryBB], Function::PCT_Real),
|
| /llvm-project-15.0.7/llvm/lib/CodeGen/ |
| H A D | MIRSampleProfile.cpp | 36 using ProfileCount = Function::ProfileCount; typedef
|
| /llvm-project-15.0.7/llvm/lib/IR/ |
| H A D | Function.cpp | 73 using ProfileCount = Function::ProfileCount; typedef 1973 void Function::setEntryCount(ProfileCount Count, in setEntryCount() 1992 setEntryCount(ProfileCount(Count, Type), Imports); in setEntryCount() 1995 Optional<ProfileCount> Function::getEntryCount(bool AllowSynthetic) const { in getEntryCount() 2006 return ProfileCount(Count, PCT_Real); in getEntryCount() 2011 return ProfileCount(Count, PCT_Synthetic); in getEntryCount()
|
| /llvm-project-15.0.7/llvm/lib/Transforms/Instrumentation/ |
| H A D | PGOInstrumentation.cpp | 124 using ProfileCount = Function::ProfileCount; typedef 1374 F.setEntryCount(ProfileCount(FuncEntryCount, Function::PCT_Real)); in populateCounters() 1652 F.setEntryCount(ProfileCount(NewEntryCount, Function::PCT_Real)); in fixFuncEntryCount() 1821 F.setEntryCount(ProfileCount(0, Function::PCT_Real)); in annotateAllFunctions() 1831 ProfileCount(HotThreshold * MultiplyFactor, Function::PCT_Real)); in annotateAllFunctions()
|
| H A D | ControlHeightReduction.cpp | 345 uint64_t ProfileCount); 1674 Optional<uint64_t> ProfileCount = BFI.getBlockProfileCount(EntryBlock); in transformScopes() local 1727 ProfileCount.value_or(0)); in transformScopes() 1815 uint64_t ProfileCount) { in fixupBranchesAndSelects() argument 1832 Stats.WeightedNumBranchesDelta += (NumCHRedBranches - 1) * ProfileCount; in fixupBranchesAndSelects()
|
| /llvm-project-15.0.7/llvm/lib/Analysis/ |
| H A D | ModuleSummaryAnalysis.cpp | 124 static CalleeInfo::HotnessType getHotness(uint64_t ProfileCount, in getHotness() argument 128 if (PSI->isHotCount(ProfileCount)) in getHotness() 130 if (PSI->isColdCount(ProfileCount)) in getHotness()
|
| H A D | InlineCost.cpp | 709 auto ProfileCount = BFI->getBlockProfileCount(BB); in onBlockAnalyzed() local 710 assert(ProfileCount); in onBlockAnalyzed() 711 if (ProfileCount.value() == 0) in onBlockAnalyzed() 834 auto ProfileCount = CalleeBFI->getBlockProfileCount(&BB); in costBenefitAnalysis() local 835 assert(ProfileCount); in costBenefitAnalysis() 836 CurrentSavings *= ProfileCount.value(); in costBenefitAnalysis()
|
| /llvm-project-15.0.7/llvm/lib/Transforms/Utils/ |
| H A D | FunctionImportUtils.cpp | 212 F->setEntryCount(Function::ProfileCount(FS->entryCount(), in processGlobalForThinLTO()
|
| H A D | CodeExtractor.cpp | 73 using ProfileCount = Function::ProfileCount; typedef 1781 ProfileCount(Count.value(), Function::PCT_Real)); // FIXME in extractCodeRegion()
|
| H A D | InlineFunction.cpp | 78 using ProfileCount = Function::ProfileCount; typedef 1634 const ProfileCount &CalleeEntryCount, in updateCallProfile()
|
| /llvm-project-15.0.7/llvm/include/llvm/Analysis/ |
| H A D | BlockFrequencyInfoImpl.h | 1732 if (Optional<uint64_t> ProfileCount = 1735 OS << ", count = " << ProfileCount.value();
|