Home
last modified time | relevance | path

Searched refs:getOpenCLCompatibleVersion (Results 1 – 16 of 16) sorted by relevance

/freebsd/contrib/llvm-project/clang/include/clang/Basic/
H A DOpenCLOptions.h61 auto CLVer = LO.getOpenCLCompatibleVersion(); in isOpenCLVersionContainedInMask()
82 return Opts.getOpenCLCompatibleVersion() == 200 || in areProgramScopeVariablesSupported()
83 (Opts.getOpenCLCompatibleVersion() == 300 && in areProgramScopeVariablesSupported()
118 return LO.getOpenCLCompatibleVersion() >= Avail; in isAvailableIn()
H A DLangOptions.h749 unsigned getOpenCLCompatibleVersion() const;
/freebsd/contrib/llvm-project/clang/lib/Basic/
H A DLangOptions.cpp65 unsigned LangOptions::getOpenCLCompatibleVersion() const { in getOpenCLCompatibleVersion() function in LangOptions
173 Opts.OpenCLPipes = Opts.getOpenCLCompatibleVersion() == 200; in setLangDefaults()
174 Opts.OpenCLGenericAddressSpace = Opts.getOpenCLCompatibleVersion() == 200; in setLangDefaults()
H A DBuiltins.cpp179 if ((LangOpts.getOpenCLCompatibleVersion() < 200 || !LangOpts.Blocks) && in builtinIsSupported()
H A DTargetInfo.cpp488 if (Opts.getOpenCLCompatibleVersion() == 300) { in adjust()
H A DTargets.cpp894 if (Opts.getOpenCLCompatibleVersion() < 300) in validateOpenCLTarget()
/freebsd/contrib/llvm-project/clang/lib/Sema/
H A DSemaOpenCL.cpp24 if (getLangOpts().getOpenCLCompatibleVersion() < 200) in handleNoSVMAttr()
63 (getLangOpts().getOpenCLCompatibleVersion() < 200) || in handleAccessAttr()
64 (getLangOpts().getOpenCLCompatibleVersion() == 300 && in handleAccessAttr()
H A DDeclSpec.cpp663 if (S.getLangOpts().getOpenCLCompatibleVersion() < 120) { in SetStorageClassSpec()
H A DSemaExprMember.cpp419 S.getLangOpts().getOpenCLCompatibleVersion() < 300) { in CheckExtVectorComponent()
H A DSemaType.cpp997 } else if (S.getLangOpts().getOpenCLCompatibleVersion() >= 200 && in ConvertDeclSpecToType()
1162 << (S.getLangOpts().getOpenCLCompatibleVersion() == 300 in ConvertDeclSpecToType()
1390 S.getLangOpts().getOpenCLCompatibleVersion() == 300; in ConvertDeclSpecToType()
5008 LangOpts.getOpenCLCompatibleVersion() >= 120) || in GetFullTypeForDeclarator()
H A DSema.cpp460 auto OCLCompatibleVersion = getLangOpts().getOpenCLCompatibleVersion(); in Initialize()
H A DSemaExpr.cpp3901 << (getLangOpts().getOpenCLCompatibleVersion() >= 300); in ActOnNumericConstant()
12860 if (getLangOpts().getOpenCLCompatibleVersion() >= 200) { in CheckCompareOperands()
13175 getLangOpts().getOpenCLCompatibleVersion() < 120 && in CheckVectorLogicalOperands()
15799 Context.getLangOpts().getOpenCLCompatibleVersion() < 120) { in CreateBuiltinUnaryOp()
H A DSemaDecl.cpp9577 if (S.getLangOpts().getOpenCLCompatibleVersion() > 120) in getOpenCLKernelParameterType()
9609 if (S.getLangOpts().getOpenCLCompatibleVersion() > 120) in getOpenCLKernelParameterType()
11007 if (getLangOpts().getOpenCLCompatibleVersion() >= 200) { in ActOnFunctionDeclarator()
/freebsd/contrib/llvm-project/clang/lib/Parse/
H A DParseDecl.cpp4417 getLangOpts().getOpenCLCompatibleVersion() < 200) { in ParseDeclarationSpecifiers()
5733 getLangOpts().getOpenCLCompatibleVersion() >= 200; in isDeclarationSpecifier()
6301 Lang.getOpenCLCompatibleVersion() >= 200) in isPtrOperatorToken()
/freebsd/contrib/llvm-project/clang/lib/CodeGen/
H A DCodeGenModule.cpp1440 auto Version = LangOpts.getOpenCLCompatibleVersion(); in Release()
1585 auto CLVersion = LangOpts.getOpenCLCompatibleVersion(); in EmitOpenCLMetadata()
/freebsd/contrib/llvm-project/clang/lib/Frontend/
H A DCompilerInvocation.cpp671 (LangOpts.getOpenCLCompatibleVersion() > 100)) in FixupInvocation()