Home
last modified time | relevance | path

Searched refs:OpenCLVersion (Results 1 – 19 of 19) sorted by relevance

/netbsd-src/external/apache2/llvm/dist/clang/include/clang/Basic/
H A DOpenCLOptions.h37 static inline OpenCLVersionID encodeOpenCLVersion(unsigned OpenCLVersion) { in encodeOpenCLVersion() argument
38 switch (OpenCLVersion) { in encodeOpenCLVersion()
58 auto CLVer = LO.OpenCLCPlusPlus ? 200 : LO.OpenCLVersion; in isOpenCLVersionContainedInMask()
99 auto CLVer = LO.OpenCLCPlusPlus ? 200 : LO.OpenCLVersion; in isAvailableIn()
H A DLangOptions.def219 LANGOPT(OpenCLVersion , 32, 0, "OpenCL C version")
/netbsd-src/external/apache2/llvm/dist/clang/lib/Basic/
H A DBuiltins.cpp70 bool OclC1Unsupported = (LangOpts.OpenCLVersion / 100) != 1 && in builtinIsSupported()
73 (LangOpts.OpenCLVersion != 200 && !LangOpts.OpenCLCPlusPlus) && in builtinIsSupported()
H A DLangOptions.cpp47 const int Ver = OpenCLCPlusPlus ? OpenCLCPlusPlusVersion : OpenCLVersion; in getOpenCLVersionTuple()
H A DTargets.cpp748 if (Opts.OpenCLCPlusPlus || Opts.OpenCLVersion < 300) in validateOpenCLTarget()
/netbsd-src/external/apache2/llvm/dist/clang/lib/Frontend/
H A DCompilerInvocation.cpp506 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()
H A DInitPreprocessor.cpp449 switch (LangOpts.OpenCLVersion) { in InitializeStandardPredefinedMacros()
/netbsd-src/external/apache2/llvm/dist/clang/lib/Sema/
H A DDeclSpec.cpp634 if (S.getLangOpts().OpenCLVersion < 120 && in SetStorageClassSpec()
H A DSemaExprMember.cpp343 if (S.getLangOpts().OpenCL && S.getLangOpts().OpenCLVersion < 300) { in CheckExtVectorComponent()
H A DSema.cpp304 if (getLangOpts().OpenCLCPlusPlus || getLangOpts().OpenCLVersion >= 200) { in Initialize()
H A DSemaDecl.cpp6364 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()
H A DSemaType.cpp1371 } else if ((S.getLangOpts().OpenCLVersion >= 200 || in ConvertDeclSpecToType()
1531 << (S.getLangOpts().OpenCLVersion >= 300); in ConvertDeclSpecToType()
5063 (LangOpts.OpenCLCPlusPlus || LangOpts.OpenCLVersion >= 120)) || in GetFullTypeForDeclarator()
H A DSemaExpr.cpp3847 << (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()
H A DSemaDeclAttr.cpp7342 if (S.LangOpts.OpenCLVersion != 200) in handleOpenCLNoSVMAttr()
7377 S.getLangOpts().OpenCLVersion < 200) || in handleOpenCLAccessAttr()
H A DSemaInit.cpp8082 if (S.getLangOpts().OpenCLVersion >= 200 && in Perform()
/netbsd-src/external/apache2/llvm/dist/clang/lib/AST/
H A DExpr.cpp3709 if ((Ctx.getLangOpts().OpenCLVersion >= 200 && in isNullPointerConstant()
3712 Ctx.getLangOpts().OpenCLVersion < 200 && in isNullPointerConstant()
/netbsd-src/external/apache2/llvm/dist/clang/lib/CodeGen/
H A DCodeGenModule.cpp712 auto Version = LangOpts.OpenCLCPlusPlus ? 200 : LangOpts.OpenCLVersion; in Release()
805 auto Version = LangOpts.OpenCLCPlusPlus ? 200 : LangOpts.OpenCLVersion; in EmitOpenCLMetadata()
H A DCGCall.cpp2112 if (getLangOpts().OpenCLVersion <= 120) { in ConstructAttributeList()
/netbsd-src/external/apache2/llvm/dist/clang/lib/Parse/
H A DParseDecl.cpp3941 if (!getLangOpts().OpenCL || (getLangOpts().OpenCLVersion < 200 && in ParseDeclarationSpecifiers()