Lines Matching refs:ABIName
1045 const char *ABIName = nullptr; in AddARMTargetArgs() local
1047 ABIName = A->getValue(); in AddARMTargetArgs()
1050 ABIName = "aapcs"; in AddARMTargetArgs()
1052 ABIName = "aapcs16"; in AddARMTargetArgs()
1054 ABIName = "apcs-gnu"; in AddARMTargetArgs()
1058 ABIName = "aapcs"; in AddARMTargetArgs()
1067 ABIName = "aapcs-linux"; in AddARMTargetArgs()
1071 ABIName = "aapcs"; in AddARMTargetArgs()
1075 ABIName = "apcs-gnu"; in AddARMTargetArgs()
1077 ABIName = "aapcs"; in AddARMTargetArgs()
1082 CmdArgs.push_back(ABIName); in AddARMTargetArgs()
1160 const char *ABIName = nullptr; in AddAArch64TargetArgs() local
1162 ABIName = A->getValue(); in AddAArch64TargetArgs()
1164 ABIName = "darwinpcs"; in AddAArch64TargetArgs()
1166 ABIName = "aapcs"; in AddAArch64TargetArgs()
1169 CmdArgs.push_back(ABIName); in AddAArch64TargetArgs()
1198 StringRef &CPUName, StringRef &ABIName) { in getMipsCPUAndABI() argument
1224 ABIName = A->getValue(); in getMipsCPUAndABI()
1227 ABIName = llvm::StringSwitch<llvm::StringRef>(ABIName) in getMipsCPUAndABI()
1230 .Default(ABIName); in getMipsCPUAndABI()
1234 if (CPUName.empty() && ABIName.empty()) { in getMipsCPUAndABI()
1249 if (ABIName.empty() && in getMipsCPUAndABI()
1252 ABIName = llvm::StringSwitch<const char *>(CPUName) in getMipsCPUAndABI()
1273 if (ABIName.empty()) { in getMipsCPUAndABI()
1277 ABIName = "o32"; in getMipsCPUAndABI()
1279 ABIName = "n64"; 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()
1297 return llvm::StringSwitch<std::string>(ABIName) in getMipsABILibSuffix()
1362 StringRef ABIName; in getMIPSTargetFeatures() local
1363 mips::getMipsCPUAndABI(Args, Triple, CPUName, ABIName); in getMIPSTargetFeatures()
1364 ABIName = getGnuCompatibleMipsABIName(ABIName); in getMIPSTargetFeatures()
1423 } else if (mips::shouldUseFPXX(Args, Triple, CPUName, ABIName, FloatABI)) { in getMIPSTargetFeatures()
1439 StringRef ABIName; in AddMIPSTargetArgs() local
1441 mips::getMipsCPUAndABI(Args, Triple, CPUName, ABIName); in AddMIPSTargetArgs()
1444 CmdArgs.push_back(ABIName.data()); in AddMIPSTargetArgs()
1622 const char *ABIName = nullptr; in AddPPCTargetArgs() local
1634 ABIName = "elfv1-qpx"; in AddPPCTargetArgs()
1638 ABIName = "elfv1"; in AddPPCTargetArgs()
1642 ABIName = "elfv2"; in AddPPCTargetArgs()
1653 ABIName = A->getValue(); in AddPPCTargetArgs()
1670 if (ABIName) { in AddPPCTargetArgs()
1672 CmdArgs.push_back(ABIName); in AddPPCTargetArgs()
1921 StringRef ABIName; in getCPUName() local
1922 mips::getMipsCPUAndABI(Args, T, CPUName, ABIName); in getCPUName()
6418 StringRef ABIName; in AddMIPSTargetArgs() local
6420 mips::getMipsCPUAndABI(Args, Triple, CPUName, ABIName); in AddMIPSTargetArgs()
6423 CmdArgs.push_back(ABIName.data()); in AddMIPSTargetArgs()
7286 StringRef ABIName, mips::FloatABI FloatABI) { in isFPXXDefault() argument
7292 if (ABIName != "32") in isFPXXDefault()
7308 StringRef CPUName, StringRef ABIName, in shouldUseFPXX() argument
7310 bool UseFPXX = isFPXXDefault(Triple, CPUName, ABIName, FloatABI); in shouldUseFPXX()
8108 StringRef ABIName; in ConstructJob() local
8109 mips::getMipsCPUAndABI(Args, getToolChain().getTriple(), CPUName, ABIName); in ConstructJob()
8112 CmdArgs.push_back(getGnuCompatibleMipsABIName(ABIName).data()); in ConstructJob()
8414 StringRef ABIName; in ConstructJob() local
8415 mips::getMipsCPUAndABI(Args, getToolChain().getTriple(), CPUName, ABIName); in ConstructJob()
8421 CmdArgs.push_back(getGnuCompatibleMipsABIName(ABIName).data()); in ConstructJob()
8704 StringRef ABIName; in ConstructJob() local
8705 mips::getMipsCPUAndABI(Args, getToolChain().getTriple(), CPUName, ABIName); in ConstructJob()
8711 CmdArgs.push_back(getGnuCompatibleMipsABIName(ABIName).data()); in ConstructJob()
9078 StringRef ABIName; in ConstructJob() local
9079 mips::getMipsCPUAndABI(Args, getToolChain().getTriple(), CPUName, ABIName); in ConstructJob()
9080 ABIName = getGnuCompatibleMipsABIName(ABIName); in ConstructJob()
9086 CmdArgs.push_back(ABIName.data()); in ConstructJob()
9095 CmdArgs.push_back(ABIName == "64" ? "-KPIC" : "-call_nonpic"); in ConstructJob()
9114 Args, getToolChain().getTriple(), CPUName, ABIName, in ConstructJob()