]> granicus.if.org Git - clang/commit
[OPENMP 4.0] Codegen for array sections.
authorAlexey Bataev <a.bataev@hotmail.com>
Mon, 31 Aug 2015 07:32:19 +0000 (07:32 +0000)
committerAlexey Bataev <a.bataev@hotmail.com>
Mon, 31 Aug 2015 07:32:19 +0000 (07:32 +0000)
commit4a39483e1e4ae4d6220f10ccf83117b18b32bf06
tree5a1c4e5bac7a240faed8135f687fd2aaaac56bdb
parent7d8d400c70dcf450f9f868ba3904d344a38268b4
[OPENMP 4.0] Codegen for array sections.
Added codegen for array section in 'depend' clause of 'task' directive. It emits to pointers, one for the begin of array section and another for the end of array section. Size of the section is calculated as (end + 1 - start) * sizeof(basic_element_type).

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@246422 91177308-0d34-0410-b5e6-96231b3b80d8
lib/CodeGen/CGExpr.cpp
lib/CodeGen/CGOpenMPRuntime.cpp
lib/CodeGen/CodeGenFunction.h
test/OpenMP/task_codegen.cpp