Searched refs:getOpenCLOptions (Results 1 – 14 of 14) sorted by relevance
| /openbsd-src/gnu/llvm/clang/lib/Sema/ |
| H A D | Sema.cpp | 342 getOpenCLOptions().addSupport( in Initialize() 392 if (getOpenCLOptions().isSupported("cl_khr_fp16", getLangOpts())) { in Initialize() 398 if (getOpenCLOptions().isSupported("cl_khr_int64_base_atomics", in Initialize() 400 getOpenCLOptions().isSupported("cl_khr_int64_extended_atomics", in Initialize() 402 if (getOpenCLOptions().isSupported("cl_khr_fp64", getLangOpts())) { in Initialize() 420 if (getOpenCLOptions().isSupported(#Ext, getLangOpts())) { \ in Initialize()
|
| H A D | SemaType.cpp | 1533 if (!S.getOpenCLOptions().isSupported("cl_khr_fp64", S.getLangOpts())) in ConvertDeclSpecToType() 1539 else if (!S.getOpenCLOptions().isAvailableOption("cl_khr_fp64", S.getLangOpts())) in ConvertDeclSpecToType() 1744 const auto &OpenCLOptions = S.getOpenCLOptions(); in ConvertDeclSpecToType() 2177 !getOpenCLOptions().isAvailableOption("__cl_clang_function_pointers", in BuildPointerType() 2262 !getOpenCLOptions().isAvailableOption("__cl_clang_function_pointers", in BuildReferenceType() 3056 !getOpenCLOptions().isAvailableOption("__cl_clang_function_pointers", in BuildMemberPointerType() 5220 if (!S.getOpenCLOptions().isAvailableOption("cl_khr_fp16", in GetFullTypeForDeclarator() 5247 !S.getOpenCLOptions().isAvailableOption( in GetFullTypeForDeclarator() 5457 if (!S.getOpenCLOptions().isAvailableOption("cl_khr_fp16", in GetFullTypeForDeclarator()
|
| H A D | DeclSpec.cpp | 638 !S.getOpenCLOptions().isAvailableOption( in SetStorageClassSpec()
|
| H A D | SemaDecl.cpp | 6884 if (getOpenCLOptions().areProgramScopeVariablesSupported(getLangOpts()) && in deduceOpenCLAddressSpace() 7308 if (!Se.getOpenCLOptions().isAvailableOption("__cl_clang_function_pointers", in diagnoseOpenCLTypes() 7324 if (!Se.getOpenCLOptions().isAvailableOption("cl_khr_fp16", in diagnoseOpenCLTypes() 8488 !getOpenCLOptions().isAvailableOption("cl_clang_storage_class_specifiers", in CheckVariableDeclarationType() 8528 getOpenCLOptions().areProgramScopeVariablesSupported( in CheckVariableDeclarationType() 8531 if (getOpenCLOptions().areProgramScopeVariablesSupported(getLangOpts())) in CheckVariableDeclarationType() 9283 !S.getOpenCLOptions().isAvailableOption( in getOpenCLKernelParameterType() 9322 if (!S.getOpenCLOptions().isAvailableOption("cl_khr_fp16", S.getLangOpts()) && in getOpenCLKernelParameterType() 9340 !S.getOpenCLOptions().isAvailableOption( in getOpenCLKernelParameterType() 17987 if (BitWidth && !getOpenCLOptions().isAvailableOption( in CheckFieldDecl()
|
| H A D | SemaCast.cpp | 3134 if (Self.getLangOpts().OpenCL && !Self.getOpenCLOptions().isAvailableOption( in CheckCStyleCast()
|
| H A D | SemaExpr.cpp | 668 !getOpenCLOptions().isAvailableOption("cl_khr_fp16", getLangOpts()) && in DefaultLvalueConversion() 874 !getOpenCLOptions().isAvailableOption("cl_khr_fp64", getLangOpts())) { in DefaultArgumentPromotion() 3919 if (getOpenCLOptions().isAvailableOption("cl_khr_fp16", getLangOpts())) in ActOnNumericConstant() 3943 } else if (getLangOpts().OpenCL && !getOpenCLOptions().isAvailableOption( in ActOnNumericConstant() 14129 !getOpenCLOptions().isAvailableOption("cl_khr_fp16", getLangOpts()) && in CheckAssignmentOperands()
|
| H A D | SemaInit.cpp | 5927 if (S.getOpenCLOptions().isAvailableOption( in TryOCLZeroOpaqueTypeInitialization() 9217 !S.getOpenCLOptions().isAvailableOption( in Perform()
|
| H A D | SemaChecking.cpp | 1412 if (!S.getOpenCLOptions().isSupported("cl_khr_subgroups", S.getLangOpts()) && in checkOpenCLSubgroupExt() 1413 !S.getOpenCLOptions().isSupported("__opencl_c_subgroups", in checkOpenCLSubgroupExt()
|
| H A D | SemaDeclAttr.cpp | 8204 !S.getOpenCLOptions().isSupported("__opencl_c_read_write_images", in handleOpenCLAccessAttr()
|
| /openbsd-src/gnu/llvm/clang/lib/Parse/ |
| H A D | ParseExpr.cpp | 1849 !getActions().getOpenCLOptions().isAvailableOption( in ParseCastExpression()
|
| H A D | ParseDecl.cpp | 3230 … if (!StringRef(Ext).empty() && !getActions().getOpenCLOptions().isSupported(Ext, getLangOpts())) { in ParseDeclarationSpecifiers() 3926 !getActions().getOpenCLOptions().isAvailableOption( in ParseDeclarationSpecifiers()
|
| H A D | ParsePragma.cpp | 873 auto &Opt = Actions.getOpenCLOptions(); in HandlePragmaOpenCLExtension()
|
| /openbsd-src/gnu/llvm/clang/lib/Serialization/ |
| H A D | ASTWriter.cpp | 4170 const OpenCLOptions &Opts = SemaRef.getOpenCLOptions(); in WriteOpenCLExtensions()
|
| /openbsd-src/gnu/llvm/clang/include/clang/Sema/ |
| H A D | Sema.h | 1651 OpenCLOptions &getOpenCLOptions() { return OpenCLFeatures; } in getOpenCLOptions() function
|