Home
last modified time | relevance | path

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

/freebsd-13.1/contrib/llvm-project/clang/lib/Basic/
H A DOpenCLOptions.cpp15 bool OpenCLOptions::isKnown(llvm::StringRef Ext) const { in isKnown()
19 bool OpenCLOptions::isAvailableOption(llvm::StringRef Ext, in isAvailableOption()
31 bool OpenCLOptions::isEnabled(llvm::StringRef Ext) const { in isEnabled()
36 bool OpenCLOptions::isWithPragma(llvm::StringRef Ext) const { in isWithPragma()
41 bool OpenCLOptions::isSupported(llvm::StringRef Ext, in isSupported()
48 bool OpenCLOptions::isSupportedCore(llvm::StringRef Ext, in isSupportedCore()
75 void OpenCLOptions::enable(llvm::StringRef Ext, bool V) { in enable()
83 void OpenCLOptions::support(llvm::StringRef Ext, bool V) { in support()
89 OpenCLOptions::OpenCLOptions() { in OpenCLOptions() function in clang::OpenCLOptions
104 void OpenCLOptions::disableAll() { in disableAll()
[all …]
H A DTargets.cpp736 if (OpenCLOptions::isOpenCLOptionCoreIn(Opts, OptArgs...) && in validateOpenCLTarget()
751 return OpenCLOptions::diagnoseUnsupportedFeatureDependencies(*this, Diags) && in validateOpenCLTarget()
752 OpenCLOptions::diagnoseFeatureExtensionDifferences(*this, Diags); in validateOpenCLTarget()
/freebsd-13.1/contrib/llvm-project/clang/include/clang/Basic/
H A DOpenCLOptions.h69 class OpenCLOptions {
176 OpenCLOptions();
/freebsd-13.1/contrib/llvm-project/clang/lib/Frontend/
H A DInitPreprocessor.cpp625 OpenCLOptions::isOpenCLOptionAvailableIn(Opts, OptArgs...)) in InitializeOpenCLFeatureTestMacros()
/freebsd-13.1/contrib/llvm-project/clang/include/clang/Serialization/
H A DASTReader.h890 OpenCLOptions OpenCLExtensions;
/freebsd-13.1/contrib/llvm-project/clang/lib/Sema/
H A DSemaType.cpp1728 const auto &OpenCLOptions = S.getOpenCLOptions(); in ConvertDeclSpecToType() local
1739 !OpenCLOptions.isSupported("__opencl_c_images", S.getLangOpts()))) { in ConvertDeclSpecToType()
1744 !OpenCLOptions.isSupported("cl_khr_3d_image_writes", in ConvertDeclSpecToType()
/freebsd-13.1/lib/clang/libclang/
H A DMakefile196 SRCS_MIN+= Basic/OpenCLOptions.cpp
/freebsd-13.1/contrib/llvm-project/clang/include/clang/Sema/
H A DSema.h406 OpenCLOptions OpenCLFeatures;
1549 OpenCLOptions &getOpenCLOptions() { return OpenCLFeatures; } in getOpenCLOptions()
/freebsd-13.1/contrib/llvm-project/clang/lib/Serialization/
H A DASTWriter.cpp3954 const OpenCLOptions &Opts = SemaRef.getOpenCLOptions(); in WriteOpenCLExtensions()