Home
last modified time | relevance | path

Searched refs:FormatVersion (Results 1 – 2 of 2) sorted by relevance

/netbsd-src/external/apache2/llvm/dist/llvm/include/llvm/ProfileData/
H A DInstrProfReader.h321 unsigned FormatVersion; variable
328 InstrProfLookupTrait(IndexedInstrProf::HashT HashType, unsigned FormatVersion) in InstrProfLookupTrait() argument
329 : HashType(HashType), FormatVersion(FormatVersion) {} in InstrProfLookupTrait()
398 uint64_t FormatVersion; variable
422 uint64_t getVersion() const override { return GET_VERSION(FormatVersion); } in getVersion()
425 return (FormatVersion & VARIANT_MASK_IR_PROF) != 0; in isIRLevelProfile()
429 return (FormatVersion & VARIANT_MASK_CSIR_PROF) != 0; in hasCSIRLevelProfile()
433 return (FormatVersion & VARIANT_MASK_INSTR_ENTRY) != 0; in instrEntryBBEnabled()
/netbsd-src/external/apache2/llvm/dist/llvm/lib/ProfileData/
H A DInstrProfReader.cpp559 if (GET_VERSION(FormatVersion) != IndexedInstrProf::ProfVersion::Version1) { in ReadData()
576 if (GET_VERSION(FormatVersion) > IndexedInstrProf::ProfVersion::Version2 && in ReadData()
618 FormatVersion = Version; in InstrProfReaderIndex()
826 uint64_t FormatVersion = endian::byte_swap<uint64_t, little>(Header->Version); in readHeader() local
827 if (GET_VERSION(FormatVersion) > in readHeader()
831 Cur = readSummary((IndexedInstrProf::ProfVersion)FormatVersion, Cur, in readHeader()
833 if (FormatVersion & VARIANT_MASK_CSIR_PROF) in readHeader()
834 Cur = readSummary((IndexedInstrProf::ProfVersion)FormatVersion, Cur, in readHeader()
848 Start + HashOffset, Cur, Start, HashType, FormatVersion); in readHeader()