Home | History | Annotate | Download | only in Driver

Lines Matching refs:Distro

3751 enum Distro {
3752 // NB: Releases of a particular Linux distro should be kept together
3787 static bool IsRedhat(enum Distro Distro) {
3788 return Distro == Fedora || (Distro >= RHEL5 && Distro <= RHEL7);
3791 static bool IsOpenSUSE(enum Distro Distro) { return Distro == OpenSUSE; }
3793 static bool IsDebian(enum Distro Distro) {
3794 return Distro >= DebianLenny && Distro <= DebianStretch;
3797 static bool IsUbuntu(enum Distro Distro) {
3798 return Distro >= UbuntuHardy && Distro <= UbuntuXenial;
3801 static Distro DetectDistro(const Driver &D, llvm::Triple::ArchType Arch) {
3808 Distro Version = UnknownDistro;
3811 Version = llvm::StringSwitch<Distro>(Line.substr(17))
4059 Distro Distro = DetectDistro(D, Arch);
4061 if (IsOpenSUSE(Distro) || IsUbuntu(Distro)) {
4081 if (IsRedhat(Distro) || IsOpenSUSE(Distro) ||
4082 (IsUbuntu(Distro) && Distro >= UbuntuMaverick))
4085 if (IsDebian(Distro) || IsOpenSUSE(Distro) || Distro == UbuntuLucid ||
4086 Distro == UbuntuJaunty || Distro == UbuntuKarmic)
4090 if (IsRedhat(Distro) && Distro != RHEL5 && Distro != RHEL6)
4097 if (IsOpenSUSE(Distro))
4263 const enum Distro Distro = DetectDistro(getDriver(), Arch);
4372 if (Distro == Exherbo && (Triple.getVendor() == llvm::Triple::UnknownVendor ||