Home
last modified time | relevance | path

Searched refs:CLVer (Results 1 – 3 of 3) sorted by relevance

/external/clang/include/clang/Basic/
DOpenCLOptions.h51 bool is_##Ext##_supported_extension(unsigned CLVer) const { \
52 return is_##Ext##_supported(CLVer) && (Core == ~0U || CLVer < Core); \
59 bool is_##Ext##_supported_core(unsigned CLVer) const { \
60 return is_##Ext##_supported(CLVer) && Core != ~0U && CLVer >= Core; \
/external/llvm-project/clang/include/clang/Basic/
DOpenCLOptions.h64 auto CLVer = LO.OpenCLCPlusPlus ? 200 : LO.OpenCLVersion; in isSupported() local
66 return I.Supported && I.Avail <= CLVer; in isSupported()
81 auto CLVer = LO.OpenCLCPlusPlus ? 200 : LO.OpenCLVersion; in isSupportedCore() local
83 return I.Supported && I.Avail <= CLVer && I.Core != ~0U && CLVer >= I.Core; in isSupportedCore()
98 auto CLVer = LO.OpenCLCPlusPlus ? 200 : LO.OpenCLVersion; in isSupportedExtension() local
100 return I.Supported && I.Avail <= CLVer && (I.Core == ~0U || CLVer < I.Core); in isSupportedExtension()
/external/clang/lib/Parse/
DParsePragma.cpp471 auto CLVer = getLangOpts().OpenCLVersion; in HandlePragmaOpenCLExtension() local
478 if (Supp.is_##nm##_supported_extension(CLVer)) \ in HandlePragmaOpenCLExtension()
483 if (Supp.is_##nm##_supported_extension(CLVer)) \ in HandlePragmaOpenCLExtension()
485 else if (Supp.is_##nm##_supported_core(CLVer)) \ in HandlePragmaOpenCLExtension()