fn gen_type_constraints(
    all_inst: &Vec<Rc<InstructionContent>>,
    fmt: &mut Formatter
)
Expand description

Generate value type constraints for all instructions.

  • Emit a compact constant table of ValueTypeSet objects.
  • Emit a compact constant table of OperandConstraint objects.
  • Emit an opcode-indexed table of instruction constraints.