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

Helper class for dealing with a blob 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 T >
static void read (ArrayRef< T > buffer)
 
template<typename T , typename DataTy >
static void read (ArrayRef< T > buffer, DataTy &data)=delete
 Blob data is not stored in the buffer if you are using the correct accessor; this method should not be used. More...
 

Detailed Description

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

See also
BCRecordLayout

Definition at line 306 of file BitcodeConvenience.h.

Member Function Documentation

◆ emit()

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

Definition at line 309 of file BitcodeConvenience.h.

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

◆ read() [1/2]

template<typename T >
static void llvm::detail::BCRecordCoding< BCBlob >::read ( ArrayRef< T buffer)
inlinestatic

Definition at line 314 of file BitcodeConvenience.h.

◆ read() [2/2]

template<typename T , typename DataTy >
static void llvm::detail::BCRecordCoding< BCBlob >::read ( ArrayRef< T buffer,
DataTy &  data 
)
staticdelete

Blob data is not stored in the buffer if you are using the correct accessor; this method should not be used.


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