Home
last modified time | relevance | path

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

/llvm-project-15.0.7/llvm/include/llvm/ProfileData/
H A DSampleProfReader.h573 static bool hasFormat(const MemoryBuffer &Buffer);
667 static bool hasFormat(const MemoryBuffer &Buffer);
804 static bool hasFormat(const MemoryBuffer &Buffer);
829 static bool hasFormat(const MemoryBuffer &Buffer);
870 static bool hasFormat(const MemoryBuffer &Buffer);
H A DRawMemProfReader.h49 static bool hasFormat(const MemoryBuffer &DataBuffer);
52 static bool hasFormat(const StringRef Path);
H A DInstrProfReader.h213 static bool hasFormat(const MemoryBuffer &Buffer);
296 static bool hasFormat(const MemoryBuffer &DataBuffer);
615 static bool hasFormat(const MemoryBuffer &DataBuffer);
/llvm-project-15.0.7/llvm/lib/ProfileData/
H A DInstrProfReader.cpp100 if (IndexedInstrProfReader::hasFormat(*Buffer)) in create()
102 else if (RawInstrProfReader64::hasFormat(*Buffer)) in create()
104 else if (RawInstrProfReader32::hasFormat(*Buffer)) in create()
106 else if (TextInstrProfReader::hasFormat(*Buffer)) in create()
146 if (!IndexedInstrProfReader::hasFormat(*Buffer)) in create()
158 bool TextInstrProfReader::hasFormat(const MemoryBuffer &Buffer) { in hasFormat() function in TextInstrProfReader
322 bool RawInstrProfReader<IntPtrT>::hasFormat(const MemoryBuffer &DataBuffer) { in hasFormat() function in RawInstrProfReader
333 if (!hasFormat(*DataBuffer)) in readHeader()
865 bool IndexedInstrProfReader::hasFormat(const MemoryBuffer &DataBuffer) { in hasFormat() function in IndexedInstrProfReader
H A DRawMemProfReader.cpp47 if (!RawMemProfReader::hasFormat(Buffer)) in checkBuffer()
201 bool RawMemProfReader::hasFormat(const StringRef Path) { in hasFormat() function in llvm::memprof::RawMemProfReader
207 return hasFormat(*Buffer); in hasFormat()
210 bool RawMemProfReader::hasFormat(const MemoryBuffer &Buffer) { in hasFormat() function in llvm::memprof::RawMemProfReader
H A DSampleProfReader.cpp376 bool SampleProfileReaderText::hasFormat(const MemoryBuffer &Buffer) { in hasFormat() function in SampleProfileReaderText
1458 bool SampleProfileReaderRawBinary::hasFormat(const MemoryBuffer &Buffer) { in hasFormat() function in SampleProfileReaderRawBinary
1465 bool SampleProfileReaderExtBinary::hasFormat(const MemoryBuffer &Buffer) { in hasFormat() function in SampleProfileReaderExtBinary
1472 bool SampleProfileReaderCompactBinary::hasFormat(const MemoryBuffer &Buffer) { in hasFormat() function in SampleProfileReaderCompactBinary
1718 bool SampleProfileReaderGCC::hasFormat(const MemoryBuffer &Buffer) { in hasFormat() function in SampleProfileReaderGCC
1859 if (SampleProfileReaderRawBinary::hasFormat(*B)) in create()
1861 else if (SampleProfileReaderExtBinary::hasFormat(*B)) in create()
1863 else if (SampleProfileReaderCompactBinary::hasFormat(*B)) in create()
1865 else if (SampleProfileReaderGCC::hasFormat(*B)) in create()
1867 else if (SampleProfileReaderText::hasFormat(*B)) in create()
/llvm-project-15.0.7/llvm/tools/llvm-profdata/
H A Dllvm-profdata.cpp252 if (RawMemProfReader::hasFormat(Input.Filename)) { in loadInput()