Lines Matching refs:reg_ctx

101   RegisterContext *reg_ctx = thread.GetRegisterContext().get();  in PrepareTrivialCall()  local
102 if (!reg_ctx) in PrepareTrivialCall()
111 reg_info = reg_ctx->GetRegisterInfo(eRegisterKindGeneric, in PrepareTrivialCall()
115 if (!reg_ctx->WriteRegisterFromUnsigned(reg_info, args[i])) in PrepareTrivialCall()
131 reg_ctx->GetRegisterInfo(eRegisterKindGeneric, LLDB_REGNUM_GENERIC_PC); in PrepareTrivialCall()
133 reg_ctx->GetRegisterInfo(eRegisterKindGeneric, LLDB_REGNUM_GENERIC_SP); in PrepareTrivialCall()
136 reg_ctx->GetRegisterInfo(eRegisterKindGeneric, LLDB_REGNUM_GENERIC_RA); in PrepareTrivialCall()
137 const RegisterInfo *r2_reg_info = reg_ctx->GetRegisterInfoAtIndex(2); in PrepareTrivialCall()
138 const RegisterInfo *r12_reg_info = reg_ctx->GetRegisterInfoAtIndex(12); in PrepareTrivialCall()
150 if (!reg_ctx->WriteRegisterFromUnsigned(lr_reg_info, return_addr)) in PrepareTrivialCall()
155 if (!reg_ctx->WriteRegisterFromUnsigned(r12_reg_info, func_addr)) in PrepareTrivialCall()
159 reg_value = reg_ctx->ReadRegisterAsUnsigned(r2_reg_info, 0); in PrepareTrivialCall()
175 reg_value = reg_ctx->ReadRegisterAsUnsigned(sp_reg_info, 0); in PrepareTrivialCall()
186 if (!reg_ctx->WriteRegisterFromUnsigned(sp_reg_info, sp)) in PrepareTrivialCall()
193 if (!reg_ctx->WriteRegisterFromUnsigned(pc_reg_info, func_addr)) in PrepareTrivialCall()
232 RegisterContext *reg_ctx = thread.GetRegisterContext().get(); in GetArgumentValues() local
234 if (!reg_ctx) in GetArgumentValues()
240 addr_t sp = reg_ctx->GetSP(0); in GetArgumentValues()
257 reg_ctx in GetArgumentValues()
313 RegisterContext *reg_ctx = thread->GetRegisterContext().get(); in SetReturnValueObject() local
318 const RegisterInfo *reg_info = reg_ctx->GetRegisterInfoByName("r3", 0); in SetReturnValueObject()
333 if (reg_ctx->WriteRegisterFromUnsigned(reg_info, raw_value)) in SetReturnValueObject()
410 Register(Type ty, uint32_t index, uint32_t offs, RegisterContext *reg_ctx, in Register() argument
413 m_avail(sizeof(uint64_t) - m_offs), m_type(ty), m_reg_ctx(reg_ctx), in Register()
417 Register(Type ty, uint32_t index, RegisterContext *reg_ctx, in Register() argument
419 : Register(ty, index, 0, reg_ctx, byte_order) {} in Register()
422 Register(uint32_t offs, RegisterContext *reg_ctx, ByteOrder byte_order) in Register() argument
423 : Register(GPR, offs / sizeof(uint64_t), offs, reg_ctx, byte_order) {} in Register()
501 RegisterContext *reg_ctx = thread.GetRegisterContext().get(); in Create() local
502 if (!reg_ctx) in Create()
512 return ReturnValueExtractor(thread, type, reg_ctx, process_sp); in Create()
568 RegisterContext *reg_ctx, ProcessSP process_sp) in ReturnValueExtractor() argument
571 m_data_up(new DataBufferHeap(m_byte_size, 0)), m_reg_ctx(reg_ctx), in ReturnValueExtractor()