1//===- OpenACCBase.td - OpenACC dialect definition ---------*- tablegen -*-===// 2// 3// Part of the MLIR 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// Defines MLIR OpenACC dialect. 10// See [`OpenACC Dialect Documentation`](Dialects/OpenACC.md) for more details. 11// 12//===----------------------------------------------------------------------===// 13 14#ifndef OPENACC_BASE 15#define OPENACC_BASE 16 17include "mlir/IR/AttrTypeBase.td" 18 19def OpenACC_Dialect : Dialect { 20 let name = "acc"; 21 let useDefaultAttributePrinterParser = 1; 22 let useDefaultTypePrinterParser = 1; 23 let cppNamespace = "::mlir::acc"; 24 let dependentDialects = ["::mlir::memref::MemRefDialect","::mlir::LLVM::LLVMDialect"]; 25} 26 27#endif // OPENACC_BASE 28