Home
last modified time | relevance | path

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

/llvm-project-15.0.7/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()
88 void OpenCLOptions::enable(llvm::StringRef Ext, bool V) { in enable()
96 void OpenCLOptions::support(llvm::StringRef Ext, bool V) { in support()
102 OpenCLOptions::OpenCLOptions() { in OpenCLOptions() function in clang::OpenCLOptions
117 void OpenCLOptions::disableAll() { in disableAll()
[all …]
H A DCMakeLists.txt60 OpenCLOptions.cpp
H A DTargets.cpp766 if (OpenCLOptions::isOpenCLOptionCoreIn(Opts, OptArgs...) && in validateOpenCLTarget()
781 return OpenCLOptions::diagnoseUnsupportedFeatureDependencies(*this, Diags) && in validateOpenCLTarget()
782 OpenCLOptions::diagnoseFeatureExtensionDifferences(*this, Diags); in validateOpenCLTarget()
/llvm-project-15.0.7/clang/include/clang/Basic/
H A DOpenCLOptions.h69 class OpenCLOptions {
175 OpenCLOptions();
/llvm-project-15.0.7/llvm/utils/gn/secondary/clang/lib/Basic/
H A DBUILD.gn77 "OpenCLOptions.cpp",
/llvm-project-15.0.7/clang/lib/Frontend/
H A DInitPreprocessor.cpp716 OpenCLOptions::isOpenCLOptionAvailableIn(Opts, OptArgs...)) in InitializeOpenCLFeatureTestMacros()
/llvm-project-15.0.7/clang/include/clang/Serialization/
H A DASTReader.h891 OpenCLOptions OpenCLExtensions;
/llvm-project-15.0.7/clang/lib/Sema/
H A DSemaType.cpp1722 const auto &OpenCLOptions = S.getOpenCLOptions(); in ConvertDeclSpecToType() local
1734 !OpenCLOptions.isSupported("__opencl_c_images", S.getLangOpts()))) { in ConvertDeclSpecToType()
1739 !OpenCLOptions.isSupported("cl_khr_3d_image_writes", in ConvertDeclSpecToType()
/llvm-project-15.0.7/clang/include/clang/Sema/
H A DSema.h404 OpenCLOptions OpenCLFeatures;
1619 OpenCLOptions &getOpenCLOptions() { return OpenCLFeatures; } in getOpenCLOptions()
/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/docs/tools/
H A Dclang-formatted-files.txt351 clang/lib/Basic/OpenCLOptions.cpp