/llvm-project/llvm/test/tools/llvm-objdump/MachO/ |
H A D | universal-arm64.test | 17 # CHECK-NEXT: cpusubtype CPU_SUBTYPE_ARM64_ALL 24 # CHECK-NEXT: cpusubtype CPU_SUBTYPE_ARM64_V8 31 # CHECK-NEXT: cpusubtype CPU_SUBTYPE_ARM64E 43 # NONVERBOSE-NEXT: cpusubtype 0 50 # NONVERBOSE-NEXT: cpusubtype 1 57 # NONVERBOSE-NEXT: cpusubtype 2 71 cpusubtype: 0x00000000 76 cpusubtype: 0x00000001 81 cpusubtype: 0x00000002 90 cpusubtype: 0x00000000 [all …]
|
H A D | universal-x86_64.i386.test | 39 FAT: cpusubtype CPU_SUBTYPE_X86_64_ALL 46 FAT: cpusubtype CPU_SUBTYPE_I386_ALL 57 NON-VERBOSE: cpusubtype 3 64 NON-VERBOSE: cpusubtype 3
|
/llvm-project/llvm/test/ObjectYAML/MachO/ |
H A D | fat_macho_i386_x86_64.yaml | 14 cpusubtype: 0x00000003 19 cpusubtype: 0x80000003 27 cpusubtype: 0x00000003 35 cpusubtype: 0x80000003 50 #CHECK: cpusubtype: 0x3 55 #CHECK: cpusubtype: 0x80000003 64 #CHECK: cpusubtype: 0x3 73 #CHECK: cpusubtype: 0x80000003 95 cpusubtype: 0x00000003 103 cpusubtype: 0x00000003 [all …]
|
/llvm-project/llvm/include/llvm/Object/ |
H A D | MachOUniversalWriter.h | 37 uint32_t CPUSubType; variable 45 Slice(const IRObjectFile &IRO, uint32_t CPUType, uint32_t CPUSubType, 53 /// This constructor takes pre-specified \param CPUType , \param CPUSubType , 56 Slice(const Archive &A, uint32_t CPUType, uint32_t CPUSubType, 70 uint32_t getCPUSubType() const { return CPUSubType; } in getCPUSubType() 75 return static_cast<uint64_t>(CPUType) << 32 | CPUSubType; in getCPUID() 82 Twine(CPUSubType & ~MachO::CPU_SUBTYPE_MASK) + ")") in getArchString() 88 return Lhs.CPUSubType < Rhs.CPUSubType;
|
/llvm-project/llvm/lib/Object/ |
H A D | MachOUniversalWriter.cpp | 85 Slice::Slice(const Archive &A, uint32_t CPUType, uint32_t CPUSubType, in Slice() argument 87 : B(&A), CPUType(CPUType), CPUSubType(CPUSubType), in Slice() 92 CPUSubType(O.getHeader().cpusubtype), in Slice() 96 Slice::Slice(const IRObjectFile &IRO, uint32_t CPUType, uint32_t CPUSubType, in Slice() argument 98 : B(&IRO), CPUType(CPUType), CPUSubType(CPUSubType), in Slice() 121 return std::make_pair(O.getHeader().cputype, O.getHeader().cpusubtype); in getMachoCPUFromObjectFile() 150 Twine(ObjectCPU.first) + ") and cpusubtype(" + in create() 153 Twine(CPU->first) + ") and cpusubtype(" + Twine(CPU->second) + in create() 178 Twine(ObjectCPU->first) + ") and cpusubtype(" + in create() 181 Twine(CPU->first) + ") and cpusubtype(" + Twine(CPU->second) + in create() [all …]
|
H A D | MachOUniversal.cpp | 172 Twine(A.getCPUType()) + ") cpusubtype (" + in MachOUniversalBinary() 181 ") cpusubtype (" + in MachOUniversalBinary() 188 " for cputype (" + Twine(A.getCPUType()) + ") cpusubtype (" + in MachOUniversalBinary() 195 "cpusubtype (" + Twine(A.getCPUSubType() & ~MachO::CPU_SUBTYPE_MASK) + in MachOUniversalBinary() 208 "(" + Twine(A.getCPUType()) + ") cpusubtype (" + in MachOUniversalBinary() 219 "cpusubtype (" + Twine(A.getCPUSubType() & ~MachO::CPU_SUBTYPE_MASK) + in MachOUniversalBinary() 222 ") cpusubtype (" + Twine(B.getCPUSubType() & ~MachO::CPU_SUBTYPE_MASK) in MachOUniversalBinary()
|
/llvm-project/lldb/test/API/functionalities/gdb_remote_client/ |
H A D | TestDynamicLoaderDarwin.py | 18 "cpusubtype":2, 57 "cpusubtype":%s, 98 def __init__(self, cpusubtype): argument 99 self.cpusubtype = cpusubtype 108 …return "cputype:16777223;cpusubtype:2;ostype:macosx;vendor:apple;os_version:10.15.4;maccatalyst_ve… 111 …uid:1f5;real-gid:14;effective-uid:1f5;effective-gid:14;cputype:100000c;cpusubtype:2;ptrsize:8;osty… 115 return escape_binary(images % self.cpusubtype)
|
/llvm-project/llvm/test/tools/llvm-readobj/MachO/ |
H A D | file-headers.test | 12 # I386-NEXT: CpuSubType: CPU_SUBTYPE_I386_ALL (0x3) 26 cpusubtype: 0x00000003 43 # X86-64-NEXT: CpuSubType: CPU_SUBTYPE_X86_64_ALL (0x3) 58 cpusubtype: 0x00000003 76 # PPC-NEXT: CpuSubType: CPU_SUBTYPE_POWERPC_ALL (0x0) 91 cpusubtype: 0x00000000 108 # PPC64-NEXT: CpuSubtype: 0x0 124 cpusubtype: 0x00000000 142 # ARM-NEXT: CpuSubType: CPU_SUBTYPE_ARM_V7 (0x9) 156 cpusubtype: 0x00000009
|
/llvm-project/llvm/test/CodeGen/ARM/ |
H A D | MachO-subtypes.ll | 60 ; CHECK-V4T: CpuSubType: CPU_SUBTYPE_ARM_V4T (0x5) 61 ; CHECK-V5: CpuSubType: CPU_SUBTYPE_ARM_V5 (0x7) 62 ; CHECK-V6: CpuSubType: CPU_SUBTYPE_ARM_V6 (0x6) 63 ; CHECK-V6M: CpuSubType: CPU_SUBTYPE_ARM_V6M (0xE) 64 ; CHECK-V7: CpuSubType: CPU_SUBTYPE_ARM_V7 (0x9) 65 ; CHECK-V7EM: CpuSubType: CPU_SUBTYPE_ARM_V7EM (0x10) 66 ; CHECK-V7K: CpuSubType: CPU_SUBTYPE_ARM_V7K (0xC) 67 ; CHECK-V7M: CpuSubType: CPU_SUBTYPE_ARM_V7M (0xF) 68 ; CHECK-V7S: CpuSubType: CPU_SUBTYPE_ARM_V7S (0xB)
|
/llvm-project/lldb/test/API/commands/target/basic/ |
H A D | bogus.yaml | 7 cpusubtype: 0x00000009 12 cpusubtype: 0x0000000B 17 cpusubtype: 0x00000000 27 cpusubtype: 0x00000009 77 cpusubtype: 0x0000000B 126 cpusubtype: 0x00000000
|
/llvm-project/llvm/test/tools/llvm-lipo/Inputs/ |
H A D | i386-x86_64-armv7-arm64-universal.yaml | 7 cpusubtype: 0x00000003 12 cpusubtype: 0x00000003 17 cpusubtype: 0x00000009 22 cpusubtype: 0x00000000 31 cpusubtype: 0x00000003 118 cpusubtype: 0x00000003 206 cpusubtype: 0x00000009 281 cpusubtype: 0x00000000
|
H A D | i386-x86_64-universal.yaml | 7 cpusubtype: 0x00000003 12 cpusubtype: 0x00000003 21 cpusubtype: 0x00000003 108 cpusubtype: 0x00000003
|
H A D | armv7_i386_non_default_alignment.yaml | 7 cpusubtype: 0x00000009 12 cpusubtype: 0x00000003 21 cpusubtype: 0x00000009 108 cpusubtype: 0x00000003
|
/llvm-project/llvm/test/tools/llvm-libtool-darwin/ |
H A D | cpu-subtype-matching.test | 28 ## CPUSUBTYPE: CPU_SUBTYPE_ARM_V6 33 cpusubtype: 0x00000006 85 ## CPUSUBTYPE: CPU_SUBTYPE_ARM_V7 90 cpusubtype: 0x00000009 165 ## CPUSUBTYPE: CPU_SUBTYPE_X86_64_ALL 170 cpusubtype: 0x00000003 223 ## CPUSUBTYPE: CPU_SUBTYPE_X86_64_H 228 cpusubtype: 0x00000008
|
/llvm-project/llvm/test/tools/llvm-lipo/ |
H A D | archs-universal-binary-arm.test | 11 cpusubtype: 0x0000000C 16 cpusubtype: 0x00000000 25 cpusubtype: 0x0000000C 34 cpusubtype: 0x00000000
|
H A D | archs-universal-binary-x86.test | 11 cpusubtype: 0x00000003 16 cpusubtype: 0x00000003 25 cpusubtype: 0x00000003 34 cpusubtype: 0x00000003
|
H A D | archs-universal-binary-unknown.test | 12 cpusubtype: 0x00000003 17 cpusubtype: 0x00000003 26 cpusubtype: 0x00000003 35 cpusubtype: 0x00000003
|
H A D | verify-arch-universal-binary.test | 18 cpusubtype: 0x00000003 23 cpusubtype: 0x00000003 32 cpusubtype: 0x00000003 41 cpusubtype: 0x00000003
|
H A D | thin-executable-universal-binary.test | 21 cpusubtype: 0x00000003 26 cpusubtype: 0x00000003 35 cpusubtype: 0x00000003 44 cpusubtype: 0x00000003
|
H A D | thin-universal-binary.test | 20 cpusubtype: 0x00000003 25 cpusubtype: 0x00000003 34 cpusubtype: 0x00000003 43 cpusubtype: 0x00000003
|
/llvm-project/lldb/source/Host/macosx/objcxx/ |
H A D | HostInfoMacOSX.mm | 237 uint32_t cputype, cpusubtype; 244 len = sizeof(cpusubtype); 245 if (::sysctlbyname("hw.cpusubtype", &cpusubtype, &len, NULL, 0) != 0) 246 cpusubtype = CPU_TYPE_ANY; 251 if (cputype == CPU_TYPE_ARM64 && cpusubtype == CPU_SUBTYPE_ARM64E) { 254 cpusubtype = CPU_SUBTYPE_ARM64_ALL; 260 arch_64.SetArchitecture(eArchTypeMachO, cputype, cpusubtype); 263 // cpusubtype will be correct as if it were for a 64 bit architecture 265 cpusubtype); [all...] |
/llvm-project/lldb/test/API/macosx/lc-note/firmware-corefile/ |
H A D | create-empty-corefile.cpp | 191 cpu_subtype_t &cpusubtype) { in get_uuid_from_binary() argument 195 cpusubtype = CPU_SUBTYPE_X86_ALL; in get_uuid_from_binary() 198 cpusubtype = CPU_SUBTYPE_ARM64_ALL; in get_uuid_from_binary() 247 cpusubtype = mh.cpusubtype; in get_uuid_from_binary() 265 cpusubtype = mh.cpusubtype; in get_uuid_from_binary() 324 cpu_subtype_t cpusubtype; in main() 325 std::string uuid = get_uuid_from_binary(argv[3], cputype, cpusubtype); in main() 385 mh.cpusubtype in main() 316 cpu_subtype_t cpusubtype; main() local [all...] |
/llvm-project/compiler-rt/lib/sanitizer_common/ |
H A D | sanitizer_procmaps_mac.cpp | 308 ModuleArch ModuleArchFromCpuType(cpu_type_t cputype, cpu_subtype_t cpusubtype) { in ModuleArchFromCpuType() argument 309 cpusubtype = cpusubtype & ~CPU_SUBTYPE_MASK; in ModuleArchFromCpuType() 314 if (cpusubtype == CPU_SUBTYPE_X86_64_ALL) return kModuleArchX86_64; in ModuleArchFromCpuType() 315 if (cpusubtype == CPU_SUBTYPE_X86_64_H) return kModuleArchX86_64H; in ModuleArchFromCpuType() 319 if (cpusubtype == CPU_SUBTYPE_ARM_V6) return kModuleArchARMV6; in ModuleArchFromCpuType() 320 if (cpusubtype == CPU_SUBTYPE_ARM_V7) return kModuleArchARMV7; in ModuleArchFromCpuType() 321 if (cpusubtype == CPU_SUBTYPE_ARM_V7S) return kModuleArchARMV7S; in ModuleArchFromCpuType() 322 if (cpusubtype == CPU_SUBTYPE_ARM_V7K) return kModuleArchARMV7K; in ModuleArchFromCpuType() 379 data_.current_arch = ModuleArchFromCpuType(hdr->cputype, hdr->cpusubtype); in Next() [all...] |
/llvm-project/lldb/test/API/macosx/lc-note/multiple-binary-corefile/ |
H A D | create-multibin-corefile.cpp | 207 cpu_subtype_t &cpusubtype) { in scan_binary() argument 253 cpusubtype = mh.cpusubtype; in scan_binary() 271 cpusubtype = mh.cpusubtype; in scan_binary() 353 cpu_subtype_t cpusubtype; in main() local 379 scan_binary(filename.c_str(), vmaddr, cputype, cpusubtype); in main() 461 mh.cpusubtype = cpusubtype; in main()
|
/llvm-project/llvm/test/tools/llvm-readtapi/Inputs/ |
H A D | universal.yaml | 7 cpusubtype: 0x00000009 12 cpusubtype: 0x00000000 21 cpusubtype: 0x00000009 188 cpusubtype: 0x00000000
|