aboutsummaryrefslogtreecommitdiff
path: root/clang/lib/Frontend/CompilerInvocation.cpp
diff options
context:
space:
mode:
authorAndrew Gozillon <Andrew.Gozillon@amd.com>2023-06-07 06:36:44 -0500
committerAndrew Gozillon <Andrew.Gozillon@amd.com>2023-06-07 07:02:25 -0500
commitcda46cc4f921f6b288c57a68b901ec2f57134606 (patch)
tree21b35c980680d6f8d5a1c5f22d6ee969869b5ad4 /clang/lib/Frontend/CompilerInvocation.cpp
parent6853c49164d6c67f7d4d7e3fde9390c85167b624 (diff)
downloadllvm-cda46cc4f921f6b288c57a68b901ec2f57134606.zip
llvm-cda46cc4f921f6b288c57a68b901ec2f57134606.tar.gz
llvm-cda46cc4f921f6b288c57a68b901ec2f57134606.tar.bz2
[Clang][OpenMP][IRBuilder] Move registerTargetGlobalVariable & getAddrOfDeclareTargetVar into the OMPIRBuilder
This change tries to move registerTargetglobalVariable and getAddrOfDeclareTargetVar out of Clang's CGOpenMPRuntime and into the OMPIRBuilder for shared use with MLIR's OpenMPDialect and Flang (or other languages that may want to utilise it). This primarily does this by trying to hoist the Clang specific types into arguments or callback functions in the form of lambdas, replacing it with LLVM equivelants and utilising shared OMPIRBuilder enumerators for the clauses, rather than Clang's own variation. Reviewers: jsjodin, jdoerfert Differential Revision: https://reviews.llvm.org/D149162
Diffstat (limited to 'clang/lib/Frontend/CompilerInvocation.cpp')
0 files changed, 0 insertions, 0 deletions