Home
last modified time | relevance | path

Searched refs:hasFormat (Results 1 – 7 of 7) sorted by relevance

/freebsd-14.2/contrib/llvm-project/llvm/include/llvm/ProfileData/
H A DSampleProfReader.h569 static bool hasFormat(const MemoryBuffer &Buffer);
687 static bool hasFormat(const MemoryBuffer &Buffer);
801 static bool hasFormat(const MemoryBuffer &Buffer);
832 static bool hasFormat(const MemoryBuffer &Buffer);
H A DRawMemProfReader.h124 static bool hasFormat(const MemoryBuffer &DataBuffer);
127 static bool hasFormat(const StringRef Path);
H A DInstrProfReader.h253 static bool hasFormat(const MemoryBuffer &Buffer);
358 static bool hasFormat(const MemoryBuffer &DataBuffer);
712 static bool hasFormat(const MemoryBuffer &DataBuffer);
/freebsd-14.2/contrib/llvm-project/llvm/lib/ProfileData/
H A DInstrProfReader.cpp177 if (IndexedInstrProfReader::hasFormat(*Buffer)) in create()
179 else if (RawInstrProfReader64::hasFormat(*Buffer)) in create()
181 else if (RawInstrProfReader32::hasFormat(*Buffer)) in create()
183 else if (TextInstrProfReader::hasFormat(*Buffer)) in create()
221 if (!IndexedInstrProfReader::hasFormat(*Buffer)) in create()
233 bool TextInstrProfReader::hasFormat(const MemoryBuffer &Buffer) { in hasFormat() function in TextInstrProfReader
485 bool RawInstrProfReader<IntPtrT>::hasFormat(const MemoryBuffer &DataBuffer) { in hasFormat() function in RawInstrProfReader
496 if (!hasFormat(*DataBuffer)) in readHeader()
1101 bool IndexedInstrProfReader::hasFormat(const MemoryBuffer &DataBuffer) { in hasFormat() function in IndexedInstrProfReader
H A DRawMemProfReader.cpp55 if (!RawMemProfReader::hasFormat(Buffer)) in checkBuffer()
231 bool RawMemProfReader::hasFormat(const StringRef Path) { in hasFormat() function in llvm::memprof::RawMemProfReader
237 return hasFormat(*Buffer); in hasFormat()
240 bool RawMemProfReader::hasFormat(const MemoryBuffer &Buffer) { in hasFormat() function in llvm::memprof::RawMemProfReader
H A DSampleProfReader.cpp451 bool SampleProfileReaderText::hasFormat(const MemoryBuffer &Buffer) { in hasFormat() function in SampleProfileReaderText
1502 bool SampleProfileReaderRawBinary::hasFormat(const MemoryBuffer &Buffer) { in hasFormat() function in SampleProfileReaderRawBinary
1509 bool SampleProfileReaderExtBinary::hasFormat(const MemoryBuffer &Buffer) { in hasFormat() function in SampleProfileReaderExtBinary
1756 bool SampleProfileReaderGCC::hasFormat(const MemoryBuffer &Buffer) { in hasFormat() function in SampleProfileReaderGCC
1900 if (SampleProfileReaderRawBinary::hasFormat(*B)) in create()
1902 else if (SampleProfileReaderExtBinary::hasFormat(*B)) in create()
1904 else if (SampleProfileReaderGCC::hasFormat(*B)) in create()
1906 else if (SampleProfileReaderText::hasFormat(*B)) in create()
/freebsd-14.2/contrib/llvm-project/llvm/tools/llvm-profdata/
H A Dllvm-profdata.cpp626 if (RawMemProfReader::hasFormat(Input.Filename)) { in loadInput()