LLVM 20.0.0git
Static Public Member Functions | List of all members
llvm::detail::BCRecordCoding< ElementTy, Fields > Class Template Reference

Helper class for dealing with a scalar element in the middle of a record. More...

#include "llvm/Bitcode/BitcodeConvenience.h"

Static Public Member Functions

template<typename BufferTy , typename ElementDataTy , typename... DataTy>
static void emit (llvm::BitstreamWriter &Stream, BufferTy &buffer, unsigned code, ElementDataTy element, DataTy &&...data)
 
template<typename T , typename ElementDataTy , typename... DataTy>
static void read (ArrayRef< T > buffer, ElementDataTy &element, DataTy &&...data)
 
template<typename T , typename... DataTy>
static void read (ArrayRef< T > buffer, std::nullopt_t, DataTy &&...data)
 

Detailed Description

template<typename ElementTy, typename... Fields>
class llvm::detail::BCRecordCoding< ElementTy, Fields >

Helper class for dealing with a scalar element in the middle of a record.

See also
BCRecordLayout

Definition at line 186 of file BitcodeConvenience.h.

Member Function Documentation

◆ emit()

template<typename ElementTy , typename... Fields>
template<typename BufferTy , typename ElementDataTy , typename... DataTy>
static void llvm::detail::BCRecordCoding< ElementTy, Fields >::emit ( llvm::BitstreamWriter Stream,
BufferTy &  buffer,
unsigned  code,
ElementDataTy  element,
DataTy &&...  data 
)
inlinestatic

◆ read() [1/2]

template<typename ElementTy , typename... Fields>
template<typename T , typename ElementDataTy , typename... DataTy>
static void llvm::detail::BCRecordCoding< ElementTy, Fields >::read ( ArrayRef< T buffer,
ElementDataTy &  element,
DataTy &&...  data 
)
inlinestatic

◆ read() [2/2]

template<typename ElementTy , typename... Fields>
template<typename T , typename... DataTy>
static void llvm::detail::BCRecordCoding< ElementTy, Fields >::read ( ArrayRef< T buffer,
std::nullopt_t  ,
DataTy &&...  data 
)
inlinestatic

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