1 //===- StandaloneDialect.cpp - Standalone dialect ---------------*- C++ -*-===// 2 // 3 // This file is licensed 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 "Standalone/StandaloneDialect.h" 10 #include "Standalone/StandaloneOps.h" 11 12 using namespace mlir; 13 using namespace mlir::standalone; 14 15 //===----------------------------------------------------------------------===// 16 // Standalone dialect. 17 //===----------------------------------------------------------------------===// 18 19 StandaloneDialect::StandaloneDialect(mlir::MLIRContext *context) 20 : Dialect(getDialectNamespace(), context) { 21 addOperations< 22 #define GET_OP_LIST 23 #include "Standalone/StandaloneOps.cpp.inc" 24 >(); 25 } 26