1- // ===-- Lower/Coarray .h -- image related lowering ---------- -----*- C++ -*-===//
1+ // ===-- Lower/MultiImageFortran .h -- image related lowering -----*- C++ -*-===//
22//
33// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
44// See https://llvm.org/LICENSE.txt for license information.
55// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
66//
77// ===----------------------------------------------------------------------===//
88
9- #ifndef FORTRAN_LOWER_COARRAY_H
10- #define FORTRAN_LOWER_COARRAY_H
9+ #ifndef FORTRAN_LOWER_MULTI_IMAGE_FORTRAN_H
10+ #define FORTRAN_LOWER_MULTI_IMAGE_FORTRAN_H
1111
1212#include " flang/Lower/AbstractConverter.h"
1313#include " flang/Optimizer/Builder/BoxValue.h"
@@ -33,6 +33,18 @@ namespace pft {
3333struct Evaluation ;
3434} // namespace pft
3535
36+ // ===----------------------------------------------------------------------===//
37+ // Synchronization
38+ // ===----------------------------------------------------------------------===//
39+
40+ void genSyncAllStatement (AbstractConverter &, const parser::SyncAllStmt &);
41+
42+ void genSyncImagesStatement (AbstractConverter &,
43+ const parser::SyncImagesStmt &);
44+ void genSyncMemoryStatement (AbstractConverter &,
45+ const parser::SyncMemoryStmt &);
46+ void genSyncTeamStatement (AbstractConverter &, const parser::SyncTeamStmt &);
47+
3648// ===----------------------------------------------------------------------===//
3749// TEAM constructs
3850// ===----------------------------------------------------------------------===//
@@ -75,4 +87,4 @@ class CoarrayExprHelper {
7587} // namespace lower
7688} // namespace Fortran
7789
78- #endif // FORTRAN_LOWER_COARRAY_H
90+ #endif // FORTRAN_LOWER_MULTI_IMAGE_FORTRAN_H
0 commit comments