Searched refs:normalized_triple (Results 1 – 4 of 4) sorted by relevance
199 llvm::Triple normalized_triple(llvm::Triple::normalize(triple)); in GetAugmentedArchSpec() local200 if (!ArchSpec::ContainsOnlyArch(normalized_triple)) in GetAugmentedArchSpec()208 if (normalized_triple.getVendorName().empty()) in GetAugmentedArchSpec()209 normalized_triple.setVendor(host_triple.getVendor()); in GetAugmentedArchSpec()210 if (normalized_triple.getOSName().empty()) in GetAugmentedArchSpec()211 normalized_triple.setOS(host_triple.getOS()); in GetAugmentedArchSpec()212 if (normalized_triple.getEnvironmentName().empty() && in GetAugmentedArchSpec()214 normalized_triple.setEnvironment(host_triple.getEnvironment()); in GetAugmentedArchSpec()215 return ArchSpec(normalized_triple); in GetAugmentedArchSpec()
922 llvm::Triple normalized_triple(llvm::Triple::normalize(triple)); in GetAugmentedArchSpec() local923 if (!ArchSpec::ContainsOnlyArch(normalized_triple)) in GetAugmentedArchSpec()935 return ArchSpec(normalized_triple); in GetAugmentedArchSpec()938 if (normalized_triple.getVendorName().empty()) in GetAugmentedArchSpec()939 normalized_triple.setVendor(compatible_triple.getVendor()); in GetAugmentedArchSpec()940 if (normalized_triple.getOSName().empty()) in GetAugmentedArchSpec()941 normalized_triple.setOS(compatible_triple.getOS()); in GetAugmentedArchSpec()942 if (normalized_triple.getEnvironmentName().empty()) in GetAugmentedArchSpec()943 normalized_triple.setEnvironment(compatible_triple.getEnvironment()); in GetAugmentedArchSpec()944 return ArchSpec(normalized_triple); in GetAugmentedArchSpec()
795 bool ArchSpec::ContainsOnlyArch(const llvm::Triple &normalized_triple) { in ContainsOnlyArch() argument796 return !normalized_triple.getArchName().empty() && in ContainsOnlyArch()797 normalized_triple.getOSName().empty() && in ContainsOnlyArch()798 normalized_triple.getVendorName().empty() && in ContainsOnlyArch()799 normalized_triple.getEnvironmentName().empty(); in ContainsOnlyArch()
292 static bool ContainsOnlyArch(const llvm::Triple &normalized_triple);