xrcf/dialect/arith/mod.rs
1//! Arithmetic dialect.
2//!
3//! This dialect is meant to hold basic integer and floating point operations.
4mod op;
5
6use crate::Dialect;
7
8pub use op::AddiOp;
9pub use op::ConstantOp;
10pub use op::DivsiOp;
11pub use op::SubiOp;
12
13pub struct Arith;
14
15impl Dialect for Arith {
16 fn name(&self) -> &'static str {
17 "arith"
18 }
19 fn description(&self) -> &'static str {
20 "Arithmetic dialect"
21 }
22}