| /openbsd/src/gnu/llvm/lldb/source/Plugins/Process/Linux/ |
| D | NativeRegisterContextLinux_x86_64.cpp | 568 uint32_t reg_index) { in UpdateXSTATEforWrite() argument 570 if (IsFPR(reg_index)) { in UpdateXSTATEforWrite() 574 } else if (IsAVX(reg_index)) { in UpdateXSTATEforWrite() 577 } else if (IsMPX(reg_index)) { in UpdateXSTATEforWrite() 587 const uint32_t reg_index = reg_info->kinds[lldb::eRegisterKindLLDB]; in WriteRegister() local 588 if (reg_index == LLDB_INVALID_REGNUM) in WriteRegister() 593 UpdateXSTATEforWrite(reg_index); in WriteRegister() 595 if (IsGPR(reg_index) || IsDR(reg_index)) in WriteRegister() 596 return WriteRegisterRaw(reg_index, reg_value); in WriteRegister() 598 if (IsFPR(reg_index) || IsAVX(reg_index) || IsMPX(reg_index)) { in WriteRegister() [all …]
|
| D | NativeRegisterContextLinux_x86_64.h | 64 uint32_t GetPtraceOffset(uint32_t reg_index) override; 114 bool IsGPR(uint32_t reg_index) const; 116 bool IsFPR(uint32_t reg_index) const; 118 bool IsDR(uint32_t reg_index) const; 120 bool CopyXSTATEtoYMM(uint32_t reg_index, lldb::ByteOrder byte_order); 124 bool IsAVX(uint32_t reg_index) const; 130 bool IsMPX(uint32_t reg_index) const; 132 void UpdateXSTATEforWrite(uint32_t reg_index);
|
| D | NativeRegisterContextLinux.cpp | 27 Status NativeRegisterContextLinux::ReadRegisterRaw(uint32_t reg_index, in ReadRegisterRaw() argument 29 const RegisterInfo *const reg_info = GetRegisterInfoAtIndex(reg_index); in ReadRegisterRaw() 31 return Status("register %" PRIu32 " not found", reg_index); in ReadRegisterRaw() 33 return DoReadRegisterValue(GetPtraceOffset(reg_index), reg_info->name, in ReadRegisterRaw() 38 NativeRegisterContextLinux::WriteRegisterRaw(uint32_t reg_index, in WriteRegisterRaw() argument 40 uint32_t reg_to_write = reg_index; in WriteRegisterRaw() 44 const RegisterInfo *reg_info = GetRegisterInfoAtIndex(reg_index); in WriteRegisterRaw() 93 return DoWriteRegisterValue(GetPtraceOffset(reg_index), reg_info->name, in WriteRegisterRaw()
|
| D | NativeRegisterContextLinux.h | 94 virtual Status ReadRegisterRaw(uint32_t reg_index, RegisterValue ®_value); 96 virtual Status WriteRegisterRaw(uint32_t reg_index, 123 virtual uint32_t GetPtraceOffset(uint32_t reg_index) { in GetPtraceOffset() argument 124 return GetRegisterInfoAtIndex(reg_index)->byte_offset; in GetPtraceOffset()
|
| D | NativeRegisterContextLinux_s390x.cpp | 178 bool NativeRegisterContextLinux_s390x::IsGPR(uint32_t reg_index) const { in IsGPR() 181 return reg_index <= m_reg_info.last_gpr || reg_index == lldb_orig_r2_s390x; in IsGPR() 184 bool NativeRegisterContextLinux_s390x::IsFPR(uint32_t reg_index) const { in IsFPR() 185 return (m_reg_info.first_fpr <= reg_index && in IsFPR() 186 reg_index <= m_reg_info.last_fpr); in IsFPR()
|
| /openbsd/src/gnu/llvm/lldb/source/Plugins/Process/Utility/ |
| D | RegisterInfoPOSIX_riscv64.cpp | 128 uint32_t reg_index) const { in GetRegisterSetFromRegisterIndex() 130 if (reg_index >= gpr_first_riscv && reg_index <= gpr_last_riscv) in GetRegisterSetFromRegisterIndex() 132 if (reg_index >= fpr_first_riscv && reg_index <= fpr_last_riscv) in GetRegisterSetFromRegisterIndex()
|
| D | NativeRegisterContextRegisterInfo.cpp | 32 uint32_t reg_index) const { in GetRegisterInfoAtIndex() 33 if (reg_index <= GetRegisterCount()) in GetRegisterInfoAtIndex() 34 return m_register_info_interface_up->GetRegisterInfo() + reg_index; in GetRegisterInfoAtIndex()
|
| D | RegisterInfoPOSIX_loongarch64.cpp | 144 uint32_t reg_index) const { in GetRegisterSetFromRegisterIndex() 146 if (reg_index >= gpr_first_loongarch && reg_index <= gpr_last_loongarch) in GetRegisterSetFromRegisterIndex() 148 if (reg_index >= fpr_first_loongarch && reg_index <= fpr_last_loongarch) in GetRegisterSetFromRegisterIndex()
|
| D | RegisterInfos_i386.h | 26 #define YMM_OFFSET(reg_index) \ argument 30 (32 * reg_index)) 32 #define BNDR_OFFSET(reg_index) \ argument 35 LLVM_EXTENSION offsetof(XSAVE, mpxr[reg_index])) 37 #define BNDC_OFFSET(reg_index) \ argument 40 LLVM_EXTENSION offsetof(XSAVE, mpxc[reg_index]))
|
| D | RegisterContextOpenBSD_i386.cpp | 51 #define DR_OFFSET(reg_index) (LLVM_EXTENSION offsetof(dbreg, dr[reg_index])) argument
|
| D | RegisterContextFreeBSD_i386.cpp | 55 #define DR_OFFSET(reg_index) \ argument 57 LLVM_EXTENSION offsetof(DBG, dr[reg_index]))
|
| D | RegisterInfos_x86_64.h | 23 #define YMM_OFFSET(reg_index) \ argument 26 LLVM_EXTENSION offsetof(XSAVE, ymmh[0]) + (32 * reg_index)) 31 #define BNDR_OFFSET(reg_index) \ argument 34 LLVM_EXTENSION offsetof(XSAVE, mpxr[reg_index]) + GDB_REMOTE_OFFSET) 36 #define BNDC_OFFSET(reg_index) \ argument 39 LLVM_EXTENSION offsetof(XSAVE, mpxc[reg_index]) + GDB_REMOTE_OFFSET) 372 #define UPDATE_DR_INFO(reg_index) \ argument 374 g_register_infos[lldb_dr##reg_index##_i386].byte_offset = \ 375 DR_OFFSET(reg_index); \
|
| D | RegisterInfoPOSIX_arm.cpp | 176 uint32_t reg_index) const { in GetRegisterSetFromRegisterIndex() 177 if (reg_index <= gpr_cpsr) in GetRegisterSetFromRegisterIndex() 179 if (reg_index <= fpu_q15) in GetRegisterSetFromRegisterIndex()
|
| D | RegisterContextNetBSD_i386.cpp | 68 #define DR_OFFSET(reg_index) \ argument 69 (LLVM_EXTENSION offsetof(UserArea, u_debugreg[reg_index]))
|
| D | RegisterContextOpenBSD_x86_64.cpp | 59 #define DR_OFFSET(reg_index) (LLVM_EXTENSION offsetof(DBG, dr[reg_index])) argument
|
| /openbsd/src/gnu/llvm/lldb/source/Plugins/Process/Windows/Common/ |
| D | NativeRegisterContextWindows_x86_64.h | 74 bool IsGPR(uint32_t reg_index) const; 75 bool IsFPR(uint32_t reg_index) const; 76 bool IsDR(uint32_t reg_index) const;
|
| D | NativeRegisterContextWindows_x86_64.cpp | 116 bool NativeRegisterContextWindows_x86_64::IsGPR(uint32_t reg_index) const { in IsGPR() 117 return (reg_index >= k_first_gpr_x86_64 && reg_index < k_first_alias_x86_64); in IsGPR() 120 bool NativeRegisterContextWindows_x86_64::IsFPR(uint32_t reg_index) const { in IsFPR() 121 return (reg_index >= lldb_xmm0_x86_64 && reg_index <= k_last_fpr_x86_64); in IsFPR() 124 bool NativeRegisterContextWindows_x86_64::IsDR(uint32_t reg_index) const { in IsDR() 125 return (reg_index >= lldb_dr0_x86_64 && reg_index <= lldb_dr7_x86_64); in IsDR()
|
| D | NativeRegisterContextWindows_WoW64.cpp | 94 bool NativeRegisterContextWindows_WoW64::IsGPR(uint32_t reg_index) const { in IsGPR() 95 return (reg_index >= k_first_gpr_i386 && reg_index < k_first_alias_i386); in IsGPR() 98 bool NativeRegisterContextWindows_WoW64::IsDR(uint32_t reg_index) const { in IsDR() 99 return (reg_index >= lldb_dr0_i386 && reg_index <= lldb_dr7_i386); in IsDR()
|
| D | NativeRegisterContextWindows_WoW64.h | 70 bool IsGPR(uint32_t reg_index) const; 71 bool IsDR(uint32_t reg_index) const;
|
| D | NativeRegisterContextWindows_arm.h | 72 bool IsGPR(uint32_t reg_index) const; 74 bool IsFPR(uint32_t reg_index) const;
|
| D | NativeRegisterContextWindows_arm64.h | 72 bool IsGPR(uint32_t reg_index) const; 74 bool IsFPR(uint32_t reg_index) const;
|
| D | NativeRegisterContextWindows_i386.h | 70 bool IsGPR(uint32_t reg_index) const; 71 bool IsDR(uint32_t reg_index) const;
|
| D | NativeRegisterContextWindows_arm.cpp | 134 bool NativeRegisterContextWindows_arm::IsGPR(uint32_t reg_index) const { in IsGPR() 135 return (reg_index >= k_first_gpr_arm && reg_index <= k_last_gpr_arm); in IsGPR() 138 bool NativeRegisterContextWindows_arm::IsFPR(uint32_t reg_index) const { in IsFPR() 139 return (reg_index >= k_first_fpr_arm && reg_index <= k_last_fpr_arm); in IsFPR()
|
| /openbsd/src/gnu/llvm/lldb/packages/Python/lldbsuite/test/tools/lldb-server/ |
| D | gdbremote_testcase.py | 674 reg_index = 0 676 reg_info["lldb_register_index"] = reg_index 677 reg_index += 1 1151 reg_index = reg_info["lldb_register_index"] 1152 self.assertIsNotNone(reg_index) 1160 reg_index, thread_id) 1162 p_request = "read packet: $p{:x}#00".format(reg_index) 1187 reg_index, pack_register_hex( 1191 reg_index, pack_register_hex( 1268 reg_index = reg_info.get("lldb_register_index") [all …]
|
| /openbsd/src/sys/dev/pci/drm/amd/amdgpu/ |
| D | amdgpu_lsdma.c | 30 uint32_t reg_index, uint32_t reg_val, in amdgpu_lsdma_wait_for() argument 37 val = RREG32(reg_index); in amdgpu_lsdma_wait_for()
|