pub enum MlirDialect {
Show 14 variants
Builtin,
Arith,
Func,
CF,
MemRef,
SCF,
Affine,
Tensor,
Vector,
Linalg,
GPU,
LLVM,
Math,
Index,
}Expand description
MLIR dialect classification.
Variants§
Builtin
Built-in dialect (module, func types)
Arith
Arithmetic operations: addi, addf, muli, divsi, cmpi, extsi, trunci
Func
Function definitions and calls: func.func, func.call, func.return
CF
Control flow: cf.br, cf.cond_br, cf.switch
MemRef
Memory references: memref.alloc, memref.load, memref.store, memref.dealloc
SCF
Structured control flow: scf.if, scf.for, scf.while
Affine
Affine transformations: affine.for, affine.load, affine.store
Tensor
Tensor operations: tensor.extract, tensor.insert, tensor.reshape
Vector
Vector operations: vector.load, vector.store, vector.broadcast
Linalg
Linear algebra operations for ML: linalg.matmul, linalg.generic
GPU
GPU dialect: gpu.launch, gpu.thread_id, gpu.block_dim
LLVM
LLVM IR dialect: llvm.add, llvm.mlir.constant, llvm.call
Math
Math functions: math.sin, math.cos, math.exp, math.log, math.sqrt
Index
Index type operations
Trait Implementations§
Source§impl Clone for MlirDialect
impl Clone for MlirDialect
Source§fn clone(&self) -> MlirDialect
fn clone(&self) -> MlirDialect
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read more