Home
last modified time | relevance | path

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

/llvm-project-15.0.7/lldb/source/Host/common/
H A DHostInfoBase.cpp199 llvm::Triple normalized_triple(llvm::Triple::normalize(triple)); in GetAugmentedArchSpec() local
200 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()
/llvm-project-15.0.7/lldb/source/Target/
H A DPlatform.cpp922 llvm::Triple normalized_triple(llvm::Triple::normalize(triple)); in GetAugmentedArchSpec() local
923 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()
/llvm-project-15.0.7/lldb/source/Utility/
H A DArchSpec.cpp795 bool ArchSpec::ContainsOnlyArch(const llvm::Triple &normalized_triple) { in ContainsOnlyArch() argument
796 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()
/llvm-project-15.0.7/lldb/include/lldb/Utility/
H A DArchSpec.h292 static bool ContainsOnlyArch(const llvm::Triple &normalized_triple);