Searched refs:archName (Results 1 – 2 of 2) sorted by relevance
117 llvm::StringRef archName; in getCSKYTargetFeatures() local126 archName = A->getValue(); in getCSKYTargetFeatures()135 if (!archName.empty() && Kind != ArchKind) { in getCSKYTargetFeatures()140 if (archName.empty()) in getCSKYTargetFeatures()141 archName = llvm::CSKY::getArchName(Kind); in getCSKYTargetFeatures()144 if (archName.empty() && cpuName.empty()) { in getCSKYTargetFeatures()145 archName = "ck810"; in getCSKYTargetFeatures()147 } else if (!archName.empty() && cpuName.empty()) { in getCSKYTargetFeatures()148 cpuName = archName; in getCSKYTargetFeatures()
740 static void setPlatformVersions(StringRef archName, const ArgList &args) { in setPlatformVersions() argument775 MachO::Target(getArchitectureFromName(archName), PLATFORM_MACOS, in setPlatformVersions()779 MachO::Target(getArchitectureFromName(archName), PLATFORM_MACCATALYST, in setPlatformVersions()785 config->platformInfo = {MachO::Target(getArchitectureFromName(archName), in setPlatformVersions()793 StringRef archName = args.getLastArgValue(OPT_arch); in createTargetInfo() local794 if (archName.empty()) { in createTargetInfo()799 setPlatformVersions(archName, args); in createTargetInfo()809 error("missing or unsupported -arch " + archName); in createTargetInfo()