//===- MPI.cpp - MPI dialect implementation -------------------------------===// // // 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 "mlir/Dialect/MPI/IR/MPI.h" #include "mlir/IR/Builders.h" #include "mlir/IR/BuiltinAttributes.h" #include "mlir/IR/DialectImplementation.h" #include "llvm/ADT/TypeSwitch.h" usingnamespacemlir; usingnamespacemlir::mpi; //===----------------------------------------------------------------------===// /// Tablegen Definitions //===----------------------------------------------------------------------===// #include "mlir/Dialect/MPI/IR/MPI.cpp.inc" #include "mlir/Dialect/MPI/IR/MPIDialect.cpp.inc" void MPIDialect::initialize() { … } //===----------------------------------------------------------------------===// // TableGen'd dialect, type, and op definitions //===----------------------------------------------------------------------===// #define GET_TYPEDEF_CLASSES #include "mlir/Dialect/MPI/IR/MPITypesGen.cpp.inc" #include "mlir/Dialect/MPI/IR/MPIEnums.cpp.inc" #define GET_ATTRDEF_CLASSES #include "mlir/Dialect/MPI/IR/MPIAttrDefs.cpp.inc"