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, 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.
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 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 52 of file OpenCLOptions.h.
Referenced by enableSupportedCore().
|
inline |
Definition at line 60 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 74 of file OpenCLOptions.h.
References supportAll().
Definition at line 113 of file OpenCLOptions.h.
Referenced by support().
|
friend |
Definition at line 133 of file OpenCLOptions.h.
|
friend |
Definition at line 132 of file OpenCLOptions.h.