clang
8.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, LangOptions LO) const |
bool | isSupportedCore (llvm::StringRef Ext, LangOptions LO) const |
bool | isSupportedExtension (llvm::StringRef Ext, 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 24 of file OpenCLOptions.h.
|
inline |
Definition at line 100 of file OpenCLOptions.h.
|
inline |
Definition at line 107 of file OpenCLOptions.h.
Referenced by clang::Sema::Initialize().
|
inline |
Definition at line 113 of file OpenCLOptions.h.
|
inline |
Definition at line 124 of file OpenCLOptions.h.
Definition at line 71 of file OpenCLOptions.h.
|
inline |
Definition at line 130 of file OpenCLOptions.h.
References isSupportedCore().
Referenced by clang::Sema::Initialize().
|
inline |
Definition at line 40 of file OpenCLOptions.h.
Referenced by DiagnoseBadFunctionCast(), clang::Sema::isOpenCLDisabledDecl(), and TryOCLZeroOpaqueTypeInitialization().
|
inline |
Definition at line 36 of file OpenCLOptions.h.
|
inline |
Definition at line 46 of file OpenCLOptions.h.
|
inline |
Definition at line 55 of file OpenCLOptions.h.
Referenced by enableSupportedCore().
|
inline |
Definition at line 64 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 79 of file OpenCLOptions.h.
References supportAll().
Definition at line 118 of file OpenCLOptions.h.
Referenced by support().
|
friend |
Definition at line 138 of file OpenCLOptions.h.
|
friend |
Definition at line 137 of file OpenCLOptions.h.