]> granicus.if.org Git - clang/commit
[OPENMP] Create non-const ident_t objects.
authorMike Rice <michael.p.rice@intel.com>
Wed, 29 Aug 2018 15:45:11 +0000 (15:45 +0000)
committerMike Rice <michael.p.rice@intel.com>
Wed, 29 Aug 2018 15:45:11 +0000 (15:45 +0000)
commitf7e11f2036908c7a0c73fe19a2670f9e2bd77197
tree1fe1ab3fb732213b20b652b52c25ff2115cec949
parent927ea8cf44731c27df8444826db6c26021526534
[OPENMP] Create non-const ident_t objects.

Currently ident_t objects are created const when debug info is not
enabled, but the libittnotify libray in the OpenMP runtime writes to
the reserved_2 field (See __kmp_itt_region_forking in
openmp/runtime/src/kmp_itt.inl).  Now create ident_t objects non-const.

Differential Revision: https://reviews.llvm.org/D51331

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@340934 91177308-0d34-0410-b5e6-96231b3b80d8
44 files changed:
lib/CodeGen/CGOpenMPRuntime.cpp
test/OpenMP/distribute_codegen.cpp
test/OpenMP/distribute_parallel_for_num_threads_codegen.cpp
test/OpenMP/distribute_parallel_for_proc_bind_codegen.cpp
test/OpenMP/distribute_parallel_for_simd_num_threads_codegen.cpp
test/OpenMP/distribute_parallel_for_simd_proc_bind_codegen.cpp
test/OpenMP/distribute_simd_codegen.cpp
test/OpenMP/for_codegen.cpp
test/OpenMP/for_firstprivate_codegen.cpp
test/OpenMP/for_lastprivate_codegen.cpp
test/OpenMP/for_linear_codegen.cpp
test/OpenMP/for_reduction_codegen.cpp
test/OpenMP/for_reduction_codegen_UDR.cpp
test/OpenMP/ordered_codegen.cpp
test/OpenMP/parallel_codegen.cpp
test/OpenMP/parallel_copyin_codegen.cpp
test/OpenMP/parallel_for_codegen.cpp
test/OpenMP/parallel_num_threads_codegen.cpp
test/OpenMP/parallel_proc_bind_codegen.cpp
test/OpenMP/parallel_reduction_codegen.cpp
test/OpenMP/sections_codegen.cpp
test/OpenMP/sections_firstprivate_codegen.cpp
test/OpenMP/sections_lastprivate_codegen.cpp
test/OpenMP/sections_reduction_codegen.cpp
test/OpenMP/single_codegen.cpp
test/OpenMP/single_firstprivate_codegen.cpp
test/OpenMP/target_parallel_codegen.cpp
test/OpenMP/target_parallel_for_codegen.cpp
test/OpenMP/target_parallel_for_simd_codegen.cpp
test/OpenMP/target_parallel_if_codegen.cpp
test/OpenMP/target_parallel_num_threads_codegen.cpp
test/OpenMP/target_teams_codegen.cpp
test/OpenMP/target_teams_distribute_codegen.cpp
test/OpenMP/target_teams_distribute_parallel_for_proc_bind_codegen.cpp
test/OpenMP/target_teams_distribute_parallel_for_simd_proc_bind_codegen.cpp
test/OpenMP/target_teams_distribute_simd_codegen.cpp
test/OpenMP/target_teams_num_teams_codegen.cpp
test/OpenMP/target_teams_thread_limit_codegen.cpp
test/OpenMP/teams_codegen.cpp
test/OpenMP/teams_distribute_parallel_for_num_threads_codegen.cpp
test/OpenMP/teams_distribute_parallel_for_proc_bind_codegen.cpp
test/OpenMP/teams_distribute_parallel_for_simd_num_threads_codegen.cpp
test/OpenMP/teams_distribute_parallel_for_simd_proc_bind_codegen.cpp
test/OpenMP/threadprivate_codegen.cpp