IRInstruction

struct IRInstruction

One #_ir instruction: its name, optional destination register lexeme (? requests a fresh one), optional operand type, value operands in instruction order, and the cmp comparator.

Properties

let name: String

The inline-IR opcode spelling.

let name_start: Int

The inclusive starting byte offset of the name.

let name_end: Int

The exclusive ending byte offset of the name.

let dest: String?

The destination register, when the instruction produces one.

let values: [IRValue]

Immediate, register, and bind operands in instruction order.

let op: TokenKind?

The inline IR operator, when one was written.