Searched refs:OpenCLVersion (Results 1 – 20 of 20) sorted by relevance
40 static inline OpenCLVersionID encodeOpenCLVersion(unsigned OpenCLVersion) { in encodeOpenCLVersion() argument41 switch (OpenCLVersion) { in encodeOpenCLVersion()61 auto CLVer = LO.OpenCLCPlusPlus ? 200 : LO.OpenCLVersion; in isOpenCLVersionContainedInMask()82 return Opts.OpenCLCPlusPlus || Opts.OpenCLVersion == 200 || in areProgramScopeVariablesSupported()83 (Opts.OpenCLVersion == 300 && in areProgramScopeVariablesSupported()118 auto CLVer = LO.OpenCLCPlusPlus ? 200 : LO.OpenCLVersion; in isAvailableIn()
223 LANGOPT(OpenCLVersion , 32, 0, "OpenCL C version")
72 bool OclC1Unsupported = (LangOpts.OpenCLVersion / 100) != 1 && in builtinIsSupported()75 (LangOpts.OpenCLVersion != 200 && !LangOpts.OpenCLCPlusPlus) && in builtinIsSupported()
49 const int Ver = OpenCLCPlusPlus ? OpenCLCPlusPlusVersion : OpenCLVersion; in getOpenCLVersionTuple()
409 if (Opts.OpenCLVersion == 300) { in adjust()
748 if (Opts.OpenCLCPlusPlus || Opts.OpenCLVersion < 300) in validateOpenCLTarget()
506 if (Args.getLastArg(OPT_cl_strict_aliasing) && LangOpts.OpenCLVersion > 100) in FixupInvocation()3158 Opts.OpenCLVersion = 100; in setLangDefaults()3160 Opts.OpenCLVersion = 110; in setLangDefaults()3162 Opts.OpenCLVersion = 120; in setLangDefaults()3164 Opts.OpenCLVersion = 200; in setLangDefaults()3166 Opts.OpenCLVersion = 300; in setLangDefaults()3176 Opts.OpenCLPipes = Opts.OpenCLCPlusPlus || Opts.OpenCLVersion == 200; in setLangDefaults()3178 Opts.OpenCLCPlusPlus || Opts.OpenCLVersion == 200; in setLangDefaults()3402 if (Opts.Blocks && !(Opts.OpenCL && Opts.OpenCLVersion == 200)) in GenerateLangArgs()3779 && 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()
1372 } else if ((S.getLangOpts().OpenCLVersion >= 200 || in ConvertDeclSpecToType()1536 << (S.getLangOpts().OpenCLVersion == 300 in ConvertDeclSpecToType()1729 bool IsOpenCLC30 = (S.getLangOpts().OpenCLVersion == 300); in ConvertDeclSpecToType()5096 (LangOpts.OpenCLCPlusPlus || LangOpts.OpenCLVersion >= 120)) || in GetFullTypeForDeclarator()
327 if (getLangOpts().OpenCLCPlusPlus || getLangOpts().OpenCLVersion >= 200) { in Initialize()
7456 if (S.LangOpts.OpenCLVersion != 200) in handleOpenCLNoSVMAttr()7494 (S.getLangOpts().OpenCLVersion < 200) || in handleOpenCLAccessAttr()7495 (S.getLangOpts().OpenCLVersion == 300 && in handleOpenCLAccessAttr()
3880 << (getLangOpts().OpenCLVersion >= 300); in ActOnNumericConstant()12194 if (getLangOpts().OpenCLVersion >= 200 || getLangOpts().OpenCLCPlusPlus) { in CheckCompareOperands()12453 if (getLangOpts().OpenCL && getLangOpts().OpenCLVersion < 120 && in CheckVectorLogicalOperands()12645 Context.getLangOpts().OpenCLVersion < 120) { in CheckLogicalOperands()14896 Context.getLangOpts().OpenCLVersion < 120) { in CreateBuiltinUnaryOp()14905 Context.getLangOpts().OpenCLVersion < 120 && in CreateBuiltinUnaryOp()
7990 if (getLangOpts().OpenCLVersion == 120 && in CheckVariableDeclarationType()8822 if (S.getLangOpts().OpenCLVersion <= 120 && in checkIsValidOpenCLKernelParameter()9958 if ((getLangOpts().OpenCLVersion >= 120) in ActOnFunctionDeclarator()10005 if (getLangOpts().OpenCLVersion >= 200 || getLangOpts().OpenCLCPlusPlus) { in ActOnFunctionDeclarator()
8084 if (S.getLangOpts().OpenCLVersion >= 200 && in Perform()
3948 if (!getLangOpts().OpenCL || (getLangOpts().OpenCLVersion < 200 && in ParseDeclarationSpecifiers()5135 return (getLangOpts().OpenCL && getLangOpts().OpenCLVersion >= 200) || in isDeclarationSpecifier()5667 ((Lang.OpenCL && Lang.OpenCLVersion >= 200) || Lang.OpenCLCPlusPlus)) in isPtrOperatorToken()
3782 if ((Ctx.getLangOpts().OpenCLVersion >= 200 && in isNullPointerConstant()3785 Ctx.getLangOpts().OpenCLVersion < 200 && in isNullPointerConstant()
735 auto Version = LangOpts.OpenCLCPlusPlus ? 200 : LangOpts.OpenCLVersion; in Release()830 auto Version = LangOpts.OpenCLCPlusPlus ? 200 : LangOpts.OpenCLVersion; in EmitOpenCLMetadata()
2113 if (getLangOpts().OpenCLVersion <= 120) { in ConstructAttributeList()