]> granicus.if.org Git - clang/commit
[OPENMP]Improve detection of number of teams, threads in target
authorAlexey Bataev <a.bataev@hotmail.com>
Wed, 10 Apr 2019 19:11:33 +0000 (19:11 +0000)
committerAlexey Bataev <a.bataev@hotmail.com>
Wed, 10 Apr 2019 19:11:33 +0000 (19:11 +0000)
commitdd7821f8092fffaddffb87250e4cdb305f8f9d21
treea6a59d959e79e827708d0592ddbe52343f144a4b
parentf5d025e4a30b5f0dc1a4df85135e0ee507847342
[OPENMP]Improve detection of number of teams, threads in target
regions.

Added more complex analysis for number of teams and number of threads in
the target regions, also merged related common code between CGOpenMPRuntime
and CGOpenMPRuntimeNVPTX classes.

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@358126 91177308-0d34-0410-b5e6-96231b3b80d8
16 files changed:
lib/CodeGen/CGOpenMPRuntime.cpp
lib/CodeGen/CGOpenMPRuntime.h
lib/CodeGen/CGOpenMPRuntimeNVPTX.cpp
test/OpenMP/distribute_simd_reduction_codegen.cpp
test/OpenMP/target_map_codegen.cpp
test/OpenMP/target_simd_codegen.cpp
test/OpenMP/target_simd_depend_codegen.cpp
test/OpenMP/target_teams_distribute_simd_codegen.cpp
test/OpenMP/target_teams_distribute_simd_depend_codegen.cpp
test/OpenMP/target_teams_distribute_simd_firstprivate_codegen.cpp
test/OpenMP/target_teams_distribute_simd_private_codegen.cpp
test/OpenMP/target_teams_distribute_simd_reduction_codegen.cpp
test/OpenMP/teams_distribute_simd_codegen.cpp
test/OpenMP/teams_distribute_simd_firstprivate_codegen.cpp
test/OpenMP/teams_distribute_simd_private_codegen.cpp
test/OpenMP/teams_distribute_simd_reduction_codegen.cpp