Searched refs:normalized_triple (Results 1 – 4 of 4) sorted by relevance
194 llvm::Triple normalized_triple(llvm::Triple::normalize(triple)); in GetAugmentedArchSpec() local195 if (!ArchSpec::ContainsOnlyArch(normalized_triple)) in GetAugmentedArchSpec()203 if (normalized_triple.getVendorName().empty()) in GetAugmentedArchSpec()204 normalized_triple.setVendor(host_triple.getVendor()); in GetAugmentedArchSpec()205 if (normalized_triple.getOSName().empty()) in GetAugmentedArchSpec()206 normalized_triple.setOS(host_triple.getOS()); in GetAugmentedArchSpec()207 if (normalized_triple.getEnvironmentName().empty()) in GetAugmentedArchSpec()208 normalized_triple.setEnvironment(host_triple.getEnvironment()); in GetAugmentedArchSpec()209 return ArchSpec(normalized_triple); in GetAugmentedArchSpec()
941 llvm::Triple normalized_triple(llvm::Triple::normalize(triple)); in GetAugmentedArchSpec() local942 if (!ArchSpec::ContainsOnlyArch(normalized_triple)) in GetAugmentedArchSpec()954 return ArchSpec(normalized_triple); in GetAugmentedArchSpec()957 if (normalized_triple.getVendorName().empty()) in GetAugmentedArchSpec()958 normalized_triple.setVendor(compatible_triple.getVendor()); in GetAugmentedArchSpec()959 if (normalized_triple.getOSName().empty()) in GetAugmentedArchSpec()960 normalized_triple.setOS(compatible_triple.getOS()); in GetAugmentedArchSpec()961 if (normalized_triple.getEnvironmentName().empty()) in GetAugmentedArchSpec()962 normalized_triple.setEnvironment(compatible_triple.getEnvironment()); in GetAugmentedArchSpec()963 return ArchSpec(normalized_triple); in GetAugmentedArchSpec()
281 static bool ContainsOnlyArch(const llvm::Triple &normalized_triple);
794 bool ArchSpec::ContainsOnlyArch(const llvm::Triple &normalized_triple) { in ContainsOnlyArch() argument795 return !normalized_triple.getArchName().empty() && in ContainsOnlyArch()796 normalized_triple.getOSName().empty() && in ContainsOnlyArch()797 normalized_triple.getVendorName().empty() && in ContainsOnlyArch()798 normalized_triple.getEnvironmentName().empty(); in ContainsOnlyArch()