Home
last modified time | relevance | path

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

/freebsd-14.2/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.h612 unsigned getOpenCLCompatibleVersion() const;
/freebsd-14.2/contrib/llvm-project/clang/lib/Basic/
H A DLangOptions.cpp63 unsigned LangOptions::getOpenCLCompatibleVersion() const { in getOpenCLCompatibleVersion() function in LangOptions
167 Opts.OpenCLPipes = Opts.getOpenCLCompatibleVersion() == 200; in setLangDefaults()
168 Opts.OpenCLGenericAddressSpace = Opts.getOpenCLCompatibleVersion() == 200; in setLangDefaults()
H A DBuiltins.cpp110 if ((LangOpts.getOpenCLCompatibleVersion() < 200 || !LangOpts.Blocks) && in builtinIsSupported()
H A DTargetInfo.cpp451 if (Opts.getOpenCLCompatibleVersion() == 300) { in adjust()
H A DTargets.cpp864 if (Opts.getOpenCLCompatibleVersion() < 300) in validateOpenCLTarget()
/freebsd-14.2/contrib/llvm-project/clang/lib/Sema/
H A DDeclSpec.cpp656 if (S.getLangOpts().getOpenCLCompatibleVersion() < 120) { in SetStorageClassSpec()
H A DSemaExprMember.cpp377 S.getLangOpts().getOpenCLCompatibleVersion() < 300) { in CheckExtVectorComponent()
H A DSemaType.cpp1388 } else if (S.getLangOpts().getOpenCLCompatibleVersion() >= 200 && in ConvertDeclSpecToType()
1554 << (S.getLangOpts().getOpenCLCompatibleVersion() == 300 in ConvertDeclSpecToType()
1764 S.getLangOpts().getOpenCLCompatibleVersion() == 300; in ConvertDeclSpecToType()
5375 LangOpts.getOpenCLCompatibleVersion() >= 120) || in GetFullTypeForDeclarator()
H A DSema.cpp347 auto OCLCompatibleVersion = getLangOpts().getOpenCLCompatibleVersion(); in Initialize()
H A DSemaDeclAttr.cpp8396 if (S.LangOpts.getOpenCLCompatibleVersion() < 200) in handleOpenCLNoSVMAttr()
8435 (S.getLangOpts().getOpenCLCompatibleVersion() < 200) || in handleOpenCLAccessAttr()
8436 (S.getLangOpts().getOpenCLCompatibleVersion() == 300 && in handleOpenCLAccessAttr()
H A DSemaExpr.cpp4124 << (getLangOpts().getOpenCLCompatibleVersion() >= 300); in ActOnNumericConstant()
13523 if (getLangOpts().getOpenCLCompatibleVersion() >= 200) { in CheckCompareOperands()
13846 getLangOpts().getOpenCLCompatibleVersion() < 120 && in CheckVectorLogicalOperands()
16438 Context.getLangOpts().getOpenCLCompatibleVersion() < 120) { in CreateBuiltinUnaryOp()
H A DSemaDecl.cpp9504 if (S.getLangOpts().getOpenCLCompatibleVersion() > 120) in getOpenCLKernelParameterType()
9536 if (S.getLangOpts().getOpenCLCompatibleVersion() > 120) in getOpenCLKernelParameterType()
10897 if (getLangOpts().getOpenCLCompatibleVersion() >= 200) { in ActOnFunctionDeclarator()
/freebsd-14.2/contrib/llvm-project/clang/lib/Parse/
H A DParseDecl.cpp4359 getLangOpts().getOpenCLCompatibleVersion() < 200) { in ParseDeclarationSpecifiers()
5623 getLangOpts().getOpenCLCompatibleVersion() >= 200; in isDeclarationSpecifier()
6187 Lang.getOpenCLCompatibleVersion() >= 200) in isPtrOperatorToken()
/freebsd-14.2/contrib/llvm-project/clang/lib/CodeGen/
H A DCodeGenModule.cpp1210 auto Version = LangOpts.getOpenCLCompatibleVersion(); in Release()
1337 auto Version = LangOpts.getOpenCLCompatibleVersion(); in EmitOpenCLMetadata()
/freebsd-14.2/contrib/llvm-project/clang/lib/Frontend/
H A DCompilerInvocation.cpp643 (LangOpts.getOpenCLCompatibleVersion() > 100)) in FixupInvocation()