Home
last modified time | relevance | path

Searched refs:GetInsnAddr (Results 1 – 13 of 13) sorted by relevance

/frameworks/libs/binary_translation/runtime/
Dexecute_guest.cc39 auto pc = GetInsnAddr(GetCPUState(*state)); in ExecuteGuest()
44 if (pc != GetInsnAddr(GetCPUState(*state))) { in ExecuteGuest()
47 ToHostAddr<void>(GetInsnAddr(GetCPUState(*state)))); in ExecuteGuest()
48 pc = GetInsnAddr(GetCPUState(*state)); in ExecuteGuest()
Druntime_library.cc42 ToHostAddr<void>(GetInsnAddr(cpu)), in berberis_HandleNoExec()
47 info.si_addr = ToHostAddr<void>(GetInsnAddr(cpu)); in berberis_HandleNoExec()
/frameworks/libs/binary_translation/lite_translator/riscv64_to_x86_64/
Dlite_translate_region.cc76 while (translator.GetInsnAddr() != end_pc && !translator.is_region_end_reached()) { in TryLiteTranslateRegionImpl()
77 uint8_t insn_size = decoder.Decode(ToHostAddr<const uint16_t>(translator.GetInsnAddr())); in TryLiteTranslateRegionImpl()
79 return {false, translator.GetInsnAddr()}; in TryLiteTranslateRegionImpl()
85 Finalize(&translator, translator.GetInsnAddr()); in TryLiteTranslateRegionImpl()
87 return {translator.success(), translator.GetInsnAddr()}; in TryLiteTranslateRegionImpl()
Dlite_translator.cc290 Register res = GetImm(GetInsnAddr()); in Auipc()
323 ExitRegion(GetInsnAddr() + offset); in CompareAndBranch()
356 ExitRegion(GetInsnAddr() + offset); in Branch()
408 ExitGeneratedCode(GetInsnAddr()); in Load()
444 ExitGeneratedCode(GetInsnAddr()); in Store()
Dlite_translator.h175 GuestAddr GetInsnAddr() const { return pc_; } in GetInsnAddr() function
/frameworks/libs/binary_translation/heavy_optimizer/riscv64/
Dheavy_optimize_region.cc49 auto size = decoder.Decode(ToHostAddr<uint16_t>(frontend.GetInsnAddr())); in HeavyOptimizeRegion()
58 auto stop_pc = frontend.GetInsnAddr(); in HeavyOptimizeRegion()
Dfrontend.cc116 auto kind = target <= GetInsnAddr() ? PseudoJump::Kind::kJumpWithPendingSignalsCheck in GenJump()
131 ExitGeneratedCode(GetInsnAddr()); in Undefined()
142 auto map_it = branch_targets_.find(GetInsnAddr()); in IsRegionEndReached()
554 auto res = GetImm(GetInsnAddr()); in Auipc()
597 ExitGeneratedCode(GetInsnAddr()); in GenRecoveryBlockForLastInsn()
620 branch_targets_[GetInsnAddr()] = builder_.GetMachineInsnPosition(); in StartInsn()
Dfrontend.h329 [[nodiscard]] GuestAddr GetInsnAddr() const { return pc_; } in GetInsnAddr() function
/frameworks/libs/binary_translation/guest_state/include/berberis/guest_state/
Dguest_state_opaque.h78 GuestAddr GetInsnAddr(const CPUState& cpu);
/frameworks/libs/binary_translation/guest_state/
Dguest_state.cc157 GuestAddr GetInsnAddr(const CPUState& cpu) { in GetInsnAddr() function
/frameworks/libs/binary_translation/guest_os_primitives/
Dguest_signal_handling.cc186 guest_info->si_addr = ToHostAddr<void>(GetInsnAddr(GetCPUState(*state_))); in SetSignalFromHost()
/frameworks/libs/binary_translation/decoder/include/berberis/decoder/riscv64/
Dsemantics_player.h358 Register result = listener_->GetImm(listener_->GetInsnAddr() + args.insn_len); in JumpAndLink()
372 Register next_insn_addr = listener_->GetImm(listener_->GetInsnAddr() + args.insn_len); in JumpAndLinkRegister()
/frameworks/libs/binary_translation/interpreter/riscv64/
Dinterpreter.h4097 UndefinedInsn(GetInsnAddr()); in Undefined()
4162 [[nodiscard]] GuestAddr GetInsnAddr() const { return state_->cpu.insn_addr; } in GetInsnAddr() function