• Home
  • Raw
  • Download

Lines Matching refs:Stream

324 static bool ParseBlock(BitstreamCursor &Stream, unsigned BlockID,  in ParseBlock()  argument
327 uint64_t BlockBitStart = Stream.GetCurrentBitNo(); in ParseBlock()
337 if (Stream.ReadBlockInfoBlock()) in ParseBlock()
339 uint64_t BlockBitEnd = Stream.GetCurrentBitNo(); in ParseBlock()
345 if (Stream.EnterSubBlock(BlockID, &NumWords)) in ParseBlock()
351 if ((BlockName = GetBlockName(BlockID, *Stream.getBitStreamReader()))) in ParseBlock()
360 << " BlockCodeSize=" << Stream.getAbbrevIDWidth() << ">\n"; in ParseBlock()
367 if (Stream.AtEndOfStream()) in ParseBlock()
370 uint64_t RecordStartBit = Stream.GetCurrentBitNo(); in ParseBlock()
373 Stream.advance(BitstreamCursor::AF_DontAutoprocessAbbrevs); in ParseBlock()
379 uint64_t BlockBitEnd = Stream.GetCurrentBitNo(); in ParseBlock()
392 uint64_t SubBlockBitStart = Stream.GetCurrentBitNo(); in ParseBlock()
393 if (ParseBlock(Stream, Entry.ID, IndentLevel+1)) in ParseBlock()
396 uint64_t SubBlockBitEnd = Stream.GetCurrentBitNo(); in ParseBlock()
408 Stream.ReadAbbrevRecord(); in ParseBlock()
418 unsigned Code = Stream.readRecord(Entry.ID, Record, &Blob); in ParseBlock()
425 Stream.GetCurrentBitNo()-RecordStartBit; in ParseBlock()
434 GetCodeName(Code, BlockID, *Stream.getBitStreamReader())) in ParseBlock()
439 GetCodeName(Code, BlockID, *Stream.getBitStreamReader())) in ParseBlock()
500 BitstreamCursor Stream(StreamFile); in AnalyzeBitcode() local
505 Signature[0] = Stream.Read(8); in AnalyzeBitcode()
506 Signature[1] = Stream.Read(8); in AnalyzeBitcode()
507 Signature[2] = Stream.Read(4); in AnalyzeBitcode()
508 Signature[3] = Stream.Read(4); in AnalyzeBitcode()
509 Signature[4] = Stream.Read(4); in AnalyzeBitcode()
510 Signature[5] = Stream.Read(4); in AnalyzeBitcode()
522 while (!Stream.AtEndOfStream()) { in AnalyzeBitcode()
523 unsigned Code = Stream.ReadCode(); in AnalyzeBitcode()
527 unsigned BlockID = Stream.ReadSubBlockID(); in AnalyzeBitcode()
529 if (ParseBlock(Stream, BlockID, 0)) in AnalyzeBitcode()