cranelift_codegen::isa::aarch64::inst::emit

Function mem_finalize

Source
pub fn mem_finalize(
    sink: Option<&mut MachBuffer<Inst>>,
    mem: &AMode,
    access_ty: Type,
    state: &EmitState,
) -> (SmallVec<[Inst; 4]>, AMode)
Available on crate feature arm64 only.
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.