Home
last modified time | relevance | path

Searched refs:BitstreamEntry (Results 1 – 15 of 15) sorted by relevance

/external/swiftshader/third_party/llvm-7.0/llvm/include/llvm/Bitcode/
DBitstreamReader.h279 struct BitstreamEntry { struct
290 static BitstreamEntry getError() { in getError() argument
291 BitstreamEntry E; E.Kind = Error; return E; in getError()
294 static BitstreamEntry getEndBlock() { in getEndBlock() argument
295 BitstreamEntry E; E.Kind = EndBlock; return E; in getEndBlock()
298 static BitstreamEntry getSubBlock(unsigned ID) { in getSubBlock() argument
299 BitstreamEntry E; E.Kind = SubBlock; E.ID = ID; return E; in getSubBlock()
302 static BitstreamEntry getRecord(unsigned AbbrevID) { in getRecord() argument
303 BitstreamEntry E; E.Kind = Record; E.ID = AbbrevID; return E; in getRecord()
370 BitstreamEntry advance(unsigned Flags = 0) {
[all …]
/external/llvm/include/llvm/Bitcode/
DBitstreamReader.h383 struct BitstreamEntry { struct
394 static BitstreamEntry getError() { in getError() argument
395 BitstreamEntry E; E.Kind = Error; return E; in getError()
397 static BitstreamEntry getEndBlock() { in getEndBlock() argument
398 BitstreamEntry E; E.Kind = EndBlock; return E; in getEndBlock()
400 static BitstreamEntry getSubBlock(unsigned ID) { in getSubBlock() argument
401 BitstreamEntry E; E.Kind = SubBlock; E.ID = ID; return E; in getSubBlock()
403 static BitstreamEntry getRecord(unsigned AbbrevID) { in getRecord() argument
404 BitstreamEntry E; E.Kind = Record; E.ID = AbbrevID; return E; in getRecord()
473 BitstreamEntry advance(unsigned Flags = 0) {
[all …]
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Bitcode/Reader/
DBitcodeReader.cpp177 BitstreamEntry Entry = Stream.advance(); in readIdentificationBlock()
181 case BitstreamEntry::Error: in readIdentificationBlock()
183 case BitstreamEntry::EndBlock: in readIdentificationBlock()
185 case BitstreamEntry::Record: in readIdentificationBlock()
218 BitstreamEntry Entry = Stream.advance(); in readIdentificationCode()
220 case BitstreamEntry::EndBlock: in readIdentificationCode()
221 case BitstreamEntry::Error: in readIdentificationCode()
224 case BitstreamEntry::SubBlock: in readIdentificationCode()
232 case BitstreamEntry::Record: in readIdentificationCode()
247 BitstreamEntry Entry = Stream.advanceSkippingSubblocks(); in hasObjCCategoryInModule()
[all …]
DMetadataLoader.cpp682 BitstreamEntry Entry = IndexCursor.advanceSkippingSubblocks( in lazyLoadModuleMetadataBlock()
685 case BitstreamEntry::SubBlock: // Handled for us already. in lazyLoadModuleMetadataBlock()
686 case BitstreamEntry::Error: in lazyLoadModuleMetadataBlock()
688 case BitstreamEntry::EndBlock: { in lazyLoadModuleMetadataBlock()
691 case BitstreamEntry::Record: { in lazyLoadModuleMetadataBlock()
725 assert(Entry.Kind == BitstreamEntry::Record && in lazyLoadModuleMetadataBlock()
890 BitstreamEntry Entry = Stream.advanceSkippingSubblocks(); in parseMetadata()
893 case BitstreamEntry::SubBlock: // Handled for us already. in parseMetadata()
894 case BitstreamEntry::Error: in parseMetadata()
896 case BitstreamEntry::EndBlock: in parseMetadata()
[all …]
DBitstreamReader.cpp334 BitstreamEntry Entry = advanceSkippingSubblocks(AF_DontAutoprocessAbbrevs); in ReadBlockInfoBlock()
337 case llvm::BitstreamEntry::SubBlock: // Handled for us already. in ReadBlockInfoBlock()
338 case llvm::BitstreamEntry::Error: in ReadBlockInfoBlock()
340 case llvm::BitstreamEntry::EndBlock: in ReadBlockInfoBlock()
342 case llvm::BitstreamEntry::Record: in ReadBlockInfoBlock()
/external/clang/lib/Frontend/
DTestModuleFileExtension.cpp52 llvm::BitstreamEntry Entry = Stream.advanceSkippingSubblocks(); in Reader()
54 case llvm::BitstreamEntry::SubBlock: in Reader()
55 case llvm::BitstreamEntry::EndBlock: in Reader()
56 case llvm::BitstreamEntry::Error: in Reader()
59 case llvm::BitstreamEntry::Record: in Reader()
/external/llvm/lib/Bitcode/Reader/
DBitcodeReader.cpp1322 BitstreamEntry Entry = Stream.advanceSkippingSubblocks(); in parseAttributeBlock()
1325 case BitstreamEntry::SubBlock: // Handled for us already. in parseAttributeBlock()
1326 case BitstreamEntry::Error: in parseAttributeBlock()
1328 case BitstreamEntry::EndBlock: in parseAttributeBlock()
1330 case BitstreamEntry::Record: in parseAttributeBlock()
1509 BitstreamEntry Entry = Stream.advanceSkippingSubblocks(); in parseAttributeGroupBlock()
1512 case BitstreamEntry::SubBlock: // Handled for us already. in parseAttributeGroupBlock()
1513 case BitstreamEntry::Error: in parseAttributeGroupBlock()
1515 case BitstreamEntry::EndBlock: in parseAttributeGroupBlock()
1517 case BitstreamEntry::Record: in parseAttributeGroupBlock()
[all …]
DBitstreamReader.cpp333 BitstreamEntry Entry = advanceSkippingSubblocks(AF_DontAutoprocessAbbrevs); in ReadBlockInfoBlock()
336 case llvm::BitstreamEntry::SubBlock: // Handled for us already. in ReadBlockInfoBlock()
337 case llvm::BitstreamEntry::Error: in ReadBlockInfoBlock()
339 case llvm::BitstreamEntry::EndBlock: in ReadBlockInfoBlock()
341 case llvm::BitstreamEntry::Record: in ReadBlockInfoBlock()
/external/clang/lib/Serialization/
DGlobalModuleIndex.cpp134 llvm::BitstreamEntry Entry = Cursor.advance(); in GlobalModuleIndex()
137 case llvm::BitstreamEntry::Error: in GlobalModuleIndex()
140 case llvm::BitstreamEntry::EndBlock: in GlobalModuleIndex()
149 case llvm::BitstreamEntry::Record: in GlobalModuleIndex()
156 case llvm::BitstreamEntry::SubBlock: in GlobalModuleIndex()
527 llvm::BitstreamEntry Entry = InStream.advance(); in loadModuleFile()
529 case llvm::BitstreamEntry::Error: in loadModuleFile()
533 case llvm::BitstreamEntry::Record: in loadModuleFile()
543 case llvm::BitstreamEntry::SubBlock: in loadModuleFile()
567 case llvm::BitstreamEntry::EndBlock: in loadModuleFile()
DASTReader.cpp1140 llvm::BitstreamEntry E = SLocEntryCursor.advanceSkippingSubblocks(); in ReadSourceManagerBlock()
1143 case llvm::BitstreamEntry::SubBlock: // Handled for us already. in ReadSourceManagerBlock()
1144 case llvm::BitstreamEntry::Error: in ReadSourceManagerBlock()
1147 case llvm::BitstreamEntry::EndBlock: in ReadSourceManagerBlock()
1149 case llvm::BitstreamEntry::Record: in ReadSourceManagerBlock()
1244 llvm::BitstreamEntry Entry = SLocEntryCursor.advance(); in ReadSLocEntry()
1245 if (Entry.Kind != llvm::BitstreamEntry::Record) { in ReadSLocEntry()
1427 llvm::BitstreamEntry Entry = Stream.advanceSkippingSubblocks(Flags); in ReadMacroRecord()
1430 case llvm::BitstreamEntry::SubBlock: // Handled for us already. in ReadMacroRecord()
1431 case llvm::BitstreamEntry::Error: in ReadMacroRecord()
[all …]
DASTReaderStmt.cpp2820 llvm::BitstreamEntry Entry = Cursor.advanceSkippingSubblocks(); in ReadStmtFromStream()
2823 case llvm::BitstreamEntry::SubBlock: // Handled for us already. in ReadStmtFromStream()
2824 case llvm::BitstreamEntry::Error: in ReadStmtFromStream()
2827 case llvm::BitstreamEntry::EndBlock: in ReadStmtFromStream()
2829 case llvm::BitstreamEntry::Record: in ReadStmtFromStream()
/external/swiftshader/third_party/llvm-7.0/llvm/unittests/Bitcode/
DBitstreamReaderTest.cpp123 BitstreamEntry Entry = in TEST()
125 ASSERT_EQ(BitstreamEntry::SubBlock, Entry.Kind); in TEST()
131 ASSERT_EQ(BitstreamEntry::Record, Entry.Kind); in TEST()
/external/llvm/unittests/Bitcode/
DBitstreamReaderTest.cpp221 BitstreamEntry Entry = in TEST()
223 ASSERT_EQ(BitstreamEntry::SubBlock, Entry.Kind); in TEST()
229 ASSERT_EQ(BitstreamEntry::Record, Entry.Kind); in TEST()
/external/llvm/tools/llvm-bcanalyzer/
Dllvm-bcanalyzer.cpp526 BitstreamEntry Entry = in ParseBlock()
530 case BitstreamEntry::Error: in ParseBlock()
532 case BitstreamEntry::EndBlock: { in ParseBlock()
545 case BitstreamEntry::SubBlock: { in ParseBlock()
556 case BitstreamEntry::Record: in ParseBlock()
/external/swiftshader/third_party/llvm-7.0/llvm/tools/llvm-bcanalyzer/
Dllvm-bcanalyzer.cpp558 BitstreamEntry Entry = in ParseBlock()
562 case BitstreamEntry::Error: in ParseBlock()
564 case BitstreamEntry::EndBlock: { in ParseBlock()
577 case BitstreamEntry::SubBlock: { in ParseBlock()
589 case BitstreamEntry::Record: in ParseBlock()