Searched refs:normalized_triple (Results 1 – 4 of 4) sorted by relevance
200 llvm::Triple normalized_triple(llvm::Triple::normalize(triple)); in GetAugmentedArchSpec() local201 if (!ArchSpec::ContainsOnlyArch(normalized_triple)) in GetAugmentedArchSpec()209 if (normalized_triple.getVendorName().empty()) in GetAugmentedArchSpec()210 normalized_triple.setVendor(host_triple.getVendor()); in GetAugmentedArchSpec()211 if (normalized_triple.getOSName().empty()) in GetAugmentedArchSpec()212 normalized_triple.setOS(host_triple.getOS()); in GetAugmentedArchSpec()213 if (normalized_triple.getEnvironmentName().empty() && in GetAugmentedArchSpec()215 normalized_triple.setEnvironment(host_triple.getEnvironment()); in GetAugmentedArchSpec()216 return ArchSpec(normalized_triple); in GetAugmentedArchSpec()
924 llvm::Triple normalized_triple(llvm::Triple::normalize(triple)); in GetAugmentedArchSpec() local925 if (!ArchSpec::ContainsOnlyArch(normalized_triple)) in GetAugmentedArchSpec()938 return ArchSpec(normalized_triple); in GetAugmentedArchSpec()941 if (normalized_triple.getVendorName().empty()) in GetAugmentedArchSpec()942 normalized_triple.setVendor(compatible_triple.getVendor()); in GetAugmentedArchSpec()943 if (normalized_triple.getOSName().empty()) in GetAugmentedArchSpec()944 normalized_triple.setOS(compatible_triple.getOS()); in GetAugmentedArchSpec()945 if (normalized_triple.getEnvironmentName().empty()) in GetAugmentedArchSpec()946 normalized_triple.setEnvironment(compatible_triple.getEnvironment()); in GetAugmentedArchSpec()947 return ArchSpec(normalized_triple); in GetAugmentedArchSpec()
301 static bool ContainsOnlyArch(const llvm::Triple &normalized_triple);
807 bool ArchSpec::ContainsOnlyArch(const llvm::Triple &normalized_triple) { in ContainsOnlyArch() argument808 return !normalized_triple.getArchName().empty() && in ContainsOnlyArch()809 normalized_triple.getOSName().empty() && in ContainsOnlyArch()810 normalized_triple.getVendorName().empty() && in ContainsOnlyArch()811 normalized_triple.getEnvironmentName().empty(); in ContainsOnlyArch()