Lines Matching refs:BitstreamEntry
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()
248 case BitstreamEntry::Record: in readIdentificationCode()
265 Expected<BitstreamEntry> MaybeEntry = Stream.advanceSkippingSubblocks(); in hasObjCCategoryInModule()
268 BitstreamEntry Entry = MaybeEntry.get(); in hasObjCCategoryInModule()
271 case BitstreamEntry::SubBlock: // Handled for us already. in hasObjCCategoryInModule()
272 case BitstreamEntry::Error: in hasObjCCategoryInModule()
274 case BitstreamEntry::EndBlock: in hasObjCCategoryInModule()
276 case BitstreamEntry::Record: in hasObjCCategoryInModule()
308 BitstreamEntry Entry; in hasObjCCategory()
309 if (Expected<BitstreamEntry> Res = Stream.advance()) in hasObjCCategory()
315 case BitstreamEntry::Error: in hasObjCCategory()
317 case BitstreamEntry::EndBlock: in hasObjCCategory()
320 case BitstreamEntry::SubBlock: in hasObjCCategory()
329 case BitstreamEntry::Record: in hasObjCCategory()
348 Expected<BitstreamEntry> MaybeEntry = Stream.advanceSkippingSubblocks(); in readModuleTriple()
351 BitstreamEntry Entry = MaybeEntry.get(); in readModuleTriple()
354 case BitstreamEntry::SubBlock: // Handled for us already. in readModuleTriple()
355 case BitstreamEntry::Error: in readModuleTriple()
357 case BitstreamEntry::EndBlock: in readModuleTriple()
359 case BitstreamEntry::Record: in readModuleTriple()
387 Expected<BitstreamEntry> MaybeEntry = Stream.advance(); in readTriple()
390 BitstreamEntry Entry = MaybeEntry.get(); in readTriple()
393 case BitstreamEntry::Error: in readTriple()
395 case BitstreamEntry::EndBlock: in readTriple()
398 case BitstreamEntry::SubBlock: in readTriple()
407 case BitstreamEntry::Record: in readTriple()
1346 Expected<BitstreamEntry> MaybeEntry = Stream.advanceSkippingSubblocks(); in parseAttributeBlock()
1349 BitstreamEntry Entry = MaybeEntry.get(); in parseAttributeBlock()
1352 case BitstreamEntry::SubBlock: // Handled for us already. in parseAttributeBlock()
1353 case BitstreamEntry::Error: in parseAttributeBlock()
1355 case BitstreamEntry::EndBlock: in parseAttributeBlock()
1357 case BitstreamEntry::Record: in parseAttributeBlock()
1571 Expected<BitstreamEntry> MaybeEntry = Stream.advanceSkippingSubblocks(); in parseAttributeGroupBlock()
1574 BitstreamEntry Entry = MaybeEntry.get(); in parseAttributeGroupBlock()
1577 case BitstreamEntry::SubBlock: // Handled for us already. in parseAttributeGroupBlock()
1578 case BitstreamEntry::Error: in parseAttributeGroupBlock()
1580 case BitstreamEntry::EndBlock: in parseAttributeGroupBlock()
1582 case BitstreamEntry::Record: in parseAttributeGroupBlock()
1695 Expected<BitstreamEntry> MaybeEntry = Stream.advanceSkippingSubblocks(); in parseTypeTableBody()
1698 BitstreamEntry Entry = MaybeEntry.get(); in parseTypeTableBody()
1701 case BitstreamEntry::SubBlock: // Handled for us already. in parseTypeTableBody()
1702 case BitstreamEntry::Error: in parseTypeTableBody()
1704 case BitstreamEntry::EndBlock: in parseTypeTableBody()
1708 case BitstreamEntry::Record: in parseTypeTableBody()
1941 Expected<BitstreamEntry> MaybeEntry = Stream.advanceSkippingSubblocks(); in parseOperandBundleTags()
1944 BitstreamEntry Entry = MaybeEntry.get(); in parseOperandBundleTags()
1947 case BitstreamEntry::SubBlock: // Handled for us already. in parseOperandBundleTags()
1948 case BitstreamEntry::Error: in parseOperandBundleTags()
1950 case BitstreamEntry::EndBlock: in parseOperandBundleTags()
1952 case BitstreamEntry::Record: in parseOperandBundleTags()
1982 Expected<BitstreamEntry> MaybeEntry = Stream.advanceSkippingSubblocks(); in parseSyncScopeNames()
1985 BitstreamEntry Entry = MaybeEntry.get(); in parseSyncScopeNames()
1988 case BitstreamEntry::SubBlock: // Handled for us already. in parseSyncScopeNames()
1989 case BitstreamEntry::Error: in parseSyncScopeNames()
1991 case BitstreamEntry::EndBlock: in parseSyncScopeNames()
1995 case BitstreamEntry::Record: in parseSyncScopeNames()
2054 Expected<BitstreamEntry> MaybeEntry = Stream.advance(); in jumpToValueSymbolTable()
2057 assert(MaybeEntry.get().Kind == BitstreamEntry::SubBlock); in jumpToValueSymbolTable()
2088 Expected<BitstreamEntry> MaybeEntry = Stream.advanceSkippingSubblocks(); in parseGlobalValueSymbolTable()
2091 BitstreamEntry Entry = MaybeEntry.get(); in parseGlobalValueSymbolTable()
2094 case BitstreamEntry::SubBlock: in parseGlobalValueSymbolTable()
2095 case BitstreamEntry::Error: in parseGlobalValueSymbolTable()
2097 case BitstreamEntry::EndBlock: in parseGlobalValueSymbolTable()
2099 case BitstreamEntry::Record: in parseGlobalValueSymbolTable()
2165 Expected<BitstreamEntry> MaybeEntry = Stream.advanceSkippingSubblocks(); in parseValueSymbolTable()
2168 BitstreamEntry Entry = MaybeEntry.get(); in parseValueSymbolTable()
2171 case BitstreamEntry::SubBlock: // Handled for us already. in parseValueSymbolTable()
2172 case BitstreamEntry::Error: in parseValueSymbolTable()
2174 case BitstreamEntry::EndBlock: in parseValueSymbolTable()
2179 case BitstreamEntry::Record: in parseValueSymbolTable()
2355 Expected<BitstreamEntry> MaybeEntry = Stream.advanceSkippingSubblocks(); in parseConstants()
2358 BitstreamEntry Entry = MaybeEntry.get(); in parseConstants()
2361 case BitstreamEntry::SubBlock: // Handled for us already. in parseConstants()
2362 case BitstreamEntry::Error: in parseConstants()
2364 case BitstreamEntry::EndBlock: in parseConstants()
2396 case BitstreamEntry::Record: in parseConstants()
2896 Expected<BitstreamEntry> MaybeEntry = Stream.advanceSkippingSubblocks(); in parseUseLists()
2899 BitstreamEntry Entry = MaybeEntry.get(); in parseUseLists()
2902 case BitstreamEntry::SubBlock: // Handled for us already. in parseUseLists()
2903 case BitstreamEntry::Error: in parseUseLists()
2905 case BitstreamEntry::EndBlock: in parseUseLists()
2907 case BitstreamEntry::Record: in parseUseLists()
3084 Expected<llvm::BitstreamEntry> MaybeEntry = Stream.advance(); in rememberAndSkipFunctionBodies()
3087 llvm::BitstreamEntry Entry = MaybeEntry.get(); in rememberAndSkipFunctionBodies()
3092 case BitstreamEntry::SubBlock: in rememberAndSkipFunctionBodies()
3506 Expected<llvm::BitstreamEntry> MaybeEntry = Stream.advance(); in parseModule()
3509 llvm::BitstreamEntry Entry = MaybeEntry.get(); in parseModule()
3512 case BitstreamEntry::Error: in parseModule()
3514 case BitstreamEntry::EndBlock: in parseModule()
3518 case BitstreamEntry::SubBlock: in parseModule()
3649 case BitstreamEntry::Record: in parseModule()
3836 Expected<llvm::BitstreamEntry> MaybeEntry = Stream.advance(); in parseFunctionBody()
3839 llvm::BitstreamEntry Entry = MaybeEntry.get(); in parseFunctionBody()
3842 case BitstreamEntry::Error: in parseFunctionBody()
3844 case BitstreamEntry::EndBlock: in parseFunctionBody()
3847 case BitstreamEntry::SubBlock: in parseFunctionBody()
3879 case BitstreamEntry::Record: in parseFunctionBody()
5637 Expected<BitstreamEntry> MaybeEntry = Stream.advanceSkippingSubblocks(); in parseValueSymbolTable()
5640 BitstreamEntry Entry = MaybeEntry.get(); in parseValueSymbolTable()
5643 case BitstreamEntry::SubBlock: // Handled for us already. in parseValueSymbolTable()
5644 case BitstreamEntry::Error: in parseValueSymbolTable()
5646 case BitstreamEntry::EndBlock: in parseValueSymbolTable()
5651 case BitstreamEntry::Record: in parseValueSymbolTable()
5718 Expected<llvm::BitstreamEntry> MaybeEntry = Stream.advance(); in parseModule()
5721 llvm::BitstreamEntry Entry = MaybeEntry.get(); in parseModule()
5724 case BitstreamEntry::Error: in parseModule()
5726 case BitstreamEntry::EndBlock: in parseModule()
5729 case BitstreamEntry::SubBlock: in parseModule()
5776 case BitstreamEntry::Record: { in parseModule()
6006 Expected<BitstreamEntry> MaybeEntry = Stream.advanceSkippingSubblocks(); in parseEntireSummary()
6009 BitstreamEntry Entry = MaybeEntry.get(); in parseEntireSummary()
6011 if (Entry.Kind != BitstreamEntry::Record) in parseEntireSummary()
6044 Expected<BitstreamEntry> MaybeEntry = Stream.advanceSkippingSubblocks(); in parseEntireSummary()
6047 BitstreamEntry Entry = MaybeEntry.get(); in parseEntireSummary()
6050 case BitstreamEntry::SubBlock: // Handled for us already. in parseEntireSummary()
6051 case BitstreamEntry::Error: in parseEntireSummary()
6053 case BitstreamEntry::EndBlock: in parseEntireSummary()
6055 case BitstreamEntry::Record: in parseEntireSummary()
6428 Expected<BitstreamEntry> MaybeEntry = Stream.advanceSkippingSubblocks(); in parseModuleStringTable()
6431 BitstreamEntry Entry = MaybeEntry.get(); in parseModuleStringTable()
6434 case BitstreamEntry::SubBlock: // Handled for us already. in parseModuleStringTable()
6435 case BitstreamEntry::Error: in parseModuleStringTable()
6437 case BitstreamEntry::EndBlock: in parseModuleStringTable()
6439 case BitstreamEntry::Record: in parseModuleStringTable()
6519 Expected<llvm::BitstreamEntry> MaybeEntry = Stream.advance(); in readBlobInRecord()
6522 llvm::BitstreamEntry Entry = MaybeEntry.get(); in readBlobInRecord()
6525 case BitstreamEntry::EndBlock: in readBlobInRecord()
6528 case BitstreamEntry::Error: in readBlobInRecord()
6531 case BitstreamEntry::SubBlock: in readBlobInRecord()
6536 case BitstreamEntry::Record: in readBlobInRecord()
6579 Expected<llvm::BitstreamEntry> MaybeEntry = Stream.advance(); in getBitcodeFileContents()
6582 llvm::BitstreamEntry Entry = MaybeEntry.get(); in getBitcodeFileContents()
6585 case BitstreamEntry::EndBlock: in getBitcodeFileContents()
6586 case BitstreamEntry::Error: in getBitcodeFileContents()
6589 case BitstreamEntry::SubBlock: { in getBitcodeFileContents()
6597 Expected<llvm::BitstreamEntry> MaybeEntry = Stream.advance(); in getBitcodeFileContents()
6603 if (Entry.Kind != BitstreamEntry::SubBlock || in getBitcodeFileContents()
6663 case BitstreamEntry::Record: in getBitcodeFileContents()
6769 Expected<BitstreamEntry> MaybeEntry = Stream.advanceSkippingSubblocks(); in getEnableSplitLTOUnitFlag()
6772 BitstreamEntry Entry = MaybeEntry.get(); in getEnableSplitLTOUnitFlag()
6775 case BitstreamEntry::SubBlock: // Handled for us already. in getEnableSplitLTOUnitFlag()
6776 case BitstreamEntry::Error: in getEnableSplitLTOUnitFlag()
6778 case BitstreamEntry::EndBlock: in getEnableSplitLTOUnitFlag()
6782 case BitstreamEntry::Record: in getEnableSplitLTOUnitFlag()
6817 Expected<llvm::BitstreamEntry> MaybeEntry = Stream.advance(); in getLTOInfo()
6820 llvm::BitstreamEntry Entry = MaybeEntry.get(); in getLTOInfo()
6823 case BitstreamEntry::Error: in getLTOInfo()
6825 case BitstreamEntry::EndBlock: in getLTOInfo()
6829 case BitstreamEntry::SubBlock: in getLTOInfo()
6853 case BitstreamEntry::Record: in getLTOInfo()