Home
last modified time | relevance | path

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

/art/runtime/jit/
Djit_code_cache.cc327 const void* code_ptr = nullptr; in GetSavedEntryPointOfPreCompiledMethod() local
329 code_ptr = zygote_map_.GetCodeFor(method); in GetSavedEntryPointOfPreCompiledMethod()
334 code_ptr = it->second; in GetSavedEntryPointOfPreCompiledMethod()
337 if (code_ptr != nullptr) { in GetSavedEntryPointOfPreCompiledMethod()
338 OatQuickMethodHeader* method_header = OatQuickMethodHeader::FromCodePointer(code_ptr); in GetSavedEntryPointOfPreCompiledMethod()
391 static const uint8_t* GetRootTable(const void* code_ptr, uint32_t* number_of_roots = nullptr) { in GetRootTable() argument
392 OatQuickMethodHeader* method_header = OatQuickMethodHeader::FromCodePointer(code_ptr); in GetRootTable()
447 void JitCodeCache::FreeCodeAndData(const void* code_ptr) { in FreeCodeAndData() argument
448 if (IsInZygoteExecSpace(code_ptr)) { in FreeCodeAndData()
452 uintptr_t allocation = FromCodeToAllocation(code_ptr); in FreeCodeAndData()
[all …]
Ddebugger_interface.h54 void AddNativeDebugInfoForJit(const void* code_ptr,
61 void RemoveNativeDebugInfoForJit(const void* code_ptr);
Ddebugger_interface.cc570 void AddNativeDebugInfoForJit(const void* code_ptr, in AddNativeDebugInfoForJit() argument
575 if (kIsDebugBuild && code_ptr != nullptr) { in AddNativeDebugInfoForJit()
576 DCHECK(g_dcheck_all_jit_functions.insert(code_ptr).second) << code_ptr << " already added"; in AddNativeDebugInfoForJit()
587 /*addr=*/ code_ptr, in AddNativeDebugInfoForJit()
593 << " for " << code_ptr in AddNativeDebugInfoForJit()
606 void RemoveNativeDebugInfoForJit(const void* code_ptr) { in RemoveNativeDebugInfoForJit() argument
608 g_dcheck_all_jit_functions.erase(code_ptr); in RemoveNativeDebugInfoForJit()
612 g_removed_jit_functions.push_back(code_ptr); in RemoveNativeDebugInfoForJit()
614 VLOG(jit) << "JIT mini-debug-info removed for " << code_ptr; in RemoveNativeDebugInfoForJit()
Djit_code_cache.h114 const void* code_ptr; member
439 void FreeCodeAndData(const void* code_ptr)
/art/compiler/
Dexception_test.cc93 uint8_t* code_ptr = in SetUp() local
97 OatQuickMethodHeader method_header(code_ptr - fake_header_code_and_maps_.data()); in SetUp()
99 memcpy(code_ptr - header_size, &method_header, header_size); in SetUp()
100 memcpy(code_ptr, fake_code_.data(), fake_code_.size()); in SetUp()
104 CHECK_ALIGNED(code_ptr, 2); in SetUp()
110 method_f_->SetEntryPointFromQuickCompiledCode(code_ptr); in SetUp()
115 method_g_->SetEntryPointFromQuickCompiledCode(code_ptr); in SetUp()
Dcommon_compiler_test.cc154 const void* code_ptr = MakeExecutable(compiled_method->GetQuickCode(), in MakeExecutable() local
158 CompiledMethod::CodePointer(code_ptr, compiled_method->GetInstructionSet()); in MakeExecutable()
/art/runtime/
Doat_quick_method_header.h42 static OatQuickMethodHeader* FromCodePointer(const void* code_ptr) { in FromCodePointer() argument
43 uintptr_t code = reinterpret_cast<uintptr_t>(code_ptr); in FromCodePointer()
/art/compiler/optimizing/
Dcodegen_test_utils.h257 const void* code_ptr = in Run() local
261 fptr f = reinterpret_cast<fptr>(reinterpret_cast<uintptr_t>(code_ptr)); in Run()
/art/compiler/debug/
Delf_debug_writer.cc245 const void* code_ptr = AlignDown(reinterpret_cast<const void*>(addr), kPcAlign); in PackElfFileForJIT() local
246 return std::binary_search(removed_symbols.begin(), removed_symbols.end(), code_ptr); in PackElfFileForJIT()
/art/dex2oat/linker/
Doat_writer.cc1569 const void* code_ptr = in StartClass() local
1571 if (code_ptr == nullptr) { in StartClass()
1575 code_ptr, pointer_size_); in StartClass()
1649 const void* code_ptr = in Postprocess() local
1651 if (code_ptr != nullptr) { in Postprocess()
1652 method->SetEntryPointFromQuickCompiledCodePtrSize(code_ptr, pointer_size_); in Postprocess()