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

/freebsd-11-stable/contrib/llvm-project/llvm/lib/Transforms/IPO/
H A DSyntheticCountsPropagation.cpp44 using ProfileCount = Function::ProfileCount;
141 Entry.first->setEntryCount(ProfileCount(
H A DSampleProfile.cpp96 using ProfileCount = Function::ProfileCount;
1725 ProfileCount(Samples->getHeadSamples() + 1, Function::PCT_Real),
1941 F.setEntryCount(ProfileCount(initialEntryCount, Function::PCT_Real));
/freebsd-11-stable/contrib/llvm-project/llvm/lib/Transforms/Utils/
H A DMisExpect.cpp124 const uint64_t ProfileCount = Weights[Index]; local
138 LLVM_DEBUG(llvm::dbgs() << "Profile Count: " << ProfileCount << ":\n");
142 if (ProfileCount < ScaledThreshold)
143 emitMisexpectDiagnostic(I, Ctx, ProfileCount, CaseTotal);
H A DFunctionImportUtils.cpp207 F->setEntryCount(Function::ProfileCount(FS->entryCount(),
H A DCodeExtractor.cpp72 using ProfileCount = Function::ProfileCount;
1521 ProfileCount(Count.getValue(), Function::PCT_Real)); // FIXME
H A DInlineFunction.cpp75 using ProfileCount = Function::ProfileCount;
1500 const ProfileCount &CalleeEntryCount,
/freebsd-11-stable/contrib/llvm-project/llvm/include/llvm/IR/
H A DFunction.h260 class ProfileCount { class in class:llvm::Function
264 static ProfileCount Invalid;
267 ProfileCount() : Count(-1), PCT(PCT_Invalid) {} function in class:llvm::Function::ProfileCount
268 ProfileCount(uint64_t Count, ProfileCountType PCT) function in class:llvm::Function::ProfileCount
277 ProfileCount &setCount(uint64_t C) {
281 static ProfileCount getInvalid() { return ProfileCount(-1, PCT_Invalid); }
290 void setEntryCount(ProfileCount Count,
301 ProfileCount getEntryCount(bool AllowSynthetic = false) const;
/freebsd-11-stable/contrib/llvm-project/llvm/lib/IR/
H A DFunction.cpp69 using ProfileCount = Function::ProfileCount;
1548 void Function::setEntryCount(ProfileCount Count,
1568 setEntryCount(ProfileCount(Count, Type), Imports);
1571 ProfileCount Function::getEntryCount(bool AllowSynthetic) const {
1581 return ProfileCount::getInvalid();
1582 return ProfileCount(Count, PCT_Real);
1587 return ProfileCount(Count, PCT_Synthetic);
1590 return ProfileCount::getInvalid();
/freebsd-11-stable/contrib/llvm-project/llvm/lib/Analysis/
H A DModuleSummaryAnalysis.cpp126 static CalleeInfo::HotnessType getHotness(uint64_t ProfileCount, argument
130 if (PSI->isHotCount(ProfileCount))
132 if (PSI->isColdCount(ProfileCount))
/freebsd-11-stable/contrib/llvm-project/llvm/lib/Transforms/Instrumentation/
H A DControlHeightReduction.cpp389 uint64_t ProfileCount);
1709 Optional<uint64_t> ProfileCount = BFI.getBlockProfileCount(EntryBlock); local
1762 ProfileCount ? ProfileCount.getValue() : 0);
1850 uint64_t ProfileCount) {
1867 Stats.WeightedNumBranchesDelta += (NumCHRedBranches - 1) * ProfileCount;
1847 fixupBranchesAndSelects(CHRScope *Scope, BasicBlock *PreEntryBlock, BranchInst *MergedBR, uint64_t ProfileCount) argument
H A DPGOInstrumentation.cpp124 using ProfileCount = Function::ProfileCount;
1271 F.setEntryCount(ProfileCount(FuncEntryCount, Function::PCT_Real));
1578 F.setEntryCount(ProfileCount(0, Function::PCT_Real));
/freebsd-11-stable/contrib/llvm-project/llvm/include/llvm/Analysis/
H A DBlockFrequencyInfoImpl.h1346 if (Optional<uint64_t> ProfileCount =
1349 OS << ", count = " << ProfileCount.getValue();

Completed in 184 milliseconds