Lines Matching defs:Arch
143 if (const char *Arch = GetArmArchForMArch(A->getValue()))
144 return Arch;
147 if (const char *Arch = GetArmArchForMCpu(A->getValue()))
148 return Arch;
608 // triple arch, or the arch being bound.
727 // Add the arch options based on the particular spelling of -arch, to match
804 llvm_unreachable("invalid Darwin arch");
1271 static bool isMipsArch(llvm::Triple::ArchType Arch) {
1272 return Arch == llvm::Triple::mips ||
1273 Arch == llvm::Triple::mipsel ||
1274 Arch == llvm::Triple::mips64 ||
1275 Arch == llvm::Triple::mips64el;
1324 // FIXME: This routine was only intended to model bi-arch toolchains which
2019 static Distro DetectDistro(llvm::Triple::ArchType Arch) {
2091 if (llvm::sys::fs::exists("/etc/arch-release"))
2165 static bool isMipsR2Arch(llvm::Triple::ArchType Arch,
2167 if (Arch != llvm::Triple::mips &&
2168 Arch != llvm::Triple::mipsel)
2200 llvm::Triple::ArchType Arch = Triple.getArch();
2208 // targeting x86_64, but it is a bi-arch GCC installation, it can also be
2217 Distro Distro = DetectDistro(Arch);
2224 if (Arch == llvm::Triple::arm || Arch == llvm::Triple::thumb)
2228 const bool IsMips = isMipsArch(Arch);
2289 appendMipsTargetSuffix(MultilibSuffix, Arch, Args);