Home
last modified time | relevance | path

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

/freebsd/contrib/llvm-project/llvm/include/llvm/Object/
H A DELFTypes.h830 bool FuncEntryCount : 1;
837 bool hasPGOAnalysis() const { return FuncEntryCount || BBFreq || BrProb; }
843 return (static_cast<uint8_t>(FuncEntryCount) << 0) |
866 return std::tie(FuncEntryCount, BBFreq, BrProb, MultiBBRange,
868 std::tie(Other.FuncEntryCount, Other.BBFreq, Other.BrProb,
1029 uint64_t FuncEntryCount; // Prof count from IR function
1036 return std::tie(FuncEntryCount, BBEntries, FeatEnable) ==
1037 std::tie(Other.FuncEntryCount, Other.BBEntries, Other.FeatEnable);
/freebsd/contrib/llvm-project/llvm/lib/Transforms/Instrumentation/
H A DPGOInstrumentation.cpp1670 uint64_t FuncEntryCount = *getBBInfo(&*F.begin()).Count; in populateCounters() local
1671 uint64_t FuncMaxCount = FuncEntryCount; in populateCounters()
1680 if (FuncMaxCount > 0 && FuncEntryCount == 0) in populateCounters()
1681 FuncEntryCount = 1; in populateCounters()
1682 F.setEntryCount(ProfileCount(FuncEntryCount, Function::PCT_Real)); in populateCounters()
1683 markFunctionAttributes(FuncEntryCount, FuncMaxCount); in populateCounters()
2065 uint64_t FuncEntryCount = *Func.getBBInfo(&*F.begin()).Count; in fixFuncEntryCount() local
2066 uint64_t NewEntryCount = 0.5 + FuncEntryCount * Scale; in fixFuncEntryCount()
2069 if (NewEntryCount != FuncEntryCount) { in fixFuncEntryCount()
2072 << ", entry_count " << FuncEntryCount << " --> " in fixFuncEntryCount()
/freebsd/contrib/llvm-project/llvm/lib/Object/
H A DELF.cpp926 uint64_t FuncEntryCount = in decodeBBAddrMapImpl() local
927 FeatEnable.FuncEntryCount in decodeBBAddrMapImpl()
960 {FuncEntryCount, std::move(PGOBBEntries), FeatEnable}); in decodeBBAddrMapImpl()
/freebsd/contrib/llvm-project/llvm/lib/CodeGen/AsmPrinter/
H A DAsmPrinter.cpp145 FuncEntryCount, enumerator
154 clEnumValN(PGOMapFeaturesEnum::FuncEntryCount, "func-entry-count",
1410 PGOMapFeaturesEnum::FuncEntryCount)); in getBBAddrMapFeature()
1522 if (Features.FuncEntryCount) { in emitBBAddrMapSection()
/freebsd/contrib/llvm-project/llvm/include/llvm/ObjectYAML/
H A DELFYAML.h209 std::optional<uint64_t> FuncEntryCount; member
/freebsd/contrib/llvm-project/llvm/lib/ObjectYAML/
H A DELFEmitter.cpp1522 if (PGOEntry.FuncEntryCount) in writeSectionContent()
1523 SHeader.sh_size += CBA.writeULEB128(*PGOEntry.FuncEntryCount); in writeSectionContent()
H A DELFYAML.cpp1891 IO.mapOptional("FuncEntryCount", E.FuncEntryCount); in mapping()
/freebsd/contrib/llvm-project/llvm/tools/llvm-objdump/
H A Dllvm-objdump.cpp200 if (PGOMap.FeatEnable.FuncEntryCount && PGOBBEntryIndex == 0) { in constructPGOLabelString()
201 PGOSS << "Entry count: " << Twine(PGOMap.FuncEntryCount); in constructPGOLabelString()
/freebsd/contrib/llvm-project/llvm/tools/llvm-readobj/
H A DELFDumper.cpp7947 if (PAM.FeatEnable.FuncEntryCount) in printBBAddrMaps()
7948 W.printNumber("FuncEntryCount", PAM.FuncEntryCount); in printBBAddrMaps()