Searched refs:MaybeRecord (Results 1 – 6 of 6) sorted by relevance
/external/llvm-project/llvm/unittests/Bitstream/ |
D | BitstreamReaderTest.cpp | 145 Expected<unsigned> MaybeRecord = in TEST() local 147 ASSERT_TRUE((bool)MaybeRecord); in TEST() 148 ASSERT_EQ(RecordID, MaybeRecord.get()); in TEST()
|
/external/swiftshader/third_party/llvm-10.0/llvm/lib/Bitcode/Reader/ |
D | BitcodeReader.cpp | 283 Expected<unsigned> MaybeRecord = Stream.readRecord(Entry.ID, Record); in hasObjCCategoryInModule() local 284 if (!MaybeRecord) in hasObjCCategoryInModule() 285 return MaybeRecord.takeError(); in hasObjCCategoryInModule() 286 switch (MaybeRecord.get()) { in hasObjCCategoryInModule() 366 Expected<unsigned> MaybeRecord = Stream.readRecord(Entry.ID, Record); in readModuleTriple() local 367 if (!MaybeRecord) in readModuleTriple() 368 return MaybeRecord.takeError(); in readModuleTriple() 369 switch (MaybeRecord.get()) { in readModuleTriple() 1380 Expected<unsigned> MaybeRecord = Stream.readRecord(Entry.ID, Record); in parseAttributeBlock() local 1381 if (!MaybeRecord) in parseAttributeBlock() [all …]
|
D | MetadataLoader.cpp | 717 if (Expected<unsigned> MaybeRecord = in lazyLoadModuleMetadataBlock() local 721 return MaybeRecord.takeError(); in lazyLoadModuleMetadataBlock() 737 if (Expected<unsigned> MaybeRecord = in lazyLoadModuleMetadataBlock() local 741 return MaybeRecord.takeError(); in lazyLoadModuleMetadataBlock() 828 if (Expected<unsigned> MaybeRecord = in lazyLoadModuleMetadataBlock() local 832 return MaybeRecord.takeError(); in lazyLoadModuleMetadataBlock() 2006 Expected<unsigned> MaybeRecord = Stream.readRecord(Entry.ID, Record); in parseMetadataAttachment() local 2007 if (!MaybeRecord) in parseMetadataAttachment() 2008 return MaybeRecord.takeError(); in parseMetadataAttachment() 2009 switch (MaybeRecord.get()) { in parseMetadataAttachment()
|
/external/llvm-project/llvm/lib/Bitcode/Reader/ |
D | BitcodeReader.cpp | 282 Expected<unsigned> MaybeRecord = Stream.readRecord(Entry.ID, Record); in hasObjCCategoryInModule() local 283 if (!MaybeRecord) in hasObjCCategoryInModule() 284 return MaybeRecord.takeError(); in hasObjCCategoryInModule() 285 switch (MaybeRecord.get()) { in hasObjCCategoryInModule() 365 Expected<unsigned> MaybeRecord = Stream.readRecord(Entry.ID, Record); in readModuleTriple() local 366 if (!MaybeRecord) in readModuleTriple() 367 return MaybeRecord.takeError(); in readModuleTriple() 368 switch (MaybeRecord.get()) { in readModuleTriple() 1364 Expected<unsigned> MaybeRecord = Stream.readRecord(Entry.ID, Record); in parseAttributeBlock() local 1365 if (!MaybeRecord) in parseAttributeBlock() [all …]
|
D | MetadataLoader.cpp | 730 if (Expected<unsigned> MaybeRecord = in lazyLoadModuleMetadataBlock() local 734 return MaybeRecord.takeError(); in lazyLoadModuleMetadataBlock() 750 if (Expected<unsigned> MaybeRecord = in lazyLoadModuleMetadataBlock() local 754 return MaybeRecord.takeError(); in lazyLoadModuleMetadataBlock() 944 if (Expected<unsigned> MaybeRecord = in loadGlobalDeclAttachments() local 948 return MaybeRecord.takeError(); in loadGlobalDeclAttachments() 2167 Expected<unsigned> MaybeRecord = Stream.readRecord(Entry.ID, Record); in parseMetadataAttachment() local 2168 if (!MaybeRecord) in parseMetadataAttachment() 2169 return MaybeRecord.takeError(); in parseMetadataAttachment() 2170 switch (MaybeRecord.get()) { in parseMetadataAttachment()
|
/external/llvm-project/clang/lib/Serialization/ |
D | ASTReader.cpp | 1354 Expected<unsigned> MaybeRecord = in ReadSourceManagerBlock() local 1356 if (!MaybeRecord) { in ReadSourceManagerBlock() 1357 Error(MaybeRecord.takeError()); in ReadSourceManagerBlock() 1360 switch (MaybeRecord.get()) { in ReadSourceManagerBlock() 1972 Expected<unsigned> MaybeRecord = Cursor.readRecord(E.ID, Record); in ReadDefinedMacros() local 1973 if (!MaybeRecord) { in ReadDefinedMacros() 1974 Error(MaybeRecord.takeError()); in ReadDefinedMacros() 1977 switch (MaybeRecord.get()) { in ReadDefinedMacros() 5011 Expected<unsigned> MaybeRecord = Stream.readRecord(Entry.ID, Record, &Blob); in readASTFileSignature() local 5012 if (!MaybeRecord) { in readASTFileSignature() [all …]
|