diff options
author | Alexey Bataev <a.bataev@hotmail.com> | 2014-09-22 10:01:53 +0000 |
---|---|---|
committer | Alexey Bataev <a.bataev@hotmail.com> | 2014-09-22 10:01:53 +0000 |
commit | 3a3bf0bbe35fee25219e075ee9b76abb8633c24b (patch) | |
tree | 3010cda60f887c06f50ed0323ed9ee4d6ec59c72 /clang-tools-extra/unittests/clang-tidy/LLVMModuleTest.cpp | |
parent | b105a2c3e07f49e3af7400d7e58de52acfd2c733 (diff) | |
download | bcm5719-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