Affine Expressions
Base.:*
— Method*(lhs, rhs)
Creates an affine mul expression with 'lhs' and 'rhs'.
Base.:+
— Method+(lhs, rhs)
Creates an affine add expression with 'lhs' and 'rhs'.
Base.:==
— Method==(a, b)
Returns true
if the two affine expressions are equal.
Base.cld
— Methodcld(lhs, rhs)
Creates an affine ceildiv expression with 'lhs' and 'rhs'.
Base.div
— Methoddiv(lhs, rhs)
+AffineExpr · MLIR.jl Affine Expressions
Base.:*
— Method*(lhs, rhs)
Creates an affine mul expression with 'lhs' and 'rhs'.
sourceBase.:+
— Method+(lhs, rhs)
Creates an affine add expression with 'lhs' and 'rhs'.
sourceBase.:==
— Method==(a, b)
Returns true
if the two affine expressions are equal.
sourceBase.cld
— Methodcld(lhs, rhs)
Creates an affine ceildiv expression with 'lhs' and 'rhs'.
sourceBase.div
— Methoddiv(lhs, rhs)
÷(lhs, rhs)
-fld(lhs, rhs)
Creates an affine floordiv expression with 'lhs' and 'rhs'.
sourceBase.gcd
— Methodgcd(affineExpr)
Returns the greatest known integral divisor of this affine expression. The result is always positive.
sourceBase.mod
— Methodmod(lhs, rhs)
Creates an affine mod expression with 'lhs' and 'rhs'.
sourceMLIR.IR.AffineDimensionExpr
— MethodAffineDimensionExpr(position; context=context)
Creates an affine dimension expression with 'position' in the context.
sourceMLIR.IR.ConstantExpr
— MethodConstantExpr(constant::Int; context=context())
Creates an affine constant expression with 'constant' in the context.
sourceMLIR.IR.SymbolExpr
— MethodSymbolExpr(position; context=context())
Creates an affine symbol expression with 'position' in the context.
sourceMLIR.IR.context
— Methodcontext(affineExpr)
Gets the context that owns the affine expression.
sourceMLIR.IR.is_pure_affine
— Methodis_pure_affine(affineExpr)
Checks whether the given affine expression is a pure affine expression, i.e. mul, floordiv, ceildic, and mod is only allowed w.r.t constants.
sourceMLIR.IR.is_symbolic_or_constant
— Methodis_symbolic_or_constant(affineExpr)
Checks whether the given affine expression is made out of only symbols and constants.
sourceMLIR.IR.isadd
— Methodisadd(affineExpr)
Checks whether the given affine expression is an add expression.
sourceMLIR.IR.isbinary
— Methodisbinary(affineExpr)
Checks whether the given affine expression is binary.
sourceMLIR.IR.isceildiv
— Methodisceildiv(affineExpr)
Checks whether the given affine expression is an ceildiv expression.
sourceMLIR.IR.isconstantexpr
— Methodisconstantexpr(affineExpr)
Checks whether the given affine expression is a constant expression.
sourceMLIR.IR.isdimexpr
— Methodisdimexpr(affineExpr)
Checks whether the given affine expression is a dimension expression.
sourceMLIR.IR.isfloordiv
— Methodisfloordiv(affineExpr)
Checks whether the given affine expression is an floordiv expression.
sourceMLIR.IR.isfunctionofdimexpr
— Methodisfunctionofdimexpr(affineExpr, position)
Checks whether the given affine expression involves AffineDimExpr 'position'.
sourceMLIR.IR.ismod
— Methodismod(affineExpr)
Checks whether the given affine expression is an mod expression.
sourceMLIR.IR.ismul
— Methodismul(affineExpr)
Checks whether the given affine expression is an mul expression.
sourceMLIR.IR.ismultipleof
— Methodismultipleof(affineExpr, factor)
Checks whether the given affine expression is a multiple of 'factor'.
sourceMLIR.IR.issymbolexpr
— Methodissymbolexpr(affineExpr)
Checks whether the given affine expression is a symbol expression.
sourceMLIR.IR.lhs
— Methodlhs(affineExpr)
Returns the left hand side affine expression of the given affine binary operation expression.
sourceMLIR.IR.position
— Methodposition(affineExpr)
Returns the position of the given affine dimension expression, affine symbol expression or ...
sourceMLIR.IR.rhs
— Methodrhs(affineExpr)
Returns the right hand side affine expression of the given affine binary operation expression.
sourceMLIR.IR.value
— Methodvalue(affineExpr)
Returns the value of the given affine constant expression.
sourceSettings
This document was generated with Documenter.jl version 0.27.25 on Sunday 2 June 2024. Using Julia version 1.10.3.
+fld(lhs, rhs)
Creates an affine floordiv expression with 'lhs' and 'rhs'.
Base.gcd
— Methodgcd(affineExpr)
Returns the greatest known integral divisor of this affine expression. The result is always positive.
Base.mod
— Methodmod(lhs, rhs)
Creates an affine mod expression with 'lhs' and 'rhs'.
MLIR.IR.AffineDimensionExpr
— MethodAffineDimensionExpr(position; context=context)
Creates an affine dimension expression with 'position' in the context.
MLIR.IR.ConstantExpr
— MethodConstantExpr(constant::Int; context=context())
Creates an affine constant expression with 'constant' in the context.
MLIR.IR.SymbolExpr
— MethodSymbolExpr(position; context=context())
Creates an affine symbol expression with 'position' in the context.
MLIR.IR.context
— Methodcontext(affineExpr)
Gets the context that owns the affine expression.
MLIR.IR.is_pure_affine
— Methodis_pure_affine(affineExpr)
Checks whether the given affine expression is a pure affine expression, i.e. mul, floordiv, ceildic, and mod is only allowed w.r.t constants.
MLIR.IR.is_symbolic_or_constant
— Methodis_symbolic_or_constant(affineExpr)
Checks whether the given affine expression is made out of only symbols and constants.
MLIR.IR.isadd
— Methodisadd(affineExpr)
Checks whether the given affine expression is an add expression.
MLIR.IR.isbinary
— Methodisbinary(affineExpr)
Checks whether the given affine expression is binary.
MLIR.IR.isceildiv
— Methodisceildiv(affineExpr)
Checks whether the given affine expression is an ceildiv expression.
MLIR.IR.isconstantexpr
— Methodisconstantexpr(affineExpr)
Checks whether the given affine expression is a constant expression.
MLIR.IR.isdimexpr
— Methodisdimexpr(affineExpr)
Checks whether the given affine expression is a dimension expression.
MLIR.IR.isfloordiv
— Methodisfloordiv(affineExpr)
Checks whether the given affine expression is an floordiv expression.
MLIR.IR.isfunctionofdimexpr
— Methodisfunctionofdimexpr(affineExpr, position)
Checks whether the given affine expression involves AffineDimExpr 'position'.
MLIR.IR.ismod
— Methodismod(affineExpr)
Checks whether the given affine expression is an mod expression.
MLIR.IR.ismul
— Methodismul(affineExpr)
Checks whether the given affine expression is an mul expression.
MLIR.IR.ismultipleof
— Methodismultipleof(affineExpr, factor)
Checks whether the given affine expression is a multiple of 'factor'.
MLIR.IR.issymbolexpr
— Methodissymbolexpr(affineExpr)
Checks whether the given affine expression is a symbol expression.
MLIR.IR.lhs
— Methodlhs(affineExpr)
Returns the left hand side affine expression of the given affine binary operation expression.
MLIR.IR.position
— Methodposition(affineExpr)
Returns the position of the given affine dimension expression, affine symbol expression or ...
MLIR.IR.rhs
— Methodrhs(affineExpr)
Returns the right hand side affine expression of the given affine binary operation expression.
MLIR.IR.value
— Methodvalue(affineExpr)
Returns the value of the given affine constant expression.