Home
last modified time | relevance | path

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

/freebsd-13.1/contrib/llvm-project/lldb/source/Host/common/
H A DHostInfoBase.cpp194 llvm::Triple normalized_triple(llvm::Triple::normalize(triple)); in GetAugmentedArchSpec() local
195 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()
/freebsd-13.1/contrib/llvm-project/lldb/source/Target/
H A DPlatform.cpp941 llvm::Triple normalized_triple(llvm::Triple::normalize(triple)); in GetAugmentedArchSpec() local
942 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()
/freebsd-13.1/contrib/llvm-project/lldb/include/lldb/Utility/
H A DArchSpec.h281 static bool ContainsOnlyArch(const llvm::Triple &normalized_triple);
/freebsd-13.1/contrib/llvm-project/lldb/source/Utility/
H A DArchSpec.cpp794 bool ArchSpec::ContainsOnlyArch(const llvm::Triple &normalized_triple) { in ContainsOnlyArch() argument
795 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()