Home
last modified time | relevance | path

Searched refs:exec_ (Results 1 – 6 of 6) sorted by relevance

/frameworks/libs/binary_translation/base/include/berberis/base/
Dexec_region.h41 : exec_{exec}, write_{write}, size_{size} {} in ExecRegion()
47 exec_ = other.exec_; in ExecRegion()
50 other.exec_ = nullptr; in ExecRegion()
59 exec_ = other.exec_;
62 other.exec_ = nullptr;
68 [[nodiscard]] const uint8_t* begin() const { return exec_; } in begin()
69 [[nodiscard]] const uint8_t* end() const { return exec_ + size_; } in end()
77 uint8_t* exec_ = nullptr;
/frameworks/libs/binary_translation/test_utils/include/berberis/test_utils/
Dscoped_exec_region.h38 ~ScopedExecRegion() { exec_.Free(); } in ~ScopedExecRegion()
41 exec_ = ExecRegionAnonymousFactory::Create(code->install_size()); in Init()
42 code->Install(&exec_, exec_.begin(), &recovery_map_); in Init()
43 exec_.Detach(); in Init()
48 return bit_cast<const T*>(exec_.begin()); in get()
54 ExecRegion exec_;
/frameworks/libs/binary_translation/runtime_primitives/include/berberis/runtime_primitives/
Dcode_pool.h58 if (exec_.end() < current_address_ + size) { in Add()
65 code->Install(&exec_, result, &recovery_map_); in Add()
79 exec_.Detach();
80 exec_ = ExecRegionFactory::Create(std::max(size, ExecRegionFactory::kExecRegionSize));
81 current_address_ = exec_.begin();
85 ExecRegion exec_;
/frameworks/libs/binary_translation/base/
Dexec_region.cc42 MunmapOrDie(exec_, size_); in Free()
/frameworks/libs/binary_translation/heavy_optimizer/riscv64/
Dcall_intrinsic_tests.cc85 exec_.Init(&machine_code); in Init()
88 void Exec() const { exec_.get<void()>()(); } in Exec()
91 ScopedExecRegion exec_; member in berberis::__anon2137e68c0111::ExecTest
/frameworks/libs/binary_translation/backend/x86_64/
Dmachine_ir_exec_test.cc94 exec_.Init(&machine_code); in Init()
97 void Exec() const { exec_.get<void()>()(); } in Exec()
99 const RecoveryMap& recovery_map() const { return exec_.recovery_map(); } in recovery_map()
104 ScopedExecRegion exec_; member in berberis::__anon85227b050111::ExecTest