pub struct ReduceReturnOperation<'c> { /* private fields */ }
Expand description
A reduce.return
operation. Terminator for reduce operation.
“scf.reduce.return” is a special terminator operation for the block inside “scf.reduce”. It terminates the region. It should have the same type as the operand of “scf.reduce”. Example for the custom format:
scf.reduce.return %res : f32
Implementations§
source§impl<'c> ReduceReturnOperation<'c>
impl<'c> ReduceReturnOperation<'c>
Trait Implementations§
source§impl<'c> From<ReduceReturnOperation<'c>> for Operation<'c>
impl<'c> From<ReduceReturnOperation<'c>> for Operation<'c>
source§fn from(operation: ReduceReturnOperation<'c>) -> Self
fn from(operation: ReduceReturnOperation<'c>) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl<'c> RefUnwindSafe for ReduceReturnOperation<'c>
impl<'c> !Send for ReduceReturnOperation<'c>
impl<'c> !Sync for ReduceReturnOperation<'c>
impl<'c> Unpin for ReduceReturnOperation<'c>
impl<'c> UnwindSafe for ReduceReturnOperation<'c>
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