Lines Matching defs:ArchName
604 StringRef ArchName =
606 if (ArchName.startswith("v6") || ArchName.startswith("v7"))
631 StringRef ArchName =
633 if (ArchName.startswith("v7"))
771 // Check that ArchName is a known Mips architecture name.
772 static bool checkMipsArchName(StringRef ArchName) {
773 return ArchName == "mips" ||
774 ArchName == "mipsel" ||
775 ArchName == "mips64" ||
776 ArchName == "mips64el";
780 static const char* getMipsCPUFromArch(StringRef ArchName) {
781 if (ArchName == "mips" || ArchName == "mipsel")
784 assert((ArchName == "mips64" || ArchName == "mips64el") &&
791 static const char* getMipsABIFromArch(StringRef ArchName) {
792 if (ArchName == "mips" || ArchName == "mipsel")
795 assert((ArchName == "mips64" || ArchName == "mips64el") &&
806 StringRef ArchName;
811 ArchName = getMipsArchFromCPU(CPUName);
814 ArchName = Args.MakeArgString(TC.getArchName());
815 if (!checkMipsArchName(ArchName))
816 TC.getDriver().Diag(diag::err_drv_invalid_arch_name) << ArchName;
818 CPUName = getMipsCPUFromArch(ArchName);
825 ABIName = getMipsABIFromArch(ArchName);
1278 // LibAsan is "libclang_rt.asan-<ArchName>.a" in the Linux library resource
3839 StringRef ArchName = getDarwinToolChain().getDarwinArchName(Args);
3843 CmdArgs.push_back(Args.MakeArgString(ArchName));
3846 if (ArchName == "arm")