Home
last modified time | relevance | path

Searched refs:stop_pc (Results 1 – 10 of 10) sorted by relevance

/frameworks/libs/binary_translation/heavy_optimizer/riscv64/
Dheavy_optimize_region.cc58 auto stop_pc = frontend.GetInsnAddr(); in HeavyOptimizeRegion() local
59 frontend.Finalize(stop_pc); in HeavyOptimizeRegion()
63 TRACE("Heavy optimizing 0x%lx (%lu bytes)", pc, stop_pc - pc); in HeavyOptimizeRegion()
68 return {stop_pc, frontend.success(), number_of_instructions}; in HeavyOptimizeRegion()
Dheavy_optimizer_insn_exec_tests.cc39 bool RunOneInstruction(ThreadState* state, GuestAddr stop_pc) { in RunOneInstruction() argument
57 TestingRunGeneratedCode(state, exec.get(), stop_pc); in RunOneInstruction()
Dfrontend.cc623 void HeavyOptimizerFrontend::Finalize(GuestAddr stop_pc) { in Finalize() argument
628 GenJump(stop_pc); in Finalize()
Dfrontend.h334 void Finalize(GuestAddr stop_pc);
/frameworks/libs/binary_translation/test_utils/include/berberis/test_utils/
Dtesting_run_generated_code.h28 inline void TestingRunGeneratedCode(ThreadState* state, HostCode code, GuestAddr stop_pc) { in TestingRunGeneratedCode() argument
30 cache->SetStop(stop_pc); in TestingRunGeneratedCode()
32 cache->TestingClearStop(stop_pc); in TestingRunGeneratedCode()
/frameworks/libs/binary_translation/runtime/
Dexecute_guest_test.cc51 GuestAddr stop_pc = ToGuestAddr(&code[0]) + 16; in TEST() local
53 cache->SetStop(stop_pc); in TEST()
55 cache->TestingClearStop(stop_pc); in TEST()
Dtranslator_riscv64.cc135 auto [success, stop_pc] = TryLiteTranslateRegion(pc, &machine_code, params); in TryLiteTranslateAndInstallRegion()
137 size_t size = stop_pc - pc; in TryLiteTranslateAndInstallRegion()
149 success = LiteTranslateRange(pc, stop_pc, &another_machine_code, params); in TryLiteTranslateAndInstallRegion()
161 auto [stop_pc, success, unused_number_of_processed_instructions] = in HeavyOptimizeRegion()
163 size_t size = stop_pc - pc; in HeavyOptimizeRegion()
/frameworks/libs/binary_translation/lite_translator/riscv64_to_x86_64/
Dlite_translate_insn_exec_tests.cc38 bool RunOneInstruction(ThreadState* state, GuestAddr stop_pc) { in RunOneInstruction() argument
51 TestingRunGeneratedCode(state, exec.get(), stop_pc); in RunOneInstruction()
Dlite_translate_region.cc96 auto [success, stop_pc] = TryLiteTranslateRegionImpl(start_pc, end_pc, machine_code, params); in LiteTranslateRange()
/frameworks/libs/binary_translation/interpreter/riscv64/
Dinterpreter_test.cc86 bool RunOneInstruction(ThreadState* state, GuestAddr stop_pc) { in RunOneInstruction() argument
88 return state->cpu.insn_addr == stop_pc; in RunOneInstruction()