Lines Matching refs:DataBuffer
302 bool RawInstrProfReader<IntPtrT>::hasFormat(const MemoryBuffer &DataBuffer) { in hasFormat() argument
303 if (DataBuffer.getBufferSize() < sizeof(uint64_t)) in hasFormat()
306 *reinterpret_cast<const uint64_t *>(DataBuffer.getBufferStart()); in hasFormat()
313 if (!hasFormat(*DataBuffer)) in readHeader()
315 if (DataBuffer->getBufferSize() < sizeof(RawInstrProf::Header)) in readHeader()
318 DataBuffer->getBufferStart()); in readHeader()
325 const char *End = DataBuffer->getBufferEnd(); in readNextHeader()
391 if (Start + ValueDataOffset > DataBuffer->getBufferEnd()) in readHeader()
473 ValueDataStart, (const unsigned char *)DataBuffer->getBufferEnd(), in readValueProfilingData()
526 if (BI > (const uint8_t *)DataBuffer->getBufferEnd()) in printBinaryIds()
535 if (BI > (const uint8_t *)DataBuffer->getBufferEnd()) in printBinaryIds()
565 VDataPtrOrErr.get()->deserializeTo(DataBuffer.back(), nullptr); in readValueProfilingData()
579 DataBuffer.clear(); in ReadData()
606 DataBuffer.emplace_back(K, Hash, std::move(CounterBuffer)); in ReadData()
611 DataBuffer.clear(); in ReadData()
615 return DataBuffer; in ReadData()
776 bool IndexedInstrProfReader::hasFormat(const MemoryBuffer &DataBuffer) { in hasFormat() argument
779 if (DataBuffer.getBufferSize() < 8) in hasFormat()
782 endian::read<uint64_t, little, aligned>(DataBuffer.getBufferStart()); in hasFormat()
845 (const unsigned char *)DataBuffer->getBufferStart(); in readHeader()
847 if ((const unsigned char *)DataBuffer->getBufferEnd() - Cur < 24) in readHeader()