Searched refs:host_code (Results 1 – 5 of 5) sorted by relevance
/frameworks/libs/binary_translation/runtime_primitives/ |
D | translation_cache_test.cc | 129 EXPECT_EQ(entry->host_code->load(), kEntryWrapping); in TestWrappingWorker() 135 EXPECT_EQ(entry->host_code->load(), kHostCodeStub); in TestWrappingWorker() 140 auto host_code = tc->GetHostCodePtr(pc)->load(); in TestWrappingWorker() local 144 if (host_code == kEntryWrapping) { in TestWrappingWorker() 148 EXPECT_EQ(host_code, kHostCodeStub); in TestWrappingWorker() 159 EXPECT_EQ(entry->host_code->load(), kEntryTranslating); in TestTranslationWorker() 166 EXPECT_EQ(entry->host_code->load(), kHostCodeStub); in TestTranslationWorker() 170 auto host_code = tc->GetHostCodePtr(pc)->load(); in TestTranslationWorker() local 171 if (host_code == kEntryTranslating) { in TestTranslationWorker() 174 EXPECT_EQ(host_code, kHostCodeStub); in TestTranslationWorker() [all …]
|
D | translation_cache.cc | 52 if (entry->host_code->load() != kEntryNotTranslated) { in AddAndLockForTranslation() 86 entry->host_code->store(kEntryTranslating); in LockForTranslationUnsafe() 105 auto current = entry->host_code->load(); in SetTranslatedAndUnlock() 110 entry->host_code->store(kEntryNotTranslated); in SetTranslatedAndUnlock() 120 entry->host_code->store(code.code); in SetTranslatedAndUnlock() 156 auto* current = entry->host_code->load(); in SetWrappedAndUnlock() 161 entry->host_code->store(kEntryNotTranslated); in SetWrappedAndUnlock() 171 entry->host_code->store(code.code); in SetWrappedAndUnlock() 237 auto host_code = entry->host_code->load(); in SlowLookupGuestCodeEntryPCByHostPC() local 238 if (host_code <= pc && in SlowLookupGuestCodeEntryPCByHostPC() [all …]
|
D | code_pool_test.cc | 88 auto host_code = code_pool.Add(&machine_code); in TEST() local 89 ASSERT_EQ(host_code, first_exec_region_memory_exec); in TEST() 100 auto host_code = code_pool.Add(&machine_code); in TEST() local 101 ASSERT_EQ(host_code, second_exec_region_memory_exec); in TEST()
|
/frameworks/libs/binary_translation/runtime/ |
D | translator_riscv64.cc | 118 HostCode host_code = GetDefaultCodePoolInstance()->Add(machine_code); in InstallTranslated() local 119 ProfilerLogGeneratedCode(host_code, machine_code->install_size(), pc, size, prefix); in InstallTranslated() 120 return {host_code, machine_code->install_size()}; in InstallTranslated()
|
/frameworks/libs/binary_translation/runtime_primitives/include/berberis/runtime_primitives/ |
D | translation_cache.h | 37 std::atomic<HostCode>* const host_code; member
|