Searched refs:OpenCLOptions (Results 1 – 9 of 9) sorted by relevance
| /freebsd-13.1/contrib/llvm-project/clang/lib/Basic/ |
| H A D | OpenCLOptions.cpp | 15 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 D | Targets.cpp | 736 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 D | OpenCLOptions.h | 69 class OpenCLOptions { 176 OpenCLOptions();
|
| /freebsd-13.1/contrib/llvm-project/clang/lib/Frontend/ |
| H A D | InitPreprocessor.cpp | 625 OpenCLOptions::isOpenCLOptionAvailableIn(Opts, OptArgs...)) in InitializeOpenCLFeatureTestMacros()
|
| /freebsd-13.1/contrib/llvm-project/clang/include/clang/Serialization/ |
| H A D | ASTReader.h | 890 OpenCLOptions OpenCLExtensions;
|
| /freebsd-13.1/contrib/llvm-project/clang/lib/Sema/ |
| H A D | SemaType.cpp | 1728 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 D | Makefile | 196 SRCS_MIN+= Basic/OpenCLOptions.cpp
|
| /freebsd-13.1/contrib/llvm-project/clang/include/clang/Sema/ |
| H A D | Sema.h | 406 OpenCLOptions OpenCLFeatures; 1549 OpenCLOptions &getOpenCLOptions() { return OpenCLFeatures; } in getOpenCLOptions()
|
| /freebsd-13.1/contrib/llvm-project/clang/lib/Serialization/ |
| H A D | ASTWriter.cpp | 3954 const OpenCLOptions &Opts = SemaRef.getOpenCLOptions(); in WriteOpenCLExtensions()
|