/llvm-project/llvm/lib/DebugInfo/CodeView/ |
H A D | EnumTables.cpp | 148 CV_ENUM_CLASS_ENT(CPUType, Intel8080), 149 CV_ENUM_CLASS_ENT(CPUType, Intel8086), 150 CV_ENUM_CLASS_ENT(CPUType, Intel80286), 151 CV_ENUM_CLASS_ENT(CPUType, Intel80386), 152 CV_ENUM_CLASS_ENT(CPUType, Intel80486), 153 CV_ENUM_CLASS_ENT(CPUType, Pentium), 154 CV_ENUM_CLASS_ENT(CPUType, PentiumPro), 155 CV_ENUM_CLASS_ENT(CPUType, Pentium3), 156 CV_ENUM_CLASS_ENT(CPUType, MIPS), 157 CV_ENUM_CLASS_ENT(CPUType, MIPS16), [all …]
|
H A D | SymbolRecordMapping.cpp | 500 CPUType CPU) { in decodeFramePtrReg() 506 case CPUType::Intel8080: in decodeFramePtrReg() 507 case CPUType::Intel8086: in decodeFramePtrReg() 508 case CPUType::Intel80286: in decodeFramePtrReg() 509 case CPUType::Intel80386: in decodeFramePtrReg() 510 case CPUType::Intel80486: in decodeFramePtrReg() 511 case CPUType::Pentium: in decodeFramePtrReg() 512 case CPUType::PentiumPro: in decodeFramePtrReg() 513 case CPUType::Pentium3: in decodeFramePtrReg() 521 case CPUType::X64: in decodeFramePtrReg() [all …]
|
/llvm-project/llvm/tools/llvm-pdbutil/ |
H A D | MinimalSymbolDumper.cpp | 223 static std::string formatMachineType(CPUType Cpu) { in formatMachineType() 225 RETURN_CASE(CPUType, Intel8080, "intel 8080"); in formatMachineType() 226 RETURN_CASE(CPUType, Intel8086, "intel 8086"); in formatMachineType() 227 RETURN_CASE(CPUType, Intel80286, "intel 80286"); in formatMachineType() 228 RETURN_CASE(CPUType, Intel80386, "intel 80386"); in formatMachineType() 229 RETURN_CASE(CPUType, Intel80486, "intel 80486"); in formatMachineType() 230 RETURN_CASE(CPUType, Pentium, "intel pentium"); in formatMachineType() 231 RETURN_CASE(CPUType, PentiumPro, "intel pentium pro"); in formatMachineType() 232 RETURN_CASE(CPUType, Pentium3, "intel pentium 3"); in formatMachineType() 233 RETURN_CASE(CPUType, MIPS, "mips"); in formatMachineType() [all …]
|
/llvm-project/llvm/test/tools/llvm-objdump/MachO/ |
H A D | universal-arm64.test | 16 # CHECK-NEXT: cputype CPU_TYPE_ARM64 23 # CHECK-NEXT: cputype CPU_TYPE_ARM64 30 # CHECK-NEXT: cputype CPU_TYPE_ARM64 42 # NONVERBOSE-NEXT: cputype 16777228 49 # NONVERBOSE-NEXT: cputype 16777228 56 # NONVERBOSE-NEXT: cputype 16777228 70 - cputype: 0x0100000C 75 - cputype: 0x0100000C 80 - cputype: 0x0100000C 89 cputype: 0x0100000C [all …]
|
/llvm-project/llvm/test/ObjectYAML/MachO/ |
H A D | fat_macho_i386_x86_64.yaml | 13 - cputype: 0x00000007 18 - cputype: 0x01000007 26 cputype: 0x00000007 34 cputype: 0x01000007 49 #CHECK: - cputype: 0x7 54 #CHECK: - cputype: 0x1000007 63 #CHECK: cputype: 0x7 72 #CHECK: cputype: 0x1000007 94 - cputype: 0x00000007 102 cputype: 0x00000007 [all …]
|
/llvm-project/lldb/test/API/macosx/lc-note/firmware-corefile/ |
H A D | create-empty-corefile.cpp | 53 std::vector<uint8_t> lc_thread_load_command(cpu_type_t cputype) { in lc_thread_load_command() argument 55 // Emit an LC_THREAD register context appropriate for the cputype in lc_thread_load_command() 60 if (cputype == CPU_TYPE_X86_64) { in lc_thread_load_command() 72 if (cputype == CPU_TYPE_ARM64) { in lc_thread_load_command() 190 std::string get_uuid_from_binary(const char *fn, cpu_type_t &cputype, in get_uuid_from_binary() argument 194 cputype = CPU_TYPE_X86; in get_uuid_from_binary() 197 cputype = CPU_TYPE_ARM64; in get_uuid_from_binary() 236 if (mh.cputype != CPU_TYPE_X86_64 && mh.cputype != CPU_TYPE_ARM64) { in get_uuid_from_binary() 239 "the supplied binary '%s' is cputype in get_uuid_from_binary() 315 cpu_type_t cputype; main() local [all...] |
/llvm-project/llvm/include/llvm/Object/ |
H A D | MachOUniversalWriter.h | 36 uint32_t CPUType; 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, 68 uint32_t getCPUType() const { return CPUType; } in getCPUType() 75 return static_cast<uint64_t>(CPUType) << 32 | CPUSubType; in getCPUID() 81 return ("unknown(" + Twine(CPUType) + "," + in getArchString() 87 if (Lhs.CPUType == Rhs.CPUType) 91 if (Lhs.CPUType == MachO::CPU_TYPE_ARM64) 93 if (Rhs.CPUType == MachO::CPU_TYPE_ARM64)
|
/llvm-project/lldb/test/API/macosx/lc-note/multiple-binary-corefile/ |
H A D | create-multibin-corefile.cpp | 73 std::vector<uint8_t> lc_thread_load_command(cpu_type_t cputype) { in lc_thread_load_command() argument 75 // Emit an LC_THREAD register context appropriate for the cputype in lc_thread_load_command() 80 if (cputype == CPU_TYPE_X86_64) { in lc_thread_load_command() 92 if (cputype == CPU_TYPE_ARM64) { in lc_thread_load_command() 206 std::string scan_binary(const char *fn, uint64_t &vmaddr, cpu_type_t &cputype, in scan_binary() argument 242 if (mh.cputype != CPU_TYPE_X86_64 && mh.cputype != CPU_TYPE_ARM64) { in scan_binary() 245 "the supplied binary '%s' is cputype 0x%x\n", in scan_binary() 246 fn, (uint32_t)mh.cputype); in scan_binary() 252 cputype = mh.cputype; in scan_binary() 260 if (mh.cputype != CPU_TYPE_X86_64 && mh.cputype != CPU_TYPE_ARM64) { in scan_binary() [all …]
|
/llvm-project/llvm/lib/Object/ |
H A D | MachOUniversalWriter.cpp | 70 switch (ObjectFile.getHeader().cputype) { in calculateAlignment() 85 Slice::Slice(const Archive &A, uint32_t CPUType, uint32_t CPUSubType, in Slice() argument 87 : B(&A), CPUType(CPUType), CPUSubType(CPUSubType), in Slice() 91 : B(&O), CPUType(O.getHeader().cputype), 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() 149 ("archive member " + O->getFileName() + " cputype (" + in create() 152 ") does not match previous archive members cputype (" + in create() 177 ("archive member " + O->getFileName() + " cputype (" + in create() [all …]
|
H A D | MachOUniversal.cpp | 70 uint32_t cputype; in getAsObjectFile() 73 cputype = Header.cputype; in getAsObjectFile() 76 cputype = Header64.cputype; in getAsObjectFile() 80 return ObjectFile::createMachOObjectFile(ObjBuffer, cputype, Index); in getAsObjectFile() 171 Err = malformedError("offset plus size of cputype (" + in MachOUniversalBinary() 180 ") too large for cputype (" + Twine(A.getCPUType()) + in MachOUniversalBinary() 188 " for cputype (" + Twine(A.getCPUType()) + ") cpusubtype (" + in MachOUniversalBinary() 194 Err = malformedError("cputype (" in MachOUniversalBinary() 71 uint32_t cputype; getAsObjectFile() local [all...] |
/llvm-project/llvm/test/tools/llvm-readobj/MachO/ |
H A D | file-headers.test | 11 # I386-NEXT: CpuType: X86 (0x7) 25 cputype: 0x00000007 42 # X86-64-NEXT: CpuType: X86-64 (0x1000007) 57 cputype: 0x01000007 75 # PPC-NEXT: CpuType: PowerPC (0x12) 90 cputype: 0x00000012 107 # PPC64-NEXT: CpuType: PowerPC64 (0x1000012) 123 cputype: 0x01000012 141 # ARM-NEXT: CpuType: Arm (0xC) 155 cputype: 0x0000000C
|
/llvm-project/llvm/lib/ExecutionEngine/JITLink/ |
H A D | MachO.cpp | 53 uint32_t CPUType; in createLinkGraphFromMachOObject() 54 memcpy(&CPUType, Data.data() + 4, sizeof(uint32_t)); in createLinkGraphFromMachOObject() local 56 CPUType = llvm::byteswap<uint32_t>(CPUType); in createLinkGraphFromMachOObject() 59 dbgs() << "jitLink_MachO: cputype = " << format("0x%08" PRIx32, CPUType) in createLinkGraphFromMachOObject() 63 switch (CPUType) { in createLinkGraphFromMachOObject() 95 if (auto CPUType = MachO::getCPUType(G.getTargetTriple())) 96 Hdr.cputype = *CPUType; [all...] |
/llvm-project/lldb/test/API/commands/target/basic/ |
H A D | bogus.yaml | 6 - cputype: 0x0000000C 11 - cputype: 0x0000000C 16 - cputype: 0x0100000C 26 cputype: 0x00000003 76 cputype: 0x00000002 125 cputype: 0x00000001
|
/llvm-project/llvm/test/tools/llvm-lipo/Inputs/ |
H A D | i386-x86_64-armv7-arm64-universal.yaml | 6 - cputype: 0x00000007 11 - cputype: 0x01000007 16 - cputype: 0x0000000C 21 - cputype: 0x0100000C 30 cputype: 0x00000007 117 cputype: 0x01000007 205 cputype: 0x0000000C 280 cputype: 0x0100000C
|
H A D | i386-x86_64-universal.yaml | 6 - cputype: 0x00000007 11 - cputype: 0x01000007 20 cputype: 0x00000007 107 cputype: 0x01000007
|
H A D | armv7_i386_non_default_alignment.yaml | 6 - cputype: 0x0000000C 11 - cputype: 0x00000007 20 cputype: 0x0000000C 107 cputype: 0x00000007
|
/llvm-project/llvm/test/tools/llvm-libtool-darwin/ |
H A D | cpu-subtype-matching.test | 27 ## CPUTYPE: CPU_TYPE_ARM 32 cputype: 0x0000000C 84 ## CPUTYPE: CPU_TYPE_ARM 89 cputype: 0x0000000C 164 ## CPUTYPE: CPU_TYPE_X86_64 169 cputype: 0x01000007 222 ## CPUTYPE: CPU_TYPE_X86_64 227 cputype: 0x01000007
|
/llvm-project/llvm/test/tools/llvm-lipo/ |
H A D | archs-universal-binary-arm.test | 10 - cputype: 0x0000000C 15 - cputype: 0x0100000C 24 cputype: 0x0000000C 33 cputype: 0x0100000C
|
H A D | archs-universal-binary-x86.test | 10 - cputype: 0x00000007 15 - cputype: 0x01000007 24 cputype: 0x00000007 33 cputype: 0x01000007
|
H A D | archs-universal-binary-unknown.test | 11 - cputype: 0x00000007 16 - cputype: 0x01000097 25 cputype: 0x00000007 34 cputype: 0x01000097
|
H A D | verify-arch-universal-binary.test | 17 - cputype: 0x00000007 22 - cputype: 0x01000007 31 cputype: 0x00000007 40 cputype: 0x01000007
|
H A D | thin-executable-universal-binary.test | 20 - cputype: 0x00000007 25 - cputype: 0x01000007 34 cputype: 0x00000007 43 cputype: 0x01000007
|
H A D | thin-universal-binary.test | 19 - cputype: 0x00000007 24 - cputype: 0x01000007 33 cputype: 0x00000007 42 cputype: 0x01000007
|
/llvm-project/lldb/source/Host/macosx/objcxx/ |
H A D | HostInfoMacOSX.mm | 237 uint32_t cputype, cpusubtype; 239 size_t len = sizeof(cputype); 243 if (::sysctlbyname("hw.cputype", &cputype, &len, NULL, 0) == 0) { 251 if (cputype == CPU_TYPE_ARM64 && cpusubtype == CPU_SUBTYPE_ARM64E) { 258 if (cputype & CPU_ARCH_ABI64) { 260 arch_64.SetArchitecture(eArchTypeMachO, cputype, cpusubtype); 262 // We have a 64 bit kernel that is returning a 32 bit cputype, the 264 arch_64.SetArchitecture(eArchTypeMachO, cputype | CPU_ARCH_ABI64, 274 if (cputype [all...] |
/llvm-project/llvm/lib/ObjectYAML/ |
H A D | CodeViewYAMLSymbols.cpp | 60 LLVM_YAML_DECLARE_ENUM_TRAITS(CPUType) in LLVM_YAML_IS_SEQUENCE_VECTOR() 145 void ScalarEnumerationTraits<CPUType>::enumeration(IO &io, CPUType &Cpu) { in enumeration() 148 io.enumCase(Cpu, E.Name.str().c_str(), static_cast<CPUType>(E.Value)); in enumeration() 156 std::optional<CPUType> CpuType; in enumeration() local 161 CpuType = CPUType::Pentium3; in enumeration() 164 CpuType = CPUType in enumeration() [all...] |