Go to the documentation of this file.
21 void ScopedPrinter::printBinaryImpl(StringRef Label, StringRef Str,
22 ArrayRef<uint8_t> Data,
bool Block,
34 (IndentLevel + 1) * 2,
true)
38 startLine() <<
Label <<
":";
47 std::unique_ptr<DelimitedScope> &&OuterScope)
49 JOS(OS, PrettyPrint ? 2 : 0),
50 OuterScope(
std::
move(OuterScope)) {
52 this->OuterScope->setPrinter(*
this);
This is an optimization pass for GlobalISel generic memory operations.
FormattedBytes format_bytes(ArrayRef< uint8_t > Bytes, Optional< uint64_t > FirstByteOffset=None, uint32_t NumPerLine=16, uint8_t ByteGroupSize=4, uint32_t IndentLevel=0, bool Upper=false)
A raw_ostream that writes to an std::string.
std::string to_hexString(uint64_t Value, bool UpperCase=true)
FormattedNumber format_hex_no_prefix(uint64_t N, unsigned Width, bool Upper=false)
format_hex_no_prefix - Output N as a fixed width hexadecimal.
This class implements an extremely fast bulk output stream that can only output to a stream.
raw_ostream & operator<<(raw_ostream &OS, const APFixedPoint &FX)
Value(Type *Ty, unsigned scid)
OutputIt move(R &&Range, OutputIt Out)
Provide wrappers to std::move which take ranges instead of having to pass begin/end explicitly.
JSONScopedPrinter(raw_ostream &OS, bool PrettyPrint=false, std::unique_ptr< DelimitedScope > &&OuterScope=std::unique_ptr< DelimitedScope >{})
FormattedBytes format_bytes_with_ascii(ArrayRef< uint8_t > Bytes, Optional< uint64_t > FirstByteOffset=None, uint32_t NumPerLine=16, uint8_t ByteGroupSize=4, uint32_t IndentLevel=0, bool Upper=false)
std::string & str()
Returns the string's reference.
LLVM Value Representation.