1 //===- OpenMPDialect.h - MLIR Dialect for OpenMP ----------------*- C++ -*-===// 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 // This file declares the OpenMP dialect in MLIR. 10 // 11 //===----------------------------------------------------------------------===// 12 13 #ifndef MLIR_DIALECT_OPENMP_OPENMPDIALECT_H_ 14 #define MLIR_DIALECT_OPENMP_OPENMPDIALECT_H_ 15 16 #include "mlir/Dialect/LLVMIR/LLVMTypes.h" 17 #include "mlir/IR/Dialect.h" 18 #include "mlir/IR/OpDefinition.h" 19 #include "mlir/Interfaces/ControlFlowInterfaces.h" 20 #include "mlir/Interfaces/SideEffectInterfaces.h" 21 22 #include "mlir/Dialect/OpenMP/OpenMPOpsDialect.h.inc" 23 #include "mlir/Dialect/OpenMP/OpenMPOpsEnums.h.inc" 24 25 #define GET_OP_CLASSES 26 #include "mlir/Dialect/OpenMP/OpenMPOps.h.inc" 27 28 #endif // MLIR_DIALECT_OPENMP_OPENMPDIALECT_H_ 29