LLVM 20.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::msgpack::Writer::write(), llvm::CGDataOStream::write(), llvm::ProfOStream::write(), llvm::CGDataOStream::write32(), llvm::ProfOStream::write32(), llvm::CGDataOStream::write8(), llvm::msgpack::Writer::writeArraySize(), llvm::ProfOStream::writeByte(), llvm::MachObjectWriter::writeDysymtabLoadCommand(), llvm::msgpack::Writer::writeExt(), llvm::MachObjectWriter::writeHeader(), llvm::MachObjectWriter::writeLinkeditLoadCommand(), llvm::MachObjectWriter::writeLinkerOptionsLoadCommand(), llvm::msgpack::Writer::writeMapSize(), llvm::sampleprof::SampleProfileWriterExtBinaryBase::writeNameTable(), llvm::msgpack::Writer::writeNil(), llvm::MachObjectWriter::writeNlist(), llvm::MachObjectWriter::writeObject(), llvm::MachObjectWriter::writeSection(), llvm::MachObjectWriter::writeSegmentLoadCommand(), and llvm::MachObjectWriter::writeSymtabLoadCommand().
|
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.
Referenced by llvm::MachObjectWriter::computeSymbolTable(), write(), llvm::WinCOFFWriter::writeObject(), and llvm::MachObjectWriter::writeObject().
raw_ostream& llvm::support::endian::Writer::OS |
Definition at line 68 of file EndianStream.h.
Referenced by llvm::MCLOHDirective::emit(), write(), llvm::msgpack::Writer::write(), llvm::MachObjectWriter::writeDysymtabLoadCommand(), llvm::msgpack::Writer::writeExt(), llvm::MachObjectWriter::writeHeader(), llvm::MachObjectWriter::writeLinkeditLoadCommand(), llvm::MachObjectWriter::writeLinkerOptionsLoadCommand(), llvm::MachObjectWriter::writeNlist(), llvm::WinCOFFWriter::writeObject(), llvm::MachObjectWriter::writeObject(), llvm::MachObjectWriter::writeSection(), llvm::MachObjectWriter::writeSegmentLoadCommand(), and llvm::MachObjectWriter::writeSymtabLoadCommand().