1//===- OpenMPDialect.td - OpenMP dialect definition --------*- tablegen -*-===// 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 OPENMP_DIALECT 10#define OPENMP_DIALECT 11 12include "mlir/IR/DialectBase.td" 13 14def OpenMP_Dialect : Dialect { 15 let name = "omp"; 16 let cppNamespace = "::mlir::omp"; 17 let dependentDialects = ["::mlir::LLVM::LLVMDialect, ::mlir::func::FuncDialect"]; 18 let useDefaultAttributePrinterParser = 1; 19 let useDefaultTypePrinterParser = 1; 20} 21 22#endif // OPENMP_DIALECT 23