| 1 | //===-- CUFDialect.cpp ----------------------------------------------------===// |
| 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 | // Coding style: https://mlir.llvm.org/getting_started/DeveloperGuide/ |
| 10 | // |
| 11 | //===----------------------------------------------------------------------===// |
| 12 | |
| 13 | #include "flang/Optimizer/Dialect/CUF/CUFDialect.h" |
| 14 | #include "flang/Optimizer/Dialect/CUF/CUFOps.h" |
| 15 | #include "flang/Optimizer/Dialect/FIRDialect.h" |
| 16 | |
| 17 | #include "flang/Optimizer/Dialect/CUF/CUFDialect.cpp.inc" |
| 18 | |
| 19 | void cuf::CUFDialect::initialize() { |
| 20 | registerAttributes(); |
| 21 | addOperations< |
| 22 | #define GET_OP_LIST |
| 23 | #include "flang/Optimizer/Dialect/CUF/CUFOps.cpp.inc" |
| 24 | >(); |
| 25 | } |
| 26 | |