Home
last modified time | relevance | path

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

/external/swiftshader/third_party/llvm-10.0/llvm/include/llvm/Bitstream/
DBitstreamReader.h80 class SimpleBitstreamCursor {
102 SimpleBitstreamCursor() = default;
103 explicit SimpleBitstreamCursor(ArrayRef<uint8_t> BitcodeBytes) in SimpleBitstreamCursor() function
105 explicit SimpleBitstreamCursor(StringRef BitcodeBytes) in SimpleBitstreamCursor() function
107 explicit SimpleBitstreamCursor(MemoryBufferRef BitcodeBytes) in SimpleBitstreamCursor() function
108 : SimpleBitstreamCursor(BitcodeBytes.getBuffer()) {} in SimpleBitstreamCursor()
339 class BitstreamCursor : SimpleBitstreamCursor {
364 : SimpleBitstreamCursor(BitcodeBytes) {} in BitstreamCursor()
366 : SimpleBitstreamCursor(BitcodeBytes) {} in BitstreamCursor()
368 : SimpleBitstreamCursor(BitcodeBytes) {} in BitstreamCursor()
[all …]
/external/llvm-project/llvm/include/llvm/Bitstream/
DBitstreamReader.h81 class SimpleBitstreamCursor {
103 SimpleBitstreamCursor() = default;
104 explicit SimpleBitstreamCursor(ArrayRef<uint8_t> BitcodeBytes) in SimpleBitstreamCursor() function
106 explicit SimpleBitstreamCursor(StringRef BitcodeBytes) in SimpleBitstreamCursor() function
108 explicit SimpleBitstreamCursor(MemoryBufferRef BitcodeBytes) in SimpleBitstreamCursor() function
109 : SimpleBitstreamCursor(BitcodeBytes.getBuffer()) {} in SimpleBitstreamCursor()
340 class BitstreamCursor : SimpleBitstreamCursor {
365 : SimpleBitstreamCursor(BitcodeBytes) {} in BitstreamCursor()
367 : SimpleBitstreamCursor(BitcodeBytes) {} in BitstreamCursor()
369 : SimpleBitstreamCursor(BitcodeBytes) {} in BitstreamCursor()
[all …]
/external/llvm/include/llvm/Bitcode/
DBitstreamReader.h135 class SimpleBitstreamCursor {
160 SimpleBitstreamCursor() = default;
162 explicit SimpleBitstreamCursor(BitstreamReader &R) : R(&R) {} in SimpleBitstreamCursor() function
163 explicit SimpleBitstreamCursor(BitstreamReader *R) : R(R) {} in SimpleBitstreamCursor() function
413 class BitstreamCursor : SimpleBitstreamCursor {
440 SimpleBitstreamCursor::operator=(SimpleBitstreamCursor(R)); in init()
446 using SimpleBitstreamCursor::canSkipToPos;
447 using SimpleBitstreamCursor::AtEndOfStream;
448 using SimpleBitstreamCursor::GetCurrentBitNo;
449 using SimpleBitstreamCursor::getCurrentByteNo;
[all …]
/external/llvm-project/llvm/unittests/Bitstream/
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()
/external/llvm/unittests/Bitcode/
DBitstreamReaderTest.cpp77 SimpleBitstreamCursor Cursor(Reader); in TEST()
89 SimpleBitstreamCursor Cursor(Reader); in TEST()
99 SimpleBitstreamCursor Cursor(Reader); in TEST()
109 SimpleBitstreamCursor Cursor(Reader); in TEST()
121 SimpleBitstreamCursor Cursor(Reader); in TEST()
135 SimpleBitstreamCursor Cursor(Reader); in TEST()
149 SimpleBitstreamCursor Cursor(Reader); in TEST()
166 SimpleBitstreamCursor Cursor(Reader); in TEST()
/external/llvm-project/llvm/lib/Bitstream/Reader/
DBitstreamReader.cpp284 if (Expected<SimpleBitstreamCursor::word_t> MaybeVal = in readRecord()
300 if (Expected<SimpleBitstreamCursor::word_t> MaybeVal = Read(6)) in readRecord()
/external/swiftshader/third_party/llvm-10.0/llvm/lib/Bitstream/Reader/
DBitstreamReader.cpp281 if (Expected<SimpleBitstreamCursor::word_t> MaybeVal = in readRecord()
297 if (Expected<SimpleBitstreamCursor::word_t> MaybeVal = Read(6)) in readRecord()
/external/llvm-project/clang/lib/Frontend/
DSerializedDiagnosticReader.cpp45 if (Expected<llvm::SimpleBitstreamCursor::word_t> Res = Stream.Read(8)) { in readDiagnostics()
/external/llvm-project/clang/lib/Serialization/
DGlobalModuleIndex.cpp271 if (Expected<llvm::SimpleBitstreamCursor::word_t> Res = Cursor.Read(8)) { in readIndex()
544 if (Expected<llvm::SimpleBitstreamCursor::word_t> Res = InStream.Read(8)) { in loadModuleFile()
DASTReader.cpp4439 if (Expected<llvm::SimpleBitstreamCursor::word_t> Res = Stream.Read(8)) { in doesntStartWithASTFileMagic()
/external/swiftshader/third_party/llvm-10.0/llvm/lib/Bitcode/Reader/
DBitcodeAnalyzer.cpp409 if (Expected<SimpleBitstreamCursor::word_t> MaybeWord = Stream.Read(size)) in ReadSignature()
517 SimpleBitstreamCursor R(Lengths); in decodeMetadataStringsBlob()
DMetadataLoader.cpp1940 SimpleBitstreamCursor R(Lengths); in parseMetadataStrings()
DBitcodeReader.cpp113 if (Expected<SimpleBitstreamCursor::word_t> Res = Stream.Read(8)) { in hasInvalidBitcodeHeader()
120 if (Expected<SimpleBitstreamCursor::word_t> Res = Stream.Read(4)) { in hasInvalidBitcodeHeader()
/external/llvm-project/llvm/lib/Bitcode/Reader/
DBitcodeAnalyzer.cpp416 if (Expected<SimpleBitstreamCursor::word_t> MaybeWord = Stream.Read(size)) in ReadSignature()
524 SimpleBitstreamCursor R(Lengths); in decodeMetadataStringsBlob()
DMetadataLoader.cpp2100 SimpleBitstreamCursor R(Lengths); in parseMetadataStrings()
DBitcodeReader.cpp113 if (Expected<SimpleBitstreamCursor::word_t> Res = Stream.Read(8)) { in hasInvalidBitcodeHeader()
120 if (Expected<SimpleBitstreamCursor::word_t> Res = Stream.Read(4)) { in hasInvalidBitcodeHeader()
/external/llvm/tools/llvm-bcanalyzer/
Dllvm-bcanalyzer.cpp436 SimpleBitstreamCursor R(Reader); in decodeMetadataStringsBlob()
/external/llvm-project/clang-tools-extra/clang-doc/
DBitcodeReader.cpp699 Expected<llvm::SimpleBitstreamCursor::word_t> MaybeRead = Stream.Read(8); in validateStream()
/external/llvm/lib/Bitcode/Reader/
DBitcodeReader.cpp2052 SimpleBitstreamCursor R(*StreamFile); in parseMetadataStrings()