Home | History | Annotate | Download | only in Bitcode

Lines Matching refs:Read

11 // read an arbitrary bitstream, regardless of its contents.
91 /// hasBlockInfoRecords - Return true if we've already read and processed the
260 Read(static_cast<unsigned>(WordBitNo));
264 uint32_t Read(unsigned NumBits) {
283 // Read the next word from the stream.
288 // Extract NumBits-BitsInCurWord from what we just read.
304 if (NumBits <= 32) return Read(NumBits);
306 uint64_t V = Read(32);
307 return V | (uint64_t)Read(NumBits-32) << 32;
311 uint32_t Piece = Read(NumBits);
324 Piece = Read(NumBits);
328 // ReadVBR64 - Read a VBR that may have a value up to 64-bits in size. The
331 uint32_t Piece = Read(NumBits);
344 Piece = Read(NumBits);
354 return Read(CurCodeSize);
361 /// ReadSubBlockID - Having read the ENTER_SUBBLOCK code, read the BlockID for
367 /// SkipBlock - Having read the ENTER_SUBBLOCK abbrevid and a BlockID, skip
371 // Read and ignore the codelen value. Since we are skipping this block, we
375 unsigned NumWords = Read(bitc::BlockSizeWidth);
388 /// EnterSubBlock - Having read the ENTER_SUBBLOCK abbrevid, enter
408 unsigned NumWords = Read(bitc::BlockSizeWidth);
463 Vals.push_back(Read((unsigned)Op.getEncodingData()));
469 Vals.push_back(BitCodeAbbrevOp::DecodeChar6(Read(6)));
499 // Array case. Read the number of elements as a vbr6.
506 // Read all the elements.
510 // Blob case. Read the number of bytes as a vbr6.
517 // If this would read off the end of the bitcode file, just set the
525 // Otherwise, read the number of bytes. If we can return a reference to
560 bool IsLiteral = Read(1) ? true : false;
566 BitCodeAbbrevOp::Encoding E = (BitCodeAbbrevOp::Encoding)Read(3);
587 // Read all the records for this module.
598 // Read abbrev records, associate them with CurBID.
611 // Read a record.