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.h829 bool FuncEntryCount : 1;
834 bool hasPGOAnalysis() const { return FuncEntryCount || BBFreq || BrProb; }
840 return (static_cast<uint8_t>(FuncEntryCount) << 0) |
860 return std::tie(FuncEntryCount, BBFreq, BrProb, MultiBBRange) ==
861 std::tie(Other.FuncEntryCount, Other.BBFreq, Other.BrProb,
1014 uint64_t FuncEntryCount; // Prof count from IR function
1021 return std::tie(FuncEntryCount, BBEntries, FeatEnable) ==
1022 std::tie(Other.FuncEntryCount, Other.BBEntries, Other.FeatEnable);
/freebsd/contrib/llvm-project/llvm/lib/Transforms/Instrumentation/
H A DPGOInstrumentation.cpp1587 uint64_t FuncEntryCount = *getBBInfo(&*F.begin()).Count; in populateCounters() local
1588 uint64_t FuncMaxCount = FuncEntryCount; in populateCounters()
1597 if (FuncMaxCount > 0 && FuncEntryCount == 0) in populateCounters()
1598 FuncEntryCount = 1; in populateCounters()
1599 F.setEntryCount(ProfileCount(FuncEntryCount, Function::PCT_Real)); in populateCounters()
1600 markFunctionAttributes(FuncEntryCount, FuncMaxCount); in populateCounters()
1963 uint64_t FuncEntryCount = *Func.getBBInfo(&*F.begin()).Count; in fixFuncEntryCount() local
1964 uint64_t NewEntryCount = 0.5 + FuncEntryCount * Scale; in fixFuncEntryCount()
1967 if (NewEntryCount != FuncEntryCount) { in fixFuncEntryCount()
1970 << ", entry_count " << FuncEntryCount << " --> " in fixFuncEntryCount()
/freebsd/contrib/llvm-project/llvm/lib/Object/
H A DELF.cpp881 uint64_t FuncEntryCount = in decodeBBAddrMapImpl() local
882 FeatEnable.FuncEntryCount in decodeBBAddrMapImpl()
915 {FuncEntryCount, std::move(PGOBBEntries), FeatEnable}); in decodeBBAddrMapImpl()
/freebsd/contrib/llvm-project/llvm/lib/CodeGen/AsmPrinter/
H A DAsmPrinter.cpp142 FuncEntryCount, enumerator
148 cl::values(clEnumValN(PGOMapFeaturesEnum::FuncEntryCount,
1350 return {PgoAnalysisMapFeatures.isSet(PGOMapFeaturesEnum::FuncEntryCount), in getBBAddrMapFeature()
1435 if (Features.FuncEntryCount) { in emitBBAddrMapSection()
/freebsd/contrib/llvm-project/llvm/include/llvm/ObjectYAML/
H A DELFYAML.h194 std::optional<uint64_t> FuncEntryCount; member
/freebsd/contrib/llvm-project/llvm/lib/ObjectYAML/
H A DELFEmitter.cpp1518 if (PGOEntry.FuncEntryCount) in writeSectionContent()
1519 SHeader.sh_size += CBA.writeULEB128(*PGOEntry.FuncEntryCount); in writeSectionContent()
H A DELFYAML.cpp1856 IO.mapOptional("FuncEntryCount", E.FuncEntryCount); in mapping()
/freebsd/contrib/llvm-project/llvm/tools/llvm-objdump/
H A Dllvm-objdump.cpp201 if (PGOMap.FeatEnable.FuncEntryCount && PGOBBEntryIndex == 0) { in constructPGOLabelString()
202 PGOSS << "Entry count: " << Twine(PGOMap.FuncEntryCount); in constructPGOLabelString()
/freebsd/contrib/llvm-project/llvm/tools/llvm-readobj/
H A DELFDumper.cpp7830 if (PAM.FeatEnable.FuncEntryCount) in printBBAddrMaps()
7831 W.printNumber("FuncEntryCount", PAM.FuncEntryCount); in printBBAddrMaps()