/external/llvm-project/lldb/source/Plugins/Process/Linux/ |
D | NativeRegisterContextLinux_x86_64.cpp | 300 m_reg_info(), m_gpr_x86_64() { in NativeRegisterContextLinux_x86_64() 304 m_reg_info.num_registers = k_num_registers_i386; in NativeRegisterContextLinux_x86_64() 305 m_reg_info.num_gpr_registers = k_num_gpr_registers_i386; in NativeRegisterContextLinux_x86_64() 306 m_reg_info.num_fpr_registers = k_num_fpr_registers_i386; in NativeRegisterContextLinux_x86_64() 307 m_reg_info.num_avx_registers = k_num_avx_registers_i386; in NativeRegisterContextLinux_x86_64() 308 m_reg_info.num_mpx_registers = k_num_mpx_registers_i386; in NativeRegisterContextLinux_x86_64() 309 m_reg_info.last_gpr = k_last_gpr_i386; in NativeRegisterContextLinux_x86_64() 310 m_reg_info.first_fpr = k_first_fpr_i386; in NativeRegisterContextLinux_x86_64() 311 m_reg_info.last_fpr = k_last_fpr_i386; in NativeRegisterContextLinux_x86_64() 312 m_reg_info.first_st = lldb_st0_i386; in NativeRegisterContextLinux_x86_64() [all …]
|
D | NativeRegisterContextLinux_mips64.cpp | 112 m_reg_info.num_registers = k_num_registers_mips; in NativeRegisterContextLinux_mips64() 113 m_reg_info.num_gpr_registers = k_num_gpr_registers_mips; in NativeRegisterContextLinux_mips64() 114 m_reg_info.num_fpr_registers = k_num_fpr_registers_mips; in NativeRegisterContextLinux_mips64() 115 m_reg_info.last_gpr = k_last_gpr_mips; in NativeRegisterContextLinux_mips64() 116 m_reg_info.first_fpr = k_first_fpr_mips; in NativeRegisterContextLinux_mips64() 117 m_reg_info.last_fpr = k_last_fpr_mips; in NativeRegisterContextLinux_mips64() 118 m_reg_info.first_msa = k_first_msa_mips; in NativeRegisterContextLinux_mips64() 119 m_reg_info.last_msa = k_last_msa_mips; in NativeRegisterContextLinux_mips64() 123 m_reg_info.num_registers = k_num_registers_mips64; in NativeRegisterContextLinux_mips64() 124 m_reg_info.num_gpr_registers = k_num_gpr_registers_mips64; in NativeRegisterContextLinux_mips64() [all …]
|
D | NativeRegisterContextLinux_s390x.cpp | 117 m_reg_info.num_registers = k_num_registers_s390x; in NativeRegisterContextLinux_s390x() 118 m_reg_info.num_gpr_registers = k_num_gpr_registers_s390x; in NativeRegisterContextLinux_s390x() 119 m_reg_info.num_fpr_registers = k_num_fpr_registers_s390x; in NativeRegisterContextLinux_s390x() 120 m_reg_info.last_gpr = k_last_gpr_s390x; in NativeRegisterContextLinux_s390x() 121 m_reg_info.first_fpr = k_first_fpr_s390x; in NativeRegisterContextLinux_s390x() 122 m_reg_info.last_fpr = k_last_fpr_s390x; in NativeRegisterContextLinux_s390x() 177 return reg_index <= m_reg_info.last_gpr || reg_index == lldb_orig_r2_s390x; in IsGPR() 181 return (m_reg_info.first_fpr <= reg_index && in IsFPR() 182 reg_index <= m_reg_info.last_fpr); in IsFPR()
|
D | NativeRegisterContextLinux_x86_64.h | 104 RegInfo m_reg_info; variable
|
D | NativeRegisterContextLinux_s390x.h | 96 RegInfo m_reg_info; variable
|
D | NativeRegisterContextLinux_mips64.h | 121 RegInfo m_reg_info; variable
|
/external/llvm-project/lldb/source/Plugins/Process/FreeBSD/ |
D | RegisterContextPOSIXProcessMonitor_x86.cpp | 110 if (reg >= m_reg_info.first_dr) in ReadRegister() 162 if (reg >= m_reg_info.first_dr) in WriteRegister() 213 if (reg >= m_reg_info.first_st && reg <= m_reg_info.last_st) in ReadRegister() 214 value.SetBytes(m_fpr.fxsave.stmm[reg - m_reg_info.first_st].bytes, in ReadRegister() 216 if (reg >= m_reg_info.first_mm && reg <= m_reg_info.last_mm) in ReadRegister() 217 value.SetBytes(m_fpr.fxsave.stmm[reg - m_reg_info.first_mm].bytes, in ReadRegister() 219 if (reg >= m_reg_info.first_xmm && reg <= m_reg_info.last_xmm) in ReadRegister() 220 value.SetBytes(m_fpr.fxsave.xmm[reg - m_reg_info.first_xmm].bytes, in ReadRegister() 222 if (reg >= m_reg_info.first_ymm && reg <= m_reg_info.last_ymm) { in ReadRegister() 226 value.SetBytes(m_ymm_set.ymm[reg - m_reg_info.first_ymm].bytes, in ReadRegister() [all …]
|
/external/llvm-project/lldb/source/Plugins/Process/Utility/ |
D | RegisterContextPOSIX_x86.cpp | 377 return reg <= m_reg_info.last_gpr; // GPR's come first. in IsGPR() 381 return (m_reg_info.first_fpr <= reg && reg <= m_reg_info.last_fpr); in IsFPR() 385 return (m_reg_info.first_ymm <= reg && reg <= m_reg_info.last_ymm); in IsAVX() 404 m_reg_info.num_registers = k_num_registers_i386; in RegisterContextPOSIX_x86() 405 m_reg_info.num_gpr_registers = k_num_gpr_registers_i386; in RegisterContextPOSIX_x86() 406 m_reg_info.num_fpr_registers = k_num_fpr_registers_i386; in RegisterContextPOSIX_x86() 407 m_reg_info.num_avx_registers = k_num_avx_registers_i386; in RegisterContextPOSIX_x86() 408 m_reg_info.last_gpr = k_last_gpr_i386; in RegisterContextPOSIX_x86() 409 m_reg_info.first_fpr = k_first_fpr_i386; in RegisterContextPOSIX_x86() 410 m_reg_info.last_fpr = k_last_fpr_i386; in RegisterContextPOSIX_x86() [all …]
|
D | RegisterContextPOSIX_s390x.cpp | 73 return reg <= m_reg_info.last_gpr; // GPRs come first. in IsGPR() 77 return (m_reg_info.first_fpr <= reg && reg <= m_reg_info.last_fpr); in IsFPR() 88 m_reg_info.num_registers = k_num_registers_s390x; in RegisterContextPOSIX_s390x() 89 m_reg_info.num_gpr_registers = k_num_gpr_registers_s390x; in RegisterContextPOSIX_s390x() 90 m_reg_info.num_fpr_registers = k_num_fpr_registers_s390x; in RegisterContextPOSIX_s390x() 91 m_reg_info.last_gpr = k_last_gpr_s390x; in RegisterContextPOSIX_s390x() 92 m_reg_info.first_fpr = k_first_fpr_s390x; in RegisterContextPOSIX_s390x() 93 m_reg_info.last_fpr = k_last_fpr_s390x; in RegisterContextPOSIX_s390x() 113 if (reg < m_reg_info.num_registers) in GetRegisterInfoAtIndex() 120 return m_reg_info.num_registers; in GetRegisterCount() [all …]
|
D | RegisterContextPOSIX_s390x.h | 55 RegInfo m_reg_info; variable
|
D | RegisterContextPOSIX_x86.h | 179 RegInfo m_reg_info; variable
|
/external/llvm-project/lldb/source/Core/ |
D | ValueObjectRegister.cpp | 161 m_reg_info = *reg_info; in ConstructObject() 172 : ValueObject(parent), m_reg_ctx_sp(reg_ctx_sp), m_reg_info(), in ValueObjectRegister() 190 : ValueObject(exe_scope, manager), m_reg_ctx_sp(reg_ctx), m_reg_info(), in ValueObjectRegister() 212 m_reg_info.encoding, m_reg_info.byte_size * 8); in GetCompilerTypeImpl() 233 return m_reg_info.byte_size; in GetByteSize() 247 if (m_reg_ctx_sp->ReadRegister(&m_reg_info, m_reg_value)) { in UpdateValue() 253 (void *)&m_reg_info); in UpdateValue() 272 m_reg_value.SetValueFromString(&m_reg_info, llvm::StringRef(value_str)); in SetValueFromCString() 274 if (m_reg_ctx_sp->WriteRegister(&m_reg_info, m_reg_value)) { in SetValueFromCString() 284 error = m_reg_value.SetValueFromData(&m_reg_info, data, 0, false); in SetData() [all …]
|
/external/llvm-project/lldb/source/Plugins/Instruction/MIPS/ |
D | EmulateInstructionMIPS.cpp | 149 m_reg_info.reset(target->createMCRegInfo(triple.getTriple())); in EmulateInstructionMIPS() 150 assert(m_reg_info.get()); in EmulateInstructionMIPS() 157 target->createMCAsmInfo(*m_reg_info, triple.getTriple(), MCOptions)); in EmulateInstructionMIPS() 163 m_reg_info.get(), nullptr); in EmulateInstructionMIPS() 1192 dst = m_reg_info->getEncodingValue(insn.getOperand(0).getReg()); in Emulate_ADDiu() 1193 src = m_reg_info->getEncodingValue(insn.getOperand(1).getReg()); in Emulate_ADDiu() 1245 src = m_reg_info->getEncodingValue(insn.getOperand(0).getReg()); in Emulate_SW() 1246 base = m_reg_info->getEncodingValue(insn.getOperand(1).getReg()); in Emulate_SW() 1305 src = m_reg_info->getEncodingValue(insn.getOperand(0).getReg()); in Emulate_LW() 1306 base = m_reg_info->getEncodingValue(insn.getOperand(1).getReg()); in Emulate_LW() [all …]
|
D | EmulateInstructionMIPS.h | 213 std::unique_ptr<llvm::MCRegisterInfo> m_reg_info; variable
|
/external/llvm-project/lldb/source/Plugins/Instruction/MIPS64/ |
D | EmulateInstructionMIPS64.cpp | 153 m_reg_info.reset(target->createMCRegInfo(triple.getTriple())); in EmulateInstructionMIPS64() 154 assert(m_reg_info.get()); in EmulateInstructionMIPS64() 161 target->createMCAsmInfo(*m_reg_info, triple.getTriple(), MCOptions)); in EmulateInstructionMIPS64() 167 m_reg_info.get(), nullptr); in EmulateInstructionMIPS64() 1086 dst = m_reg_info->getEncodingValue(insn.getOperand(0).getReg()); in Emulate_DADDiu() 1087 src = m_reg_info->getEncodingValue(insn.getOperand(1).getReg()); in Emulate_DADDiu() 1151 src = m_reg_info->getEncodingValue(insn.getOperand(0).getReg()); in Emulate_SD() 1152 base = m_reg_info->getEncodingValue(insn.getOperand(1).getReg()); in Emulate_SD() 1204 src = m_reg_info->getEncodingValue(insn.getOperand(0).getReg()); in Emulate_LD() 1205 base = m_reg_info->getEncodingValue(insn.getOperand(1).getReg()); in Emulate_LD() [all …]
|
D | EmulateInstructionMIPS64.h | 176 std::unique_ptr<llvm::MCRegisterInfo> m_reg_info; variable
|
/external/llvm-project/lldb/source/Plugins/Process/gdb-remote/ |
D | GDBRemoteRegisterContext.cpp | 36 : RegisterContext(thread, concrete_frame_idx), m_reg_info(reg_info), in GDBRemoteRegisterContext() 65 return m_reg_info.GetNumRegisters(); in GetRegisterCount() 70 RegisterInfo *reg_info = m_reg_info.GetRegisterInfoAtIndex(reg); in GetRegisterInfoAtIndex() 81 return m_reg_info.GetNumRegisterSets(); in GetRegisterSetCount() 85 return m_reg_info.GetRegisterSet(reg_set); in GetRegisterSet() 212 const int regcount = m_reg_info.GetNumRegisters(); in ReadRegisterBytes() 214 struct RegisterInfo *reginfo = m_reg_info.GetRegisterInfoAtIndex(i); in ReadRegisterBytes() 509 m_reg_data.GetDataStart(), m_reg_info.GetRegisterDataByteSize()); in ReadAllRegisterValues() 711 return m_reg_info.ConvertRegisterKindToRegisterNumber(kind, num); in ConvertRegisterKindToRegisterNumber()
|
D | GDBRemoteRegisterContext.h | 109 GDBRemoteDynamicRegisterInfo &m_reg_info; variable
|
/external/llvm-project/lldb/include/lldb/Core/ |
D | ValueObjectRegister.h | 116 RegisterInfo m_reg_info; variable
|
/external/llvm-project/lldb/examples/summaries/ |
D | lldb | 8 type summary add -w lldb lldb_private::ValueObjectRegister -s "${var.m_reg_info…
|