Searched refs:getOpenCLOptions (Results 1 – 13 of 13) sorted by relevance
| /freebsd/contrib/llvm-project/clang/lib/Sema/ |
| H A D | SemaOpenCL.cpp | 65 !SemaRef.getOpenCLOptions().isSupported( in handleAccessAttr() 142 if (!SemaRef.getOpenCLOptions().isSupported("cl_khr_subgroups", in checkSubgroupExt() 144 !SemaRef.getOpenCLOptions().isSupported("__opencl_c_subgroups", in checkSubgroupExt()
|
| H A D | Sema.cpp | 456 getOpenCLOptions().addSupport( in Initialize() 506 if (getOpenCLOptions().isSupported("cl_khr_fp16", getLangOpts())) { in Initialize() 512 if (getOpenCLOptions().isSupported("cl_khr_int64_base_atomics", in Initialize() 514 getOpenCLOptions().isSupported("cl_khr_int64_extended_atomics", in Initialize() 516 if (getOpenCLOptions().isSupported("cl_khr_fp64", getLangOpts())) { in Initialize() 534 if (getOpenCLOptions().isSupported(#Ext, getLangOpts())) { \ in Initialize()
|
| H A D | SemaType.cpp | 1159 if (!S.getOpenCLOptions().isSupported("cl_khr_fp64", S.getLangOpts())) in ConvertDeclSpecToType() 1165 else if (!S.getOpenCLOptions().isAvailableOption("cl_khr_fp64", S.getLangOpts())) in ConvertDeclSpecToType() 1388 const auto &OpenCLOptions = S.getOpenCLOptions(); in ConvertDeclSpecToType() 1818 !getOpenCLOptions().isAvailableOption("__cl_clang_function_pointers", in BuildPointerType() 1906 !getOpenCLOptions().isAvailableOption("__cl_clang_function_pointers", in BuildReferenceType() 2736 !getOpenCLOptions().isAvailableOption("__cl_clang_function_pointers", in BuildMemberPointerType() 4972 if (!S.getOpenCLOptions().isAvailableOption("cl_khr_fp16", in GetFullTypeForDeclarator() 5004 !S.getOpenCLOptions().isAvailableOption( in GetFullTypeForDeclarator() 5230 if (!S.getOpenCLOptions().isAvailableOption("cl_khr_fp16", in GetFullTypeForDeclarator()
|
| H A D | DeclSpec.cpp | 657 !S.getOpenCLOptions().isAvailableOption( in SetStorageClassSpec()
|
| H A D | SemaDecl.cpp | 6946 if (getOpenCLOptions().areProgramScopeVariablesSupported(getLangOpts()) && in deduceOpenCLAddressSpace() 7422 if (!Se.getOpenCLOptions().isAvailableOption("__cl_clang_function_pointers", in diagnoseOpenCLTypes() 7438 if (!Se.getOpenCLOptions().isAvailableOption("cl_khr_fp16", in diagnoseOpenCLTypes() 8738 !getOpenCLOptions().isAvailableOption("cl_clang_storage_class_specifiers", in CheckVariableDeclarationType() 8778 getOpenCLOptions().areProgramScopeVariablesSupported( in CheckVariableDeclarationType() 8781 if (getOpenCLOptions().areProgramScopeVariablesSupported(getLangOpts())) in CheckVariableDeclarationType() 9588 !S.getOpenCLOptions().isAvailableOption( in getOpenCLKernelParameterType() 9632 if (!S.getOpenCLOptions().isAvailableOption("cl_khr_fp16", S.getLangOpts()) && in getOpenCLKernelParameterType() 9650 !S.getOpenCLOptions().isAvailableOption( in getOpenCLKernelParameterType() 18918 if (BitWidth && !getOpenCLOptions().isAvailableOption( in CheckFieldDecl()
|
| H A D | SemaCast.cpp | 3287 if (Self.getLangOpts().OpenCL && !Self.getOpenCLOptions().isAvailableOption( in CheckCStyleCast()
|
| H A D | SemaExpr.cpp | 672 !getOpenCLOptions().isAvailableOption("cl_khr_fp16", getLangOpts()) && in DefaultLvalueConversion() 893 !getOpenCLOptions().isAvailableOption("cl_khr_fp64", getLangOpts())) { in DefaultArgumentPromotion() 3871 getOpenCLOptions().isAvailableOption("cl_khr_fp16", getLangOpts())) in ActOnNumericConstant() 3897 } else if (getLangOpts().OpenCL && !getOpenCLOptions().isAvailableOption( in ActOnNumericConstant() 13956 !getOpenCLOptions().isAvailableOption("cl_khr_fp16", getLangOpts()) && in CheckAssignmentOperands()
|
| H A D | SemaInit.cpp | 6458 if (S.getOpenCLOptions().isAvailableOption( in TryOCLZeroOpaqueTypeInitialization() 8680 !S.getOpenCLOptions().isAvailableOption( in Perform()
|
| /freebsd/contrib/llvm-project/clang/lib/Parse/ |
| H A D | ParseExpr.cpp | 1624 !getActions().getOpenCLOptions().isAvailableOption( in ParseCastExpression()
|
| H A D | ParseDecl.cpp | 3405 … if (!StringRef(Ext).empty() && !getActions().getOpenCLOptions().isSupported(Ext, getLangOpts())) { in ParseDeclarationSpecifiers() 4157 !getActions().getOpenCLOptions().isAvailableOption( in ParseDeclarationSpecifiers()
|
| H A D | ParsePragma.cpp | 968 auto &Opt = Actions.getOpenCLOptions(); in HandlePragmaOpenCLExtension()
|
| /freebsd/contrib/llvm-project/clang/lib/Serialization/ |
| H A D | ASTWriter.cpp | 5000 const OpenCLOptions &Opts = SemaRef.getOpenCLOptions(); in WriteOpenCLExtensions()
|
| /freebsd/contrib/llvm-project/clang/include/clang/Sema/ |
| H A D | Sema.h | 903 OpenCLOptions &getOpenCLOptions() { return OpenCLFeatures; } in getOpenCLOptions() function
|