Home
last modified time | relevance | path

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

/freebsd/contrib/llvm-project/llvm/lib/ProfileData/
H A DInstrProfWriter.cpp59 return IndexedInstrProf::ComputeHash(K); in ComputeHash()
437 static void setSummary(IndexedInstrProf::Summary *TheSummary, in setSummary()
439 using namespace IndexedInstrProf; in setSummary()
454 uint64_t InstrProfWriter::writeHeader(const IndexedInstrProf::Header &Header, in writeHeader()
546 using namespace IndexedInstrProf; in writeImpl()
566 IndexedInstrProf::Header Header; in writeImpl()
568 ? IndexedInstrProf::ProfVersion::Version11 in writeImpl()
569 : IndexedInstrProf::ProfVersion::CurrentVersion; in writeImpl()
572 static_assert(IndexedInstrProf::ProfVersion::CurrentVersion == in writeImpl()
573 IndexedInstrProf::ProfVersion::Version12); in writeImpl()
[all …]
H A DInstrProfReader.cpp318 IndexedInstrProf::ComputeHash(FuncName.trim())); in readTemporalProfTraceData()
376 Value = IndexedInstrProf::ComputeHash(VD.first); in readValueProfileData()
384 Value = IndexedInstrProf::ComputeHash(VD.first); in readValueProfileData()
917 return IndexedInstrProf::ComputeHash(HashType, K); in ComputeHash()
959 if (GET_VERSION(FormatVersion) != IndexedInstrProf::ProfVersion::Version1) { in ReadData()
975 if (GET_VERSION(FormatVersion) > IndexedInstrProf::ProfVersion::Version10) { in ReadData()
994 if (GET_VERSION(FormatVersion) > IndexedInstrProf::ProfVersion::Version2 && in ReadData()
1036 const unsigned char *const Base, IndexedInstrProf::HashT HashType, in InstrProfReaderIndex()
1177 return Magic == IndexedInstrProf::Magic; in hasFormat()
1181 IndexedInstrProfReader::readSummary(IndexedInstrProf::ProfVersion Version, in readSummary()
[all …]
H A DInstrProf.cpp1676 namespace IndexedInstrProf { namespace
1685 if (H.Magic != IndexedInstrProf::Magic) in readFromBuffer()
1691 IndexedInstrProf::ProfVersion::CurrentVersion) in readFromBuffer()
1694 static_assert(IndexedInstrProf::ProfVersion::CurrentVersion == Version12, in readFromBuffer()
1727 IndexedInstrProf::ProfVersion::CurrentVersion == Version12, in size()
H A DInstrProfCorrelator.cpp434 this->addDataProbe(IndexedInstrProf::ComputeHash(*FunctionName), *CFGHash, in correlateProfileDataImpl()
/freebsd/contrib/llvm-project/llvm/include/llvm/ProfileData/
H A DInstrProfReader.h507 namespace IndexedInstrProf {
517 IndexedInstrProf::HashT HashType;
525 InstrProfLookupTrait(IndexedInstrProf::HashT HashType, unsigned FormatVersion) in InstrProfLookupTrait()
619 IndexedInstrProf::HashT HashType, uint64_t Version);
767 const unsigned char *readSummary(IndexedInstrProf::ProfVersion Version,
H A DInstrProf.h495 namespace IndexedInstrProf {
641 IndexedInstrProf::ComputeHash(SymbolName), Ins.first->getKey())); in addSymbolName()
1116 namespace IndexedInstrProf {
1180 uint64_t Magic = IndexedInstrProf::Magic;
1186 uint64_t HashType = static_cast<uint64_t>(IndexedInstrProf::HashType);
H A DInstrProfWriter.h252 uint64_t writeHeader(const IndexedInstrProf::Header &header,
H A DInstrProfData.inc76 IndexedInstrProf::ComputeHash(getPGOFuncNameVarInitializer(Inc->getName()))))
110 IndexedInstrProf::ComputeHash(PGOVTableName)))
/freebsd/contrib/llvm-project/clang/lib/CodeGen/
H A DCodeGenPGO.cpp43 PGOReader ? PGOReader->getVersion() : llvm::IndexedInstrProf::Version); in setFuncName()
337 if (ProfileVersion >= llvm::IndexedInstrProf::Version7) in VisitBinaryOperator()
1068 uint64_t ProfileVersion = llvm::IndexedInstrProf::Version; in mapRegionCounters()
H A DCoverageMappingGen.cpp2533 const uint64_t NameHash = llvm::IndexedInstrProf::ComputeHash(NameValue); in addFunctionMappingRecord()
2587 const int64_t FilenamesRef = llvm::IndexedInstrProf::ComputeHash(Filenames); in emit()
/freebsd/contrib/llvm-project/compiler-rt/include/profile/
H A DInstrProfData.inc76 IndexedInstrProf::ComputeHash(getPGOFuncNameVarInitializer(Inc->getName()))))
110 IndexedInstrProf::ComputeHash(PGOVTableName)))
/freebsd/contrib/llvm-project/llvm/lib/ProfileData/Coverage/
H A DCoverageMappingReader.cpp713 llvm::IndexedInstrProf::ComputeHash(FilenameRegion); in readCoverageHeader()
H A DCoverageMapping.cpp861 IndexedInstrProf::ProfVersion::Version12; in loadFunctionRecord()