Home
last modified time | relevance | path

Searched refs:SimpleBitstreamCursor (Results 1 – 11 of 11) sorted by relevance

/llvm-project/llvm/include/llvm/Bitstream/
H A DBitstreamReader.h79 class SimpleBitstreamCursor {
99 SimpleBitstreamCursor() = default;
100 explicit SimpleBitstreamCursor(ArrayRef<uint8_t> BitcodeBytes) in SimpleBitstreamCursor() function
102 explicit SimpleBitstreamCursor(StringRef BitcodeBytes) in SimpleBitstreamCursor() function
104 explicit SimpleBitstreamCursor(MemoryBufferRef BitcodeBytes) in SimpleBitstreamCursor() function
105 : SimpleBitstreamCursor(BitcodeBytes.getBuffer()) {} in SimpleBitstreamCursor()
357 class BitstreamCursor : SimpleBitstreamCursor {
382 : SimpleBitstreamCursor(BitcodeBytes) {} in BitstreamCursor()
384 : SimpleBitstreamCursor(BitcodeBytes) {} in BitstreamCursor()
386 : SimpleBitstreamCursor(BitcodeBytes) {} in BitstreamCursor()
[all …]
/llvm-project/llvm/unittests/Bitstream/
H A DBitstreamReaderTest.cpp25 Expected<SimpleBitstreamCursor::word_t> MaybeRead = Cursor.Read(8); in TEST()
57 SimpleBitstreamCursor Cursor(Bytes); in TEST()
61 Expected<SimpleBitstreamCursor::word_t> MaybeRead = Cursor.Read(1); in TEST()
69 SimpleBitstreamCursor Cursor(Bytes); in TEST()
78 SimpleBitstreamCursor Cursor(Bytes); in TEST()
122 Expected<SimpleBitstreamCursor::word_t> MaybeRead = Stream.Read(32); in TEST()
157 SimpleBitstreamCursor Cursor(ArrayRef<uint8_t>(Bytes, I)); in TEST()
158 Expected<SimpleBitstreamCursor::word_t> MaybeRead = Cursor.Read(8); in TEST()
/llvm-project/llvm/lib/Bitstream/Reader/
H A DBitstreamReader.cpp303 if (Expected<SimpleBitstreamCursor::word_t> MaybeVal = in readRecord()
319 if (Expected<SimpleBitstreamCursor::word_t> MaybeVal = Read(6)) in readRecord()
/llvm-project/clang/lib/Frontend/
H A DSerializedDiagnosticReader.cpp45 if (Expected<llvm::SimpleBitstreamCursor::word_t> Res = Stream.Read(8)) { in readDiagnostics()
/llvm-project/clang/lib/Serialization/
H A DGlobalModuleIndex.cpp270 if (Expected<llvm::SimpleBitstreamCursor::word_t> Res = Cursor.Read(8)) { in readIndex()
533 if (Expected<llvm::SimpleBitstreamCursor::word_t> Res = InStream.Read(8)) { in loadModuleFile()
H A DASTReader.cpp4925 if (Expected<llvm::SimpleBitstreamCursor::word_t> Res = Stream.Read(8)) { in readUnhashedControlBlockImpl()
/llvm-project/llvm/lib/Bitcode/Reader/
H A DBitcodeAnalyzer.cpp435 if (Expected<SimpleBitstreamCursor::word_t> MaybeWord = Stream.Read(size)) in ReadSignature()
543 SimpleBitstreamCursor R(Lengths); in decodeMetadataStringsBlob()
H A DMetadataLoader.cpp2311 SimpleBitstreamCursor R(Lengths); in parseMetadataStrings()
H A DBitcodeReader.cpp136 if (Expected<SimpleBitstreamCursor::word_t> Res = Stream.Read(8)) { in hasInvalidBitcodeHeader()
143 if (Expected<SimpleBitstreamCursor::word_t> Res = Stream.Read(4)) { in hasInvalidBitcodeHeader()
/llvm-project/clang-tools-extra/clang-doc/
H A DBitcodeReader.cpp874 Expected<llvm::SimpleBitstreamCursor::word_t> MaybeRead = Stream.Read(8); in validateStream()
/llvm-project/clang/lib/APINotes/
H A DAPINotesReader.cpp1860 if (llvm::Expected<llvm::SimpleBitstreamCursor::word_t> maybeRead = in lookupObjCProtocolID()