aboutsummaryrefslogtreecommitdiff
path: root/llvm/lib/Bitcode/Writer/BitcodeWriter.cpp
diff options
context:
space:
mode:
authorKrzysztof Parzyszek <Krzysztof.Parzyszek@amd.com>2025-10-16 07:02:49 -0500
committerGitHub <noreply@github.com>2025-10-16 07:02:49 -0500
commitd55879de50024a29bc5533337f3cc7d8553d6cae (patch)
tree478bf80937f5b78b39c9f6180ce1ddfa7de1616d /llvm/lib/Bitcode/Writer/BitcodeWriter.cpp
parent1adbae97781df415a22169eb885f3f4688accd6f (diff)
downloadllvm-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 'llvm/lib/Bitcode/Writer/BitcodeWriter.cpp')
0 files changed, 0 insertions, 0 deletions