aboutsummaryrefslogtreecommitdiff
path: root/lldb/source/Expression/ExpressionSourceCode.cpp
diff options
context:
space:
mode:
authorAlexey Bataev <a.bataev@hotmail.com>2015-01-22 05:44:37 +0000
committerAlexey Bataev <a.bataev@hotmail.com>2015-01-22 05:44:37 +0000
commit92efdce5037ec34b1cf611ab597bcb8c26105ebf (patch)
tree34c297b34db303d8415154843032a91b5cbe7f19 /lldb/source/Expression/ExpressionSourceCode.cpp
parent137421c8a99c70b93df9001ae77a90e476f8822f (diff)
downloadllvm-92efdce5037ec34b1cf611ab597bcb8c26105ebf.zip
llvm-92efdce5037ec34b1cf611ab597bcb8c26105ebf.tar.gz
llvm-92efdce5037ec34b1cf611ab597bcb8c26105ebf.tar.bz2
[OPENMP] CodeGen for "omp atomic read [seq_cst]" directive.
"omp atomic read [seq_cst]" accepts expressions "v=x;". In this patch we perform an atomic load of "x" (using builtin atomic loading instructions or a call to "atomic_load()" for simple lvalues and "kmpc_atomic_start();load <x>;kmpc_atomic_end();" for other lvalues), convert the result of loading to type of "v" (using EmitScalarConversion() for simple types and EmitComplexToScalarConversion() for conversions from complex to scalar) and then store the result in "v".) Differential Revision: http://reviews.llvm.org/D6431 llvm-svn: 226786
Diffstat (limited to 'lldb/source/Expression/ExpressionSourceCode.cpp')
0 files changed, 0 insertions, 0 deletions