llvm::MCInst::dump_pretty

dump_pretty overloads

Synopses

Declared in <llvm/MC/MCInst.h>

Dump the MCInst using the given mnemonic Name instead of looking it up. Operators are separated by the Separator string.

void
dump_pretty(
    raw_ostream& OS,
    StringRef Name,
    StringRef Separator = " ",
    MCContext const* Ctx = nullptr) const;
» more...

Dump the MCInst as prettily as possible using the additional MC structures, if given. Operators are separated by the Separator string.

void
dump_pretty(
    raw_ostream& OS,
    MCInstPrinter const* Printer = nullptr,
    StringRef Separator = " ",
    MCContext const* Ctx = nullptr) const;
» more...

Parameters

NameDescription
OS- Stream to print to.
Name- Mnemonic to print instead of looking up the opcode.
Separator- String inserted between operands.
Ctx- Optional context used when printing operands.
Printer- Optional printer used to format the instruction.