Home
last modified time | relevance | path

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

/freebsd/contrib/llvm-project/llvm/include/llvm/Analysis/
H A DProfileSummaryInfo.h119 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 DBlockFrequencyInfoImpl.h1699 if (std::optional<uint64_t> ProfileCount =
1702 OS << ", count = " << *ProfileCount;
/freebsd/contrib/llvm-project/llvm/include/llvm/IR/
H A DFunction.h297 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 DFunction.cpp59 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 DSampleProfileLoaderBaseImpl.h50 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 DMIRSampleProfile.cpp40 using ProfileCount = Function::ProfileCount; typedef
H A DMachineFunction.cpp1605 std::optional<Function::ProfileCount>
/freebsd/contrib/llvm-project/llvm/lib/Analysis/
H A DModuleSummaryAnalysis.cpp167 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 DInlineCost.cpp858 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 DControlHeightReduction.cpp350 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 DPGOInstrumentation.cpp131 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 DSampleProfile.cpp97 using ProfileCount = Function::ProfileCount; typedef
2291 F.setEntryCount(ProfileCount(initialEntryCount, Function::PCT_Real)); in runOnFunction()
H A DPartialInlining.cpp1406 Cloner.OrigFunc->setEntryCount(Function::ProfileCount( in tryPartialInline()
/freebsd/contrib/llvm-project/llvm/lib/Transforms/Utils/
H A DCodeExtractor.cpp71 using ProfileCount = Function::ProfileCount; typedef
1059 ProfileCount(*Count, Function::PCT_Real)); // FIXME in constructFunctionDeclaration()
H A DInlineFunction.cpp90 using ProfileCount = Function::ProfileCount; typedef
2053 const ProfileCount &CalleeEntryCount, in updateCallProfile()