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.cc329 static uint8_t* GetRootTable(const void* code_ptr, uint32_t* number_of_roots = nullptr) { in GetRootTable() argument
330 OatQuickMethodHeader* method_header = OatQuickMethodHeader::FromCodePointer(code_ptr); in GetRootTable()
412 void JitCodeCache::FreeCode(const void* code_ptr) { in FreeCode() argument
413 uintptr_t allocation = FromCodeToAllocation(code_ptr); in FreeCode()
416 DeleteJITCodeEntryForAddress(reinterpret_cast<uintptr_t>(code_ptr)); in FreeCode()
417 FreeData(GetRootTable(code_ptr)); in FreeCode()
570 uint8_t* code_ptr = nullptr; in CommitCodeInternal() local
582 code_ptr = memory + header_size; in CommitCodeInternal()
584 std::copy(code, code + code_size, code_ptr); in CommitCodeInternal()
585 method_header = OatQuickMethodHeader::FromCodePointer(code_ptr); in CommitCodeInternal()
[all …]
Djit_code_cache.h295 void FreeCode(const void* code_ptr) REQUIRES(lock_);
/art/compiler/
Dexception_test.cc95 const void* code_ptr = reinterpret_cast<const uint8_t*>(unaligned_code_ptr) + padding; in SetUp() local
96 CHECK_EQ(code_ptr, in SetUp()
108 method_f_->SetEntryPointFromQuickCompiledCode(code_ptr); in SetUp()
113 method_g_->SetEntryPointFromQuickCompiledCode(code_ptr); in SetUp()
Dcommon_compiler_test.cc92 const void* code_ptr = reinterpret_cast<const uint8_t*>(unaligned_code_ptr) + padding; in MakeExecutable() local
93 CHECK_EQ(code_ptr, static_cast<const void*>(chunk->data() + (chunk->size() - code_size))); in MakeExecutable()
94 MakeExecutable(code_ptr, code.size()); in MakeExecutable()
95 const void* method_code = CompiledMethod::CodePointer(code_ptr, in MakeExecutable()
Doat_writer.cc1167 const void* code_ptr = in StartClass() local
1169 if (code_ptr == nullptr) { in StartClass()
1173 code_ptr, pointer_size_); in StartClass()
1258 const void* code_ptr = in Postprocess() local
1260 if (code_ptr != nullptr) { in Postprocess()
1261 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.cc729 const uint16_t* code_ptr = code_item.insns_; in CheckLoopEntriesCanBeUsedForOsr() local
733 while (code_ptr < code_end) { in CheckLoopEntriesCanBeUsedForOsr()
734 const Instruction& instruction = *Instruction::At(code_ptr); in CheckLoopEntriesCanBeUsedForOsr()
751 code_ptr += instruction.SizeInCodeUnits(); in CheckLoopEntriesCanBeUsedForOsr()
/art/oatdump/
Doatdump.cc883 const uint16_t* code_ptr = code_item->insns_; in WalkCodeItem() local
887 if (dex_code_item_ptrs_.insert(code_ptr).second) { in WalkCodeItem()
888 dex_code_bytes_ += code_item_size * sizeof(code_ptr[0]); in WalkCodeItem()
891 while (code_ptr < code_end) { in WalkCodeItem()
892 const Instruction* inst = Instruction::At(code_ptr); in WalkCodeItem()
910 code_ptr += inst->SizeInCodeUnits(); in WalkCodeItem()
/art/compiler/driver/
Dcompiler_driver.cc764 const uint16_t* code_ptr = code_item->insns_; in ResolveConstStrings() local
768 while (code_ptr < code_end) { in ResolveConstStrings()
769 const Instruction* inst = Instruction::At(code_ptr); in ResolveConstStrings()
785 code_ptr += inst->SizeInCodeUnits(); in ResolveConstStrings()