Home
last modified time | relevance | path

Searched refs:getOpenCLOptions (Results 1 – 13 of 13) sorted by relevance

/freebsd/contrib/llvm-project/clang/lib/Sema/
H A DSemaOpenCL.cpp65 !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 DSema.cpp456 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 DSemaType.cpp1159 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 DDeclSpec.cpp657 !S.getOpenCLOptions().isAvailableOption( in SetStorageClassSpec()
H A DSemaDecl.cpp6946 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 DSemaCast.cpp3287 if (Self.getLangOpts().OpenCL && !Self.getOpenCLOptions().isAvailableOption( in CheckCStyleCast()
H A DSemaExpr.cpp672 !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 DSemaInit.cpp6458 if (S.getOpenCLOptions().isAvailableOption( in TryOCLZeroOpaqueTypeInitialization()
8680 !S.getOpenCLOptions().isAvailableOption( in Perform()
/freebsd/contrib/llvm-project/clang/lib/Parse/
H A DParseExpr.cpp1624 !getActions().getOpenCLOptions().isAvailableOption( in ParseCastExpression()
H A DParseDecl.cpp3405 … if (!StringRef(Ext).empty() && !getActions().getOpenCLOptions().isSupported(Ext, getLangOpts())) { in ParseDeclarationSpecifiers()
4157 !getActions().getOpenCLOptions().isAvailableOption( in ParseDeclarationSpecifiers()
H A DParsePragma.cpp968 auto &Opt = Actions.getOpenCLOptions(); in HandlePragmaOpenCLExtension()
/freebsd/contrib/llvm-project/clang/lib/Serialization/
H A DASTWriter.cpp5000 const OpenCLOptions &Opts = SemaRef.getOpenCLOptions(); in WriteOpenCLExtensions()
/freebsd/contrib/llvm-project/clang/include/clang/Sema/
H A DSema.h903 OpenCLOptions &getOpenCLOptions() { return OpenCLFeatures; } in getOpenCLOptions() function