Searched refs:OpenCLVersion (Results 1 – 19 of 19) sorted by relevance
37 static inline OpenCLVersionID encodeOpenCLVersion(unsigned OpenCLVersion) { in encodeOpenCLVersion() argument38 switch (OpenCLVersion) { in encodeOpenCLVersion()58 auto CLVer = LO.OpenCLCPlusPlus ? 200 : LO.OpenCLVersion; in isOpenCLVersionContainedInMask()99 auto CLVer = LO.OpenCLCPlusPlus ? 200 : LO.OpenCLVersion; in isAvailableIn()
219 LANGOPT(OpenCLVersion , 32, 0, "OpenCL C version")
70 bool OclC1Unsupported = (LangOpts.OpenCLVersion / 100) != 1 && in builtinIsSupported()73 (LangOpts.OpenCLVersion != 200 && !LangOpts.OpenCLCPlusPlus) && in builtinIsSupported()
47 const int Ver = OpenCLCPlusPlus ? OpenCLCPlusPlusVersion : OpenCLVersion; in getOpenCLVersionTuple()
748 if (Opts.OpenCLCPlusPlus || Opts.OpenCLVersion < 300) in validateOpenCLTarget()
506 if (Args.getLastArg(OPT_cl_strict_aliasing) && LangOpts.OpenCLVersion > 100) in FixupInvocation()3161 Opts.OpenCLVersion = 100; in setLangDefaults()3163 Opts.OpenCLVersion = 110; in setLangDefaults()3165 Opts.OpenCLVersion = 120; in setLangDefaults()3167 Opts.OpenCLVersion = 200; in setLangDefaults()3169 Opts.OpenCLVersion = 300; in setLangDefaults()3179 Opts.OpenCLPipe = Opts.OpenCLCPlusPlus || Opts.OpenCLVersion == 200; in setLangDefaults()3181 Opts.OpenCLCPlusPlus || Opts.OpenCLVersion == 200; in setLangDefaults()3405 if (Opts.Blocks && !(Opts.OpenCL && Opts.OpenCLVersion == 200)) in GenerateLangArgs()3777 && Opts.OpenCLVersion == 200); in ParseLangArgs()
449 switch (LangOpts.OpenCLVersion) { in InitializeStandardPredefinedMacros()
634 if (S.getLangOpts().OpenCLVersion < 120 && in SetStorageClassSpec()
343 if (S.getLangOpts().OpenCL && S.getLangOpts().OpenCLVersion < 300) { in CheckExtVectorComponent()
304 if (getLangOpts().OpenCLCPlusPlus || getLangOpts().OpenCLVersion >= 200) { in Initialize()
6364 if ((getLangOpts().OpenCLCPlusPlus || getLangOpts().OpenCLVersion >= 200) && in deduceOpenCLAddressSpace()7924 if (getLangOpts().OpenCLVersion == 120 && in CheckVariableDeclarationType()7972 (getLangOpts().OpenCLVersion == 200 || in CheckVariableDeclarationType()7975 if (getLangOpts().OpenCLVersion == 200 || getLangOpts().OpenCLCPlusPlus) in CheckVariableDeclarationType()8763 if (S.getLangOpts().OpenCLVersion < 120 && in checkIsValidOpenCLKernelParameter()9899 if ((getLangOpts().OpenCLVersion >= 120) in ActOnFunctionDeclarator()9946 if (getLangOpts().OpenCLVersion >= 200 || getLangOpts().OpenCLCPlusPlus) { in ActOnFunctionDeclarator()
1371 } else if ((S.getLangOpts().OpenCLVersion >= 200 || in ConvertDeclSpecToType()1531 << (S.getLangOpts().OpenCLVersion >= 300); in ConvertDeclSpecToType()5063 (LangOpts.OpenCLCPlusPlus || LangOpts.OpenCLVersion >= 120)) || in GetFullTypeForDeclarator()
3847 << (getLangOpts().OpenCLVersion >= 300); in ActOnNumericConstant()12096 if (getLangOpts().OpenCLVersion >= 200 || getLangOpts().OpenCLCPlusPlus) { in CheckCompareOperands()12332 if (getLangOpts().OpenCL && getLangOpts().OpenCLVersion < 120 && in CheckVectorLogicalOperands()12524 Context.getLangOpts().OpenCLVersion < 120) { in CheckLogicalOperands()14775 Context.getLangOpts().OpenCLVersion < 120) { in CreateBuiltinUnaryOp()14784 Context.getLangOpts().OpenCLVersion < 120 && in CreateBuiltinUnaryOp()
7342 if (S.LangOpts.OpenCLVersion != 200) in handleOpenCLNoSVMAttr()7377 S.getLangOpts().OpenCLVersion < 200) || in handleOpenCLAccessAttr()
8082 if (S.getLangOpts().OpenCLVersion >= 200 && in Perform()
3709 if ((Ctx.getLangOpts().OpenCLVersion >= 200 && in isNullPointerConstant()3712 Ctx.getLangOpts().OpenCLVersion < 200 && in isNullPointerConstant()
712 auto Version = LangOpts.OpenCLCPlusPlus ? 200 : LangOpts.OpenCLVersion; in Release()805 auto Version = LangOpts.OpenCLCPlusPlus ? 200 : LangOpts.OpenCLVersion; in EmitOpenCLMetadata()
2112 if (getLangOpts().OpenCLVersion <= 120) { in ConstructAttributeList()
3941 if (!getLangOpts().OpenCL || (getLangOpts().OpenCLVersion < 200 && in ParseDeclarationSpecifiers()