pub struct LoopMetadata {
pub id: LoopId,
pub trip_count: TripCount,
pub vector_width: Option<u8>,
pub parallel_chunk: Option<usize>,
pub unroll_factor: Option<u8>,
pub dependencies: Vec<LoopDependency>,
}Expand description
Loop metadata for optimization.
Fields§
§id: LoopIdLoop identifier.
trip_count: TripCountTrip count (iterations).
vector_width: Option<u8>Vectorization width (if applicable).
parallel_chunk: Option<usize>Parallel chunk size (if applicable).
unroll_factor: Option<u8>Unroll factor (if applicable).
dependencies: Vec<LoopDependency>Dependencies with other loops.
Trait Implementations§
Source§impl Clone for LoopMetadata
impl Clone for LoopMetadata
Source§fn clone(&self) -> LoopMetadata
fn clone(&self) -> LoopMetadata
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for LoopMetadata
impl Debug for LoopMetadata
Source§impl<'de> Deserialize<'de> for LoopMetadata
impl<'de> Deserialize<'de> for LoopMetadata
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Auto Trait Implementations§
impl Freeze for LoopMetadata
impl RefUnwindSafe for LoopMetadata
impl Send for LoopMetadata
impl Sync for LoopMetadata
impl Unpin for LoopMetadata
impl UnsafeUnpin for LoopMetadata
impl UnwindSafe for LoopMetadata
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