Home
last modified time | relevance | path

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

/art/runtime/jit/
Dprofiling_info.cc47 const uint16_t* code_ptr = code_item.insns_; in Create() local
52 while (code_ptr < code_end) { in Create()
53 const Instruction& instruction = *Instruction::At(code_ptr); in Create()
68 code_ptr += instruction.SizeInCodeUnits(); in Create()
Djit_code_cache.cc322 static uint8_t* GetRootTable(const void* code_ptr, uint32_t* number_of_roots = nullptr) { in GetRootTable() argument
323 OatQuickMethodHeader* method_header = OatQuickMethodHeader::FromCodePointer(code_ptr); in GetRootTable()
404 void JitCodeCache::FreeCode(const void* code_ptr) { in FreeCode() argument
405 uintptr_t allocation = FromCodeToAllocation(code_ptr); in FreeCode()
408 DeleteJITCodeEntryForAddress(reinterpret_cast<uintptr_t>(code_ptr)); in FreeCode()
409 FreeData(GetRootTable(code_ptr)); in FreeCode()
550 uint8_t* code_ptr = nullptr; in CommitCodeInternal() local
562 code_ptr = memory + header_size; in CommitCodeInternal()
564 std::copy(code, code + code_size, code_ptr); in CommitCodeInternal()
565 method_header = OatQuickMethodHeader::FromCodePointer(code_ptr); in CommitCodeInternal()
[all …]
Djit_code_cache.h287 void FreeCode(const void* code_ptr) REQUIRES(lock_);
/art/compiler/
Dexception_test.cc94 const void* code_ptr = reinterpret_cast<const uint8_t*>(unaligned_code_ptr) + padding; in SetUp() local
95 CHECK_EQ(code_ptr, in SetUp()
106 method_f_->SetEntryPointFromQuickCompiledCode(code_ptr); in SetUp()
110 method_g_->SetEntryPointFromQuickCompiledCode(code_ptr); in SetUp()
Dcommon_compiler_test.cc91 const void* code_ptr = reinterpret_cast<const uint8_t*>(unaligned_code_ptr) + padding; in MakeExecutable() local
92 CHECK_EQ(code_ptr, static_cast<const void*>(chunk->data() + (chunk->size() - code_size))); in MakeExecutable()
93 MakeExecutable(code_ptr, code.size()); in MakeExecutable()
94 const void* method_code = CompiledMethod::CodePointer(code_ptr, in MakeExecutable()
Doat_writer.cc1075 const void* code_ptr = in StartClass() local
1077 if (code_ptr == nullptr) { in StartClass()
1081 code_ptr, pointer_size_); in StartClass()
1167 const void* code_ptr = in Postprocess() local
1169 if (code_ptr != nullptr) { in Postprocess()
1170 method->SetEntryPointFromQuickCompiledCodePtrSize(code_ptr, pointer_size_); in Postprocess()
/art/runtime/
Doat_quick_method_header.h44 static OatQuickMethodHeader* FromCodePointer(const void* code_ptr) { in FromCodePointer() argument
45 uintptr_t code = reinterpret_cast<uintptr_t>(code_ptr); in FromCodePointer()
/art/compiler/optimizing/
Dcode_generator.cc705 const uint16_t* code_ptr = code_item.insns_; in CheckLoopEntriesCanBeUsedForOsr() local
709 while (code_ptr < code_end) { in CheckLoopEntriesCanBeUsedForOsr()
710 const Instruction& instruction = *Instruction::At(code_ptr); in CheckLoopEntriesCanBeUsedForOsr()
727 code_ptr += instruction.SizeInCodeUnits(); in CheckLoopEntriesCanBeUsedForOsr()
/art/oatdump/
Doatdump.cc861 const uint16_t* code_ptr = code_item->insns_; in WalkCodeItem() local
865 if (dex_code_item_ptrs_.insert(code_ptr).second) { in WalkCodeItem()
866 dex_code_bytes_ += code_item_size * sizeof(code_ptr[0]); in WalkCodeItem()
869 while (code_ptr < code_end) { in WalkCodeItem()
870 const Instruction* inst = Instruction::At(code_ptr); in WalkCodeItem()
888 code_ptr += inst->SizeInCodeUnits(); in WalkCodeItem()
/art/compiler/driver/
Dcompiler_driver.cc788 const uint16_t* code_ptr = code_item->insns_; in ResolveConstStrings() local
792 while (code_ptr < code_end) { in ResolveConstStrings()
793 const Instruction* inst = Instruction::At(code_ptr); in ResolveConstStrings()
809 code_ptr += inst->SizeInCodeUnits(); in ResolveConstStrings()