Home
last modified time | relevance | path

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

/llvm-project-15.0.7/clang/lib/Sema/
H A DSema.cpp341 getOpenCLOptions().addSupport( in Initialize()
391 if (getOpenCLOptions().isSupported("cl_khr_fp16", getLangOpts())) { in Initialize()
397 if (getOpenCLOptions().isSupported("cl_khr_int64_base_atomics", in Initialize()
399 getOpenCLOptions().isSupported("cl_khr_int64_extended_atomics", in Initialize()
401 if (getOpenCLOptions().isSupported("cl_khr_fp64", getLangOpts())) { in Initialize()
419 if (getOpenCLOptions().isSupported(#Ext, getLangOpts())) { \ in Initialize()
H A DSemaType.cpp1520 if (!S.getOpenCLOptions().isSupported("cl_khr_fp64", S.getLangOpts())) in ConvertDeclSpecToType()
1526 else if (!S.getOpenCLOptions().isAvailableOption("cl_khr_fp64", S.getLangOpts())) in ConvertDeclSpecToType()
1722 const auto &OpenCLOptions = S.getOpenCLOptions(); in ConvertDeclSpecToType()
2155 !getOpenCLOptions().isAvailableOption("__cl_clang_function_pointers", in BuildPointerType()
2240 !getOpenCLOptions().isAvailableOption("__cl_clang_function_pointers", in BuildReferenceType()
2989 !getOpenCLOptions().isAvailableOption("__cl_clang_function_pointers", in BuildMemberPointerType()
5149 if (!S.getOpenCLOptions().isAvailableOption("cl_khr_fp16", in GetFullTypeForDeclarator()
5175 !S.getOpenCLOptions().isAvailableOption( in GetFullTypeForDeclarator()
5380 if (!S.getOpenCLOptions().isAvailableOption("cl_khr_fp16", in GetFullTypeForDeclarator()
H A DDeclSpec.cpp630 !S.getOpenCLOptions().isAvailableOption( in SetStorageClassSpec()
H A DSemaDecl.cpp6805 if (getOpenCLOptions().areProgramScopeVariablesSupported(getLangOpts()) && in deduceOpenCLAddressSpace()
7215 if (!Se.getOpenCLOptions().isAvailableOption("__cl_clang_function_pointers", in diagnoseOpenCLTypes()
7231 if (!Se.getOpenCLOptions().isAvailableOption("cl_khr_fp16", in diagnoseOpenCLTypes()
8363 !getOpenCLOptions().isAvailableOption("cl_clang_storage_class_specifiers", in CheckVariableDeclarationType()
8403 getOpenCLOptions().areProgramScopeVariablesSupported( in CheckVariableDeclarationType()
8406 if (getOpenCLOptions().areProgramScopeVariablesSupported(getLangOpts())) in CheckVariableDeclarationType()
9145 !S.getOpenCLOptions().isAvailableOption( in getOpenCLKernelParameterType()
9171 if (!S.getOpenCLOptions().isAvailableOption("cl_khr_fp16", S.getLangOpts()) && in getOpenCLKernelParameterType()
9189 !S.getOpenCLOptions().isAvailableOption( in getOpenCLKernelParameterType()
17524 if (BitWidth && !getOpenCLOptions().isAvailableOption( in CheckFieldDecl()
H A DSemaCast.cpp3087 if (Self.getLangOpts().OpenCL && !Self.getOpenCLOptions().isAvailableOption( in CheckCStyleCast()
H A DSemaExpr.cpp664 !getOpenCLOptions().isAvailableOption("cl_khr_fp16", getLangOpts()) && in DefaultLvalueConversion()
870 !getOpenCLOptions().isAvailableOption("cl_khr_fp64", getLangOpts())) { in DefaultArgumentPromotion()
3915 if (getOpenCLOptions().isAvailableOption("cl_khr_fp16", getLangOpts())) in ActOnNumericConstant()
3939 } else if (getLangOpts().OpenCL && !getOpenCLOptions().isAvailableOption( in ActOnNumericConstant()
13842 !getOpenCLOptions().isAvailableOption("cl_khr_fp16", getLangOpts()) && in CheckAssignmentOperands()
H A DSemaInit.cpp5650 if (S.getOpenCLOptions().isAvailableOption( in TryOCLZeroOpaqueTypeInitialization()
8878 !S.getOpenCLOptions().isAvailableOption( in Perform()
H A DSemaChecking.cpp1371 if (!S.getOpenCLOptions().isSupported("cl_khr_subgroups", S.getLangOpts()) && in checkOpenCLSubgroupExt()
1372 !S.getOpenCLOptions().isSupported("__opencl_c_subgroups", in checkOpenCLSubgroupExt()
H A DSemaDeclAttr.cpp7964 !S.getOpenCLOptions().isSupported("__opencl_c_read_write_images", in handleOpenCLAccessAttr()
/llvm-project-15.0.7/clang/lib/Parse/
H A DParseDecl.cpp3179 … if (!StringRef(Ext).empty() && !getActions().getOpenCLOptions().isSupported(Ext, getLangOpts())) { in ParseDeclarationSpecifiers()
3848 !getActions().getOpenCLOptions().isAvailableOption( in ParseDeclarationSpecifiers()
H A DParseExpr.cpp1821 !getActions().getOpenCLOptions().isAvailableOption( in ParseCastExpression()
H A DParsePragma.cpp867 auto &Opt = Actions.getOpenCLOptions(); in HandlePragmaOpenCLExtension()
/llvm-project-15.0.7/clang/lib/Serialization/
H A DASTWriter.cpp4151 const OpenCLOptions &Opts = SemaRef.getOpenCLOptions(); in WriteOpenCLExtensions()
/llvm-project-15.0.7/clang/include/clang/Sema/
H A DSema.h1619 OpenCLOptions &getOpenCLOptions() { return OpenCLFeatures; } in getOpenCLOptions() function