Lines Matching refs:IntPtrT

301 template <class IntPtrT>
302 bool RawInstrProfReader<IntPtrT>::hasFormat(const MemoryBuffer &DataBuffer) { in hasFormat()
307 return RawInstrProf::getMagic<IntPtrT>() == Magic || in hasFormat()
308 sys::getSwappedBytes(RawInstrProf::getMagic<IntPtrT>()) == Magic; in hasFormat()
311 template <class IntPtrT>
312 Error RawInstrProfReader<IntPtrT>::readHeader() { in readHeader()
319 ShouldSwapBytes = Header->Magic != RawInstrProf::getMagic<IntPtrT>(); in readHeader()
323 template <class IntPtrT>
324 Error RawInstrProfReader<IntPtrT>::readNextHeader(const char *CurrentPos) { in readNextHeader()
341 if (Magic != swap(RawInstrProf::getMagic<IntPtrT>())) in readNextHeader()
349 template <class IntPtrT>
350 Error RawInstrProfReader<IntPtrT>::createSymtab(InstrProfSymtab &Symtab) { in createSymtab()
353 for (const RawInstrProf::ProfileData<IntPtrT> *I = Data; I != DataEnd; ++I) { in createSymtab()
354 const IntPtrT FPtr = swap(I->FunctionPointer); in createSymtab()
362 template <class IntPtrT>
363 Error RawInstrProfReader<IntPtrT>::readHeader( in readHeader()
379 auto DataSizeInBytes = DataSize * sizeof(RawInstrProf::ProfileData<IntPtrT>); in readHeader()
394 Data = reinterpret_cast<const RawInstrProf::ProfileData<IntPtrT> *>( in readHeader()
413 template <class IntPtrT>
414 Error RawInstrProfReader<IntPtrT>::readName(NamedInstrProfRecord &Record) { in readName()
419 template <class IntPtrT>
420 Error RawInstrProfReader<IntPtrT>::readFuncHash(NamedInstrProfRecord &Record) { in readFuncHash()
425 template <class IntPtrT>
426 Error RawInstrProfReader<IntPtrT>::readRawCounts( in readRawCounts()
429 IntPtrT CounterPtr = Data->CounterPtr; in readRawCounts()
458 template <class IntPtrT>
459 Error RawInstrProfReader<IntPtrT>::readValueProfilingData( in readValueProfilingData()
487 template <class IntPtrT>
488 Error RawInstrProfReader<IntPtrT>::readNextRecord(NamedInstrProfRecord &Record) { in readNextRecord()
515 template <class IntPtrT>
516 Error RawInstrProfReader<IntPtrT>::printBinaryIds(raw_ostream &OS) { in printBinaryIds()