/external/llvm-project/llvm/unittests/Bitstream/ |
D | BitstreamReaderTest.cpp | 127 Expected<BitstreamEntry> MaybeEntry = in TEST() local 129 ASSERT_TRUE((bool)MaybeEntry); in TEST() 130 BitstreamEntry Entry = MaybeEntry.get(); in TEST() 136 MaybeEntry = Stream.advance(); in TEST() 137 ASSERT_TRUE((bool)MaybeEntry); in TEST() 138 Entry = MaybeEntry.get(); in TEST()
|
/external/llvm-project/clang/lib/Frontend/ |
D | TestModuleFileExtension.cpp | 51 llvm::Expected<llvm::BitstreamEntry> MaybeEntry = in Reader() local 53 if (!MaybeEntry) in Reader() 54 (void)MaybeEntry.takeError(); in Reader() 55 llvm::BitstreamEntry Entry = MaybeEntry.get(); in Reader()
|
/external/swiftshader/third_party/llvm-10.0/llvm/lib/Bitcode/Reader/ |
D | BitcodeReader.cpp | 266 Expected<BitstreamEntry> MaybeEntry = Stream.advanceSkippingSubblocks(); in hasObjCCategoryInModule() local 267 if (!MaybeEntry) in hasObjCCategoryInModule() 268 return MaybeEntry.takeError(); in hasObjCCategoryInModule() 269 BitstreamEntry Entry = MaybeEntry.get(); in hasObjCCategoryInModule() 349 Expected<BitstreamEntry> MaybeEntry = Stream.advanceSkippingSubblocks(); in readModuleTriple() local 350 if (!MaybeEntry) in readModuleTriple() 351 return MaybeEntry.takeError(); in readModuleTriple() 352 BitstreamEntry Entry = MaybeEntry.get(); in readModuleTriple() 388 Expected<BitstreamEntry> MaybeEntry = Stream.advance(); in readTriple() local 389 if (!MaybeEntry) in readTriple() [all …]
|
D | MetadataLoader.cpp | 689 Expected<BitstreamEntry> MaybeEntry = IndexCursor.advanceSkippingSubblocks( in lazyLoadModuleMetadataBlock() local 691 if (!MaybeEntry) in lazyLoadModuleMetadataBlock() 692 return MaybeEntry.takeError(); in lazyLoadModuleMetadataBlock() 693 BitstreamEntry Entry = MaybeEntry.get(); in lazyLoadModuleMetadataBlock() 748 Expected<BitstreamEntry> MaybeEntry = in lazyLoadModuleMetadataBlock() local 751 if (!MaybeEntry) in lazyLoadModuleMetadataBlock() 752 return MaybeEntry.takeError(); in lazyLoadModuleMetadataBlock() 753 Entry = MaybeEntry.get(); in lazyLoadModuleMetadataBlock() 943 Expected<BitstreamEntry> MaybeEntry = Stream.advanceSkippingSubblocks(); in parseMetadata() local 944 if (!MaybeEntry) in parseMetadata() [all …]
|
D | BitcodeAnalyzer.cpp | 790 Expected<BitstreamEntry> MaybeEntry = in parseBlock() local 792 if (!MaybeEntry) in parseBlock() 793 return MaybeEntry.takeError(); in parseBlock() 794 BitstreamEntry Entry = MaybeEntry.get(); in parseBlock()
|
/external/llvm-project/llvm/lib/Bitcode/Reader/ |
D | BitcodeReader.cpp | 265 Expected<BitstreamEntry> MaybeEntry = Stream.advanceSkippingSubblocks(); in hasObjCCategoryInModule() local 266 if (!MaybeEntry) in hasObjCCategoryInModule() 267 return MaybeEntry.takeError(); in hasObjCCategoryInModule() 268 BitstreamEntry Entry = MaybeEntry.get(); in hasObjCCategoryInModule() 348 Expected<BitstreamEntry> MaybeEntry = Stream.advanceSkippingSubblocks(); in readModuleTriple() local 349 if (!MaybeEntry) in readModuleTriple() 350 return MaybeEntry.takeError(); in readModuleTriple() 351 BitstreamEntry Entry = MaybeEntry.get(); in readModuleTriple() 387 Expected<BitstreamEntry> MaybeEntry = Stream.advance(); in readTriple() local 388 if (!MaybeEntry) in readTriple() [all …]
|
D | MetadataLoader.cpp | 702 Expected<BitstreamEntry> MaybeEntry = IndexCursor.advanceSkippingSubblocks( in lazyLoadModuleMetadataBlock() local 704 if (!MaybeEntry) in lazyLoadModuleMetadataBlock() 705 return MaybeEntry.takeError(); in lazyLoadModuleMetadataBlock() 706 BitstreamEntry Entry = MaybeEntry.get(); in lazyLoadModuleMetadataBlock() 761 Expected<BitstreamEntry> MaybeEntry = in lazyLoadModuleMetadataBlock() local 764 if (!MaybeEntry) in lazyLoadModuleMetadataBlock() 765 return MaybeEntry.takeError(); in lazyLoadModuleMetadataBlock() 766 Entry = MaybeEntry.get(); in lazyLoadModuleMetadataBlock() 909 Expected<BitstreamEntry> MaybeEntry = TempCursor.advanceSkippingSubblocks( in loadGlobalDeclAttachments() local 911 if (!MaybeEntry) in loadGlobalDeclAttachments() [all …]
|
D | BitcodeAnalyzer.cpp | 797 Expected<BitstreamEntry> MaybeEntry = in parseBlock() local 799 if (!MaybeEntry) in parseBlock() 800 return MaybeEntry.takeError(); in parseBlock() 801 BitstreamEntry Entry = MaybeEntry.get(); in parseBlock()
|
/external/swiftshader/third_party/llvm-10.0/llvm/include/llvm/Bitstream/ |
D | BitstreamReader.h | 441 Expected<BitstreamEntry> MaybeEntry = advance(Flags); variable 442 if (!MaybeEntry) 443 return MaybeEntry; 444 BitstreamEntry Entry = MaybeEntry.get();
|
/external/llvm-project/llvm/include/llvm/Bitstream/ |
D | BitstreamReader.h | 442 Expected<BitstreamEntry> MaybeEntry = advance(Flags); variable 443 if (!MaybeEntry) 444 return MaybeEntry; 445 BitstreamEntry Entry = MaybeEntry.get();
|
/external/llvm-project/llvm/lib/Bitstream/Reader/ |
D | BitstreamReader.cpp | 416 Expected<BitstreamEntry> MaybeEntry = in ReadBlockInfoBlock() local 418 if (!MaybeEntry) in ReadBlockInfoBlock() 419 return MaybeEntry.takeError(); in ReadBlockInfoBlock() 420 BitstreamEntry Entry = MaybeEntry.get(); in ReadBlockInfoBlock()
|
/external/swiftshader/third_party/llvm-10.0/llvm/lib/Bitstream/Reader/ |
D | BitstreamReader.cpp | 413 Expected<BitstreamEntry> MaybeEntry = in ReadBlockInfoBlock() local 415 if (!MaybeEntry) in ReadBlockInfoBlock() 416 return MaybeEntry.takeError(); in ReadBlockInfoBlock() 417 BitstreamEntry Entry = MaybeEntry.get(); in ReadBlockInfoBlock()
|
/external/llvm-project/clang/lib/Serialization/ |
D | ASTReader.cpp | 1472 Expected<llvm::BitstreamEntry> MaybeEntry = SLocEntryCursor.advance(); in ReadSLocEntry() local 1473 if (!MaybeEntry) { in ReadSLocEntry() 1474 Error(MaybeEntry.takeError()); in ReadSLocEntry() 1477 llvm::BitstreamEntry Entry = MaybeEntry.get(); in ReadSLocEntry() 1692 Expected<llvm::BitstreamEntry> MaybeEntry = in ReadMacroRecord() local 1694 if (!MaybeEntry) { in ReadMacroRecord() 1695 Error(MaybeEntry.takeError()); in ReadMacroRecord() 1698 llvm::BitstreamEntry Entry = MaybeEntry.get(); in ReadMacroRecord() 2114 Expected<llvm::BitstreamEntry> MaybeEntry = in resolvePendingMacro() local 2116 if (!MaybeEntry) { in resolvePendingMacro() [all …]
|
D | GlobalModuleIndex.cpp | 559 Expected<llvm::BitstreamEntry> MaybeEntry = InStream.advance(); in loadModuleFile() local 560 if (!MaybeEntry) in loadModuleFile() 561 return MaybeEntry.takeError(); in loadModuleFile() 562 llvm::BitstreamEntry Entry = MaybeEntry.get(); in loadModuleFile()
|
D | ASTReaderStmt.cpp | 2627 llvm::Expected<llvm::BitstreamEntry> MaybeEntry = in ReadStmtFromStream() local 2629 if (!MaybeEntry) { in ReadStmtFromStream() 2630 Error(toString(MaybeEntry.takeError())); in ReadStmtFromStream() 2633 llvm::BitstreamEntry Entry = MaybeEntry.get(); in ReadStmtFromStream()
|