diff options
author | Krzysztof Parzyszek <Krzysztof.Parzyszek@amd.com> | 2025-10-16 07:02:49 -0500 |
---|---|---|
committer | GitHub <noreply@github.com> | 2025-10-16 07:02:49 -0500 |
commit | d55879de50024a29bc5533337f3cc7d8553d6cae (patch) | |
tree | 478bf80937f5b78b39c9f6180ce1ddfa7de1616d /clang/lib/CodeGen/CodeGenModule.cpp | |
parent | 1adbae97781df415a22169eb885f3f4688accd6f (diff) | |
download | llvm-d55879de50024a29bc5533337f3cc7d8553d6cae.zip llvm-d55879de50024a29bc5533337f3cc7d8553d6cae.tar.gz llvm-d55879de50024a29bc5533337f3cc7d8553d6cae.tar.bz2 |
[flang][OpenMP] Emit requirements in module files (#163449)
For each program unit, collect the set of requirements from REQUIRES
directives in the source, and modules used by the program unit, and add
them to the details of the program unit symbol.
The requirements in the symbol details as now stored as clauses. Since
requirements need to be emitted in the module files as OpenMP
directives, this makes the clause emission straightforward via
getOpenMPClauseName.
Each program unit, including modules, the corresponding symbol will have
the transitive closure of the requirements for everything contained or
used in that program unit.
Diffstat (limited to 'clang/lib/CodeGen/CodeGenModule.cpp')
0 files changed, 0 insertions, 0 deletions