LLVM 20.0.0git
Classes | Namespaces | Functions
EndianStream.h File Reference
#include "llvm/ADT/ArrayRef.h"
#include "llvm/ADT/SmallVector.h"
#include "llvm/Support/Endian.h"
#include "llvm/Support/raw_ostream.h"

Go to the source code of this file.

Classes

struct  llvm::support::endian::Writer
 Adapter to write values to a stream in a particular byte order. More...
 

Namespaces

namespace  llvm
 This is an optimization pass for GlobalISel generic memory operations.
 
namespace  llvm::support
 
namespace  llvm::support::endian
 

Functions

template<typename value_type >
void llvm::support::endian::write_array (raw_ostream &os, ArrayRef< value_type > values, endianness endian)
 
template<typename value_type >
void llvm::support::endian::write (raw_ostream &os, value_type value, endianness endian)
 
template<>
void llvm::support::endian::write< float > (raw_ostream &os, float value, endianness endian)
 
template<>
void llvm::support::endian::write< double > (raw_ostream &os, double value, endianness endian)
 
template<typename value_type >
void llvm::support::endian::write (raw_ostream &os, ArrayRef< value_type > vals, endianness endian)
 
template<typename value_type >
void llvm::support::endian::write (SmallVectorImpl< char > &Out, value_type V, endianness E)