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 | 388 getOpenCLOptions().addSupport( in Initialize() 438 if (getOpenCLOptions().isSupported("cl_khr_fp16", getLangOpts())) { in Initialize() 444 if (getOpenCLOptions().isSupported("cl_khr_int64_base_atomics", in Initialize() 446 getOpenCLOptions().isSupported("cl_khr_int64_extended_atomics", in Initialize() 448 if (getOpenCLOptions().isSupported("cl_khr_fp64", getLangOpts())) { in Initialize() 466 if (getOpenCLOptions().isSupported(#Ext, getLangOpts())) { \ in Initialize()
|
H A D | SemaType.cpp | 1149 if (!S.getOpenCLOptions().isSupported("cl_khr_fp64", S.getLangOpts())) in ConvertDeclSpecToType() 1155 else if (!S.getOpenCLOptions().isAvailableOption("cl_khr_fp64", S.getLangOpts())) in ConvertDeclSpecToType() 1373 const auto &OpenCLOptions = S.getOpenCLOptions(); in ConvertDeclSpecToType() 1794 !getOpenCLOptions().isAvailableOption("__cl_clang_function_pointers", in BuildPointerType() 1881 !getOpenCLOptions().isAvailableOption("__cl_clang_function_pointers", in BuildReferenceType() 2684 !getOpenCLOptions().isAvailableOption("__cl_clang_function_pointers", in BuildMemberPointerType() 4912 if (!S.getOpenCLOptions().isAvailableOption("cl_khr_fp16", in GetFullTypeForDeclarator() 4939 !S.getOpenCLOptions().isAvailableOption( in GetFullTypeForDeclarator() 5152 if (!S.getOpenCLOptions().isAvailableOption("cl_khr_fp16", in GetFullTypeForDeclarator()
|
H A D | DeclSpec.cpp | 654 !S.getOpenCLOptions().isAvailableOption( in SetStorageClassSpec()
|
H A D | SemaDecl.cpp | 6826 if (getOpenCLOptions().areProgramScopeVariablesSupported(getLangOpts()) && in deduceOpenCLAddressSpace() 7252 if (!Se.getOpenCLOptions().isAvailableOption("__cl_clang_function_pointers", in diagnoseOpenCLTypes() 7268 if (!Se.getOpenCLOptions().isAvailableOption("cl_khr_fp16", in diagnoseOpenCLTypes() 8538 !getOpenCLOptions().isAvailableOption("cl_clang_storage_class_specifiers", in CheckVariableDeclarationType() 8578 getOpenCLOptions().areProgramScopeVariablesSupported( in CheckVariableDeclarationType() 8581 if (getOpenCLOptions().areProgramScopeVariablesSupported(getLangOpts())) in CheckVariableDeclarationType() 9371 !S.getOpenCLOptions().isAvailableOption( in getOpenCLKernelParameterType() 9415 if (!S.getOpenCLOptions().isAvailableOption("cl_khr_fp16", S.getLangOpts()) && in getOpenCLKernelParameterType() 9433 !S.getOpenCLOptions().isAvailableOption( in getOpenCLKernelParameterType() 18382 if (BitWidth && !getOpenCLOptions().isAvailableOption( in CheckFieldDecl()
|
H A D | SemaCast.cpp | 3190 if (Self.getLangOpts().OpenCL && !Self.getOpenCLOptions().isAvailableOption( in CheckCStyleCast()
|
H A D | SemaExpr.cpp | 675 !getOpenCLOptions().isAvailableOption("cl_khr_fp16", getLangOpts()) && in DefaultLvalueConversion() 879 !getOpenCLOptions().isAvailableOption("cl_khr_fp64", getLangOpts())) { in DefaultArgumentPromotion() 3823 getOpenCLOptions().isAvailableOption("cl_khr_fp16", getLangOpts())) in ActOnNumericConstant() 3849 } else if (getLangOpts().OpenCL && !getOpenCLOptions().isAvailableOption( in ActOnNumericConstant() 13556 !getOpenCLOptions().isAvailableOption("cl_khr_fp16", getLangOpts()) && in CheckAssignmentOperands()
|
H A D | SemaInit.cpp | 6208 if (S.getOpenCLOptions().isAvailableOption( in TryOCLZeroOpaqueTypeInitialization() 8399 !S.getOpenCLOptions().isAvailableOption( in Perform()
|
/freebsd/contrib/llvm-project/clang/lib/Parse/ |
H A D | ParseExpr.cpp | 1947 !getActions().getOpenCLOptions().isAvailableOption( in ParseCastExpression()
|
H A D | ParseDecl.cpp | 3629 … if (!StringRef(Ext).empty() && !getActions().getOpenCLOptions().isSupported(Ext, getLangOpts())) { in ParseDeclarationSpecifiers() 4368 !getActions().getOpenCLOptions().isAvailableOption( in ParseDeclarationSpecifiers()
|
H A D | ParsePragma.cpp | 980 auto &Opt = Actions.getOpenCLOptions(); in HandlePragmaOpenCLExtension()
|
/freebsd/contrib/llvm-project/clang/lib/Serialization/ |
H A D | ASTWriter.cpp | 4479 const OpenCLOptions &Opts = SemaRef.getOpenCLOptions(); in WriteOpenCLExtensions()
|
/freebsd/contrib/llvm-project/clang/include/clang/Sema/ |
H A D | Sema.h | 594 OpenCLOptions &getOpenCLOptions() { return OpenCLFeatures; } in getOpenCLOptions() function
|