Go to the documentation of this file.
30 io.mapRequired(
"Version", DebugH.
Version);
32 io.mapOptional(
"HashValues", DebugH.
Hashes);
78 for (
const auto &
H : DebugH.
Hashes) {
81 H.Hash.writeAsBinary(OS);
82 assert((Hash.size() == 8) &&
"Invalid hash size!");
This is an optimization pass for GlobalISel generic memory operations.
Error writeInteger(T Value)
Write the integer Value to the underlying stream in the specified endianness.
Error readBytes(ArrayRef< uint8_t > &Buffer, uint32_t Size)
Read Size bytes from the underlying stream at the current offset and and set Buffer to the resulting ...
Error writeFixedString(StringRef Str)
Write the string Str to the underlying stream without a null terminator.
Provides write only access to a subclass of WritableBinaryStream.
uint64_t bytesRemaining() const
Error readInteger(T &Dest)
Read an integer of the specified endianness into Dest and update the stream's offset.
This class implements an extremely fast bulk output stream that can only output to a stream.
The initial backend is deliberately restricted to z10 We should add support for later architectures at some point If an asm ties an i32 r result to an i64 input
Provides read only access to a subclass of BinaryStream.
uint64_t bytesRemaining() const
std::vector< GlobalHash > Hashes
Allocate memory in an ever growing pool, as if by bump-pointer.
assert(ImpDefSCC.getReg()==AMDGPU::SCC &&ImpDefSCC.isDef())
ArrayRef< uint8_t > toDebugH(const DebugHSection &DebugH, BumpPtrAllocator &Alloc)
DebugHSection fromDebugH(ArrayRef< uint8_t > DebugH)
StringRef - Represent a constant reference to a string, i.e.
void cantFail(Error Err, const char *Msg=nullptr)
Report a fatal error if Err is a failure value.
add sub stmia L5 ldr r0 bl L_printf $stub Instead of a and a wouldn t it be better to do three moves *Return an aggregate type is even return S
LLVM_ATTRIBUTE_RETURNS_NONNULL void * Allocate(size_t Size, Align Alignment)
Allocate space at the specified alignment.
size_t size() const
size - Get the array size.
A raw_ostream that writes to an SmallVector or SmallString.