Go to the documentation of this file.
9 #ifndef LLVM_OBJECTYAML_YAML_H
10 #define LLVM_OBJECTYAML_YAML_H
71 bool DataIsHexString =
true;
82 return Data.size() / 2;
100 if (
LHS.Data.empty() &&
RHS.Data.empty())
103 return LHS.DataIsHexString ==
RHS.DataIsHexString &&
LHS.Data ==
RHS.Data;
116 #endif // LLVM_OBJECTYAML_YAML_H
friend bool operator==(const BinaryRef &LHS, const BinaryRef &RHS)
This is an optimization pass for GlobalISel generic memory operations.
bool operator==(const BinaryRef &LHS, const BinaryRef &RHS)
static QuotingType mustQuote(StringRef S)
BinaryRef(ArrayRef< uint8_t > Data)
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
void writeAsBinary(raw_ostream &OS, uint64_t N=UINT64_MAX) const
Write the contents (regardless of whether it is binary or a hex string) as binary to the given raw_os...
BinaryRef(StringRef Data)
StringRef - Represent a constant reference to a string, i.e.
Specialized YAMLIO scalar type for representing a binary blob.
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
ArrayRef< uint8_t >::size_type binary_size() const
The number of bytes that are represented by this BinaryRef.
void writeAsHex(raw_ostream &OS) const
Write the contents (regardless of whether it is binary or a hex string) as hex to the given raw_ostre...