Lines Matching refs:getLangOpts
38 assert(getLangOpts().CUDA && "Should only be called during CUDA compilation"); in PushForceCUDAHostDevice()
43 assert(getLangOpts().CUDA && "Should only be called during CUDA compilation"); in PopForceCUDAHostDevice()
264 if (getLangOpts().HIPStdPar && in IdentifyCUDAPreference()
273 if ((getLangOpts().CUDAIsDevice && CalleeTarget == CFT_Device) || in IdentifyCUDAPreference()
274 (!getLangOpts().CUDAIsDevice && in IdentifyCUDAPreference()
725 assert(getLangOpts().CUDA && "Should only be called during CUDA compilation"); in maybeAddCUDAHostDeviceAttrs()
737 if (getLangOpts().OffloadImplicitHostDeviceTemplates && in maybeAddCUDAHostDeviceAttrs()
747 if (!getLangOpts().CUDAHostDeviceConstexpr || !NewD->isConstexpr() || in maybeAddCUDAHostDeviceAttrs()
790 if (getLangOpts().CUDAIsDevice && !VD->hasAttr<CUDAConstantAttr>() && in MaybeAddCUDAConstantAttr()
803 assert(getLangOpts().CUDA && "Should only be called during CUDA compilation"); in CUDADiagIfDeviceCode()
816 if (!getLangOpts().CUDAIsDevice) in CUDADiagIfDeviceCode()
833 assert(getLangOpts().CUDA && "Should only be called during CUDA compilation"); in CUDADiagIfHostCode()
845 if (getLangOpts().CUDAIsDevice) in CUDADiagIfHostCode()
861 assert(getLangOpts().CUDA && "Should only be called during CUDA compilation"); in CheckCUDACall()
956 if (Capture.isVariableCapture() && !getLangOpts().HIPStdPar) { in CUDACheckLambdaCapture()
972 assert(getLangOpts().CUDA && "Should only be called during CUDA compilation"); in CUDASetLambdaAttrs()
981 assert(getLangOpts().CUDA && "Should only be called during CUDA compilation"); in checkCUDATargetOverload()
1034 if (getLangOpts().HIP) in getCudaConfigureFuncName()
1035 return getLangOpts().HIPUseNewLaunchAPI ? "__hipPushCallConfiguration" in getCudaConfigureFuncName()