LLVM: llvm::BCRecordLayout< RecordCode, Fields > Class Template Reference (original) (raw)

A record with a fixed record code. More...

#include "[llvm/Bitcode/BitcodeConvenience.h](BitcodeConvenience%5F8h%5Fsource.html)"

Public Types
enum : unsigned { Code = RecordCode }
Public Member Functions
BCRecordLayout (llvm::BitstreamWriter &Stream)
Create a layout and register it with the given bitstream writer.
template<typename BufferTy, typename... Data>
void emit (BufferTy &buffer, Data &&...data) const
Emit a record to the bitstream writer, using the given buffer for scratch space.
Public Member Functions inherited from llvm::BCGenericRecordLayout< BCLiteral< RecordCode >, Fields... >
BCGenericRecordLayout (llvm::BitstreamWriter &Stream)
Create a layout and register it with the given bitstream writer.
void emit (BufferTy &buffer, unsigned id, Data &&...data) const
Emit a record to the bitstream writer, using the given buffer for scratch space.
Static Public Member Functions
template<typename BufferTy, typename... Data>
static void emitRecord (llvm::BitstreamWriter &Stream, BufferTy &buffer, unsigned abbrCode, Data &&...data)
Emit a record identified by abbrCode to bitstream reader Stream, using buffer for scratch space.
Static Public Member Functions inherited from llvm::BCGenericRecordLayout< BCLiteral< RecordCode >, Fields... >
static unsigned emitAbbrev (llvm::BitstreamWriter &Stream)
Registers this record's layout with the bitstream reader.
static void emitRecord (llvm::BitstreamWriter &Stream, BufferTy &buffer, unsigned abbrCode, unsigned recordID, Data &&...data)
Emit a record identified by abbrCode to bitstream reader Stream, using buffer for scratch space.
static void readRecord (ArrayRef< ElementTy > buffer, Data &&...data)
Extract record data from buffer into the given data fields.
static void readRecord (BufferTy &buffer, Data &&...data)
Extract record data from buffer into the given data fields.

template<unsigned RecordCode, typename... Fields>
class llvm::BCRecordLayout< RecordCode, Fields >

A record with a fixed record code.

Definition at line 438 of file BitcodeConvenience.h.

anonymous enum

template<unsigned RecordCode, typename... Fields>

template<unsigned RecordCode, typename... Fields>

Create a layout and register it with the given bitstream writer.

Definition at line 449 of file BitcodeConvenience.h.

emit()

template<unsigned RecordCode, typename... Fields>

template<typename BufferTy, typename... Data>

emitRecord()

template<unsigned RecordCode, typename... Fields>

template<typename BufferTy, typename... Data>


The documentation for this class was generated from the following file: