Home
last modified time | relevance | path

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

/openbsd-src/gnu/llvm/clang/lib/Sema/
H A DSema.cpp342 getOpenCLOptions().addSupport( in Initialize()
392 if (getOpenCLOptions().isSupported("cl_khr_fp16", getLangOpts())) { in Initialize()
398 if (getOpenCLOptions().isSupported("cl_khr_int64_base_atomics", in Initialize()
400 getOpenCLOptions().isSupported("cl_khr_int64_extended_atomics", in Initialize()
402 if (getOpenCLOptions().isSupported("cl_khr_fp64", getLangOpts())) { in Initialize()
420 if (getOpenCLOptions().isSupported(#Ext, getLangOpts())) { \ in Initialize()
H A DSemaType.cpp1533 if (!S.getOpenCLOptions().isSupported("cl_khr_fp64", S.getLangOpts())) in ConvertDeclSpecToType()
1539 else if (!S.getOpenCLOptions().isAvailableOption("cl_khr_fp64", S.getLangOpts())) in ConvertDeclSpecToType()
1744 const auto &OpenCLOptions = S.getOpenCLOptions(); in ConvertDeclSpecToType()
2177 !getOpenCLOptions().isAvailableOption("__cl_clang_function_pointers", in BuildPointerType()
2262 !getOpenCLOptions().isAvailableOption("__cl_clang_function_pointers", in BuildReferenceType()
3056 !getOpenCLOptions().isAvailableOption("__cl_clang_function_pointers", in BuildMemberPointerType()
5220 if (!S.getOpenCLOptions().isAvailableOption("cl_khr_fp16", in GetFullTypeForDeclarator()
5247 !S.getOpenCLOptions().isAvailableOption( in GetFullTypeForDeclarator()
5457 if (!S.getOpenCLOptions().isAvailableOption("cl_khr_fp16", in GetFullTypeForDeclarator()
H A DDeclSpec.cpp638 !S.getOpenCLOptions().isAvailableOption( in SetStorageClassSpec()
H A DSemaDecl.cpp6884 if (getOpenCLOptions().areProgramScopeVariablesSupported(getLangOpts()) && in deduceOpenCLAddressSpace()
7308 if (!Se.getOpenCLOptions().isAvailableOption("__cl_clang_function_pointers", in diagnoseOpenCLTypes()
7324 if (!Se.getOpenCLOptions().isAvailableOption("cl_khr_fp16", in diagnoseOpenCLTypes()
8488 !getOpenCLOptions().isAvailableOption("cl_clang_storage_class_specifiers", in CheckVariableDeclarationType()
8528 getOpenCLOptions().areProgramScopeVariablesSupported( in CheckVariableDeclarationType()
8531 if (getOpenCLOptions().areProgramScopeVariablesSupported(getLangOpts())) in CheckVariableDeclarationType()
9283 !S.getOpenCLOptions().isAvailableOption( in getOpenCLKernelParameterType()
9322 if (!S.getOpenCLOptions().isAvailableOption("cl_khr_fp16", S.getLangOpts()) && in getOpenCLKernelParameterType()
9340 !S.getOpenCLOptions().isAvailableOption( in getOpenCLKernelParameterType()
17987 if (BitWidth && !getOpenCLOptions().isAvailableOption( in CheckFieldDecl()
H A DSemaCast.cpp3134 if (Self.getLangOpts().OpenCL && !Self.getOpenCLOptions().isAvailableOption( in CheckCStyleCast()
H A DSemaExpr.cpp668 !getOpenCLOptions().isAvailableOption("cl_khr_fp16", getLangOpts()) && in DefaultLvalueConversion()
874 !getOpenCLOptions().isAvailableOption("cl_khr_fp64", getLangOpts())) { in DefaultArgumentPromotion()
3919 if (getOpenCLOptions().isAvailableOption("cl_khr_fp16", getLangOpts())) in ActOnNumericConstant()
3943 } else if (getLangOpts().OpenCL && !getOpenCLOptions().isAvailableOption( in ActOnNumericConstant()
14129 !getOpenCLOptions().isAvailableOption("cl_khr_fp16", getLangOpts()) && in CheckAssignmentOperands()
H A DSemaInit.cpp5927 if (S.getOpenCLOptions().isAvailableOption( in TryOCLZeroOpaqueTypeInitialization()
9217 !S.getOpenCLOptions().isAvailableOption( in Perform()
H A DSemaChecking.cpp1412 if (!S.getOpenCLOptions().isSupported("cl_khr_subgroups", S.getLangOpts()) && in checkOpenCLSubgroupExt()
1413 !S.getOpenCLOptions().isSupported("__opencl_c_subgroups", in checkOpenCLSubgroupExt()
H A DSemaDeclAttr.cpp8204 !S.getOpenCLOptions().isSupported("__opencl_c_read_write_images", in handleOpenCLAccessAttr()
/openbsd-src/gnu/llvm/clang/lib/Parse/
H A DParseExpr.cpp1849 !getActions().getOpenCLOptions().isAvailableOption( in ParseCastExpression()
H A DParseDecl.cpp3230 … if (!StringRef(Ext).empty() && !getActions().getOpenCLOptions().isSupported(Ext, getLangOpts())) { in ParseDeclarationSpecifiers()
3926 !getActions().getOpenCLOptions().isAvailableOption( in ParseDeclarationSpecifiers()
H A DParsePragma.cpp873 auto &Opt = Actions.getOpenCLOptions(); in HandlePragmaOpenCLExtension()
/openbsd-src/gnu/llvm/clang/lib/Serialization/
H A DASTWriter.cpp4170 const OpenCLOptions &Opts = SemaRef.getOpenCLOptions(); in WriteOpenCLExtensions()
/openbsd-src/gnu/llvm/clang/include/clang/Sema/
H A DSema.h1651 OpenCLOptions &getOpenCLOptions() { return OpenCLFeatures; } in getOpenCLOptions() function