summaryrefslogtreecommitdiffstats
path: root/llvm/lib/CodeGen/AsmPrinter/Win64Exception.cpp
diff options
context:
space:
mode:
authorArtem Belevich <tra@google.com>2015-04-21 17:39:06 +0000
committerArtem Belevich <tra@google.com>2015-04-21 17:39:06 +0000
commitd0a2ae054fe39ba3e499c5415a62915477acaf3e (patch)
treef20d67b50c43dc52a82d85e968c8e467544d168d /llvm/lib/CodeGen/AsmPrinter/Win64Exception.cpp
parentca3cb7f35c3f88e50323eaa94103982765412403 (diff)
downloadbcm5719-llvm-d0a2ae054fe39ba3e499c5415a62915477acaf3e.tar.gz
bcm5719-llvm-d0a2ae054fe39ba3e499c5415a62915477acaf3e.zip
[cuda] Added support for CUDA built-in variables.
Added cuda_builtin_vars.h which implements built-in CUDA variables using __declattr(property). Fields of built-in variables (except for warpSize) are implemented using __declattr(property) which replaces read/write of a member field with a call to a getter/setter member function, in this case with appropriate NVPTX builtin. Added a test case to check diagnostics on attempt to construct or improperly access a built-in variable. Differential Revision: http://reviews.llvm.org/D9064 llvm-svn: 235398
Diffstat (limited to 'llvm/lib/CodeGen/AsmPrinter/Win64Exception.cpp')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud