• Home
  • Raw
  • Download

Lines Matching refs:Stream

382   if (Stream.EnterSubBlock(bitc::PARAMATTR_BLOCK_ID))  in ParseAttributeBlock()
394 unsigned Code = Stream.ReadCode(); in ParseAttributeBlock()
396 if (Stream.ReadBlockEnd()) in ParseAttributeBlock()
403 Stream.ReadSubBlockID(); in ParseAttributeBlock()
404 if (Stream.SkipBlock()) in ParseAttributeBlock()
410 Stream.ReadAbbrevRecord(); in ParseAttributeBlock()
416 switch (Stream.ReadRecord(Code, Record)) { in ParseAttributeBlock()
484 if (Stream.EnterSubBlock(bitc::TYPE_BLOCK_ID_NEW)) in ParseTypeTable()
501 unsigned Code = Stream.ReadCode(); in ParseTypeTableBody()
505 if (Stream.ReadBlockEnd()) in ParseTypeTableBody()
512 Stream.ReadSubBlockID(); in ParseTypeTableBody()
513 if (Stream.SkipBlock()) in ParseTypeTableBody()
519 Stream.ReadAbbrevRecord(); in ParseTypeTableBody()
526 switch (Stream.ReadRecord(Code, Record)) { in ParseTypeTableBody()
695 if (Stream.EnterSubBlock(bitc::TYPE_BLOCK_ID_OLD)) in ParseOldTypeTable()
705 BitstreamCursor StartOfTypeBlockCursor(Stream); in ParseOldTypeTable()
716 unsigned Code = Stream.ReadCode(); in ParseOldTypeTable()
728 Stream = StartOfTypeBlockCursor; in ParseOldTypeTable()
732 if (Stream.ReadBlockEnd()) in ParseOldTypeTable()
739 Stream.ReadSubBlockID(); in ParseOldTypeTable()
740 if (Stream.SkipBlock()) in ParseOldTypeTable()
746 Stream.ReadAbbrevRecord(); in ParseOldTypeTable()
753 switch (Stream.ReadRecord(Code, Record)) { in ParseOldTypeTable()
884 if (Stream.EnterSubBlock(bitc::TYPE_SYMTAB_BLOCK_ID_OLD)) in ParseOldTypeSymbolTable()
892 unsigned Code = Stream.ReadCode(); in ParseOldTypeSymbolTable()
894 if (Stream.ReadBlockEnd()) in ParseOldTypeSymbolTable()
901 Stream.ReadSubBlockID(); in ParseOldTypeSymbolTable()
902 if (Stream.SkipBlock()) in ParseOldTypeSymbolTable()
908 Stream.ReadAbbrevRecord(); in ParseOldTypeSymbolTable()
914 switch (Stream.ReadRecord(Code, Record)) { in ParseOldTypeSymbolTable()
935 if (Stream.EnterSubBlock(bitc::VALUE_SYMTAB_BLOCK_ID)) in ParseValueSymbolTable()
943 unsigned Code = Stream.ReadCode(); in ParseValueSymbolTable()
945 if (Stream.ReadBlockEnd()) in ParseValueSymbolTable()
951 Stream.ReadSubBlockID(); in ParseValueSymbolTable()
952 if (Stream.SkipBlock()) in ParseValueSymbolTable()
958 Stream.ReadAbbrevRecord(); in ParseValueSymbolTable()
964 switch (Stream.ReadRecord(Code, Record)) { in ParseValueSymbolTable()
997 if (Stream.EnterSubBlock(bitc::METADATA_BLOCK_ID)) in ParseMetadata()
1004 unsigned Code = Stream.ReadCode(); in ParseMetadata()
1006 if (Stream.ReadBlockEnd()) in ParseMetadata()
1013 Stream.ReadSubBlockID(); in ParseMetadata()
1014 if (Stream.SkipBlock()) in ParseMetadata()
1020 Stream.ReadAbbrevRecord(); in ParseMetadata()
1027 Code = Stream.ReadRecord(Code, Record); in ParseMetadata()
1039 Code = Stream.ReadCode(); in ParseMetadata()
1042 unsigned NextBitCode = Stream.ReadRecord(Code, Record); in ParseMetadata()
1160 if (Stream.EnterSubBlock(bitc::CONSTANTS_BLOCK_ID)) in ParseConstants()
1169 unsigned Code = Stream.ReadCode(); in ParseConstants()
1175 Stream.ReadSubBlockID(); in ParseConstants()
1176 if (Stream.SkipBlock()) in ParseConstants()
1182 Stream.ReadAbbrevRecord(); in ParseConstants()
1189 unsigned BitCode = Stream.ReadRecord(Code, Record); in ParseConstants()
1475 if (Stream.ReadBlockEnd()) in ParseConstants()
1496 uint64_t CurBit = Stream.GetCurrentBitNo(); in RememberAndSkipFunctionBody()
1500 if (Stream.SkipBlock()) in RememberAndSkipFunctionBody()
1506 if (Stream.EnterSubBlock(bitc::MODULE_BLOCK_ID)) in ParseModule()
1514 while (!Stream.AtEndOfStream()) { in ParseModule()
1515 unsigned Code = Stream.ReadCode(); in ParseModule()
1517 if (Stream.ReadBlockEnd()) in ParseModule()
1550 switch (Stream.ReadSubBlockID()) { in ParseModule()
1552 if (Stream.SkipBlock()) in ParseModule()
1556 if (Stream.ReadBlockInfoBlock()) in ParseModule()
1603 Stream.ReadAbbrevRecord(); in ParseModule()
1608 switch (Stream.ReadRecord(Code, Record)) { in ParseModule()
1808 Stream.init(StreamFile); in ParseBitcodeInto()
1811 if (Stream.Read(8) != 'B' || in ParseBitcodeInto()
1812 Stream.Read(8) != 'C' || in ParseBitcodeInto()
1813 Stream.Read(4) != 0x0 || in ParseBitcodeInto()
1814 Stream.Read(4) != 0xC || in ParseBitcodeInto()
1815 Stream.Read(4) != 0xE || in ParseBitcodeInto()
1816 Stream.Read(4) != 0xD) in ParseBitcodeInto()
1821 while (!Stream.AtEndOfStream()) { in ParseBitcodeInto()
1822 unsigned Code = Stream.ReadCode(); in ParseBitcodeInto()
1829 if (Stream.GetAbbrevIDWidth() == 2 && Code == 2 && in ParseBitcodeInto()
1830 Stream.Read(6) == 2 && Stream.Read(24) == 0xa0a0a && in ParseBitcodeInto()
1831 Stream.AtEndOfStream()) in ParseBitcodeInto()
1837 unsigned BlockID = Stream.ReadSubBlockID(); in ParseBitcodeInto()
1842 if (Stream.ReadBlockInfoBlock()) in ParseBitcodeInto()
1854 if (Stream.SkipBlock()) in ParseBitcodeInto()
1864 if (Stream.EnterSubBlock(bitc::MODULE_BLOCK_ID)) in ParseModuleTriple()
1870 while (!Stream.AtEndOfStream()) { in ParseModuleTriple()
1871 unsigned Code = Stream.ReadCode(); in ParseModuleTriple()
1873 if (Stream.ReadBlockEnd()) in ParseModuleTriple()
1880 switch (Stream.ReadSubBlockID()) { in ParseModuleTriple()
1882 if (Stream.SkipBlock()) in ParseModuleTriple()
1890 Stream.ReadAbbrevRecord(); in ParseModuleTriple()
1895 switch (Stream.ReadRecord(Code, Record)) { in ParseModuleTriple()
1932 Stream.init(StreamFile); in ParseTriple()
1935 if (Stream.Read(8) != 'B' || in ParseTriple()
1936 Stream.Read(8) != 'C' || in ParseTriple()
1937 Stream.Read(4) != 0x0 || in ParseTriple()
1938 Stream.Read(4) != 0xC || in ParseTriple()
1939 Stream.Read(4) != 0xE || in ParseTriple()
1940 Stream.Read(4) != 0xD) in ParseTriple()
1945 while (!Stream.AtEndOfStream()) { in ParseTriple()
1946 unsigned Code = Stream.ReadCode(); in ParseTriple()
1951 unsigned BlockID = Stream.ReadSubBlockID(); in ParseTriple()
1960 if (Stream.SkipBlock()) in ParseTriple()
1971 if (Stream.EnterSubBlock(bitc::METADATA_ATTACHMENT_ID)) in ParseMetadataAttachment()
1976 unsigned Code = Stream.ReadCode(); in ParseMetadataAttachment()
1978 if (Stream.ReadBlockEnd()) in ParseMetadataAttachment()
1983 Stream.ReadAbbrevRecord(); in ParseMetadataAttachment()
1988 switch (Stream.ReadRecord(Code, Record)) { in ParseMetadataAttachment()
2014 if (Stream.EnterSubBlock(bitc::FUNCTION_BLOCK_ID)) in ParseFunctionBody()
2034 unsigned Code = Stream.ReadCode(); in ParseFunctionBody()
2036 if (Stream.ReadBlockEnd()) in ParseFunctionBody()
2042 switch (Stream.ReadSubBlockID()) { in ParseFunctionBody()
2044 if (Stream.SkipBlock()) in ParseFunctionBody()
2065 Stream.ReadAbbrevRecord(); in ParseFunctionBody()
2072 unsigned BitCode = Stream.ReadRecord(Code, Record); in ParseFunctionBody()
2687 Stream.JumpToBit(DFII->second); in Materialize()