aboutsummaryrefslogtreecommitdiff
path: root/llvm/lib/Object/MachOObjectFile.cpp
diff options
context:
space:
mode:
authorAlexey Bataev <a.bataev@hotmail.com>2014-12-04 07:23:53 +0000
committerAlexey Bataev <a.bataev@hotmail.com>2014-12-04 07:23:53 +0000
commit8d690650e88f2aad2f204a77e918155abb3bcba7 (patch)
treec444f674ea11807ffeccd2258d80939c24bf6ecd /llvm/lib/Object/MachOObjectFile.cpp
parent0152732ef40fa1398bb57e8592e54d4e6c47352b (diff)
downloadllvm-8d690650e88f2aad2f204a77e918155abb3bcba7.zip
llvm-8d690650e88f2aad2f204a77e918155abb3bcba7.tar.gz
llvm-8d690650e88f2aad2f204a77e918155abb3bcba7.tar.bz2
[OPENMP] Codegen for 'omp master' directive
Patch adds 2 library functions to OpenMPRuntime class - int32 kmpc_master(ident_t *, int32 gtid) and void kmpc_end_master(ident_t *, int32 gtid); For 'omp master' directive the next code is generated: if (__kmpc_master(loc, gtid)) { <Associated structured block>; __kmpc_end_master(log, gtid); } Differential Revision: http://reviews.llvm.org/D6473 llvm-svn: 223342
Diffstat (limited to 'llvm/lib/Object/MachOObjectFile.cpp')
0 files changed, 0 insertions, 0 deletions