Home
last modified time | relevance | path

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

/openbsd-src/gnu/llvm/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.h567 unsigned getOpenCLCompatibleVersion() const;
/openbsd-src/gnu/llvm/clang/lib/Basic/
H A DLangOptions.cpp55 unsigned LangOptions::getOpenCLCompatibleVersion() const { in getOpenCLCompatibleVersion() function in LangOptions
158 Opts.OpenCLPipes = Opts.getOpenCLCompatibleVersion() == 200; in setLangDefaults()
159 Opts.OpenCLGenericAddressSpace = Opts.getOpenCLCompatibleVersion() == 200; in setLangDefaults()
H A DBuiltins.cpp110 if ((LangOpts.getOpenCLCompatibleVersion() < 200 || !LangOpts.Blocks) && in builtinIsSupported()
H A DTargetInfo.cpp449 if (Opts.getOpenCLCompatibleVersion() == 300) { in adjust()
H A DTargets.cpp794 if (Opts.getOpenCLCompatibleVersion() < 300) in validateOpenCLTarget()
/openbsd-src/gnu/llvm/clang/lib/Sema/
H A DDeclSpec.cpp644 if (S.getLangOpts().getOpenCLCompatibleVersion() < 120) { in SetStorageClassSpec()
H A DSemaExprMember.cpp345 S.getLangOpts().getOpenCLCompatibleVersion() < 300) { in CheckExtVectorComponent()
H A DSemaType.cpp1371 } else if (S.getLangOpts().getOpenCLCompatibleVersion() >= 200 && in ConvertDeclSpecToType()
1536 << (S.getLangOpts().getOpenCLCompatibleVersion() == 300 in ConvertDeclSpecToType()
1746 S.getLangOpts().getOpenCLCompatibleVersion() == 300; in ConvertDeclSpecToType()
5251 LangOpts.getOpenCLCompatibleVersion() >= 120) || in GetFullTypeForDeclarator()
H A DSema.cpp346 auto OCLCompatibleVersion = getLangOpts().getOpenCLCompatibleVersion(); in Initialize()
H A DSemaDeclAttr.cpp8163 if (S.LangOpts.getOpenCLCompatibleVersion() < 200) in handleOpenCLNoSVMAttr()
8202 (S.getLangOpts().getOpenCLCompatibleVersion() < 200) || in handleOpenCLAccessAttr()
8203 (S.getLangOpts().getOpenCLCompatibleVersion() == 300 && in handleOpenCLAccessAttr()
H A DSemaExpr.cpp3947 << (getLangOpts().getOpenCLCompatibleVersion() >= 300); in ActOnNumericConstant()
13078 if (getLangOpts().getOpenCLCompatibleVersion() >= 200) { in CheckCompareOperands()
13401 getLangOpts().getOpenCLCompatibleVersion() < 120 && in CheckVectorLogicalOperands()
15935 Context.getLangOpts().getOpenCLCompatibleVersion() < 120) { in CreateBuiltinUnaryOp()
H A DSemaDecl.cpp9368 if (S.getLangOpts().getOpenCLCompatibleVersion() <= 120) { in checkIsValidOpenCLKernelParameter()
10657 if (getLangOpts().getOpenCLCompatibleVersion() >= 200) { in ActOnFunctionDeclarator()
/openbsd-src/gnu/llvm/clang/lib/Parse/
H A DParseDecl.cpp4181 getLangOpts().getOpenCLCompatibleVersion() < 200) { in ParseDeclarationSpecifiers()
5420 getLangOpts().getOpenCLCompatibleVersion() >= 200; in isDeclarationSpecifier()
5967 Lang.getOpenCLCompatibleVersion() >= 200) in isPtrOperatorToken()
/openbsd-src/gnu/llvm/clang/lib/CodeGen/
H A DCodeGenModule.cpp861 auto Version = LangOpts.getOpenCLCompatibleVersion(); in Release()
967 auto Version = LangOpts.getOpenCLCompatibleVersion(); in EmitOpenCLMetadata()
/openbsd-src/gnu/llvm/clang/lib/Frontend/
H A DCompilerInvocation.cpp545 (LangOpts.getOpenCLCompatibleVersion() > 100)) in FixupInvocation()