Home
last modified time | relevance | path

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

123

/freebsd/contrib/llvm-project/llvm/lib/DebugInfo/CodeView/
H A DEnumTables.cpp154 CV_ENUM_CLASS_ENT(CPUType, MIPS),
179 CV_ENUM_CLASS_ENT(CPUType, SH3),
180 CV_ENUM_CLASS_ENT(CPUType, SH3E),
182 CV_ENUM_CLASS_ENT(CPUType, SH4),
184 CV_ENUM_CLASS_ENT(CPUType, ARM3),
185 CV_ENUM_CLASS_ENT(CPUType, ARM4),
187 CV_ENUM_CLASS_ENT(CPUType, ARM5),
196 CV_ENUM_CLASS_ENT(CPUType, CEE),
200 CV_ENUM_CLASS_ENT(CPUType, X64),
201 CV_ENUM_CLASS_ENT(CPUType, EBC),
[all …]
H A DSymbolRecordMapping.cpp506 case CPUType::Intel8080: in decodeFramePtrReg()
507 case CPUType::Intel8086: in decodeFramePtrReg()
508 case CPUType::Intel80286: in decodeFramePtrReg()
511 case CPUType::Pentium: in decodeFramePtrReg()
513 case CPUType::Pentium3: in decodeFramePtrReg()
521 case CPUType::X64: in decodeFramePtrReg()
538 case CPUType::Intel8080: in encodeFramePtrReg()
539 case CPUType::Intel8086: in encodeFramePtrReg()
543 case CPUType::Pentium: in encodeFramePtrReg()
545 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;
/freebsd/contrib/llvm-project/llvm/tools/llvm-pdbutil/
H A DMinimalSymbolDumper.cpp230 RETURN_CASE(CPUType, MIPS, "mips"); in formatMachineType()
255 RETURN_CASE(CPUType, SH3, "sh3"); in formatMachineType()
256 RETURN_CASE(CPUType, SH3E, "sh3e"); in formatMachineType()
258 RETURN_CASE(CPUType, SH4, "sh4"); in formatMachineType()
273 RETURN_CASE(CPUType, Omni, "omni"); in formatMachineType()
276 RETURN_CASE(CPUType, CEE, "cee"); in formatMachineType()
277 RETURN_CASE(CPUType, AM33, "am33"); in formatMachineType()
278 RETURN_CASE(CPUType, M32R, "m32r"); in formatMachineType()
281 RETURN_CASE(CPUType, EBC, "ebc"); in formatMachineType()
300 if (Cpu == CPUType::ARMNT) { in formatRegisterId()
[all …]
H A DMinimalSymbolDumper.h58 codeview::CPUType CompilationCPU = codeview::CPUType::X64;
/freebsd/contrib/llvm-project/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)
/freebsd/contrib/llvm-project/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 = llvm::byteswap<uint32_t>(CPUType); in createLinkGraphFromMachOObject()
60 dbgs() << "jitLink_MachO: cputype = " << format("0x%08" PRIx32, CPUType) in createLinkGraphFromMachOObject()
64 switch (CPUType) { in createLinkGraphFromMachOObject()
/freebsd/contrib/llvm-project/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()
230 unsigned CPUType, CPUSubType; in create() local
231 std::tie(CPUType, CPUSubType) = CPUOrErr.get(); in create()
235 MachOObjectFile::getArchTriple(CPUType, CPUSubType).getArchName()); in create()
236 return Slice{IRO, CPUType, CPUSubType, std::move(ArchName), Align}; in create()
/freebsd/contrib/llvm-project/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.h76 enum class CPUType : uint16_t { enum
534 CPURegister(CPUType Cpu, codeview::RegisterId Reg) { in CPURegister()
538 CPUType Cpu;
551 RegisterId decodeFramePtrReg(EncodedFramePtrReg EncodedReg, CPUType CPU);
553 EncodedFramePtrReg encodeFramePtrReg(RegisterId Reg, CPUType CPU);
H A DEnumTables.h23 ArrayRef<EnumEntry<uint16_t>> getRegisterNames(CPUType Cpu);
/freebsd/contrib/llvm-project/lldb/source/Plugins/SymbolFile/NativePDB/
H A DPdbFPOProgramToDWARFExpression.cpp28 llvm::codeview::CPUType cpu_type; in ResolveLLDBRegisterNum()
31 cpu_type = llvm::codeview::CPUType::ARM64; in ResolveLLDBRegisterNum()
35 cpu_type = llvm::codeview::CPUType::X64; in ResolveLLDBRegisterNum()
/freebsd/contrib/llvm-project/llvm/include/llvm/MC/
H A DMCMachObjectWriter.h31 const uint32_t CPUType; variable
64 uint32_t getCPUType() const { return CPUType; } in getCPUType()
174 uint32_t CPUType = TargetObjectWriter->getCPUType(); in isX86_64() local
175 return CPUType == MachO::CPU_TYPE_X86_64; in isX86_64()
/freebsd/contrib/llvm-project/llvm/lib/TextAPI/
H A DArchitecture.cpp23 Architecture getArchitectureFromCpuType(uint32_t CPUType, uint32_t CPUSubType) { in getArchitectureFromCpuType() argument
25 if (CPUType == (Type) && \ in getArchitectureFromCpuType()
/freebsd/contrib/llvm-project/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()
409 llvm::createAArch64MachObjectWriter(uint32_t CPUType, uint32_t CPUSubtype, in createAArch64MachObjectWriter() argument
411 return std::make_unique<AArch64MachObjectWriter>(CPUType, CPUSubtype, in createAArch64MachObjectWriter()
H A DAArch64MCTargetDesc.h53 createAArch64MachObjectWriter(uint32_t CPUType, uint32_t CPUSubtype,
/freebsd/contrib/llvm-project/llvm/lib/ObjectYAML/
H A DCodeViewYAMLSymbols.cpp60 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()
161 CpuType = CPUType::Pentium3; in enumeration()
164 CpuType = CPUType::X64; in enumeration()
167 CpuType = CPUType::ARMNT; in enumeration()
172 CpuType = CPUType::ARM64; in enumeration()
/freebsd/contrib/llvm-project/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()
508 llvm::createARMMachObjectWriter(bool Is64Bit, uint32_t CPUType, in createARMMachObjectWriter() argument
510 return std::make_unique<ARMMachObjectWriter>(Is64Bit, CPUType, CPUSubtype); in createARMMachObjectWriter()
/freebsd/contrib/llvm-project/llvm/lib/MC/
H A DMCMachObjectTargetWriter.cpp16 : Is64Bit(Is64Bit_), CPUType(CPUType_), CPUSubtype(CPUSubtype_) {} in MCMachObjectTargetWriter()
/freebsd/contrib/llvm-project/llvm/include/llvm/TextAPI/
H A DArchitecture.h35 Architecture getArchitectureFromCpuType(uint32_t CPUType, uint32_t CPUSubType);
/freebsd/contrib/llvm-project/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);
/freebsd/contrib/llvm-project/llvm/include/llvm/DebugInfo/LogicalView/Core/
H A DLVReader.h251 void setCompileUnitCPUType(codeview::CPUType Type) { in setCompileUnitCPUType()
254 codeview::CPUType getCompileUnitCPUType() { in getCompileUnitCPUType()
H A DLVScope.h414 codeview::CPUType CompilationCPUType = codeview::CPUType::X64;
543 void setCPUType(codeview::CPUType Type) { CompilationCPUType = Type; } in setCPUType()
544 codeview::CPUType getCPUType() { return CompilationCPUType; } in getCPUType()
/freebsd/contrib/llvm-project/llvm/lib/ObjCopy/MachO/
H A DMachOReader.cpp23 O.Header.CPUType = MachOObj.getHeader().cputype; in readHeader()
95 const uint32_t CPUType = MachOObj.getHeader().cputype; in extractSections() local
106 R.IsAddend = !R.Scattered && (CPUType == MachO::CPU_TYPE_ARM64 && in extractSections()

123