Home
last modified time | relevance | path

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

/openbsd-src/gnu/llvm/llvm/lib/ProfileData/
H A DInstrProfReader.cpp331 Value = IndexedInstrProf::ComputeHash(VD.first); in readValueProfileData()
683 return IndexedInstrProf::ComputeHash(HashType, K); in ComputeHash()
724 if (GET_VERSION(FormatVersion) != IndexedInstrProf::ProfVersion::Version1) { in ReadData()
741 if (GET_VERSION(FormatVersion) > IndexedInstrProf::ProfVersion::Version2 && in ReadData()
783 const unsigned char *const Base, IndexedInstrProf::HashT HashType, in InstrProfReaderIndex()
923 return Magic == IndexedInstrProf::Magic; in hasFormat()
927 IndexedInstrProfReader::readSummary(IndexedInstrProf::ProfVersion Version, in readSummary()
929 using namespace IndexedInstrProf; in readSummary()
932 if (Version >= IndexedInstrProf::Version4) { in readSummary()
933 const IndexedInstrProf::Summary *SummaryInLE = in readSummary()
[all …]
H A DInstrProfWriter.cpp115 return IndexedInstrProf::ComputeHash(K); in ComputeHash()
323 static void setSummary(IndexedInstrProf::Summary *TheSummary, in setSummary()
325 using namespace IndexedInstrProf; in setSummary()
341 using namespace IndexedInstrProf; in writeImpl()
357 IndexedInstrProf::Header Header; in writeImpl()
358 Header.Magic = IndexedInstrProf::Magic; in writeImpl()
359 Header.Version = IndexedInstrProf::ProfVersion::CurrentVersion; in writeImpl()
375 Header.HashType = static_cast<uint64_t>(IndexedInstrProf::HashType); in writeImpl()
379 int N = sizeof(IndexedInstrProf::Header) / sizeof(uint64_t); in writeImpl()
519 std::unique_ptr<IndexedInstrProf::Summary> TheSummary = in writeImpl()
[all …]
H A DInstrProf.cpp1335 namespace IndexedInstrProf { namespace
1362 if (Magic != IndexedInstrProf::Magic) in readFromBuffer()
1368 IndexedInstrProf::ProfVersion::CurrentVersion) in readFromBuffer()
1375 IndexedInstrProf::ProfVersion::CurrentVersion == Version9, in readFromBuffer()
1397 static_assert(IndexedInstrProf::ProfVersion::CurrentVersion == Version9, in size()
H A DInstrProfCorrelator.cpp205 maybeSwap<uint64_t>(IndexedInstrProf::ComputeHash(FunctionName)), in addProbe()
/openbsd-src/gnu/llvm/llvm/include/llvm/ProfileData/
H A DInstrProfReader.h425 namespace IndexedInstrProf {
435 IndexedInstrProf::HashT HashType;
443 InstrProfLookupTrait(IndexedInstrProf::HashT HashType, unsigned FormatVersion) in InstrProfLookupTrait()
530 IndexedInstrProf::HashT HashType, uint64_t Version);
620 const unsigned char *readSummary(IndexedInstrProf::ProfVersion Version,
H A DInstrProf.h435 namespace IndexedInstrProf {
514 IndexedInstrProf::ComputeHash(FuncName), Ins.first->getKey())); in addFuncName()
1010 namespace IndexedInstrProf {
H A DInstrProfData.inc74 IndexedInstrProf::ComputeHash(getPGOFuncNameVarInitializer(Inc->getName()))))
/openbsd-src/gnu/llvm/clang/lib/CodeGen/
H A DCodeGenPGO.cpp39 PGOReader ? PGOReader->getVersion() : llvm::IndexedInstrProf::Version); in setFuncName()
215 if (ProfileVersion >= llvm::IndexedInstrProf::Version7) in VisitBinaryOperator()
846 uint64_t ProfileVersion = llvm::IndexedInstrProf::Version; in mapRegionCounters()
H A DCoverageMappingGen.cpp1665 const uint64_t NameHash = llvm::IndexedInstrProf::ComputeHash(NameValue); in addFunctionMappingRecord()
1720 const int64_t FilenamesRef = llvm::IndexedInstrProf::ComputeHash(Filenames); in emit()
/openbsd-src/gnu/llvm/llvm/lib/ProfileData/Coverage/
H A DCoverageMappingReader.cpp651 llvm::IndexedInstrProf::ComputeHash(FilenameRegion); in readCoverageHeader()
/openbsd-src/gnu/llvm/compiler-rt/include/profile/
H A DInstrProfData.inc74 IndexedInstrProf::ComputeHash(getPGOFuncNameVarInitializer(Inc->getName()))))