Searched refs:ProfileCount (Results 1 – 11 of 11) sorted by relevance
| /freebsd-12.1/contrib/llvm/include/llvm/IR/ |
| H A D | Function.h | 261 class ProfileCount { 265 static ProfileCount Invalid; 268 ProfileCount() : Count(-1), PCT(PCT_Invalid) {} in ProfileCount() function 269 ProfileCount(uint64_t Count, ProfileCountType PCT) in ProfileCount() function 278 ProfileCount &setCount(uint64_t C) { in setCount() 282 static ProfileCount getInvalid() { return ProfileCount(-1, PCT_Invalid); } in getInvalid() 291 void setEntryCount(ProfileCount Count, 302 ProfileCount getEntryCount() const;
|
| /freebsd-12.1/contrib/llvm/lib/Transforms/IPO/ |
| H A D | SyntheticCountsPropagation.cpp | 45 using ProfileCount = Function::ProfileCount; typedef 142 Entry.first->setEntryCount(ProfileCount( in run()
|
| H A D | SampleProfile.cpp | 90 using ProfileCount = Function::ProfileCount; typedef 1475 ProfileCount(Samples->getHeadSamples() + 1, Function::PCT_Real), in emitAnnotations() 1629 F.setEntryCount(ProfileCount(initialEntryCount, Function::PCT_Real)); in runOnFunction()
|
| /freebsd-12.1/contrib/llvm/lib/IR/ |
| H A D | Function.cpp | 57 using ProfileCount = Function::ProfileCount; typedef 1363 void Function::setEntryCount(ProfileCount Count, in setEntryCount() 1378 setEntryCount(ProfileCount(Count, Type), Imports); in setEntryCount() 1381 ProfileCount Function::getEntryCount() const { in getEntryCount() 1391 return ProfileCount::getInvalid(); in getEntryCount() 1392 return ProfileCount(Count, PCT_Real); in getEntryCount() 1396 return ProfileCount(Count, PCT_Synthetic); in getEntryCount() 1399 return ProfileCount::getInvalid(); in getEntryCount()
|
| /freebsd-12.1/contrib/llvm/lib/Analysis/ |
| H A D | ModuleSummaryAnalysis.cpp | 121 static CalleeInfo::HotnessType getHotness(uint64_t ProfileCount, in getHotness() argument 125 if (PSI->isHotCount(ProfileCount)) in getHotness() 127 if (PSI->isColdCount(ProfileCount)) in getHotness()
|
| /freebsd-12.1/contrib/llvm/lib/Transforms/Utils/ |
| H A D | FunctionImportUtils.cpp | 216 F->setEntryCount(Function::ProfileCount(FS->entryCount(), in processGlobalForThinLTO()
|
| H A D | CodeExtractor.cpp | 70 using ProfileCount = Function::ProfileCount; typedef 1380 ProfileCount(Count.getValue(), Function::PCT_Real)); // FIXME in extractCodeRegion()
|
| H A D | InlineFunction.cpp | 76 using ProfileCount = Function::ProfileCount; typedef 1443 const ProfileCount &CalleeEntryCount, in updateCallProfile()
|
| /freebsd-12.1/contrib/llvm/lib/Transforms/Instrumentation/ |
| H A D | ControlHeightReduction.cpp | 388 uint64_t ProfileCount); 1667 Optional<uint64_t> ProfileCount = BFI.getBlockProfileCount(EntryBlock); in transformScopes() local 1720 ProfileCount ? ProfileCount.getValue() : 0); in transformScopes() 1808 uint64_t ProfileCount) { in fixupBranchesAndSelects() argument 1825 Stats.WeightedNumBranchesDelta += (NumCHRedBranches - 1) * ProfileCount; in fixupBranchesAndSelects()
|
| H A D | PGOInstrumentation.cpp | 122 using ProfileCount = Function::ProfileCount; typedef 1150 F.setEntryCount(ProfileCount(FuncEntryCount, Function::PCT_Real)); in populateCounters() 1486 F.setEntryCount(ProfileCount(0, Function::PCT_Real)); in annotateAllFunctions()
|
| /freebsd-12.1/contrib/llvm/include/llvm/Analysis/ |
| H A D | BlockFrequencyInfoImpl.h | 1345 if (Optional<uint64_t> ProfileCount = 1348 OS << ", count = " << ProfileCount.getValue();
|