My Project
SDBMDialect.h
Go to the documentation of this file.
1 //===- SDBMDialect.h - Dialect for striped DBMs -----------------*- C++ -*-===//
2 //
3 // Part of the MLIR 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 MLIR_DIALECT_SDBM_SDBMDIALECT_H
10 #define MLIR_DIALECT_SDBM_SDBMDIALECT_H
11 
12 #include "mlir/IR/Dialect.h"
14 
15 namespace mlir {
16 class MLIRContext;
17 
18 class SDBMDialect : public Dialect {
19 public:
21 
22  static StringRef getDialectNamespace() { return "sdbm"; }
23 
25  StorageUniquer &getUniquer() { return uniquer; }
26 
27 private:
28  StorageUniquer uniquer;
29 };
30 } // namespace mlir
31 
32 #endif // MLIR_DIALECT_SDBM_SDBMDIALECT_H
SDBMDialect(MLIRContext *context)
Definition: SDBMDialect.h:20
Definition: InferTypeOpInterface.cpp:20
Definition: Dialect.h:39
Definition: StorageUniquer.h:64
StorageUniquer & getUniquer()
Get the uniquer for SDBM expressions. This should not be used directly.
Definition: SDBMDialect.h:25
Definition: MLIRContext.h:34
Definition: SDBMDialect.h:18
static StringRef getDialectNamespace()
Definition: SDBMDialect.h:22