|
clang
5.0.0
|
OpenCL supported extensions and optional core features. More...
#include "clang/Basic/OpenCLOptions.h"
Public Member Functions | |
| bool | isKnown (llvm::StringRef Ext) const |
| bool | isEnabled (llvm::StringRef Ext) const |
| bool | isSupported (llvm::StringRef Ext, unsigned CLVer) const |
| bool | isSupportedCore (llvm::StringRef Ext, unsigned CLVer) const |
| bool | isSupportedExtension (llvm::StringRef Ext, unsigned CLVer) const |
| void | enable (llvm::StringRef Ext, bool V=true) |
| void | support (llvm::StringRef Ext, bool V=true) |
| Enable or disable support for OpenCL extensions. More... | |
| OpenCLOptions () | |
| void | addSupport (const OpenCLOptions &Opts) |
| void | copy (const OpenCLOptions &Opts) |
| void | supportAll (bool On=true) |
| void | disableAll () |
| void | enableSupportedCore (unsigned CLVer) |
Friends | |
| class | ASTWriter |
| class | ASTReader |
OpenCL supported extensions and optional core features.
Definition at line 23 of file OpenCLOptions.h.
|
inline |
Definition at line 95 of file OpenCLOptions.h.
|
inline |
Definition at line 102 of file OpenCLOptions.h.
References I.
Referenced by clang::Sema::Initialize().
|
inline |
Definition at line 108 of file OpenCLOptions.h.
|
inline |
Definition at line 119 of file OpenCLOptions.h.
Definition at line 66 of file OpenCLOptions.h.
|
inline |
Definition at line 125 of file OpenCLOptions.h.
References E, I, and isSupportedCore().
Referenced by clang::Sema::Initialize().
|
inline |
Definition at line 39 of file OpenCLOptions.h.
Referenced by GetFullTypeForDeclarator(), getOpenCLKernelParameterType(), clang::Sema::isOpenCLDisabledDecl(), and clang::DeclSpec::SetStorageClassSpec().
|
inline |
Definition at line 35 of file OpenCLOptions.h.
Definition at line 45 of file OpenCLOptions.h.
References I.
|
inline |
Definition at line 60 of file OpenCLOptions.h.
References I.
Enable or disable support for OpenCL extensions.
| Ext | name of the extension optionally prefixed with '+' or '-' |
| V | used when Ext is not prefixed by '+' or '-' |
Definition at line 74 of file OpenCLOptions.h.
References supportAll().
Referenced by clang::TargetInfo::setOpenCLExtensionOpts().
|
friend |
Definition at line 133 of file OpenCLOptions.h.
|
friend |
Definition at line 132 of file OpenCLOptions.h.
1.8.6