1
0
mirror of https://github.com/RPCS3/llvm-mirror.git synced 2024-11-23 03:02:36 +01:00
llvm-mirror/lib/Frontend
Johannes Doerfert d5ca7458b9 [OpenMP][NFC] Reuse OMPIRBuilder struct ident_t handling in Clang
Replace the `ident_t` handling in Clang with the methods offered by the
OMPIRBuilder. This cuts down on the clang code as well as the
differences between the two, making further transitions easier. Tests
have changed but there should not be a real functional change. The most
interesting difference is probably that we stop generating local ident_t
allocations for now and just use globals. Given that this happens only
with debug info, the location part of the `ident_t` is probably bigger
than the test anyway. As the location part is already a global, we can
avoid the allocation, memcpy, and store in favor of a constant global
that is slightly bigger. This can be revisited if there are
complications.

Reviewed By: ABataev

Differential Revision: https://reviews.llvm.org/D80735
2020-08-10 17:13:26 -05:00
..
OpenACC [flang][openacc] OpenACC 3.0 parser 2020-07-14 14:29:40 -04:00
OpenMP [OpenMP][NFC] Reuse OMPIRBuilder struct ident_t handling in Clang 2020-08-10 17:13:26 -05:00
CMakeLists.txt [flang][openacc] OpenACC 3.0 parser 2020-07-14 14:29:40 -04:00
LLVMBuild.txt