//===- MemRefBase.td - Base definitions for memref dialect -*- tablegen -*-===// // // Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions. // See https://llvm.org/LICENSE.txt for license information. // SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception // //===----------------------------------------------------------------------===// #ifndef MEMREF_BASE #define MEMREF_BASE include "mlir/IR/OpBase.td" def MemRef_Dialect : Dialect { let name = "memref"; let cppNamespace = "::mlir::memref"; let description = [{ The `memref` dialect is intended to hold core memref creation and manipulation ops, which are not strongly associated with any particular other dialect or domain abstraction. }]; let dependentDialects = [ // `arith` is a dependency because it is used to materialize constants, // and in some canonicalization patterns. "arith::ArithDialect", // `ub` is a dependency because `AllocaOp::getDefaultValue` can produce a // `ub.poison` value. "ub::UBDialect" ]; let hasConstantMaterializer = 1; } #endif // MEMREF_BASE