llvm::BCGenericRecordLayout

Represents a single bitcode record type.

Synopsis

Declared in <llvm/Bitcode/BitcodeConvenience.h>

template<
    typename IDField,
    typename... Fields>
class BCGenericRecordLayout;

Description

This class template is meant to be instantiated and then given a name, so that from then on that name can be used.

Member Functions

NameDescription
BCGenericRecordLayout [constructor]Create a layout and register it with the given bitstream writer.
emit Emit a record to the bitstream writer, using the given buffer for scratch space.

Static Member Functions

NameDescription
emitAbbrev Registers this record's layout with the bitstream writer.
emitRecord Emit a record identified by abbrCode to bitstream reader Stream, using buffer for scratch space.
readRecord Extract record data from buffer into the given data fields.

Data Members

NameDescription
AbbrevCode The abbreviation code used for this record in the current block.

Derived Classes

NameDescription
BCRecordLayout A record with a fixed record code.