LLVM 22.0.0git
|
Adapter to write values to a stream in a particular byte order. More...
#include "llvm/Support/EndianStream.h"
Public Member Functions | |
Writer (raw_ostream &OS, endianness Endian) | |
template<typename value_type> | |
void | write (ArrayRef< value_type > Val) |
template<typename value_type> | |
void | write (value_type Val) |
Public Attributes | |
raw_ostream & | OS |
endianness | Endian |
Adapter to write values to a stream in a particular byte order.
Definition at line 67 of file EndianStream.h.
|
inline |
Definition at line 70 of file EndianStream.h.
|
inline |
Definition at line 71 of file EndianStream.h.
References Endian, OS, and llvm::support::endian::write().
Referenced by llvm::CodeViewContext::encodeDefRange(), llvm::OutlinedHashTreeRecord::serialize(), llvm::StableFunctionMapRecord::serialize(), and llvm::sampleprof::SampleProfileWriterExtBinaryBase::writeNameTable().
|
inline |
Definition at line 74 of file EndianStream.h.
References Endian, OS, and llvm::support::endian::write().
endianness llvm::support::endian::Writer::Endian |
Definition at line 69 of file EndianStream.h.
raw_ostream& llvm::support::endian::Writer::OS |
Definition at line 68 of file EndianStream.h.
Referenced by llvm::MCLOHDirective::emit(), llvm::StableFunctionMapRecord::serialize(), write(), write(), and Writer().