Function sway_ir::analysis::memory_utils::get_memory_offsets

source ·
pub fn get_memory_offsets(
    context: &Context<'_>,
    val: Value
) -> FxIndexMap<Symbol, u64>
Expand description

Given a memory pointer instruction, compute the offset of indexed element, for each symbol that this may alias to.