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.cpp388 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 DSemaType.cpp1149 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 DDeclSpec.cpp654 !S.getOpenCLOptions().isAvailableOption( in SetStorageClassSpec()
H A DSemaDecl.cpp6826 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 DSemaCast.cpp3190 if (Self.getLangOpts().OpenCL && !Self.getOpenCLOptions().isAvailableOption( in CheckCStyleCast()
H A DSemaExpr.cpp675 !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 DSemaInit.cpp6208 if (S.getOpenCLOptions().isAvailableOption( in TryOCLZeroOpaqueTypeInitialization()
8399 !S.getOpenCLOptions().isAvailableOption( in Perform()
/freebsd/contrib/llvm-project/clang/lib/Parse/
H A DParseExpr.cpp1947 !getActions().getOpenCLOptions().isAvailableOption( in ParseCastExpression()
H A DParseDecl.cpp3629 … if (!StringRef(Ext).empty() && !getActions().getOpenCLOptions().isSupported(Ext, getLangOpts())) { in ParseDeclarationSpecifiers()
4368 !getActions().getOpenCLOptions().isAvailableOption( in ParseDeclarationSpecifiers()
H A DParsePragma.cpp980 auto &Opt = Actions.getOpenCLOptions(); in HandlePragmaOpenCLExtension()
/freebsd/contrib/llvm-project/clang/lib/Serialization/
H A DASTWriter.cpp4479 const OpenCLOptions &Opts = SemaRef.getOpenCLOptions(); in WriteOpenCLExtensions()
/freebsd/contrib/llvm-project/clang/include/clang/Sema/
H A DSema.h594 OpenCLOptions &getOpenCLOptions() { return OpenCLFeatures; } in getOpenCLOptions() function