Searched refs:CLVer (Results 1 – 3 of 3) sorted by relevance
51 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; \
64 auto CLVer = LO.OpenCLCPlusPlus ? 200 : LO.OpenCLVersion; in isSupported() local66 return I.Supported && I.Avail <= CLVer; in isSupported()81 auto CLVer = LO.OpenCLCPlusPlus ? 200 : LO.OpenCLVersion; in isSupportedCore() local83 return I.Supported && I.Avail <= CLVer && I.Core != ~0U && CLVer >= I.Core; in isSupportedCore()98 auto CLVer = LO.OpenCLCPlusPlus ? 200 : LO.OpenCLVersion; in isSupportedExtension() local100 return I.Supported && I.Avail <= CLVer && (I.Core == ~0U || CLVer < I.Core); in isSupportedExtension()
471 auto CLVer = getLangOpts().OpenCLVersion; in HandlePragmaOpenCLExtension() local478 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()