Home
last modified time | relevance | path

Searched refs:VerToCompareTo (Results 1 – 2 of 2) sorted by relevance

/freebsd/contrib/llvm-project/llvm/lib/Target/SPIRV/
H A DSPIRVSubtarget.cpp42 static bool isAtLeastVer(VersionTuple Target, VersionTuple VerToCompareTo) { in isAtLeastVer() argument
43 return Target.empty() || Target >= VerToCompareTo; in isAtLeastVer()
107 bool SPIRVSubtarget::isAtLeastSPIRVVer(VersionTuple VerToCompareTo) const { in isAtLeastSPIRVVer()
108 return isAtLeastVer(SPIRVVersion, VerToCompareTo); in isAtLeastSPIRVVer()
111 bool SPIRVSubtarget::isAtLeastOpenCLVer(VersionTuple VerToCompareTo) const { in isAtLeastOpenCLVer()
114 return isAtLeastVer(OpenCLVersion, VerToCompareTo); in isAtLeastOpenCLVer()
H A DSPIRVSubtarget.h88 bool isAtLeastSPIRVVer(VersionTuple VerToCompareTo) const;
89 bool isAtLeastOpenCLVer(VersionTuple VerToCompareTo) const;