aboutsummaryrefslogtreecommitdiff
path: root/lldb/source/Expression/ExpressionSourceCode.cpp
diff options
context:
space:
mode:
authorAlexey Bataev <a.bataev@hotmail.com>2015-01-22 06:17:56 +0000
committerAlexey Bataev <a.bataev@hotmail.com>2015-01-22 06:17:56 +0000
commitb57056f483ebb19dae90baf865dd7e2fe99c2995 (patch)
tree4ce11b4f15bf844f0055aed69fe590082319e0c2 /lldb/source/Expression/ExpressionSourceCode.cpp
parent02e1ec6966c96f483dbd1616ccb5f1953567d00a (diff)
downloadllvm-b57056f483ebb19dae90baf865dd7e2fe99c2995.zip
llvm-b57056f483ebb19dae90baf865dd7e2fe99c2995.tar.gz
llvm-b57056f483ebb19dae90baf865dd7e2fe99c2995.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: 226788
Diffstat (limited to 'lldb/source/Expression/ExpressionSourceCode.cpp')
0 files changed, 0 insertions, 0 deletions