/external/llvm/include/llvm/Bitcode/ |
D | BitstreamReader.h | 383 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-10.0/llvm/include/llvm/Bitstream/ |
D | BitstreamReader.h | 306 struct BitstreamEntry { struct 317 static BitstreamEntry getError() { in getError() argument 318 BitstreamEntry E; E.Kind = Error; return E; in getError() 321 static BitstreamEntry getEndBlock() { in getEndBlock() argument 322 BitstreamEntry E; E.Kind = EndBlock; return E; in getEndBlock() 325 static BitstreamEntry getSubBlock(unsigned ID) { in getSubBlock() argument 326 BitstreamEntry E; E.Kind = SubBlock; E.ID = ID; return E; in getSubBlock() 329 static BitstreamEntry getRecord(unsigned AbbrevID) { in getRecord() argument 330 BitstreamEntry E; E.Kind = Record; E.ID = AbbrevID; return E; in getRecord() 399 Expected<BitstreamEntry> advance(unsigned Flags = 0) { [all …]
|
/external/llvm-project/llvm/include/llvm/Bitstream/ |
D | BitstreamReader.h | 307 struct BitstreamEntry { struct 318 static BitstreamEntry getError() { in getError() argument 319 BitstreamEntry E; E.Kind = Error; return E; in getError() 322 static BitstreamEntry getEndBlock() { in getEndBlock() argument 323 BitstreamEntry E; E.Kind = EndBlock; return E; in getEndBlock() 326 static BitstreamEntry getSubBlock(unsigned ID) { in getSubBlock() argument 327 BitstreamEntry E; E.Kind = SubBlock; E.ID = ID; return E; in getSubBlock() 330 static BitstreamEntry getRecord(unsigned AbbrevID) { in getRecord() argument 331 BitstreamEntry E; E.Kind = Record; E.ID = AbbrevID; return E; in getRecord() 400 Expected<BitstreamEntry> advance(unsigned Flags = 0) { [all …]
|
/external/llvm-project/clang/lib/Frontend/ |
D | TestModuleFileExtension.cpp | 51 llvm::Expected<llvm::BitstreamEntry> MaybeEntry = in Reader() 55 llvm::BitstreamEntry Entry = MaybeEntry.get(); in Reader() 58 case llvm::BitstreamEntry::SubBlock: in Reader() 59 case llvm::BitstreamEntry::EndBlock: in Reader() 60 case llvm::BitstreamEntry::Error: in Reader() 63 case llvm::BitstreamEntry::Record: in Reader()
|
/external/swiftshader/third_party/llvm-10.0/llvm/lib/Bitcode/Reader/ |
D | BitcodeReader.cpp | 183 BitstreamEntry Entry; in readIdentificationBlock() 184 if (Expected<BitstreamEntry> Res = Stream.advance()) in readIdentificationBlock() 191 case BitstreamEntry::Error: in readIdentificationBlock() 193 case BitstreamEntry::EndBlock: in readIdentificationBlock() 195 case BitstreamEntry::Record: in readIdentificationBlock() 230 BitstreamEntry Entry; in readIdentificationCode() 231 if (Expected<BitstreamEntry> Res = Stream.advance()) in readIdentificationCode() 237 case BitstreamEntry::EndBlock: in readIdentificationCode() 238 case BitstreamEntry::Error: in readIdentificationCode() 241 case BitstreamEntry::SubBlock: in readIdentificationCode() [all …]
|
D | MetadataLoader.cpp | 689 Expected<BitstreamEntry> MaybeEntry = IndexCursor.advanceSkippingSubblocks( in lazyLoadModuleMetadataBlock() 693 BitstreamEntry Entry = MaybeEntry.get(); in lazyLoadModuleMetadataBlock() 696 case BitstreamEntry::SubBlock: // Handled for us already. in lazyLoadModuleMetadataBlock() 697 case BitstreamEntry::Error: in lazyLoadModuleMetadataBlock() 699 case BitstreamEntry::EndBlock: { in lazyLoadModuleMetadataBlock() 702 case BitstreamEntry::Record: { in lazyLoadModuleMetadataBlock() 748 Expected<BitstreamEntry> MaybeEntry = in lazyLoadModuleMetadataBlock() 754 assert(Entry.Kind == BitstreamEntry::Record && in lazyLoadModuleMetadataBlock() 943 Expected<BitstreamEntry> MaybeEntry = Stream.advanceSkippingSubblocks(); in parseMetadata() 946 BitstreamEntry Entry = MaybeEntry.get(); in parseMetadata() [all …]
|
D | BitcodeAnalyzer.cpp | 790 Expected<BitstreamEntry> MaybeEntry = in parseBlock() 794 BitstreamEntry Entry = MaybeEntry.get(); in parseBlock() 797 case BitstreamEntry::Error: in parseBlock() 799 case BitstreamEntry::EndBlock: { in parseBlock() 812 case BitstreamEntry::SubBlock: { in parseBlock() 823 case BitstreamEntry::Record: in parseBlock()
|
/external/llvm-project/llvm/lib/Bitcode/Reader/ |
D | BitcodeReader.cpp | 182 BitstreamEntry Entry; in readIdentificationBlock() 183 if (Expected<BitstreamEntry> Res = Stream.advance()) in readIdentificationBlock() 190 case BitstreamEntry::Error: in readIdentificationBlock() 192 case BitstreamEntry::EndBlock: in readIdentificationBlock() 194 case BitstreamEntry::Record: in readIdentificationBlock() 229 BitstreamEntry Entry; in readIdentificationCode() 230 if (Expected<BitstreamEntry> Res = Stream.advance()) in readIdentificationCode() 236 case BitstreamEntry::EndBlock: in readIdentificationCode() 237 case BitstreamEntry::Error: in readIdentificationCode() 240 case BitstreamEntry::SubBlock: in readIdentificationCode() [all …]
|
D | MetadataLoader.cpp | 702 Expected<BitstreamEntry> MaybeEntry = IndexCursor.advanceSkippingSubblocks( in lazyLoadModuleMetadataBlock() 706 BitstreamEntry Entry = MaybeEntry.get(); in lazyLoadModuleMetadataBlock() 709 case BitstreamEntry::SubBlock: // Handled for us already. in lazyLoadModuleMetadataBlock() 710 case BitstreamEntry::Error: in lazyLoadModuleMetadataBlock() 712 case BitstreamEntry::EndBlock: { in lazyLoadModuleMetadataBlock() 715 case BitstreamEntry::Record: { in lazyLoadModuleMetadataBlock() 761 Expected<BitstreamEntry> MaybeEntry = in lazyLoadModuleMetadataBlock() 767 assert(Entry.Kind == BitstreamEntry::Record && in lazyLoadModuleMetadataBlock() 909 Expected<BitstreamEntry> MaybeEntry = TempCursor.advanceSkippingSubblocks( in loadGlobalDeclAttachments() 913 BitstreamEntry Entry = MaybeEntry.get(); in loadGlobalDeclAttachments() [all …]
|
D | BitcodeAnalyzer.cpp | 797 Expected<BitstreamEntry> MaybeEntry = in parseBlock() 801 BitstreamEntry Entry = MaybeEntry.get(); in parseBlock() 804 case BitstreamEntry::Error: in parseBlock() 806 case BitstreamEntry::EndBlock: { in parseBlock() 819 case BitstreamEntry::SubBlock: { in parseBlock() 830 case BitstreamEntry::Record: in parseBlock()
|
/external/clang/lib/Frontend/ |
D | TestModuleFileExtension.cpp | 52 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/ |
D | BitcodeReader.cpp | 1322 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 …]
|
D | BitstreamReader.cpp | 333 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/swiftshader/third_party/llvm-10.0/llvm/lib/Remarks/ |
D | BitstreamRemarkParser.cpp | 161 Expected<BitstreamEntry> Next = Stream.advance(); in parseBlock() 164 if (Next->Kind != BitstreamEntry::SubBlock || Next->ID != BlockID) in parseBlock() 181 case BitstreamEntry::EndBlock: in parseBlock() 183 case BitstreamEntry::Error: in parseBlock() 184 case BitstreamEntry::SubBlock: in parseBlock() 188 case BitstreamEntry::Record: in parseBlock() 223 Expected<BitstreamEntry> Next = Stream.advance(); in parseBlockInfoBlock() 226 if (Next->Kind != BitstreamEntry::SubBlock || in parseBlockInfoBlock() 252 Expected<BitstreamEntry> Next = Stream.advance(); in isBlock() 256 case BitstreamEntry::SubBlock: in isBlock() [all …]
|
/external/llvm-project/llvm/lib/Remarks/ |
D | BitstreamRemarkParser.cpp | 160 Expected<BitstreamEntry> Next = Stream.advance(); in parseBlock() 163 if (Next->Kind != BitstreamEntry::SubBlock || Next->ID != BlockID) in parseBlock() 180 case BitstreamEntry::EndBlock: in parseBlock() 182 case BitstreamEntry::Error: in parseBlock() 183 case BitstreamEntry::SubBlock: in parseBlock() 187 case BitstreamEntry::Record: in parseBlock() 222 Expected<BitstreamEntry> Next = Stream.advance(); in parseBlockInfoBlock() 225 if (Next->Kind != BitstreamEntry::SubBlock || in parseBlockInfoBlock() 251 Expected<BitstreamEntry> Next = Stream.advance(); in isBlock() 255 case BitstreamEntry::SubBlock: in isBlock() [all …]
|
/external/llvm-project/llvm/unittests/Bitstream/ |
D | BitstreamReaderTest.cpp | 127 Expected<BitstreamEntry> MaybeEntry = in TEST() 130 BitstreamEntry Entry = MaybeEntry.get(); in TEST() 131 ASSERT_EQ(BitstreamEntry::SubBlock, Entry.Kind); in TEST() 139 ASSERT_EQ(BitstreamEntry::Record, Entry.Kind); in TEST()
|
/external/llvm-project/clang/lib/Serialization/ |
D | GlobalModuleIndex.cpp | 143 llvm::BitstreamEntry Entry; in GlobalModuleIndex() 144 if (Expected<llvm::BitstreamEntry> Res = Cursor.advance()) in GlobalModuleIndex() 150 case llvm::BitstreamEntry::Error: in GlobalModuleIndex() 153 case llvm::BitstreamEntry::EndBlock: in GlobalModuleIndex() 162 case llvm::BitstreamEntry::Record: in GlobalModuleIndex() 169 case llvm::BitstreamEntry::SubBlock: in GlobalModuleIndex() 559 Expected<llvm::BitstreamEntry> MaybeEntry = InStream.advance(); in loadModuleFile() 562 llvm::BitstreamEntry Entry = MaybeEntry.get(); in loadModuleFile() 565 case llvm::BitstreamEntry::Error: in loadModuleFile() 569 case llvm::BitstreamEntry::Record: in loadModuleFile() [all …]
|
D | ASTReader.cpp | 1331 Expected<llvm::BitstreamEntry> MaybeE = in ReadSourceManagerBlock() 1337 llvm::BitstreamEntry E = MaybeE.get(); in ReadSourceManagerBlock() 1340 case llvm::BitstreamEntry::SubBlock: // Handled for us already. in ReadSourceManagerBlock() 1341 case llvm::BitstreamEntry::Error: in ReadSourceManagerBlock() 1344 case llvm::BitstreamEntry::EndBlock: in ReadSourceManagerBlock() 1346 case llvm::BitstreamEntry::Record: in ReadSourceManagerBlock() 1472 Expected<llvm::BitstreamEntry> MaybeEntry = SLocEntryCursor.advance(); in ReadSLocEntry() 1477 llvm::BitstreamEntry Entry = MaybeEntry.get(); in ReadSLocEntry() 1479 if (Entry.Kind != llvm::BitstreamEntry::Record) { in ReadSLocEntry() 1692 Expected<llvm::BitstreamEntry> MaybeEntry = in ReadMacroRecord() [all …]
|
D | ASTReaderStmt.cpp | 2627 llvm::Expected<llvm::BitstreamEntry> MaybeEntry = in ReadStmtFromStream() 2633 llvm::BitstreamEntry Entry = MaybeEntry.get(); in ReadStmtFromStream() 2636 case llvm::BitstreamEntry::SubBlock: // Handled for us already. in ReadStmtFromStream() 2637 case llvm::BitstreamEntry::Error: in ReadStmtFromStream() 2640 case llvm::BitstreamEntry::EndBlock: in ReadStmtFromStream() 2642 case llvm::BitstreamEntry::Record: in ReadStmtFromStream()
|
/external/clang/lib/Serialization/ |
D | GlobalModuleIndex.cpp | 134 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()
|
D | ASTReader.cpp | 1140 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 …]
|
/external/llvm-project/llvm/lib/Bitstream/Reader/ |
D | BitstreamReader.cpp | 416 Expected<BitstreamEntry> MaybeEntry = in ReadBlockInfoBlock() 420 BitstreamEntry Entry = MaybeEntry.get(); in ReadBlockInfoBlock() 423 case llvm::BitstreamEntry::SubBlock: // Handled for us already. in ReadBlockInfoBlock() 424 case llvm::BitstreamEntry::Error: in ReadBlockInfoBlock() 426 case llvm::BitstreamEntry::EndBlock: in ReadBlockInfoBlock() 428 case llvm::BitstreamEntry::Record: in ReadBlockInfoBlock()
|
/external/swiftshader/third_party/llvm-10.0/llvm/lib/Bitstream/Reader/ |
D | BitstreamReader.cpp | 413 Expected<BitstreamEntry> MaybeEntry = in ReadBlockInfoBlock() 417 BitstreamEntry Entry = MaybeEntry.get(); in ReadBlockInfoBlock() 420 case llvm::BitstreamEntry::SubBlock: // Handled for us already. in ReadBlockInfoBlock() 421 case llvm::BitstreamEntry::Error: in ReadBlockInfoBlock() 423 case llvm::BitstreamEntry::EndBlock: in ReadBlockInfoBlock() 425 case llvm::BitstreamEntry::Record: in ReadBlockInfoBlock()
|
/external/llvm/unittests/Bitcode/ |
D | BitstreamReaderTest.cpp | 221 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/ |
D | llvm-bcanalyzer.cpp | 526 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()
|