1 //===- StandaloneTypes.cpp - Standalone dialect types -----------*- 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/StandaloneTypes.h" 10 11 #include "Standalone/StandaloneDialect.h" 12 #include "mlir/IR/Builders.h" 13 #include "mlir/IR/DialectImplementation.h" 14 #include "llvm/ADT/TypeSwitch.h" 15 16 using namespace mlir::standalone; 17 18 #define GET_TYPEDEF_CLASSES 19 #include "Standalone/StandaloneOpsTypes.cpp.inc" 20 registerTypes()21void StandaloneDialect::registerTypes() { 22 addTypes< 23 #define GET_TYPEDEF_LIST 24 #include "Standalone/StandaloneOpsTypes.cpp.inc" 25 >(); 26 } 27