[][src]Function cranelift_codegen_meta::gen_legalizer::gen_transform

fn gen_transform<'a>(
    replace_inst: bool,
    transform: &'a Transform,
    type_sets: &mut UniqueTable<'a, TypeSet>,
    fmt: &mut Formatter
)

Emit code for transform, assuming that the opcode of transform's root instruction has already been matched.

inst: Inst is the variable to be replaced. It is pointed to by pos: Cursor. dfg: DataFlowGraph is available and mutable.