[PATCH] D146549: [OpenMP][OMPIRBuilder] Make OffloadEntriesInfoManager a member of OpenMPIRBuilder
Jan Sjödin via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Tue Mar 21 10:53:14 PDT 2023
jsjodin created this revision.
jsjodin added reviewers: jdoerfert, jhuber6, agozillon, kiranktp, domada.
Herald added subscribers: sunshaoce, guansong, hiraditya, yaxunl.
Herald added a project: All.
jsjodin requested review of this revision.
Herald added subscribers: llvm-commits, jplehr, sstefan1.
Herald added a project: LLVM.
This patch adds the OffloadEntriesInfoManager to the OpenMPIRBuilder, and
allows the OffloadEntriesInfoManager to access the Configuration in the OpenMPIRBuilder.
With the shared Config there is no risk for inconsistencies, and
there is no longer the need for clang to have a separate OffloadEntriesInfoManager.
https://reviews.llvm.org/D146549
Files:
clang/lib/CodeGen/CGOpenMPRuntime.cpp
clang/lib/CodeGen/CGOpenMPRuntime.h
clang/lib/CodeGen/CGOpenMPRuntimeGPU.cpp
llvm/include/llvm/Frontend/OpenMP/OMPIRBuilder.h
llvm/lib/Frontend/OpenMP/OMPIRBuilder.cpp
llvm/unittests/Frontend/OpenMPIRBuilderTest.cpp
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D146549.507050.patch
Type: text/x-patch
Size: 37426 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20230321/3c0f3d40/attachment.bin>
More information about the llvm-commits
mailing list