Home
last modified time | relevance | path

Searched refs:FuncEntryCount (Results 1 – 8 of 8) sorted by relevance

/freebsd-14.2/contrib/llvm-project/llvm/include/llvm/Object/
H A DELFTypes.h884 bool FuncEntryCount : 1;
889 bool anyEnabled() const { return FuncEntryCount || BBFreq || BrProb; }
893 return (static_cast<uint8_t>(FuncEntryCount) << 0) |
912 return std::tie(FuncEntryCount, BBFreq, BrProb) ==
913 std::tie(Other.FuncEntryCount, Other.BBFreq, Other.BrProb);
944 uint64_t FuncEntryCount; // Prof count from IR function
951 return std::tie(FuncEntryCount, BBEntries, FeatEnable) ==
952 std::tie(Other.FuncEntryCount, Other.BBEntries, Other.FeatEnable);
/freebsd-14.2/contrib/llvm-project/llvm/lib/Transforms/Instrumentation/
H A DPGOInstrumentation.cpp1533 uint64_t FuncEntryCount = getBBInfo(&*F.begin()).CountValue; in populateCounters() local
1534 uint64_t FuncMaxCount = FuncEntryCount; in populateCounters()
1543 if (FuncMaxCount > 0 && FuncEntryCount == 0) in populateCounters()
1544 FuncEntryCount = 1; in populateCounters()
1545 F.setEntryCount(ProfileCount(FuncEntryCount, Function::PCT_Real)); in populateCounters()
1546 markFunctionAttributes(FuncEntryCount, FuncMaxCount); in populateCounters()
1869 uint64_t FuncEntryCount = Func.getBBInfo(&*F.begin()).CountValue; in fixFuncEntryCount() local
1870 uint64_t NewEntryCount = 0.5 + FuncEntryCount * Scale; in fixFuncEntryCount()
1873 if (NewEntryCount != FuncEntryCount) { in fixFuncEntryCount()
1876 << ", entry_count " << FuncEntryCount << " --> " in fixFuncEntryCount()
/freebsd-14.2/contrib/llvm-project/llvm/lib/Object/
H A DELF.cpp779 uint64_t FuncEntryCount = in decodeBBAddrMapImpl() local
780 FeatEnable.FuncEntryCount in decodeBBAddrMapImpl()
813 {FuncEntryCount, std::move(PGOBBEntries), FeatEnable}); in decodeBBAddrMapImpl()
/freebsd-14.2/contrib/llvm-project/llvm/include/llvm/ObjectYAML/
H A DELFYAML.h182 std::optional<uint64_t> FuncEntryCount; member
/freebsd-14.2/contrib/llvm-project/llvm/lib/ObjectYAML/
H A DELFEmitter.cpp1452 if (PGOEntry.FuncEntryCount) in writeSectionContent()
1453 SHeader.sh_size += CBA.writeULEB128(*PGOEntry.FuncEntryCount); in writeSectionContent()
H A DELFYAML.cpp1832 IO.mapOptional("FuncEntryCount", E.FuncEntryCount); in mapping()
/freebsd-14.2/contrib/llvm-project/llvm/lib/CodeGen/AsmPrinter/
H A DAsmPrinter.cpp142 FuncEntryCount, enumerator
148 cl::values(clEnumValN(PGOMapFeaturesEnum::FuncEntryCount,
1426 if (FeatEnable.FuncEntryCount) { in emitBBAddrMapSection()
/freebsd-14.2/contrib/llvm-project/llvm/tools/llvm-objdump/
H A Dllvm-objdump.cpp1277 if (PGOMap.FeatEnable.FuncEntryCount && BBEntryIndex == 0) { in constructPGOLabelString()
1278 PGOSS << "Entry count: " << Twine(PGOMap.FuncEntryCount); in constructPGOLabelString()