cranelift::prelude::isa::aarch64::inst::emit

Function mem_finalize

pub fn mem_finalize(
    sink: Option<&mut MachBuffer<MInst>>,
    mem: &AMode,
    access_ty: Type,
    state: &EmitState,
) -> (SmallVec<[MInst; 4]>, AMode)
Expand description

Memory addressing mode finalization: convert “special” modes (e.g., generic arbitrary stack offset) into real addressing modes, possibly by emitting some helper instructions that come immediately before the use of this amode.