Lines Matching refs:CUDA
142 if (LangOpts.CUDA)
412 if (Context.getLangOpts().CUDA && !Context.getLangOpts().CUDAIsDevice &&
466 // CUDA/HIP device and host libraries are different. Currently there is no
713 // As CUDA builtin surface/texture types are replaced, skip generating TBAA
2545 // If this is CUDA, be selective about which declarations we emit.
2546 if (LangOpts.CUDA) {
2557 // device-side variables because the CUDA runtime needs their
3798 if (LangOpts.CUDA && LangOpts.CUDAIsDevice) {
3889 // Do not set COMDAT attribute for CUDA/HIP stub functions to prevent
3947 // CUDA E.2.4.1 "__shared__ variables cannot have an initialization
3964 if (getLangOpts().CUDA &&
4056 // CUDA B.2.1 "The __device__ qualifier declares a variable that resides on
4058 // CUDA B.2.2 "The __constant__ qualifier, optionally used together with
4063 if (GV && LangOpts.CUDA) {
4075 // Shadow variables and their properties must be registered with CUDA
4083 // they are not registered with the CUDA runtime, so they
4091 // also registered with CUDA runtime.
4099 "Unexpected number of template arguments of CUDA device "
4107 "Unexpected number of template arguments of CUDA device "
4328 // We don't currently support CUDA device code spread out across multiple TUs,
4329 // so say that CUDA templates are either external (for kernels) or internal.
4334 if (Context.getLangOpts().CUDA && Context.getLangOpts().CUDAIsDevice)
5494 // File-scope asm is ignored during device-side CUDA compilation.
5495 if (LangOpts.CUDA && LangOpts.CUDAIsDevice)