[−][src]Trait cranelift_codegen::machinst::lower::LowerBackend
A machine backend.
Associated Types
Loading content...Required methods
fn lower<C: LowerCtx<I = Self::MInst>>(&self, ctx: &mut C, inst: Inst)
Lower a single instruction. Instructions are lowered in reverse order.
This function need not handle branches; those are always passed to
lower_branch_group
below.
fn lower_branch_group<C: LowerCtx<I = Self::MInst>>(
&self,
ctx: &mut C,
insts: &[Inst],
targets: &[BlockIndex],
fallthrough: Option<BlockIndex>
)
&self,
ctx: &mut C,
insts: &[Inst],
targets: &[BlockIndex],
fallthrough: Option<BlockIndex>
)
Lower a block-terminating group of branches (which together can be seen as one N-way branch), given a vcode BlockIndex for each target.