Lines Matching refs:Major
564 unsigned Major, Minor, Micro;
567 getTriple().getiOSVersion(Major, Minor, Micro);
568 llvm::raw_string_ostream(iOSTarget) << Major << '.' << Minor << '.'
571 getTriple().getWatchOSVersion(Major, Minor, Micro);
572 llvm::raw_string_ostream(WatchOSTarget) << Major << '.' << Minor << '.'
576 if (!getTriple().getMacOSXVersion(Major, Minor, Micro)) {
580 llvm::raw_string_ostream(OSXTarget) << Major << '.' << Minor << '.'
645 unsigned Major, Minor, Micro;
650 if (!Driver::GetReleaseVersion(OSXVersion->getValue(), Major, Minor, Micro,
652 HadExtra || Major != 10 || Minor >= 100 || Micro >= 100)
657 if (!Driver::GetReleaseVersion(iOSVersion->getValue(), Major, Minor, Micro,
659 HadExtra || Major >= 10 || Minor >= 100 || Micro >= 100)
663 if (!Driver::GetReleaseVersion(TvOSVersion->getValue(), Major, Minor,
665 Major >= 10 || Minor >= 100 || Micro >= 100)
669 if (!Driver::GetReleaseVersion(WatchOSVersion->getValue(), Major, Minor,
671 Major >= 10 || Minor >= 100 || Micro >= 100)
688 setTarget(Platform, Major, Minor, Micro);
1241 if (First.first.getAsInteger(10, GoodVersion.Major) || GoodVersion.Major < 0)
1275 if (Major != RHSMajor)
1276 return Major < RHSMajor;
2186 // /usr/gcc/<major>.<minor>/lib/gcc/<triple>/<major>.<minor>.<patch>/, so we
2194 if (CandidateVersion.Major != -1) // Filter obviously bad entries.
2278 if (CandidateVersion.Major != -1) // Filter obviously bad entries.
3228 unsigned Major, Minor, Micro;
3229 getTriple().getOSVersion(Major, Minor, Micro);
3230 if (Major >= 7 || (Major == 6 && Minor == 99 && Micro >= 49) || Major == 0) {