| 1 | /*===- TableGen'erated file -------------------------------------*- C++ -*-===*\ |
|---|---|
| 2 | |* *| |
| 3 | |* Dialect Definitions *| |
| 4 | |* *| |
| 5 | |* Automatically generated file, do not edit! *| |
| 6 | |* From: ComplexOps.td *| |
| 7 | |* *| |
| 8 | \*===----------------------------------------------------------------------===*/ |
| 9 | |
| 10 | #include "mlir/IR/MLIRContext.h" |
| 11 | |
| 12 | MLIR_DEFINE_EXPLICIT_TYPE_ID(::mlir::complex::ComplexDialect) |
| 13 | namespace mlir::complex { |
| 14 | |
| 15 | |
| 16 | ComplexDialect::ComplexDialect(::mlir::MLIRContext *context) |
| 17 | : ::mlir::Dialect(getDialectNamespace(), context, ::mlir::TypeID::get<ComplexDialect>()) |
| 18 | |
| 19 | { |
| 20 | getContext()->loadDialect<arith::ArithDialect>(); |
| 21 | initialize(); |
| 22 | } |
| 23 | |
| 24 | ComplexDialect::~ComplexDialect() = default; |
| 25 | |
| 26 | |
| 27 | } // namespace mlir::complex |
| 28 |