cranelift_codegen_meta::gen_inst

Function gen_instruction_data

source
fn gen_instruction_data(formats: &[Rc<InstructionFormat>], fmt: &mut Formatter)
Expand description

Generate the InstructionData enum.

Every variant must contain an opcode field. The size of InstructionData should be kept at 16 bytes on 64-bit architectures. If more space is needed to represent an instruction, use a ValueList to store the additional information out of line.