Searched refs:archName (Results 1 – 2 of 2) sorted by relevance
121 llvm::StringRef archName; in getCSKYTargetFeatures() local130 archName = A->getValue(); in getCSKYTargetFeatures()139 if (!archName.empty() && Kind != ArchKind) { in getCSKYTargetFeatures()144 if (archName.empty()) in getCSKYTargetFeatures()145 archName = llvm::CSKY::getArchName(Kind); in getCSKYTargetFeatures()148 if (archName.empty() && cpuName.empty()) { in getCSKYTargetFeatures()149 archName = "ck810"; in getCSKYTargetFeatures()151 } else if (!archName.empty() && cpuName.empty()) { in getCSKYTargetFeatures()152 cpuName = archName; in getCSKYTargetFeatures()
745 static void setPlatformVersions(StringRef archName, const ArgList &args) { in setPlatformVersions() argument780 MachO::Target(getArchitectureFromName(archName), PLATFORM_MACOS, in setPlatformVersions()784 MachO::Target(getArchitectureFromName(archName), PLATFORM_MACCATALYST, in setPlatformVersions()790 config->platformInfo = {MachO::Target(getArchitectureFromName(archName), in setPlatformVersions()798 StringRef archName = args.getLastArgValue(OPT_arch); in createTargetInfo() local799 if (archName.empty()) { in createTargetInfo()804 setPlatformVersions(archName, args); in createTargetInfo()814 error("missing or unsupported -arch " + archName); in createTargetInfo()