aboutsummaryrefslogtreecommitdiff
path: root/llvm/lib/ProfileData/Coverage/CoverageMapping.cpp
diff options
context:
space:
mode:
authorerichkeane <ekeane@nvidia.com>2025-01-08 10:42:40 -0800
committererichkeane <ekeane@nvidia.com>2025-01-08 13:19:33 -0800
commit2c2accbcc6b0f132182a35b65ac76c038912cd1e (patch)
treeb5f4a43517dfd68ae2185b456fc2380060e01ec0 /llvm/lib/ProfileData/Coverage/CoverageMapping.cpp
parentac08f0dfef27b7627bd975b7d096a6dfb43c0fe2 (diff)
downloadllvm-2c2accbcc6b0f132182a35b65ac76c038912cd1e.zip
llvm-2c2accbcc6b0f132182a35b65ac76c038912cd1e.tar.gz
llvm-2c2accbcc6b0f132182a35b65ac76c038912cd1e.tar.bz2
[OpenACC] Enable 'self' sema for 'update' construct
The 'self' clause is an unfortunately difficult one, as it has a significantly different meaning between 'update' and the other constructs. This patch introduces a way for the 'self' clause to work as both. I considered making this two separate AST nodes (one for 'self' on 'update' and one for the others), however this makes the automated macros/etc for supporting a clause break. Instead, 'self' has the ability to act as either a condition or as a var-list clause. As this is the only one of its kind, it is implemented all within it. If in the future we have more that work like this, we should consider rewriting a lot of the macros that we use to make clauses work, and make them separate ast nodes.
Diffstat (limited to 'llvm/lib/ProfileData/Coverage/CoverageMapping.cpp')
0 files changed, 0 insertions, 0 deletions