Lines Matching refs:IntPtrT

465 template <class IntPtrT>
466 InstrProfKind RawInstrProfReader<IntPtrT>::getProfileKind() const { in getProfileKind()
470 template <class IntPtrT>
472 RawInstrProfReader<IntPtrT>::getTemporalProfTraces( in getTemporalProfTraces()
489 template <class IntPtrT>
490 bool RawInstrProfReader<IntPtrT>::hasFormat(const MemoryBuffer &DataBuffer) { in hasFormat()
495 return RawInstrProf::getMagic<IntPtrT>() == Magic || in hasFormat()
496 llvm::byteswap(RawInstrProf::getMagic<IntPtrT>()) == Magic; in hasFormat()
499 template <class IntPtrT>
500 Error RawInstrProfReader<IntPtrT>::readHeader() { in readHeader()
507 ShouldSwapBytes = Header->Magic != RawInstrProf::getMagic<IntPtrT>(); in readHeader()
511 template <class IntPtrT>
512 Error RawInstrProfReader<IntPtrT>::readNextHeader(const char *CurrentPos) { in readNextHeader()
531 if (Magic != swap(RawInstrProf::getMagic<IntPtrT>())) in readNextHeader()
539 template <class IntPtrT>
540 Error RawInstrProfReader<IntPtrT>::createSymtab(InstrProfSymtab &Symtab) { in createSymtab()
544 for (const RawInstrProf::ProfileData<IntPtrT> *I = Data; I != DataEnd; ++I) { in createSymtab()
545 const IntPtrT FPtr = swap(I->FunctionPointer); in createSymtab()
552 for (const RawInstrProf::VTableProfileData<IntPtrT> *I = VTableBegin; in createSymtab()
554 const IntPtrT VPtr = swap(I->VTablePointer); in createSymtab()
568 template <class IntPtrT>
569 Error RawInstrProfReader<IntPtrT>::readHeader( in readHeader()
610 auto DataSize = NumData * sizeof(RawInstrProf::ProfileData<IntPtrT>); in readHeader()
615 NumVTables * sizeof(RawInstrProf::VTableProfileData<IntPtrT>); in readHeader()
647 Data = reinterpret_cast<const RawInstrProf::ProfileData<IntPtrT> *>( in readHeader()
651 reinterpret_cast<const RawInstrProf::VTableProfileData<IntPtrT> *>( in readHeader()
674 template <class IntPtrT>
675 Error RawInstrProfReader<IntPtrT>::readName(NamedInstrProfRecord &Record) { in readName()
680 template <class IntPtrT>
681 Error RawInstrProfReader<IntPtrT>::readFuncHash(NamedInstrProfRecord &Record) { in readFuncHash()
686 template <class IntPtrT>
687 Error RawInstrProfReader<IntPtrT>::readRawCounts( in readRawCounts()
754 template <class IntPtrT>
755 Error RawInstrProfReader<IntPtrT>::readRawBitmapBytes(InstrProfRecord &Record) { in readRawBitmapBytes()
797 template <class IntPtrT>
798 Error RawInstrProfReader<IntPtrT>::readValueProfilingData( in readValueProfilingData()
826 template <class IntPtrT>
827 Error RawInstrProfReader<IntPtrT>::readNextRecord(NamedInstrProfRecord &Record) { in readNextRecord()
860 template <class IntPtrT>
861 Error RawInstrProfReader<IntPtrT>::readBinaryIds( in readBinaryIds()
868 template <class IntPtrT>
869 Error RawInstrProfReader<IntPtrT>::printBinaryIds(raw_ostream &OS) { in printBinaryIds()