pub struct Prefetch(/* private fields */);
Implementations§
Source§impl Prefetch
impl Prefetch
pub fn new( context: &Context, map: Map, buffer: &Value, indices: &[Value], is_data_cache: bool, is_write: bool, locality_hint: LocalityHintLevel, loc: &Location, ) -> Self
pub fn get(&self) -> &MlirOperation
pub fn get_is_data_cache(&self) -> IsDataCache
pub fn get_is_write(&self) -> IsWrite
pub fn get_locality_hint(&self) -> LocalityHint
pub fn get_map(&self) -> NamedMap
pub fn get_mut(&mut self) -> &mut MlirOperation
Trait Implementations§
Source§impl From<MlirOperation> for Prefetch
impl From<MlirOperation> for Prefetch
Source§fn from(op: MlirOperation) -> Self
fn from(op: MlirOperation) -> Self
Converts to this type from the input type.
Source§impl IOperation for Prefetch
impl IOperation for Prefetch
fn get(&self) -> &MlirOperation
fn get_dialect(&self) -> Dialect
fn get_effects(&self) -> MemoryEffectList
fn get_interfaces(&self) -> &'static [Interface]
fn get_mut(&mut self) -> &mut MlirOperation
fn get_name(&self) -> &'static str
fn get_op(&self) -> OpRef
fn get_traits(&self) -> &'static [Trait]
fn as_operation(&self) -> Operation ⓘ
Auto Trait Implementations§
impl Freeze for Prefetch
impl RefUnwindSafe for Prefetch
impl !Send for Prefetch
impl !Sync for Prefetch
impl Unpin for Prefetch
impl UnwindSafe for Prefetch
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