Skip to main content

pointer_offset_direction

Function pointer_offset_direction 

Source
pub(crate) fn pointer_offset_direction(
    tcx: TyCtxt<'_>,
    callee: DefId,
) -> Option<PointerOffsetDirection>
Expand description

Infer the direction of a pointer offset from optimized MIR, including wrappers around Offset and the arith_offset intrinsic.