pub struct Expr(/* private fields */);
Implementations§
Source§impl Expr
impl Expr
pub fn as_binary(&self) -> Option<Binary>
pub fn as_constant(&self) -> Option<Constant>
pub fn as_dim(&self) -> Option<Dim>
pub fn as_symbol(&self) -> Option<Symbol>
pub fn compose(&self, map: &Map) -> Self
pub fn dump(&self)
pub fn get(&self) -> &MlirAffineExpr
pub fn get_context(&self) -> Context
pub fn get_largest_divisor(&self) -> i64
pub fn get_mut(&mut self) -> &mut MlirAffineExpr
pub fn is_add(&self) -> bool
pub fn is_mod(&self) -> bool
pub fn is_mul(&self) -> bool
pub fn is_ceil_div(&self) -> bool
pub fn is_floor_div(&self) -> bool
pub fn is_binary(&self) -> bool
pub fn is_constant(&self) -> bool
pub fn is_dim(&self) -> bool
pub fn is_function_of_dim(&self, pos: isize) -> bool
pub fn is_multiple_of(&self, factor: i64) -> bool
pub fn is_pure(&self) -> bool
pub fn is_semi_affine(&self) -> bool
pub fn is_symbol(&self) -> bool
pub fn is_symbolic_or_constant(&self) -> bool
pub fn print(&self, state: &mut StringCallbackState)
Trait Implementations§
Source§impl From<MlirAffineExpr> for Expr
impl From<MlirAffineExpr> for Expr
Source§fn from(expr: MlirAffineExpr) -> Self
fn from(expr: MlirAffineExpr) -> Self
Converts to this type from the input type.
impl Copy for Expr
Auto Trait Implementations§
impl Freeze for Expr
impl RefUnwindSafe for Expr
impl !Send for Expr
impl !Sync for Expr
impl Unpin for Expr
impl UnwindSafe for Expr
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