Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
38 changes: 38 additions & 0 deletions flang/include/flang/Optimizer/Dialect/Coarray/CoarrayDialect.td
Original file line number Diff line number Diff line change
@@ -0,0 +1,38 @@
//===-- CoarrayDialect.td - Coarray dialect base definitions - tablegen -*-===//
//
// 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
//
//===----------------------------------------------------------------------===//
///
/// \file
/// Definition of the Coarray dialect
///
//===----------------------------------------------------------------------===//

#ifndef FORTRAN_DIALECT_COARRAY_COARRAYDIALECT
#define FORTRAN_DIALECT_COARRAY_COARRAYDIALECT

include "mlir/IR/AttrTypeBase.td"
include "mlir/IR/EnumAttr.td"
include "mlir/IR/OpBase.td"

def CoarrayDialect : Dialect {
let name = "coarray";

let summary = "Coarray dialect";

let description = [{
The "coarray" dialect is designed to contain the basic coarray operations
in Fortran as descibed in the standard.
This includes synchronization operations, atomic operations,
image queries, teams, criticals, etc. The Coarray dialect operations use
the FIR types and are tightly coupled with FIR and HLFIR.
}];

let cppNamespace = "::coarray";
let dependentDialects = ["fir::FIROpsDialect"];
}

#endif // FORTRAN_DIALECT_COARRAY_COARRAYDIALECT
Loading