1 //===- PythonTestDialect.cpp - PythonTest dialect definition --------------===// 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 #include "PythonTestDialect.h" 10 #include "mlir/IR/DialectImplementation.h" 11 #include "mlir/IR/OpImplementation.h" 12 13 #include "PythonTestDialect.cpp.inc" 14 15 #define GET_OP_CLASSES 16 #include "PythonTestOps.cpp.inc" 17 18 namespace python_test { 19 void PythonTestDialect::initialize() { 20 addOperations< 21 #define GET_OP_LIST 22 #include "PythonTestOps.cpp.inc" 23 >(); 24 } 25 } // namespace python_test 26