Searched refs:code_ptr (Results 1 – 10 of 10) sorted by relevance
47 const uint16_t* code_ptr = code_item.insns_; in Create() local52 while (code_ptr < code_end) { in Create()53 const Instruction& instruction = *Instruction::At(code_ptr); in Create()68 code_ptr += instruction.SizeInCodeUnits(); in Create()
322 static uint8_t* GetRootTable(const void* code_ptr, uint32_t* number_of_roots = nullptr) { in GetRootTable() argument323 OatQuickMethodHeader* method_header = OatQuickMethodHeader::FromCodePointer(code_ptr); in GetRootTable()404 void JitCodeCache::FreeCode(const void* code_ptr) { in FreeCode() argument405 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() local562 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 …]
287 void FreeCode(const void* code_ptr) REQUIRES(lock_);
94 const void* code_ptr = reinterpret_cast<const uint8_t*>(unaligned_code_ptr) + padding; in SetUp() local95 CHECK_EQ(code_ptr, in SetUp()106 method_f_->SetEntryPointFromQuickCompiledCode(code_ptr); in SetUp()110 method_g_->SetEntryPointFromQuickCompiledCode(code_ptr); in SetUp()
91 const void* code_ptr = reinterpret_cast<const uint8_t*>(unaligned_code_ptr) + padding; in MakeExecutable() local92 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()
1075 const void* code_ptr = in StartClass() local1077 if (code_ptr == nullptr) { in StartClass()1081 code_ptr, pointer_size_); in StartClass()1167 const void* code_ptr = in Postprocess() local1169 if (code_ptr != nullptr) { in Postprocess()1170 method->SetEntryPointFromQuickCompiledCodePtrSize(code_ptr, pointer_size_); in Postprocess()
44 static OatQuickMethodHeader* FromCodePointer(const void* code_ptr) { in FromCodePointer() argument45 uintptr_t code = reinterpret_cast<uintptr_t>(code_ptr); in FromCodePointer()
705 const uint16_t* code_ptr = code_item.insns_; in CheckLoopEntriesCanBeUsedForOsr() local709 while (code_ptr < code_end) { in CheckLoopEntriesCanBeUsedForOsr()710 const Instruction& instruction = *Instruction::At(code_ptr); in CheckLoopEntriesCanBeUsedForOsr()727 code_ptr += instruction.SizeInCodeUnits(); in CheckLoopEntriesCanBeUsedForOsr()
861 const uint16_t* code_ptr = code_item->insns_; in WalkCodeItem() local865 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()
788 const uint16_t* code_ptr = code_item->insns_; in ResolveConstStrings() local792 while (code_ptr < code_end) { in ResolveConstStrings()793 const Instruction* inst = Instruction::At(code_ptr); in ResolveConstStrings()809 code_ptr += inst->SizeInCodeUnits(); in ResolveConstStrings()