This represents a position within a bitcode file, implemented on top of a SimpleBitstreamCursor.
Synopsis
Declared in <llvm/Bitstream/BitstreamReader.h>
class BitstreamCursor;
Description
Unlike iterators, BitstreamCursors are heavy‐weight objects that should not be passed by value.
Enums
Name |
Description |
Flags that modify the behavior of advance(). |
Member Functions
Name |
Description |
|
Constructors |
Having read the ENTER_SUBBLOCK abbrevid, and enter the block. |
|
Read a DEFINE_ABBREV record and install the new abbreviation. |
|
Handle END_BLOCK: pop block scope and realign; return true on imbalance. |
|
Read and return a block info block from the bitstream. If an error was encountered, return std::nullopt. |
|
Read the next abbrev/record code using the current block's code width. |
|
Having read the ENTER_SUBBLOCK code, read the BlockID for the block. |
|
Having read the ENTER_SUBBLOCK abbrevid and a BlockID, skip over the body of this block. |
|
Advance the current bitstream, returning the next entry in the stream. |
|
This is a convenience function for clients that don't expect any subblocks. This just skips over them automatically. |
|
Return the abbreviation for the specified AbbrevId. |
|
Return the number of bits used to encode an abbrev #. |
|
Read the record for |
|
Set the block info to be used by this BitstreamCursor to interpret abbreviated records. |
|
Read the current record and discard it, returning the code for the record. |
Static Data Members
Name |
Description |
Maximum VBR chunk size supported when reading abbreviated fields. |
Using Declarations
Name |
Description |
Inherit AtEndOfStream from SimpleBitstreamCursor. |
|
Inherit GetCurrentBitNo from SimpleBitstreamCursor. |
|
Inherit JumpToBit from SimpleBitstreamCursor. |
|
Inherit Read from SimpleBitstreamCursor. |
|
Inherit ReadVBR from SimpleBitstreamCursor. |
|
Inherit ReadVBR64 from SimpleBitstreamCursor. |
|
Inherit SizeInBytes from SimpleBitstreamCursor. |
|
Inherit canSkipToPos from SimpleBitstreamCursor. |
|
Inherit fillCurWord from SimpleBitstreamCursor. |
|
Inherit getBitcodeBytes from SimpleBitstreamCursor. |
|
Inherit getCurrentByteNo from SimpleBitstreamCursor. |
|
Inherit getPointerToByte from SimpleBitstreamCursor. |
|
Skip to the end of the bitcode buffer. |
Created with MrDocs