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 |
||
|---|---|---|
| .. | ||
| address-space-castoperators.cpp | ||
| address-space-deduction.cl | ||
| address-space-deduction2.cl | ||
| addrspace-derived-base.cl | ||
| addrspace-of-this.cl | ||
| addrspace-operators.cl | ||
| addrspace-references.cl | ||
| global_init.cl | ||
| local_addrspace_init.cl | ||
| method-overload-address-space.cl | ||
| template-address-spaces.cl | ||