diff options
author | Sergio Afonso <safonsof@amd.com> | 2023-03-29 18:13:48 +0100 |
---|---|---|
committer | Sergio Afonso <safonsof@amd.com> | 2023-09-14 10:34:54 +0100 |
commit | 29aa749087be38d3e5a3a37e0b8e8ab74e9f79aa (patch) | |
tree | a6067b7c98c6ed4be01f049d36ff929fe88a34e8 /clang/lib/StaticAnalyzer/Checkers/StdLibraryFunctionsChecker.cpp | |
parent | 094a63a20bf54f18efafbb6a727466da0f22a245 (diff) | |
download | llvm-29aa749087be38d3e5a3a37e0b8e8ab74e9f79aa.zip llvm-29aa749087be38d3e5a3a37e0b8e8ab74e9f79aa.tar.gz llvm-29aa749087be38d3e5a3a37e0b8e8ab74e9f79aa.tar.bz2 |
[OpenMP][Flang][MLIR] Lowering of OpenMP requires directive from parse tree to MLIR
This patch implements the lowering of the OpenMP 'requires' directive
from Flang parse tree to MLIR attributes attached to the top-level
module.
Target-related 'requires' clauses are gathered and combined for each top-level
unit during semantics. Lastly, a single module-level `omp.requires` attribute
is attached to the MLIR module with that information at the end of the process.
The `atomic_default_mem_order` clause is not addressed by this patch, but
rather it will come as a separate patch and follow a different approach.
Depends on D147214, D150328, D150329 and D157983.
Differential Revision: https://reviews.llvm.org/D147218
Diffstat (limited to 'clang/lib/StaticAnalyzer/Checkers/StdLibraryFunctionsChecker.cpp')
0 files changed, 0 insertions, 0 deletions