Print this instruction to OS.
Synopsis
Declared in <llvm/CodeGen/MachineInstr.h>
void
print(
raw_ostream& OS,
bool IsStandalone = true,
bool SkipOpers = false,
bool SkipDebugLoc = false,
bool AddNewLine = true,
TargetInstrInfo const* TII = nullptr) const;
Description
When IsStandalone is false, omit information inferable from other instructions (typical when printing a fragment). SkipOpers prints only defs and opcode; otherwise operands are printed, and the debug location unless SkipDebugLoc. TII supplies opcode names when set.
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. |
Created with MrDocs