Struct melior::dialect::llvm::LoadStoreOptions
source · pub struct LoadStoreOptions<'c> { /* private fields */ }
Expand description
Load/store options.
Implementations§
source§impl<'c> LoadStoreOptions<'c>
impl<'c> LoadStoreOptions<'c>
sourcepub fn align(self, align: Option<IntegerAttribute<'c>>) -> Self
pub fn align(self, align: Option<IntegerAttribute<'c>>) -> Self
Sets an alignment.
sourcepub fn nontemporal(self, nontemporal: bool) -> Self
pub fn nontemporal(self, nontemporal: bool) -> Self
Sets a nontemporal flag.
sourcepub fn access_groups(self, access_groups: Option<ArrayAttribute<'c>>) -> Self
pub fn access_groups(self, access_groups: Option<ArrayAttribute<'c>>) -> Self
Sets access groups.
sourcepub fn alias_scopes(self, alias_scopes: Option<ArrayAttribute<'c>>) -> Self
pub fn alias_scopes(self, alias_scopes: Option<ArrayAttribute<'c>>) -> Self
Sets alias scopes.
sourcepub fn nonalias_scopes(self, noalias_scopes: Option<ArrayAttribute<'c>>) -> Self
pub fn nonalias_scopes(self, noalias_scopes: Option<ArrayAttribute<'c>>) -> Self
Sets noalias scopes.
sourcepub fn tbaa(self, tbaa: ArrayAttribute<'c>) -> Self
pub fn tbaa(self, tbaa: ArrayAttribute<'c>) -> Self
Sets TBAA metadata.
Trait Implementations§
source§impl<'c> Clone for LoadStoreOptions<'c>
impl<'c> Clone for LoadStoreOptions<'c>
source§fn clone(&self) -> LoadStoreOptions<'c>
fn clone(&self) -> LoadStoreOptions<'c>
Returns a copy 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 LoadStoreOptions<'c>
impl<'c> Debug for LoadStoreOptions<'c>
source§impl<'c> Default for LoadStoreOptions<'c>
impl<'c> Default for LoadStoreOptions<'c>
source§fn default() -> LoadStoreOptions<'c>
fn default() -> LoadStoreOptions<'c>
Returns the “default value” for a type. Read more
impl<'c> Copy for LoadStoreOptions<'c>
Auto Trait Implementations§
impl<'c> RefUnwindSafe for LoadStoreOptions<'c>
impl<'c> !Send for LoadStoreOptions<'c>
impl<'c> !Sync for LoadStoreOptions<'c>
impl<'c> Unpin for LoadStoreOptions<'c>
impl<'c> UnwindSafe for LoadStoreOptions<'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