Emit a record identified by abbrCode to bitstream reader Stream, using buffer for scratch space.

Synopses

Declared in <llvm/Bitcode/BitcodeConvenience.h>

Emit a record identified by abbrCode to bitstream reader Stream, using buffer for scratch space.

template<
    typename BufferTy,
    typename... Data>
static
void
emitRecord(
    llvm::BitstreamWriter& Stream,
    BufferTy& buffer,
    unsigned int abbrCode,
    Data&&... data);

Emit a record identified by abbrCode to bitstream reader Stream, using buffer for scratch space.

template<
    typename BufferTy,
    typename... Data>
static
void
emitRecord(
    llvm::BitstreamWriter& Stream,
    BufferTy& buffer,
    unsigned int abbrCode,
    unsigned int recordID,
    Data&&... data);

Parameters

Name

Description

Stream

The bitstream writer that receives the record.

buffer

Scratch buffer used while assembling the record.

abbrCode

The abbreviation code previously registered for this layout.

data

Field values for this record, matching the layout's fields.

recordID

The semantic record code written as the first field.

Created with MrDocs