My Project
include
mlir
Dialect
SDBM
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
"
13
#include "
mlir/Support/StorageUniquer.h
"
14
15
namespace
mlir
{
16
class
MLIRContext;
17
18
class
SDBMDialect
:
public
Dialect
{
19
public
:
20
SDBMDialect
(
MLIRContext
*context) :
Dialect
(
getDialectNamespace
(), context) {}
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
mlir::SDBMDialect::SDBMDialect
SDBMDialect(MLIRContext *context)
Definition:
SDBMDialect.h:20
mlir
Definition:
InferTypeOpInterface.cpp:20
mlir::Dialect
Definition:
Dialect.h:39
StorageUniquer.h
mlir::StorageUniquer
Definition:
StorageUniquer.h:64
mlir::SDBMDialect::getUniquer
StorageUniquer & getUniquer()
Get the uniquer for SDBM expressions. This should not be used directly.
Definition:
SDBMDialect.h:25
Dialect.h
mlir::MLIRContext
Definition:
MLIRContext.h:34
mlir::SDBMDialect
Definition:
SDBMDialect.h:18
mlir::SDBMDialect::getDialectNamespace
static StringRef getDialectNamespace()
Definition:
SDBMDialect.h:22
Generated by
1.8.13