Home
last modified time | relevance | path

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

/openbsd-src/gnu/llvm/llvm/include/llvm/ProfileData/
H A DSampleProfReader.h576 static bool hasFormat(const MemoryBuffer &Buffer);
670 static bool hasFormat(const MemoryBuffer &Buffer);
807 static bool hasFormat(const MemoryBuffer &Buffer);
832 static bool hasFormat(const MemoryBuffer &Buffer);
873 static bool hasFormat(const MemoryBuffer &Buffer);
H A DRawMemProfReader.h48 static bool hasFormat(const MemoryBuffer &DataBuffer);
51 static bool hasFormat(const StringRef Path);
H A DInstrProfReader.h226 static bool hasFormat(const MemoryBuffer &Buffer);
319 static bool hasFormat(const MemoryBuffer &DataBuffer);
658 static bool hasFormat(const MemoryBuffer &DataBuffer);
/openbsd-src/gnu/llvm/llvm/lib/ProfileData/
H A DInstrProfReader.cpp185 if (IndexedInstrProfReader::hasFormat(*Buffer)) in create()
187 else if (RawInstrProfReader64::hasFormat(*Buffer)) in create()
189 else if (RawInstrProfReader32::hasFormat(*Buffer)) in create()
191 else if (TextInstrProfReader::hasFormat(*Buffer)) in create()
231 if (!IndexedInstrProfReader::hasFormat(*Buffer)) in create()
243 bool TextInstrProfReader::hasFormat(const MemoryBuffer &Buffer) { in hasFormat() function in TextInstrProfReader
407 bool RawInstrProfReader<IntPtrT>::hasFormat(const MemoryBuffer &DataBuffer) { in hasFormat() function in RawInstrProfReader
418 if (!hasFormat(*DataBuffer)) in readHeader()
915 bool IndexedInstrProfReader::hasFormat(const MemoryBuffer &DataBuffer) { in hasFormat() function in IndexedInstrProfReader
H A DRawMemProfReader.cpp48 if (!RawMemProfReader::hasFormat(Buffer)) in checkBuffer()
202 bool RawMemProfReader::hasFormat(const StringRef Path) { in hasFormat() function in llvm::memprof::RawMemProfReader
208 return hasFormat(*Buffer); in hasFormat()
211 bool RawMemProfReader::hasFormat(const MemoryBuffer &Buffer) { in hasFormat() function in llvm::memprof::RawMemProfReader
H A DSampleProfReader.cpp450 bool SampleProfileReaderText::hasFormat(const MemoryBuffer &Buffer) { in hasFormat() function in SampleProfileReaderText
1532 bool SampleProfileReaderRawBinary::hasFormat(const MemoryBuffer &Buffer) { in hasFormat() function in SampleProfileReaderRawBinary
1539 bool SampleProfileReaderExtBinary::hasFormat(const MemoryBuffer &Buffer) { in hasFormat() function in SampleProfileReaderExtBinary
1546 bool SampleProfileReaderCompactBinary::hasFormat(const MemoryBuffer &Buffer) { in hasFormat() function in SampleProfileReaderCompactBinary
1792 bool SampleProfileReaderGCC::hasFormat(const MemoryBuffer &Buffer) { in hasFormat() function in SampleProfileReaderGCC
1929 if (SampleProfileReaderRawBinary::hasFormat(*B)) in create()
1931 else if (SampleProfileReaderExtBinary::hasFormat(*B)) in create()
1933 else if (SampleProfileReaderCompactBinary::hasFormat(*B)) in create()
1935 else if (SampleProfileReaderGCC::hasFormat(*B)) in create()
1937 else if (SampleProfileReaderText::hasFormat(*B)) in create()
/openbsd-src/gnu/llvm/llvm/tools/llvm-profdata/
H A Dllvm-profdata.cpp260 if (RawMemProfReader::hasFormat(Input.Filename)) { in loadInput()