Lines Matching defs:cpu
262 uint32_t cpu;
289 // convert cpu type and subtypes to architecture names, and to convert
290 // architecture names to cpu types and subtypes. The ordering is important and
367 // convert cpu type and subtypes to architecture names, and to convert
368 // architecture names to cpu types and subtypes. The ordering is important and
515 // Get a definition entry by cpu type and subtype.
517 FindArchDefinitionEntry(const ArchDefinition *def, uint32_t cpu, uint32_t sub) {
523 if (entries[i].cpu == (cpu & entries[i].cpu_mask))
557 ArchSpec::ArchSpec(ArchitectureType arch_type, uint32_t cpu, uint32_t subtype) {
558 SetArchitecture(arch_type, cpu, subtype);
619 std::string cpu;
624 cpu = "mips32";
628 cpu = "mips32r2";
632 cpu = "mips32r3";
636 cpu = "mips32r5";
640 cpu = "mips32r6";
644 cpu = "mips64";
648 cpu = "mips64r2";
652 cpu = "mips64r3";
656 cpu = "mips64r5";
660 cpu = "mips64r6";
668 cpu = llvm::ARM::getARMCPUForArch(GetTriple(), "").str();
669 return cpu;
678 return arch_def->cpu;
776 // Accept "12-10" or "12.10" as cpu type/subtype
795 uint32_t cpu = 0;
797 if (cpu_str.getAsInteger(10, cpu) || sub_str.getAsInteger(10, sub))
800 if (!arch.SetArchitecture(eArchTypeMachO, cpu, sub))
872 bool ArchSpec::SetArchitecture(ArchitectureType arch_type, uint32_t cpu,
879 FindArchDefinitionEntry(arch_def, cpu, sub);
893 // tvos, bridgeos. We could get close with the cpu type - but we
942 "Unable to find a core definition for cpu 0x%" PRIx32
944 cpu, sub);