Home
last modified time | relevance | path

Searched refs:ArchSpec (Results 1 – 25 of 302) sorted by relevance

12345678910>>...13

/freebsd/contrib/llvm-project/lldb/source/Utility/
H A DArchSpec.cpp26 static bool cores_match(const ArchSpec::Core core1, const ArchSpec::Core core2,
37 ArchSpec::Core core;
45 {eByteOrderLittle, 4, 2, 4, llvm::Triple::arm, ArchSpec::eCore_arm_generic,
47 {eByteOrderLittle, 4, 2, 4, llvm::Triple::arm, ArchSpec::eCore_arm_armv4,
49 {eByteOrderLittle, 4, 2, 4, llvm::Triple::arm, ArchSpec::eCore_arm_armv4t,
51 {eByteOrderLittle, 4, 2, 4, llvm::Triple::arm, ArchSpec::eCore_arm_armv5,
53 {eByteOrderLittle, 4, 2, 4, llvm::Triple::arm, ArchSpec::eCore_arm_armv5e,
55 {eByteOrderLittle, 4, 2, 4, llvm::Triple::arm, ArchSpec::eCore_arm_armv5t,
57 {eByteOrderLittle, 4, 2, 4, llvm::Triple::arm, ArchSpec::eCore_arm_armv6,
59 {eByteOrderLittle, 4, 2, 4, llvm::Triple::arm, ArchSpec::eCore_arm_armv6m,
[all …]
/freebsd/contrib/llvm-project/lldb/include/lldb/Interpreter/
H A DOptionValueArch.h26 OptionValueArch(const ArchSpec &value) in OptionValueArch()
29 OptionValueArch(const ArchSpec &current_value, const ArchSpec &default_value) in OptionValueArch()
57 ArchSpec &GetCurrentValue() { return m_current_value; } in GetCurrentValue()
59 const ArchSpec &GetCurrentValue() const { return m_current_value; } in GetCurrentValue()
61 const ArchSpec &GetDefaultValue() const { return m_default_value; } in GetDefaultValue()
63 void SetCurrentValue(const ArchSpec &value, bool set_value_was_set) { in SetCurrentValue()
69 void SetDefaultValue(const ArchSpec &value) { m_default_value = value; } in SetDefaultValue()
72 ArchSpec m_current_value;
73 ArchSpec m_default_value;
/freebsd/contrib/llvm-project/lldb/include/lldb/Utility/
H A DArchSpec.h31 class ArchSpec {
293 ArchSpec();
298 explicit ArchSpec(const llvm::Triple &triple);
299 explicit ArchSpec(const char *triple_cstr);
300 explicit ArchSpec(llvm::StringRef triple_str);
305 explicit ArchSpec(ArchitectureType arch_type, uint32_t cpu_type,
309 ~ArchSpec();
385 void MergeFrom(const ArchSpec &other);
507 bool IsMatch(const ArchSpec &rhs, MatchType match) const;
510 bool IsExactMatch(const ArchSpec &rhs) const { in IsExactMatch()
[all …]
/freebsd/contrib/llvm-project/lldb/include/lldb/Target/
H A DPlatform.h111 static ArchSpec GetAugmentedArchSpec(Platform *platform,
234 virtual ArchSpec GetRemoteSystemArchitecture() { in GetRemoteSystemArchitecture()
235 return ArchSpec(); // Return an invalid architecture in GetRemoteSystemArchitecture()
318 const ArchSpec &arch, ModuleSpec &module_spec);
330 virtual std::vector<ArchSpec>
331 GetSupportedArchitectures(const ArchSpec &process_host_arch) = 0;
352 virtual bool IsCompatibleArchitecture(const ArchSpec &arch,
353 const ArchSpec &process_host_arch,
354 ArchSpec::MatchType match,
355 ArchSpec *compatible_arch_ptr);
[all …]
H A DUnwindAssembly.h21 static lldb::UnwindAssemblySP FindPlugin(const ArchSpec &arch);
41 UnwindAssembly(const ArchSpec &arch);
42 ArchSpec m_arch;
/freebsd/contrib/llvm-project/lldb/source/Plugins/Platform/OpenBSD/
H A DPlatformOpenBSD.h26 static lldb::PlatformSP CreateInstance(bool force, const ArchSpec *arch);
45 std::vector<ArchSpec>
46 GetSupportedArchitectures(const ArchSpec &process_host_arch) override;
52 MmapArgList GetMmapArgumentList(const ArchSpec &arch, lldb::addr_t addr,
57 std::vector<ArchSpec> m_supported_architectures;
/freebsd/contrib/llvm-project/lldb/source/Plugins/Platform/FreeBSD/
H A DPlatformFreeBSD.h27 static lldb::PlatformSP CreateInstance(bool force, const ArchSpec *arch);
46 std::vector<ArchSpec>
47 GetSupportedArchitectures(const ArchSpec &process_host_arch) override;
53 MmapArgList GetMmapArgumentList(const ArchSpec &arch, lldb::addr_t addr,
60 std::vector<ArchSpec> m_supported_architectures;
/freebsd/contrib/llvm-project/lldb/source/Plugins/Platform/NetBSD/
H A DPlatformNetBSD.h27 static lldb::PlatformSP CreateInstance(bool force, const ArchSpec *arch);
46 std::vector<ArchSpec>
47 GetSupportedArchitectures(const ArchSpec &process_host_arch) override;
55 MmapArgList GetMmapArgumentList(const ArchSpec &arch, lldb::addr_t addr,
62 std::vector<ArchSpec> m_supported_architectures;
/freebsd/contrib/llvm-project/lldb/source/Plugins/Platform/AIX/
H A DPlatformAIX.h26 static lldb::PlatformSP CreateInstance(bool force, const ArchSpec *arch);
45 std::vector<ArchSpec>
46 GetSupportedArchitectures(const ArchSpec &process_host_arch) override;
53 MmapArgList GetMmapArgumentList(const ArchSpec &arch, lldb::addr_t addr,
60 std::vector<ArchSpec> m_supported_architectures;
H A DPlatformAIX.cpp51 PlatformSP PlatformAIX::CreateInstance(bool force, const ArchSpec *arch) { in CreateInstance()
98 ArchSpec hostArch = HostInfo::GetArchitecture(HostInfo::eArchKindDefault); in PlatformAIX()
106 std::vector<ArchSpec>
107 PlatformAIX::GetSupportedArchitectures(const ArchSpec &process_host_arch) { in GetSupportedArchitectures()
141 MmapArgList PlatformAIX::GetMmapArgumentList(const ArchSpec &arch, addr_t addr, in GetMmapArgumentList()
/freebsd/contrib/llvm-project/lldb/include/lldb/Core/
H A DDisassembler.h186 bool DumpEmulation(const ArchSpec &arch);
190 bool Emulate(const ArchSpec &arch, uint32_t evaluate_options, void *baton,
412 static lldb::DisassemblerSP FindPlugin(const ArchSpec &arch,
419 FindPluginForTarget(const Target &target, const ArchSpec &arch,
429 DisassembleRange(const ArchSpec &arch, const char *plugin_name,
435 DisassembleBytes(const ArchSpec &arch, const char *plugin_name,
440 static bool Disassemble(Debugger &debugger, const ArchSpec &arch,
448 static bool Disassemble(Debugger &debugger, const ArchSpec &arch,
452 Disassembler(const ArchSpec &arch, const char *flavor);
455 void PrintInstructions(Debugger &debugger, const ArchSpec &arch,
[all …]
/freebsd/contrib/llvm-project/lldb/source/Plugins/ObjectFile/COFF/
H A DObjectFileCOFF.cpp128 specs.Append(ModuleSpec(file, ArchSpec("i686-unknown-windows-msvc"))); in GetModuleSpecifications()
131 specs.Append(ModuleSpec(file, ArchSpec("x86_64-unknown-windows-msvc"))); in GetModuleSpecifications()
134 specs.Append(ModuleSpec(file, ArchSpec("armv7-unknown-windows-msvc"))); in GetModuleSpecifications()
137 specs.Append(ModuleSpec(file, ArchSpec("aarch64-unknown-windows-msvc"))); in GetModuleSpecifications()
166 ArchSpec ObjectFileCOFF::GetArchitecture() { in GetArchitecture()
169 return ArchSpec("i686-unknown-windows-msvc"); in GetArchitecture()
171 return ArchSpec("x86_64-unknown-windows-msvc"); in GetArchitecture()
173 return ArchSpec("armv7-unknown-windows-msvc"); in GetArchitecture()
175 return ArchSpec("aarch64-unknown-windows-msvc"); in GetArchitecture()
177 return ArchSpec(); in GetArchitecture()
/freebsd/contrib/llvm-project/lldb/source/Plugins/Process/Utility/
H A DRegisterContextLinux_s390x.cpp20 static const RegisterInfo *GetRegisterInfoPtr(const ArchSpec &target_arch) { in GetRegisterInfoPtr()
30 static uint32_t GetRegisterInfoCount(const ArchSpec &target_arch) { in GetRegisterInfoCount()
40 static uint32_t GetUserRegisterInfoCount(const ArchSpec &target_arch) { in GetUserRegisterInfoCount()
51 const ArchSpec &target_arch) in RegisterContextLinux_s390x()
H A DRegisterContextNetBSD_x86_64.cpp93 GetRegisterInfo_i386(const lldb_private::ArchSpec &arch) { in GetRegisterInfo_i386()
117 PrivateGetRegisterInfoPtr(const lldb_private::ArchSpec &target_arch) { in PrivateGetRegisterInfoPtr()
130 PrivateGetRegisterCount(const lldb_private::ArchSpec &target_arch) { in PrivateGetRegisterCount()
147 PrivateGetUserRegisterCount(const lldb_private::ArchSpec &target_arch) { in PrivateGetUserRegisterCount()
160 const ArchSpec &target_arch) in RegisterContextNetBSD_x86_64()
H A DRegisterInfoInterface.h23 RegisterInfoInterface(const lldb_private::ArchSpec &target_arch) in RegisterInfoInterface()
40 const lldb_private::ArchSpec &GetTargetArchitecture() const { in GetTargetArchitecture()
45 lldb_private::ArchSpec m_target_arch;
/freebsd/contrib/llvm-project/lldb/source/Target/
H A DPlatform.cpp205 const ArchSpec &arch, ModuleSpec &module_spec) { in GetModuleSpec()
227 ArchSpec Platform::GetAugmentedArchSpec(Platform *platform, llvm::StringRef triple) { in GetAugmentedArchSpec()
251 ArchSpec arch(GetSystemArchitecture()); in GetStatus()
766 ArchSpec process_host_arch; in ResolveExecutable()
768 for (const ArchSpec &arch : GetSupportedArchitectures(process_host_arch)) { in ResolveExecutable()
816 const ArchSpec &Platform::GetSystemArchitecture() { in GetSystemArchitecture()
850 ArchSpec Platform::GetAugmentedArchSpec(llvm::StringRef triple) { in GetAugmentedArchSpec()
852 return ArchSpec(); in GetAugmentedArchSpec()
854 if (!ArchSpec::ContainsOnlyArch(normalized_triple)) in GetAugmentedArchSpec()
855 return ArchSpec(triple); in GetAugmentedArchSpec()
[all …]
/freebsd/contrib/llvm-project/lldb/source/Host/common/
H A DHostInfoBase.cpp51 ArchSpec m_host_arch_32;
52 ArchSpec m_host_arch_64;
96 const ArchSpec &HostInfoBase::GetArchitecture(ArchitectureKind arch_kind) { in GetArchitecture()
199 ArchSpec HostInfoBase::GetAugmentedArchSpec(llvm::StringRef triple) { in GetAugmentedArchSpec()
201 return ArchSpec(); in GetAugmentedArchSpec()
203 if (!ArchSpec::ContainsOnlyArch(normalized_triple)) in GetAugmentedArchSpec()
204 return ArchSpec(triple); in GetAugmentedArchSpec()
218 return ArchSpec(normalized_triple); in GetAugmentedArchSpec()
325 void HostInfoBase::ComputeHostArchitectureSupport(ArchSpec &arch_32, in ComputeHostArchitectureSupport()
326 ArchSpec &arch_64) { in ComputeHostArchitectureSupport()
/freebsd/contrib/llvm-project/lldb/source/Plugins/Instruction/LoongArch/
H A DEmulateInstructionLoongArch.h32 static bool SupportsThisArch(const ArchSpec &arch);
35 CreateInstance(const lldb_private::ArchSpec &arch, InstructionType inst_type);
42 EmulateInstructionLoongArch(const ArchSpec &arch) : EmulateInstruction(arch) { in EmulateInstructionLoongArch()
52 bool SetTargetTriple(const ArchSpec &arch) override;
55 bool TestEmulation(Stream &out_stream, ArchSpec &arch,
/freebsd/contrib/llvm-project/lldb/source/Plugins/Disassembler/LLVMC/
H A DDisassemblerLLVMC.cpp457 const ArchSpec &arch = disasm->GetArchitecture(); in Decode()
1449 DisassemblerLLVMC::DisassemblerLLVMC(const ArchSpec &arch, in DisassemblerLLVMC()
1475 ArchSpec thumb_arch(arch); in DisassemblerLLVMC()
1512 case ArchSpec::eCore_mips32: in DisassemblerLLVMC()
1513 case ArchSpec::eCore_mips32el: in DisassemblerLLVMC()
1516 case ArchSpec::eCore_mips32r2: in DisassemblerLLVMC()
1517 case ArchSpec::eCore_mips32r2el: in DisassemblerLLVMC()
1520 case ArchSpec::eCore_mips32r3: in DisassemblerLLVMC()
1521 case ArchSpec::eCore_mips32r3el: in DisassemblerLLVMC()
1524 case ArchSpec::eCore_mips32r5: in DisassemblerLLVMC()
[all …]
/freebsd/contrib/llvm-project/lldb/source/Plugins/Instruction/PPC64/
H A DEmulateInstructionPPC64.h21 EmulateInstructionPPC64(const ArchSpec &arch);
31 static EmulateInstruction *CreateInstance(const ArchSpec &arch,
50 bool SetTargetTriple(const ArchSpec &arch) override;
60 bool TestEmulation(Stream &out_stream, ArchSpec &arch, in TestEmulation()
/freebsd/contrib/llvm-project/lldb/include/lldb/
H A Dlldb-private-interfaces.h29 const ArchSpec &arch);
31 const ArchSpec &arch);
33 const ArchSpec &arch, const char *flavor, const char *cpu,
63 const ArchSpec &arch, InstructionType inst_type);
80 const ArchSpec *arch);
98 const FileSpec &dsym_bundle_fspec, const UUID *uuid, const ArchSpec *arch);
117 typedef UnwindAssembly *(*UnwindAssemblyCreateInstance)(const ArchSpec &arch);
/freebsd/contrib/llvm-project/lldb/source/Plugins/ABI/RISCV/
H A DABISysV_riscv.h62 lldb_private::ArchSpec arch = GetProcessSP()->GetTarget().GetArchitecture(); in CallFrameAddressIsValid()
64 if (arch_flags.Test(lldb_private::ArchSpec::eRISCV_rve)) in CallFrameAddressIsValid()
75 lldb_private::ArchSpec arch = GetProcessSP()->GetTarget().GetArchitecture(); in CodeAddressIsValid()
79 if (!arch_flags.Test(lldb_private::ArchSpec::eRISCV_rvc) && (pc & 2)) in CodeAddressIsValid()
102 const lldb_private::ArchSpec &arch);
/freebsd/contrib/llvm-project/lldb/source/Plugins/ObjectContainer/BSD-Archive/
H A DObjectContainerBSDArchive.h14 #include "lldb/Utility/ArchSpec.h"
113 Archive(const lldb_private::ArchSpec &arch,
124 const lldb_private::FileSpec &file, const lldb_private::ArchSpec &arch,
128 const lldb_private::FileSpec &file, const lldb_private::ArchSpec &arch,
151 const lldb_private::ArchSpec &GetArchitecture() const { return m_arch; }
153 void SetArchitecture(const lldb_private::ArchSpec &arch) { m_arch = arch; }
164 lldb_private::ArchSpec m_arch; in GetData()
/freebsd/contrib/llvm-project/lldb/source/Plugins/Platform/QemuUser/
H A DPlatformQemuUser.h35 std::vector<ArchSpec>
36 GetSupportedArchitectures(const ArchSpec &process_host_arch) override;
64 MmapArgList GetMmapArgumentList(const ArchSpec &arch, lldb::addr_t addr, in GetMmapArgumentList()
73 static lldb::PlatformSP CreateInstance(bool force, const ArchSpec *arch);
/freebsd/contrib/llvm-project/lldb/source/Plugins/Instruction/RISCV/
H A DEmulateInstructionRISCV.h70 static bool SupportsThisArch(const ArchSpec &arch);
73 CreateInstance(const lldb_private::ArchSpec &arch, InstructionType inst_type);
80 EmulateInstructionRISCV(const ArchSpec &arch) : EmulateInstruction(arch) {} in EmulateInstructionRISCV()
88 bool SetTargetTriple(const ArchSpec &arch) override;
92 bool TestEmulation(Stream &out_stream, ArchSpec &arch,

12345678910>>...13