Function cranelift_codegen::isa::aarch64::inst::emit::mem_finalize

source ·
pub fn mem_finalize(
    sink: Option<&mut MachBuffer<Inst>>,
    mem: &AMode,
    access_ty: Type,
    state: &EmitState
) -> (SmallVec<[Inst; 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.