LLVM: llvm::detail::BCRecordCoding< ElementTy > Class Template Reference (original) (raw)

Helper class for dealing with a scalar element at the end of a record. More...

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

Static Public Member Functions
template<typename BufferTy, typename DataTy>
static void emit (llvm::BitstreamWriter &Stream, BufferTy &buffer, unsigned code, const DataTy &data)
template<typename T, typename DataTy>
static void read (ArrayRef< T > buffer, DataTy &data)
template<typename T>
static void read (ArrayRef< T > buffer, std::nullopt_t)
template<typename T>
static void read (ArrayRef< T > buffer)=delete

template
class llvm::detail::BCRecordCoding< ElementTy >

Helper class for dealing with a scalar element at the end of a record.

This has a separate implementation because up until now we've only been building the record (into a data buffer), and now we need to hand it off to the BitstreamWriter to be emitted.

See also

BCRecordLayout

Definition at line 223 of file BitcodeConvenience.h.

emit()

template

template<typename BufferTy, typename DataTy>

read() [1/3]

template

template<typename T>

read() [2/3]

template

template<typename T, typename DataTy>

read() [3/3]

template

template<typename T>


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