Home
last modified time | relevance | path

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

/freebsd/contrib/llvm-project/clang/lib/Sema/
H A DSema.cpp343 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 DSemaType.cpp1551 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 DDeclSpec.cpp650 !S.getOpenCLOptions().isAvailableOption( in SetStorageClassSpec()
H A DSemaDecl.cpp7029 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 DSemaCast.cpp3180 if (Self.getLangOpts().OpenCL && !Self.getOpenCLOptions().isAvailableOption( in CheckCStyleCast()
H A DSemaExpr.cpp683 !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 DSemaInit.cpp6067 if (S.getOpenCLOptions().isAvailableOption( in TryOCLZeroOpaqueTypeInitialization()
9381 !S.getOpenCLOptions().isAvailableOption( in Perform()
H A DSemaChecking.cpp1494 if (!S.getOpenCLOptions().isSupported("cl_khr_subgroups", S.getLangOpts()) && in checkOpenCLSubgroupExt()
1495 !S.getOpenCLOptions().isSupported("__opencl_c_subgroups", in checkOpenCLSubgroupExt()
H A DSemaDeclAttr.cpp8437 !S.getOpenCLOptions().isSupported("__opencl_c_read_write_images", in handleOpenCLAccessAttr()
/freebsd/contrib/llvm-project/clang/lib/Parse/
H A DParseExpr.cpp1880 !getActions().getOpenCLOptions().isAvailableOption( in ParseCastExpression()
H A DParseDecl.cpp3376 … if (!StringRef(Ext).empty() && !getActions().getOpenCLOptions().isSupported(Ext, getLangOpts())) { in ParseDeclarationSpecifiers()
4100 !getActions().getOpenCLOptions().isAvailableOption( in ParseDeclarationSpecifiers()
H A DParsePragma.cpp972 auto &Opt = Actions.getOpenCLOptions(); in HandlePragmaOpenCLExtension()
/freebsd/contrib/llvm-project/clang/lib/Serialization/
H A DASTWriter.cpp4251 const OpenCLOptions &Opts = SemaRef.getOpenCLOptions(); in WriteOpenCLExtensions()
/freebsd/contrib/llvm-project/clang/include/clang/Sema/
H A DSema.h1688 OpenCLOptions &getOpenCLOptions() { return OpenCLFeatures; } in getOpenCLOptions() function