Lines Matching refs:IndexedInstrProf
246 Value = IndexedInstrProf::ComputeHash(VD.first); in readValueProfileData()
633 return IndexedInstrProf::ComputeHash(HashType, K); in ComputeHash()
674 if (GET_VERSION(FormatVersion) != IndexedInstrProf::ProfVersion::Version1) { in ReadData()
691 if (GET_VERSION(FormatVersion) > IndexedInstrProf::ProfVersion::Version2 && in ReadData()
733 const unsigned char *const Base, IndexedInstrProf::HashT HashType, in InstrProfReaderIndex()
873 return Magic == IndexedInstrProf::Magic; in hasFormat()
877 IndexedInstrProfReader::readSummary(IndexedInstrProf::ProfVersion Version, in readSummary()
879 using namespace IndexedInstrProf; in readSummary()
882 if (Version >= IndexedInstrProf::Version4) { in readSummary()
883 const IndexedInstrProf::Summary *SummaryInLE = in readSummary()
884 reinterpret_cast<const IndexedInstrProf::Summary *>(Cur); in readSummary()
890 IndexedInstrProf::Summary::getSize(NFields, NEntries); in readSummary()
891 std::unique_ptr<IndexedInstrProf::Summary> SummaryData = in readSummary()
892 IndexedInstrProf::allocSummary(SummarySize); in readSummary()
901 const IndexedInstrProf::Summary::Entry &Ent = SummaryData->getEntry(I); in readSummary()
939 auto HeaderOr = IndexedInstrProf::Header::readFromBuffer(Start); in readHeader()
943 const IndexedInstrProf::Header *Header = &HeaderOr.get(); in readHeader()
946 Cur = readSummary((IndexedInstrProf::ProfVersion)Header->formatVersion(), Cur, in readHeader()
949 Cur = readSummary((IndexedInstrProf::ProfVersion)Header->formatVersion(), Cur, in readHeader()
953 IndexedInstrProf::HashT HashType = static_cast<IndexedInstrProf::HashT>( in readHeader()
955 if (HashType > IndexedInstrProf::HashT::Last) in readHeader()