pub struct ZeroOperation<'c> { /* private fields */ }Expand description
A zero operation. Creates a zero-initialized value of SME virtual tile type.
Creates a new SME “virtual tile” value within a function. The contents of the tile returned from this operation are zero-initialized.
Example 1: Zero an 8-bit element ZA tile.
%0 = arm_sme.zero : vector<[16]x[16]xi8>Example 2: Zero a 64-bit element ZA tile.
%0 = arm_sme.zero : vector<[2]x[2]xi64>Implementations§
Source§impl<'c> ZeroOperation<'c>
impl<'c> ZeroOperation<'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>,
) -> ZeroOperationBuilder<'c, Unset>
pub fn builder( context: &'c Context, location: Location<'c>, ) -> ZeroOperationBuilder<'c, Unset>
Creates a builder.
pub fn res(&self) -> Result<OperationResult<'c, '_>, Error>
Trait Implementations§
Source§impl<'c> Clone for ZeroOperation<'c>
impl<'c> Clone for ZeroOperation<'c>
Source§fn clone(&self) -> ZeroOperation<'c>
fn clone(&self) -> ZeroOperation<'c>
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl<'c> Debug for ZeroOperation<'c>
impl<'c> Debug for ZeroOperation<'c>
Source§impl<'b> From<ZeroOperation<'b>> for ArmSmeDialectOperation<'b>
impl<'b> From<ZeroOperation<'b>> for ArmSmeDialectOperation<'b>
Source§fn from(op: ZeroOperation<'b>) -> Self
fn from(op: ZeroOperation<'b>) -> Self
Converts to this type from the input type.
Source§impl<'c> From<ZeroOperation<'c>> for Operation<'c>
impl<'c> From<ZeroOperation<'c>> for Operation<'c>
Source§fn from(operation: ZeroOperation<'c>) -> Self
fn from(operation: ZeroOperation<'c>) -> Self
Converts to this type from the input type.
Source§impl<'c> PartialEq for ZeroOperation<'c>
impl<'c> PartialEq for ZeroOperation<'c>
Source§impl<'c> TryFrom<Operation<'c>> for ZeroOperation<'c>
impl<'c> TryFrom<Operation<'c>> for ZeroOperation<'c>
impl<'c> Eq for ZeroOperation<'c>
impl<'c> StructuralPartialEq for ZeroOperation<'c>
Auto Trait Implementations§
impl<'c> Freeze for ZeroOperation<'c>
impl<'c> RefUnwindSafe for ZeroOperation<'c>
impl<'c> !Send for ZeroOperation<'c>
impl<'c> !Sync for ZeroOperation<'c>
impl<'c> Unpin for ZeroOperation<'c>
impl<'c> UnwindSafe for ZeroOperation<'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