print overloads

Synopses

Declared in <llvm/CodeGen/MachineInstr.h>

Print this instruction to OS.

void
print(
    raw_ostream& OS,
    bool IsStandalone = true,
    bool SkipOpers = false,
    bool SkipDebugLoc = false,
    bool AddNewLine = true,
    TargetInstrInfo const* TII = nullptr) const;

Print this instruction to OS using module slot tracker MST.

void
print(
    raw_ostream& OS,
    ModuleSlotTracker& MST,
    bool IsStandalone = true,
    bool SkipOpers = false,
    bool SkipDebugLoc = false,
    bool AddNewLine = true,
    TargetInstrInfo const* TII = nullptr) const;

Parameters

Name

Description

OS

Output stream.

IsStandalone

Whether to print standalone (non‐fragment) details.

SkipOpers

If true, print only defs and the opcode.

SkipDebugLoc

If true, omit the debug location.

AddNewLine

If true, terminate the printout with a newline.

TII

Optional target instr info for opcode names.

MST

Module slot tracker for IR name resolution.

Created with MrDocs