Print this MI to OS. Don't print information that can be inferred from other instructions if IsStandalone is false. It is usually true when only a fragment of the function is printed. Only print the defs and the opcode if SkipOpers is true. Otherwise, also print operands if SkipDebugLoc is true. Otherwise, also print the debug loc, with a terminating newline. TII is used to print the opcode name. If it's not present, but the MI is in a function, the opcode will be printed using the function's TII.

Synopses

Declared in <llvm/CodeGen/MachineInstr.h>

Print this MI to OS. Don't print information that can be inferred from other instructions if IsStandalone is false. It is usually true when only a fragment of the function is printed. Only print the defs and the opcode if SkipOpers is true. Otherwise, also print operands if SkipDebugLoc is true. Otherwise, also print the debug loc, with a terminating newline. TII is used to print the opcode name. If it's not present, but the MI is in a function, the opcode will be printed using the function's TII.

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

Created with MrDocs