Thanks to visit codestin.com
Credit goes to llvm.org

LLVM 22.0.0git
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"

Inheritance diagram for llvm::detail::BCRecordCoding< BCBlob >:
[legend]

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.

Detailed Description

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

See also
BCRecordLayout

Definition at line 307 of file BitcodeConvenience.h.

Member Function Documentation

◆ emit()

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

Definition at line 310 of file BitcodeConvenience.h.

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

◆ read() [1/2]

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

Definition at line 315 of file BitcodeConvenience.h.

◆ read() [2/2]

template<typename T, typename DataTy>
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.

References data.


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