Home
last modified time | relevance | path

Searched refs:CPUType (Results 1 – 25 of 49) sorted by relevance

12

/openbsd/gnu/llvm/llvm/lib/DebugInfo/CodeView/
H A DEnumTables.cpp153 CV_ENUM_CLASS_ENT(CPUType, MIPS),
178 CV_ENUM_CLASS_ENT(CPUType, SH3),
179 CV_ENUM_CLASS_ENT(CPUType, SH3E),
181 CV_ENUM_CLASS_ENT(CPUType, SH4),
183 CV_ENUM_CLASS_ENT(CPUType, ARM3),
184 CV_ENUM_CLASS_ENT(CPUType, ARM4),
186 CV_ENUM_CLASS_ENT(CPUType, ARM5),
195 CV_ENUM_CLASS_ENT(CPUType, CEE),
199 CV_ENUM_CLASS_ENT(CPUType, X64),
200 CV_ENUM_CLASS_ENT(CPUType, EBC),
[all …]
H A DSymbolRecordMapping.cpp493 case CPUType::Intel8080: in decodeFramePtrReg()
494 case CPUType::Intel8086: in decodeFramePtrReg()
495 case CPUType::Intel80286: in decodeFramePtrReg()
498 case CPUType::Pentium: in decodeFramePtrReg()
500 case CPUType::Pentium3: in decodeFramePtrReg()
508 case CPUType::X64: in decodeFramePtrReg()
525 case CPUType::Intel8080: in encodeFramePtrReg()
526 case CPUType::Intel8086: in encodeFramePtrReg()
530 case CPUType::Pentium: in encodeFramePtrReg()
532 case CPUType::Pentium3: in encodeFramePtrReg()
[all …]
H A DSymbolDumper.cpp32 ScopedPrinter &W, CPUType CPU, bool PrintRecordBytes) in CVSymbolDumperImpl()
46 CPUType getCompilationCPUType() const { return CompilationCPUType; } in getCompilationCPUType()
59 CPUType CompilationCPUType = CPUType::X64;
/openbsd/gnu/llvm/llvm/tools/llvm-pdbutil/
H A DMinimalSymbolDumper.cpp227 RETURN_CASE(CPUType, MIPS, "mips"); in formatMachineType()
252 RETURN_CASE(CPUType, SH3, "sh3"); in formatMachineType()
253 RETURN_CASE(CPUType, SH3E, "sh3e"); in formatMachineType()
255 RETURN_CASE(CPUType, SH4, "sh4"); in formatMachineType()
270 RETURN_CASE(CPUType, Omni, "omni"); in formatMachineType()
273 RETURN_CASE(CPUType, CEE, "cee"); in formatMachineType()
274 RETURN_CASE(CPUType, AM33, "am33"); in formatMachineType()
275 RETURN_CASE(CPUType, M32R, "m32r"); in formatMachineType()
278 RETURN_CASE(CPUType, EBC, "ebc"); in formatMachineType()
297 if (Cpu == CPUType::ARMNT) { in formatRegisterId()
[all …]
H A DMinimalSymbolDumper.h58 codeview::CPUType CompilationCPU = codeview::CPUType::X64;
/openbsd/gnu/llvm/llvm/include/llvm/Object/
H A DMachOUniversalWriter.h36 uint32_t CPUType; variable
45 Slice(const IRObjectFile &IRO, uint32_t CPUType, uint32_t 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)
/openbsd/gnu/llvm/llvm/lib/ExecutionEngine/JITLink/
H A DMachO.cpp54 uint32_t CPUType; in createLinkGraphFromMachOObject() local
55 memcpy(&CPUType, Data.data() + 4, sizeof(uint32_t)); in createLinkGraphFromMachOObject()
57 CPUType = ByteSwap_32(CPUType); in createLinkGraphFromMachOObject()
60 dbgs() << "jitLink_MachO: cputype = " << format("0x%08" PRIx32, CPUType) in createLinkGraphFromMachOObject()
64 switch (CPUType) { in createLinkGraphFromMachOObject()
/openbsd/gnu/llvm/llvm/lib/Object/
H A DMachOUniversalWriter.cpp85 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()
234 unsigned CPUType, CPUSubType; in create() local
235 std::tie(CPUType, CPUSubType) = CPUOrErr.get(); in create()
239 MachOObjectFile::getArchTriple(CPUType, CPUSubType).getArchName()); in create()
240 return Slice{IRO, CPUType, CPUSubType, std::move(ArchName), Align}; in create()
/openbsd/gnu/llvm/llvm/include/llvm/DebugInfo/CodeView/
H A DSymbolDumper.h31 std::unique_ptr<SymbolDumpDelegate> ObjDelegate, CPUType CPU, in CVSymbolDumper()
47 CPUType getCompilationCPUType() const { return CompilationCPUType; } in getCompilationCPUType()
54 CPUType CompilationCPUType;
H A DCodeView.h75 enum class CPUType : uint16_t { enum
531 CPURegister(CPUType Cpu, codeview::RegisterId Reg) { in CPURegister()
535 CPUType Cpu;
548 RegisterId decodeFramePtrReg(EncodedFramePtrReg EncodedReg, CPUType CPU);
550 EncodedFramePtrReg encodeFramePtrReg(RegisterId Reg, CPUType CPU);
H A DEnumTables.h23 ArrayRef<EnumEntry<uint16_t>> getRegisterNames(CPUType Cpu);
/openbsd/gnu/llvm/lldb/source/Plugins/SymbolFile/NativePDB/
H A DPdbFPOProgramToDWARFExpression.cpp29 llvm::codeview::CPUType cpu_type; in ResolveLLDBRegisterNum()
32 cpu_type = llvm::codeview::CPUType::ARM64; in ResolveLLDBRegisterNum()
36 cpu_type = llvm::codeview::CPUType::X64; in ResolveLLDBRegisterNum()
/openbsd/gnu/llvm/llvm/include/llvm/MC/
H A DMCMachObjectWriter.h31 const uint32_t CPUType; variable
64 uint32_t getCPUType() const { return CPUType; } in getCPUType()
173 uint32_t CPUType = TargetObjectWriter->getCPUType(); in isX86_64() local
174 return CPUType == MachO::CPU_TYPE_X86_64; in isX86_64()
/openbsd/gnu/llvm/llvm/lib/TextAPI/
H A DArchitecture.cpp23 Architecture getArchitectureFromCpuType(uint32_t CPUType, uint32_t CPUSubType) { in getArchitectureFromCpuType() argument
25 if (CPUType == (Type) && \ in getArchitectureFromCpuType()
/openbsd/gnu/llvm/llvm/lib/ObjectYAML/
H A DCodeViewYAMLSymbols.cpp60 LLVM_YAML_DECLARE_ENUM_TRAITS(CPUType) in LLVM_YAML_IS_SEQUENCE_VECTOR()
144 void ScalarEnumerationTraits<CPUType>::enumeration(IO &io, CPUType &Cpu) { in enumeration()
147 io.enumCase(Cpu, E.Name.str().c_str(), static_cast<CPUType>(E.Value)); in enumeration()
155 std::optional<CPUType> CpuType; in enumeration()
160 CpuType = CPUType::Pentium3; in enumeration()
163 CpuType = CPUType::X64; in enumeration()
166 CpuType = CPUType::ARMNT; in enumeration()
170 CpuType = CPUType::ARM64; in enumeration()
/openbsd/gnu/llvm/llvm/lib/Target/AArch64/MCTargetDesc/
H A DAArch64MachObjectWriter.cpp40 AArch64MachObjectWriter(uint32_t CPUType, uint32_t CPUSubtype, bool IsILP32) in AArch64MachObjectWriter() argument
41 : MCMachObjectTargetWriter(!IsILP32 /* is64Bit */, CPUType, CPUSubtype) {} in AArch64MachObjectWriter()
411 llvm::createAArch64MachObjectWriter(uint32_t CPUType, uint32_t CPUSubtype, in createAArch64MachObjectWriter() argument
413 return std::make_unique<AArch64MachObjectWriter>(CPUType, CPUSubtype, in createAArch64MachObjectWriter()
H A DAArch64MCTargetDesc.h53 createAArch64MachObjectWriter(uint32_t CPUType, uint32_t CPUSubtype,
/openbsd/gnu/llvm/llvm/lib/Target/ARM/MCTargetDesc/
H A DARMMachObjectWriter.cpp52 ARMMachObjectWriter(bool Is64Bit, uint32_t CPUType, uint32_t CPUSubtype) in ARMMachObjectWriter() argument
53 : MCMachObjectTargetWriter(Is64Bit, CPUType, CPUSubtype) {} in ARMMachObjectWriter()
507 llvm::createARMMachObjectWriter(bool Is64Bit, uint32_t CPUType, in createARMMachObjectWriter() argument
509 return std::make_unique<ARMMachObjectWriter>(Is64Bit, CPUType, CPUSubtype); in createARMMachObjectWriter()
/openbsd/gnu/llvm/llvm/lib/MC/
H A DMCMachObjectTargetWriter.cpp16 : Is64Bit(Is64Bit_), CPUType(CPUType_), CPUSubtype(CPUSubtype_) {} in MCMachObjectTargetWriter()
/openbsd/gnu/llvm/llvm/include/llvm/TextAPI/
H A DArchitecture.h35 Architecture getArchitectureFromCpuType(uint32_t CPUType, uint32_t CPUSubType);
/openbsd/gnu/llvm/llvm/lib/Target/X86/MCTargetDesc/
H A DX86MachObjectWriter.cpp56 X86MachObjectWriter(bool Is64Bit, uint32_t CPUType, uint32_t CPUSubtype) in X86MachObjectWriter() argument
57 : MCMachObjectTargetWriter(Is64Bit, CPUType, CPUSubtype) {} in X86MachObjectWriter()
603 llvm::createX86MachObjectWriter(bool Is64Bit, uint32_t CPUType, in createX86MachObjectWriter() argument
605 return std::make_unique<X86MachObjectWriter>(Is64Bit, CPUType, CPUSubtype); in createX86MachObjectWriter()
H A DX86MCTargetDesc.h129 createX86MachObjectWriter(bool Is64Bit, uint32_t CPUType, uint32_t CPUSubtype);
/openbsd/gnu/llvm/llvm/tools/lto/
H A Dlto.cpp329 Expected<uint32_t> CPUType = M->getMachOCPUType(); in lto_module_get_macho_cputype() local
330 if (!CPUType) { in lto_module_get_macho_cputype()
331 sLastErrorString = toString(CPUType.takeError()); in lto_module_get_macho_cputype()
334 *out_cputype = *CPUType; in lto_module_get_macho_cputype()
/openbsd/gnu/llvm/llvm/lib/ObjCopy/MachO/
H A DMachOReader.cpp22 O.Header.CPUType = MachOObj.getHeader().cputype; in readHeader()
93 const uint32_t CPUType = MachOObj.getHeader().cputype; in extractSections() local
104 R.IsAddend = !R.Scattered && (CPUType == MachO::CPU_TYPE_ARM64 && in extractSections()
/openbsd/gnu/llvm/llvm/tools/llvm-libtool-darwin/
H A Dllvm-libtool-darwin.cpp213 static uint64_t getCPUID(uint32_t CPUType, uint32_t CPUSubtype) { in getCPUID() argument
214 switch (CPUType) { in getCPUID()
221 return static_cast<uint64_t>(CPUType) << 32 | CPUSubtype; in getCPUID()
223 return CPUType; in getCPUID()

12