Home
last modified time | relevance | path

Searched refs:ProfileCount (Results 1 – 15 of 15) sorted by relevance

/openbsd-src/gnu/llvm/llvm/lib/Transforms/IPO/
H A DSyntheticCountsPropagation.cpp38 using ProfileCount = Function::ProfileCount; typedef
134 Entry.first->setEntryCount(ProfileCount( in run()
H A DSampleProfile.cpp97 using ProfileCount = Function::ProfileCount; typedef
2309 F.setEntryCount(ProfileCount(initialEntryCount, Function::PCT_Real)); in runOnFunction()
H A DPartialInlining.cpp1461 Cloner.OrigFunc->setEntryCount(Function::ProfileCount( in tryPartialInline()
/openbsd-src/gnu/llvm/llvm/include/llvm/IR/
H A DFunction.h252 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 DSampleProfileLoaderBaseImpl.h47 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 DMIRSampleProfile.cpp36 using ProfileCount = Function::ProfileCount; typedef
/openbsd-src/gnu/llvm/llvm/lib/IR/
H A DFunction.cpp73 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 DFunctionImportUtils.cpp232 F->setEntryCount(Function::ProfileCount(FS->entryCount(), in processGlobalForThinLTO()
H A DCodeExtractor.cpp72 using ProfileCount = Function::ProfileCount; typedef
1791 ProfileCount(*Count, Function::PCT_Real)); // FIXME in extractCodeRegion()
H A DInlineFunction.cpp81 using ProfileCount = Function::ProfileCount; typedef
1855 const ProfileCount &CalleeEntryCount, in updateCallProfile()
/openbsd-src/gnu/llvm/llvm/lib/Analysis/
H A DModuleSummaryAnalysis.cpp128 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 DInlineCost.cpp740 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 DControlHeightReduction.cpp352 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 DPGOInstrumentation.cpp133 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 DBlockFrequencyInfoImpl.h1732 if (std::optional<uint64_t> ProfileCount =
1735 OS << ", count = " << *ProfileCount;