summaryrefslogtreecommitdiff
path: root/mlir/test/python/lib/PythonTestDialect.cpp
blob: b70c0336b2f64cee8df17d35aa46c755043814b9 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
//===- PythonTestDialect.cpp - PythonTest dialect definition --------------===//
//
// 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
//
//===----------------------------------------------------------------------===//

#include "PythonTestDialect.h"
#include "mlir/IR/DialectImplementation.h"
#include "mlir/IR/OpImplementation.h"

#include "PythonTestDialect.cpp.inc"

#define GET_OP_CLASSES
#include "PythonTestOps.cpp.inc"

namespace python_test {
void PythonTestDialect::initialize() {
  addOperations<
#define GET_OP_LIST
#include "PythonTestOps.cpp.inc"
      >();
}
} // namespace python_test