MLIR  20.0.0git
MeshToMPI.h
Go to the documentation of this file.
1 //===- MeshToMPI.h - Convert Mesh to MPI dialect ----------------*- C++ -*-===//
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 #ifndef MLIR_CONVERSION_MESHTOMPI_MESHTOMPI_H
10 #define MLIR_CONVERSION_MESHTOMPI_MESHTOMPI_H
11 
12 #include "mlir/Pass/Pass.h"
13 #include "mlir/Support/LLVM.h"
14 
15 namespace mlir {
16 class Pass;
17 
18 #define GEN_PASS_DECL_CONVERTMESHTOMPIPASS
19 #include "mlir/Conversion/Passes.h.inc"
20 
21 /// Lowers Mesh communication operations (updateHalo, AllGater, ...)
22 /// to MPI primitives.
23 std::unique_ptr<::mlir::Pass> createConvertMeshToMPIPass();
24 
25 } // namespace mlir
26 
27 #endif // MLIR_CONVERSION_MESHTOMPI_MESHTOMPI_H
Include the generated interface declarations.
std::unique_ptr<::mlir::Pass > createConvertMeshToMPIPass()
Lowers Mesh communication operations (updateHalo, AllGater, ...) to MPI primitives.
Definition: MeshToMPI.cpp:436