Searched refs:getOpenCLOptions (Results 1 – 14 of 14) sorted by relevance
/freebsd/contrib/llvm-project/clang/lib/Sema/ |
H A D | Sema.cpp | 343 getOpenCLOptions().addSupport( in Initialize() 393 if (getOpenCLOptions().isSupported("cl_khr_fp16", getLangOpts())) { in Initialize() 399 if (getOpenCLOptions().isSupported("cl_khr_int64_base_atomics", in Initialize() 401 getOpenCLOptions().isSupported("cl_khr_int64_extended_atomics", in Initialize() 403 if (getOpenCLOptions().isSupported("cl_khr_fp64", getLangOpts())) { in Initialize() 421 if (getOpenCLOptions().isSupported(#Ext, getLangOpts())) { \ in Initialize()
|
H A D | SemaType.cpp | 1551 if (!S.getOpenCLOptions().isSupported("cl_khr_fp64", S.getLangOpts())) in ConvertDeclSpecToType() 1557 else if (!S.getOpenCLOptions().isAvailableOption("cl_khr_fp64", S.getLangOpts())) in ConvertDeclSpecToType() 1762 const auto &OpenCLOptions = S.getOpenCLOptions(); in ConvertDeclSpecToType() 2195 !getOpenCLOptions().isAvailableOption("__cl_clang_function_pointers", in BuildPointerType() 2295 !getOpenCLOptions().isAvailableOption("__cl_clang_function_pointers", in BuildReferenceType() 3149 !getOpenCLOptions().isAvailableOption("__cl_clang_function_pointers", in BuildMemberPointerType() 5344 if (!S.getOpenCLOptions().isAvailableOption("cl_khr_fp16", in GetFullTypeForDeclarator() 5371 !S.getOpenCLOptions().isAvailableOption( in GetFullTypeForDeclarator() 5584 if (!S.getOpenCLOptions().isAvailableOption("cl_khr_fp16", in GetFullTypeForDeclarator()
|
H A D | DeclSpec.cpp | 650 !S.getOpenCLOptions().isAvailableOption( in SetStorageClassSpec()
|
H A D | SemaDecl.cpp | 7029 if (getOpenCLOptions().areProgramScopeVariablesSupported(getLangOpts()) && in deduceOpenCLAddressSpace() 7452 if (!Se.getOpenCLOptions().isAvailableOption("__cl_clang_function_pointers", in diagnoseOpenCLTypes() 7468 if (!Se.getOpenCLOptions().isAvailableOption("cl_khr_fp16", in diagnoseOpenCLTypes() 8696 !getOpenCLOptions().isAvailableOption("cl_clang_storage_class_specifiers", in CheckVariableDeclarationType() 8736 getOpenCLOptions().areProgramScopeVariablesSupported( in CheckVariableDeclarationType() 8739 if (getOpenCLOptions().areProgramScopeVariablesSupported(getLangOpts())) in CheckVariableDeclarationType() 9515 !S.getOpenCLOptions().isAvailableOption( in getOpenCLKernelParameterType() 9559 if (!S.getOpenCLOptions().isAvailableOption("cl_khr_fp16", S.getLangOpts()) && in getOpenCLKernelParameterType() 9577 !S.getOpenCLOptions().isAvailableOption( in getOpenCLKernelParameterType() 18597 if (BitWidth && !getOpenCLOptions().isAvailableOption( in CheckFieldDecl()
|
H A D | SemaCast.cpp | 3180 if (Self.getLangOpts().OpenCL && !Self.getOpenCLOptions().isAvailableOption( in CheckCStyleCast()
|
H A D | SemaExpr.cpp | 683 !getOpenCLOptions().isAvailableOption("cl_khr_fp16", getLangOpts()) && in DefaultLvalueConversion() 889 !getOpenCLOptions().isAvailableOption("cl_khr_fp64", getLangOpts())) { in DefaultArgumentPromotion() 4096 if (getOpenCLOptions().isAvailableOption("cl_khr_fp16", getLangOpts())) in ActOnNumericConstant() 4120 } else if (getLangOpts().OpenCL && !getOpenCLOptions().isAvailableOption( in ActOnNumericConstant() 14584 !getOpenCLOptions().isAvailableOption("cl_khr_fp16", getLangOpts()) && in CheckAssignmentOperands()
|
H A D | SemaInit.cpp | 6067 if (S.getOpenCLOptions().isAvailableOption( in TryOCLZeroOpaqueTypeInitialization() 9381 !S.getOpenCLOptions().isAvailableOption( in Perform()
|
H A D | SemaChecking.cpp | 1494 if (!S.getOpenCLOptions().isSupported("cl_khr_subgroups", S.getLangOpts()) && in checkOpenCLSubgroupExt() 1495 !S.getOpenCLOptions().isSupported("__opencl_c_subgroups", in checkOpenCLSubgroupExt()
|
H A D | SemaDeclAttr.cpp | 8437 !S.getOpenCLOptions().isSupported("__opencl_c_read_write_images", in handleOpenCLAccessAttr()
|
/freebsd/contrib/llvm-project/clang/lib/Parse/ |
H A D | ParseExpr.cpp | 1880 !getActions().getOpenCLOptions().isAvailableOption( in ParseCastExpression()
|
H A D | ParseDecl.cpp | 3376 … if (!StringRef(Ext).empty() && !getActions().getOpenCLOptions().isSupported(Ext, getLangOpts())) { in ParseDeclarationSpecifiers() 4100 !getActions().getOpenCLOptions().isAvailableOption( in ParseDeclarationSpecifiers()
|
H A D | ParsePragma.cpp | 972 auto &Opt = Actions.getOpenCLOptions(); in HandlePragmaOpenCLExtension()
|
/freebsd/contrib/llvm-project/clang/lib/Serialization/ |
H A D | ASTWriter.cpp | 4251 const OpenCLOptions &Opts = SemaRef.getOpenCLOptions(); in WriteOpenCLExtensions()
|
/freebsd/contrib/llvm-project/clang/include/clang/Sema/ |
H A D | Sema.h | 1688 OpenCLOptions &getOpenCLOptions() { return OpenCLFeatures; } in getOpenCLOptions() function
|