Home
last modified time | relevance | path

Searched refs:IndexedInstrProf (Results 1 – 11 of 11) sorted by relevance

/freebsd-14.2/contrib/llvm-project/llvm/lib/ProfileData/
H A DInstrProfReader.cpp309 IndexedInstrProf::ComputeHash(FuncName.trim())); in readTemporalProfTraceData()
367 Value = IndexedInstrProf::ComputeHash(VD.first); in readValueProfileData()
845 return IndexedInstrProf::ComputeHash(HashType, K); in ComputeHash()
1109 return Magic == IndexedInstrProf::Magic; in hasFormat()
1115 using namespace IndexedInstrProf; in readSummary()
1118 if (Version >= IndexedInstrProf::Version4) { in readSummary()
1119 const IndexedInstrProf::Summary *SummaryInLE = in readSummary()
1128 IndexedInstrProf::allocSummary(SummarySize); in readSummary()
1179 const IndexedInstrProf::Header *Header = &HeaderOr.get(); in readHeader()
1189 IndexedInstrProf::HashT HashType = static_cast<IndexedInstrProf::HashT>( in readHeader()
[all …]
H A DInstrProfWriter.cpp117 return IndexedInstrProf::ComputeHash(K); in ComputeHash()
395 static void setSummary(IndexedInstrProf::Summary *TheSummary, in setSummary()
397 using namespace IndexedInstrProf; in setSummary()
413 using namespace IndexedInstrProf; in writeImpl()
433 IndexedInstrProf::Header Header; in writeImpl()
434 Header.Magic = IndexedInstrProf::Magic; in writeImpl()
435 Header.Version = IndexedInstrProf::ProfVersion::CurrentVersion; in writeImpl()
458 int N = sizeof(IndexedInstrProf::Header) / sizeof(uint64_t); in writeImpl()
621 std::unique_ptr<IndexedInstrProf::Summary> TheSummary = in writeImpl()
622 IndexedInstrProf::allocSummary(SummarySize); in writeImpl()
[all …]
H A DInstrProf.cpp1485 namespace IndexedInstrProf { namespace
1513 if (Magic != IndexedInstrProf::Magic) in readFromBuffer()
1519 IndexedInstrProf::ProfVersion::CurrentVersion) in readFromBuffer()
1526 IndexedInstrProf::ProfVersion::CurrentVersion == Version11, in readFromBuffer()
1554 static_assert(IndexedInstrProf::ProfVersion::CurrentVersion == Version11, in size()
H A DInstrProfCorrelator.cpp412 this->addDataProbe(IndexedInstrProf::ComputeHash(*FunctionName), *CFGHash, in correlateProfileDataImpl()
/freebsd-14.2/contrib/llvm-project/llvm/include/llvm/ProfileData/
H A DInstrProfReader.h468 namespace IndexedInstrProf {
478 IndexedInstrProf::HashT HashType;
486 InstrProfLookupTrait(IndexedInstrProf::HashT HashType, unsigned FormatVersion) in InstrProfLookupTrait()
576 IndexedInstrProf::HashT HashType, uint64_t Version);
670 const unsigned char *readSummary(IndexedInstrProf::ProfVersion Version,
H A DInstrProf.h418 namespace IndexedInstrProf {
499 IndexedInstrProf::ComputeHash(FuncName), Ins.first->getKey())); in addFuncName()
979 namespace IndexedInstrProf {
H A DInstrProfData.inc74 IndexedInstrProf::ComputeHash(getPGOFuncNameVarInitializer(Inc->getName()))))
/freebsd-14.2/contrib/llvm-project/clang/lib/CodeGen/
H A DCodeGenPGO.cpp41 PGOReader ? PGOReader->getVersion() : llvm::IndexedInstrProf::Version); in setFuncName()
340 if (ProfileVersion >= llvm::IndexedInstrProf::Version7) in VisitBinaryOperator()
975 uint64_t ProfileVersion = llvm::IndexedInstrProf::Version; in mapRegionCounters()
H A DCoverageMappingGen.cpp2238 const uint64_t NameHash = llvm::IndexedInstrProf::ComputeHash(NameValue); in addFunctionMappingRecord()
2292 const int64_t FilenamesRef = llvm::IndexedInstrProf::ComputeHash(Filenames); in emit()
/freebsd-14.2/contrib/llvm-project/llvm/lib/ProfileData/Coverage/
H A DCoverageMappingReader.cpp698 llvm::IndexedInstrProf::ComputeHash(FilenameRegion); in readCoverageHeader()
/freebsd-14.2/contrib/llvm-project/compiler-rt/include/profile/
H A DInstrProfData.inc74 IndexedInstrProf::ComputeHash(getPGOFuncNameVarInitializer(Inc->getName()))))