blob: 2f7dfb2751c9186a0c8546ef9f31c5f0971b2df0 [file] [log] [blame]
//===- OpenACCBase.td - OpenACC dialect definition ---------*- tablegen -*-===//
//
// Part of the MLIR 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
//
// =============================================================================
//
// Defines MLIR OpenACC dialect.
// See [`OpenACC Dialect Documentation`](Dialects/OpenACC.md) for more details.
//
//===----------------------------------------------------------------------===//
#ifndef OPENACC_BASE
#define OPENACC_BASE
include "mlir/IR/AttrTypeBase.td"
def OpenACC_Dialect : Dialect {
let name = "acc";
let useDefaultAttributePrinterParser = 1;
let useDefaultTypePrinterParser = 1;
let cppNamespace = "::mlir::acc";
let dependentDialects = ["::mlir::memref::MemRefDialect","::mlir::LLVM::LLVMDialect"];
}
#endif // OPENACC_BASE