pub struct LoopIR {
pub name: Symbol,
pub params: Vec<Param>,
pub return_ty: LoopType,
pub body: Body,
pub allocs: Vec<Alloc>,
pub loop_info: Vec<LoopMetadata>,
}Expand description
The main Loop IR structure.
Fields§
§name: SymbolFunction name.
params: Vec<Param>Function parameters.
return_ty: LoopTypeReturn type.
body: BodyThe body (list of statements and loops).
allocs: Vec<Alloc>Memory allocations.
loop_info: Vec<LoopMetadata>Loop metadata for optimization.
Trait Implementations§
Source§impl<'de> Deserialize<'de> for LoopIR
impl<'de> Deserialize<'de> for LoopIR
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 LoopIR
impl RefUnwindSafe for LoopIR
impl Send for LoopIR
impl Sync for LoopIR
impl Unpin for LoopIR
impl UnsafeUnpin for LoopIR
impl UnwindSafe for LoopIR
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