Home
last modified time | relevance | path

Searched refs:OpenCLOptions (Results 1 – 9 of 9) sorted by relevance

/freebsd/contrib/llvm-project/clang/lib/Basic/
H A DOpenCLOptions.cpp28 bool OpenCLOptions::isKnown(llvm::StringRef Ext) const { in isKnown()
32 bool OpenCLOptions::isAvailableOption(llvm::StringRef Ext, in isAvailableOption()
44 bool OpenCLOptions::isEnabled(llvm::StringRef Ext) const { in isEnabled()
49 bool OpenCLOptions::isWithPragma(llvm::StringRef Ext) const { in isWithPragma()
54 bool OpenCLOptions::isSupported(llvm::StringRef Ext, in isSupported()
61 bool OpenCLOptions::isSupportedCore(llvm::StringRef Ext, in isSupportedCore()
68 bool OpenCLOptions::isSupportedOptionalCore(llvm::StringRef Ext, in isSupportedOptionalCore()
75 bool OpenCLOptions::isSupportedCoreOrOptionalCore(llvm::StringRef Ext, in isSupportedCoreOrOptionalCore()
80 bool OpenCLOptions::isSupportedExtension(llvm::StringRef Ext, in isSupportedExtension()
88 void OpenCLOptions::enable(llvm::StringRef Ext, bool V) { in enable()
[all …]
H A DTargets.cpp855 if (OpenCLOptions::isOpenCLOptionCoreIn(Opts, OptArgs...) && in validateOpenCLTarget()
870 return OpenCLOptions::diagnoseUnsupportedFeatureDependencies(*this, Diags) && in validateOpenCLTarget()
871 OpenCLOptions::diagnoseFeatureExtensionDifferences(*this, Diags); in validateOpenCLTarget()
/freebsd/contrib/llvm-project/clang/include/clang/Basic/
H A DOpenCLOptions.h69 class OpenCLOptions {
175 OpenCLOptions();
/freebsd/contrib/llvm-project/clang/lib/Frontend/
H A DInitPreprocessor.cpp786 OpenCLOptions::isOpenCLOptionAvailableIn(Opts, OptArgs...)) in InitializeOpenCLFeatureTestMacros()
/freebsd/contrib/llvm-project/clang/include/clang/Serialization/
H A DASTReader.h925 OpenCLOptions OpenCLExtensions;
/freebsd/contrib/llvm-project/clang/lib/Sema/
H A DSemaType.cpp1373 const auto &OpenCLOptions = S.getOpenCLOptions(); in ConvertDeclSpecToType() local
1385 !OpenCLOptions.isSupported("__opencl_c_images", S.getLangOpts()))) { in ConvertDeclSpecToType()
1390 !OpenCLOptions.isSupported("cl_khr_3d_image_writes", in ConvertDeclSpecToType()
/freebsd/lib/clang/libclang/
H A DMakefile212 SRCS_MIN+= Basic/OpenCLOptions.cpp
/freebsd/contrib/llvm-project/clang/include/clang/Sema/
H A DSema.h594 OpenCLOptions &getOpenCLOptions() { return OpenCLFeatures; } in getOpenCLOptions()
997 OpenCLOptions OpenCLFeatures;
/freebsd/contrib/llvm-project/clang/lib/Serialization/
H A DASTWriter.cpp4479 const OpenCLOptions &Opts = SemaRef.getOpenCLOptions(); in WriteOpenCLExtensions()