pub struct AffineMaxOperation<'c> { /* private fields */ }
Expand description
A max
operation. Max operation.
The affine.max
operation computes the maximum value result from a multi-result
affine map.
Example:
%0 = affine.max (d0) -> (1000, d0 + 512) (%i0) : index
Implementations§
source§impl<'c> AffineMaxOperation<'c>
impl<'c> AffineMaxOperation<'c>
sourcepub fn as_operation(&self) -> &Operation<'c>
pub fn as_operation(&self) -> &Operation<'c>
Returns a generic operation.
sourcepub fn builder(
context: &'c Context,
location: Location<'c>
) -> AffineMaxOperationBuilder<'c, Unset, Unset>
pub fn builder( context: &'c Context, location: Location<'c> ) -> AffineMaxOperationBuilder<'c, Unset, Unset>
Creates a builder.
pub fn operands(&self) -> impl Iterator<Item = Value<'c, '_>>
pub fn map(&self) -> Result<Attribute<'c>, Error>
pub fn set_map(&mut self, value: Attribute<'c>)
Trait Implementations§
source§impl<'c> From<AffineMaxOperation<'c>> for Operation<'c>
impl<'c> From<AffineMaxOperation<'c>> for Operation<'c>
source§fn from(operation: AffineMaxOperation<'c>) -> Self
fn from(operation: AffineMaxOperation<'c>) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl<'c> RefUnwindSafe for AffineMaxOperation<'c>
impl<'c> !Send for AffineMaxOperation<'c>
impl<'c> !Sync for AffineMaxOperation<'c>
impl<'c> Unpin for AffineMaxOperation<'c>
impl<'c> UnwindSafe for AffineMaxOperation<'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