Searched refs:OpenCLOptions (Results 1 – 9 of 9) sorted by relevance
/freebsd/contrib/llvm-project/clang/lib/Basic/ |
H A D | OpenCLOptions.cpp | 28 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 D | Targets.cpp | 855 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 D | OpenCLOptions.h | 69 class OpenCLOptions { 175 OpenCLOptions();
|
/freebsd/contrib/llvm-project/clang/lib/Frontend/ |
H A D | InitPreprocessor.cpp | 786 OpenCLOptions::isOpenCLOptionAvailableIn(Opts, OptArgs...)) in InitializeOpenCLFeatureTestMacros()
|
/freebsd/contrib/llvm-project/clang/include/clang/Serialization/ |
H A D | ASTReader.h | 925 OpenCLOptions OpenCLExtensions;
|
/freebsd/contrib/llvm-project/clang/lib/Sema/ |
H A D | SemaType.cpp | 1373 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 D | Makefile | 212 SRCS_MIN+= Basic/OpenCLOptions.cpp
|
/freebsd/contrib/llvm-project/clang/include/clang/Sema/ |
H A D | Sema.h | 594 OpenCLOptions &getOpenCLOptions() { return OpenCLFeatures; } in getOpenCLOptions() 997 OpenCLOptions OpenCLFeatures;
|
/freebsd/contrib/llvm-project/clang/lib/Serialization/ |
H A D | ASTWriter.cpp | 4479 const OpenCLOptions &Opts = SemaRef.getOpenCLOptions(); in WriteOpenCLExtensions()
|