llvm-project/clang/test/CodeGenOpenCLCXX
Anastasia Stulova e6cf6c78f8 [OpenCL] Make global ctor init function a kernel
We need to be able to enqueue internal function that initializes
global constructors on the host side. Therefore it has to be
converted to a kernel.

This change factors out common logic for adding kernel metadata
and moves it from CodeGenFunction to CodeGenModule in order to
make it accessible for the extra use case.

Differential revision: https://reviews.llvm.org/D61488

llvm-svn: 360342
2019-05-09 13:55:44 +00:00
..
address-space-castoperators.cpp [Sema] Change addr space diagnostics in casts to follow C++ style. 2019-03-07 17:06:30 +00:00
address-space-deduction.cl
address-space-deduction2.cl [OpenCL] Fix for TBAA information of pointer after addresspacecast 2018-12-12 09:51:23 +00:00
addrspace-derived-base.cl [PR40778] Preserve addr space in Derived to Base cast. 2019-03-07 16:23:15 +00:00
addrspace-of-this.cl [OpenCL] Switched CXX mode to be derived from C++17 2019-05-09 11:55:24 +00:00
addrspace-operators.cl [Sema] Adjust addr space of reference operand in compound assignment 2019-03-19 16:50:21 +00:00
addrspace-references.cl [PR40778] Add addr space conversion when binding reference to a temporary. 2019-03-06 13:02:41 +00:00
global_init.cl [OpenCL] Make global ctor init function a kernel 2019-05-09 13:55:44 +00:00
local_addrspace_init.cl [OpenCL] Prevent mangling kernel functions. 2019-05-07 14:22:34 +00:00
method-overload-address-space.cl [OpenCL] Allow address spaces as method qualifiers. 2019-01-21 16:01:38 +00:00
template-address-spaces.cl [OpenCL] Add generic AS to 'this' pointer 2018-12-13 10:15:27 +00:00