pub enum INode {
}Expand description
A node.
Variants§
Const(IType, u32)
Constant (bits; bool is 0/1).
Param(u16, IType)
Function input.
Bin(BinOp, IId, IId)
Binary op.
Un(UnOp, IId)
Unary op.
Cmp(CmpOp, IId, IId)
Comparison.
Select(IId, IId, IId)
if c { a } else { b } (both sides evaluated).
Bitcast(IType, IId)
Reinterpret bits as another 32-bit type.
Load(u16, IId)
buf[index] from a read-only buffer (index is u32).
State(u32, u16)
State k of loop l, inside its body.
LoopOut(u32, u16)
Final state k of loop l, after it.
Tok
The initial effect token (u32, value 0).
LoadRw(u16, IId, IId)
buf[index] from a scratch buffer, as of effect token tok.
Store(u16, IId, IId, IId)
buf[index] = value on a scratch buffer after effect token tok;
yields the next token.
Trait Implementations§
impl Copy for INode
impl Eq for INode
impl StructuralPartialEq for INode
Auto Trait Implementations§
impl Freeze for INode
impl RefUnwindSafe for INode
impl Send for INode
impl Sync for INode
impl Unpin for INode
impl UnsafeUnpin for INode
impl UnwindSafe for INode
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