Home
last modified time | relevance | path

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

/freebsd-11-stable/contrib/llvm-project/llvm/include/llvm/IR/
HDFunction.h260 class ProfileCount {
264 static ProfileCount Invalid;
267 ProfileCount() : Count(-1), PCT(PCT_Invalid) {} in ProfileCount() function
268 ProfileCount(uint64_t Count, ProfileCountType PCT) in ProfileCount() function
277 ProfileCount &setCount(uint64_t C) { in setCount()
281 static ProfileCount getInvalid() { return ProfileCount(-1, PCT_Invalid); } in getInvalid()
290 void setEntryCount(ProfileCount Count,
301 ProfileCount getEntryCount(bool AllowSynthetic = false) const;
/freebsd-11-stable/contrib/llvm-project/llvm/lib/Transforms/Utils/
HDMisExpect.cpp124 const uint64_t ProfileCount = Weights[Index]; in verifyMisExpect() local
138 LLVM_DEBUG(llvm::dbgs() << "Profile Count: " << ProfileCount << ":\n"); in verifyMisExpect()
142 if (ProfileCount < ScaledThreshold) in verifyMisExpect()
143 emitMisexpectDiagnostic(I, Ctx, ProfileCount, CaseTotal); in verifyMisExpect()
HDFunctionImportUtils.cpp207 F->setEntryCount(Function::ProfileCount(FS->entryCount(), in processGlobalForThinLTO()
HDCodeExtractor.cpp72 using ProfileCount = Function::ProfileCount; typedef
1521 ProfileCount(Count.getValue(), Function::PCT_Real)); // FIXME in extractCodeRegion()
HDInlineFunction.cpp75 using ProfileCount = Function::ProfileCount; typedef
1500 const ProfileCount &CalleeEntryCount, in updateCallProfile()
/freebsd-11-stable/contrib/llvm-project/llvm/lib/Transforms/IPO/
HDSyntheticCountsPropagation.cpp44 using ProfileCount = Function::ProfileCount; typedef
141 Entry.first->setEntryCount(ProfileCount( in run()
HDSampleProfile.cpp96 using ProfileCount = Function::ProfileCount; typedef
1725 ProfileCount(Samples->getHeadSamples() + 1, Function::PCT_Real), in emitAnnotations()
1941 F.setEntryCount(ProfileCount(initialEntryCount, Function::PCT_Real)); in runOnFunction()
/freebsd-11-stable/contrib/llvm-project/llvm/lib/IR/
HDFunction.cpp69 using ProfileCount = Function::ProfileCount; typedef
1548 void Function::setEntryCount(ProfileCount Count, in setEntryCount()
1568 setEntryCount(ProfileCount(Count, Type), Imports); in setEntryCount()
1571 ProfileCount Function::getEntryCount(bool AllowSynthetic) const { in getEntryCount()
1581 return ProfileCount::getInvalid(); in getEntryCount()
1582 return ProfileCount(Count, PCT_Real); in getEntryCount()
1587 return ProfileCount(Count, PCT_Synthetic); in getEntryCount()
1590 return ProfileCount::getInvalid(); in getEntryCount()
/freebsd-11-stable/contrib/llvm-project/llvm/lib/Analysis/
HDModuleSummaryAnalysis.cpp126 static CalleeInfo::HotnessType getHotness(uint64_t ProfileCount, in getHotness() argument
130 if (PSI->isHotCount(ProfileCount)) in getHotness()
132 if (PSI->isColdCount(ProfileCount)) in getHotness()
/freebsd-11-stable/contrib/llvm-project/llvm/lib/Transforms/Instrumentation/
HDControlHeightReduction.cpp389 uint64_t ProfileCount);
1709 Optional<uint64_t> ProfileCount = BFI.getBlockProfileCount(EntryBlock); in transformScopes() local
1762 ProfileCount ? ProfileCount.getValue() : 0); in transformScopes()
1850 uint64_t ProfileCount) { in fixupBranchesAndSelects() argument
1867 Stats.WeightedNumBranchesDelta += (NumCHRedBranches - 1) * ProfileCount; in fixupBranchesAndSelects()
HDPGOInstrumentation.cpp124 using ProfileCount = Function::ProfileCount; typedef
1271 F.setEntryCount(ProfileCount(FuncEntryCount, Function::PCT_Real)); in populateCounters()
1578 F.setEntryCount(ProfileCount(0, Function::PCT_Real)); in annotateAllFunctions()
/freebsd-11-stable/contrib/llvm-project/llvm/include/llvm/Analysis/
HDBlockFrequencyInfoImpl.h1346 if (Optional<uint64_t> ProfileCount =
1349 OS << ", count = " << ProfileCount.getValue();