Lines Matching refs:Arch
23 std::string to_string(const Arch& arch) { in to_string()
25 case Arch::arm: in to_string()
28 case Arch::arm64: in to_string()
31 case Arch::mips: in to_string()
34 case Arch::mips64: in to_string()
37 case Arch::x86: in to_string()
40 case Arch::x86_64: in to_string()
47 static const std::unordered_map<std::string, Arch> arch_name_map{
48 {"arm", Arch::arm},
49 {"arm64", Arch::arm64},
50 {"mips", Arch::mips},
51 {"mips64", Arch::mips64},
52 {"x86", Arch::x86},
53 {"x86_64", Arch::x86_64},
56 std::optional<Arch> arch_from_string(const std::string& name) { in arch_from_string()