summaryrefslogtreecommitdiffstats
path: root/lldb/packages/Python/lldbsuite/test/python_api/breakpoint/TestBreakpointAPI.py
diff options
context:
space:
mode:
authorSamuel Antao <sfantao@us.ibm.com>2015-12-02 17:44:43 +0000
committerSamuel Antao <sfantao@us.ibm.com>2015-12-02 17:44:43 +0000
commit4af1b7b693efad7e5cfe7ad77688f914eb82e861 (patch)
tree0eee846158c61e13bb2f52b0e5408eb96f6f0d82 /lldb/packages/Python/lldbsuite/test/python_api/breakpoint/TestBreakpointAPI.py
parent32beedc982b995ee87855fd3692b4f28dfa4b262 (diff)
downloadbcm5719-llvm-4af1b7b693efad7e5cfe7ad77688f914eb82e861.tar.gz
bcm5719-llvm-4af1b7b693efad7e5cfe7ad77688f914eb82e861.zip
[OpenMP] Update target directive codegen to use 4.5 implicit data mappings.
Summary: This patch implements the 4.5 specification for the implicit data maps. OpenMP 4.5 specification changes the default way data is captured into a target region. All the non-aggregate kinds are passed by value by default. This required activating the capturing by value during SEMA for the target region. All the non-aggregate values that can be encoded in the size of a pointer are properly casted and forwarded to the runtime library. On top of fixing the previous weird behavior for mapping pointers in nested data regions (an explicit map was always required), this also improves performance as the number of allocations/transactions to the device per non-aggregate map are reduced from two to only one - instead of passing a reference and the value, only the value passed. Explicit maps will be added later on once firstprivate, private, and map clauses' SEMA and parsing are available. Reviewers: hfinkel, rjmccall, ABataev Subscribers: cfe-commits, carlo.bertolli Differential Revision: http://reviews.llvm.org/D14940 llvm-svn: 254521
Diffstat (limited to 'lldb/packages/Python/lldbsuite/test/python_api/breakpoint/TestBreakpointAPI.py')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud