Home
last modified time | relevance | path

Searched refs:normalized_triple (Results 1 – 4 of 4) sorted by relevance

/freebsd/contrib/llvm-project/lldb/source/Host/common/
H A DHostInfoBase.cpp202 llvm::Triple normalized_triple(llvm::Triple::normalize(triple)); in GetAugmentedArchSpec() local
203 if (!ArchSpec::ContainsOnlyArch(normalized_triple)) in GetAugmentedArchSpec()
211 if (normalized_triple.getVendorName().empty()) in GetAugmentedArchSpec()
212 normalized_triple.setVendor(host_triple.getVendor()); in GetAugmentedArchSpec()
213 if (normalized_triple.getOSName().empty()) in GetAugmentedArchSpec()
214 normalized_triple.setOS(host_triple.getOS()); in GetAugmentedArchSpec()
215 if (normalized_triple.getEnvironmentName().empty() && in GetAugmentedArchSpec()
217 normalized_triple.setEnvironment(host_triple.getEnvironment()); in GetAugmentedArchSpec()
218 return ArchSpec(normalized_triple); in GetAugmentedArchSpec()
/freebsd/contrib/llvm-project/lldb/source/Target/
H A DPlatform.cpp853 llvm::Triple normalized_triple(llvm::Triple::normalize(triple)); in GetAugmentedArchSpec() local
854 if (!ArchSpec::ContainsOnlyArch(normalized_triple)) in GetAugmentedArchSpec()
867 return ArchSpec(normalized_triple); in GetAugmentedArchSpec()
870 if (normalized_triple.getVendorName().empty()) in GetAugmentedArchSpec()
871 normalized_triple.setVendor(compatible_triple.getVendor()); in GetAugmentedArchSpec()
872 if (normalized_triple.getOSName().empty()) in GetAugmentedArchSpec()
873 normalized_triple.setOS(compatible_triple.getOS()); in GetAugmentedArchSpec()
874 if (normalized_triple.getEnvironmentName().empty()) in GetAugmentedArchSpec()
875 normalized_triple.setEnvironment(compatible_triple.getEnvironment()); in GetAugmentedArchSpec()
876 return ArchSpec(normalized_triple); in GetAugmentedArchSpec()
/freebsd/contrib/llvm-project/lldb/include/lldb/Utility/
H A DArchSpec.h314 static bool ContainsOnlyArch(const llvm::Triple &normalized_triple);
/freebsd/contrib/llvm-project/lldb/source/Utility/
H A DArchSpec.cpp825 bool ArchSpec::ContainsOnlyArch(const llvm::Triple &normalized_triple) { in ContainsOnlyArch() argument
826 return !normalized_triple.getArchName().empty() && in ContainsOnlyArch()
827 normalized_triple.getOSName().empty() && in ContainsOnlyArch()
828 normalized_triple.getVendorName().empty() && in ContainsOnlyArch()
829 normalized_triple.getEnvironmentName().empty(); in ContainsOnlyArch()