xref: /llvm-project/mlir/include/mlir/Dialect/MemRef/IR/MemRefBase.td (revision 863c346209e27d22157fad21d0fd730e710a3441)
1//===- MemRefBase.td - Base definitions for memref 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 MEMREF_BASE
10#define MEMREF_BASE
11
12include "mlir/IR/OpBase.td"
13
14def MemRef_Dialect : Dialect {
15  let name = "memref";
16  let cppNamespace = "::mlir::memref";
17  let description = [{
18    The `memref` dialect is intended to hold core memref creation and
19    manipulation ops, which are not strongly associated with any particular
20    other dialect or domain abstraction.
21  }];
22  let dependentDialects = ["arith::ArithDialect"];
23  let hasConstantMaterializer = 1;
24}
25
26#endif // MEMREF_BASE
27