Lines Matching refs:CUDA
2588 else if (S.getLangOpts().CUDA && isa<FunctionDecl>(D) &&
2591 // CUDA target attributes are part of function signature for
6597 // So do CUDA's host/device attributes.
6598 if (S.getLangOpts().CUDA && (D->template hasAttr<CUDADeviceAttr>() ||
7088 if (getLangOpts().CUDA || getLangOpts().OpenMPIsDevice ||
7191 if (getLangOpts().CUDA || getLangOpts().OpenMPIsDevice ||
7194 ((getLangOpts().CUDA && DeclAttrsMatchCUDAMode(getLangOpts(), NewVD)) ||
7203 // CUDA B.2.5: "__shared__ and __constant__ variables have implied static
9448 if (getLangOpts().CUDA && !isFunctionTemplateSpecialization)
9715 if (getLangOpts().CUDA) {
9727 // in device-side CUDA code, unless someone passed
10905 if (!Redeclaration && LangOpts.CUDA)
13071 // CUDA 8.0 E.3.9.4: Within the body of a __device__ or __global__
13078 if (!getLangOpts().CUDA)
13094 // CUDA allows empty constructors as initializers (see E.2.3.1, CUDA
13096 // variables whether they are local or not. CUDA also allows
13098 if (getLangOpts().CUDA)
14531 if (LangOpts.OpenMP || LangOpts.CUDA || LangOpts.SYCLIsDevice) {
14827 if (getLangOpts().CUDA && Context.BuiltinInfo.isTSBuiltin(BuiltinID) &&
14829 // Add the appropriate attribute, depending on the CUDA compilation mode
18254 (OMPES == FunctionEmissionStatus::Emitted && !LangOpts.CUDA))
18257 if (LangOpts.CUDA) {
18296 return LangOpts.CUDA && !LangOpts.CUDAIsDevice &&