[][src]Function cranelift_codegen_meta::gen_inst::gen_type_constraints

fn gen_type_constraints(
    all_inst: &PrimaryMap<OpcodeNumber, Rc<InstructionContent>>,
    fmt: &mut Formatter
)

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.