Lines Matching refs:cputype

314   uint32_t cputype = O->getHeader().cputype;
315 if (cputype & MachO::CPU_ARCH_ABI64)
324 if (cputype & MachO::CPU_ARCH_ABI64)
947 uint32_t cputype = O->getHeader().cputype;
948 if (cputype == MachO::CPU_TYPE_I386 || cputype == MachO::CPU_TYPE_X86_64) {
1130 T = MachOObjectFile::getArch(H_64.cputype, H_64.cpusubtype);
1133 T = MachOObjectFile::getArch(H.cputype, H.cpusubtype);
1220 static void printUnknownCPUType(uint32_t cputype, uint32_t cpusubtype) {
1221 outs() << " cputype (" << cputype << ")\n";
1225 // printCPUType() helps print_fat_headers by printing the cputype and
1227 static void printCPUType(uint32_t cputype, uint32_t cpusubtype) {
1228 switch (cputype) {
1232 outs() << " cputype CPU_TYPE_I386\n";
1236 printUnknownCPUType(cputype, cpusubtype);
1243 outs() << " cputype CPU_TYPE_X86_64\n";
1247 outs() << " cputype CPU_TYPE_X86_64\n";
1251 printUnknownCPUType(cputype, cpusubtype);
1258 outs() << " cputype CPU_TYPE_ARM\n";
1262 outs() << " cputype CPU_TYPE_ARM\n";
1266 outs() << " cputype CPU_TYPE_ARM\n";
1270 outs() << " cputype CPU_TYPE_ARM\n";
1274 outs() << " cputype CPU_TYPE_ARM\n";
1278 outs() << " cputype CPU_TYPE_ARM\n";
1282 outs() << " cputype CPU_TYPE_ARM\n";
1286 outs() << " cputype CPU_TYPE_ARM\n";
1290 outs() << " cputype CPU_TYPE_ARM\n";
1294 outs() << " cputype CPU_TYPE_ARM\n";
1298 outs() << " cputype CPU_TYPE_ARM\n";
1302 printUnknownCPUType(cputype, cpusubtype);
1309 outs() << " cputype CPU_TYPE_ARM64\n";
1313 printUnknownCPUType(cputype, cpusubtype);
1318 printUnknownCPUType(cputype, cpusubtype);
1346 uint32_t cputype = OFA.getCPUType();
1353 if (cputype != 0 && cpusubtype != 0 && cputype == other_cputype &&
1362 printCPUType(cputype, cpusubtype & ~MachO::CPU_SUBTYPE_MASK);
1365 outs() << " cputype " << cputype << "\n";
5539 if (H.cputype == MachO::CPU_TYPE_ARM)
5542 // This is the 32-bit non-arm cputype case. Which is normally
7034 static void PrintMachHeader(uint32_t magic, uint32_t cputype,
7039 outs() << " magic cputype cpusubtype caps filetype ncmds "
7048 switch (cputype) {
7296 outs() << format(" %7d", cputype);
8260 bool isLittleEndian, uint32_t cputype) {
8276 if (cputype == MachO::CPU_TYPE_X86_64) {
8437 outs() << " state (Unknown cputype/cpusubtype)\n";
8524 uint32_t cputype, bool verbose) {
8624 PrintThreadCommand(Tc, Command.Ptr, Obj->isLittleEndian(), cputype);
8656 PrintMachHeader(H_64.magic, H_64.cputype, H_64.cpusubtype, H_64.filetype,
8661 PrintMachHeader(H.magic, H.cputype, H.cpusubtype, H.filetype, H.ncmds,
8674 uint32_t cputype = 0;
8679 cputype = H_64.cputype;
8684 cputype = H.cputype;
8686 PrintLoadCommands(file, filetype, cputype, !NonVerbose);