summaryrefslogtreecommitdiff
path: root/lldb/source/Plugins/ScriptInterpreter/Python/ScriptInterpreterPython.cpp
diff options
context:
space:
mode:
authorAlexey Bataev <a.bataev@hotmail.com>2020-04-06 11:21:43 -0400
committerAlexey Bataev <a.bataev@hotmail.com>2020-04-07 15:26:00 -0400
commitbe99c6158841d0c01eaa8ba16cd7b9e5ade40c6b (patch)
tree4a140284da075a3cb58774e8d1f93d635feded52 /lldb/source/Plugins/ScriptInterpreter/Python/ScriptInterpreterPython.cpp
parente3ba652a1440794eff0b43ce747f1b0488585d22 (diff)
[OPENMP50]Codegen for iterator construct.
Implemented codegen for the iterator expression in the depend clauses. Iterator construct is emitted the following way: iterator(cnt1, cnt2, ...), in : <dep> <TotalNumDeps> = <cnt1_size> * <cnt2_size> * ...; kmp_depend_t deps[<TotalNumDeps>]; deps_counter = 0; for (cnt1) { for (cnt2) { ... deps[deps_counter].base_addr = &<dep>; deps[deps_counter].size = sizeof(<dep>); deps[deps_counter].flags = in; deps_counter += 1; ... } } For depobj construct the codegen is very similar, but the memory is allocated dynamically and added extra first item reserved for internal use.
Diffstat (limited to 'lldb/source/Plugins/ScriptInterpreter/Python/ScriptInterpreterPython.cpp')
0 files changed, 0 insertions, 0 deletions