Declared in <llvm/Bitstream/BitstreamWriter.h>
class BitstreamWriter;
| Name | Description |
|---|---|
BitstreamWriter [constructor] | Constructors |
~BitstreamWriter [destructor] | Destructor |
BackpatchByte | Backpatch a byte in the output at the given bit offset with the specified value. |
BackpatchHalfWord | |
BackpatchWord | |
BackpatchWord64 | |
Emit | |
EmitAbbrev | Emits the abbreviation Abbv to the stream. |
EmitBlockInfoAbbrev | EmitBlockInfoAbbrev - Emit a DEFINE_ABBREV record for the specified BlockID. |
EmitCode | EmitCode - Emit the specified code. |
EmitRecord | EmitRecord - Emit the specified record to the stream, using an abbrev if we have one to compress the output. |
EmitRecordWithAbbrev | EmitRecordWithAbbrev - Emit a record with the specified abbreviation. Unlike EmitRecord, the code for the record should be included in Vals as the first entry. |
EmitRecordWithArray | EmitRecordWithArray - Just like EmitRecordWithBlob, works with records that end with an array. |
EmitRecordWithBlob | EmitRecordWithBlob - Emit the specified record to the stream, using an abbrev that includes a blob at the end. The blob data to emit is specified by the pointer and length specified at the end. In contrast to EmitRecord, this routine expects that the first entry in Vals is the code of the record. |
EmitVBR | |
EmitVBR64 | |
EnterBlockInfoBlock | EnterBlockInfoBlock - Start emitting the BLOCKINFO_BLOCK. |
EnterSubblock | |
ExitBlock | |
FlushToWord | |
GetAbbrevIDWidth | Retrieve the number of bits currently used to encode an abbrev ID. |
GetCurrentBitNo | Retrieve the current position in the stream, in bits. |
emitBlob | Emit a blob, including flushing before and tail-padding. |
getBlockInfo | getBlockInfo - If there is block info for the specified ID, return it, otherwise return null. |
getMarkedBufferAndResumeFlushing | resumes flushing, but does not flush, and returns the section in the internal buffer starting from the position marked with markAndBlockFlushing. The return should be processed before any additional calls to this object, because those may cause a flush and invalidate the return. |
markAndBlockFlushing | For scenarios where the user wants to access a section of the stream to (for example) compute some checksum, disable flushing and remember the position in the internal buffer where that happened. Must be paired with a call to getMarkedBufferAndResumeFlushing. |