Function cranelift_codegen_meta::gen_inst::gen_inst_builder

source ·
fn gen_inst_builder(
    inst: &Rc<InstructionContent>,
    format: &InstructionFormat,
    fmt: &mut Formatter
)
Expand description

Emit a method for generating the instruction inst.

The method will create and insert an instruction, then return the result values, or the instruction reference itself for instructions that don’t have results.