pub struct MapPlan {
pub induction: Slot,
pub limit: Slot,
pub cmp: Cmp,
pub body_start: usize,
pub body_end: usize,
}Expand description
A recognized element-wise map loop. The straight-line load/compute/store body
is ops[body_start..body_end]; the guard, increment, and back-edge surround it.
Fields§
§induction: SlotThe induction variable slot i (a 1-based array index).
limit: SlotThe loop-limit slot n (the guard Branch right operand).
cmp: CmpThe guard comparison: Lt (i < n) or LtEq (i <= n). Decides how many
elements a full SIMD pair needs and where the scalar tail begins.
body_start: usizeThe straight-line load/compute/store body is ops[body_start..body_end].
body_end: usizeTrait Implementations§
impl Eq for MapPlan
impl StructuralPartialEq for MapPlan
Auto Trait Implementations§
impl Freeze for MapPlan
impl RefUnwindSafe for MapPlan
impl Send for MapPlan
impl Sync for MapPlan
impl Unpin for MapPlan
impl UnsafeUnpin for MapPlan
impl UnwindSafe for MapPlan
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more