Home
last modified time | relevance | path

Searched refs:ReadRegisterAsUnsigned (Results 1 – 23 of 23) sorted by relevance

/freebsd/contrib/llvm-project/lldb/source/Plugins/ABI/X86/
H A DABIMacOSX_i386.cpp296 thread.GetRegisterContext()->ReadRegisterAsUnsigned(eax_id, 0) & in GetReturnValueObjectImpl()
299 (thread.GetRegisterContext()->ReadRegisterAsUnsigned(edx_id, 0) & in GetReturnValueObjectImpl()
310 thread.GetRegisterContext()->ReadRegisterAsUnsigned(eax_id, 0) & in GetReturnValueObjectImpl()
314 thread.GetRegisterContext()->ReadRegisterAsUnsigned(eax_id, 0) & in GetReturnValueObjectImpl()
320 thread.GetRegisterContext()->ReadRegisterAsUnsigned(eax_id, 0) & in GetReturnValueObjectImpl()
324 thread.GetRegisterContext()->ReadRegisterAsUnsigned(eax_id, 0) & in GetReturnValueObjectImpl()
330 thread.GetRegisterContext()->ReadRegisterAsUnsigned(eax_id, 0) & in GetReturnValueObjectImpl()
334 thread.GetRegisterContext()->ReadRegisterAsUnsigned(eax_id, 0) & in GetReturnValueObjectImpl()
342 thread.GetRegisterContext()->ReadRegisterAsUnsigned(eax_id, 0) & in GetReturnValueObjectImpl()
H A DABISysV_i386.cpp385 thread.GetRegisterContext()->ReadRegisterAsUnsigned(eax_id, 0) & in GetReturnValueObjectSimple()
405 thread.GetRegisterContext()->ReadRegisterAsUnsigned(eax_id, 0) & in GetReturnValueObjectSimple()
408 (thread.GetRegisterContext()->ReadRegisterAsUnsigned(edx_id, 0) & in GetReturnValueObjectSimple()
460 thread.GetRegisterContext()->ReadRegisterAsUnsigned(eax_id, 0) & in GetReturnValueObjectSimple()
505 thread.GetRegisterContext()->ReadRegisterAsUnsigned(eax_id, 0) & in GetReturnValueObjectSimple()
614 thread.GetRegisterContext()->ReadRegisterAsUnsigned(eax_id, 0) & in GetReturnValueObjectImpl()
H A DABIWindows_x86_64.cpp215 scalar = thread.GetRegisterContext()->ReadRegisterAsUnsigned( in ReadIntegerArgument()
425 uint64_t raw_value = thread.GetRegisterContext()->ReadRegisterAsUnsigned( in GetReturnValueObjectSimple()
500 (uint64_t)thread.GetRegisterContext()->ReadRegisterAsUnsigned(rax_id, in GetReturnValueObjectSimple()
734 (uint64_t)thread.GetRegisterContext()->ReadRegisterAsUnsigned(rax_id, in GetReturnValueObjectImpl()
H A DABISysV_x86_64.cpp201 scalar = thread.GetRegisterContext()->ReadRegisterAsUnsigned( in ReadIntegerArgument()
419 uint64_t raw_value = thread.GetRegisterContext()->ReadRegisterAsUnsigned( in GetReturnValueObjectSimple()
495 (uint64_t)thread.GetRegisterContext()->ReadRegisterAsUnsigned(rax_id, in GetReturnValueObjectSimple()
852 (uint64_t)thread.GetRegisterContext()->ReadRegisterAsUnsigned(rax_id, in GetReturnValueObjectImpl()
/freebsd/contrib/llvm-project/lldb/source/Target/
H A DRegisterContext.cpp98 uint64_t pc = ReadRegisterAsUnsigned(reg, fail_value); in GetPC()
115 return ReadRegisterAsUnsigned(reg, fail_value); in GetThreadPointer()
161 return ReadRegisterAsUnsigned(reg, fail_value); in GetSP()
173 return ReadRegisterAsUnsigned(reg, fail_value); in GetFP()
185 return ReadRegisterAsUnsigned(reg, fail_value); in GetReturnAddress()
191 return ReadRegisterAsUnsigned(reg, fail_value); in GetFlags()
194 uint64_t RegisterContext::ReadRegisterAsUnsigned(uint32_t reg, in ReadRegisterAsUnsigned() function in RegisterContext
197 return ReadRegisterAsUnsigned(GetRegisterInfoAtIndex(reg), fail_value); in ReadRegisterAsUnsigned()
201 uint64_t RegisterContext::ReadRegisterAsUnsigned(const RegisterInfo *reg_info, in ReadRegisterAsUnsigned() function in RegisterContext
/freebsd/contrib/llvm-project/lldb/source/Host/common/
H A DNativeRegisterContext.cpp131 const uint64_t retval = ReadRegisterAsUnsigned(reg, fail_value); in GetPC()
152 return ReadRegisterAsUnsigned(reg, fail_value); in GetSP()
164 return ReadRegisterAsUnsigned(reg, fail_value); in GetFP()
176 return ReadRegisterAsUnsigned(reg, fail_value); in GetReturnAddress()
182 return ReadRegisterAsUnsigned(reg, fail_value); in GetFlags()
186 NativeRegisterContext::ReadRegisterAsUnsigned(uint32_t reg, in ReadRegisterAsUnsigned() function in NativeRegisterContext
189 return ReadRegisterAsUnsigned(GetRegisterInfoAtIndex(reg), fail_value); in ReadRegisterAsUnsigned()
194 NativeRegisterContext::ReadRegisterAsUnsigned(const RegisterInfo *reg_info, in ReadRegisterAsUnsigned() function in NativeRegisterContext
/freebsd/contrib/llvm-project/lldb/source/Plugins/ABI/Mips/
H A DABISysV_mips.cpp815 raw_value = reg_ctx->ReadRegisterAsUnsigned(r2_reg_info, 0) & UINT32_MAX; in GetReturnValueObjectImpl()
816 raw_value |= ((uint64_t)(reg_ctx->ReadRegisterAsUnsigned(r3_reg_info, 0) & in GetReturnValueObjectImpl()
827 reg_ctx->ReadRegisterAsUnsigned(r2_reg_info, 0) & UINT32_MAX); in GetReturnValueObjectImpl()
830 reg_ctx->ReadRegisterAsUnsigned(r2_reg_info, 0) & UINT32_MAX); in GetReturnValueObjectImpl()
835 reg_ctx->ReadRegisterAsUnsigned(r2_reg_info, 0) & UINT16_MAX); in GetReturnValueObjectImpl()
838 reg_ctx->ReadRegisterAsUnsigned(r2_reg_info, 0) & UINT16_MAX); in GetReturnValueObjectImpl()
843 reg_ctx->ReadRegisterAsUnsigned(r2_reg_info, 0) & UINT8_MAX); in GetReturnValueObjectImpl()
846 reg_ctx->ReadRegisterAsUnsigned(r2_reg_info, 0) & UINT8_MAX); in GetReturnValueObjectImpl()
851 thread.GetRegisterContext()->ReadRegisterAsUnsigned(r2_reg_info, 0) & in GetReturnValueObjectImpl()
857 uint64_t mem_address = reg_ctx->ReadRegisterAsUnsigned( in GetReturnValueObjectImpl()
[all …]
H A DABISysV_mips64.cpp773 uint64_t raw_value = reg_ctx->ReadRegisterAsUnsigned(r2_info, 0); in GetReturnValueObjectImpl()
816 uint64_t raw_value = reg_ctx->ReadRegisterAsUnsigned(r2_info, 0); in GetReturnValueObjectImpl()
830 result[1] = reg_ctx->ReadRegisterAsUnsigned(r3_info, 0); in GetReturnValueObjectImpl()
833 result[0] = reg_ctx->ReadRegisterAsUnsigned(r3_info, 0); in GetReturnValueObjectImpl()
1121 uint64_t mem_address = reg_ctx->ReadRegisterAsUnsigned( in GetReturnValueObjectImpl()
/freebsd/contrib/llvm-project/lldb/source/Plugins/ABI/ARM/
H A DABISysV_arm.cpp1403 const uint32_t curr_cpsr = reg_ctx->ReadRegisterAsUnsigned(cpsr_reg_info, 0); in PrepareTrivialCall()
1513 reg_ctx->ReadRegisterAsUnsigned(r0_reg_info, 0) & UINT32_MAX; in GetReturnValuePassedInMemory()
1578 raw_value = reg_ctx->ReadRegisterAsUnsigned(r0_reg_info, 0) & UINT32_MAX; in GetReturnValueObjectImpl()
1579 raw_value |= ((uint64_t)(reg_ctx->ReadRegisterAsUnsigned(r1_reg_info, 0) & in GetReturnValueObjectImpl()
1590 reg_ctx->ReadRegisterAsUnsigned(r0_reg_info, 0) & UINT32_MAX); in GetReturnValueObjectImpl()
1593 reg_ctx->ReadRegisterAsUnsigned(r0_reg_info, 0) & UINT32_MAX); in GetReturnValueObjectImpl()
1598 reg_ctx->ReadRegisterAsUnsigned(r0_reg_info, 0) & UINT16_MAX); in GetReturnValueObjectImpl()
1601 reg_ctx->ReadRegisterAsUnsigned(r0_reg_info, 0) & UINT16_MAX); in GetReturnValueObjectImpl()
1606 reg_ctx->ReadRegisterAsUnsigned(r0_reg_info, 0) & UINT8_MAX); in GetReturnValueObjectImpl()
1609 reg_ctx->ReadRegisterAsUnsigned(r0_reg_info, 0) & UINT8_MAX); in GetReturnValueObjectImpl()
[all …]
H A DABIMacOSX_arm.cpp1392 const uint32_t curr_cpsr = reg_ctx->ReadRegisterAsUnsigned(cpsr_reg_info, 0); in PrepareTrivialCall()
1630 raw_value = reg_ctx->ReadRegisterAsUnsigned(r0_reg_info, 0) & UINT32_MAX; in GetReturnValueObjectImpl()
1631 raw_value |= ((uint64_t)(reg_ctx->ReadRegisterAsUnsigned(r1_reg_info, 0) & in GetReturnValueObjectImpl()
1642 reg_ctx->ReadRegisterAsUnsigned(r0_reg_info, 0) & UINT32_MAX); in GetReturnValueObjectImpl()
1645 reg_ctx->ReadRegisterAsUnsigned(r0_reg_info, 0) & UINT32_MAX); in GetReturnValueObjectImpl()
1650 reg_ctx->ReadRegisterAsUnsigned(r0_reg_info, 0) & UINT16_MAX); in GetReturnValueObjectImpl()
1653 reg_ctx->ReadRegisterAsUnsigned(r0_reg_info, 0) & UINT16_MAX); in GetReturnValueObjectImpl()
1658 reg_ctx->ReadRegisterAsUnsigned(r0_reg_info, 0) & UINT8_MAX); in GetReturnValueObjectImpl()
1661 reg_ctx->ReadRegisterAsUnsigned(r0_reg_info, 0) & UINT8_MAX); in GetReturnValueObjectImpl()
1666 thread.GetRegisterContext()->ReadRegisterAsUnsigned(r0_reg_info, 0) & in GetReturnValueObjectImpl()
/freebsd/contrib/llvm-project/lldb/source/Plugins/Architecture/AArch64/
H A DArchitectureAArch64.cpp89 reg_context.ReadRegisterAsUnsigned(vg_reg_num, fail_value); in ReconfigureRegisterInfo()
99 reg_context.ReadRegisterAsUnsigned(svg_reg_num, fail_value); in ReconfigureRegisterInfo()
108 reg_context.ReadRegisterAsUnsigned(svg_reg_num, fail_value); in ReconfigureRegisterInfo()
/freebsd/contrib/llvm-project/lldb/source/Plugins/ABI/LoongArch/
H A DABISysV_loongarch.cpp394 raw_value = reg_ctx->ReadRegisterAsUnsigned(reg_info_a0, 0) & UINT32_MAX; in GetValObjFromIntRegs()
399 raw_value = reg_ctx->ReadRegisterAsUnsigned(reg_info_a0, 0) & UINT32_MAX; in GetValObjFromIntRegs()
401 (reg_ctx->ReadRegisterAsUnsigned(reg_info_a1, 0) & UINT32_MAX) << 32U; in GetValObjFromIntRegs()
403 raw_value = reg_ctx->ReadRegisterAsUnsigned(reg_info_a0, 0); in GetValObjFromIntRegs()
468 raw_value = reg_ctx->ReadRegisterAsUnsigned(reg_info_fa0, 0); in GetValObjFromFPRegs()
507 value.GetScalar() = reg_ctx->ReadRegisterAsUnsigned(reg_info_a0, 0); in GetReturnValueObjectSimple()
/freebsd/contrib/llvm-project/lldb/source/Plugins/ABI/ARC/
H A DABISysV_arc.cpp150 const auto reg_value = reg_ctx.ReadRegisterAsUnsigned(rf_build_reg, in IsRegisterFileReduced()
435 reg_ctx->ReadRegisterAsUnsigned(reg_info_r0, 0) & UINT32_MAX; in ReadRawValue()
438 raw_value |= (reg_ctx->ReadRegisterAsUnsigned( in ReadRawValue()
477 value.GetScalar() = reg_ctx->ReadRegisterAsUnsigned(reg_info_r0, 0); in GetReturnValueObjectSimple()
543 value.GetScalar() = reg_ctx->ReadRegisterAsUnsigned(reg_info_r0, 0); in GetReturnValueObjectImpl()
/freebsd/contrib/llvm-project/lldb/include/lldb/Target/
H A DRegisterContext.h200 uint64_t ReadRegisterAsUnsigned(uint32_t reg, uint64_t fail_value);
202 uint64_t ReadRegisterAsUnsigned(const RegisterInfo *reg_info,
/freebsd/contrib/llvm-project/lldb/source/Plugins/ABI/RISCV/
H A DABISysV_riscv.cpp506 raw_value = reg_ctx->ReadRegisterAsUnsigned(reg_info_a0, 0) & UINT32_MAX; in GetValObjFromIntRegs()
511 raw_value = reg_ctx->ReadRegisterAsUnsigned(reg_info_a0, 0) & UINT32_MAX; in GetValObjFromIntRegs()
513 (reg_ctx->ReadRegisterAsUnsigned(reg_info_a1, 0) & UINT32_MAX) << 32U; in GetValObjFromIntRegs()
515 raw_value = reg_ctx->ReadRegisterAsUnsigned(reg_info_a0, 0); in GetValObjFromIntRegs()
597 raw_value = reg_ctx->ReadRegisterAsUnsigned(reg_info_fa0, 0); in GetValObjFromFPRegs()
639 value.GetScalar() = reg_ctx->ReadRegisterAsUnsigned(reg_info_a0, 0); in GetReturnValueObjectSimple()
694 value.GetScalar() = reg_ctx->ReadRegisterAsUnsigned(reg_info_a0, 0); in GetReturnValueObjectImpl()
/freebsd/contrib/llvm-project/lldb/include/lldb/Host/common/
H A DNativeRegisterContext.h152 lldb::addr_t ReadRegisterAsUnsigned(uint32_t reg, lldb::addr_t fail_value);
154 lldb::addr_t ReadRegisterAsUnsigned(const RegisterInfo *reg_info,
/freebsd/contrib/llvm-project/lldb/source/Plugins/ABI/AArch64/
H A DABISysV_arm64.cpp73 uint64_t gcs_features_enabled = reg_ctx->ReadRegisterAsUnsigned( in PushToLinuxGuardedControlStack()
89 reg_ctx->ReadRegisterAsUnsigned(gcspr_el0_info, LLDB_INVALID_ADDRESS); in PushToLinuxGuardedControlStack()
598 reg_ctx->ReadRegisterAsUnsigned(reg_info, LLDB_INVALID_ADDRESS); in LoadValueFromConsecutiveGPRRegisters()
650 thread.GetRegisterContext()->ReadRegisterAsUnsigned(x0_reg_info, in GetReturnValueObjectImpl()
827 lldb::addr_t mask_reg_val = reg_ctx_sp->ReadRegisterAsUnsigned( in ReadLinuxProcessAddressMask()
H A DABIMacOSX_arm64.cpp559 reg_ctx->ReadRegisterAsUnsigned(reg_info, LLDB_INVALID_ADDRESS); in LoadValueFromConsecutiveGPRRegisters()
610 thread.GetRegisterContext()->ReadRegisterAsUnsigned(x0_reg_info, in GetReturnValueObjectImpl()
/freebsd/contrib/llvm-project/lldb/source/Plugins/ABI/SystemZ/
H A DABISysV_s390x.cpp290 scalar = thread.GetRegisterContext()->ReadRegisterAsUnsigned( in ReadIntegerArgument()
503 uint64_t raw_value = thread.GetRegisterContext()->ReadRegisterAsUnsigned( in GetReturnValueObjectSimple()
577 (uint64_t)thread.GetRegisterContext()->ReadRegisterAsUnsigned(r2_id, 0); in GetReturnValueObjectSimple()
613 (uint64_t)thread.GetRegisterContext()->ReadRegisterAsUnsigned(r2_id, 0); in GetReturnValueObjectImpl()
/freebsd/contrib/llvm-project/lldb/source/Plugins/ABI/PowerPC/
H A DABISysV_ppc.cpp321 scalar = thread.GetRegisterContext()->ReadRegisterAsUnsigned( in ReadIntegerArgument()
531 uint64_t raw_value = thread.GetRegisterContext()->ReadRegisterAsUnsigned( in GetReturnValueObjectSimple()
603 (uint64_t)thread.GetRegisterContext()->ReadRegisterAsUnsigned(r3_id, 0); in GetReturnValueObjectSimple()
852 (uint64_t)thread.GetRegisterContext()->ReadRegisterAsUnsigned(r3_id, in GetReturnValueObjectImpl()
H A DABISysV_ppc64.cpp160 reg_value = reg_ctx->ReadRegisterAsUnsigned(r2_reg_info, 0); in PrepareTrivialCall()
176 reg_value = reg_ctx->ReadRegisterAsUnsigned(sp_reg_info, 0); in PrepareTrivialCall()
209 scalar = thread.GetRegisterContext()->ReadRegisterAsUnsigned( in ReadIntegerArgument()
/freebsd/contrib/llvm-project/lldb/source/Plugins/InstrumentationRuntime/MainThreadChecker/
H A DInstrumentationRuntimeMainThreadChecker.cpp100 uint64_t apiname_ptr = regctx_sp->ReadRegisterAsUnsigned(reginfo, 0); in RetrieveReportData()
/freebsd/contrib/llvm-project/lldb/source/Plugins/Process/gdb-remote/
H A DGDBRemoteRegisterContext.cpp