Lines Matching refs:ArchName
253 static Triple::ArchType parseBPFArch(StringRef ArchName) { in parseBPFArch() argument
254 if (ArchName.equals("bpf")) { in parseBPFArch()
259 } else if (ArchName.equals("bpf_be") || ArchName.equals("bpfeb")) { in parseBPFArch()
261 } else if (ArchName.equals("bpf_le") || ArchName.equals("bpfel")) { in parseBPFArch()
328 static Triple::ArchType parseARMArch(StringRef ArchName) { in parseARMArch() argument
329 ARM::ISAKind ISA = ARM::parseArchISA(ArchName); in parseARMArch()
330 ARM::EndianKind ENDIAN = ARM::parseArchEndian(ArchName); in parseARMArch()
371 ArchName = ARM::getCanonicalArchName(ArchName); in parseARMArch()
372 if (ArchName.empty()) in parseARMArch()
377 (ArchName.startswith("v2") || ArchName.startswith("v3"))) in parseARMArch()
381 ARM::ProfileKind Profile = ARM::parseArchProfile(ArchName); in parseARMArch()
382 unsigned Version = ARM::parseArchVersion(ArchName); in parseARMArch()
393 static Triple::ArchType parseArch(StringRef ArchName) { in parseArch() argument
394 auto AT = StringSwitch<Triple::ArchType>(ArchName) in parseArch()
461 if (ArchName.startswith("arm") || ArchName.startswith("thumb") || in parseArch()
462 ArchName.startswith("aarch64")) in parseArch()
463 return parseARMArch(ArchName); in parseArch()
464 if (ArchName.startswith("bpf")) in parseArch()
465 return parseBPFArch(ArchName); in parseArch()