• Home
  • Raw
  • Download

Lines Matching refs:Stream

606                         llvm::BitstreamWriter &Stream,  in EmitBlockID()  argument
610 Stream.EmitRecord(llvm::bitc::BLOCKINFO_CODE_SETBID, Record); in EmitBlockID()
617 Stream.EmitRecord(llvm::bitc::BLOCKINFO_CODE_BLOCKNAME, Record); in EmitBlockID()
621 llvm::BitstreamWriter &Stream, in EmitRecordID() argument
627 Stream.EmitRecord(llvm::bitc::BLOCKINFO_CODE_SETRECORDNAME, Record); in EmitRecordID()
630 static void AddStmtsExprs(llvm::BitstreamWriter &Stream, in AddStmtsExprs() argument
632 #define RECORD(X) EmitRecordID(X, #X, Stream, Record) in AddStmtsExprs()
738 Stream.EnterSubblock(llvm::bitc::BLOCKINFO_BLOCK_ID, 3); in WriteBlockInfoBlock()
740 #define BLOCK(X) EmitBlockID(X ## _ID, #X, Stream, Record) in WriteBlockInfoBlock()
741 #define RECORD(X) EmitRecordID(X, #X, Stream, Record) in WriteBlockInfoBlock()
897 AddStmtsExprs(Stream, Record); in WriteBlockInfoBlock()
906 Stream.ExitBlock(); in WriteBlockInfoBlock()
962 unsigned MetaAbbrevCode = Stream.EmitAbbrev(MetaAbbrev); in WriteMetadata()
973 Stream.EmitRecordWithBlob(MetaAbbrevCode, Record, BlobStr); in WriteMetadata()
981 unsigned FileAbbrevCode = Stream.EmitAbbrev(FileAbbrev); in WriteMetadata()
992 Stream.EmitRecordWithBlob(FileAbbrevCode, Record, MainFileNameStr); in WriteMetadata()
996 Stream.EmitRecord(ORIGINAL_FILE_ID, Record); in WriteMetadata()
1004 unsigned AbbrevCode = Stream.EmitAbbrev(Abbrev); in WriteMetadata()
1013 Stream.EmitRecordWithBlob(AbbrevCode, Record, origDir); in WriteMetadata()
1020 unsigned RepoAbbrevCode = Stream.EmitAbbrev(RepoAbbrev); in WriteMetadata()
1023 Stream.EmitRecordWithBlob(RepoAbbrevCode, Record, in WriteMetadata()
1118 Stream.EmitRecord(LANGUAGE_OPTIONS, Record); in WriteLanguageOptions()
1199 unsigned StatCacheAbbrev = Stream.EmitAbbrev(Abbrev); in WriteStatCache()
1206 Stream.EmitRecordWithBlob(StatCacheAbbrev, Record, StatCacheData.str()); in WriteStatCache()
1215 static unsigned CreateSLocFileAbbrev(llvm::BitstreamWriter &Stream) { in CreateSLocFileAbbrev() argument
1227 return Stream.EmitAbbrev(Abbrev); in CreateSLocFileAbbrev()
1232 static unsigned CreateSLocBufferAbbrev(llvm::BitstreamWriter &Stream) { in CreateSLocBufferAbbrev() argument
1241 return Stream.EmitAbbrev(Abbrev); in CreateSLocBufferAbbrev()
1246 static unsigned CreateSLocBufferBlobAbbrev(llvm::BitstreamWriter &Stream) { in CreateSLocBufferBlobAbbrev() argument
1251 return Stream.EmitAbbrev(Abbrev); in CreateSLocBufferBlobAbbrev()
1256 static unsigned CreateSLocExpansionAbbrev(llvm::BitstreamWriter &Stream) { in CreateSLocExpansionAbbrev() argument
1265 return Stream.EmitAbbrev(Abbrev); in CreateSLocExpansionAbbrev()
1384 unsigned TableAbbrev = Stream.EmitAbbrev(Abbrev); in WriteHeaderSearch()
1391 Stream.EmitRecordWithBlob(TableAbbrev, Record, TableData.str()); in WriteHeaderSearch()
1412 Stream.EnterSubblock(SOURCE_MANAGER_BLOCK_ID, 3); in WriteSourceManagerBlock()
1415 unsigned SLocFileAbbrv = CreateSLocFileAbbrev(Stream); in WriteSourceManagerBlock()
1416 unsigned SLocBufferAbbrv = CreateSLocBufferAbbrev(Stream); in WriteSourceManagerBlock()
1417 unsigned SLocBufferBlobAbbrv = CreateSLocBufferBlobAbbrev(Stream); in WriteSourceManagerBlock()
1418 unsigned SLocExpansionAbbrv = CreateSLocExpansionAbbrev(Stream); in WriteSourceManagerBlock()
1434 SLocEntryOffsets.push_back(Stream.GetCurrentBitNo()); in WriteSourceManagerBlock()
1441 SLocFileEntryOffsets.push_back(Stream.GetCurrentBitNo()); in WriteSourceManagerBlock()
1483 Stream.EmitRecordWithBlob(SLocFileAbbrv, Record, Filename); in WriteSourceManagerBlock()
1494 Stream.EmitRecordWithBlob(SLocBufferAbbrv, Record, in WriteSourceManagerBlock()
1498 Stream.EmitRecordWithBlob(SLocBufferBlobAbbrv, Record, in WriteSourceManagerBlock()
1518 Stream.EmitRecordWithAbbrev(SLocExpansionAbbrv, Record); in WriteSourceManagerBlock()
1522 Stream.ExitBlock(); in WriteSourceManagerBlock()
1535 unsigned SLocOffsetsAbbrev = Stream.EmitAbbrev(Abbrev); in WriteSourceManagerBlock()
1541 Stream.EmitRecordWithBlob(SLocOffsetsAbbrev, Record, data(SLocEntryOffsets)); in WriteSourceManagerBlock()
1563 unsigned SLocMapAbbrev = Stream.EmitAbbrev(Abbrev); in WriteSourceManagerBlock()
1577 Stream.EmitRecordWithBlob(SLocMapAbbrev, Record, in WriteSourceManagerBlock()
1585 unsigned SLocFileOffsetsAbbrev = Stream.EmitAbbrev(Abbrev); in WriteSourceManagerBlock()
1590 Stream.EmitRecordWithBlob(SLocFileOffsetsAbbrev, Record, in WriteSourceManagerBlock()
1595 Stream.EmitRecord(SOURCE_LOCATION_PRELOADS, PreloadSLocs); in WriteSourceManagerBlock()
1637 Stream.EmitRecord(SOURCE_MANAGER_LINE_TABLE, Record); in WriteSourceManagerBlock()
1662 Stream.EmitRecord(PP_COUNTER_VALUE, Record); in WritePreprocessor()
1667 Stream.EnterSubblock(PREPROCESSOR_BLOCK_ID, 3); in WritePreprocessor()
1723 MacroOffsets[Name] = Stream.GetCurrentBitNo(); in WritePreprocessor()
1746 Stream.EmitRecord(Code, Record); in WritePreprocessor()
1767 Stream.EmitRecord(PP_TOKEN, Record); in WritePreprocessor()
1772 Stream.ExitBlock(); in WritePreprocessor()
1783 Stream.EnterSubblock(PREPROCESSOR_DETAIL_BLOCK_ID, 3); in WritePreprocessorDetail()
1801 InclusionAbbrev = Stream.EmitAbbrev(Abbrev); in WritePreprocessorDetail()
1822 Stream.GetCurrentBitNo()); in WritePreprocessorDetail()
1829 MacroDefinitionOffsets[Position] = Stream.GetCurrentBitNo(); in WritePreprocessorDetail()
1831 MacroDefinitionOffsets.push_back(Stream.GetCurrentBitNo()); in WritePreprocessorDetail()
1839 Stream.EmitRecord(PPD_MACRO_DEFINITION, Record); in WritePreprocessorDetail()
1846 Stream.GetCurrentBitNo()); in WritePreprocessorDetail()
1854 Stream.EmitRecord(PPD_MACRO_EXPANSION, Record); in WritePreprocessorDetail()
1869 Stream.EmitRecordWithBlob(InclusionAbbrev, Record, Buffer); in WritePreprocessorDetail()
1875 Stream.ExitBlock(); in WritePreprocessorDetail()
1886 unsigned MacroDefOffsetAbbrev = Stream.EmitAbbrev(Abbrev); in WritePreprocessorDetail()
1892 Stream.EmitRecordWithBlob(MacroDefOffsetAbbrev, Record, in WritePreprocessorDetail()
1920 Stream.EmitRecord(DIAG_PRAGMA_MAPPINGS, Record); in WritePragmaDiagnosticMappings()
1936 unsigned BaseSpecifierOffsetAbbrev = Stream.EmitAbbrev(Abbrev); in WriteCXXBaseSpecifiersOffsets()
1942 Stream.EmitRecordWithBlob(BaseSpecifierOffsetAbbrev, Record, in WriteCXXBaseSpecifiersOffsets()
1961 TypeOffsets.push_back(Stream.GetCurrentBitNo()); in WriteType()
1964 TypeOffsets[Index] = Stream.GetCurrentBitNo(); in WriteType()
1989 Stream.EmitRecord(W.Code, Record); in WriteType()
2009 uint64_t Offset = Stream.GetCurrentBitNo(); in WriteDeclContextLexicalBlock()
2018 Stream.EmitRecordWithBlob(DeclContextLexicalAbbrev, Record, data(Decls)); in WriteDeclContextLexicalBlock()
2031 unsigned TypeOffsetAbbrev = Stream.EmitAbbrev(Abbrev); in WriteTypeDeclOffsets()
2035 Stream.EmitRecordWithBlob(TypeOffsetAbbrev, Record, data(TypeOffsets)); in WriteTypeDeclOffsets()
2042 unsigned DeclOffsetAbbrev = Stream.EmitAbbrev(Abbrev); in WriteTypeDeclOffsets()
2046 Stream.EmitRecordWithBlob(DeclOffsetAbbrev, Record, data(DeclOffsets)); in WriteTypeDeclOffsets()
2212 unsigned MethodPoolAbbrev = Stream.EmitAbbrev(Abbrev); in WriteSelectors()
2219 Stream.EmitRecordWithBlob(MethodPoolAbbrev, Record, MethodPool.str()); in WriteSelectors()
2226 unsigned SelectorOffsetAbbrev = Stream.EmitAbbrev(Abbrev); in WriteSelectors()
2232 Stream.EmitRecordWithBlob(SelectorOffsetAbbrev, Record, in WriteSelectors()
2256 Stream.EmitRecord(REFERENCED_SELECTOR_POOL, Record); in WriteReferencedSelectorsPool()
2415 unsigned IDTableAbbrev = Stream.EmitAbbrev(Abbrev); in WriteIdentifierTable()
2421 Stream.EmitRecordWithBlob(IDTableAbbrev, Record, IdentifierTable.str()); in WriteIdentifierTable()
2429 unsigned IdentifierOffsetAbbrev = Stream.EmitAbbrev(Abbrev); in WriteIdentifierTable()
2434 Stream.EmitRecordWithBlob(IdentifierOffsetAbbrev, Record, in WriteIdentifierTable()
2592 uint64_t Offset = Stream.GetCurrentBitNo(); in WriteDeclContextVisibleBlock()
2622 Stream.EmitRecordWithBlob(DeclContextVisibleLookupAbbrev, Record, in WriteDeclContextVisibleBlock()
2625 Stream.EmitRecord(DECL_CONTEXT_VISIBLE, Record); in WriteDeclContextVisibleBlock()
2668 Stream.EmitRecordWithBlob(UpdateVisibleAbbrev, Record, LookupTable.str()); in WriteDeclContextVisibleUpdate()
2675 Stream.EmitRecord(FP_PRAGMA_OPTIONS, Record); in WriteFPPragmaOptions()
2687 Stream.EmitRecord(OPENCL_EXTENSIONS, Record); in WriteOpenCLExtensions()
2747 ASTWriter::ASTWriter(llvm::BitstreamWriter &Stream) in ASTWriter() argument
2748 : Stream(Stream), Chain(0), SerializationListener(0), in ASTWriter()
2771 Stream.Emit((unsigned)'C', 8); in WriteAST()
2772 Stream.Emit((unsigned)'P', 8); in WriteAST()
2773 Stream.Emit((unsigned)'C', 8); in WriteAST()
2774 Stream.Emit((unsigned)'H', 8); in WriteAST()
2907 Stream.EnterSubblock(AST_BLOCK_ID, 5); in WriteASTCore()
2935 Stream.EmitRecord(SPECIAL_TYPES, Record); in WriteASTCore()
2939 Stream.EnterSubblock(DECLTYPES_BLOCK_ID, NUM_ALLOWED_ABBREVS_SIZE); in WriteASTCore()
2949 Stream.ExitBlock(); in WriteASTCore()
2966 Stream.EmitRecord(EXTERNAL_DEFINITIONS, ExternalDefinitions); in WriteASTCore()
2970 Stream.EmitRecord(TENTATIVE_DEFINITIONS, TentativeDefinitions); in WriteASTCore()
2974 Stream.EmitRecord(UNUSED_FILESCOPED_DECLS, UnusedFileScopedDecls); in WriteASTCore()
2978 Stream.EmitRecord(WEAK_UNDECLARED_IDENTIFIERS, in WriteASTCore()
2983 Stream.EmitRecord(LOCALLY_SCOPED_EXTERNAL_DECLS, in WriteASTCore()
2988 Stream.EmitRecord(EXT_VECTOR_DECLS, ExtVectorDecls); in WriteASTCore()
2992 Stream.EmitRecord(VTABLE_USES, VTableUses); in WriteASTCore()
2996 Stream.EmitRecord(DYNAMIC_CLASSES, DynamicClasses); in WriteASTCore()
3000 Stream.EmitRecord(PENDING_IMPLICIT_INSTANTIATIONS, PendingInstantiations); in WriteASTCore()
3004 Stream.EmitRecord(SEMA_DECL_REFS, SemaDeclRefs); in WriteASTCore()
3008 Stream.EmitRecord(CUDA_SPECIAL_DECL_REFS, CUDASpecialDeclRefs); in WriteASTCore()
3012 Stream.EmitRecord(DELEGATING_CTORS, DelegatingCtorDecls); in WriteASTCore()
3016 Stream.EmitRecord(KNOWN_NAMESPACES, KnownNamespaces); in WriteASTCore()
3024 Stream.EmitRecord(STATISTICS, Record); in WriteASTCore()
3025 Stream.ExitBlock(); in WriteASTCore()
3036 Stream.EnterSubblock(AST_BLOCK_ID, 5); in WriteASTChain()
3062 unsigned TuUpdateLexicalAbbrev = Stream.EmitAbbrev(Abv); in WriteASTChain()
3065 Stream.EmitRecordWithBlob(TuUpdateLexicalAbbrev, Record, in WriteASTChain()
3073 UpdateVisibleAbbrev = Stream.EmitAbbrev(Abv); in WriteASTChain()
3173 Stream.EnterSubblock(DECLTYPES_BLOCK_ID, NUM_ALLOWED_ABBREVS_SIZE); in WriteASTChain()
3186 Stream.ExitBlock(); in WriteASTChain()
3213 Stream.EmitRecord(REDECLS_UPDATE_LATEST, FirstLatestDeclIDs); in WriteASTChain()
3217 Stream.EmitRecord(EXTERNAL_DEFINITIONS, ExternalDefinitions); in WriteASTChain()
3221 Stream.EmitRecord(TENTATIVE_DEFINITIONS, TentativeDefinitions); in WriteASTChain()
3225 Stream.EmitRecord(UNUSED_FILESCOPED_DECLS, UnusedFileScopedDecls); in WriteASTChain()
3229 Stream.EmitRecord(WEAK_UNDECLARED_IDENTIFIERS, in WriteASTChain()
3234 Stream.EmitRecord(LOCALLY_SCOPED_EXTERNAL_DECLS, in WriteASTChain()
3239 Stream.EmitRecord(EXT_VECTOR_DECLS, ExtVectorDecls); in WriteASTChain()
3243 Stream.EmitRecord(VTABLE_USES, VTableUses); in WriteASTChain()
3247 Stream.EmitRecord(DYNAMIC_CLASSES, DynamicClasses); in WriteASTChain()
3251 Stream.EmitRecord(PENDING_IMPLICIT_INSTANTIATIONS, PendingInstantiations); in WriteASTChain()
3255 Stream.EmitRecord(SEMA_DECL_REFS, SemaDeclRefs); in WriteASTChain()
3259 Stream.EmitRecord(DELEGATING_CTORS, DelegatingCtorDecls); in WriteASTChain()
3276 Stream.EmitRecord(STATISTICS, Record); in WriteASTChain()
3277 Stream.ExitBlock(); in WriteASTChain()
3285 Stream.EnterSubblock(DECL_UPDATES_BLOCK_ID, NUM_ALLOWED_ABBREVS_SIZE); in WriteDeclUpdatesBlocks()
3294 uint64_t Offset = Stream.GetCurrentBitNo(); in WriteDeclUpdatesBlocks()
3295 Stream.EmitRecord(DECL_UPDATES, URec); in WriteDeclUpdatesBlocks()
3300 Stream.ExitBlock(); in WriteDeclUpdatesBlocks()
3301 Stream.EmitRecord(DECL_UPDATE_OFFSETS, OffsetsRecord); in WriteDeclUpdatesBlocks()
3314 Stream.EmitRecord(DECL_REPLACEMENTS, Record); in WriteDeclReplacementsBlock()
3855 CXXBaseSpecifiersOffsets.push_back(Stream.GetCurrentBitNo()); in FlushCXXBaseSpecifiers()
3859 CXXBaseSpecifiersOffsets[Index] = Stream.GetCurrentBitNo(); in FlushCXXBaseSpecifiers()
3867 Stream.EmitRecord(serialization::DECL_CXX_BASE_SPECIFIERS, Record); in FlushCXXBaseSpecifiers()