summaryrefslogtreecommitdiffstats
path: root/clang-tools-extra/unittests/clang-tidy/LLVMModuleTest.cpp
diff options
context:
space:
mode:
authorAlexey Bataev <a.bataev@hotmail.com>2014-09-22 10:01:53 +0000
committerAlexey Bataev <a.bataev@hotmail.com>2014-09-22 10:01:53 +0000
commit3a3bf0bbe35fee25219e075ee9b76abb8633c24b (patch)
tree3010cda60f887c06f50ed0323ed9ee4d6ec59c72 /clang-tools-extra/unittests/clang-tidy/LLVMModuleTest.cpp
parentb105a2c3e07f49e3af7400d7e58de52acfd2c733 (diff)
downloadbcm5719-llvm-3a3bf0bbe35fee25219e075ee9b76abb8633c24b.tar.gz
bcm5719-llvm-3a3bf0bbe35fee25219e075ee9b76abb8633c24b.zip
[OPENMP] Codegen for 'omp critical' directive.
This patch adds codegen for constructs: #pragma omp critical [name] <body> It generates global variable ".gomp_critical_user_[name].var" of type int32[8]. Then it generates library call "kmpc_critical(loc, gtid, .gomp_critical_user_[name].var)", code for <body> statement and final call "kmpc_end_critical(loc, gtid, .gomp_critical_user_[name].var)". Differential Revision: http://reviews.llvm.org/D5202 llvm-svn: 218239
Diffstat (limited to 'clang-tools-extra/unittests/clang-tidy/LLVMModuleTest.cpp')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud