Lines Matching refs:getLangOpts
42 assert(getLangOpts().CUDA && "Should only be called during CUDA compilation"); in PushForceHostDevice()
47 assert(getLangOpts().CUDA && "Should only be called during CUDA compilation"); in PopForceHostDevice()
270 if (getLangOpts().HIPStdPar && in IdentifyPreference()
280 if ((getLangOpts().CUDAIsDevice && in IdentifyPreference()
282 (!getLangOpts().CUDAIsDevice && in IdentifyPreference()
653 return S.getLangOpts().GPUAllowDeviceInit || in HasAllowedCUDADeviceStaticInitializer()
742 assert(getLangOpts().CUDA && "Should only be called during CUDA compilation"); in maybeAddHostDeviceAttrs()
754 if (getLangOpts().OffloadImplicitHostDeviceTemplates && in maybeAddHostDeviceAttrs()
764 if (!getLangOpts().CUDAHostDeviceConstexpr || !NewD->isConstexpr() || in maybeAddHostDeviceAttrs()
808 if (getLangOpts().CUDAIsDevice && !VD->hasAttr<CUDAConstantAttr>() && in MaybeAddConstantAttr()
821 assert(getLangOpts().CUDA && "Should only be called during CUDA compilation"); in DiagIfDeviceCode()
835 if (!getLangOpts().CUDAIsDevice) in DiagIfDeviceCode()
853 assert(getLangOpts().CUDA && "Should only be called during CUDA compilation"); in DiagIfHostCode()
866 if (getLangOpts().CUDAIsDevice) in DiagIfHostCode()
883 assert(getLangOpts().CUDA && "Should only be called during CUDA compilation"); in CheckCall()
919 if (getLangOpts().CUDAIsDevice && getLangOpts().GPURelocatableDeviceCode && in CheckCall()
962 if (!getLangOpts().CUDAIsDevice) in CheckLambdaCapture()
982 if (Capture.isVariableCapture() && !getLangOpts().HIPStdPar) { in CheckLambdaCapture()
998 assert(getLangOpts().CUDA && "Should only be called during CUDA compilation"); in SetLambdaAttrs()
1007 assert(getLangOpts().CUDA && "Should only be called during CUDA compilation"); in checkTargetOverload()
1024 !(getLangOpts().OffloadImplicitHostDeviceTemplates && in checkTargetOverload()
1028 !(getLangOpts().OffloadImplicitHostDeviceTemplates && in checkTargetOverload()
1071 if (getLangOpts().HIP) in getConfigureFuncName()
1072 return getLangOpts().HIPUseNewLaunchAPI ? "__hipPushCallConfiguration" in getConfigureFuncName()