This is an optimization pass for GlobalISel generic memory operations.
Provides write only access to a subclass of WritableBinaryStream.
static ErrorSuccess success()
Create a success value.
Error commit(BinaryStreamWriter &Writer) const override
uint64_t getLength() const
void addSymbol(CVSymbol Symbol)
Provides read only access to a subclass of BinaryStream.
Error writeBytes(ArrayRef< uint8_t > Buffer)
Write the bytes specified in Buffer to the underlying stream.
CVRecord is a fat pointer (base + size pair) to a symbol or type record.
Lightweight error class with error context and mandatory checking.
Error initialize(BinaryStreamReader Reader)
uint32_t calculateSerializedSize() const override
Error readArray(ArrayRef< T > &Array, uint32_t NumElements)
Get a reference to a NumElements element array of objects of type T from the underlying stream as if ...