llvm-project/mlir/lib/Dialect/OpenMP
Kiran Chandramohan 59989d68ba [MLIR][OpenMP] Add support for critical construct
This patch adds the critical construct to the OpenMP dialect. The
implementation models the definition in 2.17.1 of the OpenMP 5 standard.
A name and hint can be specified. The name is a global entity or has
external linkage, it is modelled as a FlatSymbolRefAttr. Hint is
modelled as an integer enum attribute.
Also lowering to LLVM IR using the OpenMP IRBuilder.

Reviewed By: ftynse

Differential Revision: https://reviews.llvm.org/D107135
2021-08-03 10:50:21 +01:00
..
IR [MLIR][OpenMP] Add support for critical construct 2021-08-03 10:50:21 +01:00
CMakeLists.txt [mlir] add support for reductions in OpenMP WsLoopOp 2021-07-09 17:54:20 +02:00