Function cranelift_codegen_meta::gen_inst::gen_type_constraints
source · 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.