Lines Matching defs:arch_spec
1668 bool Target::SetArchitecture(const ArchSpec &arch_spec, bool set_platform,
1674 ArchSpec other(arch_spec);
1697 if (merge && m_arch.GetSpec().IsCompatibleMatch(arch_spec)) {
1728 arch_spec.GetArchitectureName(),
1729 arch_spec.GetTriple().getTriple().c_str(),
1742 arch_spec.GetArchitectureName(),
1743 arch_spec.GetTriple().getTriple().c_str());
1757 bool Target::MergeArchitecture(const ArchSpec &arch_spec) {
1759 if (arch_spec.IsValid()) {
1760 if (m_arch.GetSpec().IsCompatibleMatch(arch_spec)) {
1761 // The current target arch is compatible with "arch_spec", see if we can
1762 // improve our current architecture using bits from "arch_spec"
1768 arch_spec.GetTriple().getTriple().c_str());
1770 // Merge bits from arch_spec into "merged_arch" and set our architecture
1772 merged_arch.MergeFrom(arch_spec);
1776 return SetArchitecture(arch_spec);