Lines Matching refs:CPUName
725 llvm::StringRef CPUName, llvm::StringRef ArchName,
728 std::pair<StringRef, StringRef> Split = CPUName.split("+");
730 std::string CPU = arm::getARMTargetCPU(CPUName, ArchName, Triple);
916 StringRef CPUName;
921 CPUName = StringRef(WaCPU->getValue()).substr(6);
922 checkARMCPUName(D, WaCPU, Args, CPUName, ArchName, Features, Triple);
924 CPUName = CPUArg->getValue();
925 checkARMCPUName(D, CPUArg, Args, CPUName, ArchName, Features, Triple);
929 if (CPUName == "native") {
1198 StringRef &CPUName, StringRef &ABIName) {
1221 CPUName = A->getValue();
1234 if (CPUName.empty() && ABIName.empty()) {
1240 CPUName = DefMips32CPU;
1244 CPUName = DefMips64CPU;
1252 ABIName = llvm::StringSwitch<const char *>(CPUName)
1282 if (CPUName.empty()) {
1284 CPUName = llvm::StringSwitch<const char *>(ABIName)
1295 StringRef CPUName, ABIName;
1296 tools::mips::getMipsCPUAndABI(Args, Triple, CPUName, ABIName);
1361 StringRef CPUName;
1363 mips::getMipsCPUAndABI(Args, Triple, CPUName, ABIName);
1380 if (mips::getSupportedNanEncoding(CPUName) & mips::Nan2008)
1384 D.Diag(diag::warn_target_unsupported_nan2008) << CPUName;
1387 if (mips::getSupportedNanEncoding(CPUName) & mips::NanLegacy)
1391 D.Diag(diag::warn_target_unsupported_nanlegacy) << CPUName;
1423 } else if (mips::shouldUseFPXX(Args, Triple, CPUName, ABIName, FloatABI)) {
1426 } else if (mips::isFP64ADefault(Triple, CPUName)) {
1438 StringRef CPUName;
1441 mips::getMipsCPUAndABI(Args, Triple, CPUName, ABIName);
1491 if (mips::hasCompactBranches(CPUName)) {
1499 D.Diag(diag::warn_target_unsupported_compact_branches) << CPUName;
1506 StringRef CPUName = A->getValue();
1508 if (CPUName == "native") {
1516 return llvm::StringSwitch<const char *>(CPUName)
1920 StringRef CPUName;
1922 mips::getMipsCPUAndABI(Args, T, CPUName, ABIName);
1923 return CPUName;
2287 StringRef CPUName = A->getValue();
2290 CmdArgs.push_back(Args.MakeArgString(CPUName));
6417 StringRef CPUName;
6420 mips::getMipsCPUAndABI(Args, Triple, CPUName, ABIName);
7275 bool mips::isFP64ADefault(const llvm::Triple &Triple, StringRef CPUName) {
7280 return llvm::StringSwitch<bool>(CPUName)
7285 bool mips::isFPXXDefault(const llvm::Triple &Triple, StringRef CPUName,
7300 return llvm::StringSwitch<bool>(CPUName)
7308 StringRef CPUName, StringRef ABIName,
7310 bool UseFPXX = isFPXXDefault(Triple, CPUName, ABIName, FloatABI);
8107 StringRef CPUName;
8109 mips::getMipsCPUAndABI(Args, getToolChain().getTriple(), CPUName, ABIName);
8413 StringRef CPUName;
8415 mips::getMipsCPUAndABI(Args, getToolChain().getTriple(), CPUName, ABIName);
8418 CmdArgs.push_back(CPUName.data());
8703 StringRef CPUName;
8705 mips::getMipsCPUAndABI(Args, getToolChain().getTriple(), CPUName, ABIName);
8708 CmdArgs.push_back(CPUName.data());
9077 StringRef CPUName;
9079 mips::getMipsCPUAndABI(Args, getToolChain().getTriple(), CPUName, ABIName);
9083 CmdArgs.push_back(CPUName.data());
9114 Args, getToolChain().getTriple(), CPUName, ABIName,
9158 StringRef CPUName = getSystemZTargetCPU(Args);
9159 CmdArgs.push_back(Args.MakeArgString("-march=" + CPUName));