1//===- ComplexBase.td - Base definitions for complex dialect -*- tablegen -*-=// 2// 3// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions. 4// See https://llvm.org/LICENSE.txt for license information. 5// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception 6// 7//===----------------------------------------------------------------------===// 8 9#ifndef COMPLEX_BASE 10#define COMPLEX_BASE 11 12include "mlir/IR/OpBase.td" 13 14def Complex_Dialect : Dialect { 15 let name = "complex"; 16 let cppNamespace = "::mlir::complex"; 17 let description = [{ 18 The complex dialect is intended to hold complex numbers creation and 19 arithmetic ops. 20 }]; 21 22 let dependentDialects = ["arith::ArithDialect"]; 23 let hasConstantMaterializer = 1; 24 let useDefaultAttributePrinterParser = 1; 25} 26 27#endif // COMPLEX_BASE 28