clang
10.0.0git
|
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, const LangOptions &LO) const |
bool | isSupportedCore (llvm::StringRef Ext, const LangOptions &LO) const |
bool | isSupportedExtension (llvm::StringRef Ext, const LangOptions &LO) 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 (LangOptions LO) |
Friends | |
class | ASTWriter |
class | ASTReader |
OpenCL supported extensions and optional core features.
Definition at line 23 of file OpenCLOptions.h.
|
inline |
Definition at line 99 of file OpenCLOptions.h.
|
inline |
Definition at line 106 of file OpenCLOptions.h.
Referenced by clang::Sema::Initialize().
|
inline |
Definition at line 112 of file OpenCLOptions.h.
|
inline |
Definition at line 123 of file OpenCLOptions.h.
Definition at line 70 of file OpenCLOptions.h.
References V.
|
inline |
Definition at line 129 of file OpenCLOptions.h.
References isSupportedCore().
Referenced by clang::Sema::Initialize().
|
inline |
Definition at line 39 of file OpenCLOptions.h.
Referenced by DiagnoseBadFunctionCast(), clang::Sema::isOpenCLDisabledDecl(), and TryOCLZeroOpaqueTypeInitialization().
|
inline |
Definition at line 35 of file OpenCLOptions.h.
|
inline |
Definition at line 45 of file OpenCLOptions.h.
|
inline |
Definition at line 54 of file OpenCLOptions.h.
Referenced by enableSupportedCore().
|
inline |
Definition at line 63 of file OpenCLOptions.h.
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 78 of file OpenCLOptions.h.
References supportAll(), and V.
Definition at line 117 of file OpenCLOptions.h.
Referenced by support().
|
friend |
Definition at line 137 of file OpenCLOptions.h.
|
friend |
Definition at line 136 of file OpenCLOptions.h.