Searched refs:getOpenCLOptions (Results 1 – 14 of 14) sorted by relevance
| /freebsd-13.1/contrib/llvm-project/clang/lib/Sema/ |
| H A D | Sema.cpp | 323 getOpenCLOptions().addSupport( in Initialize() 371 if (getOpenCLOptions().isSupported("cl_khr_int64_base_atomics", in Initialize() 373 getOpenCLOptions().isSupported("cl_khr_int64_extended_atomics", in Initialize() 375 if (getOpenCLOptions().isSupported("cl_khr_fp64", getLangOpts())) { in Initialize() 394 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() 1728 const auto &OpenCLOptions = S.getOpenCLOptions(); in ConvertDeclSpecToType() 2117 !getOpenCLOptions().isAvailableOption("__cl_clang_function_pointers", in BuildPointerType() 2192 !getOpenCLOptions().isAvailableOption("__cl_clang_function_pointers", in BuildReferenceType() 2934 !getOpenCLOptions().isAvailableOption("__cl_clang_function_pointers", in BuildMemberPointerType() 5066 if (!S.getOpenCLOptions().isAvailableOption("cl_khr_fp16", in GetFullTypeForDeclarator() 5092 !S.getOpenCLOptions().isAvailableOption( in GetFullTypeForDeclarator() 5288 if (!S.getOpenCLOptions().isAvailableOption("cl_khr_fp16", in GetFullTypeForDeclarator()
|
| H A D | DeclSpec.cpp | 628 !S.getOpenCLOptions().isAvailableOption( in SetStorageClassSpec()
|
| H A D | SemaDecl.cpp | 6431 if (getOpenCLOptions().areProgramScopeVariablesSupported(getLangOpts()) && in deduceOpenCLAddressSpace() 6840 if (!Se.getOpenCLOptions().isAvailableOption("__cl_clang_function_pointers", in diagnoseOpenCLTypes() 6856 if (!Se.getOpenCLOptions().isAvailableOption("cl_khr_fp16", in diagnoseOpenCLTypes() 7991 !getOpenCLOptions().isAvailableOption("cl_clang_storage_class_specifiers", in CheckVariableDeclarationType() 8031 getOpenCLOptions().areProgramScopeVariablesSupported( in CheckVariableDeclarationType() 8034 if (getOpenCLOptions().areProgramScopeVariablesSupported(getLangOpts())) in CheckVariableDeclarationType() 8750 !S.getOpenCLOptions().isAvailableOption( in getOpenCLKernelParameterType() 8776 if (!S.getOpenCLOptions().isAvailableOption("cl_khr_fp16", S.getLangOpts()) && in getOpenCLKernelParameterType() 8794 !S.getOpenCLOptions().isAvailableOption( in getOpenCLKernelParameterType() 16875 if (BitWidth && !getOpenCLOptions().isAvailableOption( in CheckFieldDecl()
|
| H A D | SemaCast.cpp | 3062 if (Self.getLangOpts().OpenCL && !Self.getOpenCLOptions().isAvailableOption( in CheckCStyleCast()
|
| H A D | SemaExpr.cpp | 659 !getOpenCLOptions().isAvailableOption("cl_khr_fp16", getLangOpts()) && in DefaultLvalueConversion() 831 !getOpenCLOptions().isAvailableOption("cl_khr_fp64", getLangOpts())) { in DefaultArgumentPromotion() 3852 if (getOpenCLOptions().isAvailableOption("cl_khr_fp16", getLangOpts())) in ActOnNumericConstant() 3876 } else if (getLangOpts().OpenCL && !getOpenCLOptions().isAvailableOption( in ActOnNumericConstant() 13138 !getOpenCLOptions().isAvailableOption("cl_khr_fp16", getLangOpts()) && in CheckAssignmentOperands()
|
| H A D | SemaInit.cpp | 5622 if (S.getOpenCLOptions().isAvailableOption( in TryOCLZeroOpaqueTypeInitialization() 8809 !S.getOpenCLOptions().isAvailableOption( in Perform()
|
| H A D | SemaDeclAttr.cpp | 7496 !S.getOpenCLOptions().isSupported("__opencl_c_read_write_images", in handleOpenCLAccessAttr()
|
| H A D | SemaChecking.cpp | 841 if (!S.getOpenCLOptions().isSupported("cl_khr_subgroups", S.getLangOpts())) { in checkOpenCLSubgroupExt()
|
| /freebsd-13.1/contrib/llvm-project/clang/lib/Parse/ |
| H A D | ParseExpr.cpp | 1814 !getActions().getOpenCLOptions().isAvailableOption( in ParseCastExpression()
|
| H A D | ParseDecl.cpp | 3085 … if (!StringRef(Ext).empty() && !getActions().getOpenCLOptions().isSupported(Ext, getLangOpts())) { in ParseDeclarationSpecifiers() 3700 !getActions().getOpenCLOptions().isAvailableOption( in ParseDeclarationSpecifiers()
|
| H A D | ParsePragma.cpp | 778 auto &Opt = Actions.getOpenCLOptions(); in HandlePragmaOpenCLExtension()
|
| /freebsd-13.1/contrib/llvm-project/clang/lib/Serialization/ |
| H A D | ASTWriter.cpp | 3954 const OpenCLOptions &Opts = SemaRef.getOpenCLOptions(); in WriteOpenCLExtensions()
|
| /freebsd-13.1/contrib/llvm-project/clang/include/clang/Sema/ |
| H A D | Sema.h | 1549 OpenCLOptions &getOpenCLOptions() { return OpenCLFeatures; } in getOpenCLOptions() function
|