Lines Matching refs:CPUName

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