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

Helper class for dealing with an array at the end of a record. More...

#include "llvm/Bitcode/BitcodeConvenience.h"

Static Public Member Functions

template<typename BufferTy >
static void emit (llvm::BitstreamWriter &Stream, BufferTy &buffer, unsigned code, StringRef data)
 
template<typename BufferTy , typename ArrayTy >
static void emit (llvm::BitstreamWriter &Stream, BufferTy &buffer, unsigned code, const ArrayTy &array)
 
template<typename BufferTy , typename ElementDataTy , typename... DataTy>
static void emit (llvm::BitstreamWriter &Stream, BufferTy &buffer, unsigned code, ElementDataTy element, DataTy... data)
 
template<typename BufferTy >
static void emit (llvm::BitstreamWriter &Stream, BufferTy &Buffer, unsigned code, NoneType)
 
template<typename T >
static void read (ArrayRef< T > Buffer, ArrayRef< T > &rawData)
 
template<typename T , typename ArrayTy >
static void read (ArrayRef< T > buffer, ArrayTy &array)
 
template<typename T >
static void read (ArrayRef< T > buffer, NoneType)
 
template<typename T >
static void read (ArrayRef< T > buffer)=delete
 

Detailed Description

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

Helper class for dealing with an array at the end of a record.

See also
BCRecordLayout::emitRecord

Definition at line 251 of file BitcodeConvenience.h.

Member Function Documentation

◆ emit() [1/4]

template<typename ElementTy >
template<typename BufferTy , typename ArrayTy >
static void llvm::detail::BCRecordCoding< BCArray< ElementTy > >::emit ( llvm::BitstreamWriter Stream,
BufferTy &  buffer,
unsigned  code,
const ArrayTy &  array 
)
inlinestatic

Definition at line 261 of file BitcodeConvenience.h.

References code, copy, and llvm::BitstreamWriter::EmitRecordWithAbbrev().

◆ emit() [2/4]

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

◆ emit() [3/4]

template<typename ElementTy >
template<typename BufferTy >
static void llvm::detail::BCRecordCoding< BCArray< ElementTy > >::emit ( llvm::BitstreamWriter Stream,
BufferTy &  Buffer,
unsigned  code,
NoneType   
)
inlinestatic

Definition at line 280 of file BitcodeConvenience.h.

References code, and llvm::BitstreamWriter::EmitRecordWithAbbrev().

◆ emit() [4/4]

template<typename ElementTy >
template<typename BufferTy >
static void llvm::detail::BCRecordCoding< BCArray< ElementTy > >::emit ( llvm::BitstreamWriter Stream,
BufferTy &  buffer,
unsigned  code,
StringRef  data 
)
inlinestatic

Definition at line 254 of file BitcodeConvenience.h.

References code, and llvm::BitstreamWriter::EmitRecordWithArray().

◆ read() [1/4]

template<typename ElementTy >
template<typename T >
static void llvm::detail::BCRecordCoding< BCArray< ElementTy > >::read ( ArrayRef< T buffer)
staticdelete

◆ read() [2/4]

template<typename ElementTy >
template<typename T >
static void llvm::detail::BCRecordCoding< BCArray< ElementTy > >::read ( ArrayRef< T Buffer,
ArrayRef< T > &  rawData 
)
inlinestatic

Definition at line 286 of file BitcodeConvenience.h.

◆ read() [3/4]

template<typename ElementTy >
template<typename T , typename ArrayTy >
static void llvm::detail::BCRecordCoding< BCArray< ElementTy > >::read ( ArrayRef< T buffer,
ArrayTy &  array 
)
inlinestatic

◆ read() [4/4]

template<typename ElementTy >
template<typename T >
static void llvm::detail::BCRecordCoding< BCArray< ElementTy > >::read ( ArrayRef< T buffer,
NoneType   
)
inlinestatic

Definition at line 296 of file BitcodeConvenience.h.


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